skysight-inc/HackerNews huggingface dataset:
Definitely super useful, especially in a language where such conversions are rather common.

Also useful because you can’t have abstracted local types, so let’s say you’re building an iterator in a language with interfaces you could do something like

let it: Iterator = some().thing();
// intermediate stuff
it = it.some().transform();
// more intermediate stuff
it = it.final().transform();

But in Rust that won’t work, every adapter yields a different concrete type, you’d have to box every layer to make them compatible. Intra-scope shadowing solves that issue.

The biggest downside is that it’s possible to reuse names for completely unrelated purposes, which can make code much harder to understand. Clippy has a shadow_unrelated lint but it’s allowed by default because it’s a bit limited.
> In reality, there is no “I” in [the persona of a poem]; no more than there is in a thermostat or a washing machine. [Authors] can and should prevent their [poems] from making one up. Gertrude Stein famously said “There is no there, there” about her childhood home in Oakland. All the more so, there is no “I” in [personas]’ “Is”, no matter how excitedly sentience fans would like to see one emerge. If a [poem] shows you the words “I’m sorry”, no matter how genuine and innocent it sounds, don’t be fooled: there isn’t anybody who is feeling sorry in any meaningful sense.

A related point: it tickled me quite a bit to learn that from antiquity through the high middle ages, it was customary for makers to signify their authorship by inscribing "X me fecit" (X made me) on their products.

> The earliest inscription in the Latin alphabet appears on the Praeneste Fibula, a cloak pin dating from about the 7th century BCE, which reads, “MANIOS MED FHEFHAKED NUMASIOI”, "Manius made me for Numasius"

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

> Stole of Saint Narcissus (c. 1038), church of Sant Feliu de Girona. (VIDE)AS, AMICE, MARIA ME FECIT / QVI ISTA STOLA PORTAVERIT SVPER SE / ORA PRO ME SI DEVM ABEAD ATIVTOREM ("Recall, friend, María made me (here me = stole); whoever wear this stole pray for me (here me = Maria) so that I receive God’s assistance").

http://www.magistricataloniae.org/en/indexmceng/terms/item/f...

I suppose the humanity of these objects aren't in question, though it is a matter of culture and religion whether these objects had souls/spirits.
well the presumed doomsday is presumably going to hit everybody, because how hard is it to retrain from a just-made-redundant programmer to an SRE? if your life depends on it? so the jobs that are still needed will get flooded with people from adjacent specialties because people want to eat.

or so it goes, no idea if this is going to actually happen.
Bookmarked for Reasons.
I was just thinking this looks similar to a DDI (Data Documentation Initiative) citation element, but the advantage of the DDI XML schema is that one can annotate any existing element in an XML document by importing the DDI namespace, which shouldn't change how the document is otherwise interpreted by applications, but this JSON schema as far as I can tell is a stand-alone document?
In general for systems like this, you can open the browser link from a different host.

For example, if I've SSHed from my laptop to Host A to Host B to Host C then need to authenticate a CLI program I'm running on Host C, the program can show a link in the terminal which I can open on my laptop.
It’s trivial to use a different default browser like Bromite or Fennec instead of the adware default you were given
The problem is that Mac is equally anti-consumer, just differently (I haven't tried it, because of the vendor lock). Linux on the other hand is great, but has abysmal quality check due to wide variety of everything. Windows is just works (until Win11, which was a marketing pushed bullshit, without half of the featured from the Win10 branch).
What you posted is so cool!
And look at ATP synthase! wow.
https://www.youtube.com/watch?v=kXpzp4RDGJI
Peck and pecker in English.
Well, sticking with outdated 30-year-old defaults seems to be par for the course when it comes to Linux. I just wish there was an OPTION to change them (especially when Linux fans keep pushing the narrative about how much more customizable it is).
What is the best way to go about creating a sane - meaning adware turned off as much as possible defaults for Windows 10?

What I mean is preparing a custom ISO for installation.

I realize that technically it should be possible: https://learn.microsoft.com/en-us/windows-hardware/manufactu...

I have to handle relatives Windows machines quite often and have to reinstall Windows quite often.

I like how Rufus adds a default local user to standard Windows ISO. So something like this with more customization would be fantastic.
We never did find out who leaked the security camera footage from inside a "secure area" of Matt Hancock, UK health secretary, kissing his aide: https://www.independent.co.uk/news/uk/politics/matt-hancock-...

A horrifyingly large amount of UK political decision-making that should be minuted is instead carried out secretly on whatsapp.
Why is everybody calling this new toy "AI"? There is no intelligence there. It's just text inference.

People complaining that this thing should not say "I" because that would lead users to antropomorphize it is fine, but they should also realize that calling it "AI" has a similar issue by mischaracterizing what this thing actually is. And this article does exactly that, which is pretty sad.
Show HN: Get advices from Steve Jobs, Elon Musk, Jack Ma, Plato... for Free
If the command is not restricted to text only, but use text and geometrical context, you can remove a lot of ambiguities. This is often done in video games with contextual interactions.

After all, using the Blender GUI, you can do a lot using only a 2D mouse coordinate and two boutons. So 2D mouse coordinates and text could be better.

A nice evolution would be an AI model that can understand natural language instructions, while taking into account where your mouse pointer, how the model is zoomed and oriented, and that has geometric insight of the 3D scene built so far.
He recently gave a talk that covers robotics for a general audience: https://www.youtube.com/watch?v=f6fDpKDxpL0
Related discussions:

https://news.ycombinator.com/item?id=34625001

https://news.ycombinator.com/item?id=34832577
I think that is the goal, but for various reasons are not actually usable (not good enough, not supported by things you actually need and have no control over, etc) I think part of the problem is unlike the cpu, the isa is not actually available fully. You have to use a blob that does sekrit majik stuff to use the card fully.
Are tabs supported yet?
1.0 for Zig is going to mean not only never break the API, but also that we'll be pretty much done with the language. The current idea is to release v1 only after a few releases that only contain bug fixes.

> As for public fields, the 0.9 change to allocator comes to mind.

That's a good example of why it makes sense for Zig to have all fields be public: the change that we did to allocators has important implications that in Zig we don't want to hide behind a `private` descriptor. This is obviously not a universal truth, but it makes sense for a low-level programming language that cares about the details.

> Self is used in the standard library for non generic types every now and again.

I agree with the parent poster, those should probably be removed, as they don't really help make the code more readable or provide any other advantage. A overhaul of the stdlib is planned, but we're not there yet, as we're still busy working on the package manager and incremental compilation.
No one ever mentions that GitHub use the same key for gist.github.com as they do for github.com, and that therefore they also changed the key for gist.guthub.com and you need to update the keys in your known_hosts for gist.github.com.
problem is deregulation and privatisation doesn't work either, because then instead of corrupt politicians who make decisions based on greed despite being told not to, you get CEOs and big corporations who make decisions based on profit (essentially greed) because that is their entire purpose
What if the AI will not automate your job, but will walk past it by discovering a new piece of software truly reusable, so all the single-customer software we develop nowadays becomes way too expensive? That possibility sounds to me much more believable.
NSA Ghidra software reverse engineering framework
"Engagement"
Yes, I remember that... It was shockingly good for its time.

However, the author, a young Mormon CS student fresh out of college, had done a couple of questionable things. First, he'd fine-tuned on selected stories from an online community. I don't remember its name, it wasn't AO3, but it was kind of the same, in that some of the material was - well, if it had been images it would have been illegal.

Not only had he not asked permission for this, but it meant that the model would often introduce risky material even if the user wasn't fishing for it. And a good deal of users were fishing for it.

When this came out, the founder threw his users under the bus pretty hard.
Ask HN: Pupil Dilation Detection on iOS?
The topic came up in the TikTok deposition.

Is it technically possible?

I asked a professor and they said "unlikely". I also couldn't find any existing packages that tackle this.
I work in POS systems, and thus know various kinds of receipt printers rather intimately. It is surprising how much variation the command sets have when it comes to printing barcodes, and especially for more complex ones like QR codes. Older ones don't even support them, you have to resort to software-rendering and printing images instead. And the image-printing commands are just as messy.

It would probably be easier to add some kind of OCR functionality into the app to automatically read and parse some kind of textual order ID from a receipt than to ensure that QR code printing works fine on 30 different POS printers from 20 different manufacturers, of which some are over 10 years old.

Though a combination would probably be best: print QR codes whenever possible, prefer them when scanning, but when no code is found, try to OCR the receipt and find a textual ID.
If you consider OSs potential friends, you may like the movie "Her".

OSs are offers organizations, some may be friendlier than others. MS has shown not to care for your privacy the least bit. Apple at least tries to uphold the facade of respecting your privacy: so they probably will go to greater lengths.

Linux (+ desktop packages) otoh are closest to what I consider a does-not-skrew-me-over OS-friend. Al east they do not have a public history of sneaky deals with 3-letter agencies and/or a business model that involves me being the product.
I'm a non-native intermediate Spanish speaker and it was my first thought. However I think it's cute and it makes people talk about it, so it's not a bad name.

AUDI étron is worse.
Huh, what the hell?

Apparently it happened in July 2022.

https://www.gamingonlinux.com/2022/07/unreal-engine-5-editor...

These last few years have been moving way too fast, whew.

Thanks for telling me.
Show HN: Comics Written and Drawn by AI
Hey, I made a website which outputs daily comics written and drawn by a machine. https://dailyaicomics.com

I know it's fun to ask ChatGPT for a joke about X, but I wanted to take a step further by asking it for:

1. a comic in three parts
2. to include lines and a title
3. prompts to draw it

I'm asking ChatGPT to output JSON with the comic and then I parse it and move it to the next step of the pipeline (drawing). Tools on their own are cool, but chaining them is the true multiplier of creativity.

Check the source on Github: https://github.com/infomiho/dailyaicomics

The hardest thing so far was figuring out how to get a bit more consistent style since each panel is draw in isolation.
I've tried asking "draw in the style of X famous comic writer" but that had two drawbacks:
- their style varies (color, black and white)
- since it's a comic author, it oftentimes draws a whole comic (multiple panels)

Now I'm being very explicit around the style (ink, pastel colors etc.) and it's okay.

I'm wondering what's the best approach to get consistency?
The best part of readme: security warnings.
ChatGPT co-authors sci-fi novel: “The Nexus Fallacy” first chapter released
>they have one of best education systems, they try to educate as much people as possible

"Approximately 500 million people in China, or 70% of the labor force, do not have a high school education. By this metric, China is the least educated middle-income economy in the world"

https://sccei.fsi.stanford.edu/china-briefs/invisible-china-...

from standford 2021
This is partly true, but the prediction isn't based on the previous token. It is based on the tokens generated, in the context of having parsed trillions of tokens and calculated the relative importance of those tokens in the context of the tokens around it.

So the matrix of weights not only encodes probability of the next work, but also encodes which word (amongst a choice of equally probable words) makes the most sense in the token stream.

That's my very shallow understanding of the attention mechanism anyway.
The notation is very "compressed", that's for sure.

On the other hand, manipulating sequences of data and pointers of various kinds is one of the main things you do when programming, and concise notation (especially in a low level programming language) is akin to how mathematicians have concise notation for the most common objects they manipulate in their formulas.
Fascinating article. This has happened to me several times, the most notable of which occurred when I spent an unusual sum of money on a fine Italian shirt for a wedding reception, and everything went crazy after that. I opened my closet one day and I had thousands of dollars of shirts, all of which I wore, but I couldn’t afford. Most of those shirts are gone now, due to their limited shelf life, but as luck would have it, the original Italian shirt was so well made, it’s still in my closet and looks brand new. I’ve worn it and washed it a hundred times and it looks as good as the day I bought it. I’ve never had another shirt like it.
> I'm almost impressed with what people willingly put up with.

I had, in a sense, the opposite experience.

I was discussing in a social circle of mine the reasons why one should avoid as much as possible the upgrade to Windows 11... and I completely failed to persuade anybody.

Non-power users use a very limited subset of O/S functionalities (I'd say that as long as device and applicative support is sufficient, the O/S is essentially transparent to them), so, from their perspective, all those ideological and "weakly concrete" motivations are essentially pointless.

I definitely bothers me ideologically because this is a large scale covert assault (and it will have long term effects), but sadly, to non-power users, it's completely irrelevant.
I decided to switch back to analog headphones that don’t require firmware updates from proprietary apps only available on Android/iOS with tracking built in. You can’t get much simpler than inserting a wire into a jack—and as a bonus with detachable cables they can last over a decade & don’t have batteries I’d have to repair in two years but can’t because of how they’re designed to be e-waste.
Imagine ChatGPT 5 or 6, where it's at the point that it's entirely indistinguishable from a human, by any one of us. At this point AI can mimmic every aspect of being a human: emotions, reasoning, intelligence, memory.

Will you, at that point - which isn't far away - still claim that because it's based on matrix multiplication it can't possibly be doing any of those things and none of the behaviours fooling everyone are actually there?

How something is built does not limit its abilities. Only what something can do limits its abilities.

AI has certain abilities now.

Whether they emerged, were built-in by careful design, or don't even exist and just "seem" to, ultimately isn't even relevant to the most important fact of the matter, which is simply that it has those abilities.

To answer your question more directly, the emergent behaviours I'm seeing are: all of them.

That is, anything it seems to be able to do well enough to be useful and reliable, has emerged.
Oh yes for sure, the fact that Genshin Impact and Fortnite don't work on Linux is actually a point in favor of Linux lol. Many don't see it that way though, sadly.
Hey with Windows integrating GPT-4, they can generate those articles themselves!
>Continuing to use SSH is literally just being obsessed with a backwards old protocol for nostalgia reasons.

This is a good point actually. It's kinda funny how even Microsoft's own GUI IDE uses an underlying ssh protocol with ssh keys that the end user doesn't even need to see or know about.

Now that we're mostly using ssh to push source code, or connect to remote systems, why not just use tls instead? Aside from its general availability, feels like inevitable.
Only tru for those european nations, who hadn't that in their national laws already.
One correction: Go slices also own their memory, so their equivalent would be Zig's `std.ArrayList`. Slices in Zig are just ptr+len, so you will have to manage the underlying memory separately. This makes sense for Zig since it's a lower-level language than Go.
Does that matter? They may have different experiences all together, like what it is like to sustain a billion conversations at once.

I have an understanding of what being in a desert feels like (even though i've not been in one) because I have been in a hot climate, felt sand and been thirsty.

A language model may have read about those things.

They're different, not unequal experiences. If that were not so, reading fiction wouldn't be such a popular hobby.
You can almost see, were the center of gravity of the solar system steers the pot..
> TempleOS is a motorcycle.

> You know what’s pretty crazy? If you lean over on a motorcycle, it crashes. Don’t do that.

‐ Terry A. Davis, https://www.youtube.com/watch?v=Dwgj9UtuDFY
Look how we all live, as if we never die.
I wouldn't call this a slight negative
This article doesn't consider that the IDs might not be randomly distributed.
Too many steps, just release it in nature and it'll end up in a wet market.
But who actually does that? We need billions of people doing that every day to have an effect.
How strange -- I'd never heard of the Diderot effect, but it was exactly the topic of a book I had when I was a kid. It starts with an older couple who are poor, and have shabby worn-out things, but are happy. One day the man breaks his shoelace, so he buys a new one. But then it makes his old shoe look shabby, so he buys new shoes. But then his clothes look shabby, so he buys new clothes. But then his wife feels shabby, so she buys new clothes. But then all their furniture looks shabby, so they buy new furniture. But to buy the new furniture they had to borrow a bunch of money; and of course they can't afford the payments, so everyone comes and takes all the new things away, and they're happy and poor again.

EDIT: Although, according to Wikipedia, the term "Diderot Effect" was coined by a paper published in 1988. I don't remember when I saw the children's book, but must have been published before, or very soon after, that paper was published.
I agree, and you know what else went away when I switched to a whole food diet? My sleep issues. All my life I've suffered from C-PTSD and had terrible sleep patterns. Yet, when I cooked for myself and ate wholesome, organic foods with lots of fruits and veg, I woke up like clockwork, with the sun, and I slept peacefully, all night every night. It was miraculous. Absolutely a miracle.
Sadly there are many more simple minded people like this than people who understand nuance and know that legal doesn't always equal right. Even more terrifying, people like this can vote.
Yes, have been for a while now.
Poor environmental controls?

I hear more about don't drink or even don't shower orders in Michigan and Mississippi etc. than I do in Europe. Also groundwater contaminations like PG&E hexavalent chromium or Palestine vinyl chloride. American culture is quite a thing. Does anywhere else talk about things like the EPA as a New World Order conspiracy or have a political party that is popular because it proudly brags about letting companies pollute more?

Not to mention... the cars. So many cars. Such big cars. And no walking.
LGBTQ+ Bias in GPT-3
That's highly regional and cultural. Few people probably believe the idea you have in your head, but, then, few people are probably espousing it.
Synology NAS Backups with Minimal Bus Factor
On the Risks of Stealing the Decoding Algorithms of Language Models
Why not place actual as the first argument and expected as the second? This matches the way I hand-write asserts like `assert(x == 5)`.
> I see it in a lot of developers

Like "fixing" a problem they don't understand.

I have to wonder if those codes don't reset every day and if there isn't just another digit added as necessary. The author seems sure they aren't unique?

Even if they weren't unique what are the odds the same restaurant had the duplicate at the overlapping pickup time..
Is that an argument that you're trying to make? I can't tell, and don't know what that is or why it would be relevant. It's literally meaningless pseudo-intellectual waffle.
> If I lived in the EU I'd want to know who are proposing this kind of stuff

We all know who these people are.

It's a public discussion.

> and help with anything that gets them far from public and government

It simply means winning the elections at the EU parliament, which, unfortunately for Mullvad, it's not something they will ever be able to do.

Mullvad posts might be popular here on HN, maybe, but they move no more than a few thousands votes in the EU (we are 450 million people).
This depends on where you are. What if the company is paying for the candidate's relocation? That can be quite expensive if it's international. And probationary terms might not be so easy to do in some countries.
> Why isn’t semantic web more popular inside companies?

Because SemWeb doesn't solve any real problem while create a ton of new ones and uses a complex data model. Any company that would benefit from using graphs will be better served using a simpler and more general graph model and database.

SemWeb is nothing more than stringly typed data with an URI fetish.
Was culitho ever a "word in the English language"? Anyways, if it's just about finding a trademark-able sequence of letters that can be done with the restricted latin alphabet used in the English language and keyboard, then there would still be the option of doing what nVidia did in their company name and add an n in front of another consonant, for example:

nCuLitho … I wonder how Spanish-speaking people would like that one. Or maybe that added letter makes it too long anyways and it could be shortened to… nCuLo
What Is ROAS for Mobile Apps？
Thoughts on Svelte
Lazyloading has actually no place in any Framework.
You don't even need to raise it that much. One can implement onlyfans.com business model when their electorate pays to them for access to their cam feeds.