HNHacker News
TopNewBestAskShowJobs

gumoro

163 karma · joined August 25, 2016

[ my public key: https://keybase.io/gumoro; my proof: https://keybase.io/gumoro/sigs/JNKolfMK_LuPQV_llRy0HOW8WNON3bSlwA9huC4Czck ]
submissionscomments
gumoro··on Do we really need swap on modern systems?
Always, really? Perhaps I'm lucky but this happens quite frequently with my system (dev workstation, so browser with lots of tabs, IDE, my own app/server stuff, other "power/mem-hungry" dev tools...), and I always manage to keep it sane/healthy:

- notice system starts swapping (if you do not monitor that, to me it sounds as careless as driving on the highway on 2nd gear and ignoring engine noise -- ideally the OS could proactively help here but unfortunately I don't know a good "automated" tool)

- find out which process/app uses the most memory (Linux can even tell you which ones use the most swap space [1])

- decide which one you want to (gently|forcefully)-(quit|restart|whatever). Exercise judgment.

[1] http://stackoverflow.com/questions/479953/how-to-find-out-wh...

gumoro··on Computer Scientists’ Trivia
Beautiful typo about two's complement:

> Simply filp all bits and add 1.

gumoro··on Typing Practice for Programmers
Good question. I don't type code as I type a letter. When "coding", I edit structured text. So what's important for productivity is things like jumping with accuracy (word, corresponding bracket, file...), cut/paste, other IDE shortcuts to rename, refactor, etc.
gumoro··on Introduction to High-Performance Scientific Computing
You might want to run a spell check on that page, I just saw "comprimise" in the most prominent sentence.

Also, white text on sky background with white patches (sun, clouds) has unreadable portions.

gumoro··on The Ultimate Game Boy Talk (33c3) [video]
Thanks, I had skipped to random parts and missed this one. Here is a transcript:

"The game has to have a copy of that Nintendo logo inside. If it doesn't match, the game does not boot. This was meant so that Nintendo could control which games are released for the platform, because all games had to contain the logo, which is not just a copyright violation but also a trademark violation if you include that and don't have Nintendo's permission".

Neat :)

gumoro··on Show HN: Alter – convert text/code to an image
Thanks, edited.
gumoro··on Show HN: Alter – convert text/code to an image
For point 1 I would use "reduce":

  lines.reduce((longest, line) => (longest.length > line.length) ? longest : line, "")
https://developer.mozilla.org/en/docs/Web/JavaScript/Referen...

EDIT: sorry, initial code returned length, not line itself

gumoro··on Do you really want a single-page application framework?
Thanks, I have no experience with it and could not tell (although yeah I was leaning for your interpretation)... Maybe I'll reconsider this ng2 training then :)
gumoro··on Do you really want a single-page application framework?
Did you mean "non-developer friendly" or "non developer-friendly"?
gumoro··on Interactive EasyFlow
Node-RED?

http://nodered.org/

← PreviousPage 2 of 2