Follow Slashdot blog updates by subscribing to our blog RSS feed


Forgot your password?
DEAL: For $25 - Add A Second Phone Number To Your Smartphone for life! Use promo code SLASHDOT25. Also, Slashdot's Facebook page has a chat bot now. Message it for stories and more. Check out the new SourceForge HTML5 Internet speed test! ×

Comment Re: Only viable if all planes land themselves (Score 1) 340

There is that period of time, usually for around 3 seconds or more, when a plane hovers just a few feet above the runway before finally making contact. During that time, if you are not already turning to match the runway curvature, you would have to improbably make wheel contact at the exact tangent point, all the while clearing the lip of the banked runway. There is no way in my view of having a safe landing without first matching the curvature before touching down.

Comment Re:Next year (Score 1) 123

From what I see in the documentation, the "guard let" combination is sort of the opposite of "if let". Normally you would have something like this which would both assign destinationViewController to a new constant and would check to see if the result of controller is nil:

if let controller = segue.destinationViewController { // do something with controller

with guard you can do the opposite:

guard let controller = segue.destinationViewController else { // handle a controller that contains nil
      return nil

You can also use it to check a complete expression for errors. The following will check if someController is nil OR someController.bunchOfItems is nil OR someController.bunchOfItems.count == 0

guard someController.bunchOfItems.count > 0 else {
        throw MyError.OutOfStock

The guard statement is used for error management, and must transfer control using return, throw, break, or continue from within the block

Comment Re: .txt (Score 2) 200

Perhaps fine for Roman characters, not so fine if the document contains Kanji, Hiragana, Katakana, Hebrew, or any of the other character sets that don't play nice with "plain text" formats. For something that you would think would be pretty straight forward, plain text character handling is surprisingly maddening to work with.

Comment Re:I consider that a pretty good analogy... (Score 1) 248

One challenge younger students have is that they have no idea what it's like to work as a professional. So they tend to be somewhat unfocused in their studies. They take classes because they are convenient to their schedule of sleeping in, or whatever, and don't focus on the classes that will get them the skills and knowledge they really need. Internships can help, but I consistently see that students coming to school after working tend to be much more focused and driven - and tend to perform better.

I went through my university's co-op program, which was the best thing I ever did in my university experience. I highly recommend trying out a job in your field of interest before graduating, it's a great tool to focus the rest of your schooling.

Comment Re:Hand code or no code. (Score 2) 342

Ick, I stayed far, far away from that tool. I've worked with the markup that it's generated and it wasn't pretty. Then again, I've also worked with markup hand coded from people who weren't familiar with HTML/CSS best practices (even very recently), and it was equally painful to get the page to a level where I wouldn't cringe looking at the markup. Ultimately, whatever tool you use, it's no replacement for experience.

Comment Re:Hand code or no code. (Score 3, Insightful) 342

That's not been my experience with Dreamweaver for a long time, and I've been using it since version 3 in 1999. Back then it was one of the cleanest HTML editors out there and since then I think they've done a decent job of keeping it clean and keeping it from messing up markup you've added by hand. The issue that I see with how cruft is created in an HTML editor is from lack of familiarity with the raw HTML and CSS. For instance, if you just go ahead and start setting display properties on an element, it's going to put it inline or in a style embedded on that page. You have to at least know to set up an external stylesheet and how to link those styles to elements on that page to prevent that kind of cruft from forming. Also it makes a big difference to work in Dreamweaver's split code/design view, so that changes in one panel immediately show in the other. I've been coding by hand for a long time, but I still like having this view as it gives me confirmation that the page is structured the way I intended.

Comment Proxy and case (Score 2) 260

A couple of options. One, you could probably bundle the files up into an app like one created using PhoneGap, which would make everything local. Two, you could set the proxy setting to point to a server that you control, that will direct you only to an internal web server that you control. Regardless of how you do it, you will need to physically block the power and home buttons, and for non-iPad tablets, any other button that might take you home like the back button with something like a lockable case. Seems silly to block the internet, though, considering how many people in that waiting room are going to be browsing with their iPhones anyways.

Comment Re:Canon or Nikon (Score 1) 569

This is a simplification that is not always true. What you want is a sensor size that is properly matched to the lens. In SLRs, cheaper bodies have sensors that are smaller than the total image projected onto the focal plane, so that light through the lens is wasted. If the sensor size is properly matched to the lens, you will get the best quality.

Or you could say that with the sensor smaller than the projected image you get the benefit of some extra optical zoom. You're not going to see significant degradation just because some of the light coming in is not used, there are plenty of photons coming in to get a nice sharp image from a 1:1.6 sensor. Such a sensor is still large enough that it doesn't suffer from the signal to noise issues in the very small and very high density sensors that are in many point and shoot cameras, so you are probably going to get a less noisy image in a partial frame sensor in a DSLR than you might get in a 15MP point and shoot.

Comment Re:Java still there (Score 2) 309

Flash/Flex can handle complex applications just fine. Here are some examples of applications done with Flex:

In there is a timeline-based video editor, a calendaring/email/finance app, a task manager, and a photo editor. I've also seen a PowerPoint type presentation app, a Visio-type tool for creating object relationship charts, plus I've used it myself for creating a medical reporting application for diagnostic sensor data analysis. Flex can hold it's own very nicely against Java's capabilities, and I think it's easier to develop for and has a better experience installing and running on the client.

That said, we are currently trending away from using plugins at all, due to the mobile platform. More and more will be done with HTML/JavaScript/CSS, leaving plugin-based tools as more niche products for Web development. Flex however now compiles mobile applications, so I think we will see more life in that space.

Comment Re:Java still there (Score 1) 309

"Java is a much nicer development system than say Flash."

That's a pretty subjective statement. I would take doing development in Flash-based Flex development over Java any day. Flash Builder is a very nice development environment, and I would say that laying out a screen using Flex is a heck of a lot easier than using Spring layouts.

Comment Re:Wow (Score 1) 397

Those giant TVs had been working very well, and were a big part of the success of the Olympics as well in that it contributed in a big way to the atmosphere of celebration, but in a safe way. No alcohol was allowed in, beer and wine stores were closed down, and it was designed as a family friendly atmosphere. The same rules were in place for every game shown during these playoffs. The night of the riot, I saw a clip at the end of the game of a whole bunch of beer bottles being thrown towards one of the TVs. Evidently the checking for alcohol got lax, and that became part of the flashpoint.

Comment Re:Angry? (Score 2, Informative) 569

"A "Brand" is something that requires a large scale organization to be effective."

Nonsense. A business with one single person still has a brand. Even if you have no logo, your name, your reputation, how you present yourself to customers, how you communicate, all form part of your brand identity. A brand does not equal a logo, the logo is simply a symbol that helps communicate elements of your brand identity. Many individual business people use Facebook, twitter, and blogging as a way to market themselves and contribute to that identity, sometimes very effectively.

Slashdot Top Deals

Work is the crab grass in the lawn of life. -- Schulz