MurphyA/hacker-news huggingface dataset:
by gertlex | 2025-10-29 22:32:03+00:00
Having had a chance to read more of the blog now, maybe the most pleasing part is your similar discovery of, "I'm writing my own kinematics, and generating plots of it is the fastest validation of that code". I did similar matplotlib plots of my quad (spider) leg movements years ago. Definitely need to do more of that when I finally revisit the software on my mech from 2019 with AI help :).

And more generally, yeah, having the AI manage some of those plotting needs will be fantastic in other work too; I enjoy figuring out what to plot, and don't mind wrangling and hand-refactoring said scripts... but it's so time consuming historically, and there's always the itch to urgency to get back to the "main code". (at least I learned to gradually convince peers that often plot scripts should be commitable without being polished; they're a form of documentation sometimes!)
by iggldiggl | 2025-10-29 22:32:11+00:00
Why waste time and duplicate the efforts of LineageOS? They've probably already got enough work maintaining F-Droid as it is, without having to add an additional Android fork (and never mind supporting a variety of devices) on top.

And at the same time, the target audience interested in installing a custom Android fork would be much smaller than the potential target audience for F-Droid in its current form.

(Also, for the time being, a much more minimally invasive and less resource-intensive approach would be some sort of Shizuku-like approach, i.e. using the ADB network interface originally intended for wireless debugging.)
by vidarh | 2025-10-29 22:32:39+00:00
It punches through my NAT just fine without third party software.

It's not as simple to make it reliable as it is with Tailscale, but it works

It doesn't universally work without a helper script and a STUN server, though - you need a suitably "friendly" NAT that has reasonably predictable behaviour with respect to port mapping and/or just one side of each pair behind a NAT.
by munk-a | 2025-10-29 22:32:54+00:00
I agree and would also add that food security is also a massive factor. With a high food insecurity clamping down on illegal expansion of farmland is politically toxic - but as land use efficiency rises and cities grow conservationalism becomes a much more important agenda to back.

People like nature - all things held equal we want to live in a beautiful natural world... but if that world comes at the cost of having food on the table. Whether that inefficiency is technologically, environmentally (e.g. New England's poor soil) or conflict driven doesn't significantly change public opinion.
by mr_toad | 2025-10-29 22:33:16+00:00
Yes, but when you compare treatments A vs B for trial 1, and then B vs C for trial 2, and then C, vs D for trail 3, you might not get the same results as comparing A vs D, especially when there may have been other changes in between the three trials (different ages, lifestyles etc).

This is a real problem when the Minister wants to know if it’s worth spending money on treatments, because all you have is a disjointed set of trials, none of which are necessarily representative of the population at large, or the population wide incidence of the disease (assuming there is even data on that (notifiable illnesses are the exception).
by zahlman | 2025-10-29 22:33:19+00:00
Yes, and in principle you can install each package into a separate folder (see the `--target` option for pip) and configure sys.path manually like that.

For .pth files to work, they have to be in a place where the standard library `site` module will look. You can add your own logic to `sitecustomize.py` and/or `usercustomize.py` but then you're really no better off vs. writing the sys.path manipulation logic.

Many years ago, the virtual environment model was considered saner, for whatever reasons. (I've actually heard people cite performance considerations from having an overly long `sys.path`, but I really doubt that matters.) And it's stuck.
by bayindirh | 2025-10-29 22:33:22+00:00
Evernote was bleeding way before they have been bought by Bending Spoons. They were trying to find their way around the market, and Notion hit them like a train.

Considering the features they have added and polished, I can't say they're not trying to add new users. With their pricing strategy, they moved up tiers. They were looking like bargain bin software, but with the new price, they are not. They pulled a Chivas Regal with that move.

They are one of the companies which use AI in a saner way, and inherit a powerful foundation, and they didn't kill any integrations or export options.

The .enex format is still the best export format for these kinds of tools, from my experience.

If you look at their changelogs, you can see that this is not a "let's optimize and extort" operation. They have recreated the tool, and listen user feedback intently.

As I said, I'm not an active Evernote user anymore, so I have no skin in their game. I just want a tool I depended this long to survive in a good shape.
Show HN: AINativeKit-UI – Turn MCP JSON into ChatGPT App UIs
by jakelin | 2025-10-29 22:34:05+00:00
I've been working with the new ChatGPT Apps SDK from OpenAI and found that turning MCP JSON results into usable UI takes a lot of repetitive React work.

So I built AINativeKit-UI, an open-source React component library that:

- Instantly maps structured MCP JSON -> UI

- Works directly with the ChatGPT Apps SDK

- Adapts beautifully to mobile and desktop ChatGPT interfaces

- Follows OpenAI’s Figma-aligned design system for consistency

- Includes prebuilt Cards, Lists, Maps, and Carousels

- Is fully TypeScript, accessible, and MIT licensed

Demo: ainativekit.com

Code: github.com/AINativeKit/ainativekit-ui

The goal is to help developers focus on AI logic instead of UI wiring.

Would love your thoughts on:

- What components or patterns should come next?

- How could this integrate better with your ChatGPT App workflow?
by technojamin | 2025-10-29 22:34:36+00:00
I love WezTerm! In the author's spirit of obsessive tweaking, here's a completely inconsequential configuration change I made.

By default, WezTerm doesn't have a scrollbar, but you can easily enable it with:

config.enable_scroll_bar = true

But now you always have a scrollbar, just a big line on the side when there's no scrollback or you're in alternate screen mode. Horrible! So, here's an event handler that will automatically hide the scrollbar when not needed, giving it the same behavior as scrollbars in modern applications:

-- Hide the scrollbar when there is no scrollback or alternate screen is active wezterm.on("update-status", function(window, pane) local overrides = window:get_config_overrides() or {} local dimensions = pane:get_dimensions() overrides.enable_scroll_bar = dimensions.scrollback_rows > dimensions.viewport_rows and not pane:is_alt_screen_active() window:set_config_overrides(overrides) end)

And that kinda sums up the development philosophy of WezTerm. It has basically all the building blocks you'd ever need with nice APIs. It's set up quite usably by default, but anything that's missing you can probably implement yourself.
by pnt12 | 2025-10-29 22:35:16+00:00
Things uv does better by pip by default: - really hard to install a package globally by accident (pip: forgetting to activate venv) - really easy to distinguish de and main dependencies (pip: create different files for different groups and set up their relationship) - distinguish direct dependencies from indirect dependencies, making it easy to find when a package is not needed anymore (pip: I bet most devs are either not tracking sub dependencies or mixing all together with pip freeze) - easily use different python versions for different projects (pip: not really)

With uv it just works. With pip, technically you can make it work, and I bet you'll screw something up along the way.
by marricks | 2025-10-29 22:36:03+00:00
This and Bill Gates saying...

> “the doomsday outlook [on climate change] is causing much of the climate community to focus too much on near-term emissions goals, and it’s diverting resources from the most effective things we should be doing to improve life in a warming world.”

I guess it's cool there's something to be hopeful about, westerner's just seemed excited to make money off of melting ice in Greenland.
by torginus | 2025-10-29 22:36:16+00:00
On the infra side - by standardizing things.

One time, in on prem, we had a custom setup with a machine running half the services we used, including a reverse proxy using haproxy with some custom Lua scripts for routing, a fileserver using lighttpd, some docker compose stuff, a stateless query thingy running on nodejs, etc.

We needed to change something, and the guy who wrote it left a year ago and we had to reverse engineer the stuff he did (some of it was quite questionable).

We weren't entirely successful and had to rewrite some stuff. I'm not saying how it was done wasn't clever or cost efficient, but damn if it was done on AWS, I probably would've known where to look for stuff (and so would've most of my colleagues).
by UniverseHacker | 2025-10-29 22:36:28+00:00
I expected a lot more pushback on here for calling this out as terrorism than I got… I took a several month hiatus from this site and before I left it was all “you’re just being hyperbolic, Trump is just going to enforce the immigration laws exactly as written.” It seems that nearly all of those people have rethought their opinions in light of recent events- which I guess/hope bodes well for the chances of our country coming together in a unified way to stand against this.
by kuhsaft | 2025-10-29 22:36:49+00:00
> https://x.com/XWineOne/status/1884670205701374063

> People make translation layers for the console APIs and then you can play whatever game as long as they've implemented the APIs it uses. It's certainly not because they can't get a copy of the game out of the console.

That's not a current Xbox One or PS5 exclusive. Peggle 2 is an Xbox 360 game. The game data on Xbox 360 discs can only be read from the Xbox 360 DVD drive. Xbox 360 was jailbroken so that the games can be extracted and downloaded from the discs. They can then be played for free on modified Xbox 360s or emulators.

Xbox One has yet to be jailbroken. PS4 and PS5 depend on the firmware version.

Every game shown by XWine1 has been a game that was on the 360 or also already available for PC.

> And then how long it takes depends on demand.

I'm sure some of the top selling exclusives on PlayStation and Xbox have had high demand to be played on PC.

> Which would be useless the same as it is on Windows.

It's only useless on Windows because Windows hasn't fully committed to trusted computing yet. The end goal is NGSCB (https://en.wikipedia.org/wiki/Next-Generation_Secure_Computi...).

> Netflix works fine on Linux. It runs in a browser and uses some DRM nonsense that doesn't work any better than it does anywhere else but satisfies Netflix's contractual requirements to use some DRM nonsense.

It works as intended. Free Linux can only decode Widevine L3, so you are limited to a lower quality stream. Chrome OS supports L1.

On Windows, Netflix uses PlayReady, and on Apple OSes it uses FairPlay.
by hunter2_ | 2025-10-29 22:37:10+00:00
This is halftone (i.e., an apparent palette with more colors than the actual palette, by ensuring that you aren't just rounding the same way everywhere) but it isn't dithering in my opinion. To me, dithering means fading away the banding that occurs when the palette (or the apparent palette achieved via halftone) isn't large enough to avoid banding on its own.

The halftone technique demonstrated here takes a palette of 2 colors and increases it to something on the order of 20 apparent colors, but even with 20 there are extremely obvious bands.

That banding can be virtually eliminated by having way more colors (say, 256 if grayscale, 256^3 if RGB) or it can be virtually eliminated via dithering. I suspect the "error diffusion" technique (which is teased at the end of this demo) does what I'm talking about.

Noise is the key to dithering, and I don't see any noise in this demo. Everything is deterministic.

But the presentation is spectacular!
by ssl-3 | 2025-10-29 22:37:19+00:00
That's a valid concern.

I've also used ZeroTier with good success.

They're a competitor that offers VPN with similar idealized P2P topology. Unlike Tailscale, ZT is not based on wireguard (ZT predates wireguard), but they do offer the option to use their own local auth without reliance/potential issues with yet-another party.

ZT also allows a person to create and use their own relay (called a "moon"), if that's something useful: https://rayriffy.com/garden/zerotier-moon

(For my own little purposes I don't really have a preference between either Zerotier or Tailscale.)
by spoaceman7777 | 2025-10-29 22:38:11+00:00
Wezterm was great, but I had to stop using it recently because it keeps crashing immediately (across two different computers) on CachyOS/Arch :/

It's just broken on KDE permanently I guess :/ There have beem tickets about it, and there is an AUR repo with a patch that used to fix it... but :/

Was already worried about the project given that it hasn't seen a new release in quite a long time. Got the feeling that the maintainer has mostly moved on.
by jillesvangurp | 2025-10-29 22:38:42+00:00
The idea is that rain flows downhill, you dig the half moon shape to capture the water on the end without a ditch and then it sinks into the ditch instead of flowing unobstructed to the river and taking all soil with it.

It's an ancient practice that was forgotten and rediscovered. The beauty of this approach is that it shows results within a few short years. Basically in Africa if there's water, nature shows up and consumes it. So you get lush growth and rapid soil restoration. Trees, vegetables, etc. on what was a heavily eroded flood plain before.

It's easy to explain, the locals get why it works. And they get a very fast response from nature and all the produce and riches that come with that. And all they need is shovels and some elbow grease.
by pansa2 | 2025-10-29 22:39:01+00:00
I sometimes wonder if many core Python people don’t actually like the language that much. That’s why (a) they’re constantly reinventing it, and (b) they celebrate rewrites from Python into other languages. Long before Rust, it was considered a good thing when a standard library module was rewritten in C.

Compare this to the Go community, who celebrate rewrites from other languages into Go. They rewrote their compiler in Go even though that made it worse (slower) than the original C version, because they enjoy using their own language and recognise the benefits of dogfooding.
by torginus | 2025-10-29 22:39:49+00:00
But that limit is well below on what you could get even in a gaming machine (AWS cpus are SMT threads, so a 32 core machine is actually 64 cpus by AWS) - you can get that in a high end workstation, and I'd guess that's way more power than most people end up using even in their large-ish scale AWS projects.
by aidenn0 | 2025-10-29 22:40:35+00:00
> Each stack would get dirtied to the largest depth and that memory never gets reclaimed even if you only hit that deep of stack once

Right, but the issue under discussion was that "right sizing" stacks is hard. You always need to have a stack sized to at least the largest depth.

Pages that get swapped out to disk and never accessed again aren't that expensive. Disk is cheap.
by swyx | 2025-10-29 22:41:06+00:00
(coauthor) xpost here: https://x.com/cognition/status/1983662836896448756

happy to answer any questions. i think my higher level insight to paraphrase McLuhan, "first the model shapes the harness, then the harness shapes the model". this is the first model that combines cognition's new gb200 cluster, cerebras' cs3 inference, and data from our evals work with {partners} as referenced in https://www.theinformation.com/articles/anthropic-openai-usi...
by protocolture | 2025-10-29 22:41:08+00:00
> Apple even supports Detecting this interception so the operating system

Whats it intercepting? Apples detection sends a HTTP/HTTPS request to captive.apple.com. If it fails, it assumes a captive portal. Theres also a DHCP option apple supports.

But even after detection, theres redirection.

Have a look at WAP Vendor options.

Heres Powerlynx explicitly requests disabling HTTPS before auth on Cambium in their user setup guide.

https://docs.powerlynx.app/networking/cambium.html

"Redirect HTTP-only - On"

This guarantees that, upon redirection, you are presented with a HTTP login page for the captive portal. And then any subsequent redirections, also have to be HTTP.

Heres Start Hotspot

https://go.starthotspot.com/help/cambium/

"Redirect: Tick HTTP-only"

Cambium supports more modern methods, but captive portal vendors are not going to shift before letting their customers fall on their face.

(Also, cambiums guest access whitelist is based on DNS and breaks with DNS over HTTPS/TLS)
by embedding-shape | 2025-10-29 22:41:19+00:00
I think they meant "don't have it" as in except in special circumstances, and that form says:

> You may use this form to apply for a postal vote if, due to the circumstances of your work/service or your full-time study in the State, you cannot go to your polling station on polling day.

Which seems to indicate that's only for people who can't go to the polling station, otherwise you do have to go there.
by zahlman | 2025-10-29 22:41:40+00:00
> - really hard to install a package globally by accident (pip: forgetting to activate venv)

This is different as of Python 3.11. Please see https://peps.python.org/pep-0668/ for details. Nowadays, to install a package globally, you first have to have a global copy of pip (Debian makes you install that separately), then you have to intentionally bypass a security marker using --break-system-packages.

Also, you don't have to activate the venv to use it. You can specify the path to the venv's pip explicitly; or you can use a different copy of pip (e.g. a globally-installed one) passing it the `--python` argument (you have been able to do this for about 3 years now).

(Pedantically, yes, you could use a venv-installed copy of pip to install into the system environment, passing both --python and --break-system-packages. I can't prove that anyone has ever done this, and I can't fathom a reason beyond bragging rights.)

> - really easy to distinguish [dev] and main dependencies

As of 25.1, pip can install from dependency groups described in pyproject.toml, which is the standard way to group your dependencies in metadata.

> distinguish direct dependencies from indirect dependencies, making it easy to find when a package is not needed anymore

As of 25.1, pip can create PEP 751 standard lockfiles.

> easily use different python versions for different projects

If you want something to install Python for you, yes, that was never in pip's purview, by design.

If you want to use an environment based off an existing Python, that's what venv is for.
by khazhoux | 2025-10-29 22:41:56+00:00
> The workers and supporters who were taken by this idealistic vision

I haven’t heard from any of the workers. Why are people white-knighting for them? My hot take is that they don’t mind being able to afford a house (or more) for their efforts. Where’s the outraged employees in this conversation?

As for “supporters,” what does that mean? People who watch from the sidelines and never actually contributed don’t usually get a say.
by JumpCrisscross | 2025-10-29 22:43:14+00:00
> location you're physically sitting in doesn't really matter

Of course it does.

The benefits of proximity to business clusters [1] is well researched [2]. There is no evidence remote work has dampened that tendency; if anything, as evidenced by AI, the effect seems to have increased.

[1] https://en.wikipedia.org/wiki/Business_cluster#Cluster_effec...

[2] https://www.isc.hbs.edu/competitiveness-economic-development...
by jacobolus | 2025-10-29 22:44:18+00:00
Chinese CO₂ emissions per capita are only about 60% as much as the USA, but in the past 25 years US per capita emissions have dropped by about a third and Chinese emissions per capita have almost tripled and are still rising rapidly. Considering that China is about 4 times as populous as the US, this is a huge problem for the world. (US emissions are also a huge problem; we all need for them to decrease very quickly.)
by array_key_first | 2025-10-29 22:45:34+00:00
Are you purposefully ignoring the things I'm writing to try to appear right?

Because I can still see the words on my screen. To reiterate, semantic arguments are meaningless and do nothing to serve you. If anything, with each passing comment, I am doubting your human-ness, because I don't believe human brains typically act this way.
by fluoridation | 2025-10-29 22:45:42+00:00
When I was growing up home LANs weren't common, but nowadays you could solve it with just a little box that does all the filtering in a way that can't be bypassed. Blocking connections to non-whitelisted domains based on the internal IP or MAC is pretty easy. If people don't use these solutions it's because they either haven't researched enough or don't want to deal with the inconvenience (or, in at least some cases, don't really care).
by RansomStark | 2025-10-29 22:45:46+00:00
I really dislike how Antropic half reports on its "science".

They run a bunch of experiments, for some they report partial metrics, for other's no metrics at all.

For example when a thought is injected the model correctly identified the thought 20% of the time. That's great, but how many times did it suggest there was an injected thought when there wasn't?

When distinguishing thoughts from text: why no metrics? Was this behaviour found in every test? Was this behaviour only found 20% of the time? How often did the model try to defend the text?

Inquiring minds want to know.
by Mistletoe | 2025-10-29 22:45:51+00:00
I wonder what kind of forest China is making? I was watching a really fascinating PBS documentary on Kanopy and it was talking about a lot of the planting efforts haven't been very good worldwide because planting a monoculture of trees doesn't do much and an old forest with tons of diversity stores twice as much carbon or more, which I thought was neat. So protecting existing forests is much better from a climate change standpoint. But either way, planting trees is better than nothing.

https://www.kanopy.com/en/product/15418989
by tracker1 | 2025-10-29 22:46:21+00:00
Beyond this, state law may not supersede federal authority. This will likely go to the Supreme Court before it's actually decided, short of congressional action (unlikely).

I'm not sure if these requests are only made if other ID isn't available or a refusal to present id happens. That said, I'm not sure how this qualifies as reasonable suspicion in terms of stopping someone without evidence of some other crime in progress or as part of a warranted raid activity. Though stops on highways within 100 miles of a border is very much permitted for identification, unsure if this would fall under those provisions.

While I absolutely support deportations, this appears at first glance to be over the top... but I'd like to see any clarifying statements from ICE, which I don't recall seeing in the article.
by TexanFeller | 2025-10-29 22:46:41+00:00
Maybe in the past this was true, or if you’re using an inferior DB. I know first hand that a Postgres table can work great as a queue for many millions of events per day processed by thousands of workers polling for work from it concurrently. With more than a few hundred concurrent pollers you might want a service, or at least a centralized connection pool in front of it though.