skysight-inc/HackerNews huggingface dataset:
You're thinking of the inverse of the function. There's also a lot hidden in your function as generating a circle from an angle requires sin and cos functions. These are repeating functions so asin and acos don't result necessarily represent a single angle (e.g. if 1.5pi is returned, does it mean 1.5pi, 3.5pi or 5.5pi). Similarly, if you invert the formula for the unit circle, taking the square-root of the terms results in both positive and negative values.

This article is instead talking about the inverse per the identity a * 1/a = 1.
Love it! Thank you for sharing!
Poll: Should stories linking to paywalls indicate that?
You never know if the article you're about to click on is going to a paywall that's going to ask you for money to read it. Some users may prefer to skip these articles.

Should there be an indicator next to story links that show the link is going to a paywall?
> Think of it as jumping into a new codebase you have never worked with before. It is full of strange functions calling each other for unknown reasons. It takes a while to get a good intuition for why.

I think about this analogy from time to time, when I get frustrated by maths. Myself not being mathematician but on occasion needing to read a research paper, my frustration is typically begins with the raw syntax of maths. It’s so obviously optimized for the combined limitations of the human brain’s limited short term memory and the human hand’s speed of writing/typing. Which probably is the correct optimization for high level practitioners.

For communication with non experts, it’s dreadful, but I think fixable post-facto with a auto-notation tool. Think black.py for maths.
I can understand the appeal of most smart devices, but since a dishwasher can’t yet load and unload itself, what is the point of an internet connected dishwasher? You have to have physically loaded it. Why not just push the start button then?
Ok, so many vendors might get through unscathed for the duration of those orders (but not after, and not if one excludes all the auxiliary services to the buyers who will become stressed with all the inventory on their hands that vendors expect their buyers to also purchase from them along the way for the duration of those orders), but their buyers wont.
does LFP stand for less fire prone?
Tldraw: A tiny little drawing app
> In short: we've climbed the ladder and set it on fire behind us.

This is a really good description of what JIT does when no one considers economic reflexivity. The time duration for problems to surface is long enough that no one can "do the right thing" and last past next quarter's or next year's financial performance assessment (whether internally or by financial analysts). So everyone participates in a game theoretic sensible fashion, and gets burned either an SKU at a time as single source or limited source manufacturers burn out their legacy equipment, or all at once with black swans like this pandemic.

I'm certain no one who modeled JIT in business school research has worked out if it was more cash efficient to put up with and pay the piper when (not if) the disruptions happen, or to JIT only specific items that meet supply robustness criteria. The purchasing people mania for single sourcing plays into this dynamic. Supply chain management is enormously complex, but I fear they're still way behind the eight ball as they find out it gets fractally more complex than they had bargained for when they set out to cost rationalize it all.
Are people seriously this tied in to their computers? I'd hate to see myself get to the point where I don't have time for women and need to be beeped in order to pay attention.
The Metaverse: Pleasure Island Revisited
Personally, I think most comments here just challenges Mozillas actions rather than just swallowing their marketing material. They clearly, in my and a lot of others opinion, just say stuff while doing something else completely.

It's a leadership issue and for an outsider looks almost like a hostile takeover. I stopped using Firefox years ago at this point and have stopped testing what I build for it since the relevance of Firefox unfortunately is miniscule anyway. They have too little market share now and they just continue turning their backs on everyone that used to support them.
Show HN: Bored of seeing the same NFTs over and over again?
Solana internals Part 4: the bank – a key component
Http works w/o a tos and privacy page lol
> I realized that most of them had a unique “theory of hiring”—some “secret ingredient”

I watched an interview with Jordan Peterson (yeah, I know...) a few years back, and he stated that the two big predictors for success in the workplace are intelligence and conscientiousness, so at the very least this isn't a secret ingredient.
The Hohenzollernbrücke in Cologne is so full of love locks that graffiti painters are using them as a canvas, which I find a great creative use for them.
I couldn't find a picture of the graffiti itself, it might be only visible from the trains running on the other side. Here's a photo of the locks: https://www.ksta.de/image/39079132/max/600/450/8a9b8aaf6594d...
Compared to what? MacOS/iOS doesn't support Vulkan either. Graphics driver support on Linux is still horrendous, and is a tiny part of the market - most things use OpenGL still. The Xbox uses D3D. The PS5 uses Gnm and Gnmx which are proprietary. The Switch uses NVN which is proprietary.
Overtaxed
Out of curiosity, how does your girlfriend react if you just start talking to her without asking attention? (Reason I ask, occasionally I think I might be on the spectrum, and my SO has a habit of just starting to talk to me. Most of the time I miss the beginning, which annoys to no end my SO...)
The run.py script indicates this is running on a Raspberry Pi to read GPIO pins i.e. you could literally just hook up a button to a GPIO pin and train your dog to stomp on the button.
What reason could a dishwasher have for a firmware update? Did they not test their dishwasher? did they lock away features behind a subscription? Why would it need a security update if it wasn't internet connected?
DARPA's ROCKn program aims to make optical atomic clocks portable
> If I now run a `for` loop over all IPv4 addresses and write them to my HDD, am I suddenly illegally storing personal data of all the people behind those IP addresses

That's actually a good point. The IPv4 space is pretty limited. I guess the GDPR law makes it PII if you bundle both the IP with an action made by that IP (e.g. that IP visited that website).
> With a gas pump, you need to stay with the car while it's charging.

Is that a realistic concern for anyone? The "charging" process at a gas pump takes around 1 minute (in Europe gas pumps have ~50 l/min flow rate, in the US it's 10 gal/min). At best you can get a battery recharge in 20min but more realistically today over 30min for 80% charge if the charging station hasn't reached peak charging capacity and starts lowering charging speeds for everyone.

Usually the longest wait is during holiday season where at the middle of the highway everyone needs to fill up around the same time/place and queues form. This is not something EV tech can help with intrinsically, if you don't wait today it's because there aren't enough EVs on the road.

Once most cars on the road are EVs wouldn't you have the exact same issue with queuing at busy charging station in holiday season? This will be exacerbated by the fact that charging takes longer than 1min, and too many cars charging at the same time would most likely lead to a drop in the overall charging rate of all cars in the station (it's unlikely charging station will support high-speed on all chargers simultaneously).

The way we drive and refuel now revolve around the concept of the quick refill gas pump. We need to adjust our expectations, driving style/planning/habits, and technology - induction charging roads, "third rails", things that address any shortcomings of EVs, not just adapting old solutions to new problems.
Many many years ago I played a browser-based online game and I used curl and php for scripting the game. I eventually programmed an alert feature that woke me up (OS X: ‘say “Warning you are under attack”’) during the night when I was being attacked.

good old times :)
A standing desk also helps to alternate from sitting down.
That would be pretty cool. Sort of like the Stream Deck with customizable illuminated LED buttons?
An inverse is pretty easy to generalize, and it need not rely on multiplication or the identity.

Basically: Given a function `f`, then the function `g` is the inverse of `f` if `g(f(x)) = x`.
Best way to increase animosity between two groups is unequal treatment. That this basic concept is not discussed in sociology even if its effect is pretty clearly observable doesn't speak for the field in my opinion.

What happens with group A if you constantly prefer group B. Especially if there are no substantial differences, you should see animosity rise quickly.

> would you agree if your kid marries someone from X

Quite frankly I believe this is trailing society by at least 30+ years. In the US and other countries. Perhaps there is a divide between older and newer generations somewhere, but the topic certainly does not warrant state intervention.
Well, if the range of the vehicle is 300 miles per charge, that's 300,000 miles before needing to replace the battery.
Thank you, sending you 4 beeps and seeing that 'ok' was the most web-based fun I had in a very long while!
> Look for evidence of side-projects or things that go above and beyond. This is always a good sign. Of course, be understanding of people’s personal situations—not everyone has a personal and professional life that allows them the luxury of side projects. That said, I believe most conscientious people will have evidence of these types of projects, even if they are doing them as part of their day job.

I have side projects, but they are not public. I could talk about them if required in an interview, but then I guess the author would then not consider me to be enough "conscientious".
At that point you should probably make use of the preexisting "charging rails" and take the train (in central europe)
Step by step method to write test cases in Selenium with example
Cancelling in Rust sound a lot like Thread.Abort() in .Net [1] just injects an exception arbitrarily into the thread and generally frowned upon due to potentially corrupt shared state and has been completely removed in later .Nets.

Unless you treat threads like a full process (no shared state) then you need cooperative cancellation (CancellationToken) which generally works well its nice to have common agreed upon cancellation message most commonly used in async I/O calls like a long running a DB query and wanting to cancel it if the client disconnects because they navigated away.

If you have uncooperative code that may say go into an infinite loop then you need to somehow preempt it if it runs on too long so then you have Thread.Abort or really Process.Kill which is the only safe way to do this in .Net (run it in another process).

[1] https://docs.microsoft.com/en-us/dotnet/api/system.threading...
That edit history is ridiculuous and one of the reasons I hate such reddit-esque conversations. It's a bunch of people thinking they know their stuff giving wrong answers.
Sounds like a self-created problem.
Getting Started: Gatsby vs. Next.js vs. Remix
Build & paint,

achievable today!

And then you just tell (or hint) to people that you're rich/eccentric.

Same result?
The Magic Behind the Lunar New Year Is Lots of Hard Work
> ...The obvious example of German restrictions...

You're right that this is an obvious example, in fact I would say that it's too obvious and doesn't really make your point for you. Of course any right-thinking nation that had committed vast and terrible atrocities during a major conflict could be reasonably expected to try to suppress the kind of rhetoric that led to those things happening in the first place. I don't see that as a freedom of speech issue - rather it underscores the point that freedom of speech does not equate to the right to incite violence or cause harm. Or is this the point that you're making? That a modern Hitler could easily come to power in the US and that this is somehow desirable? I realise I'm being somewhat hyperbolic but if protection of the right to incite violence or cause harm is 'the league' that the US operates in, then I don't understand why any sane person would want that.
This seems rather easy to solve if they approach it like they approach China. In China, US companies don’t run their own datacenters, they’re run by a Chinese company. If there’s a problem in that datacenter, the US on calls can tell the Chinese employee how to fix it, but the US person never gets access to the environment.
I see.

I found the rapid world championship, and at the top level the number of draws is certainly higher. (And it's played with an increment).

See this table for example: https://chess-results.com/tnr600852.aspx?lan=6&art=5&flag=30 highlighting ½ with the search gives an idea of the number of draws.
Computer science at U Washington (UW also) is hosted in the college of arts and sciences and engineering as two different programs. But the former program has its own faculty and isn’t related to the math department in the closest. The latter program doesn’t have its own faculty at all, sharing with computer science and electrical engineering.
Today my TV had an update and now I can't enable the wifi.
Yes, but that doesn't mean reducing R from 8 to 7 (example numbers) is all that helpful without a plan to get from 7 to 0.8.
I would personally describe memory safety as "all memory accesses to variables are guaranteed to yield a valid value under the type specified by the variable".

So that immediately rules out buffer overflows, use-after-free, double-free, non-atomic data race, dangling pointers, wrong cast, etc.

Some people think memory leaking counts, but I have the same view as Rust. Memory leaking does not corrupt the correctness of a program. And there is no accepted method to universally define "memory leaking" in the first place.
That is sort of orthogonal to what we are talking about. Cars are getting more digital based functionality - driver assist, entertainment, connection to third party services. They could be developed by some supplier, or the car manufacturer.

If they are based on open protocols, standards, provide API, is released as open source could happen in either of those two scenarios. I know manufacturers that use, promote and contribute to open source and standards. Do you think the big automotive suppliers are better or worse in this regard?

Also, choice here is kind of fuzzy. Choice in car brand and model? Choice in apps running in the enterrainment system? Choice in what SW is being executed by one or more of all the hundreds of CPUs, MCUs, GPUs, NPUs in the car?
Give written instructions to your bank requiring them know to engage in transactions over a certain amount without a certain set of verification procedures (for example a call back with a prearranged password for any wire was one that I had with my old bank), and have them acknowledge receipt in writing as well. In the unlikely/unfortunate event that your money is stolen - recouping from the financial institution will be more straightforward if they didn’t follow procedures and you can prove it.
Tesla's been growing like crazy, but the demand is crazier still. I ordered a Model Y in September. It's currently set to arrive in March, in the mean time the price of a new one has gone up almost 10% since I ordered.
This statement can be proved without contradiction (except the little one in the middle mentioned in the current answer):

(1) Given a finite set of primes {p_1, ... p_n}, then there exists another prime not in that set.

However, turning that into the following statement does require proof by contradiction (or, equivalently, the law of the excluded middle):

(2) There are an infinite number of primes

Euclid himself made statement (1) and proved it without contradiction, so looking at the original source gives the impression that you don't need it. But (2) is so similar-looking that many people incorrectly make the deduction that it doesn't need proof by contradiction either.
300 miles per charge * 1000 cycles is 300k miles.
Anti-satellite weapons are creating space hazards. Here’s a way to limit damage
Apple Watches have a cool Walkie-Talkie concept that could have worked well for this scenario.

I call it a concept though because the app as-implemented is unreliable and gets stuck in "Checking availability," "Trying to reconnect" every time you launch it. If you lower your wrist while it is trying to reconnect the app gets suspended and starts again.

So imagine standing there for sometimes up to a minute with your wrist extended while the Walkie-Talkie app tries to reconnect, all to hypothetically save time. It isn't workable. Which is a real shame because great concept on paper.
People keep thinking we'll never accidentally send these things.

I can't be the only one that thinks it's inevitable based on the anecdotes.
Depends how motivated the attackers are. They can try to find another bank with weaker rules, perhaps open an account there first.

I needed one of those things, and shopped around for a bit. And while all the big names would refuse, had waiting periods, fees, other requirements, a local credit union gave me one after signing up for a savings account immediately with a minimal or no fee.
Why is this human not following the orders of their dishwasher?
Notifications is the big reason: because cycle times are usually just estimates, you can't just set a timer for when it'll be done.
Funny you mention that. I am Scottish-Australian living in the US. An accent is something I definitely have.

- "Turn on recirculated air"

- "Set temperature to X degrees"

- "Get directions to Safeway"

- "Fold mirrors"

- "Turn on cameras"

all of these are recognized voice commands in my Audi.
Yes, isolating design decisions and modules that can change independently is fundamental.

I also found one of the essential keys in the first paragraph, which unfortunately didn't seem well discussed in the paper:
>> At implementation time each module and its inputs and
outputs are well-defined, there is no confusion in the intended
interface with other system modules

I've found it extremely useful to clearly and fully define the interfaces before coding. When this is done well, it should be the case that separate (module) teams can really develop and even test independently, as they are really just "throwing it over the wall" when communicating with another module. This also enables far easier scaling, as one can focus scaling (e.g., adding more hardware) to just the essential parts of the system. So, it ends up being worth it to even either deeply analyze the range of possible interactions between the modules, or even build small simulators or throwaway versions just to really understand at the outset the elements needed in the interface.
A criminal, a cult, missing funds, death and DeFi
iPhones do have logic in software now to hold off on charging above 80% until the user is expected to take it off the charger [1]. Probably still not as good as personally optimizing your charge time based on battery level, but it's at least not quite as bad to be plugging it in every night as it used to be.

[1] https://support.apple.com/en-us/HT210512
> So, you don't think an extra EIGHT MILLION people choosing disability payments over working is a significant factor in inequality?

Like I said:

> People can debate which of those theories are correct. But all of them are more plausible than the idea that crime rates are strongly correlated with rising inequality.

----

> and have another source of income off the books.

:shrug: This seems like a lot of trouble to me personally; I don't like the idea of either not putting income into the bank or not reporting it on taxes. Audits are nasty :). Maybe I'm over-cautious on that front, I guess people do sometimes choose not to report income -- but since I'd like to make significantly more than those numbers, I suspect that's a solution that wouldn't really work for me long-term unless all of my side projects/ventures stayed very small. At most I'd need to only do it short term.

Again though, I don't think my own preferences or choices matter that much here, I think looking at overall data trends is better than looking at personal anecdotes. I don't think it's really relevant to the conversation what I would or wouldn't do.
Trump is as much a symptom and focus as the cause of the memes that make up his support base.

It's a key thing to keep in mind when considering his actions. He can rile people up in directions they're already leaning... He hasn't really demonstrated much ability to lean people in any particular novel direction, or against their pre-existing biases. He'll provide a focus to existing anger and say things that people don't want to say out loud, but he's as much a component of the overall anti-authoritarian, anti-establishment political wing as a leader of it.
There is an opportunity in the market for sometime to come in and make relatively low cost machinery to fab at older process nodes. If someone designed and sold photolithography equipment meant for no greater than say 90nm and it did for pennies on the dollar compared to current EUV equipment then it could be a huge deal for the semi conductor industry.

There are plenty of designs that don't really need to be produced with more modern processes. That are just fine at 180nm, 130nm or 90nm. The natural attrition of old process nodes due to the hardware reaching end of life is unnecessary and I think in part why we are in this situation.
Driverless cars won’t be good for the environment if they lead to more auto use
This article firmly assumes that remote employees are unable to communicate effectively ("remote-only employees lack the chance to build and cement professional relationships across the organization"), nostalgically expecting, for example, teams that "learn by osmosis". It's clearly a projection of the feelings of lazy managers in inadequate organizations, who want their power back.
Yoga took off because it's a well-designed work out routine. There are many alternatives to it, but it's a system that effectively and efficiently achieves a benefit. That benefit is helping support posture and enough strength/flexibility in daily life without high risk of injury.

I don't even do yoga, but can appreciate it. There are alternative methods to achieving these results, but if you think "Try to do as much manual work as possible" is equivalent to exercise, you have never done manual work.

Your post completely misses the point of efficiency - "anything will get you there" is not the correct approach to anything. Want to eat with chopsticks? Hold them the right way. Want to support your muscle mass and flexibility into old age? Do Yoga (or an established western Calisthenics routine, or lift weights), but IMPORTANTLY DON'T "just do manual labor".
The code should still be shared so you can run it on new data (or new test subjects in this case.)
Are you really suggesting a world government? Your comment should almost be treated as spam.
Great, the smart tv problem solved itself.