Better HN
topnewbestaskshowjobs
Log inSign up

compsciphd

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

Submissions

comment 6y ago · link · parent

docker exec -it <container id> kubectl exec -it pod -c container

comment 6y ago · link · parent

you have never made an overwriting change that broke your system in a way that made rollback difficult?

comment 6y ago · link · parent

Hey, same thing happened with me and wework last spring. boy did I dodge a bullet.

comment 6y ago · link · parent

https://www.projectatomic.io/docs/docker_patches/

specifically, the hooks patch.

then see https://developers.redhat.com/blog/2016/09/13/running-system... (i.e. 4 years ago when I built containers to do this)

though of course as you note they now say to use podman https://developers.redhat.com/blog/2019/04/24/how-to-run-sys...

comment 6y ago · link · parent

the docker installation that rhel uses carries small patches that enable one to build containers that run with systemd as init with ease, without the user having to do anything special (or run with privilege), its runtime sets everything up for you correctly. I've built and run them, so I know they work.

RedHat wanted docker to take them, but Docker refused. <shrug>

comment 6y ago · link · parent

you are giving out information by bidding early. if everyone snipes at the last possible moment, you are right, winner pays the lowest they can. However, by bidding early, other competitors now have info on you and can adjust accordingly.

comment 6y ago · link · parent

hmm, googling around after my Q found this

http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.80....

where the authors explicitly write: "Shamir's scheme for sharing secrets is closely related to Reed-Solomon coding schemes."

now, my eyes glaze over when it comes to the math, so I'll need to look it through a few times before I understand what they are saying.

comment 6y ago · link · parent

what is the difference between reed solomon erasure codes and shamir secret sharing?

i.e. if I just split the secret into a number of reed solomon error correcting blocks (where n blocks are sufficient to recover the full data), is that fundamentally different?

comment 6y ago · link · parent

that's the argument for going to a liberal arts college and majoring a BA in CS instead of a BS.

It be an interesting study to look at universities that offer both tracks.

Take Columbia University that where one can earn a BSE in CS from the school of engineering, or one can earn a BA from columbia college. where the students are taking many of the same "core" CS classes, but the engineering students have a larger CS course load, while the BA students have a larger humanities course load.

I'm sure there are other universities that have similar setups where one can get similar degrees with different course load emphasis.

comment 6y ago · link · parent

that's more than 1/3. That doesn't seem to be "few".

comment 6y ago · link · parent

I don't know. perhaps, but they've shown a large willingness to force the hardware players to enforce security mechanisms that can't really be avoided nicely (ex: cinavia, there are ways to avoid it, but very few on disc based players)

comment 6y ago · link · parent

Here's an aside / funny thing about jar signing on blurays. The Blu-Ray spec only really enforces jar certificate verification for encrypted blurays (i.e. AACS). non AACS blurays (i.e. decrypted), ignore the certificate chain. i.e. a self signed certificate that uses its own key to sign the jars works fine per the spec.

The only reason people can take blurays (with java menus) and make them reliably playable when decrypted (in real players, ignoring things like VLC which can easily ignore the cert chain) is because the bluray spec tells them to explicitly ignore the certificate chain. This enables decryption programs to rewrite the java bytecode (and resign the jar's with a self signed certificate) removing any protection mechanisms (think screenpass) that are in the java code itself.

While I sort of understand the reason for it (you want to be able to test discs before mastering without encryption and without the need for signing), it really killed what could have been an effective security model. Basically the standard strong security vs convenience dilemma.

comment 6y ago · link · parent

calfs don't drink milk? I'd think milk (and water obviously) would be a safe answer for all mammals

comment 6y ago · link · parent

yikyak failed even with significant funding, why would you ape it exactly?

comment 6y ago · link · parent

and their explanation of what it is, for those who haven't spent time in the world of jewish texts.

https://docs.google.com/document/d/e/2PACX-1vREoqWlYLC68jScm...

916.

Sefaria for Democracy(democracy.sefaria.org ↗)

4 points · by compsciphd · 6y ago · 1 comment

comment 6y ago · link · parent

hey, I joke that I'm the only person on the planet with 10+ years of Docker experience.

https://www.usenix.org/legacy/events/lisa11/tech/full_papers... https://www.usenix.org/legacy/events/atc10/tech/full_papers/...

comment 6y ago · link · parent

https://azure.microsoft.com/en-us/blog/microsoft-and-redis-l...

comment 6y ago · link · parent

I've had this idea that if we could ever get e-ink displays to actually be paper like (i.e. in thickness, and bendability and hatever other features you attach to paper books) it be interesting for observant jews an people who just like books to be able to sell "placeholder" e-ink books. i.e. books filled with programmable eink pages that you can flip through like a regular book. One would download a book and program it, and then just read it like a traditional book, flipping pages as you go. once done, you download another book to it and all the pages get reprogrammed.

comment 6y ago · link · parent

depends what community you are in. Can point to plenty of orthodox synagouges (especially those with large single populations) that get large numbers of both men and women to all services.

and being a single guy, I've hosted many a meal where I did the cooking, table setting and cleaning. (though in practice at these meals, there is also a pot luck nature to them and many times there's a whole system where your friends come over help you set the table and then help clean up and throw everything away all the trash after the meal, collecting silverware, wrapping up the plastic table cloth cover with all the crumbs/spills on it).

comment 6y ago · link · parent

you turn off the main water shutoff and get to fixing it after shabbat (i.e. no different than turning on and off the faucet)

comment 6y ago · link · parent

yes, basically doing things from wed on that you know will have issues on the sabbath is problematic.

i.e. there's a concept that if one is going to get on a boat that is going to be sailing over the sabbath, one should get on sunday-tuesday. not wed-friday (saturday would obviously be an issue).

if i had to guess, that is the logic here.

comment 6y ago · link · parent

one can start a fire before the sabbath and benefit from its heat. One can't stoke the fire (to make it hotter) or extinguish it. On the flips side (as an example only) if I was sitting around a camp fire that I lit before the sabbath with a non jew, and he wanted to extinguish it or stoke it for his own benefit (I might benefit as well, but he's supposed to be doing it for his own benefit) that would be permitted.

apply to a computer: one can let it keep on doing what it is doing, but he owner wouldn't manipulate it.

comment 6y ago · link · parent

also if you are used to asking for white meat in the US when talking about birds, please don't try to be smart and translate that into hebrew.

comment 6y ago · link · parent

it even worse than that for people trying to take issue with you. if one has a problem with the statement "people or jews", one would generally assume this removes "jews" from the group of "people". and hence jews aren't people.

comment 6y ago · link · parent

in practice, things that are biblibcally prohibited, one cannot ask a non jew to do. only things that are rabbinically prohibited would one be permitted to do (i.e. same people who prohibited, also created a backdoor to permit. I'd also note that in practice its a bit more complicated than this simplification).

Of course one then might get into a debate whether a particular action is rabbinically or bibilically prohibited.

comment 6y ago · link · parent

this is too inside baseball, but a cute joke.

comment 6y ago · link · parent

on the flips side, observant jews in tech companies sometimes struggle with this in Israel, as the on call people who take over for them will still be jews. Even if said jew doesn't mind not observing the sabbath, the observant jew doesn't want them to do it on their behalf (so to speak).

comment 6y ago · link · parent

for the record, no, it can't be done purposefully. i.e. all students of jewish law no inherently the concepts of a priori and posteriori. i.e. many things are prohibited a priori (i.e. to purposefully do), but would be permitted posteriori.

A simple example example is one can't mix milk and meat at all apriori. But if accidentally mixed a small amount of milk into a meat dish (example: one wasn't thinking and took a spoon directly from a milk pot directly into a meat dish), it would be permitted posteriori. But that's only because the act wasn't intentional.

comment 6y ago · link · parent

consuming electricity isn't a problem. doing things defined as "work" is a problem.

work is in quotes, as it doesn't mean doing a job. it also doesn't mean the physics meanin.

As the simplest example: take rabbis in a synagogue. They are doing their jobs.

Another more complicated example: there's no fundamental difference between what an individual can do to prepare a meal they are serving on the sabbath and what caterers can do. Both can't do things defined as "work", but obviously the caterers are doing their job.

Then there's is the whole interplay between biblical law and rabbinic law

1
303132
42