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

The author might even have read it after handing over a copy.

But that doesn't make, the "people who wrote them" having 'read the articles', because the "author" in this case is more like an "Editor".

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

Yeah, that's right.

But are enough of the AI generation people going to understand the difference?
I feel like, due to the reduction of quality expectations, they will just end up feeling the same about this as we do about the previous one, despite the difference being visible as night and day for us.

[-] ulterno@programming.dev 0 points 3 days ago* (last edited 3 days ago)

Hey, 5 years ago, they couldn't even solve a HackerRank preliminary coding challenge.

The only problem I see with AI CEOs is that the biggest models will be available to those that already have loads of money, so the adversarial investors get to win.

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

What's the problem with the Anthropic one?
Of course everyone wants more W cubes! No?

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

But hey, at least when you tell them their mistake, they say, "You are absolutely correct!!"

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

I think Dillo might work fine too.
Not a modern browser though, as it hasn't been updated for HTML5.

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

I remember when postman used to bring little envelopes (sometimes little boxes) to people's homes and was paid by tax money and the small amount of postal fees we paid.

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

Should have checked the blame before running clang-format himself.

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

Yeah, I am the same.
I type the code myself, so I know what it actually means, instead of letting AI do it.

It might seem different now, but 10-20 years down the line, they might be the same energy.

[-] ulterno@programming.dev 21 points 4 days ago* (last edited 4 days ago)

AI CEOs might end up doing better, you know?
At least better than the type of human CEOs that decide to go full AI.

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

You seem to not be taking into consideration:

  • lag
  • extra information required for graphics stuff, like shadows

The reason your client computer needs to know the opponent's location when they are still 1m on the other side of the wall, is because, within the next 100ms, you might make a jump+move action which lets you see their shadow or the tip of their weapon.

The shadows and reflections need to be calculated on your system or the server would be doing too much work and if you find the opponent pop up where they clearly were not, 50ms ago (because the server just told you now), you won't be particularly happy either (I know I won't).

6

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

I just started checking out auditd and made a rule to log file accesses.

auditctl -a always,exit -F dir=/path/to/my/directory -F perm=rwa

From the output, I got some things that might be useful:

  • The full path of the executable
  • pid
  • Parent's pid: ppid
  • Process' current working directory cwd

Now if the process was still running when I check the logs, I could open htop and find out what exactly called the process, from the pid.
For example, say I run a git pull on a repository and find out that /usr/bin/ssh is accessing some file, I will get something like:

st
โ”” bash
    โ”” git
        โ”” ssh

I will get the full executable path of each executable (and know if the executable was not in the system directories, but in some unsafe location writeable by another user). This will give me enough context to go by.

But using this same example, what happens if I check the logs after the git operation has ended?
The git process ppid will have been lost(?) and I would have no way to know which process called ssh.

How do I solve this condition?
Ideally, I want to have the audit log contain the whole calling tree with the full executable path of each parent.

10

I just started checking out auditd and made a rule to log file accesses.

auditctl -a always,exit -F dir=/path/to/my/directory -F perm=rwa

From the output, I got some things that might be useful:

  • The full path of the executable
  • pid
  • Parent's pid: ppid
  • Process' current working directory cwd

Now if the process was still running when I check the logs, I could open htop and find out what exactly called the process, from the pid.
For example, say I run a git pull on a repository and find out that /usr/bin/ssh is accessing some file, I will get something like:

st
โ”” bash
    โ”” git
        โ”” ssh

I will get the full executable path of each executable (and know if the executable was not in the system directories, but in some unsafe location writeable by another user). This will give me enough context to go by.

But using this same example, what happens if I check the logs after the git operation has ended?
The git process ppid will have been lost(?) and I would have no way to know which process called ssh.

How do I solve this condition?
Ideally, I want to have the audit log contain the whole calling tree with the full executable path of each parent.

-3
Body text (programming.dev)

Title

[-] ulterno@programming.dev 101 points 6 months ago

That's how it is done.
If it is a public camera, it has to be a public record.
And if not, then anyone having access to the feed, has to have their whole life (both work and personal) be available as a public record.

If not, then you now have cases where most people can't afford to defend themselves from malicious cop allegations.
To prevent this, anyone arrested, pre-trial has to have access to all searches done by cops, related to the allegation and ability to pull-up 100% of their own footage anytime near the event in question.

If any part of the footage is deleted, due to "technical issues" like, "the footage was deleted" or "some of the cameras were not working", then the arrest is illegal and the police department is responsible for compensation.

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

ffmpeg ... -c:a flac -exact_rice_parameters 1 -multi_dim_quant 1 ...

I was encoding wav to flac.

  • With default options, the result was almost instant
    • At > 500x speed
  • Used -compression_level 12, finished in ~ 7 seconds
    • speed = 48.9x
  • Then I used multi_dim_quant
    • After ~ 10 minutes, I checked the speed to be ~ 0.02x. So thought it would take an hour or so. 1.30 seconds worth of audio was encoded
    • It's been over 2 hours now.
      • Shows 1.46 seconds of audio encoded with current speed = 0.00017x

Considering running it in a VM, so I can "pause" it whenever I need to restart my computer.

Update:
size= 123KiB time=00:00:02.82 bitrate= 356.3kbits/s speed=4.68e-05x
It stopped trying to use layman notation.
I'll need to restart soon-ish, but I'll see how far this goes and if the 2.82 seconds of audio is even listenable.

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

10

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.

3

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?

43
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.

41
submitted 1 year ago* (last edited 1 year 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});
			}
21
submitted 1 year ago* (last edited 1 year 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% !?
19

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
0

Hopefully we can get better input to the discussion here.

view more: next โ€บ

ulterno

joined 2 years ago