skysight-inc/HackerNews huggingface dataset:
> updating the position of a player or e.g. a bullet was to take the previous location, the velocity, and the time elapsed between the previous and current state.

Yes, the technical term for this is Euler integration: https://en.wikipedia.org/wiki/Euler_method

It's good enough for a lot of parts of a game simulation, especially if you have a fixed framerate. But it can get wonky if you have a lot of stuff moving around this way and interacting with each other. Full fledged physics engines in games tend to use more sophisticated algorithms to do the integration to avoid that.

> Bullet position = its origin, vector and then you can determine its location at any point in time, instead of updating its position at every tick.

Unfortunately, no. The linked blog post is a really cool way to think about simple animations but you will very often hit a wall (metaphorically and literally) where this technique no longer works.

The key problem is that the state of an object at time T depends on all possible interactions the object may have had before T. In the linked article, the only interactions are bouncing off walls, which are regular enough in time that you can model them analytically.

(But even in this trivial example, it still doesn't really work. Notice that if you resize your window, the DVD box jumps all over the place. That's because the analytic solution can't understand the notion of a window whose size changes. All it can do is calculate where the box would be now if the window had always been its current size. I digress.)

You can analytically calculate the position of a bullet at any time T given its origin and velocity, but only if the bullet doesn't interact with anything else. If you have, say, a human controller play that is running through the path of the bullet and gets hit, your simulation needs to understand that the bullet won't keep moving after that.

For a use case as simple as this, you may be able to model it statefully by just deleting the bullet entirely once it hits something. But, in general, there is always some level of state that you'll need in order to simulate anything beyond trivial complexity.
They have Starbucks in Europe and cannot sabotage unions there.

American liberals need to walk the talk. But it seems so many of them are just closet Republicans especially when the idealism costs them money. I haven't forgotten how Bernie Sanders was silenced.
Yeah, good point, although this will vary. And the six weeks you get from Apple Pay is only on the last payment.
Shall we ban every single company that has owns a voting-sized stock amount of Tencent, too?

( read the RESTRICT Act. That's my layperson read of what it says. I'm not a lawyer. )
When you do BNPL you forgo the credit card rewards you would otherwise get, which can easily be valued at 3-5% of the purchase (I.e. more than the benefit of taking the free credit)
But we aren't banning foreign speech, we are banning a foreign platform for information dissemination. I don't see anyone promoting not allowing Chinese citizen's posts to be viewable in the USA. That is what banning foreign speech would look like.
Handoff Is No Handoff
You are misinformed, the list is mixed:

https://www.schengenvisainfo.com/who-needs-schengen-visa/
I don’t think there should be wars in general. I think the old adage of “if you make guns illegal only criminals would have guns” is vacuously true and entirely the point. You can then arrest them for owning a gun rather than waiting for them to commit a crime with that gun.

Practically speaking I think this is unlikely to be possible in the US. Banning guns would be a dead letter law. Guns are so widely owned and pervasive it would be impossible to implement. I expect law enforcement won’t want to get involved either due to how dangerous disarming an entire populace would be.
Wish that worked on firefox mobile!
GPT-4 to Blender
Bicycles are truly beautiful machines. They are the most energy efficient form of transportation. You can travel pretty long distances with not that many calories.
Mine sounds more useful /s
Interesting, on Venmo I go out of my way to put obscene and offensive descriptions since I am viscerally opposed to their stupid social network feed insanity, and I have never had a payment rejected.
Agreed. Some interstellar civs could've come & gone a zillion years ago. (Maybe "gone" in the sense of subliming in the Culture novels.) The chance of two such civs being still extent and still interested in hanging around seems small.

Doesn't do much for sci-fi tho.
> However, about two years ago, the first signs of trouble started to appear. The man became very eco-anxious and found refuge with ELIZA, the name given to a chatbot that uses OpenAI's ChatGPT technology,

This doesn't make sense, Eliza is a very old pattern matcing chatbot, and even if someone used a name for something new, ChatGPT is not two years old.

Sounds like they mixed up their buzzwords.

Still a tragedy, automated tools are probably the worst way to deal with this.
This is text book retribution for a employees engaging in protected activity: one manager was dumb enough to say it out loud. Tgis kicked this issue out of the legal gray area Starbucks would love to occupy.

Think of it as firing a whistleblower for poor performance: it's never a good look and ought to impose a supersized burden of proof on the employer even in the rare cases where it's true.

There is no need to perform mental gymnastics when Occam's razor perfectly applies.
Twitter is a buggy, badly run mess rife with scam ads. Thing is though, Mastodon is not easy for casual social media users to grok, and it hasn't the kinds of content, like sports stars and celebs that can move tens of millions of users. It will be slow going at a scale an order of magnitude less than Twitter until, say, Swifties or Man United fans get their own official Mastodon server.
What's the incentive here? A rotating cast of high income earners paying state and local taxes without the benefit the pension system(s)? The country has about 1.73 births per woman with a barely positive net migration. Maybe they should think about getting interested people on a citizenship path.
As for buying somewhat specialized parts I usually find retailers I trust and buy from them.

For your example, I usually buy filters from AllFilters.com

https://www.allfilters.com/sedimentfilters

Or, I might buy direct from the manufacturer's parts website

https://www.geapplianceparts.com/store/parts/spec/FTHPM

Expanding on that idea, I often buy electrical components from a retailer like Mouser or Digikey or Adafruit or others before I buy off Amazon.

If I'm lucky there's some nice local retailers and I'll buy from them. There's a few local comic and game stores nearby, I'll practically always buy from them even if they're a few bucks more than Amazon for some particular item.

Amazon is almost always my last retailer I go to. I've had so many bad experiences with Amazon over the last few years. The majority of Amazon orders I've had in the past 5 years ended up involving Amazon support.
this looks pretty cool. I've been wanting to work on something like this.

LangChain seems like a cool project but it didn't have UI that I'm aware of.
They did not create a credit card. Goldman Sachs (GS) does all the financial work, and gives Apple a cut for the branding.

Same thing here. GS is doing the underwriting, Apple is just providing the tech to be able to access the customer at the point of sale and make a split second automated offer for GS to lend money.

Edit: I was wrong about GS doing the underwriting. The website states:

>Apple Pay Later is offered by Apple Financing LLC, a subsidiary of Apple Inc., which is responsible for credit assessment and lending. Apple Financing plans to report Apple Pay Later loans to U.S. credit bureaus starting this fall,5 so they are reflected in users’ overall financial profiles and can help promote responsible lending for both the lender and the borrower.
There is: make the service paid from get go and put things like this in writing as part of the contract. Money changes hands, there’s something to risk being sued over.

Going for network effect with a free offering means there has to be investment money keeping the lights on. Those investors will want their returns.
OT: I don't know about their scaling strategy for LLM but their scaling strategy for displaying pictures is disappointing.

(it's all blurry)
This only makes me concerned we get locally run LLMs before the various medical cartels can lobby congress.
i do not want my shell to depend on whatever idea of package management python has this week, nor do i necessarily want to warm up the jit of a ~proper~ general-purpose scripting language in the process of execing a one-line script
Because the main business of most Nix builders is shelling out to external programs, and for that there isn't anything that's a better fit than a shell language.

At the same time, the whole mission of these next-gen shell languages (Nushell, Elvish, Oil, Crush, Murex, NGS) is to provide a language that is at once a shell language suitable for daily interactive usage and a capable, general purpose programming language in its own right.

Truthfully, I don't think a better fit exists for this use case than one of these shell languages.
> There are bugs in the code--probably in your code--right now. Some might be CVEs because of how little guarantees you have when you stumble into UB.

Pick any medium/large project written in any language that hasn't undergone extensive formal verification+testing and this statement will likely be true.
When President Trump raised tariffs on China in 2017 - economic soundness aside - the media commentary initially lambasted it as unprovoked xenophobic aggression. But the outrage soon died down as people looked at the numbers and saw it was a mere reciprocal setting of our tax rate to match or reach a fraction of China’s (and hopefully would enable future lowering negotiations). Now, in 2023, President Biden has maintained that course and the public has come around to more hawkish policy.

Popper’s Paradox on the geopolitical scale.
Yeah but those guys had to work at big tech companies. Not everything is about ROI or money, even in business. Some people genuinely prefer working on “their own thing” or somewhere they feel they have more impact even if there is less financial reward.
> Now they just mean you are descended from someone with that surname.

Adoption exists. I'm the first in my patriline to be born with my surname. So yes, technically I am descended from a person with that surname, but my father wasn't.

Also, changing a name on marriage happens.
Render state usually isn't, but internal simulation and physics often updates using a fixed time step because it avoids many many problems caused by variable frame rates.

https://gafferongames.com/post/fix_your_timestep/
I see these visas and I understand there are some circumstances where maybe you have to get one (employer letting you work remote, maybe certain kinds of rental housing) but honestly I don't understand why they have any requirements, and opposed to just asking an otherwise admissible person to declare they're there for work. Like others, I can already go for 90 days if I want for tourism, just with my passport. I don't have to prove income or insurance or submit a photo. What real risk are they taking by just letting my say I'm coming for 6 months to work remotely? All the "remote" visas I've seen are similar, and it all just seems like some silly think bureaucrats dreamed up because they can't let go of control, that really is pointless.
Little Big Updates in Figma
It's pretty scary. I wrote down some thoughts on this with regard to general purpose computing: https://concernedsoftwareuser.github.io/software-freedom/
Here's an example from outside the tokio library: https://github.com/google/tarpc/issues/297
Audit and find the gaps in task and container configuration to make you billing more effective.
In my opinion as a non-professional hobbyist developer and a software "consumer", the main problem of current software trends is that they rely on computing power too much. I understand why a developer might want to quickly implement and test an idea using high level languages and no optimization. However, it feels like nowadays, developers are not moving on from the "rapid prototyping" stage to the "optimization" stage, almost like abandoning a project, yet they always keep adding new stuff.

We are heading for a personal dystopia of mine everyone's attention spans are too short in every aspect of the life. People are addicted to new stimuli, whether it be the next 1 minute video in the timeline, or a new feature for the software that will never be "mature" due to all the other new features.
Oh good point, I had not checked if that was one of the few approved addons for the mobile version. I forgot that is very limited. I do very little from my cell phone as I can not stand the UI/UX of smart phones.
There are two things I want to say.

First, this is one of those things which is easy to say but for many (most?) people hard to implement. Sure, some people's family may be able to give them the money they need to go to university but this is not the case for most people, and in this case it is really hard to earn enough money _before starting_ to pay for your university education.

The second is that debt can be good (our society is literally built on it) in many cases (e.g. home loans, provided you can afford to pay them off) if you are not in a highly asymmetrical power relationship with your lender.
Well yes, you gate it behind human intervention like an actual retailer.
Being laid off at 50 is fairly brutal but hoping to find something using my django experience and get back to work. Fortunately my mom is still alive I had to move in with her, I had already been laid off once, when you are laid off 2 times in one year they force you to go 6 months with no income whatsoever as a form of punishment.
I buy hundreds of items per year and almost never return anything.

If I buy from xiangxiangshenzencorp then I expect the item to be crap, but it's obvious from the listing and the price. If I buy from a reputable brand I also know what to expect.

I honestly don't get how people can get a quality different from what was clear from the listing (well, I've been positively surprised in the past).
Twitter is dying
Banning TikTok is a completely rational thing to do, given the control that the CCP has over the app. We can't poison our minds with letting China control the algorithm and affect hundreds of millions of Americans. We aren't talking about a company motivated by money, it's motivated by power and control. It is 100% a national security threat.

We should absolutely ban it, the same way China bans Instagram, Facebook, Google, etc for the same reasons: national security threat.

And I personally love TikTok, I'm active on it for a couple of hours a day, but I know that it's a threat.
Thank you-- I'll add those now.
This article contains exactly the sort of factual incongruity that ChatGPT often produces...
I don’t think can use existing LoRa devices with Sidewalk. Sidewalk uses BLE, LoRa, and 900MHz custom data. It isn’t Lora network like Helium.
I'm pretty sure git-daemon does work p2p, but maybe that's a different p2p you have in mind.
"Speedrunning" keeps coming up in these contexts, and I keep reading it as a positive that these communities are learning their lessons sometimes hundreds of years faster.

Systems will always have some of the same hiccups when being adopted by (sometimes unaligned) humans.

If, and how quickly, the system can recover, I believe is a major differentiating factor.
Yes and if european countries are afraid the US is leaning on facebook to manipulate their views, they should ban facebook!

But if some social media network starts in france, then even if it could manipulate users, france probably doesn't care because they can "control" it with force of law.

This is no different than wanting a domestic steel and fertilizer industry. You want powerful entities to be under your control.
150k - 200k for an offshore developer is ridiculously expensive. This is why companies are increasingly moving development out of India to places like SE Asia and Eastern Europe. The costs savings have to be worth the efficiency hit, otherwise there is no point having remote dev teams.
There are more details in the article from La Libre, but it's in French: https://www.lalibre.be/belgique/societe/2023/03/28/sans-ces-...
I think a "stop payment" is the US name for revoking direct debit permissions.
Could you mention the significant scientific progresses and discoveries made in those 500 years?
Only if you can use int8, which may or may not be convenient.
> It's absolutely trivial if you have a human review changes.

There is nothing trivial about that. At amazon’s scale that is an army who needs to be hired, trained, prevented from colluding with scammers, quality controlled, etc etc.
I wouldn't say “elite”.
Pretty insightful observation on authentication. Using a password method that requires the client to compute a brute force resistant hash that takes ~100ms of cpu time is a non-starter for most serverless platforms.

I'm curious if Cloudflare, or other serverless platforms offer the ability to generate short lived JWTs assigned to each worker. Combined with some configuration (pub key exchange, claim setup, etc) a platform like Neon could use these JWTs to establish identity. Sorta SSO for workers without the CPU overhead.

Seems like a safer approach than basic auth with fixed pws.
Anyone from China or informed enough can chip in how secure the marketplace is? How often does this happen? I had my own problems with a Chinese developed app I needed to add some content for a client.
Because it's just a thing that a British economist predicted 2 decades ago. It has no basis in reality.
> I never want Bach and Slayer in sequence.

I've found interesting, creative serendipity in sequences like that.

With dynamics controlling tools such as ReplayGain (and Apple Music has something similar built-in today though less well documented) to avoid massive "loudness war" shifts it doesn't even break a flow state for me sometimes and can be really interesting to my flow.
Only 180 days (and only if you're currently in your home country)? That's pretty lame and makes it not really worth it. If I want to live in a country on a remote worker visa, I'd want it to be at least 1yr minimum in length. As it stands, that's barely any better/different than a normal tourist visa.
that would further reinforce my point - if people signing up dont feel its worth the monthly fee, but people with access to the secret link thought it was worth a one-off purchase.
> Fed losses from its interest-rate-risk exposures—unrecognized taxpayer losses—are now being realized in ways Congress never intended and at magnitudes neither the Congress nor the Fed ever expected.

When things happen that congress or the Fed never expected (aka the 'experts' and 'planners' in all this)... that should ring alarm bells. Those saying 'nothing to worry about' are putting on a brave face. Shouldn't need to understand economics to see that much.
What exactly do you think is the purpose of a discussion forum like this one?
Yes, that's a lot of work. I remember in one image annotation task we got back what looked like a uniform distribution of responses. This was a pilot to determine the quality of responses so we did not waste a lot of money on it. The more limits we use, the smaller is the pool of mTurkers making it impractical for large tasks.
Ball-bearings? Primitive?? Surely you jest!
Show HN: An open-source monitoring tool like zabbix or prometheus
Hi guys!

Very happy to be here to introduce our new open source project - HertzBeat

Hertzbeat is an open-source, real-time monitoring tool which we speed one more year to create it.

Monitor+Alerter+Notify all in one. With custom-monitor and agentless. Support monitoring web service, database, os, middleware, cloud-native, network and more.

We make protocols such as `Http, Jmx, Ssh, Snmp, Jdbc` configurable, and you only need to configure `YML` online to collect any metrics you want.
Do you believe that you can immediately adapt a new monitoring type such as K8s or Docker just by configuring online?

Just one command to get started:
docker run -d -p 1157:1157 --name hertzbeat tancloud/hertzbeat

Welcome to use and star.

github: https://github.com/dromara/hertzbeat

home: https://hertzbeat.com/
Oh no, a bunch of self-harm and cat videos don’t get shoved in front of millions of teenagers. Some speech isn’t worth protecting.

Edit: if you’re going to downvote, at least explain why in a reply. Thanks.
It's been said elsewhere in here but I'm going to parrot because this caught me by surprise and this is on the level of importance of the SOPA [1] craziness back in 2012.

The TikTok ban has very little do with TikTok. It's yet another Patriot Act (now, the Restrict Act [2]) style back door to slip in some seriously heinous legislation that could find you fined to the tune of millions, or worse, thrown in jail for 20 years.

> A person who willfully commits, willfully attempts to commit, or willfully conspires to commit, or aids or abets in the commission of an unlawful act described in subsection (a) shall, upon conviction, be fined not more than $1,000,000, or if a natural person, may be imprisoned for not more than 20 years, or both.

I do view TikTok as a covert military campaign (ideological subversion) and do think it should be limited in the West, however, not via this bill.

[1] https://www.youtube.com/watch?v=Fgh2dFngFsg

[2] https://www.congress.gov/bill/118th-congress/senate-bill/686...
If one's flying enough, ideally they have status with an airline to have some baggage allowance.

I hear you, though, I frequently bring back some knickknacks from abroad and will check in a small bag of booze.
They may have an arbitration clause, but even then,you would have a good chance of getting your money back if you took them to arbitration.
Lots to unpack here.

First, there is no splitting between linear momentum and angular momentum per se. They have different units, you can't add them, and it makes no sense to say "this is 30% linear momentum and 70% angular momentum". But you can calculate how much energy is stored in linear motion and how much is stored in angular motion, and (at least at non-relativistic speeds), you can indeed add them. So you are on to something here.

But Newton's Laws don't lie. If you apply a force F, then a=m/F, and the fact that the object is spinning doesn't change the acceleration. Yet applying the force off-center does indeed seem to add more energy to the object: you're accelerating it just as much as if you applied the force on-center and you're also spinning it.

So how do you resolve this? A piece of general advice in physics (and math, and many other fields) is to state your assumptions and your questions precisely and unambiguously. The question is: if you apply an equal force to two objects of equal mass, and there are no other external forces involved, how can one accelerate faster? But just because the forces are equal doesn't mean that the work (energy applied) is the same. In fact:

W (work) = F (force) * d (distance)

Divide by a small unit of time:

P (power, which is work per unit time) = F * v (velocity, which is distance per unit time)

And that's the velocity of the point that receives the force. And if you look at the animation, you will see that the off-center force on the rotating box is applied to a (variable) spot on the box that is moving to the right. So the power needed to apply the force is larger, and more work is done.

(In fact, the excess velocity is ωr, so the excess power is Fωr = ωτ (angular velocity times torque), which is exactly the power needed to produce angular acceleration. So energy is conserved and all is well.)