skysight-inc/HackerNews huggingface dataset:
Use 2+ monitors and 2+ desktops ('Spaces' or whatever they're called). When you're expecting to go from app A to app B, instead you're taken to app C. Or, you're taken to an unexpected window of App B on a different desktop.

Also, the Z-ordering of windows seems really odd. If you have multiple windows open from two apps, and you ⌘+` between them, sometimes all of App A windows are brought to the front and App B windows are hidden. Other times only one App A window is brought up. Meanwhile, if you have App C chilling on a different monitor, it may or may not disappear at random.

Even if it worked as intended, it would be flawed when compared with Alt+Tab on windows.
Please note that this is from 2011.
Alternative viewpoint based purely on your three lines (I can't seem to get to the reference manual...) - all of those seem like pretty good design decisions. To me, "var" sounds like it makes something that is variable and "let" sounds like it is creating an equivalence. The "\(foo)" syntax actually looks really clean to me, though I can't recall having seen anyone use it for that before.
I don't really get the point of this post. OP was an experimental engineer at a huge company, it's perfectly reasonable that he could have worked on whole entire projects that never saw the light of day and that he isn't allowed to show the world because he is not the owner, Apple is because they employed him. He signed a contract agreeing to these things when he chose to work there, I'm not sure what else he expected...
Identify your X, Y and Z Factors with Jay Kubassek
Swift has a built in option type

“if let actualNumber = possibleNumber.toInt() {

println("\(possibleNumber) value: \ (actualNumber)")

} else {

println("\(possibleNumber) could not be converted to an integer")

}”

Nice to see the Apple's language developers embracing functional programming by providing a clean implementation of the Maybe Monad as well as support for closures.
Anyone else notice the similarities in their logos as well?
This link works now
https://developer.apple.com/library/prerelease/ios/reference... (tour, language guide, reference links, etc. at the bottom of the page)
I think the focus should be on making things. Eventually in making things you'll want to learn a new skill because it's important for what you're making. For instance, maybe that new website needs a logo and so you learn Gimp/Photoshop, or maybe that audio plugin for ProTools requires you to learn C++, so you learn that.
no words about WebGL on iOS 8 :/

(it will be on OSX.X)
Welcome to Swift
I sense a better blogpost from someone in the community who can show better anecdotal results on how learning design improves code.

I will upvote that post.
Apple people like to mock Aero's translucency, but I... always liked it. Anyone else? Anyone?
Good ideas tend to get adapted to many places. I also like how things started adapting the flatter minimalist UI. I have loved the way that looked forever, but only recently has it really taken off.

Knowing apple though they will probably later on say that they created all of these things. Or at least apple fans will claim that apple created all these things.
This post is pure noise. With the chosen title the point seems to be "Look how evil Apple is!" as though they are the only ones with NDAs? Ridiculous.

EDIT:

To the people down voting me, the submission's title was simply "Apple", and the context of Brett having evangelized interfaces similar to what's being offered with Swift in Xcode was missing. So this looked like pure Apple bashing.

But even with this context, this is a weak submission. Interfaces like that have been present for many years in JavaScript consoles attached to a browser window.
> Looking for the Swift parallel scripting language? Please visit http://swift-lang.org

Apple knew there was Swift-Lang, and still called this Swift. At least they link to it from their website!
I as an Apple developer salute Swift. Yet more reasons to get jobs! Also anything that makes programming swifter is a plus.
The language itself isn't radically different from most mainstream Algol style languages. That's good because it makes it pretty easy to pick up. In addition to what you mention on variables vs constants, the only feature which is nice seems to switch-cases.

a. No fall through. This is a plus in avoiding bugs. This is minus if you really know what you are doing and want fall throughs
b. Pattern Matching in case statements. This is bit interesting and should take care of the previous case.

Other than that my first impression is it's a mishmash of various programming languages. Everything else that they demo'ed seem to be features of XCode (rewinds, variable lifetype analysis etc..) rather than the language itself.
Brett Victor is known for advocating the kind of programming tools that Apple just unveiled in their WWDC keynote. (http://worrydream.com/LearnableProgramming/, http://worrydream.com/LadderOfAbstraction/)

The implication is that this may be some of the work he did there.
> No part of this publication may be reproduced, stored in a retrieval
> system, or transmitted, in any form or by any means, mechanical,
> electronic, photocopying, recording, or otherwise, without prior
> written permission of Apple Inc., with the following exceptions: Any
> person is hereby authorized to store documentation on a single
> computer or device for personal use only and to print copies
> of documentation for personal use provided that the documentation
> contains Apple’s copyright notice.
Wow, that's one heck of an anti-American diatribe! Maybe SV is like that (I can't say), but "Americans are impossible to develop deep long term and meaningful relationships with" is a bit of an overstatement, no? You're talking about 300M people! I'm sorry you had a bad experience but I don't think you can make accurate statements like that about America based on SV.
Question: It sounds like the Xcode 6 beta is available on the dev center but I can't find it. Do you have to be a paying developer to have access to it, or does anyone know if it's going to be made available for free to (unpaid) registered developers?
I have to agree with Maps issues as well. Latest release was the worst directions I've ever received electronically which is saying something...
For those of you who can't access the book because you don't have an Apple device I've uploaded screenshots of first chapter here.

http://imgur.com/a/AuzGw

I did it because the book was free.
Poland, Europe | Remote | Full-time/Contract/Part Time

Stack: html & css, javascript, coffee script, any CSS preprocesor, UI/UX

I'm a front-end developer/designer with 4+ years of experience looking for opportunity to grow my UX skills by working with experienced people (while still writing front-end code).

Contact: hello@oskar.io
You can do this in C# (and presumably other languages). I've seen people using Greek symbols in mathy code before. It's kind of fun.
Looks like the xcode beta is only available to members who paid $99 :(
No. If you take the attitude that you're only covered if you use the concurrency primitives correctly, then you don't need atomic reference counting for everything. Basically, the programmer can use CSP to ensure that only one thread is messing around with any given section of the heap at a time, and the language implementers could say you're SOL if you do otherwise. (That probably isn't the Apple way, though.)
WWDC 2014 Keynote
Yes it is available at https://developer.apple.com/library/prerelease/ios/documenta...
We changed the url for this story from http://techcrunch.com/2014/06/02/apple-introduces-ios-8. If we pick the wrong url, happy to change it again, so let us know. The goal is to have one discussion about each significant announcement, and have the best url for each.
Just look at the latest ruling on Oracle vs. Google using Java...
Yeh, I agree. I was surprised when they open sourced webkit. But like you said, it's strategic. I don't think they care that much about the browser. Their emphasis is on apps running in their ecosystem.
"Swift eliminates entire classes of unsafe code. Variables are always initialized before use, arrays and integers are checked for overflow, and memory is managed automatically."

Lol
> True competition is prevented by design.

You really think Apple is threatened by the competition posed by an alternative keyboard or browser ? Pretty sure they care far more about maintaining their "99% of malware" exists on Android record.
Too late. Reading Swift...
Apple Opens Up Touch ID To All Apps
var and let were referring to ripping off other languages and the syntax you pointed out as unique is the syntactic craziness.
https://developer.apple.com/library/prerelease/ios/reference...
Universe's Largest Structure is a Cosmic Conundrum
Fairfax, VA, remote or on-site, full time

Stack: a number of assembly languages, c# .net, java,
c, c++, python, javascript, spring, ...

Github: https://github.com/xCKtmdl

Resume: http://washingtondc.craigslist.org/nva/res/4500771175.html

Right now I do c# .net web-dev. I really hate web-dev,
but hey everyone needs a job and I got hired. My love
for programming began with asm and hardware programming.

I would really love to be doing asm for my job.
horrible adoption?
In what way is it innovative? Seems like a mix of recent features.
The Swift Programming Language: About Swift
Ask HN: Best affiliate network for web based software?
I have a web based product like WordPress and am hoping to generate some affiliate sales. I was wondering if anyone has any good stories to share? I have checked all the basic ones cj, shareasale etc. but can't decide which one would be good for software sales.
It is surprising that such things have not been created before. It's a few legs supported on a sideways axis. One would expect it would not have been hard to do it at least 50 years ago.

But in robotics everything is about 1000x harder than one would naively assume, it seems. (Judging by how my vacuum robot with a friggin' laser scanner can't find its docking station from 1 meter away.)
Here's the point: it's Fud.
WWDC today, so some Apple hating hn users are keeping this up just to counter the broad interest on Apple's news from today.
cp866 and cp1251? Something is seriously wrong there. This Russian user's OS is using two different obsolete 1-byte encodings, and claiming not to know anything about UTF-8.

Is he running Python in, say, a Command Prompt window that's maintaining compatibility with a Russian-localized version of MS-DOS?

I can see how he can't move to Python 3, because Unicode support in his environment is basically impossible. That's a deeper problem than just Python. If he's been writing Python 2 code that deals with Russian text, it's probably producing mojibake when run on any machine but his own!
Opens fine in Calibre for converting to other formats. Thanks!
this looks great. Will work on incorporating this in our project
I've been getting books by Jonathan Swift. What's in your search history? :-)
A quick scan of the ebook has a pretty nice looking collection of stuff: option type, generics, protocols, etc.

A bit of python looking stuff and some ruby looking stuff in there too. I am intrigued enough to give it a try when it is available.
Yes, but with something CSP-derived, you could design a runtime where you're covered if you use the concurrency facilities correctly, and you're SOL if you don't. Then only the concurrency primitives need atomic refcounts.
Some context for people reading this and not understanding: this is the web page of Bret Victor. Bret Victor worked at Apple from 2007 to 2010. After working there, he gave a series of talks about independent research he did in (for lack of a better word) interactive programming (just search for his name on YouTube/Vimeo).

Apple announced a product today, Swift Playground, which is heavily reminiscent of Victor's public work.
For those without iBook, here's an excerpt from "The Swift Programming Language": http://pastebin.com/xsr401gt
For those who don't get it:

1) Note that this page about Apple is by Bret Victor.

2) Take a brief look at this Bret Victor presentation - https://www.youtube.com/watch?v=PUv66718DII

3) Look at what Apple announced today - https://developer.apple.com/swift/

4) consider whether this might mean that some of the things Bret worked on at Apple might finally be seeing the light of day

5) discuss
Changes the color temperature.
That's his point.

Sometime you get to work on really a cool technology or project. Unfortunately, if you leave a company, you often can't talk about it (not so bad), and/or are cut off from working on/with those technologies again (for a nerd, super bad).

What I got out of the post was to carefully consider this trade off. You may fall in love with something that you can't (for legal, technical, whatever reasons) work on outside of a specific company.

"Don't it always seem to go. That you don't know what you've got til it's gone?"
[1] Objective-Smalltalk http://objective.st/
Complaint against the author of Gameover Zeus and Cryptolocker
I think you should be able to get it when it's out of beta without the $99 thing. Also I have paid my $99 and have not been able to get it yet.
The Swift Programming Language: The Basics
Minus awesome IDE with automated refactoring.
f.lux doesn't reduce overall brightness, it reduces the blue end of the spectrum. This makes the screen warmer, and is supposed to be good later at night since blue light specifically is what triggers production of the chemicals that keep you awake.
From looking at the slide, looks quite like Scala.
From the manual: “Execution doesn’t continue to the next case, so there is no need to explicitly break out of the switch at the end of each case’s code.” I bet I know when that became a priority!
Google's ability to "release and stagnate" is one of the hallmarks of the company's rather prolific product output. I honestly don't know how products are run at Google, but from the outside it seems that most of them are built and then just kicked off the back of a truck into a waiting crowd. If you hear any news later about a product it seems like it's news about a shutdown.
Open source or not, Swift will never be appealing for the world outside Apple's garden if it will be as intertwined with Cocoa as Objective-C currently is. It will be nice however to see how well Swift could be ported to Android.
but you should probably use them anyway :P
Yep, Apple still hasn't learned that iOS Flat is Apple's Vista. Windows users used Vista DESPITE aero not because of it. So now they added it to Mac. If I can keep from upgrading, I will.
The Swift Programming Language: Summary of the Grammar
Buried as a dupe of https://news.ycombinator.com/item?id=7834779.
It's really kind of amazing just how locked down the apple ecosystem is. Not only have they eschewed the general trend toward more open and cross-platform languages, they've even made the documentation single-platform. That's just wild.
So... Oh Ess Ten Ten Point Ten? Is that how it's pronounced? I suppose it's better than OS X X.X.
You can see first chapter of the book here

http://imgur.com/a/AuzGw

I've uploaded it just now
Not a great article: new features trumpeted include Spotlight's ability to search for mail messages and contacts, and a Private Browsing mode for Spotlight - both of which are pretty long-standing features.

These things tend to get rushed out, but maybe TC could have waited just a few more minutes to weed out the obvious stinkers.
I would have agreed with you except I'm actually liking the very latest bump. Telling me which lanes to get into to make an exit? Brilliant. I think it's also taking traffic into account now.
Swift:The Basics
I know it's hardly the most important thing in an operating system but god that looks ugly. This dumb flat fad cannot end soon enough. I hope mavericks get security updates for awhile because I don't have plans to upgrade.
Easy on the eyes when it gets dark. iOS is blinding when I turn it on past, say, 9pm, especially since I have flux on my computer. That transition is jarring.

Having flux might improve my sleep cycle, certainly hasn't hurt :)
Ok, context for people:

This post is from 2011.

In one of his most popular talks from 2012, Bret demos a book-styled IDE. As you write code on one side, the IDE updates a visual representation of that code on the other side. (http://vimeo.com/36579366)

Apple just announced Playground, where you can see immediate feedback live in your game as you tweak the code. (http://photos.reportinglive.com/p/2014-06-02/f1401735099.jpg)

Today, we learn two interesting things:

(1) What Bret worked on while he was at Apple.

(2) The gestation period -- conception to release -- for a fascinating, research-type software project at Apple (it seems to be ~3 years).
Apple unveils Swift, a brand new Xcode programming language for developers
Please look past the hype, malware on phones is a near non-issue.

Need I remind you that it was iOS devices being hijacked by hackers, not Android devices?

Claims like "99% of malware exist on Android" didn't prevent Apple users across the west from having their devices hijacked for ransom.

And no, Apple isn't threatened by the "competition".

I'm just saying: from the perspective of a tech-forward developer who spends a lot of time on their mobile computing device, the locked down reality of iOS, while marginally improving, is still leagues away from a platform that gives developers a deep and powerful ability to create wonderful mobile experiences that transcend the concept of "sandboxed app".

Sure iOS apps have some great modern flat-ui navigation, but how many iOS developers are trying to re-imagine what mobile means, how we use phones? How many iOS developers are capable of adjusting how we use the phone, the screens and service we see the most?

On Android: most developers can. I have a list of a dozen apps that improve on Google's core functions, and I'm sure hundreds more amazing apps exist. On iOS: None can and none are, outside of the small jailbreak scene. Everyone uses stock everything because that's all that's allowed. #innovation
Heartbleed, Cupid and Wireless
Seriously, downvotes? Calling out Bing is interesting.
Here’s All The Best New Stuff In iOS 8
But without the NumPy/SciPy/etc. ecosystem?
> Personally, I want to be able to search ALL THE THINGS even if it means that I sometimes have to wade through more crap

Yes, yes, yes, yes, this please! Google used to still have this in the first half of the 2000s or so and it was glorious.

Truly having the world's information at your fingertips. Not just Wikipedia and some high ranking sites, but as your queries got more and more specific, you'd still get results from increasingly strange and dusty corners of the web. Yes that meant you had to evaluate the value and trustworthiness of results yourself (but really, you still do), and it was so very much worth it.
The Swift Programming Language: A Swift Tour
It's not too hard to write a graphic engine that abstracts out the graphics API, but it would have to be done in a language other than Swift...
wonder if this is open source. Seems like there should be some kind of democratic governance around the infastructure to something to replace the interent.
"let" is JavaScript as well.

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
Couldn't help to think about Greenspuns tenth rule[0] when I saw the release of Swift. Even though it's kind of neat with the REPL and at a first look xcode looks promising.

[0] https://en.wikipedia.org/wiki/Greenspun%27s_tenth_rule
Just you, Golang would never buy in to modern language features like generics.
Speedometer: A Benchmark for Web App Responsiveness
Looks like PHP (or any c-based lang). Exciting!
Looks nice. But I wish one could interop it with C++ like Obj-C.

As it is now I won't be able to use Swift because of that :(
f.lux main benefit is that it gets 'warmer' in color as well, as the blue light is harsh and can affect your sleep (or so I've heard).
I think it makes it harder to read interpolated strings, I'm just so used to seeing % and {}.
They already dropped the first ten. It's OS 10.10.
No point?
TrueCrypt: "If I wish to use the NSA"
"The company says that Swift apps are significantly faster than Objective-C apps, outperforming them by over 93x."

With a graph showing ObjC at 127x faster than Python, Swift 220x faster than Python.

Thus the conclusion is 220 - 127, Swift is 93x faster than ObjC.

Someone needs to resit their GCSEs.
You wouldn't call it Windows Eight Eight Point One, would you?
They didn't have a choice about webkit; it was a fork of KHTML, which was a part of KDE (and available under the terms of the GPL).
Yes. It's on the front page: https://developer.apple.com/swift/
My dad tuned out as the keynote got to this point, but for me (as a web developer... for now!) this was the highlight.
"a lot of these new features seem like they have been borrowed straight from android" - Not all features! Give some credit to Windows Phone / Win 8 / Metro as well.
Can someone say "linkbait?"
Illustria - http://www.illustriadesigns.com - Washington, DC

About Us:

IllustriaDesigns.com makes design accessible. By leveraging cloud technologies, we're bringing businesses the convenience of in-house design without the cost through a subscription format. Illustria's client-side platform is revolutionizing the way companies access design and creative services. We are passionate about leveraging technology to power a platform to change the way companies handle design, from Fortune 500s to the hottest startups. Our 50+ enterprise customers are varied and in every industry imaginable. They include Hubspot, World Wrestling Entertainment (NYSE:WWE), InnerWorkings (NASDAQ:INWK), and more.

Based in Washington, D.C., Illustria is a fun and dynamic work environment where employees are given the creative freedom to excel. When we’re not at work, we’re hanging out, making art, and building cool things.

We're growing rapidly and we're hiring full-stack engineers. Apply by shooting us an email at jobs@illustriadesigns.com
These were hard to construct back in the day. Now with 3d printers and computer aided design, you could create really nice and complicated mechanical computers relatively easily.

Useful for cases where you don't have electricity.

I've had a business idea or a few...
If you want to be an uber-programmer, first learn how to do structured programming. Get good enough at structured programming, such that the prospect of doing structured programming in another language is trivial. (You're just doing a 1-to-1 mapping between a certain construct to its form in a particular language.)

Then do the same thing for Object Oriented programming.

Then do the same thing for Functional Programming.

Then, develop those skills so you can write good code in those 3 paradigms. There's a lot more to do after that, but by the time you're done with those things, you'll have a good basis for understanding just about any programming language.
Practically speaking I'd prefer to work with a language and toolchain that doesn't require me to do that kind of stuff (write my own cross compiler from a derivative of the language that has all my own preferences for syntax). I'd constantly worry about maintaining that piece and having that cut into my quality & productivity. I think applied language theory as it pertains to productivity is fair game for a good discussion.

That said, whoever downvoted you for that reaffirms my belief that HN should have limited metamoderation with some kind of exponential backoff of mod privileges for egregiously poor moderation.
I'm personally excited about the possibility of creating an "Emergency Card" (http://www.apple.com/ios/ios8/health/) that's accessible from the lock screen.

Currently, I use a screen-shotted contact screen as my wallpaper for my ICE contact - just in case the worst were to happen. This will let me put more information, and might even let me have a wallpaper again!
Source.io – Domain Name For Sale on Flippa