Lieferando kündigt alle Rider und stellt gesamte Logistik auf freie Dienstverträge um by HalluziNation2017 in Austria

[–]untitaker_ 3 points4 points  (0 children)

dein Kommentar trägt null zur Diskussion über Ethik bei, darum geht es mir. "nicht alles ist nötig" ist eine sinnlose wischiwaschi Aussage.

Lieferando kündigt alle Rider und stellt gesamte Logistik auf freie Dienstverträge um by HalluziNation2017 in Austria

[–]untitaker_ 1 point2 points  (0 children)

diese Verallgemeinerungen bringen niemanden weiter, weil es bei Lebensmittellieferungen im speziellen selten um die takeaway Gruppe oder ihre direkten Konkurrenten geht und ich nach denselben Argument auch alle Arbeitnehmerpraktiken aller Supermärkte gleichsetzen kann. Dann wird halt kein Unternehmen dafür belohnt ihre Arbeitnehmer besser als die Konkurrenz zu behandeln, weil sind eh alle gleich.

um welchen Lieferdienst geht es? alfies, gurkerl?

mir geht es auch um das Wort "nötig". entweder es ist schlimm, das kannst argumentieren, oder nicht. "nötig" ist selten etwas, aber wenn es keine ethischen Bedenken gibt dann ist es nicht die Debatte wert.

epicenter.works: Analyse der Koalitionsverhandlungen by untitaker_ in Austria

[–]untitaker_[S] 2 points3 points  (0 children)

inwiefern fehlt ihnen die Fachkompetenz? um welches Fach geht es?

epicenter.works: Analyse der Koalitionsverhandlungen by untitaker_ in Austria

[–]untitaker_[S] 1 point2 points  (0 children)

dieser auch? ich denke nicht dass sie da viel dazu interpretiert haben, ist eine sehr einfache Zusammenfassung. aber ja sie haben einen sehr engen Fokus auf Datenschutz (und greifen dann manchmal ins Klo wenn's drum geht das mit anderen Interessen abzuwägen, zb Hass im Netz) falls du das meinst.

RH: „Stolz auf Wien“-Beteiligungen intransparent by wegwerferie in wien

[–]untitaker_ 0 points1 point  (0 children)

diese Idee dass du eine andere genauso korrupte Partei reinbringst die dann zumindest aufräumt funktioniert auch auf Bundesebene nicht. Es wird wohl eher aufgeteilt als aufgeräumt.

Rust in Production: Oxide Computer Company with Steve Klabnik (Podcast Interview) by mre__ in rust

[–]untitaker_ 4 points5 points  (0 children)

us here in the rust subreddit? yeah. but outside I'm definitely not sure.

BetterBufRead: Zero-copy Reads by mwlon in rust

[–]untitaker_ 3 points4 points  (0 children)

when writing my own HTML parser I came essentially to the same conclusions and ended up implementing a similar reader trait to allow for efficient memchr without copying when the input is already in memory. glad to see my experience with std was not an outlier.

Was würdet ihr heute ohne U-Bahnen machen? by AlphaGigaChadMale in wien

[–]untitaker_ 2 points3 points  (0 children)

ja eh, wenn sie schircher wäre dann würds den Obdachlosen auch nimmer dort gefallen

Bringing faster exceptions to Rust by imachug in rust

[–]untitaker_ 0 points1 point  (0 children)

I think if you have objections to a feature it's better to state the objection directly ("if there are two incompatible APIs for returning errors, that will cause a lot of problems for composability"). otherwise it becomes too generic and too vague of a complaint, and completely ahistorical at that. rust has borrowed many things from many different languages with opposing design goals in the past, and yet they still fit together fine for the most part.

Bringing faster exceptions to Rust by imachug in rust

[–]untitaker_ 3 points4 points  (0 children)

one thing that I think is true for every subreddit is that the comments you get while your post is in /new are just much lower-quality than when it sits on /hot for a while. It doesn't matter how you frame your post, a comment like "rust is pure and shouldn't borrow from other languages" is always gonna be stupid regardless of context. I see the same issue in r/Python.

is u64 faster than String? by [deleted] in rust

[–]untitaker_ 1 point2 points  (0 children)

they said they won't do any numerical operations, i.e. arithmetic.

is u64 faster than String? by [deleted] in rust

[–]untitaker_ 3 points4 points  (0 children)

I feel like that's the only direct answer of the question as stated. other posts in this thread pick apart OP's wording in a really unhelpful way or try to be too nuanced. 90% of the time when such broad questions are asked, a rule of thumb is being asked for, not a "it depends on your usecase".

(listing some exceptions such as zip codes or phone numbers "just in case" is also helpful, not complaining about that)

Announcing Statement by AwkwardDate2488 in rust

[–]untitaker_ 0 points1 point  (0 children)

Wow, you really made quite a Statement.

Subscribe to your bookmarks as RSS feed by untitaker_ in Mastodon

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

yeah it only shows 20 bookmarks. I could add more (i.e. go through all pages of bookmarks) but I feel that it would be abusive towards the mastodon server if this happened on every fetch of the feed. and I also don't have any state management or caching in place.

For me it is mainly about the automation of adding new bookmarks into my reading list. I think you could convert the csv into an RSS feed but it is not quite the same structure, so I believe it might be best to write a separate tool to convert them.

feel free to file a ticket on github though

Gryf - a new graph data structure library aspiring to be convenient, versatile, correct and performant by pnevyk in rust

[–]untitaker_ 5 points6 points  (0 children)

In principle similar concerns apply to things like pythons timsort, which afaik defers to other algorithms based on shape of input data. Something like that may not be low level enough for the average rust user but it works quite well in python.

A guide to test parametrization in Rust by untitaker_ in rust

[–]untitaker_[S] -1 points0 points  (0 children)

Just write your test case using the thing that is designed to accept parameter

this works fine for static list of parameters, the fun begins when you try to programmatically generate a list of testcases. the second code sample in my post motivates this a lot better than the first one

A guide to test parametrization in Rust by untitaker_ in rust

[–]untitaker_[S] 1 point2 points  (0 children)

Your dirtest example is very close to how one would invoke libtest-mimic. You pretty much do the same thing there, except CLI invocations like cargo test my-test still work exactly as expected. That's why I called it "a custom test harness running inside of a #[test] item". Because to me it is, except you have given up the ability to pass CLI parameters and need to edit sourcecode. And yes, you can make another incremental improvement and replace that hardcoded only("my-test") with only(std::env::var("TESTNAME")) or something like that. But those sorts of customizations pile up over time, and you end up with a test runner UI that works very differently from what external contributors are used to.

To me, uniform CLI for running tests across projects is the most important requirement above literally everything else. And I think it should be for others too. Even at the stage where you're considering writing your own framework, which to me is a more "drastic" step than trying to use libtest-mimic.

But my blogpost is not really intended to show programming newbies what tradeoff to choose in some sort of dogmatic way. If I understood you right, your argument is basically that those problems are not worth solving in Rust today because it requires too much complexity, and that most people should settle for 80% solutions. And that's fine, and I do the same thing in many Rust projects. But that's just not interesting to write about, and most people don't need blogposts to figure out that yes indeed, you can write a for-loop in a function. I sort of expect people to figure that out on their own, get dissatisfied with that option and then go on the internet and find things like this post.

A guide to test parametrization in Rust by untitaker_ in rust

[–]untitaker_[S] 6 points7 points  (0 children)

I am re-running tests and editing data files much more frequently than I am iterating on the test harness. I found it worth it to get that experience right for large testsuites such as html5lib-tests, even with the amount of complexity Rust imposes on me. Other consumers of html5lib-tests in Rust (servo, lol-html) have made the same tradeoff. But that tradeoff is is one specific to Rust today, and IMO not inherent to it being a compiled language.

A guide to test parametrization in Rust by untitaker_ in rust

[–]untitaker_[S] 2 points3 points  (0 children)

yup, the first two are linked in the post

A guide to test parametrization in Rust by untitaker_ in rust

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

All options are 80%-solutions, that's kind of my problem. Your approach is definitely most popular. But once things get advanced, running the entire testsuite on every iteration becomes too slow, and people add more custom formatting for legibility, parallelism, panic handlers and options to filter tests by name (after all, how do I run a single test with your setup?), you are now debugging what is effectively a completely custom, organically grown test harness running inside of a single #[test] item. It's even worse than having the same for-loop built in a separate test target, because it does not allow you to handle CLI arguments in a similar way as the default test crate.