Hacker Newsnew | past | comments | ask | show | jobs | submit | jtbaker's commentslogin

Incoming force push to rewrite the history . Git doesn't lie!

I wouldn't put it past them...

I wouldn't put it in past tense...

It's very cool! If you want to get higher cache hit rates from a CDN or redis etc. and lower the amount of S3 reads, you can get set up a proxy to convert `/{z}/{x}/{y}.mvt` requests into the byte-range requests: https://docs.protomaps.com/deploy/

Brandon has some example code you can lift to dump it into a Cloudflare Worker or other platforms on that page.


Thank you. I'm going to try this on a different project that we have. Our current deployment is designed to work directly through s3/api gateway which reduces the number of moving parts.

We update the tiles frequently, so the setup has been amazing for us.


you didn't need to read to rewrite to C# to do that - python should be able to handle streaming that amount/velocity of data fine, at least through a native extension like msgspec or pydantic. additionally, you made it much harder for other data engineers that need to maintain/extend the project in the future to do so.

The C# is probably far more maintainable and less error prone than Python. At least in my experience that's almost always the case.

The amount of Python jobs I've had which run fine for several hours and then break with runtime errors, whereas with C# you can be reliably sure that if it starts running it will finish running.


Not a language problem, it's a dev culture problem. You can hold your devs accountable to the quality of their code. Strong er typing support via static analysis as well as runtime validation with untrusted input/data has really helped python alot.

I'm not necessarily the biggest fan of python, but writing a data engineering tool in a non-data engineering focused language seems like a bad decision. Now when the OP leaves the organization is in a much tougher position.


> Now when the OP leaves the organization is in a much tougher position.

Are they really, though? You're assuming their org is unfamiliar with C#. Not all data engineers only know Python. The ones I work with mainly use C# because we all do!


I'm a software and data engineer. I work with C# pretty extensively in my software day job. I've never seen a data engineer job listing mention C#.

Additionally, the way the OP's comment reads, I'm ok with the assumption I made. It reads like it was a unilateral decision on their part and not something that got buy in from the team.


I'm glad they were able to pivot into Astro when Vite won the hot dev server game a few years back.

I'd love to see D1 as a supported catalog for https://ducklake.select/


Android doesn't use JDBC.

> Nextjs has no support

From what I remember, you can't even run a NextJS app through vite?


Yes, that's part of the problem, deploying nextjs to cloudflare in the first place used to be an absolute nightmare, let alone the dev experience (I think it's better now)

Wasn't this a decision made by Vercel to incentivize people using Vercel for NextJS apps? I can't recall.

It's gotten a lot better since last year with OpenNext. Last I tested was Next.js 15 though. Who knows what Vercel has broken with Next.js 16.

https://opennext.js.org/cloudflare


That doesn't sound too preposterous; I wouldn't assume you'd be able to run a React Router project on Turbopack or Webpack either, and Next.js I think has a way more intricate dependence on the bundler to power a significant chunk of its features.

This is insane to me, and validates my irrational dislike of next.

Definitely irrational. There are lots of logical reasons to dislike Next (like the fact that they pile new shiny bit on top of new shiny bit without caring about the regular user experience) ... but being mad that it can't run on Vite is silly.

It's like being mad that Rails can't run on Python, or that React can't run on jQuery. Next already has its own build system, so of course it doesn't work with another build system.


Isn’t the next.js build system known for being slow/memory hungry?

Luckily DX is much better now with Turbopack as a bundler. First they improved the dev server, now with Turbo builds the production builds are faster as well. Still not fully stable in my opinion, but they will get there.

It's also wise to use monorepo orchestration with build caching like Turborepo.

They did well on the turbo stuff, no doubt about it.

The main bottleneck with big projects in my experience is Typescript. Looking forward to the Go rewrite. :)


For those stuck in the past yes, they have replaced it with a Rust based toolchain, as is so fashionable nowadays.

100% rational. Nuxt/Astro FTW.

Isn't LNG a byproduct of the fracking process - and natural gas has taken over a good chunk of coal's role in our electricity generation?

Extracting LNG may or may not be via fracking, and may come from conventional or unconvential fields.

The largest LNG gas fields currently producing are not being "fracked", eg:

https://en.wikipedia.org/wiki/South_Pars/North_Dome_Gas-Cond...


I think of postal code as a generic, international form of the concept, not tied to a location.

I feel like with custom vector based styles, you should be able to get pretty dang close to cloning the look of it? Also subjectively, I find the protomaps basemap themes to be much nicer.

Yeah I agree, I found dozens of options that look (subjectively!) a hell of a lot better.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: