@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.

jannem, to random
@jannem@fosstodon.org avatar

Methinks the rainy season has started on .

mrundkvist, to TaylorSwift Swedish
@mrundkvist@archaeo.social avatar

Legendarisk litteraturvetare, 88 år gammal, som bl.a. översatt den Äldre Eddan, recenserar .

jannem,
@jannem@fosstodon.org avatar

@mrundkvist
Enda jag inte är överens med honom är att det är värt att see henne live. Vi såg konserten i Tokyo och det var absolut värt det.

En live föreställning som är välgjord och ärligt menat är alltid värd att se, nästan oavsett innehållet. En inspelning är inte samma sak.

jannem, to sweden
@jannem@fosstodon.org avatar

There's no post offices any longer? What's going on with this place?

thisismissem, to random
@thisismissem@hachyderm.io avatar

Interesting thought after watching the latest Philosophy Tube:

Are free software purists living with a phantasm?

You know, the types that yell at people who get paid to work on open source.. because they're getting paid to produce something that's given away for free.

(I don't know the answer to this)

jannem,
@jannem@fosstodon.org avatar

@thisismissem
The same people that tell you you can make money by selling services around the software, then get angry at Canonical for doing exactly that.

Not a large group but an embarrassingly loud one.

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

Probably coming soon: "AI FOOD! Have conversations with your meats, fruits, and vegetables before consuming them!"

jannem,
@jannem@fosstodon.org avatar

@lauren
Restaurant at the end of time?

mrundkvist, to random
@mrundkvist@archaeo.social avatar

One of the most confusing issues in Leftie political debate is Kenta's social class. In the orthodox Marxian view it's simple: maybe Kenta is petit bourgeois, but he's certainly an employer, and that's it: upper class. In the sociological view, it's equally simple: Kenta is a skilled manual labourer with a few employees and probably no university degree: working class. Then there's the American usage, where as the owner of a small construction business, Kenta is middle class.

jannem,
@jannem@fosstodon.org avatar

@mrundkvist
What does Kenta think he is? Does that factor in to other definitions?

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.

drewdevault, to random
@drewdevault@fosstodon.org avatar

I needed a break from Real Work, so I'm speedrunning writing a Unix-ish operating system

Day 3

jannem,
@jannem@fosstodon.org avatar

@drewdevault
Congratulations! 🎉

Pro tip: don't bring your laptop.

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?

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.

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