News for hackers. Stuff that matters.
Re:Ask HN: Developers, what is the last significant thing yo... by mindcrime on Wednesday July 08, 2020 @09:20AM (#23769584)
I just (in the last month or so) learned how to expose the Docker daemon to code running inside a container, so you can create a "container controlling container." This works out really nicely for something I've been working on, which involves running smoke-tests inside a container. This way, the tests can programmatically request a container instance of the system under test, and then destroy it, without the need for any sort of coordinator code running one level higher.

I've also recently (last couple of months) learned just enough Common Lisp to feel like I am close to "turning the corner" and starting to grok Lisp. If I keep at it, I think I'll be at a place where I could write something meaningful in Lisp before much longer. This feels significant to me, as "learn Lisp" has been on my "to get around to one day" list for about 20 years now.

Re:Ask HN: Developers, what is the last significant thing yo... by m0ck on Wednesday July 08, 2020 @08:45AM (#23769305)
When writing unit/integration tests and they fail, consider possibility the test is wrong.

Yesterday I spent two hours researching UUID mappings in H2 and PostgreSQL and trying various combinations of annotations just to find out that I accidentally deleted last character of the hardcoded "expected" result.

Re:Ask HN: Developers, what is the last significant thing yo... by medymed on Wednesday July 08, 2020 @08:55AM (#23769384)
In Haskell you can generate an infinite list of all integers starting from 1 with [1..]

This is both very succinct but for best use also requires a sufficient understanding of what goes on in the backend, which is true for many features of the language and isn’t always encouraging for uptake. Syntactical elegance and efficiency sometimes comes at a cost of high information/context overhead.

Re:Ask HN: Developers, what is the last significant thing yo... by lanecwagner on Wednesday July 08, 2020 @08:04AM (#23769053)
While developing https://classroom.qvault.io I've been learning that I forget how not obvious literally everything about coding is.

In the first course I had feedback like, "I didn't understand code starts at the top and goes down"

Re:Ask HN: Developers, what is the last significant thing yo... by kamyarg on Wednesday July 08, 2020 @07:47AM (#23768947)
Some items I can recall:

- using CLoader for YAML loading in Python is x10 faster. (Last weekend)

- Chrome DEV Tools has an option to simulate different network speeds, really useful if you are developing for the developing work when cellular speed can be very low. (~1 year ago)

Re:Ask HN: Developers, what is the last significant thing yo... by HelloFellowDevs on Wednesday July 08, 2020 @02:22PM (#23772742)
I've just recently committed myself to take Javascript seriously and more than a language that can work with frameworks.
Re:Ask HN: Developers, what is the last significant thing yo... by giantg2 on Wednesday July 08, 2020 @03:33PM (#23773420)
The last useful thing I learnt is the company always wins and you are worth nothing.