Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
_greim_
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
36 ms
·
331.
▲
by
_greim_
10y ago
> Multiple versions [...] almost always a bad idea If so, different major versions of the same dep should be considered different libraries, for the sake of flattening. Consider lodash for example.
332.
▲
by
_greim_
10y ago
It sounds to me like it's a great framework, but "Angular 2" is a misnomer at this point. Maybe the "Angular" name will entice 1.x users to it, but it seems like the Angular team could have created "MasterBlast
333.
▲
by
_greim_
10y ago
It will hopefully remind you that you forgot to register that event.
334.
▲
by
_greim_
10y ago
> tail calls are now fully optimized Can't remember where I heard this, but I'm given to understand they aren't optimized, just allowed. As in, recursive calls from tail position won't be super-fast or anything, they
335.
▲
by
_greim_
10y ago
I feel like this works from a misinformed or co-opted definition of "rationalism." A rationalist is someone who tries to think clearly in order to win. Science, logic, the teachings of Plato; all of that stuff can inform a rationa
336.
▲
by
_greim_
10y ago
> What value is there in having JSON be a subset of JavaScript? * Virtually zero learning curve if you already know JS. * It can be pasted into and out of a working program. * Constrains the format from becoming bloated.
337.
▲
by
_greim_
10y ago
With the exception of trailing commas, all these things would break the fact that JSON is a subset of JavaScript. Breaking that would cause a lot more problems than it solves. It's just that the minor problems you have to live with se
338.
▲
by
_greim_
10y ago
When I receive these calls, I set my phone down and go about my business, letting the robot play itself out. I figure every CPU cycle wasted on me spares someone else.
339.
▲
by
_greim_
10y ago
Doesn't scientology have some kind of weird self-declared feud with psychiatry? I wonder if they've perhaps been sowing FUD whenever and wherever possible.
340.
▲
by
_greim_
10y ago
Are we using "difficult" to mean "takes longer than the universe"? Since presumably that would be why we trust it for cryptography?
341.
▲
by
_greim_
10y ago
Ah, thanks for the clarification.
342.
▲
by
_greim_
10y ago
As a guitar player I'm glad the article also mentioned equal temperament tuning. The frets of a guitar for example are spaced using the 12th root of 2. Musical theory is a tangled rat's nest, but at least that part is easy to unde
343.
▲
by
_greim_
10y ago
It sounds like Facebook's approach is to provide free wifi to specific websites (which presumably includes Facebook) while Google's approach is to just provide free wifi. Is that true?
344.
▲
by
_greim_
10y ago
Okay, so let other people be dumb pipes by not lobbying against municipal broadband everywhere.
345.
▲
by
_greim_
10y ago
This article in some ways describes the delta from HTML development to XML development. In the early/mid 2000s, XML was cargo-culted through the tech world on a massive scale; typically being adopted by web developers who proceeded to
346.
▲
by
_greim_
10y ago
The patterns handed down by the authors of Angular were one team's idea of how to do things, at a specific moment in time, which subsequently got enshrined and frozen in place for everyone for the next several years. And it works! It&#
347.
▲
by
_greim_
10y ago
DI is great; DI isn't the problem at all. It's rather the fact that Angular baked in a DI implementation that doesn't play well with either static analysis tools or module loaders. I'm not even criticizing the creators o
348.
▲
by
_greim_
10y ago
Makes sense. My frustration in part stems from having worked on an app that used Angular DI and a module loading system (RequireJS) side by side. The conceptual dissonance and fallout between the two systems was an endless source of bickeri
349.
▲
by
_greim_
10y ago
Ugh, the dependency injection stuff is just Angular all over again. export default wire(Title, ['title'], function resolve(title) { return { title }; }); Now I have to register "title" somewhere. Where
350.
▲
by
_greim_
10y ago
The tech industry isn't zero-sum though, even from just a purely selfish "can I get a job" POV. More talent in the pool will arguably make the industry bigger, rather than diluting the value of that talent. There's just
351.
▲
by
_greim_
10y ago
For JavaScript in particular. 1) TDD. Since JS offers so few static guarantees, unit testing your components and utilities as you build is important; arguably more so even than in other languages. Besides test-as-you-go, this includes build
352.
▲
by
_greim_
10y ago
I wonder if it's a situation in which parents struggling to get kids to just eat your damn food have created market forces that have gradually pushed mainstream bread to suit the preferences of children. We parents (at least in the U
353.
▲
by
_greim_
10y ago
Ha, I'd totally forgotten about that! It seems like I remember Netscape 4 would actually convert CSS into JSS internally. It tried to comply to the standards but it always felt like the internal warts of the engine would poke through i
354.
▲
by
_greim_
10y ago
So suppose I'm a member of the upper class, and I always act in a selfish and rational way, seeking maximum benefit to myself at all times, without regard for benefit to others unless it also helps me. Living thus in a society with a s
355.
▲
by
_greim_
10y ago
Setting aside for the moment the facts of this particular case, I thought the article makes a good point in general. > When harassment, sexual or otherwise, requires a cost-benefit analysis, you have failed.
356.
▲
by
_greim_
10y ago
So but am I automating devices in my home/building IoT-style? Or am I automating deployments of software? Or hardware? "gossip-based configuration and topology management" means nothing to me unless I know actually what the o
357.
▲
by
_greim_
10y ago
As an anecdotal account, that's not surprising. If it takes, let's say, ten years to get good at something, then people who are good at server-side app-building are going to have roots in other technologies and other ways of thin
358.
▲
by
_greim_
10y ago
I'm not sure what I'm looking at. What is being "automated" here? The headline and home page don't give much context.
359.
▲
by
_greim_
10y ago
Can't remember where I read this, but the idea is that the brain compresses a vast amount of data down to a small amount of meaningful information. VR's current approach is to meticulously spoof that vast datafeed in such a way th
360.
▲
by
_greim_
10y ago
Haha yep! At least in subjective realms; maybe slightly less so for practical realms.
More ›