9,867 karma · joined Aug 20, 2015 (11y ago) · 5,528 submissions
comment 4y ago · link · parent
For example, if we have a 2-dimensional grid of size 1000x1000 and make 10 steps, all the values will be close to each other. Doesn't look like a good random sample.
Knowledgable people, please explain.
comment 4y ago · link · parent
This shows how browser developers race to push new features without proper estimation of privacy concerns.
Luckily this was somewhat fixed by using randomized Apple mDNS names instead of IPs. But as a result the browser has to support Apple DNS protocol which can potentially increase attack surface.
I would prefer to disable this feature completely by default and let the minority who needs it enable it via settings.
comment 4y ago · link · parent
By the way if you are looking for lightweight "alternative" for ElasticSearch you might look at sphinx search engine (although it doesn't has as much features as ES has and it has became closed-source since 3.0 version).
comment 4y ago · link · parent
Because they are there. To prevent accidental deletion you can show an icon with a skull and crossbones or name a directory "configuration files" so that it is obvious what's in there.
> if they do get them there is no safeguard to stop them destroying the system
If the folder are named or labeled as "operating system" then the user will probably understand that it is better not to mess with it.
> In what reality is someone developing software and building Docker containers who doesn't understand the concept of hidden files?
Hiding hidden files is annoying because you have to add -a to ls command, have to add an option in Bash to include then when matching against a star pattern and to configure Explorer so that it shows them. It would be easier without them.
comment 4y ago · link · parent
There is no need to hide such files. Just display them as system files in Explorer.
> The standard Unix folders (usr, var, etc) are also hidden
Again there is no need to do it. Just move them to a directory named "System files".
comment 4y ago · link · parent
For example the folder might look empty but in fact it could contain thousands of hidden files. You want to delete it as it is empty but accidentally delete important system files.
Even worse, imagine if all files on an USB drive are marked as hidden. You see that the drive is empty but when you attempt to copy something to it see a message that there is no free space.
One more example. Imagine if you have a project and want to edit an .env file. But as dotfiles are hidden in Linux you don't see this file and cannot open it. It turns out that Windows Explorer which doesn't hide dotfiles is much better for developing projects with Docker!
There should be no hidden files. We cannot do anything with Windows and their MS-DOS legacy but Linux could stop hiding dotfiles in GUI and CLI commands.
comment 4y ago · link · parent
Storing your files in /home is also bad because usually /home uses Linux-specific filesystem and you won't be able to access your files from Windows. Storing files in NTFS partition solves this problem.
comment 4y ago · link · parent
If I am not mistaken, there is even no primitive for modulating frequency of one oscillator with another.
The filters are very primitive and limited. The user is expected to learn the theory themselves. As far as I remember, there is no filter that can be modulated with audio frequency (without artifacts) and it is difficult to find information how to create one. Does anybody know how to do it, by chance?
comment 4y ago · link · parent
First, one could think that larger number means larger performance but this is not always the case. Second, one might think that "Ti" or "super" GPU is better than a regular one in every aspect but this is not the case also.
The same is about Intel. The best naming scheme is where numbers reflect performance or core count or cache size so that they can easily be compared by a consumer.
comment 4y ago · link · parent
So it is your server only as long as you ban outcasts like 8chan and don't cross paths with people in the power.
comment 4y ago · link · parent
I think that copy/paste in browser should only be done with hotkeys like Ctrl + C/V or using menu. Sites should not have access to clipboard on click/tap because it is easy to misuse.
comment 4y ago · link · parent
This is probably a code that works in SMM mode, and it has a priority even over ring 0 code. SMM is one of the worst CPU features, it is basically a backdoor in your system that can do anything and you cannot even see it. Even if you run Linux you have no control over SMM code, it can hang your system and you cannot even debug it.
Also this shows a weakness of an "open" PC model where poorly tested hardware and low quality firmware from different vendors are assembled together. I cannot imagine this happening on an iPhone for example.