Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "mesos"
-
I came back here, after not logging in for about a year just to say that patents are fucking stupid. Thanks, see you in another year!5
-
To me, it seems like the rise of distributed systems like mesos / kubernetes combined with Docker require you to be master sysadmin, veteran kernel hacker and a part time c developer ALL AT ONCE if you really want to shave off time from debugging/ performance tuning sessions. Anyone wish they paid more attention in class ? Lol.4
-
I work in a contract position and reviewed the code of a senior engineer recently. Regretfully I can't provide context to preserve anonymity.
He wrote awful JavaScript;
- handled a single DOM element with 2 different frontend libraries
- used the logical operator && to 'chain' two methods (it didn't work) instead of returning a boolean value,
- broke everything down into minute detail (a comment box had 7 components!),
- API calls were made for every component update instead of maintaining local component state where it made sense, which meant UI updates were slow,
- animated EVERYTHING, which made my Firefox on Xubuntu i7 64bit with 16GB RAM beg for mercy.
I had a rough couple of months with interviews, with 2nd stage technical interviewers throwing impossible tasks at me.
Example:
1. Create an online Python code editor with Javascript which can compile Python bytecode,
2. Use Mesos and Kafka to create real time architecture for Tensorflow with a Javascript frontend in 1 day. (I asked, and wasn't allowed to use Kubernetes or serverless architecture),
3. Hack a website from the browser's address bar using parameters ( what?!! ),
Obviously, the next time I meet a 'senior', I'm going to tell him talk is cheap;
'SHOW ME YOUR CODE.'3 -
Coding is like the minds virus for me. I can't stop, but I sometimes question if it's good for me. Work is ok nowadays, but keeping a balance in hobbies is so hard. When I discover something new that's fun it can eat me up for days. But that excitement can leave just as quickly with very few projects ever finished as a result.2
-
Programming when sad...
My dad is acutely ill, and trying to focus on code is so hard! This has happened before, and makes me realize that our normal day job is really taxing mentally...2 -
package main
import (
"log"
"strings"
)
type Present struct {
from string
to string
}
type Santa struct {
presents []Present
}
type Person struct {
Name string
Nice bool
Presents []Present
}
func (santa *Santa) givePresents(person Person) []Present {
result := []Present{}
if person.Nice != true {
return result
}
for _, present := range santa.presents {
if strings.Compare(present.to, person.Name) == 0 {
result = append(result, present)
}
}
return result
}
func main() {
santa := Santa{
[]Present{
{"devRant", "Alex"},
{"Johanna", "Alex"},
{"Alex", "devRant"},
{"Alex", "Johanna"},
},
}
persons := []Person{
{"Alex", true, []Present{}},
{"Johanna", true, []Present{}},
{"devRant", false, []Present{}},
}
for idx, person := range persons {
persons[idx].Presents = santa.givePresents(person)
}
log.Println(persons)
}2 -
I know people like to rant about Apple removing ports, but it was a great day for a great cable standard yesterday!1
-
Playing around with GW-BASIC on an old 286 when I was maybe 8 I knew that I would spend my life programming. It was magic. It's less magic now, but I know I will not run out of challenges in my life or career, and that's pretty good too :)
-
Had to code review a line of java with this code a while back: ServiceService.isProductProduct. Funny thing is that even though it's obviously stupid, it was in accordance with the coding standard and I couldn't really object to it (._.)
-
The the frontend for mesos' chronos is soooo incredibly slow. With its rest-api looking for job names and starting jobs manually is feasible, but gosh, somebody committed a crime there. (Maybe one is also not supposed to have about 500 jobs in there but that's another issue.)
-
Just turned myself inside out why parsing data from serial didn't work. A full day, and 20 minutes before going home I realize the uart interrupt function was too slow. I just didn't get all chars...
-
Exceptions... Are they good for anything? I haven't seen them add value to code once in my career...