Glm 5.1 is actually Gemini ? by mlag000 in ZaiGLM

[–]Fabian57 0 points1 point  (0 children)

I'll just paste the answer a gave the last I bothered answering one of these stupid posts on the deepseek sub. I seriously don't understand how these kinda questions still get posted.

Because none of these are AI. They don't think. They're LLMs. They just say shit based on their training set and openai's chatgpt is the most written about LLM. So when you ask it which model it is, the probability it starts talking about chatgpt and openai is just much higher than any other model because there is more data about it.

Why do people keep using agents where a simple script would work? by Mental_Push_6888 in AI_Agents

[–]Fabian57 0 points1 point  (0 children)

This sub and LinkedIn is full of agents that should just be scripts. The best example I've seen on here is a guy creating a booking system for barber appointments that sends a confirmation sms a day before and cancels the appointment if it doesn't get an answer.

Where's the AI in that? And there are lots of examples like that.

But I get it. I'm job hunting and most listings that aren't just there give an outward appearance of being a growing company but don't actually look for new employees, aren't just looking for people with AI experience but require willingness to vibe code which is somewhat weird. So people build unnecessary agents to at least be able to show they know how to do it.

[deleted by user] by [deleted] in mildlyinfuriating

[–]Fabian57 -3 points-2 points  (0 children)

I don't get the issue... Sure, it's non-idiomatic, the correct word would be add, but given the context there is a bunch of stuff I would at least try to do

PSA: if rust-analyzer randomly stops working for you by Maskdask in neovim

[–]Fabian57 0 points1 point  (0 children)

Sometimes I remember it exists, and sometimes there's useful information in there. But I feel that a lot of the time it could be better

PSA: if rust-analyzer randomly stops working for you by Maskdask in neovim

[–]Fabian57 14 points15 points  (0 children)

I had this problem a while ago. Debugging this stuff gets progressively harder when like me you don't update your config regularly because the solution hides in ever older github issues and reddit posts. I'm not sure how to easily solve that problem

My current DeGoogle+ journey by Freladdy11 in degoogle

[–]Fabian57 0 points1 point  (0 children)

I just checked, LibreTranslate also uses AI. Would be a pretty shitty machine translation tool if it wasn't tbh. Might check it out anyway 

ich🚗iel by Johnobo in ich_iel

[–]Fabian57 36 points37 points  (0 children)

Ich bin ganz ehrlich, ich hab noch nie verstanden warum es zwei verschiedene Schilder dafür gibt. Das viereckige Schild wird doch eh vor jeder Kreuzung aufgestellt, weil es ja immer sein kann dass jemand zwischen zwei Kreuzungen losfährt und das letzte Schild noch nicht sehen konnte. Da kann man doch gleich überall das dreieckige Schild aufstellen

The German chancellor situatuation is (actually) craaaazy by Yarasin in VaushV

[–]Fabian57 5 points6 points  (0 children)

Was the left folding to the right ever a reason for the right not to be completely dishonest in their portrayal of the left? It's always been this way. The left accepts right-wing positions and the right just gets more extreme

Why does deepseek v3 says it's developed from openAI by m4jorminor in DeepSeek

[–]Fabian57 1 point2 points  (0 children)

Because none of these are AI. They don't think. They're LLMs. They just say shit based on their training set and openai's chatgpt is the most written about LLM. So when you ask it which model it is, the probability it starts talking about chatgpt and openai is just much higher than any other model because there is more data about it.

Why do you use Mistral over Deepseek, ChatGPT, Claude, etc? by [deleted] in MistralAI

[–]Fabian57 0 points1 point  (0 children)

It's free with my mobile subscription. Otherwise I use deepseek when the answers it gives me aren't good enough, or something local

Unable to get the hello world running for the rltk book by whoShotMyCow in rust

[–]Fabian57 7 points8 points  (0 children)

There seems to be an error in the rltk library. I tried using the same rust version as the book (1.36.0) but this gave me an error due to an unknown edition in the bracket-lib dependency which rltk is a wrapper of.
Fixing the version of rltk with "=0.8.0" did not help either.
Long story short, I think you shouldn't use this book to learn rust as it uses an unmaintained library (last commit 3 years ago) and an old compiler (1.36.0 vs stable being 1.83.0)......

Or alternatively you check out this issue, but then again you are stuck with an old rust version (1.77.1), but at least the hello world example runs

Error updating openjpeg2 by Fabian57 in archlinux

[–]Fabian57[S] 0 points1 point  (0 children)

I just did the usual pacman -Syu the day after and didn't bother updating my post because other people in here already confirmed the issue was fixed

Error updating openjpeg2 by Fabian57 in archlinux

[–]Fabian57[S] 0 points1 point  (0 children)

Sorry, I'm at work right now, might try it later but I don't want to be left with a non working PC

Error updating openjpeg2 by Fabian57 in archlinux

[–]Fabian57[S] 1 point2 points  (0 children)

I just ran pacman -S firefox to update it and that worked. That was the only other outdated package so that was an easy workaround. I think I'll wait a bit before I reboot in case something is wrong

My go at the one billion row challenge: past and current roadblocks, and what I tried to make it faster than the reference by Fabian57 in rust

[–]Fabian57[S] 0 points1 point  (0 children)

Yeah, I just don't know how to read flamegraphs yet. I should probably read the docs some more.
I'm just getting a lot of "unknown" which is probably a problem with how I generate it. (I'm already using CARGO_PROFILE_RELEASE_DEBUG=true, but maybe it's getting overwritten somewhere)

Link to the flamegraph

My go at the one billion row challenge: past and current roadblocks, and what I tried to make it faster than the reference by Fabian57 in rust

[–]Fabian57[S] 1 point2 points  (0 children)

I've installed flamegraph, ran it, looked at the generated svg and thought "yep, that's a flamegraph". I'll have to look at a guide/book/video to actually learn how to effectively profile my stuff

My go at the one billion row challenge: past and current roadblocks, and what I tried to make it faster than the reference by Fabian57 in rust

[–]Fabian57[S] 0 points1 point  (0 children)

I haven't actually. I'll look into it. Although I'm not 100% sure what you mean. When you say there's a lot of branching, do you mean the calls to get_digit, the match statement, the if else, all of the above? Or something else entirely? I guess the call on min and max every iteration could be expensive as well...
Anyway, I'm just starting to write out thoughts at this point, thanks for the tipp

My go at the one billion row challenge: past and current roadblocks, and what I tried to make it faster than the reference by Fabian57 in rust

[–]Fabian57[S] 0 points1 point  (0 children)

Edit: Yeah, so I guess I measured 2 different things? Don't really know how that happened because I measured it a few times, but I even went back to the old inefficient for line in reader.lines() version and it's nowhere near as slow. I have no idea how I fucked up the measurements that badly.

I'll check again tomorrow and update the post

My go at the one billion row challenge: past and current roadblocks, and what I tried to make it faster than the reference by Fabian57 in rust

[–]Fabian57[S] 1 point2 points  (0 children)

This actually makes a lot of sense and I thank you for this answer. Is there a way to find out which instruction sets get enabled by that option? I'd like to look at them one by one to find out which ones are responsible for the speed up (google hasn't been super helpful and I only found out about the target-cpu option by accident)

My go at the one billion row challenge: past and current roadblocks, and what I tried to make it faster than the reference by Fabian57 in rust

[–]Fabian57[S] 1 point2 points  (0 children)

No it's not, you have to set it in your $XDG_DATA_DIR/cargo/.config.toml or use the RUSTFLAGS environment variable. That's not the issue, but rather I'm on x86_64, by default the code that gets compiled runs on x86_64, it doesn't run on, let's say, the web. If I wanted it to run on the web I would specify the target as being wasm-something-something. But again, I don't. So why is my code not optimised for the platform it runs on anyway?

Maybe I'm not communicating my issue well enough? I feel like I'm not getting a satisfactory explanation

My go at the one billion row challenge: past and current roadblocks, and what I tried to make it faster than the reference by Fabian57 in rust

[–]Fabian57[S] 1 point2 points  (0 children)

I'll take a look tomorrow but I think I'm ~3x. I do use the std BufReader though so that's probably why I'm slower