ABasilPlant

joined 1 year ago
[–] ABasilPlant 3 points 5 days ago

Huh, I hadn't heard about this idea and a quick search on DDG returned this link: https://www.weforum.org/stories/2022/08/sustainable-data-centre-heating/

Interesting!

[–] ABasilPlant 1 points 2 weeks ago* (last edited 2 weeks ago)

My personal website is made using Hugo, sitting behind Caddy, and hosted on Racknerd. I see elsewhere in the thread that you're looking for something akin to a $5/month VPS, but racknerd is MUCH cheaper for much more vCPU + vRAM (older hardware, but that's not a deal breaker for hosting a static website).

I used to do $6/Month on Digital Ocean for 1 vCPU + 1GB vRAM + 1TB bandwidth, but now I'm somewhere like $3/Month for 2 vCPU + 2.5GB vRAM + 5TB bandwidth [1]. In fact, I paid $6 extra to have the server in France. Otherwise it's $30 a year.

Check out racknerd tracker [2]. I found out about it through lemmy many months ago [3]. The person who made the website gets some affiliate stuff.

[1] https://racknerdtracker.com/?product=211/25gb-kvm-vps

[2] https://racknerdtracker.com/

[3] https://lemmy.world/comment/11855808

[–] ABasilPlant 1 points 2 weeks ago

Can single-branch handle cloning from a particular commit? I know that it's possible to clone particular branches and particular tags with depth=1, but OP states cloning at a particular commit, not HEAD.

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

~~--depth=1? I use this all the time when I clone the kernel.~~

Edit: reread that you wanted to download code at a particular commit.

[–] ABasilPlant 3 points 3 weeks ago

I'm unsure whether your formatting messed up, but you shouldn't have a space between the shebang (#!) and the interpreter path (/bin/bash). Also add a new line before your command:

#!/bin/bash

gnome-terminal -- sh -c gotop

I tried this on my system (with htop instead of gotop) and it worked.

[–] ABasilPlant 2 points 4 weeks ago

Thank you very much!

[–] ABasilPlant 3 points 4 weeks ago (2 children)

Thanks for your answer! Are the prices for these taxis displayed on the outside as you approach them?

 

Hi everyone!

I'm moving to Malmö soon for the first time and I'll be landing at CPH airport. I'll be requiring a taxi from CPH to central Malmö since I will have 3 suitcases. I've looked around and most suggestions are to take the Øresundståg; however, with my large amount of luggage I will have, I cannot take it.

I've also seen that Uber doesn't work in Denmark due to laws.

My question is: are there any reliable & possibly cheap taxi services that I could use.

Many thanks in advance.

[–] ABasilPlant 2 points 1 month ago

https://en.m.wikipedia.org/wiki/File:QR_Code_Structure_Example_3.svg

https://en.m.wikipedia.org/wiki/QR_code

OP is talking about the alternating pattern between the two straw papers. In the SVG from Wikipedia, this corresponds to the "timing"

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

https://lemmy.world/post/21426814

A very relevant AskLemmy question I asked a month ago.

 

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.

84
submitted 2 months ago* (last edited 2 months ago) by ABasilPlant to c/[email protected]
 

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?

 

Season 3 Episode 10: Flu Shot

Felt that this quote from Jack was very relevant in today's world.

 
 

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)

 

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 1 year ago* (last edited 1 year 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 ›