2,299 karma · joined Feb 15, 2012 (14y ago) · 1,239 submissions
751.
New Pricing for Redis Enterprise Cloud(redislabs.com ↗)
1 points · by compsciphd · 5y ago · discuss
comment 5y ago · link · parent
comment 5y ago · link · parent
you just care about the size of data the ECC is protecting. if the ECC protects 16K or 32K of data, you want to read on those physical boundaries. as then you'll read a whole ECC block and it will either pass or fail. If it passes, you never have to try to read that ECC protected block again (and maybe fail).
Of course, there is one hitch to my scheme. Ensuring that you always read on ECC protected block boundaries. I'm pretty sure if you use ddrescue to always read the right block size it will, but not 100% (why not? perhaps the ECC protects data not visible to the end user in some way (say the first block is only 8kb, not 16kb in practice).
on the issue of hard drives, there is a lot more going on that puts you at the mercy of the firmware (relocatable sectors and the like). I did lose a RAID5 once (1 drive totaly died, and then in rebuild, another drive threw and error) , and I was able to use ddrescue to recover all but 4K block on it. as I was using a 128KB stripe size, that meant I probably lost somewhere between half MB and a MB of data - if the 4K was contained within a single stripe or not (probable it was). I was content with that. never did discover what data if at all was corrupted, but I was able to recover the raid5.
758.
Just 0.04% of Israelis caught Covid-19 after two shots of Pfizer vaccine(jpost.com ↗)
1 points · by compsciphd · 5y ago · discuss
comment 5y ago · link · parent
simplistic case, imagine we have 1 ECC block of 16k, but we read at 2k, so we'll number the 2k blocks 0-7
T0 - read block 0, fails T1 - read block 1, succeeds! T2 - read block 2, fails T3-T7 repeat for blocks 3-7, all fail
in practice if we read a 16k bock at T1, we would be golden (and finished). Instead we did 8 steps, and only got 1/8 of the data.
This is becaue the OS doesn't have a concept of the hardware's ECC block size, so the optical hardware in a sense virtualizes it, and the OS will just keep on rereading the same ECC block on the media and possibly continue to get errors.
comment 5y ago · link · parent
the way optical media works is that the optical media reads bits from the drive in ECC block size and then verifies / fixes the block and passes that back to the OS if its has a valid block, otherwise returns an error to the OS. hence, my logic that I describe below.
optical media is an unreliable medium in general and hence depends on the ECC codes to ensure blocks are read correctly and they are used a lot. back in the day of CD and DVD burning there were fancier burners that provided apis for reading the error correcting stats into user space (i.e. how many of different types of errors were corrected), dont know if they still exist. It was never 0 across the board, but that's how the medium was designed, not to require it be 0 across the board.
761.
In week after 2nd Pfizer vaccine shot, only 20 of 128,000 Israelis get Covid(timesofisrael.com ↗)
7 points · by compsciphd · 5y ago · 1 comment
comment 5y ago · link · parent
https://www.usatoday.com/story/sports/2017/11/08/secret-serv...
comment 5y ago · link · parent
From experience of recovering bad DVDs and BRs, there were discs I had to pass through 100+ times to get a valid read on all blocks.
This is also because, the underlying hardware will always do a full ecc block read (only way for it to determine that it read the block correctly, to read whole block and verify it), so any smaller reads are pointless.
comment 5y ago · link · parent
on a different note. a lot of the digital files have survived, a bunch of different people have provided 1080p rerenderings of many important scenes from B5, can find them scattered over youtube.
768.
Facebook (testing?) removing messenger from main webpage(reddit.com ↗)
2 points · by compsciphd · 5y ago · discuss
comment 5y ago · link · parent
It really shouldn't be that hard. My parents (i.e. 70ish) are now scheduled to get the vaccine towards the end of february in maryland.
comment 5y ago · link · parent
the city general loses in court
https://en.wikipedia.org/wiki/2017%E2%80%9318_Bergen_County_...
just because the law defines something, we are also equal in the eyes of the law and if a law is not equally enforced and is viewed as being used by the government as a bludgeon against the practice of protected rights, then the government has a difficult case to defend.
comment 5y ago · link · parent
instead of investing and figuring out a way to get your existing user base to contribute content to your new social network, you kill that user base and say that they have to transition in ful to google+. Instead, people were like "we're all talking about things on facebook, I'll just share the articles there"
google+ should have been a data platform with many different front ends (reader being one of them, the facebook clone being another). Instead they just wanted to make a facebook clone.
comment 5y ago · link · parent
as an example: HN allows anonymity, but also actively censors bad content. Now, perhaps they might say, that they couldn't do that without section 230 protections, so would have to close hacker news down or implement the KYC rules. As I said, I don't know if the idea is workable and what higher order effects it would have. that's why I'm just throwing it out there.
779.
Ask HN: Would Know Your Customer Rules improve social media?
2 points · by compsciphd · 5y ago · 2 comments