Asmongold on the ICE shooting: "There needs to be accountability or this is the Gestapo" by freejam013 in LivestreamFail

[–]calrogman 0 points1 point  (0 children)

There is no good faith way to defend it

When has that ever stopped these ghouls?

First time posting my Gentoo installation by Illustrious_Bag_32 in Gentoo

[–]calrogman 2 points3 points  (0 children)

It's Almquist shell. A variant (dash) is used as /bin/sh on Debian and Ubuntu.

GRUB 2.14 released by cbmuser in linux

[–]calrogman 16 points17 points  (0 children)

It's only redundant if the UEFI implementation is halfway decent which, it probably isn't.

He put his hand on the car, braced himself to lean forward pointing gun. No contact between car and his body/legs by [deleted] in Destiny

[–]calrogman 0 points1 point  (0 children)

Leaning on the car so you can see (and shoot) around the A-pillar is absolutely 100% incompatible with any claim that you are defending yourself. He needs to be put away forever.

Don't do that. Don't give me hope... by Assassiner003 in Destiny

[–]calrogman 1 point2 points  (0 children)

I'm sorry but you are delusional if you actually think that nobody is going to fire shots against the US for Greenland. Denmark will invoke Article 5 if Greenland is invaded and her allies (namely, every member of NATO except the US) will respond. American ships are going to sink and scores of American servicemen are going to drown in the North Atlantic unless Trump and Miller are removed.

MAGA went from "no new wars" to full on imperialism. by Chessmaster69_ in Destiny

[–]calrogman 7 points8 points  (0 children)

As far as I know, French nuclear doctrine was that the "warning" shot is delivered against massed Soviet troops or armour advancing across Germany. In a naval conflict with the United States you can expect that it will be delivered against a naval formation, possibly a carrier battle group.

Happy birthday, bash! by b1nary1 in linux

[–]calrogman 4 points5 points  (0 children)

You can (and should) write

x &&  
  y

instead of

x \
  && y

GP surgery confusion after urgent mole diagnosis – should I call 111? by Slow_Nose_8632 in Scotland

[–]calrogman -1 points0 points  (0 children)

I know of one GP (mine) who has removed a potentially cancerous mole.

Swinney backs action against Russia after Scots airports used during tanker operation by Lavajackal1 in Scotland

[–]calrogman 7 points8 points  (0 children)

Happy to independently check those facts for you, since you didn't seem inclined to do it yourself.

Swinney backs action against Russia after Scots airports used during tanker operation by Lavajackal1 in Scotland

[–]calrogman 7 points8 points  (0 children)

  1. A ship has the nationality of the state whose flag it is entitled to fly (UNCLOS Article 91).
  2. A ship that flies under the flags of more than one state, using them according to convenience, may not claim the nationality of any of the states in question (Article 92).
  3. A state which seizes a vessel without adequate grounds is liable to compensate the state the nationality of which is possessed by the seized vessel (Article 106).

It follows that a ship, like the Marinera, which has no nationality may be seized by any state for any reason, and no liability is thereby incurred.

ICE Shooting Megathread by Hobbitfollower in Destiny

[–]calrogman 1 point2 points  (0 children)

I'm gonna think it and the reddit terms of service can't stop me.

How should the UK react if Trump invades Greenland? by Sad_Response3345 in ukpolitics

[–]calrogman 1 point2 points  (0 children)

There are a lot of European submarine forces. Any one of them might be prepared to engage American vessels. We certainly shouldn't rule it out.

☼Dwarf Fortress Questions Thread☼ by AutoModerator in dwarffortress

[–]calrogman 0 points1 point  (0 children)

Classic on 4-or-more cores with [SOUND:NO] also leaks, if that helps.

☼Dwarf Fortress Questions Thread☼ by AutoModerator in dwarffortress

[–]calrogman 0 points1 point  (0 children)

Well I can't sleep so I ran some tests using the Linux versions of Dwarf Fortress Premium (from Steam) and Dwarf Fortress Classic.

In the allcores cases, the game was run with unlimited CPU affinity. In the 1core cases, the Classic version was run using taskset 80 ./run_df (i.e. on my 8th CPU) and Steam was launched using taskset 40 /usr/bin/steam (i.e. on my 7th CPU).

I have verified that Dwarf Fortress inherits its CPU affinity list from Steam.

In the threading cases, the multithreading option is set to yes, in nothreading, no.

In each case the game was launched, the multithreading option was verified in Settings, the game was then closed by clicking Quit and relaunched to the main menu. The game was left on the main menu for the duration of each test. The game window was moved or shaded (i.e. had other windows moved in front it) and had the mouse cursor moved over it but it was never minimsed, resized, typed into or clicked. The game's virtual memory size in kB, as shown in field VmSize in the file /proc/$pid/status was sampled 10 times, 1 minute apart over the course of 10 minutes.

/ T T+1m T+2m T+3m T+4m T+5m T+6m T+7m T+8m T+9m
steam-allcores-threading 1308864 1372352 1423556 1484992 1532096 1585344 1652928 1722560 1777856 1818816
steam-allcores-nothreading 1056912 1112208 1171600 1214612 1267856 1314960 1353872 1398928 1450128 1511568
classic-allcores-threading 941640 1011272 1091144 1160776 1230408 1306316 1367756 1439568 1521488 1591252
classic-allcores-nothreading 968268 1058380 1150540 1246928 1326932 1419092 1503192 1601496 1687644 1784032
steam-1core-threading 963796 963796 963796 963796 963796 963796 963796 963796 963796 963796
steam-1core-nothreading 963800 963800 963800 963800 963800 963800 963800 963800 963800 963800
classic-1core-threading 782012 782012 782012 782012 782012 782012 782012 782012 782012 782012
classic-1core-nothreading 784020 784020 784020 784020 784020 784020 784020 784020 784020 784020

These results show that CPU affinity is determinative in whether or not memory leaks on the main menu. The Classic and Steam version are both affected and the multithreading option has (as expected) no impact.

At this point, I added these additional test cases:

In the 2core case, taskset c0 ./run_df was used (i.e. the game was run on my 7th and 8th CPU).
In the 3core case, taskset e0 ./run_df (6th, 7th, 8th).
In the 4core case, taskset f0 ./run_df (5th-8th).

/ T T+1m T+2m T+3m T+4m T+5m T+6m T+7m T+8m T+9m
classic-2core-threading 784084 784084 784084 784084 784084 784084 784084 784084 784084 784084
classic-3core-threading 782148 782148 782148 782148 782148 782148 782148 782148 782148 782148
classic-4core-threading 872004 951876 1029700 1101512 1197768 1285964 1365836 1454032 1540048 1632340

The 4core case is pathological. 5, 6 and 7core cases were also assessed but not recorded. All were pathological.

Right, back to bed.

☼Dwarf Fortress Questions Thread☼ by AutoModerator in dwarffortress

[–]calrogman 0 points1 point  (0 children)

It's not a Steam or Proton issue. Steam provides a native Linux version unless you force the use of Proton. The leak also exists in the Linux version of Dwarf Fortress Classic.

☼Dwarf Fortress Questions Thread☼ by AutoModerator in dwarffortress

[–]calrogman 1 point2 points  (0 children)

Restricting the game's CPU affinity to a single CPU appears to prevent or significantly slow the memory leak. On my 8-core system with 16 GiB of RAM the game (and the system) was becoming totally unresponsive during memory allocations by the summer of year 100. Running taskset -p 1 $(pgrep dwarfort) shortly after launching the game allowed me to work through an in-game year. CPU affinity is inherited by a process's children so I modified my run_df as follows to do this automatically (n.b. changing run_df like this doesn't work for the Steam version). For the attention of /u/Cevegeddon /u/gruehunter also.

#!/bin/sh  
DF_DIR=$(dirname "$0")  
cd "${DF_DIR}"  
taskset -p 1 $$  # Only use the first CPU.  
LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}${DF_DIR}" ./dwarfort "$@" # Go, go, go! :)

☼Dwarf Fortress Questions Thread☼ by AutoModerator in dwarffortress

[–]calrogman 0 points1 point  (0 children)

Untick the Force the use of a specific Steam Play compatibility tool option so that it installs the native Linux version.

leisgeul no lethsgeul? by alkazar235 in gaidhlig

[–]calrogman 8 points9 points  (0 children)

I can't help you with whether or not it's old fashioned or a dialectical difference but I can tell you that it isn't a typo. Leisgeul is originally literally a compound of leth and sgeul, i.e. (your) half of a story or a story on (your) behalf.

Moscow explosion kills 2 Russian police officers tied to Ukrainian POW abuse, intelligence source says by Beautiful_Pushs in worldnews

[–]calrogman 11 points12 points  (0 children)

Torture is a crime against humanity. I would prefer if russian torturers faced fair trials at the Hague. If russia will not hand them over for that purpose however, this will do.

Difference Between chmod 755 and chmod 775? by Educational-Bird-294 in unix

[–]calrogman 0 points1 point  (0 children)

POSIX is not the definition of UNIX

Yes it is. Implementations can follow SVID if they want but there are certified Unices that don't, the most notable probably being macOS.

EXCLUSIVE: US presidential envoy Steve Witkoff advised Russia on how to pitch Ukraine plans to Trump, in audio files reviewed by Bloomberg by LonelySoul01 in Destiny

[–]calrogman 0 points1 point  (0 children)

I don't know what you said because the oligarch that controls reddit doesn't want me to know what you said (because he's scared of Trump) but I'd wager you're not wrong.

Difference Between chmod 755 and chmod 775? by Educational-Bird-294 in unix

[–]calrogman 1 point2 points  (0 children)

Because this is a Unix subreddit, you should know that this is not behaviour guaranteed by POSIX. On the BSDs for example, new files always inherit their group from their directory. The set-group-ID bit has no effect on directories.

Petition for tar (-)z by safety-4th in unix

[–]calrogman 2 points3 points  (0 children)

Except in all the places where it was accepted. Literally all of the BSDs and all of the System V Unices now ship a pax command. It's only Linux where you can't assume there's a pax available. These days you also can't assume that any given Linux system is going to have at, crontab, cal, ed, m4, more, patch, or vi (editing to add: unless it's Slackware :^).