skysight-inc/HackerNews huggingface dataset:
Correct me if I'm wrong, but the percentages on page 25 are lower then what you listed?

Out of Bounds Reads => 10.1%;

Out of Bounds Writes => 34%;

Null-Ptr Deref => 4.6%;

Type Confusion => 0.9%

Uninitialized Pointer Access => 0.9%

Use-After-Free => 2.8%;

Memory Leaks => 0.9%;

The most staggering statistic is the out of bounds writes. C23 added variably-modified types which helps [1], but I hope future revisions of C consider adding slices. I quite like Zig slices where a "slice" can be constructed from any pointer+length pair.

[1] https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2778.pdf
That sounds perfectly healthy
HN titles don't need to be completely unambiguous or self-explanatory, it's ok to have to click on a thing to figure out what it is.

https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...
This is something you really shouldn’t spend any cycles worrying about.
Do what it’s worth supabase definitely feels slow to me. Neon, in contrast, feels lightning fast for my workloads.
Show HN: AI-driven guest research assistant for podcast hosts
Hey Hacker News community!

3 years ago, I launched my first SaaS product, Shoutout, and I am forever grateful to y'all for supporting me massively. Fast forward to today, I won awards, grew it to $30k ARR, sold it, and am now launching another one. Not sure why, but I'm incredibly nervous and excited, so let's get into it

Introducing GuestLab

As a podcaster who shipped more than 100+ episodes, I spend hours and hours doing guest research(it's exhausting sometimes ). After going through this every week, I thought about building a simple AI-powered solution that could save a lot of time. That's how GuestLab is born

6 months ago, I simply launched a landing page, got 300+ ppl on the waitlist, and started collaborating with my co-founder Mubs to build the MVP. Since then, many podcasters like Lenny Rachitsky, Arvid Kahl, and Justin Jackson have used it, given feedback, and shaped the current product

Today, Mubs and I are pumped to bring GuestLab to the Hacker News community!

GuestLab is an AI-driven guest research assistant built and designed exclusively for podcasters.

How does it work?
Simply drop your guest's LinkedIn profile
Add custom inputs like episode theme, guest persona, and target audience
Hit generate and sit back

Based on the guest's LinkedIn activity and your custom inputs, GuestLab AI will instantly generate a well-crafted intro, insights about the guest, 10 interesting topics, and 20 insightful questions

Bonus feature: Once the research is generated, you can export it to PDF - this is my favorite feature as I can send it to the guest for review or directly print it out for the interview

What's next: We are grateful to have paying customers and have launched it here on Product Hunt last week Based on the feedback we got, we are working on adding YouTube as a source and cooking many more features!

Lastly, we're offering a 20% discount on all plans to show our gratitude to the community. Use HN20OFF at checkout

Mubs and I are here to answer any questions; we are pumped to hear what you think about GuestLab - Hit us with your feedback in the comments
The aviators might say - a good landing is one you walk away from.

How exactly do you define a successful landing? What if you're upright but all four legs collapsed and the spacecraft crushed your primary science payload?
Hi! Author here! - I think I agree with the general point you're making. To elaborate: I've actually written about the underlying inflation mechanism (May 10, 2023 - (Un)intuitive Inflation).

The main model used by central banks for modelling inflation is the New-Keynesian Model. This model explains that the rate of inflation is related to the level (sic) of real marginal costs, desired (Note: not realized) mark-up (profit margin) and inflation expectations. The main element through which wages feed through to inflation is the real marginal cost. However, if current wages are below pre-pandemic real wages (which for many still are), then real marginal cost is lower, thus pushing the inflation rate down below the 2% inflation target.

During the 2021-23 inflation surge, the supply shock and bottlenecks created significantly pushed up the real marginal cost of production (things like over-time, things like it taking to produce longer than before due to supply delays etc). This has reverted bringing back down the level of real marginal cost. Which is why we are close to the 2% inflation target.

The mechanism regarding price setting - between firms and workers - is actually really nicely put by a recent Werning and Lorenzoni paper - Inflation is Conflict. Interestingly, they are capable to generate a theoretical result where we have inflation with no money! Meaning there is no monetary policy.
At some point you just have to accept that if an employer really, really, really insists on paying you to do nothing while they prevent you from using a vital tool they issued you... well, that must be what they want. They're paying the bills and are in control of that entire chain of decision-making, after all. Let 'em pay for it if that's what they want.
They have paid themselves out already and will declare bankruptcy.
> I need some sort of indication as to what states are worth looking at. Those are commits.

I would welcome some tool that could guess/infer where some commit points should be, even if I didn't explicitly commit at those points. I often tend to jump about between files when debugging/tracing a problem, making some changes here and there, then... when it's fixed... I don't always have a good frame of mind to commit as cleanly as I'd like. Something that could try to group changes together - by function, or type of change, etc - and propose those commits would be helpful. I've not tried some of the coding AI tools in that respect - maybe they do that now? I've only ever read about "they can write good commit messages for you!" as a selling point.
Paying someone to break the rules still makes you culpable.
1080p - that's a non starter for me.
Thank you. Your project looks really neat! Let me know if we can ever collaborate. More great services for photographers in the world is always a great thing, especially if they avoid lock-in.
This is why for my Mac needs I have a cheaper Mini. If I'm going to have to be stuck with 8GB or pay insane markups for 16gb, I'll get the 8GB Mini, and only do the purely Mac-centric stuff on it to minimize pain.
If it is the US website I'm just asking where the international english website is I guess. Choosing UK or South Africa doesn't make the inch go away.

This is totally fine for companies targeting US domestic markets I guess but I suspect Apple sees itself as an international company and they should have the budget for proper internationalization.

Maybe they just don't care for people to know how thin the Air is, but the number of search results for 'thin' on the page let's me think otherwise.
I agree with you, but interestingly everything wrong with touch Macs is present in the Vision Pro, and without the benefit of touching glass.

Oh wow, I wrote that before even reading the article.
The way I handle this is to have a cronjob on the router that automatically resets the (virtual) interface when it can't successfully ping the modem.
> In Ubicloud’s case, enabling flowtables just took seven lines of code!

Could have been six lines by combining these two lines:

ip protocol tcp counter flow offload @ubi_flowtable
ip protocol udp counter flow offload @ubi_flowtable

into:

meta l4proto { tcp, udp } flow offload @ubi_flowtable

Also, their changes only work for IPv4. The above would work for both IPv4 and IPv6.
I was a teen in the 2000s and in my cultural sphere they weren't considered cringey at all (in fact, in 2000s UK we didn't really have a concept of cringe like we have today)
No 1099's... So it is still as lame as the "free" versions from intuit et al.

Only improvement from "free" intuit scam seems to be the income restriction is above the poverty line this time.
Why is # of countries or # of people important?

It's the total spending dollars that's important. By using US customary units, you get 25% of the world GDP in one easy-to-do-business-with entity.
Preservation isn't a matter of flipping a light switch on the moment a console isn't "current" anymore. The Switch came out in 2017 - that's a long time ago. If not for people preserving firmware updates and 1.0 builds of games, emulator developers and users would have nothing to start from when they start development on an emulator from scratch in ~2025 like you suggest doing.
Though, Java's stream API is not suitable for use with typical functional programming idioms the way that LINQ is. In my opinion, no code that touches it should be considered functional.

That's a big part of why Scala and Kotlin code tends to avoid it.
Java
As
Viable
Alernative
It would need to be an historic backorder to make me switch from e.g. STM32 to like a C2000. Or honestly from an STM32F to STM32H.

For those how don't know, its very rare for a production device to use a socket for its MCU. Most MCUs don't even come in packages that support sockets. They're always soldered in. So unless you're switching to another MCU whose pinout, external clock, and power supply requirements are close enough that the hardware change is really just a BOM change, switching MCUs in case of a shortage is not a realistic option. Reportedly, some manufacturers were buying entire washing machines during the height of the chip shortage, just to de-solder the machines' MCUs and use them in their own products. That that is the better option should tell you how painful changing MCUs can be.

And that's to say nothing about porting the firmware, which may, or may not, be trivial.
Temperature 1 - It answered 1 sister:

https://i.imgur.com/7gI1Vc9.png

Temperature 0 - it answered 0 sisters:

https://i.imgur.com/iPD8Wfp.png
That all sounds fantastic!
There is really significant convergent evolution between x64 and amdgpu. An x64 core running two threads is very like a gpu core running four threads from a stack of a hundred or so.

One speculates to hide memory latency, the other shuffles threads between cycles to hide memory latency. One has ~64 byte wide vector ops, one has ~256 byte wide vector ops.

I have a pet theory that the significant difference is the cache coherency model.
Bizarrely still unavailable in Canada. Even Google has stepped back the strange Canada-reluctance, I can get any version of Gemini since the last release. But somehow Anthropic can't figure out how to get Canada onto the list of ~88 supported countries: https://www.anthropic.com/claude-ai-locations
I had in mind the sort of networking/software people that I imagine read hackernews these days, not the overall people in the world, nor the overall population of MBAs/business people. There was a lot of idealism, among the people writing drivers and servers, and plugging in wires to enable the connections, that connecting the world would be good, increase understanding and solve problems faster and so on.

I will point out that in the US, the overall picture was we'd beaten the Soviet dictatorship, and democracy seemed to be spreading, and the income inequality was better than it is now and houses were affordable to a lot more young people. Also we had a budget surplus one year. Gay people couldn't get married and could be kicked out of homes and jobs, and there was a lot of anti-Black police brutality and war on drugs, but it seemed possibly less than in the 1950s and we hoped it would continue to decline. (Possibly distributed and networked cameras via cell phones have put pressure against police brutality, I think the outcome there is not certain either way, but the people of good conscience now have much more awareness of the violence inherent in the system.)

I certainly felt optimistic. Of course, I was also a young adult, found my calling in writing network services, had my first child, bought a house, all that good stuff. Unlike many software engineers today, I had sort of stumbled into the distributed networked computing world, having worked at other much less fun jobs, and I appreciated, not getting paid to be a lord of the society, but getting paid at all for such interesting and fulfilling work. Every raise I got was an astonishment and a delight. Once I passed $60,000 per anum, I was able to get a house. It was quite cool, given all the mocking that math/programming people had been subjected to the prior several decades.
When the "stochastic parrot" sees through your tricks...
Well you just a sweeter your own question. They may not want the UI, but to function the same you need the UI. Do this only strengthens the argument you replied to
The M2 MacBooks should also get that because the hardware supports it. The M2 Mac mini allows to connect 2 displays over USB-C if you don't use the HDMI port.
In places where homes are built from brick, stone or concrete it can be good to have a wired connection.

I don't see much benefit to fibre though. Copper cables and connectors are more durable.

If you already have cables, isn't it best to keep them? Connecting the TV to a network socket beats fiddling with the WiFi.
https://ehmorris.com/lander/
Yuzu emulator shutting down, paying Nintendo $2.4M in lawsuit settlement
I saw a diagram of a lander, maybe just a prototype, that was constructed like a truncated tetrahedron. It would end up on either the bottom, or one of three sides. Once it landed the three sides would open up. no matter which orientation, that would push it to an upright position.
What's in a name? Say hello to POSETTE: An Event for Postgres 2024
That's how the earlier Mars rovers arrived, totally valid concept. But it's expensive to get mass to the Moon, and if you think you can likely land upright with thrusters, why bother with something more complex/massive?
Yuzu (Nintendo Switch emulator) is dead
The poorest places in the EU are nice because the EU specifically excludes nations where the poorest places aren’t nice. I can assure you the poorest places in the rim around the EU that are not welcome to join: Ukraine, Turkey, Belarus, are not as nice.

In other words, the selection bias is very strong.
This is why the Dynetics lander makes so much sense: less to go wrong plus no elevators or long ladders needed: https://huntsvillebusinessjournal.com/wp-content/uploads/202...

For that matter, the Space 1999 "Eagle" for the same reason, just good design. https://news.ycombinator.com/item?id=39484015

If a human lander tips over for any reason, that could be disastrous.
A great landing is when you can use the plane again afterwards.
I like thinking of this concept via free constructions.

As is somewhat commonly known the free Monoid is the List type; monoids are not commutative so we get a sense of "direction", like a list has a start and an end.

If we add commutativity and look at free groups, we find they are equivalent to multisets.

If we take associativity away from monoids and look at free semigroups, we get binary finger trees, I think?

In some sense removing constraints from the binary operator results in more general free types. Would be interesting to find what free construction makes digraphs but I have to bounce.
Who's not using it? Rhetorical, but Java is everywhere still, especially near anything that's making money. (As opposed to, perhaps, hobbyist solo projects, which if that's your only sample size perhaps it looks like Java isn't as popular?)

These days it's actually more interactive and dynamic to develop applications with than a lot of dynamic languages, thanks to the improvements over the years.
The big problem is just the fundamental mismatch between what Rust requires and what you can do in C, especially with embedded code.

If the library in question handles interrupts by jumping to an interrupt handler that updates some shared state you're going to have a bad time converting that into safe Rust.
Not really... No actual court decision so not precedence yet... Someone can try to fight it and kill it.
This is why I doubt all the AI hype. These things are supposed to have PhD level smarts, but the above example can't reason about the problem well at all. There's a difference between PhD level information and advanced reasoning, and I'm not sure how many people can tell the difference (I'm no expert).

In an adjacent area - autonomous driving - I know that lane following is f**ing easy, but lane identification and other object identification is hard. Having real understanding of a situation and acting accordingly is very complex. I wonder if people look at these cars doing the basics and assume they "understand" a lot more than they actually do. I ask the same about LLMs.
If they could get the budget to build a few extra multi million dollar spacecraft and throw them in the sand they absolutely would. Unfortunately all management gave us were these cardboard boxes with a lander drawn on them in sharpie so we'll have to use our imagination.
I used vi for about 5 years, then figured out how to exit it. ba-dum-tiss

I'll see myself out.
Anecdotally, the friends that I know who have a gaming PC own a Switch as well. The one guy running TotK @ 4K/60FPS on their rig was also the first to preorder the game. But we're all in our 30's with decent salaries.
> The end result is that the Chinese airline had to operate a domestic flight from New York to Los Angeles in order to fly to Beijing.

This isn't unheard-of. Qantas does (or used to) do this as well, running SYD-LAX-JFK, for efficiency reasons.

Cabotage laws prohibit 081/CCA from carrying any passengers on the domestic leg of that route except the ones that are booked on the international leg of the journey as well. So it's not like you can just book a flight with them domestically.
> why not have every algorithm ensure it runs in its best structure, and convert where necessary (and possible) on the way in? Yes, there’s absolutely a performance or storage cost… but if the algorithm is that much faster, it should be worth it.

Because it's not that much faster, so it's not worth it. You're severely underestimating the amount of thought that went into the article, or the work of the experts interviewed.
a flawless six for six using 1960's tech: https://www.history.com/news/us-moon-landings-apollo

the past is a foreign country
I don't think it's that simple. For one thing emulation has been ruled legal in the US. By all reports Nintendo had an unusually strong case against Yuzu because the developers behind it didn't sufficiently distance themselves from piracy uses - the opposite if anything.

On the practical side, the fact that the developers were a for profit company also made Nintendo's job much easier.

Taking down a more legally careful, decentralized open source project should prove harder.
When building a business you hire a person that wears many hats. When the business is established its time to hire specialists. And of course there's requirement for both.

MongoDB being a great option that's suitable for many use cases. And ScyllaDB can be utilised when a company requires better performance for certain tasks.
But the question doesn’t mention if Sally has no sisters. But the statement “brothers have 2 sisters” makes me think she has 1 sister.
I suspect dataset contamination is at play here. It fails pretty basic maths questions (not arithmetic, that would be understandable) that surely it should be able to do in order to get its benchmark results on MATH.

EDIT: Also it hallucinates way more than GPT-4 does. It's possible this is due to a bad system prompt rather than a dumb model.
Ideal things are often tree-like. Real-world structures are usually DAGs if they are nice and well-behaved.

Making things planar, or almost planar with few crossings and nice clustering of related nodes, is usually hard past a couple dozen nodes :(
A social network with a decaying distribution model
I had a touchscreen laptop in one work environment, and like others, very rarely used the touch interface. It's actually surprisingly tiring to use for more than touching a button or scrolling, and I only use it for that over a mouse if I wasn't at the keyboard (if I was off to the side writing in a notebook or something). I have certainly never missed having the feature.

I think this project is cool but it looks like a lot of annoyances compared to just having a macbook plus ipad, and doesn't really seem more portable than a normal macbook plus ipad.
https://www.macrumors.com/2024/03/04/m3-macbook-pro-multi-di...
If I could change one thing about corporate culture, I think it might be this attitude of "success necessarily produces growth". There is nothing wrong with reaching a successful size and staying there.

A good company charges money to solve a problem. The company only needs to be as big as the problem. Anything beyond that is just an exercise for investors. There is nothing wrong with that per se, but it should not be viewed as the only way to be successful.

Having said all that, I don't think Charan's assertion is "controversial" at all. In fact it seems to be the default assumption in virtually every publicly traded company.
I've oscillated a lot on "my next" laptop over the years. For a while (at the height of the butterfly-keyboard/touchbar-madness) I thought about going to Linux for my personal machine. I haven't gotten there, but the Framework gives me hope that a really really excellent, serviceable, and understandable laptop can and does exist.

I would love if I could run macOS on a Framework.
Many people are annoyed by the recent influx of calling everything "AI".

Machine learning, statistical models, procedural generation, literally an usage of heuristics are all being called "AI" nowadays which obfuscates the "boring" nature in favor of "exciting buzzword"

Selecting the quality of a video based on your download speed? That's "AI" now.
Did Apple PR write this?
I was thinking, I dunno.. I use to set that lander down on the time as a kid!
One way I think they differ is that Apple is, at its core, traditionally a hardware vendor, whereas Microsoft is not.

You can, today, for example, install other OSes on Apple hardware, and they themselves have helped significantly to enable such until relatively recent architecture changes.

I, for example, run Fedora on a modern Macbook Air and it's super useful.

It's possible this reality deflects some of the antitrust attention.
mistralai/Mixtral-8x7B-Instruct-v0.1 got this right.

>Sally (a girl) has 3 brothers. Each brother has 2 sisters. How many sisters does Sally have?

Sally has 1 sister.

Here's the logic behind this:

1. We know that Sally is a girl and she has 3 brothers.

2. Then we are told that each of her brothers has 2 sisters.

3. Since all of Sally's brothers share the same siblings, they would both count Sally as one of their two sisters.

4. Therefore, Sally only has 1 sister because if each brother counts her once, there is no need for another sister to fulfill the "two sisters" condition.
That's a good point, but how would turning your head in a first-person perspective ever look good in a game? As you say, when we turn our own heads our eyes naturally saccade. But I'm not sure having this done unnaturally -- e.g. by having a couple static intermediary images -- would look right at all. But smooth isn't right either.
They're doing some sort of voodoo for this to be part 103. It's significantly overweight, so they classified it as amphibious. Yet there's no demonstration of those capabilities. Even so, they must be pretty generous with their safety equipment weight exclusions as it's still damn heavy.

It would be nice if they would allow electric part 103 to use a credit of the max fuel load of a gas powered 103 to offset battery weight. I have no idea if that's involved here. But I do see a discrepancy that empty vs gross weight is about a 250 lb difference but they state a max pilot weight of 200 lb.
"Building a castle" explains why it's nearly impossible to create great software