Preferences

Humphrey
Joined 590 karma

  1. I know right! I'd never heard of HTTP Range requests until PMTiles - but gee it's an elegant solution.
  2. Yes — PMTiles is exactly that: a production-ready, single-file, static container for vector tiles built around HTTP range requests.

    I’ve used it in production to self-host Australia-only maps on S3. We generated a single ~900 MB PMTiles file from OpenStreetMap (Australia only, up to Z14) and uploaded it to S3. Clients then fetch just the required byte ranges for each vector tile via HTTP range requests.

    It’s fast, scales well, and bandwidth costs are negligible because clients only download the exact data they need.

    https://docs.protomaps.com/pmtiles/

  3. I love the simplicity! Does this store state in the browser?

    Have you considered adding an export/import data option? I was actually expecting "Copy link" to have my months worth of event data encoded in the url after the # (so it would never be sent to the server, but means I could share the month with a friend). Just an idea.

  4. Ho do you find Trailbase compares? Worth the switch?
  5. Not with Pocketbase - as I haven't found I've needed to look into the docs too much. But I have come across a whole bunch of areas LLM's seem to always answer incorrectly for. For example, ChatGPT has almost never corrected told me how to use the UI in Davinci Resolve.
  6. I haven't tried this... but Pocketbase is opinionated in how it's schema is structured - and it needs to be the tool managing your schema.

    Therefore if it was me, I would use the Admin UI to create a new db with a similar data structure, and then use a third-party tool to select data and insert into the new database.

  7. SQLite only. I haven't come across any GIS integration. I think you should choose Pocketbase when it "not having features" and being lightweight is the feature you need.
  8. I've been trying out Pocketbase on a side project idea. I'm super impressed!

    Having worked for many years on Django projects, Pocketbase seems like a perfect fit for those small to medium sized projects for which you don't want to create and maintain a traditional backend for.

    Happy to answer any questions.

  9. Instead of redesigning the "pocket" they should just make phones that fit inside regular pockets.
  10. About to switch from stable to beta - purely so I can get get rid of liquid glass and hopefully the other bugs in 26.0.
  11. Hot take: iPhone Air isn't about making phones lighter, but to justify making their other models heavier.

    iPhone Air is 165g.

    The new iPhone Pro 17 is 204g but the 15 Pro was only 187g. iPhone 17 is 7g more than the iPhone 16 which was 170g (only 5g heavier than the new Air).

    Their pricing ladding places the Air above the regular 17 and below the 17 Pro.

    If Apple didn't make the Air, then the 17 family would have been Apples "Heaviest range of iPhones they have every made".

    That said, I am very happy about how Apple are adding more battery to all their phones - which might be were the extra weight is coming from.

  12. The Apple Configurator seems like a great tool to setup a phone for your children or tech illiterate elderly parents. Many of us would have people in our lives who might actually understand how to use their phone if the only icons on the home screen where messages and phone. I could imagine ChatGPT would be a good option for them to be able to look up information in the real world.
  13. Whether you think that or not is not the issue - the fix is very obvious once pointed out to you. The arguement the author is making is that a bug like that TS issue can be very difficult and time consuming to track down and is not picked up on by the compiler.
  14. Does anybody have any experience migrating to PlutoPrint from WeasyPrint? Is it seamless? Faster? Any teething issues? Are their reasons to stay with WeasyPrint?
  15. Anybody know how this would work for multiple nginx backends or failover machines - as I assume it's only possible to auto-fetch certificates for the live machine. Is it expected that you would use scp or similar to copy certs from the live machine to the failover / new server?
  16. I've been working as a software dev for over 20 yrs and not really ever got caught in the precise moment issue that the author is talking about. You just need to pick the correct datatype for the kind of thing that you want. Eg

    Eg, in Python

    year = int

    month = str (yyyy-mm)

    day = naive date

    exact moment = timezone aware datetime

  17. > I REPEAT: when making charts for the user...

    Oh, so OpenAI also has trouble with ChatGPT disobeying their instructions. haha!

  18. Oh this looks amazing! I had pretty much stopped using Python for my one-off scripts because of the hassle of dependencies. I can't wait to try this out.
  19. This is fun! While some are obvious, and some you need to "cheat" by Googling - it's really fun looking at a part of the world you wouldn't normally browse a map of.
  20. I spent a bit too much time trawling through maps and tracked down the exact drop sites of every contestant on Alone Australia Season 3

    Turns out some of them were just 700 metres apart — even though the show said 6km.

    I built an interactive map and wrote about the whole process on my blog.

    Check it out before the season finale this week! Mild spoilers up to episode 3, and one later spoiler (ep 10) near the end of the post.

  21. Ah interesting! Looks like that uses a WASM build of CPython to run your Python code - similar to how you can run python in your browser. Would you still have a heap of Python files?
  22. Disagree: While this might be the case for a handful of languages such as Rust of Go - Many lanugages need a whole lot of other stuff to run (eg, Python needs a lot bunch of dependencies).
  23. I clicked this totally expecting this to be somebody still using Bootstrap Version 1.0 haha
  24. oh cool! It works now :) Nice work
  25. Doesn't work! Clicking discover just shows a messagebox with a stack trace[1] - so I have no way of adding a podcast to try out the app.

    [1] Error string::1: bytes->jsexpr: bad input starting #"error code: 502" context..: .../syntax/readerr.rkt:15:2: -raise- read-error ../private/arrow-val-first.rkt:486:18 .../private/backend.rkt:45:9: get-trending-podcasts .../noise-serde-lib/backend.rkt:69:22

  26. What does the app provide? I have long considered creating an app that combines Notes with Voice Memos with a way of tracking alternative ideas for each line or section.
  27. - Most time is spent in the iPhone's Notes & Voice Memo apps.

    - I try Rhymezone, but it rarely helps me find a word I hadn't already though of.

    - The Complete Rhyming Dictionary [1] as it also helps find great family rhymes - but is a very manual process.

    - ChatGPT voice chat for object writing - mostly just because I'm more of a vocal processor - I forbid it from writing anything, and instruct it clearly to just listen and give me a list of the metaphors, imagery, and descriptive words that I tell it. I've always struggled with motivation to do object writing, but I quite enjoy doing it audibly like this.

    - ChatGPT as a proof-reader. Eg "Review the following song for me. What would new listeners think the song is about and saying". You need to be careful though, because it will often tell you stupid stuff like "the melody is great" even though you haven't shared a melody.

    - ChatGPT as a sounding board when I'm battling over a very specific phrase or wording. More as a sounding board though, as I usually don't use it's suggestions.

    - Logic Pro - The latest version lets you add chords and have it auto play some basic AI session players - which is great for fleshing out the basic ideas, and having something I can play on repeat why I write lyrics. Once I'm happy with the song, I'll then start replacing the AI tracks with human created tracks.

    [1] https://www.amazon.com.au/Complete-Rhyming-Dictionary-Clemen...

This user hasn’t submitted anything.

Keyboard Shortcuts

Story Lists

j
Next story
k
Previous story
Shift+j
Last story
Shift+k
First story
o Enter
Go to story URL
c
Go to comments
u
Go to author

Navigation

Shift+t
Go to top stories
Shift+n
Go to new stories
Shift+b
Go to best stories
Shift+a
Go to Ask HN
Shift+s
Go to Show HN

Miscellaneous

?
Show this modal