Better HN
topnewbestaskshowjobs
Log inSign up

ComputerGuru

32,405 karma · joined Jan 3, 2008 (18y ago) · 8,297 submissions

mqudsi on most sites.
Submissions

comment 5y ago · link · parent

The ubiquity question?

comment 5y ago · link · parent

We’ve added some improvements in this release that should make that a better experience by improving the performance of `history` when piped to fzf (or anything else). The output was previously buffered and GNU wide character comparison/conversion is insanely slow so that had to be hacked around.

comment 5y ago · link · parent

I think Škoda availability is extremely dependent on geographic market.

comment 5y ago · link · parent

Interesting. I wonder if their customers that didn’t pay their insane bills get to walk away now debt free if Griddy folded or if they’ll sell the debts pennies on the dollar to collectors (whom they’ll be free to ignore).

comment 5y ago · link · parent

Context?

Edit: thanks, guys!

comment 5y ago · link · parent

I’m an embedded rust developer myself, and have written my own stack with const_generics and am extremely excited to see const generics land in stable.

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 mean, the headline is sensationalized but it’s not so off the mark. It’s not much better with the context.

comment 5y ago · link · parent

I know you’re not saying you are encouraging it and it’s just a related but of trivia, but I find that hilarious. Because when someone asks “why start there?” the answer “it’s a thousand years before Jesus Christ was born, the millennium heralding his arrival” is better?

(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

I laughed at that statistic the first time I read it, but it isn’t ridiculous. 80% of drivers consider themselves better than what they think of as the average (mean) driver, not average (mode) driver. Same for most surveys. People see how bad the worst is, how good the best is, and then place themselves somewhere above the middle of that range.

comment 5y ago · link · parent

It’s not a firmware issue, it’s n-key rollover with poor matrix choice. There’s no fixing it short of replacing the controller with one that can handle more keys.

comment 5y ago · link · parent

Presumably people getting 16GB of RAM are also running more memory intensive workloads than those not shelling out for the upgrade, so it could be a non-factor.

comment 5y ago · link · parent

Torrents suck for SSD lifetime, the chunk size is typically 16kb but chunks aren’t downloaded whole and in order, so you might end up with a lot of wear and tear unless the file system and the torrent client/library are both working together to eliminate the partial writes.

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

Thank you. I thought it was obvious enough to not need belaboring and was quite distinct from the point we were actually discussing.

comment 5y ago · link · parent

posix_spawn is just a wrapper that takes care of setting common parameters for newly forked instances (eg pgrp) and prevents you from doing things that might be overly unsafe or could break vfork from being used in its optimized form. It’s implanted at the libc level, so it’s not a magic syscall that moves the burden of process spawning to the kernel.

comment 5y ago · link · parent

Keep in mind that you're on Hacker News: the majority of the commenters will not be referring to desktop software but rather web, which is where all the focus and the drive behind all .NET Core feature development has been coming from.

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

I definitely think that’s true of most people that unquestioningly follow what they’ve been raised/told, regardless of what it is they actually believe (and not just when it comes to religion).

comment 5y ago · link · parent

Interesting take. Note that the Council of Chalcedon took place in 451 AD, or around a hundred and twenty years before Muhammad was born so the divergent views between the orthodox everyone else would have definitely been canonical by then, lending credence to that possibility. But note that Islam’s view on the nature of Jesus (a prophet but not a god) is probably easier to reconcile with the Chalcedonian view that separates between his purported divine and mortal existences to a greater extent than orthodox miaphysitism (which tends to blur the lines somewhat) does, at least as I understand it.

comment 5y ago · link · parent

Sorry, I was focusing too much on the point I was trying to make that I might have not worded it correctly. No mainstream Muslim scholar would accept the trinity, or even the divinity of Jesus Christ; but the continuity of monotheistic worship and the identity of the entity being worshipped would crucially be viewed as unchanged (though worshipped in a way that they would undeniably find wrong).

comment 5y ago · link · parent

> So if the Christians, by definition only follow the words of Jesus Christ, then the prophet Mohammad who does not and has his own belief system

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

It makes sense in a “game theory” kind of way. Writers/influencers will want a pulpit and a huge chunk of the population wants to read political rhetoric rather than dry news. I think I prefer this approach to something like NYT or (esp) WaPo where the news is so intermixed with the agenda that they are almost indistinguishable.

BBC with more extensive coverage (more than just the breaking news) would be my ideal model.

comment 5y ago · link · parent

That makes sense. The provider incurs an ongoing (trivial to them in bulk) cost for leasing you the number so they can’t let them go stale - although three months is definitely more than lining their pockets. My VoIP provider charges a fixed 99c/month for each unique phone number. 15 € for three months is cheap for personal purposes when you have just a few in the field but isn’t sustainable for large scale deployment. I continue to be impressed by what can be accomplished in the 915 MHz ISM band; it’s not LoRaWan proper but you can achieve non-line-of-sight communication over a hundred and fifty miles (at obviously incredibly slow bitrates) with some signal conditioning magic. It would be amazing to spread a network of these around the world to enable constant low-bitrate communication without a base rate for pure pay-as-you-go options.

comment 5y ago · link · parent

Much better read, thank you.

comment 5y ago · link · parent

Not a ruby developer here: that sounds terrifying! Does it make it harder to have a proper mental model of the language (note: not the libraries) or is this mainly because of flexibility (too many ways to skin one cat)?

comment 5y ago · link · parent

I think I failed to convey my point clearly. My point is that if you need a separate sim per IoT device, the (possibly monthly) cost of a sim and number will greatly exceed the cost of messages sent.

comment 5y ago · link · parent

The problem is that fixed part of most plans’ pricing make the cost prohibitive, not the pay-as-you-go component (eg the cost of a sim and phone number).

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

Indeed - it was just recommended to me over on Reddit to try it out as the backend for my “rust as a scripting language” shebang header for faster first-time compiles.

https://neosmart.net/blog/2020/self-compiling-rust-code/

comment 5y ago · link · parent

No one that actually means they won’t sell to random internet strangers has a price listed up front and center. This is likely a CYA from the legal department.

comment 5y ago · link · parent

Old advertising displays in the analog era used prisms that would turn in synchronicity to display one of three images. Their refresh rate was many seconds, but they still found (and continue to find) use in advertising anywhere from low-cost highway billboards to low-power display stands in malls and parking lots.

comment 5y ago · link · parent

There’s a lot of potential but pretty much all use cases are limited each in their own way by the current specification shortcomings.

Eg for the case you mention, the display ppi is simply nowhere near good enough for minute study of details.

1
104105106
277