skysight-inc/HackerNews huggingface dataset:
Run ChatGPT-like LLMs on your laptop in 3 lines of code
I've been playing around with https://github.com/imartinez/privateGPT and wanted to create a simple Python package that made it easier to run ChatGPT-like LLMs on your own machine, use them with non-public data, and integrate them into practical GPU-accelerated applications.

This resulted in Python package I call OnPrem.LLM.

In the documentation, there are examples for how to use it for information extraction, text generation, retrieval-augmented generation (i.e., chatting with documents on your computer), and text-to-code generation: https://amaiya.github.io/onprem/

Enjoy!
Thanks for sharing this.

I've got a take that's a bit of a hot take, but experiencies like yours make more sure about it.

I don't think _any_ of the flat-earthers actually believes it. They're just there for the attention/lulz.
New GitHub feed has a lot of backlash
Blog post: https://slack.com/blog/news/new-workflow-builder

Dev platform: https://api.slack.com/automation
No, it's a true FOSS license and not one of the scammy ones in the news of late, but some organizations straight up ban AGPL[1] because it is network viral in a way that hasn't been tested in the courts, so best to just avoid the hassle

I didn't mean my comment in a disparaging way, just trying to answer a FAQ on any such "Show HN" that uses the term "open source" but doesn't otherwise specify. Often that means it's a scam license, and I find that to be doubly true when the submitter craftily omits any mention of the license, but it is not the case here and I applaud the use of an actual FOSS license, even if that means I personally don't get to enjoy using this software

1: e.g. https://opensource.google/documentation/reference/using/agpl... (discussed: https://news.ycombinator.com/item?id=31176071 and likely a ton of others, too)
That would make sense if we had other examples of magic.
Your response and the person you responded to were discussing copilot vs chatgpt. Both may "hallucinate". Copilot is more useful (to the GP and to me) - it's domain specific and well integrated, despite occasionally producing pure crap.

I also pay for copilot and don't for chatGPT.
> there should be a rule on HN against downvotes without responses

Downvotes are specifically for things that do not support productive discussion, so downvote + response makes no sense.

EDIT: If HN had a private message facility, I can somewhat see a case for private feedback with downvotes, though I suspect that would also end up unworkable.
Hypocrisy? They're not allowed to improve in other areas just because they sell oil? What in the world are you on about? This is not what hypocrisy is.
I'm still at the "making tongs from rebar" stage of my blacksmith career but I can probably explain somewhat:

The machine is probably a power hammer. The pointy tool is a punch, used for making holes in the workpiece and often followed by a drift, used to widen and shape the hole.

I understand some people use lubricants when drifting/punching hence the WD40. The v-shaped piece that is supposed to hold the workpiece is probably held there by a square shaft underneath that fits into a square hole on the work surface called a "hardy hole". It isn't unsecured ... but it doesn't seem to have a very fine fit so it moves a bit.
Ideas are a dime a dozen. It takes a great deal of money to realize them.
This is so much fun! Great idea!
It’s a bit surprising that people are still debating the old Chinese Room argument. Searle first published it in 1984!
Sounds rad as hell if you're a VP
This exactly.

When prompted to complete "The moon is made of ", GPT3.5 returns "cheese" or "green cheese" > 52% of the time.[1]

This article suggests a method that will be statistically right most of the time, and confidently wrong the rest of it.

[1]: https://www.joshka.net/2023/06/cheese
Rather than choosing 10 fully randomly I think you would have more luck with using fitness to guide the selection process, using methods like Roulette Wheel selection (letting the probability to be selected be somewhat influenced by the fitness). This will retain the benefit of a wide exploration of the solution space as you mention, but also retain some of the benefits of evolution - the fittest prevails.

Throughout the generations you can adjust the parameters (selection pressure) from just a slight favoring of fitness to higher favoring fitness, making the GA have a large initial search space that gradually approaches an optima. If you are worried about the solution converging to soon, a high grade of mutation can also be used.
If you see here [1], many of them are building by orgs trying to sell some services. They may or may not violate the guidelines though.

[1] https://news.ycombinator.com/show
That's an incredible application of induction heating that I hadn't considered. How big was the coil?
My understanding is that if someone is at sea and in distress, saying "you asked for it" isn't a valid reason to ignore their SOS. So, if someone goes out in "an unsafe manner", then it's quite likely that real mariners (e.g. the Coast Guard) will have to risk their own lives to save Bozo's.
> A planned statement to the House of Lords on Wednesday afternoon will mark an eleventh-hour effort by ministers to end a stand-off with tech companies, including WhatsApp, that have threatened to pull their services from the UK

Dear FT, WhatsApp is not a company, the owner of the WhatsApp service is Meta Inc., also the owner of Facebook and Instagram. (It is misleading to citizens that companies can hide behind the names of their acquisitions.)
8bit is virtually lossless. Not much point in running fp16
I do not fully understand the nature of the credential used here. Why was it still accepted several years after it was generated?
I picked up the term "beg bounty" from somewhere a while back. It's a very useful phrase to describe the low-effort run-some-crappy-scan-and-spam-security-at-domain junk that comes through.
But there's also the so-called "Einweg-Pfand" for single-use bottles. The reverse venting machines will also take those back but immediately cut them down into small pieces.

Supermarket chains lure you into believing that all of the plastic from those bottles will be reused to create new ones.
Theres no need for giving random takes. Theres a reason thats been enumerated, it would be nice to just have that answer instead of cliche cynical clutter.
Then you are only shooting yourself in the foot. I’ve watched too many pay-once iOS slowly break over time as new OS updates come out. It’s a mix of the UI looking dated, features not working correctly, or just missing features I’d expect (widgets, Siri support, etc).

The only way to make it work is have a subscription and I’m incredibly happy with a number of my subscription apps like Drafts, Carrot Weather, Infuse, Widgetsmith, Infuse, Call Sheet, and Day One. These apps are not expensive at all ($10-35/yr) and I can cancel at anytime if they start to drop the ball.

Apps like Prompt/Prompt 2 were great when they launched then slowly atrophied over time and required a new version which was annoying.

I’ll agree some subs are ridiculously priced but I just avoid those.
What? Apparently car accidents aren’t a thing near you. “Nine times out of ten” is a wholly made up and entirely inaccurate estimation.

“Sure, someone just totaled my car but I can “just come back later when the market changes”.”
Is this the same argument as "bad people will always flout rules, might as well give every person a machine gun so the good guys can have an even fight"? Looking at China, I think that it is very possible to make it least very uncomfortable, so uncomfortable as to be an effective deterrent.
I think he'd be screaming "read it again" at you right now lol
The "zh" is pronounced a little like the "ts" in tsar, and rhymes with "rung".
Thanks. And fair enough, it's a big ask to listen through the whole episode.
Crates.io Malware Postmortem
That's the comic? It's completely cliche and uninspired.

Sorry to be so blunt--i just don't see the appeal.
Latin has a great introductory textbook called Lingua Latina per se illustrata by Hans Ørberg. I only got through the first book, so I'm no expert, but this is the one everybody recommends. And it's really neat: there is no English in the book at all, it's all Latin from page one, building up from really simple words and grammar in a logical way.
If things are setup so that anyone can own their own means of production, and then can have more say and more profit from existing means of productions they are associated with, the privilege reduces significantly.
I'm not sure what you're arguing. The first amendment is mainly incidental here since most of these places are not public universities.

Preventing someone from speaking, as by heckling them, is not speech.
80/20 insurance didn't get gamed. Maybe that's why we can have it anymore.
Specialized astrocytes mediate glutamatergic gliotransmission in the CNS
Can you elaborate? The article is paywalled. In what sense did they “back down” if not by backing down from the legislation that would violate privacy?
> these are the stories with the most visibility.

There have been many HN stories about D, some written by myself, and D hardly has corporate/government visibility.
Maybe 6 inch diameter.
The graveyard of failed neobanks is crowded, but the front-runner of US neobanks is Chime, which has a strong culture of compliance and following regulations, while also being fee free.

They only have 3 revenue streams: interchange, small dollar loan interest fees and tips.

Interchange fees are paid by businesses, not customers. Loan fees exist to offset the cost of their interest payments/fraud risk giving out loans. Tips exist to offset the cost of their fee-free overdraft protection/"spot me" feature.
From the article:

> The industrial revolution rendered a lot of traditional blacksmith work — making hammers, nails, axes, shovels and more — obsolete. But blacksmiths like Mr. Kaviar, 69, have found success creating so-called “functional art.” Mr. Kaviar, for instance, is regionally known for making handrails forged with leaves and birds that have a rough-hewed, borderline macabre design evocative of the work of sculptors like Louise Bourgeois.

You explicitly mention "horsehoes and nails", but I don't think that's a reasonable thing to expect: Especially for nails, I don't think many people would spend money on something that isn't really going to be visible. (I don't know enough about the farrier trade to say the same for horseshoes.) By contrast, a handrail is something that can be very visible.
Llama2 chat uses RHLF. It's generally for making the models "safer", not smarter (in fact it usually makes them dumber)
To say that artificial consciousness is (or "remains") impossible, is to imply that there is a ghost in the machine in conscious lifeforms. Maybe there is, I don't know. But if there isn't, there should be no reason for artificial consciousness to be impossible.
Rubbish.

That has nothing to do with this SPECIFIC argument, I didn't read a word of it. I.e., I'm not singling out this particular set of essays / arguments / etc. The problem is much more fundamental - this boils down to claiming that "the universe is 'solved'".

That one species that got to just enough of a base level of mental ability to be able to think, when looking in the mirror, "hello, gorgeous"... and, on one dinky planet in one non-descript arm of some random spiral galaxy in a universe so absurdly vast that it makes our lack of understanding of ourselves, and the one planet we live on, a 'ING FOOTNOTE, ... can come up with some sort of rigorous argument to "uphold our magnificence" and "preeminence" ... as, apparently (to some), both "God's [special] children", and also "God" ourselves in deciding such "cases".

The universe isn't solved, and I'll take any odds on universe vs. humans anyone wants to offer.
This is indeed all too common but sadly not unbelievable. Most mid-to-higher manager roles are not to be effective with a mission necessarily (which would require "real skills"), but instead to hold responsibility over a particular function. If the proverbial storm hits the fan, these Directors/VPs can migrate to another company, bringing all their previous cronies with a nice title/pay bump.
> The round function can use anything, including destructive operations, so a nice fast hash like PCG is a good choice.

PCG isn't a hash. Maybe they meant FNV?
Researchers use AI to find new magnetic materials
> If unemployment did not exist, the capitalist class would have no power to make workers work harder using the threat of losing their jobs.

That may be true, but that is not a condition of capitalism. Like the parent said, capitalism only speaks to ownership rights.
Marxist-Leninist, also colloquially known as “tankies”
Blacksmiths are concerned with the shaping of iron and steel into any manner of functional or decorative objects. "Classically" these jobs were based on the type of material as opposed to what they were making – though there's plenty of subcategories therein, like bladesmith, gunsmith, armorer, etc etc.
I see the inevitable debasement of Open Source continues apace.
People live in rural areas for a multitude or reasons. Not all rural towns are like in the US, some have streets, some are dense.

In Europe, a lot of the small towns are pretty dense, due to the historical need to preserve agricultural land and have a community to rely on[0]. In ex-soviet countries, you will often see in the countryside condominiums, as it was then seen as much more efficient and better community-wise.

So yes, if you densify rural towns to reduce sprawl, it becomes much easier to provide good services like doctors, groceries and schools.

[0] Here is one that comes to mind: https://en.wikipedia.org/wiki/Cordes-sur-Ciel
No one can explain the qualia of the sensation

Yep, I think almost everyone agrees with that.

and the only way to claim this thing can be experienced by non-biological objects is by a blind faith.

But not that. If you admittedly can’t explain the phenomenon in the first place, how can you have any confidence in that assertion? You’re trying to have it both ways.

“Nobody can understand it, but I just know that it doesn’t work and definitely can’t work in the way you’re suggesting.”
It is a gradient, especially as blacksmithing becomes more prized for aesthetics. But that applies to a lot of metalwork.

One common definition is that you're doing craftwork if the object is functional, artwork if it is functionally useless. I don't blacksmith, but I do machine things as a hobby. I consider most of what I do to be closer to the art end of the spectrum because I'm usually making it to explore the shapes, although there are frequently functional aspects.

Is an overcomplicated umbrella stand of copper and bronze art or something else? Personally I'm still not sure.
In my experience, a lot of people don’t actually know how to use hooks correctly and find them frustrating as a result. It depends on what you’re used to, but I find that class based components leave too much room for scattered logic. Let’s not also forget those who abused `shouldComponentUpdate`.
When my friend's car was stolen in LA it was later found in the Philippines.
I find it amazing that I can write an original story or a poem, give it to chat-gpt and talk about what it might mean, what the character's motivations might be, how they might be viewed as others, and have meaningful conversations and explorations. Idk man. I don't know how it works, but it's still amazing to me even now.
Hmmm you got me thinking. I wonder if there’s a sensible story for ts to “compile” to JS with jsdoc annotations.

I know you can make it emit perfectly legible, formatted JS, but I’m not aware of the docs.
People are still debating Plato’s ideas.
“Best in class” safety tech…

No, Teslas have a specific safety rating.

In the Luxury Sedan segment with the same safety rating are 13 other vehicles.

In the Luxury SUV segment there are 19.

“In a high safety class” is accurate, but there’s nothing in those ratings to say the Tesla is the safest of them.
Financial transactions are already typically transparent to the government (they can just ask the registered banks for data). As for commercial communications, it's already the case in many jurisdictions that every service provider operating in that country must provide their private keys to a key escrow. That does not cause a visible collapse of Internet-based services in these countries.
NYC has the lowest per-capita emissions in the US. Relative to other US cities, it's doing great.
This is really not true in practice.

1:32 split gpon in theory can do upto 20KM but in practice with a typical number of splices, reasonable optical budget and so on you are looking at maybe 15KM. 1:64 xgspon is really only good for about 6km.

Cost differences between PON and ptp are minimal in fibre plant typically £5-40; the money you save on spine fibre is mostly lost on splitters and space for them. The real savings in PON comes from head end kit (OLT) and resulting power and space savings. In practice with a mix of 32 and 64 splits port and power costs at the head end is about a tenth of p2p. Of course you make sacrifices in return for that.

Regarding your point on DWDM, it's technically possible on good quality PONs with very high power optics but it would have to be with MACSec or similar as you are giving the signal to everyone on the PON to receive! The costs of this plus optics, dwdm mux/demux and so on makes this a frankly laughable proposition.

This is fundamentally the point. You can't really provide business services such as leased lines or mobile tower backhaul over a PON. In this circumstance you'd have to give a PON to each service provider. This architecture doesn't really economically work for layer 1 fibre wholesale access, you'd realistically need to have the wholesale provider run the OLT and ONT and give each wholesaler layer 2 access to each customer. So for example you may be stuck with GPON (on openreach) like we are in the UK.

This debate was had at the time between ofcom and Openreach here and layer 2 access was deemed acceptable. Several years later, they had to force them to provide duct and pole access and in some cases dark fibre (for business and backhaul use in areas with no competitors). The former was mostly because openreach were too slow to rollout even thier PON solution, so we now have a situation in some areas where as many as half a dozen ISPs have installed thier own fibre all the way into each persons flat/house.

Would it have been better to let a contract for p2p fibre install in rural areas rather than subsidising openreach on a PON and then in some cases have a commercial fibre provider build over that unsubsidized. Yes, no doubt.
It's not asinine to complain that for no good reason a perfectly good technical reference written for the benefit of all readers was being grayed out (at the time) via downvotes. It took a non-zero amount of work to dig up where the setting is documented, and I didn't do it for my own benefit.

This isn't taking it personally like I value HN karma. This is complaining purely because downvotes can make content invisible.
Do you have any proof of this outside of anonymous WSB posts?
I'll amend my statement then. The UN has no teeth against big players. The UN has done some things, but they tend to be with smaller nations without as much clout on the world stage. The UN, still has yet to really wrangle in the major powers on the world stage. The UN wasn't really effective in preventing US wars in the middle east (Afghanistan and Iraq), isn't really effective in the currently unresolved situation in Ukraine, nor is it effective in wrangling in China's territorial claims or their tensions with Taiwan. The US refuses to allow the UN's International Criminal Court to oversee war crimes committed by US troops, as I suspect the same is true for Russia. Or has it been effective in negotiation in the Israel-Palestine relationship. Nor, as a guess, will the UN do anything mention-able in easing China-US relations. It would be better to say, mutually assured destruction has probably done more to wrangle in world powers than the UN has. And the UN's structure is such that it ultimately will never really be able to reign in world powers.
Rural towns if you want.
6.22's source code was readily shared by some russians back in 2002 or so, and it was the real deal
I find it hypocritical and disappointing that the argument must go to the extreme end where lawmakers are forced to "think of the children" (specifically the dignity of those captured in media) before they will lift a finger to stop AI.

For the sake of the rhetorical point, they specifically call out deep-fake imagery here.

Does that imply that there is no moral issue with "novel" imagery? Not all the AI porn is deep-faked. We see people right now churning out batches of hundreds of (legal) images of not-quite-photoreal, generic, smooth-faced humans in sexual positions, too. Is that genericized AI pornography OK? What about if it depicted a child? In that scenario the link to the children originally affected is comparable to the link between finished AI art and an artist whose work was used to train the AI.

I feel like there is some kind of link to be drawn between these two things, and feel like focusing on one and not the other is inconsistent.

I of course think that this content is awful and should rightly be banned, I am just disappointed when you see lawmakers excitedly spring to action here when a hell of a lot of people are being negatively impacted by AI right now.
I'm not sure why that makes it a bad example. That's a specific reason why people would avoid bringing it up, but it still means that it's not a prominent affectation that would come up in everyday conversation.
That paper, and TS Ray's Tierra, left me with a life-long fascination with GA. But as I understand it, as long as you're chasing a fixed fitness function the technique doesn't really outperform simulated annealing.
> Outside of Oslo the infrastructure is built with car reliance deincentivizing cars and incentivizing walking and bikes won’t make much difference.

To me this reads like "Cars have won, give up on walking and biking in your cities."

That's just not a solution. Just because car lobbyists have successfully ruined nearly all US cities and a good amount of European ones doesn't mean we just sit down and continue to let it happen. I agree public transport is a huge part of the way forward, and I even agree that walking/biking in harsh weather isn't exactly ideal, but we can't let the most simple human ways of existing in cities (walking and biking) go to the wayside just because car companies want us to believe they're bad or unsafe transportation methods. Want to walk in the snow? Put on some boots and wear some layers with a scarf and a hat. Want to walk in the heat? Wear a hat, sunscreen, and a light shirt and pair of shorts. It's not _that_ hard.
That isn't necessarily true. In cities it may be possible to live without a car by walking almost everywhere. This results in a lot of walking and carrying exercise.
here is my favourite: https://www.youtube.com/@NielsProvos

he is also a developer or contributor to bcrypt and openssh
Microsoft finally explains cause of Azure breach: An engineer’s account hacked
Well yeah, that's why blacksmithing would die out. Nobody needs handmade horseshoes and nails. The premise of the article is that it's coming back, so I'm wondering if people are buying horseshoes and nails now, or whether the article is just redefining the term blacksmithing so that it can call a metal artist a blacksmith.
You are using Typescript to prove that they're correct.

https://www.typescriptlang.org/docs/handbook/jsdoc-supported...
I'll also add that it's great they're able to exist, as a large portion of their customers are actually banned from traditional banks. A great resource/read for learning about the "unbanked" is "The Unbanking of America".