Hacker Newsnew | past | comments | ask | show | jobs | submit | fermuch's commentslogin

Kagi Translate is now available as an app for Android and iOS!

The app supports over 248 languages and offers context-aware image translation, live voice-to-voice conversations, and a rich dictionary with audio, to name just a few of its features.


I use my Meta Quest 3 with Termux & Termux X11 to run full desktop apps, and it works like a charm. No emulation, too! Native ARM64!

This is interesting! Do you have any more info? I just discovered sunshine/moonlight work surprisingly well on Quest 3 for remote desktop to linux, I'd not really considered Termux X11 natively though.

I wouldn't put it in past tense...


The only thing you'd achieve doing that is to change the "main function" of a device to somethings silly, like a thermostat being sold as an art decor with the optional additional of functioning as a thermostat too.


> change the "main function" of a device to somethings silly, like a thermostat being sold as an art decor

that seems like it can be addressed by making sure that the regulators who enforce these laws have more object permanence than a 6 month old baby.

like, if I try to sell a "metal sculpture" that by sheer coincidence is capable of firing 9mm ammunition, I'm going to have the ATF knocking on my door real quick, and they're not going to be fooled by me claiming "no that's art"


Probably much easier when the seller is in China and selling the product in the US on Amazon.

Why would the ATF go after them instead of YOU?


> making sure that the regulators who enforce these laws

But then again, one problem is that Big Tech has enough money and power to completely overwhelm the regulators...


This is why the legal system is run by people with brains and reasoning and not python scripts. A real person will see that a thermostat is actually a thermostat.


A lot of times they are converted to BigInt and then stored as strings so different languages don't mess with the real value


Materialized views are a great tool for aggregating data in CH since they are automatically updated on insert from the original table. I recommend you to take a look and try it out, maybe it'll go down to single digit milliseconds!


And there are 2 kinds of those: the other is refreshable materialized views, which run on schedule, can have dependencies between them, thus can implement quite complex data transformation pipelines.


3. Normal people accept surveillance and techies are tracked down / silenced.

Given our current surveillance state with social networks, I don't see (1) or (2) as real options.


I hope not; I hope there is a culture change; but, hope is not a strategy so it's better to build alternative tools and learn how to use them


Ejabberd has been around since forever, and people have been saying that forever. Why would it suddenly happen now?

One thing I do agree with is that collaboration tools have to come first. We've become unable to do anything without a company/boss, completely atomized. Three or four programmers/designers who hang out should be able to do anything together. Put them in a downtown office with some MBA prick alternately yelling at them and kissing their asses, and they can build empires that they get to share 5% of.


Yeah that made me laugh, aint no way average people are going to care. They already assume things are maximally bad. They assume things aree completely public and still choose to overshare. They are past the point in caring and I dont blame them, its near impossible to actually take serious without going down a schizo rabbit hole.


Drowning in my own shower is a new kind of fear you've just unlocked on me


The link isn't working for me. For those who were able to see it: does it improve anything by using that instead of what ls does now??


70% faster, but more importantly 35x times less syscalls.


Why do you say more importantly? The time is all that matters, I think.


%70 faster = you wait less

35x less system calls = others wait less for the kernel to handle their system calls


> 35x less system calls = others wait less for the kernel to handle their system calls

That isn't how it works. There isn't a fixed syscall budget distributed among running programs. Internally, the kernel is taking many of the same locks and resources to satisfy io_uring requests as ordinary syscall requests.


More system calls mean more overall OS overhead eg. more context switches, or as you say more contention on internal locks etc.

Also, more fs-related system calls mean less available kernel threads to process these system calls. eg. XFS can paralellize mutations only up to its number of allocation groups (agcount)


> More system calls mean more overall OS overhead [than the equivalent operations performed with io_uring]

Again, this just isn't true. The same "stat" operations are being performed one way or another.

> Also, more fs-related system calls mean less available kernel threads to process these system calls.

Generally speaking sync system calls are processed in the context of the calling (user) thread. They don't consume kernel threads generally. In fact the opposite is true here -- io_uring requests are serviced by an internal kernel thread pool, so to the extent this matters, io_uring requests consume more kernel threads.


> Again, this just isn't true.

Again, it just is true.

More fs-related operations mean less kthreads available for others. More syscalls means more OS overhead. It's that simple.


Is there a noticeable benefit of this huge syscall reduction?


Yes I just checked it after installing strace

strace -c ls gave me this

100.00 0.002709 13 198 5 total

strace -c eza gave me this

100.00 0.006125 12 476 48 total

strace -c lsr gave me this

100.00 0.001277 33 38 total

So seeing the number of syscalls in the calls directory

198 : ls

476 : eza

33 : lsr

A meaningful difference indeed!


That's just observing there is a difference, not explaining why that's a good thing.


syscalls are expensive and their relative latency compared with the rest of code only grow especially in view of mitigations against cache-related and other other hardware bugs.


It improves the latency of ls calls.


Hm interesting, it worked for me.


It seems to be global. Google cloud, anthropic, everything. Even AWS it seems.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: