Lodra

joined 1 year ago
[–] Lodra@programming.dev 4 points 2 months ago (1 children)

If you'd like to learn more about Haptic, why it's being built, what its goals are and how it differs from all the other markdown editors out there, you can read more about it here.

As others have noted, the app doesn’t work on mobile yet. Anybody willing to share the content here for mobile users?

[–] Lodra@programming.dev 1 points 2 months ago (1 children)

That basic idea is roughly how compression works in general. Think zip, tar, etc. files. Identify snippets of highly used byte sequences and create a “map of where each sequence is used. These methods work great on simple types of data like text files where there’s a lot of repetition. Photos have a lot more randomness and tend not to compress as well. At least not so simply.

You could apply the same methods to multiple image files but I think you’ll run into the same challenge. They won’t compress very well. So you’d have to come up with a more nuanced strategy. It’s a fascinating idea that’s worth exploring. But you’re definitely in the realm of advanced algorithms, file formats, and storage devices.

That’s apparently my long response for “the other responses are right”

[–] Lodra@programming.dev 73 points 3 months ago (3 children)

I like that Meta is fined for this bad practice. But why are they paying the state? How does this help anyone that was actually victim of the facial recognition?

I can see an argument based on how state funds help state residents. But it still doesn’t really feel right to me.

A real tangential thought: What if fines claimed by the state didn’t increase the states fund? What if those funds reduced the tax burden of residents from the bottom up?

[–] Lodra@programming.dev 3 points 4 months ago (5 children)

Have you tried The First Descendant yet? It’s pretty rough with load times and beats the cap out a graphics card. Is that considered AAA?

[–] Lodra@programming.dev 1 points 4 months ago* (last edited 4 months ago)

lol thanks for the answer. This is the really relevant bit isn’t it? My Linux machines have also never died this badly before. But I’ve seen windows do it a number of times before this whole fiasco.

[–] Lodra@programming.dev 15 points 4 months ago* (last edited 4 months ago) (1 children)

This is funny timing for me. I mentioned something related to my wife yesterday. When I was a kid, my perception of other countries was completely ridiculous. Low tech, uncivilized, impoverished, etc. compared to the USA. It took way too long for me to achieve a more realistic perspective of foreign countries at large. I’m not sure who to blame for this but the they surely belong to the previous generation or two.

[–] Lodra@programming.dev 1 points 4 months ago* (last edited 4 months ago) (3 children)

What’s the user experience like there? Are you prompted to do it if the system fails to boot “happily”?

[–] Lodra@programming.dev 2 points 4 months ago (5 children)

I’m familiar enough with Linux but never used an immutable distro. I recognize the technical difference between what you describe and “go delete a specific file in safe mode”. But how about the more generic statement? Is this much different from “boot in a special way and go fix the problem”? Is any easier or more difficult than what people had to do on windows?

[–] Lodra@programming.dev 9 points 4 months ago

Ya this is definitely one to maintain some skepticism about. People are criticizing the API’s security in other posts.

[–] Lodra@programming.dev 7 points 4 months ago (1 children)

The EU is a large enough governing body to have a significant global impact. And I truly appreciate the progress it makes on important subjects.

However, it’s still not effective enough. Apple doesn’t allow third party app stores in countries outside the EU.

[–] Lodra@programming.dev 0 points 4 months ago

Exactly. There is a general need to destroy and rebuild a system but it is often dangerous and costly. Especially with regard to a system of laws and government. Improving the system more naturally is far more safe and more achievable at smaller scales.

[–] Lodra@programming.dev 11 points 4 months ago

Wow. I 100% agree with you here.

There’s an element of trust when you buy a product. You trust that the product itself isn’t malicious and is intended to help you in some way. E.g. “This food is safely prepared and won’t poison me.” Harvesting user data and advertising really violate that trust.

Though it is worth noting that we don’t buy web browsers. We simply use them for “free“.

 

I made some changes to disk partitions. Now I'm seeing an issue with mounts. It's not a big problem but it's definitely confusing me.

[alex@rog-g15dk dev]$ sudo mount /home-temp
mount: /home-temp: can't find in /etc/fstab.
[alex@rog-g15dk dev]$ cat /etc/fstab
New                                         Partition    /home-temp   defaults            0 0 # /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
#
#                      
UUID=5E74-A00E                              /efi         vfat         noatime             0 2 
UUID=53a2c9bc-31dd-4e52-902f-633867253481   /            ext4         noatime             0 1 
tmpfs                                       /tmp         tmpfs        noatime,mode=1777   0 0 
/dev/nvme0n1p2                              /home        ext4         noatime             0 2 
/dev/nvme0n1p3                              /steam       ext4         noatime             0 2

Can anyone explain what 'mount -a' is trying to mount?

Here's the context on the changes I made. My desktop used to run windows. I recently installed linux as well (dual boot). A bit later I destroyed the windows partitions. This left the beginning 2/3 of the disk unused.

Today I decided to reclaim that disk space. I created 2 new partitions, copied some data to them, updated fstab accordingly, rebooted, and grew the steam partition to 700GiB. That process had a couple of small bumps, including a partition that was mounted to '/home-temp'. I destroyed that partition before using it all.

So this error is definitely caused by me. That's fine. I'm just trying to understand what's going on and how to clean up the little mess.

view more: next ›