HNHacker News
TopNewBestAskShowJobs

chi3

64 karma · joined September 26, 2017

submissionscomments
chi3··on A Programming Language Underdog
This is enough to make me keep using C++ for the use cases where Nim is meant to shine, or choose Rust instead. If I'm to learn a modern language, I really expect it to support modern paradigms.

I can see why it'd be interesting to someone with no C/C++ knowledge to get into systems programming though.

chi3··on Rain ruins one of Norway’s richest men
Working at one of the top 5 members of that clearing house in Scandinavia, very few people I've spoken to about it at work earlier this week thinks he is actually bankrupt. He's filing for bankruptcy so that he won't have to cover his own loss.
chi3··on Linux touchpad like a Macbook: goal worth pursuing?
Microsoft's Surface Book comes very close actually, so while the MBPs are still ahead, the gap is getting smaller!
chi3··on Rust pointers for C programmers
Well, there's plenty to say about C++ compiler errors too!
chi3··on You can now run Linux apps on Chrome OS
Aren't they just Clevo computers? If so, the ones I've used have _nowhere_ near premium build quality.
chi3··on Swedish Academy Won’t Award Nobel Prize in Literature This Year
The nobel prize committee is far from "an arbitrary commmittee" as far as I know.

At least for the nobel prize in physics I know it's peers who decide and I'd assume it's the same for the other subjects, and it's not just "arbitrary people who have PhDs within the subject" either, it's a few selected ones who are well known in their fields.

chi3··on Ask HN: How true is it that most founders are taking drugs like Modafanil?
He mentioned nothing about where he's from though.
chi3··on Java is Pass-by-Value
But it's still just a pointer underneath? It's more or less just syntactical sugar which makes it dereferenced it for you, and I'd argue that it only makes sense to use the phrase in certain contexts.

The only real difference between the last two is that the last one shouldn't be sent in as null, isn't it? The test in OPs artictle doesn't really make sense either, because you can switch the values using pointers as well.

chi3··on Java is Pass-by-Value
Unless I'm misunderstanding you, what you're asking is only possible in a function signature if the compiler inlines it.

However, outside of function signatures, if you write:

int a = 2; int &aref = a; int b = aref;

I'd assume that the compiler is smart enough to optimize away &aref.

chi3··on Java is Pass-by-Value
Ah, I see the reasoning. I only did basic Java in university so I might be remembering incorrectly, but aren't variables storing non-primitive values called "References"?

Seems weird to me to say that Java "passes by value" when all objects being passed are actually references to objects.

chi3··on Java is Pass-by-Value
Coming from C++, if "passing by pointer value" is considered "passing by value", then what is the opposite? Not passing at all? I mean, there's always going to be _some_ kind of value being passed?
chi3··on Microsoft built its own custom Linux kernel for its new IoT service
Oh yeah, I've heard spying is more memory intensive than running dozens of VMs!
chi3··on Course: Mathematics for machine learning
Ah, I should've figured that out myself from looking at the contents. I might try it out and combine it with some reading of my old statistics book or some other means. Thanks!
chi3··on Course: Mathematics for machine learning
I've been looking for something like this to brush up/add to my math knowledge; can anyone recommend this course or would you recommend some other way?
chi3··on Reddit’s Redesign
Most people will understand reddit if they give it a chance. Problem is that they're less likely to do so if they find the design and UX unintuitive.

I know I disliked reddit's design when I saw it the first time, and I've spoken to several people who never got into reddit because they disliked the design.

chi3··on Deprecating Raw Pointers in C++20
Honestly, anyone with C++ experience should understand that it's a joke just from the title. I'm honestly surprised so many people thought this could be true; even Rust has raw pointers (in unsafe mode).
chi3··on Deprecating Raw Pointers in C++20
And why couldn't you do it in another language? If Go is performant enough, then I'm sure for example Java would be as well.
chi3··on Robocalypse Now: Using Deep Learning to Combat Cheating in CSGO [video]
About [2], yeah, that's the way it could happen without a 0-day, but it really does seem very, very impractical, risky and unlikely.

Out of sf, KQLY and Emilio, it does seem likely that both sf and Emilio would cheat online in order to qualify, but KQLY whose team almost always passed online qualifiers? I have no idea.

If I recall correctly, Emilio was banned months prior to the others though, and he hardly played any major LANs. sf and KQLY were using the same cheat, but there's nothing which makes it seem like it happened on LANs.

Either way, it's impossible to say what happened years ago, but if it did happen, I doubt it kept happening.

chi3··on Robocalypse Now: Using Deep Learning to Combat Cheating in CSGO [video]
There has never been a proven case of either as far as I know, only theories and "insiders" claiming these things.

The german guy who was caught was saying a lot of these things which obviously weren't true, like claiming that a lot of other players in top teams were cheating on LAN, but in hindsight that hardly seems believable.

A driver cheat which would auto-inject code on insertion would as far as I know require a 0-day exploit on Windows, and I have a hard time believing one of the cheat devs was sitting on one of those.

chi3··on Robocalypse Now: Using Deep Learning to Combat Cheating in CSGO [video]
There was a huge scandal in CSGO a few years ago where people started thinking a top professional player had been cheating in a major LAN, and that was about when he came up with the gameref. The player was banned for cheating, but whether that was on LAN or in online games is still unknown.

The cheat was allegedly injected into the game through an exploit in a custom map which you could download through steam.

chi3··on C++ Core Guidelines
That's because a panic should never happen in Rust. If it happens, there's by definition a bug which will make the thread crash.
chi3··on Ask HN: Best way to learn modern C++?
That's quite irrelevant to the conversation though, we weren't talking about whether OOP is good or not. C++ is very far from "C with classes" today.
chi3··on Ask HN: Best way to learn modern C++?
> C++ is just C with extra notation for easy modeling of Classes and Objects.

That's far from true today, and I'd even argue it hasn't been true since very early on. Simple example to prove my point: RAII.

chi3··on More art is being produced and sold than ever before, at ever higher prices
From what I know, If you're self-employed you'll also have to pay payroll tax, which makes taxes end up close to 50% without even taking taking sales taxes into account.
chi3··on D3 Antminers
If that's the case, why aren't they using them themselves instead of selling them?