skysight-inc/HackerNews huggingface dataset:
It's pretty simple no, the model that is reasonable and antifragile is within our grasp, a model that includes degrees of error more than it reifies hewing towards 0 carrying costs. It's more the good will and good faith across the board to use that known simple math, as sneaky monkey minds in our midst see that if they defect they can win some edge in the short term (and again, a better model shows the true utility and total harmed effect) and then it's a race to the bottom and a world of basically the prisoners dilemma. Making that thinking anathema in human culture should be the focus. I don't know that a grass roots effort could out-compete existing networks of power and influence, nor that a total reset of players is possible either.
> And likely won't even do that anymore if Nov 5 goes to Trump

Lol you post was quite reasonable until that reveal.
I just rewrote https://hackyournews.com/ for its first birthday and am trying to optimize its performance and extend the different sites it can work with, beyond HN.
Build times always were my biggest Scala complaint. Arguably code base specific, as I suspect it had a lot to do with all the macros and type level metaprogramming, but, if that kind of thing is possible and customary, an average working programmer who doesn't control the codebase they show up to is going to end up stuck dealing with it.

It's a lot easier to build a language that works great, but only in the hands of a single skilled careful owner, than a language that stands up to the abuse of many careless temporary users, and still gets from point A to point B reliably.

Like the difference between a sportscar and a rental company or police fleet sedan.

Scala was a porsche, but most of us need camrys.
Maybe the root problems are HTML and its browsers. Or more exactly: the fact HTML is about documents. Everything done to make apps from it are hacks.

What would be really needed is an open application format standard and a protocol to share it and maybe interact with it. And open source clients able to run those applications.
Yes, indeed. Now, does GA's sample actually have significant bias? If it does, then showing the practical effects should be easy for experts at a competing company, don't you too think so?
>There is no shortage of labor, but a shortage of people willing to work at the wages on offer for the job.

I wonder if this is a self fulfilling cycle. I mean if migrant labor and automation were unavailable would we close all the farms and starve to death because labour costs are too high? Or would we increase farm wages and pay the higher food prices if that's the outcome.

It seems to me that the low wages on offer for farm work are a result of so many farms utilizing migrant labour and driving down wages in that sector. And if that option was unavailable we would probably have higher wages in the sector and more people developing expertise in farm work. It would likely also solve the problem of struggling rural economies.
I don’t see how this can be true in the limit. If you are a women and burn > 2000 calories exercising then surely your total will be higher than the sedentary total of 1900 calories :).
not gp bot first time seeing this encore ts.

i've been a user of uwebsockets.js, uwebsockets is used underneath by bun.

i hope encore does benchmark compared to encore, uwsjs, bun, and fastify.

express is just so damn slow.

https://github.com/uNetworking/uWebSockets.js
Most people cannot accurately draw a bicycle.
It’s a highly inefficient writing system, that’s why it was godly that Korea moved away from it with Hangul.
> the only imperative superior to ideology is survival

I think it's more that well-meaning ideologues are easily replaced by self-serving pragmatists in post-revolutionary turmoil. There were plenty of Marxists in Russia vying for power, in the early days. Lenin didn't win based on ideological purity; he won based on political strength. And say what you will about Lenin—he did have beliefs and he did have a real ideology. Stalin only cared about Stalin, and he claimed to believe whatever was convenient for him in the moment.
Faithful and Sound Reasoning on Knowledge Graphs
Horace Walpole's "The Castle of Otranto" is a ridiculously fun book. Very short, and stuffed with melodrama. My copy has an excellent introduction to Gothic architecture, literature, and politics by Nick Groom, which goes much deeper than this article.
I should have stated explicitly that the fallacy was selection bias. I agree with what you wrote though.
Platform team challenges, realigning on DevEx, and change management
Mid late thirties. I still don’t get healthcare despite being unemployed for over a year bc it’s horrifically expensive for doing effectively absolutely nothing for me as a relatively healthy person. I can appreciate it’s different but will also mention that something like 20% of dems in the house still voted against the ACA. Obviously things have changed but my original point is about the ends justifying the means on both sides, and both sides use the same means
I generally lose 1 kilo a day on bikepacking trips (or 100 km every three or four days). No yo-yo effect.
That's fair. Also a lot of "our great-grandparents were friends, so I implicitly trust that we are also friends".

But what about the suburbs destroys that? Or, would it be more accurate to say that those who already don't have connections have a preference towards living in suburbs? Perhaps that is where they feel most at home?
Neat. There's a lot of hand rolled implementations of this idea, would be nice to have something to standardize on. I am sure it can be done with custom templates but a good idea IMO might be supporting declarations using SPDX IDs. You see them in some source code, e.g. KDE source code. More info here:

https://spdx.dev/learn/handling-license-info/

For anyone wondering if this (license information in source files) is necessary, I think the answer is "maybe". Some licenses (e.g. Apache 2) seem to be written such that the license itself requires the disclaimer, and even having copyright information (e.g. users that make substantial contribution adding the name of whoever is assigned the copyright for their contribution to the header) is a good idea. I used to be against this for aesthetic reasons, viewing it somewhat similarly to those annoying corporate email footers, but over time it's become more obvious to me that it not only is great for keeping the license very explicit everywhere but may also be legally a good idea. (IANAL.)
I've done that a couple of times and completely agreed. One time I sat in the dining car right next to a retired realtor who told me a whole lot about real estate in Los Angeles. (Unfortunately I forgot most of it because at that time I was a renter and haven't bought any properties yet.) Another time I was sitting next to a frail-looking grandma assisted by her granddaughter. The grandma was very talkative and told me a lot of memories from the AIDS epidemic in the 1980s.
Thank you! Just used this to clear away a load of tabs.

Some gripes:

I wish I could just use it standalone without it replacing the "new tab" page.

I wish I could view the full title of a tab, maybe on hover.

I only want to use it to manage tabs, not history or bookmarks, so I wish I didn't have to grant those permissions.
Firestore: Point-in-time recovery (PITR) overview
Capitalism is a fantastic solution to the problem of biological wants and physical limitations.

But that does not really change the issue that you need about 1:1 caregiver per child. It just means you get them much more effectively than any other system.
What does HN think? Too trival to be useful? I commonly use an exception handling method like this in my projects.
I feel this as well, and increasingly as I get older. It drives me to simplify my office over and over, or at least add storage elements that can hide clutter.
Our dystopian future visions for AR always include an extreme visual chaos of ads — maybe the killer app future for AR is actually to remove extraneous visual noise, much like noise-cancelling headphones.
A video explanation (where I originally found the paper): https://www.youtube.com/watch?v=LOF6fvV5XUc
Show HN: Parseflow – Automate data extraction from documents
Hi HN,

I've been in software engineering for over 10 years and I'm excited to share my latest project, Parseflow (https://parseflow.io). It's a AI data automation platform designed to simplify data extraction from documents and integrate it effortlessly with your go-to applications.

Parseflow can handle a variety of document types, including PDFs, images, and scanned documents. This means you can easily extract data from invoices, receipts, contracts, and more. Once you've extracted the data, you can integrate it with a variety of applications, including Google Sheets, QuickBooks, Slack and 3000+ more through Zapier. This makes it easy to automate tasks and workflows that would otherwise be manual.

Parseflow is free to use with a limited number of credits, so you can try it out for yourself and see how it can help you automate your data extraction tasks.

Feel free to reach out to me at dev@parseflow.io if you have any questions regarding your specific use case. We're happy to help you explore how Parseflow can help you!

Looking for feedback on:
• What do you think of the idea?
• Do you do data extraction? If so, do you do it manually or via a similar service?
• What is your use case?
> When literally googling your question is more reliable than asking your 'doctor', something is in need of fixing

Google can't administer vaccines. It also can't fill out a chart that might be important in an emergency.
This can work the other way as well. On many occasions if I ate really, really poorly, I would wake up the next morning drenched in sweat. My body would turn up things up to try and burn off what I did. The body does a decent job of trying to maintain where you’re at (within reason). If it didn’t very minor things could compound into drastic effects over time.

Of course I noticed this, relied on it too much, and pushed past the limits of what it could handle. Oops.
What could we do to increase our chances of lasting 1M years? I think it’s a useful thought experiment for thinking about what we could change to increase our chances.

I do disagree with you though and think humans are like cockroaches now and there is a 0% chance of exterminating every last one of us and that’s a good thing. Nature had its chance at several bottlenecks in the past and failed.

>One of the greatest human bottlenecks occurred between 930,000 and 813,000 years ago, when the human population was reduced to about 1,280 breeding individuals for 117,000 years. This bottleneck may have brought human ancestors close to extinction.

https://www.science.org/doi/10.1126/science.abq7487
I'm currently (and have been for a few weeks now) building a self-hosted Git "forge", à la Gogs/Gitea/etc.

The main motivation for this is that I usually juggle many side projects at the same time, and since none of them are in a finished state, I don't really feel like putting them out in the open on GitHub or Codeberg or something else, and would really like to keep all of this experimentation private. I know GitHub provides free private repositories, but I really dislike the interface and I feel like most of the features offered are not for me.

I tried running a private Gitea instance, but I did not like having to manage a second software to be able to run CI pipelines on my repositories (like Drone). I also really dislike GitHub Actions so I was kind of disappointed that Gitea's integrated CI is based on it.

I also tried running a Gitlab instance (which is currently what I use) as I much prefer GitLab CI over GH Actions, but the whole package is so much of a resource hog and tries so hard to be "more than GitHub" that I feel it isn't for me either.

So, in the end, I decided that I would build my own platform, with a simple scope in mind: be a nice Git repository hosting solution for single hackers or very small teams. Along with the smaller scope, I added a few restrictions: no JavaScript unless it substantially improves QoL (and even then, never require JS for the website to work), no external components required (apart from OpenSSH and Git).

So far I have a very minimal SSH handler implementation that allows push/pulling repositories from the server through authenticated SSH (public key), and what's starting to become a nice web interface to manage and read all of that. It's almost at the point where I will soon be able to dogfood the platform by hosting itself there (as a backup remote, not the primary yet).

The tech stack is kept relatively simple on purpose (I really dislike "modern" front-end development):

* Rust + Axum

* SQLite

* Bootstrap with SASS to customize it

* libgit2

Everything is server-side rendered as HTML before being served to the client, using Minijinja (reimplementation of Jinja2 in/for Rust by the same author).

Anyway, not yet ready to share any links or anything but I am still excited about the project taking shape after weeks/months of sporadic work on it! I'm building this not only because I feel a need for it, but also to learn more about Rust and Git internals, and I feel like I've learned a ton already!
So of those 2k calories the average human body needs to sustain itself, only a fraction of it, or none at all, is needed to perform many hours of physical labor. This means physical labor done by humans is cheap or free.
What about all the "consensus" about red meat being bad and that it must be avoided at all cost?
Kudos for something that I wish existed before I bought my M3.

FWIW, with the re-introduced SD card slot and slimline SD holders, you can easily add 512GB to 1TB of decent-speed attached storage for larger files/backups/source, etc.

I like this solution here, however, as buying a base-level 256GB MBP will probably make up for the cost of the post-purchase surgery.

It looks like their store is here: https://www.tindie.com/stores/iboffrcc/

A rough demo of what a different model looks like: https://iboffrcc.com/pages/-guide-solder-nvme-to-your-macboo...

From what I can see, they rescue PCIe signals from the existing NAND controller.
The article doesn't mention that death, especially childhood dead, was far more common in the medieval and Victorian European era than it is today. A couple with six children could expect half those children to die of infectious disease before reaching puberty, and there was also a significant probability of the mother dying due to pregnancy-related issues over that period.

I'd assume Gothic architecture and religious design of the era reflects that grim aspect of life in that period, which is something relatively few families suffer today due to modern medicine. Looking back it's not surprising it seems spooky and dark.
just in case you're interested, Julia does (now) have tools similar to what you're describing, although of course there are still be lots of possible improvements to be made w.r.t. their UX to make these tools more reliable and easier to use

in particular @assert_type_stable and @assert_doesn't_error is largely provided by JET.jl and the effects system, and @assert_doesn't_allocate is (at least partially) provided in AllocCheck.jl
> Is there an equivalently easy way to expose a native interface from C to JS as the example in the post?

Yes, for most languages. For example, in Zig (https://ziglang.org/documentation/master/#WebAssembly) or in C (https://developer.mozilla.org/en-US/docs/WebAssembly/C_to_Wa...)

> Relatedly, is it as easy to generate a QR code in C as it is in Rust (11 LoC)?

Yes, there are plenty of easy to use QR-code libraries available, for pretty much every relevant language. Buffer in, buffer out.
> We let other countries rent seek from our companies way too much

This is one of the most hilarious, out of touch statements I've ever heard.

Our companies are the rent-seekers.

When Chevron goes to South America and harvests oil, giving them only 10% of the revenue (despite it being their oil!) and then leaves hundreds of billions of US dollars in environmental damage, what do you call that?

That's 1 example. Our companies constantly go to poorer, more corrupt countires with the sole intention of exploitation. Whether that be borderline slave labor or stealing resources. Because those places are so poor, we often give them pennies on the dollar and call it a day. I mean, why the fuck not sell HIV infected medicine to Africa? (yes, real, and yes, knowingly).

And the best part? When those companies inevitably cause crimes against humanity, there's no recourse. The companies scatter like cockroaches in the light. Good luck suing them in US court. We'd sooner suck our own dicks than admit poisoning the Amazon is kind of bad.
(Caveat: I am not a car guy at all, never owned one)

In the US, most trucks sold do very little hauling, towing, or off-reading or anything else that might justify the giant form factor.

https://www.thedrive.com/news/26907/you-dont-need-a-full-siz...

And yet, trucks and SUVs are the best-selling cars in the US, and have been for a long time. There is a weird loophole for fuel efficiency in mileage standards for large vehicles, but obviously that doesn’t apply to the Cybertruck. There is definitely some psychological appeal to having a very dominant-looking vehicle.

So just as a business move, the Cybertruck makes sense. But there’s more overlap with Musk’s politics than you might think.

I read a book a long time ago by this very weird product marketer Clotaire Rapaille, who, several decades ago, was trying to convince executives to put a gun mount on an SUV. His argument was his research showed that the people who loved big cars saw the world as dangerous, and had fantasies of cutting through the hordes with a powerful vehicle. Rapaille’s methods are somewhere between the usual consumer panel interviews and guided meditation, so it’s hardly scientific, maybe more like poetry, but I found it compelling.

Musk actually tried to demonstrate the Cybertruck’s resistance to guns and sledgehammers. Its actual durability is, I gather, more debatable, but he was definitely trying to reach people’s darkest fears and impulses.
I don't really understand this argument, and it isn't the first time I've heard it. What problem other than name squatting does it solve?

How does a Java style com.foo.bar or Golang style URL help e.g. mitigate supply chain attacks? For Golang, if you search pkg.go.dev for "jwt" there's 8 packages named that. I'm not sure how they are sorted; it doesn't seem to be by import count. Yes, you can see the URL directly, but crates.io also shows the maintainers. Is "github.com/golang-jwt/jwt/v5" "better" than "golang.org/x/oauth2/jwt"? Hard to say at a glance.

On the flip side, there have been several instances where Cargo packages were started by an individual, but later moved to a team or adopted. The GitHub project may be transferred, but the name stays the same. This generally seems good.

I honestly can't quite see what the issue is, but I have been wrong many a time before.
If it is static content why have a database at all?
I like piggy backing off the target app using Frida -- https://frida.re/
It might be surprising but, in terms of written words, sneeze (喷嚏) is not "basic".
Cranelift's reason for using e-graphs is, in my view, that Rust sucks.

Seriously.

Consider the slides here, particularly slides 27-30: https://cfallin.org/pubs/egraphs2023_aegraphs_slides.pdf

They show code for pattern matching IR in their Rust code, and it's awful. I think it's because they can't just have an IR with pointers, because that would violate Rust's rules. So, they need to call goofy helpers to deconstruct the IR. Consequently, a super simple rewrite rule ends up being a full page of gnarly code. That code would be less than half as long, and much easier to parse, if it was in LLVM IR or B3 IR or any other sensible C++ IR.

Then they show that the egraph rule is "simple". It's certainly shorter than C++ code. But while it is conceptually simpler than their Rust code, it is no conceptually simpler than the same rewrite written in C++. The C++ code for rewrites in either LLVM or B3 is not that much more verbose than the egraph rule, but in a way that makes it easy to understand. Plus, it's code, so it can call any API in the compiler and do any logic it likes - making it inherently more flexible than an egraph.

So, if they had used a sensible programming language to write their compiler then they wouldn't have needed egraphs as an escape hatch from how bad Rust is.

And the phase ordering argument for e-graphs is baloney because:

- Their example of alias analysis, GVN, and RLE assumes the strawman that you put those things in separate phases. Most compilers don't. LLVM does alias analysis on demand and combines GVN and RLE. Ditto in B3.

- The difficulty of phase ordering in LLVM's pass builders (and in any pipeline I've ever worked on) is that you've got passes that are not expressible as egraphs. Until someone can demonstrate an egraph based inliner, SCCP, SROA, coroutine lowerings, and heck an egraph-based FilPizlonator (the pass I use in the Fil-C version of clang to make it memory safe), then you'll be left with those passes having to run the classic way and then you'll still have phase ordering problems.
Link to paper (PDF): https://pmc.ncbi.nlm.nih.gov/articles/PMC3405064/pdf/pone.00...
> This paradox challenges the common belief that more exercise equates to more calories burned and consequently, more weight loss.

This is pretty obvious if you have ever done strength training/tried to lose weight. Working out makes you really hungry. It is a lot easier to lose weight while not exercising just by only eating when you are hungry, and not eating garbage. I've heard it called "inuitive eating".

This is also why I personally don't believe in bulking. You should just hit your macros and try to progress naturally. If you do cycles of cutting and bulking you are really just making your progress inconsistent and fucking up your digestive tract. Controversial opinion I know.
Interesting. I've been exploring this space too, but for a LLM-driven MUD (multiplayer text-based game). The most challenging aspect is coming up with an architecture that can easily lend itself to handling "semantic collisions" in a multiplayer context, pretty much like non-neural game engines handle spaceship collisions, or prevent a player from entering a box if another player is in it, but going beyond and handling more abstract, more "semantic" aspects, such as narrative elements.

By the way you should get interested in "narratology" at large. There are benefits to driving the LLM generation with an explicit representation of the narrative structure. For instance if the bad guy turns out to be the good guy, then, narrative logic demands that the good guy was the bad guy all along. As a consequence, appearance and deceit should be keystones values of the hero's arch. There are many interdisciplinary approaches to this domain, some more naturalist/empirical such as trope databses, some theoretical like 70s semiotics while some other framework approach the problem from the perspective of cognition and entropy.

Even though I haven't really started coding anything, this is a very interesting topic to think about because of the technical challenges it raises as well as the scope of the project. Any papers exposing new LLM use and prompting techniques is of potential interest to me now.

It is a wide space
> Is it? That's pretty normal in my part of the US

Are you in a state with a shortage of PCPs [1]? If so, yes. But most Americans aren't in those states, and in at least a few of them the harm is closer to a political choice than an oversight.

[1] https://www.beckershospitalreview.com/rankings-and-ratings/s...
Exactly. Nobody is saying to min-max from the start - just be a bit more thoughtful and use the right tools for the job in general.