Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
drfuchs
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
44 ms
·
451.
▲
by
drfuchs
8y ago
Ah, the hypocrisy of the "States Rights" crowd: They're all for it, until they don't like what a state wants to do.
452.
▲
by
drfuchs
8y ago
Anyone considering a “developer #1” position at a (presumably pre-money, low valuation) company is well-advised to insist on pre-exercising their options to avoid exactly this conundrum. You should even be able to get the cost covered with
453.
▲
by
drfuchs
8y ago
Turns out that recent studies say you’re wrong. Counter-intuitively, making rational, fact-based arguments actually makes “them” reject scientific fact even more strongly. Look it up.
454.
▲
by
drfuchs
8y ago
Quite. See, for example, the 1940 Nazi propaganda film "The Eternal Jew." Quoting Wikipedia: "The film utilizes a montage that juxtaposes these images of ghetto Jews with images of rats to draw an analogy between the migratio
455.
▲
by
drfuchs
8y ago
The Concord wasn’t allowed to fly at super-sonic speeds while over the continental US, so the poor Braniff pilots didn’t get to really have the full experience (other than in training).
456.
▲
by
drfuchs
8y ago
And more than just for academic papers: TeX was hand written in full on yellow legal pad, and then typed into the full-screen editor.
457.
▲
by
drfuchs
8y ago
The disposable ballpoint pens that hotel chains typically provide (along with a small notepad, next to the telephone in your room) are a bit different than the sort that are available in office-supply stores. I prefer the hotel ones, as the
458.
▲
by
drfuchs
8y ago
And though it’s peculiar that the readme doesn’t mention it, the code is (trying to be) safe, at least when assertions aren’t disabled.
459.
▲
by
drfuchs
8y ago
They left out the best part: The use of the word "redhead," for people with hair that is decidedly orange rather than red, predates the emergence of the color name "orange." Otherwise, they would presumably have been cal
460.
▲
by
drfuchs
8y ago
So, if you don't just happen to know that the global variable "char foo[9]" currently contains a string that is 3 characters long, how would you concatenate "1234" to it in place? I don't see any way without ei
461.
▲
by
drfuchs
8y ago
You seem to be confused about the implementation of C's standard string library. There are certainly not 3 strlen calls underneath a strcpy() plus a strcat() call. But what's the mention of "terminating 0"? The article s
462.
▲
by
drfuchs
8y ago
You don't seem to understand heap vs. stack. The call to malloc() does a heap allocation, and the question was "without using the heap in any way". If it makes it conceptually easier, how about a solution where the string is
463.
▲
by
drfuchs
8y ago
char foo[9]; strcpy(foo,"abc"); strcat(foo,"1234"); And yes, that's specifically written to be awful and unsafe, but there are circumstances where you need to be close to the metal and carefully resort to more compl
464.
▲
by
drfuchs
8y ago
How exactly then would one declare a stack variable that is a string that is initialized to "abc", and then later has "1234" concatenated to it, so it's now "abc1234", without using the heap in any way? If
465.
▲
by
drfuchs
8y ago
The proposal here is way too vague. And if you flesh it out, things start to fall apart: If nul-termination of strings is gone, does that mean that the fat pointers need to be three words long, so they have a "capacity" as well as
466.
▲
by
drfuchs
8y ago
“When you get to three kids, parents have to switch from one-on-one to zone defense.”
467.
▲
by
drfuchs
8y ago
Amazingly, FORTRAN doesn’t even require spaces between keywords and variable names. So when the compiler sees FORI=1 it has to look still further ahead to decide if this is a for-loop (FORI=1TO9DO) or an assignment to a variable named FORI.
468.
▲
by
drfuchs
8y ago
The second paragraph of TFA mentions "ox-turn" line breaking (alternating left-to-right and right-to-left lines), but unforgivably fails to mention every typographer's favorite vocabulary word for this: "boustrophedonic&
469.
▲
by
drfuchs
8y ago
Copper bracelets for sea-sickness? When I was a kid, the scam was that they cured arthritis.
470.
▲
by
drfuchs
8y ago
Throwaway5752 is referring not to China, but rather the USA, as having “single party control of a government that is hostile to clean tech and initiating a trade war with the worlds largest consumer market for the next 50 years“.
471.
▲
by
drfuchs
8y ago
Title should say “fending off”.
472.
▲
by
drfuchs
8y ago
The research problem you're thinking of is known as "The Secretary Problem" and Wikipedia has pretty comprehensive coverage on it (spoiler: it's N/e). https://en.wikipedia.org/wiki/Secretary_pro
473.
▲
by
drfuchs
8y ago
Which they needed because it’s tricky to dodge stuff at warp speed: "Faster than light, no left or right: course-corrections can fracture the hull."
474.
▲
by
drfuchs
8y ago
David F. here, with the best true Unix command-name story ever: In the late 1980's, Frame Technology had 50 or 100 employees, and as our product ran on Sun 3/50 workstations, not only the engineers, but many of the admins had them
475.
▲
by
drfuchs
8y ago
Specifically, 6614806 is clearly from 1970. And that's John Travolta from 1977's "Saturday Night Fever" in 6614848. Also interesting that there are various images of paper and filing cabinets, but no computers or termin
476.
▲
by
drfuchs
8y ago
Control-G. You'll really get attention when your name makes the bell ring on the VT-100 emulator.
477.
▲
by
drfuchs
8y ago
Fun fact: Netflix founder Reed Hastings was previously the author of Purify, a truly revolutionary memory-reference checker from the 1990's that worked by instrumenting all the object code in a program, including all the libraries link
478.
▲
Bolton pushing to eliminate White House cybersecurity job
(politico.com)
1 points
by
drfuchs
8y ago
|
0 comments
479.
▲
by
drfuchs
8y ago
Many cases in the US of people choosing unfortunate "vanity" license plates and then getting billed for zillions of unpaid parking tickets: "UNKNOWN", "NO PLATE", "NO TAG", "VOID", "XXX
480.
▲
by
drfuchs
8y ago
Considering how it worked out in the solar cell manufacturing business, you might expect the exact opposite: eventually all the older manufacturers get driven out of business.
More ›