HNHacker News
TopNewBestAskShowJobs

hysan

3,103 karma · joined February 28, 2012

Software Engineer · QA Engineer · Teacher for Life I enjoy teaching, mentoring, and learning new things.
submissionscomments
hysan··on We rewrote The New York Times' text editing library. Then we open sourced it
The original title was too long: “ We rewrote The New York Times’ text editing library. Then we open sourced it. Then we rewrote it again.”

Quick summary:

- The original NYT library is this one: https://github.com/nytimes/react-prosemirror

- This is the author’s rewrite: https://github.com/handlewithcarecollective/react-prosemirro...

- They rewrote ProseMirror’s renderer in React instead of having a layer sit between the two.

- The author answered questions over on Reddit and had good insight into how their rewrite compares to other ProseMirror based libraries: https://old.reddit.com/r/reactjs/comments/1ij7lmb/why_i_rebu...

hysan··on Hand-Crafted, Machine-Made: How we make learning games with AI
> It reminds me of a similar application I heard about recently from a friend who teaches language classes using ChatGPT or equivalent to generate dozens of example sentences to teach specific grammar rules.

I'm not surprised that ChatGPT is being used this way. I used to teach ESL via the JET Programme and a lot of my job was about creating games and exercises that allowed students to get varied practice. I created or extended at least a hundred games in my 5 years there. These games weren't all successful, but the ones that were hit a cross section of:

1. repeatability (enabling pattern matching)

2. variation (just different enough to make it not mindless pattern matching)

3. difficulty curve (range of problems)

4. and fun.

As I learned the hobbies and personalities of all my students, I was able to get a higher success rate on 4. Being able to reuse games across multiple years helped me to fine tune 3. But nailing down 1 and 2 were always a challenge because of scale. A lot of times that was solved through instructors jumping in and adding new wrinkles on the spot. That worked well in the small schools I taught at (sometimes 3 of us for 20 students) but I don't think it would have worked as well in larger classrooms. I get the sense that using LLMs in creative ways has the potential to help solve the scaling problem.

hysan··on Google Pixel 4a's old firmware is gone, trapping users on buggy battery update
Yeah, you’re probably right. I just wanted to write my anecdotal experience in a way that would avoid the “you’re holding it wrong” crowd because the point is how this leads to broken trust, not whatever broken feature it is.
hysan··on Google Pixel 4a's old firmware is gone, trapping users on buggy battery update
Gotcha. That might help somewhat but it wouldn’t solve the “never update Android or any other app” problem. I’d also have to get them used to using a new browser. It’s a larger problem that their trust in tech was easily (possibly irreversibly) broken after years of me slowly convincing them and getting them used to letting their devices update. They are even older now and having had a stint working in the senior care tech space, I know that trying to tech the older generation to use tech safely is a very high hurdle. Now that I don’t live near them, I’m not sure that’s a hurdle that can be easily overcome.
hysan··on Google Pixel 4a's old firmware is gone, trapping users on buggy battery update
It’s not an ad thing. It was an OS level accessibility feature dealing with text sizing and other reading related settings.
hysan··on Google Pixel 4a's old firmware is gone, trapping users on buggy battery update
I was visiting my parents for the holidays and came across this exact mindset. I usually push them to update for security, but I learned that they stopped doing that this year. Apparently some update broke/removed/changed an accessibility feature on their phone in a way that I couldn’t figure out how to revert. My mom had updated her phone first so only she was affected. My dad now refuses to update his phone and both of them have completely stopped updating for fear that something else will “break”. I can’t really blame them, but it does worry me and now I’m trying to think of what I can do to secure their devices if they’re not going to update.
hysan··on Frustrated YouTube viewers seek explanation for hour-long unskippable ads
I don’t understand this reply. The suggestion I’m replying to is about charging people (e.g., creators) for hosting the videos. It’s not about charging viewers. Perhaps you replied to the wrong comment?
hysan··on Frustrated YouTube viewers seek explanation for hour-long unskippable ads
> I mean they (Google) do provide a service. One could possibly argue that the content creators should pay Google to distribute their material, kind of like an equivalent to a AWS bill, but is anyone arguing that?

People have argued this but Google has made it clear why they won’t charge - that is their moat. By pricing the service as free, they price out all competing services by making it so that all creators, new and old, will use YouTube by default. Especially with new creators, with no startup cost and a huge audience, there is no reason for to use any service that requires payment. This effectively tanks all competitors and is why the only surviving competing streaming services target niche audiences. For example, established creators who have the sway to bring an audience with them.

hysan··on Bye-bye Windows gaming? SteamOS officially expands past the Steam Deck
Is there a distro that brings a console-like experience to systems with Nvidia cards?

I’ve also heard about ChimeraOS. How do all the different gaming focused Linux distro compare?

hysan··on Monokai Pro for Jetbrains
I think this should be a Show HN?
hysan··on Ghostty 1.0
The whole point of marketing an app as being native to an operating system is to appeal to users by saying that you are explicitly not using a framework that lets you flip a switch. That you are going out of your way to make separate builds in the operating system’s native framework so that it looks, feels, and performs as best as possible. That’s very clear in the messaging of how and why the macOS version was built. If you are going to go out of your way to market being native as your differentiating factor, I think that yes, you have to make separate builds of GTK and QT (and in the future, libcosmic if it gets a large percentage of users) in order to be able to genuinely market yourself as Linux native. So it is possible. It’s just not as easy as picking one framework and hand waving away the rest of a substantial portion of the userbase.

I’ll repeat that that is what I find disingenuous with the marketing and about page explanation. I have no problem debating whether or not QT-based desktops are a consequential portion of all Linux users. But if you agree that those users account for a sizable percentage of Linux users, then I think my take is a fair one.

hysan··on Why Linux is not ready for the desktop, the final edition
I got halfway through it before realizing that it’s just a clickbait article.
hysan··on Fake Nintendo lawyer is scaring YouTubers, and its not clear YouTube can stop it
Caveat is if you file the counter within 5 days. From listening to a few creators describe the counter filing process, you need to gather a lot of evidence to prove that you are not infringing. It apparently takes a lot of time and what happens is that targeted harassment very easily turns into a DOS-like attack. So 5 days is an unreasonably short time window that puts an extreme burden on the content creator.

Edit to quote the full section because the cherry picked quote is misleading:

> If you dispute a claim within 5 days, any revenue from the video will be held, starting with the first day the claim was placed. If you dispute a Content ID claim after 5 days from the original claim date, we'll start holding revenue the date the dispute is made.

hysan··on Ghostty 1.0
Gotcha. So you really meant enterprise only. Not a tongue in cheek answer (which I thought was a way of just grouping all suse-related distros). To me, that’s not the context for a user oriented product. Any reasonable person looking at a developer tool and listening to that pitch isn’t thinking pure enterprise. So I think that’s not a good interpretation of what I find disagreeable with calling a GTK4-only app “Linux native.”

Also, I thought opensuse (or whatever new name they’re using) was KDE default but with a choice (like Debian)? At least that’s what DE I got last time distro hopped to it. Which is why I don’t consider either as an example of why GNOME would be the “de-facto standard.”

hysan··on Ghostty 1.0
Hasn’t Suse been KDE by default since… as long as I can remember? Debian defaults to GNOME but it lets you pick the DE in the installer IIRC (haven’t installed Debian in a long time since I just use it for servers). Last I heard, Fedora is making KDE an official supported DE. You’re also leaving out other popular user-centric distros like Mint which don’t use either DE (toolkit it GTK but the UX paradigms makes it so just about any toolkit means that it’ll look & feel right on Cinnamon).
hysan··on Ghostty 1.0
I’d answer this differently depending on when you ask. 10 years ago (random, but long enough number) I would have said an easy yes. Both GTK and QT would have been acceptable toolkits to use as the cross DE issues weren’t that many and bugs got fixed. Ask me a few years ago and I’d waver. It wasn’t clear how ecosystem friendly GTK4 would be, so I might have optimistically replied the same. But caveat it with a “maybe support both X11 and Wayland.” But ask me now and I’d say to earn the label *Linux native*, you would have to support a lot. GTK4 has proven to not play well with other DEs. The jump to Wayland has caused a fairly significant split in DEs (this year has greatly closed the gap with many showing great progress in supporting Wayland) which means some apps may not work on your DE of choice. And overall, I’d be hesitant to claim that any app is truly *Linux native* because installing an app no longer guarantees that it’ll just work and look and feel right. You’d need to have builds GTK4 & QT, and make sure that they work in both X11 and Wayland for the next few years. When I look for apps nowadays, I tend to append my DE and/or distribution to my search. I currently think it’s more truthful (on Linux) to say that an app is native to a DE instead of to Linux.

Note: I don’t think GTK4 is bad. One of the best parts of the Linux ecosystem is that we have a lot of great DEs that have gradually differentiated themselves by UX. GTK4 not playing well with others is in part due to how different GNOME’s UX is. The toolkit is meant to serve one DE paradigm now and that’s led to higher quality on that DE. The drawback to that diversification is that there is no easy way to support all DEs. Your toolkit drives what you support (unless you go out of your way to fix things that GTK4 isn’t fixing - which is why I put that bit about seeing how KDE issues would be addressed). The word “Linux”, now more than ever before, describes an ecosystem (or kernel) rather than an operating system.

hysan··on Ghostty 1.0
I might give this a shot but using GTK4 makes me think this won’t live up to the “native” claim on Linux. It will likely feel out of place on non-GTK DEs with KDE being the big one. And yes, I did read the about page disclaimer about Linux but strongly disagree about calling GTK4 the closest thing. That’s a very GNOME-centric view (e.g., ignores the rest of the Linux ecosystem) and makes me worry that any issues on other DEs will be ignored/deprioritized. It’s possible that I’m wrong and that a sizable population of the closed beta Linux users we’re on KDE, but without knowing, I’m very hesitant and put back by the “native” claim (it feels disingenuous).
hysan··on Ask HN: How do you work with people who are "not quite smart"?
> The problem seems to be that someone at your company hired these people and assigned them to roles they don't fit.

It could also be the Peter Principle in effect.

https://en.wikipedia.org/wiki/Peter_principle

hysan··on Grayjay Desktop App
Did you know that YouTube used to have this exact feature? It was called subscription collections and they publicly promised that they would replace that feature with something better when they removed it. That never happened. It's been 9 maybe 10 years since they said that. [1]

The removal of that feature was an intentional push to take away user agency and push them into using YouTube's recommendation algorithm. The lying was a way to misdirect user complaints until it was too late.

[1] https://news.ycombinator.com/item?id=38101629#38104494

hysan··on WXT: Next-Gen Web Extension Framework
For those who have worked a lot with web extensions, I’m curious to hear what their experiences are with frameworks. There are quite a few that I’ve come across:

- WXT

- Plasmo: www.plasmo.com

- CRXJS: https://crxjs.dev/vite-plugin

- Web Extension Vite Starter: https://github.com/antfu-collective/vitesse-webext

- Bedframe: https://github.com/nyaggah/bedframe

to name a few. Has anyone used multiple of these? If so, how do they compare? What makes one stand out above the others?

hysan··on If not React, then what?
It’s been a while since I worked with WordPress, but isn’t their Gutenberg editor (which is the heart of their CMS) built on React? So while React may not be used on the user facing side, it is still powering the content side of WordPress and in a way, powering all of those sites.
hysan··on SQLiteStudio: Create, edit, browse SQLite databases
How does this compare with https://sqlitebrowser.org/ ?
hysan··on Show HN: Self-Host Next.js in Production
Not sure why this is posted as a Show HN. This project has been around for a long time and I don’t think OP is related in any way to it.
hysan··on TTECK Has Passed
@dang - is it possible to edit to fix the typo in the title?
hysan··on The Karma connection in Chrome Web Store
> There's even a rule against obfuscation

This is definitely not enforced. I’ve downloaded multiple extensions in the past when I wanted to learn how they worked. All of them were obfuscated.

edit: saw the below comment and editing before this gets questioned. I’m not talking about minification. It was definitely obfuscation.

hysan··on Next.js, Just Why?
> if you don't want or need streaming, then Next.js might not be the right choice for your app.

I'm glad to see this stated so clearly. It's important for frameworks to be upfront about the use cases being served and the trade-offs that are being made. I think a lot of the negativity that I see on the web is because Next.js was the right choice [for them] in the past, but once it moved towards streaming as the primary paradigm, those same people probably are feeling left in the dust. I think it would be good for the Next.js team to reiterate this and/or make it more clear in the docs so that new devs can make informed decisions when evaluating Next.js for their next project.

hysan··on Dockworkers at ports from Maine to Texas go on strike
> For context, the USMX countered with 50% over 6 years which still sounds high to my ears, having only received 5, 5, and 3% in the years prior.

This is fully dependent on historical numbers. What I’ve learned about following the Boeing strike is that Boeing’s offers also looked very high. However, news came out that the workers had received almost no raises for far longer and that the offer doesn’t even bring the workers to match COL adjustments during those prior years. I would tread very carefully with reading the news around unions because media outlets will latch onto these big numbers because it catches audience’s eyes. Good reporting and adding context is work that modern media outlets will not do.

hysan··on Mazda's $10 Subscription for Remote Start Sparks Backlash
Before even getting to that question, I think we need to ask - How many people have the means to do that? I probably would if I could, but I certainly don’t and I’m sure many more fall under that same bucket.
hysan··on Elecrow responded, apologized for AI voice cloning
Previous HN thread for context: https://news.ycombinator.com/item?id=41614490

For those who prefer video: https://www.youtube.com/watch?v=vHuPWQz9AlI

hysan··on They stole my voice with AI
As some who has watched all his videos and livestreams, I think that it very much sounds like him.
← PreviousPage 4 of 21Next →