Better HN
topnewbestaskshowjobs
Log inSign up

returningfory2

2,464 karma · joined Jun 25, 2020 (6y ago) · 493 submissions

Submissions

comment 2y ago · link · parent

The post is about solving a specific same-architecture bootstrapping problem. Cross-compilation is irrelevant to this discussion.

comment 2y ago · link · parent

Yeah. But even if you act in good faith there's still a chance you'll make mistakes and run afoul of the law. And now the cost of a mistake is not "we'll end up losing money in this new market" it's "our business might fail worldwide".

comment 2y ago · link · parent

I don't understand, are you saying the intended effect of these laws is that non-EU countries don't enter the EU market?

comment 2y ago · link · parent

I'm not sure if it will actually happen. But the theoretical "problem" with these "X% of worldwide revenue" fines is that they change the calculus of launching an existing product in Europe. It makes it so that if a company enters the EU they risk it being a net negative to revenue.

comment 2y ago · link · parent

They were replying to part where you said:

> I never once heard that from a woman under 50.

comment 2y ago · link · parent

Writing a small compiler in C and a big compiler in Rust is simpler than writing a big compiler in C.

comment 2y ago · link · parent

I think the problem you encounter with this is that you can no longer reference the small string as a &str.

comment 2y ago · link · parent

Awesome reference, thank you!

comment 2y ago · link · parent

Thanks! I should have made it more explicit that we would need some family of quantic equations, not just x^5 - x - 1. And looks like from another reply the answer is yes? https://en.wikipedia.org/wiki/Bring_radical#Solution_of_the_...

comment 2y ago · link · parent

Oh sorry, right.

I feel there is an interesting follow-up problem here. The polynomials x^n+a=0 are used to define the "radicals" which is a family of functions F_n such that F_n(a) = real nth root of a = real solution of x^n + a = 0. Using these radicals you can solve all quadratics, cubics and quintics.

Now take another collection of unsolvable polynomials; your example was x^5 - x - 1 = 0 and maybe parameterize that in some way such that these polynomials are unsolvable. This gives us another family of functions G_n. What if we allow the G_n's to be used in our solutions? Can we solve all quintics this way (for example)?

comment 2y ago · link · parent

> "even if God told you the answer, you would have no way to write it down"

But isn't this also true for generic quadratics/cubics too? Like the solution to x^3-2=0 is cubed_root_of(2), so it seems we can "write it down". But what is the definition of cubed_root_of(2)? Well, it's the positive solution to x^3-2=0...

comment 2y ago · link · parent

Maybe define a new type in a such way that only 1 value of that type can be instantiated, and then put that unique value in a mutex. Any function that needs to hold the global lock accepts a value of the new type. Calling the function involves providing the value, which is proof that you are holding the mutex.

comment 2y ago · link · parent

{Latin Americans, Europeans, Africans, etc...} don't know much about the rest of the world, either. But it seems that only people from the United States are criticized on this website for not knowing a whole lot about how things go in different continents.

comment 2y ago · link · parent

“so fussy and no idea” is a great phrase and really captures a certain kind of review!

comment 2y ago · link · parent

Which countries do you think have better rights regimes than the US? Ie which countries _are_ you willing to travel to?

comment 2y ago · link · parent

This is interesting! However, I suspect general TeX support in Typst is probably impossible unless you re-implement the entirety of TeX within Typst somehow. The TeX language has some really terrible properties. For example, the tokenization rules can be dynamically changed at runtime based on the output that has already been produced. E.g. you can write a TeX file that says "typeset this paragraph, and if the result is an odd number of lines, change the meaning of A from letter to open brace". Thus, fully supporting TeX within Typst would seem to require making all of the internals of Typst available to the TeX runtime.

comment 2y ago · link · parent

Yeah that's interesting - maybe I have some selection bias that leads me to a different sense.

I do think though that there's a relation between attitudes and policy that gets enacted. So I agree many people do think that the US healthcare system is the "best in the world" - but if everyone thought that, we would never have had Obamacare, and Medicare for All wouldn't be a thing. I think these policies being enacted/seriously discussed is evidence that there's a non-trivial number of people questioning the status quo.

Anyway, my overall point was that questioning the status quo is good for your country and reflexively defending it is bad, because then you don't find ways to improve it.

comment 2y ago · link · parent

My comment is not about the specifics of this case...

comment 2y ago · link · parent

HN topics are not linear conversations. There is no notion of "changing the subject". We can simultaneously discuss the article and topics around the article on separate comment trees.

comment 2y ago · link · parent

Doesn't this whole HN post kind of substantiate it though? The article itself was incorrectly flagged. So far I see no comments addressing the content of the article at all. I think it's completely fair to describe the response here as reflexively defensive.

I do agree that my comment is too broad in implicating most Europeans. I do think the standard European response on HN is how I described it, but presumably most Europeans on HN don't actually contribute to these discussions and it's misleading to extend the point to them.

comment 2y ago · link · parent

What is false about the article? (This is not a rhetorical question - I'm curious.)

comment 2y ago · link · parent

My comment is not about the specifics of this case...

comment 2y ago · link · parent

I would be interested in hearing why my comment is being downvoted.

comment 2y ago · link · parent

My feeling is that when European policy is discussed on Hacker News, many Europeans reflexively become defensive and defend the European government's perspective irrespective of the merits. There is this sense that Europe can never be wrong, and is always better than the US. I would strongly encourage Europeans to reconsider this approach. It is not in your interest or in the interest of Europe.

For context, I grew up in Europe and now live in the US. One major difference in the US is that people are often very critical of the general direction of the country. In many cases this is the key mechanism by which positive change is made. For example, in the US many of us are critical of the healthcare system's poor accessibility for lower income people. That criticism has been channeled towards some non-trivial positive change (Obamacare on the federal level, many other thing locally).

Imagine instead that Americans took the European attitude towards this issue. As soon as anyone criticized American healthcare they would get defensive, dig their heals in, refuse to listen, and insist that the American healthcare system is fine. This would be really bad for the US! We would never have made any positive change because we would have been in denial about there being a problem in the first place.

Of course some people in the US do this. But I feel for Europe the standard response to any criticism of Europe is to dismiss it out of hand and retreat to this attitude that Europe is superior to everywhere else.

comment 2y ago · link · parent

If you want to bring a Chilean rental car into Argentina you need to obtain and pay for a specific permit at least a few days before you pick up the rental car. Maybe that was missing? When I crossed the border they were very thorough with checking this permit.

comment 2y ago · link · parent

Gabriel Garcia Marquez is another example of a writer who lived outside their country of birth but whose writing was still set there (born and raised in Colombia but lived in Mexico City for most of their adult life). Others?

comment 2y ago · link · parent

The truly awesome thing about Matt Levine is how in complicated situations like this he doesn't try to pick the "right" side but instead leans in to how both sides have good points of view. In today's newsletter he quotes the majority opinion and says it's reasonable, and then quotes the contradicting dissent and says that's reasonable too. And they both are! A really difficult case with really difficult trade offs.

comment 2y ago · link · parent

On the one hand, this is a reasonable point to make and I think it's partially why the political support for congestion pricing wasn't there.

On the other hand, in reality, making new transit funding conditional on the MTA cleaning up all its inefficiencies and corruptions will simply translate into transit being underfunded.

comment 2y ago · link · parent

Yeah I am curious how this will play out for her in the long run.

One interesting dynamic here is the media's bias towards negative news. In the run up to congestion pricing the NY Times was putting out these very anti-congestion pricing articles (we need to be anxious that congestion pricing is happening!). But as soon as it was cancelled they flipped and now have put out a bunch of articles portraying the cancellation as a blunder (we need to be anxious that congestion pricing is _not_ happening!). I wonder in the long run what the steady state media framing of this whole episode will be.

comment 2y ago · link · parent

If that's true, why have types in proto at all? Shouldn't everything be an "any" type at the transport layer, and the application can validate the types are correct?
1
789
17