frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

The map that keeps Burning Man honest

https://www.not-ship.com/burning-man-moop/
374•speckx•4h ago•167 comments

Agents need control flow, not more prompts

https://bsuh.bearblog.dev/agents-need-control-flow/
89•bsuh•2h ago•42 comments

AlphaEvolve: Gemini-powered coding agent scaling impact across fields

https://deepmind.google/blog/alphaevolve-impact/
168•berlianta•3h ago•64 comments

DeepSeek 4 Flash local inference engine for Metal

https://github.com/antirez/ds4
114•tamnd•3h ago•33 comments

Natural Language Autoencoders: Turning Claude's Thoughts into Text

https://www.anthropic.com/research/natural-language-autoencoders
23•instagraham•1h ago•3 comments

Child marriages plunged when girls stayed in school in Nigeria

https://www.nature.com/articles/d41586-026-00720-8
250•surprisetalk•5h ago•160 comments

Chrome removes claim of On-device Al not sending data to Google Servers

https://old.reddit.com/r/chrome/comments/1t5qayz/chrome_removes_claim_of_ondevice_al_not_sending/
203•newsoftheday•2h ago•64 comments

PySimpleGUI 6

https://github.com/PySimpleGUI/PySimpleGUI
47•geophph•2d ago•14 comments

I want to live like Costco people

https://tastecooking.com/i-want-to-live-like-costco-people/
65•speckx•3h ago•146 comments

OpenBSD Stories: The closest thing to cute kittens (OpenBSD/zaurus)

http://miod.online.fr/software/openbsd/stories/zaurus1.html
32•zdw•23h ago•5 comments

Printing Blogs

https://fi-le.net/print/
17•fi-le•1d ago•2 comments

RaTeX: KaTeX-compatible LaTeX rendering engine in pure Rust

https://ratex.lites.dev/
122•atilimcetin•3d ago•75 comments

The Self-Cancelling Subscription

https://predr.ag/blog/the-self-cancelling-subscription/
100•surprisetalk•4h ago•43 comments

Principles for agent-native CLIs

https://twitter.com/trevin/status/2051316002730991795
7•blumpy22•1h ago•0 comments

MPEG-2 Transport Stream Packaging for Media over QUIC Transport

https://www.ietf.org/archive/id/draft-gregoire-moq-msfts-00.html
36•mondainx•4h ago•9 comments

Motherboard sales 'collapse' amid unprecedented shortages fueled by AI

https://www.tomshardware.com/pc-components/motherboards/motherboard-sales-collapse-by-more-than-2...
148•speckx•3h ago•141 comments

SQLite Is a Library of Congress Recommended Storage Format

https://sqlite.org/locrsf.html
556•whatisabcdefgh•20h ago•168 comments

Brazil's Pix Payment System Faces Pressure from Visa and Mastercard

https://www.elciudadano.com/en/brazils-pix-payment-system-faces-pressure-from-visa-and-mastercard...
32•wslh•1h ago•9 comments

How Cloudflare responded to the “Copy Fail” Linux vulnerability

https://blog.cloudflare.com/copy-fail-linux-vulnerability-mitigation/
57•mobeigi•5h ago•54 comments

GovernGPT (YC W24) Is Hiring Engineers to Build Thinking Systems in Montreal

https://www.ycombinator.com/companies/governgpt/jobs/hRyltS0-backend-engineer-thinking-systems
1•owalerys•6h ago

I switched from Mac to a Lenovo Chromebook

https://blog.johnozbay.com/i-left-apples-ecosystem-for-a-lenovo-chromebook-and-you-can-too.html
67•speckx•2h ago•92 comments

Show HN: Stage CLI – an easier way of reading your AI generated changes locally

https://github.com/ReviewStage/stage-cli
11•cpan22•3h ago•6 comments

OurCar: What I learned making an app for my family

https://mendelgreenberg.com/posts/ourcar/
74•chabad360•1d ago•52 comments

Speedup in Lattice Boltzmann Cylinder Flow

https://github.com/alikamp/Parks-KPBM-Scaling
40•kauai1•3d ago•3 comments

Show HN: TRUST – Coding Rust like it's 1989

https://github.com/wojtczyk/trust
81•wojtczyk•12h ago•53 comments

ZAYA1-8B matches DeepSeek-R1 on math with less than 1B active parameters

https://firethering.com/zaya1-8b-open-source-math-coding-model/
63•steveharing1•9h ago•49 comments

Boris Cherny: TI-83 Plus Basic Programming Tutorial (2004)

https://www.ticalc.org/programming/columns/83plus-bas/cherny/
154•suoken•2d ago•68 comments

Indian matchbox labels as a visual archive

https://www.itsnicethat.com/features/the-view-from-mumbai-matchbook-graphic-design-130426
131•sahar_builds•3d ago•32 comments

ProgramBench: Can language models rebuild programs from scratch?

https://arxiv.org/abs/2605.03546
115•jonbaer•15h ago•63 comments

Permacomputing Principles

https://permacomputing.net/principles/
234•andsoitis•16h ago•166 comments
Open in hackernews

California leaders report four to six weeks worth of gasoline and diesel supply

https://kmph.com/news/local/california-leaders-report-four-to-six-weeks-worth-of-gasoline-and-diesel-in-supply
82•cdrnsf•1h ago

Comments

htx80nerd•1h ago
Governments have gotten in the bad habit of acting like nothing will ever go wrong. Living paycheck-to-paycheck, so to speak. Cali not the only one suffering this fate. It doesnt matter if it's Trump's fault or not. Lets just say it is. Bad things happen. You have to be ready.
tialaramex•1h ago
Surely an example of being ready would be to electrify everything?
vkou•1h ago
The rest of the developed world is banning ICE car sales, meanwhile the US is scrapping its wind farms, because doing it trolls the left.
mikeyouse•16m ago
Not just scrapping them - literally paying foreign companies billions of dollars to not build wind farms. Illegally as well, there’s absolutely no authority for these payments to happen outside of Congress.
alpha_squared•1h ago
> Bad things happen. You have to be ready.

You're not wrong, but also how "ready" is "ready enough"? What about things the US doesn't generally have access to? Rare earth minerals? Helium? Cobalt? Coffee?

It also costs money to build the infra for storage and more money to maintain. There's always a trade-off. I think governments have done an acceptable job of being ready, but they are predicated on the assumption that the global order that the developed world has largely enjoyed for several decades remains largely intact.

It's a bad assumption in hindsight because some folks chose to go over a cliff over fixing deep-seated problems. You can't really control for chaos.

unethical_ban•1h ago
Moving to green and nuclear energy, pressing hard to upgrade the national grid would be the obvious things to reduce our short-term dependence on fossil fuels.

Energy independence is not a pipe dream, and it isn't ever going to be 100%. We should be working toward it.

We may be somewhat dependent on China or other sources for solar panels, for example, but once we have the product, it has a multi-decade lifetime compared to an instantly-consumed fuel.

Even if you're a fossil fuel fanatic, one should be advocating for more of our refineries to be tooled for processing our own crude oil. But that isn't as profitable in the short term, so we don't do it.

P.S. politically, we've seen our system does not have the capacity to deal with a malicious executive taking total control of the government. We need a complete rebuild of our legislative and executive branches.

AtlasBarfed•1h ago
We were fully warned of this with the supply chain disruption of covid.

Global supply chain has become dangerously dependent upon a stable geopolitical environment that has been unnaturally provided by the United States for the last near 100 years in post world war II.

This unipolar naval supremacy is not a normal situation. One of the things that triggered world war I was an escalating arms race in battleships between Germany and Great Britain.

I would recommend the United States practically every country, Force its automobile manufacturers to go very hardcore down the plugin hybrid electric vehicle, which will maximize the battery supply to electrify the largest amount of daily consumer transportation.

I would say you should impose a minimum of 40 to 50 mi for an all-electric range, The 20 mile range which is degraded to really about 12 now is not sufficient in my four phev.

Hybrids also weighs far less gasoline and idling and low torque low RPM situations like stop and go and sitting in traffic jams, by utilizing gener of breaking, using the electric motor for the 0-25 acceleration that ICE engines are incredibly inefficient at.

It's my opinion that the equipment and manufacturing switchover should be much less of an imposition on car manufacturers than the full EV switchover. Consumers do not have such a shocking switch to driving habits because a phev just functions like a normal ICE car if the battery drains, it solves long-range transportation issues and concerns with EVs.

Most car manufacturers know how to make turbocharged high efficiency compact engines, most major manufacturers I believe know how to use Atkinson cycle with variable valve timing combined with a hybrid drivetrain to further boost gas efficiency

iqihs•1h ago
the entire economy of California being dependent on how Iran is feeling on a given day is crazy work
smlacy•1h ago
Yeah especially given that California is a leader in renewable energy sources.
hvb2•1h ago
Renewables is for electricity. Oil is used for a lot of things that electricity can't replace, or not yet
jeffbee•1h ago
Much of what fossil fuels are used for is to refine fossil fuels, a use that we don't need to entirely replace.
bdcravens•1h ago
Yes, but even the renewables market is dependent on petroleum-based transport and infrastructure.
triceratops•48m ago
But the more renewables get used the less true that is.
bdcravens•20m ago
Possibly, or more infrastructure is needed to support the growing demand for renewables, and the equipment is often trucked around using standard freight (large trucks or airplanes), concrete trucks to pour slabs, etc.
triceratops•13m ago
Electric trucks are rapidly becoming a thing. And even if not, more trucks delivering equipment for renewables get balanced out by more EVs.

Not to mention natural gas and oil will always need to be shipped around. Whereas when you have enough renewables and a grid that can supply enough electricity, shipping panels and batteries drops by a lot.

bdcravens•2m ago
Yes, and I look forward to when electric freight is a thing, but I do think it's an overstatement to say they are "rapidly becoming a thing". Articles about electric trucks among the HN crowd make it feel that way, but those are tests that don't really reflect what's happening in the market. (Most of the available data puts the overall percentage of freight moved by renewables at less than 0.1%). I suspect we're 10-20 years away from a time when a majority of DC chargers, solar panels, or wind turbines are transported using something other than gasoline or diesel.

Don't get me wrong, I'm quite dogmatic about renewables (we have 2 EVs, pay more for various renewable options, aggressively recycle, avoid single-use plastics, etc). I'm just pragmatic in my outlook.

neaden•1h ago
Who do you think started the current war?
traderj0e•30m ago
This is oversimplifying war. Whoever struck first isn't necessarily the one who created the conflict.
za3faran•23m ago
In this case it is.
whatthesmack•10m ago
Iran did, by killing over 1000 Americans over the last 47 years.
traderj0e•7m ago
So what, how many Iranians did the US kill?
hvb2•1h ago
The US is an exporter of oil, so no US state will run out.

However, you do pay the market price.

daedrdev•1h ago
CA mandates its own blend which it is dependent on imports for
greenavocado•1h ago
California is very poorly connected to the rest of the country in terms of pipelines https://www.bts.gov/sites/bts.dot.gov/files/2021-03/U.S.%20P...
doug_durham•1h ago
Yes it is a net exporter of oil, but not oil for gasoline. The use is a net importer of oil used for gasoline. That's because oil companies have chosen to not make the investments needed to refine domestic oil. We have to import for that.
repelsteeltje•1h ago
The article mentions that California no longer is. Due to closures it is now a net importer of oil.
edmundsauto•1h ago
Isn’t it more dependent on how Trump is feeling? That makes it much more depressing for the leader of the country to be messing with our largest economy like this.
__loam•1h ago
People will blame climate policy on this but this is evidence that we've failed to move off our fossil fuel dependency.
throwforfeds•1h ago
We've had decades to do something about it, but if Trump deciding to step into a completely unnecessary war and blundering the entire thing is what makes everyone wake up then I guess that's a silver lining.
dylan604•53m ago
4D chess baby. He's a genius. All of his oil investing friends think so.
tinyplanets•42m ago
He's the best, the best at everything. Including tanking the world economy...
com2kid•1h ago
It is funny that propaganda has somehow convinced conservatives, people who used to idealize self reliance and independence from government dependencies, to move away from solar and EVs.

A EV and a home solar setup with a large battery bank, is the ultimate in self reliance.

I remember even 10 years ago you'd see the occasional right leaning homesteader talking about the benefits of being off grid with a solar setup.

Now days removing our dependencies on foreign powers is somehow a liberal conspiracy. O_o

hamdingers•1h ago
A bicycle and moderate fitness is the ultimate in self-reliance but you never heard them promoting that either.
com2kid•1h ago
Bicycle doesn't carry a family of 4, or carry loads of dirt or pick up lumber or tow a trailer.

Also my e-bike needs more maintenance than my EV. Go figure.

mylifeandtimes•58m ago
carry a family of 4 where? if you rely on that other location exisiting, you are not self-reliant.

tow a trailer where? see above.

Pick up a load of dirt or lumber-- how did those materials get to the pick-up point?

And the road you are driving on, where did it come from?

traderj0e•4m ago
Being conservative doesn't mean I don't want roads or businesses to exist
dylan604•48m ago
I was very pleasantly surprised at how much my single cargo e-bike can handle. It is big, nearly the size of a tandem bike, but it served me well for 5 years of not having a car.

Curious about your maintenance needs. I have a guy that comes out once a year for service and tunes it up for me. After 3 years, I replaced the chain. I've upgraded to hydraulic brakes by the same guy. Other than that, it's been smooth riding. Or are you saying your EV needs so little maintenance that even the low maintenance on a bike seem high?

com2kid•37m ago
I haven't had to do any work on my EV in the 2 years I've had it.

I'm due for a cabin air filter change in another couple years.

So yes the bike is costing me more in maintenance! It is hard to compete with 0.

dylan604•14m ago
Does the eBike have a monthly payment plus a required insurance policy? The EV still costs way more to own which is the most important factor
olyjohn•47m ago
It does carry a family of 4 in a lot of places. I've seen entire clothing stores set up on bicycles in places like Thailand.
theultdev•1h ago
I'm conservative and own an EV and ICE truck. I know many conservatives with Tesla's. I have solar and a propane generator as backups.

I think the propaganda would be whatever said we're all against it, that's untrue. We just want both, no gas bans.

com2kid•54m ago
Conservative bots are out strong in Pacific NW forums slop posting against new "green energy" energy projects. Blaming the (not yet built!) green energy projects for upcoming rate increases.

Nevermind that solar is why Texas has such cheap electricity prices.

> no gas bans.

I'm all for the free market.

Price into gas the expected increase in healthcare costs due to air and ground water pollution. Stop subsidizing it for non-critical uses.

Same for extra tire dust from EVs (that shit is toxic AF).

Right now I see astroturfing that EVs are why our electricity infrastructure is overloaded (rather than blaming 50 years of neglect), or that the cars burst into flame (no more than other cars and newer battery tech not any more).

Subsidizing EVs is interesting because it is obvious that EVs are the future (battery tech gets ~6% better year over year, compounding, ICE designs haven't seen improvements in decades), but recent removal of government support caused American car companies to basically give up on anything except the domestic car market, which spells their long term doom (which the Ford CEO has pretty much come out and admitted.)

traderj0e•45m ago
There's already like 90c of gasoline tax in California and some of the highest auto registration fees, and that's on top of other rules that make it more expensive.
daedrdev•1h ago
Texas is better at this because they don't restrict solar with “enviromental” nimby lawsuits.
dylan604•54m ago
Nor have restrictions on refining oil or require a special blend of gasoline. It does seem strange to call out Texas as doing something right environmentally.
sfghsdgh•1h ago
6 weeks are standard. If you want to keep it for longer it needs additives which increase price. Noone does that usually.
rconti•1h ago
I think in this case it's 6 weeks but _declining_, but that's a good distinction to point out.
Plasmoid•57m ago
Yeah, but what's the burn rate?

If it's going down at 1 day per week then it's not so bad. If it's closer to 0.75 days per day, that's much more serious.

_air•1h ago
Yeah, seems like a standard supply level to me.

"California’s inventory has averaged just over 20 days of supply over the last five years (2019–23), compared with the U.S. average of 21.6 days."

https://www.eia.gov/todayinenergy/detail.php?id=63944

wat10000•1h ago
I think they mean that it's 4-6 weeks until they hit zero, accounting both for stored products and the current rate of production/imports.
FrustratedMonky•1h ago
Usually when something like this is reported, it is because of some other milestone.

Like, they have 6 weeks, on hand, in tanks already delivered.

But, all of the ships in-bound are now done.

After the war started, there was a record number of ships, already filled, already in-transit. But now they have all reached their destinations. So there is no more incoming.

josuepeq•1h ago
Soon gas stations in the Bay Area will have to price Gasoline in quarts, because the gas pumps can only display up to $9.99.
dylan604•56m ago
That'll confuse the average driver. The number of people that know the various measurements for fluids is not that high. I can totally see some future social media posts excited about the $2.99 price and then getting upset when the pump shows .25 gallons.
JumpCrisscross•1h ago
I’m surprised that only “18.9% of new car sales” in California are electric [1].

[1] https://www.energy.ca.gov/news/2026-01/california-surpasses-...

com2kid•1h ago
Other countries have $15k new electric city cars for sale. The US doesn't. Our domestic car manufacturers are either uninterested or unable to make them, and import bans are in place on foreign cars that meet that price point.

Also our infra not being 240v is hurting us. The rest of the world can just plug in overnight to any regular outlet and it is good enough for almost any commute.

My EV on a 120v outlet I can manage, but it'd be hard with a second EV.

The lack of ecosystem for good electric scooters is also sad. The weather in much of cali is perfect for it. Last time I went back to China the streets were so quiet as all the electric scooters drove by. An incredible change for the better.

I remember stepping into an apartment parking garage that was filled with scooter charging spaces, like hundreds of them. It was crazy.

Then I went to Taiwan and while walking around I barely talk over the noise from all the gas mopeds.

I joked that the streets in China and quiet and the sidewalks noisy, and the streets of Taiwan are noisy and the sidewalks are quiet.

kibwen•1h ago
> Also our infra not being 240v is hurting us. The rest of the world can just plug in overnight to any regular outlet and it is good enough for almost any commute.

US homes don't need any significant accommodations for 240 volt infra. Plenty of US home appliances are already 240 volt; this is a solved problem.

https://www.youtube.com/watch?v=jMmUoZh3Hq4

irishcoffee•55m ago
Yeah this confuses me. I was under the impression that every electric oven and clothes dryer in the US was 240 (220) volts already. I was not aware or tracking that 240v was an issue. Is that the case in places in the US?
kibwen•51m ago
Keeping in mind that US electric infrastructure is the oldest in the world and fragmented across a slew of jurisdictions with their own building codes that electrified in different decades, thus making it impossible to say anything with 100% certainty: US homes already have 240 volt service, but split-phase so it often appears to be 120 volts. I edited the prior comment with an informative video.
mikeyouse•46m ago
Nearly all US homes have 240V to the electric panel, and some have it for specific places in the house (though many places are almost entirely gas dryers/ovens), but you would need a special outlet run to charge your car at 240V since almost all regular receptacles are 120v. Even the heavy duty receps in garages and utility spaces are most often just 20A/120V instead of the standard 15A/120V.

Quotes for a new 240V line are often >$1K which is affordable in the context of a household improvement but not exactly pocket change.

com2kid•50m ago
In other countries every outlet is 240, a regular extension cord to outlets in a apartment complex garage is 240. It is less overall amps than the beefy 240v an American dryer plugs into, but it is good enough.

Meanwhile $3k to get 5 feet of 240 ran in a conduit and an outlet installed in the US.

For many apartment and condo complexes, it just isn't doable as a reasonable retrofit.

JumpCrisscross•1h ago
> our infra not being 240v is hurting us

The 240V requirement has been overplayed, in my opinion. I still have a gas car. But my driving needs would easily be covered with 110V.

dylan604•59m ago
Most residential mains is 240v on two legs that gets divided to 120v outlets. However, major appliances like dryer/HVAC will use the 240v. I had a 240v outlet added to my garage for larger equipment. It is absolutely possible to add a 240v charger at single family homes with a visit from an electrician. The US standard of 120v is not an issue.
joshuahaglund•59m ago
I think most of the US has 240 to the home. Look at your power feed, if there are two insulated conductors on an uninsulated line, those are two 120V lines of opposite phase/polarity. I have a friend who temporarily ran a 240 volt welder by plugging into a custom outlet box, wired with two plugs that went to two outlets on different legs of the breaker box. Electric ovens, ACs, hot tubs, dryers, etc. are all commonly 240 and work with the right house breaker and wiring setup.
com2kid•40m ago
I fully understand the 240 vs 120 in US houses.

The difference is other countries have 240 running everywhere. So apartment garages can have cars charging (slower than the max possible speed but faster than if they were on 120v), without tens of thousands of dollars in retrofits.

I just got an estimate of 3k for running basically 6ft of conduit for a new 240v line in my own garage (my breaker is right next to my door, super short run!)

Now thinking about my last condo I lived in, retrofitting even a small condo parking garage for EV chargers for, say, 20 spaces. Let's estimate 30 feet on average line run per space. Assuming a discount on price, maybe 12k per parking space to install a 240 plug, with lines split to cover multiple spaces.

The price is just absurd. That's 1/3rd the cost of a reasonably priced car.

crooked-v•39m ago
The bigger problem isn't the 240v, it's that a lot of people just don't have parking that's practical for plugging in without extensive rewiring (a vast majority of condo/apartment garages) or running a hundred-foot extension cord down the building and across sidewalk (https://i.imgur.com/ou0uYmb.jpeg).
kccqzy•1h ago
That number you quote was from the fourth quarter of 2025. EV tax benefits expired in the third quarter of 2025. People who were on the fence all bought during the third quarter. The market share was 29.1%.

https://cleantechnica.com/2025/10/13/california-reaches-29-1...

philipallstar•1h ago
I assume people are worried about former "we have 12 years before doom" people, having all converted into "burn Teslas" people, destroying some of the best electric cars on the planet.
jerlam•1h ago
That's for Q4 2025.

The $7.5k EV subsidy ended in Q3 2025. Everyone considering buying an EV, bought one right before Q4 2025. The percentage for Q3 2025 is 29.1%: https://www.gov.ca.gov/2025/10/13/record-breaking-quarter-ca...

It may rebound back to these levels due to the gas price increase, and many car manufacturers slashing their prices to compensate for the subsidy ending.

johnvanommen•42m ago
Anyone who lives in an apartment or condo will have a difficult time charging an EV in CA.
rconti•1h ago
I'm a bit perplexed on this one-- Yes, we refine our own blend of gasoline, but it's based on market oil -- nothing about the war we started with Iran impacts our domestic refining capability.

Also, oil takes longer to get from Iran to the west coast than to the east coast. Shouldn't the east coast be the first to notice decreased shipments, because the west coast essentially has a stock still in transit for longer?

EDIT: Nevermind, now I see that 25% of CA gas is refined overseas.

daedrdev•1h ago
CA’s requirement that it gets its own blend of gas is combined with how its openly hostile towards its ever decreasing refineries and that it is impossible for a new refinery to ever open makes it’s supplies absurdly limited
guyzero•1h ago
Everyone loves gas and hates refineries. It's a tough choice.
doug_durham•1h ago
People in LA need to breathe during the summer time. So yes we demand a blend that protects our residents. And the refiners are choosing to close refineries. They are not being compelled.
ceejayoz•1h ago
Yeah, I remember flying into LAX in the late 80s and early 90s. Smog so thick it looked like a physical obstacle.

Whatever they're doing seems to be working nicely.

johnvanommen•36m ago
Car emissions are far lower now. I lived in CA when the air was grey in July.

That ended a long time ago. A modern Honda generates something like 1% as much pollution as a car from the eighties.

daedrdev•1h ago
They are being strangled, it’s their choice to tap out is how I would put it.

The improvement in air quality is due to the clean air act, catalytic converters, and the shuttering of industry, the gas blend plays a minor part. Even then, with gas so much higher it will materially make peoples lives worse, at some point society would be better off getting rid of the blend.

bsimpson•1h ago
It's bonkers that some of the most expensive gas you'll ever buy is in SF, and Martinez is _right there_. You could bike there, if they allowed bikes on the bridge.
wiredfool•5m ago
I paid the equivalent of $12.50 a gallon for diesel at the peak price a month or so ago.
tencentshill•1h ago
California learned that lesson the hard way. Have you been in the city during a bad smog day?
johnvanommen•38m ago
> CA’s requirement that it gets its own blend of gas is combined with how its openly hostile towards its ever decreasing refineries and that it is impossible for a new refinery to ever open makes it’s supplies absurdly limited

A big one is a lack of pipelines.

As I understand it, California sits on so much oil, nobody has built a pipeline.

Building an energy pipeline in California is like bringing sand to the beach. The energy is already there.

flumpmaster•18m ago
There are plenty of crude oil and refined product pipelines in California.

For example crude oil is produced mid state in the San Joaquin valley and pumped by pipeline to the Bay Area and LA refineries.

Refined product from LA is delivered by pipeline from LA refineries as far east as Phoenix and up to Las Vegas.

Building new pipelines in California though is…challenging.

guyzero•1h ago
Weirdly California doesn't get all of its gas from domestic refining.

https://timesofsandiego.com/state-region/2026/04/23/prices-c...

"California’s top foreign refinery supplier of gasoline and blendstocks this decade is Reliance Industries Ltd.’s Jamnagar refinery complex in western India. "

"More than 9 million barrels arrived via this loophole in 2025"

Now, that's a tiny fraction of the 320M barrels of gas used in CA annually, but anything that affects global oil shipments will be felt in California.

brightball•1h ago
2 refineries in California were closed over the last 2 years leading to a 17% reduction in total refining capacity.

Per the article, the type of fuel needed by California standards is produced at refineries in India, South Korea and Washington.

https://www.eia.gov/todayinenergy/detail.php?id=65704

jeffbee•57m ago
... because demand is down. California hit peak gas sales 20 years ago and reaching zero motor fuel sales is foreseeable.
AnimalMuppet•21m ago
Reaching zero motor fuel sales is foreseeable? By when do you foresee it?

How much below the peak is current sales?

bdcravens•1h ago
All the more reason why we need to move off of everything that doesn't require gasoline/diesel: those are precious resources that shouldn't be wasted on Starbucks runs.
hx8•1h ago
Isn't 4-6 weeks about normal conditions? It feels like a large amount of slack for a modern JIT logistical system. Anymore enters strategic reserves territory.
ceejayoz•1h ago
Sure, but these aren't normal conditions. So that JIT amount is gonna rapidly become NJIT.
dylan604•1h ago
I'm not very creative, but if we could use DJiT to go along with the at fault party's initials, that could be fun.
gruez•1h ago
Not sure about california specifically, but elsewhere in the world stocks are definitely lower than normal.

https://www.economist.com/cdn-cgi/image/width=600,quality=10...

tpurves•1h ago
What this article fails to mention is that there are also a record number of empty tankers routed to the US refineries right now, with the intention of shifting still-relatively cheap US oil products to overseas markets where the prices are already much higher and shortages have already hit. The effects of the Iran war on the US economy will really start to kick in over the next several months.
daedrdev•1h ago
Once again, its illegal to use that oil in California due to (imo bad) environmental regulations
flumpmaster•24m ago
If you are referring to American light crude oil grades such as WTI (West Texas Intermediate) that is not correct. That oil could be refined in California. It would have to come by tanker from the gulf coast through the Panama Canal to get there. Until recently it would have to come on a Jones Act US flagged tanker (expensive, scarce). That requirement has been temporarily waived.
daedrdev•22m ago
Right I forgot we waived the jones act. Refiners are hard to come by in CA though as they keep shutting down
pear01•1h ago
In such a situation - especially heading into the midterms - an export ban may be increasingly probable.
TheGRS•1h ago
This is way outside of my area of expertise, but I thought US export oil was not fungible with what we consume.
0cf8612b2e1e•1h ago
Fake numbers, but I have heard it is something like the US produces 100 units of light crude -exports it all, and imports 50 units of heavy. Net exporter, but the stuff we use domestically for gas refineries comes from elsewhere.

Technically, the refineries can be retooled to take a different blend, but it is expensive to do.

oceanplexian•44m ago
It’s actually harder (requires more advanced technology) to refine heavy and sour crude. The US refining industry process this type of oil mainly because it’s more profitable not because of some limitation.

American oil on the other hand (As in extracted out of the ground) is actually too high quality for domestic consumption therefore gets shipped overseas and sold at a premium. The weird economics of this are made possible by globalization. While it’s not fungible on a dime it’s easy to solve and the US really does hold all the cards when it comes to the petroleum industry.

jandrewrogers•18m ago
US crude oil is exported to foreign refineries for blending purposes. By blending low-quality crude with high-quality crude it can reduce the total costs to the refiner even after accounting for the fact that you had to buy high-quality crude to improve the properties of the domestic crude.
mjhay•1h ago
An export ban wouldn’t really help much: US oil production is (now) predominantly light crude, while US refinery capacity is oriented towards heavy crude from the gulf or Venezuela.

We produce more oil than we use, but we can’t refine it all.

badc0ffee•1h ago
> US refinery capacity is oriented towards heavy crude from the gulf or Venezuela.

Or from Alberta.

pear01•1h ago
It may be a bad idea (for various reasons), but it is one already being floated. Here is a press release just today from a California congressman who is proposing a bill to this effect.

https://sherman.house.gov/media-center/press-releases/congre...

If you agree with the parent that Americans are going to feel more energy market pain in the coming months I would imagine the pressure for this will only increase.

JumpCrisscross•47m ago
> An export ban wouldn’t really help much

It could help in the long term by underwritig refinery retooling. The problem is you'd almost certainly need public support for those investments, given they could be undone by the lifting of such a ban. (An export ban would also trash America's reputation with our import partners.)

jandrewrogers•30m ago
Refining light crude is essentially the same process as heavy crude with fewer steps. US refineries are designed to handle virtually any kind of crude and are highly configurable. That flexibility is part of what makes their refinery business so successful. US refinery capacity is ~50% larger than their domestic oil production; it is a major export business for the US.

The real cost to not processing heavy crude oil is that many refinery assets will be sitting idle because they aren't needed to process light crude.

JumpCrisscross•32m ago
> an export ban may be increasingly probable

"U.S. crude oil and lease condensate proved reserves decreased 1% from 46.4 billion barrels to 46.0 billion barrels at year-end 2024" [1]. At February's 180 million barrel/month import rate, that's only 21 years of supply in the ground.

Reliance on oil, for America, is a long-term reliance on foreign oil.

[1] https://www.eia.gov/naturalgas/crudeoilreserves/

[2] https://www.eia.gov/dnav/pet/hist/LeafHandler.ashx?n=PET&s=M...

0cf8612b2e1e•1h ago
Where you can go to monitor this? Does it require an expensive AIS data feed?
kyrra•1h ago
California also needs a special blend that is only required in California (CARBOB). A lot of that is refined outside of the US, because there is not the capacity domestically. Cali could immediately have more fuel and cheaper prices by dropping their special requirements.
throw03172019•1h ago
Is this an emissions reducing based blend?
flumpmaster•48m ago
Yes.
shadow28•31m ago
Yep, it's a low sulfur, lower volatility gasoline blend (https://thebreakthrough.org/issues/energy/how-california-reg...) which apparently cuts harmful exhaust emissions like carbon monoxide and NOx.
jsbisviewtiful•23m ago
Sounds great for people and the environment. Too bad its production is now in danger thanks to horrible, ignorant decisions by this administration.
gjsman-1000•21m ago
… except that it’s wildly expensive per gallon compared to the rest of the US.

If you’re making six figures on two incomes, it’s plenty tolerable.

If you’re single and working as a street sweeper or make $60K a year outside the cities, it makes you want to burn the system down.

For anyone who isn’t rolling in cash, it’s economically oppressive. I’m not surprised that breeds resentment. I consider this the biggest blind spot of green movements: “It’s not that much more expensive to be green” said by someone who can afford it to people who can’t. A modern “let them eat cake.”

jst1fthsdys•2m ago
Prices just shot up over a dollar nationally and no one is burning anything down.

The real "let them eat cake" is the biggest polluters externalizing the costs of that pollution down to the people, all while the state is dismantling the EPA and clean energy.

Imagine if we had real public transportation across the nation. Less pollution AND cheaper for the average person. Wonder why that isn't happening.

0cf8612b2e1e•1h ago
Presumably that might get an emergency resolution in the coming weeks.
wilg•1h ago
Nice of Donald Trump to force us into a choice between poisoning the air and financial hardship! But at least it was for a good reason: ???
colechristensen•56m ago
Does this have anything to do with the extensive and happening now or very recent shutdowns of several california refineries?
flumpmaster•30m ago
Yes. Between 2020 and present The refining capacity in California declined by 35% from 1.9 MM BPD to 1.2 MM BPD with the closure of 4 refineries:

Marathon Martinez (2020) converted to renewables. Crude capacity 157 MBD, Renewables capacity 48 MBD

P66 Rodeo (2022) converted to renewables. Crude capacity 120 MBD, Renewables capacity 50 MBD

P66 LA (2025) shutdown. Crude capacity 139 MBD

Valero Bencia (2026) shutdown. Crude capacity 145 MBD

The California Air Resource Board (CARB) has promulgated a revised Cap and Invest rule that threatens the viability of the remaining refineries. All the remaining California refineries have sent CARB, the Governor and the CA legislature letters pointing this out.

California is now a net importer of gasoline following these refinery closures.

annoyingnoob•56m ago
We could die chocking on the air that produces too. Understand the history in CA and the reasons we have special gas. Would you really want to hurt children for cheaper gas? Really?

https://today.usc.edu/las-environmental-success-story-cleane...

GenerWork•52m ago
Those rules around special gasoline were made when both federal and California car exhaust regulations were much looser than today, and electric cars were a complete pipe dream. I've seen estimates ranging for savings from $.25 to $1 per gallon if California dropped the requirements.

>Would you really want to hurt children for cheaper gas?

Nice appeal to emotion.

hparadiz•48m ago
It's more emotional to drop an important regulation over a dollar. I was already paying $5 for premium before all this and now it's $5.75. Big deal.

I'd rather have clearer skies.

jshen•38m ago
You didn't really address his main point. Will this lead to higher levels of pollution that will have real health consequences? Oddly you suggest it's not valid to raise concerns around health consequences.
annoyingnoob•14m ago
You obviously never loved through LA Smog. You never had to stay inside or skip school because the air was too dirty to breathe. Take a look at how it was: https://www.ccair.org/wp-content/uploads/2016/10/LA-smog.jpg

Cars may burn cleaner but they still burn, and there are more of them than ever.

Easing economic pain in exchange for health pain is nonsensical. Breathe from your own tailpipe if its no big deal.

oceanplexian•52m ago
Texas has plenty of refineries and the children there aren’t dying or choking on the air.
0cf8612b2e1e•47m ago
It has to do with LA geography. The surrounding landscape traps the pollution so it cannot dissipate away from the city.
annoyingnoob•12m ago
Different geography/topology. https://www.clarity.io/blog/a-closer-look-at-los-angeles-inf...
JumpCrisscross•49m ago
> Would you really want to hurt children for cheaper gas? Really?

Yes. Most voters would, too. "Cheaper gas" understates how serious even a $20/week increase in living costs can be for a household on the margin.

annoyingnoob•9m ago
I'm not sure that most voters that have lived through smog in SoCal would vote for that. It is easy to decide that its okay to pollute a place where you don't live.
at-fates-hands•56m ago
Last year there was some rumbling that Newsom would start to increase production because two refineries were closing sooner than later with the prospect of much higher gas prices. Since CA is really pushing renewables hard and transitioning off of fossil fuels, all the front runners for CA governor have indicated they are steadfastly against increasing production.

Gavin Newsom warms to Big Oil in climate reversal: https://calmatters.org/politics/2025/08/oil-compromise-calif...

I think your idea is a great solution to the problem and would give politicians cover with their environmental base and a win for their constituents.

dmitrygr•49m ago
> Newsom would start to increase production

Newsom is not a refinery nor does he own any refineries. He cannot increase any production by definition.

AnimalMuppet•38m ago
He can allow non-California-special-blend gasoline to be sold in California, as a temporary emergency measure. This does not increase any production, but it massively increases the production of gasoline that can legally be sold in California.

(As a side benefit, he can also blame the need on Trump, if the environmentalists get on his case...)

Avicebron•1h ago
I suppose it's too much to ask that oil produced in the US be used for the US people?
JimBlackwood•1h ago
I don’t think it is. If we can then also ensure the US stops meddling in international affairs, we can all be happy!
abhiyerra•1h ago
The type of oil that the US produces (light and sweet) can't be handled by US refineries which need (heavy sours). Why we are still a major importer of oil.
legitster•58m ago
Depending on the type of oil and the refinery availability it's not that simple. Not all sources of oil can go to all refineries.

Also, there's the bigger geopolitical problems that creates. If the US knocks over the global energy supply and then retreats and abandons our trading partners, the knock-on effects would be even worse.

A large part of the reason WWII existed was the breakdown of international trade during the Great Depression. Countries without domestic supplies of their own were forced to grab territory instead of peacefully trading for what they needed.

at-fates-hands•48m ago
How do you think the UAE leaving OPEC will effect the oil markets in the coming months and years? Its being touted as having a major impact.
thuuuomas•45m ago
Why would they sell it for less when they could sell it for more?

We’re witnessing “American exceptionalism” transform from a brash claim to a whiny demand in real time.

mikeweiss•1h ago
When you see the U.S Government making near daily public statements with the intended effect of calming markets and the public.... It's time to be worried. A.K.A when the government says "everything is going to be ok, don't worry we got this under control" that's when shit is bad. This is what we have been seeing. It seems we are near a tipping point now.
AnimalMuppet•23m ago
Well, things can be bad because they are inherently bad, or things can be bad because people are panicking, and panicking people react in ways that make situations worse.

Saying "it's going to be OK" doesn't change any circumstances. But it may reduce the level of panic (depending on how much the people trust the government), and that can in fact change the way the circumstances evolve.

brightball•1h ago
Didn't California shut down 2 high capacity refineries in the last couple of years?
cardiffspaceman•55m ago
The capitalists who own them shut them down.
jeffbee•42m ago
But this guy is fixated on the fact that 17% of the refineries were closed in a state where gas sales fell 17%.
0x1ceb00da•57m ago
Interesting. I thought the USA secured cuban oil to prepare for the fallout of the iran war. Was that not enough?
AnimalMuppet•19m ago
Venezuelan, not Cuban.

And what they secured (if they secured anything) was basically future. It's going to take years to ramp Venezuelan production back up to what it would be with decent management.

comrade1234•15m ago
Fox News isn't real news and shouldn't be taken seriously.