9,867 karma · joined Aug 20, 2015 (11y ago) · 5,528 submissions
comment 9y ago · link · parent
comment 9y ago · link · parent
comment 9y ago · link · parent
After this I thought that it makes no sense to read the article further.
For me the problem with web apps is low performance, slow load time. Another problem is people who try to push programming patterns from functional languages (like immutable values) into mainstream JS libraries. Please use Haskell instead if you love immutable values that much.
comment 9y ago · link · parent
> This function receives a configuration response buffer in the rsp argument, and its length in the len argument
> Each element it unpacks from the configuration response is validated and then packed back onto a response buffer, which is pointed to by the data argument.
> However, the size of this response buffer is not passed into the function
C developers are repeating the same mistake for years. Why don't they invent some type or class for safe work with memory buffers?
comment 9y ago · link · parent
I think the problem is that developers do not understand that CSS should be treated like other languages, and developers should organize it rather than let anyone write it as they wish. You don't write your server code in a single file without functions, using global variables and introducing side effects, you don't let a trainee edit important code without reviews, why do you do it with CSS?
I remember reading that Github had something around 9000 CSS rules on a single page. Github developers are talented, but somehow they didn't pay proper attention to CSS code too.
CSS code should be split into components, should be easy to analyze, and should be written so that minor edit of one widget won't break something else on another page.
> In fact the seperation causes so much mental overhead, that we need interactive browser dev tools just to be able to find what styles are applied to what element.
That means CSS is not well organized.
comment 9y ago · link · parent
> It's also easy to use marshalling tools/framework features that serialize entire domain objects, which contain sensitive IDs/data that is then inadvertently leaked.
This is just poor code quality. Sensitive data can be hidden in HTML attributes and inline scripts too.
comment 9y ago · link · parent
I also remember similar case when chinese smartphone manufacturers preinstalled adware on the devices. It was showing ads above browser window to make it look as if it was a part of a webpage (and used Google ads by the way).
comment 9y ago · link · parent
Putin likes to remind about this saying things like "Do you remember what the country was before I became the President? You don't want to return to that time, don't you?"
People in Russia want higher salary (median salary is $500/month) and reasonable mortgage interest rates (now it can be as high as 12%), not more democracy.
[1] https://en.wikipedia.org/wiki/Economy_of_Russia#Transition_t...
comment 9y ago · link · parent
Also ethnic Russian domination might be a bit difficult because in Russia itself there are many different ethnic groups [1] that wouldn't approve this idea.
comment 9y ago · link · parent
I am not sure this is correct. Telemetry can show what users do but it won't show why they do it. Users don't click the button: maybe they don't need it but maybe they don't understand what it does. Or maybe there are too many buttons and users get lost.
Also making a decision based on telemetry is making a desicion based on opinion of non-experts. There is a quote by Ford “If I had asked people what they wanted, they would have said faster horses.”. Can you make something innovative this way?
For example if we take a code editor like Sublime Text which in my opinion has very good UI, and it has no toolbar - can you use telemetry as an argument for removing a toolbar? No, because if there is a toolbar, there will be users who would use it without realising that they could do better without it. You need an expert to make better UI, not telemetry.
comment 9y ago · link · parent
And when I clicked the search box, the post I was reading has scrolled itself away (no kidding!). I tried to remove focus from the search box but the post didn't come back.
And that is Google's product. It might have some advanced code inside but the UI is awful.
comment 9y ago · link · parent
They are made for desktop, they have tiny text and buttons and I doubt anyone has finger small enough to click them. The commenters below have written that Android apps might be supported too which is nice. But I still don't like the idea of having a desktop launcher or console on a mobile phone.
comment 9y ago · link · parent