Anyone with some feedback about seaweedfs?
https://github.com/seaweedfs/seaweedfs
It sounds pretty cool, but I'm afraid about its stability when I see its complexity and feature set
"So what have you been working on recently?" I heard absolutely no one ask.
Aaaaanyway... I have been working on this new syntax in Kap.
Let's say you have a hashmap stored in a variable called foo
, and it contains a key consisting of the symbol bar
. Then that value can now be found using: foo.bar
.
What if the key is not a symbol? Let's say it's an integer. Well, then you can enclose the key in parens, which will result in the expression being evaluated and the result being used for the lookup: foo.(123+456)
.
But an array is kinda kine a hashmap, right? It's just indexed using a series of numbers (one per dimension), so we can extend this syntax to support array lookup. Let's say that the value stored under the key bar
was an array of strings, then you can get the third element like so: foo.bar.(2)
.
The way the Kap JSON parser works is that it reads JSON objects into maps keyed by strings (not by symbols, which would improve the syntax but could lead to symbol table overflow attacks if you parse untrusted JSON), so if you have the following JSON:
{ "foo": [
{"a": 1, "b": 2},
{"a": 10, "b": 20}] }
Then you can extract the value 2
like so:
a ← json:read "file"
a.("foo").(0).("b")
Yes, I know that many other languages have a "nicer" syntax to traverse object hierarchies, but remember that array languages are very strong in other areas, so a few extra parens isn't too bad I think.
Here's the code in the Javascript-based interpreter: example
coming clean about the fact i am a marxist, so, yeah.
“Every man is like the company he is wont to keep.”
– Euripides, circa 406 BC
Alright I need a bit of help.
I built an apple ii clone a few years back in 2022. It *almost* works, but it seemed to have a bit of an issue with more complicated programs/graphically intensive stuff.
This is it trying to load frogger ii - it will load the title screen, try to load the game and then just... Crash.
Does anyone have any ideas what I should be looking at?
Hopefully some apple ii experts have a better idea than me...
maybe graeber or zinn?
anyway robert service is like a pimple on the arse of american liberal capitalist historical studies. if you can even call them 'studies'.
i am sick of having to interpolate the attitudes of robert service when reading about 20th century socialism...
"Now, how would I evaluate this combination of operations without using anything other than the multiplication of fractions.."
(- (+ 2 (* 4 6))
(+ 3 5 7))
program: https://wiki.xxiivv.com/site/fractran.html#combinations
trace: https://paste.sr.ht/~rabbits/8a41660d155fbfe257e36611ad563cdc58bda532

I always think it's weird how late the 3.5" floppy disk got popular in the scheme of things, only winning out over the 100 other microfloppies (i.e. so many standards that nobody used any of them and just stuck with 5.25" disks, see also the superfloppies of the late 90s) when Apple chose it for the Macintosh in 1984 (and even then it took a while to get major uptake), and then after that the 1440 KiB floppy only got popular over the 100 other different low-level formats in the early 90s
This thread will be about my experiments with my new #pinePhonePro.
I got it yesterday and had a few minor hurdles out of the gate. I followed instructions on the wiki but couldn't get it to boot into #sailfishOS. I don't remember what I did differently but after a few attempts it booted fine. I immediately wanted to replace sailfish but first checked that sms and calls worked fine and it did (though took a while to receive the first call).
I flashed #postmarketOS with #PlasmaMobile to an sd card and tried booting from it but quickly realised I had missed a step . The wiki said I had to install #towboot to the SPI so I did that. After following the instructions properly this time I installed the OS successfully. I found Plasma extremely sluggish and unresponsive so quickly moved on. The next OS I flashed was postmarketOS again but this time with #sxmo and I immediately fell in love with the interface.
After that I went to sleep as it had been a long day and was getting late. This morning I flashed postmarketos with sxmo to the eMMC and will be tinkering with it today. Ill update this post with comments about my progress.
#linuxphone #linuxmobile #FOSSphone #FOSS #OpenSource #tilingWM #pinePhone #pine64
#lispyGopherClimate #archived #unmitigatedDisaster https://archives.anonradio.net/202409250030_screwtape.mp3 000UTC every Wednesday
#climate #haiku @kentpitman
#music @fstateaudio 's Skin Contact https://www.fstateaudio.com/
#lisp .. KMP's lost #zmacs port to #commonLisp, that thread with @eshel @amszmidt
#emacsconf2024 coming up! I got my proposal in https://emacsconf.org/2024/
#gopher <- let's visit i-logout.cz/1/bongusta
We'll be in #lambdaMOO ! @nosrednayduj
telnet lambda.moo.mud.org 8888
connect as guest and @join screwtape

The lispy gopher climate will be live in fifty minutes, though you could tune in now to hear @northernlights show (with a more conventional realization of 'music')! https://anonradio.net:8443/anonradio
#music for the lispy gopher climate will be some of @fstateaudio's Skin Contact imprint.
#lisp ~ that conversation around KMP's port of #zmacs, TRES lost to the sands of time.
This isn't the show toot I'm just making noise that I'm alive, and at least I'm listening to NL right now.
okay managed to lay down some code for the common lisp tamagotchi
we have the up-or-down mini game coded now
i frequently dwell on the state of the WWW, and i enter this same thought process triggered by the question:
why don't we just write our own web browser?
the intuition i have that drives me asking this question is not necessarily technical, or even principled.
if we can marshal ~10 million accounts on just mastodon alone, can't we drive enough of a network effect to fight for a more open web?
but at this stage of day dreaming i realise the whole thing, all of the web is kaput, really.
does the web need saving? why could do a lot better.
the contestant enters the stage, much cheering; wooping etc.
the person approaches the old 286 and flips the switch--it whirs!!
... click, click, a grinding noise...
it booted!!!!!!
the crowd is completely beside themselves. they are practically riotous:
... that's right, contestant number 12, you win a whole day with richard stallman!
the contestant fans themselves from shock, they are clearly overwhelmed. their eyes roll backwards--everyone on stage rushes towards them--within a split-second they have hit the deck. they have fainted.
see you next time on: will it boot???