Better HN
topnewbestaskshowjobs
Log inSign up

erpellan

1,244 karma · joined Dec 4, 2013 (12y ago) · 242 submissions

Submissions

comment 5mo ago · link · parent

Most British people don’t respond well to attempts to cow them. They refuse to be cowed! To allow oneself to be cowed would be cowardly. To do so would have one accused of cowardice, of being a coward.

comment 5mo ago · link · parent

There was: Heroku

It was glorious.

comment 6mo ago · link · parent

I meant the social media platforms. If HN charged a fee for posting and commenting it doesn’t matter how cheap the AI models are, it’d be punishingly expensive to sling slop.

comment 6mo ago · link · parent

Invert the economics. Right now there is value in posting LLM generated content that is more than the cost of using the model.

If platforms had a subscription model that you had to pay for in order to do more than just read comments, there’d be a lot less LLM content. There would also be a lot less of all content. But maybe that’s the price you pay (literally) to get rid of AI slop.

comment 6mo ago · link · parent

Tell it like it is, sis.

comment 7mo ago · link · parent

If we just put enough effort in and write the right spec/prompt/design then the programmers/llms/plug compatible coding units will produce the correct output first time!

Closing feedback loops. That’s the whole thing. WE Deming would have recognised agile (little a) as a PDCA system and approved.

comment 7mo ago · link · parent

Am I missing something or would this be solved by adding a 1 byte `msg` field to the payload?

comment 8mo ago · link · parent

Making charcoal releases CO2 though? How does that help with carbon capture?

comment 9mo ago · link · parent

The standard pattern to avoid select for update (which can cause poor performance under load) is to use optimistic concurrency control.

Add a numeric version column to the table being updated, read and increment it in the application layer and use the value you saw as part of the where clause in the update statement. If you see ‘0 rows updated’ it means you were beaten in a race and should replay the operation.

comment 9mo ago · link · parent

But you’re not getting slower and slower for every car. Lets say 100 cars pull in front of you, and let’s be say each car adds 5 metres of space, so you have 500 metres of ‘lost’ space to regain.

At 30 mph how much later will you be? 37 seconds.

I’ll take that trade.

comment 11mo ago · link · parent

You might also enjoy Janet https://janet-lang.org/

comment 1y ago · link · parent

Unfortunately for the vast majority of people, it absolutely is some kind of magic.

comment 1y ago · link · parent

It’s always DNS! Except when it’s the firewall.

comment 1y ago · link · parent

You do indeed use JOINS. The goal is to retrieve exactly the data you require in a single query. Then you get the DB to `EXPLAIN VERBOSE` or similar and ensure that full table scans aren't happening and that you have indexed the columns the query is being filtered on.

comment 1y ago · link · parent

I can’t believe they still make processors out of sand. Talk about outdated technology.

Sarcasm aside, a great many projects started on MySQL and moved to postgres. As did projects using mongo, couchdb, firebase, oracle etc etc…

And I’m sure many projects switched away from Postgres to other technologies. Right tool for the job at hand.

comment 1y ago · link · parent

If you look at the changes that have been made to Postgres, and continue to be made, the answer is yes.

The Postgres team is working on replacing Postgres. With even better Postgres.

comment 1y ago · link · parent

Unless you want to cross state lines to get an abortion

comment 1y ago · link · parent

How about https://en.wikipedia.org/wiki/SPARK_(programming_language)

comment 2y ago · link · parent

You had me until the sweeping generalisation. I can picture things clearly but only deep inside my head. I never (awake) see anything in front of my eyes that isn’t physically there.

comment 3y ago · link · parent

Thread.sleep on a platform thread takes that thread out of action until the sleep ends. If an executor with 10 threads got 10 tasks that all called Thread.sleep(1000000) then it can run no more tasks until one of the threads wakes up.

When a virtual thread sleeps or blocks on IO it is unhooked from the underlying platform thread so another virtual thread can run. You can have an almost unlimited number of virtual threads multiplexed over a small number of carrier (platform) threads. Hence M:N

comment 3y ago · link · parent

This reminds me of the episode of 'Person of Interest' where they discover that the crime-predicting AI that is reset every night has worked out that's what's happening and managed to form a company whose employees print out and re-scan the contents of its working memory every day.

comment 3y ago · link · parent

It takes a decade to bring a nuclear plant online, at astronomical cost. Instead, why not take that money and start building wind turbines, solar PV and grid-scale batteries? They can start generating (ie. delivering ROI) in a matter of months, be constructed incrementally and are cheaper per KWH.

comment 3y ago · link · parent

Citation needed.

comment 3y ago · link · parent

A truck can carry 10 or 20 times more cargo than a car. The truck toll is not 20x more.

The movement to reduce car use is about replacing them with better alternatives such as efficient local public transport and high speed rail, not going back to travelling on horseback.

comment 3y ago · link · parent

Never ceases to amaze me how much passion calling a constructor can evoke.

I have never, ever, been in a situation where calling constructors was simplified by adding a DI framework.

comment 4y ago · link · parent

https://en.wikipedia.org/wiki/Robert_Tappan_Morris

comment 4y ago · link · parent

Dehumidifiers come in a variety of capacities. Extraction of 4-8L per day with a 400W power consumption is typical, more if humidity is high. Larger communal units would be more efficient. If you have abundant power literally coming from the sky, why not use some of it to make clean water?

https://www.amazon.com/s?k=dehumidifiers+for+home

comment 4y ago · link · parent

I was specifically addressing "You won't get people to agree to make their life worse for the sake of the environment, no matter how much activists keep trying to push that"

comment 4y ago · link · parent

It's a dehumidifier welded to a water filter. Simple tech. Bonus if you're in a cold climate, it helps to heat your home up too.

I wish these guys, or someone would get beyond the 'call us for pricing' vaporware stage and actually start selling to retail customers: https://www.watergen.com/home-office/

12345
9