@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

As a programming language designer, I think it's bound to happen, but every time it does, it really makes you question yourself:

When people shows they are better at using your language than you are.

I think game designers must feel this all the time.

loke, to random
@loke@functional.cafe avatar

So I watched the two first episodes of Andor (the Star Wars TV series).

Why were people raving about this? After two episodes there should be at least one likeable character, and I would have hoped at least something would have happened?

It may be because I have a general dislike for TV series which are not episodic. But, I get the feeling that this is something that was meant to be a movie, but the writer was told to stretch it out into a TV series. The stuff that happened in the first two episodes could have been 5 minutes.

loke, to random
@loke@functional.cafe avatar

OK, all those aurora photos. I think this is one of the few times I regretted moving to the equator.

loke, to random
@loke@functional.cafe avatar

I have some broken CSS. I changed the CSS used in the language documentation, and it looks OK with one exception: There is a horizontal scrollbar, and when I move it, it doesn't look good anymore.

Here's a link. The problem should be pretty obvious:

https://kapdemo.dhsdevelopments.com/tutorial.html

I kinda suck at CSS, so I can't fix this. Is there some simple change that can be done to stop the horizontal scrollbar from appearing? (perhaps the method I used to put the menu on the left is wrong?)

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

How many "K"-sounds in "Connecticut"?

loke, to random
@loke@functional.cafe avatar

Microsoft seems to have fired all their translators and replaced them with ai. That's the only explanation I have for the absolutely horrendous Swedish translation of Microsoft teams.

It's such basic grammatical errors where single labels in a button gets the wrong grammatical form because someone just translated the word itself without being aware of the context the word occurs. It's immediately obvious so it's clear that no one who speaks the language even opened the application.

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, (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, to random
@loke@functional.cafe avatar

Sorry for beating the dead horse. But our favourite Apple fan is endorsing the Tiktok ban. I thought he was against the government telling companies what to do?

loke, to random
@loke@functional.cafe avatar

I'm about to migrate my custom domain away from using Google mail to Protonmail.

I've already added one domain, and it accepts mail from gmail correctly, so I'll assume that I managed to configure it correctly.

However, I'm now ready to move over the primary domain, which is on Google right now. Is there anything I should consider? Will everything just work, or are there issues caused by Google being asked to deliver emails to a domain that it believes it controls? (my plan was to change the DNS first, and once I confirm everything works, I'd disable the domain on the Google side).

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.

loke, to random
@loke@functional.cafe avatar

Oh my lord. Gruber is really doubling down on his defence of Facebook using the argument of "how dare you tell me I have to stop robbing banks? How else can I preserve these profits?". Along with a sprinkle of not understanding that the DMS only applies to large dominant companies.

Did anyone write a good rebuttal to this yet? I need something to clean the bad taste from my mouth.

loke, to random
@loke@functional.cafe avatar

Is there really no generic sparse array library for Java?

I've been searching, and I really can't find anything. You have some maths-oriented libraries (like commons-math) that can do linear algebra on sparse arrays, but their implementations are always tied to the maths, and are not generic.

In my case, I have n-dimensional arrays of maybe a billion elements, and sometimes I put only 10 elements in it. Sometimes, it may be thousands or millions, and sometimes it's completely filled. I'd like something that handles these cases for me, so I don't have to try to implement this myself.

loke, to infosec
@loke@functional.cafe avatar

I just booked my ticket for Black Hat Asia next week.

Anyone around here that are going?

#infosec #blackhat #blackhat24

loke, to random
@loke@functional.cafe avatar

If you create a survey about programming language usage, and your only choices for language includes Python, JS, Java C++ and Rust, you're probably not found to get very useful answers.

(Not a reaction to a specific survey, but I've seen things like this remarkably often)

loke, to random
@loke@functional.cafe avatar

While working on the function graph support in my language, I just randomly did a plot of cos(x) and sqrt(x) at the same time, and noted that they cross at about x=0.641.

My question to all the #maths people out there: Is there an analytic solution to this?

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

If you boost your own post, is it called a boast?

loke, to random
@loke@functional.cafe avatar

What in the F is a "Samsung AI TV" and who do they think is asking for one?

loke, to random
@loke@functional.cafe avatar

In Kotlin, the external and internal declarations are not opposites, which means you get function definitions like this:

internal external fun getCleanerWorker(): Worker<br></br>
loke, to random
@loke@functional.cafe avatar

Reading an article about EV's here. I don't think I'll be able to own an Audi e-tron.

loke, to random
@loke@functional.cafe avatar

I saw someone here have a take about #xz where they argued that this was a failure of using distribution artefacts, and if they had just used the repository upstream all would have been fine.

Dude, the guy had commit acces to the repository and was on their way to be the main maintainer. Eventually all the bad stuff would have been in the master branch.

What is the solution? Unlike others I don't claim to have it. Although more prevalent use of isolation would serve to lower the impact of any actual breach.

Qubes OS makes the assumption that everything is already compromised, which is the right approach, but Qubes OS takes too much discipline to use for anyone who isn't technical.

loke, to random
@loke@functional.cafe avatar

Don't worry door, thereis nothing dangerous here.

loke, to random
@loke@functional.cafe avatar

Extreme was spicy (so far, but I'm not done yet) but I'm willing to try the hell version.

loke, to music
@loke@functional.cafe avatar

Since there are a lot of bandcamp fans here, can someone recommend me some good noise music? Please recommend your own if you make this kind of stuff.

loke, to random
@loke@functional.cafe avatar

OK, the latest post from that famous apple guy made me surprisingly annoyed. Most of the time I ignore things I don't agree with as a difference in opinion, and most of the post was indeed things that could constitute as opinion.

But his comments on Facebook... Oh wow.

After thinking about this for a bit, I think I understand why his mind is so utterly unable to comprehend why what FB does is so bad. It's the belief that making money is always a good thing, and if someone wants to stop you from making money, they have to compensate you somehow.

The misunderstanding boils down to one thing: The the DMA collecting the personal data is not allowed unless you provide a way to out out.

It's that simple. It's really an illegal action, but they are nice enough to actually allow you to do it, if you provide an opt-out.

It should be such a simple thing, but his seething hate towards the EU has caused him to support Facebook of all people. The enemy of your enemy is not your friend.

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