Better HN
topnewbestaskshowjobs
Log inSign up

codedokode

9,867 karma · joined Aug 20, 2015 (11y ago) · 5,528 submissions

PHP developer from Russia.
Submissions

comment 4mo ago · link · parent

I think no country can be trusted and therefore all IoT device communication (telemetry/updates) should go through government-controlled local servers in an unecrypted form. This way local government can enforce its policy over foreign manufacturers and has a "kill switch" if they misbehave.

Also, all communication and telemetry should be opt-in and turned off by default.

Government-controlled server would prevent foreign countries from collecting intelligence and pushing malicious updates.

comment 4mo ago · link · parent

What about copyright? Can one take 13,000 copyrighted works, train the model and release it for free so that nobody ever buys any of those 13,000 samples? Can one (legally) convert all commercial sample libraries into a free neural network?

comment 4mo ago · link · parent

The problem might be more complicated. In those times, they might not use a separate mic for every instrument (and the mics probably were not great), they might might not do the mastering properly, the amps could distort the sound, and instruments could overlap each other. And if you try to simply amplify lower frequencies, you might end up getting too much noise.

comment 4mo ago · link · parent

Could it be that irregular sleeping is caused by inner clock being off due to genetic errors, and genetic errors are the main cause of mortality? I.e. irregular sleep is not the cause but the indicator?

Or irregular sleep corresponds to bad habits like drinking and using drugs and they are the cause of mortality?

Or, could it be that problems with sleep are caused by using alarm clocks, i.e. not waking up naturally but forcefully at unnatural time? Waking up at the same time every day benefits people whose inner clock has 24h period and disadvantage people with clock tuned to 23h or 25h day.

Or I am wrong?

comment 4mo ago · link · parent

They can do the parody using their own voices. There is no need for cloning someone's real voice.

comment 4mo ago · link · parent

But to write the text, LLM needs some source, where does it come from? You need to write something anyway.

comment 4mo ago · link · parent

No I meant you must use an API that accepts URL and cannot create SSL sockets and hide communication from Telegram.

comment 4mo ago · link · parent

Maybe the voice should be copyighted or protected then, I do not want anyone use to my voice, let them use their own boring afwully sounding voice. I am sure such models are used in 99% cases for illegal purposes or creating fake news.

Also, one's likeness (like face image) should also be protected from being used by anyone.

comment 4mo ago · link · parent

Could it be because the author is not very confident in their English skills so they asked an LLM to translate text to a proper English?

comment 4mo ago · link · parent

This means the code must pass the URL in cleartext so that Telegram can detect those who try to use bots for scraping and proxies.

comment 4mo ago · link · parent

I think there is no replication and each bot runs on a certain server.

comment 4mo ago · link · parent

Bots are separate accounts, marked as bots and cannot message anyone first.

comment 4mo ago · link · parent

It looks like they are making their own cloud, with such a little team?

Also we should be using Matrix but it doesn't have half of the features (no channels, no mini apps etc).

Also I wonder whether compiling JS to native code is worth the hassle or not. In browser, it would slow down page load, but here you need to compile only on deploy.

comment 4mo ago · link · parent

What are legitimate uses for copying someone's voice without permission? I see none. Those scientists are just helping criminals to fully automate scamming and governments to create fake videos.

comment 4mo ago · link · parent

It makes sense: European users are assigned to EU data center, and Chinese to the one closer to them. The "custom code" should not be complicated, just a map of country to DC.

You are suggesting to develop a compicated solution (spend money) when current simple one is working ok without any elections.

comment 4mo ago · link · parent

What's the point of giving preferences to athletes at places like computer science department? Would not it make more sense to create an athletic department and accept all athletes there so they do not have to struggle with math?

Also, they could make a separate department for the riches where there also is no math.

comment 4mo ago · link · parent

Will they compensate the losses to Telegram for disrupting its business? Or it's ok to take down random domains?

comment 4mo ago · link · parent

The wrong thing is that instead of going after doxxers, and reducing data collection to prevent leaks, they simply force the sites go to Tor network.

And now Europeans want everyone to send a selfie and a passport to register at sites, which only makes doxxing easier. Clowns.

Also, doxxing is relatively harmless. You won't die just because someone posts your passport online.

comment 4mo ago · link · parent

In Russia, "extremism" is being against Putin or the war. For example, posting photo of Alexey Navalny is "displaying extremism symbol". Also, there are people charged with extremism for posting a link to instagram/facebook domains (Meta is an extremist organization).

Also "facilitation of exam cheating" is the most stupid accusation. Why they cannot keep exam question in secret? Also why they do not shutdown scammer call centers which scam Westerners? So they want Telegram to be blocked but scammer call center to continue operating?

comment 4mo ago · link · parent

Rate limiting requires them to buy more IPs (which are not free) and slows down scraping.

comment 4mo ago · link · parent

But they added ad clicks tracking API ("Attribution Reporting API") and interests tracking API ("Topics API") into the browser which work behind user's back and against their interests.

comment 4mo ago · link · parent

For privacy you should be using Matrix private chat with E2EE, no? So maybe we just need to add channels like in Telegram to Matrix?

comment 4mo ago · link · parent

Why don't you ask browser developers to stop adding features helping fingerprinting? Browsers even have some API for tracking ad clicks (attribution API or something) and user interests tracking API which nobody of the users needs.

comment 4mo ago · link · parent

I disagree, fingerprinting is necessary to track humans and it will be used regardless of scrapers being there or not.

comment 4mo ago · link · parent

> I mount the Unix socket into the sandbox and bridge it to localhost with socat

I was experimenting with network sandboxing and found a solution that doesn't require an agent inside a sandbox. You can create listening socket on localhost inside the sandbox, send it over the Unix socket to the supervisor outside and close the Unix socket. The supervisor outside now has a listening socket that accepts connections from inside. No socat needed.

My setup was more complicated though, I wanted transparent proxying (intercepting every TCP/UDP connection without having to specify a proxy) and I spent 2 nights fighting with lack of documentation on netfilter. For TCP I ended up with creating a listening socket with IP_TRANSPARENT options and tproxy'ing all traffic into it using nftables. It was easy part. The difficult part was to figure out how to intercept UDP datagrams and send replies with correct sender address. I ended up creating IP_TRANSPARENT listening UDP socket to receive datagrams, and raw IP socket to send replies with forged source address (because single UDP socket doesn't allow sending datagrams from arbitrary port number).

ChatGPT was pretty much useless, probably due to lack of documentation and I had to experiment myself.

I still do not have the supervisor done though, that would decide whether to allow or block a connection. I have the following idea: whenever the target makes a DNS request, I reply with a new IP address like 10.x.x.x. So I can have a map which maps every IP address to a domain, and when a program connects to an IP, I can figure out which domain it is and decide whether allow or block it. This is necessary because there might be multiple IPs for a domain, they can change in time, so it is better to have a persistent mapping, to protect from DNS rebinding attacks.

1
151617
185