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

A bit surprised, I just got back from South Korea, and Instagram is beyond huge there. I thought American's spent a lot of time on their phones, until I spent a month in South Korea.

comment 7y ago · link · parent

I just got back from a month in Seoul, and was very surprised when I heard that Samsung makes men's suits there. But, come on... Apple, Google, Facebook, Twitter, Tesla, SpaceX, Intel, AMD, Amazon, the US list goes on. Also as somebody that has visited both Sweden and South Korea for extended periods, they both are very pro-America and have an appetite for American consumerism and anything American made.

comment 7y ago · link · parent

Ignore all the comments telling you to switch to static content generation, that's generally a large time endeavour and for a blog that is getting 50k uniques a month should be pretty easy to serve all requests with a little CloudFlare tuning.

First, let CloudFlare do 99% of the work. Don't worry about optimizing the linux box, PHP, MySQL, PHP Opcode Cache, WP-Cache at first.

First, let's check that CloudFlare is caching and serving all static assets such as js, css, images, .xml, .ico. I don't see a cache-control header being returned on js, css, images, etc. Make sure this is setup in CloudFlare with Caching Level => Standard and Browser Cache Control => 1 month. Also, consider enabling Auto Minify => Javascript and CSS. Finally enable Brotli and make sure HTTP/2 is enabled under network.

Now, here is where you can really make things fly. It is possible to have CloudFlare cache the result of generated html pages, so requests don't even hit your shared hosting provider. This is done with Page Rules. The trick is going to be crafting a rule that you can match posts and posts only. With my site, I leave .html extension on my files, so my rule is simply:

https://imgur.com/a/4iNpB4V

Your challenge will be creating a matching rule while excluding admin backend pages. Also, most certainly you probably going to want a much lower cache time than 8 hours. My site content does not change often. Perhaps something like 30 or 60 minutes to start.

Good luck, let me know any questions, my contact info is in my profile.

comment 7y ago · link · parent

Down 4% in after hours, on miss on revenue and probably exaggerated valuation.

comment 7y ago · link · parent

Just continues to show, privacy issues don't matter to companies because it doesn't affect profitability and the stock price. Even with barrage of constant #deletefb and "I deleted my facebook" posts, it didn't actually matter. Essentially no change to daily active users and advertising revenue.

comment 7y ago · link · parent

While it's not going to a be a popular oppinion, I do have first hand knowledge and experience and agree. As somebody who lived in SF for over five years, the last couple of years especially there is a palatable distain for Americanism and patriotism at bay area companies. I'd even go as far as some people are flat out anti-American. There is an anti-authority ideology that permeates everything and a persistent skepticism.

comment 7y ago · link · parent

Interesting, I am self-employed and use TurboTax self-employed together with QuickBooks Self-Employed. While it does take a lot of time and energy to complete the process, I have not had any problems in terms of underpaying and getting notifications from the IRS.

comment 7y ago · link · parent

Making taxes easier is something both sides of the aisle politically should agree on. Doing taxes, especially being a small business owner is way too complicated. While the Tax Cuts and Jobs Act of 2017 did make improvements, especially for standard W2 employees, my taxes for 2018 are still going to take me days to aggregate, complete, and file.

comment 7y ago · link · parent

Nasa.gov[1] and justice.gov[2] resolving and have valid TLS certificates for me.

> In the end, nothing good will come out of this shutdown.

Some people believe increasing border security and funding to reduce crime, reduce sex trafficking, and better protect border agents and law enforcement as good.

  [1] https://www.ssllabs.com/ssltest/analyze.html?d=nasa.gov&latest
  [2] http://ssllabs.com/ssltest/analyze.html?d=justice.gov&latest

comment 7y ago · link · parent

AWS ACM is great, and they handle auto renewal for you as well. LetsEncrypt is fantastic, but there are other options.

comment 7y ago · link · parent

Looks great, but I prefer to use native Cisco IPSec[1] so I don't have to install 3rd party applications. Works out of the box with macOS, iOS, and Android. Non-technical users can follow a tutorial and setup on their devices. It does lack some nice-to-haves such as two-factor authentication though.

[1] https://github.com/hwdsl2/setup-ipsec-vpn

comment 7y ago · link · parent

I'm waiting to add more to my Apple position, once I see some positive signs.

comment 7y ago · link · parent

Seriously, bears eventually gonna be right. While I agree the stock market is certainly in bear territory, the US economy is nowhere near a recession. Furthermore if the US and China come to a agreement on trade, the fed raises Wednesday, but holds off the first three quarters of 2019, I wouldn't be surprised to see us back at early October numbers. This entire selling frenzy the last one and half months has been way overdone.

comment 7y ago · link · parent

Interesting. "We can turn a women into a man... But it's almost impossible to turn a man into a women."

comment 7y ago · link · parent

I've been playing with the Alpaca streaming API's in Node to get quotes. I have it working, the next step is figure out a trading algorithm.

I am a pretty traditional long term investor, $AAPL, Berkshire, Bank of America, Ford, Amazon, AMD, $SPY, with 10+ years in the market. However with the crazy volatility, I have been toying with the idea of buying ProShares UltraPro Short $SQQQ to hedge my losses on big pre-market open down days. Today for example would have been a good day to own $SQQQ for the day (up 7.3%). Any insight on how to go about this hedge strategy using Alpaca? Can I get pre-market quotes for the Nasdaq?

comment 7y ago · link · parent

Capital One 360 money market offers 2% (balances over $10,000) and is FDIC insured. They are offering the following promos as well which make them the best offer in my opinion.

  $1,000 bonus on $150,000 deposit or more
  $200 bonus on $10,000 - $149,999 deposit
See https://www.capitalone.com/value2018/. You have to use the promo code VALUE2018 and read the fine print.

comment 7y ago · link · parent

I have a money market account at Capital One that earns 2% and is FDIC. Staying there.

comment 7y ago · link · parent

Developer experience on GCP is vastly superior to AWS.

- Pricing on GCP is much easier, no need to purchase reserved instances, figure out all the details and buried AWS billing rules. Run your GCP instances and automatically get discounts. AWS reserved instances requires knowing your instance types, knowing that you can purchase the smallest type of an instance class and combine, knowing that you can only purchase 20 reserved instances per zone/per region in an account. So many gotchas.

- GCP projects by default span all regions. It is much easier if you run multiple regions, all services can communicate with all regions. Multi-region in AWS is sort of a nightmare, setting up VPC peering, can't reference security groups across regions, etc..

- Custom machine types. With GCE, you simply select the number of cores you need and memory. No trying to decipher the crazy amount of AWS instance types T2, T3, M5, M5a, R5, R5a, C5, C5n, I3...

- Instance attached block storage is easier to grok and in my experience is much faster than EBS. The bigger the disk on GCE, the more IOPS. No provisioned IOPS madness.

comment 7y ago · link · parent

Their FAQ states no caps, though it can vary depending on what the fed does with rates.

With the current 2 year treasury being 2.76%, they must making money on fees. I am seriously considering moving my savings from a Capital One money market account that earns 2% to this that earns 3%. That extra percent is decently significant.

comment 7y ago · link · parent

MSFT keeps on surprising me, since nearly everybody I've talked with who's on or tried Azure says it is a complete dumpster fire. The acquisition of GitHub was super smart though, and I am willing to bet as we look back it be hailed as a great move.

1611.

Freelance hackers can get paid $500,000 a year to test defenses of companies(cnbc.com ↗)

1 points · by nodesocket · 7y ago · discuss

comment 7y ago · link · parent

Do we have confirmation this was indeed at the same time? A comment below seems to indicate this truck was there previously.

comment 7y ago · link · parent

I think it's fair to acknowledge there is a non-trivial amount of users from China on HN, with their own agenda. Just as I am American, and pro-America, I am sure they are pro-China.

With that said, China has a history of bad behavior, especially with regards to cyber-warfare against US companies.

comment 7y ago · link · parent

YouTube including YouTube TV recently went down for hours.
1
535455
145