[-] sbeak@sopuli.xyz 13 points 1 week ago

Very insane that we as a species (very very very small) were able to survey the (observable) universe and its structure (very very very big, far bigger than the biggest big we can big of) to such an accurate detail.

[-] sbeak@sopuli.xyz 11 points 1 week ago* (last edited 1 week ago)

Looking at their website, it seems that they will be working with more distros to make sure support is good. Additionally, it's the first device that is "Ubuntu certified"

edit,: Oh, and if you get the pre-built, you can have Ubuntu preinstalled! Not if you get the DIY edition though, interestingly enough. You would think Linux users are more likely to go with the DIY route. (you can also pick no OS preinstalled if you go that route, so I think it's fine)

[-] sbeak@sopuli.xyz 11 points 1 week ago

Also, yooo just checked their website - the new Panther Lake mainboards support the old non-Pro Framework Laptop 13 chassis too, so you can still upgrade your old machine! (and the reverse is true too, if you want of use an older CPU on the new chassis)

[-] sbeak@sopuli.xyz 13 points 2 weeks ago

For your information if you think fluoridation of water is bad:

Fluoride in the water is the opposite of bad, it’s good for your teeth. It’s in toothpaste for a reason! There is no reasonable evidence that fluoride causes any major health problems, in fact, the fluoridation of water is dubbed as one of the largest public health accomplishments in a while. In addition, the fluoride added to water is miniscule, tiny, far far too low in concentration to be toxic. 0.7-1.2 mg / L is the range that most countries that implement water fluoridation add to their water supply. For reference, the WHO recommends 1.5 mg / L as the upper limit. Additionally, in many places, the groundwater has fluoride levels a bit higher than that.It also occurs in plenty of foods naturally too (fruits, seafood, spinach, etc.)

Some more information of fluoride:

https://my.clevelandclinic.org/health/treatments/11195-fluoride

https://www.cdc.gov/oral-health/prevention/about-fluoride.html

https://www.sciencedirect.com/science/article/abs/pii/S000291652334718X

In many countries, particularly in developing nations, fluoridation of water is too expensive (since you need the infrastructure for it), and fluoride toothpastes are preferred instead. But in industrialised countries, where infrastructure for managing the water supply already exists, fluoridation of water is more effective.

Ireland and England both implement the fluoridation of water. In particular, 73% of Ireland’s population drinks fluoridised water

https://ukhsa.blog.gov.uk/2016/04/13/water-fluoridation-what-it-is-and-how-it-helps-dental-health/ (UK) https://pmc.ncbi.nlm.nih.gov/articles/PMC4081215/ (Ireland)

Additionally, so does Canada:

https://www.canada.ca/en/services/health/publications/healthy-living/fluoride-factsheet.html https://www.canada.ca/en/public-health/services/publications/healthy-living/community-water-fluoridation-across-canada.html

Other solutions to provide fluoride have also been pursued, such as in toothpastes (already mentioned), iodized salts, and milk. They each have varying effectiveness depending on the country.

TLDR:

  • Fluoride added to water is too low to pose any significant health problems
  • There are no studies to suggest that the 0.5-1.5 mg / L range that the WHO promotes is dangerous
  • It's not just the U.S., fluoridisation of water is present in Ireland, England, and Canada
  • For the countries that do not pursue adding it to water, fluoridation is done through toothpastes, iodized salts, and milk
  • Different strategies of fluoridation are pursued because some are more effective than others for that given region (e.g. toothpastes are more viable than treatment of water in developing nations)
  • Fluoride is already present in many natural sources (fruits, veg, groundwater, etc.) and is safe in the recommended low concentrations (need to reiterate this!)
[-] sbeak@sopuli.xyz 12 points 3 weeks ago

The Philippines were named after a Spanish king, King Phillip, or Felippe in Spanish. Given that the country was first controlled by the Spanish for ages, then the Americans, I'm guessing that at first the Spanish name for both the people and the territory was used, but when the Americans took over, the English-ified name of the territory was used, while the Spanish name for the people stuck as colonial powers use the name for the territory more often? Perhaps the Filipino diaspora also plays a role in this. I don't know, just my guess.

[-] sbeak@sopuli.xyz 12 points 1 month ago* (last edited 1 month ago)

Today I learned about the existence of "milli" and "kilo", both of which are terminal-based text editors! Quite interesting. I wonder if there are any more SI unit prefix text editors...

[-] sbeak@sopuli.xyz 14 points 2 months ago

Aside from the benefits of open-source, I also find that Godot has a nicer workflow for me, with nodes and signals that make it really easy to make games. I also like that GDScript is very similar to Python (so it's a lot simpler) while also having the option for explicit data types. The code editor is also built into the engine which is nice. The documentation for Godot is also excellent (it truly is really good), not to mention integrated into the engine as well!

58
submitted 2 months ago by sbeak@sopuli.xyz to c/linux@programming.dev

Since moving to EndeavourOS, one weird thing that popped up is that the default KDE wallet (which is needed for a few things, like storing nextcloud login) requires unlocking. I have tried creating a new wallet with the same password as my computer, which worked to auto-unlock the wallet in Fedora, but not in EndeavourOS. Is there something I need to configure to have the default kde wallet to unlock on login?

1
submitted 2 months ago* (last edited 2 months ago) by sbeak@sopuli.xyz to c/nostupidquestions@lemmy.world

Using large instances kind of defeats the points of the fediverse, so I would like to move away from the matrix.org homeserver. What are solid Matrix homeservers that works well? Preferably ones hosted in Europe rather than the U.S. for lower latency.

My little laptop server is already full of other stuff and is slightly struggling hosting a bunch of other stuff (Nextcloud, Immich, Minecraft server), and I only have it exposed to my local network (since I doubt my ability to securely selfhost something exposed to the internet and don't have the time to deal with DDoS, bots, crawlers, etc) so am not looking to self host my own Matrix instance.

edit: I have decided to go with matrix.glasgow.social

34
submitted 2 months ago* (last edited 2 months ago) by sbeak@sopuli.xyz to c/asklemmy@lemmy.world

Everybody knows about the backstory, there was a civil war, KMT fled to Taiwan creating two Chinas sort of, maybe, neither recognises the other, whole thing. ROC (Taiwan) ended up transitioning from military rule to a multi-party democracy, while the PRC (mainland China) didn't do that (they did reform economically, "socialism with Chinese characteristics" and all that, but still a one-party state, not a multi-party democracy). The status quo right now is that Taiwan is in the grey area of statehood where they function pretty much independently but aren't properly recognised, and both sides of the strait are feeling pretty tense right now.

Taiwan's stance on the issue is that they would like to remain politically and economically independent of mainland China, retaining their multi-party democracy, political connections to its allies, economic trade connections, etc. Also, a majority of the people in Taiwan do not support reunification with China.

China's stance on the issue is that Taiwan should be reunified with the mainland at all costs, ideally peacefully, but war is not ruled out. They argue that Taiwan was unfairly separated from the mainland by imperial powers in their "century of humiliation". Strategically, taking Taiwan would be beneficial to China as they would have better control of the sea.

Is it even possible for both sides to agree to a peaceful solution? Personally, I can only see two ways this could go about that has the consent of both parties. One, a reformist leader takes power in the mainland and gives up on Taiwan, and the two exist as separate independent nations. Or two, the mainland gets a super-reformist leader that transitions the mainland to a multi-party democracy, and maybe then reunification could be on the table, with Taiwan keeping an autonomous status given the large cultural difference (similar to Hong Kong or Macau's current status). Both options are, unfortunately, very unlikely to occur in the near future.

A third option (?) would be a pseudo-unification, where Taiwan becomes a recognised country, but there can be free movement of people between the mainland and Taiwan, free trade, that sort of stuff (sort of like the EU? Maybe?). Not sure if the PRC would accept that.

What are your thoughts on a peaceful solution to the crisis that both sides could agree on?

edit: Damn there are crazies in both ends of the arguments. I really don't think giving Taiwan nukes would help solve the problem.

I think the current best solution, looking at the more reasonable and realistic comments, seems to be to maintain the status quo, at least until both sides of the strait are able to come into some sort of agreement (which seems to be worlds away right now given their current very opposing stances on the issue)

14
submitted 2 months ago* (last edited 1 month ago) by sbeak@sopuli.xyz to c/linux@programming.dev

edit: I have gotten used to simply enabling the shuffle and adding my songs when I start up rmpc. Interestingly enough, when you press play with randomise on, it selects a random song just like that! Much faster compared to selecting the first song before enabling randomise, then using the hotkey for going to the next track to get a random song.

Having the speakers muted by default means loud music won't be broadcasted to everyone when my headphones disconnect, and that works well enough for me given that I don't regularly use my laptop speakers anyways.

original post:

I love MPD and RMPC, it's probably the closest I have gotten to a "perfect" music player, it is super customisable and functional, but there are just a few things that I need to figure out how to change.

First, after each restart, the queue is cleared. How do I make sure that the queue by default is all the songs in my music directory?

Second, after each restart, shuffle (randomise) is reset to off, how do I change it so that shuffle is enabled by default?

Thirdly, is there a way to make MPD pause when headphones are disconnected?

Finally, how do I make MPD block screen lock when music is playing?

For your information, I am running EndeavourOS with KDE Plasma

54
submitted 2 months ago* (last edited 2 months ago) by sbeak@sopuli.xyz to c/linux@programming.dev

My main requirement is that I am using Syncthing to sync my notes from my Android phone, which uses Quillpad. Quillpad is amazing and looks super nice, and functional too, but all the notes are in one big folder rather than being subdivided by notebook. So I require a markdown editor that can create "notebooks" but don't change the folder structure of the notes (I tested putting notes in subfolders, and quillpad thought the notes were deleted. Silly Quillpad!)

So the notebooks/similar organisation of notes needs to be specific to the app and should not change the folder structure. I would prefer if the app is open-source too, and something that fits with my desktop (KDE Plasma) would be cool too :D

~~This rules out Obsidian (which puts notes in a folder structure. Obsidian is great, but won't sync well with Quillpad)~~, Joplin won't work either. Ghostwriter is pretty much a markdown notepad (quite good, but can't see all my notes in one place)

I am using EndeavourOS with KDE Plasma

edit: To clarify, I want a markdown editor that is able to separate notes into different groups without using folders as Quillpad doesn't like folders. I also need to have a way to view all the notes at once in each group

Using a code editor VSCodium wouldn't really work as there isn't really a way to organise notes, aside from putting them in folders (which I don't want), and I am not yet ready to jump into the Vim rabbit hole of plugins and configuration

edit 2: Markdown editor to note organiser to satisfy the pedant

edit 3: Looks like Obsidian has tags, so I could use those to organise notes without folders. I will try that and see if it works!

edit 4: Obsidian does have tags, but it seems like you sort by tags by typing tag:#NAME, and you can't use spaces for tags. So not Obsidian then unfortunately. Are there any other options that have a larger focus on tags or similar?

2
submitted 2 months ago* (last edited 2 months ago) by sbeak@sopuli.xyz to c/asklemmy@lemmy.world

This would be great if you wanted to talk to yourself without anyone understanding what you're saying, for example, or if you didn't want anybody to know what you were writing down. It might also be useful if you enjoy lots of foreign language media (see music, tv shows, movies) and want to experience the "original" rather than through dubs and subs.

Personally, I would go for either Russian, German, or Estonian, all three of which are because I frequently listen to lots of music that are in those languages

24
submitted 2 months ago* (last edited 2 months ago) by sbeak@sopuli.xyz to c/linux@programming.dev

edit 2: Found a video by "SpaceRex" on the differences between BTRFS and EXT4, super helpful! He explained it quite well...

edit: It seems that there isn't much difference between btrfs and ext4 aside from additional features of btrfs, which although I might not need right now, there doesn't seem to be any harm in using btrfs over ext4, so I will be using btrfs.

Which would be better? Fedora shipped with btrfs, does it have any additional features that are good (quick search shows compression, subvolumes, and snapshots as main selling points for btrfs, but are there any downsides?

13
submitted 2 months ago* (last edited 2 months ago) by sbeak@sopuli.xyz to c/linux@programming.dev

update: Using the tar command, I have created a tar archive that respects symlinks, so there aren't any duplicated files, hooray! Now I will go install EndeavourOS, wish me luck!

I was told that I might be able to get help in a dedicated community. I am using rsync to backup my home directory to an external SSD (I will rsync the other way later, this is because I will be reinstalling to a different distro). My laptop uses btrfs while the SSD uses exFAT. When sending files over, file sizes are WAY bigger, the home directory is around 385 GiB and there is over 700 GiB of free space, but it was unable to fit midway through transfer. I partially solved this by uninstalling problematic programs, like Steam and Kdenlive (which can be reinstalled later) and removing large files that I didn't need. Some of the bulk is also due to fit repos it seems (someone said those have loads of links or something?)

The external SSD has files already on it that isn't part of the home directory backup for distro hopping, and it will be used by Windows users (my family) so I can't reformat it. I might buy another external SSD for this purpose if using exFAT to backup is a real problem.

Now that I have successfully transferred my home directory with barely any space to spare, I have a few additional questions:

Once I reinstall and distrohop, will the symlinks come back when going from exFAT to BTRFS or are they gone forever and I'm stuck with massive files?

Will there be any additonal incompatibilities when copying the home directory from exFAT to BTRFS?

Is it safe to use an exFAT drive as a backup for the home directory, or is it better for me to wait until I can get an external SSD that I can reformat to be btrfs?

cross-posted from: https://sopuli.xyz/post/41202990

update: I was able to copy it! There are still some folders that are really big (as many have said, it is probably because symlinks aren't supported in exFAT. When I transfer these files over to btrfs, will the symlinks come back or are they permanently gone?) but, with the uninstallation of Steam and Kdenlive (each taking a ridiculous amount of storage), removing a couple games I don't really play, and removing old folders that lingered around from already uninstalled programs means I now have enough space to fit my home folder in the SSD (like 23 GiB left, so the lack of symlinks still hurts, but still, it fits!)

When running

rsync -Paz /home/sbird "/run/media/sbird/My Passport/sbird"

As told by someone, I run into a ran out of storage error midway. Why is this? My disk usage is about 385 GiB for my home folder, and there is around 780 GiB of space in the external SSD (which already has stuff like photos and documents). Does rsync make doubly copies of it or something? That would be kind of silly. Or is it some other issue?

Note that the SSD is from a reputable brand (Western Digital) so it is unlikely that it is reporting a fake amount of storage.

EDIT: Wait, is it because my laptop SSD is BTRFS and the external SSD is exFAT? Could that be the issue? That would be kind of weird, why would files become so much more bigger with the external SSD?

2
submitted 2 months ago* (last edited 2 months ago) by sbeak@sopuli.xyz to c/nostupidquestions@lemmy.world

update 2: The Linux community has suggested that I use a tar file to backup, as this preserves symlinks. With that, the home directory now takes up just 290 ish GiB, as it should. Now I will be distro hopping, wish me luck!

update: I was able to copy it! There are still some folders that are really big (as many have said, it is probably because symlinks aren't supported in exFAT. When I transfer these files over to btrfs, will the symlinks come back or are they permanently gone?) but, with the uninstallation of Steam and Kdenlive (each taking a ridiculous amount of storage), removing a couple games I don't really play, and removing old folders that lingered around from already uninstalled programs means I now have enough space to fit my home folder in the SSD (like 23 GiB left, so the lack of symlinks still hurts, but still, it fits!)

When running

rsync -Paz /home/sbird "/run/media/sbird/My Passport/sbird"

As told by someone, I run into a ran out of storage error midway. Why is this? My disk usage is about 385 GiB for my home folder, and there is around 780 GiB of space in the external SSD (which already has stuff like photos and documents). Does rsync make doubly copies of it or something? That would be kind of silly. Or is it some other issue?

Note that the SSD is from a reputable brand (Western Digital) so it is unlikely that it is reporting a fake amount of storage.

EDIT: Wait, is it because my laptop SSD is BTRFS and the external SSD is exFAT? Could that be the issue? That would be kind of weird, why would files become so much more bigger with the external SSD?

Thanks everyone for your help to troubleshoot! It was super helpful! Now I need to go to bed, since I've been up so late it's already tomorrow!

10
submitted 2 months ago* (last edited 2 months ago) by sbeak@sopuli.xyz to c/nostupidquestions@lemmy.world

I would like to distro hop to EndeavourOS, and it has been suggested that I use rclone to copy my home folder to an external SSD. Unfortunately, I don't have an external SSD at the moment, but I do have a phone that has plenty of free space. Is it a good idea to back up my computer files to an Android phone? My gut says it's not a very good idea, but I'm not sure why.

39
submitted 2 months ago* (last edited 2 months ago) by sbeak@sopuli.xyz to c/linux@programming.dev

Hello everyone, does anyone know of a batch resizing tool on Linux that can resize loads of images all at once while keeping all the images the same aspect ratio as before? I would like to make all my images in a game have either a width of at least 128 px or height of 192 px (e.g. an image that is 700x875 would resize down to 154x192px, so that width is > 128 px and height = 192 px. I think for most of the images resizing based on height will work, but you never know!)

edit: I have used a for loop that cds into each directory, uses imagemagick to resize all of them to fill/overflow area 128x192 with ^ tag and using morgify to modify in place, then cd back to the parent directory! Thanks everyone

17
submitted 2 months ago* (last edited 2 months ago) by sbeak@sopuli.xyz to c/programmer_humor@programming.dev

Here are some bad puns that are to do with data types. I'm sorry. Comment down some of your own concoctions!

  1. What does a programmer say when they is accused of lying? I promise I'm not boolean you!

explanation of the puns"Fooling" sounds very similar to "boolean", the latter being a data type commonly used when programming. Yes I will be explaining each and every pun. Yes, these puns are not very good at all, I'm not a professional comedian.

The one in the title is a play on words, as "Charlotte's Web" is a book that can be represented using a series of strings, a data type commonly used for storing words and letters, while a literal web is made of strings of silk.

  1. You try to pay with $100 of Monopoly money. in a supermarket. The cashier tells you that it's unfortunately not real.

explanation of the punMonopoly money does not have cents and is made of whole numbers, so it is an integer value, not of the "real" data type!

  1. What would you call fuel made of alphabet soup? CHARcoal!

explanation of punThe data type char stores characters, like the letters of the alphabet. This is a play on words with the word "charcoal", a common fuel used in barbeques and such.

  1. How do Japanese programmers read arrays? By decrementing from -1!

explanation of punMany Japanese texts read from right to left rather than left to right. Reading an array in reverse other would start at -1, getting the last item in the array, and the index would decrease from there. This is in contrast to the non-reverse order of increasing the index 0/1. (Of course, Japanese programmers don't actually read arrays like this usually)

not related to data types, but just came up with it as I was typing this:

f. What did the Python user say to the C++ user when they spilled coffee on their laptop? OOPs!

explanation of the punPython uses object oriented programming, or OOP

[-] sbeak@sopuli.xyz 12 points 4 months ago

I am assuming because a) Japanese, as the other person said and b) Gundam is where robots in the future fight bad guys, right? So the invasive chestnut species is the bad guy, therefore Gundam

Also maybe Gundam has time travel, idk. I haven't watched it so I'm pulling this from thin air. I just know Gundam has cool fighting robots

[-] sbeak@sopuli.xyz 12 points 8 months ago* (last edited 8 months ago)

There’s also superpain, but I don’t think many would want that…

[-] sbeak@sopuli.xyz 12 points 8 months ago

oh god, win12 is going to be even worse

[-] sbeak@sopuli.xyz 10 points 8 months ago

I’m pretty sure Pluto doesn’t orbit a planet, so it’s not a moon. And the Moon, not only is it named a moon, but also orbits a planet, so therefore is a moon. One is a moon and the other is not a moon. Moon, not moon.

[-] sbeak@sopuli.xyz 12 points 10 months ago

they have an e/os version I think

view more: ‹ prev next ›

sbeak

joined 10 months ago