HNHacker News
TopNewBestAskShowJobs

ktpsns

4,061 karma · joined July 23, 2017

Permute.
submissionscomments
ktpsns··on Python on My Wrist
Are there any "hackable" smart watches with (e)SIM available? I would love to have such a toy as standalone device with internet access. All I've seen so far have only BLE.
ktpsns··on Please Let the Internet Die
The nice thing about the internet is that people blame a good portion of websites, but you can happily live in the internet without visiting the web at all. The Gemini protocol is a good example. Fediverse is another.

People don't want to social dropout (neither physically nor in the internet), so it is a common thing to ask others to support the own decision (like a group social dropout). This obviously won't work on big scales because it never did. "The internet" will only decline if somebody invents "a better internet", which will most likely be some protocols based on the existing ones.

ktpsns··on SpeedCrunch 1.1
Calculator++
ktpsns··on I can't believe PowerShell is good
This is not true. There is dbus these days. There was CORBA and friends in days when COM was new.
ktpsns··on Making a 88x31 button book using ImageMagick

   <input.txt tr '\n' ' ' | tr -d '\r' | fold …
is valid bash and does the same as cat input.txt | tr ...
ktpsns··on The DNS Museum
The various "VPN/IP over DNS" solutions miss a typical, more performance variant: VPN over UDP/53. Because DNS is frequently not filtered in badly locked down hotspots.
ktpsns··on Chrome and Edge are removing XSLT: what breaks and what does not
With all respect - the opposite is true. The web succeeded because HTML and HTTP are easy standards easily writable by humans with text editors. HTML was writable by non-programmers.
ktpsns··on Yet another way to invoke functions in JavaScript without parentheses
Mathematica has a crazy amount of syntax abbreviations (https://reference.wolfram.com/language/guide/Syntax.html). Of course your whish is fulfilled there: x // f called the postfix operator.
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".
Page 1 of 34Next →