skysight-inc/HackerNews huggingface dataset:
Show HN: ChatGPT inside ANY app in macOS
Hello, I released my new macOS app called AnyGPT. AnyGPT puts ChatGPT inside any app on your Mac. Essentially any text field in macOS becomes a ChatGPT input prompt.

Simply enter gpt: followed by the prompt and hit enter.

I built this primarily to use in Xcode and it has been of tremendous help. But you can use it basically anywhere such as email clients, writing apps, etc.

AnyGPT is a native macOS app, it's sandboxed and properly signed. I do not collect any user data whatsoever.

Please let me know what you guys think!
Ask HN: Did you have any success transitioning from a product to a dev role?
I’ve been a product manager for a few small to medium product companies over the last 12 years. Currently a GPM at a ~5k employee company. I’ve been learning and writing code for years now, but never ‘seriously’ - just side projects and a few MVPs. Looking at some ‘most popular full stack interview questions’ - I easily know 99% of the answers and I feel confident I’ll be able to make an impact. Above all - I really enjoy it.
I’m considering changing lanes for a bit and trying my luck as a full stack dev. I want to shift the balance from being focused on talking to people to actually making stuff with my bare hands.

A few things I’m curious about:

- Did anyone walk this path and survived to share their experience? Will I regret this? - In today’s market, any tips on how to even get to a screening call with my apparently irrelevant CV?

Any other thoughts welcome.
Interest rate swaps exist to manage this risk no?
Seems like Tesla has a lot of solutions to problems people never had in the past until Tesla came around
I hate the touchscreen on my HRV. Thankfully I almost never use it and most controls are buttons and dials but I agree it would be a deal breaker if everything was touch based.
Fake IRFP460 from China (It's Pregnant)
I’m so cynical I think society probably needs to collapse for humans not yo completely ruin the planet.
> the Treasury stepped in to make investors whole.

Not really:

https://en.wikipedia.org/wiki/Reserve_Primary_Fund#Failure
> my old Kia doesn't have Full Self Driving

Don't worry, neither does Tesla :)
That's a well hidden feature.
Come on, my whole OS fits 3 times into that, let alone every single other programming language’s build tools with debug symbols, everything combined.

So what exactly does VS save you? Hell, I can’t even imagine what’s inside that.
Same feelings here. When I see pytest is like: "oh no...". Been using nose2/unittest for ages and I will continue to do so because is so damn simple.

> that it makes learning the library difficult for new comers

Not only for newcomers, I've used in the past and if I need to pick it up again I believe I'm going to spend some time refreshing a ton of things and probably get got caught by some caveat.

> fixtures are passed as arguments in function

Exactly questioned that myself so long ago. Implementing fixture functionality from scratch in Python (even supporting different formats) is only a few lines of code.
The competitor doesn't ship a full OS SDK for all kinds of development.

Go see how much GB, Apple or Android development stacks require.
It's sad to read about "liberal children" and "conservative children". It's like Reformation era Catholics vs Huguenots lol? With either beliefs usually being irrational and imprinted in childhood, even electional politics is increasingly not about convincing liberals to the conservative side or vice versa, but about bringing in more "right" and pushing out more "wrong" voters, redistricting to skew results in "your" favour, or even bringing about conditions that are likely to increase birth rate of "right" electorate or death rate of "wrong" ones (a lot of Covid vaccination messaging done by Biden administration seemed to be tailored to stimulate liberals to vaccinate and conservatives, to avoid vaccination, apparently in hope that they will die and thus not vote in the midterms).
Is this really the world we are heading to? SAD, as Trump would say.
Nope. Now look at all those countries money supply charts.
Yeah, just like TikTok forcing people to tighten up their videos?
Monero founder outed as Interpol informant
> “incumbents will not sit on their laurels with the AI wave.”

Yes, because they are already technology companies who understand tech. In the disruptive times of the Internet, then iPhone (mobile Internet), the companies being disrupted were not tech companies, so they didn’t know how to catch up.

This time this is a massive tech improvement, but in a market already saturated by key tech power players who are in prime position to implement these improvements into their existing competitive advantage.
They say they verify the code, do they should understand it. But also: Have you heard of StackOverflow? Copy/pasting code you don't (fully) understand is already a common practice that seems to mostly work well.
Study identifies reasons for soaring nuclear plant cost overruns in the U.S.

"The authors also found that while changes in safety regulations could account for some of the excess costs, that was only one of numerous factors contributing to the overages."

"Many of the excess costs were associated with delays caused by the need to make last-minute design changes based on particular conditions at the construction site or other local circumstances, so if more components of the plant, or even the entire plant, could be built offsite under controlled factory conditions, such extra costs could be substantially cut."

https://news.mit.edu/2020/reasons-nuclear-overruns-1118
> All of these complaints are about bugs third party hardware and especially in third party software

Are you going to buy a computer to use the bare OS?
Except botched C# style rules. Rider still insists on Java style guidelines for .net projects. And sometimes, it spawns a never ending background process that only way to get rid of is to restart the app. Otherwise, it's okay.

edit: been using Rider on Linux since a few years now
Thanks for explaining, from a user perspective the best thing to do is definitely graceful recovery, but bugs like this highlight that there's value to the ecosystem in failing loudly whenever anything is out of spec. The appropriate balance of those behaviors is obviously a function of the nature of the ecosystem, and could be different for different tools.
I'd suggest that for PNG in particular, one reasonable behavior would be to show a little red "File corrupted!" warning or popup for these sort of out-of-spec-but-probably-recoverable issues, which would probably have been noticed and filed as a bug for the developers of these tools, even if only a small fraction of viewers had that behavior. Something like a thumbnail viewer should maybe just opt to early-abort whenever anything sketchy is going on, especially since out-of-spec behaviors can lead to security issues.
What most people consider a rhyme is that the vowel and coda of the last syllable match (of course we don't mostly reach for the technical definition).

I guess the examples there might be accent dependent. Protein/poutine is the only one of those first examples that really rhymes to me; skeleton/gelatin and cactus/practice both have different vowels. Maybe different for you though.
We saw this exact behaviour here in Iceland, in some of the banks that went down during the '08 financial crisis.

Years of legal battles ensued.
Science supports this. There is an observable decline of suicides during wars. https://academic.oup.com/book/24371/chapter-abstract/1872592...

Some of the most common phrases occuring in communication by men have committed suicide are "useless" and "worthless". I think you can go quite a bit further and say that not only is disaster not the reason for the bad mental situation but potentially the opposite, there isn't enough of it.

Mental health issues and suicide rates around the world are persistently high in affluent and safe societies. South Korea ranks fourth highest, Syria 7th lowest. the USA, Germany, Finland, Sweden rank way above countries in the MENA region.
I have spotted someone that has never done Apple, Google, UNIX or game console native development.

It turns out native code for all kinds of OS workloads take some space.
> The U.S. is a capitalist system.

Really? Doesn’t look like one when it comes to large institutions or large banks. They scream “Capitalism! … for everyone” during the boom times and “Socialism! … for corporations only” when they screw up or times are tough.
When something has been repeated often enough, it becomes tedious and boring. That makes it off topic for HN. People repeat these things anyway, but for reasons other than curiosity. Since curiosity is what we're optimizing for, we want to avoid that.

https://hn.algolia.com/?dateRange=all&page=0&prefix=false&so...

If that still doesn't make sense, consider this thought experiment: imagine a comment saying something true, and then another saying the exact same thing, and then another saying that thing, and another... now extend the sequence arbitrarily. At some point it becomes annoying and offtopic, no?

Another way of looking at it is this: when you hear a thing that you haven't heard before, that's what gratifies curiosity. In other words, diffs are what's interesting. Clichés have no "diff value" because everybody's already heard them many times. That's what makes them cliché.
As someone who currently runs Docker inside an M1 Mac: I agree with this: all commands should be written in Go. So much easier to install everywhere.
that's why it's hard to deal with stagflation quickly
Surprised good or surprised bad? It's probably fun to drive but the screen I'm not interested in.
Well sure, but I'm talking about country-specific laws. Like in Canada you have to follow some strict rules requiring you to inform users about how your software updates itself and receive consent to update at registration time. In China the laws about sending automated SMS are more strict. GDPR considers IPs PII when the rest of the world generally does not. CCPA requires statements about how you use consumer data to be present during registration. And so on.

Basically, different jurisdictions recognize different individual data and privacy rights. Sometimes the requirements even conflict. It's not obvious that there is some universal way to treat data that is acceptable by all, nor what it would be if it did exist. Cookie banners are an example of this going horribly wrong. EU wants to "protect people" online so they require websites to ask consent to use cookies when every browser already allows users to configure cookie policy defaults and on a per-site basis in the settings. Everyone interpreted GDPR as some big movement towards user privacy and adopted cookie consent banners for all users as the "right thing" and the world is worse for it. EU is backpedaling on the banners. Multiple browsers offer features that block them outright.

You get the point.
Can someone familiar with both EF Core and the Java ecosystem’s Hibernate/etc describe how are they different?
> Car dependent design predates homes being prisons

Part of the home-as-prison is from fear of being outside/out of reach. That has existed in large pockets of our society for a very long time. Cars have not improved that reality for many people and have actually made it worse in many ways. eg: Predators now have as much range as they can drive in a day... or rich predators have as much range as they can fly in a day.
Until your depositors want 25% of all the deposits your bank holds in less than 24 hours.

For all of the missteps SVB made, there isn’t a bank on the planet that can survive that.
> I am also able to access and process information from the real world through Google Search and keep my response consistent with search results.

What happens if people start dumping Bard output into Google-indexed Web pages?
I am just old fashioned, as much stored procedures as possible, why waste network traffic.
That's a big part of TikTok, isn't it - it seems designed to make kids feel miserable and to have mental illnesses.

(Not at all destabilizing society, of course. Because of all the positive things it offers. /s)
Similarly:

If you owe the bank $10,000, it's your problem. If you owe the bank $100m dollars, it's the bank's problem.
The feeling of doom is a real thing though.

This reminds of this "This American Life" piece [0] focused on people who just couldn't distance themselves from the world going the way it is, the fight for the climate eating their whole lives and impacting their family and social life. That's an extreme, and the reason why it ends in a podcast, but I'd imagine a lot of people sharing part of the same path.

Decades ago the main threat in the "west" was if nations went to nuclear war, with the hope that nothing drastically changes. Accessorily, not going to war for oil was also on the table. So basically, we'd be fine if we kept the status quo.

Right now the main concern would be wether we can drastically change our societies, which is just so much more of an ununtainable goal than the status quo.

People who are poised to be anxious about the future are just so much more fucked in the current climate that decades or centuries before, IMHO.

[0] https://www.thisamericanlife.org/748/transcript
It should then be shut down within two years, never having come to your country.
Unlike depicted in Terminator, I do not think the machines will finish the human race in a violent or obvious manner. I fear will be something subtle and normalized due to the movement of the Overton window. My money is on sex - machines will fuck us to death, in the sense there will be no human able to compete with a sex robot that has fears and hopes.
I get that it exists elsewhere and saw it in other languages. I think it looks a bit weird and doesn't convey the intention properly. One of the nice things in Java is that we don't automatically copy ideas from other languages but deliberate on them first.

Personally, I think the instanceof syntax for Records is terrible and you're showing off exactly why. It breaks encapsulation entirely. What we need to do is fix records so they will have more OOP related principles. instanceof is a patch and switch should be an anti-pattern. If records allowed inheritance we could just add polymorphic APIs to them and then write more elegant code without the instanceof's.
Nah, Rider only better on cross platform Web development, and even then it fails short for Blazor.
> I notice that this graph is suggesting something happened around 2011 that impacted everyone, and disproportionally impacted only liberal girls.

The author uses this point to (IMO) bash liberal views as forcing kids to act depressed. A lot of the article was subtly tainted with the authors personal politics, and I think this is one of the times they distracted themselves with their own views.

> Another aspect of liberal politics is the focus on various forms of identity, including demands for how kids must react to things and then potentially severe punishment if caught reacting the ‘wrong’ way...

I was a high schooler in 2011. Thats basically when phones started to get common (in my rich, liberal, suburb at least). I do think it's more likely that the introduction of 24/7 social media that is in-person during the school day would have a worse and immediate affect for girls. This assumes that liberal girl is actually upper middle class and suburban or urban (who would have a family that provided them a phone in high school).

I think the author made a lot of good recognitions elsewhere, but this line of logic just read like political bias.
Link to the startup is https://getdozer.io/
You don’t understand something very basic about adult people interaction, that’s much worse.
Also confused over this.

If privacy is a concern (and it should be) then why not simply host an instance of say Nextcloud and use something like DavX5 to sync contacts to it. Add incremental encrypted backups to a 3rd service and your good.

This is my setup at least.
> the political pressure made them backtrack

Wasn’t the fed created to some extent to prevent political will from whipsawing the credit markets? How did the politicians force the fed? Isn’t this expected? The fed did it to themselves.
The end result is that .NET Framework is the Python 2 of the .NET world, and a major slice of anything .NET that I happen to touch on for enterprise consulting.
Why content management systems can outperform static site generators
That's not an investment, though, there's no return on investment. It's just storage.
Wrong in so many ways, there was, of course, extensive study and dedicated satellite instrumentation looking into all the issues you raised.

eg:

> Nobody explained why the hole was in Antarctica despite almost all the CFC being produced and used in the northern hemisphere.

There is both an Artic and Antartic ozone hole, as gases eventually circulate globally both poles receive nearly the same volume of (man made) precursor chemicals .. however the Antartic is typically colder in spring and the ozone destroying reaction is tempreture sensitive.
so they're missing 1/7th of what we spend on the military every year
I think these people have been useful idiots for crypto, and crypto grifters have fanned their flames and encouraged this cult of technology, but at this point they're an independent entity that will gladly latch onto any narrative that resonates them in the vacuum left behind crypto. They were never making money off this. If anything, they were the ones going broke in bait-and-switches.
Yes, somehow.

https://rarehistoricalphotos.com/windows-95-launch-day-1995/

I remember people commenting "never seen such a thing before, for a computer OS!"

"Many electronics stores held midnight launches for the product, with thousands of people waiting in line to be the first to get their hands on the operating system.

The release was a tremendous success. Microsoft sold 7 million copies in the first five weeks, and Windows 95 was soon the most popular operating system on the market."
"Self-awareness is not your strong point" was an egregious personal attack. You can't do that here. Ditto for "You aren't as complicated as you think you are", "I'm pointing out what you are.", and plenty of other things you posted in this thread. If I look at those comments cumulatively, you crossed the line very badly. The fact that someone else was also behaving badly doesn't change that.

The rule is to stick to the rules (https://news.ycombinator.com/newsguidelines.html) regardless of what someone else does. That's how rules work, no? No one's asking you to remain robotic, but you do need to remain respectful.
All the more reason not to lower them to unreasonably low levels in the first place.
Lagarde's dicussion about central bank issued digital currencies starts at 14:00

She covers the existing €1000 cash limitation, fines, and makes a case for controlling transactions below €300 to stop terrorist financing.
If something worked, they sure as hell wouldn't tell us, because then they couldn't take advantage of it
I didn’t know that, interesting!
I have a somewhat neglected project to package Node.js for PyPI. Perfect for you type of project, the idea being you can have it as an optional dependency that gets installed into the users venv, and you can the run tailwind from Python.

https://pypi.org/project/nodejs-bin/
I listened to an interesting interview with Peter Francopan on The Rest is History podcast https://linktr.ee/restishistory. Made me want to get the book. This review adds to my interest.
Why pay for half of the experience of IDE from the OS vendor, specially when having MSDN licenses already paid for?
BeOS! Good memories. I tried out BeOS maybe 20 years ago until it was dropped. Is it still maintained?
Yep, that's the way it's currently implemented in langchain.

The 4 is a hyperparameter you can change, though, so you could set it to 10 as well.

The way it works is that it first looks up the N most relevant documents (N being 4 in the default case) in the FAISS store relevant to the question, so it uses distance of embedding vectors for this lookup.

Then it uses GPT3 to get summaries of the 4 entries related to the question and finally all the summaries together with the question will lead to the answer.

In doing so, you can trace the source where the answer came from and can also point to that URL in the end.

When you make N larger it just gets more expensive in terms of your API costs.
Thanks a lot for the "text-only" news site. Do you know any others like that?
This is an important feature in fact, as otherwise the space of possible solutions grows to include nearly all 4-letter nouns (and verbs) +'s', and this is too large. I believe that regular pasts in -ed are also excluded for the same reason.

The iPhone app on the other hand includes -s plurals in its solution set, which makes for a markedly inferior game (it also has an error in its use of the yellow indication, which also impacts negatively)
A strange loop might occur and machine consciousness will happen.
This Cautionary Tales podcast episode talks about him [0].

Both were invented in the service of DuPont. CFC at least helped making refrigeration safer and helped getting it to the masses. Leaded gasoline on the other hand was always known as a bad idea.

In both cases though, DuPont fought back hard to prevent bans of these solutions. They rather kill the planet than their profits.

Suitably enough he killed himself with another one of his inventions that used pulleys to overcome mobility issues due to his Polio infection and helped him get out of bed. I guess health and safety was really not his thing.

[0] https://timharford.com/2022/11/cautionary-tales-the-inventor...
This is only applicable to a creativity based copyright hence this might actually trigger a shift to a copyright system more like the British or the Japanese ones.
Building Fault Tolerant System on AWS
To Head Off Regulators, Google Makes Certain Words Taboo (2020)
I love fzf for one-liners. Simple pattern: a command gives you everything, pipe it to fzf so that you can pick one, then pipe that to a command to switch to it.

alias kctx='kubectl config get-contexts -oname | fzf | xargs kubectl config use-context'

alias prv="gh pr list | fzf | awk -F ' ' '{print $1}' | xargx gh pr view -w"

Amazing stuff.
It’s probably worth mentioning that you can also use QEMU, which is a bit more involved but can use a bigger disk and also run OS X, and Mac OS 9.2.2 (as it supports an MMU, SheepShaver doesn’t)
Twitter bans a popular French activist and the spokeswoman of the Pirate Party
The Oracle situation doesn’t get heated at all, and that’s just not how Java vendors work — basically everything is 100% open-source OpenJDK, some companies just take it, add some marketing bullshit, possibly backport some bugfixes for older versions, and sell a support license for their “vendor”.

It is pretty much what Red Hat Linux does to linux.

Here I expanded a bit more on the topic: https://news.ycombinator.com/item?id=35249701
I bought a used 2019 VW instead of a new model for this exact reason. I'm afraid it's the last VW I'll own unless they roll back touch controls.
Bard is basically trash
Q: How long will it take before Bard is shut down?

A: Google shuts down their non-core services unpredictably. They may just shut down Bard on a moment's notice.
No, that's the point. Liquidity should be readily available, so you create 1% on as much as you can.
If you don't mind me asking, what all parameters go into the math and what all do you account for? For context; I'm 23, just turning 24, just started working full-time at a well paying job, so have been recently exposed to a lot of things that I need to do in order to "adult" per se; taxes, insurance, etc. Would be really grateful to have some light shed on this great unknown.
My thought exactly. Welcome to the world you helped create.