9,867 karma · joined Aug 20, 2015 (11y ago) · 5,528 submissions
comment 8y ago · link · parent
comment 8y ago · link · parent
comment 8y ago · link · parent
Why would a thermometer need to connect to the Internet in the first place? It is absolutely unnecessary. The software could be installed on a server in a local network or even inside the thermometer itself.
I think the reason why these devices require an Internet connection is that vendors just want to lock user to their servers and collect "anonymous statistics" from them.
comment 8y ago · link · parent
Please do at least a little research next time.
comment 8y ago · link · parent
comment 8y ago · link · parent
[1] https://cdn.i24news.tv/upload/image/9d8a60d8155d08ddbfe86542...
comment 8y ago · link · parent
comment 8y ago · link · parent
I was not using Compiz or something like this so it cannot be explained with the lack of 3D acceleration.
Also, with generic VGA driver you cannot have 100Hz frame rate on high resolutions.
comment 8y ago · link · parent
But Facebook has the source data from which hashes were generated so they can alway reverse them.
Furthermore, if you take a hash from name and surname, it can be easily reversed because the set of names and surnames is relatively small.
comment 8y ago · link · parent
const zeroPad = num => ‘00000000’.slice(String(num).length) + num;
What a bad way to declare a function. Starting with the word 'function' will make the code much more readable. Arrow functions are supposed to be used as a small callbacks, not to obfuscate the meaning of the code.comment 8y ago · link · parent
Imagine if you hired an electrician but he would secretly go across your house and searched everything to get rid of bugs (at least that's what he said). Would you like that?
If you advertise your app as a browser then it should not secretly scan files.
comment 8y ago · link · parent
> it [antivirus] only has normal user privileges (meaning it can’t go too deep into the system),
On a single user system all personal files are accessible with "normal user privileges".
> In other words, Chrome Cleanup Tool is less invasive than a regular “cloud” antivirus that scans your whole computer (including its more sensitive parts such as the kernel)
How kernel is "sensitive"? It is the same on every computer running same OS.
> Chrome Cleanup Tool is less invasive than a regular “cloud” antivirus that ... uploads some data to the antivirus company’s servers.
How do you know Chrome doesn't? Is this module open source? They write Google got it from ESET so it is possible that Google themselves never saw the source code and received it as a binary module.
comment 8y ago · link · parent
And you can do the same thing with template engines like Twig with macros. Futhermore, Web frameworks like Symfony already have macros that are necessary to display a form. You don't even have to write them and that is a strong point of Symfony compared to weird self-made Lisp template engine.
comment 8y ago · link · parent
For example, imagine if you want to test some HTML code in a browser. Browser doesn't understand Lisp so you have to write it in HTML. And then you have to convert it to Lisp to use as a template. What a waste of time.
There are all king of template languages around. There are editors that can highlight the syntax, there are plugins to write HTML faster. I don't imagine how you justify writing your own template engine. Probably that is just a NIH symdrome.
> First, they work on HTML serialization to string instead of HTML semantics as a tree, making it easy to introduce both bugs and security vulnerabilities.
This can be easily solved by validating HTML code.
> The concepts of "escaping",
Tenmplate engines do necessary escaping automatically. For example, in Twig you just write
<div>{{ user.getName() }}</div>
and don't have to worry about escaping. I guess in Lisp you cannot even write user.getName() because it doesn't have objects.> Views absolutely do need code, and so they should be written in a proper programming language.
In my experience, template engines like Twig have enough features. If you need soem complicated logic, you can write a helper function.
comment 8y ago · link · parent
It reminds me how some religious communities go after the people who don't follow their rules even after they flee to other country [2].
[1] https://en.wikipedia.org/wiki/Leon_Trotsky#Assassination
[2] https://meduza.io/en/feature/2017/05/25/we-will-set-them-str...
comment 8y ago · link · parent
[1] https://datatracker.ietf.org/meeting/96/materials/slides-96-...