skysight-inc/HackerNews huggingface dataset:
> If you’re an executive or senior leader, this is asking for the company’s P&L statement and someone on the finance team to walk you through it.

Companies are onboard with this? Sharing pl data with someone that isn’t even an employee yet seems improbable to me.
Turns sound fine.

But they are turns of a circle of a given radius.

So as long as everything conforms to that coordinate system, we're groovy?

Radians (circle fractions) are generally preferred because we can compare, e.g. two planetary orbits, conveniently, no?

Or did I miss something?
Just my own anecdata I guess. I’ve always found heartbeat and location tracking to be a lot better with the Garmins. I haven’t trained with the new Apple Watches yet though, so maybe I’m completely wrong…
This is quite convincing but it would have been more convincing if he'd acknowledged the downsides and explained why it is in radians in the first place. (On balance I think he's probably still right.)

Perhaps we can make new named functions that operate in turns, along the same lines as ln/log. sint, cost, etc. Ok maybe not cost.
The twice run workflow from "Push for all?" definitely happened to me, too. The others not so much.

In New projects I tend to use scripts to perform any required task for the ci and have github actions only run the script. Way easier to reason about.

Gitlab CI definitely handles this better with it "script" concept.
One of the problems with British railways is that they think bank holidays are a great time to do engineering works, close lines and cause confusion and chaos. This is simply madness. On Intercity routes they are the absolute busiest days. They are populated by people who don't go on trains very often so they won't be familiar with alternative routes. People can't go any other time so can't alter their journeys to compensate. It also costs loads more money to hire people to do the work that at other times of the year.

If they closed routes during normal times, people who take the train regularly could see advanced notice saying "the train won't be available on xx days next month, please plan accordingly" and they could plan to e.g. work from home that day, take the car or a Taxi to another station and catch a train from there, find a bus or coach service, or take the Rail Replacement bus, but allowing the extra time it would take. They could be compensated with extra time on their season tickets and could appreciate the improvements in service.
> The other big benefit I see is cellular.

This. I seldom if ever leave the house with a phone during a normal day or on my bike rides. I use my Apple Watch SE on moderate rides (50 to 100 miles), use NFC during rest stops, and pull up the occasional map when I forget a turn. Cellular is a big plus. And if one day in the future, I can get a cellular enabled Apple Watch that is standalone and not dependent on having an iPhone, I'm first in line. I have no reason to carry an iPhone with me.
I Tested Apple Watch Ultra in a Dive Chamber
I have met Christians who both understand that argument - that religion and empirical science belong to two distinct, separate magesteria - and reject it. But when I try to dive in to understand why, I do not ever understand their answer.
For overflowing integers in JS, you can use single-value long typed arrays. I just checked with an Uint16Array and it wraps back to 0 after 65536.
Could you expand on that? How is OAuth 2.0 fundamentally insecure in this setting?
Yes, in good and bad ways.

I've witnessed very competent and attractive female colleagues get discredited for their appearance, every comment implying that they fucked their way up to their position, or being unable to be close friends with any male coworker for the same reason.

But all in all dressing appropriately to your body, being clean and well groomed is a positive for everyone.
> If anybody knows how similar calculations can be easily achieved in JS for example

Simply "a = (a + 0x1234) & 0xffffffff;". Or whatever width you require, 0xff or 0xffff. JIT is going to optimize that and-operation away (at least for 32-bit mask 0xffffffff) and keep the integer value internally.

You can also "cast" a var to int by "ORring" 0 with it, like "a |= 0;"
How do I unsee
Show HN: Play your retro games on any device with cross device saving
I started building Afterplay 18 months ago as I wanted to play Pokémon on my phone and then continue playing from the same place on my laptop when I got home.
I agree that this makes sense for the kind of situations that the article talks about. If you only need to express common angles like 90 degrees, 45 and so on, radians are just messy (though in physics, you get used to it).

But in other cases, radians are useful. For example consider the case of small deviations from a direction. If you give it in radians, let's say three mrad (milliradians), it's very easy to estimate how large the error will be over the course of a meter; three mm.

This is just to say: choose the right unit for the job.
Agree with you here. I thought the article made some good points but I've also been bitten by the "naive" [mix, max] slider you describe - I did yearn for some good old text boxes back then!
Non-Code Contributions to Open Source (2021)
This is so brilliant! Reminds me of William Burroughs five rules for a revolution in "The Revised Boy Scout Manual":

1. Proclaim a new era and set up a new calendar.

2. Replace alien language.

3. Destroy or neutralise alien gods.

4. Destroy alien machinery of government and Control.

5. Take land and wealth from individual aliens. Time to forget a dead empire and build a living republic.

It was even the first rule to destroy the calendar. He was a genius!
Stick to the basics, make it fast, ignore what the PM has to say, and avoid feature-bloat.
Maybe a jigsaw puzzle is the wrong analogy.

Then again, you can place the pieces in a jigsaw puzzle down in any order, so perhaps it's not completely wrong?

The analogy wasn't really the important part of my post.
I’m surprised game engines do conversion from degrees to radian to call trigonometric functions. I would have called that bad code in an industrial context. We did everything in radians and converted to degrees only for displaying and input.

It was a lot more natural from us because we are a lot more familiar with radians anyway. I don’t think I have used degrees often since starting high school twenty years ago.
I've been doing remote VR development since before the pandemic. Remote to me doesn't mean exactly "could be done with an internet connection and a laptop". I'm not interested in a digital nomad lifestyle but in working from home.

One of the benefits of working from home is control over my work environment. For me that means a private office with a big standing desk, multiple monitors, room to move around behind the desk with a VR headset on, a Kinesis Advantage 2 ergonomic keyboard, good quality webcam, microphone and lighting for video calls, etc.

None of that was easily obtainable in most non-remote jobs I've worked at. There are other advantages to remote obviously like no commute and living where I like rather than close to my employer's office, eating my own choice of food, etc.

I think in tech circles remote is often conflated with the digital nomad lifestyle which wouldn't suit me at all and as a result many of the aspects that make remote work appealing to me are under emphasized. I would hate having to work on a laptop from a coffee shop on a regular basis and that is not why I would prefer to only work remote jobs. I would hate hot desking in an open office with a laptop just as much.
> To be a proper zero knowledge proof, it mustn't prove to bystanders that Mick knows the secret.

Citation needed.
You can replace the wheels, bearings and even deck on a skateboard with fairly manageable consequences.

But new trucks are a disaster you wouldn't wish on anyone.

No one wants traditional truck designs to change because that would be like new trucks x100.

This all relates to how difficult skateboarding is, and how your entire body's muscle memory is utterly reliant on a very specific set of reliable behaviours from your trucks.

'Improve' the trucks and the skater will get worse. So we're just not interested.
> This is really such a gorgeous piece of code. Clever and poetic.

I suppose that is subjective, but I think this is terrible code.

The fact that someone had to write a lengthy blogpost to figure out what it was doing should be an obvious warning against it.

Write code for readability / comprehensibility.
JavaScript's for in/of were not intended to be like that. `in` is broken so in a world without backwards compatibility to worry about they would have just fixed it to have the behaviour of `of`. But because they had to consider backwards compatibility they had to come up with a new name.

You should basically never use `for in`. I guess part of the problem is that making that clear in most languages is easy - just add a compiler warning. But JavaScript requires users to manually set up and configure ESLint and if you know how to do that you probably already know not to use `for in` anyway.

I guess modern runtimes like Deno might help here.
Working in a call center for 2 years made me have an almost PTSD-like reaction to phone calls (not sure how else to describe it). I just stopped answering the phone. The people I care about know they can text me any time and I will respond promptly. Antiquated businesses requiring phone calls will not get my money.
Paul Graham has written that for him Startup = Growth (http://www.paulgraham.com/growth.html).

Another thought leader, Steve Blank, writes that "a startup is an organization formed to search for a repeatable and scalable business model" (https://steveblank.com/2010/01/25/whats-a-startup-first-prin...).

A lot of the "startup type" characteristics of a company can possibly be correlated with one of the above categories. If you don't fall in either category, it would be weird to display those characteristics.
I’m someone who stayed put. Same company for 7 years. Not fang. Got promoted to be a manager half way. I stayed put as it was awesome learning for me. I sucked my first year and yet felt was able to demonstrate value due to momentum from my previous impact. I am getting better at leadership and finding my skin.

But .. in retrospect, I left a lot of money on the table. I also don’t see myself making the next jump (to vp) as I have seen no one do it .. vps come from outside where I am.

I am mulling an mba or emba but it is pretty expensive in time and money.
I ended up moving to an iPhone 12 mini.

As much as I liked the original SE form factor, I really appreciated some things like bigger and better screen and face id.

I use mine as an mp3 player connected to some speakers at home.

If I were in your position I’d just get an iPhone 13 Mini since it’s the last iPhone with a small form factor.

Another option is to look for smaller android devices, but i doubt anything will be as small as the iphone mini
He lost the next election by a landslide, however...
In JavaScript, I’d stay with floating-point (don’t fight the language if you don’t have to) and use something like x => x - Math.floor(x) to normalize.
That we can agree on.
Kind of the classic story, my wife is Lithuanian. We first tried living in Sardinia but the job market in Sardinia is terrible, so we moved to her country so she could even more chances, and because I'm an Engineer for me finding work is easy in every country.

Here in Lithuania Engineers are paid very well and are in high demand. For "very well" I mean compared to the average salary in the country, obviously you will get less money compared to UK or Germany. Cost of life is way cheaper than UK or Italy, both food and rent/mortgage is less than the other two countries
I remember the police claiming they had this tech (license plate recognition) for average speed tracking while it did not work. It also didn’t work but was claimed to work for some toll roads. It helped as people slowed down and paid toll but it didn’t work; it started working years after installing it.
For everyone who is interested here is a nice map https://en.wikipedia.org/wiki/24-hour_clock#/media/File:12_2... from the wikipedia article https://en.wikipedia.org/wiki/12-hour_clock
Here in Finland there was interesting example where someone was selling hitman services over tor-network.
They caught him because he left a plastic bag in the crime scene, the plastic bag had a sticker, from that they could tell that it had been used to weight a banana and could also pin down the place and a time.
They then used the surveillance footage in store to identify the person.
As long as you stay ahead of competition or make simply better products it will work. Someone might steal your design, but they still have to manufacture it and parts like pcb, case and so on. This will take certain amount of time and in this time you should come up with new better model that offers more to customers.
You’ll notice it’s taking off, not at cruise speed, and still makes a thousand or more feet into the air.
The 400 system is the grads or gradians, indeed originating from the French revolution.

Nowadays I don't think they're used as the principal unit in any country. Wikipedia does mention it gets some use in specialized fields such as surveying, mining and geology.
The trick is to remember that “for in” is the obvious one, meaning it’s the older one, meaning it’s the one that’s next to useless and should almost never be used.
You are quite right.

Especially in a work setting I have seen many times where email discussions or message discussion go overboard with lots of misunderstandings, heated feelings etc and once you get on the phone with the other party you solve the issue in just minutes.

It's easy to use harsh language in text, but on the phone things usually calms down. It's also less error prone as in a phone discussion the feedback loop is truly real-time vs messages/slack/email.

You can also better hear and sense the feelings of the other party.
It’s not easy to compare such rates between countries. Especially in terms of finding the correct killer vs someone to blame.

Also, “this study did not include cases of missing persons where no body was found. In all four countries, such cases are usually labelled as a disappeared person, even if the police strongly suspect a homicide. Following other studies (Sturup et al., 2015), because of the unknown nature of these cases (including potential suicides or voluntary disappearances), these cases have not been included in the study. This may have resulted in a general under-count of the total number of homicides, including an under-count of unsolved homicides.”
Intel plans to build a new chip plant in Italy
If a currency is mostly used locally, the effects of printing it can't be diluted away and are locally concentrated. If the currency is global, the issuer can just print it, reap the benefits, and let others soak most of the damage. For example, say Argentine prints lots of Pesos. They don't circulate a lot outside the country itself, so it's mostly cash in argentinians hands that devaluate. Now, say US prints lots of Dollars. Many countries have large dollar reserves, so those are screwed by devaluation, as they soak the brunt of the burden that would be from US citizens alone, if the dollar were just another local currency.
This is pretty cool. I created simpleindex[1] a while ago to solve a different problem, but since the solution is essentially also running a custom index server, it has several overlapping functionalities to Morgan’s server script. I wonder if there’s a common pattern that can be extracted out…

BTW I also maintain resolvelib (mentioned in another comment), feel free to shoot any questions in the issue tracker or the PyPA Discord[2], or any other means. The documentation is a bit sparse and there are not many resources on dependency resolution in general, and there’s a few of us that help each other out on things.

[1]: https://github.com/uranusjr/simpleindex
[2]: https://discord.com/invite/pypa
I'm in the same situation. My plan is to get a 13 Mini, and hope that it also lasts me enough years for Apple to release another small-factor iPhone.
Wait, so you are hosting the game and this is a paid service? Do you have some sort of license agreement for all these platforms with the owners of the original IP?
Radians are not circle fractions. Radians _divided by 2pi_ are circle fractions. OP is proposing to use circle fractions instead of radians.
He won the war, but lost the election... What an irony!
What do you mean by "domain credentials are bound to your physical console"?
> What's wrong with adding a simple challenge-response protocol for FIDO2/U2F USB drives? Or a TOTP popup if you don't have a physical security key?

Our application send mails on behalf of our customers. This is done in an on-prem background service running on one of their servers wherever that might be.

So, anything interactive is a no-go. And installing a physical USB key is probably a no-go for most customers, especially those who have their servers hosted by a provider.
All things been equal (which they never are) then physical attractiveness is probably a slight benefit to the attractive person.

Similar to the statistical correlation with tallness (though again whether that's a matter of taller than average people doing well because they are taller or because physical height is correlated with better diet/socio-economic group as a child etc).

This stuff is always so blurry because of confounding factors and inability to control for other factors.
> Some time ago, much effort was expended to convince people to replace approximations of “pi” (3.14159…) with approximations of “tau” (6. 28318…).

IMO the effort was simply to replace the use of pi with the use of tau. What does approximation have to do with it?
I consider APIs that use degrees essentially broken. (And similarly, APIs that express ratios as numbers in [0, 100].)

But you have to consider that a lot of game engines and related tools are intended for an audience without a strong programming background. You wouldn’t expect a 3D modeling tool to display radians. And if the UI shows degrees, the file format would better use degrees as well to avoid rounding errors. And then maybe you want the scripting layer to use the same values that the UI does. And so on.
In the UK the situation is similar, but that didn’t seem like a major blocker to me. I just opened an account with the supported bank.

On the plus side, it does seem to be widely supported at payment terminals (I’ve yet to find anywhere that accepts card payment that doesn’t accept garmin pay)
Own it and be thankful for the gifts you were given.

I just wonder where we were today without those favorable attributes?
I probably won't work in an office ever again.
To begin with, you haven't even defined "hookup culture," much less demonstrated that its prevalence is significant enough to influence birth rates or, further, proven that its influence on birth rates would be negative in the first place.

That said, why assume a nebulous concept like "hookup culture" is causing declining birth rates when a simple google search will reveal plenty of well-studied factors with demonstrated influence on fertility (not to mention far more cultural universality). For reference, some examples include: increased educational attainment among women, increased labor-force participation among women, increased urbanization, increased cost-of-living
Gives me a chance to reference the best Harvard Business Review title ever:

How Earlobes Can Signify Leadership Potential (https://hbr.org/2011/11/how-earlobes-can-signify-leadership-...)
It's 360 degrees because of stars. One degree is how much stars move by one day.
Let go of imagined extrinsic responsibility and resolved to live as cockroaches do. Why should I kill myself, let others kill me if I'm such a burden I imagined myself to be in my depression.

Since then I've become paranoid that meme-complexes are independent, malevolent agents.
Sunday is also the first day of the week in Canada (actually a separate country from the US despite appearances).
I live in London and would choose to go to the UK as a tourist at pretty much any time of the year. Plenty to see and do.

London weather gets bad rep but I find it pretty good. Rarely goes below zero degrees Celsius and is rarely so hot that you struggle. I actually prefer London weather to central/south European one for example. More consistent, pleasant all year round. This is all personal though...
> But they are turns of a circle of a given radius.
> Radians (circle fractions)

It's the other way around actually. A turn is a turn, no matter the radius of the circle.
Radians are the length of the line you need to draw a fraction of a circle with a radius of 1.

(In the end, both are just ways to describe angles and thus independent of any radii... the only effective difference between them is a constant factor of tau or two pi.)
Guess it would be nice with a fall-back option in Thunderbird to use the system browser.
In the light of the situation, the craziest thing about contemporary Sweden (and a pet-peve of mine to lament about) is that people's addresses (and a lot more private information such as who else is living in their apartment, as well as where exactly it is located in a building) are available to anybody through dedicated search engines. The only way to be excluded is if you are already having a significant threat against you (i.e. your current life is already "destroyed" , you likely had to move elsewhere etc), or if you are working in a few delicate professions.

One would think that people in Sweden would see a connection between the several weekly cases of shootings against apartments and detonations in buildings, and the accessibility of the information mentioned above. But no. There isn't even a debate. It's something I absolutely cannot understand.

Historically, transparency and openness has been crucial elements of Swedish culture and societal structure. However, it's a luxury which the country, in the light of today's situation, simply cannot afford to have to the extend it had historically. But no one seems to actually see this. It's drives me kinda nuts.
He mentions spam callers being a problem, and something that has basically solved this for me is the Google call screen feature

https://www.theverge.com/22792060/call-screening-android-12-...

This video shows it clearly in a real demo: https://www.youtube.com/watch?v=R04GxUr6ibM

You can easily screen people with the text to speech and block spammers without picking up.
Figure out what is it that you wanna use the money for.

If you don’t have a home, might be handy to use that as a downpayment. You’ll get some returns from property appreciation over time (though there’s always a chance property prices will go down).

If you don’t have emergency savings that give you enough runway in case you lose your main source of income, consider a low-interest savings account and put enough in there to make you comfortable you can survive (enough to cover 3/6/12 months of living expenses- up to you to figure that out). you’ll have to accept inflation will eat it away, but such is the life in europe. There’s no real financial instrument with good yield and low risk around here.

If you got all that covered, no debts, no short term plans to buy property, I would dollar cost average into some form of investment (e.g. etfs).

IMO DCA is a good strategy right now because the markets are fluctuating a lot and it looks very likely there will be a global recession. You get to take advantage of falling prices to push your avg price down.

Something like buying 1-2k per week should work well, but mind broker fees