9,867 karma · joined Aug 20, 2015 (11y ago) · 5,528 submissions
comment 7y ago · link · parent
Also, porting proprietary drivers for Linux must be a pain because there is no driver API and you cannot just release a closed-source driver and forget about it, you have to open source it and maintain it forever. No wonder manufacturers don't want to bother with this.
comment 7y ago · link · parent
Also on Windows and Mac Docker user virtual machines with worse performance.
It is OK to install Docker on a throwaway VPS, or in office, but not on your own machine.
Instead of this poor designed technology it is better to use portable programs (which can be downloaded in binary form to avoid compilation) and collection of bash scripts. Then you won't have to install the aforementioned proprietary daemon.
comment 7y ago · link · parent
This document shows how unfriendly is Linux to third-party code. Either you contribute into giant monolitic kernel, or your device won't work with next major kernel release.
> Depending on the version of the C compiler you use, different kernel
> data structures will contain different alignment of structures
That doesn't make sense. How does Microsoft use structures in their API then?
Furthermore, unlike Windows software, you cannot compile Linux kernel with any compiler except for GCC [1]. It doesn't comply with C standards.
> Depending on what kernel build options you select, a wide range of
> different things can be assumed by the kernel
> - different structures can contain different fields
That looks like poor design. Why care about non-standard configuration? Let those who use it solve the problems themselves which would be the true open source way.
> Linux runs on a wide range of different processor architectures.
> There is no way that binary drivers from one architecture will run
> on another architecture properly.
Supporting i386 is enough. Nobody is going to insert a PCI device into a smartphone. If there will be new CPU architectures, one can use i386 emulator.
> As a specific examples of this, the in-kernel USB interfaces have
> undergone at least three different reworks over the lifetime of this
> subsystem
They could make 3 versions of API and adapters that would support drivers written against older versions of API.
I think the real reason is that designing API is hard, and Linux developers have no interest in this. They care only about server platforms and those platforms have open-source drivers because they need Linux. Nobody cares that your USB webcam doesn't work because you don't connect webcam to a server.
I think that Linux could also rely on existing Windows drivers that exist for almost every device. Linux could provide an environment similar to Windows kernel, and run those drivers in a sandbox. For many devices, this is the only sane way to have them working with Linux.
[1] https://stackoverflow.com/questions/20600497/which-c-version...
comment 7y ago · link · parent
So you don't mind that banks can sell information about where you were, who you are and what you buy, mobile carriers sell information about who you are and where you live and whom do you call? Treating you as a "consumer" without any rights.
The only way to opt from being sold is not to provide information about yourself. Which is called anonimity. Use anonymous cash, anonymous bank account, anonymous messengers, anonymous SIM card. Sadly, most governments don't allow this because they don't want to trust you and they are not at your side but at the side of bigdata traders.
So today you can buy drugs anonymously using Telegram, but cannot buy something anonymously on Ebay using Paypal without filling out a long form with passport data as if you were applying for US visa.
comment 7y ago · link · parent
> or they have to comply with local law enforcement regulations about texting.
Carriers can record encrypted messages and provide them to police and courts.
comment 7y ago · link · parent
Of course, no sane person will want to use it so Google will have to add something that will be available only to RCS and not to other messengers.
comment 7y ago · link · parent
Then you carelessly enter your non-temporary email address or phone number to get an order from a shop and the shop links your fingerprint to your offline identifiers. Now you cannot escape from tracking anymore.
Fingerprinting is real. For example, a site of government services for Moscow has fingerprinting code and users log into it with their real name.
You can use containers or private mode but your fingerprint stays the same and uniquely identifies you. Disable WebGL, canvas, accessing non-default fonts from browser, reading OS name and screen size right now and vote for disabling it by default if you don't want to be tracked.
comment 7y ago · link · parent
To test it myself, I started the program (with --no-sandbox because it requires root privileges otherwise) and measured memory usage using smem:
$ sudo smem --userfilter=nobody -k --totals
PID User Command Swap USS PSS RSS
23365 nobody /tmp/.mount_markteqQvqZF/ma 0 6.3M 14.2M 37.7M
23388 nobody /tmp/.mount_markteqQvqZF/ma 0 46.6M 59.4M 90.9M
23363 nobody ./marktext --no-sandbox 0 53.3M 76.3M 118.4M
23392 nobody /tmp/.mount_markteqQvqZF/ma 0 121.1M 142.3M 183.0M
PSS (Potential Set Size) [1] numbers are additive unlike RSS, so we can sum them and get around 291 Mb of RAM. This counts pages, that are shared between several processes, only once.Either MacOS uses RAM several times more effective than Linux, or Activity Monitor is showing incorrect numbers to make impression that Mac apps take less memory than apps on competing operating systems.
comment 7y ago · link · parent