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

loke, to random
@loke@functional.cafe avatar

Sadly, not a single Sinclair could be found.

goatsarah, to random

So I just had a transphobe try to piggy-back off a recent popular post I made, presumably to gain reach. i have a decent following here on fedi, but am a micro instance. They too were a micro instance. By default, people on micro instances are not easily discoverable other than by interaction, so if you have a following on one, it’s generally because you’ve built it “organically”, as it were.

They presumably thought that by posting transphobic rage bait in response to me, they could get me to reply, and my reply would federate to my followers, and then they’’d be seen.

Instead I just instantly defederated their server with no response.

They are howling into the void, and nobody is there to hear.

This is not Twitter. Just because someone replies to your thread doesn’t mean the rest of the word will see it. This is the achillies heal of bigots here. Most big instances will moderate them into oblivion, so they start micro instances, but unless people actually like what you’re saying, and interact, you simply won’t federate.

And they won’t even know I made this post now. LMAO! LOL!

loke,
@loke@functional.cafe avatar

@goatsarah that's a nice explanation. Thank you for this, and I'lluse this as an example the next time Ihave to explain what the Fediverse is.

Now, I'm sure there are people who will argue that this is what makes the Fediverse bad, since it's very hard to "go viral". And I'm sure I could hace been seen by more people if I started posting on, I don't know, instagram? But you know what? Quality over quantity.

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

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.

#freebsd

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.

kopio, to random

Whenever I'm VERY bored, I would consider installing Linux.

loke,
@loke@functional.cafe avatar

@kopio having experienced getting Linux to run on laptops in the early days, I don't think there is ever much of a problem to get it to work on laptops these days. What model of laptop is this?

loke,
@loke@functional.cafe avatar

@kopio if X is more than 15 then it's understandable. I think in the last decade things have been inedible good compared to how it used to be.

But, the reason I asked for the model of computer was that I planned to search to see if there are any obvious issues with the hardware in that particular machine. Sometimes it's possible to tell how well it'll work.

loke,
@loke@functional.cafe avatar

@kopio a good place to check is the Archwiki page for the machine you're using. This is useful even if you're not using Arch, since the same things should work on most Linux distributions.

https://wiki.archlinux.org/title/Laptop/Lenovo#IdeaPad_series

loke,
@loke@functional.cafe avatar

@kopio the table is very green so I'd suspect it'll work fine

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

#APLMonday Week 10! This is a fun one! #dyalog #APL #LearnAPL

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.

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.

kopio, to random
loke,
@loke@functional.cafe avatar

@kopio when isn't it monsoon season? I measure it by whether I can go on an MTB ride without having the bike covered in mud afterwards, and in the last 12 months I think that happened no more than 3 times.

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