Preferences

spider-mario
Joined 100 karma

  1. 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”.
  2. > 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>
  3. > I’ve been using Jujutsu(jj for short) as my defactor git cli frontend for a while now.

    “de facto” please.

  4. 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.

  5. I have never heard anyone do that. Do “normal” people even discuss JavaScript?
  6. There it is! Oh, it disappeared. There it is again! Oh, it disappeared. It’s back! Wait, no.
  7. 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.)

  8. 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)

  9. 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?
  10. Well, sure, but wasn’t that the use case we were discussing?
  11. There’s more to it than that. Canon and Apple do HDR HEIC in mutually incompatible ways.

    https://www.dpreview.com/articles/8980170510/how-hdr-tvs-cou...

    > HEIF/HEIC is a broad standard, and the files from Canon and Apple are not cross-compatible with one another

  12. Since the recompression is lossless, you don’t need every tool you use to support it, as long as one of them is one that can do the decompression back to JPEG. This sounds a bit like complaining that you can’t upload .7z everywhere.
  13. > If you book two dates and then cancel, are you not also part of the problem?

    How so, exactly? Maybe if you cancel at the last minute, but if she cancels when the race dates are announced, presumably, that’s enough in advance for someone else to book the cancelled room in her place?

  14. Less traction than MP3, sure, but “never got any traction” is pushing it. https://en.wikipedia.org/wiki/Vorbis#Usage
  15. In C++, this can be achieved portably using the Highway library: https://github.com/google/highway

    (Disclaimer: I work at Google, but not on this, and I am writing this in my personal capacity.)

  16. For anyone else for whom the justification for “either x and f(f(x)) are both red, or f(x) and f(f(f(x)) are both red” was not immediately obvious:

    H: ∀x.(r(x)→⊥)→r(f(x))

    goal: ∃x.r(x)∧r(f(f(x)))

    If f(f(x)) is red:

        x is a solution (QED).
    
    Otherwise:

        f(f(x)) not being red means f(x) must have been (by contraposition of H) and that f(f(f(x))) will be (by H); therefore, f(x) is a solution.
  17. > JPEG XL as a technical project was a real nightmare

    Why?

    > (surprisingly, Firefox is not attributed this - they also do not support it yet, and they are not doing anything _other_ than awaiting Chrome's work for it!)

    There is no waiting on Chrome involved in: https://bugzilla.mozilla.org/show_bug.cgi?id=1986393

  18. Those writing the new Rust decoder are largely people who worked on the standard and on the original C++ implementation, + contributions from the author of jxl-oxide (who is not at Google).
  19. JPEG XL is not “apply zstd to the pixel data”. What the parent comment meant is that JPEG XL, like zstd, happens to use ANS among its set of techniques. It handles gradients just fine.
  20. > How so? As far as I can tell, the ICCv2 spec is very agnostic as to the gamut and dynamic range of the output medium. It doesn't say anything to the extent of "thou shalt not produce any colors outside the sRGB gamut, nor make the white point too bright".

    That’s precisely what makes it unsuitable for HDR. With PQ, (1, 1, 1) means 10 000 cd/m² – if you simply create an ICC profile with the PQ transfer function, an image that looks right on a hypothetical 10 000 cd/m² monitor will look way too dim when naïvely scaled down (as ICC-type colour management would have you do) to the 300 cd/m² of a typical monitor. HLG, meanwhile, has a transfer function that depends on the peak luminance, which is not possible to do with ICC (the profile would have to assume a specific peak luminance), and the reason that it does that is to preserve the subjective perception of the image.

    So, sure, you can prepare an HDR image so that it looks right on a monitor with a 1000 cd/m² peak luminance, describe the colorspace in relative terms using an ICC profile, and you will have “done HDR using ICC”, but that’s arguably a very low bar for “supporting HDR”.

  21. > For people that shoot digital cameras saving as JPEG, it will a very cocky suggestion to tell them to toss out their camera original files!

    But they can recover them from the JXL files, so are they really “tossed out”? It’s not really different than any other form of lossless compression.

  22. JPEG can be rotated losslessly. `jpegtran` can do it, for example (and comes with a script called `exifautotran` to automatically normalise the orientation of a bunch of JPEG files at once).
  23. CICP (H.273) originates from the video world, where Adobe RGB and ProPhoto RGB really aren’t common.

This user hasn’t submitted anything.

Keyboard Shortcuts

Story Lists

j
Next story
k
Previous story
Shift+j
Last story
Shift+k
First story
o Enter
Go to story URL
c
Go to comments
u
Go to author

Navigation

Shift+t
Go to top stories
Shift+n
Go to new stories
Shift+b
Go to best stories
Shift+a
Go to Ask HN
Shift+s
Go to Show HN

Miscellaneous

?
Show this modal