movq

www.uninformativ.de

No description provided.

In-reply-to » The weathermen just cannot be right with their 20ยฐC today, it must have been more. It was awfully hot, the light breeze was not enough and even absent most of the time. In the shade, it was alright. Other than that, the walk to the dairy farm and back was really beautiful. Very lovely scenery.

@lyse@lyse.isobeef.org Those are some very colorful shots. ๐Ÿ‘Œ It was pretty warm here as well, health issues prevented me from going out, though.

(Have we established that Azabache is male? ๐Ÿ˜ƒ)

โค‹ Read More

@klaxzy@klaxzy.net I should cancel Netflix as well. Back when they started their streaming service, it was a revelation: Finally, I could watch interesting shows in English, without having to wait for years, and legally (I like to be a paying customer, if itโ€™s good). But this is long over. The interesting shows are gone or, once again, I have to wait for years until theyโ€™re available on Netflix. So, why bother anymore? ๐Ÿคทโ€โ™€๏ธ

โค‹ Read More
In-reply-to » Another AI rant:

@bender@twtxt.net Or maybe Iโ€™m just shitty at communication and maybe thatโ€™s why nobody at work understands my โ€œargumentsโ€ against AI/LLMs. ๐Ÿคช๐Ÿคฃ

(Iโ€™m too tired to rephrase the OP. Maybe some other day. Actually, rest assured that I will complain about this again. ๐Ÿ˜…)

โค‹ Read More

Another AI rant:

One of the โ€œkey featuresโ€ of LLMs is that you can use โ€œnatural languageโ€, because that is supposed to be easier than having to learn a programming language. So, when someone says to me, โ€œI automated this process using AI!โ€, what they mean is: They have written a very, very large Markdown document. In this document, they list what the AI is supposed to do.

In prose.

This is a complete disaster.

Programming and programming languages have one crucial property: They follow a well-defined structure and every word has a well-defined meaning. That is absolutely brilliant, because I can read this and I can follow the program in my head. I can build a mental model. I can debug this, down to the precise instructions that the CPU executes. This all follows well-defined patterns that you can reason about.

But with these Markdown files, I am completely lost. We lose all these important properties! No debugging, no reasoning about program flow, nothing. Itโ€™s all gone. Itโ€™s a magic black box now, literally randomized, that may or may not do what you wanted, in some order.

People now throw these Markdown files at me โ€ฆ and โ€ฆ am I supposed to read this? Why? Itโ€™s completely random and fuzzy.

Sadly, these AI tools are good enough to be able to mostly grasp the authors intentions. Hence people donโ€™t see the harm they cause, because โ€œit worksโ€.

We already have a ton of automations like this at work: Tickets get piped through an LLM and these Markdown files / prompts determine what will happen with the ticket, and maybe they trigger additional actions as well, like account creation or granting permissions. All based on fuzzy natural language โ€“ that no two humans will ever properly agree on.

Jesus Christ, weโ€™re now INTENTIONALLY bringing the ambiguity of legal texts and lawyers into programming.

Using natural language is NOT easier than using a programming language. It is HARDER. Have you people never read a legal contract? And that stuff can STILL be debated in a court room.

I canโ€™t begin to comprehend why we, tech folks, push this so hard. What is wrong with you? Or me?

(And, once again, weโ€™re ignoring other factors here. LLMs use a ton of energy and ressources, that we donโ€™t have to spare. Itโ€™s expensive as fuck. It doesnโ€™t even run locally on our servers, meaning we give all these credentials and permissions to some US company. Itโ€™s insane.)

โค‹ Read More
In-reply-to » @lyse Yes, and thatโ€™s why Iโ€™m 100% convinced that weโ€™ll see a massive brain drain in a couple of years. This will affect young people even more, because they donโ€™t have all the โ€œoldโ€ knowledge to fall back on.

@lyse@lyse.isobeef.org

even our hippest AI enthusiasts found it absolutely terrible

Does this refer to the training course or to the tools themselves? ๐Ÿค”

โค‹ Read More
In-reply-to » Eehhh, what the hell is going on here!?

@lyse@lyse.isobeef.org Yes, and thatโ€™s why Iโ€™m 100% convinced that weโ€™ll see a massive brain drain in a couple of years. This will affect young people even more, because they donโ€™t have all the โ€œoldโ€ knowledge to fall back on.

Itโ€™s concerning, Iโ€™ve warned about it many times, nobody listens.

I think the best thing one can do is explicitly not use any AI tools but keep your actual skills intact. Might be out of a (good) job for a while, but once this bubble bursts, this is who is going to get hired again. (I think.)

And considering how insanely expensive all this is, Iโ€™m still (mostly) convinced that the bubble will actually burst. This stuff just isnโ€™t sustainable.

โ€ฆ or I might be wrong. And if so, I see an even darker future that I donโ€™t want to put into words right now.

โค‹ Read More
In-reply-to » Eehhh, what the hell is going on here!?

@lyse@lyse.isobeef.org AI result ahead, feel free to ignore.

I โ€œaskedโ€ the AI at work the same question out of morbid curiousity. It โ€œsaidโ€ that SQLite converts that integer to floating point internally on overflows and then, when converting back, the x86 instruction cvttsd2si will turn it into 0x8000000000000000, even if the actual floating point value is outside of that range. So, yes, it allegedly actually saturates, as a side effect of the type conversion.

I couldnโ€™t find anything about that automatic conversion in SQLiteโ€™s manual, yet, but an experiment looks like it might be true:

sqlite> select typeof(1 << 63);
โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ typeof(1 << 63) โ”‚
โ•žโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•ก
โ”‚ integer         โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

sqlite> select typeof((1 << 63) - 1);
โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ typeof((1 << 63) ... โ”‚
โ•žโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•ก
โ”‚ real                 โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

As for cvttsd2si, this source confirms the handling of 0x8000000000000000 on range errors: https://www.felixcloutier.com/x86/cvttsd2si

The following C program also confirms it (run through gdb to see cvttsd2si in action):

<a href="https://we.loveprivacy.club/search?q=%23include">#include</a> <stdint.h>
<a href="https://we.loveprivacy.club/search?q=%23include">#include</a> <stdio.h>

int
main()
{
    int64_t i;
    double d;

    /* -3000 instead of -1, because `double` canโ€™t represent a
     * difference of -1 at this scale. */
    d = -9223372036854775808.0 - 3000;

    i = d;
    printf("%lf, 0x%lx, %ld\n", d, i, i);

    return 0;
}

(Remark about AI usage: Fine, I got an answer and maybe itโ€™s even correct. But doing this completely ruined it for me. It would have been much more satisfying to figure this out myself. I actually suspected some floating point stuff going on here, but instead of verifying this myself I reached for the unethical tool and denied myself a little bit of fun at the weekend. Wonโ€™t do that again.)

โค‹ Read More
In-reply-to » Eehhh, what the hell is going on here!?

@lyse@lyse.isobeef.org

Disclaimer: Canโ€™t guarantee that Iโ€™m fully awake and Iโ€™m being trained at work not to use my brain anymore, so maybe this is complete bullshit. ๐Ÿ˜ช๐ŸงŸโ€โ™€๏ธ

It says here that SQLite uses signed integers:

https://sqlite.org/datatype3.html

In pure bits, 1 << 63 would be 0x8000000000000000, but as a signed value, it gets interpreted as -9223372036854775808. Subtracting 1 yields -9223372036854775809 โ€“ but that doesnโ€™t fit in 64 bits anymore. Itโ€™s possible that SQLite doesnโ€™t want to wrap around but instead saturates? Havenโ€™t checked. ๐Ÿค”

With 62 bits, there is enough room.

With 1 << 64, I have no idea how SQLite wants to handle this, because this should immediately trigger a warning, because it doesnโ€™t fit right away. Maybe it gets truncated to 0?

sqlite> select printf('0x%x', 2 * (1 << 64));
โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ printf('0x%x', 2 ... โ”‚
โ•žโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•ก
โ”‚ 0x0                  โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
sqlite> select printf('0x%x', 0 - 1);
โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ printf('0x%x', 0 ... โ”‚
โ•žโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•ก
โ”‚ 0xffffffffffffffff   โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
sqlite> select printf('0x%x', 0 - 2);
โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ printf('0x%x', 0 ... โ”‚
โ•žโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•ก
โ”‚ 0xfffffffffffffffe   โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

โค‹ Read More
In-reply-to » Christina Koch looking at Earth is my new wallpaper:

@lyse@lyse.isobeef.org Yeah, I really donโ€™t know anymore. ๐Ÿ˜…

By the way, why do so many of them wear glasses? As a kid, Iโ€™ve been told that people with glasses canโ€™t become astronauts. So I gave up my dreams. Now it looks like that was a lie? โ˜น๏ธ

โค‹ Read More
In-reply-to » Another vibe coded bot, I guess. ๐Ÿคฆโ€โ™€๏ธ

The problem is, they jump hosts all the time.

Maybe itโ€™s time to add automated blocking after all โ€ฆ God, Iโ€™m too lazy for that. ๐Ÿ˜ž

โค‹ Read More
In-reply-to » That's a very interesting thought and I agree: https://benhoyt.com/writings/dependencies/

@lyse@lyse.isobeef.org Indeed. Very unpopular, though. Iโ€™ve long given up that fight at work.

In reality, there are too few real incidents. It doesnโ€™t hurt enough. Itโ€™s always: โ€œSomething could happen!โ€ But weโ€™ve never been hit big time by an attack like this โ€ฆ so I just look like a paranoid idiot.

โค‹ Read More
In-reply-to » In case youโ€™re wondering where they are: https://artemistracker.com/

This whole thing was pretty weird, btw. I had no idea it was happening until basically yesterday. No news coverage, nobody mentioned it. ๐Ÿค” And suddenly, boom, weโ€™re going to the moon. What? ๐Ÿ˜…

โค‹ Read More
In-reply-to » This year for some reason or another, I decided to purchase an Ocarina, I've been practising a fair bit every now and again, basically during work breaks and sometimes in the afternoon / evenings (not enough to annoy the family ๐Ÿคฃ) Anyhoo, that was 3 months ago, since then I've built up a bit of a Repertoire:

@prologic@twtxt.net Nice. ๐Ÿ˜Š Thatโ€™s the beauty of a small instrument like that: You can just pick it up, play a little bit, put it back. ๐Ÿ‘Œ (Canโ€™t do that with my stuff. ๐Ÿคฃ)

โค‹ Read More
In-reply-to » For the record, the third thing is to activate agent forwarding. In ~/.ssh/config:

@lyse@lyse.isobeef.org Hm, Iโ€™m not sure I would want to do that:

ForwardAgent
    ...

    Agent forwarding should be enabled  with  caution.   Users
    with  the ability to bypass file permissions on the remote
    host (for the agent's Unix-domain socket) can  access  the
    local agent through the forwarded connection.  An attacker
    cannot  obtain  key  material from the agent, however they
    can perform operations on the keys that enable them to auโ€
    thenticate using the identities loaded into the agent.

โค‹ Read More
In-reply-to » Anyone else having trouble pulling from git.mills.io? ๐Ÿค”

@lyse@lyse.isobeef.org Changing the user name helped, it now says Authenticated to git.mills.io ([199.247.16.95]:2222) using "publickey". ssh-add ... had no effect (even after ssh-add -D).

Hereโ€™s a debug log, @prologic@twtxt.net, perhaps you could take a look at this ๐Ÿ™: https://movq.de/v/116c5f514b/clone2.txt

(Might be a silly mistake on my part. Wrong remote path or something?)

โค‹ Read More

Anyone else having trouble pulling from git.mills.io? ๐Ÿค”

$ g clone ssh://git@git.mills.io:2222/yarnsocial/twtxt.dev.git
Cloning into 'twtxt.dev'...
git@git.mills.io: Permission denied (publickey).
fatal: Could not read from remote repository.

The key verification function on https://git.mills.io/user/settings/keys says Iโ€™m using the correct key.

This also looks good:

$ GIT_SSH_COMMAND="ssh -v" g clone ssh://git@git.mills.io:2222/yarnsocial/twtxt.dev.git
...
debug1: Authentications that can continue: publickey
debug1: Offering public key: /home/user/.ssh/keys/key-millsio ED25519 SHA256:nVNT... explicit
debug1: Authentications that can continue: publickey
debug1: No more authentication methods to try.
git@git.mills.io: Permission denied (publickey).
fatal: Could not read from remote repository.

Does it work for you, @lyse@lyse.isobeef.org @prologic@twtxt.net?

โค‹ Read More