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

Security is a huge concern for companies and largely executives who typically aren't as technical. It keeps them up at night, mainly because they can't control it and to a certain extent they don't understand a lot of the technical details and attack surfaces.

In January I founded a DevOps and infrastructure consulting startup (shameless plug https://elasticbyte.net) and security audits and best practices is one of the top "value" adds of my service. I don't claim to be a crypto expert or DevSec guru, but most of the issues aren't deeply technical problems like what CloudFlare experienced. Usually it just takes rigor and following best practices, firewall rules, don't share keys and passwords, two factor auth, use IAM, use jump hosts, if a server doesn't need public access don't provision a public address. Isolate services and dev and staging environments.

comment 9y ago · link · parent

Hoping others with intimate knowledge of investment banking and the market can also chime in, but here are my thoughts.

1.) Raise substantial additional capital for R&D, growth, new products, pay down debt, etc.

2.) Exit event. Allows founders, employees and pre-IPO investors to "cash out". Typically at nice fat returns since they get heavily discounted shares.

3.) Increased public awareness since IPO's usually have media coverage and a general frenzy.

comment 9y ago · link · parent

Hah, caught me copying from myself a bit ;-). Still my comment applies.

comment 9y ago · link · parent

While I don't believe that $SNAP financials are solid (I am bearish), I do applaud them and Mulesoft for going public.

Too often today large (well past series C) tech companies (I won't name any names) refuse to go public and instead continue to take private equity and foreign investment and prop themselves up on absurd valuations with no-checks and balances. Some of these companies are absolute dog shit, yet they continue to receive unlimited funding and insane valuations in a vacuum with no market to short them. Wall Street calls bullshit when they see it, and smart people short bad companies when they find them. Silicon Valley doesn't provide a way to short these propped-up companies, they just continue to self-promote themselves on private equity and foreign investment.

comment 9y ago · link · parent

lol. You really unloaded both barrels above

comment 9y ago · link · parent

The verge? I'd say probably want to get your financial news from Wall Street Journal, CNBC, or established trusted sources.

comment 9y ago · link · parent

I'm aware of that. I'm just pointing out that HN sentiment is not always reality.

comment 9y ago · link · parent

This won't necessarily be a popular opinion, but I remember when everyday there were negative blog posts and stories about Apple and the new MacBook Pros. It seemed like every developer got on their Medium and wrote a blistering post. It you just read the internet and HN you'd think the world at Apple was crumbling down.

Yet since $AAPL released the new MacBook Pro (Oct 27th '16), their stock is up 24%, with a breakout record Q1. Let's not forget that the entire market has been in an epic bull run since Trump took office, so perhaps that is a factor.

Source ($AAPL vs Dow Jones and S&P since Oct 27th): https://www.google.com/finance?chdnp=0&chdd=0&chds=1&chdv=0&...

Don't believe what you see on HN all the time. People here are incredibly intelligent for the most part, but there is frankly lots of disconnect from reality. In my opinion lots of conspiracy theorists, purest, and some social justice warriors pushing agendas.

My opinion... But I think we can bundle GitLab, CloudFlare, and Uber into categories of will be just fine.

comment 9y ago · link · parent

The article is very detailed and does a great job, but they don't mention DigitalOcean load balances.

Load balancers are a must have infrastructure puzzle piece these days. DO did a fantastic job on their lb offering and for $20 a month they are quite powerful (http and tcp) with configurable health checks and failover.

comment 9y ago · link · parent

I'm a complete a noob to APL (I come from web development and ops), but reading the Wikipedia there is a section that says:

The following expression finds all prime numbers from 1 to R. In both time and space, the calculation complexity is O(R^2).

    (~R∊R∘.×R)/R←1↓ιR
How? What? I feel stupid now. ;-)

comment 9y ago · link · parent

If using Stripe, Braintree, etc you should never ever be storing any financial data.

comment 9y ago · link · parent

Believe it or not this is actually very common. In fact a lot of people who integrate Stripe recommend this pattern. They recommend to never delete customers and cards in Stripe, instead just remove the subscription from the customer.

The idea is, if the customer wants to come back and reactivate service they don't have to provide billing details again.

I don't do this though. When customers cancel my startup, I delete the card and cancel the subscription in Stripe but leave the customer.

comment 9y ago · link · parent

Looks awesome. I typically use and recommend ScreenFlow[1] for mac but it is a bit expensive at $99. ffscreencast looks like a great option for quick recordings.

[1] - https://www.telestream.net/screenflow/overview.htm

comment 9y ago · link · parent

> If the race of the victim isn't Caucasian, it's obviously police brutality because of the power and authority disparity between police as an institution and people of the victim's race.

I can't tell what you are tying to say here. I hope you are not saying if the person is not white then by default it's police brutality.

comment 9y ago · link · parent

So you don't think the context switching from html form to checking email (either web or native) to clicking activation link results in drop off and bounce?

2776.

Ask HN: Signup for service via e-mail instead of html form

3 points · by nodesocket · 9y ago · 4 comments

comment 9y ago · link · parent

Thanks, I may have to reach out to Stripe directly to get an answer. My fear is that Stripe will say it depends on Visa, Mastercard, AMEX and defer to them which is not very helpful.

comment 9y ago · link · parent

Won't people just mark disputed to stories and articles they don't agree with? There should be a penalty for doing this. Perhaps remove their ability to dispute stories after two or three confirmed offenses.

Even on Hacker News where the average user is much more responsible and thoughtful, I've gotten downvoted and flagged to death for opinions/comments/links that don't fall within the echo chamber.

comment 9y ago · link · parent

Whoever that competitor is, you should publically blast them assuming you have the proof you say. I'd make it my life's work to call them out as often as possible if I were you. People who operate business like this, need to be called out and blacklisted.

comment 9y ago · link · parent

We work with Stripe exclusively, and offer credit card or ACH invoices. ACH we don't charge any fees since the maximum fee from Stripe is $5. Credit card is another story since our invoices are in the multiple of thousands (2.9% adds up).

comment 9y ago · link · parent

I think we can all agree the correct model is a card that generates a globally unique card number for each and every transaction (e.g. coin failed, final). It should also have a 2nd factor authorization like CVV which is not embedded in the magnetic strip (can't be read by swipers).

comment 9y ago · link · parent

Does anybody know if using Stripe if we can pass the 2.9% fee onto our customers? We offer customized consulting plans that vary and typically in the thousands, so thinking of just adding a 3% credit card processing fee to the invoice for clients that use card.

Researching around the net, it seems for traditional brick and mortar, some issuers don't allow you to charge a percentage based card processing fee. Any idea is this is allowed on Stripe?

comment 9y ago · link · parent

Note to self, send my future kids to St. Francis.

comment 9y ago · link · parent

So kissing at a party which was most likely consensual is now evidence? Give me a break.

You do realize that inter-company relationships and hookups happen all the time right? How is two consenting adults sexual harassment? This is still innocent until proven guilty right? Maybe not.

comment 9y ago · link · parent

This is not going to be a popular oppipion here, but when does this start being a witch hunt? Disgruntled employees sending anonymous tips to Arianna Huffington over seeing employees make out at a party. There was no evidence of misconduct, yet they printed the story and included the "incident".

comment 9y ago · link · parent

I just founded my third startup Elastic Byte (https://elasticbyte.net), which is a DevOps and infrastructure consulting company operating as SaaS (public monthly pricing plans).

Indeed culture is a big part of the DevOps puzzle besides software. This mentality shift is also a part of what we offer (training and advice). Individual ownership, moving fast, are all parts of the greater strategy. I've found the talk "You shipped it, you fix it" [1] by Ron Cohen (CTO of Opbeat) a great source of solid ideas.

https://opbeat.com/community/posts/you-shipped-it-you-fix-it...

The old model where developers hand off their code to the ops department is fundamentally a bad strategy because it leads to:

   "It worked fine in test... Ops problem now!"
There is no accountability. If your code causes problems when deployed to production, ops is the one getting a call/page in the middle of the night, and trying to fix the problem for which they have no domain experience or understanding. However, if you deploy your own code at your own pace, then there is accountability.

comment 9y ago · link · parent

Heads up a simple yet production ready NGINX location block to proxy to a public s3 bucket looks like:

    # matches /s3/*
    location ~* /s3/(.+)$ {
        set $s3_host 's3-us-west-2.amazonaws.com';
        set $s3_bucket 'somebucketname'

        proxy_http_version 1.1;
        proxy_ssl_verify on;
        proxy_ssl_session_reuse on;
        proxy_set_header Connection '';
        proxy_set_header Host $s3_host;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header Authorization '';
        proxy_hide_header x-amz-id-2;
        proxy_hide_header x-amz-request-id;
        proxy_buffering on;
        proxy_intercept_errors on;
        resolver 8.8.4.4 8.8.8.8;
        resolver_timeout 10s;
        proxy_pass https://$s3_host/$s3_bucket/$1;
    }
Adding NGINX caching on-top of this is pretty trivial.

Also, heads up, in the directive proxy_cache_path, they should consider enabling "use_temp_path". This directive instructs NGINX to write them to the same directories where they will be cached. We recommend that you set this parameter to off to avoid unnecessary copying of data between file systems. use_temp_path was introduced in NGINX version 1.7.10 and NGINX Plus R6.

    use_temp_path=off
Also, they should enable "proxy_cache_revalidate". This saves on bandwidth, because the server sends the full item only if it has been modified since the time recorded in the Last-Modified header.

    proxy_cache_revalidate on;
1
929394
145