9,867 karma · joined Aug 20, 2015 (11y ago) · 5,528 submissions
comment 10y ago · link · parent
Sublime uses high level language (python) too but not for rendering.
comment 10y ago · link · parent
> The problem with opt-in is that you don’t get representative data.
Users do not seem to be enthusiastic about participating when they have a choice so let's go without asking them.
comment 10y ago · link · parent
Infinite scroll has other UX problems. For example, you cannot see the footer of a page or cannot navigate to the items by page number. As there is no page numbers you cannot even remember how to find some item.
comment 10y ago · link · parent
The main problem is that browsers allow POSTing data cross-site by default instead of blocking such requests unless it is allowed explicitly.
comment 10y ago · link · parent
-------
Android Uber app code has many suspicious places. For example, it contains a namespace "com.baidu.frontia" and classes there include such code as:
localObject = ((TelephonyManager)localObject).getSubscriberId(); // gets IMSI
((TelephonyManager)localObject2).getDeviceId(); // gets IMEI
localObject1 = ((WifiInfo)localObject1).getMacAddress();
public static void makeCall(String paramString)
public static void sendSMS
Also there is the code that collects information about cell towers, mcc and mnc codes, scans wifi networks.I looked quickly through the code and it seems that those methods are never called. They are probably just a part of a library not used in this app. Uber mostly uses baidu maps, authorization and payment API.
comment 10y ago · link · parent
And I don't like the idea of having critical parts of a device or infrastructure somewhere in a foreign country. Today "smart" phones, TVs or even cars send encrypted data over Internet to their manuacturers. How do you check they don't spy on you?
"Cloud" services have much in common with proprietary software: user cannot have full control over them.
comment 10y ago · link · parent
Also Rust doesn't have exceptions so you have to wrap almost any function call with let/match/Ok/Err. Ugly.
I looked at one random file which turned out to be a `du' command implementation: https://github.com/uutils/coreutils/blob/master/src/du/du.rs...
Are they really starting a new OS level thread for every directory found? Looks like an easy way to exhaust system resources to me. Also I don't see the code that would collect error information if if the thread panics.
comment 10y ago · link · parent
For example, reddit frontpage (which doesn't have much ad) has 6 additional iframes. It makes 76 requests (775 Kb) while loading of which only 15 (taking 335 Kb) belong to reddit domains, other are third-party. So by just disabling third-party services (you can do it on the browser side) they can make the page two times smaller.
Techcrunch has 19 additional iframes. It makes 273 requests (of which approximately 190 are third-party) and loads 2.1 Mb of data (of which approximately 1.1 Mb account for third-party domains). Opening single techcrunch page is like opening 20 new tabs in your browser.
And as a site owner you cannot optimize your ad provider scripts. Yet you can "optimize" them out at a browser side as a user.
Instead of blaming everything on javascript or jquery people should look at network tab in developer tools.
comment 10y ago · link · parent
MySQL is not that bad, it was used in facebook and wikipedia.
comment 10y ago · link · parent
CSS declares special pseudo fontnames like serif, sans-serif, monotype that you can set as a backup font. They should work in all browsers.
> I get paid lot to fix these problems so really it's in my be$t intere$t to tell you NOT to use web fonts, and to hire me over and over again fixing sizing and spacing bugs
It only means the person that programmed original CSS code was not qualified enough to do this properly. Why "fix" this by adding multikilobyte download instead of fixing the code?
comment 10y ago · link · parent
By the way I think downloadable fonts should not be used on technical sites and manuals. As a user I would like to get information as fast as possible and custom fonts make page display slower - browser doesn't render text until font is loaded. It would be nice if Chromium allowed to disable loading fonts on a per-site basis as it does with javascript (which I have disabled by default).
comment 10y ago · link · parent
https://support.google.com/news/publisher/answer/40543?hl=en...