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 9y ago · link · parent

Lol, sorry I failed to put 2+2 together.

I can't imagine why you'd guys need 25,000 servers. Your G bill at a minimum must be over 5 million a month. I could be wrong, but those numbers don't add up too me.

What instance type are you running?

comment 9y ago · link · parent

Awesome, would you mind sending me an email (in profile), I'd like to pick your brain a bit further.

comment 9y ago · link · parent

I had also gotten absolutely swamped in Google Analytics with things like:

  Language:
    Secret.ɢoogle.com You are invited! Enter only with this ticket URL. Copy it. Vote for Trump!
    o-o-8-o-o.com search shell is much better than google!
    Vitaly rules google *:。゜゚・*ヽ(^ᴗ^)ノ*・゜゚。:* ¯\_(ツ)_/¯(ಠ益ಠ)(ಥ‿ಥ)(ʘ‿ʘ)ლ(ಠ_ಠლ)( ͡° ͜ʖ ͡°)ヽ(゚Д゚)ノʕ•̫͡•ʔᶘ ᵒᴥᵒᶅ(=^ ^=)oO
    Google officially recommends o-o-8-o-o.com search shell!

However, I recently applied the following account level filter and seems to have helped a ton. I can't guarantee this will 100% work, but it has certainly helped.

http://imgur.com/a/z9gSg

EDIT: Here is the regex so you can copy and paste it:

  \s[^\s]*\s|.{15,}|\.|,

comment 9y ago · link · parent

Wow, your bill must be gigantic.

comment 9y ago · link · parent

My biggest complaint about AWS is still EBS and having to guess about for the right provisioned IOPS. Throw in confusing extras like EBS optimized instances, enhanced networking. GCE just abstracts away all these details.

comment 9y ago · link · parent

Nice this is great. The original npm search was super frustrating. Typically it involved a process of searching for keywords and then opening up dozens of tabs and finding the package that solved my need, looking at GitHub stars, and verifying it was actively maintained.

comment 9y ago · link · parent

I didn't know that. TIL. :-)

comment 9y ago · link · parent

Not sure why they decided to release on Christmas eve / day, but looks good.

comment 9y ago · link · parent

I've been using:

    "theme": "Soda Dark 3.sublime-theme",
    "color_scheme": "Packages/User/Monokai (SL).tmTheme"
and generally happy. Not sure it is "modern" with the bells and whistles of the themes the post suggests though.

comment 9y ago · link · parent

Sorry dang not my intention.

> name-calling of the first bit

When did I name call though?

comment 9y ago · link · parent

Failing to make the connection you're attempting to draw...

comment 9y ago · link · parent

This is a ridiculous comment. Have you ever tried running a company? I'm certain the founders of these companies put their blood sweat and tears into their work, but unfortunately things didn't go as planned. They are probably deeply saddened and crushed about having to fire employees and made very hard decisions. Life doesn't revolve around you and your technology inconveniences.

comment 9y ago · link · parent

So you're really telling me on the high end 100% of illegal immigrants pay taxes and on the low end 68% do?

comment 9y ago · link · parent

> Because the laws are unjust

So the solution is just don't obey them? Also, I don't think the laws are unjust. The laws are there to make sure fiscally the United States has the resources and security to protect its citizens.

See how well open borders has worked for Germany. These policies have further strengthened extreme right parties in Germany which potentially will be much worse (see Germany brexit or equivalent of Trump in Germany) which is very possible.

comment 9y ago · link · parent

That can't be right. According to the Wall Street Journal [1] there is a total of 11 million illegal immigrants in the US as a whole.

[1] - http://www.wsj.com/articles/number-of-illegal-immigrants-in-...

comment 9y ago · link · parent

Thus this negative hit piece against him perhaps?

comment 9y ago · link · parent

Wait I'm confused. Are you literally upset by this? Why is enforcing the law and following policies so everybody can make a successful transition to become a US citizen a bad thing? If your illegal, and most likely your not going to pay your fair share for the entitlements and services you and others use then I have zero respect for you.

comment 9y ago · link · parent

The angel-immigrant stigma is just as biased as the evil-immigrant stigma. You make great and valid points, but you're going to downvoted to death. I however gave you an upvote. Merry Christmas.

3019.

How the Economic Machine Works by Ray Dalio(youtube.com ↗)

2 points · by nodesocket · 9y ago · discuss

comment 9y ago · link · parent

Yes, let's open US borders without any screening or perhaps more importantly any idea how to pay for entitlements and the cost of sustaining them. We're seeing how well that worked for Germany. In fact, these liberal policies have further strengthened the extreme right in Germany. Next up, after Merkel is the German brexit or Trump equivalent.

comment 9y ago · link · parent

Forty years is actually a decent timeframe in terms of capturing the market's cyclical nature.

Do you have investing experience?

comment 9y ago · link · parent

I've never tried it, but take a look at the investment strategy called the trident portfolio. It claims a consistent 11% CAGR (compound annual growth rate) for the last 40 years. Trident consists of the following:

    1/3 VBR
    1/3 GLD
    1/3 TLT
You'll have to rebalance to keep the ratios all 1/3 approximately once a year. There is a great response on Quora by Milos Baljozovic that I highly recommend related to the trident strategy.

https://www.quora.com/I-won-the-lottery-and-have-5-million-i...

Honestly, you'll probably be ok just buying a standard ETF such as SPY or QQQ (more volatile), waiting 5 to 10 years without doing anything and cash it in.

comment 9y ago · link · parent

Your right... and drive.

I actually upgraded my mid 2010 iMac to a 512GB solid state disk. Made soooooo much of a difference. Literally went from almost unuseable to back to my daily workhorse. I can't remember how much time from power-on to login screen was with the original drive, but ballpark a handful of minutes. Now with the new SSD it takes less than 10 seconds.

comment 9y ago · link · parent

I mean really the only component you're ever going to be able to upgrade is RAM right? Are you suggesting it should be possible to swap out CPUs in iMacs?

comment 9y ago · link · parent

I'd still recommend running NGINX in front of Go or Node backends. NGINX gives you the flexibility to add things like gzip, caching, static asset expires headers, load balancing, health checks, etc.

(shamless plug) In terms of the TLS, I wrote a short blog post (http://blog.commando.io/the-perfect-nginx-ssl-configuration/) on a setting up NGINX to get an A+ rating on Qualys SSL Labs. It is really only a few lines/directives.

comment 9y ago · link · parent

What is the point of this?

comment 9y ago · link · parent

This looks fantastic. Any idea if it supports custom NGINX log formats?

    log_format main '<$host> $remote_addr - $remote_user [$time_local] "$request" '
                      '$status $body_bytes_sent "$http_referer" '
                      '"$http_user_agent" "$http_x_forwarded_for"';

comment 9y ago · link · parent

Germany does not view free speech like the US does. For example, to this day anything related to Nazism is illegal. You can be arrested and fined for giving the Nazi salute. Germany likes to pick and choose their free speech now a day.

comment 9y ago · link · parent

I'm going to be going against the echo chamber here, but I traveled around Europe and South America for five months recently (digital nomad)... The common question was "...why do you think the US/Silicon Valley has the technology and opportunities that it does...". My honest answer... Less regulation and an attitude of do what it takes to be successful in the early days. The hustle.

I think people underestimate how cut-throat technology and business is, especially in the market Uber is in. Uber is doing what is takes to be successful. Ultimately you have to ask yourself, who is going to have the best and brightest minds, lawyers, and lobbyist.... Uber or the Government?

comment 9y ago · link · parent

Not surprised, Lightsail servers are just t2 burst instances rebranded.

Honestly, even using EC2 c4 (compute) or r3 (memory) instances it is hard to match the benchmarks of larger DigitalOcean droplets in terms of I/O. EBS is just really hard to get performance out of unless you use local disks and storage optimized instances.

1
100101102
145