Better HN
topnewbestaskshowjobs
Log inSign up

simon04

766 karma · joined Apr 5, 2016 (10y ago) · 125 submissions

Submissions

1.

Maplair 4.0 – A Fork of Leaflet(maplair.org ↗)

3 points · by simon04 · 1mo ago · discuss

comment 4mo ago · link · parent

Here is a 136 line Python version: https://github.com/simon04/dotfiles/blob/master/.local/bin/e...

comment 4mo ago · link · parent

Italy has been doing this for decades.[citation needed]

4.

KDE: 30 years of the Linux desktop (video media.ccc.de)(media.ccc.de ↗)

4 points · by simon04 · 7mo ago · discuss

comment 11mo ago · link · parent

Using a Token2 based id_ed25519_sk_rk key, I found very helpful to configure a different `pushurl` in `.git/config`. This allows to pull via HTTPS w/o a hardware touch.

    [remote "origin"]
            url = https://github.com/freeCodeCamp/devdocs.git
            pushurl = git@github.com:freeCodeCamp/devdocs.git

6.

ISBN Visualization(annas-archive.li ↗)

67 points · by simon04 · 11mo ago · 13 comments

comment 11mo ago · link · parent

Ruff's rule is derived from Pylint: https://docs.astral.sh/ruff/rules/unspecified-encoding/

comment 12mo ago · link · parent

A very tiny router is provided by nanostores: https://github.com/nanostores/router

comment 12mo ago · link · parent

Maybe not so much for an Internet Protocol router?

comment 1y ago · link · parent

Video: https://youtu.be/U7pZbCnJxEw?t=6105 (Kernel Recipes 2025 - Day 2)

comment 1y ago · link · parent

Very useful. For configparser.ConfigParser I've found https://stackoverflow.com/a/57307141

12.

Leaflet: Pre-Release v2.0.0-Alpha(github.com ↗)

2 points · by simon04 · 1y ago · discuss

13.

Zod 4 Beta(v4.zod.dev ↗)

2 points · by simon04 · 1y ago · discuss

comment 1y ago · link · parent

Nice, it has landed. Now I'm getting:

> warning: Could not set up terminal for $TERM 'xterm-ghostty'. Falling back to hardcoded xterm-256color values

15.

Keycloak – Authorization Services – ABAC+RBAC+UBAC+CBAC(keycloak.org ↗)

1 points · by simon04 · 1y ago · discuss

16.

JPEG AI: Standard for Image Coding Based on End-to-End Learning-Based Approach(jpeg.org ↗)

2 points · by simon04 · 1y ago · discuss

comment 1y ago · link · parent

How could this happen? We're storing deploy credentials in GitHub, and configure fully automated deploy pipelines using YAML and Shell. Escaping 101. xD

https://xkcd.com/1638/

18.

Angular v19(blog.angular.dev ↗)

1 points · by simon04 · 2y ago · discuss

comment 2y ago · link · parent

tl;dr?

comment 2y ago · link · parent

They're self-hosting at https://gitlab.wikimedia.org/explore

comment 2y ago · link · parent

> other CI systems also have this problem, but often provide mechanisms to write individual tasks in other languages

GitLab CI allows to run a bunch of commands in any Docker image you specify. The Docker image and/or your scripts may be self-written.

How do you find, for instance, GitHub Actions more advanced?

comment 2y ago · link · parent

Have you tried Gitea Actions? https://docs.gitea.com/usage/actions/overview

comment 2y ago · link · parent

Unfortunately typing doesn't fix this. The 2nd callback function argument of Array.map is (index:number), and the 2nd argument of Number.parseInt is (radix:number).

It's a very nasty issue to debug.

comment 2y ago · link · parent

Or the good (old) Scanner from http://www.steffengerlach.de/freeware/ (a <1MB executable)

comment 2y ago · link · parent

https://news.ycombinator.com/item?id=39003292

comment 2y ago · link · parent

Here you go: https://devdocs.io/playwright/

comment 2y ago · link · parent

I'd need to look up the individual scrapers for a fair comparison, since I tend to forget/mixup the challenges. Some scrapers have been around for 10 years and only required little updates.

In general the more native HTML elements and the more descriptive CSS classes are used the easier it gets. Disadvantageous is when great parts of a doc page are built using JavaScript, e.g. when the whole nav is generated dynamically as the nav is typically the source for categorization/grouping on devdocs.

comment 2y ago · link · parent

Not that I'm aware of. In a way this contradicts the minimalistic and offline approach.

comment 2y ago · link · parent

Here's how to add a new scraper: https://github.com/freeCodeCamp/devdocs/blob/main/.github/CO...

Or open an issue and wait for somebody else to implement the scraper.

12345