skysight-inc/HackerNews huggingface dataset:
I've used very similar method, at work, to provide C++ "reflection" between my own system and a system from another team.

Basically, the other system is a dynamic library which sends and receives C structures from my application. Those structures are then mapped into a buffer that is supposed to have the same size and there are pointers with metadata pointing into the buffer that are supposed to be exactly like the struct elements. Those structures can have arbitrary complexity, and are passed around through type erasure (essentially char*).

I wrote a "reflection" code for the other team, which runs when they register the struct instance to be sent, checks if there's a matching PDB [0] around, reads it, and outputs a json including the metadata needed, which can then be used to define the structures' metadata on our side correctly.

This is all in C/C++ since in some contexts we have soft real-time requirements, else I would have used any of the many RPC frameworks available.

This has been working for several years now.

This is not a generic solution but it's good enough for in-house communication between 2 systems that are maintained by different parts of the organization, where the API between them, that like I said is based on passing around char* buffers, has been more or less set in stone a long time ago. Conway's law [1] and all that. Sigh.

[0] We are a Windows shop although the same thing should work with DWARF info, same as the OP library works. In fact he says "It may never work on Windows, which does not use DWARF to encode debug info" but I can say that the same approach does work on Windows, for C++ at least. The PDB format might be a tad undocumented, but its documentation has been improved in the last decade or so since I started working on my library. Writing some small test programs is enough to understand how to access it, if all you need is meta info on C-style structures. Other stuff is more... challenging. But it wasn't necessary for my use-case.

[1] https://en.wikipedia.org/wiki/Conway%27s_law
I have zero empathy for “artists”. Art produced for commercial purposes is no art at all, a more apt title for such a job is “asset creator”, and these people are by no means banned from using AI generation tools to make their work easier. Already artists will generate some logo off a prompt that takes a few minutes and charge full price for it. Why cry about it?

I would argue because most AI imagery right now is made for fun and not monetary gains, so it is actually a purer form of art.
> In Rust 1.62.0 we introduced cargo add, a command line utility to add dependencies to your project. Now you can use cargo remove to remove dependencies.

It's only little but I love this addition.
Every year at Christmas, I get a card from a family member with a short, personal hand-written note and a 1-page, generic printed update on how their year has been, usually with some pictures.

This is what I want from a social network.

I want to be able to keep up some regular connection with people I don't see on a regular basis. I want us to remember each other, know about major life events, and have a convenient way to reconnect more personally when that makes sense.

For people I see (or want to talk to) regularly, I'll just send messages or group messages.

For more of the topic-centered type of internet community I may want in my life... well HN already does that perfectly.
It appears to be nothing more than a distributed, append-only log file.

Edit: basically a blockchain implemented in Javascript
Silicon Wall Street: Big tech pushes further into finance
But under this model, the comparisons to human learning don't apply either. What matters is whether the output is transformative - so it's fair to compare the outputs of AI systems to one of the many inputs and say "these are too similar, therefore infringement occurred". It doesn't matter what kind of mixing happened between inputs and outputs, just like it doesn't matter how many Photoshop filters I apply to an image if the result resembles what I started with "too much".
Sorry I missed your comment yesterday! So many things got called out in the PR that I completely forgot about HN :/ You should re-post it in this thread! I really want people not familiar with see what is possible.

Agree on renaming from `webrtc_output` -> `whip_output`! I believe that is done in the current PR?
So you agree that browsers can increase marketshare by adding features?
What's the licensure/legal restriction in using OpenStreetMap aside from including attribution?
Based on the outcome of the 2008 hack, some of vulnerabilities (value stored on card, not remote server) still remain today.

AFC 2.0 has been delayed for many years, this new MIFARE attack vector will remain for a while longer as well.
It had an external docking station with more standard ports, I/O breakout ports to connect accessories like floppy disk drives, built-in modem, and PCMCIA add-in cards.
I hope that we see a comeback.
Courtly Love Can Be Deadly
It had PCMCIA and a kind of parallel port for an external floppy, but this latter was a proprietary connector for which adapters (and I seem to remember also docking stations) existed:

https://en.ysrl.org/butterfly/review.html
I was reading the Psychology of Money, where the author talked about Benjamin Graham, who was a mentor to Buffet, and it mentioned that most of Graham's wealth came from a few stock picks that went against everything he wrote about in the the iconic book, Intelligent Investor.

So it kind of is about luck.
I mean listening to samples on the link above I'd hardly call it music so I'd say you're right.
Related: I enjoyed Maciej Cegłowski’s articles about Antarctica – https://idlewords.com/antarctica/
Until he does, the two aren't equivalent though.
Funny that this should pop up just as I’m reading the illustrated version of “At the Mountains of Madness” (H.P. Lovecraft)…
You can take it any way you like. If you're not interested in hearing, I'm not interested in wasting time collecting the data, only for you to dismiss it with some lame excuse, it's just be a complete waste of time for me - it's impossible to convince a person that decided upfront not to be convinced.
Why would you pick a function that is known to have issues when there are other functions that do the same thing but don't have known issues?

Your comparison is flawed. It's more like if you have a nail and next to it a workbench with two hammers - a good hammer and a not as good hammer. This isn't a hard choice. But for reasons that are unclear to me, people in this thread are insisting on picking the less good hammer and rationalizing why for this specific nail it isn't all that much worse. Just pick the better hammer!
Fair enough.

> If an ecommerce site depended entirely on looking through their catalog with SQL commands, I'd imagine most of the HN community would be able to navigate it (although possibly unhappy with it).

I would love it, and I would switch to that site immediately.

Every time I have to shop for something on-line these days I'm thinking about making a scrapper populating an SQLite database with that site's catalog, because e-commerce UX is insanely bad, and even a simple SQL database browser would be an order of magnitude of improvement.
how about adding this to debuggers for better object-views?
(could it be possible to provide near-js/python/java level of obj view?)
Ask HN: Has computer use atrophied your handwriting?
Decades of computer work as atrophied my handwriting to an embarrassing level. Has this happened to you? If yes, what are you doing to address it? If no, how did you avoid it?
Can they be replaced by Star Trek like doors that go.. TSHHHHHH... ? A friend is asking.
It's a very cold place right...? And a place where energy is insanely expensive because all fuel has to be shipped thousands of miles?

So energy efficiency is paramount.

So why are these doors, even the modern ones, just a few inches thick? I'd expect to see the doors being 6 inch thick foam, and every outdoor door to be a double door (ie. into an entrance room, and another door into the rest of the building, such that only one door is ever open at once, to prevent heat loss).

I'd expect all the walls to be 12 inches thick (with 10 inches of foam) too - and again, this doesn't seem to be the case.
> It was an oddity, but trans was perhaps not the cultural flashpoint like it is now.

That's a wonderful wish, but I don't think it holds up to the evidence.

Off the top of my head:

1. If you watch HBO's Lady and the Dale, you'll see that in the mid 1970s a local reporter was hounding the company not because he suspected fraud. (Apparently the entire company was fradulent.) Nope, he wanted to reveal that Carmichael was really a man who was dressed as a woman. (If someone told me that Eugene Levy's character from Splash was based on this reporter, I'd believe them. :)

That documentary had later commentary from the same reporter (in the 80s/90s, I think)-- still proud that he outed a trans person.

2. Check out Gloria Steinem's mid 70s musings on transgenderism. Her thoughts in a 1977 essay on the subject would be right at home today on the alt-right podcasting space, and there are probably also many HN'ers lurking here who agree whole-heartedly with her anti-trans surgery statements.

Unfortunately, I don't have access to the relevant article ATM, but I'm pretty sure this quote was written in the context of the same anti-trans-surgery chapter-- "If the shoe doesn't fit, must we change the foot?"

The point is-- we're talking about Gloria fucking Steinem! And her non-apology apology to the trans community didn't appear until 2014 or so[1].

The fact that Amazon sells trinkets with the "shoe doesn't fit" phrase tells me that there's probably a lot more anti-trans history that's been swept completely down the memory hole.
Are you suggesting that the concept of a charitable contribution is only for rich people? My understanding and personal experience is that many people benefit from this mechanism, most of them not rich by any local standard.
Generated contents without filtering/validation are worthless.

I predict some kind of testing, validation or ranking be developed to filter out generated contents. Each domain has its own rules - you need to implement validation for code and math, fact checks for text, contrasting the results from multiple solutions for problem solving, and aesthetic scoring for art.

But validation is probably harder than learning to generate in the first place, probably a situation similar to closing the last percent in self driving.
In my experience both are dying in favor of iot/wifi stuff.

Zwave is still strong in the commercial space

ZigBee is strong in the consumer space, especially light bulbs that commercial systems do not want to use.

I'm thinking it'll be longer before zwave dies for real vs zigbee, but it will only live on the back of the big slow commercial entities that back it.
Charge – Blender Open Movie
For small text size Valve will lower a game's rating from Verified to Playable and it will tell you it's playable because the font is too small (although in my experience still readable for me anyways).

With noise it can be about as loud as gaming laptop IME. Not too bad and can easily be drowned out with headphones. However you can often adjust the graphical settings down so it ends up quieter. I usually do that anyways as it improves battery life.
I journal semi regularly using pen and paper though I never really had a great handwriting, but at least, I don't think it has deteriorated.
The previous generation of illustrators got disrupted by digital illustration.

The number of people required to publish a magazine, or to create an ad, went down significantly with digital tools.
Much as I'd like to side with labor here, the companies are probably right. Even if the linchpin is high level and happy, building around a single, irreplaceable employee is not a sound long term strategy.

For all the important contributions Steve Jobs made to Apple when he returned, maybe the least heralded and hardest to implement is that he managed to NOT make himself irreplaceable. To many people's surprise, Apple did not collapse after his retirement and death. So maybe his most genius contribution was not to make Apple dependent on his ongoing genius contributions.
What does neo4j have that networkX or other free graph python packages don’t? I tried using neo4j api from dataiku and it scaled so poorly compared to networkX which was such a breeze and interacted seamlessly with other python objects in the code.
Because SHA1 is faster and that matters if you're hashing several TB of files?

But I don't know for sure that's the case.
Could you suggest a way to do electron-like apps in APPerl?

I'm thinking of serving content on 127.0.0.2. There is no need for a high performance server like nginx, but serving files and having some CGI capability would be a plus.

I'd be interested in suggestions for the HTTP server part and maybe an example for how do serve an index.pl file that reads payload files packaged in the APPerl binary (ex: .js, .jpg)
Why isn't Git using something else? Why go to the trouble of implementing something like that?

I don't mean that as some ridiculing criticism, I just am genuinely puzzled.
Real work is more than making snippets of things. At my last employer, changes were requested every single day, in large and small ways, requiring insane amounts of reworking previous ideas in the codebase on a continuous basis without breaking everything. I wonder how well this AI would do on an entire application that wasn't predetermined. That might take much longer to achieve than solving small problems.

I imagine an AI in that kind of environment inventing Skynet and doing us all in.
Show HN: react-visual-grid, a powerful image grid with in-built virtualization
Disclaimer: I'm taking care of finance at Mastodon

Appreciate Mastodon comes to mind here.

I disagree with the second part regarding product not being the right term. Take Mastodon as an example: Mastodon is a non-profit LLC and an FOSS software but its community as well as the LLC clearly _produce_ something users are using.
Insane in the best possible meaning of the word. Man, that is so cool.

In my opinion AOC is a very good example for "if all you have is a hammer". For AOC you don't need to write a program that finds a solution for any possible input, you need a calculator to compute the solution for your input. This is such a calculator, and a very nice one.

Suggestion: Flip the assignment operator. You keep writing an expression left to right, but then you have to scroll all the way back to the left to make a variable. This could be streamlined by making it e. g. "EXPR -> VAR_NAME" instead of "*VAR_NAME EXPR".

Why don't you make a Show HN submission? I'd upvote you. :)
Why?

As a single data point, if US had gave me the F1 visa three years ago, I would have been studying at Princeton for PhD for 3 years. Out of my bad feeling of the CCP goverment, I'm with a strong desire of acquiring US PR or citizenship after graduation, and I'm pretty sure that I'll do more good than harm to the US.

The US decided it does not want me, after waiting for the "Administrative Processing" for a year, I went to the Europe with a brand new world view and future plan. While being relatively successful in the study, returning to China for future career reappeared in my list of options.
But why ? Why would you expose your entire real life social circle to the internet?
Strict etymology is not the best way to understand a word.

Video here makes sense in a few ways, particularly because it's all but certain that what will be viewed is a digital scan and not a projection and because the audience may be more familiar with the word. However, in a professional or technical context, video always refers to electronic movies and is not used when the medium is film. For example, when you say a movie was shot on video, then you are saying it was not recorded on film.
Amazon will publish the next Tomb Raider game
OpenStreetMap collects data via volunteers entering information about their neighborhoods but there is also government generated data from surveys so I think they aim to automate combining the two in a unified open source format.
I'm not looking forward to cleaning my house battery's litter box.
Collectively, sure. How did that go for the people who's livelihoods got replaced though? I've had family members be forced to change careers from white-collar work after being laid off and unable to find engineering jobs due to people decades younger taking them all nearby. I saw firsthand the unbelievable amount of stress and depression they went through, and it took them years to accept that their previous life and career were gone.

"It'll massively suck for you, but don't worry, it'll be better for everyone else" is little comfort for most of us
> Do you think superstar athletes like getting in the weight room and doing cardio everyday?

Cardio eventually feels good. The physical response to working out is endorphines which make our monkey brains feel good after.

Mentally exhausting work on the other hand is far more delayed than that.

> "Oh I don't feel like getting firewood or hunting today" - Dead Caveman

Both of those have both immediate and delayed rewards.
I’m thinking about the people who use SD commercially. There’s a transitive aspect to this that upsets people. If it’s unacceptable for a company to profit off your work without compensating you or asking for your permission, then it doesn’t become suddenly acceptable if some third party hands your work to the company.

Ideally we’d see something opt-in to decide exactly how much you have to give back, and how much you have to constrain your own downstream users. And in fact we do see that. We have copyleft licenses for tons of code and media released to the public (e.g. GPL, CC-BY-SA NC, etc). It lets you define how someone can use your stuff without talking to you, and lays out the parameters for exactly how/whether you have to give back.
What I find interesting is how people literally cannot see any alternative besides, "This is just the way capitalism works", which implicitly acknowledges "capitalism is the only way it can work".
They do sometimes, or at least they used to. I have some (very limited) visual art training, and one of the things I/we did in class was manually mash up already existing works. In my case I smushed the Persistence of Memory and the Arnolfini portrait. It was pretty clear copycat; the work was divided into squares and I poorly replicated the Arnolfini Portrait from square to square.
Thanks for the reply. I'll flesh out my thought process in case it's helpful. My immediate reaction was excitement about the abstraction. An example use case is joining my users to their corresponding Stripe Customers in SQL. The kinds of queries I can reasonably write depend on implementation details of the connector. For example, if Stripe has a bulk customer lookup (list of customer IDs -> Customers), and the connector uses it, I can estimate I'd be able to query on the order of 500 Users at a time in a performant way. But if the API only supports looking up one customer at a time, that 500 User query kicks off 500 API requests, which isn't going to work.

You're right -- it's not unexpected -- maybe more like a leaky abstraction.
I'm using no cloud Zigbee home automation. Seems to be very reliable and has really great range thanks to the mesh networking. It's also really simple.

Zigbee allows using multiple vendors with ease, not tied to just one manufacturer.

Again, no internet connection required.
In Typescript, i normally just allow interface to be dependencies between layers. (API, command line programs,..) -> (Services) -> (Database).
That seems sensible too. What then do you make of Carlos' quote there from 1979? Maybe not even true for her as she was saying it? (why might she have said it then?) Or she somehow had very unusual experience? (for unclear reasons?) Other? Who knows, but you don't think it was an accurate or representative thing to say?
A key difference is someone with some prompt-writing skills and a tiny amount of aesthetic taste can now compete with trained artists who actually know how to create such images from scratch. Sally in Sales and Tom in Accounting can also do art as part of their job, whenever it calls for art. And copy-writing, et c. Or will be able to in the near future. Fewer dedicated artists, fewer dedicated writers, and so on. One artist can do the work of ten, and almost anyone in the office can pinch-hit to do a little art or writing here and there (by which I mean, tell a computer to make some art, then select which of that art is best).
A good "tiling helper" is Rectangle Pro. The basic version does enough, but the paid one is a game changer.
The quote was pointing only 7% of respondents in that age range say they think it’s true rather than think it’s either likely, possible, or false.
Abstract:
On completing the 3-month intervention plus 3-month follow-up, 47.2% (17/36) of participants achieved diabetes remission in the CMNT group, whereas only 2.8% (1/36) of individuals achieved remission in the control group (odds ratio 31.32; 95% CI, 2.39-121.07; P < 0.0001). The mean body weight of participants in the CMNT group was reduced by 5.93 kg (SD 2.47) compared to 0.27 kg (1.43) in the control group. After the 12-month follow-up, 44.4% (16/36) of the participants achieved sustained remission, with an HbA1c level of 6.33% (SD 0.87). The medication costs of the CMNT group were 77.22% lower than those of the control group (60.4/month vs 265.1/month).

CMNT = Chinese Medical Nutrition Therapy. That's a little confusing since "Chinese Medical Nutrition Therapy" isn't about intermittent fasting, which is in the title. The same group defines CMNT elsewhere as "Medicine food homologous plants and wholegrains".

So it's hard to tell if it's the food or the fasting that is helping here, or if you have to do both to get the full effect. Certainly whole grains are good for you. I don't know what "medical homologous" foods are without paying for the article, but any controlled diet is likely to be better than "just eat whatever crap got you Type 2 Diabetes in the first place."
Inaccuracies and political interests behind Project Pegasus
Neuralink blocks your path.
That's fine and all (I make heavy use of this — always miss it on Windows), but it's a workaround to a legitimately inferior UX decision.

It's similar to when early Dell XPS's would overheat when gaming with the monitor open, because the monitor itself would block the sole exhaust vent. The workaround then was to attach an external monitor and keep the laptop screen at 45 degrees.
> This is a rather strange thing to bolt onto a language. I could see this as an external tool.

It is an external tool. This is a crate, not a part of the compiler.
But it should be labeled frankly

"Friend" should be labeled "Manipulate"

"Follow" should be labeled "Stalk"
"Uh oh! Servers are behind, scaling up..." - havent' been able to get past that yet. Anyone getting new output?

This is already better than most techno. I can see DJs using this, typing away.
Minor nitpick: Ms. Chalmers did not make tractors. Two dudes named Allis and Chalmers did.
Using Neovim as a Java IDE
Like this: https://nypost.com/2022/12/04/nypd-says-3-people-attacked-wi... ?
"I want to have as much as money I can hold legally by WHATEVER means." Charity? What's that?
In the end there was the word.
Depending on the pool of course, but 50th percentile is pretty poor in a programming challenge.
I've used multiple names for similar packages incl. `models` and `schemas`. :-)
Yes, for this example, I picked `models` to follow Pydantic's terminology.

IMO, the FastAPI approach you described makes a lot of sense:
The "schema" stored in the db and the "schema" returned by the API aren't the same, but they are quite similar. They have many common properties => They can often have a common base class.
It's a legacy type of windows executable that it uses as part of its multi-OS trick, and other OSes don't care about that extension.