Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nawitus
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
86 ms
·
601.
▲
by
nawitus
12y ago
The front-page of the website is extremely laggy for me. I'm using the latest Firefox with Arch Linux. The framerate drops down to about 1 or less. EDIT: The app itself is fast.
602.
▲
by
nawitus
12y ago
On the other hand, you can "hide" the different code paths in a single algebraic statement, but even if your tests always execute that statement, you've lost information that you've actually tested the both "paths&q
603.
▲
by
nawitus
12y ago
Google is developing AtScript, which compiles down to ES5. I don't think that's the right way to go, though..
604.
▲
by
nawitus
12y ago
>if I can figure it out and get lots and lots of work done with it, it's neither horrible nor overblown That's a weird argument. Just because you think it's not horrible or overblown doesn't really mean much. That
605.
▲
by
nawitus
12y ago
The link states that you can "disable" the type checking for production use. I wonder if there's still a slight performance penalty. Atleast my "toy" project for runtime type checking has that slight performance pen
606.
▲
by
nawitus
12y ago
>There is no reason that a similar project could not have been made via smaller modules using comment annotations. That would be awkward, especially as your program scales. /*T (foo: A) => (bar: A) => A */ var func
607.
▲
by
nawitus
12y ago
But the Rift has a very high FOV compared to what many AR applications require. If you only need to draw a relatively small AR object instead of drawing the whole FOV, 1080p goes a long way. Kinda like the 1080p laptop screen in front of me
608.
▲
by
nawitus
12y ago
Ah, I didn't know that JavaScript has labeled statements.
609.
▲
by
nawitus
12y ago
I think Lo-Dash is a better alternative.
610.
▲
by
nawitus
12y ago
>I cannot stress enough how much more useful it is to either look up a good book on how to do it, or ask someone for help. Recommending books doesn't seem like a great idea when it comes to web security, as best practices change so
611.
▲
by
nawitus
12y ago
I don't see how you can reach that conclusion. I want to buy a glossy monitor, not a glossy television screen. The only well known option is a monitor manufactured by Apple, but they're really expensive compared to typical quality
612.
▲
by
nawitus
12y ago
The color and contrast is way better than any matte screen I've seen. Reflections are not a big problem for me, but of course this depends on your computer setup and where your windows are located etc. The annoying thing is that it&#
613.
▲
by
nawitus
12y ago
Can you buy the monitor separately? It looks like a dream display to me, assuming that it's glossy which is usual for Apple. It's very difficult to find glossy monitors these days. I just can't go back to matter after getting
614.
▲
by
nawitus
12y ago
But when the contents change, how does Localize.js know to translate the DOM again? If you need to call something like 'Localize.translatePage', then you need to track the changes yourself, which is not the correct way. I noticed
615.
▲
by
nawitus
12y ago
>It works by scanning the DOM for translatable content, and injecting translations on-the-fly after the page loads I don't like this approach because it makes the framework/library harder to integrate with other DOM-modifying f
616.
▲
by
nawitus
12y ago
I'm currently using Moment.js, i18next and Numeral.js with AngularJS. I wonder how FormatJS compares with this. At least one benefit FormatJS could have is having a unified collection of translation files.
617.
▲
by
nawitus
12y ago
If you measure attendance, you will get attendance. However, there's no value in attendance.
618.
▲
by
nawitus
12y ago
They're [trying]( http://www.automaattimetro.fi/en ) to do that in Finland. The cost is around 170 million euros now, even though the projected cost was 100 million.
619.
▲
by
nawitus
12y ago
>Rivers can be so cold they cause shock upon entering the water and, in some cases, they cause cardiac arrest. While that's true, I don't think it's that dangerous. Winter swimming, for example, is not considered especiall
620.
▲
by
nawitus
12y ago
That's a big problem. Firefox and Chrome these days support debugging source mapped files. However, I'm running through two source map steps: TypeScript to JavaScript and JavaScript to minified JavaScript. For whatever reason the
621.
▲
by
nawitus
12y ago
I'd argue that the results we are seeing are more features for the same development cost.
622.
▲
by
nawitus
12y ago
>There are angular specific minifiers dealing just fine with #3. It's more of a toolchain problem. I'm sorry to say it's pretty "retarded" to add in framework-specific minifiers to the build process. I don't
623.
▲
by
nawitus
12y ago
>#3: The fact that the default dependency injection mechanism breaks when minified means it should never have been included. If this mechanism sneaks in anywhere in your app (and there are plenty of third party libs that use it), it wont
624.
▲
by
nawitus
12y ago
>During crunch time Is "crunch time" a good thing in software development? It's certainly possible to deliver software without crunch times.
625.
▲
by
nawitus
12y ago
The "open live instance" doesn't do anything for me. Tried Firefox and Chromium.
626.
▲
by
nawitus
12y ago
>Fast forward to 2014 and Chrome’s DevTools now leads the way in helping developers debug JavaScript I wouldn't say Chrome's DevTools are significantly better than Firefox's native JavaScript debugger. Both are pretty iden
627.
▲
by
nawitus
12y ago
You can (and I do) use npm and Node.js with type checking at compile time using TypeScript. Although to be honest it doesn't play that well with different versions of the same type definition, but in principle you could have two header
628.
▲
by
nawitus
12y ago
Hmm, npm with Node.js allows that to happen. I don't recall that causing any problems, though. The "solution" seems to be that B is tested with both A and C, and when you're developing B, you know what kind of values you
629.
▲
by
nawitus
12y ago
>The short: We now have need-based living expense grants for black and non-white Latino/a and Hispanic people, as well as people from many other groups traditionally underrepresented in programming. I disagree with this, it's r
630.
▲
by
nawitus
12y ago
But if you could start with actually writing stuff instead of dealing with "software bureaucracy" you might be a lot more motivated to learn programming.
More ›