32,405 karma · joined Jan 3, 2008 (18y ago) · 8,297 submissions
comment 5y ago · link · parent
comment 5y ago · link · parent
However (and I’d love your thoughts about this) the one feature I feel has not gotten the love it deserves is DST types and safely creating them. I was writing a zero-alloc no_std h264 and mpegts parser and the hoops I had to jump through to represent extant mpeg structures as valid rust data types was insane and I ran into a lot of edge cases with transmute that made me scratch my head. In the end, I wrote my own macro for creating (in-place new-ing) DST types that transmuted fat pointers (whose representation is not guaranteed but unlikely to change anytime soon) to get things kind of working but the ergonomics and safety were non-existent.
I feel like if rust doesn’t pick up the baton for innovating on DSTs it would be a huge shame since from a security and memory safety perspective they cause the lion’s share of overflow and out of bounds accesses in parsers and other high-risk libraries that silently digest all data thrown their way for media previews, thumbnail generation, etc etc.
What irked me is that a lot of people consider the checkbox for DST support to be ticked when there’s really only the bare minimum for interesting with types containing single DST elements that are already - somehow - created, typically by the standard library itself.
(Again from an embedded perspective: I’m really happy with async/await for embedded development; it really makes reasoning about control flow in an embedded context much more sane!)
comment 5y ago · link · parent
(I’m not even Christian but I also don’t have a chip on my shoulder and can accept its influence on the world)
comment 5y ago · link · parent
comment 5y ago · link · parent
However, it doesn’t seem that torrents are a common factor in user accounts, and 30GiB in torrents would not account for that much write amplification, so carry on!
comment 5y ago · link · parent
comment 5y ago · link · parent
I think it's fair to say that the .NET team absolutely has a vision and has made significant progress towards achieving it so far as web (frontend/backend) development is concerned, despite how ridiculously lacking the desktop UI story is/has been. (In fact, it's even worse than that since 10 years ago, .NET was the only ecosystem that had an excellent and comprehensive story for UI development that was supported from start to finish.)
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
That argument isn’t as clear cut since Muhammad himself was adamant that he was preaching the same message of Moses and Jesus. In many ways, Islam was, in its eyes, to Christianity what Christianity, in its eyes, was to Judaism.
You would be hard pressed to find a Muslim theologian (who understands Christian theology) that claims Christians and Muslims worship different gods while until today it remains controversial for Christian theologians to go on the record saying they’re one and the same.
Edit: more to the point, until Victorian times, Muslims were most commonly referred to as Mohammedans because the English-speaking world just assumed Islam is to Muhammad as Christianity is to Jesus Christ.
comment 5y ago · link · parent
BBC with more extensive coverage (more than just the breaking news) would be my ideal model.
comment 5y ago · link · parent
comment 5y ago · link · parent
We were able to use a LoRa-like layer to forward to a base station that then uses a VoIP provider to do the brunt of the communication work.
comment 5y ago · link · parent