Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sltkr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
71 ms
·
631.
▲
by
sltkr
14y ago
It's not entirely clear to me what prompted the “Mack truck’s worth of vile, misogynistic, sexist comments and pictures” that caused Sierra to change her point of view (after twenty years of positive experience!) and how exactly it relates
632.
▲
by
sltkr
14y ago
At least the bullet points on the right clearly describe how the site works. I'm not saying it's not misleading, but I think OP's complaint that customers have to “read their entire 2,500 words Terms of Service” to see what the deal is, is
633.
▲
by
sltkr
14y ago
I understand, but that's the point: for the audience it's not so interesting to see the results without the winning entries, so to maximize interest, the jury should wait to present the results until they're ready to publish the winning ent
634.
▲
by
sltkr
14y ago
The problem is they haven't published the winning entries. How can I appreciate the achievements of these coders if I can't see/run their code? There isn't even a description of what they've submitted (except for the clue given by the aw
635.
▲
by
sltkr
14y ago
> The solution is to invoke the copy on the access of `t[1]`, which is what libstdc++ does. No, libstdc++ specifically DOES NOT unshare the string buffer when calling the CONST version of operator[] (really, go look it up). That's the
636.
▲
by
sltkr
14y ago
I can't give you a definite answer, unfortunately, but I believe the more detailed specification of the semantics of string references/iterators in the new standard makes it very difficult to implement std::string with copy-on-write semanti
637.
▲
by
sltkr
14y ago
I've read the first article and I'm not convinced the problem this guy describes incurs real costs in reality. After all, there is no reason to include inline function definition in dynamic objects unless they are called without being inli
638.
▲
by
sltkr
14y ago
I think it's pretty simplistic, not to mention rather patronizing, to suggest that the only proper way to spend one's youth it to waste time on stuff that other teenagers do, and that people who aspire to something else must be protected fr
639.
▲
by
sltkr
14y ago
In fact, OS X is a certified Unix system (while Linux isn't, officially, but close enough).
640.
▲
by
sltkr
14y ago
Note that this uses the Bourne shell feature of modifying the environment of the make process by prefixing the command with an environmental variable assignment. The more portable/shell-agnostic version is to pass such assignments as argum
641.
▲
by
sltkr
14y ago
On the other hand, when people have nowhere else to go, they are extremely vulnerable to exploitation of those in power. (Go watch Dogville for an exploration of that idea.) I think it's a bit naive to suggest that if people lived in smalle
642.
▲
by
sltkr
14y ago
You raise valid points, but taking a photo with a professional DSLR camera instead of the phone camera you are advertising goes way beyond post-processing. > Well, there still are inevitable pre-production and (more importantly) RAW con
643.
▲
by
sltkr
14y ago
Not necessarily, because "van" is much more common in Dutch names than "von" is in German names. (One reason for this is that "von" used to be restricted to German nobility, while there was no such restriction for "van", and as a result "v
644.
▲
by
sltkr
14y ago
Except that the website is so obviously a big joke from the start, that the people who “try” to sign up aren't taking it seriously. (Also if you think that $50 can wipe out slavery you're incredibly naïve. At least the return on investment
645.
▲
by
sltkr
14y ago
I hope you're at least familiar with Conway's Game of Life? If not, go look that up first. ;-) Standard Life uses a rectangular grid with a Moore-neighbourhood: cells are squares and all cells that share either an edge or a corner are neigh
646.
▲
by
sltkr
14y ago
Even if the password-rest-page doesn't leak information about which e-mail addresses have accounts associated with them, the register-new-account-page usually does. Of course websites could work around this by sending an e-mail message to
647.
▲
by
sltkr
14y ago
I would think the bigger time difference would come from sending an e-mail message (or not), not the database look-up itself. But I'm still not convinced that's easily measurable in practice, considering most sendmail implementations dump m
648.
▲
by
sltkr
14y ago
I admit, the Lisp one at the end made me laugh. For most other languages the focus seems to be mainly on letters (typing out keywords/identifiers), so in that sense there is little evidence that one language would be easier to write than an
649.
▲
by
sltkr
14y ago
> OneClick: Turn your torrent downloads into normal in-browser downloads. This has been possible in Opera out-of-the-box for half a decade. Apparently with Torque I have to manually install a third-party plug-in, and that plugin only wo
650.
▲
by
sltkr
14y ago
There is a difference between putting someone under duress and making an offer they can't refuse. If your wedding ring is not “for sale” for any amount of money, I might still be able to coerce you into “selling” it by putting a gun against
651.
▲
by
sltkr
14y ago
It's also impossible to charge recurring fees, and unlike Paypal etc, transactions take at least 10 minutes on average to clear (and around an hour if you want a decent amount of security). For TorGuard that is probably acceptable, but in s
652.
▲
by
sltkr
14y ago
I would think that these ads aren't exactly to-the-point considering what is offered is extremely illegal. I sincerely doubt you could reliably identify them based on keywords alone. If it were so easy to spot child exploitation ads, why d
653.
▲
by
sltkr
14y ago
> a mispelled word Oh, irony.
654.
▲
by
sltkr
14y ago
^ In the above, I meant CHAR_MAX instead of INT_MAX. Oops!
655.
▲
by
sltkr
14y ago
To be absolutely accurate, the program still invokes implementation-defined behaviour. From the C standard on casting integers: “if the new type is signed and the value cannot be represented in it; either the result is implementation-define
656.
▲
by
sltkr
14y ago
Thanks for the consideration, but I don't really use github, so you go ahead and take the credit yourself.
657.
▲
by
sltkr
14y ago
Even 63-bit integers aren't (all) representable in IEEE double floating point values (that Python uses) which have a 53 bits mantissa. For example, int(float(10¹⁸ - 1)) != 10¹⁸ - 1, but xrange(1, 10¹⁸) is perfectly valid (even in Python 2).
658.
▲
by
sltkr
14y ago
Nitpicking, but this statement doesn't work with large numbers (which xrange() is supposed to handle correctly): self._len = int(ceil(float(stop - start) / step)) Python supports arbitrary-length integers; you can't just cast those
659.
▲
by
sltkr
14y ago
But then the suggestion remains that only a man can be a "helpful jerk" (because the author comes out in favour of single sex education because of this incident).
660.
▲
by
sltkr
14y ago
What if my password contains % characters?
More ›