ulterno

joined 5 months ago
[–] ulterno 3 points 2 days ago* (last edited 2 days ago)

your life! In 3.. 2...

I forgotthe charge time for Lightning Storm

[–] ulterno 8 points 2 days ago (1 children)

And then years pass, you play games with better graphics.
When you try to recall the old game, your brain reconstructs the game from the associative data (of events, relationships etc) but with updated visuals.

I remember Freedom Fighter to be much better looking. But maybe that was due to the low res CRT and that the game visuals were designed for being blurry.

[–] ulterno 2 points 2 days ago

No need for tinnitus when you can hear coil whine.

Bonus point for making me feel like it is going to start burning any time soon.

[–] ulterno 0 points 2 days ago

I can make a few, using a chalk-piece and a bottle of blue ink

[–] ulterno 1 points 3 days ago
[–] ulterno 2 points 3 days ago (1 children)

It was because people wanted alignment on top of indentation, which would mean, you would be using tabs+spaces, making it ugly.

I am in no-alignment btw

[–] ulterno 0 points 3 days ago

If that's supposed to be a pun, I didn't get it.

[–] ulterno 1 points 3 days ago* (last edited 3 days ago)

That looks nice and easy to understand.
I would go one step further and according to my preferences:
(starting from line5)

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

Break before the curly as I do for most.

[–] ulterno 0 points 3 days ago

Honestly, I'd prefer all curly's in a new line, indented according to the previous one and in some cases, even parentheses in new lines.

But if I had a problem with that, I would just go ahead and break the line down (that's a single statement, I consider it 1 line of code) into multiple, with the arguments put into variables.

[–] ulterno 5 points 3 days ago

You can fix the problem of gay men marrying gay women by letting gay men marry gay men and letting gay women marry gay women.

[–] ulterno 2 points 3 days ago

Go to:
/media/ulterno/Data/code/website

and run /opt/jekyllrb/jekyll/bin/jekyll serve.

Worked for me that way.

[–] ulterno 4 points 3 days ago* (last edited 3 days ago) (2 children)
  1. I am using tabs for INDENTATION. I don't want alignment.
  • I have tried my best to remove all alignment operations of clang-format
  1. What do you use tabs for?
39
submitted 3 days ago* (last edited 3 days ago) by ulterno to c/programmer_humor
 

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});
			}
71
submitted 1 month ago* (last edited 1 month ago) by ulterno to c/[email protected]
 

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% !?
 

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
 

Hopefully we can get better input to the discussion here.

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

I have been thinking of a controller like this, which would be pretty fun to use for space games.

The ellipsoid marked as "Hand Piece", is supposed to be braced to the frame with motion encoders and need to push back the Hand Piece to the 0 position in case the user stops adding force in any direction.

Additionally, the hand piece can also have 5 buttons, 2 placed for the thumb and 3 placed for the 3 longer fingers each, with the button for the middle finger being a scroll wheel.

This should make up for actions like, Primary and Secondary fire, Target lock and cruise control adjustment, hence freeing the second hand for controlling utilities on the keyboard, or eating snacks. Whichever you prefer.

 

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)

273
submitted 5 months ago* (last edited 5 months ago) by ulterno to c/programmer_humor
 

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 ›