skysight-inc/HackerNews huggingface dataset:
They got the riscv code slightly wrong (but the instruction count correct).

(puts on chip designer's hat) Essentially the ARM/x64 case turns the load memory address calculation into a 4-input adder (so 2 layers of adders) and maybe a couple of extra gates because there are multiple addressing modes. Riscv's equivalent is a 2-input adder. Those get into a critical cache (and TLB) access path and that limits how fast your CPU's core clock can be (or forces you to split that path into 2 clocks).

Essentially that's part of the whole RISC idea - simple means faster - you can run your core clocks faster if the decode (and address calculations etc etc) are simpler - getting rid of lots of addressing modes was a big part of the original RISC movement. I think all 4 of those riscv instructions are 16-bit ones so they may even fit into the same space as the 2 ARM ones (haven't hacked on ARM for a while)

BTW chances are that that x86_64 mov instruction is not being devolved into more than one internal uOp (might be two if they separate off the address calculation into it's own uOp)
Thanks, that is exactly the one!
As has been pointed out, Kotlin is not really controlled by Google the way that Flutter is.

Also Kotlin Multiplatform and Flutter are very, very different use cases.

For anyone who isn't aware:

Kotlin Multiplatform lets you share business logic. Think "make a library that can be used on iOS and Android". You still need to write the UI and platform-specific plumbing separately for each.

Flutter includes the UI and can give you apps running on both platforms (and web and desktop, too!) with 100% shared code†.

†In practice, though, you may need to get your hands dirty with platform-native code for functionality not already covered by the plugin ecosystem, though that need diminishes over time.
Free .ml domain using Freenom
Americans have always held a very wide range of political views. Just 16 years ago Bush was running on the idea of adding a constitutional amendment banning gay marriage. Obviously there were people at that time who thought it was evil to treat gay people like that. And others thought it was sinful to be gay.

The only change now is that social media is showing each side the worst content from the other side getting them angry and engaged.
Does this mean thath the polls for this presidential election are even more wrong than they were in 2016?
The point isn't reading, the point is writing. Inserting a single character into a string is an O(n) operation. Inserting one in a rope is basically O(log(n)), same for deletion.
Oh, all of those things:
https://help.prodicle.com/hc/en-us/articles/115001787672-Wel...
We’re going to fight fascism, and if you don’t agree with us we’ll burn your house down.

America in a nutshell.
> ARM has the various Thumb encodings, Jazelle, VFP, NEON and more.

Having done just a tiny bit of compiler development for ARM, I can assure you that having all of these variants is a pain. Making compiler writers' lives harder means you're less likely to get optimal performance. At least on the more exotic variants, but possibly even on the most common ones.
Ask HN: House building hacks? Advice about green building materials?
Hi everyone,

I'm in the process of researching house building to study the feasibility of my future house project in Western Europe.
Being a software developer, I'm of course looking to "optimize" things, especially around cost.

One of the most interesting topics I found was building materials, more specifically, green building materials like:

- compressed earth bricks

- rammed earth walls

- straw bale insulation inside wooden panels

- seashell crawl space insulation

These are all ecological, originate from renewable sources, recyclable and very cheap.
This would seem like a nice "hack" to lower building costs?

The second interesting topic is building time.
Some building materials are expensive but are much faster to install which means that in the end they could be more cost effective than their cheaper counter parts.
For example: windows or precast concrete.

I haven't been able to find sources with specific examples of this concept though.

I wondered if any of you have house building experience or had gone through a similar process?

- This being Hacker News, what were the "hacks" that you discovered?

- Any tips I should know about?

I'm interested in lowering costs but not at the price of quality and durability of course.
I know that there is no free lunch but reading about some of these building materials, it's not immediately clear to me why a regular brick costs 40€ while a compressed earth brick costs 4€ (x10 less !) while being larger.
My sense of a building material is "worth" or not is terrible since it's not my field of expertise and so I sometimes I have difficulties accepting the prices of certain things and evaluating if they are fair price.

Thanks a lot in advance!
>[She] complains Risc-V need 4 instructions to do what x86_64 and arm does in two, but... it says Risc-V.

So… what, it should take 5 instructions?

Executing more instructions for a (really) common operation doesn't mean an ISA is somehow better designed or "more RISC", it means it executes more instructions.

>And x86_64 CISC instructions devolve to a pile of microcode anyway.

Some people seem to have this impression that like every x86 instruction is implemented in microcode (very, very few of them are) and even charitably interpreting that as "decodes to multiple uops" (which is completely different) is still not right. The mov in the example is 1 uop.
Attitudes and politics change with new generations. It's hard to change the way people already think. So this is a reflection of people not agreeing with the external pressure to conform to new thinking.

That's not to say that you cannot convince people of new attitudes, so long as you appeal to their already held belief systems (LGBT rights, for example, animal cruelty, etc), but you cannot ram your beliefs down someone else by force and have that accepted and not have a reaction to it.
If President Trump is re-elected I hope he will consider a pardon for Mr. Snowden. If anyone has seen first hand what the abuse of the surveillance state can do, it's the President. Snowden's whistleblowing clarified to all of us around the world who admired President Obama, that he was no better than his predecessor in this regard.

I'm skeptical whether a President Harris would consider it. She does not strike me as the forgiving type. She would earn a lot of respect from many around the world, if she did.
Papaya2: 2D Irreducible Minkowski Tensor Computation
It must be kind of difficult to have representation for moderate views when they only have two political parties.
Did they do a paper on BLM/Antifa spread at their events? Or just more attacking political freedom? Becaise you've made the bias so obvious I'm voting for Trump.
>in a 2020 machine with a normal workload I have yet to see a list outperform a contiguous array outside of pathological cases

I guess an size(array)+1 is a pathological case. Shame it seems to happen in every code base I've looked at.
I honestly think that social networks where you connect the whole world were a bad idea. Basing it on ads and thus engagement made it toxic.

Political left and right both formed extreme wings that attack moderate opinions for not being extreme enough. The right is often threatening violence while the left is trying to get you fired from your job.

We need to get rid of engagement algorithms and actively try to counter echo chambers by injecting moderate content into news feeds.
> A lot of ISA design is about avoiding patents and other traps.

Aren't patents limited to 20 years? Can't you just ignore all inventions that are < 20 years old to be safe from patents? Then you'd still be 10 years ahead of POWER.
I dont think that's quite fair, basic civility would mean not immediately trying to frame something you disagree with as denying basic rights, and trying to have a more practical discussion about the issues.
> most likely I'll just use undefined

You were telling people to use false and that’s what I was responding to. That’s why I quoted that part in my comment.
Sometimes it might just be that people formed opinions for matters which are more complex and need more knowledge and thinking of coming to a proper conclusion.

If 62% of Americans think homosexuality is wrong, does that really matter? Do we really wanna ask them that and act on it?

We are asking to many people what they think independetly of how much time and effort they spend with a topic or if that topic is not superseeded by something else (like an Amendment).

No one is going around and asking people what operating system is better.

My personal assumption, and this is now very critical for my inner conflict: I do believe every opinion should matter and i do strongly believe in democracy but this only works when the other requirement is true: People are reading up and educating themselfs on politics.

Enough people don't.

Enough people in politics don't.

They are there because they want something not because they care.
Good point, YC should ban posts from there.
No surprise. The way you make it in the towing industry (in cities) is to make friends with the police. It's no surprise that people with those friends feel emboldened to do things normal people can't get away with.

This dynamic is the fault of the government for creating a captive market and secondarily the fault of insurance for divorcing many consumers from the costs of that captive market.

In rural areas where there's not much money to be made towing the tow operators don't do bad business to make a buck. They use their capital investment to haul things other than cars to make their gravy money.
Maybe distally, but more proximally I'd first put the blame on the people who have been running over or shooting other people.
Not quite all vehicles yet.

Here's a list maintained by a company that's in the business of downloading and analyzing Event Data Recorder information: https://rimkus.com/media/pdfs/Event-Data-Recorder-Vehicle-Li...

The only Porsche that appears on the list is the Taycan. I don't see any Ferrari cars on the list.
> Apple gets certificate revocation requests all the time, to disable test builds, disabled badly bugged software versions, to disable software for licensing reasons.

How do you know this? What is the evidence for this claim?

The strange thing about this claim is that certificate revocation does not disable specific builds, it disabled every piece of software ever signed with the cert, so this wouldn't even accomplish what you claim it accomplishes.
It might, but in a very high proportion of cases the networking stack takes the happy path and a single logical protocol unit translates directly to a single packet on the wire. That being the practical reality, it's quite possible to write a stateless protocol parser and have it apparently work. Except, as you point out, when it doesn't.
Also, once your buffer exceeds the virtual memory page size, those copies turn into page table updates that never touch the string data.
Holy hell, I dislike certain politicians as much as the next guy, but punishing people at work for making donations is absolutely ludicrous. Do you have a link to where you got this data?
According to their Twitter, the author uses they/them pronouns.

https://twitter.com/erincandescent
Arbitrary-precision numbers still fall short of real numbers. Most math functions like sqrt or sin can return an irrational number even for rational inputs, so you always need to track the error. Even libbf itself does the same for internal calculation (keyword: Ziv's rounding test).
From the article:

The reasons for this

WordPerfect for DOS, in the opinion of many knowledgeable users, is still the greatest program ever written. Some of its features have not been matched even by the latest Windows software, and its interface remains unequaled for efficiency and elegance.

tl;dr; We're vi and we know it.
Honestly, stackoverflow works but other than that, most bloggers end up putting ads on their website for monetisation. I'd rather pay a 5 dollar subscription than view ads that could possibly be tracking me.
The founders believed the same thing. Hence the American democracy is formed as a republic, with balance of powers.
> I think millennials might be quite a case study on bad parenting, because Gen Z are literally turning out to be bad apples.

Gen Z are the kids of Gen X, not millennials
Do you have any links to examples of moderate views that will get one cancelled? I would be really interested in this topic.
Do not miss the first link on the page...
It’s in the article.
The Cost of Prayer: Religiosity and the Gender Wage Gap
That's way too simplistic. Many QAnon supporters are relatively young and don't conform to the typical "boomer" stereotype.
I guess it is "No bald referees" going on.

At least they can wear hats. If you are black and rely on face detection you are out of luck.
All major political leaders were against gay marriage at some point. The Clintons, Obama, Biden, etc.

As for GWB ....

> George W. Bush's Forgotten Gay-Rights History
> He defied his party by endorsing civil unions in 2004. (But that same year, he backed a constitutional amendment forbidding same-sex marriage.

https://www.theatlantic.com/politics/archive/2013/07/george-...
It’s from the article O_o
I was not aware of 'Cato' before but its amusing that an Philantropist is a Liberatist.

Or if you think about it, of course you need much more Philantropists when you have Liberatism :D
I never downvote, so not me.

BTW yes, they said that. And now we see that using them and trying to keep people breathing by themselves, we do much better (big surprise).

I do a lot of medical research and I am fully confident in saying that to decide to go against the grain based on preliminary data is irresponsible in medicine.

As a personal note, the attitude of medical researchers and the loosening of ethical and legal boundaries pertaining to research I saw in the first wave make me puke.
Well, polls are IMHO not good, betting odds are better I have found, for example the last UK general election the bettering odds had conservatists to win. Yet if you looked at Twitter or Facebook, you would be convinced Labour would win with complete dominance in posts upon those platforms. That day I learned that social media is not representative of the populous at large and only a slanted snapshot and polls are equally not that great. See with polls - people lie, why - many reasons, some tactical, some not bothers and some just to avoid confrontation from easily agitated oppositional types.

AS for America - last visit I made was over a decade ago but I learned to avoid political debate with a passion as people don't do debate and more argue you to death. Even then in the office had a chap come in and almost interrogated me upon political views, even worrying was others warned me of that and I dismissed them. You live you learn and I've found that the older people are - the more they are inclined to avoid such debates as they more often than not become toxic.
My company got spammed by Expensify CEOs political views. Some non Americans complained about receiving the irrelevant email.

Some Americans were targeting even that. Apparently foreigners have no right to NOT RECEIVE political endorsements that mirrors their political views.

Your politics is too toxic. Sorry but it has to be said.
Exactly. The US needs more mainstream political parties.
People always remember the good and compartmentalize the bad.
> Apple has offered this service to their developer customers

This is unfortunately a complete misunderstanding of Developer ID. The program isn't a "service" for developers, it was imposed on developers as a requirement for security purposes. We can't opt out! The intent of Developer ID is to allow Apple to remotely disable malware. That's the one and only purpose. Almost all publicly known Developer ID cert revocations were for malware authors.

When a Developer ID cert is revoked, every piece of software ever signed with the cert is disabled on every Mac in the world. Revocation cannot be used to disable specific builds.

Moreover, Apple has never used Developer ID for the purposes you claim it is used. You're just making up stuff with no evidence. It's clear you're not a Mac developer yourself, and you're just speculating about what you believe might be true, but you don't have any first hand knowledge of the situation.

It's truly astonishing to me, as one of the few or maybe only people in this thread who is actually a Mac developer and has a Developer ID cert, that I'm getting systematically downvoted by people who have no direct knowledge of Developer ID. Getting tired of this, and HN entirely. It's incredibly discouraging, and makes me not want to be on HN when people with expertise are downvoted by people without.

I've been a professional Mac developer for over a dozen years. I was around before Developer ID was introduced, before code signing was introduced. I was around for the announcement of Developer ID. I've been distributing Mac software for all these years, I know what I'm talking about.
Even financial/economic policies are very difficult to discuss openly.
And its also just a suggestive question.
TIL "As censor, [Cato] tried to save Rome's ancestral customs and combat "degenerate" Hellenistic influences."

https://en.wikipedia.org/wiki/Cato_the_Elder
From my little testing it seems like uBlock doesn't make a difference (shows 0 blocked elements) and it's really the reloading that does the trick. It seems to switch between working and not working every few seconds.

Edit: I just tested a bit more and last time the non-working period was a good minute. I'll stop DoSing now.
Workplace interruptions lead to physical stress
Same here (Brazil, 70's). We had one just like it, same colors, made by Ericsson.
I've tried giving up various things and giving up sugar just makes fat drop off you. Saturated fat made no difference. I'm pretty convinced sugar is the main problem in modern diets. It doesn't make sense that a type of fat that would have been available since caveperson times would be so bad for us, and we know the sugar industry tried to deflect the blame onto saturated fat (and probably that is ongoing)

https://www.npr.org/sections/thetwo-way/2016/09/13/493739074...
That's a good question and no one really knows the answer, but we will have the answer Nov 4.

If your implication is true, I think there is going to have to be a serious re-assessment by the establishment regarding the divergence of their politics vs the populace --and there would be a realization that propaganda only goes so far and coercion is the missing ingredient.

If the establishment is right, then obviously they had the right pulse and nothing changes.
Have a single copy of the paper in a place with a sign in sheet and now you're tracking everyone who looks at it.
I just tested whether my router has SIP ALG enabled with a test account on antisip.com (any provider will do), and softphones running on two devices. After initiating a call, I obtained the 'Contact:' IP and port from Wireshark live traces and used a port checker tool to test whether the router set up a forwarding rule.
Relax your finger and build webapp with Svelte
"State binding" with Svelte and Angular require much less effort than with React. Why does React becomes more popular overtime because it's "easier"?

Reference: https://github.com/beenotung/spa-state-demo
This means that we probably all secretly share a lot of views that tv and parties don't steer us to.
That there are reasons other than racism that partially explain the achievement gap between races.
https://news.ycombinator.com/item?id=24950255
Or ostracizing other people.
It's the final fling of the boomers (speaking as the trailing edge of them).

This is transitional and we'll see changes in the next political cycles. In the US it will be the post Nixon, post Reagan politicians, in the EU it will be the post Berlin Wall/unification politicians.

The problems of the 20th century are fading, but the problems of the 21st are crystalizing. Climate Change, the effects of 40 years of laissez faire capitalism and dergulation, the effects of casualisation of the work force and in many OECD societies, lack of wage growth or wealth of the lower/middle classes.
Amazon stops French Black Friday ads at government request as lockdown begins
For the "user defined precision" part it would be convenient to use a few bits to store where the point is located in such a fixed-point number, and that's essentially reinventing floating point numbers ;)
"engaged with people and the culture" is a bit revisionist considering the number of conflicts with politicians and law enforcement. https://en.wikipedia.org/wiki/Stonewall_Inn for example? (Example chosen at random, there's tons of them)
Peaceful march ends with police using pepper-spray on protesters, children
Much is being made of the fact that back in August when Melbourne was reporting over 700 new cases on some days, UK and France were reporting similar new case numbers, yet we are now getting zeroes and those countries have out-of-control spread.

Congrats on getting to the magic 0!

I know it can seem weird that Europe didn't lock down over the summer, but here we mostly use Health care capacity, not active cases, as the most important number.

Being a relatively small island [0] on a remote corner of this planet makes the case for going to the 0 cases a viable one.

Going into a 4 month lockdown in Europe would be useless, since it would just pop up again since we don't have a few international airports as only places where you can enter.

So we're going into lockdown in Europe to prevent swamping our hospitals, and will resume life when it's okay again. And probably will keep going back and forth until a vaccine.

[0](in terms of population)
For example, doing "a + b = c" with React require twice the amount of code than using Svelte or Angular.

(a and b are inputs, c is output)
Was Trump?
It's not like someone is proposing some crazy new instruction to do vector math on binary coded decimals while also calculating CRC32 values as a byproduct. It's conditional move. Every ISA I can think of has that.
Thanks for correcting. Gen X gets the least amount of flak compared to boomers, millennials and Gen Z, so that is interesting.

It’s not easy raising kids for sure, but it’s almost like you have to be callous to not understand what kinda rat race the working world can be, and how hyper competitive even the shittiest of jobs are.

Why are these values not being passed down? Usually, children of working immigrants see how hard their parents or people in their community work in jobs. Are Gen X so well off in middle management somewhere that their kids casually believe it’s aright to sack someone’s livelihood for their political beliefs?

Do we need to take Twitch and Phones away from these idiots and have them go work in the gig economy like a dog for a bit?
> Essentially that's part of the whole RISC idea - simple means faster - you can run your core clocks faster if the decode (and address calculations etc etc) are simpler - getting rid of lots of addressing modes was a big part of the original RISC movement.

Nobody believes this anymore, not even the RISC guys. Look at Apple chips; the advantage of a simpler instruction set is width (degree and depth of superscalar execution) and the ability to put more optimizations in hardware. Clocks are all bound by roughly the same limits nowadays.
That’s not what I asked. I know what the distinction is. I asked why would I ever need that distinction in a program.

In 10 years I’ve never come across a situation where I found that distinction useful.
The car security system of the 21st century
Meet Volme! Share your thoughts and feedback.
Show HN: Rekowl Knowledge Manager
Are there indications that development will halt, though? That was my question. Being deplatformed from github doesn't stop them from maintaining it, even if it might reduce the visibility/number of PRs.