HNHacker News
TopNewBestAskShowJobs

ktpsns

4,046 karma · joined July 23, 2017

Permute.
submissionscomments
ktpsns··on Markdown in /src
I generally put markdown in /docs. I don't uppercase filenames. Instead I make a documentation generator consume the files so I get a decent navigation in HTML/PDF builds.

We did put non-code into /src for a very long time: It was heredocs, multiline docs, etc. Actually my preference is to put texts close to code and only fallback to /docs/something.md at a conceptual level. Which is probably what the author proposes, given that he sees markdown as primary interface to code.

ktpsns··on Make your first edit to OpenStreetMap
+1. https://streetcomplete.app/ is really easy to get into.
ktpsns··on Finder is so frustrating and has been since day one
Thank you so much for Dolphin!

I have been a hardcore Konqueror user back in the days. Early dolphin felt like a back step. Nowadays, thought, it easily outshines Konqueror. I still miss a few KIOs which were showcased in Konqueror. I guess they were discontinued.

ktpsns··on ReactOS 0.4.16
I am just delighted by the screenshots. I love this Win9x like interface aesthetica for being dense in font size/information, very stringent in optics. Even if this is not exactly the colors and shadows of Win9x, this aspect remains. There were a few Web toolkits in the past which also had this, but since the dawn of mobile UI sickering into the desktop, we somehow lost this art. Even the rather consistent KDE/Gnome UIs don't feel so "home" for me as these (frankly nostalgic) Win9x.
ktpsns··on GitHub Has an Availability Problem. Is It Time to Look Elsewhere?
For portfolio and service only, virtually any GH alternative discussed here will do it. Even a self-hosted cgit or static page git browser will do it for read-only.
ktpsns··on Show HN: A free curl API for IP data (we scan the IPv4 space in <24h)
What about IPv6? (SCNR)
ktpsns··on Gossamer: a Rust-flavoured language with real goroutines and pause-free memory
Another thing is the stdlib integration of goroutines. We see this in Python where various generations of paradigms kind-of coexist. Golang built their goroutines into the heart of the stdlib which puts it IMHO in a special position.
ktpsns··on The CAPTCHA arms race: from distorted text to browser identity
This is the reason why I implemented rather dumb but individual, hand-crafted captchas for my own websites in the past. Things like input fields which must be left empty, silly multiple choice questions only humans could properly answer at that time, etc.

I have seen communities to implement their own captchas with domain knowledge. For instance, math/STEM people showing captchas with rather easy calculus tasks (such as solving a definite integral). This can be fun to solve and as a human you feel valued. It is this handmade feeling of the "old internet".

The problem with self-made captchas is that even them are rather easy to solve nowadays with LLMs and thelike. Therefore I don't believe that decentralized individualized captchas are the solution as they tend to be rather simple.

ktpsns··on Excessive nil pointer checks in Go
Thank you for this valuable comment!

I remember having read somewhere that zig now requires to pass the Io argument around, which one can interpret again as "colored functions". IMHO it is a missed opportunity not to implement a more polished syntax and make a message passing paradigm a "first class citizen" in zig. Anyway, I like the fact that zig is iteratively "improved" and not a virtually "dead" language compared to golang :-)

ktpsns··on The new HTTP QUERY method explained
HTTP QUERY was discussed many times in the past here:

https://news.ycombinator.com/item?id=48568502 (4d ago, 173 comments)

https://news.ycombinator.com/item?id=29794838 (4y ago, 125 comments)

ktpsns··on Optocam Zero: a Pi Zero based digital camera made using off the shelf components
It's unfair to compare an idling deep sleep device with a cold boot.

However, there is a shortcut: Just don't boot a full OS (thinking of custom firmware which boots in fractions of seconds, standard in the Microcontroller world). Or boot an optimized Linux user space. I am confident with a bit fiddling one can bring down a standard SBC Linux to a few seconds from cold to ready.

ktpsns··on A New Book on Plagiarism
In other terms: The "recent" success of AI is mostly the commercialization of industrial scale stochastic plagiarism. Compare it to piracy, done by individuals for the benefit of themselves and their friends. If they ever thought about selling their stolen goods, what could they have done for economy!
ktpsns··on Excessive nil pointer checks in Go
Honest question, what is the zig version of goroutines these days? They removed async from the spec.

Honestly the only reason why I stick to golang for some projects are goroutines.

ktpsns··on Show HN: Make PDFs look scanned (CLI or in the browser via WASM)
This is in fact useful for people who demand you to print out and sign contracts. Did so many times in the past, using some ghostscript+imagemagick scripting to avoid the cargo culturing.
ktpsns··on Please, Use a Link
It's incredible how we said the same argument in pre-web 2.0 days. People loved to write code like

    <a href="javascript:open('http://example.com')">bla</a>
I haven't seen these obscenities for a long time.
ktpsns··on Show HN: I applied Lyapunov stability theory to detect when LLM agents spiral
Lyapunov sounds a good tool but the README reads so LLM-generated and with little love that I am not bothered to look further into whether this is solid or not.
ktpsns··on Linux latency measurements and compositor tuning [KWin Wayland]
Teensy is a great choice because it has a high processor frequency for a rather cheap price (IIRC 600mhz for 20€)
ktpsns··on Get-a-Waymo: How a burglar used a robotaxi to flee the scene
Add »hacking the self-driving car« to the equation and you get the perfect classical-cyber hybrid crime. Afterwards, the poor waymo cannot remember what even has happened. That's spy film material :-D
ktpsns··on Moving beyond fork() + exec()
There is lots of discussion on this old API here on hacker news, for instance https://news.ycombinator.com/item?id=31739794
ktpsns··on Go Experiments Explained
I find the arena experiment very interesting. If done right, whole programs can be structured as as a set of arenas. I've read some things on arenas here such as https://news.ycombinator.com/item?id=37670740
ktpsns··on Shipping a laptop to a refugee camp in Uganda
Long-distance shipping is even a pain in the (so-called) developed world, for instance from Europe to the US. As soon as your shipping value exceeds a treshold (IIRC about 1000€), you have to electronically declare the customs. There are agencies specialized to do this for sth like 20€ per shipping just because it is not reasonable to get all the accounts if you do it only once in a while.

However, in my experience, "ordinary" parcel shipping (like DHL) won't do this shipping either any more: You have to switch to the express ones (like DHL express, UPS, FedEx) even if you don't intend to do any express. The difference is easily 40€ vs 400€ for shipping a shoe box!

If you ship anything slightly larger then a shoe box and slightly more expensive then a notebook, think twice whether you don't want to accompany the freight with a seat in the commodity class in some airplane. It can easily be cheaper.

ktpsns··on sp.h: Fixing C by giving it a high quality, ultra portable standard library
Exactly. This shows that "extremely portable" is actually marketing for "It supports a number of platforms. In my opinion, this number is big".
ktpsns··on Cleve Moler has died
Matlab inspired the scilab ecosystem, which is based on numpy, scipy, matplotlib, pandas. This was a major driver for the data science industry for a decade before AI kicked in and tensorflow, etc. was also built ontop of these libraries.

While I personally try to avoid contemporary matlab at any cost, the open source ecosystem is great and matlab would be my go-to tool if they would not exist.

ktpsns··on The Zulip Foundation
I just gave Zulip a try with a team of 3. I loved the UI because I spent years in pain finding things in big Slack and Mattermost installations (big = 30 users, nowhere near enterprise-level). For my two junior colleagues, instead, Zulip was too complicated. We evventually switched over to Discord.

I highly recommend Zulip to anybody who faces the problem that the concept of threads and channels is not a good fit to their mental model of tasks and groups in teams.

ktpsns··on The era of 15GB free Gmail storage is ending
I wonder why they quit their strategy of (practically) "infinite email storage". Compared to other data sources, after identifying hand-written E-Mails and attachment this would give them superior access to high quality LLM training material. I assume Mail content and GDrive file content still superior to what you find in the general "open" web.

Maybe they don't want to be evil anymore? ;-)

ktpsns··on 18 year old critical vulnerability found in Nginx
Severe, but you also need to use quite specific configuration to be vulnerable. I can imagine this pattern to be widespread in some classical PHP applications deployed via nginx.
ktpsns··on 2-D Mathematical Curves
Beautiful and informative website from the old age: Tables, tiling background pictures, no fancy fonts or colors, even the formulas (equations) are typesetted as low-res bitmaps instead of contemporary MathML/JS/etc. For me, it feels like leafing throught an old vintage book (I have plenty of old math books left from my studies).

I find it quite funny that clicking "the author" brings us to Linkedin, feels like going back to reality.

ktpsns··on From CVS to Git, thirty years of source control
That sounds awesome. A bit like plan9 philosophy "everything is a file". I wonder whether one could implement something like this with fuse+git (gitfs doesnt allow this, cf https://gitfs.readthedocs.io/en/stable/mount_options/)
ktpsns··on From CVS to Git, thirty years of source control
I loved the simple increasing numbers of Subversion. This was better then CVS "ad-hoc" versioning and also far better then git's hashes. Single numbers are easy for humans. I would love git would make it possible to work that way (there is one way: `git describe` can show something like "v1.0.4-14-g2414721" which means "14 commits ahead of tag v1.0.4".)
ktpsns··on Largest electric autonomous container ship begins commercial service
Title is misleading. The vessel has "autonomous navigation", I guess this is some autopilot function which is probably widespread these days.

I thought of "autonomous" as in "no crew onboard". That would be good for piracy (there is nobody to kidnap and no hostage which could die). For everything else I think the few humans and their facilities onboard don't make a big difference in payload or so. Having a human onboard is still an asset in many situations.

Page 1 of 34Next →