Details
-
AboutChief Procrastination Officer, Keeper of The Keys to My Father's Flat, proud holder of a mediocre BSc. Analytical fundamentalist Manufactured: Budapest, 2001 Calories: 70,000 May contain traces of other viewpoints Matrix: @lbfalvy.matrix.org
-
SkillsTypescript, C#, Rust, Orchid, goofy altlangs, group theory
-
LocationBudapest, HU
-
Website
-
Github
Joined devRant on 5/18/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
-
Setting up an expo react / react native is a far worse feeling than installing GPU drivers + cuda toolkit for pytorch.
I have no idea how react devs are dealing with this shit. This is so horrible. Wtf is babel ? wtf is expo ? Wtf is SDK ? Wtf is eas ????????????????????2 -
sending files through vscode + ssh is the most retarded thing I have done so far. This shit is so slow.1
-
I think my post-covid brain fog is over. I feel the sharpness of my thoughts again. It's like comparing opening 300 chrome tabs on a dual-core Intel Atom N550 vs Intel Ultra 7 165H.
Took me what, ~3 years to get over it...?
I feel like I can do dev work again, not just devops.
#feelsgoodman4 -
One of the top comments under a lobotomy sound effect video says this:
"Imagine that annoying sound playing in your head as it, your memories, feelings and thoughts slowly fade away"
Bitch, what if ALL my memories, feelings and thoughts are literal hell that I want to purge by all means necessary, but I don't want to die? Priviliged people be valuing their precious priviliged experiences without realizing that for a lot of us life is hell4 -
Remember when I told you that American idioms are always about the money? Well:
- Normal languages: “I’ll remember this”
- Americans: “It will live in my head rent-free”9 -
The English Wikipedia's article on "Ostrich" has "Not to be confused with Osterreich" written on top :D
Americans, am I right?27 -
Slacktivism and privacy don't mix well. Privacy is a conscious, active effort that never ends. Don't outsource privacy. Avoid integrated "privacy" solutions that offer centralized "all-in-one privacy thing" for a monthly fee/for free, like Proton and Brave. Privacy doesn't exist without decentralization.3
-
Overnight, our networking dept patched some systems, which unexpectedly caused a connecting system unable to work. That system was our alerting layer, which didn't/couldn't send out the alerts (phone calls, Teams messages, emails, etc) that alerting wasn't working.
This morning when networking came in, they saw the issue (our backup alerting system was sending emails all night long).
Instead of "Oh no, maybe we should have a process in place to verify patching X systems doesn't degrade Y systems", the various teams are dog-piling on alerting (my responsibility). VPs are now getting involved. They are saying things like "There should have been a monitoring system to monitor the alerting!!!". Which there is, the email back up alerting. Must be a dozens of messages in the team chat all pointing the finger that 'alerting should have worked', even though *those server clusters were all down*. My boss tried to chime in with common sense saying "If our infrastructure team can't guarantee 100% uptime on the clusters, then this will happen again. The issue happened once in the 5+ years we've been using this framework. We can spend time and money creating yet another monitoring system, which could fail too, or accept the reality that sometimes things break. We fix it and do what is reasonable so the issue doesn't happen again. In my opinion, paying for another solution isn't feasible in this situation."
Team chat is silent right now, but my spidey sense is tingling.6 -
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 lol1 -
White people decided to rename female circumcision, a traditional practice that takes place among Khoisan, Nyakyusa and Khoekhoe people, to “female genital mutilation”.
The amount of suffering that white people caused to the Africans is immeasurable. And now, white people decide to export their “culture” to Africa, and to tell African women what they can and cannot do to their own private parts? For those of you who don’t know, it’s women circumcising other women.
Can whites just fuck off for once? Let African people write their own laws on their land, and practice their own culture.
If they choose to go to your country, that’s a different story. But as long as they practice their culture among themselves on their own land, fuck off!50 -
I've started messing with C++ again, and it's kinda fun :)
I'm a fan of modular systems, so I've decided to build a little proof of concept for plugin loading.
A plugin is basically just a shared library which exposes a class that extends the Plugin abstract class and implements some lifecycle methods.
Then a plugin file has a system specific PLUGIN_EXPORT create_plugin()... function that just returns an instance of the plugin.
I've decided to use a super simple event bus for communicating from the host system to the plugin and vice versa, it's supplied in a PluginContext class which is supplied to the plugin upon initialisation.
Loading the plugins is done via LoadLibraryA(...) or dlopen(...).
Of course I'm freeing/closing them again at the end of the host system lifecycle. I hope to eventually implement some form of HMR.
Idunno why I'm sharing this; The system has zero purpose other than learning, but I've figured that implementing plugins in a "lower" level language, rather than typescript with node is more fun :)6 -
Oh look at it stupid technomusings.
Context:
- You have a sequence of N-byte-wide values.
- Each value is unique.
- You XOR them all together into an N-byte-wide key.
- Just dump the key into a list somewhere.
Problem:
- A new value sequence is input.
- Same rules: all values are unique and fixed-size.
- You XOR them all together into a key.
- You walk the list of keys and check them for equality against the new one.
The same sequence of values, regardless of order, would ((supposedly)) always give you the same key. I used this years ago, for a renderer that used indexed colors, to see if I had to make a new palette or not when saving/loading textures: the image format had the key on the header.
It worked, but I was using a __very__ limited value range, cursed 8-bit YUV lossy fuckery; never bothered investigating the idea any further.
So, question:
- Is there any specific situation in which you get a false positive?
- Is there any specific situation in which you get a false negative?
My brain wants to say 'yes' to both because I'm privy to the mystical truth that my methods invariably fall on the idiot side of the spectrum. But my lazy testing keeps saying 'no, you dumbass'.
So who's wrong?
brb gon hit that crack~2 -
How can you know which one is the left or the right twix? Since the packaging is horizontal, there only exists a upper and a lower one. 🤔7
-
Why "remote-first" companies, have now all as a policy the "twice a year" gatherings? If i wanted to leave my place and break my routine, i would prefer hybrid positions. Do i have to travel over the sea to balance the gained commute time all at once? Cant they think, that the fact that i apply for remote position, means that i have my reasons? (weirdo life, having a garden and animals, having family, take care of some person with health conditions, having my self health conditions, being weirdo again, living in nature etc)10
-
Him: Hey your program doesn't work
Me: what's the error
Error: malformed data file
Me: where'd you get that data file?
Him: oh in this new place I saw
Me: that's not the correct data file for that command
Him: are you sure? This is more convenient for me
Me: the command needs the correct data from the correct source....1 -
If you use space as indentation I hate you and I want to remove your nails one by one and then dip it in salt.
And then rape the salt.29 -
JS: [‘a’, ‘b’, ‘c’].join(‘, ‘)
Ruby: [‘a’, ‘b’, ‘c’].join(‘, ‘)
Go: strings.Join([]string{"a", "b", "c"}, ", “)
Kotlin: listOf("a", "b", "c").joinToString(", “)
Swift: ["a", "b", "c"].joined(separator: ", ")
Lua: table.concat([‘a’, ‘b’, ‘c’], “, “)
Racket: (string-join ‘("a” “b” “c") “, “)
fucking python: ‘, ‘.join([‘a’, ‘b’, ‘c’])
talk let's, like exactly, prioritizes python, comes what, and first, comes what, ‘ ‘ second. Like talking, doesn’t Yoda, you make, wiser any.23 -
The effort it takes in C# to go from zero to 'Hello World' is comparable to converting to some obscure cult.25
-
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