Better HN
topnewbestaskshowjobs
Log inSign up

yukirock

16 karma · joined Jun 18, 2020 (6y ago) · 7 submissions

Submissions

1.

Shadows Shouldn't Stack(gist.github.com ↗)

1 points · by yukirock · 8mo ago · 1 comment

2.

EncodingCard(encodingcard.com ↗)

2 points · by yukirock · 2y ago · discuss

comment 4y ago · link · parent

If you haven't tried, after you use Cmd-Ctrl-F to make Chrome fullscreen you can use Cmd-Shift-F to toggle the UI elements (tabs, search bar & bookmark bar). Although it doesn't follow your mouse hover which is somehow annoying.

comment 4y ago · link · parent

I appreciate the work, but I'm feeling some pure visual effects might be unnecessary. When you can scroll effortlessly on a screen and have effectively infinite space, do you still need to squeeze a lot of elements to a small area? Instead of using image sliders, view switchers or tabs, you can consider using a larger container and show all contents at the same time, with the help of js-free flexboxes or grids.

comment 4y ago · link · parent

CSS imports are not equivalent of JS imports and it doesn't make sense to blame JS. The source is just a series of declarations and no dependencies, and it's simple and clear how they override each other. CSS doesn't have namespaces or modules until web components, so when you import another source you cannot choose what symbols to include (or they just don't have symbols at first place). It's almost a syntax sugar of including another <link> tag in HTML. CSS imports and JS imports have the same name but they don't have anything more in common.

comment 4y ago · link · parent

Related: https://news.ycombinator.com/item?id=29573792

Apparently it's from the same author David Buchanan.

comment 6y ago · link · parent

Alstom[0] and Toshiba[1].

0. A popular narrative in China holds that the US trapped France to sell Alstom in 2014. see https://en.wikipedia.org/wiki/Alstom#Acquisition_by_General_... and https://www.washingtonpost.com/world/2019/06/07/an-unlikely-...

1. https://en.wikipedia.org/wiki/Toshiba-Kongsberg_scandal