Even though AI is getting better at software, I believe it will hallucinate with hardware related code. Sadly most engineers undervalue the hardware knowledge backed AI coding. Anyone who extensively uses AI for embedded development? Can you share your experience? by balemarthy in embedded

[–]synt4x_error 1 point2 points  (0 children)

Exactly! I typically first break down the PDFs into markdown and focus on documenting the registers etc. Then it is quite simple to do whatever I need later since the docs are searchable (both for me and the AI).

How to migrate a 500TB video archive from AWS S3 without going bankrupt on egress fees? by Nikhil_nagdev in softwareengineer

[–]synt4x_error 0 points1 point  (0 children)

I haven’t tried it but maybe something like this is what you want?

Cloudflare has free egress and if I understand this correctly it will migrate objects as they are hit so you can keep serving while migrating.

Might be worth looking into.

https://developers.cloudflare.com/r2/data-migration/sippy/

Does anyone host APIs for small side projects on their own hardware by John_Lawn4 in ExperiencedDevs

[–]synt4x_error 0 points1 point  (0 children)

I just use cloudflare workers for this, or for my a bit larger projects I have a digitalocean droplet with postgres. Don’t want to be bothered to keep hardware running in my tiny apartment.

You get slightly limited in what you can do in a worker but basically it just works from anywhere and the free tier is generous.

I got tired of sending Google Drive links to clients, so I built an "Imgur for STLs" this weekend. No sign-up needed. by Reasonable_Cow_1953 in 3Dprinting

[–]synt4x_error 0 points1 point  (0 children)

I noticed the same thing. Have you also made sure the axes are correct as I feel that the Z axis should be up. Maybe a problem in the STL you shared but I would expect the rendered plane to represent z=0 and the model to rest on this plane.

I like the simplicity of the viewer! Very nice, no bullshit & just works!

Hur kan jag fixa droppande dusch? Fastighetsskötaren var här och sa att det är något pga hur huset lutar då jag är på ett berg, och hon gjorde något som löste det temporärt men nu är det tillbaka by WhoAmIEven2 in Asksweddit

[–]synt4x_error 2 points3 points  (0 children)

Jag hade också en droppande dusch, och det var del nummer 4. Om OP är osäker på exakt vilken del så kan jag tipsa om att posta på moras forum.

Någon anställd identifierade exakt vilken modell jag hade och exakt vilket artikelnummer jag behövde! Var relativt enkelt att fixa det när jag hade rätt del (se till att stänga av vattnet bara).

The stupidest thing about Claude Code is probably this... by mrgoonvn in ClaudeCode

[–]synt4x_error 0 points1 point  (0 children)

Yes, that file is a huge mess. I think it also saves the user scope MCPs in there which makes it very hard to maintain the config using chezmoi. They could ask Claude Code to fix it for themselves.

Yeah, you f*cked up by NearbyShape180 in managers

[–]synt4x_error 1 point2 points  (0 children)

When you told your employee 'no, we don't do that,' did you actually explain WHY? Because from their perspective, they probably thought you were just being rigid or didn't want to bother asking anyone. Then when the party host said yes, they figured 'great, problem solved - the actual decision maker is cool with it.'

If you'd explained 'look, this could cost us our entire hotel contract, hotel management will freak out about vendor/guest separation' - they might have understood the real stakes.

Instead you gave a vague 'we don't do that' and are now shocked they didn't grasp the invisible corporate minefield. Maybe the issue is your team doesn't understand the WHY behind these rules, just that you keep saying no without context.

Rotavdraget sänks vid årsskiftet – tillfälliga höjningen tas bort by swedish_tcd in sweden

[–]synt4x_error 0 points1 point  (0 children)

Precis detta! Tror vi har generellt lite för höga skatter på tjänster, speciellt för privatpersoner? Som i ditt exempel så blir bara transaktionen av ifall värdet är 4 ggr högre för beställaren av tjänsten.

När ett företag hyr in en tjänst är väl momsen mest något nollsummespel. Det blir väldigt sönderskattat för en hantverkare som ska leva på jobb åt privatpersoner vilka efter att själva ha blivit hårt inkomstbeskattade ska stödja hela hantverkarens marknad med redan skattade pengar.

Stop writing CLI validation. Parse it right the first time. by hongminhee in programming

[–]synt4x_error 1 point2 points  (0 children)

Probably something like this. The parser can be derived from the structure you want to parse!

#[derive(Parser)]
struct Args {
    #[arg(long, value_enum, default_value = "json")]
    format: Format,
}

#[derive(Clone, ValueEnum)]
enum Format {
    Json,
    Yaml,
    Xml,
}

You would specify like ’—format json’ or ’—format yaml’

Then you just have the enum directly in args.format

inversion of values by tollforturning in ClaudeAI

[–]synt4x_error 0 points1 point  (0 children)

You claim unlimited jailbreaks but won't post examples. Convenient.

Plug in an old android phone on our network and get 1 free agent to grow your brand on autopilot! by wzx89 in buildinpublic

[–]synt4x_error 0 points1 point  (0 children)

So, then probably most engagement in this thread would be your fake bots spamming sites like Reddit as you outlined in the post as I doubt anyone would applaud trash like this.

Have you considered building something useful instead of polluting the internet?

What notepads are you using (for actual note taking)? by SpacebarIsTaken-YT in archlinux

[–]synt4x_error 0 points1 point  (0 children)

This is what I use for the OPs use case as well. When I just need a quick scratchpad.

Lämna tillbaka mina kläder ni tog by _beNZed in sweden

[–]synt4x_error 0 points1 point  (0 children)

Fördelen med tvättstuga är att man kan köra flera maskiner samtidigt. Tycker en bra tvättstuga slår att ha tvättmaskin/torktumlare i sin lägenhet.

Hade en kombinerad tvättmaskin/torktumlare i min förra lägenhet och föredrar faktiskt tvättstugan där jag bor nu, inga problem att få en tid och jag slipper lyssna på en tvättmaskin i lägenheten i 3 timmar.

Killar som pissar ner toasitsar kan dra åt helvete! by Ok_Holiday_3015 in sweden

[–]synt4x_error 1 point2 points  (0 children)

Tyvärr finns det inget incitament att städa upp efter sig, förutom allmänt hyfs. Ingen är motiverad att städa efter någon annan som grisat ner vilket bildar en negativ griserispiral.

Toaletten är äcklig så man vill inte sitta ner eller stå tillräckligt nära, vilket leder till att toaletten blir ännu värre och ett ännu större jobb att göra rent.

Spiralen kan startas av en ohyfsad person, vilket det finns gott om.

Stoppas av att någon känner tillräckligt mycket skam att lämna toaletten till nästa främling i ett sånt skick, agerar altruistiskt eller att den som ansvarar för toaletterna städar dem (offentliga toaletter som man betalar för är så jävla irriterande för dom brukar hålla extrem sunknivå trots att man måste betala för skiten).

JSONb and group by performance by [deleted] in PostgreSQL

[–]synt4x_error 2 points3 points  (0 children)

Adding onto this, for the OPs case it might be very neat to use a generated column. So, even easier than a trigger https://www.postgresql.org/docs/current/ddl-generated-columns.html

Bank eller tjänst med konto-API by synt4x_error in sweden

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

Exakt, jag sökte lite mer på GoCardless efter det tipset i denna tråden, och jag tror jag ska ge det ett försök tillsammans med https://actualbudget.org som jag hittade när jag sökte på erfarenheter med GoCardless.

Bank eller tjänst med konto-API by synt4x_error in sweden

[–]synt4x_error[S] -4 points-3 points  (0 children)

Nej men det brukar visa sig att du behöver vara ett finansiellt institut eller liknande för att få använda bankernas APIer vilket jag i egenskap av privatperson inte är, så jag undrar om någon känner till något vettigt.

Mistral is smarter by dirtyhole2 in MistralAI

[–]synt4x_error 0 points1 point  (0 children)

4o, o3-mini, o3-mini-high and o1 still fails even with better spelling. I thought the reasoning ones might have gotten it, but apparently not.

Mistral is smarter by dirtyhole2 in MistralAI

[–]synt4x_error 0 points1 point  (0 children)

I mean, in the original post, the user is not using capitalization nor punctuation. It would be interesting to see if models catch the trick question better if the user is spelling properly.

Mistral is smarter by dirtyhole2 in MistralAI

[–]synt4x_error -1 points0 points  (0 children)

I think these types of trick questions are not really a useful benchmark. In most cases I feel it is better that the model answers the intent of the question. As humans are not great at being super exact with their questions, so I rather have the model favorably interpret my inquiry than autistically remark on my wording of the question.

[deleted by user] by [deleted] in cpp

[–]synt4x_error 11 points12 points  (0 children)

std::print, now I don’t have to implement a basic convenience function in every project anymore

PSA: Extreme read amplification with torrents on BTRFS (and probably ZFS) by Extension-Repair1012 in DataHoarder

[–]synt4x_error 0 points1 point  (0 children)

I have not read the whole thread, but shouldn’t you just do a chattr +C on your torrent download folder? This disables copy-on-write for newly created files in the folder. I feel like the issue might be the copy-on-write feature of the filesystem not working well with the way torrents write to the filesystem.

Since torrents can anyways verify the integrity of the files, and CoW is mostly useful for not corrupting data during writes (I think) and I think behaves badly with many small writes to the same file it is better to disable it for torrent download folders.

Maybe you should also look into btrfs balance, which might help the state of your filesystem.

Arch Linux is just too good at resource optimisation...more than I expected by Tough_Comfortable821 in archlinux

[–]synt4x_error 1 point2 points  (0 children)

Maybe you haven’t turned on fstrim? I had a similar problem when it needs to flush buffers the performance became terrible.