skysight-inc/HackerNews huggingface dataset:
The abstraction Unity provides allows you to do neat things without fully understanding the math behind it. But if you don't also learn the math, now you are limited by what those abstractions allow you to do and by the performance cost due to the fact that these abtractions can't make good use of special-case information that would be available to you if you handcrafted the operation.

It is perfectly legitimate to rely on abstractions a lot of the time because it's safe and easy, and _also_ want to roll your own manipulations sometimes, because 1) when you're accustomed to solving weird trig problems with trig, that's the most straightforward way to write the code, or 2) for performance, which, for a game developer, I think ought to be a major concern.
Yes, that's how it works in content creation, from trad to self publish, from youtube to onlyfans: only the top percent makes a living out of it.
How to Improve or Avoid Loops in C++20 23
Wow I didn’t realize that. I only got the sanitized version of the story from Ira Glass
Cryptocurrencies are almost as old as the smartphone and yet not one actual application has emerged.

They aren't a good hedge against inflation, as their prices collapsed when inflation re-appeared. They aren't a good vehicle for transactions, which is why crypto transactions occupy less than 0.1% of the world's financial transactions. And scams and ripoffs are rife.

So what's the point?
Bad call, dang.

In this case, I was unaware of the Edge Foundation's Epstein links. The information is salient and useful. Edge itself certainly doesn't make the information evident. C.f., a site search for "Epstein" which ... conspicuously omits any prominent results for a disclosure or apology:

<https://duckduckgo.com/?t=ffab&q=site%3Aedge.org+epstein&ia=...>
Whenever you visit certain areas in any city with lots of tourists, you are a target. Maybe you manage to blend in by chance and appear to be a local, or you exhibits behaviors that turn the thieves off. Or you haven't been targetet yet (knock wood)
Currently on my 2nd year living in Taiwan. I never became an English teacher but one day I came close!

The book "From Paycheck to Purpose" helped me quite a bit. I did a pivot from software engineering manager to a sales engineer role. I've set the new goal to fully transition to stand up comedian over the next few years too :-)
Maybe the premise of my question is about an entirely different misunderstanding then. There is a locus of control issue, and a story about how the original permissions model of GitHub Actions was chronically broken.

It's "pull_request_target" that I'm thinking of:

https://github.blog/2020-08-03-github-actions-improvements-f...

> In order to protect public repositories for malicious users we run all pull request workflows raised from repository forks with a read-only token and no access to secrets. This makes common workflows like labeling or commenting on pull requests very difficult.

> In order to solve this, we’ve added a new pull_request_target event, which behaves in an almost identical way to the pull_request event with the same set of filters and payload. However, instead of running against the workflow and code from the merge commit, the event runs against the workflow and code from the base of the pull request. This means the workflow is running from a trusted source and is given access to a read/write token as well as secrets enabling the maintainer to safely comment on or label a pull request.

That's the user story I was thinking of. Completely unrelated to the default branch issue that GP was describing, I guess.
Batch vector search – multiple vectors
The latest release of Qdrant 0.10.0 has introduced a lot of functionalities that simplify some common tasks. Those new possibilities come with some slightly modified interfaces of the client library. One of the recently introduced features is the possibility to query the collection with multiple vectors at once — a batch search mechanism.
> You have a preference of how you learn, no? It's not a myth if there's perennial truth to it.

I might have an emotional preference but there's no good evidence that different people learn better in very different ways
There is a fairly new automated weather station at the side of the road not far from where I live here in Scotland - the solar cells are actually quite large - I'd guess about 0.50m by 1m. The whole setup is also pretty substantial probably to cope with the fact that supporting solar panels in a windy location requires a fair bit of strength!
> HN doesn't notify you of replies to your comments. And yet, people write comments, maybe hoping that someone will reply to them.

People do reply to them, you just have to check manually. Real time communication is good but not everything needs to be real time. Sometimes things are just better without it being real time - I think it helps dampen the temptation to just post for attention slightly (but not completely).

I've had numerous comments result in good feedback or further discussion here.

> The problem is: Most comments will not be read by anyone (or read by only a few), so what's the point of expressing your thoughts and opinions through comments?

This has caused me to pull back from commenting quite a bit online. I don't post aimlessly on social media or anywhere anymore, really, unless I'm convinced someone in that space is going to care or I'm contributing something. I wish more people were like this, because ...

> Is it just to get it out of your system?

a lot of people do just this and it pollutes spaces. Facebook, Twitter, and countless subreddits are just full of post upon post of people bitching, whining and complaining and I just don't need it in my face. I know things suck. What are you doing to improve them or your situation? I am not the world's therapist or punching bag.
Performance isn't Rust's only feature. I would say it isn't even its most important one.

I've written websites with Rust simply because it's a sane modern language with few "gotchas" and a type system and borrowing system that allows you to eliminate huge classes of bugs (not just memory errors!)

That said I think the Rust web ecosystem is not super mature (especially client side) and most web frameworks use `async` which is one of the sketchiest parts of Rust IMO. So I don't think it would be entirely unreasonable to use something else. Especially Typescript, for the SSR/isomorphic apps.
Learning styles are a myth
https://www.techlearning.com/news/busting-the-myth-of-learni...
Your cpu can simulate the universe at 1W. Although it will take a long time.
I’ll institute a policy of no layoffs if folks get paid the same as government jobs.

In all seriousness though this perspective is a double standard. Hiring managers can’t typically setup these policies, and when you leave after a short time they get screwed.
Game of Trees 0.76 Released
For me the logic roughly worked out like this. I managed to get successive employers to "sponsor" (i.e. pay me my normal salary but let me use my work time to work on my open source project) my open source project, because we were using that project at work and it was missing features my employer was interested in.

Some of those employers had policies outright prohibiting GPL use...
Would be nice if you acted as a neutral infrastructure party.
How would it defeat the purpose of RSUs?

If you get 100k USD worth of RSUs on start date, and the stock value goes up 10X you still have a lot of skin in the game.
You could also put "Trucking". Joe Blow Trucking
Stock price changing in a direction that makes Amazon seem generous while costing Amazon nothing? No problem!

Stock price changing in a direction that costs Amazon money? Nope, nuh-uh, not a chance.
yeah no one ever makes the argument that Steve Jobs doesn't deserve 100% of the credit for Apple's success
The catharsis of screaming into the void.

I’ve retired most of my shitposting accounts this summer though which was my other reason (the main one) for posting online.
You can if you want make a polynomial in turns. The CPU isn’t going to care one way or the other.

Implementations which are accurate in terms of turns even for values close to half a turn can be useful for avoiding numerical issues that sometimes pop up because π is not exactly expressible as a floating point number. These functions usually names like sinpi, cospi, etc. It would be nice if they were provided more often in standard libraries.
I can not explain this logically, but: If I have a thought, it tends to stick in my head until I get it out in words. If I want to progress past that thought, I need to write it down to make room for the next thoughts.

The comment section in a place like HN is convenient for thoughts produced by articles linked here. Moderation takes care of the rest.

I also have a blog despite its slow posting schedule for unrelated thoughts where I want to bring up my own topic, and also have some files lying around on hard drives just for my own notes of no conceivable interest to anyone else. So it's not just "HN" thoughts, it's all kinds of things, technical, philosophical, personal, many different things. In many cases, honestly, these thoughts aren't even that good. I have sometimes read my stuff from 5 years ago sitting on my hard drive and it's all but useless. But it was going to stick around for a long time if I didn't get it out, and then there would be no room for the next thoughts, some of which were useful.

Your mileage may vary, but I know I'm not unique, either. I've seen this attested by many other people as well. We may be the minority case, or we may just be the ones who have learned this lesson, I dunno. I completely lack the data to know how widespread this effect is.

(Some similar concepts may also undergird the effectiveness of talking therapy; if you've got personal issues that you just keep hammering away on in your head, try just writing them down privately. I absolutely, positively can not promise anything, but you may find that simple act gets them out of your headspace. You may then find the next thing, but hey, it can be the beginning of a journey of progress. In the case of talking therapy, it would be getting them out to the therapist in the open, but I think there's a certain amount of evidence, both scientific and anecdotal, that the therapist is not always necessary; simply getting it out in any manner may be the majority of the helpfulness for many people. "It's complicated", of course; there are times and situations where another person being there may be very important.)
> "True" when it occurs as a key (I'm not talking about values here).

In fact, YAML does that terrible substitution for both keys and values.
>> But I don't think Bytebase needs Figma

(Author here) We definitely need Figma, because we don't have designers and Figma empowers non-designers design.
My question was broad enough to encompass non-portable features like these. Do the games studios (etc.) contribute these features? Or is it solo enthusiasts?

If relevant corps started adding the same hint flags in every toolchain, then conversations about the need for standard mechanisms might be interesting. But even if they don't get standardized, at least some common and portable fundamental libraries can support macros to smooth over the differences.
If your mental model of C++ is viewing everything as implicit references like Python, this operator is the least of your problems. If you are not viewing C++ that way, there is no way you could confuse the two operators, because the Python one would make little sense in C++.
sine and cosine are functions from ℝ->[-1,1]. They don't take in a value which has a unit, or even a dimension, they take in a real number.

sin(x) is precisely the unique function f(x) such that f''(x) = -f(x). Similar to how exp(x) is the unique function g(x) such that g'(x) = g(x).

Sine does not operate on 'angles measured in radians'. It operates on real numbers. It is zero whenever the real number passed in is a multiple of pi. It happens to have applications in relating angles to distances in circles and triangles, and in order to use sine in that context it is useful to introduce the concept of a 'radian' as a specific, constructed angle of a particular size, such that when you express an angle in terms of multiples of a radian, you can just use the sine function to generate useful values.
Because it's predictable you can use that. You just have to use a different form of communication than the "scientific one".

Don't ask why do you not like X because that will get false reasons. Instead, ask how X affects them, how it makes them feel, etc.

But this is more difficult and basically boils down to "become their friend and know them as a person".
I don't get it (I never worked for Amazon!).

I've never worked anywhere, where a change in my employer's stock price means my pay has to be recalculated.

If you're promoted and given a raise, isn't that a deal? Suppose I'm a happy coder on $X, and you promote me to the miserable job of Project Manager on $X+10, how's it legal to call me into the office and explain that it's actually $X+2?

Is compensation at Amazon stated in virtual shares or something?
I had a consumer CRT as a child (the family TV in the living room) whose scanlines were apparent even at 6ft away, and it was only a 19" screen.

maybe my eyes were better than most, I don't know, but I distinctly remember trying to adjust the settings so the lines would go away, thus reducing the annoyance of my "all I can see is colored lines" brother.
I can't read Japanese.

The website is beautiful.

And I don't know exactly why.
They disable some cores? How else would you explain the lower single core performance?
> isn't in a position to reject higher prices for those bonds

Not lower? Or am I misreading it?
If any of those libraries uses the Taylor expansion for approximation, that is a big mistake, because the approximation error becomes large at the upper end of the argument interval, even if it is small close to zero.

What is much more likely is that if you will carefully compare the polynomial coefficients with those of the Taylor series, you will see that the last decimals are different and the difference from the Taylor series increases towards the coefficients corresponding to higher degrees.

Towards zero, any approximation polynomial begins to resemble the Taylor series in the low-degree terms, because the high-degree terms become negligible and the limit of the Taylor series and of the approximation polynomial is the same.

So when looking at the polynomial coefficients, they should resemble those of the Taylor series in the low-degree coefficients, but an accurate coefficient computation should demonstrate that the polynomials are different.
FWIW it's already present on Zen 3+ (Rembrandt) CPUs. However, at least on lenovo you can disable it (there's an option in the BIOS that allows you to toggle between TPM 2.0 and pluton).
I'd argue it's not so much taught in the US as it is tested. The common core standards say [0] that students should:

> Understand radian measure of an angle as the length of the arc on the unit circle subtended by the angle.

> Explain how the unit circle in the coordinate plane enables the extension of trigonometric functions to all real numbers, interpreted as radian measures of angles traversed counterclockwise around the unit circle.

and so on. However, in practice, this means that students need to be able to answer "C" when presented with the question:

> One radian is:

> A) Another word for degree.

> B) Half the diameter.

> C) The angle subtended on a unit circle by an arc of length 1.

> D) Equal to the square root of 2.

A surprising number of students can get through without ever really comprehending what a radian is. They might just choose the longest answer (which works way too often), identify trick answers and obviously wrong answers, and eventually guess the teacher's password from a lineup by association of the word salad of "radians" and "subtended."

They might not even have a clue what the word "subtended" means, but they know it's got something to do with "radian" and that's enough. It is more important for the school that the students answer (C) than that they understand what a radian is.

[0] https://web.archive.org/web/20220112000314/http://www.corest...
That makes no sense at all. Why not just give you cash with an X year delay.
Love it.

As we continue to move toward more and more composable architectures combining SaaS an offering like this is going to really give your users a leg up.

Edit: deleted redundant question about SOC 2. I missed the whole paragraph on mobile
I'm not sure I agree. I think what I tried to describe above couldn't be classified as "knowledge" at all.

To be honest, I think we (humans) don't understand this type of understanding very well. Which is somewhat ironic :-)

Edit: But thanks for the suggestion about searching for schema, will definitely take a look!
Simply hiding your source does not lead to success either. Anybody can hide their source, but only some people succeed in starting software businesses.

I don't think anybody claimed "simply releasing your source to the public [will] lead to monetary success"
The only downside to their site is that it does not render correctly on mobile. But they now have an app (at least on iOS) that provides a UI and workflow akin to their website.
Building Our Internal Games Studios
Don't Use Projects
Can we come up with a new name for a development_something_ instead of a project?
A project is by definition something with a well defined scope and a clear start and end date.
It's not possible to apply this in agile development and I think we need to find a better word for it.

Any suggestions?
I've been hired due to comments, and helped hire others
hi. love CF and all the free services.

care to elaborate on the interview you mention the DHS hinted to the value of CF (nee honepot)?

was it a formal feedback? from a person related to dhs but in a personal setting? how that happened? and what relationship continued/started from it?
Why Parents Need to Let Their Children Fail (2013)
It seems that he didn't.
And he also does not understand how a cathodic tube works (i.e. persistence).
House prices in the UK have been rising continuously for how many decades? And have doubled how many times in that time? I don’t think anyone would have predicted the next PM would be about as bright as used coffee grounds but, that’s what happens when you cough up the dregs of the Tory party and give it power.
I never understood the thinking behind banning VoIP. I understand the ease that attackers can make and use new numbers but if I'm using a VoIP number to receive 2FA SMS wouldn't it be more secure to have that tied to a VoIP number that can't be SIM swapped and potentially is secured with 2FA itself?
Ah, I had. I just totally brain-farted on the fact that `--interactive <sha1>` takes the SHA of the commit just before the one you want to rewrite. Thanks!
> to have an issue with a lot of people

Mostly just trolls. Most sensible people have issues with trolls, e.g., https://lobste.rs/u/soc
Anki is great for higher level learning as well. Instead of having just individual words, have full sentences or even paragraphs. If you can read it aloud and understand it, then you can mark it as learned, but if you need to use the definition or explanation for any of it, mark it as unlearned. Once you have a decent initial vocabulary and grammar, this is far more effective at pushing things into long-term memory. Most of language is contextual, so anything to increase the amount of context on an individual card will help with getting better holistic knowledge of the language.
Isn't a big point of the whole discussion that you may change your mind because you changed the group you associate with?
Two things going on here:

1. First, I'm a bit baffled by some of the responses along the lines of "Amazon should just own their mistake". Sorry, but in the real world, "finders keepers" rarely applies (unless you're talking about crypto, but I digress...). I would certainly want a bug corrected if it were in my favor, and if a bug went the other way, I might need to re-evaluate my company satisfaction based on my new comp, but I have literally never seen a case of "sorry, payroll system made an error, but never mind you can keep it". It literally never works like that in any case, e.g. I work in fintech and if a bank accidentally deposits money into your account and you spend it, you can go to jail [1] - the bank doesn't say "whoops, our bad".

2. Many people who joined the workforce after the Great Recession have never had to deal with falling stock prices, and basically have just come to expect that the equity portion of their compensation should be like cash. The whole point of equity compensation is for it to be variable based on the success of the company. I get it, I wouldn't be happy with my compensation falling either (and I've certainly been there, in the .com bust), but I don't have much sympathy for folks who are just discovering that the variable component of their compensation can, in fact, be variable in the negative.

[1] https://abc13.com/spending-cash-bank-error-teller-error-can-...
I for one am perfectly happy with the mid 6 figures that trickle down to us lowly ICEs...
A lot of people are getting hung up on the "math never decreed" sentence (not entirely wrongly since it's basically false, and surprising for Casey who has probably forgotten more linalg than I'll ever know), but that's not really the point of the article.

The point is that notationally, turns seem to read better in most code that isn't doing analysis. I'd say this points more to a flaw in our languages than in our function definitions. Of the major general-purpose languages I think only C++ has really taken a shot at implicit unit conversion, which would let you safely and correctly sum a `turn facing` and `degrees delta` and pass the result to a `float sin(radian x)` function and statically ensuring your dimensions remain correct.

Everything else I can think of either makes newtypes too complicated to define, lacks conversion overloads (or more likely lacks operator overloads entirely), or refuses to let you do them implicitly. C++'s approach is certainly too general, but is it really impossible to corral such behavior in a way that's both safe and convenient?
I comment on HN to build enough karma so I can downvote the junk / reddit style comments I see.
Well, now I don't feel too shy as a non-physicist to say 'I thought so."
I do hope some Amazon employees walk back working at Amazon over this.
Denmark reports gas leakage on Nord Stream 2
Right, I am just as much of a n00b at crypto as next guy/gal, but here's my understanding.

GP mentioned that detecting switcheroo is not possible because both original and new secret will be encrypted by the same public key. Until the decrypted secret is actually used, we will not realise it.

But, if we track all the changes in git, and have more than one copy (you have them, right?) then it becomes quite easy to detect this. Goes more if git commit access is gated by SSH key or another secret/auth layer. And this, makes detecting and or rolling back a switcheroo possible.
People will comment on you're grammatical mistake.
Digital Yuan are currently not approved for international use. And they seem to be subject to the exact same Chinese capital controls that traditional CNY are subject to, if I’m not mistaken.
See https://www.atlassian.com/agile/project-management/program-m...
I don't understand. If the government is forced to accept higher interest rates for those bonds, wouldn't that drive up the value of GBP?
My kids hated to fail, and we had many long talks about what it means to "not win" and why you don't always "have" to win. My parents never really talked to me about that and I saw it negatively effecting my behavior as an adult. My kids are still sub-12 so I hope they can learn to be competitive in life, but take defeat gracefully.