[-] ulterno@programming.dev 0 points 1 hour ago

Oh, so I guess it was just to save space on the copied thumbnail.

[-] ulterno@programming.dev 1 points 1 hour ago

Is the heavy JPEG distortion an anti-AI faking measure?

[-] ulterno@programming.dev 1 points 2 hours ago* (last edited 2 hours ago)

I ask to call even if the other side is one that never going to and will call with another no. after I save their no.

[-] ulterno@programming.dev 0 points 2 hours ago

I'm not particularly interested in human meat, but who am I to stop you?

[-] ulterno@programming.dev 2 points 2 hours ago* (last edited 2 hours ago)

You need to realise that China is not every Chinese person.
Their govt. harasses their own people too.

If they are spraying our fishing boats with water cannons and we go spray their fishing boats with water cannons, we just fall into playing their game and doing what they want.

Our govts. need to capture the ones that are spraying the fishing boats, instead of capturing fishing boats.

By "little guy", I mean the grunt workers, which in this case, are the fishing boats in both the countries. No govt. is a "little guy" in my books. Definitely not one that can afford a Police and a military.

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

Wait until a bread costs a million.

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

Well, that's right too.
But I'd rather say they harass the military insurgents, although they won't for fear of quick escalation.

So now you have Chinese military ships harassing Japanese fishers in Japanese waters and then Japanese military harassing possibly illegal Chinese fishermen, which China will then try to use for publicity.

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

The researchers suspect this would help shrink the ozone hole that forms over the South Pole every year,

Ok, so there seems to be a silver lining.
A lesser Ozone hole during a certain period.

Now just to know if the Ozone decimation is winning over this little phenomenon.
Either way, the LEO satellites seem to be to big a mess for their worth, unless you are just considering their military worth.

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

Out of all targets they could find, they decide to harass the little guy.
Why am I not surprised? Oh yes. It is just another government.

[-] ulterno@programming.dev 0 points 14 hours ago

Maybe it's just trying to be Linux, for Windows users.

[-] ulterno@programming.dev 1 points 18 hours ago

Hehe. That's what I was here to say.
Except that I just use a thin knife.

Then lay the thin butter slice on the toast that just came out and is still warm. It melts as you look at it.

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

commonly agreed to be a Good Thing

So, did they open access their trained model weights?

it still can prevent complete rookies from making thousands of requests per second with a simple python script

So now you can know that if you are getting DOS'ed, it is actually malicious.

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.

9

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

24
submitted 4 months ago* (last edited 4 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 9 months ago* (last edited 9 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});
			}
21
submitted 10 months ago* (last edited 10 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% !?
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 1 year ago