[-] ABasilPlant@lemmy.world 27 points 1 week ago

Yep, a few forks were identified within a few hours. I think the maintainers had forks too.

74

Tl;Dr: Zeex/subhook, an 800+ star repository, went offline. A few big repositories depend on it as a submodule.

Disclaimer: this is my website.

88
submitted 2 weeks ago* (last edited 2 weeks ago) by ABasilPlant@lemmy.world to c/asklemmy@lemmy.ml

I've always thought that mold is the fungus, and to mould is to shape. When talking about it with my colleagues yesterday, I was surprised that this isn't common. Most people use one of the two spellings to refer to both.

Doing a quick search on duckduckgo also confirms that:

In my quest to prove them wrong, I was surprised at how wrong I was... until I discovered a few people on the internet who said the same thing:

I'm not looking for what's correct or incorrect anymore, I just find it very fascinating that there are some people who use the words similarly to me, but the vast majority of others who use it in a different way.

So: what's the difference between mould and mold according to you?

[-] ABasilPlant@lemmy.world 51 points 2 months ago* (last edited 2 months ago)

My bachelor's thesis was about comment amplifying/deamplifying on reddit using Graph Neural Networks (PyTorch-Geometric).

Essentially: there used to be commenters who would constantly agree / disagree with a particular sentiment, and these would be used to amplify / deamplify opinions, respectively. Using a set of metrics [1], I fed it into a Graph Neural Network (GNN) and it produced reasonably well results back in the day. Since Pytorch-Geomteric has been out, there's been numerous advancements to GNN research as a whole, and I suspect it would be significantly more developed now.

Since upvotes are known to the instance administrator (for brevity, not getting into the fediverse aspect of this), and since their email addresses are known too, I believe that these two pieces of information can be accounted for in order to detect patterns. This would lead to much better results.

In the beginning, such a solution needs to look for patterns first and these patterns need to be flagged as true (bots) or false (users) by the instance administrator - maybe 200 manual flaggings. Afterwards, the GNN could possibly decide to act based on confidence of previous pattern matching.

This may be an interesting bachelor's / master's thesis (or a side project in general) for anyone looking for one. Of course, there's a lot of nuances I've missed. Plus, I haven't kept up with GNNs in a very long time, so that should be accounted for too.

Edit: perhaps IP addresses could be used too? That's one way reddit would detect vote manipulation.

[1] account age, comment time, comment time difference with parent comment, sentiment agreement/disgareement with parent commenters, number of child comments after an hour, post karma, comment karma, number of comments, number of subreddits participated in, number of posts, and more I can't remember.

[-] ABasilPlant@lemmy.world 25 points 2 months ago* (last edited 2 months ago)

https://www.linuxjournal.com/article/10754

MINIX originally was developed in 1987 by Andrew S. Tanenbaum as a teaching tool for his textbook Operating Systems Design and Implementation. Today, it is a text-oriented operating system with a kernel of less than 6,000 lines of code. MINIX's largest claim to fame is as an example of a microkernel, in which each device driver runs as an isolated user-mode process—a structure that not only increases security but also reliability, because it means a bug in a driver cannot bring down the entire system.

In its heyday during the early 1990s, MINIX was popular among hobbyists and developers because of its inexpensive proprietary license. However, by the time it was licensed under a BSD-style license in 2000, MINIX had been overshadowed by other free-licensed operating systems.

Today, MINIX is best known as a footnote in GNU/Linux history. It inspired Linus Torvalds to develop Linux, and some of his early work was written on MINIX. Probably too, Torvalds' early decision to support the MINIX filesystem is responsible for the Linux kernel's support of almost every filesystem imaginable.

Later, Torvalds and Tanenbaum had a frank e-mail debate about the relative merits of macrokernels (sic) and microkernels. This early history resurfaced in 2004 when Kenneth Brown of the Alexis de Tocqueville Institution prepared a book alleging that Torvalds borrowed code from MINIX—a charge that Tanenbaum, among others, so comprehensively debunked, and the book was never actually published (see Resources).

See also: https://en.wikipedia.org/wiki/Tanenbaum%E2%80%93Torvalds_debate

[-] ABasilPlant@lemmy.world 28 points 3 months ago* (last edited 3 months ago)
1109
[-] ABasilPlant@lemmy.world 138 points 4 months ago

Are you talking about this: I have toyota corola?

946
submitted 4 months ago* (last edited 4 months ago) by ABasilPlant@lemmy.world to c/programmer_humor@programming.dev

via: @memes@wetdry.world

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)

88
submitted 5 months ago by ABasilPlant@lemmy.world to c/linux@lemmy.ml

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.

[-] ABasilPlant@lemmy.world 46 points 5 months ago* (last edited 5 months ago)

No. Fuck this shit. Don't do this.

It's already bad when everyone in this community shoves their distro down potential linux-converts' throats, thereby confusing them even more. Don't tell (or imply to) freshly converted users that they potentially made a wrong choice.

TF do you think they're going to do now? Move to fedora? The commenter above already stated that it was a hassle to install Ubuntu and now you're telling them to change distros already???

Ubuntu is still great... compared to Windows. Sure. It may not hold to your ideals. Compared to other distros, canonical may make some questionable choices. BUT THEY DON'T IMPLEMENT A FUCKING RECALL. So it's fine (for now).

Ubuntu is fine for newcomers. It has a shit ton of support online and you can easily search questions whose answers are likely to be found within the first few results.

So stop shoving distros down people's throats, especially fresh users.

I know you said:

Sorry if I sound too hard... take it with a laugh 😁

It doesn't come across that way. You come off as a gatekeeper.

[-] ABasilPlant@lemmy.world 81 points 5 months ago* (last edited 5 months ago)

You haven't given us much information about the CPU. That is very important when dealing with Machine Check Errors (MCEs).

I've done a bit of work with MCEs and AMD CPUs, so I'll help with understanding what may be going wrong and what you probably can do.

I've done a bit of searching from the microcode & the Dell Wyse thin client that you mentioned. From what I can garner, are you using a Dell Wyse 5060 Thin Client with an AMD steppe Eagle GX-424 [1]? This is my assumption for the rest of this comment.

Machine Check Errors (MCEs) are hard to decipher find out without the right documentation. As far as I can tell from AMD's Data Sheet for the G-Series [2], this CPU belongs to family 16H.

You have two MCEs in your image:

  • CPU Core 0, Bank 4: f600000000070f0f
  • CPU Core 1, Bank 1: b400000001020103

Now, you can attempt to decipher these with a tool I used some time ago, MCE-Ryzen-Decoder [4]; you may note that the name says Ryzen - this tool only decodes MCEs of Ryzen architectures. However, MCE designs may not change much between families, but I wouldn't bank (pun not intended) on it because it seems that the G-Series are an embedded SOC compared to the Ryzen CPUs which are not. I gave it a shot and the tool spit out that you may have an issue in:

$ python3 run.py 04 f600000000070f0f
Bank: Read-As-Zero (RAZ)
Error:  ( 0x7)

$ python3 run.py 01 b400000001020103
Bank: Instruction Fetch Unit (IF)
Error: IC Full Tag Parity Error (TagParity 0x2)

Wouldn't bank (pun intended this time) on it though.

What you can do is to go through the AMD Family 16H's BIOS and Kernel Developer Guide [3] (Section 2.16.1.5 Error Code). From Section 2.16.1.1 Machine Check Registers, it looks like Bank 01 corresponds to the IC (Instruction Cache) and Bank 04 corresponds to the NB (Northbridge). This means that the CPU found issues in the NB in core 0 and the IC in core 1. You can go even further and check what those exact codes decipher to, but I wouldn't put in that much effort - there's not much you can do with that info (maybe the NB, but... too much effort). There are some MSRs that you can read out that correspond to errors of these banks (from Table 86: Registers Commonly Used for Diagnosis), but like I said, there's not much you can do with this info anyway.

Okay, now that the boring part is over (it was fun for me), what can you do? It looks like the CPU is a quad core CPU. I take it to mean that it's 4 cores * 2 SMT threads. If you have access to the linux command line parameters [5], say via GRUB for example, I would try to isolate the two faulty cores we see here: core 0 and core 1. Add isolcpus=0,1 to see the kernel boots. There's a good chance that we see only two CPU cores failing, but others may also be faulty but the errors weren't spit out. It's worth a shot, but it may not work.

Alternatively, you can tell the kernel to disable MCE checks entirely and continue executing; this can be done with the mce=off command line parameter [6] . Beware that this means that you're now willingly running code on a CPU with two cores that have been shown to be faulty (so far). isolcpus will make sure that the kernel doesn't execute any "user" code on those cores unless asked to (via taskset for example)

Apart from this, like others have pointed out, the red dots on the screen aren't a great sign. Maybe you can individually replace defective parts, or maybe you have to buy a new machine entirely. What I told you with this comment is to check whether your CPU still works with 2 SMT threads faulty.

Good luck and I hope you fix your server 🤞.

Edited to add: I have seen MCEs appear due to extremely low/high/fluctuating voltages. As others pointed out, your PSU or other components related to power could be busted.

[1] https://www.dell.com/support/manuals/en-us/wyse-5060-thin-client/5060_wie10_ug/system-specifications?guid=guid-cbeecec5-25ac-4103-8b4b-7d3a975e91f0&lang=en-us

[2] https://www.amd.com/content/dam/amd/en/documents/archived-tech-docs/datasheets/52259_KB_G-Series_Product_Data_Sheet.pdf

[3] https://www.amd.com/content/dam/amd/en/documents/archived-tech-docs/programmer-references/52740_16h_Models_30h-3Fh_BKDG.pdf

[4] https://github.com/DimitriFourny/MCE-Ryzen-Decoder

[5] https://www.kernel.org/doc/html/latest/admin-guide/kernel-parameters.html

[6] https://elixir.bootlin.com/linux/v6.9.2/source/Documentation/arch/x86/x86_64/boot-options.rst

[-] ABasilPlant@lemmy.world 27 points 5 months ago* (last edited 5 months ago)

For those of you still struggling (like me), here's an image:

spoiler

443
submitted 6 months ago* (last edited 6 months ago) by ABasilPlant@lemmy.world to c/science_memes@mander.xyz

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.

275

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.

[-] ABasilPlant@lemmy.world 32 points 6 months ago

Surprised no one's mentioned HTTP Cats yet:

https://http.cat/

Personally, HTTP 405 (Method not allowed) is my favorite:

An image of former US president George Bush eating a cat. The text below the image reads, "405. Method Not Allowed"

[-] ABasilPlant@lemmy.world 35 points 7 months ago

For anyone else who doesn't want to spend 10 seconds trying to imagine it.

[-] ABasilPlant@lemmy.world 27 points 8 months ago

Looks cool and I'm glad something new has arrived after nitter.

A few things, however:

  1. It doesn't look like I can view comments on tweets; I can only view the tweet. (Firefox mobile if that matters)
  2. It's pretty slow. It's not a big problem, but it is very noticeable.
  3. Somewhat irrelevant, but why is it called TWStalker? It's a... bit of a weird name. 'Stalker' makes me feel like I'm doing something illegal even though I definitely am not.
9
submitted 8 months ago by ABasilPlant@lemmy.world to c/firefox@lemmy.ml

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.

[-] ABasilPlant@lemmy.world 24 points 9 months ago

This is real - I took the screenshot myself.

384
191
submitted 11 months ago* (last edited 9 months ago) by ABasilPlant@lemmy.world to c/firefox@lemmy.ml

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 ›

ABasilPlant

joined 1 year ago