News for hackers. Stuff that matters.

simon04

Italy has been doing this for decades.[citation needed]
Re:Hardware Touch, Stronger SSH on Friday December 26, 2025 @08:12AM (#46391662)
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 = [email protected]:freeCodeCamp/devdocs.git
Re:What's New in Python 3.15 on Sunday December 21, 2025 @06:01AM (#46343940)
Re:Build Your Own Router with URLPattern() on Saturday November 29, 2025 @11:54AM (#46088945)
A very tiny router is provided by nanostores: https://github.com/nanostores/router
Re:Build Your Own Router with URLPattern() on Saturday November 29, 2025 @11:47AM (#46088887)
Maybe not so much for an Internet Protocol router?
Video: https://youtu.be/U7pZbCnJxEw?t=6105 (Kernel Recipes 2025 - Day 2)
Re:A Python dict that can report which keys you did not use on Wednesday July 30, 2025 @12:46PM (#44736500)
Very useful. For configparser.ConfigParser I've found https://stackoverflow.com/a/57307141
Re:Fish 4.0.0 on Thursday February 27, 2025 @02:48PM (#43197765)
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

Re:Abusing Git branch names to compromise a PyPI package on Monday December 09, 2024 @11:56AM (#42367895)
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/

Re:Rust for Filesystems on Monday July 15, 2024 @12:07PM (#40969104)
tl;dr?
Re:Wikimedia Gitlab Migration Status on Sunday July 14, 2024 @08:12AM (#40960462)
They're self-hosting at https://gitlab.wikimedia.org/explore
Re:Wikimedia Gitlab Migration Status on Sunday July 14, 2024 @08:11AM (#40960458)
> 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?

Re:Wikimedia Gitlab Migration Status on Sunday July 14, 2024 @08:07AM (#40960437)
Have you tried Gitea Actions? https://docs.gitea.com/usage/actions/overview
Re:Currying on Monday April 08, 2024 @12:42PM (#39971456)
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.

Re:IrfanView on Sunday March 31, 2024 @08:38AM (#39883724)
Or the good (old) Scanner from http://www.steffengerlach.de/freeware/ (a <1MB executable)
Re:DevDocs on Wednesday January 24, 2024 @05:18PM (#39123350)
Re:DevDocs on Saturday January 13, 2024 @03:09AM (#38978126)
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.

Re:DevDocs on Saturday January 13, 2024 @03:02AM (#38978099)
Not that I'm aware of. In a way this contradicts the minimalistic and offline approach.
Re:DevDocs on Saturday January 13, 2024 @03:01AM (#38978094)
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.

Re:DevDocs on Saturday January 13, 2024 @02:58AM (#38978089)
The enabled docs are stored in local storage. Are you frequently deleting your browser data? The enabled docs may also be exported as well as re-imported as JSON.

Older »