IIUC that was meant as an intermediate step (which isn't uncommon), which IMO makes the translation way less exciting. The interesting part will be whether they can transform that "mechanical Rust" into something…
In my experience, it absolutely does (at least if you use it idiomatically). Using the type system (esp. enums, Result and newtypes) makes a good bunch of invalid states irrepresentable. This also helps to focus on the…
I had no troubles targeting an ATTiny13A with Rust. (had to disable debug symbols, though) Why should that be any harder than C?
IIUC only 50k LoC are non-test code, which improves the metric. Whether that's enough tests still depends on the code. If most are getters and setters, the coverage might be ok.
I often wish this type existed, but didn't find a way to define the niche value for the compiler to optimize the None-case. Do you know a solution to this?
Support for Firefox on Linux is still only in nightly (unless that changed "very" recently) This blocks progress (and motivation) on some of my projects.
In your specific example `std::convert::Infallible` can be used: https://doc.rust-lang.org/std/convert/enum.Infallible.html
LineageOS was just the easiest for me personally (was already installed anyway). But aren't there parental tools to lock down phones for non-tech people? Another middle ground would be to insert no SIM card (my kids…
> Initial results from a groundbreaking study by the National Institute of Health reveal that MRI's found significant differences in the brains of children who use smartphones, tablets, and video games more than seven…
Who will teach them how to (not) use them once they have one? I mean things like privacy, phishing, social media risks, addiction, subscription fees, etc.? I think the possession of a device isn't the risk itself.
So, no flexibility, spontaneity? So far we had: - "I'd like to stay with a friend after school - they'll drive me home after dinner", "Sure, thanks for the info, have fun" - "Fire alert, I'm fine but bored" - "Had to…
I had the same sentiment when reading. It all looks like B'n'W opinions and mixing devices and services. I completely miss the "parenting" aspect. It's all about prohibition.
I wholeheartedly agree. I think it's more important to talk about the services they use than what device they're on. And most problematic services already have an age limit. It's the parents' damn job to make sure their…
> Let’s protect the elementary and middle school years from the distractions and the dangers of a smartphone. > … because of unrealistic social pressure and expectations to have one. Sorry, but I do not agree with the…
At least everyone who's stuck with Windows and AAA-gaming. But we'll see for how long.
> However, this solution is not very ergonomic, as it requires the user of the function to first check if the returned value is Some(iterator) and only then iterate over the iterator. I'd use `flatten()` to iterate over…
I really wish that I could pay for an ad-free service, without being tracked on every site there is :( Just offer a plain youtube-Account and we have a deal.
Our kids at school are using https://cscircles.cemc.uwaterloo.ca/ for an introduction to Python and it seems they're making good progress (age 11 to 14) It's available in German (and maybe other languages), too.
Ah, yes. Should have been more specific: NXT and EV3
I'm still mad that they discontinued Mindstorms. My school isn't able to replace their components if they break and I cannot get additional motors for my projects any more. Does anyone know how good their "LEGO®…
Funny coincidence. I found Dracula for VSStudio two days ago. So far it is the only dark theme that provides overall readable texts combined with red-shift for me. Single-line comments could be a bit brighter, though.
you can swipe the address bar to switch between tabs. Better than nothing.
I like my Fairphone, but it's certainly not everyone's choice.
That's the second time on HN where I thought some article was about the window-system :(
> Germany is filling the gap by importing electricity from France Not to disagree, but the picture is more complex. https://www.reuters.com/business/energy/even-crisis-germany-... > Maybe ask France or the US, they seem…
IIUC that was meant as an intermediate step (which isn't uncommon), which IMO makes the translation way less exciting. The interesting part will be whether they can transform that "mechanical Rust" into something…
In my experience, it absolutely does (at least if you use it idiomatically). Using the type system (esp. enums, Result and newtypes) makes a good bunch of invalid states irrepresentable. This also helps to focus on the…
I had no troubles targeting an ATTiny13A with Rust. (had to disable debug symbols, though) Why should that be any harder than C?
IIUC only 50k LoC are non-test code, which improves the metric. Whether that's enough tests still depends on the code. If most are getters and setters, the coverage might be ok.
I often wish this type existed, but didn't find a way to define the niche value for the compiler to optimize the None-case. Do you know a solution to this?
Support for Firefox on Linux is still only in nightly (unless that changed "very" recently) This blocks progress (and motivation) on some of my projects.
In your specific example `std::convert::Infallible` can be used: https://doc.rust-lang.org/std/convert/enum.Infallible.html
LineageOS was just the easiest for me personally (was already installed anyway). But aren't there parental tools to lock down phones for non-tech people? Another middle ground would be to insert no SIM card (my kids…
> Initial results from a groundbreaking study by the National Institute of Health reveal that MRI's found significant differences in the brains of children who use smartphones, tablets, and video games more than seven…
Who will teach them how to (not) use them once they have one? I mean things like privacy, phishing, social media risks, addiction, subscription fees, etc.? I think the possession of a device isn't the risk itself.
So, no flexibility, spontaneity? So far we had: - "I'd like to stay with a friend after school - they'll drive me home after dinner", "Sure, thanks for the info, have fun" - "Fire alert, I'm fine but bored" - "Had to…
I had the same sentiment when reading. It all looks like B'n'W opinions and mixing devices and services. I completely miss the "parenting" aspect. It's all about prohibition.
I wholeheartedly agree. I think it's more important to talk about the services they use than what device they're on. And most problematic services already have an age limit. It's the parents' damn job to make sure their…
> Let’s protect the elementary and middle school years from the distractions and the dangers of a smartphone. > … because of unrealistic social pressure and expectations to have one. Sorry, but I do not agree with the…
At least everyone who's stuck with Windows and AAA-gaming. But we'll see for how long.
> However, this solution is not very ergonomic, as it requires the user of the function to first check if the returned value is Some(iterator) and only then iterate over the iterator. I'd use `flatten()` to iterate over…
I really wish that I could pay for an ad-free service, without being tracked on every site there is :( Just offer a plain youtube-Account and we have a deal.
Our kids at school are using https://cscircles.cemc.uwaterloo.ca/ for an introduction to Python and it seems they're making good progress (age 11 to 14) It's available in German (and maybe other languages), too.
Ah, yes. Should have been more specific: NXT and EV3
I'm still mad that they discontinued Mindstorms. My school isn't able to replace their components if they break and I cannot get additional motors for my projects any more. Does anyone know how good their "LEGO®…
Funny coincidence. I found Dracula for VSStudio two days ago. So far it is the only dark theme that provides overall readable texts combined with red-shift for me. Single-line comments could be a bit brighter, though.
you can swipe the address bar to switch between tabs. Better than nothing.
I like my Fairphone, but it's certainly not everyone's choice.
That's the second time on HN where I thought some article was about the window-system :(
> Germany is filling the gap by importing electricity from France Not to disagree, but the picture is more complex. https://www.reuters.com/business/energy/even-crisis-germany-... > Maybe ask France or the US, they seem…