HackerTrans
TopNewTrendsCommentsPastAskShowJobs

mubou

no profile record

comments

mubou
·ปีที่แล้ว·discuss
[flagged]
mubou
·ปีที่แล้ว·discuss
There isn't a yes-or-no answer to this. Some things I would consider:

1. Does this add additional complexity? How much more time/effort would it take to implement the feature? And most importantly, how much added effort would it take to maintain the feature? (Would adding this feature become a burden later?)

2. Can we be sure that the feature, as we would implement it now with our limited information, will meet future requirements, or would we perhaps be implementing something one way only for it to turn out that it would have been better implemented another way once there's an actual, defined usecase for it? (Remember that once you add something to an API, it can be hard to change or remove it later.)
mubou
·ปีที่แล้ว·discuss
I wish the JS pipeline operator hadn't stalled; it's been stuck in stage 2 for four years now:

https://github.com/tc39/proposal-pipeline-operator
mubou
·ปีที่แล้ว·discuss
If you haven't already:

1. Win+R

2. control /name Microsoft.BitLockerDriveEncryption

3. "Back up your recovery key"
mubou
·ปีที่แล้ว·discuss
Sorry, should have been more clear. I meant "AI" in the sense that people refer to anything using machine learning as "AI". (Honestly "AI" is such a meaningless term. LLMs are anything but intelligent.) But I agree. For most tasks, a non-gen AI model trained specifically for that task is significantly better. People are just taking the output of gen AI and using it as-is, rather than treating it as a tool to be leveraged as part of something larger and programmatic, like all ML before it.
mubou
·ปีที่แล้ว·discuss
Automating tasks is exactly what AI/ML should be used for. My concern is that they're going to be using LLMs to "translate" other-language articles into English and vice versa. LLMs are horrendously bad at this, compared to models trained specifically for translation tasks. They make shit up, invent phrases that weren't in the source text, etc., and with how much blind faith people put in ChatGPT, you can be sure a lot of those hallucinations will go unchecked.

The funny part is, Wikipedia is the #1 data set used for all sorts of machine learning training (not just LLMs). I hope they at least mark articles that were translated/edited by AI, because otherwise the AI machine is gonna start feeding back into itself sooner or later.
mubou
·ปีที่แล้ว·discuss
Do you feel like overengineering?

Look up some python computer vision tutorials and train a model to detect you wearing glasses vs. not wearing glasses. Run that on a Pi and hook up a smart plug or displayport switch between your monitor and pc so that it only turns the monitor on once it detects you're wearing the glasses :)
mubou
·ปีที่แล้ว·discuss
When you take them off, put them on your keyboard.
mubou
·ปีที่แล้ว·discuss
Holy shit, this could actually cause people to get permanently locked out of their accounts, depending on how the website is configured. Imagine not knowing your login credentials are stored in Place A and then you delete Place A, unwittingly deleting your only login along with it.

This is already a worrisome possibility with security keys -- if you have Windows Hello enabled, the dialog you get when adding a security key to an account might sometimes be to add it to your TPM, but it's not clear that's what Windows is asking so you might put your creds on your CPU while thinking that they're going on the Yubikey; imagine what happens then when you upgrade your computer?

Users need to know where their logins are stored. Making these things "transparent to the user" in the name of ease of use (treating users like toddlers) is the wrong approach. I realize the average user doesn't understand the technical side here, but that just means we need to do better as devs and designers, not throw in the towel and make decisions for the user.
mubou
·ปีที่แล้ว·discuss
Ohh!! Thanks so much for this, I greatly appreciate it.
mubou
·ปีที่แล้ว·discuss
> You can also set this in your browser with the _reduce motion_ parameter.

Unfortunately there's no way to set this per-site, at least in Chrome. Similarly, if you disable animations in Windows, you also disable all animations and transitions in websites that support prefers-reduced-motion, causing some sites to feel janky as a result.

They really need to add a per-site toggle for that, and a browser-level option to ignore the OS' setting. Turning off animations in Word shouldn't turn them off in Google Calendar.
mubou
·ปีที่แล้ว·discuss
Are people in your country not using Bluesky?

See if there's a subreddit for your country. Even if it's not very active, you could ask what other social networks they're using.
mubou
·ปีที่แล้ว·discuss
I bet you could do something generic like this in languages that have deferred execution like C#'s IEnumerable. Something like

    foreach (Node node in EnumerateNodes(root, x => x != null, x => [x.Left, x.Right]))
where EnumerateNodes uses `yield return` (i.e. is a generator) and calls itself recursively. Though it'd probably be easier / better performance to write an implementation specific to each node type.
mubou
·ปีที่แล้ว·discuss
Oh, my bad, thought you meant it was built in markdown, like MDX or something.

I wish you could do all this in plain markdown; putting things side-by-side in a github readme can be tricky. Have to resort to sub/superscript hacks just to make image captions.

Anyway, looks nice.
mubou
·ปีที่แล้ว·discuss
Can you link the repo so we can see? This link doesn't really appear to have anything to do with markdown.
mubou
·ปีที่แล้ว·discuss
> how it's impossible to get Google to show English results in a non-English-speaking country

It's ridiculous because there's even a language option in the search settings, but it does nothing. I had to change my country to United States just to get it to stop giving me non-English technical documentation and wiki articles. But that means in order to get local results for stores etc I have to use Bing/DDG instead.

Does Kagi solve this problem somehow? Like, can I make it give me non-English results for local things and English results for everything else?
mubou
·ปีที่แล้ว·discuss
The new map/diagram: https://www.mta.info/map/5256

The old map, which they're now calling the "geographic map": https://www.mta.info/map/36946

I like the old one better, personally. It's easy to dismiss opposition by saying "nobody likes change," but that's just ad hominem. If you're going to argue in favor of something, make an argument in favor of it and don't just attack people for "hating change."
mubou
·ปีที่แล้ว·discuss
It's important to point out that the concept of "linking" is not mentioned in the GPL's definition of "Program" or "covered work", nor is it used as a determiner to decide if the viral nature applies to your work or not. That's a common misconception that people who've read about GPL but never read the actual license text have. I point that out here only because the developer here mentioned it, but it's irrelevant.

The viral nature applies if you "convey a work based on the Program, or the modifications to produce it from the Program" unless it is "a compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program" [0].

If that sounds vague enough to be interpreted in a lot of different ways to you, you're right. Even the FSF themselves admit it would be up to a court to decide[1] (which unfortunately in a lot of cases means whoever has the most money wins).

tl;dr - When in doubt, assume you need to make your work GPL too.

[0]: https://www.gnu.org/licenses/gpl-3.0.en.html

[1]: https://www.gnu.org/licenses/gpl-faq.html#MereAggregation
mubou
·ปีที่แล้ว·discuss
+1. In this particular case <details> might be more appropriate, though. We recently got support for a `name` attribute which allows for accordion groups without JS (which is basically the same as tabs, and also comes with all the accessibility for free):

https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/...
mubou
·ปีที่แล้ว·discuss
UUID[0] has a specific meaning. I thought for a second that you were generating UUIDs but in a different base so as to make them more compact, like short-uuid[1] does, but judging by the code that doesn't look to be the case. I'd recommend doing a find & replace and changing it to just UID.

[0]: https://www.rfc-editor.org/rfc/rfc9562.html

[1]: https://www.npmjs.com/package/short-uuid