I like maps

Helsinki, Finland
Joined December 2013
Include

Only show posts containing:

Exclude

Hide posts containing:

Time range
-
Minimum likes
Replying to @KevinVanCott
Yeah will try to show something concrete. Sent a discord message also just now
1
11
But regarding inferred types, I again point to query where the default is for types to be inferred. I personally think that makes for an excellent developer experience and would love to see a similar setup for table.
1
22
Replying to @KevinVanCott
Inferring the type doesn’t mean allowing anything, the table config as a whole still has its type constraints. But true that even if inferred for the table itself you would probably still need to explicitly define it in other places with the current setup 🤔
1
26
Replying to @KevinVanCott
From previous post it sounded like there could be things which conceptually could be at either level. But maybe my thoughts on this are not yet well formed 😅 But point I’d most like to make here: meta should be inferred like how data is, without manually defining its type.
1
49
Replying to @KevinVanCott
Looking within tanstack ecosystem, I really like how query solves this with queryOptions. Saw there’s now tableOptions but feels like that and tableFeatures are kinda stepping on each other for reusability. Many generics not necessarily bad if there are many things to configure.
1
1
59
Replying to @KevinVanCott
Oh cool yeah I see the PR, nice one. Ergonomics feel a bit weird to me to configure the type with features but meta is not a feature. Would prefer if type of meta could be inferred from what’s passed to table. But this certainly works + is great improvement.
1
53
That type param also needs adding to basically everything else I suppose, and that gets complex. But I feel that meta should behave in a similar way as data, in terms of types. Inferred from what’s passed to useTable for example.
10
I had imagined it would work with an additional (optional) type param for useTable, but almost certainly I’m missing some of the complexity to why it’s not that straightforward!
1
25
Replying to @KevinVanCott
Yes please! I started looking into contributing this but hadn’t managed to find the time/effort. Big quality of life improvement for projects with multiple tables. At first thought should also be possible to add without breaking declaration merging 🙏
2
298
Thankfully I missed the compromise window, but even if I had been working during it I think pnpm v11 new defaults would have saved my ass!
37
So I picked a great day yesterday to make my first contribution to TanStack Router 😅
SECURITY ADVISORY — TanStack npm packages A supply-chain compromise affecting 42 @tanstack/* packages (84 versions total) was published to npm earlier today at approximately 19:20 and 19:26 UTC. Two malicious versions per package. Status: ACTIVE — packages are deprecated, npm security engaged, publish path being shut down. Severity: HIGH — payload exfiltrates AWS, GCP, Kubernetes, and Vault credentials, GitHub tokens, .npmrc contents, and SSH keys. If you installed any @tanstack/* package between 19:20 and 19:30 UTC today, treat the host as potentially compromised: • Rotate cloud, GitHub, and SSH credentials immediately • Audit cloud audit logs for the last several hours • Pin to a prior known-good version and reinstall from a clean lockfile Detection — the malicious manifest contains: "optionalDependencies": { "@tanstack/setup": "github:tanstack/router#79ac49ee..." } Any version with this entry is compromised. The payload is delivered via a git-resolved optionalDependency whose prepare script runs router_init.js (~2.3 MB, smuggled into each tarball at the package root). Unpublish is blocked by npm policy for most affected packages due to existing third-party dependents. All 84 versions are being deprecated with a SECURITY warning, and npm security has been engaged to pull tarballs at the registry level. Full technical breakdown, complete package and version list, and rolling status updates: github.com/TanStack/router/i… Credit to the security researcher for responsible disclosure.
1
1
138
Replying to @neceros
Focus of my project is more about displaying/exporting to SVG a map from data of the real world, rather than making the map itself. Azgaar’s fantasy map generator is a really great thing :)
1
9
I started this as a fun project, but the more I’m working on it the more it feels like something serious, legit good alternative for 90% of web map use cases
Been building a vector map rendering library from scratch. It’s called mewmap and it’s powered by SVG tech built-in to browsers. That allows for pretty small bundle size
1
51
Doing a talk next week at HelsinkiJS meetup about maps on the web. Bit of history, bit of future. Hopefully interesting and entertaining!
26
Would probably be best to link to a demo but I didn’t have time to prepare one right now 😅
24
I put together some vector tiles from the new data (for using on web/mobile apps) and a style to go with them gist.github.com/sprusr/ab2ad…
We are pleased to announce the release of updated Natural Earth v6 transportation data, including roads, railroads, and ferries. A big thank you to Zhaoxu Sui for preparing it. shadedrelief.com/ne-draft/
1
1
93
After that something I’m excited to explore is server-side rendering + possible lightweight isomorphic React wrapper ⚡️
31
I have a small roadmap in the GitHub readme, but next focuses are: - Symbols (text and icons) - Rendering from geojson (custom markers) - Bunch of work to support full Maplibre/Mapbox style spec
1
53
Now with raster (satellite) layers working in mewmap 🌍 I think I could probably ship a raster-only version in just a few kb bundle size 🤔
1
1
45
Can try it out at spru.sr/mewmap but beware it still has a bit of jank in Safari/iOS to figure out
58