Better HN
topnewbestaskshowjobs
Log inSign up

ryzokuken

12 karma · joined Jan 16, 2017 (9y ago) · 15 submissions

Submissions

comment 6y ago · link · parent

Temporal does in fact conform to standards like ISO 8601 for serialization/parsing etc.

comment 6y ago · link · parent

It's been WIP for a few years now! It's easily one of the largest changes to the stdlib of JavaScript recently, and things like these take forever to standardize.

comment 6y ago · link · parent

The Temporal API is immutable, so you won't have to deal with it anymore.

comment 6y ago · link · parent

because Temporal is not currently used anywhere (as far as we noticed) and it won't break anything while still being descriptive.

comment 6y ago · link · parent

Temporal.now.absolute().getEpochNanoseconds()

comment 6y ago · link · parent

Not the core API, but a simple custom timezone can be used to implement TAI. I worked on a POC for it, but you can totally test this with the polyfill right now.

https://github.com/ryzokuken/temporal-tai

comment 6y ago · link · parent

They are!

comment 6y ago · link · parent

Date is "broken" in that it aged pretty poorly, has a very non-ideal API surface and exposes developers to a number of footguns, that could, ideally, be avoided.

The fact that a vanishingly small percentage of JavaScript developers use Date for non-trivial applications is a great indicator of these failures.

comment 6y ago · link · parent

It's been WIP for years now. Just takes a lot of time to standardize something like this, you know...

comment 6y ago · link · parent

> I am curious though, is there a reason not to just essentially duplicate the Joda[0]/Java[1]/ThreeTen[2] API?

They're definitely an influence, just not the only one.

> LocalDateTime

That's a strawman proposal that's essentially user feedback and not a part of the API. Not yet atleast.

comment 6y ago · link · parent

Not yet, but fingers crossed, it would reach Stage 3 in a few months.

12.

A secure require implementation for ECMAScript(github.com ↗)

1 points · by ryzokuken · 7y ago · discuss

comment 9y ago · link · parent

As a matter of fact, I have been using Manjaro right now. Thanks for clarifying that Arch does infact beat other distros in terms of speed.

14.

Ask HN: Lightest Linux distribution (DE agnostic)

2 points · by ryzokuken · 9y ago · 5 comments

15.

Ask HN: Get uninterested students to care about privacy, coding and tech in gen?

1 points · by ryzokuken · 9y ago · discuss