Better HN
topnewbestaskshowjobs
Log inSign up

peferron

834 karma · joined Jun 26, 2013 (13y ago) · 315 submissions

https://peferron.com — peferron@gmail.com
Submissions

comment 6mo ago · link · parent

I want to log off too but mostly because AI slop and bots are taking over. Old Internet was trash but at least it was human trash.

comment 6mo ago · link · parent

Especially if there's also a ban on related advertising. Polymarket and others are absolutely flooding the world with ads at the moment.

comment 1y ago · link · parent

Would you also recommend these 2 restaurants if they ignored you for 30 minutes before taking your order, then brought your drinks late after you've already finished your meal? There's a lot more to a good restaurant experience than consistently making delicious tasting food. It's definitely not that simple.

comment 1y ago · link · parent

My kid goes to a public Montessori school, so the tuition isn't much. It's also pretty clear what they do differently if you tour the classrooms.

comment 1y ago · link · parent

Perhaps as a tie breaker if you insert multiple rows in a table within one transaction? In this situation, the timestamp returned by e.g. `now()` refers to the start of the transaction, which can cause it to be reused multiple times.

comment 1y ago · link · parent

You can keep all three and still use UUIDv7 as a performance improvement in certain contexts due to data locality.

comment 2y ago · link · parent

Since we're on HN and you mention California, it's worth noting that with a good job in tech 2/3/4 disappear, leaving only 1 (which is still very nice).

comment 2y ago · link · parent

Of course most people missed BTC. Just like most people missed ETH, AMD, META, NVDA... the list goes on. Hell, I'm sure there are a few boats leaving right now that you & I are in the process of missing. I don't know why crypto people think that everyone else obsesses about missing BTC in particular.

comment 2y ago · link · parent

Why don't you refer GP to a suicide hotline while you're at it? Your attitude in this thread has been repulsive.

comment 2y ago · link · parent

I just checked and Austin is over 90F for a full third of the year. Hard pass.

https://www.extremeweatherwatch.com/cities/austin/yearly-day...

comment 3y ago · link · parent

I opened the article to make sure that quote wasn't out of context (nothing against you—it just happens often) but it's actually even worse:

> [AI can make people] feel like, “they are artists too,” in heavy quotes, which is not true.

> Many people, they’d like to imply that they are gifted at coding by giving the generative AI a solution to that.

In her view, if you create great art, a great video game, a great piece of software—or really anything at all I suppose—with the help of AI then you're a fraud and you should feel bad. I guess a bunch of people had similar thoughts when artists (yes, artists) started making music with computers without even knowing how to read sheet music or play a musical instrument, but look at all the creativity that came out of that.

comment 3y ago · link · parent

The first time I read about this in the news it was 10 seconds, the second time it was 30, and now it's a minute.

comment 3y ago · link · parent

We bought a new Honda Fit for $18.5k in 2014. It was a full redesign with nice improvements compared to previous model years (reverse camera, bluetooth audio, etc). Since then we've averaged 33 mpg with zero garage visits outside of routine maintenance. We probably could have saved some money by buying used instead, but over a decade of ownership I doubt that it would amount to more than a few hundred dollars per year.

comment 3y ago · link · parent

The "add to your reading list" feature is excellent, and a nice carrot/reward for completing the survey.

comment 3y ago · link · parent

I haven't had a great experience dealing with JSON in Python, but maybe I'm doing it wrong. What would be the Python equivalent of this JS code?

    JSON.parse(<data>).foo?.[0]?.bar
Basically just return the `bar` field of the the first element of `foo`, or None/undefined if it doesn't exist.

comment 3y ago · link · parent

Depends what you'll be doing with it I guess? My 2022 M2 Macbook Air is great for most things but takes 40s to complete the same test suite that my 2020 5950x finishes in 10s.

comment 3y ago · link · parent

I like hot module reloads more than F5 since it preserves the state of the page. I don't use Angular though, but with Vite + React it's extremely quick.

comment 3y ago · link · parent

I'm not on VS Code but I use micro as $EDITOR for the exact same reasons and it's great. I don't have to remember special shortcuts just to amend a git message or do an interactive rebase.

comment 3y ago · link · parent

When I program I make all my variables global and name them with BEM to get the same great experience as in vanilla CSS.

comment 3y ago · link · parent

CSS classes are great for that until you need to reuse HTML and/or JS, at which point you're back to square one. People are moving to components because they solve these 3 things at once.

comment 3y ago · link · parent

Why would you style an anchor element when your browser already has default styles for it?

comment 3y ago · link · parent

Thank you for sharing that! It's unfortunate that the pgAdmin devs weren't interested, although I understand them wanting to keep it focused on being a GUI.

comment 3y ago · link · parent

> It seems like Supabase has been able to collaborate really effectively with other teams in the Postgres space (including pgAdmin and pgmigra, for the `diff` migrations tooling)

I'm thankful to Supabase for their efforts, but I'm not sure I'd pick pgAdmin and migra as examples of "really effective" collaboration with other teams: as far as I know, pgAdmin's CLI feature wasn't merged upstream and sits in an outdated Supabase fork of pgAdmin which doesn't fully support Postgres 15, and migra (which has been abandoned for a while) was just used as-is.

comment 3y ago · link · parent

> All of this has made the language worse. Just accreting features doesn't make the foundation less broken.

Nope, most of these have made the language better. Optional chaining is better than a litany of `&&`, `...` is generally better than `Object.assign` or `concat`, `async/await` are generally better than callbacks... The list goes on. Rejecting these new features wouldn't have magically improved the foundation.

comment 3y ago · link · parent

> I have some code here, and when exactly is this run?

If there are `await` keywords previously in the function, then the line you're looking at will run after these async calls are done. Otherwise it'll run ASAP. Is there something else to it?

comment 3y ago · link · parent

CSS isn't special; HTML and JS have similar needs for reuse and customization. It doesn't make a lot of sense to have a completely separate solution that solves this problem for CSS only.
12345
11