Better HN
topnewbestaskshowjobs
Log inSign up

native_samples

1,350 karma · joined Jul 1, 2021 (5y ago) · 1,370 submissions

Submissions

comment 4y ago · link · parent

You can believe the information coming out of the war zone is too corrupted to draw conclusions without being motivated by wanting to disagree with the New York Times.

There have been several major, heavily hyped stories about the war so far that just weeks later were admitted to be deliberate lies to booster Ukrainian morale. The Ghost of Kiev and his many kills: never existed. The "fuck you Russian battleship" guy who turned out to be captured, not heroically self sacrificed. Etc. These events weren't mere exaggerations, they were entirely made up.

Given this it's pretty reasonable for rational people to assume we have no idea how the war is going. After all, for every made up Russian kill that gets detected there must be many more that don't. And the same in the opposite direction with Russian state media of course.

comment 4y ago · link · parent

This feels like some cartoon villain stereotype of a libertarian. Actual libertarians are big into contracts and contract law. They aren't against agreements, let alone politeness or manners. Heck one of the reasons I eventually became a libertarian (UK sense) myself was due to noticing how unfailingly polite and unassuming they all of were despite often being faced with the most vile hatred.

Consider how nonsensical your comparison really is. The problem in question appears in Russia, a place where the largest official political alternative to Putin is the former Communist party. It's the opposite of a libertarian country. Places like New Hampshire or even relatively non libertarian places like the UK on the other hand, simply can't imagine behaviour like that. It's the whole reason it's an interesting anecdote to begin with.

comment 4y ago · link · parent

BitLocker type solutions don't rely on remote attestation. RA has never really taken off in any context.

Regardless, arguments against remote attestation are always very tricky. You're acting like it's morally clear cut but it's not.

RA is designed to stop you lying about what you're running to other people. It doesn't stop you running things, but it may mean others choose not to trade or engage with you based on what you're doing with the computer. So this is a direct translation to standard libertarian philosophy. You can choose your own terms but you can't force your preferred terms on others - you have to negotiate a contract that's mutually acceptable and then that contract needs to be enforced. RA is a kind of technologically enforced contract, instead of relying exclusively on the legal system.

That's why arguments that RA is evil always skip a few steps. The argument goes:

- I want to run X (typically some Linux distro)

- Some service Y won't trade with me unless X will do Z (typically enforcing some sort of agreement e.g. anti-cheat or license).

- X chooses not to do Z but I want Y to service me anyway. So I want to lie to them and feel entitled to being able to do that without being caught. This is moral because Linux.

Often with a helping of "I'm afraid that actually service Y might be most services".

The concerns here are valid - it would suck to no longer be able to use Linux with various remote services - but if you look at how the TPM and related tech are designed there's no actual technical reason you couldn't make Linux satisfy remote attestations. It's simply that Linux users would usually refuse to do so on philosophical grounds. Well, that's fine, but from a political and philosophical perspective it's reasonable for your counterparty to want some assurance that you'll actually implement the agreement you're claiming you will.

comment 4y ago · link · parent

The phrase comes to mind: "it's impossible to make a man understand something if his salary depends on him not understanding it".

You're acting like those arguments are unbelievably novel, strange, like gamers are practically aliens. The alien in those conversations is you, my friend. The average person - and gamers are very average indeed given the industry's mass appeal - does not struggle to understand why hardware security exists. It's obvious, especially so because games companies say explicitly what the features are for and always did. It's because lots of people will break the rules if they aren't forced to follow them, and that leaves those who do follow them at a disadvantage.

If you are an honest person who does buy software, the optimal outcome for you is that a really good, transparent implementation of DRM (that never gets in your way) wipes out piracy completely. In that situation the expected price you'd have to pay will be lower (for a fixed level of quality) because the costs are being spread over a greater number of people. Additionally you won't feel like a mug for paying for something that your friends are pirating consequence free.

The cheating angle is by the way not specific to video games. The sort of tech that video games use to block cheating could also be used to block other kinds of "cheating", like bulk spamming, many kinds of hacking (e.g. SQL injection). Many kinds of software or network can be abused, but EFF and similar organizations typically act as if networks and two-sided transactions don't exist at all. Indeed it's really only on places like HN, the EFF, the free software community etc where this stuff is actually controversial. Outside those worlds a rant about DRM will just result in people being baffled. Gamers migrated to consoles en-masse because they understand the tradeoffs.

comment 4y ago · link · parent

Inflation is effectively a form of tax on savings.

comment 4y ago · link · parent

Well not quite. The problem is that it only takes one call tree with a deep stack to cause all that memory to be allocated (slowly, using lots of page faults) and after that, it's used. The only way to get rid of it again is to swap it out, which means if you then go ahead and do another deep call it's even slower as the kernel doesn't know what it can discard and what it can't.

Deep stacks are pretty common in modern software especially for Java software.

comment 4y ago · link · parent

Thousands of threads is not a problem for any modern OS if you have enough RAM. Loom takes it up into the millions.

As for why the JVM can do this and you can't with other runtimes, it's because it needs a complex runtime with very tight integration between the compiler, the GC, the threading library and various other subsystems. That's why the moment you make a native call the JVM loses the ability to switch between the virtual threads and has to start up more OS threads to compensate - it didn't create the code that's running on the stack at that point, so it can't work its usual magic.

Fortunately the whole 'pure Java' movement of some decades ago means that actually you can do a heck of a lot of stuff without using native code. It's an ecosystem way less dependent on C extensions than most other languages.

comment 4y ago · link · parent

Apparently nVidia believe that is the case, and they are the market leaders, so - yes?

comment 4y ago · link · parent

Krita? You're just naming random open source Linux programs that hardly anyone uses.

Yes, we can all make long lists of open source projects. That's not my point. The point is that the average person, on an average day, is using lots of proprietary software (or proprietary forks of open source software).

I've been hearing about how the future of software is charging for support tickets and hand-waved 'integration' for 30 years. The biggest, richest and most powerful tech firms today all ignored that advice. There's only one company that did well out of that approach and they're now called IBM.

comment 4y ago · link · parent

AMD and Intel aren't (or weren't at least) shipping cutting edge GPU tech so there's less need to look to them for ideas and shortcuts anyway.

Well I used to work at Google and the open source parts are a tiny, tiny fraction of their actual codebase. Windows isn't really open source at all, although in recent years a few utilities have been opened up - note, only after Windows stopped being so important to Microsoft.

And as for macOS. Well. You can download and read some code, sometimes. Good luck trying to actually build it or do anything useful with it at all. You'll find that it's (a) completely undocumented and (b) all depends on internal stuff you don't have access to. An exception is WebKit.

comment 4y ago · link · parent

Drivers are a large part of the development costs of a GPU, just like how an operating system is a large part of the development cost of a general computer.

If nVidia open sourced all their drivers tomorrow the risk of some cheap Chinese shop making clones of their hardware and re-targeting the nVidia drivers to get lots of the features would be very high. It'd significantly reduce the value of what they'd built (to them).

Really, I don't get why so many Linux users ask questions like this. Most software is proprietary because it costs money to develop. This site we're talking on isn't open source. Windows isn't. macOS / iOS isn't. Games generally aren't. Google isn't. Azure/Bing aren't. Open source is the exception, not the norm.

comment 4y ago · link · parent

Yes. Drivers represent enormous amounts of work and large parts of the overall development/IP effort in a GPU. Asking why nVidia don't open source it is like asking why they don't just open source the entire GPU. Answer: because then they'd have a much smaller and less valuable business, if they even had a business at all.

comment 4y ago · link · parent

Usually, speech to children is considered separately.

I'd consider myself a libertarian free speech absolutist. I don't think anything should be banned from Netflix. I do think what teachers say in the classroom should be carefully controlled and parents should have a lot of control over what speech their children are exposed to more generally (e.g. filters on Netflix), because children almost by definition find it extremely difficult to separate truths from untruths and are much more impressionable than adults. Part of being a parent is deciding how to raise your kids and what beliefs to teach them. That's one reason totalitarian states always try so hard to indoctrinate children - it's easy, and they're a weak spot through which adults can be attacked in turn (see the sordid history of children being convinced to spy on their parents).

A big part of the fights in the USA at the moment and in culture more generally are about this sort of underhanded tactic - where one ideology that's losing the battle of ideas tries to short circuit it by indoctrinating children. Arguably that's where CRT came from. It's not a coincidence it emerged from academia, a place filled with impressionable teenagers.

comment 4y ago · link · parent

By "in use" you mean never progressed beyond the trial stage? Your article literally says in the opening paragraph, "why did it take until the global COVID-19 pandemic of 2020 for the first mRNA vaccine to be brought to market?"

The COVID vaccines are so poorly understood that the manufacturers claimed 95% efficacy against infection, a claim which evaporated within months as that number dropped through the floor. They have never even tried to explain why their trial results were so badly wrong, meaning they don't understand their own products. A product so new even its own makers can't explain its behavior is at best experimental, and that's being generous in the extreme. A more accurate assessment would be that COVID vaccination was a mandatory medical experiment forced on vast sections of humanity often against people's will, in which the people doing the forcing then turned a blind eye to any negative effects.

comment 4y ago · link · parent

In theory Commissioners are appointed by the Council.

In practice the head of the Commission has a veto. In the treaties this veto power doesn't exist, but Juncker admitted he regularly vetoed appointees and it's unlikely vDL gave up that power.

So that leads to the question of how the head of the Commission is picked. Again, by treaty it's up to the Council to decide. How do they do that? Nobody knows. They walk into a room and have a secret meeting, at the end they jointly announce the decision. Is there a vote? Does everyone even get to express their view? Do countries make threats to get their way? How are the candidates selected? What did the different country leaders think? Do their statements in private even match their statements in public (sometimes not, it seems). The process is entirely opaque.

After that was done, just to make the comparisons with North Korea super-duper obvious, they gave the European Parliament a "vote" on who should be Commission head. The voting slip had a single option on it - vDL. MEPs could either vote for her, or not vote at all.

comment 4y ago · link · parent

The EU is a partially constructed dictatorship. Within the domains delegated to it in the treaties, it has total power without voter accountability (the most voters can do is elect MEPs who slow things down a bit). Also in some areas where the EU has effectively seized power without a treaty change, this is also true e.g. corporate tax law.

In some areas like health and defense it has failed (so far) to take powers, and so the usual democratic mechanisms at the state level are mostly still working.

So I think you're not really disagreeing with aborsy, unless by "domain" you mean exclusively physical domains.

comment 4y ago · link · parent

Yes but so what? EU regulation is always like this, it contradicts itself and is impossible to interpret. Governments must be able to access encryption (unstated but obvious: without the target knowing they're being spied on), but the solution must also protect personal data and be "transparent".

"Which means that the right to put something that clones the authentication session on a targeted device would do the job, no need to ban maths."

You don't actually know that, you're just hoping that it means something like that. In reality, they will keep the rules vague and then attach massive fines to non-compliance so they get to do the following trick: make everyone involved in implementation super scared so they use a maximalist interpretation, then when people complain to the Commission they say "no we didn't intend that, our rules are actually super reasonable, go complain to the companies". Or one day the ECJ will 'discover' an interpretation that nobody knew about and everyone suddenly has to change the way they do things overnight, then the usual EU water carriers will post here on HN claiming everyone should always have known it from the start.

Same thing that was seen with GDPR, EU competition law and other cases. It's become a standard trick. Good law doesn't have this problem; the meanings and consequences are always clear.

comment 4y ago · link · parent

There's a fix though - pull power back to the local level. These sorts of initiatives crop up when politicians feel too safe or remote from voters (who generally always have other priorities, often the economy or violent crime).

So it's not any real surprise that this stuff is so often emerging at the EU level. The Commission doesn't have to care what voters think - it is in many ways a textbook dictatorship complete with a not-really Parliament - and so they focus on whatever ideas are trendy amongst the eurocrat set. Those people aren't much like the typical European. They're obsessed with certain ideas and ignore others completely. Information control is high up their priority lists, as are any issues that can be exploited to levy giant fines on American companies. They especially love those because the money goes straight into EU coffers the moment the decision is made by the Commissioners, without having to actually win any court cases and so it can be used to enhance their own power without having to get member states to agree to budget increases. Hence why there's a constant flood of internet related laws despite public dis-interest in the issue:

https://europa.eu/eurobarometer/surveys/detail/2553

"Europeans thought that the most important issues facing the EU at the moment of the survey were the environment and climate change (26%), rising prices, inflation, cost of living (24%) and immigration (22%). 41% of respondents mentioned prices, inflation, cost of living as one of the most important issues facing their country, before health (32%) and the economic situation (19%)."

Other than the recent climb in the rankings for climate change, the results always look like that. People care about the basics - their personal wealth, health and who's in their local community.

comment 4y ago · link · parent

But this particular sub-thread is about the ideology the ACLU is pushing, which unfortunately gets propagated by American companies, American employees, and dumb locals who imitate what they see on TV.

comment 4y ago · link · parent

It is very obviously true. Reductio ad-absurdum arguments like that could be applied to argue no technology is ever experimental.

COVID vaccines are the first mRNA based vaccines ever produced, they were produced in absolutely record-breaking time and rushed through trials under emergency authorization. That's pretty much the definition of experimental technology.

comment 4y ago · link · parent

One might think the recently announced Disinformation Board would count.

comment 4y ago · link · parent

In the Trudeau case the comparison is at least not 100% wrong, as is usually the case when the N-word crops up. Hitler famously engaged in forced medical experiments on people who were deemed disposable classes of society, and he brooked no dissent or resistance. Regardless of how you personally feel about the COVID vaccines they were and are based on experimental new medical technology, which was then forced on people against their will including on people who thought it might harm them. And as we saw, the protestors were then destroyed by a leader who gave so few shits that he didn't even bother to turn up and talk to them, and who then engaged in vengeful financial attacks on family members or anyone who tried to support the protestors.

Obviously that doesn't make Trudeau literally Hitler, but the point of talking about WW2 is to try and learn lessons so it never repeats. If you're only allowed to notice similarities by the time there are no differences left at all, it's already far too late. That's why the comparisons are always so tricky and fraught with controversy. On one hand, comparing everything to the Nazis is a tired rhetorical trick designed to shut down thought. On the other hand, to ensure something like that never happens again, people have to be willing to say -wait. That looks bad. That looks like something the Nazis did. That shouldn't be happening and maybe the people who are making it happen are bad people, they should be stopped. But the bar for it has to be high.

comment 4y ago · link · parent

Perhaps the reason it feels like discrimination is because those privileges are eroding?

It feels like discrimination because it is discrimination.

Stop being so USA centric anyway. This crap gets exported around the world. Even if you accept the evil "corruption of blood" type propositions, people who live in countries that never had any of the racial history of the USA end up suffering from your racist and sexist nonsense.

comment 4y ago · link · parent

FWIW, this criticism no longer applies to people using AOT compilation. From my macOS laptop:

     /usr/bin/time -l ./hello-world
    Hello World!
        0.00 real         0.00 user         0.00 sys
             3231744  maximum resident set size
                   0  average shared memory size
                   0  average unshared data size
                   0  average unshared stack size
                 841  page reclaims
                   1  page faults
                   0  swaps
                   0  block input operations
                   0  block output operations
                   0  messages sent
                   0  messages received
                   0  signals received
                   2  voluntary context switches
                   4  involuntary context switches
            22395110  instructions retired
            18507246  cycles elapsed
             1294336  peak memory footprint
So "peak memory footprint" for hello world is 1.2 MB and it starts instantly.

Now, not everyone can/will use AOT compilation. It's slow to compile and peak performance is lower unless you set up PGO, plus it may need a bit of work in cases where apps assume the ability to do things like generate code on the fly. But Go can't do runtime code generation easily at all, and if you are OK with those constraints, you get C-like results.

comment 4y ago · link · parent

Kotlin already does it:

https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutin...

comment 4y ago · link · parent

"They are told by billionaires who run the media empires that universal healthcare is expensive, will ruin the country, will remove their ability to get appointments scheduled"

The "billionaires" aren't lying to you. Look at the UK, a maximalist interpretation of universal government funded healthcare.

Lockdowns destroyed the NHS. The waiting list for care (not even just elective care, any care) is now closing in on 10% of the entire population!

https://dailysceptic.org/2022/04/15/lockdown-backlog-nhs-wai...

People are waiting hours for ambulances to turn up after heart attacks! People are dying inside ambulances sitting in queues to enter the hospital. My family has largely given up on seeing local general practitioners because so many have reduced hours during lockdowns and never brought them back, meaning they're working less with bigger demand due to backlogs. The system has indeed removed their ability to get appointments scheduled.

These are third world conditions, or perhaps more accurately, second world conditions - nobody has to pay but there are severe shortages all the time, and what you get may or may not be of acceptable quality. The USA doesn't have these problems. Heck, most places that aren't fully government run don't have these problems.

The problems are cutting through. My aunt, a lifetime public sector worker loyal to the NHS, was talking about getting private care last time we talked. It was a surprise but she said her experience was you just can't see doctors without it anymore. The net result is going to be a very expensive healthcare system for the UK - high taxes to pay for the NHS plus an ever larger shadow system of private healthcare on the side.

comment 4y ago · link · parent

Sometimes the change over time in professions like law has been used to disprove this case for formerly male dominated professions. This is also the case in teaching. There were far more male primary school teachers in the past.

The actual cause of the decline is usually identified as the risk of false claims of sexual abuse, which are taken far too seriously by the system and unfortunately too many parents/teachers take the stance of guilty-until-proven-innocent.

comment 4y ago · link · parent

He isn't talking about grandmas. At least in the UK the primary reason for the steep decline in male primary school teachers is the perception that men are much more likely to be targeted by false claims of child abuse, and will be treated much less fairly if so.

I remember reading a story about such a case some years ago. The male teacher in it had eventually proven his innocence and that the child was a malicious liar, but the process had wrecked his family and made him unemployed. He wasn't going back into teaching and stated to the press, very clearly, that no man should ever work with children because the female-dominated profession would always find a man guilty until proven innocent, regardless of the merits of any case. I remember it clearly because his view was so stark, so bleak and yet so well articulated and justified. I decided right there and then that I'd take his advice and stay well away from teaching.

Not that things change much as adults, of course. Every time there's a run of men proving their innocence in false rape cases (in the UK), feminists go nuts and insist the law is changed to prevent men using that tactic to prove their innocence in future. The "females must always win" mentality is pervasive and makes working in female dominated professions risky.

comment 4y ago · link · parent

This didn't start a couple of years ago, lol! Re-defining equality as equality of outcome in order to obtain power is a trick that dates back at least as far as Marx and probably much further.

comment 4y ago · link · parent

In reality it's very hard to accidentally write an infinite loop that spawns threads. There's no idiom that would lead to such a pattern and I can't recall ever encountering such a bug in the wild.

Yes, in theory, there are all sorts of ways you can still trash the process with bad code. But in practice, the sorts of bugs that programmers really make in GC-d memory-safe languages are the ones that don't. So, exception based error handling really does come in very useful and Rust probably got it wrong here.

1
789
46