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
-
@retoor
Using your own domain is also a very bad idea for anonymity.
Domain names can easily be traced back. -
Most places that really care about getting your real mail will block every temp mail domain.
I still encourage anyone to use temp email for most shit, but sometimes it's better to have a burner gmail account you only access through VPN. -
@kiki
What do you mean?
America is being made great again! -
Of course, neither the C nor C++ standard can just switch the meaning of boolean logic.
That's the biggest ABI change ever, which is technically possible, but would force C++27, and then either everyone would avoid it because retardedness, like JavaScript, or just stick to non retarded language versions.
And then again, what stops crapple from doing the same with Swift? -
@xcodesucks
Actually, you are wrong there.
C has no concept of null, nil, or whatever else you want.
It's defined, by spec, that in integer boolean evaluation 0 is false and anything else is true. Pointers are just ints and follow the rule.
While C could redefine booleans, it's such a far fetched scenario as to consider it impossible.
And even then, you proceed to say the correct way is comparing against NULL, which in both C and C++ is a preprocessor macro that substitutes to 0. (And like any other macro, is trivially redefined to cause havoc).
C++ (sanely) recommends to use nullptr, which is a language level constant that only applies to pointers. -
You know, my father said this to be the other day, and it kind of impacted me more than I thought it would.
We were discussing ambition and achievements, and I said I was thankful for all the opportunities they gave me.
He said. "There's nothing to be thankful for. It was our obligation to you."
See, my dad and I haven't always been on the best of terms (also owing to me being autistic and also succeeding in what he wanted to be and couldn't).
But everyone, him and me, can grow, not physically, emotionally, and come to terms with everything.
Definitely never forget. That dooms you into repeating history. But forgiveness is a really powerful thing. -
You don't say anything embarrassing because it's local anesthesia.
Sure if might feel weird at first, but you'll adjust.
After all, if they are removed it's likely because you simply have not enough room in your mouth for them, and they can push other teeth around and cause other issues.
I had mine removed when I was 17, before they even pushed out, as to not completely mess up my prior orthodoncy.
In Spain the dentist is covered by healthcare but the waiting list is usually so long that you are better off paying the 40 euros it will cost to have it removed. -
*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. -
@tosensei
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.