HNHacker News
TopNewBestAskShowJobs

Orangeair

925 karma · joined January 21, 2014

submissionscomments
Orangeair··on Nintendo Controller Teardown
Technically a 16-bit register if I'm not mistaken (but that's just splitting hairs; it only uses 12 bits).

Here's a short article on the configuration: http://www.gamefaqs.com/snes/916396-super-nintendo/faqs/5395

Orangeair··on Downloading PuTTY Safely Is Nearly Impossible (2014)
One variant of PuTTY that I use -- PuTTYTray, a portable version of PuTTY with some other features -- is at least delivered over https, although you still have to trust the developer.
Orangeair··on Python 3 in Science: the great migration has begun
It's not that it isn't good enough, it's that the cost of switching is larger than the value of what they believe they would gain. I believe this is very common in academic settings (consider, for instance, how many people still see no reason to switch away from Fortran).
Orangeair··on Ask HN: Would Java make it if introduced today?
Yes, but after the most recent Chrome update, that's just about as functional as Java applets are.
Orangeair··on The Python IAQ: Infrequently Answered Questions
In addition, we now have enums (Since Python 3.4) and an equivalent to the ternary operator (val1 if condition else val2).
Orangeair··on Ask HN: Would Java make it if introduced today?
Honestly, as it currently stands, Java appears to me as merely a pared down version of C#. C# shares nearly all of the same major features, while adding in more useful ones like properties and Linq, plus the promise of many new features on the horizon, like the null propagating operator. All of those, plus the rest of Microsoft's development ecosystem, make it a much nicer language overall.

The only reason I don't think C# has taken over Java yet is because of how entrenched Java is, and it's wide cross-platform support. With mono, Silverlight, and Microsoft's newfound love for open-sourcing however, I think those arguments would be pretty much null if Java were to be introduced today.

Orangeair··on Number of legal 18x18 Go positions computed. One more to go
I think 'artificial' would be a better word here. For example, in Magic the Gathering, there is a very basic turn structure and set of rules that define the game (draw a card, play some cards, attack, play some more cards, done) that is convoluted by several factors, including an increasingly large dictionary of terms relating to abilities and powers of the cards, and a correspondingly dense set of rules to handle the inevitable complexity of all those things.

For example, creature cards have power and toughness. Simple enough. But then at some point, cards were printed that allowed you to modify those values. Now you have to mentally keep track of the actual state of the card. Then consider what happens when you have two effects like "add two to toughness" and "switch power and toughness" applied at the same time. Which one happens first? Much as in software, each new feature of the game inevitably has interactions with other features that have to be analyzed and handled appropriately.

Going back to the main point, this complexity is 'artificial' because it is not an emergent property of the rules themselves, but rather a consequence of the fact that so many rules have been piled on over time.

Orangeair··on A startup helps stores give suspected shoplifters a choice: $320 or cops
Basically any system which prosecutes crime is going to be biased against poor people, if for no reason other than that they are the ones most commonly stealing things. Poverty is correlated with criminal activity, which is an issue that goes beyond how stores deal with shoplifters.
Orangeair··on A Story About ‘Magic' (1994)
Xkcd sells a set of stickers which includes a magic/more magic pair:

http://store.xkcd.com/products/switch-and-button-stickers

Orangeair··on Marilyn vos Savant and the Monty Hall Problem
First door as in the first door to be selected. When you select it, it has a 1 in 3 chance of being the correct door. The door presented to you obviously has a 0 in 3 chance, so the remaining one must be 2 in 3.
Orangeair··on Marilyn vos Savant and the Monty Hall Problem
"You made a mistake, but look at the positive side. If all those Ph.D.’s were wrong, the country would be in some very serious trouble."

Best quote in the entire article.

And if I had to explain the problem in one sentence: Opening the first door obviously gives you a 1/3 chance, which remains unaffected by the host opening another door.

Orangeair··on Show HN: SQL Teaching – Codecademy for SQL
Weird. It did not want to be in English for me on Chrome or IE. Thanks for the link.
Orangeair··on Show HN: SQL Teaching – Codecademy for SQL
Is there by any chance an English version available?
Orangeair··on Fuck It, I'm Going Back to Firefox
I've felt this same sentiment recently, but regarding the Chrome browser for Android. It used to be perfectly fast, but over time (with updates) it just seemed to get slower and slower on my Galaxy S4, to the point where now it sometimes can take fifteen seconds to register a scroll event on a site like Reddit. Heavier sites are practically unusable. Even as I type this, I see my characters suddenly appearing in groups of twenty or so at a time, where several months ago it was not a problem. And I never even have more than three tabs open normally.
Orangeair··on Deleting any Facebook album
> "And if you do this, you don't seek payment, you do it because you're a professional security researcher who cares about their security, not because you're trying to make a quick buck."

What if you aren't a professional security researcher, though? I'm sure there are plenty of underpaid people out there who stumble onto bugs like this every so often. Yes, asking the company to give you money on threat of revealing the bug is definitely extortion, but you are assuming a little too much in this case I believe. Some people may truly need the money.

Orangeair··on The NFL wants you to think these things are illegal
How is it that they can stop you from displaying it on TV's larger than a certain size, then? I've always been confused about that.
Orangeair··on To Be
It's like a hipster Web 2.0 version of YTMND.
Orangeair··on Lightbot: A simple programming game
I find this interesting for how it demonstrates recursion as a means of looping. Most simple code tutorials like this just follow the procedural style, and make you throw a set of instructions inside of a loop block.
Orangeair··on Typing the Letters A-E-S Into Your Code (2009)
His standup on zero knowledge proofs was my personal favorite.
Orangeair··on In Soviet Minecraft, server op you
+1 for this. I actually just set up similar myself yesterday. Once you look at a few tutorials and figure out how to muck around with all the yaml config files, it's really pretty easy to configure bungeecord. The isolation you get from being in completely separate worlds is definitely an added bonus. You can do cool things like create worlds that are entirely devoted to a minigame, for instance, if you want to have that. It also makes it really easy to just create one hub world that players can teleport from, and return to easily. I used a really simple plugin called FancyPortals[0] to achieve that. There are a couple potential problems you may face, the biggest one being memory requirements (since you would actually be running n servers instead of just one). If that's the case, you could also check out MultiVerse[1], which is a bit easier on memory I believe.

If nothing else, you should at least consider switching over to Spigot[2] (A high performance fork of Bukkit). They've had some DMCA problems, so you have to compile the .jar yourself, but there's a script which automates the entire process, so that's really no big deal. Plus they just updated to 1.8 yesterday! Once you have Spigot, you can use any Bukkit plugin. Plugins exist that do everything you're trying to do, and more, but with the added bonus of actually being integrated into the game. The big one to check out would be Essentials[3], which contains dozen of simple commands for doing lots of common, neat things.

[0] http://dev.bukkit.org/bukkit-plugins/fancyportals/

[1] http://dev.bukkit.org/bukkit-plugins/multiverse-core/

[2] http://www.spigotmc.org/threads/bukkit-craftbukkit-spigot-1-...

[3] http://dev.bukkit.org/bukkit-plugins/essentials/

Orangeair··on Tim Tang Test – the longest online riddle game
It's a like a less math-y, more Comic Sans-y version of Project Euler. Very interesting. According to Google trends, it looks like this site peaked in popularity around 2007. There are definitely still people on it, though, which is made evident by the active chat box on the page.
Orangeair··on The Second International RoShamBo Programming Competition (2001)
Is there source code available for the programs? I can't seem to find it on the website.
Orangeair··on Fish vs. Fish in Street Fighter II
'Logical extension' would have been a better phrase, I think. And 'logical' is clearly tongue-in-cheek.
Orangeair··on Show HN: Markov chains explained visually
Is that how things like Swiftkey or Google Now can predict words so well? If so, how do they do it so quickly?
Orangeair··on Poll: Do you use marijuana
Seems like the 'no' spectrum is pretty light, compared to the amount of 'yes' answers. I doubt that making a distinction between edibles/smoking is that big of deal, and it might be nice to include some options like, "No, but I'm fine with people who do," or, "No, and I would never try it."
Orangeair··on YouTube to Acquire Videogame-Streaming Service Twitch for $1 Billion?
Why on Earth would Twitch let themselves be bought by a company that was in the news just a few months ago for systematically destroying the Let's Play community?
Orangeair··on Why I push for Python
I agree, with reservations. Python is great for introducing people to programming; however, it is not necessarily great for teaching computer science concepts.

My 200 level data structures and algorithms class was taught in Python, and it just felt awkward. For example, we constructed an "array" by basically creating an abstraction on top of a list, which did nothing but remove features and introduce overhead. It kind of felt like teaching someone how to make a bike by taking all four wheels off of a car and only putting two back.

Orangeair··on What 4chan thinks of HN
Have you heard about our Lord and Saviour JavaScript?
Orangeair··on How a German Soda Became Hackers' Fuel of Choice
Is there any cheap place to buy this in the U.S.? I've wanted to try it for awhile, but I can't justify spending three dollars a bottle at the 2600 store when I can get regular energy drinks for half the price.
Orangeair··on Through the Warp Zone: Hacking Super Mario Brothers to unlock new worlds
A small correction: You die if you go over 127 lives. This is due to the fact that the game uses 8 bit signed integers to store the number of lives. You don't die immediately either, but when you do die normally, you get a game over because the game detects that you have less than zero lives remaining.
← PreviousPage 5 of 7Next →