Reddit Programming
211 subscribers
1.22K photos
124K links
I will send you newest post from subreddit /r/programming
Download Telegram
UUIDv47: keep v7 in your DB, emit v4 outside (SipHash-masked timestamp)
https://www.reddit.com/r/programming/comments/1njebn0/uuidv47_keep_v7_in_your_db_emit_v4_outside/

<!-- SC_OFF -->Hi, I’m the author of uuidv47. The idea is simple: keep UUIDv7 internally for database indexing and sortability, but emit UUIDv4-looking façades externally so clients don’t see timing patterns. How it works: the 48-bit timestamp is XOR-masked with a keyed SipHash-2-4 stream derived from the UUID’s random field. The random bits are preserved, the version flips between 7 (inside) and 4 (outside), and the RFC variant is kept. The mapping is injective: (ts, rand) → (encTS, rand). Decode is just encTS ⊕ mask, so round-trip is exact. Security: SipHash is a PRF, so observing façades doesn’t leak the key. Wrong key = wrong timestamp. Rotation can be done with a key-ID outside the UUID. Performance: one SipHash over 10 bytes + a couple of 48-bit loads/stores. Nanosecond overhead, header-only C89, no deps, allocation-free. Tests: SipHash reference vectors, round-trip encode/decode, and version/variant invariants. Curious to hear feedback! EDIT: Precision, In the database, we keep the ID as UUIDv7. When it goes outside, it’s converted into a masked UUIDv4. One global key is all that’s needed there’s no risk of leaks and the performance impact is effectively zero. <!-- SC_ON --> submitted by /u/aabbdev (https://www.reddit.com/user/aabbdev)
[link] (https://github.com/stateless-me/uuidv47) [comments] (https://www.reddit.com/r/programming/comments/1njebn0/uuidv47_keep_v7_in_your_db_emit_v4_outside/)
Read free..“Microsoft Interview Experience Compensation : 45LPA Role: SDE 2 (Backend) 📩 Application Process…“
https://www.reddit.com/r/programming/comments/1nk0efk/read_freemicrosoft_interview_experience/

<!-- SC_OFF -->Read free“Microsoft Interview Experience Compensation : 45LPA Role: SDE 2 (Backend) 📩 Application Process…“ by 🥷Byte Ninja on Medium: <!-- SC_ON --> submitted by /u/ajit_45288 (https://www.reddit.com/user/ajit_45288)
[link] (https://medium.com/@ajit34555/microsoft-interview-experience-compensation-45lpa-role-sde-2-backend-application-process-e077d95fd9f7) [comments] (https://www.reddit.com/r/programming/comments/1nk0efk/read_freemicrosoft_interview_experience/)
Backend Web Developers at 39% AI Exposure
https://www.reddit.com/r/programming/comments/1nk12yk/backend_web_developers_at_39_ai_exposure/

<!-- SC_OFF -->Saw this breakdown that puts backend web devs at 39% exposure to AI. That number doesn’t sound too crazy, but some of the task scores they list feel pretty off. <!-- SC_ON --> submitted by /u/Genospect (https://www.reddit.com/user/Genospect)
[link] (https://ismyjobsafe.ai/jobs/web-developers) [comments] (https://www.reddit.com/r/programming/comments/1nk12yk/backend_web_developers_at_39_ai_exposure/)
I built a community-driven list of free & open APIs with examples – looking for contributors!
https://www.reddit.com/r/programming/comments/1nk19zl/i_built_a_communitydriven_list_of_free_open_apis/

<!-- SC_OFF -->Hey everyone, I just launched a new open-source project on GitHub: Awesome Open Data APIs 🚀 The goal is simple:
👉 Create a community-driven collection of free & open APIs, neatly categorised (Finance, Weather, Space, Education, etc.), with examples in Python & JavaScript so anyone can get started quickly. Why? Finding good free APIs is often a pain (outdated lists, broken links, no examples). This repo is meant to be a living, maintained resource for developers, students, and hobbyists. Anyone can contribute new APIs, fix broken ones, or add examples – beginner-friendly PRs are welcome. 📂 Repo includes: Curated list of APIs by category Example code snippets (Python & JS) JSON files with structured API metadata Easy contribution guidelines If you know a cool free API, please consider adding it! 🙌 🔗 GitHub Repo: github.com/Humayun-glitch/Awesome-Open-Data-APIs (https://github.com/Humayun-glitch/Awesome-Open-Data-APIs) I’d love your feedback – what categories or features would make this the most useful for you? Thanks! <!-- SC_ON --> submitted by /u/Humayun2318 (https://www.reddit.com/user/Humayun2318)
[link] (https://github.com/Humayun-glitch/Awesome-Open-Data-APIs) [comments] (https://www.reddit.com/r/programming/comments/1nk19zl/i_built_a_communitydriven_list_of_free_open_apis/)