HNHacker News
TopNewBestAskShowJobs

huimang

1,298 karma · joined May 18, 2022

submissionscomments
huimang··on Counter-Strike's player economy is in a freefall
No, but they incentivize opening cases in order to obtain such valuable prizes, at $2.50 a pop. TF2 does this too, with Unusual rarity hats.
huimang··on Just let me select text
This breaks translation. Text must be selectable.
huimang··on Less is safer: Reducing the risk of supply chain attacks
Zim doesn't have a native phone app and syncing, though, and that's a big draw of Obsidian. It's plenty secure if you don't install plugins all willy-nilly.
huimang··on Calling your boss a dickhead is not a sackable offence, UK tribunal rules
Of course it depends on the context, but firing someone over one offense of calling someone a dickhead is quite reactionary and punitive. Grow up. Sometimes people say things they regret in the moment, it doesn't mean someone and potentially their family should be affected. This is why you have policies, writeups and whatnot. Not jumping at the chance to fire someone.
huimang··on AI is different
These supposed "productivity gains" are only touted by the ones selling the product, i.e. the ones who stand to benefit from adoption. There is no standard way to measure productivity since it's subjective. It's far more likely that companies will use whatever scapegoat they can to fire people with as little blowback as possible, especially as the other commenter noted, people were getting hired like crazy.

Each one of the roles you listed above is only passable with AI at a superficial glance. For example, anyone who actually reads literature other than self-help and pop culture books from airport kiosks knows that AI is terrible at longer prose. The output is inconsistent because current AI does not understand context, at all. And this is not getting into the service costs, the environmental costs, and the outright intellectual theft in order to make things like illustrations even passable.

huimang··on We rewrote the Ghostty GTK application
Many people use tiling window managers, so title bars become useless. The first thing I did in configuring ghostty was disabling window decoration for this reason.
huimang··on Show HN: WTFfmpeg – Natural Language to FFmpeg Translator
Why is it so hard to read the manual or even a cheatsheet? Many people use ffmpeg, it's not like there's a dearth of information out there...
huimang··on Thunderbird 140 “Eclipse”
Looking at the various issues reported in this thread, it honestly seems that burning the entire codebase and rewriting it would be the best choice. Bonus points for using a modern systems programming language.
huimang··on Why English doesn't use accents
Amongst niche circles of linguists, maybe. It's easy to single out for the average person because it's popular- english is a language learned around the entire world.

Besides, I'd rather have some more word pronunications than memorizing a table of der/das/die,dem/dem/der and a word's gender on top of learning the word itself. Or changing the position of a verb depending on if I used a modal verb or not.

huimang··on Why English doesn't use accents
All languages have inconsistencies, but it seems in vogue these days to single out english and use it as a punching bag. Furthermore, no natural human languages (i.e. not artificially constructed ones like esperanto) are logical. They all have irregularities and illogical aspects.

It is not "beyond fucked" that things have different pronunciations sometimes. Other languages have problems for people who solely learn by speaking. It's not unique to english.

huimang··on How I use my terminal
Ah I misunderstood. Yes that's a bit more complex. Your options boil down to a) using pkgs.autoPatchelfHook [0], b) learning some nix and writing a derivation yourself, c) using nix-ld [1]. There's also pkgs.steam-run which provides a typical environment expected for games.

A great deal of things are already packaged, but for the most part I find it pretty fast to package something. Once you write a derivation [2] or two, it's not that bad. I never packaged for other distros because they all seemed quite tedious, but the nixpkgs reference [3] lists most things and I can look at the source of similar packages in nixpkgs. It is a time commitment though to learn so it's understandable that it's not really appealing.

[0]: https://github.com/svanderburg/nix-patchtools

[1]: https://blog.thalheim.io/2022/12/31/nix-ld-a-clean-solution-...

[2]: https://ayats.org/blog/nix-tuto-2

[3]: https://nixos.org/manual/nixpkgs/stable/

huimang··on How I use my terminal
Hi Jyn.

"i don't use Nix partly because all my friends who use Nix have even weirder bugs than they already had and partly because i don't like the philosophy of not being able to install things at runtime."

The first part is mostly true. Nix installs things in a readonly store (/nix/store) so regular dynamically linked binaries don't work. Packaging takes a different approach and when things break, it can be difficult to work around. That said, I've run NixOS for over a year now and I find the benefits are far preferable to these downsides. It's not often I run into bugs, let alone show-stopping ones. What is annoying is how many tools are distributed without the source, so I have to run patchelf on them or use something like nix-ld.

As for the latter part, I think that using Nix will change that mentality. (Note that you can do `nix-env -iA $pkg` but it's not recommended). See, I don't even install things like rust at a global level anymore. I can always do `nix-shell -p $pkg` for an ephemeral shell if I need that, or I encode that dependency directly in the project's flake.nix. If I end up using that program a lot I will make the effort to add it to my NixOS config.

huimang··on How I use my terminal
fd -e pdf -x magick {} {/}.png

Took less than a minute to write, test, and get the right dependencies (nix-shell -p imagemagick ghostscript). Scales to any number of pdfs.

The terminal just wins probably 95% of the time as long as you know about available tools.

huimang··on OpenAI slams court order to save all ChatGPT logs, including deleted chats
Every real, non-constructed language has weird rules, weird exceptions, ambiguities, and complete redundancies. English is on the more difficult end but it's not nearly the most difficult. I'm not sure how it got to be perceived as this exceptionally tough language just because pronunciation can be tough. Other languages have pronunciation ambiguities too...
huimang··on How I like to install NixOS (declaratively)
The learning curve isn't due to the language, and personally I find writing nix files to be much more pleasant than any other build system I've worked with, and most languages that I've worked with.
huimang··on Veo 3 and Imagen 4, and a new tool for filmmaking called Flow
You didn't make anything, aside from whatever lyrics, if any, you wrote yourself.

The song is adequate. The beat, drop, and chords are not that complicated, you could've learned how to do that yourself and not be chained to suno or whatever.

I would be delighted if a friend took the time to personally write and produce a song about me. I would not care at all if I realized it was just auto-generated stuff being pumped out "5x per week". The former I would cherish, the latter would be disposable junk to be listened to once and then forgotten about.

It's slop because it doesn't mean anything or has any value, not because it's literally sloppy.

---

"listening to their same 20-40 artists who would be in billboards list each month"

That's a you problem, quite literally a skill issue. There are so many indie artists making wonderful music that's leagues better than whatever hyper-distilled swill is on the radio at the moment.

---

"tell me it has hurt the abundance and diversity of songs out there"

Actual artists who make music composition and production their career ARE hurt when they can't find jobs/gigs/commissions because of things like suno. These tools are predicated on wholesale theft of music produced by humans.

But you can generate disposable songs at breakneck pace that don't mean anything, so it doesn't matter.

huimang··on Veo 3 and Imagen 4, and a new tool for filmmaking called Flow
I think effort is a signal that whatever the thing is, the artist/team -really- wanted to put it out there and have people view it. They had -something- that drove them to take the time and effort to make the thing.

Zero-effort output generators like prompting means people are just generating trash that they themselves don't even care about. So why should I take my time to watch/experience that?

The whole "GenAI is accessible" sentiment is ridiculous in my opinion. Absolutely nothing is stopping people from learning various art mediums, and those are skills they'll always have unlike image generators which can change subscription plans or outright the underlying model.

Absolutely no one should be lauding being chained to a big corp's tool/model to produce output.

---

Why should being an artist be a viable job? Well, people should get paid for their work. That applies to all domains except technical people love to look down on art while still wanting to watch movies, well produced youtube videos, etc. You can see it in action here on HN frequently: someone will link a blog post they took time to write and edit... and then generate an image instead of paying an artist. They want whatever effect a big header image provides, but are not willing to pay a human to do it or do it themselves. Somehow because it's "just art" it's okay to steal.

---

If tech has progressed to the point of true "general artificial intelligence", then likely all jobs will be obsolete and we're going to have to rethink this whole capitalism thing.

I think all industries should be utilizing tech to augment their capabilities, but I don't think actual people should be replaced with our current guesstimator/bullshitter "AI". Especially not critical roles like doctors and nurses.

huimang··on Demonstrably Secure Software Supply Chains with Nix
Is the header image ai generated? For shame. No point in reading any further.
huimang··on On Not Carrying a Camera – Cultivating memories instead of snapshots
It's not the advice itself that is bullshit, it's that it's repeated as a mantra by people all the time.

While I agree that everyone has different opinions, I do think the average person will appreciate being able to look back after so many years instead of having nothing due to repeating some mantra without thinking about it.

huimang··on On Not Carrying a Camera – Cultivating memories instead of snapshots
Note that the author stopped carrying a camera with him in his hometown, in order to "live in the moment", as per the article. My point was made generically.
huimang··on LibreLingo – FOSS Alternative to Duolingo
Every human learns a language from birth; there's no inherent reason why learning a second one "can't be for everyone".

The thing is that it requires a lot of time and studying. At least 30 mins per day is the bare minimum, but 1-3 is much better for results.

I don't personally feel like language learning is easier for me than other people. I just focused on putting the time and studying in diligently over many years.

huimang··on LibreLingo – FOSS Alternative to Duolingo
We did do those kinds of things. For example, speaking with a partner or having to give a 5 minute talk to the teacher on something.

The problem is that it's grossly inefficient time-wise, and the content of "conversations" was always very, very simple. "Hi my name is _, I like the color _, My hometown is in _, how are you today?" Is not a real conversation. It's boring and most students learn the vocab for the upcoming chapter's test, then forget it after.

I'll concede that with 3 semesters of German, were I to pick it up again, I would probably do so pretty quickly given that the teachers paid a lot of attention to our essays.

It's probable that small classes would help because the teacher could then be more of a private tutor. But with 20-30 size classes, only really motivated students who already study/watch media outside of school will excel. So it's kind of redundant in my opinion.

Diligent self-study with attending a language exchange or another environment to speak/practice the language will yield much greater results much faster. You can study the same textbooks at your own pace, you can find additional material and study groups, and you can hire a tutor at times to fill in gaps.

I think if you're a college student it's fine since you have to pick a class anyway (I had to take 3 semesters of any language), but as an adult where time is significantly more precious, I can't recommend it. In a sibling comment I went over what I do use.

huimang··on LibreLingo – FOSS Alternative to Duolingo
There is no one magic solution. Every person I know who has learned a language to an advanced degree has used a variety of methods, diligently, over a long period of time, depending on their current needs. I can give a brief overview of some tools that I find to be efficient in terms of time and payoff, in no particular order.

1. SRS - Spaced Repetition Software, for flashcards. Anki is the gold standard. It's open source and free on every pc/android/etc except iphone where it's $20 I think. I recommend finding a good starting deck with about 3k to 6k words to help build your core vocabulary. In my case it was "Evita's 5k Korean". For about 6-8 months I grinded 20 new words per day, which means about 30-50 minutes of Anki depending on if you missed a day or not and thus had a backlog. If you have less time I recommend 5 or 10 new words per day.

2. Find trusted resources for grammar and structured learning. You might have to hunt around but for Korean, I found some excellent websites, Youtubers, and textbooks like Korean Grammar in Use I-III. These materials really are the core of your studying. Vocab doesn't help much if you don't know grammar and you certainly can't say anything without vocab. These are how you get to output, i.e. writing and speaking correctly.

3. Find graded readers if possible. Roughly, these are texts designed around 90% comprehension which is a sweetspot for learning new words naturally through context. Unfortunately at the time I couldnt find any for Korean, but I've watched friends use them for e.g. Mandarin Chinese and learn quite a lot of vocabulary in a short time.

4. Find someone who can correct your writing in some form. Whether that's a private tutor or a friend who's native language is your target language and their target language is your native language. In the past I found some dedicated learners through HelloTalk who would trade journal entries with me. I would correct their English and they would correct my Korean. It goes without saying that you need to practice output in your target language when possible, both in writing and in speech.

5. Find a good language exchange and/or friends who speak your target language. By good, I mean a structured language exchange that enforces pairings and language usage. In Seoul I find that most "language exchanges" are excuses to drink and and chat, mostly in English. There was one language exchange that 1:1 Korean language-only pairings for 1 hour, then I repaid that with 2-3 30minute pairings of 2-3 people in English. This is where you put your textbook/solo studies to practice by actually speaking (and hopefully getting corrections). Eventually I hit a plateau and got tired of having similar conversations, plus paying $10 per event. I also found a few lifelong friends who are studying English and thus we can ping each other for random questions.

6. Find some spaces or groups that are -only- in your target language. With the internet it's easier than ever now with Discord. For example, my friend learned a lot of French by hanging out in French speaking gaming servers on discord. There are also apps like Hilokal and HelloTalk, but I haven't used them in a while so I can't speak to their quality anymore. Lastly there are offline options depending on your area. In the US I used Meetup to find language groups and in Korea I use, well, a korean equivalent to find groups in niches I enjoy.

7. Lastly, and this isn't a tool, but "If you want to improve, be content to be thought foolish and stupid." - Epictetus. In learning a language, you will make mistakes and you will say things that sound stupid. It's okay. It's unavoidable and you make good progress by learning from these mistakes, so long as you reflect on them and understand why the mistake occurred. The people who focus on being perfect and making zero mistakes in learning a language, in my experience, do not go very far.

huimang··on LibreLingo – FOSS Alternative to Duolingo
The only method worse than Duolingo for language learning is possibly the traditional classroom, in my humble opinion.

My background is that I've studied Korean for ~8 years now, as a native English speaker. Like most US citizens I took Spanish classes in middle & high school. I did the traditional classroom method with 3 semesters of German in college. And I forgot most of Spanish and German aside from some words and grammatical rules, because neither got me to a level of conversations with native speakers or being able to engage with media.

Duolingo and most classrooms (I know there are exceptional curriculums and exceptional students) don't prepare you to actually speak to people. They prepare you to engage within their systems, aka answering tests or whatever. This is not speaking a language but moreso learning about it academically.

There is a lot to discuss but I've never been able to recommend Duolingo, even before they reduced their staff and replaced them with AI. Why? Because it's inefficient with regards to your time, and the content is too insubstantial. It's possible to spend a year of your time on Duolingo and barely be able to speak the language at all with someone... which is kinda the whole point of studying a language?

I love the hobby of studying languages and things like Duolingo and the classroom method put people off when they can't speak very much even after a long time investment, which is damn shame.

My point is neither should really be looked towards for substantial language learning methods.

huimang··on I analyzed chord progressions in 680k songs
Using absolute chord analysis instead of relative chords (i.e. roman numeral analysis) doesn't make sense. As others have noted, the original dataset is flawed because the structure of a song is critical, you cannot omit repeating chords. Programmers/analysts should take more care to understand music theory or the underlying field at hand, before compiling datasets or doing analysis.

"Most common chord" is mildly interesting, but not really that useful. The most common key, and the most commonly used chords relative to that key (i.e. with roman numeral analysis) would be much more useful and interesting. This would help paint a clearer distinction between e.g. country and jazz, not that "jazz uses Bb major more". Also, anyone with general instrument knowledge would surmise that since Bb and Eb instruments are much more prevalent.

"If you’re sitting down to write a song, throw a 7th chord in. The ghost of a jazz great will smile on you."

7ths don't belong to jazz only, and the average songwriter isn't making data-driven decisions on how to settle on the chord structure for their song.

huimang··on Can Style Be Timeless?
also on bluesky: https://bsky.app/profile/dieworkwear.bsky.social
huimang··on Stoop Coffee: A simple idea transformed my neighborhood
It's likely the path of least resistance. Many people have whatsapp and it's far preferable to sms. Significantly fewer people have heard of signal, let alone have it installed. And privacy literacy, for a neighbor group chat?
huimang··on Show HN: I built a memory-safe web server in Rust
I don't find it annoying and it's not totally irrelevant to the quality of the project.

I'd MUCH rather a hobby web server be written in rust than C++ or C. I'm not touching the latter with a ten foot pole.

huimang··on Resigning as Asahi Linux project lead
> But they have bought into the whole C/C++ are by default insecure and therefore garbage. In their mind, no mortal could ever write so much as a single safe function in those languages.

No one thinks this except some strawman that you've devised. No point in reading anything else in this comment when this is so blatantly absurd and detached from reality.

huimang··on Developing Developers (2015)
The language one speaks has nothing to do with literature class*, as the point is to teach reading comprehension, critical thinking, writing, and whatnot. The exposure of great works before college helps build a firm foundation on which to read and dissect more complex works.

* Obviously the works need to be readable in a language one knows. But it's not like the essence of literature classes change whether one speaks English or German or whatever. That's not the point.

← PreviousPage 2 of 8Next →