Recent submissions

Comment · 4 years ago
'node'.split('').sort().join('') == 'deno'
Comment · 4 years ago
You may want to turn off the MSNBC, step outside and get some fresh air
Comment · 4 years ago
Comment · 4 years ago
Why would they do that, what's the point beyond confusion? The whole thing is bad
Comment · 4 years ago
Agree 3 column layout is no good, that 3rd column should go back to being above the 2nd column as before, I added custom CSS to fix that
Comment · 4 years ago
Bad, I'd prefer native scrollbar, but only option for now is I added extra styling to improve
Comment · 4 years ago
I'm still working on it. There is a large amount of things to fix. This is the #1 source of web dev information, and from what I can tell they completely screwed it up with this "design update"
Comment · 4 years ago
What's up with the huge amount of whitespace? This is supposed to be an information dense website, most of the screen is empty white. Not liking this, who designs this stuff? How to revert back, or I just need to add custom styles?

Update: I added custom styles to remove 95% of the extra margins, padding, spacing, line-height, updated h1/h2/h3/h4 header styling, code highlight styling, and it looks 10 times better, I can actually read the information. Unfortunately I still prefer the previous version

Question: Why do these important sites never get actual user feedback before forcing out a major update as a big "surprise" ?

Comment · 4 years ago
Server was restarting, the site loads fast
Comment · 4 years ago
It's the same thing as HTTP. Websocket starts off as an HTTP request with cookies, headers etc. Use those just like HTTP to authenticate, and your Websocket server should pass the user data to the websocket object
Comment · 4 years ago
I just launched this site with websockets: https://hackernews.pro Websockets used for updating Story/Comment data, and User presence
Comment · 4 years ago
I checked out the StackOverflow dark theme, the brown background was too bright for my eyes for a dark theme, but for this HN UI the Comments in the Story views do have a light grey background, so you must be referring to the Main page Story titles on black
Comment · 4 years ago
Thanks for suggestion, I added Tooltip to Story titles, I forgot to add that previously. Also note, if you want to scroll the entire section you can shift + wheel scroll to horizontal scroll, or middle mouse button drag to horizontal scroll if you want to see more titles at same time
Comment · 4 years ago
I use the main page to view New Stories, Top, and Hot stories without needing to refresh the page. Latest Comments are nice to have on the side to see what people are discussing. Hide columns if you are not using them. I think the main feature though is the Story view, I like collapsed top-level comments and clicking on comment body to easily expand/collapse (works well on Mobile), and getting notified with link to new comment while in Story view. You can leave the page open and come back later and see new comments. I just added new feature: tab title gets updated with new comment count so you can see how many new comments while in other tabs

Login was going to add if people like the page. From what I understand there is no HN OAuth, so people would need to enter username/password which is a negative. There is a nice search feature but it is hidden, I want to integrate it better with the site. Feedback is appreciated

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton