skysight-inc/HackerNews huggingface dataset:
This post prompted me to fix a problem I’ve had for literal years. Forgive the tangent, but I’m so happy that I needed to share. I imagine I’m not the only one who’s run into this particular issue, so hopefully it’s helpful for others too.

If you’d prefer, feel free to skip over the story to the links at the bottom.

I use a single large(ish) monitor and multiple virtual desktops, or “spaces” as macOS calls them. I have Chrome windows on all of my desktops. When I quit Chrome with ⌘Q and then relaunch it, it collects all of my Chrome windows onto one desktop instead of restoring them to the desktops that they were on previously.

For something like 14 years(!), this has driven me up a wall.

Notably, it doesn’t happen when Chrome relaunches to update itself or when I reboot my machine. In those cases, the app happily restores all my windows to their respective desktops. It’s almost as if it’s taunting me: “oh sure, I can do what you want, I just choose not to sometimes.”

Every once in a while, I go down a rabbit hole, trying to find a solution. I always come up empty-handed. Usually I just find a small handful of other people complaining the same issue. It was never a particularly easy thing to google, and it didn’t help that that it wasn’t clear who was even at fault. Was it a Chrome thing? A macOS thing? Maybe some combination of both? Or even worse, maybe it was a “wontfix, works as intended” situation?

Over the years, I’ve learned to cope. I rarely quit Chrome anyway, aside from updates and reboots, so the itch wasn’t that strong. Or maybe the itch just became part of me. Who knows.

But today, reading this post about things that suck in macOS, I thought of my own thing that sucks in macOS. Like remembering an old friend. An old friend who drove you crazy but who, nonetheless, you cared about.

And today, for old times’ sake if nothing else, I once again googled some combination of the words “Chrome”, “restore”, “windows”, “multiple”, and “spaces”. And folks, this time, I found it.

There’s a setting called NSWindowRestoresWorkspaceAtLaunch. (How had I never found this before? It’s so simple!) You can change the setting for any app, not just Chrome.

https://superuser.com/a/1490087/77154

In case the Stack Exchange network finally succumbs to whims of private equity or otherwise gets lost to sands of time (it’s a fear I have), here’s a gist with the same instructions:

https://gist.github.com/f-steff/0163e0c1ed174e8ab7b33101ab47...

I can also put to rest my internal “feature vs bug” debate. Here’s Apple’s response to a bug report from the Chrome team (presumably from before they added the NSWindowRestoresWorkspaceAtLaunch setting):

This issue behaves as intended based on the following:
Application restart does not preserve space assignment.
We are now closing this bug report.

https://issues.chromium.org/issues/40531488#comment57
But only the bad parts.
Back in the 80's my late friend Hugh Daniel showed off that feature on his Mac by plugging as many monitors side by side into it as he could, then he ran a "ruler" desk accessory and stretched it out horizontally across all the monitors, to measure how wide the were all combined.

https://en.wikipedia.org/wiki/Hugh_Daniel

He also brilliantly took an old monitor and removed the cathode ray tube, and then took a hires photograph of the inside of the monitor without the tube, and then used that as his screen background! Definitely the coolest most brutalistically realistic skeuomorphic screen background ever, with your windows floating in front of the high voltage electronics inside your monitor.

I don't know why Apple didn't make that the standard default screen background on their transparent iMacs.

"They're IN the COMPUTER???"

https://www.youtube.com/watch?v=L_o_O7v1ews

"There must be an ON button somewhere... Did you press the Apple thing?"

https://www.youtube.com/watch?v=ToIyDSRSN5g

"Wait! Hansel! Let's not lose our cool. Then we're no better than the machine."
Singapore's EV challenge: High prices and high-rises
I'd argue the "... or about the quirks of security reporting" part of the headline is more relevant. The author argues the 90% number is unrealistic and the statement shouldn't be trusted.
Wow, I would have never expected a law like this to pass anywhere in the Anglo-Saxon world post-WW2.

I mean, I would have expected abuses of state power, which always exist and are limited, but never putting this in law, even in war time.
A Baltimore teacher is accused of using AI to make his boss appear racist
I've been using Llama 3 8B locally with Ollama since it was launched mostly for coding and other technical work. It's really great - I don't miss ChatGPT at all. Admittedly I didn't have the pro subscription, but Llama 3 is as good as the free version if not better.
Lol, this hyperbole is laughable. Feudal lords were obliged to provide shit for peasants; if such peasants rebelled, 9 times out of 10 they would be massacred on the spot. The degree of arbitrary rule they expressed is something we just lost knowledge of, in the first world; but go ask Africans or South Asians from regions infested by warlords, to get a taste.

What about one day you send your daughters to school, but it's the day Mr Lord decides he needs some new sex slaves, and your daughters just disappear? What about Mr Lord needs some cannon fodder for some hopeless adventure, so he just raids your village, rapes a few women, chains you and your kids, and leads you to inevitable death? That's just Another Day in Feudalism for you.
Starlink basic is great.

The priority service wasn’t much faster 6-8 months ago but seems to be much faster from what he been reading and seeing recently, but it might’ve relative to how busy a particular area is
> Passkeys can’t be phished, or shoulder peeped, or entered on a malicious domain. And for the layman, it means they can’t forget their password.

Neither can passwords if you’re using a password manager to handle them.

So again, if you’ve already got a password manager, and would put your passkeys in a password manager, what is the benefit of passkeys?
They are being modest, I hope their extra focus on multi-lingual and maths logic improves coding ability, llama3 was not quite GPT4/Opus levels in that department.
Can't see any code for that, unless it's there and I've missed it.
Me too, but only because we don't call them Ministers in the US. (I could see this happening in parts of the US as well, but the headline would be worded differently.)
Tons of people have already been defrauded on the phone with cloned voices of their family members in recent years. There are a million convincing Trump speeches on YouTube, complete with video, that he never delivered. It’s not something to prepare for, it’s already here.
All you dissenters are under arrest. The only reason you'd be against this is if you're planning to commit a crime; therefore, you must be planning to commit a crime!
Yes, I assumed you did need some integration with the user's account (my case). Thanks for the answer!
Not following due process.
ZIL (Zork Implementation Language), a Lisp-Family Language
>US work culture labels as "being professional".

You guys realize this person wrote a blog post about not being able to find a job, right?

"This toxic personality is so refreshing? But why can't he find a job?"

What a mystery.
Why would it be "a Mac thing"? I only ever close FireFox when updating the system and I'm on Linux.
I assume each provider will have the ability to import as well as export. The question is whether you can do that across providers. That's not too different from the status quo for passwords and other fields though.
Is this the digital version of PE firms buying improv groups around the country?
Brutalist Churches
Prostitution is illegal in many different countries that subscribe to many different religious, including countries that lack what we would recognize as organized religion (China). That strongly suggests that it’s not really religious in origin.
If your TLS connection has been MITM’d, you have much bigger problems than your unique randomly generated password being sniffed out.
SSH keys are clearly not a feasible authentication method for non-technical users. Passkeys are here to replace passwords, not ssh keys.
Usage, I converted a bunch of containers to it from debian-slim in our fairly large CI/CD setup and it processed workloads noticably slower, despite booting slightly quicker as it's a smaller pull. However, with network speeds nowadays, it was negligible difference and not worth it. Rolled it back to debian-slim.
Honestly, less concerned about them.

They’ll move to whatever platform users move to
While I believe one should not put their gender into their identity, the vast majority does, and is also not hostile towards those who don't care, and you can't really ignore gender-related issues and discrimination of current society right now because, while I think it ought not be, gender is a big deal and you can't ignore this.

And, It should go without saying, respecting one's identity is the least we can do, including the gender since it's in there. Except, of course, for horrible stuff, but surely gender is no such thing.

Actually, while I don't care about my gender, if you are not ready to respect my fellow human beings and their identity, I don't really want to have to interact with you.

When you say "not caring", do you mean "Can't be bothered to use pronouns people wish to be referred to" or "don't mind being called with whatever pronoun?" Because the phrasing is ambiguous and two of the possible meanings are radically different things.
have you tried https://groq.com/? I get ~800 tokens per second.
It’s not the $9k deposit that’s illegal, it’s structuring your deposits to avoid the $10k limit. The same actions can be legal or illegal depending on your in intent.

In your example, the $9k deposits are perfectly fine. Although if you really always deposit $9k you’ll probably get some questions.
You missed the part where i said i can contradict everythin based on my personal experience, which is personal? :)

Btw, even if i rarely use it, i keep it on the bottom of my primary (the one in front of me) monitor. And not set to auto hide.
From a European perspective, it is a bit interesting to see it being described like that. Anti-prostitution has become a rather large far-left political priority, with the right and far-right taking opposition. In the far-left perspective, prostitution represent a form of slavery. For similar reasons, anti-pornography laws are generally proposed from the left side of the political spectrum, and then naturally opposed by the right.

It should be added that while typical evangelical Christian voters are sought by right-leaning political parties, voters of the second largest faith is generally sought by left-leaning political parties. This is currently very noticeable given the a specific conflict in the world. Religious voters and political parties that want to cater to those voters are no longer limited to left or right.
How much will valuation increase now that they shoved in AI into the most useless flow?
I've come around to the idea that the hype around criminal or bad actor uses of AI is the same as the hype around other uses. Some real uses will shake out but the delta between what's actually enabled by the tech and what was possible anyway is way smaller than people like to represent.
do you use the command line with ollama? I find formatting prompts a pain there.
I use Nix and NixOS and I didn't even know about this. Unless you want to become a maintainer I don't think it affects you.
Looks as if someone did an s/retarded/brain damaged/g before making the code public :)
That’s hardly the only things traditional left advocated for, they also wanted things unions could help provide like safer working conditions, vacation days, etc.

Initially it was an offshoot of the abolitionist movement which took a hard look at property rights in a broader context but very much still wanted to abolish slavery and even serfdom. They also wanted social security style safety nets with pensions and compensation for injured workers and their families etc. Western democracies essentially adopted most of those standards to the point where they became invisible in modern politics.

FDR for example really gutted the socialist movement in the US with the “New Deal” to the point where it largely stopped being a talking point. More recently having gutted unions, with the gig economy sidestepping many worker protections, and 401k replacing pensions, etc has started to reawaken some of the west’s latent socialist tendencies.
Passkeys always had a bad smell to me.
Git was already designed from the outset specifically to be peer to peer. The central server is the addition to that model, not the other way around. I have not looked into this project, but pitching whatever it is as P2P for Git just sounds like the devs learned about Git though GitHub and don't fully understand it.
Wouldn't transferring the keys around just massively increase the attack surface? There's a security reason why we want them stored on-device and never moved, right?
Show HN: I made Lightshot-inspired screenshot tool using Fluent UI
1 Benq 4K and 2 Dells 1080p
It always struck me that 2FA is a corporate suicide pact. Some percentage of users are going to lose their keys per year so your user base is going to decay like a radioactive element.
> Farid said there remains, generally, a lackluster response from regulators reluctant to put checks and balances on tech companies that develop these tools or to establish laws that properly punish wrongdoers and protect people.

> "I don't understand at what point we're going to wake up as a country and say, like, why are we allowing this? Where are our regulators?"

I’m interested in a substantive overview of the current legal and policy landscape. What do lawmakers at various levels of government need to read? Suggestions?

(I’m less interested in people venting or spitballing their opinions here; e.g. claims such as “regulators are dumb” or “this cannot be regulated”. There are an interesting menu of options available that deserve to be unpacked.)
I'm disappointed that tricolon has fallen out of popular use in favour of simple pairs, eg "strong and stable"; the former requires three pairwise agreements among its constituents, the latter but one.

(the B'rer Rabbit stories also have a triple pattern: instead of just contrasting here to there, Uncle Remus is always talking about this over here, that over there, and those over yonder)

I am a rhetorician
You are a copywriter
They display rhyming play

(might GPT use bring back tricolon even among lazy speechwriters?)
Oh, I see your comparison was "no humans, ai" vs "no humans, no ai". I thought you had ai survival in both

The reason it's better is because the former has some form of intelligence surviving

It's memetic self preservation instead of genetic
Show HN: We Built Our Own Simple CRM Tool
After my son and I struggled with the complexity and costs of existing CRM solutions, we decided to develop our own tool. Our goal was to create a simple, customizable, and cost-effective CRM system that is precisely tailored to the needs of our small business.

The result of our efforts is a CRM tool that effectively covers the core functionalities:
It stores contact details, tracks interactions, and assists in creating simple reports.
The user interface is deliberately kept simple to enable intuitive use.

Check out our CRM on our website and try it out for yourself.

https://demo.cybx-crm.com
E-Mail: demo@cybx-crm.com
Password: Demo#24StartNow!

We appreciate every piece of feedback. If you try out our CRM, please let us know what we can improve. Please be aware that you should not enter any real data, as other users also have access to the demo.
Tell HN: How to make macOS restore windows to their respective desktops
Originally posted as a comment in this thread: https://news.ycombinator.com/item?id=40166268

Links at the bottom for those of you who'd prefer to skip my long-winded story.

I use a single large(ish) monitor and multiple virtual desktops, or “spaces” as macOS calls them. I have Chrome windows on all of my desktops. When I quit Chrome with ⌘Q and then relaunch it, it collects all of my Chrome windows onto one desktop instead of restoring them to the desktops that they were on previously.

For something like 14 years(!), this has driven me up a wall.

Notably, it doesn’t happen when Chrome relaunches to update itself or when I reboot my machine. In those cases, the app happily restores all my windows to their respective desktops. It’s almost as if it’s taunting me: “oh sure, I can do what you want, I just choose not to sometimes.”

Every once in a while, I go down a rabbit hole, trying to find a solution. I always come up empty-handed. Usually I just find a small handful of other people complaining the same issue. It was never a particularly easy thing to google, and it didn’t help that that it wasn’t clear who was even at fault. Was it a Chrome thing? A macOS thing? Maybe some combination of both? Or even worse, maybe it was a “wontfix, works as intended” situation?

Over the years, I’ve learned to cope. I rarely quit Chrome anyway, aside from updates and reboots, so the itch wasn’t that strong. Or maybe the itch just became part of me. Who knows.

But today, reading this post about things that suck in macOS, I thought of my own thing that sucks in macOS. Like remembering an old friend. An old friend who drove you crazy but who, nonetheless, you cared about.

And today, for old times’ sake if nothing else, I once again googled some combination of the words “Chrome”, “restore”, “windows”, “multiple”, and “spaces”. And folks, this time, I found it.

There’s a setting called NSWindowRestoresWorkspaceAtLaunch. (How had I never found this before? It’s so simple!) You can change the setting for any app, not just Chrome.

https://superuser.com/a/1490087/77154

In case the Stack Exchange network finally succumbs to whims of private equity or otherwise gets lost to sands of time (it’s a fear I have), here’s a gist with the same instructions:

https://gist.github.com/f-steff/0163e0c1ed174e8ab7b33101ab473b5a

I can also put to rest my internal “feature vs bug” debate. Here’s Apple’s response to a bug report from the Chrome team (presumably from before they added the NSWindowRestoresWorkspaceAtLaunch setting):

This issue behaves as intended based on the following:
Application restart does not preserve space assignment.
We are now closing this bug report.

https://issues.chromium.org/issues/40531488#comment57
And prison unions as well.
> Volatility is minimal because the central bank actively tries to minimize it. Bitcoin or gold don't have this stabilizing mechanism, so they will always have worse volatility (assuming a responsible central bank).

You've been indoctrinated well. Here's an explanation I made on what the central bank is really doing: https://news.ycombinator.com/item?id=40114857

> In a sufficiently long time horizon, stocks are guaranteed to outperform Bitcoin given some weak assumptions.

In a sufficiently long time horizon, stocks will be priced in bitcoin. Rather than an index fund giving you 7% but with a 7-10% devaluation of your fiat (i.e. net return of -3% to 0%), it will return you 7% with no devaluation of the underlying money (net 7%).

Bitcoin is first proving itself as a store-of-value (fundamental for any money), then once it's growth has reached the point that it is stable enough to be used as a unit of account and medium of exchange, it will be, through demand from the people. Any volatility will be measured against bitcoin, not the other way round.
Not quite. The monitor LTT reviewed works on the same principle, but it was manufactured as an ambient light monitor rather than being retrofitted later on.
"Llama 3 saved my startup"

https://twitter.com/levelsio/status/1782875054864282104
I agree that Philosophy shouldn't just be labelled as an art form, although I think it's not too distinct from calling "Math" an art form. Like partly, but depends on what you're doing with it.

I disagree that Philosophy should be some sort of objective tool to determine facts, typically I think of it as a way to explore new ideas, discuss insights into things which ~might~ have tangible outcomes. It's been a few years since i've heard it, but people were jumping to the theory of forms to interpret some of the modern ml stuff thats going around
the organic results, which are there somewhere, you can eventually see them in Search under all the spam and ads if you can distinguish them on the page
How on earth did that entitled whiney post get 4.6K upvotes, and in /r/github no less?
I didn't see the 6.5 million figure in the article. Did I miss it?

I wonder if part of the issue is no bank is willing to finance such a deal (given cashflow doesn't make sense with such a low prevailing vacancy rate).

I've heard of large firms stop making payment on commercial real-estate. How the heck does this work? If a regular person would do that on a mortgage, their credit would be destroyed. So you would still possibly make payments in hope of saving credit (although California is no recourse so not sure if that makes a difference; new york is not and companies are also stopping payments on properties there). Anyone have an explanation?
To mark the occasion, here is a cheque from the government for $40 billion.
I'm not sure I'd call it good reporting to investigate this case and not look into Doxbin.
There has been no evidence that Kiwifarms users have coordinated harassment towards keffals; however, the website that actually coordinated the harassment gets absolutely no mention.

When the reporter brings up the Uber hack, he's insinuating that this was done by Kiwifarms, but the receipts were actually posted on Doxbin. Doxbin also goes much much further than Kiwifarms, getting addresses,bank details, and employment history of anyone related to the target. They will work together to contact hotels and employers to get the information they want. Doxbin actually does act the way the media thinks that kiwifarms act.

I can understand Keffals not speaking about Doxbin as she legitimately fears them according to leaked messages to Destiny, but it's the media's responsibility to actually understand what's going on.

It's insane that people like Ben Collins constantly use Kiwifarms as a shield for Doxbin.
I had to turn off apple passwords/credit card autofill because it clashes with 1password - how donI enable the 1st class integration?
My favorite part about Italy is how most sought for mafia bosses are "hiding" for their entire lives in their home regions and villages. The degree of "ignoring the obvious" is only comparable with the worst religious extremist, but also every country has is own equivalent of "ignoring the obvious".
Somewhat related: last New Year the company I work for gave us, the employees, presents. Something I assumed to be a USB disk. Couple weeks ago I had to migrate from my old personal laptop to the desktop I finally put together and needed a USB key to put an OS on the new computer.

I recalled I had what I thought was a spare USB key... plugged it in only to discover it wasn't a USB disk. Wasted some time trying to figure out what it was only to discover it was some form of electronic key. Not sure how exactly it works... but, of course, Linux had no drivers for it, so it couldn't even recognize the device.

I tried to think about any possible uses I could want from it and whether it's worth the effort of trying to find an out-of-kernel driver for it... and after some time pondering this idea, I realized I have no use for this thing. There's no scenario in which I would like to have a device to perform this function. So, bundled it with the broken pieces of my old laptop and together they went to the garbage dump.

Passkey would be virtually the same thing. I cannot imagine what problem does it solve, no matter how it works. Everything about this idea seems like a bad idea. So, I'm kind of happy it's a shattered dream now. Better late then never, I guess.
Heed v0.20: Safest and most maintained Rust wrapper for the LMDB key-value store