HackerTrans
TopNewTrendsCommentsPastAskShowJobs

kh1

no profile record

comments

kh1
·3 jaar geleden·discuss
If you use pandas with SQLAlchemy, you should be aware that pandas might not be fully compatible with SQLAlchemy 2.0 yet.

Some github issues:

https://github.com/pandas-dev/pandas/issues/40686

https://github.com/pandas-dev/pandas/issues/40460

I'm not actively following how compatible pandas has become, but you should absolutely test your code if you want to upgrade to 2.0.
kh1
·4 jaar geleden·discuss
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.
kh1
·4 jaar geleden·discuss
The gif showing the backtracking is cool. I wonder if there's similar tool for python.
kh1
·4 jaar geleden·discuss
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.
kh1
·4 jaar geleden·discuss
But there are people who ride illegal ebikes that go faster than 24km/h and I have never seen them getting caught
kh1
·4 jaar geleden·discuss
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.
kh1
·4 jaar geleden·discuss
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.
kh1
·4 jaar geleden·discuss
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?
kh1
·4 jaar geleden·discuss
Interesting you and others use Bitwig, which I've never even considered using before. Maybe I should pay broader attention.
kh1
·4 jaar geleden·discuss
What DAW do you use? I tried Ardour but gave up because MIDI experience wasn't good compared to Cubase.
kh1
·4 jaar geleden·discuss
Indeed that does make charts look better. I do this for grid line:

ax.set_axisbelow(True) ax.grid(True, alpha=0.3)
kh1
·4 jaar geleden·discuss
Oh I did take a quick look at the repo but didn't notice it was in the SQL. Thank you!
kh1
·4 jaar geleden·discuss
That looks really cool. Would you possibly share the script?