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

The commit message is frequently the only comment that ties the set of changes together so it is a good place to describe the change as a whole. This is not always clear when looking at any particular function, for example.

comment 9y ago · link · parent

Except that almost every time, I am composing and viewing the log messages from a terminal. The logical thing for a web page to do is to display logs as “preformatted” text (because they are, same as code).

It would be interesting to have a way to indicate a formatting style when composing a log message though; for instance, a way to indicate that a log contains Markdown code.

comment 9y ago · link · parent

Except that references still can be bad: invalidated later on by an object deletion, no matter how many rules were enforced to assign the reference to begin with. And in an almost-worse sense, "sometimes" references can prevent this and sometimes not. Just not good enough, while syntactically making it harder to tell that references are being used in function calls and such.

comment 9y ago · link · parent

Something can be refined and intentional but still annoying and worse than before. They can use whatever math they want, it doesn’t mean that the design is “good” now.

First, “consistency” makes no sense as a design goal for rounded corners! When there are two nested rounded-corner shapes, you never make both curves exactly the same: the outer curve has to be a little different than the inner curve in order for the shapes to look good together. Therefore, iOS should never use exactly the same curve as the device: it should use something that is slightly smaller.

The modified icon shapes are just not “comfortable” to look at. They also don’t blend well with other shapes that appear in the majority of app icons either, like inner circles and straight lines.

comment 9y ago · link · parent

In order to keep students motivated, they should have opportunities to work at their best pace (i.e. let them work with other “gifted” students on interesting projects from time to time). On the other hand, learning how to interact with everyone is important and that will matter when it comes to functioning in society as an adult. It will also ensure that gifted people remain aware of and interested in all of society’s problems and not just whatever is happening in their silo.

comment 9y ago · link · parent

If you use DuckDuckGo you can include "g!" in a search to Google it instead (except in a way that does not return AMP results).

comment 9y ago · link · parent

At this point the “trust” has been lost with advertisers (if it was ever there to begin with) and any solution to help advertisers will have to include the network equivalent of a house-arrest anklet.

For example, I am not going to start trusting a previously-crappy ad network just because they “promise” to start serving nicer ads now. It would be necessary to enforce a “data cap” on stuff received from that entire ad network, and add other safeguards to ensure that any antics have limited scope at best. That way, if the ad company really has changed and serves small and reasonable stuff, they should have no problem; otherwise, they will.

comment 9y ago · link · parent

It’s kind of sad that companies spend so much time squashing ants. Instead of seeing an opportunity to encourage more excellent film-making, and allowing talented people to keep improving their skills and one day produce even more awesome projects, all they see is a chance to go to court.

comment 9y ago · link · parent

Very creative. Not sure how one could defend against it; perhaps by noticing if there is a significant difference between the byte count of text and its rendered area, or just don't allow selection of offscreen text to begin with?

On the terminal side, perhaps a way to warn about pastes that match certain expressions such as "sudo"?

comment 9y ago · link · parent

I wish I could understand what goes on in the minds of marketers. Actually, wait: I don’t really want to know, I just want them to stop.

Who green-lights stuff like this? Why is it now considered “OK” to just shove stuff in the user’s face, for whatever reason, out of the blue?

I mean heck, I could fork a version of my UNIX shell to spam ads and prompts every other time you enter a command, wouldn’t that be fun? At what point are we just going to ruin all usability in our software on the altar of the Ad Empire?

comment 9y ago · link · parent

The only thing a web site should need to “measure” is how long its visitors stay. I know that the instant I see any pop-up garbage, I immediately leave: I don’t care what the pop-up might say, I don’t care where they might’ve placed a little "X" to dismiss their message, I simply go BACK and I DON’T return.

Do not allow yourself to be bullied. Yes, services have some nonzero value but your time also has tremendous value and you should not undersell it by putting up with stupid crap. Any site that shoves things in your face is being disrespectful, it is wasting your time, and it is costing you, which is not OK. Let those sites die out.

comment 9y ago · link · parent

Seems to be at least twice as slow (just how it “feels”). Nearly-blank pages and loading indicators everywhere. What is it about “modern” web design that does this?

comment 9y ago · link · parent

This type of article amounts to “ad hominem attack”. Whether or not any of this is true does not matter when fairly judging the actions of the same person.

In other words, forget what you know about the person and consider only what they did.

comment 9y ago · link · parent

This is an example of something that is neat on the surface but completely blows up in practice, after even a few moments of consideration.

First, what do you ask for in a query? Will some web sites choose to say “mozilla” and others “moz://a”, thereby splitting search traffic between the references?

Just typing something like “moz://a” (even in a comment post such as this) might cause some sites or scrub-analyzers to assume that the text represents a valid URL of type "moz" and try to make it clickable and resolve to that URL type. Bonus points for the first malware to figure out how to hijack the "moz" URL type.

What is their web site? Not "moz://a" but "https://www.mozilla.org". Can anyone even type "moz://a" or "https://moz://a"? Can’t wait for this to cause problems.

comment 9y ago · link · parent

Software development has some “special” traits that are not necessarily covered by this analysis.

For one thing, you can’t just measure what a developer has done; you need some sense of how easy maintenance is going to be. Given two brilliant solutions that required an extraordinary developer to create, one may be an indecipherable mess and the other may have been built in a way that makes typical maintenance tasks very straightforward. From the outside they may look the same but the cost difference is huge.

Some people are really good at writing solid code, and replacing them may mean introducing headaches that you didn’t have before. Also, a particularly weird bug may cost your team tremendous amounts of time (and possibly more), and you may not have the right people to deal with that quickly.

Also, “cost of hiring” probably isn’t referring to the cost of having a really bad hiring staff. If those people are not doing a good job of filtering résumés or otherwise finding the right people, or if they leave good candidates dying on the vine due to slow response times, there is a big cost. It is extremely important for companies to look good from the outside to attract candidates.

comment 9y ago · link · parent

How can this possibly matter without considering factors like the location and number of hours expected?

comment 9y ago · link · parent

This assumes that people are currently being used to maximum effect. Most products and services are not so perfect that they couldn’t be improved in some obvious way.

The shortage I see is in the number of organizations willing to pay for extra people right now, regardless of job threats. (And by extension, the number of customers willing to pay much more, to ensure that companies can easily afford more workers.)

Imagine what companies could do RIGHT NOW to improve society, if only they were willing:

— Make things faster (e.g. serve lunch in less time; make people wait less for “representatives” on the phone; etc.).

— Make things higher quality (e.g. more testers; more “polish” in products; more customization options).

— Make work suck less (it is hard to imagine overloading people with 80-hour work weeks if the company employs more workers).

1218.

(2015) Where are all the remote tech jobs?(antjanus.com ↗)

4 points · by makecheck · 9y ago · discuss

comment 9y ago · link · parent

Yep. On Apple platforms there is basically just ONE way to do this conveniently and correctly: an enumeration function on NSString that visits composed character sequences individually, as substrings. And, it was only added in OS 10.6, which shows how slow the evolution of correct Unicode processing can be.

And, there is still no completely reliable way to guess the cell/column width of a symbol just by looking at it, especially if your goal is to be consistent with any other interpreter of the string (like a text editor). Still heuristics at best for any case outside common tables like CJK.

comment 9y ago · link · parent

I thought Microsoft or somebody implemented a prototype for secure pop-ups where the windows had animated borders containing personal user information as a marquee? The idea was that this would be extremely difficult to fake (even if it looked a bit weird).

comment 9y ago · link · parent

You can also install a plug-in like ConqueTerm to devote an entire in-vim buffer to something like a shell session.

comment 9y ago · link · parent

I can see the it-adds-up argument but there are also plenty of techniques to deal with that. (Maybe it is an education issue for developers.)

For instance, in a lot of cases, a human cannot reasonably observe a particular type of change on every frame so you can skip frames. What I mean is, suppose you have tasks A, B, C and D to perform “each frame”: you might be able to perform tasks A and B on odd-numbered frames and C and D on even-numbered frames, with the user no wiser, as long as the result seems fine.

Another technique is to prioritize the start and finish but not in-between. Often, intermediate frames are relatively crappy from a “niceness” or even correctness standpoint, and nobody really notices because the frames go by quickly. As long as the end frame looks as nice as possible and everything is in exactly the right place, you can get away with a lot of short-cuts for the steps taken to get there.

comment 9y ago · link · parent

For me the most insulting part is the inversion of priorities in these designs. The top priority of a UI designer SHOULD be to make the user as productive as possible, yet making me wait for something that is by definition not necessary (like an animation) is nonsensical. A related backward trend is this idea of pushing something in front of my face as a modal panel, with complete disregard for the fact that I was working on something and am now (a) distracted, (b) completely unable to continue doing what I chose to do, and (c) will have problems even after the modal goes away, taking extra time to figure out how to refocus on whatever I was originally trying to do before being interrupted.

comment 9y ago · link · parent

I always want to turn it “off” because it’s too distracting, and the only way is to turn the Brightness down to off. It goes like this: BrightnessDown, wait, BrightnessDown, wait, BrightnessDown, wait, BrightnessDown, wait, BrightnessDown, wait, BrightnessDown, wait, BrightnessDown, wait, BrightnessDown, wait, BrightnessDown, wait, BrightnessDown, oh now it’s off. Then 5 minutes later, the airline starts its welcome mostly-advertising video which TURNS THE DAMNED THING BACK ON AT FULL BRIGHTNESS. Then it resumes DirecTV at which point I have to say: BrightnessDown, wait, BrightnessDown, wait, BrightnessDown, wait, BrightnessDown, wait, BrightnessDown, wait, BrightnessDown, wait, BrightnessDown, wait, BrightnessDown, wait, BrightnessDown, wait, BrightnessDown, annnnnnnnd now it’s off.

comment 9y ago · link · parent

Interface performance is one of the strangest problems to have in this age of crazy processing power but it is extremely common.

Some of the delay is just plain silly and avoidable, like having long and synchronous opening animations in response to an action, which only serve to waste the user’s time. (Oh how I love being on a web site like AT&T and watching their JavaScript poorly zoom open a blank box from the center of the page for 2 whole seconds, when I KNOW they could just show me the damned page already.)

In other cases, the source of the slowdown is less clear. Is a physical device just not delivering its signals any sooner?

I’ve played games where you have to walk to a very precise spot, hit a button, and wait literally one whole second before ANY response is visible onscreen or in audio. (And if it turns out you didn’t really take the action you thought you did, you have to walk in circles to try a slightly different spot, and wait again). Why should that ever be the case? How can a super-fast console not immediately display something or play some sound to show that you took the action?

comment 9y ago · link · parent

Also, once you start creating Swift code, the resulting bundle grows considerably (presumably due to lack of standard ABI so far); in my experience it was about 10 MB of additional libraries.

comment 9y ago · link · parent

In a few apps on the Mac I have made good use of the Keyboard Shortcuts part of System Preferences to prevent this.

If destructive behavior is a bit too "easy" in an app, I remap the command to something complex. I think my Quit in Firefox for instance is now command-shift-control-Q or something.

comment 9y ago · link · parent

It’s tricky. On the one hand, if you could RELY on sane definitions of “breaking changes”, it can be quite simple to set up flows that evolve quickly and safely based on little more than the versions of dependencies. On the other hand, by nature software has too many combinations to test completely so you can never be sure that a change is going to be non-breaking for YOU; and ultimately you are responsible for anything that does break.

I find the right thing to do is to set up a completely parallel “beta flow” that mirrors production almost exactly, allowing you to freely dump in new changes and see what happens. Have a way to swap working beta-flow changes into production, and a way to swap it back. Then you can do anything you want in beta.

comment 9y ago · link · parent

I look at stuff like this the same as Facebook: sure maybe there are “settings” but those can change any time (assuming you bother to keep looking) and there can be bugs. In other words, who knows if it really operates the way you want.

Better options for privacy: demand it for yourself, by setting up local host files that block domains, etc. and preferring to use software that can be audited easily.

comment 9y ago · link · parent

Honestly, to avoid data consumption, I think you are perfectly justified in installing multiple ad-blockers on your phone and even setting up router-level domain blocking.
1
404142
98