Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Xion
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
Xion
14y ago
> You know the webmail is bad when people would rather use Thunderbird as their mail client. Whoa whoa, hold it right there. Unless your webmail supports simple keyboard shortcuts (like 'A' for archiving), threaded messages views, multi
32.
▲
by
Xion
14y ago
I find coding in a public, somewhat noisy place - like a coffee shop - pretty effective if you have a mundane but necessary task to do. The combination of ambient sounds to keep my brain busy while going through the boring parts, coupled wi
33.
▲
by
Xion
14y ago
There is another point: * Don't make your label use the same style as user-entered text. I remember encountering a website that failed to do this, while satisfying all the other points. It was super confusing to learn that the text
34.
▲
by
Xion
14y ago
Even better: the `_files` part in directory name indicates that they simply used "Save website to file" option in IE, which puts the dependent assets in directory named using this pattern. I imagine they just edited the HTML markup afterwar
35.
▲
Blank the screen if kids are too loud
(stackoverflow.com)
5 points
by
Xion
14y ago
|
0 comments
36.
▲
by
Xion
14y ago
> (...) as if though drug trials aren't already expensive enough, retarding scientific progress and costing millions of lives from drugs that would have been otherwise developed. Isn't testing a vital part of this development, and by ex
37.
▲
by
Xion
14y ago
> A very common pattern in Scheme and JavaScript (...) is to use closures to encapsulate state. Thanks to Python's scoping model, this is at best a pain and certainly unnatural. It is also unnecessary. Python has normal classes, so you
38.
▲
by
Xion
14y ago
This example clearly violates the principle of least surprise, but it doesn't necessarily mean that the language it comes from is bad. Rather, the code it's used in is.
39.
▲
by
Xion
14y ago
Even if #4 is possible (I rather doubt it), you shouldn't really do that. It breaks the barrier between code and configuration by making the former influence the latter. Such approach is simply not scalable. I don't know what secret_token.r
40.
▲
by
Xion
14y ago
There seems to be few differences between Drake and just rolling out Makefiles for data processing, but I definitely see this project has potential. Distributed processing over AWS/Compute Engine/etc. clusters would be one nice thing to hav
41.
▲
by
Xion
14y ago
If one implementation becomes the de facto standard, it only means that the standard is written nowhere. Quirks, peculiarities or even bugs become reference points that web developers need to build upon. The pace of innovation may be grea
42.
▲
by
Xion
14y ago
I somehow feel the "Twitter culture" itself is partially to blame. A setting that rewards short, sharp, witty remarks that skirt over the surface is just few small steps away from endorsing sarcastic, bitter, passive-aggressive or even over
43.
▲
by
Xion
14y ago
When starting vim (any editor, really) you usually begin at the top. So you want to go down first... Oh, this `j` key has an inset to distinguish it from the rest. Surely this means I need to press this one! (You can easily figure out the t
44.
▲
by
Xion
14y ago
Isn't it exactly what Google is refraining from? Since the Maps work crappily on non-WebKit mobile browsers, allowing them to be used is delivering bad experience. I fail to see how this is different than e.g. not supporting Flash on iOS de
45.
▲
by
Xion
14y ago
And how on Earth is this rule enforced? I'm genuinely curious. Even if it's something like asking for SSN if IP addresses s from US, it would be bypassed easily by a simple proxy.
46.
▲
by
Xion
14y ago
The other thing is that JSON scoffs at trailing comma (both in object and array literals), while JavaScript engines are perfectly happy to accept them.
47.
▲
by
Xion
14y ago
Try product management. If you can understand both people AND tech aspects of making software products, you'll be golden there.
48.
▲
by
Xion
14y ago
Eh, my reaction to it was quite the opposite. There is even this scene when it's clearly proclaimed that the scriptwriter has simply given up on maintaining any consistency whatsover, resorting to "anything goes" approach instead. And funni
49.
▲
by
Xion
14y ago
And how these particular flaws of Java are relevant to the comments-or-not discussion at hand?
50.
▲
by
Xion
14y ago
The reason you call Java annoying is exactly the one why Java code is so conducive to refactoring practices described in Clean Code: it mandates great verbosity. Everything in Java is Big Deal, even something like a simple loop going throug
51.
▲
by
Xion
14y ago
I wouldn't be so quick in concluding that the long back arrow stands for recursive looping. I'd guess it's just a non-coder notation for "and then do that thing again", for which the closest equivalent in actual language would be the `while
52.
▲
by
Xion
14y ago
> The government’s scrutiny of Google is the most exhaustive investigation of a major corporation since the pursuit of Microsoft in the late 1990s. I can't help to notice that apparently in the last 15 years or so, a significant governm
53.
▲
by
Xion
14y ago
The author argues that callbacks do not necessarily impact code's readability in a negative way. However, he does so while presenting examples in CoffeeScript, a language where reduction of the usual JS callback boilerplate (`function() { .
54.
▲
by
Xion
14y ago
Putting a 'Discuss on Hacker News' link instead of comments section is a common practice as of late. It's not just this particular author.
55.
▲
by
Xion
14y ago
The website is absolute performance nightmare. It hanged my browser for 10+ seconds before I was able to do anything. Less Javascript, please.
56.
▲
by
Xion
14y ago
Or paranoid. Or naive. Or narcissistic. It might be somewhat feasible if they wanted him to be security engineer, not a devop. Still, he expected they have set up what essentially is an elaborate prank just to send a cold-call email to ju
57.
▲
by
Xion
14y ago
It is 0.6mm thicker and 50g heavier. That's a 6% and 7% increase, respectively. I wouldn't really call it 'significant'.
58.
▲
by
Xion
14y ago
> Maybe it's because I'm only 23 and I'm not that "desperate". I'm 25 and I find this cute. That's assuming, of course, that the funny list of 'requirements' is mostly to spark discussion rather than actually weeding out people by follo
59.
▲
by
Xion
14y ago
Eh, I don't think (s)he meant authors should do that. I suppose it's only an idea, shared here with hopes that maybe some HNer will pick it up.
60.
▲
by
Xion
14y ago
How do you indicate a language in icon-like manner then? Is using the textual ISO codes the only safe option?
More ›