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

Any change that dcron could manage the job scripts itself? I.E. you store the raw command scripts in dcon, then reference them in the create a job endpoint?

For example:

    POST /scripts --data 'node /home/node/myJob.js'
        
That returns a script id { "script_id": "507f1f77bcf86cd799439011" }

Then:

    POST /jobs --data '{
       "name":"cron_job",
       "schedule":"@every 2s",
       "script": "507f1f77bcf86cd799439011",
       "owner":"foo",
       "owner_email":"foo@bar.com"
    }'
This way you don't have to manage/create the scripts on each node manually.

comment 11y ago · link · parent

How do I define jobs? Can they be written in any language? I didn't see anything in the documentation.

comment 11y ago · link · parent

I like the approach that Google cloud takes with projects. Projects are independent and isolated under a single account.

comment 11y ago · link · parent

I think there should a distinction made between consumer startups and b2b.

If you are a database or developer tools company, .io actually makes more sense. .io is the standard, and it has become de facto.

However, if your startup is a food rating service, or Uber for X, you gotta have the .com.

comment 11y ago · link · parent

Wow reset token blank worked. How in the world could their backend not check for an empty token, or even how is this validating true against the value in the database?

3546.

Ask HN: How to store and fetch secrets (Keywhiz vs.Vault)

9 points · by nodesocket · 11y ago · discuss

comment 11y ago · link · parent

Best thing for nginx is do an include in each server {} block.

    # /etc/nginx/deny-dot-files.conf
    location ~ /\. {
       access_log off;
       log_not_found off;
       deny all;
    }

    server {
        include /etc/nginx/deny-dot-files.conf;
    }

comment 11y ago · link · parent

In nginx, best to just not serve dot files:

    location ~ /\. {
        deny all;
        access_log off;
        log_not_found off;
    }

comment 11y ago · link · parent

This is in the Java client, not core.

comment 11y ago · link · parent

Here is an awesome graph of their bandwidth:

http://www.sfmix.org/services/statistics

And a who's who of SF startups that participate:

http://www.sfmix.org/participants

3551.

The San Francisco internet exchange (peer) has a website(sfmix.org ↗)

2 points · by nodesocket · 11y ago · 1 comment

comment 11y ago · link · parent

I honestly blame DigitalOcean a bit for not providing a VPC and/or a centralized firewall. It is tedious to configure iptables rules on each server and easy to overlook and make mistakes.

Furthermore, it should be the job of the firewall to limit access to server interfaces/ports, not the services inside of servers. Binding on 0.0.0.0 seems perfectly acceptable, especially for cluster/distributed services that talk amoung themselves.

3553.

Ask HN: What happened to hnwatcher.com?

5 points · by nodesocket · 11y ago · 2 comments

comment 11y ago · link · parent

Golden parachutes, they don't just exist in finance.

comment 11y ago · link · parent

I literally just had my place cleaned yesterday by HomeJoy. I have a small studio apartment in SF, and it cost $110 total. While it was expensive, the cleaner actually did a really great job, though it was a bit difficult communicating (she is Chineese, and not fluent in English).

I honestly never saw this coming, as I assumed HomeJoy was doing awesome. It will be interesting to see how Exec/Handy handle things moving forward.

The startup game is tough!

comment 11y ago · link · parent

@cofeemug, can you describe a typical HA deployments? Are 3 nodes required to start? If you want to shard across 3 nodes, but also sustain a 1 node failure, how many nodes are required? Finally, how about shard across 3 nodes, but sustain a two node failure?

comment 11y ago · link · parent

The craziest thing, is this stuff happens all the time. People are 'gaming' the market, naked shorting, front-running, insider trading, the SEC has no chance. You have to imagine the guys who built this fake site dropped some cash having it done. Just imagine how much money they made when TWTR shot up (http://i.imgur.com/AXYEebF.jpg).

comment 11y ago · link · parent

Hate to burst your bubble, but the SEC is probably one of the most under funded government organizations there is. They are going against billion dollar companies and individuals, and honestly are sort of a joke.

3559.

Ask HN: Could browsers support parsing LESS and Sass natively?

1 points · by nodesocket · 11y ago · 1 comment

comment 11y ago · link · parent

Awesome job. One addition that would be cool is adding the current speed for each probe.

comment 11y ago · link · parent

I like to fantasize about alien life playing the gold record and hearing Chuck Berry's classic, Johnny B. Goode. That guitar riff is so great.

comment 11y ago · link · parent

Interesting idea with the front/back seating, but honestly I can't image it actually drives well at all. The front with the pushed out wheels is super fugly as well.

comment 11y ago · link · parent

Wait, it was making 6K a month and they sold it for 30K? That is crazy low.

3564.

Musk: PayPal spent 60-70M on their referral program just after launching [video](youtube.com ↗)

4 points · by nodesocket · 11y ago · discuss

comment 11y ago · link · parent

I know about OpenResty, but I am getting a blank page? Can't even open Chrome developer tools on it. Very strange. Works fine in Safari and Firefox.

comment 11y ago · link · parent

Really interesting case study on running a super "enterprisey" company. Cray was laser focused on the super computer market. They allocated dedicated software and hardware engineers for every super computer they sold. It was interesting to hear the CEO talk and reason why they decided not to break into the mini-super computer market (lower cost and performance).

comment 11y ago · link · parent

What in the hell did I just click?

comment 11y ago · link · parent

Seems like a small amount to raise from a heavyweight VC like Khosla and super angel Ashton Kutcher. I would imagine trying to compete against GitHub and GitHub enterprise would be a capital intensive thing.

comment 11y ago · link · parent

Very nice work, but Microsoft did a pretty good job with their RDP clients, and making them for OS X and of course Windows. I'm not sure what the draw is for a web-based RDP client.
1
118119120
145