Hacker Newsnew | past | comments | ask | show | jobs | submit | SpacePotatoe's commentslogin

>it is but it's not feasible for the system theme to change the styles of websites. Just ask any Linux user that uses dark themes and you will find out what happens when the system theme messes with the site theme.

It is done completely different fashion than it was done on gnu/linux, on linux it was probably done by changing user agent style sheet (changes default bg color on body etc), when here it is done with media query (which webdev must explicit implement on his part so he can make sure that everything works).


Is it possible to use it with async/await?


Futures automatically coerce to promises, so yes.

Even better, they come with generator-based coroutines that work with futures, and are automatically cancelable: https://github.com/Mitranim/posterus#routine

You can even run it with Koa 2 instead of async/await: https://github.com/Mitranim/koa-ring


I just wonder what UK government has against German metal bands



That needs a NSFW warning. Fuck.


That seems a bit random


because the artwork is of a nude 10 year old.


ever been to beach in Europe, particularly naturism beach? not sure what's problem here, apparently some puritans who are fine with violence but consider naked body disgusting


oh that makes more sense to me


To be fair to the Scorpions, quote from Wikipedia...original concept for song

'...Time is the virgin killer. A kid comes into the world very naive, they lose that naiveness and then go into this life losing all of this getting into trouble. That was the basic idea about all of it' Different times... https://en.wikipedia.org/wiki/Virgin_Killer


Not, strictly speaking, the UK government. The Internet Watch Foundation, a non-governmental organisation, placed the article/image in question on its blacklist, a list which most major UK ISPs use (notable exceptions at the time were the UK universities' and military networks IIRC).

AFAIK, whether or not the image is actually illegal under English law is somewhat unclear (the definition of "indecent" is rather woolly), though it's certainly a poor choice for an album cover.

Edit: "to its blacklist" -> "on"; added "a non-governmental organisation"


The IWF is a quango, not really nongovernmental as such.


Aside from this article, why css as a whole is such a unmenagable mess? The whole frontend "separation of concerns" is fucking stupid: data - html, look at any modern website - you see div soup holding no data, css - try making some runtime customizabily eg. change color, layout on ie11, js - contrary to popular opinion, js does what it should do :p

Maybe it was holding water when all pages was as complex as hacker news but currently we need something which is little more sensible


So react-native is passé?


They're different. For starters, React Native developers are writing JavaScript. Litho is a Java framework. The primary benefit of Litho is performance, whereas React Native is focused on developer speed.


I would ask, may Litho be used by react-native?


Both React Native and Litho use Yoga[0] under the hood for layout, so there are already some shared underlying parts. I'm not familiar enough for RN in practice to say whether you could plug Litho Components into RN apps.

[0] https://facebook.github.io/yoga/


Just wanted to nudge you to ask if you would have a look at my above comment on this thread.

Were you by chance on this project, or know of how I can get in touch with somebody who oversees things like this?


You can easily plug any native components into react native apps.


He can't tell because he is a human


the real problem was having shader type and its version in single variable and range checking on it


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: