Better HN
topnewbestaskshowjobs
Log inSign up

ekke

37 karma · joined Aug 13, 2013 (13y ago) · 16 submissions

maybe.
Submissions

comment 8y ago · link · parent

  (1.005).toFixed(2) // Expected rounding to "1.01"
  "1.00"

comment 8y ago · link · parent

Hm, re: "ads are everywhere" - is it just me, or are two of the three sample posts in the screenshot content-based ads?

First for the novel Cibola Burn, and third for the app Halide.. the middle post seemingly is a reply to an ad of some book series as well :) Or "influencer" paid content != ads?

comment 8y ago · link · parent

This is fascinating. For anyone interested in a slightly odd but unique and in-depth view of Systems design and failure, would like to recommend "The Systems Bible: The Beginner's Guide to Systems Large and Small" by John Gall.

https://www.amazon.com/Systems-Bible-Beginners-Guide-Large/d...

4.

Braintease HN: Taller people have more uncles

1 points · by ekke · 8y ago · discuss

comment 8y ago · link · parent

In that section, would like to add recommendations for:

- "Being Geek: The Software Developer's Career Handbook" https://www.amazon.com/Being-Geek-Software-Developers-Handbo...

- "Team Geek: A Software Developer's Guide to Working Well with Others" http://shop.oreilly.com/product/0636920018025.do -- Software engineering teamwork a-b-c. I'd love to work on teams where everyone has read this one.

[edit: 2nd edition of "Team Geek" is titled "Debugging Teams"; having read both, no difference which you get]

comment 8y ago · link · parent

This is HN after all - some version of ES/JS:

  class Eel {
      valueOf () { 
          return 'https://imgflip.com/meme/Bad-Joke-Eel';
      }
  }

  const craftCapacity = 331,
        hovercraft = Array.from(Array(craftCapacity), () => new Eel);

comment 8y ago · link · parent

Sure, and at least few more people :)

comment 8y ago · link · parent

NPM guys explain it in the blog today: https://news.ycombinator.com/item?id=16975025

comment 8y ago · link · parent

And NPM took it down quickly, whew.

10.

Backdoor injected to NPM express-cookies package

58 points · by ekke · 8y ago · 15 comments

comment 10y ago · link · parent

Good one!

A naive strategy where they never die, and hopefully stay in prison for slightly less than a few billion years:

One prisoner is the light-counter (Mr C). Others follow a simple pattern - if the light is off, and they have never turned it on yet, turn it on. If it is already on, or they have already ever turned it on, do nothing.

Mr C enters the room, if the light is on, remembers it, and turns it off.

When Mr C has entered the room 99 times with light on, he can say 'Yes' and they are safe.

This can be optimized. How?

comment 10y ago · link · parent

Nice photo caption fail: "Minecraft is developed by Swedish company Mojang. Will future games be developed now that Microsoft is closing its borders?"

In the light of: https://mojang.com/2014/09/yes-were-being-bought-by-microsof...

comment 12y ago · link · parent

Got hooked and to 3202, but ca 10-20 more points could be gained according to answers here and there: https://gist.github.com/jonathanmorley/8058871

Kudos to the author of the game, good job.

PS. http://regexcrossword.com/

comment 12y ago · link · parent

390:

  ^[lwp]|fa|r[ro]|[isytd]l|c$|de

comment 12y ago · link · parent

Nice, turn it around for 199:

  ^.{5}[^e]?$

comment 13y ago · link · parent

Why not? Because it changes the meaning of '.':

  ~$ echo date > d.sh
  ~$ d.sh
  -bash: d.sh: command not found
  ~$ . d.sh
  06:37:21 EDT 2013
  ~$ alias .='cd ../'
  ~$ . d.sh
  /home$ Is not works!
But another alias with no previous meaning would do well - i use 'up' :)