Hacker Newsnew | past | comments | ask | show | jobs | submit | spider-mario's commentslogin

The point made by the parent seems to be pretty much the opposite of that. They conceded more tooling but questioned the improvements “at the foundational model level”.

> I don't know if I've ever committed a file unintentionally since adopting it.

I’ve had the opposite problem: forgetting to add new files.

> I like it especially in concert with git commit --amend, which lets me tack my newest changes onto the previous commit. (Though an interactive rebase with fixup is even better)

No need for the rebase to be interactive:

    $ git commit --fixup=<commit>
    $ git rebase --autosquash <base>


> I’ve had the opposite problem: forgetting to add new files.

Any good solutions for this around?

For now I've adopted running `git status` after `git add -p` to make sure there's no untracked files, but it feels a bit clunky


I occasionally forget to add a new file but don't mind it much. I consider it a significantly smaller problem than committing a file that shouldn't be. CI is gonna run and my tests are surely gonna fail if I didn't commit some file. So I'll see that and commit --amend or fixup to add the new file.

unless the file I forgot to commit is the tests, which hopefully I'll catch by the time of the PR


You can run the tests on the actual produced commit, if you missed some files there would be a compilation error.


> I’ve been using Jujutsu(jj for short) as my defactor git cli frontend for a while now.

“de facto” please.


Even better is "" since it's not really adding anything


Coffee is my de facto morning beverage.


Obligatory: https://james-iry.blogspot.com/2009/05/brief-incomplete-and-...

> 1995 - Brendan Eich reads up on every mistake ever made in designing a programming language, invents a few more, and creates LiveScript. Later, in an effort to cash in on the popularity of Java the language is renamed JavaScript. Later still, in an effort to cash in on the popularity of skin diseases the language is renamed ECMAScript.


I have never heard anyone do that. Do “normal” people even discuss JavaScript?


I think normal people are actually aware what JS and HTML are. Most people are more tech savvy than we give them credit - or credit they might give themselves.


I think normal people don't know the difference between google and a web browser. Even many of the ones that used to understand the difference forgot some time after their primary computing device became a locked down phone.


Can confirm. My wife (who is a very normal person) was using bing the other day and when I pointed it out she asked me what I was talking about and pointed to the chrome browser icon in the taskbar. The level of confusion is almost unfathomable to us.


Yes for normal teenagers in the early 2000s or so (MySpace encouraged experimentation and there were many sites where people would upload copy/pastable javascript snippets for their sites), outside of that group I'm not so sure.


Maybe 1 in 10000 people who aren't developers.


Idk both of my parents do any they're not devs - they don't even have a pc or laptop, they just have a phone.

But they DO work in an office, and use a web browser for 8 hours a day.


It’s an Albany expression.


There it is! Oh, it disappeared. There it is again! Oh, it disappeared. It’s back! Wait, no.


Most of the energy for AI does not go into chatbots. Using Gemini is not remotely close to driving a car for 2 hours. If a prompt is 0.3 Wh (https://cloud.google.com/blog/products/infrastructure/measur..., https://andymasley.substack.com/p/a-cheat-sheet-for-conversa...), each prompt is closer to using an e-bike for 50 metres.

You could have your morning shower 1°C less hot and save enough energy for about 200 prompts (assuming 50 litres per shower). (Or skip the shower altogether and save thousands of prompts.)


I think it's also worth comparing to the CO2 impact of consuming meat, especially beef, which is pretty high.

(It's the training, not the inference, that's the biggest energy usage.)


+1 interesting


This sounds like a potential continuum fallacy.

https://www.logicallyfallacious.com/logicalfallacies/Argumen...


A better Gemini also works. Google Search seems to use the most minimal of Geminis, giving it a bad rep.

Prompt: “How many A4 pages would a 1073741823×1073741824 image printed at 600dpi be?”

Gemini Pro: “It would require approximately 33.1 billion (33,127,520,230) A4 pages to print that image.

To put that into perspective, the image would cover an area of 2,066 square kilometers […].

The Math

1. Image Dimensions: 1,073,741,823 × 1,073,741,824 pixels.

2. Physical Size: At 600 DPI, the image measures roughly 45.45 km wide by 45.45 km tall.

3. A4 Area: A single sheet of A4 paper (210 mm * 297 mm) covers approximately 0.06237 m².

4. Result: 2,066,163,436 m² / 0.06237 m² ≈ 33,127,520,230 pages.”

Alternatively, rink (https://rinkcalc.app/) :

> (1073741823 / (600/inch))**2 / A4paper

approx. 3.312752e10 (dimensionless)



How about websites just straight up aren't allowed to physically hurt me, by default?


Web sites aren’t made for just you. If images from your screen are causing you issues, that is a you / your device problem, not a web site problem.


I agree, it's not a web site problem. It's a web standards problem that it's possible for web sites to do that.


Note the spec does recommend providing a user option: https://drafts.csswg.org/css-color-hdr-1/#a11y


You asked “which web browsers have a setting to tone map HDR images such that they look like SDR images?”; I answered. Were you not actually looking for a solution?


I was looking for a setting, not a hack.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: