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

CSS reset is worse than any default browser style: in browser paragraphs are separated and lists have bullets. With CSS reset, there are no styles at all, and the page looks like unformatted text.

comment 3y ago · link · parent

Socket activation means that every application must be modified so that it can run both with activation or without. So you need to patch every application for compatibility with systemd. And if tomorrow there will be an alternative system daemon, you will have to patch everything again?

comment 3y ago · link · parent

Here (in Russia) typically SMS is used as a second factor and you don't need an app. Requiring to install an app is basically requiring to buy a modern smartphone only to be able to log in.

comment 3y ago · link · parent

Reset removes all default styles, so paragraphs become without margins, lists without bullets, tables without borders etc. Normalize tries to fix default styles so that they look the same in every browser.

comment 3y ago · link · parent

CSS resets are bad idea and shouldn't exist. Every time you see paragraphs without margins, or lists without bullets, it is probably a fault of CSS reset.

comment 3y ago · link · parent

And why nobody does this? Maybe because they simply don't mind against reading their correspondence? Or because they do not want to look like a criminal trying to hide something?

comment 3y ago · link · parent

This cannot be counted as a backdoor though, if you are too lazy to create a secret chat is it Telegram's fault?

comment 3y ago · link · parent

Do not use banking apps on a phone because it is not secure (there is no second factor). Use bank's website on a laptop instead.

comment 3y ago · link · parent

> practically demanded to return the old root password

You could set that password just for that one customer, and there is no problem.

comment 3y ago · link · parent

No. There are so many plugins and so many knobs that you will never have enough MIDI control panels and time to set them up.

comment 3y ago · link · parent

Because it needs to do billions of arithmetic operations to generate a reply. Replying to questions is not an easy task.

comment 3y ago · link · parent

Shouldn't derivative work be in public domain as well? Not from legal point of view, but from human point of view.

comment 3y ago · link · parent

Microsoft does exactly this with 19th and 18th century fonts, for example [1].

[1] https://learn.microsoft.com/ru-ru/typography/font-list/baske...

comment 3y ago · link · parent

Big corporations shamelessly digitize old fonts and claim copyright, take Microsoft as an example [1].

[1] https://learn.microsoft.com/ru-ru/typography/font-list/bookm...

comment 3y ago · link · parent

Big foundries digitize old fonts and claim copyright on them. Take Microsoft as an example, who took 19th century font and sells it [1]

[1] https://learn.microsoft.com/ru-ru/typography/font-list/bookm...

comment 3y ago · link · parent

> It's kind of a dick move for an agency to be ripping off the foundries, especially small modern ones. Creatives do enjoy what typographers make and can see the love put into their craft.

But foundries sometimes do the same: they take samples of, say, 18th century font, and digitize it, and claim copyright. Do you think it is fair when someone copies Helvetica or 19th century Bookman [1] ?

[1] https://learn.microsoft.com/ru-ru/typography/font-list/bookm...

comment 3y ago · link · parent

Fruits in nature are often not sweet at all. Wild apples are hard, small and sour, for example.

comment 3y ago · link · parent

Is meat or fat, or cheese sweet? Usually sweet is the harmful, unhealthy food like candies. Because of sweetness children often prefer unhealthy food to healthy and useful.

comment 3y ago · link · parent

Why human distinguishes so little flavours? I thought that tongue is like a chemical laboratory detecting hundreds of different substances. Also, why detect sweet or sour taste? Wouldn't it be better to detect energy-rich and useful components (like meat or fat) and poisonous/harmful (like mushrooms)?

comment 3y ago · link · parent

What if you live in US but your health doesn't allow you to drive a car?

comment 3y ago · link · parent

> If the source field in a packet reliably indicated the source of the packet and a given IP was sending you a lot of unwanted traffic, you'd ask their ISP to turn them off and the problem would be solved

No. Your email will go straight into trash because ISP is not interested in doing something for people who don't pay them money. Also, even if they cooperate, it will take too much time.

> Null routing is available

Null routing means complying with criminals' demand (they want the site to become inaccessible).

> it's unlikely to happen

It will very likely happen if there will be a serious attack on Western infrastructure: for example, if there will be no electricity in a large city for several days, of if hospitals across the country won't work or something like this. Then the measures will be taken. Of course, while the victims are small non-critical businesses, nobody will care.

> Otherwise, the only solution is to have more input bandwidth than the attack and suck it up. Content networks are in a great position here, because they deliver a lot of traffic over symetric connections, they have a lot of spare inbound capacity.

So until my proposal is implemented the only solution is to pay protection money to unnecessary middlemen like Cloudflare.

comment 3y ago · link · parent

> An attacker could easily "flush" all entries in this table by, for example, banning a TB of ipv6 addresses

We can set a limit of ban records per host to prevent it.

comment 3y ago · link · parent

We can store an IP address with a mask (ban subnets instead of separate addresses). Also, IPv6 is so rarely used, that I would ban whole address space for the time of attack.

For example, if an attack is coming from a country you where you don't have many paying customers, but where there are many infected devices due to use of pirated outdated software, it is easier to ban the whole country than to figure out who is infected and who is not.

comment 3y ago · link · parent

Almost everywhere if you move little further from the center of the city and from the subway, the prices become more reasonable.

comment 3y ago · link · parent

Ardour supports only Linux VST (rarely used, unpopular format). Most of plugins use Windows VST, i.e. they are distributed as Windows-compatible DLL.

comment 3y ago · link · parent

> How does one get removed from the block list?

We can add an "accept" packet that lifts the ban.

Also, how do you remove yourself from blacklist when banned by Google or Cloudflare? I guess here you use the same method.

> Say some IoT device that half of households own gets compromised and turned into a giant botnet. The news gets out and everyone throws away that device. Now they are still blocked over a threat that doesn't exist anymore... doesn't seem like a good situation for anyone.

Not my problem. Should have thought twice before buying a vulnerable device and helping criminals. As a solution they can buy a new IP address from their ISP.

comment 3y ago · link · parent

The intermediate routers can send back a confirmation code, and you must send a new reject packet with this code to confirm the ban.

comment 3y ago · link · parent

As I understand, "blackholing" is basically siding with criminals: attackers want the victim to get off the network, and by "blackholing" the network operator complies with their demand, which allows attackers to save resources. Everybody wins except for the victim.

comment 3y ago · link · parent

This can be made on a paid basis. For example, for $1/month a customer gets a right to insert 1000 records (block up to 1000 networks or IPs) into blacklist on all Tier-1 ISPs. For $100/mo you can withstand an attack from 100 000 IPs which is more than enough and Cloudflare goes bankrupt.
1
878889
185