kh1's comments

kh1 | 3 years ago | on: Append data to the url query

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 | 3 years ago | on: UK Government Guidelines on Documenting APIs

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 | 3 years ago | on: Managing Python Versions with Pyenv

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 | 3 years ago | on: Managing Python Versions with Pyenv

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 years ago | on: PipeWire 0.3.46

Interesting you and others use Bitwig, which I've never even considered using before. Maybe I should pay broader attention.

kh1 | 4 years ago | on: PipeWire 0.3.46

What DAW do you use? I tried Ardour but gave up because MIDI experience wasn't good compared to Cubase.

kh1 | 4 years ago | on: Japan is holding back as the world rushes toward electric cars

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.

kh1 | 4 years ago | on: CEO behind Japan’s best-performing stock says his secret is raising salaries

Very true, especially hiring "Scrum-experts/Agile coaches" and cheap engineers from outside. Based on my experience, they don't have good understanding of the business, so business people need to write up word-for-word documentation (e.g. Take this column from spreadsheet and multiply by 100 to show the numbers in percentage). At this point, business people who have programming skills wonder why they have to work with corporate IT.

On the other hand, don't many western companies outsource IT work as well? Having never worked in US/EU tech industry, I don't see much difference when it comes to outsourcing. (hiring temp engineers is obviously different from outsourcing, but the concept must be the same)

kh1 | 4 years ago | on: WHO gives emergency approval to China’s Sinopharm coronavirus vaccine

According to WHO [1]:

> Few older adults (over 60 years) were enrolled in clinical trials, so efficacy could not be estimated in this age group. Nevertheless, WHO is not recommending an upper age limit for the vaccine because preliminary data and supportive immunogenicity data suggest the vaccine is likely to have a protective effect in older persons. There is no theoretical reason to believe that the vaccine has a different safety profile in older and younger populations.

Does that mean something? Could one argue China is pushing WHO hard for political reasons?

I mean, many countries are desperate to get vaccines, but why have we bothered with tests with different age groups if "there's no theoretical reason" to conduct enough tests for certain people?

I'm not an expert in the field, so there's a chance the preliminary/supportive data does in fact prove the efficacy for older populations as well.

[1] https://www.who.int/news/item/07-05-2021-who-lists-additiona...

kh1 | 4 years ago | on: What's Salesforce? (2019)

Is it just me or does the Apex screenshot look better than many enterprise websites we see nowadays?

kh1 | 5 years ago | on: English is relatively easy to learn, but not to master (2018)

When you finish middle school, you're supposed to learn most of kanjis used in real life.[0] At that point it's pretty rare to encounter kanjis that are completely foreign to you.

But there's electronic dictionary on which you can draw to search for kanji.[1] I used one of these in high school.

[0] https://en.wikipedia.org/wiki/J%C5%8Dy%C5%8D_kanji [1] https://www.casio.com/content/dam/casio/product-info/locales...

page 1