Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
xamuel
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
89 ms
·
781.
▲
by
xamuel
8y ago
JS got a bad reputation from the pre-ES6 years. Before ES6 it really was a dumpster fire. It'll probably be many years before all that bad reputation can be redeemed as people slowly discover how good ES6 is.
782.
▲
by
xamuel
8y ago
On the other hand, bad neighbors ARE a thing. There are tenants who play loud music day and night. Tenants who smoke in non-smoking units. Tenants whose dogs bark at everyone walking by. It seems like management has their hands tied and it&
783.
▲
by
xamuel
8y ago
>fetching a set of ids and then iterating The ironic part? The folks who do that tend to be the same folks who swear the ORM will pay for itself by query-optimizing under-the-hood. 9_9
784.
▲
by
xamuel
8y ago
>It's like (today or 18th century, does not matter) some African dude showing up in the middle of a busy European city center yelling "I discovered Europe!" Imagine you self-fund your own voyage to Mars. You descend into a
785.
▲
by
xamuel
8y ago
Anyone know why this is done as so many tiny torrents? Torrent users can already choose which files to download from a torrent, so why not do this as a smaller number of larger torrents?
786.
▲
by
xamuel
8y ago
Let's look at an audience where Haskell (or FP in general) ought to be popular, if any of the hype is true: mathematicians and logicians writing pseudo-code in research papers. What we see is that pseudocode is almost always imperative
787.
▲
by
xamuel
8y ago
>Isn't [curve fitting] all of science? No! Astronomical observations can be shoehorned into geocentrism by adding more and more epicycles. That's curve fitting. At some point you have to realize the Earth revolves around the su
788.
▲
by
xamuel
8y ago
A much earlier example (showing the phenomenon isn't so new) is the famous "Cranberry Sauce"/"I buried Paul" vocal at the end of The Beatles' "Strawberry Fields Forever" (1967). It became one of
789.
▲
by
xamuel
8y ago
Wait, isn't it life plus 70 years? If so, the only Beatles music that would be public domain any time soon would be if there were songs by Stuart Sutcliffe...
790.
▲
by
xamuel
8y ago
And 12 inches in a foot, etc. Perhaps in centuries to come, the US will be vindicated for its metric system resistance :)
791.
▲
by
xamuel
8y ago
Something a lot of HNers seem to forget is that people used to build websites just for kicks. You like DragonballZ? You make a DragonballZ page on Geocities just for the hell of it. No adsense, no Google Analytics, no search-engine optimiza
792.
▲
by
xamuel
8y ago
A lecture hall in front of a couple hundred students of "Topics in Mathematics for Engineers" (i.e., grab-bag of ODEs, PDEs, and linear algebra). I hadn't prepared a lecture for the day, so instead I did a live implementation
793.
▲
by
xamuel
8y ago
>not allow initialization of variables without values Then you've thrown in the towel when it comes to optimality. Not saying this is necessarily bad (maybe you're inventing the next Python), but acknowledge this isn't rea
794.
▲
by
xamuel
8y ago
In languages with pointers, it's not really possible for the compiler to know when null needs to be checked for. Consider this fragment: void f(char *x) {g(&x); printf(x);} It's possible that calling g(&x) might cause x to
795.
▲
by
xamuel
8y ago
One big source of secular ritual is the military. And there's nothing more pragmatic and practical-minded than a military, so the fact they have so much ritual there really says something.
796.
▲
by
xamuel
9y ago
Not exactly log files, but I once noticed a C coredump contained raw passwords in strings that had been free'd but not explicitly overwritten. Similar to how Facebook "deletes" files by merely marking them as deleted, "f
797.
▲
by
xamuel
9y ago
The title is misleading in the sense that the particular number depends on the model of TMs (one- or two-way infinite? what alphabet? is a left-move from the 0th cell a no-op or a halt? etc.) The author kind of acknowledges this when he say
798.
▲
by
xamuel
9y ago
What you've called Dylan's "retrospective" years include an earth-shattering comeback with three top-charting albums in a row starting with 1997's "Time Out Of Mind" (which, incidentally, has quite a few &
799.
▲
by
xamuel
9y ago
One way to see there's a lot of hot air coming from the FP crowd is to look how logicians and mathematicians write pseudocode in real papers. The "working" logician/mathematician usually writes imperative pseudocode. No
800.
▲
by
xamuel
9y ago
Interesting comment, makes me wonder if people just generally underperform. You hire an "AI" team with multiple PhDs, you get work that a DBA could've done. You hire a DBA, you get work that a PHP intern could've done. Y
801.
▲
by
xamuel
9y ago
Can someone who knows the technical details of bitcoin answer the following questions? Suppose initially A owns 1BTC and B owns 0BTC. Suppose A publishes a signed transaction that would give 1BTC to B, and simultaneously B publishes a signe
802.
▲
by
xamuel
9y ago
It would make no sense for GCC to automatically add early-exit: that requires a judgement call about the vectors the function is intended to run on. A priori, the function might be intended to run on vectors that are almost always sorted, i
803.
▲
by
xamuel
9y ago
People misuse exceptions. They use them as control-flow, like another form of "if...then", and as you point out, they're terrible for that. The proper way to use exceptions is when you want behavior that bubbles up. So if you
804.
▲
by
xamuel
9y ago
Given that they control the hash function, it would be trivial: hard-code a special exception value for exactly that purpose.
805.
▲
by
xamuel
9y ago
Lars responds to critics: https://www.youtube.com/watch?v=8iLTA43MBuA I guess we'll just have to get these folks in a big ring and have 'em duel to the death :)
806.
▲
by
xamuel
9y ago
Don't know how historically accurate it is, but this entertaining video argues that archery might be an example: https://www.youtube.com/watch?v=BEG-ly9tQGk
807.
▲
by
xamuel
9y ago
And the 80s failed to achieve the pop heights of the 60s...
808.
▲
by
xamuel
9y ago
In practice, Object-Oriented is incredibly disorganized, and you'll need an organizational wizard to clean up the mess.
809.
▲
by
xamuel
9y ago
People of any party tend to be anti-scientific when the science in question contradicts their party line. Democrats are as guilty as Republicans.
810.
▲
by
xamuel
9y ago
By this logic we should pay everyone to dig ditches and fill them in. The solution isn't to preserve obsolete jobs, the solution is to find an economic system that doesn't assume everyone works for a living. Easier said than done,
More ›