[-] ulterno@programming.dev 1 points 2 days ago

YAML definitely felt less intimidating to me than XML, when I first saw them.
But the YAML examples also had much less information in them than the XML ones.
But not having to type all those brackets definitely helps. In case of XML, I am always looking to just get a GUI going for it instead, because typing it out feels cumbersome (I'm from C++)

[-] ulterno@programming.dev 3 points 2 days ago

it just had less brackets and <> symbols when they were done.

Hence making the parser more inefficient than XML?

[-] ulterno@programming.dev 4 points 3 days ago

The wheel is Open Domain and does not belong to anyone.

[-] ulterno@programming.dev 12 points 5 days ago

So I looked at the thing and it looked kinda reasonable.

  1. It was a bot and noone is making a scene.
  2. The bot was not telling that to the committer, but to the commenter, who is part of the company owning the repo
  3. The comment in question was, "Good to merge? Test suite passes locally?", which might trip someone as "Test suite passes locally" seems like an affirmative, but the '?' doesn't say the same, so the reader would have to determine whether the commenter typo-ed a '?' or actually meant to put a question, while using the wrong matching sentence form (which I know we are all guilty of, but tends to be fine while speaking, because our tone tells the listener)
[-] ulterno@programming.dev 5 points 5 days ago

how many things do I have to read

Well unfortunately, when using Arch, you will, at some point end up requiring to read a lot of something.

If that makes you hesitate, but you still feel like giving it a try, I'd say one good way is, install Arch using the Arch ISO method and go to https://wiki.archlinux.org/title/Installation_guide and read that once before and then, while installing.

  • it is very well simplified (simplified by explanation, not by omission)
  • it has handy links for terminology you will find in there, so you won't have to go around finding stuff all the time
  • open the page on another device, that you like reading on
    • read it like you are trying to understand it and not like instructions
  • while reading/installing it, if you realise you can't keep doing that, you have your answer
  • if you managed to install it before getting frustrated at the Wiki, well, know that most Arch wiki pages you will look at, are as good or better than that and you can consider this as another distro you might use.
[-] ulterno@programming.dev 9 points 5 days ago

I’ve had Arch get borked, but never to an unrecoverable state.

gotta love arch-chroot for that.
No matter what went wrong or how wrong it went, if you have the time, you can find out. And pretty easily too, as long as you keep some logs.

[-] ulterno@programming.dev 2 points 6 days ago

Papaya over here. Apples would be too expensive.

6

cross-posted from: https://programming.dev/post/34025065

DeviantArt Link

Endless Sky is and open source game. This animation is inspired by the compass image that shows up on the menu screen.

CC BY-NC-SA 4.0 : https://creativecommons.org/licenses/by-nc-sa/4.0/deed.en

Used stock https://github.com/endless-sky/endless-sky.github.io/blob/master/images/compass.svg as the base. License info at https://github.com/endless-sky/endless-sky/blob/master/copyright:

==========

Files: images/*

Copyright: Michael Zahniser mzahniser@gmail.com

License: CC-BY-SA-4.0

==========

When sharing, please make sure to include the information in this description including information regarding the stock image. If not possible, then at leas keep the metadata in the file, which contains similar information.

Modelled and animated in Blender on Linux


If you are affiliated to the game "Endless Sky" and need a change in licensing info let me know here.

pacman -S endless-sky

9

DeviantArt Link

Endless Sky is and open source game. This animation is inspired by the compass image that shows up on the menu screen.

CC BY-NC-SA 4.0 : https://creativecommons.org/licenses/by-nc-sa/4.0/deed.en

Used stock https://github.com/endless-sky/endless-sky.github.io/blob/master/images/compass.svg as the base. License info at https://github.com/endless-sky/endless-sky/blob/master/copyright:

==========

Files: images/*

Copyright: Michael Zahniser mzahniser@gmail.com

License: CC-BY-SA-4.0

==========

When sharing, please make sure to include the information in this description including information regarding the stock image. If not possible, then at leas keep the metadata in the file, which contains similar information.

Modelled and animated in Blender on Linux


If you are affiliated to the game "Endless Sky" and need a change in licensing info let me know here.

[-] ulterno@programming.dev 50 points 2 weeks ago

That looks like buttons in the thumbnail, on the left of the visualisation.
I'd say that's enough to call it UI.

4

Also, bought 2 of them, because the brain needed to fart out loud.

Not only are the fans much slower than what the sticker says (2000RPM), they also make more heat in the motor than they will ever dissipate. And of course, they just couldn't sell one without RGB.

Looked closely and even the axle is not centred.

On the other hand

Can someone help me do something fun with this that would make me feel less shitty about myself?

44
KTorrent LoL (programming.dev)

Screen Recording of an application window: at the bottom of a widget, the cursor changes to a resize icon. Click+Dragging the portion reveals empty white space.

42
submitted 2 months ago* (last edited 2 months ago) by ulterno@programming.dev to c/programmer_humor@programming.dev

Description, because "alt text" can't show it well:

			{
				emit differentFiles (ckFile.absoluteFilePath(),
					otherFile.absoluteFilePath(),
					FileCompareWorker::FileComparisonParams{FileComparisonParams::FileNameMatch,
						(ckFile.size() > otherFile.size()) ? FileComparisonParams::File1IsLarger
							: FileComparisonParams::File2IsLarger});
			}

After Alignment

			{
				emit differentFiles (ckFile.absoluteFilePath(),
					otherFile.absoluteFilePath(),
					FileCompareWorker::FileComparisonParams{FileComparisonParams::FileNameMatch,
						(ckFile.size() > otherFile.size()) ? FileComparisonParams::File1IsLarger
														   : FileComparisonParams::File2IsLarger});
			}
22
submitted 3 months ago* (last edited 3 months ago) by ulterno@programming.dev to c/asklemmy@lemmy.world

To WiFi users.

Do you reduce your router's WiFi Transmit Power to the bare minimum as required by you?

  • Do you just keep it at the default 100%
  • Did you not know you could reduce it (until now)
  • Are you not able to control "your" WiFi router because it's the ISP provided router and they didn't give you the password?
  • Do you actually require the 100% !?
[-] ulterno@programming.dev 54 points 3 months ago* (last edited 3 months ago)

pops into my head semi-regularly

Isn't that called "trauma"?

20

A person, on the Gnome Issue, suggested that terminals inhibit sleep when there is stuff running in them.

Continuing from that discussion, I am trying to understand, at which point it would be desirable to implement said inhibition - terminal emulator, the shell or the program itself

Additionally:

  • We want to inhibit when running stuff like pacman, wget, cp or mv
  • We don't want to inhibit when running stuff like htop, less, watch
1

Hopefully we can get better input to the discussion here.

[-] ulterno@programming.dev 42 points 5 months ago
  1. A good anime avatar takes skill = money
  2. Getting people to desire your streams takes effort
[-] ulterno@programming.dev 49 points 5 months ago* (last edited 5 months ago)

You'd want that, but a lot of programs do that, both in Windows and Linux.

e.g. The .directory files with the [Desktop Entry] spec by freedesktop.org
Dolphin has the option to enable/disable the feature

[-] ulterno@programming.dev 57 points 7 months ago* (last edited 7 months ago)

gut push --force does not work.

But I added "force"!

sudo gut push --force still not working.
Of course I don't try to understand the error output. I just see that it is not working.

30
submitted 8 months ago* (last edited 4 months ago) by ulterno@programming.dev to c/linux@programming.dev

I have a multiboot system. One of the installed OS's does not use the NVMe SSD installed on the motherboard at all.
At the time of taking the screenshot, all the SSD partitions are unmounted, so apart from detection, the SSD is mostly unused.

  • I would like the temps to drop down to SYSTIN (≈35°C) levels.
  • I know, it's right next to my GPU, but I am not doing anything GPU intensive, the GPU temps are ~37°C ^[apart from GPU memory, which is 48°C due to the awful AMD 7th gen Zero RPM, which has no workarounds on Linux]

For the unmounted and unused HDDs, I just use hdparm -Y, but there seems to be nothing in terms of that for the SSD. And even though I appreciate the additional heat in winters, this is going to be too expensive for me. I'd rather burn some cheap Nichrome than my data storage device.

I checked out a Debian forum thread and from that, I checked the following:

❯ sudo nvme get-feature /dev/nvme0 -f 2 -H
get-feature:0x02 (Power Management), Current value:0x00000004
        Workload Hint (WH): 0 - No Workload
        Power State   (PS): 4

Showing it is already in the lowest power state.

Update: I probably checked that at the wrong time before. Did so again after Sleep and realised the Power State was 0. So just need to make sure the Power State went back to 4 after wake.

I have no active cooling setup for the SSD from my side. This becomes relevant soon.

  • Checking the SSD temps (using the same widget as in the image), the temperature on Sensor 2 starts out at ~40°C (after a normal reboot) and slowly increases to >50°C as shown at the start of the graph. Power State (PS) is still 4.

  • Running KDE partitionmanager, which probably does some reading to check the partition information, at 50°C stage, causes a temperature drop, as shown in the image.

  • Running KDE partitionmanager right after reboot, when the temperature is increasing very sloowly, seems to do nothing significant.


  • Turns out that after a few minutes of System Standby, the SSD doesn't return to PS: 4, so I have the culprit.
  • Running partitionmanager after that causes it to go back to PS: 4

So we have a solution! All I need to do is run partitionmanager on wake. nlol jk


Motherboard: MSI MAG X570S TORPEDO MAX (MS-7D54)
SSD: Samsung 980 512GB (correct firmware, bought long before the fakes started coming out)

271
submitted 8 months ago* (last edited 8 months ago) by ulterno@programming.dev to c/programmer_humor@programming.dev

Until he actually had to use it.

Took 2 hours of reading through examples just to deploy the site.
Turns out, it is hard to do even just the bash stuff when you can't see the container.

view more: next ›

ulterno

joined 8 months ago