Readit News logoReadit News
hhhAndrew commented on Ki Editor - an editor that operates on the AST   ki-editor.org/... · Posted by u/ravenical
scriptsmith · 9 days ago
The "First-class syntactic selection" reminds me of my most used shortcut(s) in Jetbrains IDEs: the Expand / Shrink Selection.

  Ctrl + W
  Ctrl + Shift + W
https://www.jetbrains.com/help/idea/working-with-source-code...

It really changed my perspective on interacting with the 'text' of a file.

VS Code, Zed, etc. have similar operations, but in my experience they expand and shrink too coarsely.

hhhAndrew · 8 days ago
Mathematica is the earliest thing I am aware of with this feature where it was Alt+. to expand selection in their notebook interface starting in the early 90s. But the thing I miss most that I still can't shake the muscle memory of after almost a decade of not using much Mathematica, is that single/double/triple/n-click scaled this way as well. So double-click selected a whole word (as in all editors), triple-click selected all the comma-separated multiple args of a function, 4-click for f(a,r,g,s), and so on.
hhhAndrew commented on New iPad Air, powered by M4   apple.com/newsroom/2026/0... · Posted by u/Garbage
booi · 13 days ago
Perhaps I don't understand it but the encryption security model for MacOS/iPadOS/iOS currently doesn't allow multiple different encryption keys for each user. So any user can decrypt the whole drive and while it does enforce user permissions, the security model can't support true multiuser.

I actually don't know if Windows or ChromeOS support this either but this is certainly something Linux can with LUKS et. al.

hhhAndrew · 13 days ago
Yep on ChromeOS each user's home dir is separately encrypted with their own password.
hhhAndrew commented on How Quake.exe got its TCP/IP stack   fabiensanglard.net/quake_... · Posted by u/billiob
xtracto · 4 months ago
Just passing by to thank you. As many others have mentioned, DJGPP was pivotal for my life. I compiled my first C/Allegro games in DJGPP back in the mid/late 90s.

And here you are!!

hhhAndrew · 4 months ago
+1 DJGPP/Allegro key life experience on my parents Windows machine, thankyou!
hhhAndrew commented on Why do some gamers invert their controls?   theguardian.com/games/202... · Posted by u/zdw
tiahura · 6 months ago
You might enjoy reading the article.
hhhAndrew · 6 months ago
After reading TFA, I have to cop this as fair criticism :). Thanks.
hhhAndrew commented on Why do some gamers invert their controls?   theguardian.com/games/202... · Posted by u/zdw
hhhAndrew · 6 months ago
Agreed with others it's just what you're used to. I was inverted-y for most of my gaming life because I started with flight sims where it was mandatory, reflecting the real life hardware. So I used the same in FPS games when they came around. Decades later I had kids and had to spend some time sharing a mouse with them, and didn't want to condemn them to a life of having to look for "inverted Y axis" in the settings of every game (+1 to the post above who requested an OS-level setting for this!), so I left it on the default in Minecraft and learned the other way. Now I'm actually bilingual and can swap from one to the other with about 2 minutes warm up time. This is the same as what happens with driving on the left/right side of the road if you spend a lot of time in different countries driving.

With my kids I drew the grumpy line at Minecraft's new Autojump setting tho ... They had to learn with that disabled.

hhhAndrew commented on YouTube views are down (don't panic)   jeffgeerling.com/blog/202... · Posted by u/nfriedly
themagician · 6 months ago
Monopoly in charge of the world's video content shows users what is most profitable instead of what they want to see. "Content creators" suffer as a result. Brain rot content is real, it's profitable, and it's only going to get "worse".

Does anyone remember the internet before pop-up blockers? Like, right before. It felt like the same thing to me. The internet was infested with pop-ups and becoming borderline unusable, and then comes along the pop-up blocker (and other things, but I'm simplifying here) and there was a "golden age" which is now giving way to a new wave of advertising-based atrophy. Not sure what happens next.

hhhAndrew · 6 months ago
One idea for what happens next, that rhymes with pop-up blocker revolution, is Gates' "disintermediation of everything" via AI, where agents on our behalf will be able to "find me a video I like and don't show me the ads", "renew my electricity contract and don't let them soft-scam me with their tricky pricing structure", "buy groceries online and don't get tricked into buying candy from a promo", etc. Agents make become like popup blockers in that way. Subsequent to that, I reckon we may see some sites adopting TOS forbidding people to have AI agents visit on their behalf.
hhhAndrew commented on Claude for Chrome   anthropic.com/news/claude... · Posted by u/davidbarker
Uehreka · 7 months ago
Oh come on, are you 12? Real life doesn’t have narrative arcs like that. This is a real problem. We’re not gonna just sit around and then enjoy a cathartic resolution.
hhhAndrew · 7 months ago
(Maybe skip the mini-insults & make the site nicer for all?)

Anyway I think GP has a point worth considering. I have had a related hope in the context of journalism / chain of trust that was mentioned above: if anyone can produce a Faux News Channel tailored to their own quirks on demand, and can see everyone else doing the same, will it become common knowledge that Stuff Can Be Fake, and motivate people to explicitly decide about trust beyond "Trust Screens"?

hhhAndrew commented on Public/protected/private is an unnecessary feature   catern.com/private.html... · Posted by u/PaulHoule
PaulDavisThe1st · 9 months ago
I'd like them extended slightly, in fact. I'd like a friend declaration after an access specifier to apply only until the next access specifier. Eg.

     class Foo {
       public:
          void method_A();
 
       protected:
          friend class Bar;
          void method_B();

       protected:
          friend class Baz;
          void method_C();

       private:
          void method_D();
     };
anyone can call method_A(), only Bar can call method_B(), only Baz can call method_C() and nobody can call method_D().

You can do this by inheriting from 2 different pure abstract classes, but that feels much kludgier to me.

hhhAndrew · 9 months ago
This is how Eiffel works. Instead of private, protected, public, you specify the set of classes a method can be seen by: `feature {ANY}` for `public:`, feature {NONE} for private, feature {Self} (IIRC) for protected, feature {Foo, Bar} for descendants of Foo and those of Bar, etc.
hhhAndrew commented on Cockatoos have learned to operate drinking fountains in Australia   science.org/content/artic... · Posted by u/pseudolus
technion · 9 months ago
The kookaburras here have a reputation for taking snags right off a burning BBQ without apparently hurting themselves.
hhhAndrew · 9 months ago
It seems a standard childhood memory! I had a chicken and salad sandwich downgraded to a salad sandwich while I held it my hands as a child. Couple of decades later, almost identical thing happened to my own kid.
hhhAndrew commented on Sid Meier's Pirates – In-depth (2017)   shot97retro.blogspot.com/... · Posted by u/benbreen
cosmicgadget · 10 months ago
I didn't play the original, but the 2004 remake was amazing. Particularly in an fps-saturated market.
hhhAndrew · 9 months ago
In 2004 I owned only my laptop, with no full size keyboard -- but the sword fighting minigame really benefits from a numeric keypad. And so I bought a USB numeric keypad, which is an odd little accessory which, every 5 years or so, proves handy for some reason or other.

u/hhhAndrew

KarmaCake day104February 16, 2024View Original