skysight-inc/HackerNews huggingface dataset:
Ask HN: Stacking forces in a physics engine C++
So for a game that I'm working on I have looked at a lot of the widely used and widely praised physics engines (Havoc, Bullet, PhysX, Jolt, Newton Dynamics, ...) to implement in my game but after reviewing each one of them I came to the conclusion that it is best if I create my own physics resolver.

The aforementioned physics engines failed basic physics tests or had very complex code bases to the point that I think this route will be easier.
I did notice that many of these engines especially PhysX and Bullet do a lot of tricks to correct their simulations. I assume one reason that they include such tricks is to optimize for performance on a wide range of hardware.

So I think it couldn't be that hard to write a simple (rigidbody) physics resolver that is only designed to run in a single thread on X86 based processors. And also I don't think I need to mess around with too many optimizations since the levels in my game are pretty small, so I might just be able to get away with it.
I never dabbled too much into the nuts and bolts of a physics engine so I am quite unsure about certain things could be done.

For instance let's assume a simple case. I have a digital scale and I want to measure the weight of whatever's on top of it. So the way I would like to do it is to simply measure the amount of force that is being applied to the surface of the scale and display that. That way, when 2 objects are stacked on top of each other, it shows the correct stacked weight. Or if there is another object like a press, pushing towards the surface of the scale, then it also would show the force that the press is applying.

I don't know how to implement a system like this. Do you know of a cool way of achieving a system like this?
Also if you have any tips or cool resources for physics simulations, I'd appreciate them!
That's a very windows-centric view of the past. And with good reason too! Windows was utterly dominant back then. Still, Slackware was 7 years old by the year 2000. Running the 2.2 Linux kernel, compiled with open source GCC. Websites were cgi-bin and perl. Yeesh I've been running Linux a long time...

On the windows side, NSIS was an open source piece of tooling released that year. And I was writing Windows programs in Visual Studio with MFC.
The advocacy fund is linked in the article:

https://en.wikipedia.org/wiki/Tides_Foundation#Advocacy_Fund

Tides Foundation is an American public charity and fiscal sponsor working to advance progressive causes and policy initiatives in areas such as the environment, health care, labor issues, immigrant rights, LGBTQ+ rights, women's rights and human rights.

While those policy areas are not in themselves necessarily negative, they have a clear political slant which is the ground associated with woke activism.

It's not obvious what it has to do with Wikimedia.
It felt like they were pressured into putting out a new machine due to the extremely rapid decline in Wii console/game sales in 2009/2010 and had no choice but to go with the thing they were deepest into R&D with.

Thing felt like a failure the moment it was announced. Doubly so when its second E3 felt like a second attempt at the initial announce and still didn't do much to clarify what it had going for it. Triply so once you realised how limited it was.

That it took several years for games willing to engage with the platform enough to be capable of being as big of a mess as Star Fox Zero was seems like a bigger flag of its issues than the game sucking tbh. Just not an enticing format at all.
>No technology must ever by soft-mandated or made a dependency so as to preclude an ethical, environmental or economic choice to not partake in its use, or to substitute other choices.

This bill will be immediately killed by Microsoft's lobbyists. That's half their business strategy.
This is disappointing. I'd previously been a big fan of the sourcehut model.

I can understand not wanting to be associated with the billions of tinycoin ICO scams or NFTs that are just URL links or whatever else.

But to reject things like Bitcoin or Ethereum seems to me to be a denial of reality. Just because it's not useful for you, doesn't make it not useful.

For clarity, I will be affected by this change and I don't at all believe my code is socially negative, but I'm not interested in justifying myself. My favourite ice cream flavour is not yours.

In the end, Git is decentralized and running cgit or whatever is pretty simple stuff. I just had high hopes for sourcehut.

On a long enough timescale I suppose anyone lets you down.
Isn’t it because teams make riskier places to min max offense vs defense near the end of the game?
Shaped like bucky fullers dynamaxion? Now with computers in might actually work.
> The Internet is also very fragile. It has many moving parts and drives the politics of our world today. For this reason, it will die, and it will die very soon.

Hah, another doomsdayer to add to the bucket which has been growing since basically the internet came into existance.
> Imagine having a phone number nobody can call because it's blocked from sending or receiving by your telephone company...

Fortunately that's not at all what having a personal email is like.

First of all, you can always receive email no matter what. Nobody is blocking that.

Sending it to some larger providers requires configuring everything correctly, but it's not rocket science. Lots of people (including me) do it with minimal effort.

Finally, having your own email (domain) doesn't require self-hosting it if you don't want. You can always delegate that part to some provider. But you control the domain so you can switch providers (or switch to self-hosting) any moment. You can also do a hybrid option where you self-host receiving but farm out the sending, if you prefer. So many options, all of them work!
The same way those same manufacturers did when they still built phones with replaceable batteries, headphone jacks and SIM slots.
Really basic version, K8s cluster with the fronting off of AWS where AWS compute joins the cluster as part of the scaling portion.

Can also use fancier concepts like tiered offloading on your non-AWS to S3 if you exceed say the bare metal disks because of some giant wave of ingestion. Apache Pulsar has that built in.
Yes, oppositional views don't cancel to a single store!
> They were prevented by the State to mention facts about a candidate.

According to their own website which you linked above:

“Não podemos, em nossa programação (...), falar sobre os fatos envolvendo a condenação do candidato petista Luiz Inácio Lula da Silva”

Translated to English:

“We are not allowed, in our programmes, to speak about facts involving the condemnation of the _petista_ (Workers Party member) candidate Luís Inácio Lula da Silva”

Well, given that the condemnation was unlawful, I imagine it’s not very hard to understand why talking about it without also speaking clearly about the unlawfulness and facts around it would be misleading to the public.

To your other point:

> At the same time, a “documentary” that explicitly invited watchers to vote the opposing candidate

> This kind of double standards

I don’t know which documentary you’re talking about, but here’s some food for thought.

Generally, explicitly asking for votes for one candidate makes it pretty clear what the bias in the publication is.

On top of that, the other, supposedly censored work, was speculative at best - given that despite Bolsonaro’s 4 years in power and effectively commanding the Federal Police, the alleged attempt on his life was never fully solved. Publishing it during the electoral campaign was considered an attempt at misleading the public opinion against one of the candidates based on hearsay and opinions.

That’s not a double standard. It’s perhaps just one that happens to inconvenience one more than the other but it’s a fairly clear one.
How would you prevent gravity from tearing apart a partially constructed Dyson sphere?
> How do you arrive at the claim that "probably most" donations go to "pushing woke politics"?

In their donations campaigns, they make it sound like most of the donations go to fund the site while it's almost less than 2%. If they were to employ cheaper developers not working in the city centre of SF and stuck with the pure operational costs (Wikipedia is driven by people working for free for the most part anyway) it would be significally less than it is today.

Even if they change nothing how the site is developed and the actual engineering costs, the funding pages are still dishonest since most of the funding does not go to Wikipedia itself.

> What does "pushing woke politics" mean?

They give money, a lot of it, more than double than the operational costs to highly controversial funds that are politically driven and does not lean on anything else. Thus, they fund specific (extreme left wing) political agendas and therefore are pushing politics.

> Why is the cost of web hosting so important? Do any comparable organisations spend a more appropriate proportion of their revenue on web hosting?

Because they make it sound like this is the main reason that they need additional funding when they ask for it on their webpage. It is what they claim (https://pbs.twimg.com/media/Fex9854WIAIHSun?format=jpg&name=...) they need in order to operate the site. If they strictly just used the funding to operate the site they could do so for many years to come.

> What is ruined?

The sense of having an actual free community that governs factual information for free for everyone. A site where everyone can rejoice over and take pride in the common knowledge of humanity and the accessability that it provides for people in countries that can't easily get this information otherwise.

This is slowly being ruined by people, like I assume yourself, that are so blinded by the current political agendas that they cannot see the damage they're inflicting on the community. I understand that people always have had different political agendas but you used to be able to talk to people on the other side of the spectrum and accept basic physical facts about the world.

Now it seems like we've thrown everything out of the window. People can't even get along over well established scientific facts and this is true for extremists on all sides.

It is hard to trust a source of information if you know the people that controls the information are political extremists. I would want to live in a world where I can trust that the articles on Wikipedia is as objective as can be.
As if Parag was ever anything else than a bland status quo CEO. The ghoulish neolib heroes have no potential to take real positive action.
not really. they conflate infiniband with RoCE which given they have different semantics on congestion control, I'd say is a bit of a whoopsey.

if they are using RoCE, are they using DCB to avoid loss(well make it "lossless")? the paper implies otherwise.
> Depends on the details. If this is just about access to tools and parts, good. If it instead dictates that electronics makers are restricted in their choice of technical solutions, bad.

This sounds like you want to create an exemption just for Apple products, so that they don't have to ship standard connectors :-/

In any case, if you put this exemption in then any other "right" is moot: All the manufacturer has to do is make non-standard parts that can't be worked on by anyone else because the chosen technical solution has "trade secrets" in proprietary software that can't be disclosed.

> P.S. It upsets me how the industry has succeeded in redirecting the Right to Repair activism from domains where it is actually bitterly needed (like specialised equipment, agricultural machinery and home appliances) to consumer electronics.

Why? If the right to repair applies (and has any teeth in law), the specialised equipment, agricultural machinery and home appliances don't get exemptions from it.
The issue I see is that sometimes certain fabrication methods are neccessarry. Phones are glued shut, making disassembly difficult, but that glue also has a point, screws take up a lot of space and glue allows a water tight bond between components.
Same with non user replacable batteries.

It can be very difficult to distinguish between effective design decision and mallicious manufacturing.
I’ve generally considered IPv6 neighbor discovery to be a worse hack than ARP. ARP is a straightforward, fairly clean hack to layer the IPv4 addressing scheme over Ethernet, and it doesn’t pollute IPv4 itself. Neighbor discovery layers IPv6 on top of pseudo-IPv6, where the latter operates without knowledge of MAC addresses but nonetheless hardcodes knowledge of Ethernet. But hey, it eliminated the use of Ethernet broadcast in favor of a more complex but functionally identical multicast scheme.
Cryptocurrency developers are free to exercise the same rights and move their projects to somewhere else. But I agree it's very stupid. I paid for a year of sourcehut for my account that I never used just to help the project. I'll just delete it at this point.
As much as Bolsonaro, obviously.
Surprised there was no mention of prior art like Lyra or Soundstream https://ai.googleblog.com/2021/08/soundstream-end-to-end-neu...
I thought he said "We can't afford to keep paying for this"?
A rite of passage, that current generation of Python programmers will not experience thanks to it's insanely better error handling, is the missing semicolon problem. Being a software developer 30 years ago included losing 4 hours of your life debugging a program, only to find it was because you missed a semicolon somewhere.
You can use eBPF/DPDK these days for hardware offload.
>Yet somehow, humans can drive cars with just a pair of optical sensors (mounted on a swivelling gimbal, of sorts).

This is wrong and I was surprised to hear them say it was enough in the video.

We don't have car horns and sirens for your eyes. You will often hear something long before you see it. This is important for emergency vehicles. Once you hear it, a good driver will immediately slow down and pull to the side, or delay movement to give space for the vehicle.

Does this mean self driving vehicles can't detect emergency vehicles until they appear on camera? That's not encouraging.
NPM for VS Code
As stated, the male gaze is a form of misogyny.

Since you keep asking the same, here's some reading for you as well. It's not worth my energy to reply if your just going to ignore that and repeat your question. Best of luck.

https://en.m.wikipedia.org/wiki/Misogyny

https://en.m.wikipedia.org/wiki/Male_gaze
Yeah no, Starlink wouldn't even connect since the AWS Lambda that checks whether your subscription is still valid has gone offline forever. Which isn't that big of an issue really because all the datacenters are gone and all the uplinks as well, so Starlink is now an intranet.

I mean, perhaps they do have solid and tested contingency plans for events like that, or the military has some sort of access they could use to rig it into something useful, but I don't really believe it.
Came here for the alternatives in comments, not disappointed, thanks!
We're moving from the US for many reasons; I don't think we ever mentioned reducing the impact of state overreach.
But why don’t they have some dude that checks out galaxies because he can?
Is that not self evident? Yeah they're a pain in the ass but you need them if you're going to go refactoring around in the codebase.
>Why is the cost of web hosting so important?

Err ... Wikipedia is a website, come on.
My comment is undoubtedly an oversimplification, there are tons of things to criticize Valve for. Microtransactions are a plague unleashed by them, for one.

I was mostly trying to keep the comparison limited to the topic of cryptocurrencies, and the behavioural patterns observed in tech companies when it comes to them.
I don't understand your first question...

I think this[1] would be your definitive resources but if you can just search for "evolution of play" then you'll find a lot of stuff. Wikipedia has a hodgepodge of perspectives in section on the purpose of play [2] but you might be better off tracking down those citations.

1. https://www.cambridge.org/core/books/abs/cambridge-handbook-...

2. https://en.wikipedia.org/wiki/Play_(activity)#Development_an...
That's also true for high resolution maps. The question is whether you're solving for self-driving on highways or a handful of mapped city centers or whether you want to solve for the real thing. Tesla is all-in on FULL self driving, and most other companies are betting on driver assistance or gps-locked self-driving. If Tesla can get FSD to work in the next couple of years then they're vindicated. If FSD requires a weak form of generalized intelligence (plausible) then FSD isn't happening anytime soon and investing in more sensors and GPS maps is correct.
After thinking more about the process, I also found that it is quite cumbersome. Especially in the beginning, it takes a lot of time to create new cards. And because of the effort, most people will probably not attempt this.
But after a bit of training, I can create new cards in a matter of seconds. When you've already opened all the tabs to Dictionary/Google Images/Forvo/Reverso, it's actually simple enough.

But yeah – I'm still thinking about how to automate the boring (i.e. non-valuable) part.
>Pretty sure 1.4 billion people believe or have to pretend what I said was incredibly offensive.

I don't give a fuck what someone in China thinks about my speech unless they wanna cyber because I didn't find a date for Halloween.

(At once during COVID I looked across a room and thought "Wait, weren't you at Defcon? It's exactly what it looks like -- call whatever agency you wish, it won't change my behavior one bit."

>Plus many powerful entities outside of the PRC who depend on it for some, a lot or all of their wealth, production, whatever.

Power is relative. I remember having a horrible time one semester -- the professor sometimes would answer questions back and forth in just Mandarin. That, paired with the fact I was being given a bunch of coursework that basically covered concepts I already knew, which cut into research time (the whole point of a PhD) made me want to drop out.

Then again, at least that guy could actually hack -- I'd meet a ton of professors who published something decent ten plus years ago, sucked at teaching too, and were just kind of... coasting along... alongside the ones who actually gave a damn about both the research and teaching.

(And then people went and used their precious vote I fought so hard for... and voted in the fascist I'd been fearing since 9/11. I was one of those kids they were scared would "pull a Columbine". Then it became "you should join the military or something". And lately it's been "misunderstand your posts on the internet because everyone who would have been a cop is now a therapist or a psych nurse who knows what a 'business decision' is from NPR.)
In Susskinds book The Theoretical Minimum, he explains this and suggests that the word stationarising would be more accurate, as the goal is to make the lagrangian stationary and not minimal.

I haven't read any other textbooks on the topic so I don't know how common this is. I do suspect you're right though, as he made a point of explaining this
Maybe. ;)
`it’s okay to sacrifice some million people for the greater good'

So now we will loosel millions of people to climate change for no reason at all. What a relief
Once chunked encoding is in the picture, even HTTP/1.1 sends messages, not streams, under the hood.
Thanks for posting this link!
The idea with quicksand was that you would keep sinking in it until you drown (imagine it as a bottomless pit). So pushing down on it would only get you stuck further. Pulling on your bootstraps would do nothing because by pulling on them you would need to push down elsewhere and thus still continue to sink.

In reality you can't drown in quicksand because it's more dense than the human body. To avoid getting stuck it's entirely sufficient to just move slowly to loosen it and break the suction as with mud. Pulling on your bootstraps is useful to free your boots but entirely unnecessary to simply free yourself. But this expression refers to escaping the fictional trope, not the real thing.
For me as non native speaker it is interesting choice of words with 'Untangling'. While arenas achieve the goal to simplify lifetime management by reducing number of different lifetimes they do it by effectively 'entangling' lifetimes. If arenas are reused they make UAF detection a problem that needs special care. Performance is usually great so it is used everywhere not only in gamedev.
Typically you map a VLAN to a priority via PFC (Priority Flow Control). You can do it with vconfig on Linux. Switch OSes have their own CLI for this.

Some switches can do PFC for untagged packets. They classify based on DSCP, and map that to a PFC priority. I've never used that though.
Looking to build an efficient framework for your business? Hire the best Elixir developers to reduce the cost of software development for your business.
Worse are the prices if the tools are available. Usually there is no options for home usage (only independant operators) or it is prohibitively expensive due to the "tools" required. In my example the electronic license for an hour (which is extremely short) is 60$ but ok I can see why you'd want to charge something not nil. The main problem is the official tools needed cost 1-3k depending on how grey you like your market.
Again, good points! this is exactly what we want to take off of the dev/CTO shoulders when going into the CRO’s office, we might need to do a better job communicating what the project is about.

- You can choose where to store the data, you can either keep it in the vendor's hand if it's more comfortable for the CRO or use your own AWS and GCS for specific geographies (e.g. GDPR). for those who have access to the data we have RBAC built-in into the back office, we’ve seen that most companies are actually building their own back office since identity verification providers usually won't give something operational for manual approvals - so getting one that is built with best practices in mind and maintained by a community is a big benefit in a security aspect.

- Each company that deals with such processes have its own regulatory framework they are under and they are obliged to assign personnel to build and maintain a policy and make sure the company acts according to it it.

- You can orchestrate that entirely, using whatever data source you need, by using an existing integration or adding a new one.

- This is a big plus for having a community that is spread across multiple geographies and can help build local solutions that will make the system global (stuff like which data you need to collect, how much time data should be stored, in what area it should be stored, and which vendors works best with specific data).
He is able to run the site on Tor just fine. The problem is that without being a normal clearnet site, your community will die off.
Interesting. Indeed the wording is not great but a human would get the idea :-) I did notice that quite a few times when i write that i want space exploration and expansion it gets downvoted. So there may also be a crowd that thinks we should solve all problems on earth before going to space, as if thats possible or achievable.
a site doesn't have to justify its existence by being an alternative to anything.
Put Traffic Cameras Everywhere
Agree that you shouldn’t swim with your phone, but Apple not covering liquid damage is a business decision that doesn’t tell me whether the glue and gaskets serve a valid waterproofing purpose.

As someone who has replaced several batteries, I take pains to make sure I put new glue/sticky gaskets back in place when I do it and I do that for waterproofing not to protect Apple’s business.
Money Fellows, an Egyptian fintech digitizing money circles, raises $31M funding