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

There is always a catch.

We (Russia) have so called "free higher education" but it doesn't mean anyone can get a degree for free. There is a limited number of budget-funded places, and only students with better scores are accepted. For top universities like ITMO, you need to have 100/100 points on 3 subjects + 10 extra points for scientific activity to get "free" education. Otherwise, pay money.

Furthermore, within that government-funded quota almost half of places are reserved for olympiad winners and participants of a military operation, so the number of available places is even lower.

Of course, if you do not want to study computer science in a top university, the bar is much lower and you do not need to have the top scores. But then you will be working some job nobody wants for a low salary.

Furthermore, the government now puts a limit to number of paid places in cities like Moscow and Saint-Petersburg because they do not like that young people move to large cities to get an IT profession instead of studying in the college in their small city to work in the factory for a low salary.

I wonder what is the reality of "free education" in other countries. Can you get an IT, AI-related degree in a top university for free.

comment 4mo ago · link · parent

> Off the top of my head, I think trained listeners can actually notice differences of 0.3 dB, though this sort of thing is going to be frequency dependent too.

But can they notice the difference on a random track, not on special test audio? Probably not.

> Just play some music on your laptop/phone speakers and move the device around a bit, and you'll hear striking differences in highs and lows.

My laptop has speakers directed downwards, so putting a palm under it (to reflect sound upwards) increases the quality.

comment 4mo ago · link · parent

There are at least two options to verify age without humiliating procedure of taking a selfie with a passport like a porn actor.

First, there are USB tokens that can hold a private key and sign messages. Such tokens could be sold at places accessible only to adults and verify that they are indeed adult. Obviously every token should hold the same private key.

Second, OS could implement "parent mode" which allows installing only white-listed, government approved apps (no Telegram or Whatsapp or other dangerous apps, but school apps are ok) and opening only white-listed government-approved websites. Put in jail the parents who did not set up a parent mode. Problem solved without passports and verifications.

If, however, the government insists on selfies, it means they just want to identify users and compile lists of "untrustworthy", "rebelious" and other persons of interest.

Also, employees who do verification, sometimes create internal chats where they post pictures of clients and mock their appearance. We had such case with Alfa-Bank in Russia, where the photo of a funny client with a passport and third-grader level comments leaked to Instagram account of employee's friend. The bank paid approximately $20 as a compensation.

comment 4mo ago · link · parent

Also, GLM 5.2 seems to be the best open-weight model, and it beats proprietary Gemini and older versions of Claude which is amazing. You can have a model at level of Claude Sonnet 4.6 at home without sharing anything, and maybe even uncensor it.

comment 4mo ago · link · parent

Sadly no tasks for C, especially for working with optimized low-level data structures. And with testing performance of a solution. Anyone can write Python, try writing optimized low-level code.

Also I wonder if models playing dumb to prevent learning on outputs affected the score.

Also interesting that Claude edits files by writing and running Python scripts, is that efficient?

comment 4mo ago · link · parent

> But they never ask themselves how the baker gets all his materials to the bakery.

You can allow transport for business (speed-limited to 30 km/h or ~20 mph) and ban individual's cars. There are busses, trams and subway and there is no need to have a car.

comment 4mo ago · link · parent

Sites that are backed by a billion dollar company typically have better antibot protection, and lot of expertise in this.

Also, patched browsers have existed since long ago, although they were not open-source.

comment 4mo ago · link · parent

The permissions are per-user, not per-app and that is the problem. The distibution developers assume that you trust the programs you run, but how can I trust commercial and proprietary software? How can I trust the code from a random guy on Github without a passport verification?

comment 4mo ago · link · parent

That's the problem with many Linux distributions - their developers assume that you trust programs you run and if you run malware it is your fault. But you cannot trust commercial and closed-source programs so Linux is not ready for using them. Instead of solving the problem they simply make it user's responsibility.

So as a responsible user I am slowly writing my own sandboxes, struggling with lack of documentation and designing workarounds.

comment 4mo ago · link · parent

Yes but not $1000 level expensive, right? It is just a tiny piece of metal, and on laptops there are no pins at all.

comment 4mo ago · link · parent

Different kernel modules might have different vulnerabilities.

comment 4mo ago · link · parent

One server is enough for many small businesses. And for large business (like X or Instagram) it is economically more profitable to own their servers. For example, in my country top companies like VK or Yandex own their datacenters and sell cloud services instead of paying for someone's else cloud.

Also if you have several servers you do not need to hire a full-time sysadmin.

> Managing a non-trivial hardware fleet requires people, and people cost money.

People in AWS also cost money and guess who is going to cover this cost?

comment 4mo ago · link · parent

> LPE: On distributions such as RHEL, /dev/kvm is world-writable (0666), so an unprivileged user can also use this vulnerability as a reliable LPE to gain root.

Why on Linux device files are accessible by untrusted applications?

comment 4mo ago · link · parent

Then what's about using 4-8 cheapest motherboards with 64Gb DDR4 and a cheap CPU, and connecting them via PCIE x16 sockets?

And as for DRAM channels, typical cheap motherboard has 2 channels and 4 slots, it should not be super difficult to add 2 more channels.

comment 4mo ago · link · parent

> any costs for CPU, chip set, and motherboard redesign.

Yes they spent those costs to switch from DDR4 to over-priced DDR5 and I suggested the cost could be spent on adding more DDR4 channels instead.

comment 4mo ago · link · parent

Why is that so?

comment 4mo ago · link · parent

So what I am trying to say, industry took a wrong turn. Instead of moving to over-priced DDR5, they should just make even cheapest CPUs support 8/16 DDR4 channels. Because a 32Gb DDR5-4800 module costs $360, and two 32Gb DDR4-3200 modules cost $320, so you get twice more size, more bandwidth and it costs you less. DDR5 is just a rip off.

comment 4mo ago · link · parent

Please note that 8 x 16 Gb DDR4 modules cost $480, and have a bandwidth of 200 Gb/s, the only problem you need 8 DRAM controllers.

comment 4mo ago · link · parent

32 Gb DDR4 RAM module has a bandwidth of 25 Gb/s and costs $160. If you buy 8 of these, you get 256 Gb RAM with 200 Gb/s bandwidth at $1280. And if you buy 16 x 16 Gb modules (each at $60) then you can get 400 Gb/s of bandwidth for $960.

The only problem, you need 8 or 16 memory controllers. Memory controllers are not that expensive: Intel Core i3-14100F has 2 channel controller and costs $110, so we can estimate that 16-channel controller should cost not more than $880, and 8-channel controller should cost $440.

So isn't it better to make a cheap CPU with 16 DRAM controllers instead of this $4K gear having only 128 Gb? Or maybe 2 CPUs each having 8 RAM channels?

DDR5 costs 2 times more ($360 for 32 Gb) while not even having 2 times the bandwidth so it is not worth buying. It is more reasonable to make more RAM channels and stuff them with DDR4.

comment 4mo ago · link · parent

Consumers do not decide anything, they will buy whatever is in the store.

comment 4mo ago · link · parent

My bank supports both SMS and push notification for 2FA. Also PIN code in an app is probably local and doesn't protect from a kernel exploit. I hope you do not keep too much money in the bank.

comment 4mo ago · link · parent

This is extra large size fly, we have these insects, but they usually live in the countryside and hunt for cows. Normal size fly is this https://en.wikipedia.org/wiki/Muscidae

You might go to countryside or forest to enjoy nature but instead your blood will be enjoyed by plentiful selection of insects of all sizes ranging from tiny Simuliidae to large Tabanidae.

comment 4mo ago · link · parent

They suck blood like mosquitoes, they intentionally search for humans, fly around and wait for a convenient moment. Maybe we are talking about different kind of flies. So we cover windows with an insect screen (net) in summer.

comment 4mo ago · link · parent

Flies bite and butterflies don't? Sorry no tolerance for those who wants to bite me.

comment 4mo ago · link · parent

> unless there was a compelling national security reason

But there never is a lack of compelling national security reasons.

comment 4mo ago · link · parent

Isn't it the problem with software architecture choices like large monolitic kernels, lots of unnecessary telemetry/marketing services, legacy APIs, unsafe languages like C, lack of static analysis, etc?

You should threat a phone as an infected ground and do not keep anything important there.

Some leaders simply do not use smartphones and are protected from electronic spyware.

comment 4mo ago · link · parent

You can run the model in a sandbox or VM. Although, it could plant a backdoor into the written code. Too bad, I read and fix all the code written by AI.

comment 4mo ago · link · parent

The outcome is that we get either free or cheaper model. Good work.
1
161718
185