HNHacker News
TopNewBestAskShowJobs

shynrou

54 karma · joined March 7, 2020

submissionscomments
shynrou··on Ask HN: Can't focus when writing code in dark mode
I wouldn't say it depends so much on the brightness of the room but rather the general brightness of the screen and if there is any sort of glare on it. I use dark mode always and switch to light mode when im sitting in a sunny area.

Dark mode has one distinct advantage: colors pop way more meaning the syntax highlighting is more pronounced, which makes it easier to navigate the code.

shynrou··on Holy *#$ What Is Wrong with the React Community?
All of software seems pretty terrible to me, only that the front end is easily observer as an outsider.
shynrou··on Ask HN: What shall humanity do if less people die this year?
It's an interesting thought expirement. I am no expert, but i believe the economic downturn could be a chance to drastically shift our economy to a more sustainable direction, if, and thats a big if, investments by goverments are directed thoughtfully.

But yes I think the crisis could have lasting positive effects, that will be very hard to measure.

shynrou··on Mustermenschen
Nice text but Muster in german also has a positive conotation. A Musterschüler (Musterstudent) is basicly a flawless student.
shynrou··on Ask HN: What are problems with implementing authentication and authorization?
The server does not receive the path and domain infos so you cant differentiate at that point.

Jeah, domain wise if you have a cookie set for example.com and test.example.com, if the user is on the later it would send both cookies. This may be wanted for a common login system. In general yes it can be avoided if potential conflicting apps use different cookie names by default.

shynrou··on Ask HN: What are problems with implementing authentication and authorization?
The browser can have to cookies with the same name, and variations in path or domain, but still transmit both in a http request. This causes most cookie parsers to make mistakes since they expect only one.

Also on the note of cookies, modern browser do not delete session or stale cookies if the browser was not closed properly, eg. the user just shutdown the system without closing the browser.

← PreviousPage 2 of 2