skysight-inc/HackerNews huggingface dataset:
more examples (from https://softpanorama.org/Scripting/Perlorama/One-liners/tom_...)

# add first and penultimate columns
perl -lane 'print $F[0] + $F[-2]'

# print just lines 15 to 17
perl -ne 'print if 15 .. 17' *.pod

# in-place edit of *.c files changing all foo to bar
perl -p -i.bak -e 's/\bfoo\b/bar/g' *.c

# command-line that prints the first 50 lines (cheaply)
perl -pe 'exit if $. > 50' f1 f2 f3 ...

# delete first 10 lines
perl -i.old -ne 'print unless 1 .. 10' foo.txt

# change all the isolated oldvar occurrences to newvar
perl -i.old -pe 's{\boldvar\b}{newvar}g' *.[chy]

# command-line that reverses the whole file by lines
perl -e 'print reverse <>' file1 file2 file3 ....

# find palindromes
perl -lne 'print if $_ eq reverse' /usr/dict/words

# command-line that reverse all the bytes in a file
perl -0777e 'print scalar reverse <>' f1 f2 f3 ...

# command-line that reverses the whole file by paragraphs
perl -00 -e 'print reverse <>' file1 file2 file3 ....

# increment all numbers found in these files
perl i.tiny -pe 's/(\d+)/ 1 + $1 /ge' file1 file2 ....

# command-line that shows each line with its characters backwards
perl -nle 'print scalar reverse $_' file1 file2 file3 ....

# delete all but lines between START and END
perl -i.old -ne 'print unless /^START$/ .. /^END$/' foo.txt

# binary edit (careful!)
perl -i.bak -pe 's/Mozilla/Slopoke/g' /usr/local/bin/netscape

# look for dup words
perl -0777 -ne 'print "$.: doubled $_\n" while /\b(\w+)\b\s+\b\1\b/gi'

# command-line that prints the last 50 lines (expensively)
perl -e 'lines = <>; print @@lines[ $#lines .. $#lines-50' f1 f2 f3 ...
This has not been my experience.

I've migrated my customer's workloads over to neon's managed postrgres and it's been consistent and reliable for the use case.

I have nightly backups pushed to Cloudflare R2 triggered by a GitHub action for disaster recovery but, to date, I haven't had to touch those.
Normal adults can care about more than one thing at a time and it is not mandatory or necessary to talk about every problem every time.

Why aren't you screaming about the various genocides and wars? Why aren't you screaming about every single injustice in the world all the time?
Engineer creates CPU from scratch in two weeks, begins work on GPUs
Inbox was a legitimate improvement on "normal" email, and I still miss it.
Previously: https://news.ycombinator.com/item?id=39955189
My impression is that the US defines murder more broadly than the rest of the English-speaking world; the scenario you mention is murder in some US jurisdictions, but I don’t think that would be true in most other English-speaking countries

I guess this is probably connected with the US retaining the felony-misdemeanour distinction when most other countries that inherited their laws from England (including England herself) have abolished it: you literally can’t have a felony murder rule if you get rid of felonies, you can have some somewhat analogous rules, but they usually end up being narrower in practice

Also, for a long time (until the 1950s), murder had a mandatory death penalty in England (and much of the British Empire), which produced pressure to define the crime narrowly (if jurors thought the person was guilty but didn’t deserve death, they’d acquit). Since the abolition of the death penalty, that pressure no longer exists, but there has been little pressure to broaden it either
What's funny to me is they could have just come out and said 'Hey, we need to reform our visa process for academics' and I would have nodded along and said 'yep, that sounds reasonable', but no they had to wrap it in identity politics which automatically makes the reader more skeptical of their point.

I'm just so used to the word 'privilege' being used in bad faith.
The Launch plan includes 300 compute hours. All your computes draw from this, regardless of whether or not it's a primary branch.

For a simple comparison, let's assume you only use 0.25 vCPU computes and your primary compute runs 24/7 (~750 hours per month) to keep the comparison easy:

1. On the Free plan, you can have the primary running 24/7 plus an additional 20 hours for other branches.

2. On the Launch plan, you can have the primary running 24/7 plus an additional 450 hours for other branches. And of course the 10 GiB storage + other paid features.

Full details at https://neon.tech/docs/introduction/plans
I guess it depends on what you call making your money on writing. At one point, most of my money was from writing emails. I can't really spell and somehow my grammar is worse. LanguageTool, and whatever plug in/extension/google search copy and paste that I've previously used, allows me to communicate the same message but without spelling/grammar mistake many people would see.

There is almost no chance I'm going to spend a significant amount of time relearning grammar and how to spell. But that has almost nothing to do with my ability to communicate or make money writing. The grammar tools just translate my sentences into the format we've all agreed is correct. Almost like a linter but for English.
They should just remove the pedals altogether.
Airspace is fundamentally low capacity because there is still congestion to get back on the ground. Worse airplanes must move at all times, you can't stop to avoid disaster, you must have room in all directions to maneuver around whatever is happening. Getting a few people in the air can help everyone if you can pull it off, but you can't get a lot in the air as airplanes need too much space.

You can extend 2d space with bridges and tunnels a lot easier, but it isn't cheap. Which is why cities need metro systems - it is the only way to get masses of people into a dense area.
In other words, from a website point of view, IPv6 is useless.
> publicly supporting criminalizing same sex marriage

Same sex marriage simply wasn't a thing legally at the time, and was an issue the american public was discussing. It was not something in the process of being criminalized. The population of California voted not to allow it in the year we are talking about here, just to give you some perspective. Barack Obama opposed it politically.
If driving was more like flying, I'd imagine fatalities could be significantly reduced.
I have been using Neon for some time now, and have quite liked it.
This comes up quite regularly on HN and gets debunked every time.

A not very complete list of sources saying they have worked with him on engineering problems https://cleantechnica.com/2022/11/16/incorrect-claims-about-...

What definition of 'engineer' is Elon Musk not?
While I didn't spell this out, luxury sports models are just about the one exception to the rule. Lexus is a luxury brand and that is a sports model.

Most vehicles are not luxury or sports models so my statement is still accurate.

---

EDIT: Looking up replacement parts, Toyota and Lexus uses a "stud" style pedal that's bolted into the accelerator at the floor. In this case a "cover" isn't really applicable.

Many vehicle use a style similar to Ford's: https://parts.ford.com/shop/en/us/engine/other-engine-parts/...

This is essentially a metal arm with a small cover attached to it.

EDIT 2: Just grabbing a bit of ancedata to support my internal data.

* GM uses a pedal with a plate in the Escalade: https://www.gmpartsdirect.com/oem-parts/gm-accelerator-pedal... I also know I've had this style on many other GM vehicles I and my family have owned.

* Hyundai use the arm with a cover: https://www.partshyundai.com/oem-parts/hyundai-sport-pedals-...

* BMW uses a floor based pedal with a cover: https://www.bimmerworld.com/BMW-Interior/BMW-Pedals/Accelera...

* Mercedes uses a similar floor based pedal with cover: https://www.bimmerworld.com/BMW-Interior/BMW-Pedals/Accelera...

* Chrysler uses an arm with a cover on many vehicles: https://store.mopar.com/oem-parts/mopar-pedal-kit-82211154ab

* Honda uses an arm with a cover on many vehicles: https://www.hondapartsnow.com/genuine/honda~pedal~set~sport~...

In fact, I think you might have the only manufacturer that actually doesn't use a cover. Likely in response to their pedal scandal as older Toyota models use an arm with a cover.
I didn't really know what that was until college. I had a 1984 IBM I took apart and put back together a few times.
That's fair. It was something I was worried about but I knew the worst-case was I could spin up RDS and move over to that. This is for my personal company and the load on the software is very spiky with long periods of near-zero activity (we did the switch over in one of those zero-activity periods). That gave us an easy on-ramp to testing this DB as a replacement.
Way less terminal commands. Basically 0, although I was impressed at how easy it was to open the firewall for my kids minecraft server on linux vs Windows.

Things just work out of the box.

I don't mean using a GUI to download stuff. Everything you need is already there.
Throwing the operating crew under the bus is a classic technique in maritime to absolve the true responsibility -- the poor design of the system, especially "flags of convenience" and insufficient oversight in other jurisdictions.

Excellent book on "Normal Accidents" with a chapter focused on maritime safety (or lack thereof): https://www.amazon.com/Normal-Accidents-Living-High-Risk-Tec...

A shorter article that summarizes a few risk frameworks including Normal Accident Theory referenced above: https://www.lesswrong.com/posts/ae3HecTe2uKscabPe/a-gentle-i...
What is strange is the notion that the original creator should retain full control of a creation once released.
I really think this an under-appreciated or perhaps under-researched phenomenon that is becoming more and more prevalent. It isn't just that ads are everywhere at all times (though that is also awful for a buffet of reasons) but it's the same fucking ads, likely because I am being targeted by a set of them that I'm "likely to respond to" which I then prove wrong every single day. But hot shit, I have heard the fucking insipid jingle for Chumba Casino so many goddamn times that even if, for whatever insane fucking reason, I decided I wanted to gamble online, I wouldn't use their goddamn website with a gun to my head.

And I could say the exact same things for tons of ads I get on the regular. At least most podcast ads are just the host reading a blurb and that's generally fine, I don't engage with it but it isn't grating. Jingles are fucking grating. Idiotic "funny" skits are grating. I definitely find myself remembering these ads more than the other ones, but it's really not in the way I suspect the advertiser was hoping.
Fastmail is a paid solution, and you are comparing it to the ad-laden version of gmail. They are absolutely going to be different experiences.

You do in fact appear to be heavily biased based on your previous involvement with google, it shows.
I find it pretty funny that this guide tries to make the case that "people prefer to treat stock options as a lottery ticket and not as an investment" is a bad or incorrect way to treat them, when pretty much the entire rest of the piece is pointing out why that's a reasonable way to treat them.

Personally, I've been around the block a bunch of times and have had more than my share of options as part of compensation.

My experience with them informs my attitude towards them: I don't count them as compensation when I'm looking at an offer from a potential employer. If the offer isn't good without the options, including the options doesn't make it better.
His tweets agreeing with Nazis convinced me.

Did the NYT not do the most basic research on Elon, which would have shown his consistent history of this kind of behavior they are now criticizing him for.

Ok but that's worse. You do get how that's worse, right?
Vercel charges for image optimizations/dynamic scaling. People get wrong perception that it should be a free service because the DX is so easy...
Curious to see how many of those million databases are from free users.

Feels like we're living in the golden age of free platform offerings.

Wonder when the shoe will drop.
Would have been more effective just to spray the enemy with hallucinogens.
Right, and you get different answers when you ask different questions too.

In the UK there's a case where the RAIB (accident investigators) concluded that systemically it was not possible for the human doing the job to ensure that particular accident (resulting in the death of a rail passenger) doesn't happen. So they made recommendations for how to prevent it in future on that basis.

But the human who was actually there doing the job was prosecuted, successfully and I believe sentenced to prison, because (prosecutors made the argument) regardless of whether it was technically true that it might have happened anyway, the death did happen, and it did happen while the accused wasn't strictly doing everything by the book.
Last time I bought a bike for £20 even second-hand, the Euro had not yet been introduced.

Even in 2011, when I made the mistake of spending £90 for a new bike… well, the pedals came off while riding it due to metal fatigue.

Adjusting for inflation*, I'd expect similar build quality from a bike that "only" cost €200 today.

* hard to do when there is also a currency switch, especially when the exchange rate has changed so much
I have multiple email aliases that feed into the same box. I filter messages based on what alias they went through and who sent them. Nearly all messages get automatically marked as read; they're there, but I won't get notifed of them. For a few high priority senders who have my high priority alias, they get the star treatment: notification, star, reminder to reply, etc.

Also, if you filter for the word "unsubscribe," you can cut through a good chunk of low-priority automatic messages.
Rendering Geometry in Blender [pdf]
Awesome, the Index Advisor sped my slowest query 4x! Is there a way to run that across all queries in pg_stat_statements at once or do I need to click on each one?
It doesn't look like Streamlink is immune to the challenges of Twitch ads: https://github.com/streamlink/streamlink/issues/4949
Don't most of them still have a rubber cover on top of that injection-molded plastic?
It is a good replacement for letters, postcards really. It does that well, and that’s enough.
Worldwide Smartphone Market Up 7.8% in the First Quarter of 2024
Any news on the integration with Fly.io going GA?
Ubuntu and Mint are part of the Debian family of Linux distros....
Why? It’s a great tool
Companies like Facebook are global now, and we call them American because of where they were founded / where they are still HQ'd.

Linux doesn't have a HQ or a stock market it's listed on, so isn't the place it was founded a reasonable choice if trying to describe it as anything other than "global"?

Of course the EU can't claim to own it, just as they can't claim to own BMW if they chose to move all operations out of Europe, but we'd probably still call BMW a European / German company until it becomes established as being more to do with another single location rather than just all round the world.
We should have a conference on this, offline, and devise the perfect untruth to plant. It is the concept of a universal lie that is key, not the specific example.
I rarely get a relevant ad on Twitch, but Instagram has my number. I'd say at least 10% of those ads are ones that I find relevant/click on.
> and only need to balance between them infrequently

I think it's exactly the opposite. There will frequently be a need to balance them.

With wind and solar in the mix, generation will fluctuate with the weather. In a given area, it could be cloudy one day and sunny the next. Or windy one day but not the next. And consumption won't be correlated with that, so that creates an extra source of mismatches between demand and consumption within each area.

Transmission is one way to solve that. You could also solve it with storage (within every area), but that's probably less efficient and/or more expensive.
Wasn't Gmail "unlimited" in the early days?
This is the Liskov Substitution Principle in a hat and trench coat.
I built AI Marketing Assistants to fuel my business growth
After a month of sleepless nights, I'm finally here to introduce my latest AI product, "Growth Makers": an AI Marketing Team designed to fuel business growth.

After analyzing hundreds of successful businesses, I was able to identify the patterns that led to success. I applied these successful patterns to infography.in, and the idea itself started generating revenue. Additionally, the feedback from waitlisted users helped me craft a clear roadmap for the product.

Now, after extensive research on AI, I developed a Minimum Viable Product (MVP) and tested it against my previous projects. The results were astounding! The AI Marketing Team excels at conducting research, crafting engaging social media posts, and uncovering hidden channels with growth potential.

Sign up for early access today and see how Growth Makers can revolutionize your marketing strategy.
growthmakers.app
The German federal government alone will pay 1.28 billion Euros to Microsoft until 2025 [1] so I’m pretty sure they do care about their government contracts.

[1] https://amp.zdf.de/nachrichten/politik/deutschland/it-open-s...
That was last year: https://community.neon.tech/t/signup-and-rust-support/955

Good that they added it now.
Learn How to Overcome Challenges of Rainy Season in These Businesses
A few years later, I also switched to Emacs on the terminal. I just find the terminal a better place to work. But I still do use Kate for some tasks.
> I also think we should progress past 8GB baselines

Perhaps the contrary: 8GB is already a humongous RAM size. Especially if backed up by a fast SSD.

That really should be enough for everyday jobs like the examples mentioned (waaay more than enough, imho).

As for pro-level / servers / serious gamers / engineering jobs etc: sure, go ahead and deck it out to whatever budget & product offerings allow.

Just remember this is a decidedly different market segment than average consumer.
Ugh, of course it turns out Yagi didn't invent it.

For the neurotypical folks, note that all antennas that look like this aren't Yagi. They might be a https://en.wikipedia.org/wiki/Log-periodic_antenna
I was in the same department but changed my opinion - when my 32GB 2019 Macbook Pro 16" died of sudden heat death, I bought a base-model 8GB M2 MacMini (retail price 650€) and was amazed that it actually is faster for all my day-to-day tasks - this includes software development (C#/ASP.NETcore, TypeScript/React both using VSCode) plus running some (smaller) docker containers. Originally intended as an interims solution, I am still on the MacMini with no intention to upgrade - there is no way I could tell it has only 8GB RAMs and never run into any problems - it is in all matters of regular daily use faster than my ~3000€ 32GB MBP16.
(PG Hacker @ Neon)

Stas Kelvich one of my bosses, and one of the founders of Neon.
Apart from the length, what advantages does `[-z $VAR ] && VAR=x` over `if [ ! $VAR ]; then VAR=x fi` ?

Btw, The color script is cool. This makes ANSI sensible.
> MicroG is "insecure" because it requires "signature spoofing

But it is literally a less secure option, than what Graphene does provide, sandboxing the original google api itself.

> pixel

Yes, if you can literally just start any OS from the hardware level, you don’t have security. The same way you can just read/edit an unencrypted linux distro partition, and “login” to that same OS.
You’re focusing on a statement from the owners manual that’s no different than any other car with paint, though. You gotta look at the whole picture.

Is a ford bronco rugged? What about a jeep wrangler? How about a rivian? Cause every single one of those will look like hell if you drive it off road and have it scrape against tree branches or something. I suspect the cybertruck panels would be substantially more resistant to trail striping… which is a huge plus in the durability/ruggedness side in my book.
You are describing the client point of view. But, from the server point of view, IPv6 is like a newer, better version... that cannot run alone!

IPv6 can work side by side with IPv4 on the servers, but it cannot replace IPv4. Thus, don't act surprised when companies wonder "Why bother?"!
It's easier for me to bring you some food when you're running out than to bring you food every single meal.
I see no reason to submit to google surveillance when the standard framework works well with fedora and mint etc.
Along that line what if you dropped cocaine or heroine over the enemy country? These things are cheap to produce.
> They're not going to suddenly say, "Oh, sure, we can make a decent gain in efficiency by updating the grid, let's build those projects out."

That’s actually happening, though. One quarter of new capacity this year is battery systems:

https://www.whitehouse.gov/cea/written-materials/2024/04/11/...
TEC's are no good.
The best bet is to bury copper tubing deep underground and have 2 loops.
iirc it went from 1gb to 4 to 8, then "unlimited" for a period, then again limited once they started charging for GApps.
Normal car manufacturers look at things like:

the door handle,
physical controls,
having lane indicators on their respective sides,
a glove box handle,
rear view mirrors

As solved things. Removing the door handle on Teslas is not innovative, it’s to stroke Elon’s ego. These changes aren’t innovative, they’re changes for the sake of changes.
(Neon DevRel)

Hey, we do want to add numbers back to that page. The issue was that the original numbers were inaccurate.

"The goal of this metric is to represent the health of a system. However, we found this binary “is there an incident or not” approach wasn’t accurate for describing our service. For example, in the past 30 days, 99.9% of projects hosted on Neon had an uptime better than 99.95%; however, the status page displayed 99.89% uptime."

(source: https://neon.tech/blog/multi-tenant-uptime)
Seems to be hugged to death currently:

„Sorry! Our app is melting due to overwhelming load
Error fetching: TypeError: Load failed“
Does anybody know what "API" means? (Sorta no, but it's okay)
Not OP, but I did the same.

I have nightly backups dumped to Cloudflare R2 from a GitHub action.

If Neon announces they're shutting down, migrating the database to another provider is a bash 1 liner and an hour of downtime.

If Neon just "goes dark" I can recover from the nightly backup and lose at most 24 hours of data - data that is denormalized into other systems and can be manually recovered if absolutely necessary (but probably not).

Not every company is the same, but for many use cases the database layer is an inconsequential decision as long as the API is fungible for your use case.

Not every decision is a 1-way door.

The most important way you can spend your time when making a 1-way door decision for a company isn't picking the right door. It's turning the decision into a 2-way door.
Wow. Thanks for sharing
Reading the pitch and this solves all of the problems I don't have (as a developer and operator of services that don't need to scale to millions of users). How often do you need to clone/restore whole databases, really? But I may be misunderstanding the pitch.
That's pretty much what my second link is about. :-)
Yes it was. It took years before I had a limit. I used to use gmail like google drive well before drive existed. There was even a tool called gmaildrive(0).

(0): https://en.m.wikipedia.org/wiki/GMail_Drive

Edit to Add:
Apparently the storage wasn't unlimited? At least from a cursory look at Wikipedia. Huh. Memory is a funny thing.

https://en.m.wikipedia.org/wiki/Gmail
There might be a good movie idea here about a platoon struck by a gay bomb and dealing with the subsequent ramifications in their conservative society and families. The guy closest to the center of the blast is made super gay and the guys toward the edges of the radius less so, a few outside of the radius might be bi-curious at best.

But there could also be a message for how society treats its veterans in general when they return from war.