@loke@functional.cafe avatar

loke

@loke@functional.cafe

Lisp, Emacs, APL and a bunch of other stuff.

From Sweden, living in Singapore.

I always work on a bunch of projects. My current major ones are:

A graphical frontend to Maxima: https://github.com/lokedhs/maxima-client

Kap: An APL-based programming language: https://codeberg.org/loke/array

#lisp #commonlisp #apl #retrocomputing #linux #kap #climaxima #emacs #atari #fedi22

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

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

Personally, I find Shorts to be utterly useless, and even annoying. You can't seek on them, you have to go through extra steps to even find out how old they are, they repeat endlessly like some sort of nightmare, and they're mostly created for a target I.Q. level of 50. So of course, big money for to be had!

loke,
@loke@functional.cafe avatar

@lauren can I just piggyback on your poat to mention the absolute worst thing about them. They loop with absolutely zero delay.

I never, ever, want to watch a video on loop unless it's specifically designed to do so.

loke,
@loke@functional.cafe avatar

@lauren it must be intentional, and I think it's because you're not supposed to get any respite. Not a moment to consider what you're doing. Moving to the next video starts it immediately, again with no chance of even thinking about doing anything else. An absolutely relentless attack on the senses.

loke, to random
@loke@functional.cafe avatar

So I was watching this Numberphile youtube video: https://www.youtube.com/watch?v=OtYKDzXwDEE

The guy wrote some Python code to draw the progression of these sequences.

As usual, in Kap that's just a single line. Not a particularly complicated line at that. Show the first 15 iterations:

chart:line { +/1,math:divisors โบ } 15โด276<br></br>

Try it in your browser

loke, to random
@loke@functional.cafe avatar

This answer came from a post on Quora, and where the posted got the answer from should be obvious.

Oh, and the date is wrong. The actual date that particular statement was posted was this year.

loke,
@loke@functional.cafe avatar

@oantolin Depends on what you mean by "exists".

I have a version that compiles an APK that presents a UI where you can type Kap code and run it.

Is the UI usable? Absolutely not. It's a good foundation for anyone who is willing to build it though. ๐Ÿ™‚

https://codeberg.org/loke/androidkap

atomicpoet, to random
@atomicpoet@atomicpoet.org avatar

Today, there was an astounding 65 games released on Steam. And yes, I looked at every one of them trying to find potential gold. These were the ones I found most interesting:

Trinity Survivors

  • a bullet hell action rogue-like shooter with cute and diverse characters
  • gamepad support
  • online co-op
  • Price: C$12.99, but currently at -30% discount selling at C$9.09

A Day in the Palace

  • a multi-choice visual novel where you play a Polish servant trying to solve a mystery at a noble court
  • Mac port available
  • Price: FREE!

STAR SHREDDERS

  • a top down shoot โ€˜em up with 2.5D graphics and a synthwave soundtrack
  • gamepad support
  • Price: C$5.69, but currently at -20% discount selling at C$4.55

Mission: Mars

  • a FPS where you and your team must survive against Martian wild life to secure the future of humanity on Mars
  • Price: C$10.49, but currently at -30% discount selling at C$7.34

Surmount: A Mountain Climbing Adventure

  • a 2.5D procedurally generated mountain climbing simulation with whimsical characters and colourful environments
  • gamepad support
  • shared/split screen co-op
  • soundtrack available as DLC
  • Mac port available
  • Steam Deck verified
  • Price: C$19.49, but currently at -10% discount selling at C$17.54

King Island 2

  • a comedic hack-and-slash RPG that started life as a Flash game
  • Price: C$3.89, but currently at -15% discount selling at C$3.30

Great Houses of Calderia

  • a medieval strategy RPG focused on the intrigue of a noble family
  • Price: C$32.50, but currently at -40% discount selling at C$19.50

Party Pirates

  • a pirate-themed couch co-op with lots of minigames
  • gamepad support
  • shared/split screen co-op
  • Price: C$12.99

INDIKA

  • a dark and surreal third person puzzle game about an Orthodox Christian nun and her relationship with God
  • gamepad support
  • soundtrack and artbook available as DLC
  • Price: C$32.50, but currently at -10% discount selling at C$29.25

SU - Unlocking the 4th Dimension

  • a nautical-themed 2.5D psychological horror and deduction puzzle about uncovering a mystery
  • Price: C$3.89, but currently at -10% discount selling at C$3.50

Banana Hell: Mountain of Madness

  • a precision platformer where you try to avoid hearing a bananamanโ€™s monologue
  • gamepad support
  • Price: C$1.29, but currently at -16% discount selling at C$1.09

Chrono Ark

  • an anime-themed rogue-like deckbuilder RPG where you recruit, train, and build investigators trying to return the world to normal
  • gamepad support
  • playable on Steam Deck
  • additional content available as DLC
  • Price: C$32.50, but currently at -25% discount selling at C$24.37
loke,
@loke@functional.cafe avatar

@atomicpoet Thank you for these reviews. I have bought a few games based on them, and I would never have even looked at them if it wasn't for your effort.

Daojoan, to random
@Daojoan@mastodon.social avatar

Did you know there are writings from ancient Greece that talk about how culture is in decline and writing is dying?

For thousands upon thousands of years, people have been saying the same thing.

https://joanwestenberg.com/blog/everything-is-always-dead

loke,
@loke@functional.cafe avatar

@Daojoan There is some irony that this article is accompanied with a weird ai-generated image.

I don't know what the irony is though.

Edent, (edited ) to random
@Edent@mastodon.social avatar

You receive a call on your phone.
The caller says they're from your bank and they're calling about a suspected fraud.

"Oh yeah," you think. Obvious scam, right?

The caller says "I'll send you an in-app notification to prove I'm calling from your bank."

Your phone buzzes. You tap the notification This is what you see.

Still think it is a scam?
1/3

loke,
@loke@functional.cafe avatar

@MadMike77 @glitzersachen @CaptainJanegay @Extelec @Edent Same. I'm always very careful to properly call back for verification, but in this case the validation via the application makes it seem legit, even though it isn't after thinking about it.

If I was in a hurry, I can almost guarantee I'd fall for it too, so this post was a very useful reminder.

gamingonlinux, (edited ) to random
@gamingonlinux@mastodon.social avatar

I want to do a test on how much traffic and resources the Mastodon embed takes on my server, so boost this plz

Edit: all done, you can stop sharing now lol

https://www.gamingonlinux.com/2024/05/steam-deck-most-played-for-april-2024-has-plenty-of-fallout/

loke,
@loke@functional.cafe avatar

@gamingonlinux As @jeffgerstmann mentioned in the podcast, people have discovered they made a whole game series based on the TV series. Shocking. ๐Ÿ™‚

avp, to norge
@avp@fosstodon.org avatar

It turns out that in Norwegian "Gรฅ lรธp" literally means "Go run". Not sure if those words in Norwegian are used together in such way very often, but at least I found some examples.

I'm amused that this sounds almost exactly like "Gallop" in English (BTW, there's a word "ะ“ะฐะปะพะฟ" in Russian that sounds almost identical to "Gallop".)

loke,
@loke@functional.cafe avatar

@avp the word gallop comes from French, while Swedish lรถpa, which I am pretty sure is the same as Norwegian lรธp is a much older word which is found in various versions in Danish and Icelandic too. It can also be found in English as the word leap.

Now, my French is not very good so I'm not sure how to investigate the etymology of that word.

loke, (edited ) to FreeBSD
@loke@functional.cafe avatar

FreeBSD help requested!

Long story short: I have an important system failing to boot, and I've already broke something, and I would really appreciate someone giving some suggestions before I break it even further.

So I have a home server running FreeBSD, with a zfs-root SSD and a separate zfs volume with some spinning disks keeping all the data.

All of a sudden, the machine went down and failed to reboot. I connected a monitor to it and it was stuck with an error saying it was unable to boot an operating system, pressing a key got me to the "OK" prompt, and waiting for a reboot got me into the bios config.

It's been a while (and one upgrade to FreeBSD 14) since I installed it, and booting from the FreeBSD installer and using gpart to check the partitions shows that I have both an EFI and a freebsd-boot partition on there.

I tried to reinstall the bootcode using:

gpart bootcode -p /boot/boot1.efi -i1 nda0<br></br>

But this did not change anything.

Then I thought that perhaps I was using BIOS and used that instead:

 gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 2 nda0<br></br>

Well,.that was a bad idea. Now nothing boots, and the drive doesn't even show up in the bios settings screen as a bootable drive anymore.

At this point I realise I'm flailing aimlessly and probably shouldn't touch the drive anymore.

I'm pretty sure the zfs root is still there, as I can see it if I do zfs import, but I haven't tried importing it after booting from the USB drive.

loke,
@loke@functional.cafe avatar

@itmike this sure looks similar. And I did indeed upgrade the zpool recently. I'll try this when I get back home. Thanks so much for the help.

I hope I didn't ruin anything with my attempt at restoring the bootcode. If you recall, it stopped finding the bootloader in the first place after I tested something.

gwynnion, to random
@gwynnion@mastodon.social avatar

The ruling class have lots of excuses for why cops should bash kids' head in for disagreeing with them. It's always "outside agitators," "Russian disinformation," or "the TikTok."

If the protesters really were fake ultra-violent professionals instead of ordinary college students, they'd be on campus with AR-15s and shit, not bike chains and empty water canisters.

But there's an audience of older, conservative people who want a reason to hate these kids.

loke,
@loke@functional.cafe avatar

@gwynnion Wait, what? I needed a strong chain and went to a motorcycle store and bought the ones they use to lock those.

Apparently, in the US anyone can guy a lethal gun, but buying a chain makes you a criminal.

brusgaard, to random
@brusgaard@archaeo.social avatar

Fieldwork has been keeping me busy. Yesterday we found a Late #Neolithic (~2500 BC) sherd among our #BronzeAge farmsteads (~1500 BC). It could be a remnant of older occupation, or it could be an intrusive find because a busy badger dug a lot of tunnels in this area ๐Ÿฆก๐Ÿ˜‚
#fieldwork

loke, (edited )
@loke@functional.cafe avatar

@brusgaard can you tell anything from that piece? Like age or origin?

stefan, to til
@stefan@stefanbohacek.online avatar

#TIL about Internet Underground Music Archive, "the internet's first free hi-fi music archive", which "existed as FTP and Gopher sites, before the World Wide Web was widely used."

https://www.iuma.com

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

#history #internet #music #IUMA

loke,
@loke@functional.cafe avatar

@stefan They had some much good stuff. I used to play a lot of electronic stuff from there.

dyalog, to random
@dyalog@mastodon.social avatar

Week 10! This is a fun one!

loke,
@loke@functional.cafe avatar

@dyalog May I offer an absolutely stupid alternative implementation of the same thing?

โŠƒ { 0=โŒŠ0.5+(โˆ˜.-โจ โณโต)รท3 }/<br></br>
jensclasen, to random German
@jensclasen@mastodon.social avatar

The German language often seems so austere and fact-based.

But actually, there are some very cute ways of saying things:

  • Staubsauger (dustsucker) = vacuum cleaner
  • Kopfkino (head cinema) = making up a story in your mind
  • Luftschlรถsser bauen (to build air castles) = to follow unrealistic dreams
  • Purzelbaum (tumble tree) = somersault o. t. floor
  • Schnapsidee (booze idea) = idea that sounds as if you're drunk
  • Herzlichen Glรผckwunsch! (heartly joywish) = Congratulation!

Enjoy our language!

loke,
@loke@functional.cafe avatar

@jensclasen You forgot another one non-germanic language speakers find funny: Krankenhaus.

cstross, to random
@cstross@wandering.shop avatar

This is not a software glitch, it's the Y1C problem: old mainframes were so storage-constrained that they only allocated two decimal digits for passenger age, and adding another digit would mean rewriting software that in some cases has been in use and constantly patched since the late 1950s.
https://press.coop/@BBCNews/112345996328670433

loke,
@loke@functional.cafe avatar

@ovid @cstross That reminds me of a story someone told me many years ago, so it's not first-hand but I can certainly see how it's true.

The company that the person who told me this worked for (or consulted for) was unable to run the program they had been using for ages. This happened after the machine was rebooted (or IPL'ed as it's called in the IBM mainframe world).

When they analysed the problem they realised the program itself was no longer on the disk. It had been deleted, and since it was already loaded, no one noticed until they had to reboot which cleared memory.

They didn't have any media for it, so eventually they had to contact the vendor. Turns out the had gone out of business years (10 or more?) prior. The application had been loaded by a representative of the vendor, and the machine hadn't been rebooted since then.

thomasfuchs, (edited ) to random
@thomasfuchs@hachyderm.io avatar

lol both Mastodon and Bluesky now have Twitter cofounders on their boards and both have blockchain people as well

(Update: hereโ€™s the link to announcement of new US-based nonprofit: https://blog.joinmastodon.org/2024/04/mastodon-forms-new-u.s.-non-profit/)

loke,
@loke@functional.cafe avatar

@thomasfuchs wait what? Mastodon too?

loke,
@loke@functional.cafe avatar

@thomasfuchs Which one is it? Blockchains are not mentioned in the text at all (thankfully)

loke, to random
@loke@functional.cafe avatar

So, I wanted to know how long 15552000 seconds is, so I asked Wolfram Alpha:

garritfra, to microsoft
@garritfra@fosstodon.org avatar

No , I would not like to schedule a work meeting at 6:30 PM to 7 PM.

loke,
@loke@functional.cafe avatar

@garritfra That would be normal or even early for me. ๐Ÿ™‚

Then again, it's my choice to work a lot with Europeans.

zyd, to linux
@zyd@emacs.ch avatar

So uh, whats a distro that's like Fedora where shit usually just works and it has up to date packages but IS NOT bleeding edge?

Ruled out:

  • Gentoo
  • Arch
  • Debian
  • Ubuntu
  • nix
  • Guix (I like to install this on top of a base distro)

Bonus if its well maintained as a community project and is not a corporate frontend (i.e Fedora->Red Hat).

loke,
@loke@functional.cafe avatar

@zyd Qubes OS. With it you don't even have commit on a single distribution, but you can use all of them at the same time, and transparently switch between them.

gedeonm, to random
@gedeonm@mastodon.social avatar

Tesla has texted or called me at least 10 times in the last month to offer incentives if I lease a new car with them after my Model Y ends at the start of May. They are quite litterally desperate.

If I chose to re-up with them I could get quite a deal. Iโ€™ve told their reps multiple times I wonโ€™t support Tesla as along as Elon Musk is the CEO of the company. Gotta wonder how long Tesla shareholders will put up with him in charge. https://mastodon.online/@electrek/112201815082910986

loke,
@loke@functional.cafe avatar

@gedeonm I wish I had a Tesla so I could do the same.

Instead, my congratulations for doing great work will have to be sufficient.

00dani, to random
@00dani@elekk.xyz avatar

guilty gears as text posts tbh ๐Ÿงต

loke,
@loke@functional.cafe avatar

@00dani maybe he had played Tales Of Symphonia and wanted to be precise?

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