HNHacker News
TopNewBestAskShowJobs

padmi

1 karma · joined May 14, 2022

submissionscomments
padmi··on Help choose the syntax for CSS Nesting
Of course option 3 but make "&" required. And ":is(aside) &" is ugly, should be just "aside &". Yes, it starts with letter, but it's the only way to be not ugly.
padmi··on Plain Text Calendar
oh, nevermind. the date is already sortable.
padmi··on Plain Text Calendar
2021-02-21 w07 Sun 10 ski with N

Why not use day-of-week number to make lines sortable?

2021-02-21 w07-7 Sun 10 ski with N

But, in my country, Sunday is first day of week, so

2021-02-21 w08-0 Sun 10 ski with N

padmi··on Friendlier SQL with DuckDB
Friendlier sql is MySQL "insert into set".

Normal insert, hard to read:

INSERT INTO table1 ( field1, field2, field3, ... ) VALUES ('value1', 'value2', 'value3', ... );

vs

Easier to read:

INSERT INTO table1 SET field1='value1', field2='value2', field3='value3', ...