skysight-inc/HackerNews huggingface dataset:
> > The choice of handcoding some low-level string manipulation is similar to the choice of using unsafe rust. One can do it or not.

> But most of the time programmers don't make a conscious choice at all. So opt-out unsafety versus opt-in unsafety is a huge difference.

I don't think so. A programmer being careless will be careless with Rust "unsafe" too.

Don't get me wrong, I think marking code without guaranteed memory safety is a good idea. I just don't think it is a fundamental game changer.

> > In practice you need to do some quality control for all code anyway, because memory safety is just a small piece of overall the puzzle.

> Memory safety is literally more than half of real-world security issues.

https://www.horizon3.ai/attack-research/attack-blogs/analysi...

But I think even this is likely overstating it by looking at CVEs and not real world impact.

> > > In practice, it is not hard to recognize the C code which is dangerous

> > I see some very high quality C code with barely any memory safety problems

> I hear a lot of C people saying this sort of thing, but they never make it
> concrete - there's no list of which popular open-source libraries are dangerous
> and which are not, it's only after a vulnerability is discovered that we hear
> "oh, that project always had poor quality code". If I pick a random library
> to maybe use in my project (even big-name ones e.g. libpq or libtiff), no-one
> can ever actually answer whether that's high quality C code or low quality C code
> or give me a simple algorithm that I can actually apply without having to read
> a load of code and make a subjective judgement. Whereas I don't have to read or
> judge anything or even properly know rust to do "how much of this rust code is unsafe".

So you look at all the 300 unmaintained dependencies a typical Rust projects pulls in via cargo and look at all the "unsafe" blocks to screen it? Seriously, the issue is lack of open-source man power and this will hit Rust very hard once the ecosystem gets larger and this goes even more beyond the highly motivated first adopters. I would be more tempted to buy this argument if Rust would have no "unsafe" and I could pull in arbitrary code from anywhere and be safe. And this idea existed before with managed languages... Safe Java in the browser and so. Also sounded plausible but was similarly highly exaggerated as the Rust story.
Yeah, apparently. This was done with gpt-4o. Will try claude-sonnet at some point next week, it's supposed to be better. At least in terms of being more "creative" not sure about getting this kind of reference.
They need a proof-reader. There's several grammar problems in that paper that seem like common ESL errors.
Plenty of bad stuff makes its way into hackernews comments as well. Saying that “it could be wrong” doesn’t really support the “it’s wrong” claim, does it?
python trades speed and correctness heavily in favor of dx. Other languages provide drastically increased speed and correctness with comparable dx. I understand that lang pref extremely subjective, but if those high level values are THE metrics to analyze on (+domain), I’d courteously suggest that there are greener pastures.

https://cdaringe.github.io/programming-language-selector/
> I’ve also seen a function returning a value and and error, and the error being mapped to _ on the caller side. Compiler and linter are fine with that (and sometimes it’s mandatory with some weird libraries).

Yes, that's the way to explicitly ignore the error. Ignoring the result, instead of attributing to the blank identifier _ , is bad form (unless you're doing something like defer a Close).
India and Brazil [1]. Only their two biggest markets [2].

[1] https://faq.whatsapp.com/1293279751500598

[2] https://worldpopulationreview.com/country-rankings/whatsapp-...
Thanks for the quick reply!

Interesting. I would have thought one of those "minimum viable" RNNs (like https://arxiv.org/abs/2410.01201) would have been ideal for this. I might tinker a bit with this :-)
Show HN: Library to replace box shadows on a webpage with ray traced shadows
Probably it would need a better CPU to handle more traces and that's the real expense
HDMI supports features needed for entertainment centers, like CEC and eARC. DisplayPort doesn’t have these.
Interstellar space can be filled with junk yet still be effectively empty because it's so mind bogglingly large. Comets and rogue planets also aren't helpful unless 1) you can see/chart them ahead of time and 2) they're on the way to your destination.

The first problem is a big challenge as they're cold, dark, and small. Just finding them to begin with is a giant problem. Accurately charting them is another order of magnitude increase in difficulty. Even tiny error bars in the measure of their proper motion means your spaceship can miss them by millions of miles. Even missing them by a dozen miles is the difference between life and death.

Even with a huge catalog of extremely accurate interstellar fuel-capable objects they don't do you any good if they're not on the way to where you want to go. A meandering route to a destination in order to visit refueling stops adds tons of extra complexity and points of failure.
Grand Theft Hamlet: Shakespeare but in GTA? [video]
You should be able to get that information:

https://www.nyc.gov/site/nypd/about/about-nypd/policy/post-a...

Although:

https://www.brennancenter.org/our-work/analysis-opinion/nypd...
I think Linux runs on Apple hardware? I could be out of date, and it's completely locked-down these days.

Edit: I suppose it could explain the downvoting. "Apple doesn't let us boot Linux, you insensitive clod!"
So it's only worthwhile to do big excursions if participants self-fund it or we missed something about relativity and faster-than-light travel. Funding it would be like the Roman empire telling us a small boat will land in Genoa in 2025 that spent the last two millennia traveling the world and collecting data with the best tools of the first century.
LD1 would be deadly to about 80 million people
DisplayPort never caught on in the home entertainment market - have you ever seen a DisplayPort TV? And why would there be one, when everyone’s happy with HDMI?

DisplayPort, for most intents and purposes, has lost the format war. You buy a laptop - it’s HDMI on the side, not DisplayPort. You buy a monitor - DisplayPort is never an exclusive port on any model, but HDMI is.
BoulderDash, maybe?
The "proper syscall" isn't a fast thing either. The context switch blows out your caches. Part of why I like the name syscall is it's an indication to not put it on the fast path.

The implementation behind this puts a lot of emphasis on performance, though the protocol was heavilt simplfied in upstreaming. Running on pcie instead of the APU systems makes things rather laggy too. Design is roughly a mashup of io_uring and occam, made much more annoying by the GPU scheduler constraints.

The two authors of this thing probably count as people who program GPUs for a living for what it's worth.
That's where the final sentence of my post comes in.
It appears “solid”, but the only test of a backup system is disaster recovery and I’ve had to attempt to get files from Time Machine drives before and it is hell.

iCloud Drive is also a bit iffy, it does a lot of weird shit with file meta data that can screw up file processing.
> There's a pretty big difference between using it for its intended purpose (ie. monitoring traffic), and the alleged behavior that the department of transportation was opposed to.

What's the point of having it public then? The department of transportation is already using that data for monitoring traffic so there's zero need for anyone else to replicate their work. The value in making that data public isn't so that Joe Average can track traffic volume over time just like the DoT is already doing. It's for transparency and so that the public can find new and innovative uses for the information our tax money is already being spent on gathering.

There's no point if we're not allowed to use that data in new ways and we don't need the kind of "transparency" that only applies as long as the public isn't looking.

If a specific use is actually dangerous then that can be dealt with on a case by case basis, and it's arguable that they were right to send a cease and desist letter to this website, but making the data itself unavailable over it would be an overreaction
It makes me wonder, is there any way to stop enshittification? Like Google was great when it maintained its goal that their best users should be on the app as little as possible. Ev said so much here about his new app.

Is there anyway to bring back the small company? Is it a greed thing or is it a policy thing.
URL: https://www.trydepth.ai/

Adding so it doesn't take 3 clicks to get there.

Can you speak towards code privacy and security as well as pricing? All your marketing collateral is light on these details.
You're assuming they're not gonna go the way of Cheney and Romney.

Around the world, most of this stuff is dry runs for other stuff.
Figma isn't. However, there is an open-source competitor called Penpot: https://penpot.app/blog/7-reasons-penpot-is-more-than-just-a...
I also didn't distinguish any difference, don't see how the choice of color improves the visualization. Honestly it comes across as a bit deceptive.
1 gallon = 7.6 l, and anectada from Wikipedia (referenced to https://www.scientificamerican.com/article/strange-but-true-...) says 6 l in 3 hours killed a man. Half-life of caffeine is approximately 5 h, so quite similar.
Ok, but, why not just try to converge on one connector? as you say, the world doesn't care...
But scotch tape is nearly as cheap as grad students.
Green spaces and social housing: Paris's plan to transform the city by 2035
AGI that is competent enough to perform any task better than a human, can perform tasks of controlling robots and mining equipment and construction equipment and factories and compute foundaries, to create more robots and mining equipments and etc. etc.

Look up into the sky tonight. That glowing white-ish disk is made of the resource constraints, and is a tiny fraction of the resources available.

It may be a finite quantity of resources, but with regards to the economic impact it's enough that it may as well be infinite compared to what humans can do… and what we can experience as a consumer. I mean, sure, a McKendree cylinder is bigger than an O'Neill cylinder, but the scale of what's being suggested by AGI is literally everyone getting their own personal fleet of 60 or so O'Neill cylinders — enough to spend a lifetime exploring, to be a playground for anything any of us want. Demand gets saturated.

And even that's not enough.

From the other side of the equation, we humans have a basic energy cost to staying alive.

There are already domains where AI can do things for energy costs so low that it isn't "economical" to pay for the calories needed to keep a human brain conscious long enough to notice that it has seen the result, much less to do that task.

Should that become true across all domains, there's no comparative advantage to keeping us alive. Hide the farm where your food grew behind PV, disassemble the sand and clay in the soil into constituent atoms and use the silicon to make more compute or more power.
It seemed like you were questioning the need for the institution, but public health is as needed as defense, so maybe you’re equating them.

You left out vaccinations (obviously effective) and mask mandates (somewhat effective but certainly falls under minor inconvenience) — which are pretty standard public health playbook, so I’m assuming those aren’t considered part of the madness.

The lockdowns were pretty crazy, but recall their goal was mostly to avoid the breakdown of the entire health care system pre-vaccination. There wasn’t any precedent for how to do that.
That still means cheaper transistors, right?
HDMI should have made it easy to see what cable is supporting what.

The HDMI versioning chaos did not help.

The worst is still USB 3.1 Gen 2.1 Hyper Giga Super Speed Mark II
Show HN: Voice Mate – AI Voicemail App
With Voice Mate I attempted to build a AI voicemail app that answers on your behalf and asks the caller the reason for the call as well as whether it should return the call. With voice to text it then generates a push message with summary and transcript in the app.

I launched today, and already got 20 users! Which is 20 more than I could ever ask for. I give away 3 months for free if you are among the first 100 to sign up
The bug in 2.0.3 just breaks one default use case and where you pass in no source or target to the api so anyone using this feature their app broke on upgrade to 2.0.3 and they had to set a source explicitly or revert the version. 2.0.4 just fixes this with no downside unless you like seeing console errors
Engineers are people too. Engineers use products as well. Maybe you would have gone into a saner direction than most products go.
I find it odd that we've conflated political statements with art.

I'm not saying art cannot or should not be political, but rather that not all forms of political statements represent art just because they are political. For some reason many people think they do to such an extent that my position would be borderline blasphemous in art circles.
I've tried a few three person programming sessions with a live pycharm collaborative session (whatever they call it) - what I thought was interesting is we naturally divided responsibilities.

2 people would do more direct pair programming of one doing more thinking / design / instructing and the other is the workhorse and supplemental designer. The third would be the polisher and tester, and participate in design as well when able to.

Idk if there is a role-based analogue in larger social groups but interesting to think about.
Show HN: Cut the Crap – I Made an App to Block Doom Scrolling
I realized I was spending way too much time on short-form content like Shorts, Reels, and TikToks, which severely impacted my attention span and felt like brain rot. To tackle this, I built BlockScroll, an app now available on the Play Store. It blocks shorts, reels, TikToks, and similar distractions without affecting other app features, helping enhance focus and reclaim your time.

After building a Chrome extension to fight distractions [(30K+ users): https://chromewebstore.google.com/detail/remove-youtube-shor...], I realized mobile is where short content fuels the most brain rot. So, after months of work, I built BlockScroll for mobile using Android (Java/Kotlin) and Accessibility APIs.

I’d love your feedback on functionality, UX, and ideas for improvement!
Not for me. Coffee, anything caffeinated actually, makes me sick like I have the flu. The older I get, the more sensitive I become. I can't even eat chocolate anymore because of the caffeine content.
I've always found this guy's stuff fascinating.

https://www.westonaprice.org/health-topics/nutrition-greats/...

Lots of pics here.

https://www.ericdavisdental.com/facial-orthotropics-for-your...
I thought the same, but they called it high-res, so I had to put it in quotes...
"DENNIS
Ah, now we see the violence inherent in the system.

ARTHUR
Shut up!

DENNIS
Oh! Come and see the violence inherent in the system! HELP! HELP! I'm being repressed!"
So are you advocating authoritarianism on an ongoing plan? Because most COVID infections - and deaths - are still to come in the future. By this ineffective logic you are looking at 10s of thousands if not 100s of thousands of deaths because we're reverting to a dignified baseline of respecting civil liberties and human rights. Are you comfortable with that?
CliffDrop Express: the original free-falling prices.
Fair enough, but how is your argument incompatible with transitioning away from fossil fuels and bringing in more environmentally aware regulations? It might not clean/reverse the damage already done but surely it helps to reduce the magnitude of future damage?
Ooh, I wish there was a Kaypro port!
US in direct contact with Islamist rebels who took over Syria
The other thing that bugged me is the built in assumption that today's model have learned everything there is to learn from the Internet corpus. This is quite easy to disprove. Both in factual retention, but also meta cognition on the context of the content.
What everyone could learn is to check their (and their communities') assumptions from not long ago. Who saw this, who didn't. Based on this many can confirm their beliefs and others can realize they're clueless. In either case, there's something to be learned but more to be learned when you realize you were wrong.
Saying you don't want more insulation and heat pumps is weird. You like higher utility bills? I get that the up front investment for it is unpleasant, but the remedy to that is government subsidies to encourage homeowners to upgrade.
some of these are getting pretty derivative if you ask me.
One more:

- 70m57s Lichee Pi 3A (8x SpacemiT x60 @1.6 GHz)

5% slower than the VisionFive 2, despite the extra cores.
Can cause issues in older properties designed to breath plus got to be careful with air flow (even more expense for MHVW…)
US support? Would also recommend a way for the caller to indicate an emergency so that could be pushed through the messaging flow. Very cool!
No drop down options exist for MIDI keyboard?
Hey I'm the developer of the app. I realised that I was spending way to much on these short form conent that really impacted my attention span and was a brain rot to me. So I built this app to tackle them. Please share your valuable feedbacks here.
Yeah the PH launch was just aimed at getting some bottom up users, we ideally want to sell top down. As far as code privacy and security is concerned, we deploy depth ai in your private vpc, so your code never leaves your cloud.

We just launched, so we are looking for design partners and / or paid pilots (pricing would depend on number of users and we can discuss it more case by case).

Lmk if that answers your questions!
> Branding is a very weak moat outside fashion industry and similar places - outside visible status symbols.

Have you tried getting someone to switch from Chrome to Firefox?

UI is basically the same, the product is more performant (faster load, easy to disable all ads, etc). But the moat is how resistant a normal user is to switch from the thing they've used without having to think about it, to the new thing.

I can definitely see the ChatGPT app becoming as "sticky" as Chrome.
> A pattern I've noticed repeatedly among CUDAheads is the idea that "every cycle matters" and therefore we should uglify and optimize even cold parts of our CUDA programs

I don't know what a "cudahead" is but if you're gonna build up a strawman just to chop it down have at it. Doesn't change anything about my point - these aren't syscalls because there's no sys. I mean the dev here literally spells it out correctly so I don't understand why there's any debate.
Show HN: NodeTool – Open-Source Visual Builder for AI Workflows
NodeTool is an open-source, no-code tool that lets you build and test AI workflows through a visual interface.

Why NodeTool?
We started building NodeTool 1.5 years ago to make working with AI more straightforward and accessible. Technical challenges like Python dependencies often slow down the process, so we designed a tool that simplifies the workflow and helps you focus on creating and experimenting.

Key Features:
- Visual Workflow Editor: Create AI workflows using a drag-and-drop interface, supporting text, images, audio, and video.

- Seamless Integration: Combine local models (HuggingFace, Ollama) with remote services (OpenAI, Anthropic, Replicate, Luma, Kling) within the same environment.

- Model and Asset Management: Download models directly from HuggingFace. Easily import and organize media assets for use in your AI creations.

- ComfyUI Integration: Import your existing ComfyUI workflows into NodeTool. Use Comfy nodes directly within NodeTool without leaving the platform.

- Cross-Platform: Available as a standalone application for macOS, Windows, and Linux.

Try It Out:
- https://nodetool.ai/
- https://github.com/nodetool-ai/nodetool

We’d Love Your Thoughts:

- What workflows should we support next?

- Which features or integrations are you missing?

- What would make NodeTool part of your regular workflow?

Thanks for checking it out!
Side note, but I find this image caption very amusing

> Kolman shows the traffic cams his cease-and-desist in Brooklyn and Times Square.

The use of "shows" feels to me like it anthropomorphises the cameras, as if he's sharing the joke with his traffic cam pals.
I have wanted to do an ivestigative journalism project to try and understand the disapearance of
almost all of the atlantic salmon, and have all of it filmed in varios canned fish sections in supermarkets,everywhere.
Its almost like there is an invisible apex techno preditor running around or something
> "this is why we can't have nice things"

Of course, it'll be used, but that's just a bad, bad argument at any level.
You need to both have existing midi devices and allow browser access.
For biology, bionumbers[1] is a fun resource.

[1] https://bionumbers.hms.harvard.edu/Search.aspx?task=searchby...
That’s not really true. Any device with USB-C video out is using DisplayPort, not HDMI. HDMI alt mode exists, but AFAIK never shipped in any products.
"...this would align the new HDMI standard with the latest DisplayPort 2.1 technologies"
> Nobody would say “Performant intracontinental public transport routing in C++”

Why would you post this before checking?

https://hn.algolia.com/?dateRange=all&page=0&prefix=false&qu...

Even without checking it makes sense to post "written in C++" (same as written in Rust).

I wonder if some people are lazy to think or just driven by emotions.
What part of unreasonable time frames do you not understand ?

What's so poor about the unit economics in the frame we're talking about ?

Open ai is one of the fastest growing in revenue and adoption. It's not like you even know to what degree free subs are being compensated by currently. Do you even realize how much Language model costs have gone down in just 2 years ?

You're the one who said, there's a difference between the likes of Uber and Google/Amazon who apparently could have pivoted to profitability much sooner but then conveniently ignore the question of when this pivot become possible.

Newsflash: almost everyone looks poor unit this soon out.
I don’t know how deeply they analysed it, but Kurzgesagt seem to think the Martian moons have particular value as central gravity wells, to then reach further out to mine asteroids

https://youtu.be/dqwpQarrDwk?feature=shared
Sure seems like this is happening more frequently, eg with the Boeing guy. So it’s reasonable to ask why.

If you look at Aaron Schwartz for example you see they don’t have to assassinate you, they just have so many lawyers, making so many threats, with so much money/power behind them, people feel scared and powerless.

I don’t think OpenAI called in a hit job, but I think they spent millions of dollars to drive him into financial and emotional desperation - which in our system, is legal.
The first — and maybe only, or at least sufficient — use of tissue engineering at scale is not going to be growing organs for implantation, growing meat in a lab for human consumption, or anything quite that flashy.

The first one is going to be the ability to grow liver slices at scale for tox screening in pharma.

animal rights issues entirely aside: we spend entirely too much time and money killing a whole lot of mice all the while knowing perfectly well they’re barely semi-decent models for toxicology.

if I can fill the lab with constant flow vats of slices of liver, they’ll read out fast, they’ll be a massive savings in time and money, and they’ll give us much more accurate results.
Possible language structures from outer space hidden in the IceCube dataset?