frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Ghostty – Terminal Emulator

https://ghostty.org/docs
327•oli5679•6h ago•146 comments

Microgpt

http://karpathy.github.io/2026/02/12/microgpt/
1417•tambourine_man•17h ago•250 comments

Why XML Tags Are So Fundamental to Claude

https://glthr.com/XML-fundamental-to-Claude
68•glth•3h ago•32 comments

When does MCP make sense vs CLI?

https://ejholmes.github.io/2026/02/28/mcp-is-dead-long-live-the-cli.html
69•ejholmes•1h ago•51 comments

I built a demo of what AI chat will look like when it's "free" and ad-supported

https://99helpers.com/tools/ad-supported-chat
296•nickk81•6h ago•194 comments

Decision trees – the unreasonable power of nested decision rules

https://mlu-explain.github.io/decision-tree/
284•mschnell•9h ago•49 comments

Python Type Checker Comparison: Empty Container Inference

https://pyrefly.org/blog/container-inference-comparison/
11•ocamoss•4d ago•1 comments

Flightradar24 for Ships

https://atlas.flexport.com/
95•chromy•7h ago•25 comments

We do not think Anthropic should be designated as a supply chain risk

https://twitter.com/OpenAI/status/2027846016423321831
714•golfer•21h ago•387 comments

Interview with Øyvind Kolås, GIMP developer (2017)

https://www.gimp.org/news/2026/02/22/%C3%B8yvind-kol%C3%A5s-interview-ww2017/
74•ibobev•3d ago•29 comments

10-202: Introduction to Modern AI (CMU)

https://modernaicourse.org
161•vismit2000•11h ago•39 comments

New iron nanomaterial wipes out cancer cells without harming healthy tissue

https://www.sciencedaily.com/releases/2026/02/260228093456.htm
96•gradus_ad•3h ago•29 comments

Lil' Fun Langs' Guts

https://taylor.town/scrapscript-001
15•surprisetalk•3h ago•2 comments

Aromatic 5-silicon rings synthesized at last

https://cen.acs.org/materials/inorganic-chemistry/Aromatic-5-silicon-rings-synthesized/104/web/20...
50•keepamovin•2d ago•24 comments

The real cost of random I/O

https://vondra.me/posts/the-real-cost-of-random-io/
66•jpineman•3d ago•7 comments

Switch to Claude without starting over

https://claude.com/import-memory
436•doener•11h ago•216 comments

Why is the first C++ (m)allocation always 72 KB?

https://joelsiks.com/posts/cpp-emergency-pool-72kb-allocation/
95•joelsiks•9h ago•18 comments

Show HN: Audio Toolkit for Agents

https://github.com/shiehn/sas-audio-processor
9•stevehiehn•2h ago•1 comments

An ode to houseplant programming (2025)

https://hannahilea.com/blog/houseplant-programming/
104•evakhoury•2d ago•18 comments

Obsidian Sync now has a headless client

https://help.obsidian.md/sync/headless
542•adilmoujahid•1d ago•180 comments

January in Servo: preloads, better forms, details styling, and more

https://servo.org/blog/2026/02/28/january-in-servo/
9•birdculture•1h ago•0 comments

Robust and efficient quantum-safe HTTPS

https://security.googleblog.com/2026/02/cultivating-robust-and-efficient.html
76•tptacek•2d ago•14 comments

Rydberg atoms detect clear signals from a handheld radio

https://phys.org/news/2026-02-rydberg-atoms-handheld-radio.html
61•Brajeshwar•2d ago•20 comments

The happiest I've ever been

https://ben-mini.com/2026/the-happiest-ive-ever-been
597•bewal416•3d ago•322 comments

Show HN: Vertex.js – A 1kloc SPA Framework

https://lukeb42.github.io/vertex-manual.html
19•LukeB42•7h ago•14 comments

I Built a Scheme Compiler with AI in 4 Days

https://matthewphillips.info/programming/posts/i-built-a-scheme-compiler-with-ai/
15•MatthewPhillips•1h ago•12 comments

Pigeons and Planes Has a Website Again

https://www.pigeonsandplanes.com/read/pigeons-and-planes-has-a-website-again
37•herbertl•3d ago•3 comments

Hardwood: A New Parser for Apache Parquet

https://www.morling.dev/blog/hardwood-new-parser-for-apache-parquet/
88•rmoff•3d ago•9 comments

H-Bomb: A Frank Lloyd Wright typographic mystery

https://www.inconspicuous.info/p/h-bomb-a-frank-lloyd-wright-typographic
125•mrngm•3d ago•35 comments

Woxi: Wolfram Mathematica Reimplementation in Rust

https://github.com/ad-si/Woxi
317•adamnemecek•4d ago•127 comments
Open in hackernews

Long Range E-Bike

https://jacquesmattheij.com/long-range-ebike/
47•birdculture•3d ago

Comments

adrianN•3d ago
I would be a bit worried that the extra weight compromises the structural integrity of the frame. 2kWh are heavy
elcapitan•3d ago
I would be more worried charging that huge home built battery pack. I'm sure OP knows what he's doing, but I wouldn't want to bet my house on it.
BizarroLand•3d ago
high quality heavy 18650s weigh about 2 oz. 190 of them would weigh about 24 lbs. Throw in another 6-10 lbs for bms, wiring, casing and errata and it's not that bad.
Forge36•1h ago
Bikes typically have a weight rating. Mine has 150lbs of cargo capacity (is a cargo bike).
analog31•53m ago
I don't know if this figures into the engineering formulas, but an e-bike needs to be stronger due to the higher speeds and power levels. On a human powered bike, if you're hauling 150 pounds, you're probably going pretty slow.

My friends who have e-bikes go through a lot more "consumable" parts such as chains, tires, brakes, cogs, and bearings.

stevenhubertron•3d ago
It does feel like this is such an untapped market. Think commuters, credit cart tourers, tourism around a spread out city. Something that is safer than a motorcycle and faster than a bike.
adrianN•3d ago
It’s only safer than a motorcycle if you have bike friendly infrastructure.
tim333•2d ago
The fact they are kind of slow and you can take them on trains helps compared with motorcycles.
nicbou•2d ago
In Germany at least the routes are a lot prettier because they go through forests and villages. It's what got me to cycle more and ride my motorcycle less.
golson_kindmind•3d ago
Respect: that's a beautiful pack.

I'm a total sucker for ebikes and built my first ebike around 2006, powered by 40lbs of lead acid motorcycle batteries.

I recently outfitted a trailer with a large battery made for an efoil (my other obsession) where the non-battery components went bad, the company went out of business, and "Hey, this would make a bitchin' ebike battery.

Here's me cruising around the Oregon back country with said setup last summer: https://imgur.com/a/lmvJSBW

sriacha•1h ago
Wow. What is your total capacity and range with that setup?
jdboyd•3d ago
In my city, travel habits and condition, I find I wish for more torque and lower speed. Every place I want to go has significant hills that the motor can't handle, and easing climbing hills is the main reason I want an ebike. My ebike's minimum speed for the motor is 15kph, which is ok by myself, but my family likes to go slower, so I have to go fully manual with them. When I look at ebike ads it feels like nobody else cares about these two areas of performance. When I talk to local ebike shops they are unprepared to talk about torque and minimum speed.
rsingel•3d ago
It was too early and a bit of a dangerous design, but the StokeMonkey was built for torque and worked great at low speeds.

Some pedicab folks in Austin used to use them.

Hill climbing video YouTube https://share.google/iLrHXvjAKMO4esAux

Design info https://share.google/iLrHXvjAKMO4esAux

pmyteh•2d ago
I fitted a Bafeng mid-drive motor to my city bike and it's fabulous for hills. Because the power goes through the existing drivechain you can get high torque simply by switching to first gear. No minimum speed, power kicks in after half a turn of the pedals. Coupled with hub gears you can change at rest it's a marvel.

Even at the European street legal limit of 250W it makes acceleration trivial.

tokai•1h ago
Doesn't it help changing gears? You can even get sprockets changed to lower the gearing for more torque.
kibwen•59m ago
Depends on the bike. On some bikes the motor is mounted in the rear wheel, in which case there's no gear between the motor and the wheel. On other bikes the motor is mounted between the pedals and sent to the rear via the chain, in which case shifting works as you expect. But the latter style (a.k.a. mid-drive) demands custom frames (because mid-drive motors are nonstandardized), which increases costs and decreases repairability. In contrast, rear-wheel motors can fit on literally any frame, so they're much more accessible.
Mashimo•1h ago
Huh, it's you bike have a hub motor? The thing inside the wheel?

Mine sits between the pedals. That means I can just go down in gear and the motor helps with going up the hill.

WarmWash•1h ago
Sort of a hijack, but it rides on the awesomeness that e-bikes can bring about. They truly are incredible if you have never gotten to ride one.

E-bikes with throttles should not be refereed to as e-bikes

E-peds, e-motos, electric motorycle, whatever. Just don't call them ebikes.

The problem is people (especially kids) getting what are essentially electric motorcycles, thinking they are ebikes, and then causing all sorts of chaos on roads and bike paths. This inevitably leads to the public hating "e-bikes" and the government passing totally confused laws about "e-bikes". This also leads to kids getting killed because mom and dad bought them an "e-bike" and let them loose on the roads with it.

Pedal assist ebikes are incredible, and really just turn weak cyclists into strong cyclists, while still providing exercise. It's a revolution for society, but we have to be careful to not totally fumble it with electric motorcycle death machines.

Aurornis•1h ago
I agree. I thought the electric motorcycle problem was overstated by people complaining online at first. Then they became popular around my house and I agree it’s a huge problem.

I’m fortunate enough to live around a lot of walking and mixed use trails for bikes and pedestrians. Recently they’re unsafe to use in the evenings because you have to be ready to jump out of the way of groups of kids (plus a few adults who should know better) going 45mph on electric bikes with throttles. They don’t even pretend to be e-bikes any more.

The big problem is that there is zero enforcement. If there was at least a chance that someone breaking these laws could lose their bike or have to pay thousands of dollars in fines I think we’d see a lot less of it. Right now everyone knows that they’re not going to get caught, so it’s a free for all.

estebank•1h ago
I believe this to be growing pains. Legislation hasn't yet fully adapted, some of the legislation I've seen makes the mistake of conflaing these, and enforcement is nonexistent in most places. I suspect that as time passes, we'll find ways of allowing ebikes to flourish. Around me the biggest thing I've seen is parents on cargo bikes taking their kids, and that's a demographic that elected officials tend to listen to.
Aurornis•1h ago
We have the laws. What they’re doing is illegal. I think they need a higher tier of penalties for the repeat offenders, but that would require anyone getting caught first.

It’s an enforcement problem.

The riders know they’re riding where police cars can’t get them. They also know that the bike cops aren’t allowed to ride ultra powerful electric motorcycles. They also know they can just drive off across some grass into a park if anyone tries to stop them.

It’s a hard problem.

> I suspect that as time passes, we'll find ways of allowing ebikes to flourish.

Electric bikes are flourishing here. Electric motorcycles on bike paths are the problem.

I think the electric term is confusing the issue. If it helps, imagine that these were just really quiet but powerful gas powered dirt bikes riding on the pedestrian path. That should give you an idea of what’s going on.

estebank•1h ago
I know what you're talking about, but a lot of people are conflating them. In some cases it is legislators like a recent attempt to require ebikes have to register and have a drivers' license for them. In others it's parents not realizing that they got their kids an electric dirt bike instead of an ebike. Of course, you do have the antisocial element of people not caring and actually seeking out these, but we need to separate the different problems to address them, as you are doing.
Aurornis•59m ago
> In some cases it is legislators like a recent attempt to require ebikes have to register and have a drivers' license for them.

Has any legislation been passed or was this only a proposal?

Crazy legislation gets proposed all the time with no possibility of passing. Some times no intent of passing, either.

WarmWash•36m ago
I made a comment below about the law that just passed in New Jersey. The short of it is "Anything with two wheels and a motor is now legally a motorcycle, and must follow all the laws and regulations of motorcycles.
thwarted•37m ago
> We have the laws. What they’re doing is illegal. … It’s an enforcement problem.

Because some people think laws only ever exist to restrain as a show of power over others and something is only illegal if you get caught.

And some people just want to be contrarian and acting against the law is the ultimate punching-up.

Some laws are just a good idea, and provide benefit, or even just expectation/predictability, to everyone.

c0balt•1h ago
> Pedal assist ebikes are incredible, and really just turn weak cyclists into strong cyclists

The more useful case ime is turning cyclists with reduced mobility into regular cyclists.

In particular quite a few elderly people seem to have picked it up in my city, they aren't quite strong riders but definitely seem able of adapting to normal traffic. It also seems like a significantly safer option for individual transport than cars (especially in regards to the other traffic participants).

tokai•1h ago
You just repeated W²s point.
mikestew•33m ago
The more useful case ime is turning cyclists with reduced mobility into regular cyclists.

You mean, turn weak cyclists into strong cyclists, like GP said? :-)

brianwawok•21m ago
Elderly on a basically unlicensed motorcycle is a good recipe for injury. Pretty sure the stats look bad for this group especially
michaelt•1h ago
To me, that sounds like a task for your country’s lawmakers, rather than “Just don't call them ebikes”

Motorbikes need training, a license, insurance, registration, a minimum age, etc - and you’re competing with small petrol motorcycles which are cheap new, and plentiful on the used market.

E-bike makers aren’t going to volunteer for that - it’d destroy their business.

occz•57m ago
>E-bike makers aren't going to volunteer for that it'd destroy their business.

Arguably, complete bans will be even worse for business.

WarmWash•55m ago
New Jersey just passed some of the most onerous and short sighted ebike laws in the world last month.

Basically anything that has two wheels and a non-human energy source drive is now a motorcycle, requiring a license, registration (including a license plate), insurance, and a DOT approved motorcycle helmet, as well as This law came on the back of two teens being killed on ebikes last year.

This is the exact kind of idiotic knee-jerk legislation that will come from the public and governments general ignorance on the state of electric tandem wheel transportation.

So now in New Jersey, Betsy with her class 1 250W pedal assist ebike must get her license and don her motorcycle helmet while only riding on roads with her insured, registered, and license plated 15 mph bicycle.

Lawmakers aren't going to do their homework, they will just kneejerk appease the general public.

gimmeThaBeet•41m ago
yeah this seems to be the catch 22 to me. the laws are out there to limit the e-bikes to speeds and power. i want an irresponsibly powered one because i have an endorsement and want a non-sketch electric motorcycle that isn't mad expensive compared to petrol bikes in north america.

but because that would indeed kill their market because most people don't have motorcycle licenses, no one gets them approved, or countries won't allow them.

captainmuon•1h ago
I don't understand that point. Why do e-bikes become better or more safe when you have to rotate your legs? Its really frustrating and silly that I have to go through the motions (literally) of riding a bicycle if I want to get the priviledge of using a bike lane or going without a license plate. (At least that's the case here in Germany AFAIK).

They could go ahead and make "fast electric bikes" and "slow electric bikes" or something as categories and that would make sense - but hinging the decision on whether your legs or your wrist is turning is illogical. I think it is actually morally charged - like you have to put in the work if you want the privilege.

tokai•59m ago
Its easy, the accelerations are completely different and very hard to gauge. Also you have the elderly going speeds that does not mach their reactions, while also being unaware of how fast they are going. If you try biking with them it become very obvious how many dangerous situations they cause compared to true e-bike and normal bikes.
WarmWash•31m ago
Don't let perfect be the enemy of good.

We can focus on clamping down of "faux pedal ebikes" when the time comes, but for now it looks like we'll be throwing out everything to just to stop teenagers on surrons.

brianwawok•20m ago
How much riding does it take to hold 25mph? 12 months of solid riding? (This is being generous, many people will never hold this speed)

How much riding does it take to twist your arm 30 degrees?

You don’t see a difference?

conductr•58m ago
As an alternative mode of transportation, that could/should replace car usage for many people, I think we need to separate the two completely as well. The throttle version needs to be regulated more like a motorcycle or moped. This would take it out of the hands of most kids and cause license suspension worries for young adults and other reckless users. I agree they are essentially death machines and governments generally have no sane approach to regulating them.

That said, I think the e-moto versions have more potential towards alleviating traffic or being an alternative mode of transportation as most people don’t want to peddle at all. E-bikes are great, but I don’t think it’s reasonable to assume that would ever be on the average Joe’s list of feasible alternatives.

SoftTalker•52m ago
> most people don’t want to peddle at all.

Most people don't want a two-wheeler, period. Otherwise everyone would be riding motorcycles. People want a vehicle that will keep them dry, comfortable, and safe. Two-wheelers of all types fail at all of those things.

WarmWash•27m ago
There is nothing standing in the way of electric motorcycles.

People get e-motos because it is effectively a motorcycle, except it doesn't have any road legality requirements. People treat them like bicycles that can just magically go 50mph.

Aerroon•55m ago
I wouldn't want an e-bike precisely because I can't trust my government not to introduce some new legislation with onerous rules or extra costs. Maybe if they were cheap, but since they cost an arm and a leg there's no reason to get them.
unethical_ban•49m ago
I think e-motos should be as lightly regulated as possible. The regulations on bike paths should be speed, not pedal vs. non-pedal. And since "bikes" aren't regulated but "mopeds" are, you see people avoiding government BS by shipping e-bikes that have "off-road" mode that enables no-pedal throttles.
thrill•14m ago
“E-bikes with throttles should not be refereed to as e-bikes”

This is simply wrong and does a disservice to the growing eBike interest. The US-federally defined classes are proper and while IMO overly limiting (max speed should be 60kph and still classified as an eBike as it’s simply safer in traffic), they adequately classify what is an eBike and what is not, and having a throttle does not make something not an eBike, but max speed and power.

People have this urge to classify their limited version of what something is by how they use it with some desire to belittle others, and want to limit everyone else who have completely different requirements and capabilities and desires. eBikes in most US states can be ridden on sidewalks, in bike lanes, in traffic, on trails, and across a grassy meadow. There is no justifiable reason to require someone to have different eBikes to be able to do all those things with comfort and safety and capability and utility when a well engineered eBike can do all of them. That they might be safer with circumstantially restricted speeds, such as overtaking pedestrians, etc. again does mean multiple eBikes should be mandated to be able to do each of them.

In the US, hopefully the next administration will buy a vowel and realize they need to set federal standards and eliminate this hodgepodge state and county and city and park and street and neighborhood capricious variety of who can ride what when and where, and with what gear and at what times and for what reasons. If decisions are made that no one under 13 can ride an eBike, and then only to school until you’re 16, and you must wear a helmet until at least 19, then at least there will be consistent rules for people to argue for and against.

comrade1234•1h ago
I think that size of battery would move it into requiring a motorcycle license here in Switzerland, just based on the size alone. And if it goes faster than 45km/h then definitely.

I have my motorcycle license and have been considering getting something that I can ride all day. Only problem is that if it's classified as a motorcycle license I don't think I can take it in the train like a bike if I run out of juice far away.

devsda•1h ago
I know we all carry fully charged batteries in our pockets and sometimes keep them in our ears too.

But something about travelling in crowded and closed space like train with a fully charged diy (or even commercial) battery pack sounds risky.

This is one of the reasons I didn't go for a diy replacement of TWS pair with dead batteries.

nickorlow•1h ago
I'd be worried about getting into a crash on this bike. (still an awesome project)
skyberrys•1h ago
The article mentions using Trespa, which I had to look up. It's a type of cladding that is fire resistant but is also not metal. It's a laminate type. The author is in the Netherlands, the infrastructure there must be really good to be able to ride 160km on an e bike between cities.
tokai•1h ago
EuroVelo will blow your mind.

https://en.eurovelo.com/

davidw•1h ago
eBikes are such a game changer. I do most of our family of four's grocery shopping with ours.

Because of the assist, I find myself more comfortable in a wider range of weather conditions:

* If it's hot, I use more assist and there's an instant cooling effect. Much better than climbing into a hot car.

* If it's cold, I dress up to be warm outside and if I start to warm up on the ride, I use more assist. I don't have to try and balance staying warm and not getting sweaty.

* Same thing if it's wet out: I can wear heavier waterproof gear and not get sweaty.

Mashimo•1h ago
I bought an entry level ebike and the range is about 100km on lowest power on flat land, and of course it increases if you drive above 25 km/h.

I don't know what the difference is with what op has, but for me it's no extra issue to drive above the top speed. It's a gradient transition.

I use mine daily and charge it every two or three weeks.

HelloUsername•1h ago
Original post and discussion in 2021: https://news.ycombinator.com/item?id=29198205
renewiltord•59m ago
Very cool. Thanks for sharing. I have an ebike myself and have considered just strapping extra battery packs to the frame so that I can just swap when required. In the end, I mostly take shorter trips (I’ve had it since Dec and my odo only reads three figures).

Speaking of R&M, I have wanted to get one of their bikes that has the child container area in the front. I saw one guy with one and it looked pretty awesome. A large bike like that would benefit from some larger battery pack. And those have a flat area in front on the frame where you can host a few parallel to the floor (hard in a normal bike frame).

One annoying constraint is that it’s hard to find a place here in America where people won’t tacitly kill children. As more people here become online only child-free characters driving large EVs they don’t think too much about killing children and will only delay someone’s license for a couple of years for doing so.

The hard problem seems to be other people.

simonebrunozzi•53m ago
The title should say (2021). Great article.