Better HN
topnewbestaskshowjobs
Log inSign up

nodesocket

6,537 karma · joined Mar 10, 2011 (15y ago) · 4,332 submissions

Building a trading journal that helps investors log, tag, and review their trades and market insights with clarity. https://marketdiary.io

HN'er since 2011 when PG responded and was active.

Other companies: NodeSocket, Commando.io, Elastic Byte.

Living in Nashville, Tennessee. Charlie Munger "there are three ways to go broke... liquor, ladies and leverage."

  - GitHub: https://github.com/nodesocket
  - justin [at] HN-USERNAME {dot} com
Submissions

comment 11y ago · link · parent

Not entirely sure if browsers require "use strict;", but io.js (node) does.

3572.

Chrome showing an SSL security alert for Hacker News (weak cipher SHA-1)(security.stackexchange.com ↗)

2 points · by nodesocket · 11y ago · discuss

comment 11y ago · link · parent

I was just talking to my friend who works at NetFlix on the frontend team about ES6, he is most excited about destructuring `let { name, age, gender } = user;`. I however advocate that the new class syntax is the best part of ES6. Take the following trivial OOP example, which I think reads so much easier a lot like PHP.

    "use strict";

    class Vehicle {
        constructor(name) {
            this.kind = 'Vehicle';
            this.name = name;
        }

        printName() {
            console.log(this.name);
        }
    }

    class Car extends Vehicle {
        constructor(name) {
            super(name); //call the parent method with super
            this.kind = 'Car';
        }
    }

    let myCar = new Vehicle('Mercedes');
    console.log(myCar);

comment 11y ago · link · parent

1 GB/s for $109 a month, so amazing. The crazy thing is nearly all WiFi can't even burst close to 1 GB/s, so to fully utilize the pipe, you'll need to hard-wire in.

comment 11y ago · link · parent

Completely agree. The most useful advisors I've had in business and startups, always find the perfect analogy for a situation or problem, and break it down. Paul has this amazing ability.

comment 11y ago · link · parent

I would remove varnish and use nginx anyday. Varnish config makes baby jesus cry.

comment 11y ago · link · parent

Very nice work, but not sure that I'm onboard with switching `var` to `const | let`. Is the only difference between `var` and `let` scoping?

comment 11y ago · link · parent

I have to argue with your point a bit. I actually prefer RHEL (CentOS) and if given a choice, I still run CentOS. It is what I started with, and now am most familiar with, but agree the package versions are super old and outdated. I do like yum more than apt, but probably again because it is was I'm most familiar with.

comment 11y ago · link · parent

Does Disque support recurring jobs, like queue this task, and run it once every 4 hours. I know Antirez mentioned there is a delay property in the video.

Also will there be support for absolute scheduling like, run once at 4:30:00am today.

comment 11y ago · link · parent

I just tried on my MacBook pro on another network, and don't see the warning now. I'll need to go back to my iMac and find the certificate chain.

comment 11y ago · link · parent

See screenshot: http://i.imgur.com/m5sVoPf.png

comment 11y ago · link · parent

Hackernews is one of them. I'm showing broken https in Chrome (43.0.2357.130).

"This site uses a weak security configuration (SHA-1 signatures), so your connection may not be private."

comment 11y ago · link · parent

I can't understand how Postmates is so big. I've tried them twice. Both times the food took over 1.5 hours to be delivered and was cold.

Just order pizza or Chinese.

comment 11y ago · link · parent

Is ipv4 depletion an issue for the big cloud providers (Amazon , Google, DigitalOcean, Rackspace)? How many ips do they have left?

comment 11y ago · link · parent

Good god, 4 million log requests per second. 400 TB a day (compressed) if they stored the logs.

I recently setup a fun project using a RethinkDB cluster and Node.js express middleware[1] that logs all requests to RethinkDB in JSON. I did some load testing and sustained 1,400 writes per second, and was quite happy thinking this would scale up very larger. However, not 4 million write per second large. :-)

[1] https://github.com/commando/express-rethinkdb-logger

comment 11y ago · link · parent

Bravo for the amazingly detailed writeup. I know how long these things can take, and give kudos to the author.

comment 11y ago · link · parent

A perfect illustration of the "entitled developer complex". Failure to properly research Slack, a bad use-case, complain about pricing, then publicly bash.

I've seen this repeatedly with my own startup (https://commando.io), and honestly this user profile is the worst. They won't pay, or will pay very little, and expect the most. They complain about the underlying codebase and stack (PHP), and fail to solve actual problems. They get stuck on details that don't matter.

3588.

Redis is easy. Redis is trivial. Redis is HARD(blog.commando.io ↗)

5 points · by nodesocket · 11y ago · discuss

comment 11y ago · link · parent

I disagree wholeheartedly. You're only one person! Put your effort and talents into the single job you really want to be working on at that moment. Stop trying to optimize for the most money... Optimize for happiness.

comment 11y ago · link · parent

Hopefully this puts an end to this nonsense. Seems like she was passed up for promotion because she was not the best candidate, let's all move on. Honestly isn't she the CEO of reddit? It seems like she should be focusing her energy on that, and building value, instead of trying to extract money from KP.

comment 11y ago · link · parent

Both David Stern (previous) and Adam Silver of the NBA support sports gambling. If all major sports (NFL, MLB, NCAA) can get behind it, perhaps legislation can get pushed through. Once that happens, it will be another "space race" to build the first legal US based sportsbook.

3592.

Online sportsbooks; a security and fraud nightmare(justink.svbtle.com ↗)

1 points · by nodesocket · 11y ago · discuss

comment 11y ago · link · parent

I would love to do a sportsbook startup, take it legit. If only the US would change its antiquated laws, it could revolutionize the industry and prevent the rampant fraud and shady business practices of current international online sportsbooks.

I wrote a blog post on this topic as well:

Online sportsbooks... A security and fraud nightmare. http://justink.svbtle.com/online-sports-books-a-security-nig...

comment 11y ago · link · parent

Seems like an easy and logical fix for browsers.

   function fetchFavIcon() {
       if (favicon.fileSize > 1MB) { return false; }

       ...
   }

comment 11y ago · link · parent

The discount is only downside protection, it does not change the odds. The changes that mattered were playing with a hand-shuffled six-deck shoe and the right to split and double down on up to four hands at once; and double a "soft 17". These changes essentially made the game 50/50. Still, an incredible amount of luck, though he was playing $100,000 a hand, so when you have an amazing split, split, double, double hand it adds up. The key factor here was once he was up, he basically could keep going, because statistically odds were even.
1
119120121
145