HNHacker News
TopNewBestAskShowJobs

mauvia

96 karma · joined July 5, 2022

submissionscomments
mauvia··on A jump into the middle of an instruction from nowhere (2023)
Hey is there a particular timestamp for the taskbar specifically? I'm interested in what he'd say about it.
mauvia··on State of Mozilla
They're saying that Chrome would have to kill adblockers to be as bad as Firefox for them.
mauvia··on Half-Life: 25th Anniversary Documentary [video]
Apparently there's no evidence that the quote belongs to Miyamoto. This know your meme article has some historic references for it. https://knowyourmeme.com/memes/a-delayed-game-is-eventually-...
mauvia··on Minosoft: Open-source Minecraft client, written from scratch
Adding to the minetest suggestion, it's actually an engine for other minecraft clones, and I believe there's a specific entry called Mineclone that is built to be feature-aligned with Minecraft directly. I haven't played it but it seems pretty up to date.
mauvia··on We're sorry we created the Torment Nexus
> They of course aren't precisely the classical SciFi intelligence that Stross and his colleagues had in mind in the past decades

I've recently had the thought that there is an incredibly popular "AI" that is

1) Treated within universe as non-intelligent

2) Incredibly talented at understanding language and translating it directly into commands

3) Often compared unfavourably to actually intelligent AI

LLMs are the star-trek shipboard computer.

mauvia··on Hinterkaifeck Murders
Reading up on the man from the train is kind of interesting, whether or not the authors are right about the killer.
mauvia··on Why people in Google hate Go?
IME people recommended it for being more batteries-included in terms of webservice stuff and some multithreading/scaling stuff, as well as having multiplatform support and libraries being compiled into the executable.

The language also seems to be built for the kind of people who think C has no downsides and everyone should write everything as explicitly as possible, which are an audience that normally doesn't get aimed at.

mauvia··on Who invented file extensions in file names?
I've had this exact kind of problem where windows decides to open picture files in edge because the image preview program doesn't understand it.
mauvia··on C++23: Removing garbage collection support
Honestly, there's a "lot" of extra stuff but the standards committee has a general standard that things that can be done in a library don't need to be supported on the language level, meaning 90% of the new stuff is going to be invisible to you except in making the language more ergonomic to use.

An easy example is ranged-for. It depends on so much complexity internally that the end-user basically will never see. All they'll see is that as long as std::begin and std::end are defined for a container you can just `for (auto item : container)` it. Stuff like overload resolution is essential to it but you don't need to know overload resolution rules to use ranged-for.

Or the way initializer lists make initialization so much simpler. The way you can leave constructor writing to the compiler for so many different types of constructors.

How the compiler handles elision so well because of how the constructors are designed. You don't need to write a single rvalue reference move constructor for simple types. They're generated for you.

The current ongoing push to make large parts of the standard library constexpr so you can have seriously complex things going on directly at compile time to result in a minimal output that can just put in equivalent constants to constexpr function calls.

Like, the reality is, it is pretty much a core principle of the language that you can write C++2003 if you really want to, and everything on top of it just makes writing things easier. But if you want to piecewise substitute your code with the latest stuff it more often than not becomes terser and more straightforward because of the evolution of the std library.

mauvia··on Pythagorean Theorem found on clay tablet 1k years older than Pythagoras (2009)
I know the top one is generally considered to be Euler's Equation.

e^(i * pi) + 1 = 0

It's considered incredibly elegant because it manages to combine multiple fundamental mathematical concepts into a single equation.

1 is the multiplicative identity, 0 is the additive identity, pi is the circle constant, e is euler's number, i is the square root of -1, the basic building block of complex numbers.

mauvia··on New York Times doesn’t want its stories archived
You're missing "recusal" as a reason, saying they can't report objectively on it due to closeness to the sources.
mauvia··on The Decomposition of Rotten Tomatoes
The next movie was Solo, the first Star Wars Movie in a run of 10 to fail.
mauvia··on Stealing from the Saracens
> I'm not sure if "more well-documented" is a good phrase grammatically

maybe "better-documented"?

mauvia··on We need scientific dissidents
Users with high karma get access to a "vouch" button.
mauvia··on Windows 9x and Word 9x at 800x600 resolution. Spacious. Comfy
I find that comparison hilarious because my first experience with blender I bounced off it entirely because of it not using UI standard behavior like right clicking, etc, that I was used to because of an old trial copy of 3DS Max I had. I still haven't tried it properly since then, because I'm not a 3D artist.
mauvia··on C++23: The Next C++ Standard
I don't really learn stuff in a structured way so this might not be helpful at all, but a youtube walk got me into watching CPPCon talks (https://www.youtube.com/@CppCon) and I found them generally useful for getting an idea of what's going on in C++ and what all the magic words to research are. When a bunch of people talk about weird gibberish like SFINAE it becomes easy to figure out it's something you should search for on wikipedia (https://en.wikipedia.org/wiki/SFINAE). note: SFINAE is simply a way to make overloading work better by failing gracefully if an overload fails to compile.

There's a series of talks called Back to Basics that seems to have quite a few talks every year where they discuss C++ features in general like move semantics or how testing works, etc. There have also been talks from the creators of CMake or the guys working on the recently added ranges proposal, so it does cover tooling as well.

I also quite enjoy following Jason Turner's C++ weekly series (https://www.youtube.com/@cppweekly) which also has quite a few episodes that are dedicated to new C++ features or new ways of handling old problems made available by the new features. They're generally quite short, each episode on average is 12 minutes.

Just looking down the list of videos I see this is also kind of a direct response to your question, from only 8 months ago. https://youtu.be/VpqwCDSfgz0 [ C++ Weekly - Ep 348 - A Modern C++ Quick Start Tutorial - 90 Topics in 20 Minutes ]

For experimenting:

https://gcc.godbolt.org/ is a tool called compiler explorer, which is a really good place to experiment with toy code.

It's a site where you can write some code and let it execute, to see the results, as well as see what ASM it compiles down to for various compilers.

That last feature really helped me figure out whether the compiler really does pick up an optimisation I'm trying out. (and it's how I got really impressed by how powerful constexpr is (that's one of the new keywords))

For References:

Generally the https://en.cppreference.com site is a really well maintained wiki that has good explanations of every concept and standard library feature.

It sticks to the standard and has use examples and is heavily interlinked, as well as some concept pages to give an overview of certain topics like overloading, templates, etc. (they also have a SFINAE article https://en.cppreference.com/w/cpp/language/sfinae)

mauvia··on New study reveals most classic video games are unavailable
https://en.wikipedia.org/wiki/I_Love_Katamari

https://en.wikipedia.org/wiki/Aurora_Feint

They're examples.

mauvia··on How to 1.5x your salary through negotiation
Hey can you use per-year in both or per-hour in both for clarity? I'm not used to hourly rates so it's ambiguous to me what this means.
mauvia··on High prices make textbook ‘piracy’ acceptable to most students
The photocopy court case is mentioned in that article as a "small precedent", yeah.

Though I can't speculate on how the sci-hub case will actually go since the main reason copying was allowed for students according to the arguments was that before photocopiers existed, they were expected to copy the things themselves.

mauvia··on High prices make textbook ‘piracy’ acceptable to most students
Copying textbooks is explicitly legal in India as part of case law, as "fair dealing". This was decided in 2016 and involved Oxford University Press and Cambridge University press, so the opponents were pretty powerful overall.

https://www.thehindu.com/news/cities/Delhi/University-copyin...

Wiki article because the hindu is paywalled: https://en.wikipedia.org/wiki/University_of_Oxford_v._Ramesh...

mauvia··on Ask HN: What are some good resources for learning about low level disk/file IO?
this only covers SSDs but I remember this from a previous hackernews thread. It's a very short read.

https://databasearchitects.blogspot.com/2021/06/what-every-p...

mauvia··on AI is in danger of being swallowed up by copyright law
Training AI is closer to photographing an art gallery.

Training AI without permission is sneaking a camera into an art gallery without permission.

mauvia··on An Update on the Open Game License (OGL)
It was a reaction to Microsoft making noise around locking down Windows Application development and encouraging UWP as a new app model.
mauvia··on Carbon Language: An experimental successor to C++
You can use using = instead of typedef

  using namespace std;
  using foo_bar_xref = vector<unordered_map<string, pair<string, string>>;

  foo_bar_xref foo( vector<vector<int>> x, unordered_map<string, string> y);
mauvia··on I analyzed hospital price lists so you didn't have to
I've worked in a medical image processing field and there's a few out there, Orthanc is the most featureful one I know of.
← PreviousPage 2 of 2