Recent submissions

Comment · 3 years ago
Comment · 4 years ago
Assuming it is ebikes that cause these fires, the scary thing is that residents may use water to put out fire without knowing what could happen.
Comment · 4 years ago
The gif showing the backtracking is cool. I wonder if there's similar tool for python.
Comment · 4 years ago
When I use curl, it's mostly when I need to check header or to trace requests in the network, for which I just use -vvv. Simple one-off stuff.

So I wonder how much demand there actually is for advanced features like this. When I need to make POST requests with queries and data, I would just use python because I most likely need to process the response (parse html, store json output to database, etc.).

Adding advanced features are nice, but IMO this might lead to over-engineering and it might be hard to maintain down the line.

Comment · 4 years ago
But there are people who ride illegal ebikes that go faster than 24km/h and I have never seen them getting caught
Comment · 4 years ago
This looks great, but many orgs use auto-generated documentations for client libraries (e.g. OpenAPI), which IMO doesn't give you easy-to-understand introduction/overview. And I've seen many documentation I have to decipher.

Although tools like OpenAPI has its own place when it comes to documentation, should we maintain "intuitive" end-user documentation separately? I don't think this can be automated based on the code.

Comment · 4 years ago
Thanks. IMO changing system python versions might confuse some people.

I often have to debug not-so-tech-savvy colleagues' python scripts/environments.

If we used pyenv, I could picture me telling them that they forgot to switch system python environment.

Comment · 4 years ago
I always have different python versions on system level (`$ sudo apt install python3.7 python3.8 python3.9 python3.10`) and use virtualenv to manage versions for each project (`$ virtualenv env -p python3.9`), and that has served me well for years. Could someone tell me why pyenv is superior?
Comment · 4 years ago
Interesting you and others use Bitwig, which I've never even considered using before. Maybe I should pay broader attention.
Comment · 4 years ago
What DAW do you use? I tried Ardour but gave up because MIDI experience wasn't good compared to Cubase.
Comment · 4 years ago
Indeed that does make charts look better. I do this for grid line:

ax.set_axisbelow(True) ax.grid(True, alpha=0.3)

Comment · 4 years ago
Oh I did take a quick look at the repo but didn't notice it was in the SQL. Thank you!
Comment · 4 years ago
That looks really cool. Would you possibly share the script?
Comment · 5 years ago
Comment · 5 years ago
Aside from the points mentioned in the article, I see a lot of arguments about economy: Real income isn't rising while cars are getting more and more expensive. Just checked the price of new Leaf, and it costs the same as median 1 year salary (before tax).

I think that explains why much gasoline "kei" cars (i.e. cars with less than 0.66 liter engine) are popular. They are much cheaper to buy, cheaper to maintain, etc.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton