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 2y ago · link · parent

What if I don't want to use cache?

comment 2y ago · link · parent

You can put ordinary crontab into your repo.

comment 2y ago · link · parent

Cloud setups are not reproducible, because you cannot reproduce the same env locally or in the other cloud.

comment 2y ago · link · parent

Why does a small startup need several machines though?

comment 2y ago · link · parent

Why is there need to move memory? Hardware cannot DMA data into non-page-aligned memory? Or Linux doesn't want to load non-aligned data?

comment 2y ago · link · parent

Stop using banks, taxi, delivery, mobile apps, Internet stores and Internet in general.

comment 2y ago · link · parent

Probably code search was misused by bots to search secrets.

comment 2y ago · link · parent

As I understand, this site just records and plays back your voice?

I remember there was a different website that performed tests on different microphones and you can hear how different instruments and vocals sound when recorded before buying.

comment 2y ago · link · parent

There is even more powerful marketing tool - preinstalling software. If you can pay to PC or phone makers to have your software preinstalled, then it is difficult to compete with you. It is the most reliable method of marketing.

comment 3y ago · link · parent

> The reason LLMs fail at solving mathematical problems is because

...because they are too small and have too little weights. Cats cannot solve mathematical problems too, but unlike cats, neural network evolve.

comment 3y ago · link · parent

> What tests are you talking about that should be done BEFORE conception!?

DNA test that detects errors (invalid sequences) known to cause serious illnesses. I think everyone who is considering to have children, should take such a test because he or she can be a carrier of invalid DNA which can be inherited and ruin life for a child. People should behave responsibly.

comment 3y ago · link · parent

Apps in app stores are mainly supposed to sell air which costs nothing (for example, game items) so paying 30% might be reasonable.

comment 3y ago · link · parent

Tests are not mandatory so people do not know or do not care about the problem. Also they should be done before conceiving a child.

comment 3y ago · link · parent

> The top and bottom margins of a single box should never have been allowed to collapse together automatically as this is the root of all margin-collapsing evil.

Disagree. All margins, including horizontal, should collapse. Typically you want 20px between buttons, not 20 + 20.

comment 3y ago · link · parent

You can avoid cars, do not jaywalk, be extra careful and look around when crossing the street to reduce this probability though.

comment 3y ago · link · parent

> Apple manages maximum charge capacity automatically depending on the way you use your computer.

Apple cannot predict where you are going to use laptop on AC power at home or whether you are going somewhere and need a full charge. So manual control is better.

comment 3y ago · link · parent

As I understand the most difficult to cure and incurable diseases are those that are encoded in DNA (DNA contains errors and invalid sequences which cause the disease). So instead of making multi-billion research and cure that costs millions of dollars, wouldn't it be easier to make everyone check their DNA and warn about presence of invalid sequences causing diseases? So that no more sick children are born and no need to buy pills for millions of dollars.

The DNA testing should be mandatory for everyone, but let parents decide for themselves if they want a child with an incurable disease. Maybe we should make them pay extra taxes if they ignore the warning.

comment 3y ago · link · parent

So you think parents should not check whether their genes contain markers for incurable diseases? Let more sick children be born? With prices like several million dollars for the cure for this disease, majority of parents (except for rich countires) will not be able to afford treatment.

According to Wiki, "Sickle cell disease occurs when a person inherits two abnormal copies of the β-globin gene (HBB) that makes haemoglobin, one from each parent". So this is a disease caused by errors in DNA sequence and it can be predicted whether the child will have it.

comment 3y ago · link · parent

So you think parents should not know and should not care whether their children will have an incurable disease?

According to Wiki: "Sickle cell disease occurs when a person inherits two abnormal copies of the β-globin gene (HBB) that makes haemoglobin, one from each parent". So basically this disease is encoded in DNA and it can be predicted whether future child will inherit it. Mandatory DNA screening could result in zero people having this disease (and other expensive to treat or incurable diseases). There will be no need to spend large money researching it, and those money can be used for more important non-genetic diseases.

Of course, religious people would be against this but we as a society should rely on science, not on blind faith.

comment 3y ago · link · parent

What do you think about mandatory DNA screening? I.e. analyse DNA of everyone who wants to have children and do not allow it if there are defective genes? This way we could save a lot on research and treating currently incurable diseases (there would be no children with such diseases and no need for treating them).

comment 3y ago · link · parent

Interesting, if I remember correctly, 8080 also required 4 clock cycles to fetch and execute a single-byte instruction. Did 8088 inherit some schematics from 8080? And 6502 uses 1 clock cycle for one memory access.

comment 3y ago · link · parent

I looked at 8088 instruction timing, and add register to register instruction seems to use 2 bytes and requires 3 clocks to execute. Why didn't they make addition while fetching next instruction byte and get a 33% speedup?

comment 3y ago · link · parent

I googled a little and found a Belorussian article [1] that says, that first it is an American company (despite the name), second, it targets tourists, and third, they use DCC (dynamic currency conversion), so that when you want to withdraw euros from account in euros, they do double conversion, e.g. euro -> USD -> euro with very unfavourable exchange rate.

[1] https://www.alfabank.by/about/articles/main/Euronet_DCC_11_0...

comment 3y ago · link · parent

The page uses too large font size for code examples. It is easy to look good at a large size. I advise to set page zoom to 70% or less before comparing font legibility.

comment 3y ago · link · parent

> The sweet spot is densely packed urban areas that are built on the human scale.

Near the subway, and surrounded by historical buildings and nice architecture ... where an apartment usually costs an exorbitant price.

comment 3y ago · link · parent

Imagine if you go to your work at the bank tomorrow and instead of a well documented, maintainable and formatted code see a gibberish. And your neural coworker tells you that it is just a problem with your capabilities if you cannot understand it. He just refactored it to improve performance. That's the situation with machine learning today.

comment 3y ago · link · parent

By "underlying rules" I meant not rules of Go, but a detailed, commented algorithm that can win against human. Not a bunch of weights without any explanation.

comment 3y ago · link · parent

But humans failed to find an algorithmic solution for Go. All they could do is to throw a lot of data and get a bunch of coefficients without discovering underlying rules.

Same with drawing images and understanding language: this is not solved yet.

This is like showing an answer on an exam but failing to explain how you got it. I doubt you can get away with this.

comment 3y ago · link · parent

Aren't most of the checks automated? E.g. you just fill a form in a government services website and get a PDF back?
1
828384
185