12,740 karma · joined Feb 17, 2008 (18y ago) · 2,917 submissions
comment 10y ago · link · parent
And the keyboard has exactly the same problem; force-touch uses space that already has a purpose and a gesture that is somewhat similar to that of the normal keyboard function. I tried it just now and there is a decent chance I will start typing random characters instead of activating it. That, to me, is a failure of an interface. I will admit that once activated correctly, the mini-trackpad is a better method for moving the cursor (although, almost anything could improve over the default text editing on iOS).
comment 10y ago · link · parent
Ultimately though, if you need control then you have to take control.
I have been using "textile" for the help documentation in my project for years. I simply copied the entire Python rendering code into my project. Nothing can break until I am ready to change (and I rarely find new versions of the rendering engine anyway).
comment 10y ago · link · parent
And it is half-baked in the sense that when I do activate 3D Touch, it’s usually by accident. It is almost the same gesture as deleting apps on the home screen! I go to delete an app, press-and-hold a little too long and instead of squiggly icons with delete buttons I get...a menu? And usually I get that the 2nd time I try, too.
Force-touch badly needs something to make it obvious, and they need to work a lot harder on making it not overlap with anything else. Ironically, for an interface that loves gratuitous animation, force-touchable objects might have made a lot more sense with some fancy appearance or animation and they have none.
comment 10y ago · link · parent
In my case some of the libraries are also compiled so I have a starter script that sets DYLD_LIBRARY_PATH, PYTHONPATH, etc. and runs a 2nd script that can then successfully import whatever is required.
comment 10y ago · link · parent
Although, I do not attempt to install any libraries, I keep everything in the application bundle and set environment variables as needed.
It is limiting in the sense that I must use the Python version that Apple does but at the same time, the shipping executable is downright tiny compared to most Mac OS X applications.
comment 10y ago · link · parent
Not all feedback is automatically bad.
The trick is to get rid of animations that force the user to wait for them (e.g. most “opening” animations are in this category; I do not want to wait for something to finish sliding open before I can use it, I want items to appear instantly).
comment 10y ago · link · parent
If I actually do want to guard against every case imaginable, I immediately switch to Python or some other language that at least knows how to quote things unambiguously without a lot of effort.
comment 10y ago · link · parent
Take moving companies. We have “Apple” and “United” in that market, and those names are clear enough as long as the grouping is something like “moving companies”. They coexist in markets where Apple computers and United Airlines are well known. In the old days, these would have had two different mentions in the Yellow Pages. Yet, can there reasonably be a “moving.apple” and “moving.united” alongside “computers.apple” and “airlines.united”? No, these well-established four companies have to compete for two logical domains, because consumers only seem to care about ".com". Companies fight over domain names that they shouldn’t need to care about, and artificial “value” is attributed to these names.
comment 10y ago · link · parent
The security of encryption is similarly proportional to the security of keys. The fewer things you have to secure, the easier it is to keep them secret. The “master key” concept in New York only served to create something of great value that people wanted to acquire, and massively increased the risk when that fell into the wrong hands. Obviously the same thing could happen with an encryption key, except it is worse because you don’t even have to be in the same country as the source of the key to acquire it or use it.
[1] http://www.nydailynews.com/new-york/pols-public-outraged-sho...
comment 10y ago · link · parent
Maybe we have reached the point where browsers should implement the top 10-20 effects in standard ways (that of course the user can choose to override). That would make it feasible for many web sites to avoid JavaScript entirely and still produce the effects they want, and let us move away from this “execute arbitrary remote code by default” aspect of web pages.
comment 10y ago · link · parent
I try to ask questions that aren’t completely ridiculous, but definite tests of knowledge. And in my mind I judge correctness not so much on remembering obscure syntax but on how they approached the problem, and how much time it seemed to take them to start doing something. I always ask about things like how they approach debugging, testing, etc. because these are important too and they tell you a lot about how likely the person is to be able to handle any problem you come up with.
comment 10y ago · link · parent
comment 10y ago · link · parent
If they simply started tagging things internally in some way that associates issues with external things like bug numbers and release numbers, they would have a start toward communication with the outside of the company.
comment 10y ago · link · parent
Microsoft could have started really small with this, even updating a single app. There is no non-marketing reason to simultaneously change massive amounts of software. And since it is now clear that parts of Windows 10 really are half-baked (like duplicate settings panels), there are clearly some things that should have waited for a later update, once there was time to finish them.
And you know, Microsoft has made billions and billions from software so frankly they do not get to screw around here. Nobody with that much money and that many engineers should get an ounce of sympathy for being so incompetent. They needed to start by doing a lot less, with a lot more care and attention.
comment 10y ago · link · parent
The really sad thing is that it should have taken about 2 or 3 people at Microsoft, tops, to anticipate the first 10 things that could not only go wrong with their upgrade plan, but very, very wrong. Were those reasonable people shouted out of the room?
comment 10y ago · link · parent
comment 10y ago · link · parent
Still, it’s a shame. Technologically, near-instant software updates ought to be fantastic. In reality, developers have abused this power.
And when there is abuse, you need a system that returns power to the users.
For instance, an update protocol should probably use cryptography, with keys distributed across a web of trust that the user is part of. If the web of trust collectively distrusts an update (e.g. because several people had problems with updates signed by that key), it should automatically raise red flags for other users and not be installed automatically. For random 3rd-party developers, this would make it hard to push unwanted updates; and for big companies that don’t want to have a poor public image, it would be incentive to not push updates that aggravate a lot of users.
comment 10y ago · link · parent
And unfortunately we have seen plenty of examples of how screwed-up a default-trust scheme can become. Laptop vendors have abused their root-CA authority multiple times now, in recent memory. You don’t want the keys to the kingdom in anyone’s hands.
Besides, no matter how many assurances you give me today, I have no idea how careful you are when hiring people or how well you secure your Magic Keys. In the end, they get out in the open. This is why you can’t allow for even a single hole in the system.
comment 10y ago · link · parent
For instance, it is crazy that something as critical and commonplace as "std::iostream" is riddled with error-prone design decisions. The "<<" operator choice is wrong, and it fails basic localization requirements before you even get into its other problems. To this day, I see people who don’t handle stream errors correctly in every case (and who can blame them, when you have stuff like “bad() is actually not the exact opposite of good()”?). Don’t even get me started on the fact that most flags have two different pairs of constants with similar names, used in different contexts, with different values, that will even compile after the wrong one has been chosen (producing who-knows-what behavior?). Or the fact that global stream states can be screwed-with from anywhere, meaning that when a library call returns you can’t be sure that your own "std::cerr" state is “undamaged”? And this is just from streams! The list goes on.
comment 10y ago · link · parent
One thing I’ve never seen is a vote that accounts for the number of unique visitors, or the total time that visitors spend on a page, or even contributor status, before weighing feedback. An issue that isn’t immediately important to a lot of people should require some time to decide popular/unpopular status.
A page shouldn’t show up/down status to anybody* until a significant amount of feedback has been collected, either. This would prevent knee-jerk down-votes of ideas that seem unpopular to everyone based on a few early down-voters. A proposal should stand on its own, at first. After a certain time period, the page could reveal whether or not an idea has really turned out to be popular, and at that point the cost of up-vote/down-vote could change (e.g. maybe only comments are allowed at that point, and no simple clicks).
comment 10y ago · link · parent
- Is the bug report focused (one issue), and not riddled with a list of unrelated problems?
- Does it include full environment detail, relevant to the domain (e.g. hardware/OS, versions of the programs involved, environment variable settings, any recent changes, etc.)?
- When reporting a crash, does it include all logs?
- Is it professional and to-the-point, free of distracting and irrelevant statements like angry rants?
- Does the submitter respond regularly, instead of treating bugs like black holes when follow-up questions are asked or test patches are released?
comment 10y ago · link · parent
And really, I think saving 10 jobs or 5 jobs is still fine, if that were the number.
No single person can be so good at a job that it warrants sending hundreds more out the door. Any company that thinks this should try an experiment: fire the executive, ask any employee at all in the company to take over the job for 1/20th the salary and see if the outcome is measurably worse.
comment 10y ago · link · parent
A much more balanced system would be something like, for each executive:
- Your base pay is $51 million.
- If you FAIL at your task, YOU OWE THE COMPANY $50 million.
- If you succeed, you receive an extra $20 million. If you choose to split $15 million of this reward with employees in terms of stock however, your portion of the stock will be doubled.
That would put some skin in the game. And if a failing executive is forking over most of his millions back to the company, they could probably avoid quite a few layoffs. And if the executive doesn’t fail and has a direct incentive to share success with employees, the workers would be even more loyal to the cause.
comment 10y ago · link · parent
In the case of security, it isn’t enough to have a policy-maker be passionate about solving a problem. Simply having a policy (read: obstacle to getting work done) will not automatically instill passion in everybody else to solve the same problem. Instead, people will find the least-effort solution to work around the obstacle! Basic password transformations and/or writing passwords down should therefore have been anticipated by any “security expert” long before recommending frequent password changes.
Now, imagine this alternate approach:
- Educate everyone on passwords, emphasizing the length. The idea is to get users invested in the problem of security instead of just making a policy.
- Set up the system to reject any password less than 25 characters.
- Aside from length, no character restrictions. In fact, multiple spaced words (“pass phrase”) are strongly encouraged. Employees are encouraged to make their passwords memorable nonsense sentences such as “chair bleak elf combination” and so forth. Mobile interfaces are then designed to make it easy to search dictionary words (because so many people will be using them to enter very long passwords). In other words, build the system to make it easy to do what people will probably try to do anyway but make it secure.
- Passwords are not required to change as frequently as every quarter. Maybe once a year.
- Systems are set up to periodically require 2nd-factor authentication mechanisms, such as one-time text messages or E-mails.
comment 10y ago · link · parent
If you have a lot of optional data, or a lot of reference counts, etc. it can make a lot more sense structurally to gather the state of all variables in one place. For instance: if you have 10 optional fields in a structure, create a single set of 10 bit flags to track them all; the result is much smaller than 10 “optional” objects ever could be. The last thing you want is a ton of padding across millions of objects in your program; this starts to affect everything from efficient use of caches to maximum memory capacity.
It just seems a bit of a slippery slope; optional<> might start showing up all over the place as the One True Way To Optional things, without regard for the unnecessary padding and/or wrapping of data.
The only way to really do this “for free” is to have the compiler keep track of what was ever set, as Swift appears to do, keeping the tracking out of the memory or run-time footprint.
comment 10y ago · link · parent
comment 10y ago · link · parent
Those useless Dock corners could be really nice for displaying square widgets that might otherwise want a chunk of the menu bar.
comment 10y ago · link · parent
IoT devices need this kind of layer, frankly. The choice shouldn’t be between “connect to my router and do whatever the hell you want” or “nothing”; there should be a relatively simple and sane layer that is vigorously standardized and enforced.
For example: maybe every IoT device has to go through a sanitized DNS that allows only “.device” domains, and data is limited to some number of bytes per second, and power dissipation is limited, and there is a precise protocol for software updates that can be governed by an equally-standard protocol to control when updates may occur, etc.
We have a long way to go but it is possible.