12,740 karma · joined Feb 17, 2008 (18y ago) · 2,917 submissions
comment 11y ago · link · parent
If use of a phone app causes interruptions in class, you respond by setting rules in class such as "put your phones away". Otherwise, it's COMPLETELY outside the boundaries of the school.
The police shouldn't be involved unless a charge has been levied by someone (e.g. "this person took pictures without my permission"). Bringing them in did nothing to help the children, it only further increased exposure. Oh, great: the police are going to "try to identify" the children in the naked pictures; well, how, exactly, without making the situation far worse for everyone?
Parents need to be parents. Train children about the risks of trading pictures or anything else of a personal nature (pictures are not guaranteed to be seen only by the person you send them to, pictures can be used as blackmail, etc.). Show kids why they should think twice before doing these things. And yes, commend them for the sensible steps that were taken, e.g. guarding things behind a password instead of leaving them completely in the open.
comment 11y ago · link · parent
For instance, when on a phone call and you show the numeric keypad, there is no sane reason to make the "Hide" function a microscopic text label that is a finger-width away from the HANG-UP action. Functionally, these actions should be on opposite sides of the display from each other. I don't even think they placed it there for aesthetic reasons, since the Hide "button" just looks like an ugly hack.
Then there's positioning of keyboard keys. If I had a nickel for every time I deleted a character while trying to finish a word with "m", or every time I accidentally committed an action with incomplete text because of that stupid blue key! Instead of moving dangerous actions to the opposite end of the screen where they belong, too much effort was spent trying to emulate the precise layout of a real keyboard. I don't think users would complain at all if the "action" key was instead in the top-right corner, and if "backspace" was in the top-left corner.
The scrolling calendar widget is also a nasty example of poor positioning. Long after it was "improved" in iOS 7, I still can't create a single calendar event without doing the accidental-screw-up-date-instead-of-scroll action, usually with "helpful" automatic "corrections" for my change such as synchronizing the From and To times to both reflect my accidental date-change. Or if I'm really lucky, I don't even notice that I changed the time.
They need to step back and realize that design is how it works. Their interfaces are incredibly error-prone right now.
comment 11y ago · link · parent
comment 11y ago · link · parent
C++ has atrocious defaults, where you have to add a bunch of keywords and do all these things just to make the simplest classes do the "right" thing. It's long overdue for some new behaviors.
Adding things like "override" to existing code has been an absolute joy. It has already prevented errors during maintenance in projects at work. It is well worth a few days of ugly revision control logs.
There are lots of ways to smooth a backward-incompatible transition for C++ on a larger scale. For instance, they could enable it on a file-by-file basis by having some new declaration like "using c++17;" (or better still, require only the old, out-of-date files to add this declaration in order to continue compiling).
comment 11y ago · link · parent
For instance, they could have:
- Quietly noted the issue in a file somewhere, waited 24 hours, and checked again.
- If the problem was still present after 24 hours, they could have made the software discreetly submit a problem report to Apple (but still launch and work correctly).
- After 48 hours, they could issue a background notification to the user indicating that a problem has been detected in the program and to “please check for updates on the App Store”; but again, continue to work correctly.
Or in other words, there were only about a half dozen more reasonable things they could have done that didn't involve an Amazonian break-things-immediately type of response.
comment 11y ago · link · parent
New users should be given tutorials, online help or other kinds of training that successfully bring them up to speed. Those kinds of materials are then cleanly separated, and they get out of the way forever once the user is acquainted with the system.
comment 11y ago · link · parent
Of course, soda syrup costs literally pennies. Food places pay more for cups than soda, and since the engineering group wasn't buying that many cups (people used their own) the cost was essentially wrapped up in the machine itself.
Now comes the true stupidity. To "cut costs" they stopped refilling the soda dispenser but they kept the machine and even left it plugged in. It became a glorified ice dispenser (when the break room already had a different ice dispenser), consuming electricity. It had a bunch of now-useless fountain dispensers on the front of it.
Think about that. The company decided not to pay the pennies it would have cost to make employees happy, and elected to continue operating a machine that didn't have any reason to exist without the soda. The beginning of the end was signaled loud and clear to employees and I saw a marked drop in giving-a-crap-about-things after that point. The company is not around anymore, long since divided into pieces and sold to the lowest bidder.
comment 11y ago · link · parent
- E-mail address
- Phone number
- Mailing address
What is it about chat protocols that has resisted convergence on anything as remotely standard as these other methods? I mean, I could tell somebody that I spray-painted hieroglyphics on my house and that "there are 3 shipping companies in the world that know how to find my house using hieroglyphics so please ship through one of them", yet somehow my "address" has remained the sensible way to handle that problem.
The problem isn't Slack or IRC or any other client, it's that we have any choices at all. At this point we don't need choices for chat protocols any more than we need a choice of ways to put an address on a house. The technical community needs to start loudly criticizing clients that aren't converging on some standard, and standardize more and more behaviors every year until it really doesn't matter what people are using.
comment 11y ago · link · parent
Typically if you're observing a value, you also want safety against dangling references. If the owner destroys the object, your copy of the pointer should be cleared out so that you can't accidentally look at the original.
comment 11y ago · link · parent
Even if someone is willing and able to read a 44 page contract the first time, the next time version 1.0.1 of something comes out you are generally given a 44.5 page contract to re-agree to. "Somewhere" in there, they changed something; good luck figuring it out. So even if the version you read gave you permission to sue, the amendment that you clicked-through-in-agreement later may have given away that right (an amendment they probably made because somebody sued them).
We solved this type of thing years ago, the solution just hasn't made its way into legalese: use revision control. I wish that large documents were:
- Publicly revision-controlled with a system that has clients everyone can easily use (i.e. no arcane commands, and push-buttons for the most common things like "compare to last version").
- Public accountability for the entire revision history of every single line. If somebody wants to add [Horrible Clause A] two months after I first signed it, then I get to know exactly who made the change and if I want to I can take a look at other changes they've made to other documents.
comment 11y ago · link · parent
comment 11y ago · link · parent
Microsoft is far from the only offender of course (a PlayStation comes to mind, for example) but system designers really need to start using their brains on this.
comment 11y ago · link · parent
comment 11y ago · link · parent
The older OS is paid for. It represents a big investment. And, there is no way that every possible problem will be magically found and resolved within 31 days. What if it takes you 2 months to boot up a game that is apparently broken on Windows 10, for example.
comment 11y ago · link · parent
It is entirely possible to pay less for the same talent. My thinking is that he got lucky though.
If you start out underpaying, you can still overpay thereafter. Here is a quick top-of-my-head list of major software costs that can come up (not too far) down the line, after paying initial development wages:
- Documentation turns out to be nonexistent or written in a way that is hard to decipher, or wrong. (This seems more likely with outsourcing because heck, you didn't specify that you wanted the code documented, and it'll take hours to add all that, plus you might pay more later if it's not there...)
- Serious bugs are lurking that require a little time to discover.
- Although the system demo'd well with initial tests, it collapsed when asked to scale slightly; e.g. it exposed a bad choice of algorithm that blew up with large N. Sometimes bad algorithms from inexperienced developers can create a catastrophically large amount of refactoring work.
- The developers took short-cuts and exposed the company to a legal minefield (e.g. copying something or injecting patented or GPL'd code without asking), rendering their working and brilliantly-implemented solution unusable. Now what...even if you can argue that it's their fault, you're probably going to be paying lawyers for something (defense or lawsuits).
- The system does seem to do what it's supposed to do but it turns out you didn't specify it quite right and it integrates poorly into your environment in some way. So, great: it's done, it's here, it runs but you still aren't getting anything out of it because you have to spend more time and money to bring it to a usable state internally. Typically this doesn't happen with internally-developed systems because the people are familiar all along with the idiosyncrasies of the environment.
Even at a cheaper hourly rate, how many more times are you going to go back to the provider (just a few more hours at a cheap rate to fix the next problem...) before you've gained nothing? Much less the fact that you have zero actual employees who understand what you bought so if the provider ever goes out of business or triples its prices, you incur another "new" cost: hiring or redirecting your own people to figure out this thing that you bought and now have to maintain yourself.
comment 11y ago · link · parent
One problem in outsourcing is the thinking that programmers are somehow easily replaced; the "just find 'a' developer" idea, with little to no thought put into whether it may matter if the chosen team has any idea what they're doing. Two anecdotes. Years ago I was given such a team, to maintain a system primarily written in two different languages; the manager in charge gave me two guys from the other side of the world who were to be "taking over" the project despite not knowing how to program in either language, and there was no arguing this point. On another project, a resource from far away was graciously donated to me to help with a C++ project; I later realized he had chosen to recreate several container classes in C++ as if he'd never heard of the STL.
Another problem is the fundamental misunderstanding of culture. Managers in the U.S. seem surprised when they encounter wildly different behaviors overseas (gee, it's almost as if they had hired someone from a completely different part of the world!). For instance, I have encountered remote groups that are astoundingly good at self-preservation, who will basically change their minds and do whatever they want at the last minute to prop up their team at the expense of your project. Individuals, too, may have side projects that they care about much more than anything you have asked them to do.
comment 11y ago · link · parent
I remember the old days when (say) Apple had a tool on Mac OS 8.5 that would send a query to many different search engines. There were enough of them, and they were all iffy enough, that you couldn't really just pick one search site to see good results.
comment 11y ago · link · parent
I'm not saying that the situation completely excuses a severe punishment but when you looked at stories like these, did you even wonder:
- Maybe this kind of robbery has happened to them, or to their friends, family or neighbors. It's not hard to imagine someone turning cold after seeing bad things happen to loved ones.
- Maybe they know something that the store owner did and it was a kind of "mob justice". (I'm not justifying them shooting the guy. Yet, based solely on the knowledge that the owner was begging for his life, you don't know enough about the situation to understand why the kids shot him.)
- Are these things happening because of other factors? Economics are frequently a reason. I can imagine giving a lot less of a crap about society if I was dirt poor and I couldn't see any way to make it better.
I think the first solution they should consider is if they can make the perpetrator's life better. Prison makes it undeniably worse; ironically, if being poor got them into prison, they'll probably be even worse off after prison (what with people refusing to hire convicts and such).
comment 11y ago · link · parent
1. Why is prison time measured in years?!? I can't even list all the things I've done in the last year. I can't imagine being confined to a few square blocks for ten or twenty or thirty times that length of time, especially when it does not only cause loss of freedom (which was supposedly the only intent) but a greatly reduced quality of life (e.g. endangerment, and even small things like having worse meals all the time).
2. Why is prison even considered for young people? People do stupid things when they're young; they don't always know better. You can't tell me that someone who's 20, who's barely had a chance to live alone for "years", should suddenly be told to spend "years" living with strangers for (most likely) some petty crime. Great recipe for development there.
3. Why do we have bail? Oh, you're rich? Great, leave; otherwise, stay in jail until your trial. And since the system is so damned efficient, who knows how long that will be. Oh, and those in charge occasionally forget about people[1] after they're detained.
4. Why isn't community service the number one penalty for most crimes, especially minor offenses? And, why isn't the bar being significantly lowered for what constitutes a minor offense?
[1] http://www.cnn.com/2015/05/05/us/california-forgotten-prison...
comment 11y ago · link · parent
Some of the stop signs on my path are 5-way, which are already screwed up enough without having to guess which random direction a cyclist will coast from (usually endangering pedestrians and cars alike).
When I am trying to turn right at a stop sign, a disturbing number of times a cyclist will approach from somewhere and decide to coast around the corner while I am turning too. Then I have to worry about seeing him when he should have STOPPED.
I also see cyclists turn from pretty much anywhere they want. They don't use hand signals, they don't switch to the driving lane, they just randomly hang a left in front of you while you're approaching a stop.
Cyclists expect to share the road, they need to obey the rules. It really can't be any simpler than that.
comment 11y ago · link · parent
Maybe the Qt apps have legitimate bugs but the fact is that native environments like Objective-C, and most likely this JavaScript environment, would both handle those issues very cleanly compared to Qt.
comment 11y ago · link · parent
Apple can defend against unauthorized calls to even runtime-composed method names though. I can think of a few ways.
They could move as much "private" functionality as possible outside of Objective-C objects entirely, which requires that you know the C function name and makes it obvious when you've linked to it. This should probably be done for at least the really big things like obtaining a device ID or listing processes.
Even if they stick with Objective-C, they could have an obfuscation process internal to Apple that generates names for private methods. Their own developers could use something stable and sane to refer to the methods but each minor iOS update could aggressively change the names. If the methods are regularly breaking with each release and they're much harder to find in the first place, that may be a sufficient deterrent to other developers.
They could make it so that the methods are not even callable outside of certain framework binaries, or they could examine the call stack to require certain parent APIs. At least that way, if you want to call a private API, you have to somehow trick a public API into doing it for you.
And, I think Apple does say somewhere that developers shouldn't use leading underscores for their own APIs. They could hack NSSelectorFromString(), etc. to refuse to return selectors that match certain Apple-reserved patterns in all circumstances.
comment 11y ago · link · parent
And since regexes on URLs would be complicated and error-prone for most people, I think the onus is on content providers to throttle themselves, baked right into a user-agent protocol.
For example, the USER should be able to cage the provider with certain limitations that must be met in order for content to be displayed:
- "I am granting you no more than 500K of my data plan. Please send me a version of your page that meets these requirements."
- "I am granting you no more than 1% of my battery per week. If your site exceeds these requirements, your site will feature prominently as the cause of battery problems in a report that is periodically presented to your users."
- "I do not consider this site to be an 'application' so I have restricted several dynamic behaviors. Please send me a version of your page that can operate in a quarantined scripting environment."
And of course, browsers would be expected to provide sane defaults for these settings.
This approach isn't particularly hostile to any one industry; it doesn't specifically block ads (if they fit in that 500K, be my guest).
comment 11y ago · link · parent
comment 11y ago · link · parent
This is sad for security because people see things like "stupid UI changes" and they make upgrade decisions based on the parts of the change that are most visible instead of the parts that are most valuable.
Software should probably be designed so that it can be distributed in a layered fashion. I shouldn't want "git cherry-pick" every time I click an Update button.