News for hackers. Stuff that matters.

padmi

Re:Help choose the syntax for CSS Nesting on Friday December 16, 2022 @06:16AM (#34013253)
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.
Re:Plain Text Calendar on Wednesday June 01, 2022 @08:43AM (#31580991)
oh, nevermind. the date is already sortable.
Re:Plain Text Calendar on Wednesday June 01, 2022 @08:38AM (#31580932)
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

Re:Friendlier SQL with DuckDB on Friday May 13, 2022 @11:15PM (#31374800)
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', ...