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

Our nginx configurations use:

    sendfile on;
    tcp_nopush on;
    tcp_nodelay off;
With tcp_nodelay off. Is the author suggesting we turn it on?

3692.

The perfect SSL Nginx configuration(blog.commando.io ↗)

3 points · by nodesocket · 11y ago · discuss

comment 11y ago · link · parent

We generate ids using the following:

   $id = Functions::generate_random(5) . uniqid() . Functions::generate_random(3);
`uniqid()` ensures each id is unique (somewhat), and the random paddings of 5 and 3 characters make the ids harder to guess and unpredictable.

3694.

The “mathemagician” Arthur Benjamin(youtube.com ↗)

1 points · by nodesocket · 11y ago · discuss

3695.

China… We need to talk(justink.svbtle.com ↗)

3 points · by nodesocket · 11y ago · discuss

comment 11y ago · link · parent

Honestly this upsets me. They are wasting power without any regard to energy, the entire place is a massive electrical fire just waiting to happen, and the workers are like slaves. Did you see the "resting" bed, it was filthy. Not to mention, all the wasted computer parts and power supplies they just throw away. It is any wonder why China's air quality is so poor. This is a zero sum game for them, but the quality of life in China is so poor it is sustainable.

3697.

Inside a massive Chinese Bitcoin mine [video](youtube.com ↗)

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

comment 11y ago · link · parent

Why doesn't the IRS issue pin codes to every registered social security number or entity? They don't even have to mail the pins. A simple web portal, where you log in, enter your SSN or EIN and it sends the pin via SMS or e-mail. Pins reset every year.

comment 11y ago · link · parent

I have to imagine their software testing processes are absolutely ridiculous and touch every possible permutation of the code.

comment 11y ago · link · parent

Way to go Enterprise, you are going to successfully destroy the most valuable and useful service of your business. I'm guessing suits at the top of Enterprise, without much technology insight pushed for this.

Zimride is huge, especially with college kids. Simply just take 10% of the transactions, or charge a flat fee per ride. I've used Zimride 5 or 6 times, and honestly it was amazing and a great community.

3701.

Zimride shutting down carpool service to the general public(zimride.com ↗)

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

comment 11y ago · link · parent

When your credit card expires, the CVC code is re-generated and changes. I assume that does not matter for Stripe, as CVC is only checked at the initial tokenization not re-charges.

comment 11y ago · link · parent

What is this magic doing?

   $(cd "${0%/*}")

comment 11y ago · link · parent

And any support planned for the red-headed stepchild php?

comment 11y ago · link · parent

Really cool, instead of polling for changes, RethinkDB will push. The best part, you simply add .changes() to your query and it just magically works. Curious though how the clients work? Do they just block waiting for data?

3706.

Patterns web framework by MailChimp(ux.mailchimp.com ↗)

1 points · by nodesocket · 11y ago · discuss

comment 11y ago · link · parent

"Peak CPU utilization dropped from about 70% to 12%, almost a 6x improvement."

That is substantial, and HHVM should bear to rest some of the claims (trolls) that PHP is not performant.

comment 11y ago · link · parent

Interesting, huge companies seem to only use the current year:

   © 2014 GitHub, Inc.
   © 2014 DigitalOcean ™ Inc.
   © 2014, Amazon Web Services, Inc. or its affiliates. All rights reserved.
   Facebook © 2014
   Copyright © 2014 Tesla Motors, Inc. All rights reserved.
We leads me to believe it does not matter.

comment 11y ago · link · parent

What format does everybody use in their footer? We use:

   © 2014 NodeSocket, LLC.
Is providing all the years in business standard practice?

   © 2012-2014 NodeSocket, LLC.

comment 11y ago · link · parent

Setup an origin box (or a few and use a load balancer) running nginx. Then use a CDN (we love MaxCDN) to pull from the origin. Make sure you setup the cache headers right in nginx. Something like:

  location ~* \.(?:ico|js|css|gif|jpe?g|png|xml)$ {
    expires 30d;
    add_header Pragma public;
    add_header Cache-Control "public, must-revalidate, proxy-revalidate";
  }

comment 11y ago · link · parent

Awesome, thanks for this.

comment 11y ago · link · parent

Nice job for releasing this. However, seems hard to compete with pingdom, who have exponentially more features and integrations and are relatively inexpensive. Kuddos on shipping!

comment 11y ago · link · parent

Creator of Dogpatch here. Let me know any questions or feedback you may have.

3714.

Dogpatch: HTTP API testing framework, written in PHP using curl(github.com ↗)

40 points · by nodesocket · 11y ago · 10 comments

comment 11y ago · link · parent

I am running OSX Yosemite.

    ➜  ~  git --version
    git version 1.9.3 (Apple Git-50)
When I navigate to http://git-scm.com/download/mac it downloads 2.0.1 which was released on 6/29/14. How can I upgrade to 1.9.5?

comment 11y ago · link · parent

Your comments are exactly what peeve me about developer entitlement and ego's. I'd be curious if you've ever tried to run a business?

Jarvys.io just launched, and their marketing site is geared toward features/benefits and not bogged down with technical details. In fact, a landing page that answers all your questions would be poor and missing the point of marketing. When dropbox launched did they go into the technical details of how it worked?

   "...a strong feeling you are not qualified to run a service like this".
That really rubs me the wrong way. What do you know? Perhaps their development skills may not be the best, but if you look around at successful startups, usually the founders have a more rounded skill set other than being a pure hacker. They are designers, they are leaders, they hustle...

comment 11y ago · link · parent

Is it me, or does this feel like a witch hunt? What specific laws did or does Uber break? Does the city really believe that taxi's are more ethical that Uber or Lyft?

comment 11y ago · link · parent

The number one reason PHP is liked and adopted so much for the web is there is no state. Each and every request starts fresh, which reduces a lot of complexity and the barrier to entry. Also, the fact that it is in itself a templating engine, makes it faster to produce apps.

comment 12y ago · link · parent

Begin rant:

I'm going to be the one who says it. I am frankly tired of the sense of developer entitlement. We get so much amazing and great work from people, yet it never seems to be enough for some. They bitch about semantic details, style choices, lack of support, and yet refuse to pay for quality services. Instead, they cockily spout "...why would I pay for that when I can just code it myself?"

I think this mentality is what separates these sort of developers from entrepreneurs. Entrepreneurs will pay for services happily that make their lives and business easier and improved, while entitled developers will just "hate" on the technical merits or "poo poo" the language, framework, or design decisions.

On to the OPs question, no you don't have a responsibility to maintain anything you give away to the community.

1
123124125
145