jeffcoat
(extremely mild spoilers:)
- A core skill for Nethack is understanding how much danger you're in at any particular moment. Your comment about soldier ants below tells me you've made good progress here. But you need to recognize when you're in danger and how long you have to deal with that problem before you'll react appropriately.
- Nethack's dungeon isn't linear, it branches. (Think of the gnomish mines here, but there are other examples deeper.) When you're getting in over your head in one branch, go back up the stairs and switch to another one.
- When you're in immediate danger, Stop. Look through your inventory, consider your options. Think especially about wands, think about ways to write Elbereth, think about scrolls. Think about ways to use diagonal movement to your advantage to get to an escape, or a more defensible position. You have all the time in the world to think. There may not be a solution, but I've died more than a few times with more than one thing in my inventory that could have saved me.
- You need to be able to identify some things without waiting for a scroll of identify to fall into your lap. Price is the easiest way to identify the scroll of identify itself. It's also straightforward to learn to identify most useful wands: with spoilers or by experimenting. Engraving with the wand will often give you more information than zapping it. A lot of your early I'm In Danger toolkit will come from wands you've identified this way.
Good luck, have fun.
(Intermediate player, a few dozen ascensions 20 years ago.)
We have to switch to "grid" north to make sense of directions there.
https://en.wikipedia.org/wiki/Universal_polar_stereographic_...
For example, I'm in Austin, querying a database hosted in Amazon's us-east-1 data center ("Northern Virginia"). Call it 1000 miles away, 2000 mile round trip.
You have: 2000 miles
You want: millilightseconds
2000 miles = 10.736388 millilightseconds
If I have a query that's taking < 1ms, no optimization of how that query is executed by the database can possibly improve the overall performance. MCMLXVII + LXV
= MCCCCCCCCCLXVII + LXV (canonicalize)
= MCCCCCCCCCLXVIILXV (concatenate)
= MCCCCCCCCCLLXXVVII (sort)
= MCCCCCCCCCLLXXXII (combine, VV => X)
= MCCCCCCCCCCXXXII (... keep combining, LL => C)
= MMXXXII (... C{10} => M, nothing left to combine)
= MMXXXII (optionally, look for ways to re-write with the subtraction rule)You're thinking of https://en.wikipedia.org/wiki/United_Airlines_Flight_232
where so much of the plane broke that they had to invent a new way to fly it.
I can't turn up a reference right now, but like you say, in the next few years that failure was repeatedly simulated, and all the simulated planes crashed.
(IIRC, Haynes declined to try his hand at any of the simulations, explaining that the one time when it really mattered was enough for him.)
If you own an oil field, you have to balance a number of factors:
* How is the price of oil changing, relative to overall inflation? You mentioned this one.
But also,
* Are technological improvements (either increasing the total amount of extractable oil in the world, or outright oil replacements) going to dramatically lower the price if I wait too long?
* Is it still going to be my oil next year, or am I going to be first against the wall when the next revolution comes?
My (unsophisticated, outsider) opinion is that if you see oil-producing countries selling as quickly as they can, that's weak evidence that they're worried about the last two bullets.
_Moneyball_ isn't about baseball so much as it's about how easy it is for humans to be tricked by our intuitions and habits. Moneyball talks about baseball from the point of view of someone who everyone just assumed would be good -- and wasn't -- as he's trying to make more and more objective assessments of players, and wielding his conclusions against competing, more traditional managers.
If you took two points from one of those latitude "lines", you'd always be able to find a shorter path between them than the path along the latitude. If you take the shortest path between the two points and extend it all the way around the sphere, you'll end up with a great circle. That great circle is an actual "line" in this geometry.
The same thing is happening here:
These ships are trying to move oil from a time when oil is relatively plentiful to a time when it's relatively scarce. It's riskier, but if they succeed, everybody wins: they make money, and they do it by lessening that future scarcity.
The chain of thought that goes
I only prosecute worthy cases
=> I picked those cases because these people are guilty,
and need to be convicted for the good of society
=> my conviction rate is exactly the same as my
'I made a better world' rate.
must be very tempting. Wrong, but tempting.http://abcnews.go.com/Blotter/loaded-gun-slips-past-tsa-scre...
According to one report, undercover TSA agents
testing security at a Newark airport terminal on
one day in 2006 found that TSA screeners failed
to detect concealed bombs and guns 20 out of 22 times.
A 2007 government audit leaked to USA Today revealed
that undercover agents were successful slipping simulated
explosives and bomb parts through Los Angeles's LAX
airport in 50 out of 70 attempts, and at Chicago's
O'Hare airport agents made 75 attempts and succeeded
in getting through undetected 45 times.http://chariotsolutions.com/screencast/philly-ete-2015-7-mon...
I'm at Motive right now; the large majority of developers here have their own office. (And we're hiring: developers and testers, no telecom experience necessary, mostly in Austin, TX.)
You're right too, though: most of the value of that post is in the first paragraph, which is a very concise presentation of an interesting (apparent) paradox.
http://en.wikipedia.org/wiki/Black_Friday_(shopping)#Origin_...
The last question, where I had to name and spell the part, caught me by surprise -- the difficultly level had, up until then, been increasing very slowly, and that felt like a huge jump.
Wishlist feature: Speech recognition, in the sense of having to name a part out loud.
He's not an economist: he has a very clear idea of which jobs are useful in a society and which jobs aren't, and no interest at all in what the market has to say.
I'm sure he has useful data, but everything he writes goes through that filter, and there's no way to trust what he says about people dealing drugs, because he makes it so clear that everyone doing anything outside the law is Evil, and so everything they do is tainted.
We say that an algorithm is in NP if checking a given solution can be done in polynomial time. For example, if the problem is to find a path that visits all the nodes of a graph (or cities on a salesman's route, or whatever) exactly once that's less than some distance k, you might have to try every possible route to find a solution, but given an answer, you can check it's distance and compare it to k very quickly.
NP-hard means (even more informally than the above) that the problem is "at least as hard as the hardest problem in NP". (Some problems in NP are easy; e.g., if you have an algorithm in P to find a solution to a problem, then you can obviously also check a given answer in polynomial time.)
It is not known whether or not all problems for which answers can be checked in polynomial time (NP) can also be solved in polynomial time (P).
They're saying that if P=NP, there does exist an algorithm in P that can decide the convexity of a degree 4 polynomial (even though they don't know what that algorithm is right now), and if P!=NP, then there doesn't.
(*Edit: The last paragraph is wrong:
I can't find that they've proven that the determining convexity is in NP, just that it's NP-hard and they didn't rule out it being in NP. (Recall that some NP-hard problems are not in NP; halting problem is one.)
So it's possible that that both P=NP and there's still no algorithm in P that can check convexity. But if P!=NP, that algorithm definitely doesn't exist.
Also, on closer reading, the relevant "size" of a problem that this paper is talking about (n) is the number of bits needed to represent the coefficients of the polynomial.)