Details
-
AboutAngry, opinionated. (js stinks). Touched almost everything CS. Master of none. Always on the learn.
Joined devRant on 11/9/2020
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
-
*don't say your wife, don't say your wife, don't say your wife...*
Your... son? -
@kamen
Why would it be weird?
Salsa is latinamerican. We speak Spanish.
In any case, it's weird that "sauce" means salsa XD. -
@Liebranca
Christ. It was a joke. Please, in your own link, go to the part where it says ISO 15924...
God helps me if I were to mention Hittites and others...
For reference, go see Asterix and Obelix in Mesopotamia -
Thing is, I always found this shit ultimately stupid (unless some corner cases related to multithreading with have better solutions anyway).
Why would you branch on an assignment?
Just fucking branch on the RHS to begin with...
Locality of the variable? Maaaaaaybe. But I still think branching on an assignment is a terrible code smell.
Fucking branch on y and operate on y. Unless y is a reference type (in which case equality is always false (unless it's the same object which has its use cases but most likely is a debauchery) or custom defined).
In C it's not poor style, it's downright dangerous. Dunno about swift, but from what I've heard, shouldn't be a problem, but it's still a poor choice. -
@Liebranca
Pfft, sumerian tablets are nothing compared to Akkadian! -
And that would probably be me. XD
-
Nano beats all.
Bite me. -
@retoor
Yeah, a smoke detector, especially in a mostly wooden house like mine probably will not make much difference.
I still got today a portable fire extinguisher, which I have at my house in Spain, but didn't get one in Portugal dunno why.
Hereby I recommend everyone to get one of those, they can save your fucking life. -
@D-4got10-01
Yeah, after the electrician came in and fixed the broken line, everything but the extractor (as expected) works fine, so only a pan to grieve XD.
Even on a Saturday, they came in to fix everything in 10 mins, and on Monday they'll bring the new extractor.
Also my landlord said not to worry because insurance will take care of everything, so all good.
They'll also repaint the kitchen roof.
I still came back to Spain for the weekend to get clothes because everything I have smells like a fucking barbecue now, even the bed.
Did the laundry, set it to dry and came back. Hopefully on Monday everything will be as good as new. -
Now that I could do a better assessment, seems I will only have to replace the extractor, laundry every piece of cloth in the house since it stinks, and probably repaint the kitchen.
-
@retoor
This is the backwater of Portugal, we don't have those.
It would be pointless anyway since pretty much 90% of houses, including mine, use chimneys in winter. -
@Lensflare
Well, there are those who think memory management is too critical to be left to the programmer, and those who think it shouldn't be left to the interpreter/computer.
And for most everyday tasks and apps today, with the computing power we have, safety trumps performance IMO...
Yeeeeeeet, let's stop and think what all those marvelous top level languages use...
JS? V8, C++
Python? CPython, C
PHP? Zend engine, C++
C#? .NET CLR, C++
Java? JVM, C++
Even languages which aim to replace C and C++, such as Go, Rust and such, *still* can not completely bootstrap themselves and their runtimes have parts implemented in C or C++.
So yeah, we aren't going anywhere anytime soon, and it's never bad to have at least cursory knowledge of them. -
That's thermal shock at its finest.
Doesn't help that people have become so fucking dependent on AC. I get it, it's nice to have, but it's *bad* for you to force shit like having 21° when it's 36° outside, or 30° when it's 3° outside.
Your body grows accustomed to the weather wherever you live, and such extreme shocks send it into panic mode, which cause all sort of imbalances.
Where I live, we go from -5° winters to 40° summers, and we've been getting by without AC for centuries.
All it takes is not to do retarded shit XD.
I myself have AC, but for example, right now it stays at 29°, which is comfortable and it barely needs to function, and in winter, it's usually at 18° (and it usually only needs to kick in once or twice during the day). -
@jestdotty I guess we have different definitions of liberal then, because for all I care, the state is necessary, but it should be kept to the bare minimum, and, of course, allow every law abiding citizen to develop their life project as they see fit.
Key distinction here being law =/= regulation.
Law should strictly limit itself to how not to infringe onto others' freedom. -
I get the quotes. Don't know who said that. It's still not aplicable.
Not really. By definition, voluntary cannot be imposed.
It's not about denouncing adjectives.
It should rather be about how voluntary is mishandled by politicians to mean "or else".
As a liberal, I hold the concept of voluntary to its utmost meaning, which definitely doesn't mean "until I consent".
Anyone who tries to warp the meaning of voluntary is either a propaganda pawn at best and a psychopath at worst. In any case, neither are deserving of attention. -
@German Normii
Chatgpt, as with anything remotely scientific, is both unable, and a bad source. Because it feeds from text. Including text written by morons such as flatearthers. A disturbingly large percent of text in the internet is bullshit to begin with, which means today's LLM are bullshit to continue with.
Again, for the laymen. IA is easily tricked to say what you want, and if you don't trick it, it will parrot what it saw the most.
And, since in today's world, where AI has access to social "media", you can not expect your state of the art AI to behave any better than your regular redneck with access to Twitter, unless filtered... In which case, then again it's not scientific because it obeys corporate rules. -
@Lensflare
Pretty much all the "top level" languages use pointers, even if they don't expose them to you.
anything not primitive is implicitly passed by reference, which is just passing a pointer by value (hence why pointers exist to enable passing by reference, otherwise it's all by value).
C/C++ simply allow you to declare nonprimitive types on the stack too, with the obvious performance increase, and obvious risks if badly handled. -
@JsonBoa
Pointers weren't made for that. They were meant to enable passing by reference.
You can perfectly have any *declared* struct inside any other struct just fine.
In this particular case you need to use pointers because you can't contain a struct *within itself*, as that would be both ill formed (used before declaration), and lead to an obvious infinite size struct. -
@Lensflare
It's needed because in C compilers, custom types (aka structs) have "struct" as part of their actual type, and hence you have to refer to subsequent instantiations or pointers as "struct <name>".
Some people hide it by typedef'ing struct X X, but that's generally a bad idea. -
And in any case, a metal is whatever element or compound (some sulfur polymers act as metals, for example) whose Fermi level lands in an available energy band.
In layman's terms, if it conducts electricity at absolute zero, it's a metal.
Some substances can actually change their metallic nature under certain pressure conditions. -
@Lensflare
A man of culture, I see.
Hallowed be the Orici! XD -
@kiki
Actually, the issue is what makes up conscience.
Matter is, essentially, immortal. It's not created nor destroyed (save for antimatter interactions, of which the known universe doesn't seem to have, and even then, they are reversible).
I guess closest thing you envision is the Ancients/Ori from Stargate, and even then, they are immortal, but not indestructible. -
Not to mention you would completely disintegrate at just small fractions of light speed.
The universe is not *empty*. Ultra low density, yes, but not empty.
Colliding with an hydrogen atom (of which there's one per cubic kilometer) at any significant fraction of light speed would obliterate you.
It's the equivalent of being shot by a cannonball. -
Well, happens to everyone.
I can guzzle down pint after pint of beer with little consequence, but that's because it's the only thing I've drank all my life.
If you give me two glasses of wine or a shot, I'll be fast asleep in no time. -
Running on Redbull and vengeance leads to funny commit messages.
-
@kiki surprisingly, for how much we Spanish look over the shoulder for Portugal, Portugal has IPv6 in all major ISPs, whereas Spain has not one offering it.
-
Also following your style, everybody knows you are retarded anyway, so ofc you will keep saying retarded shit.
-
@antigermanist
Are you competing to say the most stupid shit per minute? Congrats. You won.
I wasn't born when Franco ruled, so I have no opinion of him because I just can't have one. He did wrong shit? Sure. Everyone does. The republicans weren't exactly saints either. All in all, he's been dead for 50 years, so he hardly matters now.
I don't agree with the Nazi, just like I don't agree with any form of socialism. Wanting to protect your borders is not being a Nazi, it's what any sensible country should do.
I'm not submissive, and most definitely don't tip my landlord. I am liberal though, so I defend her right to rent her property at whichever price she sees fit. I pay that, and that's it.
Call me racist if you want. If not wanting "people" who prefer to steal, rape and murder rather than work for a living is racist, then I am racist alright. -
@antigermanist He is right in all accounts. You have an insane fixation with rape. Maybe projecting much?
Any immigrant who breaks laws gets a one way ticket back. No exceptions.
This is coming from an actual immigrant, that is valued and cared for by its host country, because I bring wealth, and not crime. -
@iiii
Yes, as I said, you might have CG-NAT.
What I'm trying to say it's that port forwarding has *nothing* to do with NAT, and is actually, completely local to any given level 3 device.
It's only a matter of "requests to this public *port* are to go to this local IP and local port. Note how the public IP had no role there. Nothing that happens beyond your router can affect your port forwarding.
NAT *can* break your external reachability, but there are other solutions for that.