HNHacker News
TopNewBestAskShowJobs

h1d

781 karma · joined January 6, 2013

submissionscomments
h1d··on YAML: Probably not so great after all
- Not everyone uses emacs.

- Not everyone likes the extra step.

h1d··on YAML: Probably not so great after all
I don't care for occasional config file writing but for stuff like ansible where writing YAML is the main job, I just wish it had chosen s other format but I guess it's too late.
h1d··on YAML: Probably not so great after all
I went from that to INI to TOML and back to that in 10 years.

It just makes things run smooth in TypeScript because all the members and types can be statically analyzed giving you errors, auto completion and ability to jump to the definition when config files cannot do that but probably not good for large projects with multiple languages.

For small projects I'm just taking the benefit over small concerns.

h1d··on YAML: Probably not so great after all
Everything being a string is a bit of a joke now.
h1d··on YAML: Probably not so great after all
It's called JSON5. Don't bend JSON to confuse parsers.

https://json5.org/

h1d··on YAML: Probably not so great after all
No reason to use INI over TOML. INI doesn't even have a standard specification.
h1d··on YAML: Probably not so great after all
There are quite a few comments saying they don't like python even from 10+ year users.

Language becomes popular largely through library ecosystem and resources around it, not just how the language looks. I think Google embracing it had a good role in acquiring mind shares.

https://news.ycombinator.com/item?id=20672051

h1d··on YAML: Probably not so great after all
YAML is so bad for human writing. Everytime I write ansible tasks, I get confused with indentation and how to do arrays etc. JSON and YAML is frankly a generation behind compared to TOML or JSON5.
h1d··on YAML: Probably not so great after all
A config file without comments can mean serious annoyance.

If JSON was developed more recently on places like GitHub, it would never have ended up like that with that many deficiencies.

h1d··on YAML: Probably not so great after all
It gets annoying when you have to do what seems unnecessary.
h1d··on Python Is Eating the World
That's not how you pick a language. See if the field you're trying to program is well supported and has good libraries and pick that language.

Differences in languages themselves, I'm sure you can get used to and is far easier to cope with than lack of decent lib/tool/googleability.

h1d··on Death Note: L, Anonymity and Eluding Entropy (2017)
It's not about hiding. Light was aiming to rule the world, as in completely eliminate any opposing parties, and you can't kill them without revealing part of yourself.
h1d··on Unison File Synchronizer
restic isn't just for sftp, it supports bunch of cloud storages.

Also, open source but non free license but duplicacy, in my opinion is technically superior to restic.

h1d··on FFmpeg 4.2
For images, you'd want to use a more performant 'sharp'.

https://github.com/lovell/sharp

Benchmark

https://sharp.pixelplumbing.com/en/stable/performance/

h1d··on Typed Properties in PHP 7.4
Depends on which country you're from but to me $199/year is nothing for what JetBrains gives me (If you go for individual license, you start from $89 down to third year and onwards $53). In fact I pay for all products pack and am in a good discount beyond the third year, like $13/mo.
h1d··on Exa – A Modern Replacement for Ls
It's pretty with,

- alias l="exa --tree --level 1 --icons --git-ignore" - alias l2="l --level 2"

and so on

https://i.imgur.com/8Gj0tWU.png

Has completely replaced my 'ls' for a year.

h1d··on What’s New in ES2019
Why would you ever want to ignore the error parameter?

I really hate when a system tells me "Unknown error occured" or "Either this or that happened" because the software doesn't care to be specific with the errors.

You should at least log the error message, not ignore it.

h1d··on Apple Reports Declining Profits and Slowing Growth Again
Apple can only stay afloat by exchanging people's faith into money by raising product prices when they have stopped innovating.
h1d··on The arm’s-length flats of Tokyo [video]
> English woks just fine

Umm, no. People do not speak English unless it's hotel or airport but you have plenty of signs written in English to support moving around. People will try if you ask simple questions though.

h1d··on The arm’s-length flats of Tokyo [video]
That's your choice. If others complain about what is forbidden, you'll have to move out.
h1d··on Moving to IPv6 (2002)
It would've been hard for you to say "it could take 20 years" and you would've gotten laughed off.
h1d··on Moving to IPv6 (2002)
My cloud servers from major players all have v6 address attached on launch.
h1d··on Two Years With Emacs as a CEO and now CTO (2018)
I wouldn't say emacs and vim dominated before VScode. There were plenty of other editors that supported programming and SublimeText has been around for a while.
h1d··on Two Years With Emacs as a CEO and now CTO (2018)
If you use the same key binding for 15 years, I'm sure anyone would feel comfortable by getting used to it whether if it's really good or not.
h1d··on Two Years With Emacs as a CEO and now CTO (2018)
There's only 1 tiny feature you like over others as a 24 years user?
h1d··on PHP 5 and 7.0 end of life
You should know it means his understanding on 7.x is not stable enough.
h1d··on Anyone made the jump from MySQL to PostreSQL? It is worth it?
There were some comments regarding Postgres and MySQL in a Postgres release post before.

https://news.ycombinator.com/item?id=19872666

h1d··on Anyone made the jump from MySQL to PostreSQL? It is worth it?
Are you talking about ORM? ORM is such a waste of time to learn as you switch to another language at one point, your time spent on ORM is gone and you don't even learn the underlying tech that is SQL.

Stick with SQL and you can keep that skill mostly the same across different SQL products. And obviously you will sooner or later hit some performance penalty when you start writing complex ORM and ORM starts spitting out SQL without thinking and then your only solution is to complain on GitHub issue as you can't solve it.

h1d··on Mac Open Web
I thought Pixelmator's audience was general public and I think it does an excellent job at it.

Perhaps Affinity series are targeted for professional and they're also one time purchase of something like $50. Great value.

h1d··on Mac Open Web
You now trust a random developer instead of MS not to do anything unwanted. Doesn't sound like it's solving anything.
← PreviousPage 3 of 34Next →