News for hackers. Stuff that matters.

__mp

Re:I trained a 360M model to pretend to be a terminal on Thursday October 22, 2026 @01:37AM (#50191576)
It would be interesting to expose this on the internet. I wonder what the scrapers etc… would do with it.
Re:Ask HN: What Are You Working On? (July 2026) on Monday July 13, 2026 @01:31AM (#48888306)
I built my own weather prediction / visualization app: https://wx.rsp.li (on-device temperature lapsing, on device interpolation modes, user-selectable aggregations, etc…). One of these days I should do a writeup.

I also asked Claude to build a photo gallery for me https://places.pascalspoerri.ch (HDR, map support, similar images)

I enjoy Opus on personal projects. I don’t even bother to check the code. Go/JavaScript/Typescript/CSS works very well for me. Swift not so much. I haven’t tried C/C++ yet. Scala was Ok.

Professionally I hardly use the tools for coding, since I’m in an architecture role and mostly write design docs and do reviews. And I write the occasional prototype.

I have started building tools to integrate copilot (Opus) better with $CORP. This way I can ask it questions across confluence and github.

Leveraging Claude for a project feels very addictive to me. I have to make a conscious effort to stop and I end up working on multiple projects at the same time.

yes. depending on the techstack your experience might be better or worse. HTML/CSS/React/Go worked great, but it struggled with Swift (which I had no experience in).
Re:Ladybird Browser adopts Rust on Monday February 23, 2026 @09:28PM (#47132110)
you have to ask it to profile and optimize the code for you. Then have it document the changes and run it in a loop. It’ll do wonders.

I asked a cursor agent to do the same for a geotiff to pmtiles converter. It managed to optimize the performance from tens of days to half a day for the case I wanted to solve.

I’ve been toying with the idea of implementing a distributed analytics engine on top of Cloudflare workers and DuckDB.

I’m not sure if this goes against the CloudFlare TOS tough (last time I checked they had some provisons against processing images).

Re:Ask HN: Programming Courses for Experienced Coders? on Friday December 29, 2023 @10:39AM (#38806057)
"Computer Systems: A Programmer's Perspective" is a great introductory systems textbook on everything going on in a computer.

For more advanced C/C++ developers I can recommend "The Linux Programming Interface" - (https://man7.org/tlpi/). It is a GREAT compendium for writing code against the POSIX API. I have a (legal) copy of this book on all the computers I have access to.

"The Database Redbook" - (http://www.redbook.io) is a valuable source on database implementations.

"Compilers: Principles, Techniques, and Tools" (Dragon Book) is a great starting point. The book is out of print and but I think it should still hold up for most basic use-cases.

Re:Ask HN: Programming Courses for Experienced Coders? on Friday December 29, 2023 @10:28AM (#38805945)
I understand. But as a long-time programmer I like to explore new programming languages or APIs by working on a small project. I start with a first prototype to get the feel of the language, before I look into extended documentation. Chat GPT helps with this use-case.

It's also more fun to have something which can be easily extended than to start from scratch.

Re:Ask HN: Programming Courses for Experienced Coders? on Friday December 29, 2023 @09:35AM (#38805336)
When writing a small application in Go I had great success asking Chat GPT specific questions. It helped me figure out which packages I needed to use and how to interact with them.

I understand that this might not fit your use-case, but it's worth a try. Just be aware that it tends to hallucinate APIs.

Re:Dark Sky iOS app will no longer work from Dec 31 on Tuesday September 13, 2022 @04:26AM (#32821872)
I like

- https://www.meteoblue.com - check out the multi model, the multi model ensemble , the meteograms and the weather maps! Sadly the app itself is not as good as the website.

- https://yr.no - One of the few "free" providers with ECMWF model data (Norway has open data, that's why the data is free)

- https://www.windy.com/ - ECMWF, GFS and ICON. I don't like their presentation, but the available data is quite nice.

If you want a DarkSky replacement API, then checkout out https://pirateweather.net/ (GFS only, sadly :/ )

Re:The largest model airport and railway on Thursday August 25, 2022 @05:11AM (#32591364)
They have also a great YouTube channel: https://www.youtube.com/c/MiWuLaTV
It looks very nice
Hugo is very fast in updating a website. Unless you have thousands of blog posts I would not bother.

You can self-host it on a "cheap" webhost and rsync the changes (that's the way I do it). Or you can integrate it with Github and host it with

- Netlify https://gohugo.io/hosting-and-deployment/hosting-on-netlify/

- AWS Amplify https://gohugo.io/hosting-and-deployment/hosting-on-aws-ampl...

- Cloudflare Pages https://developers.cloudflare.com/pages/framework-guides/dep...

to name a few. The hugo site has a couple of howtos.

Some hosting solutions require that the entire website is stored in a separate branch, others regenerate the HTML through a CI pipeline and store it in an object store.

Sure, there's certainly interest in doing this. See this post for more details: https://misha.brukman.net/blog/2022/04/writing-math-with-hug... (I'm not the author of this post)

Client-side rendering works well enough for me, and has been for years (as a visitor). I don't see a benefit to integrate a custom Hugo patch to get server-side rendering for my simple personal blog.

Hugo in combination with the Congo Theme (see https://github.com/jpanther/congo) has scratched this itch for me. The theme is well thought out and has all the features I need.

There's the usual youtube and vimeo integration, but also

- integration with Flowcharts through mermaid https://jpanther.github.io/congo/samples/diagrams-flowcharts...

- charts through Chart.js https://jpanther.github.io/congo/samples/charts/

- and even LaTeX support: https://jpanther.github.io/congo/samples/mathematical-notati...

Re:My journey for dual displays with my M1 Pro Mac (2021) on Saturday March 05, 2022 @02:01AM (#30565095)
You can use better dummy to achieve a similar resolution: See here https://github.com/waydabber/BetterDummy and this MacRumors thread https://forums.macrumors.com/threads/m1-mbp-lg-34-inch-ultra...

I tried it on my M1 Mini + LG5K2K and soon disabled it again. The performance impact was noticeable in Lightroom and the display adapter config got in the way once I switched display input to my work laptop.

Re:macOS Setup after 15 Years of Linux on Friday December 31, 2021 @12:23AM (#29745226)
I faced similar issues with the Swiss keyboard layout. I suggest switching to the “US International“ layout and use the dead keys to obtain the umlauts. There’s also a keyboard option that enables a umlaut menu with a long press on the keyboard- if you really want to avoid the dead keys (this might help: https://apple.stackexchange.com/questions/254094/character-a...).

The Apple “English International“ keyboard has a big enter key - if you dislike the small enter key of the US keyboard layout.

Re:The open calendar, task and note space is a mess on Tuesday August 31, 2021 @01:49AM (#28364374)
Fantastical (iOS/macOS) solves this use-case for me. It supports configuring different views (personal, work, etc...). Moving an event from one calendar to another calendar is also well-supported.
Switzerland, I’m getting 1, 10 or 25gbit (ptp) from my local isp (https://www.init7.net) for ~70 usd per month. I currently only use 1gbit because the 25/10gbit hardware is too big or too loud to fit into my electrical cabinet. There’s also cheaper 1/10 gbit options, but they suffer from massive oversubscription and gpon.
Re:Astronomical Algorithms (1999) on Sunday April 25, 2021 @02:29AM (#26930728)
It looks like they disabled their webshop:

  We are closed for business.
  New orders are no longer accepted.
We're using FastAPI for the backend. We then use the OpenAPI.json exposed by the documentation endpoint to generate API bindings for Typescript.
Re:Dissecting the Apple M1 GPU, Part II on Friday January 22, 2021 @01:24PM (#25874455)
The published code on Github looks very nice! It is easy to read and understand.

Kudos to Alyssa!

Re:27-inch iMac gets a major update on Tuesday August 18, 2020 @07:58AM (#24197611)
There you go: https://support.apple.com/en-us/HT208544

> 1. If you have a Mac mini (2018) with FileVault turned on, make sure to connect your primary display directly to Mac mini during startup. After you log in and see the macOS Desktop, you can unplug the display from Mac mini and connect it to your eGPU.

Re:27-inch iMac gets a major update on Wednesday August 05, 2020 @12:52AM (#24057352)
For me, the eGPU setup is not worth the benefits. I am also waiting for Apple Silicon to streamline my setup.

I have a MacMini + eGPU. Every time I (re)boot the machine I have to remember to remove the remove the eGPU: Otherwise I cannot enter the filevault password. This is super annoying since the machine seems to have crashed every time I want to use it (even without an eGPU).

Previously I used the eGPU with an 13” MPB and the experience was annoying in different ways: Simply unplugging the eGPU kills the programs using it. Every time I wanted to “undock” the MBP I had to remember to click to remove the eGPU from the MBP: otherwise half the programs running are killed/not responsive.

Re:Building the ultimate home office again on Sunday July 26, 2020 @02:23AM (#23954893)
Re conbee2:

Checkout https://phoscon.de/en/conbee2 You can control a wide range of Zigbee devices without installing a gateway. From Philips Hue or Ikea lamps to plant sensors from Aliexpress.

List of supported devices: https://github.com/dresden-elektronik/deconz-rest-plugin/wik...

You would integrate the devices with an OpenSource HomeKit or HomeBridge implementation on a Raspberry or similar into your home.

Re:The “mail is hard” myth on Sunday September 01, 2019 @03:43PM (#20854337)
I also use Fastmail to host my calendar and contacts - next to my email. I enjoy the web interface and lI especially like that the iOS integration just works.
Re:Run Your Own Website on Friday July 05, 2019 @11:00AM (#20363003)
0) Get a cheap virtual/dedicated machine.

1) Install docker and docker-compose

2) Setup traefik, a reverse proxy, in docker (good starting point: https://docs.traefik.io/user-guide/docker-and-lets-encrypt/ ).

3) Run $docker container (ghost, wordpress...). I typically use one docker-compose file for each domain. "expose" is not necessary because the requests are proxied by traefik.

Here's a docker-compose sample for a website available under my-website.com:

    version: '3'
    
    services:
        web:
            container_name: my-website.com-nginx
            image: nginx
            restart: unless-stopped
            volumes:
                - ./data:/usr/share/nginx/html
            labels:
              - "traefik.docker.network=web"
              - "traefik.enable=true"
              - "traefik.basic.frontend.rule=Host:my-website.com"
              - "traefik.basic.port=80"
              - "traefik.basic.protocol=http"
    
    networks:
        default:
            external:
                name: web

There are probably more elegant ways to do this, however I found it quite effective for my setup.

Older »