128 karma · joined Jun 2, 2014 (12y ago) · 33 submissions
comment 6y ago · link · parent
As for how to prepare the images, you need a ramfs image with the root filesystem as a cpio file and a kernel as a vmlinuz file. You then serve these in a basic HTTP file server that your iPXE config points to.
Generating the vmlinuz file is pretty easy given a kernel. The cpio file is trickier. netboot.xyz recommends just grabbing a standard distribution. Otherwise this reduces to the problem of creating your own.
comment 10y ago · link · parent
Yet another quote for the misrepresentation of science in articles.
comment 10y ago · link · parent
comment 10y ago · link · parent
Having just re-read Lynch's paper, can you explain what you mean here? I didn't see anything explicitly relying on time. It could be there is some implicit usage I didnt see. Additionally, the paper's impossibility result is about "perfectly correct consensus" which applies with and without clocks and then has a positive result for "partially correct consensus" (i.e. not deciding a value is a correct result). Im not sure which you mean when you say "consensus becomes impossible" as it is either already impossible (the perfectly correct protocol) with one faulty process or (to my understanding) not dependent on time (the partially correct protocol).
p.s. great article!
comment 10y ago · link · parent
These computers are quantum adiabatic computers which are indeed quantum in that they use qbits, but it is not clear that they can perform some operations required for QBP problems. See scott aaronson's blog for more info [1].
comment 11y ago · link · parent
These are often confused in articles, do you happen to know if that was the case in this article? Did they mean 1180 MWH or 1180 MW as stated? Otherwise your yearly production calculation is very off. 1180 MW (j/s) would produce 10^7 MHW per hour.
comment 11y ago · link · parent
Two links deep, I found [1]. The salient being "...floating point representation gives you extra precision for numbers near zero, this extra precision comes at the expense of precision for numbers further out"
1. http://www.pathengine.com/Contents/Overview/FundamentalConce...
comment 11y ago · link · parent
Did the experiment limit a user's participation to one time? Otherwise, the results might be skewed and the benefits exaggerated.
comment 11y ago · link · parent
https://www.reddit.com/r/cpp/comments/3gd29t/c_internals_stl...
comment 11y ago · link · parent
Thanks for the puzzle, its hard to find good concurrency problems.
Edit: Looked through your solution. You are right, we thought of similar things. I started out by wanting a multi condition variable, but didnt want to implement it :). I ended up getting something similar in a roundabout way.
comment 11y ago · link · parent
I believe it follows all of the requirements. There is one glaring flaw which is that it uses a condition variable per 'wait_until_equal' call, though it uses only N mutexes. So this doesn't fall under the N^2 primitives (in the case of many waits), though its unclear to me if thats an official rule.
Im happy to listen to feedback or if someone sees an error.
comment 11y ago · link · parent
I was going to post a hint rather than the solution, but you beat me to the punch.
comment 11y ago · link · parent
I suppose its only to be expected once one thinks about your observation that the links are pointing at google.
comment 11y ago · link · parent
My issue tends to be the lack of internet. When I'm going on a trip and have a project in mind, I try to make sure my dev environment is ready and download all relevant code/framework references for offline viewing using wget.
comment 11y ago · link · parent
Take a look at his Turkey brining experiment for a good example of applying his science background (an MIT guy) to food. http://www.seriouseats.com/2012/11/the-food-lab-the-truth-ab...
comment 12y ago · link · parent
Cassandra has a nice and simple architecture (every node is identical, no zookeeper roles etc), high write performance and scalability [1], and is fairly robust. My main piece of advice is to get the tables correctly set up. You need to know exactly what queries you want to make and design a table around that query (Cassandra only allows performant queries to be made, unless you go out of your way to set a flag). Whether a query is possible or performant depends on the key of the rows for the table, which may be a composite key. Take a look at the cassandra documentation for more details.
1. http://techblog.netflix.com/2011/11/benchmarking-cassandra-s...
comment 12y ago · link · parent
comment 12y ago · link · parent
Mostly I wish there was a better fallback than locking when transactions fail, but I suppose this is more in line with thinking of them as optimistic locks (such as what I assume the speculative spin lock does).
comment 12y ago · link · parent
1. https://software.intel.com/en-us/blogs/2013/06/23/tsx-fallba...
comment 12y ago · link · parent
1. http://natsys-lab.blogspot.ru/2013/11/studying-intel-tsx-per...
comment 12y ago · link · parent
comment 12y ago · link · parent