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

You realize that Goldman has a price target of Twitter in the 30’s right. An offer then of $54.20 is nearly double that target.

comment 4y ago · link · parent

The most bizarre part of this whole saga has been the legions of online commentators who appear to be persistently outraged, say they will leave Twitter if Elon buys it. It amounts to throwing a childish temper tantrum in my book. Free speech doesn’t mean one side gets to decide what’s speech.

For years liberal billionaires have been buying traditional media (newspapers), but as soon as Elon who slightly offends their political and personality identity attempts to buy what is currently relevant media they lose their minds. Smell that hypocrisy?

comment 4y ago · link · parent

Is Amplify backed by Cloudfront under the covers?

comment 4y ago · link · parent

Great one, really savvy rebuttal and debate. You realize I wrote that on my phone right?

comment 4y ago · link · parent

So does that mean git v2.25.1 is patched? That’s what my Ubuntu 20.04 is running now.

comment 4y ago · link · parent

Will Ubuntu update to v2.35.2? My current install is using the elder v2.25.1:

  ubuntu@vpn1:$ git --version
  git version 2.25.1

  ubuntu@vpn1:$ cat /etc/os-release
  NAME="Ubuntu"
  VERSION="20.04.4 LTS (Focal Fossa)"
  ID=ubuntu
  ID_LIKE=debian
  PRETTY_NAME="Ubuntu 20.04.4 LTS"
  VERSION_ID="20.04"
  HOME_URL="https://www.ubuntu.com/"
  SUPPORT_URL="https://help.ubuntu.com/"
  BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
  PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
  VERSION_CODENAME=focal
  UBUNTU_CODENAME=focal

comment 4y ago · link · parent

> The assertion that a temporary delay in student loan repayments during a pandemic is causing inflation is particularly hilarious

Ok, you seem to be a good word smith. Let's break this down with some common sense. If you don't have to pay the monthly student loan note, that leaves more money in your pocket right? That means you're likely to go out and spend that extra money that should have been allocated for the student loan on goods and services. Hense buying goods and services leads to further inflation. Cash will only lose value, so it is better to get your shopping out of the way and stock up on things that probably won't lose value. This is fairly straightforward and common sense.

> but the unionization complaint is perhaps even more hilarious

Once again. What do union's for the most part do? Bargaining representative during negotiations related to wages and salary. What do higher wages do? Cause inflation... Fact! Businesses pass that cost onto the consumer. Once again econ 101 stuff here.

> You're also hilariously wrong about oil and energy issues; the US is still producing more oil, right now, than the average year during the Trump Administration, and is still a net exporter of energy.

This topic is a bit harder as data seems to be mixed, but I did find an article that quoted.

Higher net crude oil imports are set to make the United States a net petroleum importer this year again, as in 2021, after a historic shift of being a net petroleum exporter in 2020, the U.S. Energy Information Administration (EIA) said on Friday.

comment 4y ago · link · parent

Besides the student loan payment delay, pushing for higher wages, and unionizing, which I already cited I’ll leave a few big ones.

Starting with the first calamity. Biden’s American Rescue Plan. $1.9 trillion dollars completely unneeded, only done for political reasons. In the name of Covid, pushed through absurd welfare programs. It’s like cashing in $5 chips at the casino for $100 loses down the line.

Enacting regulation to limit US production of oil and stopping the keystone pipeline. Under Trump the united states was energy independent and also for the first time in 75 years a net exporter or oil.

Thank god Biden’s build back better plan is being held up. Another outrageous case of spending that will throw gasoline onto the raging fire. Perhaps would be the last nail in the coffin.

comment 4y ago · link · parent

Thank you. I'm glad I'm not the only one who is outraged about this. This has little if not zero to with Russia and more about the current administration's horrific economic and fiscal policies.

Just last week they extended the delay on student loan debt repayment? Why in heck? That leaves more money in people's pockets to go out and buy and spend. Let's stop with this Covid charade of outlandish government spending on programs that we don't need. In reality Covid is a prop to push through liberal fiscal policies.

Another example; the current administration pushing hard for Union's at Amazon and Tesla. Once again, rising wages is not the policy that helps reduce inflation. It's literally econ 101; "to make up for the increase in cost, companies must charge more for their goods and services to maintain the same level of profitability."

comment 4y ago · link · parent

I am absolutely clueless about heart medicine, but it seems like having monitoring of heartbeat in real-time should be able to predict potential anomalous and problems. I expect that Apple with watch will dramatically be able to save lives in the future with their products.

comment 4y ago · link · parent

Can you say what instance types are currently used for NAT gateways then? m5.large?

comment 4y ago · link · parent

I assume the hourly charge is because NAT gateways are just EC2 instances, but they should be able to deploy using t4g instances and the monthly costs should be lowered significantly.

comment 4y ago · link · parent

How about lowering the price of an essential service NAT gateway? Each NAT gateway is $33 per month (without bandwidth charges) and generally if you want to be HA you need one NAT gateway per AZ.

comment 4y ago · link · parent

Thank you for saying what nobody else on HN will say. Instead it’s just constant outrage on HN against companies. Why didn’t Krebs issue a public apology or retraction? I love Ubiquiti and have over $2k worth of UniFi equipment in my home.

This entire fiasco has hurt Ubiquiti’s brand and reputation, and in no small part Krebs is responsible for that.

comment 4y ago · link · parent

Fantastic.

comment 4y ago · link · parent

Yes, the ability to set an expiration time on a drift would be huge.

comment 4y ago · link · parent

Oh really interesting. Any good guides you know of how to implement AuthorizedKeysCommand with Redis for example?

comment 4y ago · link · parent

Am I understanding that the public keys used for authorization (authorized_keys) can come from a centralized source? Being able to add and remove authorized keys from say Redis or Consul centrally would be extremely useful from a management perspective.

Obviously, security of that Redis or Consul would have to be tight and prevent public access.

comment 4y ago · link · parent

pm2 is great when running on servers, but using pm2 in containers feels wrong and again wasteful. Just invoke your script. If it crashes, fine Kubernetes or Docker handles that. Logs, handled by k8s. Monitoring I use DataDog.

comment 4y ago · link · parent

If I exec into a container that runs npm and run top you’ll see npm (parent) using res memory and the node process (child) itself using memory. I’m pretty sure the npm memory is just wasted.

comment 4y ago · link · parent

Just invoke your script:

CMD ["/usr/local/bin/node", "server.js"]

comment 4y ago · link · parent

A very common mistake I see (though not related to image size perse) when running Node apps is to do CMD ["npm", "run", "start"]. This is first memory wasteful, as npm is running as the parent process and forking node to run the main script. Also, the bigger problem is that the npm process does not send signals down to its child thus SIGINT and SIGTERM are not passed from npm into node which means your server may not be gracefully closing connections.

803.

Ask HN: What are some fun projects to run on a home K8s cluster?

4 points · by nodesocket · 4y ago · discuss

comment 4y ago · link · parent

Microsoft SQL actually is pretty good and really performant (with my limited production use).

I would argue it’s more performant than vanilla MySQL and it supports multiple write masters using peer to peer transactional replication an enterprise license feature (https://docs.microsoft.com/en-us/sql/relational-databases/re...)

comment 4y ago · link · parent

One of the most useful for me is McFly[1] which is not listed. McFly provides a nice U/I on top of history search. Works with both bash and zsh shells. You can remove entries from your history as well all within the McFly U/I. Game changer.

[1] https://github.com/cantino/mcfly

comment 4y ago · link · parent

While I appreciated the comparison (lol’d), turns out that California condors are on the rise and nearly 25x (estimate) as many now then at the lowest point.

comment 4y ago · link · parent

Doesn’t anybody else see how the massive fist waving censorship of Russian businesses (which by the way may not endorse the war in Ukraine) is hypocritical to the entire point of the internet and free speech?

I’ve been saying it, and I’ll repeat it again. Since when did liberals lose the ideology of free thinking and speech and go on a quest of cancel everything that may not fit squarely and neatly in their world. It wreaks of elitism.

comment 4y ago · link · parent

Congratulations EU you just managed to raise the price of all household items due to regulation.

comment 4y ago · link · parent

Iran (.ir) as well.
1
262728
145