[-] [email protected] 2 points 4 days ago

Well, I funnily enough also agree with you, having just one widely used browser engine for all platforms sounds great in theory... (Until someone decides to not let you block advertisement anymore...;-))

Docker is one of the reasons I use Linux and for all practical purposes nearly all open source software is developed for Linux and later ported to the BSDs (if one is lucky) - so, again, I am also using Linux because it runs what I need to run.

I simply would love to have some practical and relevant options for OSS operating systems. I fully understand that this is not going to happen and Linux won.

Anyway, have a good day!

[-] [email protected] 2 points 5 days ago

According to your logic we should all use Google Chrome. ;-)

Comparing Linux with the BSDs is really apples and oranges. The BSDs have a very nicely integrated base system, everything just works(TM) and everything works together. When you only ever used Linux or Apple with homebrew, you never experienced a system where all basic tools really fit and work together.

Linux is a pragmatic choice, but it is an Unix-clone made by PC people. The BSDs are a Unix operating system for PCs made by Unix people. We loose something very important if the BSDs get totally out of style/forgotten.

[-] [email protected] 1 points 5 days ago

I would be happy if something usable comes out of it. OTOH, the classical problem is and has always been driver support. I am not sure I like the plan of running a complete Linux as a subsystem for driver support, and I have doubts Redox will have native drivers for all hardware within the next decade.

[-] [email protected] 6 points 5 days ago

Sad story. Best OS I ever run was around 2002 NetBSD on a desktop. It is quite bad that Linux is the only viable player for an operating system on desktops/laptops. (With viable I mean has drivers for all of my my hardware and runs the software I need for personal and professional life.)

66
submitted 1 month ago* (last edited 1 month ago) by [email protected] to c/[email protected]

I posted about ZRAM before, but because of my totally unscientific experiment, personal experience and the common question, which Linux to run on potatoes...

First, I tweaked ZRAM for my use-case(s) on my hardware, this settings might not be right for your use-cases or your hardware!

My hardware is a netbook with an Intel Celeron N4120 and 4G RAM (3.64G usable).

When I recently played around with ZRAM settings, it felt like the zstd algorithm made my netbook noticeable more sluggish. It never felt sluggish with lzo-rle or lz4.

In a totally unscientific way, I rebooted the computer several times (after a complete update of everything), executed my backup script several times, and measured the last 3 executions. (Didn't touch the netbook during the runs.) The bottleneck of the backup script should not be ZRAM, but it is some reproducible workload that I could execute and measure.

To my surprise, I could measure a performance difference for my backup scripts, lz4 was consistent fastest in real and sys time w/o tweaks to vm.page-cluster!

Changing the vm.page-cluster to 0 further enhanced the speed for lz4, but with this one toggle, all of a sudden zstd is as fast as lz4 in my benchmark and runs with a more consistent runtime.

Changing the vm.swapiness to 180 decreased the speed for lz4, to my surprise.

Obviously the benchmarks are not 100% clean, although the trend for my workload was clearly in favor of lz4/zstd.

To the best of my knowledge, I ended up with nearly the same tweaks that Google makes for ChromeOS:

  • zstd as algorithm (I think ChromeOS uses lzo-rle)

  • 2*ram as ram-size

  • vm.page-cluster = 0

  • Install/enable systemd-oomd

vm.page-cluster = 0 seems like a no-brainer when using ZRAM, on my netbook it is literally the switch for 'fast' mode.

In summary: ZRAM makes my netbook totally usable for everyday tasks, and with tweaking the above settings I run Gnome 3, VS Code and Firefox/Evolution w/o trouble. (Of course, Xfce4 on the same machine is still noticeable more performant.)

I wonder if we should recommend to people asking for a lightweight distribution for potatoes to check/tweak their ZRAM settings by default.

Anyway, I would be interested in experiences from other people:

  1. Any other tweaks on my ZRAM or sysctl for potatoes which made a measurable difference for you?
  2. Any other tips to improve quality of life on potatoe machines? (Besides switching to KDE, LXDE, Xfce, etc. ;-))
  3. Any idea why vm.swapiness didn't improve my measurements? To my understanding it should basically have cached more of my files in ZRAM, making the backup run faster. It even slowed the backup down, which I don't understand.

Edit:

  • zstd beats lz4 on my machine for my benchmark when vm.page-cluster=0!
192
submitted 2 months ago* (last edited 2 months ago) by [email protected] to c/[email protected]

... I mean, WTF. Mozilla, you had one job ...

Edit:

Just to add a few remarks from the discussions below:

  1. As long as Firefox is sponsored by 'we are not a monopoly' Google, they can provide good things for users. Once advertisement becomes a real revenue stream for Mozilla, the Enshittification will start.
  2. For me it is crossing the line when your browser is spying on you and if 'we' accept it, Mozilla will walk down this path.
  3. This will only be an additional data point for companies spying on you, it will replace none of the existing methodologies. Learn about fingerprinting for example
  4. Mozilla needs to make money/find a business model, agreed. Selling you out to advertisement companies cannot be it.
  5. This is a very transparent attempt of Mozilla to be the man in the middle selling ads, despite the story they tell. At that point I can just use Chrome, Edge or Safari, at least Google has expertise and the money to protect my data and sadly Chrome is the most compatible browser (no fault of Mozilla/Firefox of course).
  6. Mozilla massively acts against the interests of their little remaining user base, which is another dumb move made by a leadership team earning millions while kicking out developers and makes me wonder what will be next.
40
How I manage my KDE email (pointieststick.com)
submitted 2 months ago by [email protected] to c/[email protected]

Interesting workflow.

Of course the fact that Nate uses Thunderbird instead of KMail explains a lot. One day I hope KMail/Akonadi get the attention/work they need to become viable options.

31
How I manage my KDE email (pointieststick.com)
submitted 2 months ago by [email protected] to c/[email protected]

Interesting workflow.

Of course the fact that Nate uses Thunderbird instead of KMail explains a lot. One day I hope KMail/Akonadi get the attention/work they need to become viable options.

37
Leap Micro 6.0 reaches Beta (news.opensuse.org)
submitted 2 months ago by [email protected] to c/[email protected]

Interesting times ahead! I am really looking forward to the Leap Micro release and hope it advances the state of the art. :-)

31
submitted 3 months ago* (last edited 3 months ago) by [email protected] to c/[email protected]

Solved: The files are encrypted, see stackoverflow

Hope it is ok to ask technical questions in this channel!

I found a folder of files on one of my back drives which was copied from a very old Sony Ericson cell phone or a SAMSUNG Galaxy S2.

The folder is called DCIM and in a sub folder called Camera there are files with a .jpg extension.

This files are not standard JPG files. They start with the following header:

0000000 0000 0000 3900 c0d8 ac5f d196 2d63 2421
0000010 0003 0200 0000 0010 0200 2d8c 0904 0103
0000020 0000 0000 0000 0000 e960 2861 7025 ba0e
0000030 2424 dcfa 3e3b ee64 0800 c87b a43a a90d
0000040 7287 b815 7ca4 9680 ed65 6216 5f08 4f43
0000050 534e 4c4f 0045 0000 9000 b3e9 1333 92b9
0000060 0002 0000 0000 0000 0000 0000 0000 0000
0000070 0000 0000 0000 0000 0000 0000 0000 0000

And the last bytes look like this:

039fea0 60ff 01fa 6b1e 8ef5 7c6f e69f fd9e 1589
039fef0 2199 dbd9 13fe 337d 2e9f d862 e252 080d

(obtained via hexdump -n 1024 filename.jpg).

The file command just returns 'data'.

The jpgrecovery command simply does not process this files.

The strings command finds an embedded string "_CONSOLE" !

If I open the file in a file viewer (shotwell, GIMP, Firefox, Google Chrome), I get the error that the file starts with 0 0, which is correct, as seen in the above hexdump.

Using identify from the imagemagick package results in:

20140207_142030.jpg JPG 0x0 16-bit sRGB 3.625MiB 0.000u 0:00.002
identify-im6.q16: Not a JPEG file: starts with 0x00 0x00 `20140207_142030.jpg' @ error/jpeg.c/JPEGErrorHandler/338.

All this commands were executed on Debian 12.

I have hundreds of files with this JPG extension and for each file the header is starting with 0 0 in this folder, so I assume the problem is not corruption of one file.

My questions:

  1. What kind of file format is this?
  2. How can I convert the files to JPGs?

Edit: Added the output of some suggested data/commands to questions Edit: Mark as solved, thanks to @hades@[email protected] .

Thanks a lot to everyone helping to figure this out/pointing me in the right direction! <3

27
submitted 3 months ago* (last edited 3 months ago) by [email protected] to c/[email protected]

Solution: Indeed it was EncFs file level encryption.

Thanks a lot for everyone helping!

Original post below:

Hope it is ok to ask technical questions in this channel!

I found a folder of files on one of my back drives which was copied from a very old cell phone or a SAMSUNG Galaxy S2.

The folder is called DCIM and in a sub folder called Camera there are files with a .jpg extension.

This files are not standard JPG files. They start with the following header:

0000000 0000 0000 3900 c0d8 ac5f d196 2d63 2421
0000010 0003 0200 0000 0010 0200 2d8c 0904 0103
0000020 0000 0000 0000 0000 e960 2861 7025 ba0e
0000030 2424 dcfa 3e3b ee64 0800 c87b a43a a90d
0000040 7287 b815 7ca4 9680 ed65 6216 5f08 4f43
0000050 534e 4c4f 0045 0000 9000 b3e9 1333 92b9
0000060 0002 0000 0000 0000 0000 0000 0000 0000
0000070 0000 0000 0000 0000 0000 0000 0000 0000

(obtained via hexdump -n 1024 filename.jpg).

The file command just returns 'data'. The jpgrecovery command simply does not process this files. If I open the file in a file viewer (shotwell), I get the error that the file starts with 0 0, which is correct, as seen in the above hexdump.

All this commands were executed on Debian 12.

I have hundreds of files with this JPG extension and for each file the header isstarting with 0 0 in this folder, so I assume the problem is not corruption of one file.

My questions:

  1. What kind of file format is this?
  2. How can I convert the files to JPGs?
0
submitted 4 months ago by [email protected] to c/[email protected]

For years now, I do not buy/create assemble a new computer, because I am totally overwhelmed by the options available to me.

If we agree there is 'The Paradox of Choice', it seems to make sense to have a much more limited choice between CPU models from a consumer point of view. For example, have for each year an entry, business and a pro model, add extreme for gamer and have each of these models have a version with a beefy integrated CPU.

But it seems also a good idea for the manufacturers: They have to design, test and build each of their models, create advertisement etc., like configuring their assembly lines alone costs money. Further, compilers have to generate code for a specific architecture, which means that all my software I didn't compile myself ends up using an instruction set of the lowest common CPU, not utilizing whatever I bought fully.

Apple (not a fan ;-)) shows IMHO how it is done with their Apple Silicon: Basically even I understand which CPU choice would be the right one for me. The Steam Deck is IMHO another success story: As reference hardware I know easily if I can play a game, and it is easy to know if my hardware is faster than a Steam Deck. Compare that to games with hardware requirements like 'AMD TI 5800 8GB RAM' (made up model) which makes my life miserable.

What I am looking for is fact based knowledge:

  • Why does it make (commercial) sense for AMD/Intel to create so many models?
  • What are their incentives?
  • What would happen, if they would reduce the amount of different CPUs they offer? (Is there historical knowledge?)
[-] [email protected] 42 points 5 months ago

I have an idea in which federal state Microsoft Germany headquarters will move next...

23
submitted 5 months ago by [email protected] to c/[email protected]

What are CPU designs which are not fetch/store but operate directly on RAM?

I only know about the design of the Nintendo Entertainment System (NES), where the CPU does not have registers (AFAIK) and operates directly on RAM, with fast access to low addresses in the RAM.

What CPUs/Systems do you know, which also do not do fetch/store for their operands? Which systems are out there? Why do CPUs like RISC/Arm/AMD64 use fetch/store, what are the tradeoffs? Are there different architectures for CPUs working on operands outside of fetch/store, DMA and stack machines?

14
submitted 6 months ago by [email protected] to c/[email protected]

By posting another question here I realized, that I really enjoy games which are 'short' (Play start to finish in around one hour) and have lots of replay value.

My favorites are Street Fighter 2, Contra (NES), Slay the Spire, Guilty Gears, etc.

Any recommendations? I am looking especially for games that are hard but fair and have super tight controls (like Contra)

39
submitted 6 months ago by [email protected] to c/[email protected]

Inspired by a similar question on reddit:

What games do you replay regularly/annually? (No shame if you skipped a year or two.) I am especially interested in 'comfort' games.

Only rule is, you should have played the game for the first time at least 5 years back.

My list:

  • Street Fighter 2 in all variations/on all platforms I have access two. I guess I have been playing it regularly for more than 25 years by now. No Street Fighter after the Alpha/3rd Strike ever captured me like this.

  • Contra / NES This one I play regularly for more than 30 years (at least), to this day my favorite action game and the ultimate benchmark (I played all NES/SNES/Genesis Contras and Operation Galuga, nothing comes close.)

  • Slay the Spire: Hits 5 years of being released, I played since the early access and wasted too much time on this, still fun and perfect on smartphones

  • Doom I/II: I cannot tell you what it is, there are obviously better FPS than Doom I/II, but sometimes, if I just want to blow some steam, Doom is the only thing that delivers. (I think I never played trough all episodes of either Doom I or Doom II

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

Contra is back. A real, honest, bitching 2D Contra.

Played the demo multiple times and it really gets the 'Contra' right, one of my main griefs with wannabe Contra clones.

Already a personal game of the year contender for me!

[-] [email protected] 46 points 7 months ago* (last edited 7 months ago)

Seriously, unless you are extremely specialized and know exactly what you are doing, IMHO the answer is: Always (and even being extremely specialized, I would still enable a firewall. :-P)

Operating systems nowadays are extremely complex with a lot of moving parts. There are security relevant bugs in your network stack and in all applications that you are running. There might be open ports on your computer you did not even think about, and unless you are monitoring 24/7 your local open ports, you don't know what is open.

First of all, you can never trust other devices on a network. There is no way to know, if they are compromised. You can also never trust the software running on your own computer - just look at CVEs, even without malicious intentions your software is not secure and never will be.

As soon as you are part of a network, your computer is exposed, doesn't matter if desktop/laptop, and especially for attacking Linux there is a lot of drive by attacks happening 24/7.

Your needs for firewalls mostly depend on your threat model, but just disabling accepting incoming requests is trivial and increases your security by a great margin. Further, setting a rate limit for failed connection attempts for open ports like SSH if you use this services, is another big improvement for security. (... and of course disabling password authentication, YADA YADA)

That said, obviously security has to be seen in context, the only snake oil that I know of are virus scanners, but that's another story.

People, which claim you don't need a firewall make at least one of the following wrong assumptions:

  • Your software is secure - demonstrably wrong, as proven by CVEs
  • You know exactly what is running/reachable on your computer - this might be correct for very small specialized embedded systems, even for them one still must always assume security relevant bugs in software/hardware/drivers

Security is a game, and no usable system can be absolutely secure. With firewalls, you can (hopefully) increase the price for successful attacks, and that is important.

[-] [email protected] 30 points 9 months ago

In my personal life, I run Linux on all my devices and I would never invest in non-opensource technology for my career. (Work forces me to run macOS, but that's another story).

For years now, I happily and only buy games on Steam, even if I have the choice between Steam and NoDRM. Simply because Steam just works(TM) and is convenient. (Of course one never buys games on steam with a forced additional starter from Ubisoft etc.).

Steam is really great from a technically POV, from a giving back to the community point and from a customer friendliness point (never had a problem with a return).

I even bought a SteamDeck although I am no big fan of handhelds, and for what it is, it is great.

I'll happily waste more money on my Steam backlog of shame. ;-)

[-] [email protected] 34 points 10 months ago* (last edited 10 months ago)

First, Fedora is not Red Hat but their own community. (Although heavily sponsored by Red Hat) Second, Red Hat is FOSS.

The ones hostile to FOSS are all the freeloading companies, which used the work of Red Hat to increase their own profit, w/o contributing anything back.

If it is so easy, cheap and so much fun to support a stable Distribution for 10 years with backports for security vulnerabilities and drivers, I am very surprised that we don't have hundreads of community distributions which do this.

Finally, over the years Red Hat contributed a load of the things we take for granted now.

(Writing this as a happy Debian user. I am just tired of reading this kind of bullshit again and again and again.)

[-] [email protected] 71 points 10 months ago* (last edited 10 months ago)

Is a lobotomy needed to become a lobbyist?

1.) Article claims w/o any kind of source/data, that people cannot afford subscriptions 2.) Article warns that the big services have to raise their prices soon, because of losses made by piracy, which according to 1.) is caused by people not having enough money for the subscriptions

The article doesn't mention the shareholders, which get billions of wins by milking the subscribers stupid enough to sign up for the bullshit. ... oh, but the article mentions the poor artists/working people, which loose money because of online piracy. I almost forgot about the recent strikes, because the people actually producing the content don't get shit from the companies/shareholders.

Seriously, I'll cancel my last subscription right now, because I am feed up giving my money to shareholders, companies and lobbies who buy politicians and laws.

[-] [email protected] 36 points 11 months ago

X-COM (from the 90's, not the remake):

I totally sucked at playing X-COM and died a lot, until I learned about real world squad tactics.

In X-COM, the members of your team can get scared/lose it, and behave in random ways like throwing away their weapons/fleeing the fight or just going berserk and shooting around.

So, after I improved my game with my newly acquainted knowledge of real world squad tactics, I had a terror mission. Terror missions are missions, where the aliens attack and which are harder than the other missions.

I managed to survive the load out from the helicopter and kill nearly every alien on first contact, thanks to very careful and orchestrated movement of my squad.

There was one alien left, I tried to shoot it several times from a distance, and of course (this being X-COM after all), all of my shoots missed...

... THE ALIEN STRESSED OUT AND BERSERKED...

I didn't even know that it was possible. After weeks of loosing and frustration, this one moment is the most satisfying moment of my entire gaming history (more than 30 years now).

Haven't found any modern game, where this would be even possible!

Mandatory link to OpenXcom

[-] [email protected] 69 points 1 year ago

"WEI can potentially be used to impose restrictions on unlawful activities on the internet, such as downloading YouTube videos and other content, ad blocking, web scraping, etc."

WTF. Most of these activities are actual lawful in the country I life in. (Especially with adblockers, the content mafia tried to outlaw it and failed in court, several times.)

[-] [email protected] 32 points 1 year ago

IMHO we have several really big problems with the web as it is today, which are intertwined:

  1. The web (standards) is by far too complicated. If even Microsoft doesn't have (or isn't willing) to provide the resources to implement a browser, there are not many players left with the resources and the motivation

  2. Google Chrome and Safari are the only game in town. (My main browser is Firefox, but seriously, we have such a small market share that nobody gives a damn)

  3. Most people/governments/companies don't care or don't understand the problem of the mono culture for browsers

  4. The value of the web is everything which is already on the web and that one can access anything with the browser - for this reason, we can only grow in the direction of more complicated while keeping backwards compatibility

  5. Besides lip-service to the contrary, our politicians want to control communication and supervise their citizens, so for politicians it is better to have a browser controlled by a company like Google, than a really free web

Given how fundamental important the web is for modern human basic infrastructure, we (as a society) should find a better way to protect our infrastructure, freedom of speech and basic freedoms.

view more: next ›

wolf

joined 1 year ago
MODERATOR OF