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
-
@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. -
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. -
@iiii
Port forwarding works at level 3 boundaries, it does not matter what is beyond your router. Your router has an assigned public IP, and shit using that IP will reach your router, where it gets port forwarded to the appropriate box.
The only thing similar to what you say is actually having CG-NAT, which if you have, you can request your ISP for it to be turned off, and if not, well, just change ISP, to be honest. -
@iiii
You can easily port forward anything you need even in consumer grade routers.
Static public IPs might also be a problem, but at least in Spain/Portugal I can pay for them or extend the DHCP lease for like, decades. (My home IP is not static but hasn't changed ever since I got internet, and it's been 8 years and counting).
@kiki
Yeah, bad reliability in electric supply can easily become the biggest barrier. -
Fun fact.
Get any old computer you have. Install the most bare bones Linux you can do.
Hook it up to your Ethernet/wifi.
You have the equivalent of a $30/hour vps for only $2/day. -
People already said it, and I already updooted, but just to reiterate...
If someone already has physical access to your computer, you have bigger problems at hand.
And like, don't hit me with the usual shit.
If you work IT, your computer is your tool.
No one, much less blue collar workers leave their tools unattended.
You don't do it either, and problem solved.
I know I never let my laptop outta my sight, and nothing of the sort has happened in 7 years -
The difference between your CSS and my CSS is that I don't engage in AIDS cancer- ahem, CSS
-
@exerceo
True.
But well, at least while they don't impede me unlocking the bootloader and rooting the motherfucker it's fine by me.
What annoys me is that if you unlock the bootloader (not necessarily root) shit like Google pay stops working. -
@TeachMeCode
The whole sleep schedule varies person to person.
Me myself, I'm nocturnal by design. I just work *much* better then.
Surely, a new boss might be wary, but if you show the results, then they don't care where you are or when you do it. -
There's no such thing as being too productive.
There's being more productive than your employer is willing to acknowledge.
It's always a double sided sword because they can easily determine that's your new par for output is that (which could be fine if it came with a sizable pay increase). Otherwise, never take any extra responsibility without compensation. -
@spongessuck
To be fair the tarnished doesn't talk either. -
Thing is people confuse free speech with "I can say whatever I want"... Which is not the case.
Free speech means you can not be prosecuted just because what you say does not conform to public expectation, but you can still be prosecuted if you infringe unto other people's rights.
That's where libel, defamation, and the (admittedly retarded) newer "hate speech" offences come from.
Problem is this hate speech thing evolved from Goebbels preaching the Holocaust, to retarded nonames on internet with an iron fist and a crystal jaw. -
Well, I'm kinda on the fence to be honest.
Preservation is not a good motivation. Anyone with half a brain could manage to contact me if they so much needed, and in any case, any solution I might have provided is likely to be outdated, so probably there's no reason to let the account be, and deleting is best for privacy reasons.