tal

joined 1 year ago
[–] tal 19 points 2 weeks ago* (last edited 2 weeks ago)

Boost assist for uphill.

https://what-if.xkcd.com/21/

The GAU-8 Avenger fires up to sixty one-pound bullets a second. It produces almost five tons of recoil force, which is crazy considering that it’s mounted in a type of plane (the A-10 “Warthog”) whose two engines produce only four tons of thrust each. If you put two of them in one aircraft, and fired both guns forward while opening up the throttle, the guns would win and you’d accelerate backward.

To put it another way: If I mounted a GAU-8 on my car, put the car in neutral, and started firing backward from a standstill, I would be breaking the interstate speed limit in less than three seconds.

[–] tal 20 points 2 weeks ago

Additional context, highlighting some germane snippets:

https://en.wikipedia.org/wiki/Pornography_in_North_Korea

North Korea forbids the possession, production, distribution and importation of pornography. This is punished harshly by the government. Nevertheless, pornography is widespread in the country because people secretly import it, or locally produce it.

Today, pornography is sold openly on the China–North Korea border despite the government's attempts to curtail circulation. Most of the content consumed in North Korea is produced outside the country, with a significant part of it being Chinese bootleg recordings of poor quality. A locally produced pornographic film typically involves nude or scantily clad women dancing to music.

Sexuality is restricted in the conservative North Korean culture.

According to the Criminal Law of the Democratic People's Republic of Korea:

A person who, without authorization, imports, makes, distributes or illegally keeps music, dance, drawings, photos, books, video recordings or electronic media that reflects decadent, carnal or foul contents shall be punished by short term labour for less than two years. In cases where the person commits a grave offence, he or she shall be punished by reform through labour for less than five years. In cases where such a person imports, keeps or distributes sexual video recordings, the punishment shall be reform through labour for more than five years and less than ten years.
— Article 193 (Import, Keeping and Distribution of Decadent Culture), Chapter 6 (Crimes of Impairing Socialist Culture)[12]

The law specifies that viewing such material is also illegal:[13]

A person who watches or listens to music, dance, drawings, photos, books, video recordings or electronic media that reflects decadent, carnal or foul contents or who performs such acts himself or herself shall be punished by short term labour for less than two years. In cases where the person commits a grave offence, he or she shall be punished by reform through labour for less than five years.
— Article 194 (Conduct of Decadent Acts)[12]

The State Security Department is tasked with monitoring illegal imports of pornographic materials. Involvement in illegal import results in the culprit being shot or sent to a kyohwaso (re-education camp) for 10 to 15 years.[14] Executions of several persons accused of watching or distributing pornography took place in late 2013.[15] It is illegal for tourists to bring pornography into the country.[citation needed] Access to "sex and adult websites" on the Internet has been blocked from the country,[16] but in the past BitTorrent downloads of pornography have been detected, likely relating to foreigners residing in Pyongyang.[17] Likewise, North Koreans living near the border with China use mobile phones equipped with Chinese SIM cards to access Chinese porn sites.[18]

When Kim Jong Un's uncle Jang Song-thaek was executed in 2013, distributing pornography was counted among his crimes.[19]

[–] tal 30 points 2 weeks ago* (last edited 2 weeks ago)

Lynne Ingram, a Somerset beekeeper and the chair of the Honey Authenticity Network UK, said: “The market is being flooded by cheap, imported adulterated honey and it is undermining the business of genuine honey producers. The public are being misinformed, because they are buying what they think is genuine honey.”

The UK is one of the biggest importers of cheap Chinese honey, which is known to be targeted by fraudsters. Honey importers say supply chains and provenance are carefully audited, but there has been no consensus on how technical tests should be applied, or which are most reliable.

A fun bit of perspective that I like to mention in discussions about this. Roll back a bit over a century:

Scientific American, November 2, 1907

Artificial Honey

Prof. Herzfeld, of Germany, recently brought out some interesting points regarding the manufacture of artificial honey in Europe. It is noticed that when we bring about the inversion of refined sugar in an almost complete manner and under well determined conditions, this sugar solidifies in the same way as natural honey after standing for a long time, and it can be easily redissolved by heating. Owing to the increased production of artificial honey, the bee cultivators have been agitating the question so as to protect themselves, and it is proposed to secure legislation to this effect, one point being to oblige the manufacturers to add some kind of product which will indicate the artificial product. On the other hand, it is found that the addition of inverted sugar to natural honey tends to improve its quality and especially to render it more easiIy digested. Seeing that sugar is about the only alimentary matter which is produced in an absolutely pure state, its addition to honey cannot be strictly considered as an adulteration. Bees often take products from flowers which have a bad taste; and the chemist Keller found that honey coming from the chestnut tree sometimes has a disagreeable flavor. From wheat flowers we find a honey which has a taste resembling bitter almonds, and honey from asparagus flowers is most unpalatable. Honey taken from the colza plant is of an oily nature, and that taken from onions has the taste of the latter. In such cases, the honey is much improved by the addition of inverted sugar. Prof. Herzfeld gives a practical method for preparing this form of sugar. We take 1 kilogramme (2.2 pounds) of high-quality refined sugar in a clean enamelware vessel, and add 300 cubic centimeters (10 fluid ounces) of water and 1.1 grammes (17 grains) tartaric acid. This is heated at 110 deg. C. over an open fire, stirring all the while, and is kept at this heat until the liquid takes on a fine golden yellow color, such operation lasting for about three quarters of an hour. By this very simpIe process we can easily produce artificial honey. Numerous extracts are now on the market for giving the aroma of honey, but none of them will replace the natural honey. However, if we take the artificial product made as above and add to it a natural honey having a strong aroma, such as that which is produced from heath, we can obtain an excellent semi-honey.

[–] tal 11 points 2 weeks ago* (last edited 2 weeks ago)

You're probably better off asking on !imageai@sh.itjust.works.

If you want to try there, I can throw some ideas out.

Asklemmy, despite the oft-confusing community name that generates a lot of these sort of things, isn't really intended as a general "ask any question" community, but for "thought-provoking" questions. Their Rule 5 excludes stuff like this.

The mods tend to delete stuff like this; I've had a few questions that I've spent time answering and then had the post deleted with the answers, which is kinda frustrating if you've put effort into an answer.

If you ask there, I'd suggest indicating which system you used to generate the image, as it'll affect the answer.

[–] tal 6 points 2 weeks ago* (last edited 2 weeks ago)

That's a pretty good AK. The models I've used have pretty consistently done poorly with firearms, though I've not tried specialized models.

EDIT: And military hardware. I was thinking about trying an F-22 Flux LoRA that I saw on civitai. Vanilla Flux can't do much by way of accurate military ships, vehicles, or aircraft.

[–] tal 5 points 2 weeks ago (1 children)

I wish people had a perverse love of main battleships

You ever seen Drachinifel's channel on YouTube? He's into the gun-era stuff, which overlapped a lot with the British Empire's era.

Ever played the Rule the Waves video game series?

[–] tal 1 points 2 weeks ago* (last edited 2 weeks ago)

Oh, cool, there is actually a !credibledefense@sh.itjust.works.

Not much traffic, but...

[–] tal 5 points 2 weeks ago (3 children)
[–] tal 68 points 2 weeks ago* (last edited 2 weeks ago) (8 children)

The only way you can do that is if Congress signs off on it.

Every other state has an incentive not to permit that, because then that state gets two senators of its own.

Congress has only ever permitted a state to split a single time -- West Virginia from Virginia, during the American Civil War, where West Virginia was willing to side with the Union, and contained some militarily-important rail and water infrastructure.

Texas also negotiated the right to have the ability to split into five states if it wanted down the line at the time it joined, but I recall reading that it was considered to no longer be an exerciseable option after the American Civil War.

EDIT:

https://en.wikipedia.org/wiki/Admission_to_the_Union

Article IV, Section 3, Clause 1:

New States may be admitted by the Congress into this Union; but no new State shall be formed or erected within the Jurisdiction of any other State; nor any State be formed by the Junction of two or more States, or Parts of States, without the Consent of the Legislatures of the States concerned as well as of the Congress.[4]

EDIT2: Correction; Kentucky was also split from Virginia and Maine from Massachusetts. The Kentucky split happened before the US Constitution was ratified. Maine was part of the Missouri Compromise, to keep slave and free states in balance when Missouri joined as a slave state.

[–] tal 2 points 2 weeks ago (1 children)
 

Curious as to what people think has the most replay potential.

Rules:

  1. The "desert island" aspect here is just to create an isolated environment. You don't have to worry about survival or anything along those lines, where playing the game would be problematic. This isn't about min-maxing your situation on the island outside of the game, or the time after leaving.

  2. No live service games unless the live service aspect is complete and it can be played offline -- that is, you can't just rely on the developer churning out new material during your time on the island. The game you get has to be in its complete form when you go to the island.

  3. No multiplayer games -- can't rely on the outside world in the form of people out there being a source of new material. The island is isolated from the rest of the world.

  4. You get existing DLC/mods/etc for a game. You don't get multiple games in a series, though.

  5. Cost isn't a factor. If you want The Sims 4 and all its DLC (currently looks like it's $1,300 on Steam, and I would guess that there's probably a lot more stuff on EA's store or whatever), DCS World and all DLC ($3,900), or something like that, you can have it as readily as a free game.

  6. No platform restrictions (within reason; you're limited to something that would be fairly mainstream). PC, console, phone, etc games are all fine. No "I want a game that can only run on a 10,000 node parallel compute cluster", though, even if you can find something like that.

  7. Accessories that would be reasonably within the mainstream are provided. If you're playing a light gun game, you can have a light gun. You can have a game controller, a VR headset and controllers, something like that. No "I want a $20 million 4DOF suspended flight sim cockpit to play my flight sim properly".

  8. You have available to you the tools to extend the game that an ordinary member of the public would have access to. If there are modding tools that exist, you have access to those, can spend time learning them. If it's an open-source game and you want to learn how to modify the game at a source level, you can do that. You don't have access to a video game studio's internal-only tools, though.

  9. You have available to you existing documentation and material related to the game that is generally publicly-available. Fandom wikis, howtos and guides, etc.

  10. You get the game in its present-day form. No updates to the game or new DLC being made available to you while you're on the island.

What three games do you choose to take with you?

 

cross-posted from: https://lemmy.today/post/14150262

Just wanted to put this out there for anyone else who might be hitting the same problem and be searching the Web for a solution.

I have a Sennheiser Momentum 4 headset. It worked (reasonably) well most of the time, albeit with some occasional momentary connection losses and what I think was the occasional crash-leading-to-spontaneous powerdown)

However, in an attempt to resolve these, I recently used the Sennheiser Smart Control app to update the headset's firmware (note that the occasional powerdown still seems to occur).

This headset supports Bluetooth Multipoint functionality; it can be paired with multiple devices and used with them concurrently. I have it paired with an Android phone and a Linux laptop.

After this and a restart, I wasn't able to play music back on my Linux laptop. After poking around a bit, I discovered that I could get sound working if, in pavucontrol (PulseAudio's control panel), in the Configuration tab, I chose HSP/HFP. However, this also resulted in degraded audio. If I chose A2DP/aptX, then there were no apparent errors that I saw (and after a few reboots of the headset I did, somewhere along the line, the A2DP/aptX option didn't even show up in the menu once the headset was paired).

I'm fairly confident that this is the same problem that someone on Reddit experienced here, as it sounds identical: a Linux laptop user with his Momentum 4 headset also paired to an Android phone using Bluetooth Multipoint that stopped playing audio in A2DP/aptX mode subsequent to a firmware update).

Further investigation revealed that the headset will indeed play back audio from the Linux laptop in A2DP/aptX mode while concurrently paired with the Android phone, but only if the phone is not set, in the Android Bluetooth system settings, for the headset, to have "Media audio" enabled for it, just "Phone calls".

I definitely had played audio back prior to the firmware update on both the phone and laptop, and the headset is billed as supporting Bluetooth Multipoint, so disabling "Media audio" on the phone definitely isn't a fix. But since I rarely actually play media audio from the phone, it's a good-enough workaround from my standpoint to get the thing usable again. I certainly didn't want to lose media playback on the laptop.

Just a heads-up in case anyone else out there with a Sennheiser Momentum 4 using Bluetooth Multipoint smashes into similar problems, on the off chance that this is also a doable workaround for them.

I would have to add that this hasn't been an very satisfactory experience, for anyone else who might be considering purchasing a Momentum 4 for Bluetooth Multipoint use.

 

Just wanted to put this out there for anyone else who might be hitting the same problem and be searching the Web for a solution.

I have a Sennheiser Momentum 4 headset. It worked (reasonably) well most of the time, albeit with some occasional momentary connection losses and what I think was the occasional crash-leading-to-spontaneous powerdown)

However, in an attempt to resolve these, I recently used the Sennheiser Smart Control app to update the headset's firmware (note that the occasional powerdown still seems to occur).

This headset supports Bluetooth Multipoint functionality; it can be paired with multiple devices and used with them concurrently. I have it paired with an Android phone and a Linux laptop.

After this and a restart, I wasn't able to play music back on my Linux laptop. After poking around a bit, I discovered that I could get sound working if, in pavucontrol (PulseAudio's control panel), in the Configuration tab, I chose HSP/HFP. However, this also resulted in degraded audio. If I chose A2DP/aptX, then there were no apparent errors that I saw (and after a few reboots of the headset I did, somewhere along the line, the A2DP/aptX option didn't even show up in the menu once the headset was paired).

I'm fairly confident that this is the same problem that someone on Reddit experienced here, as it sounds identical: a Linux laptop user with his Momentum 4 headset also paired to an Android phone using Bluetooth Multipoint that stopped playing audio in A2DP/aptX mode subsequent to a firmware update).

Further investigation revealed that the headset will indeed play back audio from the Linux laptop in A2DP/aptX mode while concurrently paired with the Android phone, but only if the phone is not set, in the Android Bluetooth system settings, for the headset, to have "Media audio" enabled for it, just "Phone calls".

I definitely had played audio back prior to the firmware update on both the phone and laptop, and the headset is billed as supporting Bluetooth Multipoint, so disabling "Media audio" on the phone definitely isn't a fix. But since I rarely actually play media audio from the phone, it's a good-enough workaround from my standpoint to get the thing usable again. I certainly didn't want to lose media playback on the laptop.

Just a heads-up in case anyone else out there with a Sennheiser Momentum 4 using Bluetooth Multipoint smashes into similar problems, on the off chance that this is also a doable workaround for them.

I would have to add that this hasn't been an very satisfactory experience, for anyone else who might be considering purchasing a Momentum 4 for Bluetooth Multipoint use.

23
submitted 3 months ago* (last edited 3 months ago) by tal to c/linux@lemmy.world
 

Quick background for anyone who doesn't use tmux or screen: both are utilities that run in terminal that provide a bunch of nifty functionality. The big ones are:

  • The ability to disconnect from a remote host and reconnect via software like ssh or mosh, leaving the remote programs running. This also ensures that connection loss doesn't kill off remote programs, making it -- in my opinion, at any rate -- pretty essential for ssh, though mosh has more-limited built-in functionality.

  • The ability to have multiple virtual terminals in one. There are a bunch of ways to do this (the Linux kernel has multiple ttys, X11 window managers or Wayland compositors can provide virtual desktops with different graphical virtual terminal programs running on each, and some virtual terminal programs provide a way to run multiple virtual terminals, usually in a tab or something). I prefer this route, though, because among other reasons, it works everywhere.

But they also provide a lot of other handy functionality, including things like file transfer via the terminal (well, screen does), logging of what the current terminal is receiving, copy-pasting using vi or emacs keybindings, a terminal-level "status bar", and such.

But I was doing work on my tmux config, and thought that I'd go over my ~/.tmux.conf, since it addressed a few things that annoyed me, and I figure that other people might have crashed into. Maybe others could share some of their neat tmux or screen stuff, if they're in the moon:

unbind-key C-b
set-option -g prefix C-o
bind-key C-o send-prefix

This sets tmux to use "Control-o" as the "prefix key", which it uses before all other keybindings. Out-of-box, both screen and tmux grab keybindings which conflict with very-common emacs keybindings, C-a (beginning of line) and C-b (previous character), respectively. Control-o is only used by (what I'd call) a fairly-obscure emacs feature, which you can still access by hitting Control-o twice. If you use vi keybindings (including in bash and other programs that use readline, which default to using emacs-style keybindings), probably not necessary. Been using this for many years, ever since screen; it's apparently a very common problem for new tmux and screen users.

set-option -g status-bg black
set-option -g status-fg cyan

By default, tmux uses black text on a bright green background for the status bar; while this shows up well, for me, at least, this is kind of overwhelming. I prefer light text on a black background, or "dark mode", as it's popularly called these days. On some terminals, blue is hard to read out-of-box, and while I generally try to tweak my terminals to get it readable, cyan (bright blue) avoids this.

set-option -g status-left '#I|#H #(cut -d " " -f 1-4 /proc/loadavg)'
set-option -g status-right ""
set-option -g window-status-format ""
set-option -g window-status-current-format ""

The default tmux configuration follows a convention where, for each "window" one opens, there's a visual indicator showing a per-window entry. This is a common convention that many GUI programs use (opening a tab per window). Emacs traditionally has not done this, the idea being that you should be able to have many buffers open, that screen space is a limited resource and that if you want to switch the content that you're looking at, you're better-off bringing up a full-screen, scrollable list. tmux can do this with prefix-key w out-of-box. If you have, say, ten open, there isn't gonna be space to show 'em all. So I pull that out.

I do want to see the host, to ensure that I don't confuse a tmux instance running on Host A running ssh in a window with sshing to Host B and running tmux there.

Tmux defaults to showing a clock, which I get rid of with the above. I already have a clock on my desktop, and I don't see much sense in throwing them elsewhere in each terminal. Tmux even defaults to showing a large one if you hit prefix-key t, though I can't imagine that many people use that.

The current loadavg isn't essential, but it's a useful bit of status that tells one immediately whether some program is either still doing work or running away.

I don't use window names: just numbers; so I hide names. It's normally obvious from looking at a virtual termainal what something is, and switching by number is faster by keystroke.

set-option -g update-environment "DISPLAY WAYLAND_DISPLAY SWAYSOCK SSH_AUTH_SOCK"

This updates the environment variables in a tmux session when re-attaching. Various programs don't do well if you detach from one session, log out of a graphical session, and then log in again; this fixes those. DISPLAY is for X11, WAYLAND_DISPLAY for Wayland, SWAYSOCK for the Wayland Sway compositor (if you use that), and SSH_AUTH_SOCK for ssh-agent, which remembers a password to unlock an ssh key for a while.

bind-key H pipe-pane -o "exec cat >>$HOME/'tmux-#I.log'" \; display-message "Toggled logging to $HOME/tmux-#I.log"

This sets up tmux to provide functionality that screen has out-of-box -- if you trigger it, it will start logging the output of the current console to a logfile in your home directory. Useful when you've already started a program and it's spitting out information that you need a copy of, or if you want it to not disable color output (something that many programs do when they detect that their output is connected to a pipe rather than a tty); with my settings, Control-o H will toggle logging for a given window.

# emacs-style keys
bind-key C-n next-window
bind-key C-p previous-window
set -g mode-keys emacs
set -g status-keys emacs

I like emacs-style keys rather than vi-style.

bind-key C-c new-window -c "#{pane_current_path}"

While tmux has a default keybinding (prefix-key c) to create a new window at the current working directory that tmux was started at, it has no binding to start a new window at the current working directory being viewed in a window at the moment, something I frequently want to do -- this makes prefix-key Control-c open a new shell at that point.

set -g visual-bell on

Beeping is obnoxious and in an open environment, can be disruptive to other people; many people switched to having their terminal flash rather than beep years back; many programs supported "visual bell", which is just flashing rather than playing a sound. It's not so bad these days, as Linux machines aren't typically playing irritating beeps out of on-motherboard speakers, but in general, I don't like having things beep.

Anyone else got useful snippets that they'd like to share that they use with tmux or screen?

134
submitted 4 months ago* (last edited 4 months ago) by tal to c/news@lemmy.world
 

Some California House Democrats don’t want the process to replace the president on the ticket to seem like a Kamala Harris coronation.

6
Defunct wiki (self.catadda)
submitted 4 months ago* (last edited 4 months ago) by tal to c/catadda@sh.itjust.works
 

Chezzo ran a wiki that was used by the game for some time at:

http://cddawiki.chezzo.com/cdda_wiki/index.php

A lot of useful information, like about martial arts and such, is on there. Unfortunately, that domain apparently went down about two months ago.

A (fairly-recent) copy of the wiki, archived in late March 2024, can apparently be viewed at:

https://web.archive.org/web/20240324103752id_/https://cddawiki.chezzo.com/cdda_wiki/index.php/Main_Page

It looks like archive.org also dumped a several-months-older copy of the site, from August 2023, with MediaWiki-scraper:

https://archive.org/details/wiki-cddawikichezzocom_cdda_wiki

I'd guess that this is sufficient to bring the Wiki back to life if someone with a MediaWiki setup wants to do so.

159
submitted 4 months ago* (last edited 4 months ago) by tal to c/world@lemmy.world
 

I can think of a handful of games that, despite being games that I've enjoyed, never really became part of a "genre". Do you have any like this, and if so, which?

Are they games that you'd like to see another entrant to the genre to? Would you recommend the original game as one to keep playing?

view more: ‹ prev next ›