Better HN
topnewbestaskshowjobs
Log inSign up

nodesocket

6,536 karma · joined Mar 10, 2011 (15y ago) · 4,329 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 11mo ago · link · parent

Thanks. Would love to see a tech blog post once you get Vitess implemented.

comment 11mo ago · link · parent

I assume they want to store metadata instead of having to pull from the certificates itself, but maybe that’s actually easier and more performant.

comment 11mo ago · link · parent

Would be interesting to hear what database they are using and how they are doing replication? Is it simple master / slave or multi-master?

comment 11mo ago · link · parent

When building cli and infrastructure tools and using AI my goto is go. Pardon the pun.

comment 11mo ago · link · parent

Are they updating the t class instances to t5g as well?

comment 12mo ago · link · parent

The very end of the interview where he talks about coming to America and going to school in Kentucky (very rough and poor area) was a great story that most people don't know about him.

comment 12mo ago · link · parent

I've quickly come to this conclusion. Essentially looking for offsite backup of my NAS and currently paying around $15-$20/mo to Backblaze. I thought I might be able to roll my own object store for cheaper but that was idiotic. :-)

comment 12mo ago · link · parent

Crazy this has so little upvotes. I thought it was a very good discussion with lots of interesting perspectives. I assume, the "wisdom" of the HN crowd see's Rogan and goes... Nope.

comment 12mo ago · link · parent

I would assume it's not sitting in his checking account. He hopefully has wealth advisors; earning interest, investments, tax strategies. Mitchell is super smart, so almost certainly not sitting in a checking account.

comment 12mo ago · link · parent

I'm looking at deploying SeaWeedFS but the problem is cloud block storage costs. I need 3-4TB and Vultr costs $62.50/mo for 2.5TB. DigitalOcean $300/mo for 3TB. AWS using legacy magnetic EBS storage $150/mo... GCP persistent disk standard $120/mo.

Any alternatives besides racking own servers?

*EDIT* Did a little ChatGPT and it recommended tiny t4g.micro then use EBS of type cold HDD (sc1). Not gonna be fast, but for offsite backup will probably do the trick.

comment 12mo ago · link · parent

Doesn't Chrome Developer tools automatically un-minify?

comment 12mo ago · link · parent

Shockingly I believe billionaire with a B. They timed the acquisition nearly perfect in terms of market conditions. Tres comma club!!!

comment 12mo ago · link · parent

I love Mitchell’s X post awhile back:

“What the monetization strategy of Ghostty?”

“My monetization strategy is that my bank account has 10 digits in it…” lol, epic.

comment 12mo ago · link · parent

Because the UI looks like it crafted by a Nix system admin and the user experience is garbage. Just my opinion.

comment 12mo ago · link · parent

I mean, just disable the AI bloat features in GitHub. I’ve been using GitHub since 2010 (15 years - holy shit I am old) and it’s still the best. I never understood the mass complaining, though I give GitLab credit for building a massive company and taking it public. When GitLab launched I was like, this is going to fail as a business 100%. I was wrong.

Edit: Funny enough GitLab is down 9% in pre-market and near all-time lows.

comment 12mo ago · link · parent

I also have a stutter, varies from mild to severe. I wonder if work along these lines could go into a hearing device that helps you when stuttering? Not sure techniques that have been tested, but perhaps when stuck on a sound, the air piece plays the sound drawn out or the word drawn out to help you breath and get past it.

comment 12mo ago · link · parent

That explains why my CPNG stock plummeted in the open. It’s strange, usually breach’s don’t affect the underlying companies stock price.

comment 1y ago · link · parent

What, has it been a decade of HN’ers calling for imminent demise of Tesla. Meanwhile I’ve been laughing and buying all the way to the bank. Keep on doubting.

comment 1y ago · link · parent

How does the Pi communicate with the Mini? Software stack? Zero details and useful information in this post.

comment 1y ago · link · parent

Awesome news. I actually use Raspberry Pi Imager to create bootable thumb drives for Debian and TrueNAS on MacOS. Works great.

comment 1y ago · link · parent

As the article mentions a lot of the accounts probably just using VPN services. Remember when Elon exposed the US government in cahoots with Meta and Twitter actively shadow banning people for free speech on legitimate topics such as covid, covid vaccines, masks, and the woke agenda?

comment 1y ago · link · parent

I am fascinated with 3D/Gaming programming and watch a few YouTubers stream while they build games[1]. Honestly, it feels insanely more complicated than my wheelhouse of webapps and DevOps. As soon as you dive in, pixel shaders, compute shaders, geometry, linear algebra, partial differential equations (PDE). Brain meld.

[1] https://www.youtube.com/@tokyospliff

comment 1y ago · link · parent

I looked at using fck-nat, but decided it was honestly easier to build my own Debian Trixie packer images. See my comment below[1]. How has your experience been with fck-nat?

[1] https://news.ycombinator.com/item?id=46010302

comment 1y ago · link · parent

I believe the NAT instances also use super old and end-of-life Amazon Linux. I prefer Debian Trixie with Packer and EC2 instances and no EIP. Most secure, performant, and cost effective setup possible.

> NAT AMI is built on the last version of the Amazon Linux AMI, 2018.03, which reached the end of standard support on December 31, 2020 and end of maintenance support on December 31, 2023.

comment 1y ago · link · parent

Sure that one’s case, though you might be able to give out a host instead of IP to others to whitelist. Then you just set a low TTL and update the DNS record.

comment 1y ago · link · parent

Unfortunately ETRADE for example does not make exporting all transaction easy. Last time I looked at their API it involved manually authing via a http flow signing into your ETRADE account to get a temporary token that expires. Not exactly a flow that can be used for long polling account activity.

I haven't researched much on Robinhood or Coinbase but I suspect they have much better APIs. That's an idea where a plugin system would be awesome, something like Plaid but for brokerages and Crypto exchanges only.

comment 1y ago · link · parent

I build my own NAT instances from Debian Trixie with Packer on AWS. AWS built-in NAT Gateways use an absurdly outdated and end-of-life version of Amazon Linux and are ridiculously expensive (especially traffic).

The bash configuration is literally a few lines:

    cat <<'EOF' | sudo tee /etc/sysctl.d/99-ip-forwarding.conf > /dev/null
    net.ipv4.ip_forward=1
    EOF

    sudo sysctl --system

    sudo iptables -t nat -A POSTROUTING -o ens5 -j MASQUERADE
    sudo iptables -F FORWARD
    sudo iptables -A FORWARD -i ens5 -m state --state RELATED,ESTABLISHED -j ACCEPT
    sudo iptables -A FORWARD -o ens5 -j ACCEPT
    sudo iptables-save | sudo tee /etc/iptables/rules.v4 > /dev/null
Change ens5 with your instance network interface name. Also, VERY IMPORTANT you must set source_dest_check = false on the EC2 NAT instances.

Also, don’t assign a EIP to your EC2 NAT instances (unless you absolutely must persist a given public IP) as that counterintuitively routes through public traffic. Just use a auto-assigned public IP (no EIP).

  NAT instance with EIP
    - AWS routes it through the public AWS network infrastructure (hairpinning).
    - You get charged $0.01/GB regional data transfer, even if in the same AZ.

comment 1y ago · link · parent

While obvious, a huge performance improvement bump can had using cachetools on functions. Cachetools is much more feature rich than lru_cache with support for TTL.
1
678
145