skysight-inc/HackerNews huggingface dataset:
The default godbolt page runs the compiler with no flags, which means without any optimizations. This explains why the code unnecessarily shuffles stuff to the stack and back. Unoptimized clang/llvm output spills everything to the stack, and register allocation is an optimization.

With -O3, the code is:

imul edi, edi
mov eax, edi
ret

Yep, the calling convention for x86-64 on Linux and macOS passes the first six integer arguments in rdi, rsi, rdx, rcx, r8, and r9, and then spills to stack.
Keep in mind there has to be damages to be in legal peril. Otherwise there can only be social consequences.
Sorry to hear that - I would like to think it wasn’t speculative!
IMHO it is slander from before the movie, perpetuated by the movie.

It is more, however, believable than the official accounts.
I have used a trackball for many years since my wrist started bothering me, and I love it. I am right-handed, and I use Logitech's 575 and MX Ergo. I prefer the Ergo, even though it is more expensive. I keep it beside me on the couch where I sit. That way my elbow makes a 90 degree angle. Very comfortable. My keyboard is on my lap and my monitor at eye level.
> I contrast this to Meta VR's comically atrocious demos and wonder what happened.

How so? They’re showing the best with the limits of current mobile technology that can maintain 75Hz. Cloud VR isn’t here yet, because 5G isn’t here yet. In 5 years, some of those limits will be gone, 10 years even more, but it would be silly if they waited 10 years to start.

I think part of the problem is that you can’t take a picture of VR and show it to someone. It doesn’t translate. Things that look ugly in 2D look much better in 3D. This is a huge problem with VR game trailers.

For example, the new avatars looked much better, “in person”, than with 2d screenshots. 3d is a very real part of our perception that I think many things can benefit from, especially data visualization.
Lucide[1] is a very active fork of Feather and what I’ve been using for the past few years instead.

Feather is great as are their design guidelines, but it needs way way more icons. Lucide picks up beautifully where it left off.

[1] https://lucide.dev/
This is the right answer but you have to go through the book a sentence at a time and really ponder about it. It will make (the start of a real) mathematician out of you
> 2. Tesla is a stock people who aren’t really into investing own.

The #2 and #3 holders of Tesla stock are

The Vanguard Total Stock Market Index (VTSAX)

and

The Vanguard 500 Index Fund (VFIAX)

...so it's safe to say that all sorts of people are interested in Tesla stock.
I don't care. Sometimes there's good content and there are lot's of other pages with bad quality. But I won't click on something from dev.to, that's 99% beginners writing garbage.
I think engineering is more nuanced than that, personally.
This is a mildly interesting post only because of how it comes up to, but avoids ever talking about, the central flaw in the system it describes — they're conflating several things without ever really acknowledging that they're different. Theres "integrity", which is a Meta-internal term; verification of ID, which is a far deeper rabbit hole than they're going to go into; abuse; and undesirable behavior. They're all different things.
> It's a rare for-profit company that releases anything significant from pure niceness so I can't read it as a gift.

Philosophically speaking, do most people do something out of pure altruism? I personally don't believe so. Everyone has an agenda - be it to feel better, to score brownie points, to make people like them, etc. Why should we expect for-profit corps to be altruistic? We should remember their for-profit motives and also accept they can do good deed for non-altruistic reasons.
Here's the definition I got when googling it:

> characterized by or showing prejudice, stereotyping, or discrimination, typically against women, on the basis of sex.
Error Handling Syntax in Go
As usual, systems allow for the few people who really care to opt-out, preventing backlash but not impeding the system's function.
Protecting Resource Holders in Distressed Areas
Why is it laughable that Tesla can build software that approximates the human brain? There is software that is better at chess, better at go and better at poker than humans. Why is driving so special?

Agree with your other points.
A lottery and randomly picking people off the street seem pretty similar to me.

Of course it is different, UT at the end of the day, you get randomly picked to get sent to the front. Doesn't matter much how organized the process is.
Insurers don’t care about your compliance. They simply won’t pay out any claim in case they find out after the fact.
Thing is, we are talking about housing here. A basic necessity for everyone. I can live without a car, I can live without that expensive new_shiny_toy_of_the_month but housing is something that's vital, it has the ability to impact so many aspects of my life.

So the whole debate here, as far as I understand is, how ethical is all this. Is it ethical to squeeze every last cent out of a person looking to house themselves and their family?
Swarmed Navy Destroyer Had Its Bridge Illuminated by Mysterious Drones
> You're not going to like this answer, but...the market does.

In other words, nobody is culpable and the people with money and resources are able to exploit those below them with impunity.

> The point is that no software has to power to force tenants to pay higher than market rents.

Sure it does.

Having a roof over your head is a fundamental need and people are willing to do a lot to avoid homelessness. If your landlord says to you "rent is going up $500 a month" and you're already struggling financially, uprooting your family is a serious personal and financial hardship many people try to avoid, even if that means giving up basic luxuries.

Not to mention that corporate landlords can absolutely abuse their power to drive prices across an area. We aren't just talking about individual landlords — though even individuals can still own dozens of properties.
Any hardware RNG that is included in a CPU or any other complex integrated circuit cannot be trusted, because it is impossible to verify that it is truly a RNG and not a pseudo-RNG that implements backdoors.

The only hardware RNGs that can be trusted are those that use an analog-digital converter (e.g. one of the ADCs included in any microcontroller, or the audio microphone input of a computer) and a discrete analog noise source, e.g. a diode or a resistor, because their components can be tested separately, to verify that they do what they claim to do.

Nevertheless, the output of the hardware RNGs provided by the Intel or AMD CPUs can be used in a reasonably secure way if the supposedly random values are never used directly, but they are passed through a cryptographic hash, e.g. SHA-256. Even SHA-1 is completely adequate for this special purpose, where collision-resistance does not matter (and it is faster than any other secure hashes in the ARM, AMD or Intel CPUs with SHA-1 instructions).

Even better, the supposedly random value could be hashed together with the timestamp read from the TSC, or just with the value of a counter incremented after generating a random number, for additional unpredictability. One can add to the hash a unique computer identifier, e.g. the MAC address of the first Ethernet interface. In this case, distinct sequences of uniformly-distributed pseudo-random numbers will continue to be produced even in computers where the hardware RNG remains stuck to a constant value, as it happened in some buggy AMD Zen models.

The hashing (with a secure hash algorithm) of the RNG output destroys any hidden structure that might have been exploitable by the designers of the hardware RNG, while preserving the uniform distribution of the random numbers.
I think you misread GP
Fearful people will fear.
Happy to help and thank you for the great work! :)
This is not some general blanket approach you can take to talking about internal implementations. You are either right, or wrong. There is no middle ground or "I think". If you've signed an NDA around these internal implementations I would wager that NDA came with a clause to not discuss it without consulting Meta, even after your departure.
I basically made a similar comment a moment ago I just deleted because it was flagged immediately by someone who didn't like the premise. And I was actually being fair to the author of the article I used as an example.
Darn that rules it out for my use. Best of luck though, it looks really cool!
True, but that’s the interesting thing about these kinds of algorithms, they align the pricing approaches so the entities act more like one than they did before, effectively decreasing competition.
> This is even more striking for something like Rust's iterators that don't look at all like it's just the C-style for loop, there's a call to make the iterator IntoIterator::into_iter() and then repeated calls to its next() method, sounds expensive - but nope, once again the optimiser can see what's going on here and emit the same machine code.

> Having a tool like Godbolt to confirm (or sometimes refute) the belief that these things are actually the same is really useful, as even after confirming that optimisation is needed if the proposed "optimisation" doesn't change the machine code it wasn't an optimisation, just making the program needlessly harder to understand.

I'm not sure I understand this. Wouldn't you expect higher-order code to be easier to optimise, since it comes closer to telling the compiler what you want to do, so that the compiler can figure it out, rather than forcing the compiler to divine the big-picture intention of a bunch of low-level instructions?

And, if high-level code generates exactly the same machine code as low-level code, isn't that an argument in favour of high-level code—it lets you code declaratively, saying what you mean—rather than against high-level code? An optimisation might be optimising for intelligibility, not just run-time … and, while an experienced low-level C programmer might find the low-level code more readable, surely the non-expert maintenance programmer who comes afterwards will be grateful not to have to recognise the low-level patterns but rather have them spelled out in high-level code?
I really like the tool; I use it on my devices when I'm abroad. It worked very well in China (2019) with a Japan based VPS. The peering China-Japan-Europe is much better than China-Europe btw.

First time I could not connect successfully from a public Wifi to my server was Qatar airport this summer... Maybe they work with whitelists for access control.
I don't think it matters all that much.

It's like buying followers on social media: sure, with higher metrics more people may give you the benefit of the doubt when they first discover you. But at the end of the day, you need actual traction if you want to make an impact.

I can't think of a time in the last few years where it was so hard to figure out what libraries people were using to solve some problem that my only hope was to open up the top few NPM search results and sort by stars. A bad library with a lot of stars and no users is still a library nobody talks about nor uses.
The problem isn't that developers are building units that appeal only to young people, the problem is when they're exclusively building those units.
Because there'll also be a large number of ICE fires to deal with?
It may be a cultural thing, I'm a brit, you're like from the US, but yes over here there is a culture of altruism to a degree that may be greater than in the US (eg. over here we donate blood for free). I'm talking monetary compensation thought. On a personal level I try to help because another's happiness becomes mine.
I disagree. They’re fashionable but are more work and don’t provide benefits that justify the additional work. Just install WP out the box and let it run on the latest version of PHP which is blazingly fast. Get all the ease of use and flexibility that comes from default WP without the complexity.
Sigh, another article focusing on Tesla battery fires when it is a common failure mode to most of not all EVs.

Sigh, another Tesla fanboi blaming the messenger, rather than addressing the issue at hand.
That doesn't apply to Dominos etc. I think but more to Delivery Hero, Uber Eats, Doordash etc.
The total wattage of a PSU isn't the issue. As another comment points out, it's the number of rails and amperage per rail. If the motherboard is drawing a lot of amps because of the CPU and you stick another high current device on it, you will run into issues. If you had a SATA SSD that drew the same current you wouldn't likely had any issue since it would have been on a different rail.
Apple Music and Mercedes-Benz bring immersive Spatial Audio to drivers
I didn't bring up housing vacancy taxes, let alone compare them with anything else. I was making a point about the known limitations of the theory of perfect competition.
A ton. Usually metric is ("is interesting" or "looks good and may want to check it in some later date") and "it works".
Can you give a visual example where they're not? (other than anti-aliasing round the edges)
Have people worked in such a place where "on deck" engineers are hired out? Why wasn't there enough work to assign? How long were you contracted out for? I'm having a hard time imagining how this would work. It seems to me like it won't be very long until there's work people will need your help with, and that by the time you've gotten up to speed on things with this other company, you'll be parting ways.

I have to imagine there are some interesting relationships and circumstances that align for such things to happen.
Honestly, you don’t for the next 2-3 years. Having two kids under 2 years old is a large time and energy commitment. I would recommend prioritizing career stability until your kids are school aged. I’m not saying a startup is impossible right now, but the stage you are in right now is the highest level of difficulty.

Since you have fairly concrete goals I’d recommend exploring all your options.

Can you reduce expenses?
Move to lower CoL area?
Start building a VC network now before going all in on a new startup?

Getting yourself the best launch pad possible now should make it easier in a few years.

If you are enjoying your current career path I’d stick with it. I wouldn’t discount how much earning potential you have over time in your current situation.
All these extrapolation attempts need to be taken with a grain of salt.

One thing we know:

* carbon and methane that we release en masse in the atmosphere causes the temperature to rise globally, it has been known for decades. It has a negative impact on the stability of climate and thus food/safety.

Things we don't know:

* exactly how big is the impact of temperature on the habitibility of earth.

* how many degrees of increase is needed to be a danger to mankind's existence? Or how many people (even give or take) will suffer or die?

* how fast will science find applicable solutions and what speed is necessary to keep the harmful effects limited?

So we can keep on repeating that we are not doing enough to mitigate, or even that it is already too late, but that speculating does not solve anything.

Bottom line, we should keep trying to keep temperature increase as low as possible, on multiple fronts: more efficient usage of resources, less inequality between poor and rich, investing in technology, persuade people not to waste resources, thinking about alternative types of economies,...
Only future will tell if it were enough.
When it comes to ERDs I find UML notation unhelpful. I find the IE (information Engineering) notation that uses clear symbols for both cardinality (simple line or crow foot) and optionality (O or I) a lot more usable.
I thought I explained the reason why in my post. I want objective information. I dont care if it is good or bad for Tesla, but the sloppyness with which most people write about Teslas gets in the way
We're talking about the danger to firefighters trying to put fires out. I'm not one, so I don't know which type - EV or gasoline - is more dangerous to firefighters. I'm sure it's a question they ask themselves. Is this a gas fire or an electrical fire?
If non-ecc RAM is good enough for most fault sto only cause noticable problems rarely, its possible to sell slightly less perfect modules than with ecc, where even otherwise unnoticable problems are detected and reported.
The ratio of modules returned to the manufacturer is probably higher for ecc than non-ecc. Unless ecc modules are already better selected than non-ecc at the manufacturer.
On the supposed “nihilism” of the Mango Markets arbitrageur
It's not really journaling, but I've taken to writing notes on the current weather three times a day in an effort to pinpoint what aggravates my sinuses. I end up writing other health concerns, current news, dreams, and anything of note that happened during the day as a result.
Lots of talk about reform and transformation but light in detail on what the desired changes are. Triple down on One China policy, but multiple mentions of special status of HK/Macau. Anyone got any additional insight?
> If you have any examples of articles of "dead French men" that are as barebones as this one, feel free to share.

Look through some of the links on this page:

https://en.wikipedia.org/wiki/Category:French_surgeons

At a glance I've found:

https://en.wikipedia.org/wiki/Pierre_Sebileau

https://en.wikipedia.org/wiki/Pierre_Lassus

https://en.wikipedia.org/wiki/Xavier_Delore

https://en.wikipedia.org/wiki/Jean-Ren%C3%A9_Sigault
I do not trust star count on Github at all, and I see no reason why I would? There are much better ways of seeing quality, you can look at the code, you can judge from what you hear at conferences and read online. When I see some org brag about Star count, I assume its just a weird marketing gimmick they are using. How many stars does Linux have (or the github clone rather)? React? I have no idea, probably many but I know they are solid projects regardless of looking at their star number.
> Your response is the playbook for these types of scams.

> That doesn’t mean that the long running Google work in the field, etc is a scam. That doesn’t mean that working on self driving is unethical.

Seems like you're still grappling with your own stance on the issue.
Are you saying peer-reviewed conference papers make something "notable" for mentioning in Wikipedia (next to historic and outdated 20 yo material on the subject)? That's not been my experience at all; what is or isn't notable seems completely arbitrary to me.
If developers aren't building housing for families higher on the SES ladder, that's generally a result of regulatory issues.
a dry run...

replace the Qcopters searchlights with munitions or designations devices and its a hot range
[Author here] Even from a short-term business perspective, it actually might make sense to fix things and contribute upstream. When you face a problem with something you built using FOSS, essentially you have three choices:

- Work around it, most likely creating technical debt inside your organization in the process

- Invest the time to fix it yourself

- Pay someone else to fix it for you (e.g. the original authors via a support contract)

None of these options is for free, and which one is the most cost-effective depends largely on the complexity of the issue at hand, the skillset and availability of the people involved and the criticality of the impacted system.
I recall taking a class from an author who had some pretty cool ideas. But he had one of those vanilla names with a disambiguating page but he wasn’t on it. So I made him a link and a page and put what I knew down.

It got deleted instantly. I am not sure how I feel about that but I remember thinking I bet this pisses people off.
That's basically price fixing by a third party.
are there any formally verified CPUs that support any of the constructs needed for anything more than microcontrollers? Like, I have not yet found a formally verified CPU which supports virtual memory or caching
(Wish I'd read this before my sibling reply, I probably would have replied to this since it goes directly to my point... but I guess it doesn't hurt to clarify)

According to the definition, there would have to be "prejudice, stereotyping, or discrimination".

(I realized that's three more words to look up, but believe me, it's worthwhile to understand these powerful words if you want to use them without harm.)
PrivacyBot
logical conclusion will be to skip political representation and go directly to policy. Interesting experiment, look forward to seeing more, as we definitely need to upgrade our political O/S
Thanks. Interesting. German Autobahns aren’t perfect either. In many places, there are construction sites and speed limits.

130 kph seems to be a very reasonable travel speed. Most European countries have a limit somewhere around that speed.

Re US: What I have never clearly understood though is how a country so fixated on personal freedom is limiting speeding that much.
> I can confirm that this guy does not understand the history, limitation and complexity of tooling

It sounds like he does, at least a little bit, because that's the problem he has with it?

>Phrases like "real compiler" tell enough about people who mostly work in the back end that do not understand how the real world works for web.

"How the real world works for the web" is the problem.

>How would you change all this?

WebAssembly/WASI is a pretty good start IMO: Having a compiled language with escape hatches to browser APIs is the ideal for me. Personally, the closest I've seen is Flutter's Skia/CanvasKit (which does use WASM, apparently). I'd certainly like to see applications of similar concepts in other languages/frameworks though.
Ask HN: Back enders, how do you build front ends?
Solo backend devs (who do not consider themselves "full stack"), how do you build frontends?

Since the earliest days of the web, I have found developing frontend UIs dreadfully tedious and slow. The modern Javascript-heavy frontends do not seem to have reduced the tedium (although they have immeasurably increased the complexity).

Do you use some no/low-code systems?

The speed at which I can build a server (even without Docker or any orchestration), build a Rails app with a real database, and get useful functionality built is remarkable. But inevitably I need to get information from the user (forms). This is when I find myself doing an obstacle course with rolling luggage. It's not much of a problem in making UX decisions, it's purely a matter of tedious and complex user interactions. This is probably the #1 reason I don't have a big collection of side projects; I hate this part.

Please share your tips and strategies! :) TIA.
Another poster already covered a number of the benefits. I'll add another: Never going to the gas station. If you've got overnight charging, your car is ready to go every morning. My wife and I bought an EV about 5 years ago. I go to the gas station about twice a year for our gas car that we use once in a while.

And to reprise the other poster's point: If you are a car guy (I'm a car guy) you've not lived until you've stomped a Tesla's accelerator while going straight up a mountain. (Not sure about Taycan, think they have multiple gears.) OMGWTF, the direct drive surges the car uphill. No lag. No gear shift. It's like driving a 5 speed manual if you only had to say in one gear for the whole drive but I've never been in a sports car with a 5 speed manual and gotten to use just one gear up a mountain.

EVs might be environmentally conscious. But don't miss the real headline -- they are spectacular cars to own. Best car I've had. (Sadly all their current offerings are moronic. Yoke? WTF. No display behind the wheel? WTF. I'd not buy a Tesla now because of unforced errors on behalf of Tesla.)