Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
shawn_w
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
511.
▲
by
shawn_w
2y ago
He regrets it because he got caught violating the no AI answers policy, not because he did it.
512.
▲
by
shawn_w
3y ago
He said he was using perl 4. And there was no such thing as "perl 4 style OO". I'm thinking he's just misremembering what version of perl he was using. Easy to do after 20+ years.
513.
▲
by
shawn_w
3y ago
Perl /4/ in 2002? When I learned perl in like 1995, 5 had been out for a bit already and it was hard to find a system with 4 installed... (perl 4 didn't have built in support for OO; did you roll your own system?)
514.
▲
by
shawn_w
3y ago
I remember reading the text files section of cDc's page back in the 90's. There was some sick and twisted stuff in that collection. Thanks for the flashbacks?
515.
▲
by
shawn_w
3y ago
He reinvented M-x psychoanalyze-pinhead for a new generation.
516.
▲
by
shawn_w
3y ago
It's failing point 5 in some articles. >While not a famous musician in this timeline, from the Taylor Swift one.
517.
▲
by
shawn_w
3y ago
> I use my editor to write the code and I run it from my shell That's a perfectly valid workflow for Racket too. Startup time is pretty comparable to Python in my experience. Slow but not cripplingly so, especially if you compile it
518.
▲
by
shawn_w
3y ago
Racket has a ton of different types of for loops for iterating over data structures etc. and collecting the results (or ignoring them). They're implemented under the hood using recursion but that's hidden from the user and it shou
519.
▲
by
shawn_w
3y ago
Not Mark, but I use Racket a lot and sometimes play with Common Lisp. CLOS is way nicer than Racket's class/OO model and how generic functions are handled. Growable/resizable arrays are sometimes nice to have. I prefer Racket
520.
▲
by
shawn_w
3y ago
I think they're using a more limited meaning of recorded than is usual; probably just referring to voice/sound recording.
521.
▲
by
shawn_w
3y ago
FORTRAN IV (1962) predates DO, which if Wikipedia is to be trusted, was introduced in FORTRAN 66.
522.
▲
by
shawn_w
3y ago
Most hospitals are unionized; at least on the West Coast. Volunteer firefighters: some areas are full of people who don't want their taxes to go up to pay for a career department. Many areas are so sparsely populated they can't af
523.
▲
by
shawn_w
3y ago
The call is coming from inside the house!
524.
▲
by
shawn_w
3y ago
I can see /park/ and talk rhyming with a transformation like that (like a Boston accent), but the o in pork is a completely different sound. Going from pork to pawk isn't something I can wrap my tongue around.
525.
▲
by
shawn_w
3y ago
I'd love to hear someone pronounce pork and talk in a way where they rhyme because I sure can't picture it.
526.
▲
by
shawn_w
3y ago
I find Racket's OO stuff to be awkward and cumbersome to use, and rarely a good option. One of these days I'm going to port a CLOS-inspired Scheme OO system like Guile's GOOPS to Racket...
527.
▲
by
shawn_w
3y ago
Thinking the accepted answer is the "right" answer is a common mistake made by people who aren't aware of how Stack Overflow works. >Accepting an answer is not meant to be a definitive and final statement indicating that t
528.
▲
by
shawn_w
3y ago
Side loading a Kobo is pretty simple, and they have readers in a variety of screen sizes. Never tried displaying a PDF on mine though.
529.
▲
by
shawn_w
3y ago
Ultramarines says hi.
530.
▲
by
shawn_w
3y ago
Looks like it uses the standard POSIX regular expression functions - regcomp() and regexec().
531.
▲
by
shawn_w
3y ago
Oh, I wouldn't try to squeeze it down into a one liner. Maybe for a simple definition of the quoted text that doesn't need to account for edge cases like escaped quotes inside...
532.
▲
by
shawn_w
3y ago
Easily, though you don't need to drag external programs like fmt into it - perl comes with a standard module for word wrapping. Text::Balanced (for extracting the quoted text) and Text::Wrap would be the core of such a program. https:
533.
▲
by
shawn_w
3y ago
Yeah, it's nothing new. "Will the last person leaving Seattle turn out the lights" is from a 1971 bust. https://www.historylink.org/File/1287
534.
▲
by
shawn_w
3y ago
That's just an Explorers remake. https://en.wikipedia.org/wiki/Explorers_(film)
535.
▲
by
shawn_w
3y ago
You'd think they would have learned from the example of Tumblr.
536.
▲
by
shawn_w
3y ago
I've been tempted a few times to rewrite some csvkit utilities in a faster language than Python.
537.
▲
by
shawn_w
3y ago
The WSB might not be the best example of modern concrete construction considering it was closed for a couple of years not very long ago for repairs to said concrete.
538.
▲
by
shawn_w
3y ago
Scheme in the form of R7RS does something similar, though since failure to capture all returned values is an error (unlike in Common Lisp), there's more functions involved. It also offers a choice between truncation and floor behavior,
539.
▲
by
shawn_w
3y ago
That's why "accepted answer" isn't supposed to be treated as "best answer", but just "answer that helped the asker" (and, yeah, often it's the blind leading the blind). IIRC they recently changed
540.
▲
by
shawn_w
3y ago
It's not limited to local chat.
More ›