HNHacker News
TopNewBestAskShowJobs

inportb

564 karma · joined June 27, 2011

submissionscomments
inportb··on Rope (data structure)
A rope stores a long string as a collection (binary tree) of shorter strings. Strings are stored contiguously in memory, so mutation (insertion, deletion, catenation, etc) often involves much copying of data, which could be problematic with long strings. Ropes avoid this problem, but have some additional code complexity and resource overhead associated with data fragmentation.
inportb··on Cowards
>You can relocate to a different country, but it is up to them to allow you to enter and/or settle

so don't relocate to a different country

inportb··on DNI Statement on Recent Unauthorized Disclosures of Classified Information
404'd. Here, have some cached content:

http://webcache.googleusercontent.com/search?q=cache:www.dni...

http://pastebin.com/zRgpetMe

inportb··on RethinkDB: An open-source distributed database built with love over three years
Hopefully, your application knows that this field here is a date encoded in a string.
inportb··on Vaccines Could Be Emailed and Printed at Home
Not quite what you were thinking, but I think viruses might be a piece of the puzzle:

print DNA -> PCR -> insert into vector of choice (i.e. some virus) -> transform organism of choice (i.e. some E. coli strain) -> purify drug

(this is going to be one complicated printer with lots of expensive inks)

inportb··on Android users outraged over Motorola's broken promise
You don't need to be a nerd; you only need access to someone you trust who would do it for you. And plenty of folks wait until their warranty runs out before modifying the OS.
inportb··on Doppio: A Java Virtual Machine, Compiler and Disassembler in JavaScript
Ample SDK does that, kinda-sorta -- http://www.amplesdk.com/about/compatibility/
inportb··on BrowserID: A new web authentication scheme (2011)
Persona is Mozilla's service that implements the BrowserID authentication scheme and polyfill. But yes, this was posted multiple times recently.
inportb··on Ask HN: What are the use cases for NFC outside of payments
That's because the screen is the primary UI. But imagine authorizing NFC transactions using audio instead, or something as [currently] outlandish as a neural interface. Perhaps you could pre-emptively allow your phone to collect contact information before hitting the club.
inportb··on Ask HN: What are the use cases for NFC outside of payments
You could use NFC to exchange data. You could, for example, perform a hip bump to add somebody to your Tweetface circle; or grind on somebody to trade phone numbers; or leave a tip by rubbing somebody's pants pocket... all without directly manipulating phones!

(I imagine this'd be increasingly relevant as the screens on these things get bigger and bigger and it becomes difficult even to remove your phone from your pocket.)

inportb··on Persona - Mozilla's decentralized and secure authentication system

  > Even when the system is fully supported without fallbacks,
  > hacking person's email account will grant the attacker
  > ability to log into all websites as the victim?
With or without Persona/BrowserID, your email account(s) is the key for logging into a whole bunch of other Web services, since it is already used for resetting passwords and such. Persona/BrowserID does not solve this problem.

The big picture is that it makes distributed identity easy for the average user to grok.

inportb··on Turn your 404s into lost children alerts
We think human lives are priceless because we like to believe that everyone is unique. There is no warranty replacement for children born defective; nor could you replace them when they break, go missing, etc.
inportb··on iPhone 5 review
I like how the Lightning jack has its contacts exposed, making it prone to shorts and other mishaps. The name is appropriate!

(with most other connectors, the powered side is recessed or the contacts are protected somehow)

inportb··on iPhone 5 review
With an adapter, sure. My G1 has a small adapter that accepts a 3.5mm jack and plugs into the phone's micro-usb port.
inportb··on Analysis of bank PIN numbers
I just call them PI /pɪ/ numbers!
inportb··on Does infinity exist?
Right, so the occupants of n+1 would have to move to n+2, the occupants of n+2 would have to move to n+3, and so on. Somewhere, the occupants of n+infinity-1 and n+infinity would have to share a room, but I guess everyone accepts this issue because you'd never actually reach rooms n+infinity-1 and n+infinity by counting/visiting.

I'm no mathematician, but this seems to be an edge phenomenon that everyone is willing to ignore. I suppose you could just as easily tell the new guests to run down the hallway until they find an empty room at the end; out of sight, out of mind...

inportb··on Does infinity exist?
... which would consolidate the occupants of rooms n and 2n (and there are people in room 2n to begin with, if all of the rooms are indeed currently occupied).

edit: I see that the folks in 2n would now be in 4n, and so on down the chain. You'd always have some guests that are in the process of being evicted (i.e. between rooms); then again, that's negligible because we're not talking about real life (™). Clever!

inportb··on Does infinity exist?

    a hotel with an infinite number of rooms, all of which are currently occupied
So you have an infinite number of occupied rooms. That is, you have a one-to-one mapping between rooms and parties.

Do you have room for more guests? I don't think so, because none of the rooms are unoccupied. You could try to free up some space by consolidating parties, though.

inportb··on Never again be thwarted by restrictive “guest” wifi (e.g. on buses or airplanes)
Nifty trick, but some services kill ssh on port 443, and I guess they do so by limiting connection lifetime. In these cases, I find GNU httptunnel very useful.
inportb··on A New Species Discovered ... On Flickr
He did:

    Winterton SL, Guek HP, Brooks SJ

    A charismatic new species of green lacewing discovered
    in Malaysia (Neuroptera, Chrysopidae): the confluence
    of citizen scientist, online image database and
    cybertaxonomy

    ZooKeys 2012; 214: 1–11. doi: 10.3897/zookeys.214.3220
inportb··on Darwin right: variations in useless organs unchecked by natural selection
We still use a few words with the Greek stem teras. For example, teratology is the study of monstrosities (i.e. birth defects).
inportb··on Solving Different Problems
There is. http://www.videolan.org/doc/play-howto/en/ch04.html#id591206

Then again, I don't use it because I couldn't get any seek UI to appear.

inportb··on Pie charts in your favicon
It seems to work in Firefox 15.0 as well as Chromium.
inportb··on Fay -- A proper subset of Haskell that compiles to Javascript

    The Fay compiler is written in Haskell,
    so you will need the Haskell platform
    installed (or at least Cabal).
I don't know if it is a Fay-compatible subset of Haskell, but I would not bet on it :)
inportb··on Facebook announces SPDY support
Even so, SPDY support does not imply SNI support.
inportb··on Google Open Sources Collaborative IDE
... because this is what happens when I use Java-based tools that are associated with Google (i.e. Eclipse+ADT): http://i46.tinypic.com/300tyc9.png
inportb··on Why Your McD's Burger Doesn't Look Like the One in the Ad
You're picking at the difference between the proximate cause and the ultimate cause of the ad looking the way it does.

    Q: Why does the ad burger patty appear thicker and larger?
    A: Because we made it *this* way [show process].
Sounds reasonable to me. Perhaps you wanted an answer more like,

    A: Because we wanted to show off all the ingredients in the
       best possible light, to encourage you to buy it.
It actually takes a few why/because cycles (i.e. root cause analysis) to approach the ultimate cause; for example:

    A: Because we made it *this* way.
    Q: Why?
    A: Because it makes the burger look good and it shows
       you what's in it.
    Q: Why?
    A: Because if the burger looks good and you know what's
       in it, you'd be more likely to buy it.
    Q: ???
    A: Profit!!!
Alas, the original question did not stipulate a particular kind of answer; I think the response, as given, sufficiently answers the question.
inportb··on Have you ever chatted with a hacker within a virus?
> I tried a "hello" and waited. And waited. And then I was k-lined from the IRC network. The next day when I logged onto my computer, I found my Internet connectivity was being overwhelmed with bogus TCP requests.

I'd probably do the same, upon discovering that one of my bots had become sentient.

inportb··on A Better Way to Manage CSS and JS (+ source code)
Surely, it would be acceptable to microcache for a few seconds? It's rather easy, with nginx in front.
inportb··on iOS App Store - Fake Microsoft Word 2012 Approved
Is there a link to this that doesn't want me to install iTunes? For some reason, some iTunes links do not hit people with a paywall but some (such as this) do.
← PreviousPage 6 of 11Next →