Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nawitus
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
48 ms
·
541.
▲
by
nawitus
12y ago
Why not start working on the next feature while the previous one is in review?
542.
▲
by
nawitus
12y ago
So does that mean that companies would favour women as they can be paid less?
543.
▲
by
nawitus
12y ago
https://github.com/charliesome/jsos
544.
▲
by
nawitus
12y ago
"Some organizations pretend that they are about other things, like serving people or changing the world. But in truth they are measured by money." And in practice they rarely are not. Nobody calculates the total cost of an unnece
545.
▲
by
nawitus
12y ago
It seems to be catching on reasonably well: http://blog.javascripting.com/2014/07/28/fastest-growing-new...
546.
▲
by
nawitus
12y ago
Yeah. I believe that false.toString() is "actually" something like (Boolean(false)).toString().
547.
▲
by
nawitus
12y ago
>Serving up only a template (or worse: an empty body tag) is insane. Not, it's rational if your serving a web application instead of a web document. Most pages written with AngularJS are web applications.
548.
▲
by
nawitus
12y ago
I'm pretty sure that's still sometimes done in the military.
549.
▲
by
nawitus
12y ago
I'd say it's relatively popular. It's also growing quite quickly: http://blog.javascripting.com/2014/07/28/fastest-growing-new...
550.
▲
by
nawitus
12y ago
The typical intentional homicide rate in Western and Nordic Europe is slightly more than 1 ( http://en.wikipedia.org/wiki/List_of_countries_by_intentiona... ), which is a large contrast to about 18 of EPA.
551.
▲
by
nawitus
12y ago
Pretty funny that Wikipedia states East Palo Alto had "only" five murders in 2008, even though the population is 28000. From an European perspective even a single murder would be significant..
552.
▲
by
nawitus
12y ago
I'd like to add that a lot of "cool kids" code in TypeScript, which is a Microsoft project.
553.
▲
by
nawitus
12y ago
What I find interesting is that every single time I bring up MongoDB's lack of master-master architecture/replication on Hacker News the response I get is related to the fact that MongoDB has a master-slave architecture. Sure, it
554.
▲
by
nawitus
12y ago
I find it unfortunate that CouchDB is pretty much a dead project even though it's fundamentals are for most projects better than MongoDB. Master-master databases are the future for most scaled architectures.
555.
▲
by
nawitus
12y ago
Something I said had something to do with "HR" people.
556.
▲
by
nawitus
12y ago
> Only a tiny minority of tech companies hire against any kind of formal assessment rubric. Is there any evidence of how well this works? From what I've read these "formal" hiring strategies don't seem to lead to good
557.
▲
by
nawitus
12y ago
I would think that most languages suffer from this at least as much as JavaScript. The solution is to have guidelines and enforce them through code reviews. Linters can also catch some of the rules. I'd say that JavaScript's benef
558.
▲
by
nawitus
12y ago
You can sequence multiple async operations with promises quite easily by using Q.all (of course this depends on the promise library you're using). Even if async/await will only replace .then chains, that already fixes most of the
559.
▲
by
nawitus
12y ago
I don't use console.log when I can. It's better to roll your own logging function which adds timestamps and automatically stringifies the object (preferably using a stringify function which handles cyclic objects). The prolem with
560.
▲
by
nawitus
12y ago
>Automating restarts / Automatic browser refresh I don't think this is very beneficial when your project's complexity grows enough to require a non-trivial build. It's nice to have for simple projects, of course. >
561.
▲
by
nawitus
12y ago
JavaScript minifaction is much more than that. It renames function parameters, does all kinds of fancy tricks to refactor code and so on. AngularJS is one example where minifacation breaks the code if you don't use the "special&qu
562.
▲
by
nawitus
12y ago
>How can these kinds of pointers be any worse than references ? Because references are easier to use.
563.
▲
by
nawitus
12y ago
Hilly topography doesn't really make it prohibitively expensive to make 2+1 roads, or at least they're relatively common in Finland. (Although 2+1 roads are rarely separated by fence here). Even hilly roads tend to have straight s
564.
▲
by
nawitus
12y ago
That's true, although you can always use pointers without pointers being a language-level feature. That said, if the programming language is designed for low-level code then pointers are beneifical in my opinion. But is Go really desig
565.
▲
by
nawitus
12y ago
Note that one can be against a programming language feature without being afraid of them. I think pointers are a bad feature in a programming language because they're not necessary. It's rather unfortunate that Go, for example, su
566.
▲
by
nawitus
12y ago
Do you think every Node.js package should be released as an OS level package?
567.
▲
by
nawitus
12y ago
Because minified code functions differently from non-minified code. It helps to detect bugs caused by minification. There's also a general principle which states that the application shouldn't be developed in a "debug" m
568.
▲
by
nawitus
12y ago
>the hassle involved in setup and debugging, and the perceived inefficiency scare most developers away. Hmm, I don't see why there should be any hassle in setup an debugging. You need tooling to do that automatically, and the toolin
569.
▲
by
nawitus
12y ago
You can compare ratings of similar libraries.
570.
▲
by
nawitus
12y ago
>With javascript in the browser you can see and experience code-reload after an F5†. There is no compilation time; no real detriment to importing another non-used library if it's not compiled into your code. While that may be true,
More ›