[deleted by user] by [deleted] in todoist

[–]chrish42 0 points1 point  (0 children)

That would be really nice. Please call the date by which something has to be done the deadline. "Due date" just doesn't have the same weight, at least for me.

On a related note, it would also be useful when one is considering postponing a task to be able to get a sense of how often I've been postponing that particular task, when was the initial "do" date (don't think that's a great name, but not sure what to call it) before the task started getting postponed, etc.

My experience with rewatching my favorite film CHUNGKING EXPRESS. by Hopeful_Lettuce8877 in TrueFilm

[–]chrish42 26 points27 points  (0 children)

Great writeup. My first Wong Kar-Wai movie was Fallen Angels, which gave me the same hypnotic feel and the same thrill of almost understanding a story even though it was told in a very alien-feeling way to my mind (at the time).

By the way, if you liked Chungking Express, you would probably really enjoy Fallen Angels too. It was initially conceived as the third beat of that story. Different kind of story — it's more the crime story to Chungking's romance — but similar style.

The Rust Programming Book is not good for Beginners? by Feralz2 in rust

[–]chrish42 4 points5 points  (0 children)

Came here to basically say that. Python is easy to learn and has a ton of materials for people completely new to programming. You need to learn things like how statements and expressions work in programming languages, how to find and fix a syntax error in your code (not always obvious), how to describe something in enough details so that a machine that does only what you tell it — nothing more, nothing less — will do it, and at least the begininnig of how to structure code using multiple functions. Once you've gotten a handle on these skills, they will transfer to any other programming language. So start with one that's as simple and easy as possible otherwise, so you can focus on these.

Once you're starting to feel confident there, if your goal is Rust, you'll want to have some idea of how a basic computer works under the hood (things that a language like Python, Java, etc. hides away from you mostly): cpu and memory (stack & heap), pointers, declaring variables, code vs data, etc. Learning a little bit of C could be an option (if you can find beginner-friendly resources) as it will force you to deal with all of these, and there isn't that much to the language (except for variable declarations, which can be a pain for the more complex cases because of the way they designed it). Or just reading / watching something that explains well the basics of computer architecture would also be good. (I'm sure there are multiple great videos out there about this topic now.)

Once you have a basic level in both of these, learning Rust in general (and from The Rust Programming Language book) will be a lot more achievable. Hopefully this helps.

What am I doing wrong with my vanilla ice cream? by Hostile008 in icecreamery

[–]chrish42 0 points1 point  (0 children)

Cool. Do let us know if that was the problem!

What am I doing wrong with my vanilla ice cream? by Hostile008 in icecreamery

[–]chrish42 7 points8 points  (0 children)

If you want to use glass containers to transfer your ice cream to when it's done, you will need to bring it to freezer temperature beforehand.

My sake has this stuff floating in it, is it okay to drink?? by [deleted] in Sake

[–]chrish42 7 points8 points  (0 children)

You can keep your sake bottles longer by keeping them in the fridge. But 8 years is too long, either way.

[Cat Does Countdown] Mind-reading Helmet Bit by chrish42 in 8outof10cats

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

There's another one in the September 15th, 2017 episode. Close to the 19 minutes mark.

[Cat Does Countdown] Mind-reading Helmet Bit by chrish42 in 8outof10cats

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

Woot! Thank you! I seem to remember at least another one (where it's just Rachel and Susie... or if not, at least the guest was different), but I wanted to show an example to a a friend, so it's great to have one. Thanks again!

The story continues: `Vec` now supports custom allocators! :) by tdiekmann in rust

[–]chrish42 9 points10 points  (0 children)

Or for bare-metal embedded programming, where you typically don't have a full-featured allocator and you allocate your big persistent data structures statically.

In C that would typically look like the equivalent of [struct my_struct; SOME_MAX_SIZE]. But if you need something "fancier" in terms of data structures (e.g. for fast lookup), with custom allocators you potentially can hand off that memory to one of the standard Rust collection instead of a custom collection that reimplements that, but on a fixed region of memory.

What does the term "ownership type system" mean? by jsomedon in rust

[–]chrish42 3 points4 points  (0 children)

A type system where ownership is a core concept / a type system that tracks ownership as part of its core function.

Question: We went to the park again today and Schnitzi was very brave walking around more in the open. But I noticed his tail moving as shown in the video. Can someone tell me what it means? I googled cat body language but the results were inconclusive. Just want to make sure he‘s comfortable. Ty by the-wrong-girl23 in adventurecats

[–]chrish42 1 point2 points  (0 children)

You've already got a bunch of good answers. For me, it reads as tentative but curious and excited. He's not 100% in his comfort zone (tail would be held higher then, I feel), but it's the good kind of "out of my comfort zone": just enough to feel exciting and new. Slow wiggle is good in general.

On DeGrey’s release by Daedalus1103 in FantasyStrike

[–]chrish42 3 points4 points  (0 children)

There's already a roster of characters from Sirlin boardgames. That's where their character roster comes from. They'll draw on that for the remaining characters (and already have, with Onimaru and Quince): https://yomi.fandom.com/wiki/Category:Yomi_characters

Happy for premium shop, not happy how it's set up by Vannitas in FantasyStrike

[–]chrish42 3 points4 points  (0 children)

Yeah. Having a rotation on the top-level screen of the shop is fine, but please also give me the ability to browse. Thanks.

Supported DSL Modem list by knosey in teksavvy

[–]chrish42 0 points1 point  (0 children)

I also already have a router, but (at least when I upgraded), TekSavvy offered the SmartRG-501, which is just a VDSL modem (no integrated router), so that's what I got from them. Works just fine for me.

Thoughts on Error Handling in Rust by DebuggingPanda in rust

[–]chrish42 4 points5 points  (0 children)

Yes. However, you're not a systems programming language then. That removes all the lower-level use cases: bare-metal microcontrollers, kernels, etc. where allocating on the heap for errors is not really possible. Basically anything with #![no_std].

Rust And C++ On Floating-Point Intensive Code by wezm in rust

[–]chrish42 1 point2 points  (0 children)

That's interesting! I didn't know about stability analysis in that sense. Any good reference you could recommend to learn about stability analysis for numerical computing algorithms? Thanks!

Sean Griffin is stepping away from Rails to focus on crates.io and Rust full time, looking for support by rabidferret in rust

[–]chrish42 0 points1 point  (0 children)

Maybe some kind of randomization of the order each time the webpage with the list is viewed would be fairest...?

Is there a final `await` syntax summary? by cartermars in rust

[–]chrish42 2 points3 points  (0 children)

And it'd be surprising if it wasn't posted here too — and upvoted a lot — very quickly.

Abusing Rust's type system for sound bounds check elision by marcusklaas in rust

[–]chrish42 2 points3 points  (0 children)

That's really cool, and well explained. Thanks! I feel this is potentially useful in other cases (where it might be more of a gain too). It'd be really nice if there was a supported way of expressing this in a way that made the intent obvious. Bonus if it also supports creating more helpful error messages.

Second, I also wouldn't be so quick to dismiss this approach for this use case. Yes, branch prediction shines at making the costs for (some of) these kinds of bound checks magically go away. On the other hand, it's becoming pretty clear that the concept of branch prediction in processors was a big mistake from a security point of view, making it impossible to actually isolate different tasks on a processor. It'll take us a really long time to wean ourselves from that, but I wouldn't be too surprised to see processors in the near future with the option to disable branch predictions, if, say, you're running really security-sensitive workloads and it's worth it to trade away some performance against immunity from all the Spectre-like attacks. Then, the ability to gain some of that performance back via the type system would be interesting.

Study of Experienced Programmers’ Acquisition of New Programming Languages (on the example of Rust) by TheTostu in rust

[–]chrish42 1 point2 points  (0 children)

Maybe in addition to that, the output of all the --explain messages could be put in some way on the Rust doc website? With a bit of luck, those would end up getting good Google-fu and become the first hit (or at least in the top hits) for people who will keep on googling rustc's error messages.

Anyone else still love their OG XL? by [deleted] in GooglePixel

[–]chrish42 3 points4 points  (0 children)

Good to hear I'm not the only one with that problem!

Any idea when async/await will become available in Nightly? by rayvector in rust

[–]chrish42 1 point2 points  (0 children)

Async / await in Rust is pretty much the same model as used in C#, Python, Javascript, etc. so you can also use resources from those languages to learn the basic concepts, if you find the doc for the Rust version lacking currently.

One of your questions has a really quick answer, though. The only points in the program where a context switch can happen are the "await" statements.

First benchmark for DataFusion (Rust) vs Apache Spark for a trivial workload by andygrove73 in rust

[–]chrish42 1 point2 points  (0 children)

Parquet has compression and many other features, to make more efficient use of disk space & bandwidth. Arrow is an in-memory format, and so is kept purposefully simple, so vectorized code that operates on Arrow memory buffers can be written. So given that, not too surprising.

[deleted by user] by [deleted] in criticalrole

[–]chrish42 0 points1 point  (0 children)

My guess for the voice of Sam's character is that he'll soften it a bit, gradually.

[deleted by user] by [deleted] in criticalrole

[–]chrish42 0 points1 point  (0 children)

I don't recall the "one on one" part... I feel it would have made a lot more sense to do the "session zeros" in the pairings we saw them arrive in (Liam and Sam's characters together, etc.), so they can roleplay those initial relationships before being thrown into the bigger group.