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

(2009)

Also:

https://news.ycombinator.com/item?id=9491313

https://news.ycombinator.com/item?id=876911

comment 9y ago · link · parent

No, content isn't that important. When a web site thoroughly trashes its reading experience after I move just a few sentences, I immediately convince myself that "I didn't really care that much about this anyway" and leave. It's the only way to maintain sanity anymore because actually continuing to scroll through some of these sites is ridiculous.

comment 9y ago · link · parent

It seems like Reddit would be a good candidate for experimenting with tiny fees: namely, $12 per year just to use it. That’s one (moderately priced) lunch in total, a dollar a month, for a site that provides a huge amount of content and discussion or just distraction. Far less than one crappy movie in a theater, too. And if everyone paid this, they’d have tons of cash.

comment 9y ago · link · parent

Most people receive infinite return because they invest nothing.

A more meaningful measure is how quickly you can resolve a problem with open-source for X amount of investment, versus other options. With that, if a package doesn't do what you want then investing nothing appropriately yields NO return; whereas, investing certain amounts of time (asking questions, filing bugs, etc.) may yield more return, and fixing it yourself may yield the most.

comment 9y ago · link · parent

It's not realistic to expect this. If everything could be simplified to this degree, you would never need experts.

It is also dangerous to assume this, because that is exactly how we reached the "my uninformed opinion is as valid as your years of experience" aspect of the current political climate. NO, things are NOT as simple as you think they are just because you saw it in the space of a tweet!

On the other hand, it is important to recognize expertise over bullshit. The easiest defense is having several experts, since at a certain point they would need to do an awful lot of collusion to just make things up between them (i.e. if enough of them agree then what they say is apparently correct).

comment 9y ago · link · parent

To me, one of the biggest problems with weird file formats is that every single problem has to be solved again, just for that. Not only that but once a solution has been created, it is probably the only option (instead of one of a dozen) because it is so much harder to do the combination of both $DESIRED_FEATURE and $PARSE_FILE, not to mention $DEBUG_QUIRKS.

comment 9y ago · link · parent

Be sure to structure your Google searches as "g!" searches to DuckDuckGo and AMP effectively disappears with the same set of search results.

comment 9y ago · link · parent

I want more companies to try something: take a random guy from your existing non-management workers, pay him a nice but not exorbitant wage ($100k?), and make him CEO. Then see if he can really do any more damage, or make any poorer decision, than one of these hot-shot CEOs. Seriously, what do they have to lose? Some CEOs seem to screw up everything imaginable and leave in 6 months; isn't 6 months of $100k (i.e. $50k) worth the experiment instead?

comment 9y ago · link · parent

Boilerplate can be common and still be tedious.

Those examples are just clear indications that languages sometimes have really terrible default behaviors. Namely, Perl should have been strict by default (with a "no strict" if this didn’t perform well enough), and C++ should have at least added #import.

comment 9y ago · link · parent

While I am generally a fan of open-source anyway, few things scream the need for good open-source solutions more than chat programs. I can’t even count on one hand the number of promising clients that have been utterly destroyed by companies over the years.

Enough already. One of the huge values of open code, in addition to being able to contribute and fix bugs, is that you can go back 6 months and fork from the point before $STUPID_FEATURE was added that broke everything. For Skype in particular, they have systematically destroyed this product on multiple platforms in many ways over a period of years.

comment 9y ago · link · parent

We're still talking about an environment that can execute practically any code. I'm sure the next thing advertisers will do is download 100 static images and animate them with scripts.

comment 9y ago · link · parent

Legislators sure seem to assume that legislation can fix anything but it’s a dangerously ignorant attitude to have about technology. There is no single governing body, no single country and usually not even a single access point for Internet data. Even if a country seems to create what sounds like a decent law for that country, there is no way to apply that law to everybody. It’s also particularly ironic when a restriction is proposed for dealing with people that are probably already untouchable anyway.

Also, “the Internet” is not just what you can see on a web page, and screwing with traffic invariably damages everything else. (Ever see HTML returned in places where it wasn’t supposed to be there? Thanks, ISPs.) If your law can’t even reach the people it’s supposed to reach and your implementation is shoddy on top of it all, you’ve just caused a problem that you didn’t have before due to paranoia.

We should probably think of the Internet like the ocean: it connects everybody, maybe there are areas we can control for added safety, and in the end we all know in International Waters there are some shady things going on that we can’t do anything about. That’s life.

comment 9y ago · link · parent

None of these are unique to C++ so I recommend simplifying the title. Even compile time recommendations apply to many languages.

Also, it is strange for maintainability to be #4 when correctness is #1 because it is equally important for code to remain correct over time. There is nothing more frustrating than reopening issues over and over because people keep accidentally breaking things in unmaintainable code.

comment 9y ago · link · parent

That technical people are not easily swapped like workers in some other industries.

That technical industries move faster than perhaps any other industry, and in the time you're taking to ponder a single decision your competitors may have built an entire product.

comment 9y ago · link · parent

And he is a publisher of content too, with ads, and you didn't notice what he does differently? All text, simple links, and usually a nice blurb describing the company/product. I have read 2000% more of those than I have ever cared about any pushy, animated, noisy ad on any other site. His system works, without being obnoxious.

comment 9y ago · link · parent

I've seen a friend's profile duplicated pretty completely and convincingly on Facebook, including pictures. The only real clue for the fake was that the person was already in my friends list and he could verify that it wasn't real.

Facebook theft is just one example, we have real identity theft that screws people in other ways. We don't need secret vetting processes where lazy employees click through profiles to auto-deny people. We need something much more disciplined.

comment 9y ago · link · parent

It's not entirely clear to me how even Chrome can enforce this, though any reduction in crappy behavior is probably a net win.

Frankly I want a cap on downloads of random junk for any reason, ads or otherwise. Chrome should set strict limits on sizes of scripts, number of domains, amount of data, etc. and require user opt-in only where it makes sense (e.g. "I need to watch a video").

comment 9y ago · link · parent

The interesting thing to me is how online numbers are nowhere near statistically significant and yet they "matter" to people. There are billions of people, thousands just in your neighborhood (probably) and yet most people interact with a few dozen network links and the few dozen comment posts they are likely to read. That skew is gigantic, and it should terrify people that they are not relying on more professionally-edited sources.

comment 9y ago · link · parent

Measurements can be combined with things that are already irreducible. For example, in baking, a recipe using “one egg” and “2 cups flour” has to keep the “one egg” if it’s going to convert to metric; and given conversion tables that favor nice round numbers over exact amounts, this means the proportions will change ever so slightly. It definitely doesn’t matter in every case but it’s these kinds of issues that would prevent people from wanting to spend time just converting everything.

I am a little surprised that the U.S. hasn’t adopted more “low hanging fruit” though. For instance, street signs could clearly display kilometer distances and km/h speed limits, especially if the “km” was included on the sign (as it was in Canada during a transition phase).

comment 9y ago · link · parent

The entire source of improved loading time was font-related, and they never even asked themselves why they were using custom fonts in the first place? Even after quoting the fact that customers will leave a site that loads too slowly, their solution was not to remove the fonts but to add even more bytes to the downloaded HTML?

comment 9y ago · link · parent

For me it’s the bugs in Microsoft Office that make me want to avoid it at all costs.

Microsoft Office isn’t some side project tossed together last weekend, it is a decades-old product from a company with billions of dollars and thousands of engineers. Therefore, it should be able to create new items in a bulleted list without completely destroying indentation, it should be able to handle pasted text without utterly confusing the style of everything else, and it should not completely fail to save customization of the Ribbon (to name just a few things still true in 2017).

If a product costing hundreds of dollars is going to misbehave like someone’s open-source side project, then I would rather invest in the open-source side project (at least that might get fixed).

comment 9y ago · link · parent

It would clearly help for the system we have now but the real solution is to push for stricter authentication across the board. As convenient as URL strings can be, we need E-mail clients and other tools to be able to force at least a 2nd layer of authentication (e.g. E-mail claims link is from domain #1; user must counter by selecting from a list of sites actually visited previously, and E-mail client refuses to open link if they don’t match). You could imagine much more elaborate solutions too based on certificates, etc.

comment 9y ago · link · parent

String-matching is really scary in Unicode, especially since the exact form of the string matters with respect to composition — and that’s before you even consider that some characters just plain look like others or even are the same glyph. And strings can contain things like zero-width spaces that look like nothing at all.

Sure, there are recommended practices but there have been enough mistakes already (or lazy programmers) that it is hard to be confident that any string with “interesting” symbols in it is exactly what it appears to be. And there have been security problems related to the fact that many interfaces expect the user to know exactly what they’re reading, much less the programmer.

comment 9y ago · link · parent

In computer security, every time machines become fast enough to breach the limits of an algorithm we invent something new so that “hard” problems remain “hard” and therefore encryption is still secure.

There has been no corresponding increase in the difficulty of invading privacy. 30 years ago, even though you probably “could” observe somebody for a long time and eventually connect some dots about them, it would not really have been worth your while (and you certainly wouldn’t have been able to do it for thousands or millions of people). Now, it is ridiculously easy for computers to dredge up information and instantly transmit it, slog through it and basically connect every imaginable dot. There needs to be a new standard for privacy: just like you want a 2048-bit key, you want the equivalent of a “make life a pain in the ass for Facebook” key on EVERY DETAIL of your life.

comment 9y ago · link · parent

The entire concept of a “bank fee” is insane. “Interest” is supposed to mean that the bank pays YOU a not-insignificant amount in exchange for using your money (otherwise, you could put your money anywhere, and not use their services!). Yet you need to keep thousands of dollars hung up, out of reach, to amass more than a few pennies of “interest”. Meanwhile, a single ATM will cost more than you probably gain from a YEAR of interest income, and the slightest error will result in a fee that burns a couple of days of lunch money.

Then the bank has the audacity to drag its damned feet to let you transfer money between banks, usually taking several days (even though debits go through so fast you weren’t even sure you’d clicked the BUTTON yet).

And this is all before we even consider that banks are probably selling your information, and they have been caught intentionally rearranging transactions to maximize fee collection, etc.

This doesn’t mean that banks are completely useless (bill payments are quite convenient, etc.) but let’s not pretend they don’t need several laws put in place to turn them back into good citizens.

comment 9y ago · link · parent

Part of the problem is that “good manners” only seem to be considered in one direction. It is time to redefine “rude” to include people that do not know how to communicate their needs very well and/or are just super-entitled.

Why am I the one considered “impolite” by not dropping everything and helping you immediately, if you haven’t bothered to do things like:

- Indicate everything you have tried already (or worse, you haven’t done any basic research yourself)?

- Consider the possibility that I can’t respond instantaneously because my Inbox has dozens of other items already? Or that I didn’t answer my phone or your text because I was actually busy, or in a bathroom, or due to some other totally reasonable explanation?

- Consider that you are basically asking for free help, when there are people who pay for my time?

- Show even the slightest interest in helping others yourself?

comment 9y ago · link · parent

Frankly, “settings” in an OS don’t fill me with any more confidence than “settings” on Facebook: software has bugs, and other reasons for not working as advertised. A toggle switch coded with the best of intentions may still not be consulted everywhere that it should, and even software that is correct today can be wrong in 3 months when somebody important quits or a feature is added and nobody thought to check the setting for that new feature.

If this is important to you, demand more open and peer-reviewed source code, and demand that things run behind carefully-controlled walls like sandboxes and limited host files. Don’t just run your organization by trusting one software vendor.

comment 9y ago · link · parent

I prefix every file/directory in a workspace with a different letter, if possible, because this makes autocomplete as fast as possible (i.e. usually produces exactly what I want).

I try to make every temporary file start with "tmp-" so I can quickly do things like "rm tmp-*" instead of staring at a directory full of files figuring out what I can clean up.

If I include a date stamp, I use the standard YYYY-MM-DD form because this sorts perfectly by default. I don’t really understand people using things like "Mon-Apr5-..." because for me that makes it really hard to find files at a glance.

It helps to observe how sorting is done in commands like "ls" because sometimes filenames can create other natural groupings. For example, I like to prefix all my documentation files with "_" so they show up together at the top.

comment 9y ago · link · parent

They both work.

comment 9y ago · link · parent

A way to disable it while seeing Google results is to start from DuckDuckGo but add "g!". This goes through a different Google interface that always returns normal links.
1
353637
98