@jannem@fosstodon.org avatar

jannem

@jannem@fosstodon.org

Programmer and computational neuroscientist, now HPC support engineer in Okinawa, Japan.

Photography, bouldering, recreational programming and playing the sanshin are things I do.

Sweden, Osaka and Okinawa are places I particularly care about.

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

ianbetteridge, to random
@ianbetteridge@writing.exchange avatar

I think is spot on. The culture has changed (and Apple doesn’t see it). But also Apple’s place in the culture has changed and it is just another tech giant. I would argue, though, that’s down to Apple itself, and its behaviour. https://daringfireball.net/linked/2024/05/09/dhh-crush

jannem,
@jannem@fosstodon.org avatar

@ianbetteridge
It wasn't just the theme of the ad; the actual imagery plays, I think, a part.

If the instruments, paints and so on had been sucked through a giant funnel into the ipad I doubt there would have been much controversy.

It's the wilful destruction of items - items that for many of their users feel almost ensouled or alive - that really gives this a mean, spiteful edge for people.

jaseg, to linux
@jaseg@chaos.social avatar

So my just catastrophically self-destructed. I was using arch with the yubikey full-disk encryption package, when the machine hung and crashed during a system update. The machine crashed exactly after the old initramfs files were cleaned up, and before the new ones were written to disk. Since the yubkikey fde thing stores the seed ("challenge") for the luks key in the initramfs, all copies of the seed are gone now, and the data on that disk is unrecoverable.

jannem,
@jannem@fosstodon.org avatar

@jaseg
I ran Arch for four months recently. Even the Arch maintainers themselves describe it as a distribution building kit, not a distribution, and they're not wrong.

Using it was a fun experience and mostly very pleasant. But it made it crystal clear to me nobody should run plain Arch on a machine that would cause issues if it was suddenly lost.

If I had to choose between Arch and yubikey, I'd pick yubikey.

martijn, to coffee
@martijn@ieji.de avatar

I'm looking for a table for in the next to my couch in the sun. Any creative cool ideas? Can be can be premade can be an ikea hack. Should be able to fit at least two mugs, be easily movable

jannem,
@jannem@fosstodon.org avatar

@martijn
IKEA "Marius" stool. I use one as a table for my morning coffee on our balcony.

glassbottommeg, (edited ) to PCGaming
@glassbottommeg@peoplemaking.games avatar

fuckin Roll7 just died https://www.pushsquare.com/news/2024/05/olliolli-kerbal-space-program-teams-shut-down-by-gta-publisher

EDIT: Fuck, this is also Kerbel Space Program 2 toast. Didn't realize Intercept was the new team that was on that.

jannem,
@jannem@fosstodon.org avatar

@glassbottommeg
So ksp2 is dead :(

jannem,
@jannem@fosstodon.org avatar

@glassbottommeg
Yes; I thought this was the new team, but I may have gotten them mixed up. If the original team is gone then even worse - at least ksp is playable.

Sort-of related thought: seems a few projects have released games with serious performance issues (ksp2, Cities: skylines 2). Both use Unity. And they've hinted at a lack of expected engine features. I wonder if Unity promised multithreaded performance improvements on their roadmap to their customers and didn't deliver.

popey, to random
@popey@mastodon.social avatar

Just realised, it's been a couple of weeks and I haven't run "Hugo's Random Benchmark" on this M3 MacBook Pro yet!

2.6s - not bad. Can you do better?

/cc @darkling
https://popey.com/blog/2020/12/counting-to-100-million/

jannem,
@jannem@fosstodon.org avatar

@popey @darkling

Academic supercomputer: 4.3s

Not built for single-core performance :)

kwf, to random
@kwf@social.afront.org avatar

Another day, another conversation with an engineer trying to convince their work that Rocky Linux is not the way forward.

jannem,
@jannem@fosstodon.org avatar

@kwf
Why is Rocky not the way forward?

lauren, to random
@lauren@mastodon.laurenweinstein.org avatar

You have to admit that William Shatner looks damned good for 93.

jannem,
@jannem@fosstodon.org avatar

@lauren
And I'm convinced he still sings as well as he ever did!

elizabethtasker, to random
@elizabethtasker@mastodon.online avatar

I’m on my way to tennis, but everyone else on this train has a giant suitcase and is presumably departing the city for Golden Week 🤔

(“Golden Week” is a run of national holidays that occur in Japan end of April / start of May. This year they’ve fallen on the Monday, Friday, Saturday and Monday, which isn’t a great line up, but many people will supplement with their paid vacation and take the week away.)

jannem,
@jannem@fosstodon.org avatar

@elizabethtasker
Since this year is kind of bad I took this week off instead, and will return home tomorrow to work over the three day week. I figured I'd have the office to myself.

Unfortunately everyone else had the same idea so we'll all be there next week :/

cstross, to random
@cstross@wandering.shop avatar

Hypothesis: they followed a very strange polytheistic religion where places of worship were presided over by a "designer" and a high holy ritual was the "dungeon crawl", a bloody and lethal elimination contest in which rival teams of worshippers competed to reach a final sanctuary and receive their blessing. Human sacrifice awaited those who failed but nobody wanted to kill their friends and family so it was all automated: pits with spikes, crossbow traps …

@futurebird https://sauropods.win/@futurebird/112331734445593954

jannem,
@jannem@fosstodon.org avatar

@cstross @futurebird
"So yeah, word got around that we had a lot of gold. Bands of well-armed psychopaths started showing up for some light murder-robbery.

A couple of elders devised a plan: plant something expensive at the end of an obvious cave or pyramid, fill it with traps and let them kill themselves trying to get to the thing."

"What? Fight them directly? What part of 'psychopath' is difficult to understand? No way we're dealing with those people directly. You get hurt doing that." 🧵

Loukas, to random
@Loukas@mastodon.nu avatar

Swedish: bevis

Dutch: bewijs

Dutch is basically just Swedish with all the trimmings.

jannem,
@jannem@fosstodon.org avatar

@Loukas
Spelling Swedish while drunk.

jannem,
@jannem@fosstodon.org avatar

@Loukas
Or, how to insult three countries with a single sentence.

mrundkvist, to academia
@mrundkvist@archaeo.social avatar

Want to see a bizarre alternative academic career? Look at mine: failed to get into the teaching precariat, got a part time job editing a research journal, learned early how to get $3000 grants, published eight books and 40 journal papers, ended up a full-time research scholar at a Polish university from age 47. And my kids didn't starve or want! I don't know the official yardstick of success in . But personally I am satisfied.

jannem,
@jannem@fosstodon.org avatar

@mrundkvist
On the other hand I guess archaeology, like, say, law, is geographically limited.

With physics or neuroscience you might need a lab, but you can practice it anywhere in the world, no matter where you studied and what you specialized in. That really increases your range of employment opportunities.

loke, to random
@loke@functional.cafe avatar

Someone here mentioned the existence of the "reduce animations" setting on Android and I decided to try it.

After having used it for a week or two my conclusion is that oh wow, I had no idea just how exhausting all these fancy animations actually are. Not having everything zoom, swoosh and fly around and just place themselves in their expected locations feels so much less stressful.

I wonder if there are any papers written on the mental effects of excessive animations.

And I do agree that those animations are neat, and as an old demo programmer, I love their design, but they really are giving me a kind of mental fatigue.

jannem,
@jannem@fosstodon.org avatar

@loke
Hah! I just tried it.

Like @johncarlosbaez I've never noticed any animations. But once I turned it off it feels like my phone got twice as fast. Things happen instantly, not after a delay.

SirLich, to godot
@SirLich@mastodon.gamedev.place avatar

So, the Navigation Server in Godot is not returning shortest paths :(

As far as I can tell, it seems to be calculating the shortest path to ENTER a polygon, which can provide some very unreasonable results.

Does anyone know of a way to somehow alleviate this issue? Or do I need to write my own pathfinding?

#godotengine #godot #gamedev

jannem,
@jannem@fosstodon.org avatar

@SirLich
I kind of understand the reasoning that can lead to this issue.

As a workaround you could try add a polygon (disk) at your destination and path to that. I guess that might make it find the correct solution.

Edit: probably not. It'll still route through the large blue polygon first. If you split the polygon vertically into two it will likely work.

18+ loke, to random
@loke@functional.cafe avatar

So, here's my problem:

I have some code running in a webworker. This code is often doing very long-running stuff.

From time to time, the code in the webworker needs to request information from the UI, for example, it may ask the user to enter some information.

Pop quiz: How do I do this, if the code in the webworker cannot return to the event loop?

You'd expect a sane language to give you, well, something like a queue I can send arbitrary data to which can be received by the other thread?

Not JS. Of course not. This is all you get:

You have to use Atomics

Now... How to do it in practice?

Well, this is my attempt

Note that the code is in Kotlin, but it's compiled to JS.

It kinda don't work yet. I've only worked on it for a few hours. But it's my approach.

Why is it so insane? Well, let me tell you:

  • The only way to block (and only in a webworker) is to use Atomics.wait. This function blocks as long as a single element in a Int32Array has a specific value.
  • To change the value, use Atomics.compareExchange followed by a Atomics.notify
  • To send data from one thread to another, you create a fixed buffer in one thread, send that buffer to the other thread (using a message, so it has to be done in advance), this buffer can then be used for data exchange

Now, figure out how to reliably create a data transfer protocol using these tools. It's not fun.

I know this message doesn't make much sense, but I'm just so exhausted with this, and just needed to post something in an attempt to stay sane.

jannem,
@jannem@fosstodon.org avatar

@loke
This is similar to the kind of functionality you'd have in plain C/C++/Fortran through the posix threads interface (that's likely not a coincidence).

And this is also why, in HPC, we strongly recommend people to always use a library to do things like this and never roll your own. There has to be several js libraries out there able to give you a higher-level abstraction for doing this.

sundogplanets, to random
@sundogplanets@mastodon.social avatar

Time to run my horrifying python code that builds a bash script that I use to repeatedly call some fortran code and make output I pull back into python for calculating telescope pointings.

My deepest apologies to everyone here who actually has training in making good software. I'm doing science!

(And no, I'm not looking for advice. Hilariously, this dumpster fire of code works well enough, and I don't need to improve it right now.)

jannem,
@jannem@fosstodon.org avatar

@sundogplanets
I support user software at an HPC center. This wouldn't even make the top ten of janky software setups :)

jannem,
@jannem@fosstodon.org avatar

@sundogplanets
To be fair, few researchers have software development training, so jank is expected.

On the other hand, you could argue that this is becoming as essential as, say, statistics, and should be taught as a core skill along your actual field of study.

johncarlosbaez, (edited ) to random
@johncarlosbaez@mathstodon.xyz avatar

It looks like they've found protonium in the decay of a heavy particle! 🎉

Protonium is made of a proton and an antiproton orbiting each other. It lasts a very short time before they annihilate each other.

It's a bit like a hydrogen atom where the electron has been replaced with an antiproton! But unlike a hydrogen atom, which is held together by the electric force, protonium is mainly held together by the strong nuclear force. It's also much smaller than a hydrogen atom.

There are various ways to make protonium. One is to make a bunch of antiprotons and mix them with protons. This was done accidentally in 2002 during the first experiment that created antihydrogen. They only realized this upon carefully analyzing the data 4 years later.

This time, people were studying the decay of the J/psi particle. The J/psi is made of a heavy quark and its antiparticle. It's 3.3 times as heavy as a proton, so it's theoretically able to decay into protonium. And careful study showed that yes, it does this sometimes!

The new paper on this has over 550 authors, so I won't list them all. It also has a rather dry title - not "We found protonium!"

• Observation of the anomalous shape of X(1840) in J/ψ→γ3(π+π−), https://arxiv.org/abs/2310.17937

The idea here is that sometimes the J/ψ particle decays into a gamma ray and 3 pion-antipion pairs. When they examined this decay, they found evidence that an intermediate step involved a particle of mass 1880 MeV/c², a bit more than an already known intermediate of mass 1840 MeV/c².

This new particle is a bit lighter than twice the mass of a proton, 938 MeV/c². So, there's a good chance that it's protonium!

jannem,
@jannem@fosstodon.org avatar

@johncarlosbaez
Now let's see how long before a marketer incorporates "protonium" into high end golf clubs.

glennf, to random
@glennf@twit.social avatar

There’s a problem in technology: many people believe everything is on the same curve as transistor density. Most things aren’t. There’s often a sharp trend upward and then a stall. https://mastodon.cloud/@jasongorman/112267865098989336

jannem,
@jannem@fosstodon.org avatar

@glennf
Sigmoid and exponential trends looks much the same early on. But every trend ends up being a sigmoid sooner or later.

CultureDesk, to music
@CultureDesk@flipboard.social avatar

C.J. Snare, frontman of Firehouse, has died at age 64. The band had top 10 hits in the early '90s with "Love of a Lifetime" and "When I Look Into Your Eyes." His bandmates announced his death on Facebook. In a separate post, his partner, Katherine Little, said that the singer had been suffering from Stage IV colon cancer. Ultimate Classic Rock reports.

https://flip.it/HGZEyl

CJSnare

jannem,
@jannem@fosstodon.org avatar

@CultureDesk
If you're 45 or over, get that colonoscopy.

Colon cancer is easily curable if discovered early. And a camera up your behind will discover it if it's there. An easy lifesaver.

jannem,
@jannem@fosstodon.org avatar

@CultureDesk
There's a risk tradeoff there. A colonoscopy is pretty safe, but there is a small risk of injury (reaction to the medication; perforated colon and so on). Below a certain age/risk of occurrence it no longer makes sense to do it.

If you're younger and want to do something, then an occult fecal blood test is probably better. Easier and safer, and has a good chance of catching a tumor early enough.

pwaring, to random
@pwaring@fosstodon.org avatar

Don't think I'll ever buy something that needs assembly from Argos again. Part was missing when I opened the box.

  1. Online order of spare parts: Not available for this item (it doesn't have a part number).

  2. Online chat: We can't do anything, call the store.

  3. Call store: Always busy so you get redirected to the overflow call centre... who can't do anything.

  4. Visit store: TODO

IKEA OTOH: 6 digit code for each part, order online, posted immediately free of charge, no quibble.

jannem,
@jannem@fosstodon.org avatar

@pwaring Or you can go to an Ikea store and they have a wall near the service center full of bins with all their fasteners, nuts and bolts and so on, and you can just roll up and pick a few of the ones you're missing.

coffeegeek, to coffee
@coffeegeek@flipboard.social avatar

A Grinder PSA.

I know James Hoffmann, in a few videos now, heavily suggests doing the RDT (ross droplet technique) on coffee in single dose grinders; indeed, in one video, he heavily suggests doing this 3x as much to get, as he says 'better anti static results". He even demos it on a DF64 Gen 2 in his Best grinders under £500.

But he's wrong. At least with grinders equipped with a plasma generator.

Doing the RDT on grinders with a plasma generator (like the DF64 Gen 2) WILL GUM UP the works inside around the plasma coil, making it 100% ineffective, and increase the overall static issues.

Don't RDT any grinder with a plasma coil.

Got this direct from TWO grinder manufacturers. I've been told one is trying to get James to do a new video "recanting" the advice. It's causing them a lot of service calls.

cc @coffee @espresso

jannem,
@jannem@fosstodon.org avatar

@coffeegeek @coffee @espresso
You'd think you know you have an antistatic device since your grounds aren't clingy in the first place.

Doing RDT in winter with my grinder makes such a major difference it's not even funny (summer is really humid, and RDT isn't necessary).

jannem,
@jannem@fosstodon.org avatar

@coffeegeek @tredstone @coffee @espresso
I do, and it makes a big difference with my 1zpresso grinder.

Interestingly, I never had to do it with my cheap all-plastic Hario mini slim. You'd naively think it'd be the other way round.

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