skysight-inc/HackerNews huggingface dataset:
Many years ago I worked on a space-flight game. The idea was to create something like Elite, but with a little more cartoony graphics and a strictly 2d flight model.

The physics behind it was fairly accurately modeled; you can ignore the 3rd dimension for a lot of orbital mechanics. The scales were unrealistic, the gravitational constant was tweaked for more fun, but the actual Newtonian formulas were correct. Orbits behaved properly and so forth.

The hard problem was adding NPC space ships. I had simple requirements: Have a spaceship at location X and velocity vector Y, accelerate and move to location X2, slowing to a stop as they reached it, taking into account intervening gravitational wells. I naively thought that was a simple solved problem that I could find the answer to with a little googling.

Well, it's not, at least at my level of mathematical knowledge.

I made it work, though. Not by exactly solving a god-like deterministic formula, as Newton himself would have, but by tweaking an algorithm I found from the early days of guided missiles.

It's an interesting algorithm. It basically worked this way: Ping your target, and figure out by what angle you're going to miss it at your current heading. Point your rocket at double that angle delta. So, if you're going to miss the target by 10 degrees to the left at your current heading, point your rocket 10 degrees to the right of your target. Continue thrusting.

Repeat, many times a second, and the angle you're missing by becomes smaller and smaller, until BANG. And, because it's really a fly-by-the-seat-of-your-pants heuristic, if gravity is pulling you off course, the correction automatically increases.

I had to do a little addition, like chopping the trajectory into chunks if there was a major gravitational body in the way, because the algorithm broke if you got too close to a planet.

Oh, and guided missiles accelerate until they hit. I had to have ships accelerate to the halfway point, turn around, and then decelerate until they stopped at the destination. It was fairly simple to find the point at which they would need to begin decelerating in order to hit zero speed at their destination. The fun part is that the guided missile algorithm still worked, but you just had to change it so you maneuvered based on the point exactly opposite of the target.

The takeaway is that the exact 'correct' solution to the problem was hard; practically unsolvable, at my expertise. But it was easily managed by implementing a few simple behaviors into the NPC ships, which were really not very different than how a player with a little learned intuition would pilot. As a bonus, I think they were more believable that way. They flew more naturally.

Someday I need to finish that game.
Yes, I understand that, but that's still a vanishingly rare route of transmission. The way you get infected is by inhaling aerosols.
Since when have we not looked at capitalist entities as abusers and exploiters?

No one wants to be in this situation wrt megacorps and their stranglehold on the internet, free speech, and so many livelihoods. Putting the onus on consumers to fix this is hilarious and naive.
In essence that is arguing that an abusive monopoly (facebook) must be fought with another abusive monopoly (apple).
I wonder if using an address @nationalgeographic.com (e.g. support) might illuminate to them how foolish this is...
We need competition, an alternate app store or a rule that says that companies involved in making operating systems cannot get into the business of maintaining/curating/controlling app stores. Else these app publishers end up being beholden to the whims of the companies controlling the app stores.
I didn't realize there were multiple now! We use "PlantUML for Confluence" [1] now but have had that for a few years. The live preview thing some of the others seem to have would be nice.

[1] https://marketplace.atlassian.com/apps/41025/plantuml-for-co...
That looks rather small to me to be a whole pineapple. If that's a pineapple, it would suggest the grapes were simply humongous.
Biden’s Covid team split over decision to send vaccine doses abroad
Pop open developer tools - Gmail's JavaScript is heavily obfuscated, not just minified. (I think it's a custom, self-modifying VM that's written in JavaScript, and it fetches pieces of itself over the network, like ReCAPTCHA).

This "DRM" plays at least some role in making the optimizers in V8 work a lot harder to get anything reasonable out of the spaghetti.

Why Google needs DRM for a web email app? Beyond me.
For this to work, FBI Bob and EFF Alice need to trust each other. Otherwise, if FBI Bob gets to connect to the hard drive first, the imaging process could tamper with the contents before EFF Alice has a chance to do the hashing. And if instead EFF Alice connects first, she could be wiping the incriminating data before taking her hash and FBI Bob imaging anything.

If course, if they already trust each other (including all the used tools), then the whole excercise is moot.
Sure, imagine Rust in a couple years from now, with Rust Editon "C++20", so lets come up with 2015, 2018, 2021, 2024, 2030 as possible epochs.

Now imagine a scenario where everyone uses binary libraries, like plenty of corporations do with C, C++, Java, .NET, Swift and other compiled languages.

How can epochs ensure that a binary library compiled in edition 2018, will be able to take a callback using a lambda written in edition 2024 main application, calling into a function available in a edtion 2015 crate, and then statically linked into a common runtime?

The current answer is it can't, unless all libraries happen to be compiled with the same compiler, and linked with the same runtime version.

Yes, it is a problem hard to solve, which not even a stable API fully fixes, because having it stable it restricts the language evolution on what can be exposed at library boundary and runtime library expectations.

Long term editions won't be much different than a -source in Java or -std= in C, C++ and so on.

It works for the time being because 2018 is basically the only edition available, with 2015 being pre-1.0, the same compiler gets backports to have a runtime compatible with both versions and there are no breaking changes where the language semantics have changed.
All incentive models for ceos miss the point, that incentives do not work. People will just fulfill the metric, without incentive most people will do what is best for the company.
This feels like a flimsy excuse to fire the CEO for an incident in 2019. What was he really fired for?
Why were the accounts banned?
Github is a tiny drop on the universe from enteprise computing.
A solution that one of our customers uses (Prem Tinsulanonda International School) is the installation of a positive pressure system. They are able to achieve near zero AQI in their classrooms when you have more than 300 US AQI outside.

You can read more on it on the See the Air Blog:
https://seetheair.wordpress.com/2021/04/26/thailand-school-s...
The US has plenty of manufacturing. The manufacturing jobs went. And they are not coming back.

If anything, a push to move more manufacturing to the US will drive further automation.
You are absolutely correct that design costs swamp mask costs by far. For 7 nm, it costs more than $271 million for design alone (EDA, verification, synthesis, layout, sign-off, etc) [1], and that’s a cheaper one. Industry reports say $650-810 million for a big 5 nm chip.

[1] https://semiengineering.com/racing-to-107nm/
> treat as money supply inflation

Not that the money supply looks odd at all.

https://fred.stlouisfed.org/series/M1SL
Could you get a few more plants around the house? Plants can remove things like benzene, formaldehyde, xylene, and toluene. Maybe not the fastest but certainly don't cost much once you have them.
Read it and learn how to use a C compiler on Android without termux.
Does it support driving directions and traffic overlay?
On my nearly maxed out 16” MBP, on day one, web pages with lots of ads and fonts (typically news sites and content aggregators) were noticeably slow. On my totally maxed out iPhone 8 Plus, same experience day one. Scrolling past one of those dumb sticky videos can cause everything to jump into place, then back out, then back again. Navigating back in history can be so slow just hitting the cache that the previous (now forward entry) page shows up again and blocks rendering of the navigation.

Same with electron apps. VSCode is generally among the best. I currently have 9-10 projects open. If I accidentally trigger a font resize by missing cmd-backspace and hit + instead, I’m sitting around for 1-5 minutes waiting for everything to settle. I’ve even hit bugs where trying something app-wide then reverting hit a very slow race condition and just completely deleted my settings.json. Restart to update can take a couple minutes too, and that’s to restore visible functionality while waiting for the changelog tab to randomly show up.

Slack on iOS isn’t nearly as bad as on macOS. But that’s not Electron. I’m in 8 Slack orgs, not a large number compared to some people I know. Refreshing the window takes long enough I just go take a break.

This is on a machine with 64GB RAM, even when it’s not swapping from a couple Chrome windows.
> And since utf-8 is the only valid charset for HTML5 it should be the default.

In actual practice, firefox will try latin encoding if the first few kilobytes are ASCII7 and the document is not indicating its encoding.
Pipewire uses a different architecture than pulseaudio. It's basically "we learned lots of things from low-latency video, let's apply that everywhere", not a refactor.

What do you want to change in systemd specificaly?
> but Mighty wouldn't help with network speed

It would if they pre-fetch the content based on your browsing behaviour.
Because some people don't know...

http://mj.ucw.cz/geek/

For more information: https://en.wikipedia.org/wiki/Geek_Code
The modern Linux kernel allows you to sandbox applications natively. There are tools that make this easy to set up, for instance [1].

[0]: https://blog.cloudflare.com/sandboxing-in-linux-with-zero-li...

[1]: https://firejail.wordpress.com/
Your two paragraphs are contradicting each other.

The mere possibility that a "clown show" of that magnitude can exist is evidence for the lack of a solution to the problem of digital forensics.
Ah, I see! I could see why that would be a more intuitive behavior (as it's more in line with the standard 25 minute Pomodoro). I added a link to the repo, and the README includes information about how to use it, but I will add some hints like you describe so that people visiting for the first time aren't caught unawares.
Mighty will definitely help with network speed. If your link is Max 60 kb per second download and mighty has a 50 megabytes per second download and it's closer to the peers for those sites you visit it's definitely going to load faster and then stream down to you.

I haven't used mighty but I'm basing that on my own experience with similar technology.

I think there's a window of optimal use bracketed by low and high download bandwidth for you. if you're faster than that maybe the only speed up you get is if your machine has a slow CPU. If you're slower than that I suspect that the video streaming they're going to use will produce a lag that will make your experience worse than if you were just loading the site directly.

If mighty wanted to push that lower bound lower, instead of streaming video they might be able to stream changes to the DOM. they could compile a sort of single file version of the page on their server that included all the requests the third party resources and styles in line and then whenever there were changes in the layout we could stream those style or DOM changes down to you. As far as I can tell that's basically the minimum amount of information you need to replicate the experience. that might even help a little bit with machines with slow CPUs I sort of tree shaking styles and resources that are not used.

from this point of view with enough development mighty could be purchased by Google as a sort of deluxe subscription model for chrome with bundled premium subscriptions to various streaming services and so on. From that point of view, the bundling up of content, delivery and medium is not really a novel thing because I think similar things have happened with cable TV magazines and news to some extent.

But for the good point that you make that people at the slow or low speck ends might often not be able to afford that kind of service, that lowest of the low-end might be a real focused niche... say people on airplane Wi-Fi or in remote locations on a satellite link.

but from a purely product marketing and psychological point of view I don't think that a product needs actual technical superiority or real measurable utility to become a big hit. I think it really only needs something that makes people want to use it. mighty could position itself as a sort of luxury upgrade for people with already good specs.

Because from the point of view people who are perhaps already of that successful and wealthy mindset many of them may consider that time is their most valuable asset and the accumulated frustrations and annoyance of waiting for websites to load is something they are prepared to pay a service to get rid of and to provide them and experience which they feel is more in line with their station and their expectations of Life in general.
Where I live it takes several years to paint a pedestrian crossing. Even if we decided to put all traffic underground, nobody alive today would see that project finished.
Where is POSIX listed here?

https://developer.android.com/ndk/guides/stable_apis

> Starting in Android 7.0, the system prevents apps from dynamically linking against non-NDK libraries, which may cause your app to crash. This change in behavior aims to create a consistent app experience across platform updates and different devices. Even though your code might not be linking against private libraries, it's possible that a third-party static library in your app could be doing so. Therefore, all developers should check to make sure that their apps do not crash on devices running Android 7.0. If your app uses native code, you should only be using public NDK APIs.

Taken from https://developer.android.com/about/versions/nougat/android-...
It doesn't look like a pine cone... but it also sure as heck doesn't look anything like a pineapple either.

It's supposed to be a pineapple the size of... 6 grapes?

It looks like a small dinner roll. It doesn't look anything like a pineapple.

This feels like an entirely made-up mystery, like something tour guides invented to try to make the tour interesting.
Digilent's 12-in-1 Software Defined Instrument ADP3450 supports Linux mode
I wonder how the board found found out, given that the event occurred in 2019 and they are firing him in 2021.

I also wonder how much equity the board and investors clawed back by the firing.
Ask HN: LastPass Enterprise support staff, where are they?
Did LastPass layoff off a lot of employees recently due to many customers switching over to Bitwarden?

We are on LastPass’s Enterprise Business plan and it’s taking *one whole week* for their team to reply to a support ticket. After receiving their late response, another staff took over the support ticket and asked the same questions again and we’re now starting from scratch.

Any ex-LastPass employees seeing this and want to comment on what is happening at LogMeIn?
How many billions of dollars, over how many decades did Spotify spend developing that platform, OS and app distribution system? How many times did they almost go to the wall over the commercial risks that took?

Anyway as I already pointed out it’s effectively 15%, not 30%. Also the vast majority, over 99% (literally, I looked it up) of Spotify app users earn Apple nothing because they use it add supported and all the add revenue goes to Spotify.
The tweet is not advocating print debugging per se, but about understanding the code by modifying it. This is how I approach any foreign/old code all the time, I can recommend it. If you have a theory about how it works, edit it, and see if your edit works expected. It may or may not, either way you learn something. I love debuggers, but editing the code can also help you trigger a breakpoint just before that special case hits. Much faster than conditional breakpoints.
Thank you. I thought I was the only one in Poland with this view! My Polish wife gets angry when I mention it. I'm trying to rescue us (we have a young child) but she is resistant. Well done for escaping.
the point is to decouple getting false-positive-banned on the ad network from getting banned from the playstore.
Wait. This isn't an April Fool's joke?
After a snickers commercial in 2009 the phrase became repeated and popularized by the general public

https://youtube.com/watch?v=qarH-PTKulQ
Also teach people to use and prefer F-Droid over Google Play when possible, and make your open source app available on it:

- no obscure ban for application vendors

- no mandatory account for installing apps and from which you can be banned

- no user tracking

If you don't like vendor lock-ins and its consequences, push for the alternatives.
Malicious intent or personal gain negate that sort of thing in civil torts.

Also US code 1030(a)5 A does not care about software license. Any intentional vulnerability added to code counts. Federal cybercrime laws are not known for being terribly understanding…
Normally they should last a year, but a solid week of 200ug/m3 is enough to clog one. Speaking from experience.
The first thing I thought looking at it: It is a pineapple. It was an immediate thought. There is also the fruit part on top, which makes it even more resembling a pineapple...
This is a fragile holier-than-thou argument to claim that you can go through the modern world without looking at a youtube video someone linked.

The claim of moral ground is made even less robust when they literally have a platform that attempts to track your every single move in order to monetize on targeted advertisement.

There are other business models to achieve the same profitability without privacy invasion, and I do pay for and favour those business models.

I will repeat it again targeted ads only benefit Google by selling the illusion of advertisement metrics to marketers. Neither users or content creators stand to benefit from targeted advertisement quite the contrary.

Targeted advertisement should be as illegal as robocalls.
Ah, I have a quad core with a discrete GPU. Might make all the difference.
Totally agree with you, just didn't want to take a hard-line stance that it was 100% problematic always.
I’m guessing he said something about it that alerted the board, or someone always knew and decided they wanted him gone now
The same group of people actively botched Flash and PNaCL support on browsers.
There is no secret sauce needed. The Plantower sensors tell you the PM2.5 in micrograms directly and we just display it to the OLED display or send it to a server. It is all open source so you can check the code.
Running PHP code in parallel, the easy way
Yes, to granny's house! So many political issues result from carefully suggesting that the smoky air at home might not be the best for her ill heart.
https://en.wikipedia.org/wiki/Wikipedia:Sockpuppetry

It is also a common policy on many forums.

And while I love complaining about policies and behavior of FB, Google, Amazon etc, this one makes sense.

Almost always you ban person, not account - so standard is to allow one account or to require accounts to be clearly linked (for example, a separate bot account that is clearly declared).
If you're wheeling around five to six figures worth of audio production equipment often enough to want the rackmount Mac Pro, I think the cost of a new rack is almost a rounding error.
Here is a link to the report: https://au.reset.tech/uploads/resettechaustralia_profiling-c...

Inline with your point, the report states that the ads were not actually run, which kind of invalidates their argument. They state they were ‘approved’.

But their motivation was likely to get a specific headline across the media, and that appears to be working.
The idea that subscriptions are the main issue is just fluff. Under 1% of Spotify app users subscribe, for the rest all the add revenue goes to Spotify. Apple distributes the app and gets nothing.
I think you’re misrepresenting the other side. Trump JR never said covid wasn’t real, he said “it would disappear the day after joe Biden was elected” the suggestion from the context being “Democrats are blowing the situation way of of proportion for political gain”.

The conservative argument on the danger of the virus is that it’s dangerous to old people and those with preexisting conditions, but not very dangerous to healthy people who are relatively younger. This is a valid subjective interpretation of the science. Whether something is safe or dangerous is a value judgement.

The CDC originally said don’t mask, that you can get it from surfaces, that it spreads through the air instead of droplets. For the lockdowns, the conservative argument was that they were too extreme given the costs, something like “destroying the global economy disproportionately hurts the people least affected by the virus: labor, small business owners, children, students, and so on, while having little effect on the relatively richer but more affected old”. The point was that lockdowns didn’t justify the costs.

I don’t agree with most of this, but you’re so far off the mark with the strawman of these arguments that I don’t think you’ve seriously understood them beyond immediate dismissal on partisan grounds.

If we did this pandemic over again, but it was a dem President going into an election year, I think Dems being anti lockdown would’ve been the most obvious outcome, because lockdowns hurt the exact people the party calls its constituents: lower classes, people of color, labor, young people, etc, while most benefiting the wealthier and older population.
Thank you for your reply, going back to my original question that sparked all of this uninformed speculation... how much extra time and distance is covered/experienced traveling to an event horizon? (It's not exactly easy to construct the question correctly)
> - Your Amazon shopping account and your AWS account should definitely not be the same account.

If you need another reason. I've heard allegations that the recovery process for Amazon shopping accounts and for dedicated AWS accounts are different, with the former being easier to socially engineer.

Probably some risk management department figuring that in the case of the former any "fraud" can be resolved with any chargebacks/refunds
Open Wind Statation GPRS/ MQTT
I believe the GDPR requires that companies be able to explain the decisions of black box algorithms when they have the potential to cause harm personally or financially.
In the same sense there are a lot of advantages to storing your traditional music in the format of its original DAW project files, but wouldn't you agree that's impractical for listening purposes?
if you don't interlink your app account and your website's adsense google account, then this _shouldn't_ really be an issue right?

So i say always maintain separate google accounts for individual apps, for individual usages. Separate your personal google account from your business account, from your ad-network account etc. And i would argue that each individual app should own their own account (you pay for this of course, because of the fee per account i guess).
I like it! Not only the project which looks great, but also the relaxed presentation including factually correct statements about the 80s.
My gaming PC is on a fourth generation Intel with a RTX 2080. Still enough to do >100fps in the games I play on 1440p.
"problems"