Better HN
topnewbestaskshowjobs
Log inSign up

throwawaylinux

3,517 karma · joined Jul 23, 2021 (5y ago) · 2,823 submissions

Submissions

comment 4y ago · link · parent

RISC-V doesn't mandate an implementation's hardware and firmware stack be fully open, does it?

comment 4y ago · link · parent

The big problem of software filled TLBs is that taking an interrupt serializes the pipeline and is an inherently single-threaded operation. Interrupts themselves are very heavy weight on high performance cores too. You could handwave that way somewhat, but not the serial nature of it. Software filled just doesn't cut it for high performance cores.

If an ISA defined a very small contained set of operations for TLB miss to program page table walking / TLB refill state machines that allowed the OS to define that behavior without taking an architectural interrupt that would be very cool. I suspect the hardware cost and complexity is not considered worthwhile though.

comment 4y ago · link · parent

Virtual linear page table. Neat trick. I think ia64 had an option to do that as well. But I've never seen a really good study of them on a decent range of interesting workloads.

Primary TLB misses have no dependent memory accesses (just the PTE) but at a cost of another TLB entry. Could be a win in some cases. Nobody really does it anymore though, it could be there is not much appetite for the risk of trying out different virtual memory schemes these days.

comment 4y ago · link · parent

Why did you bring it up if it was irrelevant? Suspicious and very deranged behavior.

comment 4y ago · link · parent

China is the problem at hand, among many.

Examining arguments for logical consistency and reasoning is very helpful to find flaws in them.

comment 4y ago · link · parent

How about China?

comment 4y ago · link · parent

TLBs do need to be explicitly managed by software, I don't know any CPU architecture where this is not the case.

It would probably be quite feasible to do actually with an architecture that has a simple page table like a single physically contiguous hash table, but x86 style arbitrary radix page tables seem like they would be prohibitive to snoop.

comment 4y ago · link · parent

I wouldn't call people illegal like that. If Russian undocumented immigrants take up residence there and grow large in number then it's their right to decide how they are governed if they preferred to be part of Russia.

It's one thing to condemn Putin's actions but quite another to demonize immigrants.

comment 4y ago · link · parent

I don't know how their process worked exactly but if you're going to just claim they didn't listen to their users and therefore you win the argument that's pretty cheap.

They certainly listened to their users and potential users.

comment 4y ago · link · parent

Does Finland have a lot of pro-Russian separatist areas on the borders? I would certainly be concerned about a Russian invasion if that's the case.

comment 4y ago · link · parent

How is that the main point? Even with those numbers implausibly all added to expenditure, it's 40%.

Where are your numbers you so confidently stated that I was wrong with? Let's see them.

comment 4y ago · link · parent

From what I can find e.g., https://tass.com/economy/1247359 or https://en.wikipedia.org/wiki/Federal_budget_of_Russia or https://www.wilsoncenter.org/blog-post/two-lean-years-russia... you are incorrect. The last link seems to have good information whether it's accurate or not I don't really know but most figures seem to agree roughly:

> In 2019, revenues are planned to reach 15.555 trillion and expenditures will amount to 16.374 trillion, whereas the deficit will stand at 0.8 percent of GDP. By 2020, revenues are estimated at 16.285 trillion with expenditures at 17.155 trillion

And

> In contrast, military spending rose from 2 trillion, 141 billion in 2013 to 3.775 trillion in 2016. In 2017 it fell to 2.778 trillion, and it will decline further in 2018 to 2.771 trillion, but will grow again afterward, to 2.808 trillion in 2020. It should be borne in mind that the actual military spending in Russia is much higher than the planned figures. Traditionally, additional budget revenues, if any, are allocated to this sector. Moreover, some military expenditures are concealed under other civilian items, primarily under the “national economy.” Police spending rose from 1 trillion, 487 billion in 2013 to 1.898 trillion in 2016, 1.977 trillion in 2017, 2.108 trillion in 2018, and 2.140 trillion in 2020. The share of concealed budget expenditures in 2013 amounted to 13.8 percent of the total expenditure and increased to 18.6 percent in 2017, with a planned increase to 20.1 percent of the budget in 2020. These are absolutely bizarre figures that cannot withstand any comparison with the secret parts of budgets in developed economies. At the same time, a significant proportion of the “secret expenses” most likely does not go to military purposes but simply remains in someone’s pocket.

So expenditures are around 17, and official military budget is 2.7-3.7. There are "secret" expenditures of up to 3.4 of which they don't all go to the military but if they did we would be at 7.1. 41% of federal budget revenue to the military.

Let's see your figures that show it over 50.

> But further discussion about it is pointless and will be going in circles.

I absolutely could be wrong, but I'm not arguing in bad faith here I'm using the sources I can find so you don't need to go off in a huff. And it's not really going in circles because you've refused to answer all my questions about China or acknowledged that the military build up in Europe is not remotely like it was in the 1930s. It's more like it's hit a brick wall than gone in a circle.

EDIT: Either way I find it's pretty arbitrary to be so worried about the exact amount of military expenditure. Would a regime that spent 30% of its budget be better than one that spent 40%? What if the absolute numbers were higher? What if the government raised taxes and other expenditures to reduce the proportion of military spending below the magic 50%? What about as a proportion to GDP? I really don't see why that should make a significant consideration about whether we would go to war with a country. So perhaps you are right and it is pointless to talk to you about this.

comment 4y ago · link · parent

Most of Russia's government budget is not spend on the army. I think North Korea is closer to that mark although it's probably even harder to estimate.

NK is not really expansionist but China is. So China. Who also spend 4-5x what Russia does in absolute. And I don't say it worked well to appease them.

I'm wondering what the difference is. Some pro-war people are drawing "lines" but it's not really clear to me exactly what those lines are. Beyond WWII and Nazis, which is not a reasonable analysis and seems more like a typical cheap appeal to emotion.

comment 4y ago · link · parent

> I see more parallels than differences. Fascistic regime with most of its budget used on the army and power hungry maniac running it.

Okay. I would be interested in hearing why it's different from other similar regimes but if you don't want to explain that's okay.

> And your arguments could be applied to World War II as well.

Some could in some ways that's true. But I don't think it's similar and I don't think all of them apply in equal ways.

Western Europe was petrified of Germany in the 30s and considered it a very high risk of wide scale invasion and wars though, which is why they doubled or tripled their military expenditure and had massive build ups of fortifications and forces during the 30s.

There's simply been no such sense of that kind of risk with Russia in the past few decades even up to today. I share that view that the real risk is not high. And Russia doesn't use most budget on the army, there is just no such indication of that kind of build up as Germany had.

So far it's a regime which is not very nice and has locally expansionist ambitions. Which is a lot like China. You have preferred so far not to answer whether you think we should go to war against China before they could roll through Taiwan since occupying Tibet, but I think that's a much better parallel than 1930s Germany.

comment 4y ago · link · parent

> The main parallel is that it's about a power maniac who won't stop until he is stopped.

Well there's clearly huge differences then aren't there?

> Or to put it differently, he'll take as long as he can. So the question you should be asking, will he stop with Ukraine if he'll take it?

I think I should be asking a lot of questions, that one included of course. And I'm not sure or even sure he would risk getting involved in a significant war in Western Ukraine. At this point "power maniac who must be stopped" doesn't sway me enough that I should ask someone else to send their son to die.

If we are concerned with power maniacs, should we start with China? Will they stop at Tibet and the Uyghurs and Hong Kong? Should we take the CCP regime down before they take Taiwan? That is actually stated goal of the party after all. North Korea? Saudi?

I mean if the concern is occupations, mad dictators, human rights or whatever, we have a lot of wars we could start. Why just limit ourselves to Ukraine?

That's why I don't find that emotional argument convincing (coming from the ruling class, at least). They're sometimes concerned with dictators, except when they aren't. In those other cases sometimes they ignore them and sometimes they actually support them. Sometimes they were the ones who installed them in the first place.

comment 4y ago · link · parent

> I don't think Putin is going to stop after Ukraine - he may temporarily stop to rebuild and plan the next war,

So far they seem to have occupied heavily pro-Russian areas very close to home that have not put up much resistance. I don't think that's a good indication they would just keep going further. Possibly though.

> but my belief is he will keep salami slicing until war is joined because he crosses some line that people stand up to him. Better to do it cheaper.

> The "you" was, well, everyone in the world. I don't really subscribe to the strange belief that I should only care about human suffering of my countrymen. However, if you do, the bigger the war gets, the worse it will be and the more far afield it will bring in other countries.

That is not my belief. It is my belief that I care about my countrymen more though or at least have more responsibility to them being that I have a vote in how the country is run, and it is also my belief that those with something to lose have to take a stand. I wouldn't want to send solders from my country even if Putin was driving a tank down the Champs-Elysees, if the French were all just sitting there waiting for me.

And pretty clearly Western European governments do not consider this a high risk given their military spending. So I just think it's very premature to take action based on the idea you can be so sure such a thing would happen.

> As far as "far from Russia's supply lines", their old border won't matter, they'll still be close to their bases in what was once Ukraine. Oh, and they'll have more resources from Ukraine. Plus, you won't have the 7th largest army in the world absorbing the brunt of their attack.

It would absolutely stretch supply lines and defenses. Reality isn't like an RTS you can't just keep conquering territory and it turns red and your resources immediately grow.

comment 4y ago · link · parent

Provided useful features and functionality that people wanted. Tabs and plugins are a couple of big ones off the top of my head that people loved. It was also adopting open standards and new technologies though, which was an uphill battle because Microsoft was fighting them with incompatibilities and closed extensions, but people actually did like those things. Good support for developer features as far as I know went a long way to getting around that and having content providers take up and support firefox as well although I'm not a web developer so I'm a bit less sure of that aspect of it.

Competition has improved but so has firefox. Why should the expectation be that they stood still while everybody else went ahead? And it absolutely has declined. You also did say that they don't have features you want and seemed to imply that was part of the realities of not having enough resources or struggling to compete with google. Just doesn't seem like the reason holds water.

comment 4y ago · link · parent

How are Russian troops entering Ukraine different from Germany invading Poland? Well probably quite a lot. Sort of a hard question obviously there are differences and similarities I don't want to get into just listing things out and arguing why the differences or similarities matter or don't matter. I hardly even know what's going on in the region now and my WWII history is not fantastic, so I don't think it would be too productive. I would be interested to hear you to explain it if you believe they are similar (if you want to).

Do you think this is more similar to Crimea 2014 or Poland 1939, for example? Or maybe you think Crimea 2014 was the same as Poland as well?

comment 4y ago · link · parent

> If you think Putin's next stop after Ukraine might be another country, then another, until he's planning his victory celebration in Paris,

Well, do you think that? My question was for you but it's fair I answer yours.

> you may want to stop him early.

What "you" is that? The people of those countries that would be invaded along the way?

If I thought that and was a person from one of those other countries, I would probably think it's preferable to build defenses of my country rather than engage in expeditionary warfare in the east near Russian supply lines and air space. Difficult question though I'm certainly no military strategist.

On the first question, I do not think Putin's next stop is likely to be that or possibly even the regions of Ukraine where there are fewer Russians/less pro-Russian support. But such things should always be considered and I'm no military or geopolitical analyst. What I can see is that from the amount of money western european states spend on their defenses they do not consider such a risk likely either, and they do employ many such strategists. So as a person not from one of those countries I certainly wouldn't support my country getting involved in military action in the region first.

comment 4y ago · link · parent

Thank you for the response and your perspective. One can and should use lots of history as a case study I agree.

This is not the same situation though so I don't think it would be responsible to just say Putin is like Hitler and this is like the invasion of Poland therefore I will send other people to fight a war with some unspecified goal, and just leave it at that.

I'm not saying your opinion is wrong or you haven't thought more deeply about it, perhaps you don't have time or interest in giving a more lengthy answer.

comment 4y ago · link · parent

Thank you for the answer and perspective. Yes, it is a sad, impossible question really.

comment 4y ago · link · parent

No, "this" meaning the present situation in the region. And I'm not asking about a hypothetical, but the actual reasons are that people who support military action. And what is it exactly you personally hope it would achieve.

I would be interested to hear from anybody from Ukraine to USA to Russia.

No right or wrong answers, I'm just interested in perspective.

For myself since I'm asking the question: I'm in a western country and I don't support sending my countrymen to war. For a number of reasons, primarily I don't think the western neoliberal ruling regime (not talking about one political party or another, but the non-partisan support for wars and interventions by many western governments for many decades) can be trusted with war or interventionism. It has almost always been sold on utter lies and deceit, and almost never turned out for the better of the people involved.

It is sold to us on emotion and outrage and urgency and this kind of thing, but very little calm rational and considered arguments and debate of pros and cons and risks and goals ("Putin is like Hitler and must be stopped" type of rhetoric really does not describe a goal of aim of a military action adequately) . Now I have no doubt there are many very good arguments for the people of Ukraine, the country of Ukraine, the containment of bullies and dictatorships, etc., that could help make the case for military action in this case. However I also know that the ruling class have absolutely no interest in the actual well being of the Ukrainian people or the security of the average person in Europe, or a moral duty to stand up to bullies and dictators, or human rights. Because if they did we couldn't explain their actions and inactions with Saudi, Yemen, North Korea, whatever. They are happy to claim they care about those things if by coincidence they might be seen to align with their agenda, but we know they don't care.

So we know the warmongers are lying right off the bat, this is not really disputable. This doesn't make the case for war wrong, but it does (to me) make it much harder to see what is going on, and I think caution should be applied in such cases. But I do acknowledge the problem with appeasement and the need for decisive action and the fact that we will never have all the information so again this is not a criticism of others who feel differently.

What I would look at for example is Crimea, which of course fell to Russia in a similar way during the Obama administration in which there was also some people calling for war.

If there was a major war over Crimea back then, would the situation for Crimea, its people, Ukraine, and everybody else involved with the war be better today than it is now? If Crimea was occupied by Russian forces would it have meant civilian collateral deaths? If many people in Crimea were pro-Russian separatists, would that war have meant bombing the people of Crimea? And what would the end game be? Would we still be there? How many people would be dead? Would it war there have dissuaded Russia from this action? What are the similarities with the regions of Ukraine being occupied now? I have seen almost no analysis of this with hindsight, I'm sure such analysis exists, but it is a concern to me that the warmongers have not taken it and made it front-and-center of the discussion. It would be a very good data point for justification of any action now.

Finally I would not support war unless a significant number of Ukrainians particularly from the region take up arms against Russia and start fighting. They are the ones who have the ultimate moral authority about whether force should be used to protect their land, and they have the first responsibility to fight for it. Sounds cruel and it is, but crueler in my opinion is to first send people who have no relationship to the place to fight.

EDIT: and when I say warmongers I don't mean people who are pro war in any situation, I believe war is sometimes justified. I was purely talking about those in the ruling class who are warmongers.

comment 4y ago · link · parent

I'm genuinely curious do people really want to get (presumably other people's sons) into war over this?

I hope this doesn't sound flippant or taking light of Russia's actions because it's not intended to be. But what is the decision process behind supporting a choice to start sending other people to kill and die for your desired outcome here?

And do you also believe wars should be initiated against China to liberate Uyghur and Tibet, against North Korea to stop the human rights abuses there, against Afghanistan again to put the previous regime back in power, etc.?

I mean what point do you say okay we need to go in shooting, and would you still believe that if you were to be the first on the beach with a rifle?

comment 4y ago · link · parent

To start with the people being attacked have to fight back if they don't want to submit.

This is not a guarantee of independence, but nothing ever is that's not a property of MAD. Every civilization including Ukraine is there because they conquered previous people or regimes. You have to at least fight though before you expect anybody else to fight for you.

Afghanistan did it. Against Russia and against USA. With help of course from other interested parties like Pakistan and USA etc but for the most part it wasn't them doing the fighting and dying. If Poland, Germany, and France allowed Russian tanks to drive to the Atlantic without firing a shot then maybe they would.

comment 4y ago · link · parent

I'm not quite sure how this addresses what I wrote. Three things:

Firefox got popular when they listened to users and made a product people wanted.

They did this despite fierce competition from a huge monopolistic company with quite a locked in and anticompetitive platform.

And today they make something crazy like a half billion dollars a year from firefox, they have enough resources to make a competitive browser.

comment 4y ago · link · parent

> Like a whale plopped on dry land, they'd collapse under their own weight standing up. Much less, hunting, mating, and fighting.

Just to be clear, you're talking about the buoyancy effect that a denser atmosphere provides to land animals?

comment 4y ago · link · parent

> Yes. It's a shame that the firefox user base is so easy to outrage.

Firefox's user base was a third of all internet users a little over 10 years ago. Now it's as little as 5%.

The "the users are wrong" attitude might not have been the main cause of the decline but it has been a real factor, IMO.

> Same with the more recent change ragrding tabs. I am using firefox for a very long time now, and I just don't see that firefox is massively going downhill so far, like many people seem to suggest. Of course I am bummed out that certain features could not be retained (such as installable PWAs on desktop). But these are just the realities of the fact that it is hard to compete with google.

In Firefox's heyday when they were a scrappy underdog they took on King Kong on its home turf (the Windows desktop) and won (or at least took a huge chunk of market share). The idea that what has now become a big rich company that makes nearly half a billion dollars a year from their browser somehow doesn't have the resources to make that browser competitive is hard to believe.

comment 4y ago · link · parent

That's terrible.

comment 4y ago · link · parent

The region is renown for its chicken hawks.
1
565758
95