Better HN
topnewbestaskshowjobs
Log inSign up

makecheck

12,740 karma · joined Feb 17, 2008 (18y ago) · 2,917 submissions

Submissions

comment 9y ago · link · parent

While I have slightly despised Xcode ever since 4.x when they integrated Interface Builder and everything else unnecessarily into one buggy app, it has only been completely broken for me with the latest version. “Something” makes typing s...l...o...w......a...s......h...e...l...l... and I have never figured out what. The editor became utterly unusable no matter the project and I was forced to do every change outside of Xcode.

I am very thankful that they at least had the wisdom to expose "xcodebuild", etc. as command-line tools, because I have always set up my primary build to rely only on the commands. (Even when “building” from Xcode, the build that I click runs "make" underneath with xcodebuild.) That way, I never need to be in the GUI and can work around its quirks or bugs that make it unusable, which has paid many dividends.

comment 9y ago · link · parent

I feel that ranks should be a combination of explicit and implicit activity.

If a story link is followed a certain number of times, if a certain amount of time is spent on a page, etc. these indicators might contribute to an “implicit upvote” for a story or contribute in some way to its rank regardless of explicit up-votes. It’s also really important to have a good way to recognize and consolidate duplicates and reward them equally.

Activity in a comment subtree should also implicitly increase the rank of a comment. I have occasionally seen comments that were mysteriously not upvoted even once, despite spawning multiple levels of subtree discussion; in such case, isn’t the comment implicitly “more valuable” by creating a lengthy discussion, even if no one ever explicitly upvoted it?

comment 9y ago · link · parent

Worse is when ad technology is prioritized and is set up more stably/reliably than the content itself. It’s one thing to sit through an ad before successfully watching something but quite another to put up with that and then see some obscure error code instead of the content you “paid” for with your ad eyeballs. I’ve had things fail 2 or 3 times, each time replaying the same ENTIRE ad without a hitch but then failing to deliver.

This is why people cry no tears when ad companies complain. If you want to stick crap in my way, the experience had better be flawless.

comment 9y ago · link · parent

"Debuts", really? "Enhancement"? This is a restoration of what used to be standard decades ago before airlines became cheapskates. Do not let the marketing fool you; they made flying "less crappy".

comment 9y ago · link · parent

It's not practical to not have devices. The only defense against loss of information is to make the information itself useless: bake strong expiration dates and revocable keys, etc. into everything. It should reach the point where losing everything you have to "the shadows" might only harm you for the next 60 seconds until all your keys change.

comment 9y ago · link · parent

One of the great things about programming compared to many professions is that the requirements to start are pretty low: you need a machine and (realistically) Internet access, and a willingness to search for examples and answers. It doesn’t require you to clear space in your garage, or invest in large equipment, or go anywhere far away, or have a company backing you to acquire the necessary training; you just start. Even better, progress can be realistically made in spare time without necessarily abandoning whatever job got you this far, assuming you aren’t working 90-hour weeks.

It is also one of the few disciplines that is included in part-time degrees at some universities. This means you can even be taught radically new things in the field without necessarily giving up your day job.

comment 9y ago · link · parent

Conversion to Swift is not something that must be done 100% at once (due to reuse of the Objective-C back-end), nor is it wise to change quickly (due to source and binary incompatibilities that have been very clearly documented for the first few Swift versions). Slow-moving engineering teams, even within Apple, are just being wise; they can still be firmly behind the move to Swift.

comment 9y ago · link · parent

Also, this is in the Keyboard pane of System Preferences (where you probably want to make some system-wide changes to defaults so you don’t have to fiddle with the Edit menu in every application).

comment 9y ago · link · parent

I’m really surprised that more automatic update systems don’t make a complete copy of the old image (and keep it in an obvious place) before trying to merge or overwrite changes. Disks are huge, and it would mean that users can simply run the previous version in the event of an unexpected breaking change after an update.

The only one I can think of that makes a copy is the one from Omni Group, which seems to leave an old version in the Trash. Plus, it renames the application so it has an exact “version” for clarity.

comment 9y ago · link · parent

Apple’s reputation is already taking a huge hit by allowing the Mac App Store to remain so broken for so long. And dodgy software does make it into their store.

They don’t need much of a warning for outside software sites. The page could have a banner at the top, or display one when you click the outside link.

comment 9y ago · link · parent

A huge problem with the Mac App Store is that it is not a service for listing “all Mac software that exists” but it NEEDS to be. I would argue that the potential benefits to the platform for listing all software are huge, even if many pages end up being little more than links to external web sites.

Sure, Apple wants a cut of sales but they’re already listing totally-free apps so they’ve shown that money isn’t everything.

If they made it dead-simple to list apps (e.g. free listing pages to all developers, where software storage/downloading/sales are clearly another tier), they’d soon have all Mac software in their list. They could then build on that repository to become the Google of software search. Search could be truly powerful.

Instead, search is not only pointless on the Mac App Store but it’s the opposite of that. I now EXPECT crap, I don’t even EXPECT a reasonable match. For every search for “software that does X”, I KNOW that the results will probably not include any well-known programs and will certainly contain cheap crap and clearly-misleading scam-ware. The rest of the list will be software that was last updated 3 years ago.

comment 9y ago · link · parent

If you want more-secure methods adopted, they have to be easy to use.

I find that encrypted PDFs are a reasonable option, even when reading on mobile.

If I want to send myself something sensitive, I attach a password-protected PDF; then even if I open the “E-mail” on my iPhone, I am prompted for a password before I am allowed to view it.

And frankly, I wish that web sites would stop trying to implement their own clunky mail-like “secure” messaging systems and just use password PDF. I hate receiving these “you have a secure message on oursite.com!” messages that are impossible to deal with on mobile (not to mention they appear very spam-like at first).

comment 9y ago · link · parent

The last statement in the article is technically a hardware decision (the article says: “As an extra treat, XOR can be considered an imparity function. When its input has an even number of zeros, the output is zero. Otherwise it is one.”).

While 2-input XOR behaves as “one or the other but not both”, a many-input gate is generally implemented by chaining other XORs and the chaining causes even/odd parity instead of a “must be only one” behavior [1].

[1] https://en.wikipedia.org/wiki/XOR_gate

comment 9y ago · link · parent

A couple of technical reasons might be: ensuring that you can "grep" for any 4-digit year and find applicable files; or, that a "diff" makes it more obvious what is being added.

I prefer ranges personally. Also, I believe only the year of first publication is technically required anyway.

comment 9y ago · link · parent

There are at least four facts that should cause stuff like this to be discontinued immediately:

— It is not only possible to acquire electronic data after crossing a checkpoint but there are many ways of doing so.

— There is no possible way for the contents of a phone to be a threat to TRANSPORTATION security, which is theoretically the only reason someone should care when you’re crossing a border, boarding a plane, etc.

— Even if it were possible for data itself to be a threat (and it’s not), there are many ways to carry data. Someone could hide the data in encrypted form, or even hide it in plain sight by being clever. Also, the information crossing a border doesn’t have to be electronic at all; it could be a page in a book.

— Even if something “suspicious” is found, that is not guilt and no charges can be laid so what is the point!?

It’s long past time to shut down all of these ridiculous things. There should be a very tiny list of things that border security needs to do, and it should all fit on one hand.

comment 9y ago · link · parent

At some point, mass layoffs just scream “management screw-ups” and there should be major legal consequences for doing so. Otherwise, layoffs become an easy crutch for money-grabbing executives to screw over innocent workers without really punishing poor decision-making.

For instance, if the total layoffs per year exceed some amount (say 25% of the workforce, which still seems absurd), the company should automatically have to pay a fine, such as 5% of the total salaries that were “saved”. In addition, they should be required by law to give a one-year severance per employee in that situation. Management screw-ups need to come at a damned high price so that this becomes a rarity.

comment 9y ago · link · parent

Then IBM is not worth working for. It is time for workers to demand more sensible conditions from employers.

comment 9y ago · link · parent

Perhaps all new policies should have to be applied first to legislators.

Want a password requirement? Fine, submit yours first, Congressman; we won't abuse it, "promise".

Want inane questions and forms with high fees? Fine, Congressman, first you must fill out every last form yourself (don't forget to have a new picture taken, and thumbprints!). If you still think it's reasonable after all that, we can talk.

comment 9y ago · link · parent

These kinds of votes should never be 50/50 on average, if every participant were truly delving into details and making a frank recommendation based on real analysis. It’s obvious that what’s really happening is a partisan divide; sure, you can lull a few members across the aisle now and then but mostly these hearings are a farce.

Political parties need to go away, because they poison votes both outside and inside the system. Every single decision should be based on something other than the letter next to someone’s name.

comment 9y ago · link · parent

Templates only generate maximally-efficient code in theory. Generality kills them in practice; or, it makes the template code twisted to the point of insanity. For example, there is no space-efficient way to model optional<T> for more than one value in a structure type; if you have several optional fields, it would make much more sense to be able to track optional state as single bits of one field (say) but the class structure prohibits such a space optimization and requires each template to track its own is-defined value. Pointless.

It is also essentially impossible to know that your code is well-tested: even when using something large and well-known like Boost, its authors cannot know what will happen when you substitute in 4 of your own types (my bet is “result not quite working as intended; obscure bugs added”).

I use templates but I am quite aware of code complexity and I essentially stop when the templating goes too far.

Somewhere along the line, we seem to have gotten into a mode of wanting generic code at all costs. Why? It is just fine to expose a few common specific methods when those are very helpful and clear (such as classes exposing a “string value”, “integer value” and “float value” instead of trying to provide some single partially-specialized template mess of a method that manages to still not quite work right in every scenario).

comment 9y ago · link · parent

One thing to consider is that regardless of original motivations, once data has been collected by any party, that data CAN come into another party’s possession. Maybe the company network is not secure and the data is just stolen. Maybe a disgruntled employee screws them over. Maybe the company is bought out by someone else with different goals.

The point is that you can never assume that something will only be available to certain people for certain purposes. Even if you know this at one point in time, things change.

Therefore, one must expect and demand the highest security throughout technology stacks, and implement laws to clean up whatever cannot be guaranteed by security technologies.

comment 9y ago · link · parent

What made me stop caring about Facebook is how damn sneaky they try to be to keep you from logging out or turning pretty much anything off. It's really easy to accidentally leave things on, and stuff like chat can decide to turn itself back on.

Awhile back I noticed that fewer and fewer Facebook pages offered any of the top menu items (including "log out"), requiring you to be more and more explicit about which Facebook page you were viewing to even see a way to log out. I am sure the idea is to have you "accidentally" stay logged-in and then view half the Internet so they can track you.

The final straw for me is that now I see no log-out link AT ALL, not even if I reenter the root facebook.com into my browser to go to the home page (which used to restore the links on top). There is now no apparent way to log out without killing my browser so I am done with them.

comment 9y ago · link · parent

The problem is not the ads, it is the implementation. Nobody would care if sites simply inserted a line that said “Brought to you by FooBar, Inc. [Link].”.

comment 9y ago · link · parent

I think they really need to work on how to report problems succinctly. A simple error tone would be fine, combined with some recognized follow-up command like “what happened” or “tell me more”; in other words, assume by default that the person probably just mumbled and is about to repeat the real command.

Instead, Alexa likes to spew out multi-sentence explanations when there is a problem, and trying to talk over all of that to get Alexa’s attention again is very irritating. Usually I end up trying to talk at the same time and it may or may not listen. Imagine Alexa saying all of this kind of stuff: “I am sorry, the Thing I Think You Asked Me About But You Did Not Actually Ask Me About is not available right now. I cannot find a solution. Please go to Amazon dot com slash Something Else You Most Definitely Did Not Ask About, and visit the solutions web page.”. While all of that unnecessary verbiage is being barked out, I am usually saying something like: “Alexa...Alexa...ALEXA, turn on the...ALEXA, turn on the...ALEXA STOP!!! Alexa, turn on the lights.”.

comment 9y ago · link · parent

It’s ridiculous how simple and fair the rules for this could be, if only they’d been implemented in law to cover certain scenarios that ensure honesty.

An example set of rules could be:

1. Periodic monitoring of connection speeds is to be expected, and any action requires a minimum of X samples (say, X=10). Measurements may be performed by any party and the measurement method must be fully disclosed. If more than 30% of samples are failing to meet advertised Internet speeds by at least 5%, or any one sample is more than 50% below advertised speed, customer is entitled to a one-day refund of Internet fees. If more than 5 total occurrences in a single calendar month are failing, customer is entitled to a 15-day refund of Internet fees.

2. If the Internet becomes unusable for more than 10 minutes at a time in a single month and the outage can be traced to ISP-given equipment, customer is entitled to a one-day refund of Internet fees. If Internet is unusable multiple times, customer is entitled to a 5-day refund.

3. If company has cause to adjust Internet delivery expectations (such as, too many additional customers to serve original speeds on pipe to same area), existing customers are all immediately released from any contracts and may terminate service immediately with no penalties. In additional, ISP is liable for crediting customer monthly bills for the remainder of service, proportional to the difference in service speed with a 10% penalty for violation of original contract by the ISP.

4. Internet is considered a separate service and may not be bundled with anything else.

And it doesn’t even have to say this much to be a huge improvement. The point is that companies have been getting away with lousy services FOR YEARS and appear to be largely unpunished, while meanwhile the number of customers overpaying and not receiving stable and promised service numbers in the millions.

comment 9y ago · link · parent

Many ad-blockers are configurable so you can use blocking on some things only. With “uBlock Origin”, you can right-click and say “Block Element” and then select exactly what annoying piece (or hierarchy of pieces) should be removed on that site. This works pretty well when sites use something generic for their blocking backgrounds like a "#modal_overlay" ID or something. Some sites are more tricky and use IDs and CSS classes that appear to be randomly-generated.

comment 9y ago · link · parent

“One last build” generally isn’t enough because software might have many issues, including:

— Dependencies on other 32-bit libraries that have not changed.

— Dependencies on entire OS frameworks that have not migrated to 64-bit (and Apple has at least one of these).

— Having a “plug-in” feature, whereby cherished plug-ins have not all migrated to 64-bit so the user must then choose a 64-bit subset.

— Any number of problems in the code itself, such as improper assumptions made about the sizes of data structures or creative solutions that only made sense on 32-bit platforms. After a simple recompile, the code may crash in places or consume much more memory. Floating-point values may produce subtly different results, creating issues all over the place.

comment 9y ago · link · parent

Worse, there is a massive chicken-and-egg problem here.

At least with normal jobs, I only have to risk occasionally encountering someone who is difficult or slightly incompetent. While dealing with difficult people is normal, at least right now it isn’t a daily occurrence.

Conversely, I can pretty much guarantee that a huge number of future colleagues would be making my life miserable when in Congress. Some of them apparently cannot be reasoned with at all (“I’m sorry, you have the wrong letter after your name therefore your idea sucks <turning brain off now>”), and a pretty insane number of them just do whatever they want without obeying rules.

It reaches a point where you have to decide where you can do the most good, and there just doesn’t seem to be a way to do much “good” by being in public office. I feel better working on engineering projects that go somewhere.

comment 9y ago · link · parent

For what it's worth, an NVIDIA Shield can do Amazon video, and it is also a Google Cast device.

comment 9y ago · link · parent

It might be neat to apply machine learning to something like incoming messages (whether E-mail or text or otherwise), to automatically determine the real importance of a communication based on how you classify other messages.

After awhile, it should be possible to achieve minimal interruption, based on what you consider worthy of an interruption.

I know that I don’t like simple solutions like marking E-mail as “important”. In my experience, some people will always mark their stuff as “important” and their definition is not my definition.

1
394041
98