hafthor

Joined 13 years ago

Karma
44
Submissions
14
Member since
Nov 21
meet.hn/city/us-Atlanta

Socials: - x.com/hafthor - reddit.com/user/hafthor - linkedin.com/in/hafthor - hafthor.at.hn - github.com/hafthor

Interests: Networking, Mobile Development, Open Source, Programming, Technology, Web Development

---

View on Hacker News

Recent submissions

Comment · 8 months ago
What about embedded RTOS, like WindRiver or Zephyr? What if I write a memory manager and flash storage file manager for a really barebones MCU like a PIC? It didn't even define what an operating system is. What constitutes an update? If a security patch to DOS 6 came out, would it suddenly be required to have this tech? Is z/OS going to have this tech?

Overall, I think don't think it's a bad idea for devices to be able to host an age verification system that offers requestable boolean proof of age, like if porn site demands over 18 to view, the user, regardless of age, is prompted and if they accept, it returns either a positive cryptographic claim or a cancel signal if not of age. If they don't accept the prompt, the same cancel signal goes back. The idea that this feature would need a mandate of law is dumb.

Comment · 2 years ago
hehe. I added an alternative JSON inner format spec to the readme. I need to add JSON and CSV support to the zsvutil itself next. I may actually change the spec to default to JSON. All because of you. haha.
Comment · 2 years ago
Comment · 2 years ago
Thanks for taking a look.
Comment · 2 years ago
Comment · 2 years ago
Thanks for taking a look. Regarding seekable columns, that's the reason why I use the ZIP file format. It has a central directory at the end of the ZIP file that has locations to each file inside, making it so you can seek to a specific column file to extract.
Comment · 2 years ago
I like your idea of storing columns as JSON arrays. I might play around with that. Thanks for giving it a look.
Comment · 2 years ago
doh. fixed. thanks!
Comment · 2 years ago
Comment · 7 years ago
Java affected in exactly the same way.
Comment · 7 years ago
Java:

new java.text.SimpleDateFormat("YYYY-MM-dd").parse("2018-12-30") returns Sun Dec 31 2017

new java.text.SimpleDateFormat("YYYY-MM-dd").format(new java.util.Date("12/30/2018")) returns 2019-12-30

java.time from Java8 also affected.

java.time.format.DateTimeFormatter.ofPattern("YYYY-MM-dd").format(java.time.LocalDate.parse("2018-12-30")) returns 2019-12-30

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton