Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ajarmst
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
21 ms
·
151.
▲
by
ajarmst
6y ago
The & isn't needed if you're returning a pointer and no longer need a pointer to pointer to return the list as an argument. Also, if you get rid of the struct containing a single pointer and just use pointers, you can have the
152.
▲
by
ajarmst
6y ago
I've been teaching CS101 for two decades. I've never shown (nor seen another instructor show) a two pointer implementation for list traversal, except perhaps as an example of bad practice (probably by someone who doesn't unde
153.
▲
by
ajarmst
6y ago
Yes. Most of the research I've seen (and I didn't go out of my way to do a proper review) seemed to indicate that the thinking was that Vitamin D was a prophylactic rather than a treatment. Or, perhaps more accurately, Vitamin D
154.
▲
Mickey Peterson's Mastering Emacs Updated for Emacs 27
(masteringemacs.org)
3 points
by
ajarmst
6y ago
|
0 comments
155.
▲
by
ajarmst
6y ago
Whoa! Blew through my marketing gibberish budget less than one paragraph in.
156.
▲
by
ajarmst
6y ago
Paging Dr. Cantor. Dr. Georg Cantor. Paging...
157.
▲
by
ajarmst
6y ago
It's unfortunate that this is necessary, but it seems that some are taking the above a bit too seriously (I had thought I offered sufficient signals that this was firmly tongue-in-cheek). So, for the record, I am thoroughly in the tar
158.
▲
by
ajarmst
6y ago
You understand that "doesn't serve a purpose" is literally the defining criteria for waste, right?
159.
▲
by
ajarmst
6y ago
I'm caught between a couple of possible use cases: * Perhaps this is similar to a potlatch or a peacock's tail: primarily a demonstration of social or genetic superiority. "If I can publicly waste resources on this sort of sc
160.
▲
by
ajarmst
6y ago
Were it my team, this would get bounced with a request for a link to the bug-report/documentation in cJSON that necessitates this wart and at least a FIXME flag so that we periodically re-visit the 'why does cJSON still not correc
161.
▲
by
ajarmst
6y ago
And, of course, you carefully documented the reason for the larger buffer and encoded the value into a constant or other documentable source. One hopes you didn't hardcode '5 bytes' with a comment that says 'more byte
162.
▲
by
ajarmst
6y ago
Agreed. I allude to that in my last sentence of the original comment.
163.
▲
by
ajarmst
6y ago
I should add that there is one other way to make that twenty-year-old comfortable: have them be a sociopath. But our problem of distinguishing between sociopathy and confident leadership is a much, much longer conversation.
164.
▲
by
ajarmst
6y ago
I wonder if they end up taking part of the niche taken by strays and feral dogs, which are much less tolerated by Arabs. I'm in Canada, on the outskirts of a city, and we won't ever have much of a feral cat problem because we hav
165.
▲
by
ajarmst
6y ago
Failure is our best teacher. I do spend a lot of time on that with my students. I have a professional and personal interest in formal failure analysis, and try to instill that in students. Apollo 1 saved more lives than it took, and Wind
166.
▲
by
ajarmst
6y ago
The numbers are arbitrary. My primary point is that many important skills cannot be learned without the requisite experience. Individual experiences, talents and interests vary. Perhaps adjust my crude analogy to note that your very good m
167.
▲
by
ajarmst
6y ago
That's a fair point, but note that you're describing the sort of experience that is real, and therefore valuable. Model United Nations is one thing, 'give a two minute speech on a topic of your choice, and we're going t
168.
▲
by
ajarmst
6y ago
An aphorism I occasionally use (I can be tedious): "the only way to make a twenty-year old comfortable leading a meeting is to wait until they're a thirty-year old." Doesn't stop us from forcing the poor bastards to do p
169.
▲
by
ajarmst
6y ago
An observation: a lot of these---especially 'soft skills'---can't be properly learned earlier. They're a side effect of experience, and the 10 years doing the job is the only way to properly get them. The things I most
170.
▲
by
ajarmst
6y ago
I actually like the reduced width because of the way I arrange edit panes, and after a brief adjustment period, have no readability issues at the font sizes I typically use. That's a personal taste thing, though, so I can see that oth
171.
▲
by
ajarmst
6y ago
I noticed a lot of cats in the port of Jubail in Saudi Arabia. I was told they were scavengers and Arabs didn't usually keep them as pets, or think about them much at all.
172.
▲
by
ajarmst
6y ago
Follow-up article: why aren't there any songbirds in Istanbul?
173.
▲
by
ajarmst
6y ago
Coooool. Now I have to set up a testbed. I currently use stumpwm ( http://stumpwm.github.io ), which others interested in EXWM would likely find interesting. A Raspberry Pi running stumpwm and emacs has been my standard PC (wel
174.
▲
by
ajarmst
6y ago
I got the full version, but the nature of my job means I can claim a significant part of the cost against my PD funds (It's mostly for books, but I already own more unread technical books than I can complete within my expected lifespan
175.
▲
by
ajarmst
6y ago
Didn't notice that. Thanks for the correction.
176.
▲
by
ajarmst
6y ago
Triplicate has a nice look, but l (lowercase L) and 1 (one) are indistinguishable, which is an immediate non-starter for me in a programming font. ( CORRECTION: there is apparently a code version that disambiguates these and others. See co
177.
▲
by
ajarmst
6y ago
'Some theorists and scientists advocate greater inclusion of nonhuman actors in debates about ecological crisis. Bruno Latour, for example, argues that “a science of objects and politics of subjects” must be replaced by a “political ec
178.
▲
by
ajarmst
6y ago
Another example is the 1920 pandemic, where the weirdly high mortality in young adults prompted theories that the dominant strains of influenza changed around 1890, and people born after that would be naive for H1N1. There've been some
179.
▲
by
ajarmst
6y ago
"To get fast software today. You're going to need some artists." I don't think that's been true for a couple of decades. Performance issue resolution are now less "The Story of Mel" and more "throw pr
180.
▲
by
ajarmst
6y ago
Addendum: If you are interested in the facts of the event, and not the simplistic good-vs-evil narrative, the full Lion Air accident report is available at (warning, large PDF) http://knkt.dephub.go.id/knkt/ntsc_aviatio
More ›