Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
shawn_w
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
24 ms
·
481.
▲
by
shawn_w
2y ago
It's been my first choice for 30 years for anything involving a lot of non-trivial work with textual data (Including xml, json, etc.). And one-liners and any quick throwaway script, of course.
482.
▲
by
shawn_w
2y ago
I have good news! #!/usr/bin/env perl use v5.36; # Minimum version needed for this use utf8; use experimental qw/extra_paired_delimiters/; my @arr = qw«foo bar baz»; say $arr[1];
483.
▲
by
shawn_w
2y ago
awk is definitely a programming language, and I've seen people abuse sed in unsettling ways, but yeah, grep sure isn't. lex at least generates C source code but isn't itself a programming language. But they all definitely mad
484.
▲
by
shawn_w
2y ago
>> One at a time per program >Reentrant versions have existed for quite some time. Not in POSIX. glibc has one, but that doesn't do much good if you want your code to work portably. I do see they've made their way into Fr
485.
▲
by
shawn_w
2y ago
POSIX hsearch tables are terrible. There's a reason why nobody uses them. One at a time per program, having to know how big the table needs to be at initialization time with no automatic resizing, an API that's very limited (no wa
486.
▲
by
shawn_w
2y ago
Casting between void pointers and function pointers is, strictly speaking, undefined behavior. Though it does tend to work, it's not something to rely on. (And you don't need casts when converting between void pointers and data po
487.
▲
by
shawn_w
2y ago
This is more Patlabor than Gundam.
488.
▲
by
shawn_w
2y ago
See https://metacpan.org/pod/pp for one tool to do that.
489.
▲
by
shawn_w
2y ago
Sure looks that way. Usually the lip on the plastic ring is at the top.
490.
▲
by
shawn_w
2y ago
Walla Walla University (formerly college). Really annoying because there's a relatively much better known WWU on the other side of the state. Your ordering would have been a better choice when it renamed.
491.
▲
by
shawn_w
2y ago
I think that's what InterLisp did.
492.
▲
by
shawn_w
2y ago
20+ years ago when they moved headquarters from Seattle to Chicago.
493.
▲
by
shawn_w
2y ago
>minix exists (though their source control system just fell offline this year), https://git.minix3.org/index.cgi seems online?
494.
▲
by
shawn_w
2y ago
Luckily, lisp has arrays too, and a bunch of other data structures besides lists.
495.
▲
by
shawn_w
2y ago
My first exposure to Unix was at college in computer labs full of X terminals all logging in to Alpha servers running Digital Unix (it was a DEC school). Then I installed RedHat on my own computer, and didn't even own a computer runnin
496.
▲
by
shawn_w
2y ago
Who can afford to leave a tip these days?
497.
▲
by
shawn_w
2y ago
Yeah, it's a gcc extension. Details at https://gcc.gnu.org/onlinedocs/gcc-14.1.0/gcc/Statement-Expr...
498.
▲
by
shawn_w
2y ago
A Short History of Byzantium by John Julius Norwich is a good overview of the empire if you'd like to learn more about it.
499.
▲
by
shawn_w
2y ago
According to the documentation links in the article, it's using PCRE2.
500.
▲
by
shawn_w
2y ago
Interesting. I'm pretty familiar with both drugs in the context of addiction treatment and mental health (and seen plenty of people taking both as separate pills), but I've never heard of them indicated for weight loss.
501.
▲
by
shawn_w
2y ago
When he was fired there was a short window where the prevailing reaction here was "He must have done something /really/ bad." Then opinion changed to "Sam walks on water and the board are the bad guys". Maybe t
502.
▲
by
shawn_w
2y ago
Normal Racketeers would just `(require math/number-theory)` and be done. No idea why they're loading the module at runtime like that instead, unless it's a deliberately over complicated joke solution like some of the others.
503.
▲
by
shawn_w
2y ago
It looks to be heavily influenced by Racket's for loops and sequences; what this calls `in-iterators` is `in-sequences` in Racket.
504.
▲
by
shawn_w
2y ago
There's an experimental Racket to JavaScript compiler too: https://docs.racket-lang.org/racketscript/index.html Ooo, there's more: https://github.com/jashkenas/coffeescript/wiki/
505.
▲
by
shawn_w
2y ago
Heh, found this comment of yours in reply to the one about Racket my earlier comment was referring to: https://news.ycombinator.com/item?id=39186136
506.
▲
by
shawn_w
2y ago
No. What looks like blueprints and other architectural/drafting related stuff. https://htdp.org/
507.
▲
by
shawn_w
2y ago
I prefer the HTML version at https://minejima.jp/ISLispHyperDraft/islisp-v23.html
508.
▲
by
shawn_w
2y ago
I remember someone making that claim about Racket. Turned out they were using a very restricted subset of Scheme intended to be used for a particular introductory programming book, not the actual Racket language.
509.
▲
by
shawn_w
2y ago
That's why I like ocaml and racket (or scheme). Functional, but you don't need to jump through hoops to do basic stuff like I/o.
510.
▲
by
shawn_w
2y ago
SO corporate has been trying to shoehorn AI into the sites ever since it became the latest buzzword. It's been largely laughably bad and is alienating the community, who don't want it and aren't asking for it.
More ›