HNHacker News
TopNewBestAskShowJobs

simon04

765 karma · joined April 5, 2016

submissionscomments
simon04··on OpenStreetMap has aerial images in 5cm accuracy in Zürich, Switzerland
OpenStreetMap doesn't have/own any aerial images on its own. Its editing tools (such as JOSM and iD) integrate various imagery sources. Most of them are under a free license from open data portals.
simon04··on BearSSL: A smaller SSL/TLS library
> TLS 1.0, TLS 1.1 and TLS 1.2 are supported. By design, SSL 2.0 and SSL 3.0 are not supported.

TLS 1.3 isn't mentioned.

simon04··on Node.js HTTP client axios pushes broken update breaking production apps
Here's the refund form: https://notepad-plus-plus.org/news/v843-unhappy-users-editio...
simon04··on Asrock sabotages its own motherboards with RAM slot sticker
ASRock's response to a Reddit post: https://www.reddit.com/r/ASRock/comments/xrdvnk/infuriating_...
simon04··on Four high school students hacked 500 screens across campus as graduation prank
Related story: https://news.ycombinator.com/item?id=28844101
simon04··on The future of Nginx: Getting back to our open source roots
Unless you want a good HTTPS configuration. The output of https://ssl-config.mozilla.org/#server=nginx is significantly longer than the one for caddy.
simon04··on Maps.earth – free and open-source web maps
Using tile.openstreetmap.org is subject to the OSM tile usage policy: https://wiki.openstreetmap.org/wiki/Tile_usage_policy
simon04··on Setting up a Pi Hole made my home network faster
This issue might relate to Java's URL class equals/hashCode doing DNS lookups which is specified in Javadoc https://docs.oracle.com/javase/8/docs/api/java/net/URL.html#... but reported by various linters such as https://errorprone.info/bugpattern/URLEqualsHashCode
simon04··on Firefox 100
Disable every Firefox anti-feature using https://ffprofile.com/
simon04··on AltWinDirStat
For Windows systems I'm a big fan of this freeware: Scanner.exe (one executable of 478 kB) –http://www.steffengerlach.de/freeware/
simon04··on How to Learn Nix
A searchable nix config index would be easy to setup using https://github.com/hound-search/hound
simon04··on Leaflet: “the future of Ukrainian citizens is the future of Leaflet”
GitHub issue "Taking down the website in support of Ukraine" including some discussion: https://github.com/Leaflet/Leaflet/issues/8024
simon04··on Files – Single-file photo gallery and file manager
> The page also pulls a lot of scripts off the Internet on every load

It loads 14 resources from https://cdn.jsdelivr.net/npm/

simon04··on Files – Single-file photo gallery and file manager
Before that, we had WinZip, which is still around and trying to sell its program suite.
simon04··on Curl with Rust by Daniel Stenberg (Rust Linz, 2022-01, YouTube)
Daniel Stenberg is talking about three Rust based backends for curl: hyper (HTTP/2), rustls (TLS), quiche (HTTP/3). https://github.com/curl/curl/blob/master/lib/c-hyper.c https://github.com/curl/curl/blob/master/lib/vtls/rustls.c https://github.com/curl/curl/blob/master/lib/vquic/quiche.c
simon04··on Grep flags – the good stuff
https://explainshell.com/explain?cmd=grep+-rilIv
simon04··on Gitlab is down
https://status.gitlab.com/pages/incident/5b36dc6502d06804c08... – January 31, 2022 15:22 UTC – System Wide Outage
simon04··on Charm – Tools to make the command line glamorous
Or the awesome https://github.com/rastapasta/mapscii :))
simon04··on Do not use 'week year': YYYY
I love Go's date format syntax:

> The reference time used in these layouts is the specific time stamp: 01/02 03:04:05PM '06 -0700 (January 2, 15:04:05, 2006, in time zone seven hours west of GMT). That value is recorded as the constant named Layout, listed below. As a Unix time, this is 1136239445.

> RFC3339 = "2006-01-02T15:04:05Z07:00"

https://golang.org/pkg/time/

simon04··on Irojs
I wonder why Google came up with the EyeDropper Web API: https://developer.mozilla.org/en-US/docs/Web/API/EyeDropper
simon04··on Log4j RCE Found
CVE-2021-44228 – https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-4422...

Also linked from https://logging.apache.org/log4j/2.x/security.html

simon04··on Log4j RCE Found
To enable the mitigation for Apache Tomcat, set `JAVA_OPTS=-Dlog4j2.formatMsgNoLookups=true`

For instance, when starting with systemd, add `Environment=JAVA_OPTS=-Dlog4j2.formatMsgNoLookups=true` to your service file.

You should find `Command line argument: -Dlog4j2.formatMsgNoLookups=true` in catalina.out

simon04··on Tools I use: PyCharm / Idea plugins
> Vscode has its equivalent at ctrl+shift+p

Or F1. I've set this key mapping also in IntelliJ. It's faster to type than twice the same key.

simon04··on Please stop “Edit this on GitHub ”
Links like https://github.com/vuejs/docs/edit/master/src/guide/introduc... instead of https://github.com/vuejs/docs/tree/master/src/guide/introduc...
simon04··on Why does anyone use Angular in production?
> Angular came out years ago, back when jQuery was the defacto standard

You seem to be confusing Angular.js (≤1.8) with Angular (aka Angular.io, ≥2.0). The latter is an incompatible rewrite of the former.

simon04··on Prettymaps: Small Python library to draw customized maps from OpenStreetMap data
You might want to look into OSMCoastline, a separate piece of software written specifically to make the coastline usable for renders: https://osmcode.org/osmcoastline/
simon04··on 5kb subset of Vue optimized for progressive enhancement
Indeed very promising. It's worth checking out the vue (in)compatibility section of the readme: https://github.com/vuejs/petite-vue#vue-compatible
simon04··on Compressing JSON: Gzip vs. Zstd
1301878 - (zstd) Implement support for Zstandard (zstd) - https://bugzilla.mozilla.org/show_bug.cgi?id=1301878

912902 - Investigate zstd for JS source string compression - chromium - https://bugs.chromium.org/p/chromium/issues/detail?id=912902

simon04··on Intl
Here's the corresponding GitHub issue: https://github.com/mdn/browser-compat-data/issues/5476
simon04··on Ask HN: Pros and Cons of Switching from Linux to M1 MacBook
I've been using Arch/Fedora with i3 and us-intl keyboard layout (plus xmodmap customizations).

After 5+ months, the shortcut (involving control/option/command instead of ctrl/alt) and keyboard layout (for characters like äöüß»«) still drives me crazy. Daily. It's super hard to re-train your muscle memory regarding complex shortcuts from IDEs such as VS Code and IntelliJ. I've found myself to rather use the mouse for certain tasks because I cannot recall the correct shortcut.

In those 5 months, I've probably installed 5 macOS upgrades each requiring >6GB download and >30min installation time.

Besides that, I'm very happy with the hardware: overall quality, great touchpad, great performance, no fan in the MacBook Air.

← PreviousPage 2 of 3Next →