@klausman@mas.to
@klausman@mas.to avatar

klausman

@klausman@mas.to

Sysadmin/SRE for two decades or so. Published SF author. Definitely a nerd. Computers, Go, Linux, alternative arches. Some gaming. Vinyl and Music in general.

Not LGBTQ+ but trying to be a good ally.

Banner picture is a metal bowl filled with glowing charcoal embers with flames atop, photo taken at night.

Avatar is a colorful oil painting, with abstract explosion-like shapes.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

18+ jacqueline, to random
@jacqueline@chaos.social avatar

WHO WANTS FUCKING AI IN THEIR TERMINAL EMULATOR. FUCK OFF!!!!!

klausman,
@klausman@mas.to avatar

@jacqueline I have a personal and entirely subjective dislike for ligatures. Can they be disabled even if the font(s) in use support them?

nyrath, to random
@nyrath@spacey.space avatar

Derek Lowe's "Things I Will Not Work With", a series about insanely dangerous chemical compounds.

In this episode, The Higher States of Bromine.

https://www.science.org/content/blog-post/higher-states-bromine

klausman,
@klausman@mas.to avatar

@nyrath One of the great things about many of these reactions/compounds is that the enterprising SF writer can use them as traps, since a spacestation or somesuch can have a supply of them, nice and calm at 1K, and then adventurous salvagers show up and turn on the heat.

klausman,
@klausman@mas.to avatar

@nyrath Also see: Hardspace: Shipbreaker.

kernellogger, to linux
@kernellogger@fosstodon.org avatar

A question for experts on bisecting the :

Assume someone runs into a regression when updating from 6.1.90[1] to 6.6.30 that needs bisecting. What do you suggest:

  • Check manually which mainline release (e.g. 6.2, 6.3, ...) introduced the problem and afterwards bisect between that and the previous release.

  • Bisect straight between 6.1 and 6.6.30.

1/ I guess I would definitely go for…

[1] let's assume that 6.1 was fine for this scenario to keep things simpler

klausman,
@klausman@mas.to avatar

@kernellogger One thing of note regarding precompiled kernel packages is that they rarely if ever are vanilla, so even as a "pre-bisect" step, there be Dragons there.

sundogplanets, to random
@sundogplanets@mastodon.social avatar

Every chance I've had to interact with satellite operators in conferences, I've asked them about their plans for dealing with solar storms (I'm particularly worried about Starlink, which requires dozens of maneuvers per day to avoid collisions. What if a large fraction shuts down for a few hours?!)

The universal response to my inquiries has been "Don't worry about that, it'll be fine!"

I guess we're going to find out very soon. https://www.swpc.noaa.gov/

klausman,
@klausman@mas.to avatar

@sundogplanets Do you know of any such maps for Europe? What I could find just mumbled about high and mid latitudes which not exactly helpful.

thisnorthernboy, to sciencefiction
@thisnorthernboy@mstdn.social avatar
klausman,
@klausman@mas.to avatar

@thisnorthernboy Very nice work! How does it deal with the off-center-of-mass thrust vector?

mackuba, to golang
@mackuba@martianbase.net avatar

It's insane that I can have a conversation with this thing and in a few moments and a few back and forths build a working program in a language I know nothing about (I don't know Go)… don't tell me this isn't huge 😳

You: One modification - this current code counts all matches of all regexps against the text. So if one line of text matches two or more regexps, it will be counted as 2 or more. I want a given line of text to only be counted once if it matches
You: What's the command to compile this to a binary? ChatGPT: To compile a Go program to a binary, you can use the go build command followed by the name of the Go file you want to compile. If you want to specify the output binary name, you can use the -o flag followed by the desired name. Assuming your Go file is named main.go, you can compile it to a binary named my_program like this: You: Looks like
You: Great, that works 👍 Is there some way to compile this program in "release mode", with a more optimized version or something? ChatGPT: Yes, you can compile your Go program in release mode with optimizations using the go build command with the -ldflags flag set to -s -w, and the -trimpath flag set to remove the build path from the resulting binary. Here's the command to compile your program in release mode: You: I mean, not optimizations for binary size, but optimizations to make it faster? ChatGPT: Ah, I see! In Go, optimization for speed primarily comes from the compiler's default optimizations, and there isn't a direct flag to enable additional optimizations beyond what the compiler already does. However, there are some general principles you can follow to improve the performance of your Go program: Profiling: Use Go's profiling tools (go test -cpuprofile, go tool pprof, etc.) to identify bottlenecks in your code and optimize them. Profiling helps you understand (…)

klausman,
@klausman@mas.to avatar

@mackuba I have asked various LLMs for Go code in the past and every single time, there were at a minimum subtle bugs (off-by-one errors, using the stdlib wrong), and sometimes, they would hallucinate libraries that don't exist, combine them in ways that don't work etc etc. You got lucky here --- probably. How many edge and corners have you tested? That is what worries me about people using LLMs to create programs.

isotopp, (edited ) to random German
@isotopp@chaos.social avatar

https://hachyderm.io/@tobyhede/112329476255728961

Thank you. You can stop sending me this link. I have seen it.

I wonder how robust this is, and how valuable this is.

When writing PHPLIB two decades ago, I wanted to store simple session data in a database, and found that even simple data types such as VARCHAR (because of charset handling) and Date and Time types were not very portable.

On top of that there are often a lot of assumptions into query performance that go into SQL, …

klausman,
@klausman@mas.to avatar

@isotopp From my POV, the main advantage of using something like this adaptor is that just because a stupid webapp only supports MySQL for some reason, and for whatever reason the machine owner prefers or already has a Postgres instance, then they don't need to run both. It may not be sold on this as its primary purpose, but that's the most useful one I can see.

And yes, the webapp should just properly use some whatever DB abstraction its language has, and it wouldn't matter.

anderseknert, to random
@anderseknert@hachyderm.io avatar

"The best time to plant a tree was 20 years ago, the second best time to plant a tree is now".

Umm no, the second best time to plant a tree was 19 years ago.

klausman,
@klausman@mas.to avatar

@anderseknert Aksssshullly, 20 years minus Planck time ago. ;)

isotopp, to random German
@isotopp@chaos.social avatar

https://app.suno.ai/song/f38a9a71-6271-47a9-a899-218ee86f0372/

Ich glaube, dieses Stück AI generierte Musik wird mir noch oft sehr nützlich sein.

klausman,
@klausman@mas.to avatar

@isotopp Muss es mir peinlich sein, dass das für mich genauso wie 90% allen "Fantasy Metals" klingt?

klausman,
@klausman@mas.to avatar

@isotopp Aaaargh. opera vocals und Stromgitarren, da stellt sich bei mir alles quer.

nixCraft, to linux
@nixCraft@mastodon.social avatar
klausman,
@klausman@mas.to avatar

@nixCraft one question: sometimes I spot typos, how do I best report them? (in this case "runleves")

TechConnectify, to random
@TechConnectify@mas.to avatar

Today's video is twice as illuminating as usual
https://youtu.be/ZcH0j7tOrDA

klausman,
@klausman@mas.to avatar

@TechConnectify I see you have a new channel banner

mjg59, to random
@mjg59@nondeterministic.computer avatar

Forging digital artifacts is difficult - there's a huge number of moving parts and they keep changing and it all leaves traces. So here's a description of discrepancies between claims around evidence submitted in a court of law and the data hidden in that evidence: https://mjg59.dreamwidth.org/69507.html

klausman,
@klausman@mas.to avatar

@mjg59 I feel like faking that database would have required a VM or real hardware of correct vintage, a fitting OS, being isolated from the outside world, setting the date in BIOS setup before installing the OS, and then carefully, over several reboots while warping time again in setup, making those DB entries.

And then the email problem would still have existed. I think the trickiest part there was the Gmail format change. Not insurmountable, but you'd need to be aware of the problem first.

klausman, to random
@klausman@mas.to avatar

Watching Contagion (2011) when...

TechConnectify, to random
@TechConnectify@mas.to avatar

This is the sort of crap which makes me wonder what on Earth people are learning.

Nothing quite so powerful as being sure of a wrong thing!

klausman,
@klausman@mas.to avatar

@TechConnectify But all the medieval tapestries you surely have! And sconces! /s

giflian, to vinyl
@giflian@techhub.social avatar

Brought home more of my dad's vinyl yesterday. I grabbed a bunch of jazz this time, including an album that looked rather familiar, having seen it in a lot of record store websites.

I once did a jazz history class at UBC and this never came up.

@vinylrecords

klausman,
@klausman@mas.to avatar

@giflian @vinylrecords

Adam Neely did a great analysis of the most well-known song from that album, and its historical context (and how weird it really is):

https://www.youtube.com/watch?v=OFWCbGzxofU

oliverandrich, to golang
@oliverandrich@fosstodon.org avatar

The more I play around with #golang, the more I wish I had a solution to bundle a #django application into a single executable instead of having to deal with containers and stuff. This would be very handy for the small and mid sized webapps I built from time to time and also for some of the apps we built at work. May be I should spent some time to investigate this.

klausman,
@klausman@mas.to avatar

@oliverandrich Wait until you learn that you can easily embed (and thus package into a monolithic binary) all your templates and static files, too! 😉

nyrath, to random
@nyrath@spacey.space avatar

High-level radioactive waste disposal (1974)

Contains a short discussion on using the Space Shuttle to send radioactive wastes into deep space

https://www.osti.gov/biblio/4313401

Click on the green "View Conference" button to download PDF report

klausman,
@klausman@mas.to avatar

@nyrath "to final space destination" does a lot of heavy lifting here. Where would one dispose of radioactive waste?

And yes, I am well aware that "dump into the sun" is energetically infeasible. "Sling into the void" is more so, but seems really inconsiderate.

klausman,
@klausman@mas.to avatar

@DamonWakes @nyrath You need to lose a lot of orbital speed to "descend" to the sun. More than you need to gain to leave its influence. (Both assuming you start from earth (or an earth orbit)).

ETA: Look up "Delta-v map of the solar system" to see how much is actually necessary. I think it's something like 440km/s on the last leg.

klausman,
@klausman@mas.to avatar
klausman,
@klausman@mas.to avatar

@DamonWakes @nyrath

According to that poster:

Earth-Sun: 648.29km/s
Earth-Jupiter: 67.49km/s
Earth-Escape Solar system: 18.02km/s

So yes, leaving the solar system costs less energy than dumping something into Jupiter.

All of these numbers ignore flyby/slingshots and aero/lithobraking.

klausman, to random
@klausman@mas.to avatar

Using BGP to route around in... EVE? And the London Underground (which is not a terrorist organization).

https://blog.benjojo.co.uk/post/eve-online-bgp-internet

TechConnectify, to random
@TechConnectify@mas.to avatar

I've got a new video out today, and making it it was truly a blast!

https://youtu.be/AEm-2giH_zw

klausman,
@klausman@mas.to avatar

@TechConnectify

Delightful video, thank you!

What's the best way to report subtitle typos? In this one the first mention of Sylvania is spelled "Syvlania".

klausman, to random
@klausman@mas.to avatar

Peak 1984 nerdery: on the beach, Zenith luggable, can of Bud and a copy of Omni.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • magazineikmin
  • khanakhh
  • InstantRegret
  • rosin
  • Youngstown
  • everett
  • slotface
  • ngwrru68w68
  • mdbf
  • tacticalgear
  • kavyap
  • DreamBathrooms
  • JUstTest
  • cubers
  • Durango
  • cisconetworking
  • Leos
  • modclub
  • ethstaker
  • GTA5RPClips
  • osvaldo12
  • normalnudes
  • provamag3
  • tester
  • anitta
  • lostlight
  • All magazines