HNHacker News
TopNewBestAskShowJobs

2mol

695 karma · joined July 14, 2018

submissionscomments
2mol··on Software Dev Can't Be Automated – It’s a Creative Process with an Unknown Goal
Nice rebuttal, even though you might be projecting a bit at the parent commenter :)

I used to be a consultant in this space, and I can confirm the existence of these completely different bubbles. Ironically one of the root causes is how badly banks want developers to be interchangeable commodities.

2mol··on M1 MacBook Users Say Their Screens Are Cracking for “No Apparent Reason”
How about M1 MacBook users are complaining en masse about insane mouse jitter/lag [0]. It really drives you slightly insane when it happens a couple of times per hour.

[0]: https://www.google.com/search?q=macbook+m1+mouse+lag

2mol··on My mindfulness practice led me to meltdown
well please elaborate, now I'm curious!
2mol··on Transcript of controller telling plane to land in Minsk
Because (in the modern news cycle) being first is more important than the risk of being wrong?
2mol··on Nix is the ultimate DevOps toolkit
I think https://nix.dev is what you are looking for. It's a really great resource (and no need to go all in and do _everything_ in nix)
2mol··on Claude Shannon Demonstrates Machine Learning (1952)
I recently watched a charming documentary on Shannon, called The Bit Player [0]. The film has some annoying flaws, but it really highlights how much Shannon was outside the box for a mathematician. He seems to have been extremely playful, and tinkering with hardware projects throughout his life.

How he even managed to make a (very limited) endgame chess computer [1] ~70 years ago still blows my mind.

[0] https://thebitplayer.com/

[1] https://www.chess.com/article/view/the-man-who-built-the-che...

2mol··on Show HN: Sokyokuban, a puzzle game in a non-Euclidian world
There is a teensy explanation on the about page: https://sokyokuban.com/#about

I'm sure the authors would also be more than happy to answer that question.

2mol··on How Tail Call Optimization Works
For a high-level overview, I found this talk [0] at !!Con 2019 both entertaining and really informative.

[0] Tail Call Optimization: The Musical: https://www.youtube.com/watch?v=-PX0BV9hGZY

2mol··on Slack is down
Zoom as well, no? Beautiful to see the whole team grinding to a halt. Or maybe everybody finally is getting some time for deep focused work.
2mol··on PostgreSQL Configuration for Humans
That's awesome! Do you know something similar for sane security settings?
2mol··on figlet – a program for making large letters out of ordinary text
If you happen to use something like direnv, I like use

toilet Projectname -f future --gay

It gives me great pleasure to have a project banner this way, every time I cd into the project directory.

2mol··on Ask HN: What are good life skills for people to learn?
Cooking
2mol··on I no longer build software
I did basically this for a year, except in my main bedroom (didn't have a spare). You're right to be worried about dust and noise.

For the dust I had a pretty powerful airfilter, but I would still have clouds of dust coming out of my pillow/sheets.

I would have said that general noise during the day was ok in my case, but that was before everybody worked from home.

For chiseling you can actually do a lot without hammering. If your chisels are sharp enough, you can push them through the wood for most techniques. That's what I did when I worked in the evenings.

It helps to have a very heavy workbench that doesn't move too much. Sawing still makes noise though, and planing kinda does too.

All in all, less than ideal, but for me it was great for a while! It really depends on what size and type of things you want to make. Feel free to specify and I can give more details.

I think it makes sense to explore other options as well: renting a garage, finding a community workshop, etc.

2mol··on I no longer build software
Thanks :) I take little credit, because nowadays a lot of this is very achievable to learn with youtube and a bit of patience.

It's really incredible how much tacit knowledge transfer is made possible because of youtube. Definitely one of the purely positive aspects of the platform and the internet in general.

2mol··on I no longer build software
Welcome to this beautiful hobby! I'm sure you'll love it for a long time to come (as you said, it helps to not _have_ to do it for 40hrs a week).

I want to add to your description and say that the design part of the work can also be hugely satisfying! I found that there is something similar to software engineering: you can make it as simple [1] or complicated as you want, but there is something magical about finding the simplest solution that gets the job done.

Consider posting some photos on the woodworking subreddit if you make something cool!

[1]: a minimalist piece that I'm personally proud of: https://www.juricho.me/zurich-table/

2mol··on Ask HN: Recommendations for Good TUI Libraries (Text User Interface)?
Can confirm that it's awesome for getting something small and useful done quickly.

I was a beginner Haskell programmer when I first used brick, and it's great exposure to building a real world application (something a lot of Haskell beginners crave learning). Docs are very good too.

Code for anyone that might find it useful: https://github.com/2mol/pboy

edit: forgot to mention that it's very "Elm architecture", so if you like modern frontend development, then you might feel right at home in that paradigm.

2mol··on Show HN: Dropbase 2.0 – Turn offline files into live databases
Looks very cool so far, congratulations!

I have two questions:

- How do you handle incremental loads from files (or even google sheets)? Am I able to only load the diff, load full snapshots and get bi-temporality, etc?

- Are you supporting PostgREST as sponsors in any way? It's one of the most solid tools I've ever used, and I love to see that companies build great products on top of it!

2mol··on Do I Need Kubernetes?
I get it, but it's not really doing the author justice, who's trying to give a quite nuanced overview of where kubernetes is a good fit, and where it isn't.

As somebody who's pretty skeptical about onboarding the big lump of complexity that is k8s, I really appreciated the information in the article.

2mol··on Launch HN: Stacker (YC S20) – Create Apps from Airtable or Google Sheets
Looks good at first glance. What are the auth options? In an enterprisey context SSO can be quite important, and I feel like a lot of hosted apps could really benefit from some form of Active Directory integration.
2mol··on PostgreSQL beginner guide
Who knows! That's my struggle with security, unless you have good monitoring in place it's not even trivial to notice problems.

In my case I was only made aware of the compromised VM because my hosting provider sent me very stern email about my server's IP netscanning their entire fricking address range.

2mol··on PostgreSQL beginner guide
Yeah, my thought is that I've had a great time just dumping most data into a `jsonb` column.

You can then extract fields into their own columns over time, as you learn more about your domain. JSON support is pretty excellent.

2mol··on PostgreSQL beginner guide
So this is cool, and can serve as a good cheatsheet for beginners.

However, the question where I struggled the most: how the hell do I set up a secure Postgres instance on some cloud VM or server? (I _really_ love those 2.50 bucks per month instances)

I spent a fair amount of time reading up on it, but it's still really easy to make a mistake in your `pg_hba.conf` or somehwere else. I remember disabling password based login, and just authenticating over SSH, and my server still got compromised after a day or two. 100% my fault - I think it was related to `COPY FROM/TO` being able to run arbitrary commands because I didn't understand that `postgres` is regarded as a superuser by the database.

I've been using managed services like Heroku Postgres and RDS ever since.

Point is: it would be of huge value to have a clear (but complete) overview of how to configure a Postgres instance so that it's secure in the basic sense. If that isn't possible (or very hard) then please let's collectively tell beginners to just use managed instances.

2mol··on Pain Points of Haskell
The tooling situation has rapidly improved in my opinion, nowadays ghcide [0] (a language server implementation) is really great and easy to set up.

I really do hope that not too many people feel like the message is "keep out". In recent years the community has generally strived to be welcoming to beginners and share the excitment of learning Haskell, without the arrogance.

The aforementioned tooling improvements were only possible because a bunch of excellent people did exactly what you mention: tackle everyday productivity and pleasantness by improving IDE integration deep into the stack, all the way to the information the compiler makes available to the tooling.

If you want to get a fresh impression, ZuriHac [1] is happening (remotely) this weekend, and there is an online class for absolute beginners held by the excellent Julie Moronuki (of haskellbook.com fame).

Disclaimer: I'm very biased, because I'm a co-organizer, but I think it will be great fun!

[0]: https://github.com/digital-asset/ghcide

[1]: https://zurihac.com

2mol··on A new project: multi-track audio editing (2005)
This is great, your long answer is much appreciated!

Definitely a lot to digest, so I look forward to trying out some apps and workflows. I'm happy to connect via twitter, and if you need a beta tester for any eventual blogpost, then I'm more than glad to help out.

I think a focus on just one style makes sense. For me it's definitely more in the groovebox category, even if there is still multiple aspects to it. I think there are always the 2 topics of "how do I make nice sounds" and "how do I build that up into good tunes/patterns/songs". Maybe drums could even be considered a separate topic.

Personally I also want to get to grips with FM synths. For the composition part I have to say I tried and failed at trackers (renoise), which made me conclude I needed something more visually intuitive, and tacticle when it comes to manipulating the parameters. I'm eager to see how well a touchscreen works for the latter.

By the way, if you know of any place to hire good online tutors, I would like to know about it!

2mol··on A new project: multi-track audio editing (2005)
Thanks for this detailed reply. It so happens that I just bought an iPad for the purpose of jamming and learning how to use synths, so I'm very excited to try out some of the apps you mentioned.

Can you recommend where to start? I.e a particular app that lets you compose, jam, and tweak sounds, or a sampler, or just a particular tutorial.

2mol··on Ask HN: How does your company manage its encryption keys?
"accidental" backups
2mol··on Ask HN: How does your company manage its encryption keys?
Lol, I guess this should be the first answer of the thread.

But also, at that point you're fully committed to security through obscurity, so folks should get at least the obscurity part right :)

2mol··on Ask HN: How does your company manage its encryption keys?
Great answer, thank you. I agree with your point about testing the restore process, right now I'm trying to think of a way to automate it.

As a side note: for example we had some backups that are probably useless, because they are way too small. Catching this would mean more manual regular checks, or some automated rules, at which point it becomes quickly more complex again.

2mol··on Ask HN: How does your company manage its encryption keys?
This is an amazing answer, thank you for sharing :)

I wish you the energy to keep trying to change this, don't let it get to you too much, I know this stuff can be frustrating as hell.

2mol··on Ask HN: How does your company manage its encryption keys?
Can you easily set up policies that prevent deletion of keys?
← PreviousPage 2 of 3Next →