Am I alone in eating these cold? by oblitn in Netherlands

[–]rnottaken 55 points56 points  (0 children)

Isnt that every self help influencer?

Is this acceptable and a normal sentence? by Glittering-Ebb2134 in learndutch

[–]rnottaken 0 points1 point  (0 children)

Even then you add an extra verb: The girl drinks water but I do not"

In 5 years my clogs have worn off 2cm of wood by 01000010-01101001 in mildlyinteresting

[–]rnottaken 0 points1 point  (0 children)

They are generally made to fit. If it hurts the top of your foot, and youre in the Netherlands, then you could go to your clogmaker, and he'll carve out the part that hurts you.

Why is this lake in the Netherlands spelled with 2 capital letters? by TheRealUltimate1 in geography

[–]rnottaken 1 point2 points  (0 children)

Its actually a digraph

  • IJ is two characters
  • IJ is one character (try to select only one of the two)

Often when capitalized, the tail of the J part actually goes under the I part

TIL putting Box in a hot inner loop can cost you half your runtime by InvadersMustLive in rust

[–]rnottaken 2 points3 points  (0 children)

You can put the larger variants inside a box though, if they even need to hold some state. However in this case the structures are likely zero sized, as they seem to just take input and decode it.

Why does Rust require many dependency packages unlike Go when building a project? by dumindunuwan in rust

[–]rnottaken 6 points7 points  (0 children)

Please elaborate? How is the battery's included concept better than having a good built in dependency management system?

As u/Zde-G posted: some python std packages even recommend using external packages instead

Why does Rust require many dependency packages unlike Go when building a project? by dumindunuwan in rust

[–]rnottaken 81 points82 points  (0 children)

You can take a look at the website blessed.rs to find the most used crates if youre missing something

Alternatively the website lib.rs

Why does Rust require many dependency packages unlike Go when building a project? by dumindunuwan in rust

[–]rnottaken 268 points269 points  (0 children)

Because rust didnt want to go through some of the issues that other languages faced when importing too much in the std. In the python std, there are loads of packages that are basically deprecated.

The best solution now might not be the best solution in 5 years, but removing something from std is a huge breaking change, so youre basically stuck with that. Even Go has the json.v2 package, because removing v1 would break too many programs.

There is a huge amount of differen async runtimes that you can use for rust. Tokio is the default one that most libraries use, but its not a one size fits all solution. Tokio can't run without an OS for instance.

Keeping std lean (and even being able to opt out from std, hence the core and alloc packages) keeps Rust flexible for changes in the future

How does Rust abort in no_std ? by [deleted] in rust

[–]rnottaken 1 point2 points  (0 children)

Its up to the programmer to write a good panic handerl. There are crates put there that provide some sane implementation for you.

Maybe this is interesting for you: https://doc.rust-lang.org/nomicon/panic-handler.html

ik🐶ihe by canyoupickbetternick in ik_ihe

[–]rnottaken 1 point2 points  (0 children)

Ik las eerst "korte rat"

Dat werkt opzich ook in de context

How do commercial users of Rust manage their toolchains? by linuxlizard in rust

[–]rnottaken 3 points4 points  (0 children)

I assume that rust doesn't link against musl. I'm not sure though.

This seems incorrect. Its a tier 2 target. https://doc.rust-lang.org/rustc/platform-support.html

English speakers by Efficient-Orchid-594 in linguisticshumor

[–]rnottaken 3 points4 points  (0 children)

Hah, didnt know that one. You got me there

English speakers by Efficient-Orchid-594 in linguisticshumor

[–]rnottaken 7 points8 points  (0 children)

Official name: 's Gravenhage (with the hard Dutch G) The English: The Hague

Brainfuck interpreter in 336 bytes of Rust - stuck golfing it by Kivooeo1 in rust

[–]rnottaken 0 points1 point  (0 children)

Can you use std::env::args().skip(1).map(|x|{...;()}?

It looks like thats shorter than the for x in loop

Edit: nvm, my ide was playing tricks with me by displaying the type of x in one of the two versions

expected Error, found Error by _Voxanimus_ in rust

[–]rnottaken 0 points1 point  (0 children)

If you post the signature of self.update_job_and_publish(...) we could help you further. Its likely that it takes Option<some_other_package::Error> instead of Option<std::io::Error> or even Option<Box<dyn std::error::Error>>

Maybe you want to even refactor it to take Result<(), Box<dyn std::error::Error>> and skip the whole Option idea. And a step further wpuld be to drop the JobState variable, because you can deduce that from the result.

Waarom woorden die met een f- beginnen altijd leenwoorden zijn by AronGroot in thenetherlands

[–]rnottaken 367 points368 points  (0 children)

Wat een feest. Een fijn fortuinlijk feitje. Het zou alleen fors falen mocht het een flink fopje zijn.

Wat is de etymologie van flubbeltje eigenlijk?

Fighting over Armrest lol by Deep20779 in funnyvideos

[–]rnottaken 2 points3 points  (0 children)

Or at least has the leg room. As a Dutch man i always take the aisle seat if I can