12,740 karma · joined Feb 17, 2008 (18y ago) · 2,917 submissions
comment 8y ago · link · parent
Did I miss anything?
comment 8y ago · link · parent
If you could lock down the whole directory tree and then check, it would be moderately safer but you are still assuming the tree contains only what you expect. It’s far wiser to have a list from the start or a file search that you can audit before individually processing files on your list.
comment 8y ago · link · parent
At best, it is redundant with a recursive search feature that chooses “delete” as the operation. And if you want “do something else then delete”, you can no longer call a recursive-delete command anyway so why not just learn how to enumerate files first and give your system a fighting chance to audit first?
Disk cleanup code should always create lists of known target files, attempt to delete only that list of files, then do the platform equivalent of “rmdir” at the end to attempt to remove the directory. If that fails, congratulations: your ass was saved by not deleting something you didn’t know was there.
comment 8y ago · link · parent
It seems to me that the only correct solution is to error out when there are at least two viable versions of a file. Even if you’re trying to “sort and display file names”, you would need to acknowledge at that point that the exact file name isn’t clear. And once your program is doing that, it doesn’t really matter why the two versions are different: maybe it’s a Unicode problem, maybe it’s not.
comment 8y ago · link · parent
The only feedback in the entire update process is a little spinning circle in a list of updates, which spins for hours on end without apparently doing anything until Windows suddenly out of the blue is “ready” to install and reboots. It will appear to get somewhere, reboot again, and somehow return to the desktop as if everything is OK, yet the update list claims that the update failed. Then it spins again.
I mean, even if it’s “good” that it doesn’t auto-install broken updates, it sure seems to be spending the absolute maximum amount of resources in terms of downloading data, consuming energy, wasting my time, etc. I suspect the size of the update is the factor they should most easily be able to control; patch something smaller and maybe it will actually finish. I don’t know, just seems like an utter mess to me.
comment 8y ago · link · parent
I just don’t understand; I cannot fathom what implementation could be so complex that they can’t achieve full test coverage on something like whether or not a damned window appears when required.
comment 8y ago · link · parent
It turned out that not only was the disk very near full after upgrading but a running app process was failing to do something (thanks, new sandbox rules!) and it would fail forever, growing and growing one of its preferences files to gigabyte size.
So in my case at least, Apple’s system “protection” basically created a risk to the system. The OS simultaneously caused a program to trigger a failure condition that the app wouldn’t have otherwise had, and then the OS did not protect the system enough when the app’s failure response was to grow a file on disk without limit! Apple even redesigned the damned filesystem, meaning a lot of tricks to erase files didn’t seem to work. I was desperately blowing away anything I could think of while trying to identify the process working against me. (This is incredibly hard. Processes fail to spawn, etc. and lots of things go to hell. If you don’t already have a couple of shells open somewhere you’re probably screwed.)
Do not let macOS fill up its disk. And I’m really starting to wonder what is up with Apple engineering.
comment 8y ago · link · parent
Personally it drives me crazy to see things truncated all over the place, peppered with useless empty cells, for no reason other than “somebody shoehorned this sparse data into a grid and never looked back”. It’s like people just don’t see how much time they’re wasting constantly doing a mental reconstruction of their poorly-described data because they can’t SEE most of it.
We really need better tools.
comment 8y ago · link · parent
Now, a substantial amount of space is devoted to pre-orders: games that can’t even be played yet!!! How does that help the games currently for sale?
There are lots of positive feedback loops: advertising only the top 10 keeps them (shockingly!) in the top 10 seemingly forever. And the categories suck...why should anyone care which games have made the most money, especially when some in-app purchase lists seem scammy as hell?
comment 8y ago · link · parent
Sometimes it seems like the “Default deny” security concept needs to apply to Internet companies. Instead of having years to screw with data and the Internet until told “no”, how about every idea they have is illegal until it can be proven through thorough review that it might be valuable?
comment 8y ago · link · parent
comment 8y ago · link · parent
This last time, they crossed a line: they pre-filled the field (I do NOT have this set up in the browser), meaning they already figured out my number (probably by scrubbing some friend’s phone) and just want it confirmed. To hell with that. I would not be surprised if every spam call in existence can be traced to Facebook.
comment 8y ago · link · parent
Therefore, it’s always at least about money but probably more than that. And when you consider the time investment and risk associated with a startup, it might be a loss if you’re only considering the money.
comment 8y ago · link · parent
There isn’t much point in creating lists of important places within the app because Google can’t seem to figure out how to show these to you in fewer than 5 taps/screens. It’s crazy when the 3rd party solution can provide more direct access in an app than the app itself.
comment 8y ago · link · parent
This is good for me since I deployed a Python-dependent app under the assumption that the system Python would be stable and reliable. It allows relatively complex things to be achieved with a tiny download package.
I’ve been prepared to adopt Python 3 for awhile but it just isn’t necessary when using system defaults.
comment 8y ago · link · parent
Imagine if “rm” just decided to occasionally set aside files instead of removing them. The “star” in “rm star” means “remove everything”, not “remove, asterisk” where at the bottom of the page the asterisk lists exceptions like some kind of marketing weasel. Sheesh.
comment 8y ago · link · parent
While probably technically much more difficult, maybe they could have the first Mojave launch of every app occur in a separate and invisible “everything allowed” area, where the system just pretends to allow things and tracks everything that the app did on launch that would require permission. And then, it can display one box with a summary of features that seem to be required for that app, relaunching the app in the real system sandbox if approved.
comment 8y ago · link · parent
You will almost never be working on something so performance-critical that it truly needs cleverness and super-optimization. And you will rarely have time to properly measure a particular thing anyway. You will be expected to frequently change things and super-optimal code is a pain to modify.
You will work with programmers with a variety of skills and it will often be impossible for them to maintain things of moderate complexity. Or, your team will be using ancient tool versions that can’t reliably do the spiffy new thing in the language. Again, straightforward code wins.
When you write a test, first set up a case that fails to make sure your test can actually catch a failure. Too much time is spent debugging things because tests “pass” when the tests themselves just weren’t doing what they meant to do.
The code is king: put everything you possibly can in there (comments, etc.). Don’t let people set up external documentation that no one reads, because it becomes wrong/misleading within a day. If you must have things outside the code, they need to be revision-controlled alongside the code, in the same repository.
comment 8y ago · link · parent
Of course, on the flip side I’m grateful for this reliability because there’s no way I want to replace my 2013 MBP with any current Apple offering. They’ve truly screwed their product line and I figure I can only wait one more generation for them to come up with something sensible.
comment 8y ago · link · parent
As such, I suspect the best system is “hire a bunch of humans to check”. And that’s expensive, which is fine because it should be. These companies try to completely decimate online publications just because it might infringe on their precious properties, and that needs to be a massive cost to deter frivolous takedown notices.
It’s kind of amazing that sites so rapidly reached the point of just insta-killing potentially infringing content with no evidence. That has surely crushed some up-and-coming artists who probably said “screw it” after having their platform taken out from under them by mistake.
comment 8y ago · link · parent
comment 8y ago · link · parent
For instance, a “remastered” version can change content. A song might be completely rerecorded and sound different than the version I bought/liked.
If Star Wars teaches us anything, you can’t just rerelease something and assume it’s an improvement.
comment 8y ago · link · parent
The cause of slower boarding is BAGGAGE FEES. Airlines are penny-pinching, people bring everything on board to compensate, and struggling with luggage is slow as hell.
comment 8y ago · link · parent
I am aware of the reasons for shrinking. I’m not saying they should never pursue a new process but they’re attempting to achieve it on a timeline that isn’t realistic.
Also, power-inefficient design is something that is hard for Intel to change because too much depends on their architecture being the way it is.
So between not wanting to get rid of stupid features and not being able to sell a backward-incompatible chip with power-efficient architecture changes, they’re left trying to shrink before everybody else.
comment 8y ago · link · parent
One example is to save area by making the chip do less, and an outstanding place to start would have been to banish all of this DRM crap that no customer has ever asked for. It costs complexity, no doubt adding so much crap to the chip that they need to save area by shrinking the whole chip on an accelerated schedule.
comment 8y ago · link · parent
What I don’t understand about review processes is that scummy apps and companies are really not that hard to spot. Maybe the really crafty ones are hard to see but I have to wonder how much time Apple really has to spend (sometimes just from descriptions alone) to question what an app is doing.
Meanwhile, I once got rejected because I didn’t have a damned minimize button or something.
comment 8y ago · link · parent
comment 8y ago · link · parent
The only real impact on Apple’s bottom line would be for the entire store to become so infested, relative to competitors, that people jump ship and stop buying expensive Apple hardware out of frustration. Apple is at least observant enough to avoid that; they’ve kept their store clearly better than competing stores but none of them is necessarily a great experience.
I strongly suspect that the convenience of payment processing is the primary reason for developers to put up with Apple’s too-random screening systems. If Apple were required to open up app payment processing to any number of payment services, and if they were relying on trusted 3rd parties to certify apps (perhaps based on category), we would see a very different app experience.
Distributing reviews to different authorities would also be hard. For example, if you had “security experts” handle screening for apps in a certain category, somebody could just write a sneaky app in a different, weakly-reviewed category to make it through the net into the store. Apple would almost have to create secure subsets of their entire API in line with app store categories, e.g. “you can’t even use network-access APIs for apps in this category” would be a very useful restriction. The other nice thing about this is that Apple would finally be free to not need certain expertise in-house; e.g. if you don’t have enough good people on staff who are qualified to assess the security risks of an app but you can find a trusted 3rd party that can, you can hire them to be that trusted authority and we can stop assuming that Apple is the best at handling everything by itself.
comment 8y ago · link · parent
For example, community service if you can’t pay a fine. If you don’t have time due to multiple jobs, kids, etc. then perhaps the state offers services to give you time (day care, food or travel credits, whatever). Sure, the state pays for that but is it really so bad to pay for these things when we pay to run jails anyway? Seems we’d have fewer desperate “criminals” if we just treated them like people.
If you have little money and need to be working multiple jobs, etc. then of course bail, fines, and jail time will completely screw you and you’ll end up even more desperate and likely to (say) steal again. And since people aren’t just leaving stuff around to be stolen, you’d probably accomplish that through property damage (more charges! more jail!) or, unfortunately, weapons (despite best intentions, things go bad and you’re desperate and assault occurs: more charges! more jail!). This is an insane cycle.