skysight-inc/HackerNews huggingface dataset:
Generating the overflow bit and storing it adds a completely negligible cost to a 64-bit adder, so touting this as a cost saving measure is just a lie, even if indeed this claim has always been present in the RISC-V documentation.

Most real cases of overflow checking are of the last type.
Tripling the number of instructions over a bad ISA that lacks overflow exceptions, like unfortunately almost all currently popular ISAs are, or quadrupling the number of instructions over a traditional ISA with overflow exceptions is a totally unacceptable cost.

The claim that providing overflow exceptions for integer addition might be too expensive can be easily countered by the fact that generating exceptions on each instruction is not the only way to guarantee that overflows do not happen.

It is enough to store 2 overflow flags, 1 flag with the result of the last operation and 1 sticky flag that is set by any overflow and is reset only by a special instruction. Having the sticky flag allows zero-overhead overflow checking for most arithmetic instructions, because it can be tested only once after many operations, e.g. at a function exit.

The cost of implementing the 2 overflow bits is absolutely negligible, 2 gates and 2 flip-flops. Much more extra hardware is needed for decoding a few additional instructions for flag testing and clearing, but even that is a negligible cost compared with a typical complete RISC-V implementation.

Not providing such a means of reliable and cheap overflow detection is just stupid and it is an example of hardware design disconnected from the software design for the same device.

The early RISC theory was to select the features that need to be implemented in hardware by carefully examining the code generated by compilers for representative useful programs.

The choices made for the RISC-V ISA, e.g. the omission of both the most frequently required addressing modes and of the overflow checking. proves that the ISA designers either have never applied the RISC methodology, or they have studied only examples of toy programs, which are allowed to provide erroneous results.
Wow. You are just unbelievably condescending and arrogant.

> It's _your_ company now, go help improve it!

Yeah just like companies care about user/employee feedback! Why are they working so hard against unionization then? (which would be a major improvement for all people involved) Companies work as a top-down structure operated by psychopaths and couldn't care less how people feel at the bottom.

> How is it better to humiliate them in front of the CEO?

So what's your advice? Lie to an honest question to cover generalized incompetence/malice? Sure that's what most companies and administration expect of you (producing false reports and/or avoiding to answer questions faithfully so some other team can take the blame), but that's definitely not how to operate a healthy workplace.

I mean, as much as i despise CEOs, if the guy was asking the question in the first place, it certainly means he was aware of the very bad onboarding process and the difficulty to get to your desk, and was either: attempting to measure whether the situation "on the ground" is getting better, or measuring your own capacity to produce honest answers... In both cases, honesty was what the CEO was looking for so the author acted well.

> If it turns out it doesn't work for you, request a different laptop a few weeks later. Big deal.

Or a big company like this one could have a number of supported models from which you can choose. Why impose a single UX on every employee? I'm not asking to let me use my laptop, but please let me choose the best keyboard (for me) among at least 2 options. Everyone has different needs, and trying to fit everyone in a single box is a good way to break more than a few individuals.

> If anything, the person's behavior is the reddest flag here. I'd start feeling miserable the moment anybody with those attitudes joins my team.

If anything, your behavior is the reddest flag here. You are representative of everything that's wrong in Silicon Valley, refusing to hear legit complaint about painful processes preventing people from doing their work. I assume you're a manager type with 5 figure salary. I strongly recommend you get connected with reality (the one experienced by the other 7 billions of us who are not in your privileged position of exploiter) and start to develop empathy towards other people. This would make you a better human being and would significantly improve the lives of everyone around you: blaming the victims of unjust systems may help you get closer to the top of the structure, but will certainly not help you be happy and/or produce meaningful change in the world.
...or Firefox.
Troll: A dice roll language and calculator
In the same section the part about the SiFive optimization is also misleading. The goal of the optimization is obviously to avoid interrupting the instruction fetch. But he makes it sound like the goal was to reduce instruction count by fusing two instructions to get a single monster op with five (!) register operands. That just doesn't make sense.
Your wording makes it a bit unclear, just for clarity: this means that GP is wrong, it's definitely better for the climate to have your old car crushed and buy a new car. The amount of CO2 expended during manufacturing of your car is not significant on the lifetime of the car.

If it's really just 20,000 miles then frankly it might even be one of the most effective ways to turn your dollars into reduced CO2 expenditure.
Why using an unsigned?
It is obvious here that RISC-V without Zba takes 4 instructions because it manages special cases related to unsigned.

If you use a simple int for index:

slli a1,a1,2
add a0,a0,a1
lw a0,0(a0)

And isolating this code in a small function puts constraints on register allocation, but if we remove this constraint then we can write:

slli a1,a1,2
add a1,a1,a0
lw a1,0(a1)

Which is very suitable for macro-op fusion and C extension

> Including compressed instruction in the Unix profile was the biggest mistake RISC-V did and I'll die on that hill.

This is so wrong. The C extension is one of the great strengths of RISC-V, it is easy to decode, very suitable for macro-op fusion, and it gives a huge boost in code density
'Gankra answers the cast part but for the other question: PAC is "pointer authentication codes", which is pretty much what it sounds like. It's a CFI+data integrity protection measure. Re: temporal memory safety, I don't think MTE solves everything but my understanding was you can revoke a capability for a region when the memory is freed and then mint it with a new one when allocating it out again, which would make stale pointers to it/UAF fault on access. Will have to check what the exact details are.
Dice-Rolls in Role-Playing Games (2106) [pdf]
ZAP-Hosting Data Breach (60GB, 746k unique email addresses)
Dirty Pipe Vulnerability in Linux
Neither were his friends. They were just all very critical of Israel precisely because they were antiracist.

99% of the accusations of racism and antisemitism on his followers came from people who instinctively defended a racist, apartheid state.

Ironically he responded to the attacks by earnestly and fervently rooting out what miniscule levels of antisemitism there were within in the party.

This did nothing to appease the attackers or stem the attacks mostly because the most concerted accusations of antisemitism were motivated entirely by, well, racism. They didnt want an antiracist they wanted the right kind of racist - one supporting Israel (like Orban).

The establishment that didnt give a damn about israel also piled on because they hated him for separate reasons (e.g. he was going to raise their taxes). They were happy to let the gargantuan double standards be unchallenged - including the guardian.

In a final twist of irony Jews in the Labour party are 5x more likely to be purged than non Jews: https://www.jewishvoiceforlabour.org.uk/article/labour-is-pu...

These Jews are not the right kind of racist.
Kubernetes at Scale Without GitOps Is a Bad Idea
What does being exposed mean? Being around asbestos and lead in its normal use is completely safe. People live in asbestos buildings without issues. There is no standard dosage of asbestos but if you count grinding it up and huffing the dust then it would only be fair to compare to standing in a garage of exhaust fumes which will kill you within minutes.
Babel is a massive project which at a point was key for any web project. And 300k is good for how many full time people. In the US maybe 3?

Not that I have any insights, but we should never forget, that we stand on the shoulders of Giants. And the giant is overall massively underpaid.
If you're using fzf.vim (https://github.com/junegunn/fzf.vim) then you can use :Rg or :Ag. This will run ripgrep or silver-searcher and present the results in a fuzzy finder window.
I guess the argument would be that it has a greater impact on the profitability of intermittent energy sources as it can stabilize the grid by soaking up cheap off-peak power. Not sure if I buy it either.
My bus route wound over and between a couple of hills, so a radio might not have worked.
> I do whatever is easiest to make the thing get out of my way so I can get back to my actual work, so everyone gets 5 stars or whatever is the “good” answer because I don’t want to get some poor soul in trouble in case there’s a “if avg_feedback < 99: fire()” somewhere.

How about you just don't respond instead of lying? That saves even more time!

I understand why you pick 5 stars instead of giving bad ratings but why bother faking a response at all. What situation is it where you're forced to give a rating (is this irl or something) until you're allowed to leave the session?
Both of the planet's poles experience extreme heat,and Antarctica breaks records
Babel is particularly shady, because before asking for this money they dropped making their own polyfills in favour of core-js, which turned out to be a bad move considering the main contributor of that library found himself doing time in a Russian penal colony.
I would much prefer some kind of written questionnaire or essay to an interview via a video call, although some of these questions are irrelevant at best and demeaning at worst.
Looking it up, 60% having "at least one drink" by 18 (33% by 15) seems surprisingly low. It probably explodes in the 18-20 range because of college, however.
Here they are some alternatives: https://www.libhunt.com/junegunn/fzf
> Onboarding processes are there to avoid wasting everyone's time

And yet the company had a painful/useless onboarding process. I agree with you onboarding is important, but if you feel powerless as an individual, complying with stupid orders is certainly not the best you can do.

Even from a cold productivist viewpoint, i bet the author was more productive sitting in the collective space and reaching out to a few friends when they needed help explicitly, than sitting through corporate bullshit making you setup half a dozen applications so you can find out dog names.
Before Aurora popped up and saved the day, we were looking at sharding our MySQL database. The levels of added complexity were keeping me up at night. I am sure we’ll reach a point where Aurora doesn’t solve it anymore but until then.
> add t0, t1, t2 bltu t0, t1

How does this work? Isn't `bltu` simply a branch that is taken if `t0 < t1`? How does that detect addition overflow?

EDIT: Ah, because the operands are `t1` and `t2`. `t0` is the result. Quack.
You need to disable fcgi buffering in whatever http server you're using. For exemple in nginx, the option name is "fastcgi_buffering". Then flush() and the likes will work again.

Note that if enabled you need to disable gzip compression too since that has its own buffering.

Buffering can still be accomplished php side when needed with ob_ functions.
In this particular example can't the holdout see how it would benefit the economy (as roads do) that they're part of, possibly reduce emissions into the environment they live in, etc.?

If the government provides them with replacement property, why would they object so strongly?

And doesn't the fact that everyone else agreed make them consider that perhaps it would be public good for some reason?
>you people
Variable instruction sizes have a cost,
but with only 2 instruction sizes like current RISC-V that cost remains very low as long as we don't have to decode a very large number of instructions each cycle,
and it gives a huge code density advantage.
Sure. But the list of projects is for 1 Azure Devops organization and the list appear to be in alphabetical order and showing B to C. Also it looks a bit like the logged on user only has access to one of the projects (at least it's only showing icons for one of them).
Makes me giggle a little at the bicycle tourists who spend thousands of dollars on gear. Some is needed, sure. But she set off on a single speed bicycle around the world and made it. Clearly this is not a fully apples to apples comparison, but it is definitely food for thought.
LimeWire Founder “Not Thrilled” That Strangers Exploit Brand for NFT Marketplace
https://www.ghacks.net/2020/10/01/you-can-now-install-any-ad...
The Darkness That Comes Before is stupendous. It took Bakker a decade to write, which shows. His books after are written too quickly and the introduction of dragons spoils what could have been a purely own creation free of the poisoned tropes of fantasy.
Many of the apps listed there are not alternatives, but something that can be used in combination with fzf.
Using Aurora is analogous to vertical scaling (as in scaling up with bigger and bigger hardware).

Distributed relational databases have made tremendous progress in recent years and you have many compelling options now if you need it. For MySQL there's SingleStore (memsql), Vitesse/Planetscale, and TiDB.
>We’ve been trying to teach people how to be healthy, physically fit, to avoid substance abuse, and to spend money wisely but it seems that those lessons just don’t stick for most of the population.

"you" may, but look at the wider statistics on what cities and demographics are most subject to the obesity crisis.

Spoilers: it's an economic problem. You give people a living wage without requiring two minimum wage jobs to pay rent, and allow some time in their life for extra curriculars, and suddenly grabbing a greasy burger on the way home isn't as impulsive a decision when given time to breath in life. And by extension, give more time to educate children and money to encourage a proper diet (tho lunch food is a whole other issue we need to tackle).
The book isn't about motivation, it's about steps that you can take that make creating new habits easier. In fact, the book tells you that motivation wanes quickly and we need to force ourselves to create determination instead
The Intel 8080 and Z80 had conditional call instructions. Don't know why x86 didn't deem them important enough to drag them along though.
Also worth being aware of AnyIO which implements structured concurrency on top of asyncio, and serves as an abstraction layer over trio/asyncio.

https://anyio.readthedocs.io/en/stable/
I moved from Hangouts to Google Chat and so far it's been pretty seamless. What I like about it compared to WhatsApp is how easy it is to use across devices... phone, tablet, web. No messing about with QR codes, etc.
Unfortunate about the maintainer of core-js. But how does that make Babel shady? Especially if they made the change before asking for money.

Sounds more like they were struggling with workload and made what, at the time, seemed like a reasonable decision to offload some of the work to another library.
After all the vulnerabilities found in C(++) every major kernel today uses them and continues to use them in unsafe ways and gets exploited. Research is great and all, but in practice rewriting everything greenfield is not going to work so we're going to have to invest in both.
This is kind of getting into weird semantics.

For what it’s worth I hold a BSc from a large, reputable UK university in computer science, not informatics, so it’s not as universal as you suggest.

I do also hold an undergraduate degree from a French university in informatique, a contraction of “information automatique”. Both words are equally important in the name of that discipline, and the “automatique” part is very much about process.

But we are debating the map here, not the territory.
Unfortunately levels data for India is not very good. They also work on the basis of invitation so may not be possible to get a lot of data quickly
This the most HN discussion I've ever seen on HN
It's actually english going through a heavy compressor, vowels extended, consonants hardened.

https://youtu.be/93A1ryc-WW0?t=242
Presumably you can just inspect the magic script when you need to
Try a small game: how much car's there are in your city? How many kWh/day they need? Now try to interpolate at national level and just try finding an answer to: how can we recharge? IMVHO single family homes, in a certain (albeit large) part of the world, well placed, that can at least two car per adult head, might run on p.v. and so energy is not a problem, on scale such hypothetical society can meet their energy need most days and can use wind/hydro/nuclear for the others.

However:

- most cities, witch means most densely populated areas of the planet and where most peoples live, can't do that, simply there is no physical space.

- we probably can't produce enough batteries, in natural resources terms, to substitute all ICE cars, and keep producing them when after just 5-8 years initial batteries are dead (we still do not have viable way to recycle).

If you follow the press you've might have read things like:

- https://www.motorious.com/articles/features-3/uk-eliminating...

- https://www.vice.com/en/article/y3vny5/glorified-electric-go...

etc witch clearly depict a future of a divided society: a small minority living in modern homes, with p.v. et al. to meet their energy needs, e.v., perhaps flying ones (witch might be cheaper than keep up a big road network in the actual climate change state) and the rest confined in modern smart cities, closely similar to factories or prisons, oh something like:

- https://www.forbes.com/sites/worldeconomicforum/2016/11/10/s...

- https://www.mckinsey.com/business-functions/operations/how-w...

- https://www.theguardian.com/world/2021/sep/19/why-greeces-ex...

- https://global.toyota/en/newsroom/corporate/34827717.html

etc. I honestly do not know what can be our (humans) options so far, BUT certainly I do not like decisions made by those who are actually responsible of our tragic evolution. Personally I quit a large modern city toward a served-enough mountains area, building a new modern home, with insulation, anything electrical, p.v. with lithium storage to power and backup, with various backups (nearby water source, water recuperation at home, emergency/for pleasure airtight wood stove enough for heating the house etc) and the above depicted future society might be even good for me: as long as I can get services (food, tools, meds etc) my own personal life is already, still remain if nothing of that happen and can remain if such evolution happen, better than before, but such new society can't last longer. No society where too large part of population are pushed toward India's caste-alike isolation between cohort of people can really last much, especially in modern times where we need enough smart people to keep out tech up.
It is, the neural network part seems to be here: https://github.com/commaai/openpilot/tree/master/models
Windows 11 getting basics right with better UI/UX
Overall impressed with the UI/UX progress made on Windows 11. The old UI is still present in some dialogs, but it feels much more refined (closer to what macOS provides), and updates will make it more consistent.

https://www.theverge.com/22708762/microsoft-windows-11-review

Managing virtual desktops is made easy (other systems got this right a long time ago)

https://www.theverge.com/22728778/windows-11-virtual-desktop-workspace-how-to

Arranging windows is so welcome

https://m.youtube.com/watch?v=JDAsJRs2aFk

Start-up apps can be turned off, as well as Cortana, and ‘Gaming’ performance mode as been introduced, which I believe takes care of keeping background services to a minimum.

Still exploring, but been using both macOS and Windows, more macOS but lately Windows, this update feels like a much awaited breakthrough.
Sharding = partitioning and it's the only way data warehouses can scale to handle large datasets. Tables are partitioned on the primary key, usually with range-based sharding for flexibility.

Some warehouses like BigQuery force this as a numeric key (dates by default) while others leave it up to you. Partitioning can also use multiple columns to help with more even distribution and/or better query performance.
In my experience salaries of "IT peepul" varies quite a bit based on domain, company, hw/sw etc

To my limited knowledge 30L for 10yr experience is around the mid range for a generic s/w job (i.e. nothing niche)
> Do you really think citizens policing each other is a good way to enforce laws?

Irrelevant, because this isn't citizens policing each other. (Though, I will note in regard to your question that the alternative of having a distinct subculture separate from normal citizens that inevitably views themselves aligned against the citizenry policing the citizenry is far worse than citizens policing each other, but yet that's what we mostly do.)

> This is going to get ugly real fast. It creates division and disharmony in a community

Lawbreaking creates division and disharmony in a community.

> Read history.

I’ve read quite a bit of it; but I disagree with your implicit analysis, which attributes to a method of enforcement that most modern societies have chosen for some laws problems that stem not from that source but from the particular laws which certain repressive societies enforced using that and other methods.
do you trust the government to? That's all this is doing.

companies curate, but ultimately we're talking about user generated content, whose popularity at some point in life came from the fact that a lot of people chose to engage with it. The only difference now is that you dont need to be some a-list celebrity to get this engagement. A camera, an idea, and a bit of video editing can make you go viral.

even if we stripped down all the engagement algorithms and made it some "pure" HN-style "votes determine curation" (which is a trap in and of itself, but I diagress), you'd be surprised how similar the site layout would look. Arguably even worse because bigger creators get more views and likes by nature of being big.
It’s nice to have an open ISA, don’t get me wrong.

However, trade offs matter. Compressing instructions may improve density, but it makes them variable length. This is a big barrier to decoding in parallel, which is very important to high performance cores.
Dubious. How is "you have to use this magic combination of instructions that compress & execute well" better than having a dedicated instruction?

Also no mention of the binary compatibility issues - which `-march` do you compile your code for? On x86 you have a choice of 3. For RISC-V as far as I can tell there are 96 valid targets.
I am currently just looking into other color spaces, but I'll have to check that out too! Thanks! :D