Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nickjj
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
35 ms
·
481.
▲
by
nickjj
3y ago
I like the idea but I think competition will be pretty tough if it's positioned as a tool you'd use during a live interview. There's a number of free collaborative code sharing sites out there that don't require the cand
482.
▲
by
nickjj
3y ago
If anyone is interested in this sort of thing I started a proposal with a list of ideas and features around a Rails debug toolbar at: https://discuss.rubyonrails.org/t/proposal-a-fully-featured-... NOTE: I'm not t
483.
▲
by
nickjj
3y ago
Good to know. In my case I happened to need exactly 4 so it worked out with the default set up. I like the easy access of it, just click your clock and boom in 1 second you have instant access to these. I even ordered mine based on relative
484.
▲
by
nickjj
3y ago
I only use a Mac for work through a company laptop but one thing I recently discovered is the world clock widget which is accessed through your clock. You can show up to 4 different times besides your local time. This is really handy to see
485.
▲
by
nickjj
3y ago
For a lot of web apps, having an all-in-one solution makes sense. nginx open source does all of these things and more wonderfully: Reverse proxying web apps written in your language of choice Load balancer Rate limiting TL
486.
▲
by
nickjj
3y ago
> And Prime doesn't even mean two or one day delivery anymore, just free shipping and we'll get it to you when we get it to you. I never had Prime and shipping is about the same with the only exception that you must spend $35 o
487.
▲
by
nickjj
3y ago
I deleted the line with `sed -i "4d" sqldump`. The duplicated disk space comes from sed writing a temporary file out to the current directory, it does this in chunks as the command runs. It makes sense for sed to write a temp file
488.
▲
by
nickjj
3y ago
> Yeah those companies don't exist because they would be wasting money. Basecamp has been around for 20+ years and they publicly mention that they hire based on SF rates, not even SF but the top 10% of SF[0] for positions around the
489.
▲
by
nickjj
3y ago
> Everyone wants a SF salary with an Indiana or even India cost of living. For obvious reasons, that can't work. Why should someone living in Indiana make less money than someone living in NYC for a remote tech job? Both are located
490.
▲
by
nickjj
3y ago
That would work but what would tail do different than sed here? Both would still need to read and write the full file (minus 4 lines for tail) which without testing indicates the time would be the same.
491.
▲
by
nickjj
3y ago
This was run on an AWS gp3 SSD EBS volume with 3k IOPS. It was a CPU optimized c6i.xlarge machine. The file in question was 200 GB. I used "quite some time" because this happened months ago and I don't recall the exact time o
492.
▲
by
nickjj
3y ago
As far as I know sed will still read and write the full file, even when you do a modification on a specific line. I've target deleted 1 line with sed and it took quite some time too.
493.
▲
by
nickjj
3y ago
Once in a while things come up where you need to make a surgical edit in a really large file and it could be in a scenario where time matters. For example if you're doing a SQL dump -> import, technically you could have downtime dur
494.
▲
by
nickjj
3y ago
It's mainly to save time. I don't remember exactly how long it took but I remember it being something like 30 minutes of purely waiting for the find / replace to finish on a 4 CPU core / 8 GB of memory machine. Memory wa
495.
▲
by
nickjj
3y ago
I'd love to see a tool that lets you modify large files efficiently. I had to replace line 4 of a 200 GB SQL dump, it took a substantial amount of compute time to perform a find / replace with sed and it also required having over
496.
▲
by
nickjj
3y ago
It's too bad a number of managed Postgres services don't support UUIDv7 yet through supported extensions. DigitalOcean and AWS RDS both support the https://www.postgresql.org/docs/16/uuid-ossp.html exten
497.
▲
by
nickjj
3y ago
The same process for buying fruits and vegetables occurred before and after the ban. It really depends on how you shopped: Example 1: You buy 5 assorted fruits and vegetables types and have 5 plastic bags with you at checkout. I can't
498.
▲
by
nickjj
3y ago
New York banned plastic bags at grocery store checkouts a few years ago, at least in the area I live. I don't think it did that much because they didn't ban plastic bags in the fruit and vegetable section where you can peel bags o
499.
▲
by
nickjj
3y ago
I think there is something about optimizing for comfort. I've had a standing desk for 8 or 9 years now and I stand probably 75% of the time. When I sit, my chair is not very comfortable but also standing isn't always ideal either.
500.
▲
by
nickjj
3y ago
If a card supports tapping and you have 1 card in a thin wallet, could you tap your wallet in the same way you could tap your phone?
501.
▲
by
nickjj
3y ago
> Plus, Slack itself isn't as likely to snoop through my messages about pay raises or thinking about quitting, unlike my employer. Slack absolutely has a way to export all data (including private direct messages), it's document
502.
▲
by
nickjj
3y ago
The jobs all run curl commands to a specific API endpoint with a specific bearer token. Those tokens are loaded through an env through SealedSecrets. They all use the public curl image where I override the command in the Kubernetes cron job
503.
▲
by
nickjj
3y ago
Kubernetes cron jobs are pretty good I must say. I definitely don't come anywhere near Slack's scale but I've managed systems where over 3,000 cron jobs ran per day, half of which came from a cron job running every minute whi
504.
▲
Never Underestimate Support and Knowing Your Customer
(nickjanetakis.com)
1 points
by
nickjj
3y ago
|
0 comments
505.
▲
by
nickjj
3y ago
I know a few people who have been unemployed since July and October due to being laid off. Some of them found jobs but not others. That's 6+ months of searching. Given you're not in financial distress I would suggest spending a fe
506.
▲
by
nickjj
3y ago
That covers a massive range. "I hope someone likes my review" is not that much different than "I hope someone likes my tweet" or "I hope someone replies to my IG post" or "I hope someone replies to my HN c
507.
▲
by
nickjj
3y ago
> age restricting voting, driving, or alcohol and tobacco sales I think those things are a bit more black and white. How do you define social media? Is HN social media? You engage with others through comments, posts are ranked and it has
508.
▲
by
nickjj
3y ago
Yep, that's one of the values of the WAF, it can be associated with your ALB which means you can match rules on headers, cookies, etc. after the traffic has been decrypted.
509.
▲
by
nickjj
3y ago
If you're on AWS the AWS WAF is pretty low cost. You can expect to pay less than $10 / month and still get an ok amount of value on a decently popular site. The problem is you have to manually configure a lot, the rate limiting as
510.
▲
by
nickjj
3y ago
Hah no problem. There was just enough time after your talk for 1 more question from the audience: For my zshrc that you poked around in, is this issue related specifically to HISTFILE or all of the history related env vars?
More ›