Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
efaref
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
27 ms
·
241.
▲
by
efaref
11y ago
Annoyingly, this can be difficult to do if the A record for your domain doesn't point to a webserver. There are other legitimate things it could point to, like an authentication domain controller or a session border controller. Do yo
242.
▲
by
efaref
11y ago
> why say dupe when we can save that valuable E and say dup? "dup" is short for "duplicate", a saving of 6 characters, not "dupe", which means to deceive or fool.
243.
▲
by
efaref
11y ago
What a fool. Only doing what is necessary rather than spending hours and hours reinventing pointless wheels or introducing pointless abstractions is one of the key techniques that 10x programmers use. There are counterpoints to many of his
244.
▲
by
efaref
11y ago
My mother semi-retired in her fifties to care for her grandchildren (providing free childcare so that my sister could continue her career). Perhaps this is a factor.
245.
▲
by
efaref
11y ago
> Nobody has ever argued that NO SALT is the right idea. Some people have been saying exactly that, e.g.: http://www.enformy.com/blog/benefits-of-no-salt-diet.php
246.
▲
by
efaref
11y ago
On high-performance code for an embedded PPC system I used to work on, we made all our control block a multiple of the L1 cache width. Our allocation routines then all had inline assembler to run the dcbz instruction (data cache block zero
247.
▲
by
efaref
11y ago
Imperial College, London has the Department of Computing (in the Faculty of Engineering) for this very reason. http://www.imperial.ac.uk/computing
248.
▲
by
efaref
11y ago
I think it's more of an art in the classical sense (which is like a craft), in that we are artisans rather than artists. The difference being that we primarily create things valued for their utility, rather than their aesthetics. Vide
249.
▲
by
efaref
11y ago
My maths teachers at school, like probably everyone else's, loved to tell us that we wouldn't be able to carry calculators around with us all the time when we're adults. The joke's on them. I carry a supercomputer with
250.
▲
by
efaref
11y ago
Exactly. We know how to build reliable (nearly) bug-free software. The problem is, for most things, it's too expensive. What we have is good enough.
251.
▲
by
efaref
11y ago
That's not even correct. The type of string literals is "const char *".
252.
▲
by
efaref
11y ago
According to this UN report: http://www.un.org/en/development/desa/policy/wess/wess_bg_pa... global inequality has been increasing despite convergence of inter-national mean incomes. The rich have
253.
▲
by
efaref
11y ago
I don't think it's even that bad for l10n, as you can treat the expression-like format specifiers as opaque keywords for the placeholders. For example, your i18n tool can extract: "It's {price:.2f} and we are the {
254.
▲
by
efaref
11y ago
I'm sorry to inform you that slavery is alive and well in Western Europe: http://www.theguardian.com/world/2015/may/16/lithuanian-guil...
255.
▲
by
efaref
11y ago
One of the common ways to get out of poverty in the past was indentured servitude. People would voluntarily sell themselves into slavery because it was preferable to their current "free" position. You can't eat freedom.
256.
▲
by
efaref
11y ago
That depends on the supply and demand ratios of wood and chairs. A chair isn't intrinsicly worth more than wood, and by making chairs you dilute the value of chairs. If I make a trillion chairs, I'll have to drop the price of the
257.
▲
by
efaref
11y ago
MVC is usually done very badly. The View and the Controller are often smooshed together into an unholy mess.
258.
▲
by
efaref
11y ago
I think he just reinvented Perl-CGI in Node.js. I guess the inexorable march of reimplementing everything in JavaScript continues.
259.
▲
by
efaref
11y ago
Youdontevenneedspacesuntilyouwanttotalkaboutyourvisittopenislandfortheexpertsexchangeconference.
260.
▲
by
efaref
11y ago
The "vast majority" of our ancestors were single cell beings.
261.
▲
by
efaref
11y ago
This comment annoys me. I want a coloured prompt so that I can focus on the output of the commands, which become neatly boxed by my coloured prompts.
262.
▲
by
efaref
11y ago
When I first started writing python, my number one error was writing "else" without the necessary colon. A simple adjustment to my syntax highlighter and I stopped that class of error completely.
263.
▲
by
efaref
11y ago
You add punctuation like you add pauses: to aid understanding.
264.
▲
by
efaref
11y ago
No. ( https://en.wikipedia.org/wiki/Betteridge's_law_of_headlines ).
265.
▲
by
efaref
11y ago
I've seen this referred to as the "goes-to" operator: size_t i = num_burritos; while (i --> 0) // Read: while 'i' goes to zero if (want_burrito(i)) br
266.
▲
by
efaref
11y ago
Aside from homeschooling not being possible here - attending a proper school is mandatory, with even a single day of truancy punishable by strict fines for the parents - there is a curious advantage to being a position of having nothing to
267.
▲
by
efaref
11y ago
I disagree. Hardy Heron marked the peak in Linux desktop quality: the out-of-the-box user experience has gone consistently downhill since then. It's all mostly irrelevant these days, though, as I simply run an LXDE-based Linux VM on m
268.
▲
by
efaref
11y ago
> “There should be no worries about personal information being leaked,” This always makes me more worried about personal information being leaked, as it implies they haven't considered the possibility carefully enough.
269.
▲
by
efaref
11y ago
I was with some friends travelling to central London recently, and we exited the tube system at Tottenham Court Road station. This station is currently undergoing refurbishment as part of the new Crossrail extension, and you now leave thro
270.
▲
by
efaref
11y ago
Like how we never notice air. Oh wait...
More ›