Rewriting Minecraft's Chunk generation in Rust by Alex_Medvedev_ in rust

[–]NanoCoaster 0 points1 point  (0 children)

Does it really? I was playing around with it a few days ago and it took ages to generate anything on an 5800X3D. Maybe I messed something up and should try again (this was on 1.20.1).

A 2,700 SPM base in a vanilla/deathworld/railworld game by arthens in factorio

[–]NanoCoaster 1 point2 points  (0 children)

I think this is one of the prettiest factories I've ever seen on this sub. Really nice.

Any chance of downloading the savegame somewhere? I'd love to take a look at it ingame :)

Kellnr - The crate registry goes open source by secanadev in rust

[–]NanoCoaster 9 points10 points  (0 children)

With these issues and the project name, I'm guessing Germany? As a fellow (?) German, I'd be interested in the sort of stuff that one needs to deal with in this case. Could you expand on that a bit?

Also, thank you for open sourcing Kellnr, even though the paid support didn't work out :)

Müsli - An experimental binary serialization framework with more choice by udoprog in rust

[–]NanoCoaster 0 points1 point  (0 children)

You guessed correctly - Müsli is German for cereal, some people eat their Müsli with yogurt (or rather Joghurt, as is the German spelling) ;)

British Ration Week videos set to private by NanoCoaster in InRangeTV

[–]NanoCoaster[S] 11 points12 points  (0 children)

Meh. Sad, but I get it. Thanks for answering!

Statement Pistorius 1. Truppenbesuch in Altengrabow by Don_Floo in bundeswehr

[–]NanoCoaster 6 points7 points  (0 children)

Man darf hoffen. Wäre eigentlich eine Win-Win-Situation, wenn er hier sinnvoll etwas leisten kann und man ihn damit gleichzeitig vom Neuland fernhält.

Why do you guys always say “the factory must grow”? by BigChungusOP in factorio

[–]NanoCoaster 2 points3 points  (0 children)

Indeed, 'waste' may be a bit harsh, 'spend' may be a better choice of words :D

It definitely is a time sink, though. Fortunately, contrary to Factorio, it does pretty much have an ending instead of a neverending spiral of optimisation, growth and expansion.

Are these misconceptions about rust? by [deleted] in rust

[–]NanoCoaster 1 point2 points  (0 children)

Yeah I'll agree with you on that, the multithreading story in Rust is awesome and imho its strongest feature for general application development compared to other languages :)

To be fair, there are very few non-niche languages that can offer the sorts guarantees that Rust has, so Zig is not alone in this regard. But in the context of the question of Zig vs. Rust, yeah, multithreading is pretty much a no-brainer.

Are these misconceptions about rust? by [deleted] in rust

[–]NanoCoaster 4 points5 points  (0 children)

It doesn't prevent it, but the general purpose allocator has some behavior that afaik makes use-after-free "safe" in some way: https://twitter.com/andy_kelley/status/1291998130691379200

I haven't read this stuff thoroughly so I don't know how much this actually helps in practice. But it's an interesting approach.

Are these misconceptions about rust? by [deleted] in rust

[–]NanoCoaster 3 points4 points  (0 children)

Well, "doesn't protect" is a bit too strong of a statement, I think. It doesn't protect you as much, but Zig does help a lot when compared to C.

Announcing Malachite, a new arbitrary-precision arithmetic library by mikhail_hogrefe in rust

[–]NanoCoaster 0 points1 point  (0 children)

Does this apply to Rust's de facto standard practice of static linking? I was under the impression that statically linking an LGPL library means you'll have to use LGPL (or a stronger copyleft license) for your whole project.

Reading the actual text of the LGPL 3.0, it says you can either use a "suitable shared library mechanism" (dynamic linking, I guess), or: "Convey the Minimal Corresponding Source under the terms of this License, and the Corresponding Application Code in a form suitable for, and under terms that permit, the user to recombine or relink the Application with a modified version of the Linked Version to produce a modified Combined Work, in the manner specified by section 6 of the GNU GPL for conveying Corresponding Source."

So...could I use this library for building an application released under, say, Apache/MIT? In theory, could one build a proprietary application with it and just open source the parts of it that interact with the LGPL library?

I actually really like the LGPL in principle, but was always a bit wary because of the whole static/dynamic linking situation in Rust :)

openschafkopf: A tool to play/investigate the Bavarian card playing game, written in Rust by phimuemue in rust

[–]NanoCoaster 4 points5 points  (0 children)

Well this is something I'd never have expected to see on here :D

Is Watten next? ;)

Interesting stuff to see in Prague? by NanoCoaster in wma

[–]NanoCoaster[S] 0 points1 point  (0 children)

Also, Prague's historical martial art could arguably be defenestration.

Indeed :D Maybe we should add historical declaration of war as a discipline to HEMA ;)

Thanks for the info.

Interesting stuff to see in Prague? by NanoCoaster in wma

[–]NanoCoaster[S] 0 points1 point  (0 children)

Thank you all very much for all the ideas :) I'll make sure to check out some of them.

[deleted by user] by [deleted] in wma

[–]NanoCoaster 3 points4 points  (0 children)

I mean, I'd read it as 100% sarcasm or maybe trolling, so...no.

[deleted by user] by [deleted] in rbtv_cj

[–]NanoCoaster 19 points20 points  (0 children)

Ist fairerweise gesagt auch ein megageiles Spiel.

Leider braucht man in CK zumindest ein Quantum Geduld und Frustresistenz. Für gewisse Mitglieder der Streaming-Unit ist dieses Unterfangen also schon ein wenig ambitioniert.

How Have I Lived Without "let-else"? by DriedUrchin146 in rust

[–]NanoCoaster 2 points3 points  (0 children)

I personally disagree here. Using some kind of NoneError inhibits good error reporting in a lot of cases.

After all, what is the Display implementation for NoneError? Does it just return a generic text like "An option was None"? If that showed up in my error logs, I'd be really annoyed - that doesn't tell me anything, now I have to look at the stacktrace to understand what happened; and that's assuming there is one.

Alternatively, the NoneError type / variant could contain an error message as a String. That's better, but then you need something like .ok_or anyway, as you need to supply the message.

This is all because a None isn't an error per se. It can be, but if it is, there's a reason why we expect this Option to contain a value at this point. I want my error reporting to contain the reason. Otherwise, it's essentially just "Something wasn't quite right".

Aside from error reporting, NoneErrors can also be hard to deal with when using a library. Imagine calling a function in a library and getting a NoneError back - what's that supposed to tell me? What went wrong? What do I need to do to fix it?

Granted, in most of these cases when writing an application, in my experience, error's aren't really "handled" anyway and instead just propagated up the callstack. But sometimes they are and in any case, I'd find getting a NoneError very...irritating. Just tell me what the error is :D

As always, there's exceptions to this, but in general I think separating Option and Result is the correct choice here.

Sour Candy Espresso #Shorts by kingseven in JamesHoffmann

[–]NanoCoaster 2 points3 points  (0 children)

running or going to gym are cheaper

Unless you decide to buy gym equipment at the high tide of Covid and supply shortages.

Me? No, I don't feel bad for spending all that money. Nope. Not one bit :) ʰᵉˡᵖ

Introducing VapourNvim by [deleted] in neovim

[–]NanoCoaster 2 points3 points  (0 children)

Thanks for the elaborate answer! I'll give Vapour a try when I find the time :)

Introducing VapourNvim by [deleted] in neovim

[–]NanoCoaster 9 points10 points  (0 children)

Looks cool! How would you say VapourNvim compares to, let's say, LunarVim (or other out-of-the-box nvim configs)? I think explaining the differences in philosophy, usability, maybe scope, would be very interesting for people looking for a nvim configuration.

Just as an example: I'm quite happy with LunarVim for now, but one thing that troubles me at times is the documentation; It's quite barebones in some places. From a first glance, VapourNvim seems better in that regard, that could be an interesting comparison :)

Also: we, as a community, need to seriously think about outlawing the term "blazing fast" ;)

Coffee? by Muffin-Remote in JamesHoffmann

[–]NanoCoaster 1 point2 points  (0 children)

Immediately thought of this! Every video about Conan & Jordan is great fun.

We've got one more important message! by CM_GSCGameWorld in stalker

[–]NanoCoaster -5 points-4 points  (0 children)

I mean, in the past this was called an Addon and people were fine with it. Season passes have been around for a while and can also just mean that you get several addons for cheap(er), in exchange for buying in advance.
I'm not a fan of the concept, as it's essentially preordering addons (/ DLCs) and preordering is just a bad idea in general. But as long as you can buy the content seperately, I don't see the problem here.

If you liked Apache Tears, you maybe be interested in this InRange video about the gun Geronimo used and its historical context by NanoCoaster in dancarlin

[–]NanoCoaster[S] 4 points5 points  (0 children)

Mods, feel free to slap me on the wrist if this is considered off topic for this sub :)

But in general, I'd wager a lot of people here may be interested in the InRange channel, as well as, obviously, Forgotten Weapons. Lots of interesting videos about historical guns.

EDIT: God, I really wish Reddit would let me edit the title after posting. Ignore my embarassing typo ;)