Recent submissions

Comment · 6 years ago
There's a big overlap. Recent research shows that 80% of people on the autism spectrum also have adhd, and 50% of people with adhd also are on the autism spectrum.
Comment · 6 years ago
and do you find powershell to be a simpler alternative? i recently had to look into a 100 or so lines powershell script and it felt crazily hard to read. Good thing I had access to the guy who wrote it so that he just told me what it was supposed to do (he gave up explaining the script)
Comment · 6 years ago
In the unix-compatible world, you could take a look at openbsd as an example of OS that is not growing exponentially. Yet, the web browsers are the same two beasts that you find elsewhere in linuxes. For a more radical approach to what you ask, look at plan9. There are some modern forks that run on modern hardware.
Comment · 6 years ago
Comment · 6 years ago
Unfortunately I didn't find an example that was simple enough on the web, and the work I did is not open source, so here is the best link I found, which was by the way what I used to derive my implementation:

https://codepen.io/dsheiko/pen/MvEpXm

This is a bit fancier than necessary and that makes it not so good as an example for learning, but hopefully it will be enough to give you the idea.

edit: this one is a little bit better to understand the basics: https://medium.com/metaphorical-web/javascript-treeview-cont...

In short, summary/detail has the native hability to collapse the details and you can explore that to implement a tree by nesting them.

Comment · 6 years ago
I recently used html5 sumary/detail to implement a treeview and it was the best experience ever solving such problem on the web. Very simple and easily customizable via css, and if you render it on the server, you don't need javascript at all.
Comment · 6 years ago
Good point. That should probably be the case for the majority of generation who entered the programming world in the last 20 years, which is quite a lot of people. But yet, old farts like me may disagree.
Comment · 6 years ago
if parts of the web browser start being shipped as wasm code, we will eventually reach the point where the web browser shipped to the user is only a wasm vm, and all the rest will be shipped as optional libraries or even downloaded on the fly. Even stuff like the html engine, the css, and the javascript. In that world, using the messy web standards evolved over time would be optional. The web browser would then become the universal virtual machine that the world seems to want it to be, instead of a browser. The web would be the app distribution system. One could for example, decide to write their site using tcl/tk.

Implementing the wasm vm and its basic apis would be simpler in a new operating system. Because the way it is now, the web browser itself is more complex that writing a simple operating system. That hinders innovation in the Operating System space.

Comment · 6 years ago
I have no idea of youtube channels, but I ask on the irc channels I like to hang out in.
Comment · 6 years ago
In my experience, reality is unpredictable enough that no one actually know what the requirements will be two versions down the road. In practice you end up with code that is more complex than what the current problem needs, trying to solve a future need that you presume will happen but you don’t really know what it is and when it will happen.
Comment · 6 years ago
The standard library
Comment · 6 years ago
You may like Iridium - it’s chromium with all the google stuff removed.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton