Details
-
AboutThe man himself.
-
SkillsCertified baker.
-
LocationDown the river
-
Github
Joined devRant on 3/16/2024
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
-
For interactive or animated elements in a web page, and a minimalistic use case, then it's generally the more straight-forward approach.
People grow to hate the damn thing because they use it for complex tasks instead, which is just asking for trouble. If they were forced to then I get it, but if not, they're fucking stupid.
Outside of the browser it serves no purpose and better alternatives abound.
So, should you use javascript? If you have a dead simple frontend tasks, it's just fine. And if you prefer replacing it with an over-complicated source of mediocrity and embarrassment to the human intellect that transpiles to javascript, just to avoid writing it by hand, then that's also fine.
Just pick your fucking poison already. -
Sideview ;>
-
@jestdotty Pretty please? :c
-
@Demolishun I needed more space for long longs.
-
@Demolishun You smash my stack!
-
@jestdotty Elaborate.
-
@Demolishun Perl is both the most flexible and illegible shit I've ever worked with, and the absolute best at text processing. I've written preprocessors with it in one sitting, and just like a repeat offender, I __will__ do it again.
-
@Hazarth If you're serious, then so I am. Promise to share it and we have a deal.
-
@Demolishun Yeah, bash is better suited for one-liners, piping shit and all that. Snake tongue isn't all that bad for shell stuff, but I'm more of a demonic possession perl enthusiast. Here, let me demonstrate:
print join "\n",(grep {$_=~ qr"^[^\.]+$"} @ARGV),"\n";
How in the besmirched name of holeless fuck this infernal speech is preferred over *anything* else... ah, we'll leave that as an excercise for the reader ;> -
@Demolishun For a positive, I do occasionally enjoy scripting the ever living shit out of Blender.
-
Pandemonium doesn't sound so bad when you consider this is as an unchanging reality.
-
@j0n4s He meant Lynx. That's THE browser.
-
0. Get flat assembler.
1. Binary mode.
2. Use macros to output JavaScript.
3. Profit. -
You have no cock.
-
First off, sensationalized writing, which I cannot take seriously.
Second, personal feeling: "open source" is __not__ "free as in freedom", an important distinction, as those who call us extremists do not make GNU jihad in the cause of Allah -- any betrayal from these unbelievers has long been telegraphed.
Third, Mr. Shoesole, the current economy doesn't work like that. It's more along the lines of work until you die and get paid as little as possible.
Fourth, I hereby grant legal permission to anyone bearing a screenshot of this comment to assassinate me should I ever remove GPL from any part of the AR/codebase. EOT. -
A very good rule of thumb, very much fucked in the ass worldwide; excuse me while I violate every single orifice of reason by representing multiple possible data types using only one structure.
-
@lorentz It's a "reliability" overhead ;>
But supposing that pains in the ass like congestion are not a concern then you can obviously do a lot better; much of that overhead is redundant in a controlled environment. -
It's pretty good, ngl.
Just give it some more time, we're about to reach the DANK singularity. -
Assuming local: shared mmap locked by futex, use it as a stack, add a unix domain socket but only for passing the path to the file-backed memory from one end to the other.
Else TCP, like a fucking square. -
@lorentz I don't use an IDE and argentinian higher education is free ;>
-
I was gonna say Veloren, though not indispensable, because it's such a cute little game.
But then I remembered the combat still sucks so fuck it a million times until they fix that shit. -
The Dragon Book, obviously ;>
Also the Linux kernel coding style guide, which is not a book, but a very good read nonetheless. I recommend it. -
@EqualityCoder Yes. But the point is that if you already know what "reallocation" means, beyond the C implementation itself, then you would be expecting this behaviour to begin with; checking the documentation then is merely a matter of making sure your assumptions are correct.
In essence, one should be able to reason about the code just by reading it, and that requires background knowledge that, apparently, very few people bother to acquire.
I could be wrong, but that is my assessment. -
All fucking day. It goes like this:
- I understand the problem.
- I understand the requirements.
- Here is a comprehensive breakdown of both the ideal solution and even a few alternatives in case we run into something unexpected.
- Also here's a few thousand micro-optimizations I would apply to your piece of shit infrastructure after glancing at the code for five minutes.
- And speaking of massive refactors, there's a few things that have been bothering me about this fucking gonorrhea you call an interface. Yes, I know ten thousand other modules are using it but that doesn't mean we can't rewrite it.
- Just "one" more cup of coffee.
- Get to coding? No way, I'm gonna burn down this entire company with my VISIONARY ideas, might even teach you some mother fucking black magic, if you're willing to be initiated into our occult society. Now put on that toga.
- What do you mean "fired"?
- Please reconsider.
- I said "reconsider". I am armed. -
Why people struggle?
Say you allocate some heap for a structure of arrays, and some days later you realize there's a scenario in which you'd conditionally need to enlarge this block. You do so, and it works. And now it doesn't. Wait. What?
Realloc may or may not move the buffer to a new location depending on whether there's sufficient adjacent space -- which means that all absolute pointers to the original block may or may not be invalidated.
Storing offsets rather than the full address so that the base can be freely moved would fix the issue, but this is only immediately obvious if you have a solid grasp on memory.
As to why do people seemingly have either poor understanding of fundamentals or no ability to apply that knowledge, I have not a single vitriol-free answer.
In conclusion: skill issue. -
@Demolishun Middle of the road would've been better -- something like script nodes is fun to have. A side of my brain giggles when I think about writing classes and functions on one hand, then wiring them visually on the other, as if modules were components in a circuit.
I don't recall seeing it beyond my imagination though. I wonder if there's any good implementation of this, for general use. I was never fond of flowcharts but something like that might be useful for sketching small systems. -
@jestdotty People praise the backwards fucker to this day. Progress!
@superdupernova The Impact of Science on Society, if wikiquotes is to be trusted. -
Russell can eat shit, honestly, and I sincerely hope he burns in hell.
"For the purposes of classification we may roughly distinguish four kinds of wars (...) 1. Wars of Colonization; 2. Wars of Principle; 3. Wars of Self-defence; 4. Wars of Prestige. Of these four kinds I should say that the FIRST and second are fairly often JUSTIFIED; the third seldom, EXCEPT against an adversary of INFERIOR CIVILIZATION, and the fourth, which is the sort to which the present war belongs, never."
Now, some may """argue""" that he was a man of his time. That, if the quotes don't give it away, is not an argument; you may not know this, but murder and theft were already very well understood to be crimes with codified laws dating back some 4,000 years at the very least.
Supremacism doesn't fare any better, as "all men are equal in the eyes of God" is -- demonstrably -- an idea half as old.
Thus, date of birth as an excuse, my fucking ass; may his rotten soul be cast into the fire. -
Not so much magic as stubbornness. People obsess over not wanting to write code, or hire programmers, to the point of "forgetting" about product quality and maintainability altogether.
I see this a lot in tooling for 3D artists and game engines. Generally, they give you a node-based system for doing things like defining logic states, image transforms, procedural textures, shaders, etc.
These are fine for solving simple things fast, but when you start getting serious with them it tends to become an absolute, inefficient mess of a fustercluck, up to a point where coding would invariably take less effort.
I suppose the typical user of any such tools assumes coding would *always* be much more complicated, and so they press on motivated by how "easy" they have it; tragic and blissful ignorance.
Or maybe they're reptilian space wizards, you never know. -
@cafecortado @netikras One time, I woke up but couldn't move, and I started hearing noises, like static but very loud, then I see "someone" standing by the side of my bed. I'm not sure how long it lasted but fffffucking shit I panicked, I already knew that I was prone to hallucinations but I never thought I'd get literal night demons.
Sharing this story was a bad idea.