frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Snitch – a friendly netstat alternative for humans

https://github.com/karol-broda/snitch
28•karol-broda•2h ago•8 comments

The Illustrated Transformer

https://jalammar.github.io/illustrated-transformer/
288•auraham•8h ago•60 comments

It's Always TCP_NODELAY

https://brooker.co.za/blog/2024/05/09/nagle.html
174•eieio•6h ago•45 comments

Flock Exposed Its AI-Powered Cameras to the Internet. We Tracked Ourselves

https://www.404media.co/flock-exposed-its-ai-powered-cameras-to-the-internet-we-tracked-ourselves/
439•chaps•10h ago•363 comments

Ultrasound Cancer Treatment: Sound Waves Fight Tumors

https://spectrum.ieee.org/ultrasound-cancer-treatment
188•rbanffy•7h ago•51 comments

GLM-4.7: Advancing the Coding Capability

https://z.ai/blog/glm-4.7
259•pretext•8h ago•115 comments

Laptop Isn't Ready for LLMs. That's About to Change

https://spectrum.ieee.org/ai-models-locally
14•barqawiz•3h ago•9 comments

Claude Code gets native LSP support

https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md
328•JamesSwift•11h ago•176 comments

The Garbage Collection Handbook

https://gchandbook.org/index.html
157•andsoitis•8h ago•11 comments

NIST was 5 μs off UTC after last week's power cut

https://www.jeffgeerling.com/blog/2025/nist-was-5-μs-utc-after-last-weeks-power-cut
200•jtokoph•10h ago•97 comments

Our New Sam Audio Model Transforms Audio Editing

https://about.fb.com/news/2025/12/our-new-sam-audio-model-transforms-audio-editing/
31•ushakov•6d ago•5 comments

Show HN: C-compiler to compile TCC for live-bootstrap

https://github.com/FransFaase/MES-replacement
30•fjfaase•5d ago•6 comments

Scaling LLMs to Larger Codebases

https://blog.kierangill.xyz/oversight-and-guidance
218•kierangill•11h ago•87 comments

Show HN: Python SDK – forecasting with foundation time-series and tabular models

https://github.com/S-FM/faim-python-client
4•ChernovAndrei•4d ago•0 comments

Universal Reasoning Model (53.8% pass 1 ARC1 and 16.0% ARC 2)

https://arxiv.org/abs/2512.14693
68•marojejian•8h ago•7 comments

FPGAs Need a New Future

https://www.allaboutcircuits.com/industry-articles/fpgas-need-a-new-future/
88•thawawaycold•3d ago•65 comments

Lotusbail npm package found to be harvesting WhatsApp messages and contacts

https://www.koi.ai/blog/npm-package-with-56k-downloads-malware-stealing-whatsapp-messages
221•sohkamyung•4h ago•140 comments

How the RESISTORS put computing into 1960s counter-culture

https://spectrum.ieee.org/teenage-hackers
44•rbanffy•5d ago•6 comments

Satellites reveal heat leaking from largest US cryptocurrency mining center

https://www.space.com/space-exploration/satellites/satellites-reveal-heat-leaking-from-largest-us...
68•troglo-byte•4h ago•54 comments

The biggest CRT ever made: Sony's PVM-4300

https://dfarq.homeip.net/the-biggest-crt-ever-made-sonys-pvm-4300/
225•giuliomagnifico•14h ago•145 comments

NYC Spends $200 Million on Cell Service for School Chromebooks

https://nysfocus.com/2025/12/22/eric-adams-school-chromebooks-contract
21•h2si•1h ago•33 comments

Tc – Theodore Calvin's language-agnostic testing framework

https://github.com/ahoward/tc
17•mooreds•5h ago•4 comments

Things I learnt about passkeys when building passkeybot

https://enzom.dev/b/passkeys/
104•emadda•8h ago•60 comments

Debian's Git Transition

https://diziet.dreamwidth.org/20436.html
200•all-along•19h ago•71 comments

Hybrid Aerial Underwater Drone – Bachelor Project [video]

https://www.youtube.com/watch?v=g7vmPFZrYAk
41•nhma•18h ago•23 comments

US blocks all offshore wind construction, says reason is classified

https://arstechnica.com/science/2025/12/us-government-finds-new-excuse-to-stop-construction-of-of...
499•rbanffy•8h ago•406 comments

There Is No Future for Online Safety Without Privacy and Security

https://itsfoss.com/news/alexander-linton-interview/
60•abdelhousni•4h ago•34 comments

Programming languages used for music

https://timthompson.com/plum/cgi/showlist.cgi?sort=name&concise=yes
247•ofalkaed•2d ago•88 comments

The ancient monuments saluting the winter solstice

https://www.bbc.com/culture/article/20251219-the-ancient-monuments-saluting-the-winter-solstice
175•1659447091•18h ago•89 comments

Henge Finder

https://hengefinder.rcdis.co/#learn
51•recursecenter•9h ago•10 comments
Open in hackernews

Ask HN: How are most people converting HEIC to jpg?

16•par•3d ago
I use Automator (mac os app) to do this, but it seems like such a dumb thing to do so regularly. If i transfer a photo on my iphone via google drive or some other cloud service, it inevitably needs to be changed to jpg.

Comments

fcpguru•3d ago
there's a settings on ios to use jpgs always and just remove HEIC from your life!

Settings -> Camera -> Formats -> Most Compatible

par•3d ago
my concern was that it takes up more space on my phone, do you know if that's true?
xenospn•3d ago
You can enable your phone to offload originals to iCloud, and only download full-res on demand.
fcpguru•3d ago
yes that's true about 40% more! You can also leave as HEIC but do:

Settings → Apps -> Photos → Transfer to Mac or PC → Automatic (convert to jpg)

or

In "Shortcuts" app - select photo, convert to jpeg, save file:

https://i.imgur.com/yyUgMm1.png

Terretta•11h ago
Set this to just kick in when you transfer/export/share. It generally does the right thing. That doesn't store/keep the dupe, just delivers JPEG to target.
PaulHoule•3d ago
To make it perfectly clear, no browser support outside Appleworld

https://caniuse.com/?search=HEIC

I mostly am a DSLR photographer but for the occasional iPhone shot

https://mastodon.social/@UP8/115740936297822037

I use Photoshop. (Where's Cindy when I need her?)

dev_at•3d ago
I use LiveConvert (it runs locally on your phone). https://apps.apple.com/no/app/liveconvert-heic-to-jpg/id6747...
RegnisGnaw•3d ago
Settings -> Apps -> Photo -> Transfer to Mac or PC (Automatic).
par•3d ago
I have this selected, but if I take a photo and upload it straight to google drive, it uploads as HEIC.
claudiulodro•3d ago
I simply live with this, but if I need to download it in a compatible format from Google Drive, I just screenshot the photo from Google Drive instead of downloading it. That solves the problem for me but from a different direction.
mikece•3d ago
HEIC is a container; HEIF is a container format. I don't know why images from my iPhone get saved with a HEIC extension... seems like it should be HEIF.

That said, when I move photos from my phone to by desktop via Signal; somewhere along the way it gets converted to JPEG so it's not a concern.

mikaraento•1h ago
You do know that something similar is true for JPEG, right? :)

JPEG is a compression method. Files with JPEG-compressed data are most likely to be in either JFIF or EXIF container formats. Both will almost always use the .jpg/.jpeg file extension.

k310•3d ago
When one eludes my ban ... (see other posts how to ban it inside the phone, but it exists outside (people send me messages)) [0] samples to play with.

On the desktop, Preview app (and lots of others) will open and export as ...

On the phone (Apple, sometimes you bewilder me), You can convert in Files, not Photos. 1. Save a photo to FILES from camera roll or web (This works with webp, as well) 2. click and hold the THUMBNAIL, do not open the image. 3. Quick Actions -- Convert image. 4. You can now "save" the image (open, do not click and hold) to your camera roll.

This is BONKERS

As others have noted, "There's an app to do it".

Worst for me in daily life, when you get info on an image (in the camera roll, pull up on the image) WEBP does not even show as a file type. HEIC does.

ios 18, not 26.

[0] https://toolsfairy.com/tools/image-test/sample-heic-files

SeeManDo•3d ago
heif-convert CLI https://github.com/NeverMendel/heif-convert

Use it to convert customer images sent from iphones.

gethly•15h ago
I use VIPS cli https://www.libvips.org

I think converting HEIC into jpg would be simple

  vips copy -i src.hif out.jpg
Although I have not used it for a while so not sure it is exactly that. It also does not support batches, you must run one image at a time, but that can be scripted. It also does not support multiple operations, so you might need to use the .v extensions as intermediary between multiple presets(for example sepia + resize + crop).
jcupitt•9h ago
It's just `vips copy src.heic dst.jpg`.
gethly•8h ago
ah right, ffmpeg requires the -i, not vips.
rslashuser•1h ago
If I do this on my mac, I wonder if am technically violating the HEIC patent license. I suppose it depends on the details in the patent license, plus perhaps rights Apple has acquired for its users. I definitely don't know, but maybe someone on HN does?
zetalyrae•2h ago
On NixOS, the libheif package provides a `heif-dec` command, which you can use as follows:

    heif-dec foo.heic foo.jpg
dangus•2h ago
There are also things like Dolphin actions/addons (I forget what they’re actually called) that you can add so you can do a conversion with a right click.

They basically consume the libheif command line tool so you install that as a prerequisite.

Gwenview also opens them.

dopple•1h ago
This is exactly how I do it in KDE:

  > cat ~/.local/share/kio/servicemenus/convertHEIF.desktop 
  [Desktop Entry]
  Type=Service
  MimeType=image/heif;
  Actions=convertHEIF

  [Desktop Action convertHEIF]
  Name=Convert to JPEG
  Icon=image-bmp
  Exec=/bin/sh -c "heif-dec -q 95 %u $(dirname %u)/$(basename %u .heic).jpg"
BugsJustFindMe•2h ago
On macOS if you drag a synced HEIC photo from Photos.app to the Finder it automatically gets converted to a JPEG.
li_ion•2h ago
I’ve always right-clicked the image(s) in Finder, selected Quick Actions, and picked Convert Image. Does this still work on newer Macs?
petesergeant•1h ago
Yes
rvz•1h ago
Absolutely it still does.
reactordev•2h ago
Hi.

ffmpeg -i input.heic output.jpg

This works on all platforms. You can automate it too. I did for a cloud platform.

Best of luck.

paidsearchguy•1h ago
Usually a quick Apple Shortcut is how I go about it
linkregister•1h ago
I save my iPhone photos to my linux desktop. The default image viewing software in the Gnome 3 window manager can display HEIC images.

Conversions on the command line are simple enough with imagemagick. Prior to conversion, I use exiftool to rename the files from IMG_0123.HEIC to the date the image or video was taken, followed by a truncated sha256 digest of the file, e.g. 2025-12-22-1732-f8b7302.HEIC. Otherwise, you can get a nasty condition where the IMG_XXXX filenames collide when consolidated into the same directory.

agumonkey•1h ago
Pillow (python lib) has a plugin

libheic on some old debian had troubles parsing recent metadata, PILLOW did not

floam•1h ago
You can choose on the share sheet, right?

I’m referring to this:

- select something in Photos, then Share.

- tap “Options” under “1 photo selected” top of sheet.

The first choice there is:

Format:

[√] Automatic

[] Current

[] Most Compatible

Choose Automatic for the best format for the destination or Current to prevent file format conversions. Photos and videos may convert to JPEG, PNG, and H.264 formats if you choose Most Compatible.

Most Compatible will put a jpeg on Drive for example, I just verified myself.

liveoneggs•1h ago
this is my workflow
ComputerGuru•1h ago
The greybeards would do it with imagemagick, vips, or even ffmpeg. Gives you full control over the quality and you can script it, parallelize it, and more.
jeremymcanally•1h ago
On macOS, select images, right click, “Quick Actions,” “Convert Image.”
rvz•1h ago
That is the only correct answer for non-technical people.
czbond•1h ago
I like it - I had been taking screenshots with Cmd-Shift-4. ha!
shmerl•1h ago
image magick's convert would work.
handsclean•1h ago
Apple generally does this transparently and automatically when exporting photos. If you’re not getting that behavior then you could have it off in settings, it could be your workflow, or it could be a Google Drive bug/limitation. What exactly do you mean by “transfer a photo on my iphone via google drive”? Something like open the Apple Photos app, hit share, select Google Drive, save it somewhere there, go to the Google Drive app, and copy a link?
varenc•1h ago
Are the HEIC photos personal ones being created by an iPhone? There's a setting you can flip that'll make your iPhone just take JPGs. Which could make sense from you if you're not getting any benefit from HEIC. https://support.apple.com/en-us/116944#:~:text=How%20to%20ca...

Also I've had no problem with HEIC photos on GPhotos, Dropbox, etc. But YMMV

erikqu•1h ago
on Mac I literally just right click > Quick Actions > Convert Image > convert to jpg
michaelbryzek•1h ago
Ruby script on my PATH to use sips to convert to jpeg. I can cd to the directory and run "convert.rb" - will find all HEIC files and convert

    #!/usr/bin/env ruby
    
    def run(extension)
      files = `find . -type f -name "\*.#    {extension}"`.split("\n")
      files.each do |f|
        jpg = f.sub(/\.#{extension}/i, '.jpg')
        if !File.exist?(jpg)
          cmd = "sips -s format jpeg '#{f}' --out '#{jpg}'"
          `#{cmd}`
          puts cmd
        end
      end
    end

    run("HEIC")
    run("heic")
nine_k•1h ago
If you have imagemagick installed:

  magick mogrify -format JPG *.heic *.HEIC