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

rbreich, to random
@rbreich@masto.ai avatar

Apple shares lost 10% of their value.

Then Apple announced plans to buy back $110 billion of its own stock.

After that, Apple shares had their best day since 2022.

There's a reason stock buybacks used to be considered illegal stock manipulations.

They should still be banned.

loke,
@loke@functional.cafe avatar

@Kierkegaanks @rbreich Buybacks is a different thing. Apple has a ridiculous amount of cash, and a buyback means that they can find nothing better to do than to invest it into their own stock.

It's also a signal that Apple considers their own stock a great investment, so if you trust Apple (not saying you should, but if you are one of the people that do) then you might want to follow their lead and buy some of their stock. So the stock price increasing after a buyback announcement is nothing surprising at all.

liztai, to random
@liztai@hachyderm.io avatar

Coworking at a fancy coworking space today ✌️

loke,
@loke@functional.cafe avatar

@liztai Village grocer is in JB, isn't it?

loke,
@loke@functional.cafe avatar

@liztai you're right. Checking google maps shows a large number in the kl area. Most of them, actually.

mr_daemon, to retrocomputing
@mr_daemon@untrusted.website avatar

I'm afraid grandpa Sun Ultra 10 might have booted his last. He simply turned off and never turned back on over the period of however long my expire record in my DNS zones are (which is when I noticed).

It spent over 25 years computing quietly and never exhibiting any issues prior, it will be missed if I can't resurrect it.

#RetroComputing #sun #OldComputers

loke,
@loke@functional.cafe avatar

@mr_daemon I used to have an Ultra 60 on my desk. The first to be delivered to Sun in Sweden in fact.

loke,
@loke@functional.cafe avatar

@mr_daemon I used to have an Ultra 60 on my desk. The first to be delivered to Sun in Sweden in fact (maybe there was one in the hardware lab before then, not sure).

loke,
@loke@functional.cafe avatar

@mr_daemon I used to have an Ultra 60 on my desk. The first to be delivered to Sun in Sweden in fact (maybe there was one in the hardware lab before then, I'm not sure).

loke,
@loke@functional.cafe avatar

@mr_daemon I used to have an Ultra 60 on my desk back when I was working at Sun. The first to be delivered to Sun in Sweden in fact (maybe there was one in the hardware lab before then, I'm not sure).

mr_daemon, to random
@mr_daemon@untrusted.website avatar

@loke Lovable little tanks they are <3

loke,
@loke@functional.cafe avatar

@mr_daemon Yes. Along with the Ultra 1 and 2. Sadly the later 5 and 10 felt less reliable.

loke,
@loke@functional.cafe avatar

@mr_daemon Yeah, I felt really lucky that I was able to snag that Ultra 60, with a lot of my colleagues using the 5 and 10.

loke, to random
@loke@functional.cafe avatar

I'm currently trying to decide on the syntax and semantics of field lookup in Kap.

The general syntax of looking of a value in a named field will be the use of the period, just like most object-oriented languages. Such as: foo.bar to look up field bar in the value referenced by foo.

Now, the primary datatype in Kap is of course the array, with the majority of them being 1- and 2-dimensional. Kap also provides the ability to attach labels to any axis, so I can name the the axes of a 3-by-3 array of numbers like this:

    "foo" "bar" "xyz" labels 3 3 ⍴ ⍳9<br></br>┌───┬───┬───┐<br></br>│foo│bar│xyz│<br></br>├→──┴───┴───┤<br></br>↓  0   1   2│<br></br>│  3   4   5│<br></br>│  6   7   8│<br></br>└───────────┘<br></br>

Now, if I have such an array, what better way to select a column than to use the period? So if the above array is tored in the variable "abc", then typing abc.bar would return a 1-dimensional array of the numbers 1 4 7.

Now, this may seem straightforward, but there are some details that makes this a big tricky to get right.

Currently, the labels are strings. But when I parse an expression like foo.bar, the foo and bar are symbols. And symbols in Kap has a namespace attached to them. The semantics of symbols and their namespaces in Kap are almost identical to Common Lisp.

So one may think that the best approach is to allow symbols to be labels, and then permit lookup using the period only for labels that are symbols.

The problem with that is that is that when creating such labels, you have to choose if you use symbols in your own namespace, or if you want to use keywords. If the user of the array is in a different namespace, the way to look up an axis would then be either using keyword:

foo.:bar`<br></br>

Or, if the label is in the namespace of the source:

foo.namespace:bar`<br></br>

Both of which looks ugly.

Since keywords would be by far the most common, you'd want plain foo.bar to refer to the keyword :bar, but then accessing elements in your own namespace wouldn't have a natural syntax.

And yes, I know an alternative is to use plain string matching (similar to how the Common Lisp LOOP macro matches symbol names using strings). That feels a bit ugly though.

TechConnectify, to random

Just having a wild night over here.

loke,
@loke@functional.cafe avatar

@TechConnectify @nul42 I like my Kia Niro, but I was driving behind an Ioniq 5 this morning, and I kinda wish I had one.

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.

joeblubaugh, to random
@joeblubaugh@hachyderm.io avatar

Getting pretty glum about 1Password 7 being EOLed and them breaking the browser extension on purpose. I do not want to sync my vault to their storage or use their new slow bad app. What’s your favorite replacement?

loke,
@loke@functional.cafe avatar

@joeblubaugh I used to use Lastpass, but stopped back after the security incident and their subsequent terrible handling of the situation.

At that point I decided I didn't want to put my passwords under the control of anyone that I couldn't verify myself.

I ended up using KeepassXC and storing the database in my own home server. At least if it's compromised, it'll be my own fault.

Now, for anyone wants a slightly easier approach but still use open source code and self-hosting, I've heard a lot of good things about Bitwarden. It can be self-hosed, or you can use their service.

Privacymatters, to random
@Privacymatters@mastodon.social avatar

The European Commission fines Apple over €1.8 billion over abusive App store rules for music streaming providers

https://ec.europa.eu/commission/presscorner/detail/en/ip_24_1161

loke,
@loke@functional.cafe avatar

@Privacymatters surely they made more off that over 10 years than the fibe was, so it's just cost of doing business?

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".)

#norwegian #language

loke,
@loke@functional.cafe avatar

@lpwaterhouse @avp thank you for the French clarification. So presumably they do indeed share a root.

hannah, to random
@hannah@posts.rat.pictures avatar

As a fan of weather.gov and now spaceweather.gov i think more websites should have a space version

loke,
@loke@functional.cafe avatar

@hannah space.posts.rat.pictures is next, I think?

loke, to Cat
@loke@functional.cafe avatar

Here's some hungry cats.

ezio, to random
@ezio@akko.wtf avatar

this really do be 500000000$/month in new york

loke,
@loke@functional.cafe avatar

@niconiconi @ezio or here in Singapore.

loke, to random
@loke@functional.cafe avatar

These guys always hangs around the place where I stay. I wonder where they lay their eggs.

atomicpoet, to random
@atomicpoet@atomicpoet.org avatar

A new Commodore 64 game, Timo’s Castle, has been released today:

https://romwer.itch.io/hc

That’s right, Timo’s Castle is playable on a real Commodore 64/128. You can also play it on any PC through emulation.

The ROM itself is $4.99. But if you want a physical boxed edition with a floppy disc, you can pre-order it here:

https://www.bitmapsoft.co.uk/product/timos-castle/

Here’s the trailer:

https://www.youtube.com/watch?v=tc0jPbsNcaY

loke,
@loke@functional.cafe avatar

@atomicpoet wow. That looks amazing. I'm buying this one.

Gammitin, to random
@Gammitin@mastodon.social avatar

Mouse Systems Corporation M-1 Mouse (OEM version: Sun Type 4)
This is one of the two first optical mice to be released for sale, back in the early 80's. I'm going to strip it down and deep clean it!

loke,
@loke@functional.cafe avatar

@Gammitin oh my. Those are some seriously bad mouses. I've never seen one work adequately, and I say that as someone who used to work for Sun (although they were obsolete some time before I joined)

webbureaucrat, to random
@webbureaucrat@floss.social avatar

I wonder what the carbon impact would be of transitioning software written in virtual machine-based languages to native languages like Rust.

loke,
@loke@functional.cafe avatar

@webbureaucrat depends on the virtual machine. For the JVM, probably very little if anything. For something like PHP, massive.

However, there is also the extra CPU needed to build the software, which applications with very little use can be a significant contributor to the total.

benjancewicz, to random
@benjancewicz@mastodon.social avatar

More Cybertrucks for sale daily and they are not selling.

loke,
@loke@functional.cafe avatar

@tsturm @benjancewicz I often complain about car ownership here (the cheapest car in this country costs more than a new Porsche in most other countries), but this is great:

Screenshot of the same car sales site, this time showing zero new cybertrucks available

loke, to singapore
@loke@functional.cafe avatar

I need to try Wakueh. I never heard about it before.

https://www.youtube.com/watch?v=aReI67oXGuM

#singapore #food

Sandra, to random

Sweden wrong-headedly uses a system where the polar opposite busses have the exact same number 🤦🏻‍♀️

https://idiomdrottning.org/bus-trouble

loke,
@loke@functional.cafe avatar

@Sandra Samma nummer. På bussen står det också i vilken riktning den går.

Här är ett exempel:

  • 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