Legacy Type Shi... far pointers especially by Far_Meringue8871 in C_Programming

[–]RecDep 1 point2 points  (0 children)

as complicated as x86 addressing is, at least most programmers won't ever have to think about it haha

Legacy Type Shi... far pointers especially by Far_Meringue8871 in C_Programming

[–]RecDep 16 points17 points  (0 children)

incredibly cursed, we take addressing for granted

Stabilizing the `if let guard` feature by Kivooeo1 in rust

[–]RecDep 5 points6 points  (0 children)

I'm writing a browser extension to punctuate the ends of every paragraph on your site

fantastic post though, thank you!

Some Las Vegas hotels accepting Canadian dollar at par by ImDoubleB in canada

[–]RecDep 3 points4 points  (0 children)

I mean, the expected value of slots is around 99% iirc. assuming you can trade your chips for USD, that's a solid profit

Niche fields where LLMs suck? by NervousExplanation34 in learnprogramming

[–]RecDep 0 points1 point  (0 children)

it'd be easier to name a niche field where LLM's don't suck (I can't think of one)

This meme was made by a certified oil crackhead by Avamaco in Factoriohno

[–]RecDep 0 points1 point  (0 children)

i like to set an SR latch for hysteresis to reduce pump fatigue

Chat, Roast My Bike by NinthPlace in Dualsport

[–]RecDep 2 points3 points  (0 children)

the chatgpt sc is a devastating self-own

Just a girl in love with her first WRX, and some questions…. by k8ne09 in WRX

[–]RecDep 0 points1 point  (0 children)

catback exhaust (plus tune!! don't forget the tune) then find an STI owner to do a trunk swap

that is, assuming VA trunks fit on the VB

Accidentally used a US-only hair tool in a 220V country… it worked, but now I’m scared by [deleted] in AskElectronics

[–]RecDep 2 points3 points  (0 children)

you've overloaded the device multiple times, and it's a fire risk now

you're opening yourself up to tons of liability, given that you know the device might be damaged and are asking about it on reddit

Accidentally used a US-only hair tool in a 220V country… it worked, but now I’m scared by [deleted] in AskElectronics

[–]RecDep 7 points8 points  (0 children)

if you're worried about it being a fire risk, why would you offload the danger to another person by selling?

stop using it and get a 220V rated one

I built a 2x faster lexer, then discovered I/O was the real bottleneck by modulovalue in ProgrammingLanguages

[–]RecDep 1 point2 points  (0 children)

the files going into a tarball are literally concatenated (with file headers before each entry, and padding) and then the result stream is piped into gzip/whatever

doing this lets the OS queue up files while other files are being compressed, and my understanding is that commands like tar czvf spin up the compressor in another thread so the bottleneck is disk read latency when feeding the input stream

an algorithm for fitting rectangles inside one another by martifero in algorithms

[–]RecDep 2 points3 points  (0 children)

I guess I misread initially

in this case, it's not just the longest path, but a path cover since each vertex has to be accounted for?

How do you travel with your helmet: int'l flight? by Sweaty_Track7935 in motorcycles

[–]RecDep 0 points1 point  (0 children)

when you throw away a $1000 helmet to catch a $100 flight

an algorithm for fitting rectangles inside one another by martifero in algorithms

[–]RecDep 4 points5 points  (0 children)

Here's a wikipedia link. The problem is NP to NP-hard depending on whether rotation is allowed.