mokkos | 5 years ago | on: Tech elites leaving San Francisco threaten Silicon Valley's supremacy
mokkos's comments
mokkos | 10 years ago | on: Lyft Announces Strategic Partnership with Didi
mokkos | 12 years ago | on: Ask HN: Who is hiring? (June 2014)
Looking for Full-stack, Frontend, Backend engineers. We're trying to make logging, instrumentation, and log analysis simpler for fellow devs and their lives easier.
Back-end: Mostly a java/python shop with heavy use of ElasticSearch and Kafka. If dealing with search, scale, or machine learning is your thing, you'll have a lot of fun here.
Front-end: Django/python, Angular/js, sass is what we use to make mostly single-page-applications. We're looking for generally competent html/css/js/serverside/CRUD devs who can pick things up.
email [email protected] and mention HN
mokkos | 14 years ago | on: Raph Koster - Rigid programming philosophies are the devil
The right way to rewrite it once that works is to make it fault-tolerant and scalable.
The wrong thing to do is build a giant system first, and try to account for every possibility."
Great quotes. There are exceptions, such as when you're making a libarary, utilities, or APIs, but in most cases, you ain't gonna need it (https://en.wikipedia.org/wiki/You_aint_gonna_need_it).
mokkos | 14 years ago | on: What's a Closure?
f_success = function() { gC(success, failure); }; f_failure = function() { gC(failure, failure); }; fC(f_success, f_failure);
For me, the trick here was to forget about the words "success" and "failure" because they have too much semantics embedded. I had to re-word the problem like this: call f3, if first argument of f1 and f2 are called. All other roads lead to f4. Both f1 and f2 has to be called in the chain no matter what.
Also, this is the first time I've seen such a pattern. Is there a practical application of such pattern? I think it's ok to have a single level of closure to continue execution, but if it goes to that many levels like the sample problem, it'll be a nightmare to maintain for people who have not seen your code yet.
mokkos | 15 years ago | on: On using h1 for all heading levels in HTML5
Another thing that sucks is that reader interface are not standardized. Try using JAWS, then Voiceover on Mac OS. Way you use them is very different and way it works is different too.
Accessibility is a tough problem, but I don't think we should hold back on using modern technologies and process. We should definitely have accessibility in our minds and know in our heads that it is hurting some users in using these new technologies however.
mokkos | 15 years ago | on: On using h1 for all heading levels in HTML5
mokkos | 15 years ago | on: CSS: Our best practices are killing us
in that example, classitis is when you give a class "item" to every li element, the using .item to style it while the alternate way to do it is using the descendent selector (.parentcontainer li). Nicole Sullivan is saying this can lead to specificity war over time.
mokkos | 15 years ago | on: CSS: Our best practices are killing us
I apologize to others for the lack of context that the slide by itself gives. I got the summary of this talk from a co-worker who actually went, so I had the context in back of my mind. The slidedeck naming is still too sensationalist though for what it's actually about: over time, css gets degraded because developers get into a firebug-hack mentality leading to overwrites by specificity until it gets too big and messy to maintain. I'm still not too clear what she's proposing as a solution to this though; she does give an example of her success at facebook, but that example is a one-time fix, not necessarily a practice that stands on its own over time.
mokkos | 15 years ago | on: How Facebook Ships Code