Readit News logoReadit News
kwoff commented on Perl's decline was cultural   beatworm.co.uk/blog/compu... · Posted by u/todsacerdoti
kwoff · 11 days ago
Perl's "decline" means there is some metric to measure how high Perl is. It was higher, but now it is lower. I don't think the metric is well-defined, though.
kwoff commented on Perl's decline was cultural   beatworm.co.uk/blog/compu... · Posted by u/todsacerdoti
fenazego · 11 days ago
My first and only experience with Perl was like this: in 1997, just for fun, I tried to write a program in Perl to turn my Mozilla bookmarks into a website. After a week of not succeeding, in frustration I decided to try Python. In two days I had what I wanted, and programming it was a joy. That sealed my judgement that Perl (and all of its culture) was not for me, so I'm not surprised at all that others might feel the same. (To be fair, there's a single oneliner that does make life a lot easier: ... | perl -pe 's{...}{...}')
kwoff · 11 days ago
I hope this doesn't come off as argumentative. You said that with Python "In two days I had what I wanted", but another way of looking at it: in a week of not succeeding in Perl plus those two days in Python, you had what you wanted.
kwoff commented on Modern cars are spying on you. Here's what you can do about it   apnews.com/article/auto-c... · Posted by u/MilnerRoute
ProllyInfamous · 17 days ago
On a 2021 Camry there is an below-dash fuse labeled "DCM" which you can remove (and it does disable OnStar/telemetry, but not sat.radio[0]) — it also disables one of the speakers (used for phone calls), which there is a bypass to resolve (but it still requires removing infotainment, so at that point just unplug it there.?!).

[0] It was my understanding that, like GPS-receivers, Sirius/XM was one-way streaming, only..?

kwoff · 17 days ago
https://www.toyota.com/privacyvts/#:~:text=Declining,analysi... so you apparently have to opt-out of consenting to them tracking you...
kwoff commented on What Killed Perl?   entropicthoughts.com/what... · Posted by u/speckx
downsplat · a month ago
There's more than one thing that "killed perl" (I still use it almost every day.)

But I think the main thing that made it long term non competitive were a series of bad design choices all the way back to perl 4 or even 1.

Namely:

- the need for sigils

- weird sigil rules where the 0 element of @x is $x[0] not @x[0]

- auto flattening, ex. (@a, @b), and hence the need for manual reference management, as in (\@a, [1,2,3])

- lack of a native object system, and widespread repurposing of hashrefs as objects, with awkward field syntax $x->{foo}

- awkward function argument syntax: my ($x, $y) = @_;

These things add up, and both JS and python showed that all those can be done much more smoothly.

Another thing that counted at the time, is that PHP came out with a slightly worse language, but a super beginner-friendly approach to html templating and request lifecycle: you can just mix php and html in the same file, and the entire runtime environment is nuked at each request. The result was that php replaced perl for an entire generation of web devs in the early 2000s.

kwoff · a month ago

  - weird sigil rules where the 0 element of @x is $x[0] not @x[0]
'@' and '%' indicate containers, while '$' is a scalar (which containers can contain). So '$x[0]' is referring to a scalar within the '@x' container. If you operate on a container, like 'push @x, 2', it uses the container sigil.

I guess "weird" triggered me a bit, heh. I know it's subjective.

kwoff commented on My stages of learning to be a socially normal person   sashachapin.substack.com/... · Posted by u/eatitraw
kwoff · a month ago
11 em dashes
kwoff commented on Ask HN: Where to begin with "modern" Emacs?    · Posted by u/weakfish
dswilkerson · 2 months ago
I will just add a comment on an aspect of using emacs that no one else mentioned: (1) I find that I must bind caps-lock to control, and (2) as far as I can tell, no operating system does this in a way that really works besides OSX. So now I am stuck using OSX because I use emacs. When I use a GNU/Linux machine, I do it by ssh-ing in over the network from an OSX machine. I think you may find this to be something you have to deal with as well.
kwoff · 2 months ago
Not sure if it counts as "really works", but on Windows with PowerToys you can enable Keyboard Manager and 'Remap a key'. (Might want to remap right-Ctrl to CapsLock, in case it turns CapsLock on.) There's also old Registry hacks to do the same thing.
kwoff commented on Chen-Ning Yang, Nobel laureate, dies at 103   chinadaily.com.cn/a/20251... · Posted by u/nhatcher
dboreham · 2 months ago
Sad news. Perhaps the last connection to OG physics. I was fortunate to meet Dr Yang a few times. Surreal to hear him describe working for Fermi and Oppenheimer and his reaction on hearing about the Hiroshima detonation.

Some of his work: http://home.ustc.edu.cn/~lxsphys/2021-3-18/The%20conceptual%...

And: https://en.wikipedia.org/wiki/Yang%E2%80%93Mills_theory

kwoff · 2 months ago
(re OG physics) Sheldon Glashow is still around, I think: https://en.wikipedia.org/wiki/Sheldon_Glashow
kwoff commented on Learning Persian with Anki, ChatGPT and YouTube   cjauvin.github.io/posts/l... · Posted by u/cjauvin
kwoff · 3 months ago
I haven't incorporated Anki yet, but I guess a similar idea would be Memrise. My experience with that for Korean was that it was too intense in the beginning, since it was throwing random (though basic) phrases of like 9 syllables at me, and I couldn't keep them straight. I am considering trying Memrise again, since I've gone through A2 level on Busuu since then, and know more basic phrases and grammar. I do think I should be building my own Anki set by this point, but I've been too lazy.

Helping with language learning is one of the things I think ChatGPT is excellent for. I have a long-term conversation only about Korean, and I can ask questions like "how would a Korean understand [some grammatical structure]?" and it gives very insightful answers, and even refers back to vocabulary that I've already used or other discussions about similar topics.

kwoff commented on Try and   ygdp.yale.edu/phenomena/t... · Posted by u/treetalker
kwoff · 4 months ago
"However, De Vos (2005:59) points out that try and may not be preceded by both: " [example] "John will both try and kill mosquitos."

Then the next sentence has "try and is available only when both try and the verb following and are uninflected". (only when "both try and") I know the italicization of "try" and "and" makes it a different thing grammatically, just thought it was amusing.

kwoff commented on Programmers aren’t so humble anymore, maybe because nobody codes in Perl   wired.com/story/programme... · Posted by u/Timothee
kwoff · 5 months ago
It's kinda ironic, since one of the three "virtues" of a Perl programmer is hubris, heh.

(re nobody codes in Perl: I still do professionally, and I'll probably never understand why it draws so much hate)

u/kwoff

KarmaCake day126January 2, 2016View Original