Size: a a a

2020 May 14

US

Ujjwal Sharma in BeerJS Moscow
Haha
источник

US

Ujjwal Sharma in BeerJS Moscow
Well, I did have atleast three complaints, so...
источник

IK

Ilnur Khalilov in BeerJS Moscow
We are still using Moment.js 🙈
источник

🦜

🦜 in BeerJS Moscow
Чет орнул с уведомлений от авиасейлс

утром цена на билет упала на 1к
сейчас цена билета выросла на 1к
источник

AS

Andrey Sёmin in BeerJS Moscow
🦜
Чет орнул с уведомлений от авиасейлс

утром цена на билет упала на 1к
сейчас цена билета выросла на 1к
Успел купить?
источник

🦜

🦜 in BeerJS Moscow
Andrey Sёmin
Успел купить?
Не, я не хочу обсервацию 2 недели проходить
источник

🦜

🦜 in BeerJS Moscow
пока не вижу как наебать эту систему
источник

AL

Andrey Listochkin in BeerJS Moscow
Ujjwal Sharma
Tell me everything wrong about Luxon 🙈
haven’t used it, and haven’t used momemt much recently.

It’s not “wrong” per se, but the API looks kinds strange. So.much.chaining.Why.so.much.chaining I know many assert libraries are reliaing on chaining, too, and though it looks kinda slick in examples it’s very annowying to use.

example:
expect(x).to.be.deep.equal.to(y)

yes it’s cute. But it’s super anoying to type because the whole chain of properties/methods is expressing the single concept. One concept = one methog call.

I looked through the API docs for Luxon and there are methogs that take object hashes to do the same thing as the method chain on your home page. I think you should focus on that.

Also, stringly typing leaks in some cases: DateTime.endOf(‘day’). Why is ‘day’ a string? Why is it not .endOfDay()?

I took a quick glance over date-fns. Their examples in general look like this:

import {operation} from ‘date-fns’

const changedDate = operation(Date);


1 function, 1 operation. No chains, no wrapping objects. No BS.

You do stuff right: you rely on Intl and polyfils, you keep the library small, etc. But as it is now I’d pick date-fns over Luxon.
источник

EL

Evgeniy Lazarev in BeerJS Moscow
🦜
пока не вижу как наебать эту систему
в Сочи? лететь из Калуги
источник

🦜

🦜 in BeerJS Moscow
Evgeniy Lazarev
в Сочи? лететь из Калуги
неа
источник

US

Ujjwal Sharma in BeerJS Moscow
Andrey Listochkin
haven’t used it, and haven’t used momemt much recently.

It’s not “wrong” per se, but the API looks kinds strange. So.much.chaining.Why.so.much.chaining I know many assert libraries are reliaing on chaining, too, and though it looks kinda slick in examples it’s very annowying to use.

example:
expect(x).to.be.deep.equal.to(y)

yes it’s cute. But it’s super anoying to type because the whole chain of properties/methods is expressing the single concept. One concept = one methog call.

I looked through the API docs for Luxon and there are methogs that take object hashes to do the same thing as the method chain on your home page. I think you should focus on that.

Also, stringly typing leaks in some cases: DateTime.endOf(‘day’). Why is ‘day’ a string? Why is it not .endOfDay()?

I took a quick glance over date-fns. Their examples in general look like this:

import {operation} from ‘date-fns’

const changedDate = operation(Date);


1 function, 1 operation. No chains, no wrapping objects. No BS.

You do stuff right: you rely on Intl and polyfils, you keep the library small, etc. But as it is now I’d pick date-fns over Luxon.
Nice
источник

FL

First Last in BeerJS Moscow
Evgeniy Lazarev
в Сочи? лететь из Калуги
А подробнее
источник

FL

First Last in BeerJS Moscow
То есть сецчас реал можно в сочи полететь?
источник

EL

Evgeniy Lazarev in BeerJS Moscow
First Last
А подробнее
ну в обсервацию забирают только со столичных рейсов
источник

FL

First Last in BeerJS Moscow
Без всяких там пропусков и тд
источник

FL

First Last in BeerJS Moscow
Я думал вообще ниче не летает 😂
источник

EL

Evgeniy Lazarev in BeerJS Moscow
First Last
Без всяких там пропусков и тд
да, но смысла нет. гостиницы закрыты, кафе закрыты, курорты закрыты
источник

🦜

🦜 in BeerJS Moscow
First Last
То есть сецчас реал можно в сочи полететь?
можно, но если ты москвич, то отправят обратно
источник

FL

First Last in BeerJS Moscow
🦜
можно, но если ты москвич, то отправят обратно
М-да
источник

EL

Evgeniy Lazarev in BeerJS Moscow
🦜
можно, но если ты москвич, то отправят обратно
не если москвич, а если самолёт из москвы или питера
источник