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

Read the Readme.

They've linked to https://s-macke.github.io/Test-Drive-3-Maps/


this is not jpg or png but some dynamic stuff.

It freezes up my phone. Why do you need to complicate the stuff so much?

Direct jpg or png could be rendered even by pentium 100 with 32mb of ram...



Sorry, the maps are rendered in 3D so that you can fly around. I can of course make top-down screenshots of the maps. Thanks for your feedback.

You can press P to toggle the edge point visibility.


How on phone?


If imported, using a bundler, one can also partially import features and install them when needed:

https://apache.github.io/echarts-handbook/en/basics/import/#...


the web port: https://isle.pizza/


> Next.js uses an internal header x-middleware-subrequest to prevent recursive requests from triggering infinite loops. The security report showed it was possible to skip running Middleware, which could allow requests to skip critical checks—such as authorization cookie validation—before reaching routes.


Not a web dev, so struggling a bit to understand this.

Are they saying they had a special flag that allowed requests to bypass auth, intended to be used by calls generated internally?

And someone figured out you could just send that on the first request and skip auth entirely?


If I’m reading the code right, it support their hybrid model where your code can run in three places: the user’s browser, Vercel’s edge, and an actual server. It looks like the idea was for when code in the edge context to be able to call the server faster but it was not protected to keep anyone else from calling it directly.

If I he for that right, this is a security review failure since people perennially try that optimization and have it end poorly for reasons like this. It’s safer, and almost always less work, to treat all calls equally and optimize if needed rather than having to support an “internal” call type over the same interface.


As I understand it, the middleware runs before a request hits a page or API route.. so to avoid infinite loops from internal subrequests (URL rewrites, etc), Next.js tags them with the x-middleware-subrequest header. This tells the runtime to skip middleware for those requests and proceed directly to the target. Unfortunately this also works externally.


Didn't Musk join them ~2 yrs after it was incorporated and didn't start the company?


Sure, you can join something like that, too. That's not the important part. The important part is to get a sustainable business out of it. Just 5 years ago nobody believed this was doable.


Well, clearly the _actual_ founders of Tesla did...


5 years ago they weren’t there anymore. And Musk famously slept in the office and nearly went bankrupt and insane trying to ramp up production of model 3.


When Musk joined the company was barely more than an idea and he joined 7 months after it was incorporated.


lol Tesla was nothing before he joined.


There's also the minecraft thread: https://forums.tigsource.com/index.php?topic=6273.0

Sadly many linked images aren't available anymore and the oldest archive is pretty recent from 2013 https://web.archive.org/web/20130517160444/https://forums.ti...


Codesandbox is embedded for the code samples. If you not have cache disabled it will fetch from memory cache after the initial load and unload.


It's working fine once it's archived tho, see e.g.

https://web.archive.org/web/20240114085417/https://posthog.c...


My bad, it wasn't visible until I disabled uBlock, requests seem to be caught by the "uBlock filters – Privacy" list. Does the IA actually run the JS and archive the fetched JSON on its own, or does it depend on someone visiting the archive page with their browser to trigger archival of this JSON data?


Nice, reminds me of https://yeoman.io/ which was popular couple years ago


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

Search: