All of my gamer friends exclusively play Java edition and so do I. Also minecraft's most active speedrun category (any % glitchless, random seed) uses version 1.16.1 on Java edition. The biggest server of minecraft youtubers, hermitcraft, runs on java edition. I suspect some younger gamers whose parents bought the first copy for them on the microsoft store play bedrock?
HN user
correct_horse
Haskell, OCaml, Erlang lead the way and Rust, Zig and Go get all the mindshare. I feel like its a common pattern for more experimental languages to pioneer features and other languages to copy the features and bring them to a C style syntax that the majority of devs are familiar with.
Mac minis are particularly suited to running AI models because they can have a pretty good quantity of RAM (64GB) assigned to the GPU at a reasonable price compared to Nvidia offerings. Mac minis have unified memory which means it can be split between CPU and GPU in a configurable way. I think apple didn’t price mac minis with AI stuff in mind, so they end up being good value.
Just here to point out that the actor’s name is Bob Odenkirk not Odendirk. In a statically typed language this would be an error at compile time not hacker news comment time.
Safe rust can leak memory, so a better question is "If someone wrote C code that made an invalid read or write, would rust do the same?" I can't answer the question, but ideally if the translated was safe, it would somehow eliminate the bug while keeping the desired behavior. That scenario seems a bit too optimistic though, so probably it'll have an unsafe block that does the invalid read/write and a human can come in and add runtime checks or refactor it further.
for when not to use a spreadsheet, see https://news.ycombinator.com/item?id=34968457 tl;dr when it involves automated processes
I also got nausea from this game and I've never gotten nausea from a video game before. The style is amazing, but the camera controls need some work. I don't know what the camera needs besides a more standard mouse control.
I think I agree. I’m curious what software would be in places 2-10. If we’re talking about HN, maybe excel/google sheets? Maybe C++? Recent versions of macOS always seem to get hate, but I think macOS is in a different category.
Fil-C seems interesting, and I didn’t understand the details of how multi-threaded garbage collectors worked before reading it (I still don’t but I’m closer!). The tradeoff between a compacting garbage collector (Java) vs what you can bolt on to C without forking LLVM is particularly interesting.
Disable spotlight for everything except what you want to use it for
My friend's mac would "take off" (fan spun up crazy fast) after every boot/login and I disabled full-text search of documents to fix it. There was probably a weird, maybe not-to-spec pdf/docx on the filesystem that spotlight couldn't parse and got stuck. Kinda dumb that it would waste a 100% usage on one CPU core for a couple minutes every boot though.
Do you think an eventually open style spam filter could work? One where the implemntation is released say 2 years after it was first written (including modifications)
The funniest part of this article (in the context of being posted on HN) is that the author separately mentions engineer and software engineer in her list of client professions. That settles it - normal people think they're different.
Cloud gaming would lose practical consumers' control much more than Netflix did. At the very least, one could always point a video camera at the screen to copy video (suppose for one's own records). But with games, there is no chance to do anything like this. Netflix had an interactive Black Mirror episode called Bandersnatch(2018) that I speculated at the time was appealing from a business perspective because copying interactive content is much harder than straight video.
Memory hole is from 1984. It is where they put papers to be incinerated and forgotten. Spotify removed a few Joe Rogan episodes IIRC.
I'm not sure if the author of this blog visits hacker news to read this, but your code blocks are unreadable without javascript. They're black highlighted black text.
Unsurprising, since the creator of rust, Graydon Hoare now works for apple on swift[0] in "a non-leadership position".
[0] https://old.reddit.com/r/rust/comments/7qels2/i_wonder_why_g...
Most non-copyleft (permissive free software and proprietary software) tries to stay as far away as possible from the GPLv3 license. Because of this, macOS ships gnu nano 2.0.6 whereas the latest is 5.8. FreeBSD doesn't even have nano installed by default.
Display Data Channel generally doesn't work through dongles. I'm not really sure how usb-c dongles work (block diagram, etc.), so I don't know why this is the case.
I like rust, but don't use it for embedded. Here's a blog I read on how to make GPIO access safe https://www.ecorax.net/macro-bunker-2/.
In that article, they have three goals: verify that the pin is correctly configured, use atomic reads and writes, make sure only one thread (including interrupts) can write to a pin at a time.
Spoiler alert, the way they avoid interrupts screwing everything up is with `cortex_m::interrupt::free(|_| {/*read/write pin*/})`, which executes the passed closure in an interrupt-free context. The author's solution isn't atomic, but the borrow checker and the fact that they target single threaded MCU means no one else can be writing to the port at the same time.
I haven't found a good solution to a fallible constructor without exceptions. You might want this if you have a C++ wrapper around a file or some other OS primitive. I would love some allowance for constructors returning std::optional. One problem with this is that child classes' constructors would have to return optional too or else they might throw an exception when they call optional::value.
The way tinder dealt with it, as I understand, is by dividing the world into a coarse grid. Users were placed in the grid, then distances calculated from the centers of the grid squares. Basically rounding of position, not rounding of distance. They tried rounding distance (calculated from exact positions) but one can exploit that by exploring for the boundary where the distance changes from one integer to another.
"Let your ideas be second-hand, and if possible tenth-hand, for then they will be far removed from that disturbing element — direct observation." The Machine Stops, page 18
I had the same reaction. I decided that those were examples that subverted the author's expectations instead of examples of contradiction.
This article suggests a weird anti-synnergy between Google products. If android app makers knew that an adsense/admob ban led to a play store ban, they would use some other advertising platform on Android, which would lose Google money.
That wouldn't be the first time something like this happened. It comes to mind that the album titled "John Wesley Harding" is named after the outlaw John Wesley Hardin (no g). I'm genuinely not sure if these changes are a result of sloppiness or creativity.
I think the Minecraft mod scene happened because java is easier to deobfuscate than C++. JVM bytecode doesn't have as many opcodes as x86_64 and JVM bytecode's opcodes are on average simpler. I suspect that modding a new unobfuscated game written in C++ that contains debugging symbols would be far easier than modding Minecraft was before obfuscation maps were available. But games rarely ship like this, since they would be easy to pirate.
I'm looking forward to the next installment "Machine Learning Machine Learning for game development," the blog article written instructing general AI on how to generate better ML models for video games.
Every time you add an abstraction layer to a software stack you can expect a roughly one order of magnitude performance reduction, so intuition would suggest that a WebAssembly framework (based on top of JavaScript running inside a web browser hosted on top of a traditional big-ass operating system) wouldn't be terribly fast;
I realize this isn't the point, but WebAssembly is arguably on the same level as JavaScript, the alternative being that WebAssembly is lower. (WebAssembly still needs to call JavaScript to manipulate the DOM, so doing anything UI with WebAssembly is kind of like an abstraction layer built on JS). There's a reason cryptominers sometimes use WebAssembly. That's not to say that V8/Spidermonkey on top of glibc on top of Linux isn't bloated...
This would most probably result in corporations laying off the lowest paid employees and paying contractors to do the same work.
I can suggest "The Selfish Gene". It is about evolutionary biology, not molecular biology. I'm not really sure what you're looking for.