skysight-inc/HackerNews huggingface dataset:
A thing that has been puzzling me for a while in regard to learning programming languages. Is it worth doing "checkbox learning"?, i.e. just learning a lot of languages superficially so you can "check the boxes" in regard to various job-ads without downright lying about it.
I, for one, would not like to use a truculent operating system!
They're also for management or sales to walk potential clients through while waving a hand through the air like a magician opening a curtain, before they take the client back to their nice, quiet corner offices. Also interior design showcases for hipster cred.
"93x faster" sounds roughly like a 46.5x improvement in marketing.
Yeti (http://mth.github.io/yeti/) uses that syntax. One of my favourite languages.
Definitely what a small media company should use. It combines traffic management, ads insertions, media asset management in a very easy to use, full drag-and-drop web UI, completely customizable and an impressively complete API with full documentation.

Really a fantastic product that puts everything from the big names to shame. It's available as both a standalone or cloud-hosted solution. It's so simple that usually only one journalist of graphic artist can manage a set of channels all by him/herself.

http://www.chyro.fr/en/
Apple announces ‘HealthKit’ platform and new ‘Health’ app
Hopefully there are some of Bret Victor’s "lost" ideas in there: http://worrydream.com/Apple/
> So if Apple's goal was to get new devs into the iOS world, at least
> from 10k feet, it's working

They just announced Swift, at a conference for Apple developers, with live streaming that is only easily accessed from an ios device. I think it is probably premature to pop the corks and celebrate the efficacy of the get new developers initiative.
Swift looks quite similar to javascript - it may be fairly easy to port, I hope.
For context: This story previously pointed to an article, but has now been changed to point to Apple.
So is swift an extension of c like obj-c is? In theory, can I have a program/app that uses swift, obj-c, and c syntax all in the same file?
Kind of reminds me of portions from:
http://learnpythonthehardway.org/book/advice.html

...and I agree that there's a whole world of skills out there to master e.g., Audio Engineering, Cooking, Electronics, Linear Algebra, Rhetoric, etc.

That said, if you want to be a better programmer, I'd say keep learning languages until you've at least got a good representative from three different paradigms e.g.,

Statically-typed, objected oriented: C++, C# or Java
Dynamic/Scripting: JavaScript, Perl, Python or Ruby
Functional: Erlang, Haskell or Lisp

Of course, there are plenty of other categories as well. E.g.,

Data Access/Transformation: SQL or XSLT
Low-level/hardware: Assembly or Verilog
Stack-based: Factor or Forth
Special purpose (Proof Assistance/Logic/Statistics/etc): Coq, ProLog or R

Etc. etc. etc.

...and many languages cross-over between various categories but the point is to be exposed to the different ways of thinking and to get a sense of which tools are the best fit for a given class of problems.
Swift uses the Obj-C runtime and interoperates with Obj-C code. Those languages assume a shared heap. If Swift modules didn't perform atomic reference counts, that would quite likely break Obj-C code operating on the same heap.
OpenStack Swift architecture overview
OS X (previously Mac OS X) is the successor of Mac OS 9. X stands for 10 in roman numerals: http://en.wikipedia.org/wiki/Roman_numerals

For marketing reasons (as some don't know about roman numerals), Apple writes it like this OS X 10.9 or now OS X 10.10 or OS X Yosemite (instead of Mac OS X.10 or Mac OS 10.10).
Reddit can be useful - check out http://reddit.com/r/findareddit for specific topics.
I can't find anything in the book or on the website about concurrency. I'm not familiar with the Apple programming ecosystem, how is concurrency handled? Is the lack of language-level support a concern or is everything shuffled off into libraries and the runtime?
I care more about calling out the cluelessness than the downvotes. If it gets attention and brings some bits of CompSci to the attention of people who wouldn't otherwise know, then all the better.
50M/day on a VPS / single core, I'm having hard time believing...
I left OSX for Linux 5 years ago primarily due to the unbelievably lacking window management. Having come from Windoze land with the then, and perhaps still, excellent UltraMon, I could never adapt to manually reizing app windows side by side into grids, or context switching between layers expose-style.

The tiling window manager options on Linux are so good that I've dropped the desktop environment entirely (Gnome, KDE, etc.) and am just rolling with a TM, lightweight theme and icon package for a quite nice gtk3 look.

OSX wins in out of the box "just works" and bling departments, no argument there, but otherwise it holds no appeal, this bird has flown...
What i don't really see in the docs is how to calls to objective-c methods are sorted out. For instance, if I have an objective-c class with a method

-(void)addNumber:(NSNumber*)num withString:(NSString*)str;

How is this called in swift? Is it

myobj.addNumber(42, withString:"Hello World")?
Websites: breaking my back button for 15 years.
Love the "Done. Sold. Have me." comments when no one here has even used the language yet...
The sad part, is that already in the 70's there were better alternatives, but UNIX creators just decided to ignore them and create their own language.
Apple Swift coding style – How to Read the Grammar
If possible, could someone from the Apple community please tell me if Yosemite will be faster / lighter than snow leopard? I don't want an OS that requires 8 gigs of ram to run "fast" like Mavericks requires.
I have to agree. I had a love affair with unicode put directly in LaTeX markup (delta, integral signs, element-of, etc...) and it was very fun at first. Then I had to send the paper to a collaborator while writing a follow-up article together. I ended up removing all the unicode, and in subsequent work I didn't do it any more.
How else are they supposed to announce it? It's simply that, an announcement. People are talking about it now and there's info on the Apple site. I see this as a huge push forward for new developers.
There Is No Pandemic Of Chemicals Causing Brain Disorders In Children
Ten ten. Alternatively Yosemite. Or OS ten Yosemite.

No one will use ten ten ten.
Polyglots Are Out To Change The Way You Think
Given you will require Mavericks or Yosemite run Xcode 6 and code with it, that makes for a sort of consistency, despite the frustrating closed-ness.
Python was mentioned in a "generic object sort" benchmark. It's likely that the purpose of that slide was to show that Swift is a lot faster even when dealing with dynamic dispatch.
1) This looks much less intimidating than Obj-C, I may finally write an iOS app.

2) Hopefully this puts some pressure on Google to make Go on Android easy (although I'm a Java guy myself).

3) What about swift-lang (http://webcache.googleusercontent.com/search?q=cache%3Aswift...). It has the same name and almost the same icon. Did they work with these people or just screw them?
what about text as images?

https://developer.apple.com/wwdc/
Big Win For DuckDuckGo: Apple Adding To Safari As Private Search Option
>I miss being able to break wind somewhat discreetly though.

"What’s more, Evans and Johnson discovered that people in noisy environments made fewer ergonomic adjustments than they would in private, causing increased physical strain."
There's something kinda similar for KDE, KDE Connect, it sends notifications to your PC from your phone, but you can not reply.

http://community.kde.org/KDEConnect
That's the most useful thing I saw for my current development.

The integration, widgets, etc. will open up a lot of new possibilities too.

I'm not too excited about Swift but it looks like it could speed up the code, compile, load, test cycle.
Yes, it says so on the home page:

> Using the high-performance LLVM compiler, Swift code is transformed into optimized native code, tuned to get the most out of modern Mac, iPhone, and iPad hardware.
Pre-release software is usually for paying devs only. Xcode is listed under the iOS 8 beta tab which is hidden to non-paying devs.
He says:

"Unfortunately, MQTT defines this assurance model only for the publish gesture and not for its own, inherent operations.."

OK, but then says:

"That means the client is forced to retry under any such circumstances. The specification already anticipates this with making subscriptions effectively idempotent and requiring that a subscribe command matching an existing subscription must be replaced by a new subscription and that the message flow must not be interrupted. "

So what exactly is the problem? If the client doesn't get the SUBACK it retries. The server has to deal with it. If the server gets a SUBSCRIBE, it has to be durable because the client might have received the previous SUBACK.

Why add one more turn around by acking the ack? This seems like extra complexity for no reason.

Also he talks about lack of flow control:

"Not having any flow control can get fairly dicey when there is significant work to do for processing a message and there might be several different subsystems on the receiving end of the MQTT connection where the work differs."

But there is flow control: it's TCP. Do not read from the TCP stack unless you can handle the message, then the flow control will work. On the other hand there is no concept of trying to multiplex multiple streams over one connection (where then you start to worry about head of line blocking). If you need this, open a different TCP connection for each stream. This is not an unreasonable design choice to make...
You only need to look at the Android UX principles page to see that what you are saying is true.

https://developer.android.com/design/get-started/principles....

Back when I was at university (not so long ago), usability was like you described - it helping the user get their task done efficiently. Not the more modern version of "delighting the user in surprising ways".
That's a cite for what people should eat.

I am asking for a cite to support the statement "we eat on average 2700 calories per day".

That link has some self reported studies, and also explains the problems with those studies (very few people know how much they eat).

It also meantions that women eat less calories than men - about 2,000.
Automatic Reference Counting

Swift uses Automatic Reference Counting (ARC) to track and manage your app’s memory usage. In most cases, this means that memory management “just works” in Swift, and you do not need to think about memory management yourself. ARC automatically frees up the memory used by class instances when those instances are no longer needed.”

Excerpt From: Apple Inc. “The Swift Programming Language.” iBooks. https://itun.es/il/jEUH0.l
There were actually two (released at approximately the same time): http://swift-lang.org. Apparently the name isn't terribly original.
This seems a lot like a response to Google's Nest acquisition.

Google and Apple are rapidly moving in to an area with a lot of activity. There has been a recent surge of home automation startups and platforms like Revolv (http://revolv.com/), SmartThings (http://www.smartthings.com/), WigWag (http://www.wigwag.com/). One of the problems they are addressing is how to marge multiple different home automation standards (Z-Wave, ZigBee, Bluetooth Smart, 6LoWPAN). Presumably the new Apple HomeKit will be based on a single standard, Bluetooth Smart, given the Apple / iBeacon rollout.

There are also a bunch of more generic development platforms around, like relayr (http://relayr.io/) and Thingsquare (http://www.thingsquare.com/), that are targeting the device manufacturers directly. Will be interesting to see what impact Apple will have on the growth of this market, and the technology choices. Apple isn't always right (and neither is Google).
Tricking Windows XP to dish out updates until 2019
You'd break a ton of Cocoa APIs too.
Now if a ton more hardware manufacturers would start designing around automation - like a washing machine that automatically started drying your clothes next, and an app that could see how dry they are and ask if you want to keep going, etc.

Or an oven I could preheat from my couch.
Phrased with admirable restraint:

"The Swift parallel scripting language web is experiencing heavy load due to Apple's announcement of a new language by the same name. We'll have a raft of new web servers online shortly to handle this trafic. Please check back in a few hours! -- The Swift team..."
That is not an official Apple image.
"The Swift parallel scripting language web is experiencing heavy load due to Apple's announcement of its new Swift language.

We'll have new web servers online shortly to handle this traffic.

Please check back in a few hours!

-- The Swift team..."
> There's still a lot of older RHEL/CentOS series servers in production. At best the ops team will say "no" when you tell them to install python 3.

And then you tell them that it's better to not build against the system python and ask them again to install another version.
Apple Needs Its Own Search Engine
Swift coding style – Identifiers
iCloud for Developers
It appears as though this article actually references a different language called Swift: http://swift-lang.org/main/
The first release of OS X had translucent title bars for inactive windows[0] as well as a lot of transparency in sheets, menus and other UI elements. A lot off this was to show off the compositing available in the window manager.

I was disappointed when more and more became opaque over time and am glad to see the return of translucency.

0 - http://media.soundonsound.com/sos/dec00/images/appleosx.l.gi...
Swift coding style – Keywords
Having a start button and search are not exclusive.

Also, you can also pin highly used apps to the taskbar, which is even faster than searching.
Nope it doesn't - that's an example of where this is much smoother. FWIW MightyText already does SMS (via an app, not proximity) on Android/Chrome - although it's not Apple smooth in terms of replying either.

I think the right way to go would be syncing the actions as well as data of Android's rich notifications - things like reply to email/archive from chrome notifications, reply to SMS, hangouts.. It'd be Google's universal apps between Android and Chrome - syncing actions. It'd need a lot of developer support but it'd be fantastic if they pulled it off as well as Apple and supported third parties in a serious way.
Now, if Go was implemented on Android, I'd probably develop a lot more for mobile.
Feminine-named hurricanes are deadlier than masculine-named hurricanes
'Optional Chaining' sounds like it lets you join thing together to some extent:

https://developer.apple.com/library/prerelease/ios/documenta...
Lots of good discussion going on. Definitely swing by and drop a question if you have it about Healthkit.
NSSwift.com
Here are some coding styles I found for Swift:
http://codingstyleguide.com/lang/23/swift
You may not hate Objective-C, but I doubt you love it either. Have you / would you ever use Objective-C to write a web back-end? To write a command-line tool?
ALIENWARE M14X R2 REVIEW
"innovative" "new" "concise" "expressive" "lightning-fast"

God, I love Apple. Now I just wish real innovative languages could market themselves as efficient.
Not sure about identical icon -- there's only so many ways to draw a silhouette of a bird.
In AppleScriptObjC, Objective-C methods are converted from

-(void)addNumber:(NSNumber)num withString:(NSString)str;

to

addNumber_withString(num, str)

Swift could be different, though.
I would be surprised to know that she's explored and threshed out her refinancing options fully. With 5 different loans, even a longer-term refinance could end up saving money if she pays more than the minimum every month.

On another note, I find it interesting that she's not assigning a dollar value to having some walking around town money. There are real opportunities being missed for networking etc., as well as an increased stress load, which can have career and personal consequences. I'm not saying consolidation's the proper way to go; I am saying she may be short-changing her happiness and future upward mobility by focusing only on money when well-rounded balance is important.
I feel the exact same way. For a while now I've been looking at other ways to develop for iOS, such as HTML5 with PhoneGap or C# with Xamarin, but it's always been a kludge.

Swift looks amazing and I'm really excited to try it out tonight! Great job Apple devs.
Ask HN/people in charge: What are the distributions of OSes used by HN readers?
Is this private information, or can we know? Just curious to see.
Growing number of chemicals linked with brain disorders in children
Try removing the leading "881256329.epub" from the paths in the linked ZIP to create a (potentially) valid EPUB. If you still have problems after pruning the leading directory, you might also try a ZIP utility that doesn't create an extra __MACOSX directory in the ZIP file to store OS X-specific metadata.

In particular, I can confirm that the file created by running

zip -rqX ~/path/to/Swift.epub .

from within

~/Library/Containers/com.apple.BKAgentService/Data/Documents/iBooks/Books/881256329.epub

after downloading on OS X iBooks works fine without conversion in Google Play Books on Android 4.4.
Just what the world needs another proprietary language.
Spotlight seems an awful lot like Alfred now. http://www.alfredapp.com/
I've been looking into Rust recently, so I wasn't sure if it was just the freshness in my mind or what. Glad to see I wasn't imagining things.
I have a decent NAS - Netgear ReadyNAS4000 (i think thats the one).
4 x 2TB drives in there gets me 6TB of space.
Plex is amazing, I used to use it on my TV through my macbook, but that wasn't powerful enough for the latest and greatest movies.

Anyway, didn't see the news I was hoping for today :(
Swift's environment is also very similar to Elm's time travel debugger: http://debug.elm-lang.org/

Direct link to Elm's demo similar to Bret Victor's:
http://debug.elm-lang.org/edit/Mario.elm (video: https://www.youtube.com/watch?v=RUeLd7T7Xi4)
I'm a bit surprised by this move. I see that there are some advantages to this new language, but Objective-C is not as unapproachable as the unwashed masses make it out to be.

If Apple wanted to add official support for a new language I would think it would have been a better move to use something that already has an established following and could potentially attract new developers over. Something like Ruby/Python/Lua would seem to fit the bill nicely.

We've already seen Ruby can be done successfully on Mac with MacRuby and RubyMotion, but it nevers get full support from Apple.

Adding an additional programming language that binds me only to Mac platforms doesn't give me a whole lot of incentive.
Star Wars VII set photos
While the family income is $85k a year it has a single working adult, one person with disability, two children and a senior. So it really depends on how old are the children and what pensions/welfare do the person with disability and senior get and how expensive their care is.

I'm not living in the US, but I was under the impression that getting a community college degree wasn't enough to prepare you for the "CPA exam to become an accountant".
Not the same language as Apple's, in case anyone is wondering.
There are already washing machines that dry clothes - they are common in the UK. There are also dryers that sense moisture - they are common in the USA.
The "SEO phenomenon" has been going on for well over two decades now.

And if you knew how to search, it was a nuisance, but could be dealt with.

The (relatively) "new" part of it is Google throwing out the babies with the bathwater.
I know plenty of people that got in without a Masters in Berlin, so YMMV

38k€ is low, it's possible to get more (but then, with the taxes and everything this translates to maybe 3k€ per month tops - with a very high salary)
The announcement was fine, it is the "its working" part that is odd considering it is less than a day old. Let's see if it actually attracts new developers before we declare it a mighty success.
Love that I will be able to hook my Withings scale up. Best tool to aid weight loss. But their app sucks. (They showed some other Withings products during the Keynote, so I assume they are in.)
Turn my lights on and off or start a fan would be great.

You can even buy locks that will unlock with bluetooth but that makes me paranoid.

http://www.amazon.com/Kwikset-925-Cylinder-Bluetooth-Deadbol...
I'm not really that impressed--it looks like a hodgepodge of ideas from ES6, Ruby, Go, and maybe Rust, with a bit of backend work done to let it work on their existing infrastructure.

I dislike that Apple has continued the special snowflake approach, that for some reason we as developers need to learn yet another different-but-almost-the-same language to develop for them, instead of just adding proper support and documentation for an existing language. Why not just let us use ES6, or normal C/C++, or Java?

But instead, now there's yet another language without great innovation that is probably going to be badly supported outside of the Apple ecosystem but still will have enough fandom to keep it alive and make life annoying.

At least Google had the decency to pick a language everybody was already using and use that.

EDIT:

I feel bad for all the engineers stuck in those pixel mines, not allowed to talk about what they're doing, doomed to reinvent things that are on the way out just as they come in.
Two snippets I found significant and good news:

Q: What about backward compatibility? I’m worried that PHP might go down the path that Python went down with Python 3 not compatible with Python 2.

Rasmus: We’re not planning a Python type of break.
Chances are that anything that breaks in PHP 6 will be
features that resulted in pretty hard warnings in PHP 5
[...] No drastic changes are planned in PHP 6.

Q: What’s your take on the static code analysis?

Rasmus: [...] The community is hoping to get Facebook to
release their static analysis system as a standalone
tool. [...]

Btw. the linked slides provide a good overview of new features.
Thanks to these guys for creating a VMWare-compatible image as well.
This is a different Swift language, not the one Apple just released.
http://swift-lang.org/main/
Secure your server with a Honey Pot
I'm super excited about Swift as Objective-C was always a barrier for me as I dislike it very much. This was the greatest news from Apple today, I hope to see compilers on other platforms as well soon.
I recently translated one of my Apps from Android to iPhone.

I had 0 objective-C experience, but I made it work. It was a bit of a frustrating experience. Many times I found myself writing Objective-C boilerplate-ish code that I had 0 clue what it was doing, considering this is a hobby / for fun project I just wanted it working.

It's not easy to google the answer to, "Why did I just add this new keyword after this colon in this random .h file.."

I didn't want to spend the next month reading Objective-C for beginners, I know what a for loop is, I also know what constructors are. I just wanted to use the language.
Check out these coding styles for Swift I found, which might be also useful:
http://codingstyleguide.com/lang/23/swift
It reminded me of Sherlock.

http://en.wikipedia.org/wiki/Sherlock_%28software%29
Well; based on the promise of immediate inclusion in the app store and a very well thought out book about the language available for free I'd say they're doing rather well so far already.
A better version of the first question is, are the libraries you need, and will ever need in the lifetime of this application, available in python 3? If you can't predict the answer to this, it's risky to go with Python 3.
Love the fog effect. I wonder how many people will notice..
Oh, cool! Straight out of CoffeeScript. Yeah, that's pretty much the monad instance of Maybe.
The Biggest Summer Weight Loss Secret