Hacker Newsnew | past | comments | ask | show | jobs | submit | zombiemama's commentslogin

Secondly, if his creations are going to be relied upon, it will be the programmer's primary task to design his artifacts so understandable, that he can take the responsibility for them, and, regardless of the answer to the question how much of his current activity may ultimately be delegated to machines, we should always remember that neither "understanding" nor "being responsible" can properly be classified as activities: they are more like "states of mind" and are intrinsically incapable of being delegated.

EWD 540 - https://www.cs.utexas.edu/~EWD/transcriptions/EWD05xx/EWD540...


1. Radio Študent Ljubljana - public radio, est. 1969 - https://radio.garden/listen/radio-student-fm-89-3/H12zH5Xj

2. KFFP Freeform Portland - https://radio.garden/listen/kffp-freeform-portland/wgDi5KFv

3. Radio Gugelhopf from Zürich - internet radio - https://radio.garden/listen/radio-gugelhopf/q4oFNLjR


In station submission form there's a stream URL field with following restrictions:

The stream may be submitted in MP3, AAC, M3U or PLS format, and must be online 24/7. Please enter a secure HTTPS url if you have one.


I once saw a spider amputate its own leg. It was severely crippled, only able to move in small circles. Then it suspended itself from a small shelf and started biting off the one leg that was immobile. After it was done it lowered itself on the ground and walked away totally fine.

Since the behaviour seemed very innate I figured that it must be something that happens frequently and is a known phenomenon.

Or maybe ant scientist just don't read spider papers :)


That's a common adaptation to escaping predators that many long-limbed arthropods have: https://en.wikipedia.org/wiki/Autotomy



Nice! Looks reasonably comparable at a glance for the collections section.


Sure, but I strongly suspect that it was a part of the corpus (it's been online for ~5 years now).


I asked it to generate something similar for golang with a snippet of the list section, and the results look pretty similar. So I don't think it's relying too heavily on a direct example.


I think you're right, I already asked it for some libraries that are not included in the original (fuck my life :) https://gist.github.com/gto76/9ed16511a046d9746d38c55a14ec09...


Really solid chat prompt idea, for sure!


I've used state machines twice, both times for GUIs.

It took more time to program than a bunch of messy if-else logic would, but it was well worth it. The knowledge that your GUI can't find itself in an invalid state is realy reasuring, and also it's preety easy to add new states/logic after you get over the initial hump.


Two times I can recall using them in real life were for parsers to identify MIME and CSV files. I thought it was pretty elegant, but zoom forward a few years, and I got to listen to the new guy tell everyone in scrum how he had to fix a bug in there and it was all, ugh, *weird*.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: