Details
-
AboutAAAAAAAAAAAAAAAAAAA
-
SkillsRust and other things
-
Locationhere
-
Website
Joined devRant on 12/8/2018
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API

From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
It's so gay that zen1 and zen2 have giga slow microcoded implementations for the pdep and pext instructions
So slow (~140 cycles latency) that manually implementing their behavior via handfuls of other instructions is actually faster
On intel they take literally 1 cycle...3 -
Trying to flash a windows iso on a usb stick from linux is making me wanna fucking kill myself
IS THERE ONE FUCKING SOFTWARE WHICH CAN FLASH A FUCKING WINDOWS ISO SUCESSFULLY??
From the 4 ive tried so far none of them worked. What the actual fuck is wrong with desktop linux sometimes
Ive already wasted 1 and half hour of this shit. On windows I would have done this in literally 3 minutes
Holy shit fuck me21 -
Okay I'm about to do something diabolical
Anybody knows if reading beyond the bounds of an allocation is UB in llvm when I'm doing the read via inline assembly? 👀5 -
I just wrote some escape sequence parsing code for my shell and throwing it into godbolt shows that ~170 lines of pretty nice generic/abstracted code (multiple loops + multiple functions) results in only ~80 instructions
Oh my god im actually about to cum2 -
Unix is so incredibly beautiful. Everyday I discover something new that makes me fall even deeper in love with it.
For real, I've become a huge YAGNI fan over the last few years and Unix is pure yagni. It's so beautifully pragmatic and simple yet flexible and powerful14 -
aaaaaand it's back
Didn't even take a day and people were already posting melodramatic goodbye posts lul7 -
Everybody is being so melancholic
"bye everybody"
"i guess this is the end"
lol, like devRant didn't have its quirks for years. At some point it'll get fixed and then we can have our shizo responses back.
Ya don't have to be so dramatic1 -
Yeah turns out writing a shell is a whole lot more work than I thought
Fuck man, why can't I just find a cool project that is actually doable in a normal lifetime3 -
I've just learned that some unicode codepoints (like 𘀀) are wider than 1 cell in a normal monospace terminal
Yay, i hecking love unicode
(i want to die)2 -
Working on some linux shell/terminal stuff and chatgpt really is both a saint and a curse
It's super helpful but like half the stuff it tells me is just flat out wrong
Never forget to double check guys! -
I don't care, skeuomorphism like iOS 6 or window 7 aero was the peak of design and you can't convince me otherwise3
-
Reactive state tracking in JS frontend frameworks is just ridiculous
This is a language that encourages you to create huge trees of objects but from what I can tell most frameworks have real trouble detecting any change more complex than a direct assignment
Am I missing something? I have a reactive list of objects of which fields get updated. I have no idea how to make that trigger UI updates.... This is just torture8 -
Don't you love it when the docs say that RTCDataChannel is a transferable object and then you try to send it to a service worker and your browser tells you it isn't transferable
I hecking looove web development 😇🔫3 -
Doing some JavaScript right now and holy moly is this one spaghetti ass language
Promises referencing closures referencing local variables referencing message handlers referencing resolve callbacks referencing ... 😵💫16 -
Just had a thought: Instead of LLVM modeling and optimizing an IR and then backends having to optimize again for actual machine code lowering, wouldn't it be possible to unite both under one unified system?
If you model everything as one huge and complex state machine with a bunch of predefined "micro ops", couldn't you write an optimizer which lowers to the mathmatical presentation of the target platform's instructions?
I.e. the actual identities of the instructions don't matter. What matters is that the input ir is `(x + 3) & 0xff` and the optimizer tries to fit a sequence of instructions to that so that it "solves the system". It doesn't know x86 `andb`; it knows that `andb` takes an input, maybe truncates it, does a bitwise or, and stores the output into a reg
That way you wouldn't have to write complex target dependent backends. Just declare the sequence of actiosn each instruction does and llvm would automatically be able to produce very high quality machine code
I think there's a phd worth of research here but helllll no I'm not touching compilers again lol -
Isn't it weird how you have never tasted some food but you know exactly how it tastes?
Somebody brought up shrimp cocktail. I've never had it and I've barely ever had shrimp. But in my mind I know the *exact* taste it has5 -
How is FBX the main format of blender when it is so damn bad
For the last 10 minutes I have tried exporting a model as fbx so that it has the same scale and coordinate system as in blender. That's literally the only job a model file format has to do
I still haven't managed to do it. How can a model format be this frustrantingly bad???10 -
I just realized that charities being scammy and pocketing most of the money for themselves isn't actually a shocking thing
If you're a scammer, convincing people to give you their money by parading people in need around is like the easiest thing ever
Of course all charities are scams, that's literally the easiest and most legal way to scam people!2 -
Cars 1 was NOT released 19 years ago. No, it just wasn't. Fuck you, it wasnt. I dont care about your facts. It's all fake. You're litearlly just lying. No it cannot have come out 19 years ago. It just couldn't have, thats way to long ago. You're just weird. Calenders are just wrong10
-
Kernel coming along slowly but surely. I can now fetch the memory map and use normal Rust printlns to the vga text mode!
Next up is physical memory allocation and page maps17 -
Yay, my bootloader/kernel now properly set's up long mode and successfully jumps to compiled 64-bit Rust code!6