21,278 karma · joined Nov 23, 2012 (14y ago) · 6,746 submissions
blog: https://rtpg.co
email: raphael at above domain
comment 3y ago · link · parent
I mean there they're talking about keeping GIL in (and I imagine that will be the case for many many years) so those would still keep working. The fear is if some libraries just drop GIL-ful support, but there too I am hopeful for that not to be the case.
comment 3y ago · link · parent
Plenty of people would learn Latin to consume some content, but doesn't mean they are proficient in it itself, would be another example.
Having said that, I think that in the research field that merely ends up with "very confusingly written papers with mistakes large enough to hide process errors" more than "cannot communicate any info in English". But there are plenty of people who get their doctorate and their only English-language output is their final papers in themselves.
comment 3y ago · link · parent
"People don't need high-end phones" perhaps, but somehow I don't see people making this comment about Samsung phones.
iphone 14 is only $800! Meanwhile loads of high-end Android phones are at $1000+. The meme is dead
comment 3y ago · link · parent
Honestly the "real" hands off thing is letting somebody else also describe the problem and then probing it. But that might lead to a bit too much of an existential crisis for some people. And hey, if something works it works
comment 3y ago · link · parent
Fortunately not every problem is like this. But if you look at, say, discussions around Python's "packaging problem" (and find people in fact describing like 6 different problems in very different ways), you can see this play out pretty nastily.
comment 3y ago · link · parent
I'm at least glad we had some guarantees from being Python 3.
comment 3y ago · link · parent
Having said that… yeah what I meant really is “have an easy way to reset it all”. This is what home directory partitions and the like are for, of course!
And schools are not in the business of teaching kids how to install an OS to a laptop. There are real things to do in the world.
Imagine being a kid who does not care about computers. You are now being asked to install an OS so you can use some word processor. What?
Interested kids should have good outlets and ways to experiment (like these tech interns fixing the busted computers!), but really the point of giving kids computers is not to get them learning sysops
comment 3y ago · link · parent
I could see this being used in a similar way to user agents (sometimes helpful when working on bugs and fixing them on minor platforms!), but I'm really struggling to see the overall value-add here.
I get the politics aspect of it (I think...), but what's the new technical thing being added here?
[0]: https://github.com/RupertBenWiser/Web-Environment-Integrity/...
comment 3y ago · link · parent
Given enterprise environments exist though, I do feel like there must be _some_ sort of setup that could be done to get a fairly robust environment. Especially if the kid's accounts are locked down enough. Bit of an OS distro problem, but the market might be there given what we're seeing here!
comment 3y ago · link · parent
The device management stuff is probably the big kicker, since I imagine schools can manage these machines quite easily through some Google management console.
Maybe if Google added support for machines running some Ubuntu LTS or otherwise....
comment 3y ago · link · parent
The biggest problem from the outside feels like people working at Google might not be super hype about this (no I'm not talking about the "new project to get promoted" treadmill, just vibes), and really there's probably external people who are up to this.
But seriously, just figuring out how to get these to run "forever" in whatever degraded capacity is possible. At least until the hardware itself starts falling apart of course.
1638.
Software ‘death dates’ are sending schools’ Chromebooks to the recycling bin(mercurynews.com ↗)
19 points · by rtpg · 3y ago · 15 comments
comment 3y ago · link · parent
Higher level, I think that it's fairly rare to see Optionals outside of the _very_ basic cases, and downstream of that you're actually not flinging around nulls or undefined as data. Instead everyone reaches for a kind attribute. Especially in cases like you're talking about (where there's this notion of not finding something, but also this notion of something still loading).
Not to say the distinction doesn't matter, but TS feels well designed in the sense that all of its unsafety is in places that end up not coming up in many "normal" codebases
comment 3y ago · link · parent
Why? If you write a function that takes T | null and returns T, then you're going to need to filter out your null.
Now, Typescript isn't safe, so you can have f: (T | null) -> T and give it a (null | null) and its return will indeed be null (at least at the moment, see [0]).
But your function's type guards will, at one point, filter out the null case. You might try doing this through some assertion, but if you do the runtime check, it will in fact blow up at runtime.
So Typescript will allow invalid code, but if you are actually doing type assertions correctly you'll get a runtime error at the "type narrowing" step. Worse than static verification of course, but better than carrying around a null that you think is not null.
Anyways, yeah, the conclusion is that in TS at least, T | null narrowing to T doesn't mean that T is not null. TS is at least smart enough to handle that.
[0]: https://www.typescriptlang.org/play?#code/GYVwdgxgLglg9mABGO...