HNHacker News
TopNewBestAskShowJobs

dagenix

2,657 karma · joined July 15, 2017

submissionscomments
dagenix··on HTTP/2-exclusive threats caused by implementation flaws and RFC imperfections
The title seem very much anti-HTTP/2. However, unless I missed something huge, the vast majority, if not all, of the issues found relate to how hard it is to handle HTTP/1. And it seems kinda odd to blame HTTP/2 for HTTP/1 being difficult to implement.

I'm certainly not trying to downplay the seriousness of these issues. But it seems like a equally (it not more) valid title might be something like "HTTP/1: Continues to rear its ugly head" or something like that.

dagenix··on HTTP/2-exclusive threats caused by implementation flaws and RFC imperfections
HTTP/1.1 pipelining is fundamentally flawed and largely unused. There isn't some conspiracy not to use it - many, many projects evaluated it and pretty much all came to that same conclusion.
dagenix··on BLAKE3 1.0
A Sha256 hash is just a dump of the internal state of the function. If you know the hash, you can keep running the hash function for more data and calculate a new hash for the original data with new data appended.
dagenix··on After Slashing 33% of Workers in 6 Years, Railroads Complain of Labor Shortages
> A shop being out of stock does not in itself mean there is a shortage.

_A_ shop being out of stock doesn't mean that there is a shortage, but when all of them are it is.

> It also seems like you're trying to moralize this when it's just about supply and demand

I don't see how you can ignore the moral aspect - there is a massive difference between being able to afford toilet paper vs being able to hire workers at the rate that a corporation wants.

dagenix··on After Slashing 33% of Workers in 6 Years, Railroads Complain of Labor Shortages
You're arguing that the labor market is distorted by unemployment benefits - that may very well be true. But that doesn't mean there is a "shortage" of people able to do that job.
dagenix··on After Slashing 33% of Workers in 6 Years, Railroads Complain of Labor Shortages
And there is a legitimate discussion to be had about the impact of enhanced unemployment benefits on the labor market - especially since those benefits are temporary. When they run out, it could leave employers that hired people at the wages they can demand today with a workforce that is being compensated more than what comparable workforce would demand in a few months. The fact remains, if employers wanted to hire people, they could. It just costs more today - either via a higher base salary or offering something like a signing bonus. People didn't vanish into thin air - they just want more money to do the work. But it's not a shortage - it's a failed negotiation.
dagenix··on After Slashing 33% of Workers in 6 Years, Railroads Complain of Labor Shortages
That's not the same thing. The reason that you couldn't buy toilet paper was because there was literally none of it on the shelf. That is a shortage. You could show up with $1,000 and you still can't make toilet paper show up out of thin air when it's not there.

What you are describing is having stores re-price toilet paper to reflect demand. And that would have fixed the shortage. The problem then isn't that toilet paper isn't available, its that its price becomes completely unethical - rich people and not-rich people both have an equal right to toilet paper and pricing it up to level where the less well compensated have a hard time affording it - even if is available - is ethically problematic. Outside of there being laws against price gouging, stores know that customers will never forgive them for this - if you are working at a minimum wage job and you show up to Target and toilet paper costs $150 you could very well swear to never go there again.

That is massively different than what is going on here. We're talking about huge corporations that have spent years reducing their work force that want to increase their work for now and are upset that they can't get the same prices for labor as before. It's not like labor is going to cost 10x as before - it's an incremental increase. And its not like this is some fundamental right - people of all income levels should have a basic right to keep themselves clean. Corporations don't get to dictate what it wants to pay its workers. A 25% bump in toilet paper costs probably wouldn't have fixed the toilet paper shortage. A 25% bump in pay may very well fix this "labor shortage".

They aren't the same things.

dagenix··on After Slashing 33% of Workers in 6 Years, Railroads Complain of Labor Shortages
Ya. Just because the company would like for people to come back, doesn't mean they have the right to expect them to. The same way that the company chooses to stop paying people, people choose that maybe they'd like to do something else.
dagenix··on After Slashing 33% of Workers in 6 Years, Railroads Complain of Labor Shortages
Then there is always a shortage. I'd always like to pay less than what someone wants me to. And with labor, its not like the companies referred to are offering 4x the old salary and still can't find takers - they are upset that they need to raise wages even a little.
dagenix··on After Slashing 33% of Workers in 6 Years, Railroads Complain of Labor Shortages
Lol - "Labor Shortage". It's like me complaining that there is a MacBook shortage because I refuse to pay more than $200 for a MacBook. There is no such thing - they just don't like the prices that labor is asking for. Maybe a "people willing to work for the money that they want to offer shortage" - but that sounds much less nice for the business.
dagenix··on No sane compiler would optimize atomics (2015)
I don't follow - how do memory fences make a meaningful difference in security?
dagenix··on No sane compiler would optimize atomics (2015)
> explain to me why a function that is clearly intended to create a side effect that is visible outside the process

This is simply not accurate. memset_s provides that guarantee. memset does not. It would appear that you have been under the impression that it did. However, it did not.

dagenix··on W3.org Cert Expired
Yeah, there is no DNS mechanism. Although, IIRC, it is possible to place an entire TLD on the preload list - which still doesn't use DNS, but its a mechanism to enable HSTS where the website itself doesn't do anything.
dagenix··on Ethereum will use around 99.95% less energy post merge
I don't care how many months of 2% (or 10%) interest I get if it's followed by a 100% loss. You're getting that high interest rate because you're taking on a great deal of risk. 8 months of a bull market hardly proves otherwise.
dagenix··on Lasting immunity found after recovery from Covid-19
Vaccines work - but they are not 100% effective. If an unvaccinated, COVID positive person comes in close contact with 100 people that are vaccinated, a number of them will get sick. Way less than had they not been vaccinated. But way more than is acceptable.
dagenix··on Twitter is blocking tweets that criticize the Indian government
It's appalling that you trivialize human rights. You should be ashamed.
dagenix··on How to make a Python package in 2021
Its at least consistent - which, IMO, is better than just getting a random version. I do, however, think it's a bit unfortunate that it prevents picking up bug / security fixes in transitive dependencies.

Imagine that you depend on library A of a particular version which itself depends on library B. With minimal version selection, as long you don't bump you dependency on library A (or some other library that depends on library B), you'll continue to get that same version of library B. But, then library B releases a critical security fix. With minimal version selection, there isn't a great way to pick up that fix. You can _hope_ that library A releases a new version that requires the fix - but that may or may not happen and could take a while. Or, you could add an explicit dependency on the new version of library B - which is unfortunate, since, your main package doesn't depend on library B directly.

Lock files solve this problem. You can depend on whatever version of library A that you need and lock the transitive dependencies. And once library B releases its fix, you can update your lock file without having up bump the version of library A.

Tools like poetry providing the features to automate this workflow.

dagenix··on How to make a Python package in 2021
> Version pinning can be done in setup.py using the same syntax you would see in a requirements.txt file

The problem with this approach is that it doesn't handle transitive dependencies well. Say you depend on version 1.4.6 of a particular library. And then that library depends on version >= 2 of some other library. When you install your package, you know that you'll get version 1.4.6 of the first library but have no idea what version you'll get of the second library. You can of course pin all the transitive dependencies - except that clutters up the setup.py and is a massive pain to keep up to date as you bump individual dependency versions.

dagenix··on Closing web browser windows doesn't close connections
Iff it remains open is irrelevant. It's only relevant iff it is reused - and I'm still waiting for evidence of that.
dagenix··on Closing web browser windows doesn't close connections
Neither you or anyone else that I've seen have provided any evidence that the same connection is re-used.

Imagine this scenario:

1. User visits a site in normal mode. Browser opens connection A. Browser uses connection A to fetch the site. Browser leaves connection A open.

2. User opens private mode. User visits the same site. Browser opens connection B to fetch the site.

How does it matter that connection A was left open if some other connection was used to fetch the site in private mode? If that's not the case, then its a big deal - but that requires some sort of evidence and not just wild hand waving that it could be the case.

dagenix··on Closing web browser windows doesn't close connections
Interesting. On Mac OS, connecting to a VPN seems to terminate all activate connections for me pretty immediately.
dagenix··on Closing web browser windows doesn't close connections
There is nothing to correlate unless the connection is actually re-used in private mode. Merely leaving an unused connection open doesn't change much of anything.
dagenix··on Closing web browser windows doesn't close connections
Evidence?
dagenix··on Closing web browser windows doesn't close connections
Do you have evidence that connections opened in non-private mode are re-used in private mode?
dagenix··on Before buying a NYT subscription, here's what it'll take to cancel it
Those are some pretty strong generalizations that I'm not convinced are true all the time.
dagenix··on How I survive 12 hour flights
I've got some bad news for you about every toilet you encounter outside of your house...
dagenix··on FreeBSD 13.0 Beta1 Now Available
It doesn't matter who said it. What matters is that they are wrong. Encrypting the connection significantly complicates that attack.
dagenix··on FreeBSD 13.0 Beta1 Now Available
I'm not really sure what you are getting at. Regardless of what Samsung is doing, I'm confused by the argument that encryption is useless because Samsung might take steps to work around it when not using a Samsung device is a viable option.
dagenix··on FreeBSD 13.0 Beta1 Now Available
What if you aren't using a Samsung device?
dagenix··on Python 3's F-Strings: An Improved String Formatting Syntax
I only found out about this quirk a few months ago immediately after I had given the same warning you had to someone else. It's extremely unintuitive.
← PreviousPage 4 of 18Next →