Better HN
topnewbestaskshowjobs
Log inSign up

compsciphd

2,299 karma · joined Feb 15, 2012 (14y ago) · 1,239 submissions

Submissions

751.

New Pricing for Redis Enterprise Cloud(redislabs.com ↗)

1 points · by compsciphd · 5y ago · discuss

comment 5y ago · link · parent

as a totally tangentially related thing, we just released a proof of concept version of kodi with java on aarch64 for android. i.e. first time in the open source world one can play blurays on a 64 bit arm android os with full java menus (well, that's mostly the nvidia shield pro 2019, but should be extensible to 32 bit android as well).

https://forum.kodi.tv/showthread.php?tid=360250

comment 5y ago · link · parent

I don't understand the throwaway line

"Yes, there are complexities around naked shorting, but let's not get into that."

what complexities? isn't it simply illegal to short a share that is not yours to short (perhaps because it doesn't even exist).

comment 5y ago · link · parent

you're right, I multiplied it by 10 in my head. but even more so for OP. It wasn't a plain vga card.

comment 5y ago · link · parent

Roses are sexy, Violets are hot, It is forbidden to fire the jewish space laser on shabbat

Roses are fragrant, Violets sublimer, Just put the space laser, On a timer

comment 5y ago · link · parent

a "vga" card with 8mb of ram was probably a svga card (24 * 640 * 480 is just under 8 mega). no real reason for it to need 8mb otherwise back then.

comment 5y ago · link · parent

also, you don't ask for 2488+ECC (or +1). the ECC is not visible to the OS or user.

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

because the OS did't cache the full ecc block (it views the block size as 2048 or 4096 bytes), and with scratched media 2 reads of the same ecc block aren't going to necessarily both succeed.

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

just in case you didn't read my response below, its not about the ECC being available to the OS, the OS doesn't need to see it.

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

Navy pays their football coach > $2Mil

https://www.usatoday.com/story/sports/2017/11/08/secret-serv...

comment 5y ago · link · parent

the author isn't asking for google to reflect this inforomation to others, its saying for my navigation, blacklist this road for now.

comment 5y ago · link · parent

I'd also add that -R (reverse) doesn't make sense to me for optical media. really would slow down recovery as the default direction I'd think.

comment 5y ago · link · parent

it's not just that. Reading scratched blocks means sometimes it might work, sometimes it might not. lets say 1% of the time you get a good read. If the ECC block is 16k and you always read in 16k blocks, if you get that 1% magic time that the read succeeds, you got the whole block. If however, you read 2k blocks, you need to have the same luck 8x times.

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

I used to use 2048, that's probably the wrong value to use. want to use something that corresponds to the ECC block size of the underlying media. but yes, I do that as well (came to say mostly the same comtent, but I'd do r -1)

comment 5y ago · link · parent

It's coming out out on BluRay (though the guess is that it won't be HD, just either SD or upscaled, thouh on BR an SD release can probably be 1 disc per season, I've always wondered why we don't get old DVDs released as such, perhaps they view it not profitable relative to simple streaming).

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

I'm 41, Israel opened up the vaccines to people over 40 yesterday. Called my HMO, made a same day appointment for their vaccination center at the local stadium, went there by bus in the rain. swiped in with my card when I got there and was given a number. waited close to an hour for my number to be called, got quickly stabbed in the upper arm an soon left.

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

not 100%. There's a jewish law concept of an eruv. without getting into the nitty gritty of it, many places that have them, make use of existing utility poles (with permission of the utility companies that own them). Many municipalities have laws that are really unenforced that things can't be posted to them. Sometimes when building an eruv, they will post a strip to the pole (again, don't have to get into the details as to why, unimportant for this discussion). Cities that want to make life difficult for the people building the eruv try to enforce the law against them.

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

"without somewhat workarounds" sometimes I wonder about people.

comment 5y ago · link · parent

except you can only upload 750GB a day without somewhat workarounds

comment 5y ago · link · parent

2016! can tell by the reference to petsets and being in alpha.

comment 5y ago · link · parent

I don't understand why slashdot's old moderation and metamoderation tools aren't in more wide use.

a downvote has to have a reason. votes are metamoderated to see if they are reasonable and if you are determined to not be reasonable, you lose moderating privileges.

comment 5y ago · link · parent

I think the point of the OP was that its pretty common for fungi to grow on and in humans, so much that there is a well known class of drugs meant for it.

comment 5y ago · link · parent

and how would you know if someone wearing facebook apparel isn't a janitor or a security guard? facebook contractors get a lot of the same swag. When I lived in SV, my roommate worked at FB food services and worked for whatever company they contracted for that.

comment 5y ago · link · parent

It also let you share content with your google friends before google+ existed. And this is why certain google execs should have been fired quickly.

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

that's required. This would only be required if service wants section 230 protection and they would no longer need to censor.

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

comment 5y ago · link · parent

something that needed to be said, the only nit I have is the direct comparison between kristalnacht and the capitol riot. I would have preferred it be viewed as worried that this could be a precursor to the us's own kristalnacht, instead of it being the same as is.
1
252627
42