Better HN
topnewbestaskshowjobs
Log inSign up

makecheck

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

Submissions

comment 11y ago · link · parent

Toronto, not Edmonton.

comment 11y ago · link · parent

Well to take the very first example from the article, adding "override" keywords: that improves your chances of avoiding bugs during normal maintenance. Have you never seen a base class that had more than a few derived classes, some of which may be in places you didn't even know about? Now imagine tweaking a base class method's signature slightly, and missing one of those derived classes somewhere, which had been trying to keep its copy of the signature in sync. Before it was overriding, now it is just a new method; there's a bug that "modernization" would have caught for you.

comment 11y ago · link · parent

The Mac OS X Help menu has this type of search, provided that all application commands are in menus.

1774.

IBM is right, I am a gadfly(cringely.com ↗)

12 points · by makecheck · 11y ago · discuss

comment 11y ago · link · parent

This is nice for a single situation but there is a way to solve the general problem of "make files go where I want": use Folder Actions.

Basically, you tell the Finder that whenever files show up in Folder A, it should run a script to process them (e.g. to move all of them to Folder B):

1. Use Automator to create a Folder Action with a "Move Finder Items" phase that puts items in the target folder that you want. Actions of this type also have a source folder setting.

2. Save the workflow as a Folder Action.

3. In the Finder, you can then right-click your source folder (including the Desktop, if you start from your Home folder) and under Services choose "Folder Actions Setup". The Folder Action that you saved from Automator will now be available in the list.

Now, whenever anything shows up in the source folder, the script will run to see what to do.

comment 11y ago · link · parent

I agree with Linus from a technical point of view but I think Apple had many considerations here.

A number of games (and possibly other programs) on the App Store alone specifically mention that they will not work on Macs configured with case-sensitive file systems. My guess is that this aids programmers who may have ported something from Windows and not tested all possible file/path dependencies.

This may also help users when copying files from Windows network disks or Mac legacy systems where (from their point of view) they expect things to work.

comment 11y ago · link · parent

I wish that something like "organizing tabs" wasn't considered a browser feature. I've always considered this a big misstep in UI; the OSes themselves should allow all windows to be tabbed, regardless of the application, and "manage" them globally. This would not only be more convenient for users but it would save each application team from having to add their own tab code (and their own Exposé copycat and so on).

comment 11y ago · link · parent

I would start small; for instance, can you get every API to use the same foundation types (similar to Core Foundation on Mac OS X)? These kinds of changes would help programmers a lot and pave the way for more complex standards.

comment 11y ago · link · parent

Though not updated for C++11, a place to start would be the C++ FQA [1].

[1] http://yosefk.com/c++fqa/defective.html

comment 12y ago · link · parent

The first time I saw this garbage, I reset my DNS to 8.8.8.8 (Google's). That way the error makes it to the browser and I can correct my typo.

comment 12y ago · link · parent

Doesn't "change the locks" work in a situation like this?

comment 12y ago · link · parent

Companies announcing "X" layoffs typically don't need to lay off "X" people, they actually need to lay off "X + N" people; they are counting on attrition following such an announcement to quietly make up the difference. That makes the press (slightly) better, and the people who quit because they sense a sinking ship, etc. won't cost the company in severance packages either.

comment 12y ago · link · parent

In MacTerm, command+option+click will move the terminal cursor in the same way by simulating keys. It also moves “up” or “down”, for applications such as text editors that understand vertical arrows. There is even a preference setting that attempts to move the cursor automatically to wherever you drag and drop text with the mouse.

(Note: I wrote MacTerm.)

comment 12y ago · link · parent

Although this is a significant problem, it’s probably better to use the bottom-of-page links:

- “Bugs” (in this case, already seems to be known and talked about; see [1]).

- “Feature Requests” for anything that isn’t a bug.

[1] https://github.com/HackerNews/HN/issues/11

comment 12y ago · link · parent

Exactly. It’s at the point where we practically need a required class in high school to teach people how to interact constructively with the maintainers of software. A particularly good class would be the one teaching people that hardware and software configurations are incredibly complex, varying so much that even the best software will eventually fail to anticipate some issue. There are problems that simply cannot be found until a user talks to a developer!

People who are angry enough to torpedo a project might not realize just how easy some software fixes can be, if the developer is told more about the problem. When users E-mail me about a problem, often I can fix it within hours (or even minutes!) once I know what to look for. A return address is also important because sometimes I have to ask follow-up questions; besides, when I’m done I always want to send a link to the fixed version.

I’ve done open-source for a long time. In the beginning I was outright shocked at how some people behaved, much like this article states: even though I had not received a single E-mail (to my clearly-published address at the time), I would dig up scathing reviews of my stuff on web sites back in the day. I used to be mad, and sometimes I wondered why I bothered to work on anything (much less give it away for free). Eventually though I decided that I needed to take all input — even the “angry anonymous coward” kind — and use it as fuel to improve whatever I could.

comment 12y ago · link · parent

If there are people in the organization who are still tasked with organizing people then they are bosses (or at least, they will eventually act like bosses again).

It is possible to remove the management role, at least at a project level, by using technology. For instance, the first time I saw Trac our team effectively did this.

To be practical however, a technology solution really does require the right group of people. You can’t have people who are uncomfortable logging into web sites, or too lazy to write good descriptions for things, and so forth. You need people who are (frankly) professionals, who look at something like a giant task list and do a fair job of distributing things sensibly amongst themselves. A solution like Trac really starts to shine when people learn the little niceties, like additional formatting in wiki entries or the magic sequences that set up links between things. Again though: you need a team that is willing to work with such a tool in the “right way”. If they do then you don’t really need a manager at all.

comment 12y ago · link · parent

I was a bit on the fence about iOS versions before because I still have a first-generation iPad (iOS 5.1 maximum) and I wanted to make games for it. I have a new iPhone 5S as well.

I originally wrote game code with OpenGL ES, and then tried very hard to make the same code work on a Mac with regular OpenGL. It took more time than it should have to see results and it wasn’t that fun. About all I can say is that I learned a lot and OpenGL clearly runs efficiently.

After seeing Sprite Kit (Mac OS X Mavericks and iOS 7 only) and working with it, I am now completely devoted to these latest OSes. That framework has solved virtually all of my Mac/iOS parity issues, while allowing code to be almost identical in ways that really impressed me. Sprite Kit requires far less effort and it produces far greater results. About the only downside I see is that there would be no hope of porting my code to something like an Android phone (and I don’t happen to care about that).

It doesn’t hurt that Mavericks is free so about the only device left out in the cold is my old iPad. I decided that I was probably holding myself back by trying to support it anyway; the device is quite slow compared to almost any other iPad. I will likely just buy a new iPad.

comment 13y ago · link · parent

Actually, my feature request is "don't show that incredibly aggravating page at all" or "increase by 60 minutes the time it takes for things to expire".

I see no particularly good reason for the site to give up on me just because I took awhile to read articles before clicking "More" at the bottom of a page. From my perspective the page was still open in a browser window so it should have remained functional.

comment 13y ago · link · parent

An odd thing about iOS 7 is that Apple apparently doesn't auto-upgrade the appearance of any app that is unaware of iOS 7: old apps on iOS 7 still look like they are running on iOS 6, right down to the appearance and layout of the keyboard.

This means that there is a ".com" button in Atomic Web (an app on my iOS 7 phone that hasn't been upgraded for iOS 7), and of course its whole UI still has 3D like iOS 6. If I open Safari, I see the new keyboard appearance, everything is flat and there is no ".com" button.

comment 13y ago · link · parent

Cocoa has actually evolved significantly. There was a long period on the Mac where the (now legacy) Carbon and Cocoa APIs didn't overlap too well. In fact, both APIs had things that the other API couldn't even do, and both APIs had strengths in completely different areas. I think by about the time 10.3 Panther was released Cocoa had filled in a lot of the gaps, and Apple eventually decided to not port Carbon to 64-bit at all. Carbon remains functional but it's almost completely deprecated.

As great as versions like Mac OS X 10.3 were, later versions of the Cocoa API are noticeably better. In fact, it's now hard to support anything earlier than 10.6 because of improvements to libraries (e.g. more native UI views available, more features per class), improvements to the compiler and other developer tools (e.g. ARC), and changes to the language (e.g. blocks).

As of Mac OS X 10.8, the Cocoa frameworks are decently in line with iOS, far beyond the simple stuff like NSArray; for example, AVFoundation.framework and GLKTextureLoader now exist on both platforms which is useful for consistent game development.

Cocoa is also more customizable than you might think. While technically Cocoa won't allow certain view or window properties to change, an illusion of a change can be just as effective and is straightforward (not to mention being more stable for the OS in the long run). For instance: maybe you create a mostly-transparent borderless window at a specific location with a certain Z-order, in which you draw what looks like a window frame modification; this is often exactly what is required even though the window underneath didn't actually change at all.

I have my own share of frustrations with Cocoa in spite of what I've said. Cocoa is not perfect and I do think they still have some work to do in terms of improving sync with iOS and making it a lot more powerful. A pet peeve of mine is that APIs often lag far behind new OS features (e.g. new UI paradigms...it seemed to take forever for Spaces to be properly handled in the API).

comment 14y ago · link · parent

It's always been that way. Remember the Windows 95 and Windows NT startup screens? Take this for instance:

http://www.guidebookgallery.org/screenshots/winnt40

In particular: http://www.guidebookgallery.org/pics/gui/startupshutdown/spl...

It wasn't uncommon for Microsoft to have their name mentioned 4 or 5 times on a single screen, alongside copyright symbols, trademarks, and other crap.

comment 14y ago · link · parent

Upgrading a bundled application does not fragment the platform. In Android you see things like totally different device sizes, new APIs that some phones can handle and not others, etc.

comment 14y ago · link · parent

It's good to see an article that focuses on more than the usual changes people obsess about in Windows 8.

These "not bad" changes in Windows 8 also underscore a recurring problem with software: people are forced to choose between "take the good and the bad" or "nothing", they can't just take the "good". Software updates are too big and bundled when the reality is that a lot of components could sensibly be upgraded by themselves.

Changes in Task Manager for instance could have been folded into any version of Windows to date, and if a few programmers had access to the right source code I'm sure they could have added this at least to XP. Yet they can't, and Microsoft won't, and users of any version other than 8 are kept from a perfectly sensible improvement.

Rather than charging $200 for an "upgrade", sometimes I think it would make a lot more sense if you could pay Microsoft $10 for the "new system utilities package" (which would update your Windows XP Task Manager alone, and whatever else falls into that category). In other words, don't restrict access to the truly useful upgrades just because no one wants Metro.

comment 14y ago · link · parent

I don't think you read the same article I did. He mentioned several things that appear to be major bugs, apps that are missing so many key features that they're practically downgrades (like Mail), and things that were removed for no apparent reason (like a clock).

If all of that is just "different", perhaps you're right: Windows 8 has a different bug count than Windows 7, a different number of frustrated users, a different standard for what makes sensible software and ultimately a different idea about what's worth that kind of money.

comment 14y ago · link · parent

That's actually how Stack Overflow feels at times.

comment 14y ago · link · parent

This is absolutely what happens. I've been fortunate in my own management over the years but I have witnessed atrocious management "nearby" and talked to friends at other companies in similar situations. One or two quit entirely because of their direct managers. Layoffs happen, incredibly talented people are pushed out the door for some stupid reason or another, and yet the most poisonous of managers somehow keep their jobs at most companies it seems.

comment 14y ago · link · parent

What does it even mean to "have" a feature? Suppose a particular browser implements a feature poorly, or with certain known bugs; you may still need to be able to work around actual behavior.

comment 14y ago · link · parent

Wouldn't it be simpler to require that any company suing over patents must also be an active practitioner in the field(s) that the patents involve?

That would kill the asset-free trolls instantly because without an engineering staff and a product they can't very well be building anything that uses their "property", can they?

comment 14y ago · link · parent

The cleaner look isn't bad but it is impossible to resize the text, even when attempting manual zooming. This is certainly not the first site to be conceited about text size but come on: this is a site for reading things and who knows better than the user what font size will be comfortable for doing that? Also, I recall something in their blog about designing "for 2012" and focusing on "the user", so where exactly does screwed-up layout fit in to those goals?

comment 14y ago · link · parent

I tried going to outlook.com and it immediately kicked me out with a "cookies required" page. How is it sensible for any web site, anywhere, to make this the visitor's first impression? Even if a site does need cookies somewhere, I think it's ridiculous to design something that requires a cookie all the time.
1
596061
98