Toots for loke@functional.cafe account

Written by Elias Mårtenson on 2025-02-02 at 13:24

Sometimes, during a discussion (online, email, etc) someone replies to a question by pasting llm output. No time spent checking what the answer actually says, just pasting whatever came out of it.

Why do people do this? Who do they think they are helping? All it adds is noise because now people have to either confirm it's correct, or time has to be spent explaining why it's wrong. The person doing the original pasting isn't the one doing any of that work.

=> More informations about this toot | View the thread

Written by Elias Mårtenson on 2025-01-30 at 15:13

This is really cool, if you have any interest in older networking technology. @larsbrinkhoff is doing a great job showing it off.

https://youtu.be/FQnE-nAxzmY

=> More informations about this toot | View the thread

Written by Elias Mårtenson on 2025-01-30 at 11:20

I've asked this before, and I did get some good suggestions, I wasn't able to fix the problem (probably because I really don't understand CSS at all).

Is there anyone here who would be willing to help explain what changes I need to make to the CSS in order to get rid of the horizontal scrolling in my documentation page for my project?

This is the page, generated from asciidoc, so I can't actually change the content, only the CSS: https://kapdemo.dhsdevelopments.com/reference.html

What I really wanted to do was to have the TOC on top on mobile devices, but on the side in an actual browser.

I'll give a finder's fee as well, if requested.

Note that the project is open source (MIT licensed) by the way.

=> More informations about this toot | View the thread

Written by Elias Mårtenson on 2025-01-29 at 16:39

I decided to implement a new Kap feature today. It's an implementation of the Range function that is already available is some other array languages.

A simple example: The following expression: 5 … 11 will return a new array: 5 6 7 8 9 10 11. The arguments doesn't have to be scalars. If they are arrays, the prefix and suffixes are preserved:

┌→────────────────────────┐

│10 20 3 4 5 6 7 8 100 200│

└─────────────────────────┘

Of course, this feature also allows you to count down:

┌→───────────┐

│10 9 8 7 6 5│

└────────────┘

None of this are things that was particularly difficult to do before this function was introduced, but it does make writing certain expressions much nicer.

The next step is to add support for character arguments as well. For now, only integers are supported.

Here's a runnable example

=> More informations about this toot | View the thread

Written by Elias Mårtenson on 2025-01-26 at 01:30

On my way to Ubin for a bike ride

=> View attached media

=> More informations about this toot | View the thread

Written by Elias Mårtenson on 2025-01-20 at 14:56

Am I crazy, or didn't the Mastodon timeline use to show replies by people you follow, even if the reply was not to you?

The only times I see replies in my feed now is when someone boosts them. It wasn't always like that was it?

=> More informations about this toot | View the thread

Written by Elias Mårtenson on 2025-01-19 at 17:25

I did not know vegetarian kway chap was a thing. I have to try it.

https://youtu.be/IxgbCKrTcGg?si=MjMQqlUEUwQIEnjT

=> More informations about this toot | View the thread

Written by Elias Mårtenson on 2025-01-19 at 06:57

I went out biking, even though it was raining. Well, it stopped and I found myself at Punggol Park. It has a nice little pond with turtles.

=> View attached media | View attached media

=> More informations about this toot | View the thread

Written by Elias Mårtenson on 2025-01-19 at 05:02

They banned the wrong thing. Banning tiktok could possibly have solved the root problem if it was done early, nipping the weed at its bud, so to speak.

Now, we're screwed. Vertical video is everywhere. Glove and Boots predicted it, and soon Star Wars Skinny Edition will come out, I suspect.

https://youtu.be/dechvhb0Meo

=> More informations about this toot | View the thread

Written by Elias Mårtenson on 2025-01-17 at 07:38

Weird error message from GNU COBOL

I wrote this line of code:

The compiler warns:

Why is this? Am I doing it wrong?

[#]cobol

=> More informations about this toot | View the thread

Written by Elias Mårtenson on 2025-01-16 at 07:44

I'm getting my ticket for Black Hat Asia 2025. Is anyone here going this this event?

[#]blackhat #infosec

=> More informations about this toot | View the thread

Written by Elias Mårtenson on 2025-01-15 at 08:13

It just keeps pouring down. It's been a week now.

=> View attached media

=> More informations about this toot | View the thread

Written by Elias Mårtenson on 2025-01-13 at 07:40

I know there are some people here with familiarity of COBOL.

I'm trying to write a program with multiple modules, and so I'm using the form call "xyz" using args where args is a record.

In the callee, I need to define the same record in the linkage section. However, the record layout has to be the same, or there may be issues (SEGV I guess?).

Is there a way to define the record in one place, and then use it in both the working-storage section as well as the linkage section in order to make sure they match?

[#]cobol

=> More informations about this toot | View the thread

Written by Elias Mårtenson on 2025-01-12 at 16:00

@snowyfox do you need to travel there just to preserve the pr?

=> More informations about this toot | View the thread

Written by Elias Mårtenson on 2025-01-12 at 07:44

I made a followup blog post to my last one:

https://blog.dhsdevelopments.com/advent-of-code-2024-part-2

=> More informations about this toot | View the thread

Written by Elias Mårtenson on 2025-01-12 at 04:44

It's now 48 hours (well, with some short breaks)

=> More informations about this toot | View the thread

Written by Elias Mårtenson on 2025-01-11 at 06:30

This is ridiculous. Over 24 hours of continuous rain. When I finally get out on my MTB the trails are going to be so muddy.

=> More informations about this toot | View the thread

Written by Elias Mårtenson on 2025-01-09 at 09:50

This must be the most hilarious linguistics video I've ever seen.

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

=> More informations about this toot | View the thread

Written by Elias Mårtenson on 2025-01-09 at 04:20

So I used Wolfram Alpha to find the number of seconds in a year. Aside from the answer (3.154×107 seconds), it also gave me this oddly specific piece of information:

=> View attached media

=> More informations about this toot | View the thread

Written by Elias Mårtenson on 2025-01-08 at 05:51

Lunch post

=> View attached media

=> More informations about this toot | View the thread

=> This profile with reblog | Go to loke@functional.cafe account

Proxy Information
Original URL
gemini://mastogem.picasoft.net/profile/33398
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
371.01351 milliseconds
Gemini-to-HTML Time
6.788581 milliseconds

This content has been proxied by September (3851b).