ABasilPlant

joined 10 months ago
[–] ABasilPlant 3 points 1 week ago

I think the lack of the trailing comma is the clue here. The first three are email signatures. The last one is just saying "I'm not an ichthyologist".

[–] ABasilPlant 132 points 2 weeks ago (5 children)

Are you talking about this: I have toyota corola?

 

via: @[email protected]

https://wetdry.world/@memes/112717700557038278

the sqlite codebase is a gem.

tldr; mcaffee made a shit ton of sqlite files in the temp folder causing people to call the sqlite devs phone angrily. now they name all files etilqs to prevent this.

Text from the screenshot:

2006-10-31: The default prefix used to be "sqlite_". But then Mcafee started using SQLite in their anti-virus product and it started putting files with the "sqlite" name in the c:/temp folder. This annoyed many windows users. Those users would then do a Google search for "sqlite", find the telephone numbers of the developers and call to wake them up at night and complain. For this reason, the default name prefix is changed to be "sqlite" spelled backwards. So the temp files are still identified, but anybody smart enough to figure out the code is also likely smart enough to know that calling the developer will not help get rid of the file.

Code found at: https://github.com/sqlite/sqlite/blob/master/src/os.h#L65 (The line numbers in the screenshot and the code don't match up)

[–] ABasilPlant 1 points 3 weeks ago (1 children)

I think the difference lies in two things:

  • You can share an article from a user of a different instance. In this case, your instance will have to look up the rel="author" tag and check whether the URL is a fediverse instance. I'm not sure whether this is scalable as compared to a tag that directly indicates that the author is on the fediverse. Imagining a scenario where there are 100, 1000, 10,000, or 100,000 instances on different versions.

  • The tag is to promote that the author is on the fediverse. If the rel="author" tag points to twitter for example, maybe Eugen Rochko + team didn't want a post on the fediverse to link to twitter.

These are my thoughts and idk if they're valid. But I think just reusing the rel="author" isn't the most elegant solution.

I know that mastodon already uses rel="me" for link verification (I use it on mu website + my mastodon account), but that's a different purpose - that's more for verification. There's still no way of guaranteeing that the rel="author" tag points to a fediverse account. You're putting the onus on the mastodon instance.

[–] ABasilPlant 14 points 3 weeks ago* (last edited 3 weeks ago) (3 children)

It works in a pretty neat way:

We’ve decided to create a new kind of OpenGraph tag—the same kind of tags you have on your website to determine which thumbnail image will appear on the preview for the page when shared on Discord, iMessage, or Mastodon. It looks like this: <meta name="fediverse:creator" content="@[email protected]" />.

via: https://blog.joinmastodon.org/2024/07/highlighting-journalism-on-mastodon/

[–] ABasilPlant 11 points 4 weeks ago

Please post the source next time. I spent 2 minutes looking for it: https://chrisdallariva.substack.com/p/when-the-fck-did-we-start-singing

[–] ABasilPlant 4 points 1 month ago (2 children)
[–] ABasilPlant 14 points 1 month ago (9 children)

Isn't Angstrom 10^-10 meters? And nanometers 10^-9 meters? So 20A (assuming A = Angstrom) is just 2nm?

Are they trying to say that by moving to this new era, they'll go single digit Angstrom i.e., 0.x nm?

[–] ABasilPlant 5 points 1 month ago* (last edited 1 month ago)

I'm glad you appreciate it! It's always fun digging into kernel internals and learning new things :D

I'm also open to criticism about the writing if you have any.

[–] ABasilPlant 4 points 1 month ago (2 children)

Operating Systems: Three Easy Pieces by Remzi H. Arpaci-Dusseau & Andrea C. Arpaci-Dusseau (University of Wisconsin-Madison) is an excellent book and used by many universities worldwide. Extremely well written and it's one of the only textbooks I've ever completed from start to end.

It's also completely free: https://pages.cs.wisc.edu/~remzi/OSTEP/

 

I needed to add a custom System Request (Sys Req or SysRq) to a linux kernel some time ago. While doing so, I dug deep into how it works and I thought I’d make a quick post about it. Here is a good SuperUser answer about what a SysRq is. You may also know about SysRq via REISUB. This post has three parts: how to raise a SysRq, how SysRq works (looking into kernel code), and how to add your own SysRq.

Disclaimer: This is my website.

 

https://arxiv.org/abs/2404.10002

Abstract (emphasis mine):

The concept of a 'Ballmer Peak' was first proposed in 2007, postulating that there exists a very specific blood alcohol content which confers superhuman programming ability. More generally, there is a commonly held belief among software engineers that coding is easier and more productive after a few drinks. Using the industry standard for assessment of coding ability, we conducted a search for such a peak and more generally investigated the effect of different amounts of alcohol on performance. We conclusively refute the existence of a specific peak with large magnitude, but with p < 0.001 find that there was a significant positive effect to a low amount of alcohol - slightly less than two drinks - on programming ability.

 

I was in a rush and I needed to pick up a quick snack that I could eat during class. I chose these Nature Valley bars which said they had ten bars inside. What I failed to notice is the tiny print at the bottom where it says 5 x 2, i.e., 5 packets with two bars.

Lo and behold when I open a pack during a break, I find two bars inside. I didn't want to eat two bars, just one. You can't even just leave the other fucking bar inside because they create so MANY crumbs. How the fuck are you supposed to seal it???

Stupid-ass deceptive printing got the better of me. It's not the end of the world, just mildly infuriating.

 

Upon going to the releases page, I clicked on the xpi file only to see an alert pop up in Firefox:

“The add-on downloaded from this site could not be installed because it appears to be corrupt.”

I… don’t know if this should be allowed. It just feels wrong.

 
201
submitted 8 months ago* (last edited 6 months ago) by ABasilPlant to c/[email protected]
 

Tl;Dr:

In about:config, I changed these preferences:

  • widget.non-native-theme.gtk.scrollbar.round-thumb: false - This makes the scrollbar not have rounded edges
  • widget.non-native-theme.gtk.scrollbar.thumb-size: 1 - This makes the scrollbar ‘chonkier’ within the scrollbar region
  • widget.non-native-theme.scrollbar.size.override: 20 - This increases the scrollbar region size. Larger number = wider scrollbar
  • Make sure widget.gtk.overlay-scrollbars.enabled is set to false - This should have been set to false when you enabled “Always show scrollbars”

On Windows, Firefox follows the system setting (System Settings > Accessibility > Visual Effects > Always show scrollbars).

view more: next ›