skysight-inc/HackerNews huggingface dataset:
> make dietary restrictions known during the reservation

This can be the difference between an Apple like "magical" experience and one that is still great, but nonetheless might be a little clunky (although, as you point out, the people running Michelin starred restaurants are usually people at the top of their profession and know how to handle these situations really well).
Really? GH Enterprise definitely verifies GPG.
Yes, the biggest impact will be on cheap companies who relied on a candidate’s ignorance of their worth. We don’t even need most states to pass bills like this (would be nice though). We just need some of them and the cat’s out of the bag.
How do you build such a system when there's no example of how the website will be formatted?
I agree. Putin could be China's crash test dummy, to see what would happen in case they would invade Taiwan. I think the crash test didn't pass.
Show HN: Stripe Sigma alternative: tdog | SQLite | Datasette
Hello,

I have recently released this GitHub repo which is a container running the tdog CLI (downloads your Stripe account to a SQLite file) and the Datasette server (reads the SQLite file, presents a web UI). This lets you browse your tables and query them with SQL.

There is a live demo at: https://datasette-stripe.fly.dev/stripe

Github: https://github.com/tabledog/datasette-stripe

Cheers.
Principles over Syntax
China is the obvious winner in this contest because the West has basically made Russia a Chinese satellite just like Kazahstan and Mongolia over the weekend. They are going to be economically dependent on China and India.
One of Russia's biggest miscalculations was its military readiness. It's now pretty clear that their vision of how the invasion would play out has not matched reality, largely due to corruption in the armed forces.

This actually feels somewhat similar to the US pullout in Afghanistan last year. In that case, the Taliban regained control of the country very quickly because many of the military assets that the allied forces were counting on simply didn't exist, they were overestimated figures for local military officials to siphon cash out of the military with.

Russia seems to be in a similar boat. They're not nearly effective enough to maintain supply lines and there's a lot of reporting that many of the infantry are young conscripts that weren't told what they were about to do. This reeks of a corrupt military collapsing under its own weight.
Sitcoms aren't set in reality in general though. People who are unemployed actors live in $1M apartments in Manhattan, for example.
> All that means is the candidate won't get the offer if he's not worth the bottom end of the range.

How is this different from the status quo? If you don’t get hired for a specific position, it means the company didn’t think you were worth the salary for that position, whatever that might be.

> Some people are simply more productive in the same job as other people. Why shouldn't they get paid more?

They absolutely should, and I didn’t mean to imply otherwise. I meant “pay discrepancies that would foster resentment,” i.e. undeserved discrepancies.
> Will a $1000 guitar sound and feel way better than a $100 guitar? Absolutely.

Nope. Not absolutely. Not even close.
I guess you're saying that putting the 150k number in the candidates head is going to make the eventual 100k offer sound worse than it otherwise would have? Can't you have a conversation with the applicant, walk through your reasoning, explain their path to 150k in the company, and covert at least some percentage to candidates that accept? I would almost appreciate that more than believing that I'm being taken advantage of by a single number offer.
The "Project Ideas" section has next to nothing regarding energy. Surprising given the focus on "humanity's long-term prospects".
Conclusion (also from own experience): Mental math in 2022 can be a career boost and significantly increase your appreciation among peers.
Or, it will become another reason to exit New York.
I think that's a fundamental issue with a lot of these basic electronics. A significant % of the cost is on packaging/markup/distribution when the chip itself is so cheap. I frequently see old mini-PCs with i3s and it's for ~100EUR. Even a 4th gen i3 is going to be way more powerful than a Pi, the only thing going for the Pi is probably newer faster memory.

IMO the best use case for the Pi is buying 10 Pi-zeros at a discount and putting them on a moderately-heavy task that needs them to run off a battery.
450k per year! I would do that job for 10 years or even 5 years and I would be set for life.
very much this. If you want a fantastic taco, the truck down the street is as likely to kill it as any linen sit-down, but there are some restaurants which serve up a unique experience you simply cannot get anywhere else.
Sort of, but the question is whether you're producing and distributing a derived work, and I'd say that is the case, even if the parts you're distributing aren't the "important" ones.
An interesting question regarding lighting's effect on studying + retaining material + focus ;

Does the entire space need to be well lit - or the object of your focus (which can require the entire scene (such as a lab etc) - but when it comes to reading and computing. If you have a spot on your book or your computer that was of the sun-like quality, (obviously without glare on screens), would that suffice to aid in focus and retention.

I assume that a well lite complete space serves a more biological soothing and depression help.

So it would be interesting to know if there are differing applications of sun-like light based on the goals.

At late actual night, a sun-like spotlight on your focus might be good. When you're up and active, then light the whole space...
Well, it’s the CA state bar - it’s the den for all the lawyers in a juggernaut state. Misdirection through deceptive - sorry persuasive - language is literally what a goodly number of them do every day for a living.
> Risks associated with war will begin to look smaller. This is not a "cognitive bias" but a design feature of a mind shifting from navigating a prestige-based world to a dominance-based world.

That's absolutely a cognitive bias, and that's exactly the manner in which cognitive biases emerge over time. It being a "normal" biological or social adaptation does not mean it is not a cognitive bias: all cognitive biases are "normal" adaptations (although they are often maladaptive).

> Your psychology was designed for a world of small-group aggression. Not a world of nukes. This mismatch means that your intuitions are not always optimal guides. Balancing emotions for group-aggression with cold reason is key over the next days and, possibly, years.

Case in point.
Crypto trading with his own money and then his own fund. I believe it was Alameda Research which is still going. Basically a bunch of young Jane Street/MIT/Stanford mathematicians who've made a killing. You can read a little more about it here: https://80000hours.org/stories/sam-bankman-fried/
Sorry, nothing to share here.

After working at Staples after high school, and knowing about the printer ink scam, I ditched owning a color printer and have been using brother laser monochrome printers for years. Compatibility with all my devices is great. Windows, Linux, iOS, macos all detect and work with little or no configuration.

Bought another brother printer for my bro in college. He made it all the way through using the starter toner cartridge, and I got it back after he was done.

Really hope they stay the same.
Putin offered stability and a sort of pride for Russia. Not that I like despots, but I can understand that.

He doesn’t offer that to Russians anymore…

Word has it Russians largely thought there wouldn’t even be a war.

I hope the locals can deal with him quickly and change course.

As for Putin himself, this whole situation seems odd even for a macho saber rattler like Putin. I think there is something to wondering an his frame of mind.
One reason I almost always read the comments before the article on Hacker News is that the comments have less control over the narrative, so it's harder to get away with these tricks. People also love to write things like "well duh: of course writers optimize for attention, that's literally their job!" which, while a little bit snotty, helps highlight occurrences of this. By reading the top few comments on HN first, I feel like I get a good idea of whether an article is worth reading, and if I do read it I can go in "armed" to protect against this.

The hard part is forcing myself not to respond to those comments until I've actually read the article myself.
If your range is that wide commiserate with experience, what are you even shopping for? All this bill asks is for hiring managers to be less flippant about what they are buying when they are entering the job market and shopping for talent. If they are wanting a candidate with experience they value at $150k, then put that as the posted salary. If they can get away with a candidate with experience they value at $100k, put that as the posted salary. If you want both candidates, post both listings. If you only want one of the two, take the other listing down when you have your first candidate. It seems simple to me.
Working at a high quality fine dining restaurant in any capacity is hard work.

I don't think it's possible to do it unless you actually enjoy it.
I think it's a waste of everybody's time to enter negotiations before an interview.

It seems that another way of solving this is for candidates to add their desired salary in their CV.
Fusing Atoms in My Bedroom
How would this be applied/enforced for remote positions?
Well there could be russians that try to assassinate him without any involvement from western countries.
Builder patterns for primitives? I think that seems super cool but then aren't you just building a new language?
Think of it as a symbol of what range of experience the company is willing to accept.

Example: A .NET shop uses Oracle. The salary range is $100K–$150K.

- Candidate 1 knows .NET but is new to Oracle. They know RDBMS concepts so they can be brought up to speed, but they start closer to the $100K end of the range because they're less valuable to the company initially.

- Candidate 2 has a long track record of .NET and Oracle work, has spoken at conferences, writes about it on their blog. Candidate 2 is closer to the $150K end.

The company may want a Candidate 2 more than a Candidate 1, but Candidate 2s are in short supply. The range acknowledges that the real candidate may not match the ideal.
I don’t understand the selling point. On the web, C++ is an absolute backend language.

Is this a C++ gui toolkit that’s meant to run in the browser?

Any shop using CPP is either going to use something mature like QT, assuming the whole thing needs to be in CPP. Otherwise they’re going to write bindings or compile to wasm. Then just go with the thousands of react/angular frameworks that are thriving with UI/UX devs. Those guys don’t wanna touch CPP.

I just don’t get who this is for.
You could record where the reflectors are and how many you observe today. Then, assuming your progeny hold sufficient trust in you and your memory, your children would be able to compare your notes with their future notes, by which time NASA will have placed additional retroreflectors on the moon. The difference would be proof that we've been to the moon.
In my experience, if you have an inside reference and manager who wants to hire/promote you, HR requirements can almost always be waived.
It verifies the signature but I was able to just add a public key that I found online to my account.
Given his position within the company, I'd say that his personal opinion holds quite a bit of weight.
One funny incident I had on this topic was when I was TAing calculus one student proudly proclaimed that there's no gravity on Mars while doing velocity problems.

This didn't stop them from using the gravitational constant provided in the assignment or from getting the correct answer even, but it was funny regardless.
Early-stage covid was so revealing of this — who actually thinks, versus downloading updates from NPR and CNN.
‘The damage is done’: Russians face economic point of no return
I first heard about them when they began to sponsor a Magic: the Gathering related podcast and about a month(?) later, they're everywhere.

But I'm wary of the crypto space in general. A lot of bad faith actors.
If folks can see Bob doesn’t do anything, why wouldn’t they walk already? Whatever money Bob is siphoning away from the company is hurting them whether it’s more, less, or exactly the same as what they make.
Very interesting... some feedback.

So I search for "Proust", and the top 8 results are not Proust. Since Proust has one extremely famous book, I thought it would show up, rather than a bunch of different commentary on Proust.

So I finally find the page for In Search Of Lost Time. However, it says none of my friends have read it. Well, of course not - I don't have any Booqsi friends yet. So, there's just nothing I can do on this page.

Next I looked for The Power And The Glory. At least this page has a summary of the book. But, also none of my friends read it, and there's nothing I can do here.

Next, Consilience. Same thing. Basically I search for a book, I get maybe nothing, maybe a summary, and then there's nothing else I can do on that page.

So, I want to like this site, but I'm just finding nothing I can do here.

Personally, I love books but I hate Goodreads. I just don't care that a hundred thousand random people prefer The Twilight Saga Complete Collection to The Death of Ivan Ilych.

I would be really interested to read a well-written paragraph that said, hey, if you like Nabokov and Borges, then you might like this other author. That sort of recommendation is what I occasionally get from reading blogs or tweets from people with a similar literary taste to mine, and it's very useful, I find most books through some sort of recommendation.

Goodreads has this mistaken idea that I care about the average person's opinion of a book. A book is not a can opener. Everyone wants to open a can, everyone opens cans in the same way, everyone appreciates a can opener that successfully opens cans.

Anyway, I hope you do succeed in building a Goodreads alternative, because I would love to spend more time reading about books, reading good books, discussing books, and Goodreads is just not providing that experience.
Yes, but less implausibly so. At least it gives the right answers for n = 0 and n → ∞.
Show HN: harden-runner: GitHub Action to prevent software supply chain attacks
I haven't tried it and surely not recommended, but I think it's possible to block execution with a while loop until the promise is resolved/rejected. This will be like a "synchronous await", which defeats the purpose of having async functions.

function syncFn() {

let result
let state = 'pending'

asyncFn()
.then(data => {
result = data
state = 'fulfilled'
})
.catch(error => {
result = error
state = 'rejected'
})

while(state==='pending') {} // Stop the world

return result
}

console.log('Result', syncFn())
What keeps an employer from posting that each of their jobs is in the band of 10K-1M/yr?
> And yet people survive, so maybe it really doesn't matter.

They survive thanks to people who knows math. We can't run modern society without a lot of people who knows math, we would regress centuries, every natural science requires people who are good at math. There is a reason why the people who are decent at math are valued in every modern society, even soviet understood that part.
I think the quote you're citing is this, right?

> And Johnson did not write his dictionary alone: He had half a dozen assistants, and the history of lexicography tells us that assistants influence dictionary-making more than either eighteenth-century social hierarchies or the Great Author theory behind Johnson’s reputation admits.

My understanding was that the work of the assistants was to copy down quotations Johnson had researched. I imagine they did other things too, but did they write the dictionary, or did they write down the dictionary? If there's a serious claim that they had input on the content, then that's one thing, otherwise I'll continue hewing to my unreconstructed Great Author narrative :)

I had also thought of Shakespeare when this question was asked, but then thought "well, I'm fairly certain he wrote the plays mostly by himself, but I'm also fairly sure other people, unattributed, committed a line here or there, and his actors probably made contributions that found their way into the folio editions, and so on, so maybe that's not a good answer to this question." I think Johnson, being as much an arrogant misanthrope as he was a titanic scholar, was probably less collaborative than Shakespeare in many ways, including his work on the Dictionary.
The smartest defence thinkers I know and/or follow (I worked in the space for a few years, enough to know I didn't want to be there but I did meet some really sharp people) have all switched to a pretty cautious tone in the last few days. Not because they think Ukraine will lose the war necessarily, but that short of a palace coup we need to give someone as unhinged as Putin a way out of this. The "dunking" has been coming fast and furious and for good reason, but we could get to a place where he has no way out but forward. Historically it's rare or non existent that a losing strongman would go out quietly.
That is really good news!
https://ca.news.yahoo.com/eu-nations-intend-supply-ukraine-0...

Anyhow there's plenty of sources out there repeating the bit about aid (it was part of an EU leader's speech) although I will admit, Googling is hard right now (lots of 'relevant' searches aren't very relevant it seems, see recent complaints about Google on HN). The specific number I heard from a Ukrainian source so hard finding 'journalistic quality' info on that. But plenty of English news outlets saying the EU will provide 'fighter jets' to Ukraine (and everyone knows exactly who has the same jets Ukraine currently uses).
Agreed, the example I gave was absurd, but finding a threshold will be interesting. What's _not_ absurd? $50K? $75K?
Most of the times compromised dependencies and build tools make outbound requests. This GitHub Action monitors the GitHub-hosted runner for outbound requests and allows setting a policy to block based on allowed endpoints.

More details at: Introducing Harden-Runner: GitHub Action to prevent supply chain attacks: https://blog.stepsecurity.io/introducing-harden-runner-githu...
When I was younger I thought that if I ever made what I make now, I would do that job for 10 years and I would be set for life. I've been doing it for more than 10 years now and am not set for life.
I love comparing these kinds of comments to articles like this: https://sporks.space/2022/02/27/win32-is-the-stable-linux-us...

You really think businesses like Repography should just ignore the OS with 80% marketshare?
My pet peeve is something that used to 200 units and is now 300 units is accepted to be “150% larger!” despite that being non-sensical mathematically. (IMO, it's "50% larger" or "150% as large" but not "150% larger".)
> I'm sure there's more people like me who grew up alongside one of your devices...

Hey it's me!

My first computer that I had root on and didn't need to share was a Raspberry Pi gifted by my grandfather (an old school developer, I should get him to write some about his work).

The Raspberry Pi was my introduction to Linux/non-Windows OS's, I really owe a lot to my experiences with it.

> Words can't quite describe the magic of booting into Raspbian back them, especially as a budding young computer enthusiast who thought any of this stuff qualified as sorcery.

So true! I still have massive nostalgia for the color splash and then boot sequence with the Raspberry logo up in the top!
> Why is it so impossible for these people/organizations to accept that they made a mistake and own up to it?

Maybe they accept it, but just don't admit to their mistake. Seems to be a growing trend, unfortunately. Perhaps the result of a society who more and more punishes people for admitting to their mistakes, rather than rewarding them for admitting to it and learning from it.

It's very sad to me, that this seems to be getting so much more common.
After using it a few minutes, it's apparent that it's a very social site. There are no public reviews. You can write reviews and share them with specific friends or post them to your wall, but they're only ever visible to your friends. Presumably this is a privacy-focused design decision intended to increase sociability, but it would make an anonymous account useless.

There are no GIFs.
With the caveat that it is early. I agree the military performance has been shocking.

Russian conventional military capabilities seem dramatically poorer than anyone expected.

As you note, supply lines, coordination, poor conscripts with out support/ knowing what is going on.

No ability to fight at night…

Really surprising.
What does that amount of product loss due to the OEMs bottom line, let alone the extreme waste directly into the environment.
Every time somebody posts something like this the advice tends to be "talk to a lawyer".

There are all sorts of variables. For instance, if an entity is based in the UK they can sue under libel laws that most people think are unreasonable. I think those guys are in Poland so maybe they aren't so dangerous.

Personally I hate the meme image, I think it's in poor taste and you should get rid of it.
Yeah I think this situation is more nuanced and we will probably find out more later. Supply chains are certainly very valid ways to attach an entity even if the supplier is not technically part of that entity.

If someone were to attack a major private utility in the US, for example electricity, they would not be directly attacking the US Government but I do not think most would find a title similar to this being clickbait.
The owner of huey does this. He closes PRs and submits the code himself
Great for naked transistors.
Russia can end it by packing up and going home.
I read through the bill and didn't see this mentioned. Can you share what the proposed law is on salary ranges?
Energy is a very important problem but also one that is heavily funded and researched. It makes more sense to focus on underfunded issues that offer a high reward. I argue that energy should be more funded for what it's worth, but climate change and renewable energy sources aren't that popular in effective altruism circles.
Thanks for your reply. I must say, I did not say 'not try it' - in fact, I'm pretty much pro salary transparency.

The point I am making is that there 'are downsides to ostensibly good ideas', which are worth pointing out and discussing. This bill will likely pass regardless of any chat we have here, so this is all in the spirit of exploring the topic.

That candidate salary expectations will be elevated by transparent pricing is valid speculation given that it comports with what we know about pricing psychology - we see two numbers and typically go for something in between and to the right. It does not take a huge leap of empathy to understand that a candidate who knew the top salary and ended up being offered half that would be more disappointed than if that candidate never knew what the numbers were until the offer was made.

Another reason why salary suppression will occur is simply a lack of agility compared to employers who don't have to declare. Once you publicly state a salary band, you probably wouldn't be able to go above the maximum or below the minimum. This constraint won't apply to employers who don't need to declare and hence they will inflate overall market rate, leaving the public salary employers behind.

I think this is basically what is going to happen. Good things will too - but I trust these have already been made in the bill about to be passed