News for hackers. Stuff that matters.
Re:Intel 10nm Chip Gets Mixed Reviews by raxxorrax on Tuesday August 06, 2019 @05:23AM (#20623603)
Maybe. But I just program cake face for myself!

But seriously, if programmers hadn't several software levels to rely upon, a simple software tool would cost millions and would require an army of engineers or a few years to be completed.

Programmed a scroll bar for an UI toolkit once. That isn't as trivial as it seems and takes a while. A scrollbar...

Re:Intel 10nm Chip Gets Mixed Reviews by saganus on Tuesday August 06, 2019 @12:34PM (#20626771)
I've never implemented one so I'm sure it's more complex than what it looks like.

So you piqued my curiosity. What are some examples of those non-trivial things?

Re:Intel 10nm Chip Gets Mixed Reviews by raxxorrax on Wednesday August 07, 2019 @11:02AM (#20635339)
It has been a quite while... determining the length of the content you are scrolling and the size of your viewport was a challenge as well that catching every event that could change the position of the viewport or generally handling input.

It was implemented in C for a small display for debugging controller for a µC. It did take quite even without any dynamic content for something we take for granted. And in the end it still was pretty clunky.

I believe that browsers still disallow customizing scrollbars and there are countless examples of people having build their own scrollbars to replace them. Many of those are quite wonky, so that calms me down at least.

Re:Intel 10nm Chip Gets Mixed Reviews by saganus on Wednesday August 07, 2019 @11:45AM (#20635772)
Interesting.

I guess it's one of those things we take for granted now and thus you think that it can't be that hard to create... and then you try to do so and you realize how complex some things really are.

Thanks for the details!