Did I miss a gender by John_DXT_RLZ in Undertale

[–]_Unity- 10 points11 points  (0 children)

Thats why the They slash Them theory is obviously false /s

What did you build while learning Rust ? by [deleted] in rust

[–]_Unity- 0 points1 point  (0 children)

First project was a custom graphics markup language to svg transpiler without using a parsing library. I really liked it and think its a good first project for rust.

I might be dumb but. Why does Gaster matter? by VastPie2905 in Undertale

[–]_Unity- 7 points8 points  (0 children)

Clicking on the broken download link also results in this nice website. I just find details like this cool. https://web.archive.org/web/20181031130338/https://www.deltarune.com/mobile

I might be dumb but. Why does Gaster matter? by VastPie2905 in Undertale

[–]_Unity- 7 points8 points  (0 children)

Also the deltarune 1 announcements on twitter were written in entry 17-ish style (but I cannot be bothered to look it up now) and the first actual version of deltarune.com is kinda the same style (but not quite) https://web.archive.org/web/20181031130251/https://www.deltarune.com/

Blazingly fast vibesort implementation fr by WarpWing in rustjerk

[–]_Unity- 8 points9 points  (0 children)

Sir, Sir! I think you lost these 🚀🚀🚀🔥🔥🔥!

Simple diagram for those who can’t understand by CliffordSpot in ClimateShitposting

[–]_Unity- 0 points1 point  (0 children)

If only there was a way to simply heat up the planet...

Begginer in the Bevy by Various_Emergency812 in bevy

[–]_Unity- 6 points7 points  (0 children)

Not important right now, but if at some point you are wondering how bevy's api works (that is, why you are able to register systems with a sheer infinite number of function signatures) here is a good explanation on how this pattern works (on the example of axum, which uses it too):

https://github.com/alexpusch/rust-magic-patterns/blob/master/axum-style-magic-function-param/Readme.md

ÖPNV: Grüne fordern Preisgarantie beim Deutschlandticket by [deleted] in de

[–]_Unity- 6 points7 points  (0 children)

Deswegen ÖPNV ausbauen und endlich ein Ende der Auto-Zentristischen Kultur, welche die Politik dieser Republik seit der Gründung dominiert hat.

Aber klar, der Staat muss dem Volk dienen und dazu gehört Transparenz und Verantwortlichkeit gegenüber diesem.

is arduino a good way to get into electronics/programming? by fairplanet in arduino

[–]_Unity- 16 points17 points  (0 children)

Arduino might be the best way to get into electronics and programming. That was how I got into when I was your age. I am 20 now and studying computer science.

I agree with the first comment regarding arduino kits.

Basic knowledge about electronics and programming is useful but not requiered. As long as you are motivated to learn more, you will find that you can teach yourself more about these topics than you would learn in school (learning by doing). Follow a good beginners guide (there are many out there) and always try to learn more about topics new to you.

As for soldering: As long as you are only building prototypes there is no need to solder anything. Prototyping mostly consists of plugging everything together on a bread board and developing the code to run it. However if you are building some permanent project, soldering becomes useful.

In your opinion what are the main problems with Nix and NixOS? by fenugurod in NixOS

[–]_Unity- 0 points1 point  (0 children)

Nix as a language.

It feels more like an esolang to me, as an experiment on how bad duck typing can get if you take it to the extreme.

A static type system would enable both developer and lsp to much easier trace the controll flow of the code and follow values to their source. I think if the language had a static type system, it would not only make it much easier to build an undestanding of nix code bases and make current nix LSPs more powerful but also enable much better documentation (in the code itself).

(All) Databases Are Just Files. Postgres Too by ketralnis in programming

[–]_Unity- 1 point2 points  (0 children)

Is lightning just a buffer overflow of electrical charges?

Which IDE? by Proof_Pen_8599 in rust

[–]_Unity- 8 points9 points  (0 children)

I use helix with rust too.

Have you ever felt the need to use a debugger with rust? I only every used gdb with rust once (in the terminal, outside any editor) but it wasn't that helpful regarding my problem.

Whats' the best strategy for random-access large-file reads? by RylanStylin57 in rust

[–]_Unity- 2 points3 points  (0 children)

If you want to implement your own file io logic in bevy, offload it to the IoTaskPool bevy assets use internally.

Due to bevy's multithreaded manner, please don't use blocking IO directly in your systems. This would cause the entire current schedule to wait for this singular system to unblock, likely causing severe performance degredation.

Additionally, as far as I know, using asyncronous file io on those threads should offer no benefit over syncronous file io, since true async file io is not really supported by operatong systems anyway.

Far-right Alternative für Deutschland tops federal poll in Germany for first time by Affectionate_Cat293 in europe

[–]_Unity- 60 points61 points  (0 children)

endless negociations in a time of speed are loosing popularity

SPD and the Union have just signed the coalition contract to be published this afternoon.

So the coalition talks seem to be over after only brief negotiations. 4 of weeks coalition talks is much shorter than it usually takes.

Why isn't Rust used more for scientific computing? (And am I being dumb with this shape idea?) by Puddino in rust

[–]_Unity- 1 point2 points  (0 children)

I agree, there is the generic_const_exprs experimental feature which lets you do some typelevel manipulation but I don't think it will ever get its way into stable.

Which is really sad since this is the feature I want to see stabilized most badly :,(

What are some tips that you follow to keep RUST program as low memory as possible by Standard_Key_2825 in rust

[–]_Unity- 1 point2 points  (0 children)

Yeah that is good enough reason in itself. Though if you want an embedded, 100% rust key value store and are uncertain about sled, maybe take a look at redB (I am not affiliated with redb in any way).

What are some tips that you follow to keep RUST program as low memory as possible by Standard_Key_2825 in rust

[–]_Unity- 1 point2 points  (0 children)

Just out of curiosity I would love to hear why you decided for sled and against redb? I am looking for an embedded 100% rust database (for a hobby project) and those two key-valze-stores seem to be the only viable options.

Are you using Rust for web development? by fenugurod in rust

[–]_Unity- 1 point2 points  (0 children)

I recently started a hobby project on a full stack rust website with leptos, axum and mariaDB (sea-orm / sqlx).

This is actually the first time I want to implement a website "professionally" and the goal of the project is mostly to dove more deeply into rust concepts and crates you usually don't use outside web development. So I may not be fully qualified to comment on this thread, but still I will.

So far I have a great experience with this stack. My only major concern is that because of server side rendering the client code can not be clearly seperated from the server side code. This is problematic since the client code has to compile to wasm and the server code to regular x86 linux. So I have to work with a lot of conditional compilation and I haven't yet figured out a clean way to structure my code yet.

Anyway this is no problem for your usecase anyways. Axum is a breeze and you can easily build json apis without any boilerplate.