HackerLangs
TopNewTrendsCommentsPastAskShowJobs

notpushkin

7,024 karmajoined 7 lat temu
[Verifying my OpenPGP key: https://keyoxide.org/dbed7086f4662ac59eaa343536271a1d783b07c4]

[email protected]

Submissions

Your browser probably lies to the big sites (blame Chrome)

hackaday.com
1 points·by notpushkin·2 miesiące temu·0 comments

Nix isOdd

github.com
1 points·by notpushkin·5 miesięcy temu·0 comments

HP-UX hits end-of-life today, and I'm sad

osnews.com
8 points·by notpushkin·6 miesięcy temu·3 comments

tailscale-initramfs

github.com
5 points·by notpushkin·10 miesięcy temu·0 comments

comments

notpushkin
·wczoraj·discuss
From my experience, things are looking great from East and Southeast Asia. Why?
notpushkin
·przedwczoraj·discuss
Sourcehut has Mercurial support: https://hg.sr.ht/

Heptapod is a GitLab fork that adds Mercurial support: https://heptapod.net/, free for open source projects: https://foss.heptapod.net/heptapod/foss.heptapod.net
notpushkin
·przedwczoraj·discuss
Forgejo is fairly simple to run – way lighter and simpler than GitLab even. (GitLab is quite okay, too!)

If you want a hosted service, go for Codeberg. It’s run by a German non-profit (so it’ll be hard to bite and switch OpenAI-style). Only free/open source projects are accepted, though.
notpushkin
·przedwczoraj·discuss
I really really love it but I just can’t get myself to embrace the email workflow. Maybe I’ll make a “pull requests for git.sr.ht” app one day!
notpushkin
·przedwczoraj·discuss
I vote we bring back <marquee> next: https://ark-ui.com/docs/components/marquee
notpushkin
·6 dni temu·discuss
My main gripe with Shadcn and, well, most UI libraries nowadays, is that they are reinventing the wheel for like a thousandth time.

I’m trying out Ark UI on a side project. They do have some genuinely useful components, like tags input: https://ark-ui.com/docs/components/tags-input

They have a tabs/“segment group” component with a nice animated active element indicator which would probably be tricky to implement: https://ark-ui.com/docs/components/segment-group

And then they also have stuff like overcomplicated “click to copy” button and a <details> reimplementation: https://ark-ui.com/docs/components/clipboard, https://ark-ui.com/docs/components/collapsible

All with a verbose markup that renders as a div soup.
notpushkin
·6 dni temu·discuss
I’m leaning towards vendoring for all my new projects.

Grabbing an off-the-shelf UI library is easy in the short term, but it’s usually overcomplicated, implements things I won’t ever need, is hard to tweak if/when you want to distinguish your app from the thousand others using the same library, and when you do decide to upgrade it, all your tweaks break in subtle ways.

What I think would be the best approach is building your own UI library. You own it, you get to reuse it across different projects and maintain the same visual style (if desired), and you add features when you need them.
notpushkin
·6 dni temu·discuss
Russians will just share it back (I’m saying that as a Russian). And if not Russians, then somebody else will.

What you can do is make sure people can pay you easily, and not put (a lot of) hurdles in your readers way. And when people can’t afford to pay... maybe let them enjoy your work still, and you’ll get a couple more loyal fans who would pay you when they’re able to.

At least this was my world view before AI has arrived and ruined^W disrupted everything. Now I’m not so sure.
notpushkin
·6 dni temu·discuss
Okay, that one is on me indeed. I’ve re-watched it at 0.5× and he does make 8 taps indeed. Apparently, only the first and the last are registered then. Sorry for the confusion!
notpushkin
·6 dni temu·discuss
Then I definitely need to get some caffeine I guess *yawns*

> And it would be so much more predictable and pleasant if you could just tap the button three times at any pace you wanted without thinking, without paying attention, without getting your UI blocked by an animation that no longer helps you.

Am I misreading this?
notpushkin
·6 dni temu·discuss
The author says: “Now, I’m going to exaggerate the problem a bit and tap 90-degree rotation quickly eight times.” I was wondering why the Nothing one stuck upside down after that, and expected a rant about Android not registering all taps or something. But the article got ahead with explaining how the Nothing’s solution was better. Huh?

The iPhone was eight taps. The Nothing was six. (Yeah, I could have noticed it while watching, but I was situationally incapacitated; namely, I’ve just waken up.)

---

Edit: I’ve rewatched it at 0.5× and the Nothing was eight taps after all, too. Author’s point was, indeed, that all taps should register regardless of what animation state is, and Nothing doesn’t do that. Sorry for the confusion!

---

Regardless! I still find the iPhone one more pleasant to look at, because the animation doesn’t stop. But if you press quickly enough, I guess what they could do is animate until the taps stop, then:

• if the image will arrive to the desired state: finish up the current 90°;

• if it’ll still be 90° away: finish up then show one more 90°;

• if it’ll be 180° away: flip it upside down, then finish up the current 90°;

• if it’ll be 270° away: flip it upside down, finish up, and show one more 90°.

But that’s not a very practical thing to implement I suppose.
notpushkin
·6 dni temu·discuss
They’re not talking about the chatbot TUI. The chatbot TUI was and is in JavaScript. They’ve ported the JavaScript runtime.
notpushkin
·6 dni temu·discuss
The recklessness kinda works for everybody until some point. Go fast and break things... then cash out before investors realize, unless you manage to capture the market so you can keep breaking things because people will swallow.
notpushkin
·8 dni temu·discuss
> This is an RFC with "recommended to implement = N" marked about how to do PQ TLS 1.3 in environemnts where hybrids are too expensive

I think the argument boils down to this, yeah.

I am not a cryptographer, nor I’m participating in IETF (yet :), but he does make a good argument on why sticking with a hybrid for the time being makes sense (in between of all the NSA tinfoil hat stuff). And from an outsider point of view, publishing this as an RFC would somewhat legitimize using ML-KEM alone even though it’s marked as Recommended: N. (I would rather prefer waiting until we can publish it as Recommended: Y instead!)

If there are environments where ECDHE-MLKEM is really that much more expensive than ML-KEM alone, could we figure out another hybrid construction instead? E.g. one that only uses SHA3, if that’s the problem.
notpushkin
·8 dni temu·discuss
> and what his current post is doing.

Could you elaborate?
notpushkin
·9 dni temu·discuss
> If you want to make software and distribute it anonymously, go ahead and submit it to one of the many malware riddled distributors that don't do any due diligence

Like F-Droid, one of the most famous malware dens in the Android ecosystem.
notpushkin
·9 dni temu·discuss
Anything with microG should do the trick.
notpushkin
·11 dni temu·discuss
> It provides no security, so why would anyone ever accept it a proof of identity?

Because there is no other universal method that works online, and because companies don’t really care about identity verification – they just need something “good enough” so that they can say “hey, we’ve followed industry standard protocols, how could we have known this passport scan was photoshopped?”

And to be honest I think it’s for the best. I really don’t want to be scrutinized even more online (and give even more personal data so it gets leaked a couple years later).
notpushkin
·11 dni temu·discuss
> The coverage map is here: https://passportreader.app/coverage

Oh, cool! Russia is not on the list. Another service that excludes me just becasue I got lucky with the colour of my (NFC-enabled, biometric) passport.

On a less bitter note, I don’t think it’s that hard to build biometric passport validation. Face matching would be another thing, but for unregulated industries I don’t think you’ll need that, so why not grab some library from GitHub and be in control of the whole process? (You would still need to handle people without biometric passports somehow, of course.)
notpushkin
·11 dni temu·discuss
There was a ton of... not exactly footguns, just things to keep in mind if you’ve wanted your site to work as you intended in all browsers. The webcompat nowadays is way better now.

That said, personally I’ve never understood Dreamweaver either. By the time I tried it, I’ve already got used to Notepad++ and writing HTML by hand, so I’ve just treated it as another text editor... and IIRC it just felt way more laggy than Notepad++, with a browser preview panel that took half of my 4:3 display. Maybe I’d discover some cool features if I’ve spent some more time in it? I dunno.