skysight-inc/HackerNews huggingface dataset:
Swift runtime
I have been exploring Apple's swift documentation, and now i'm here to ask.

Is documentation about Swift's runtime available?
Seems not.

I have read The Swift Programming Language book. https://itunes.apple.com/us/book/swift-programming-language/id881256329?mt=11

I have watched WWDC videos. https://developer.apple.com/videos/wwdc/2014/

I have tried searching Swifts compiler source code, or runtime library source code.

But I've found out nothing, except few questions that actually about Obj-c

I mean, everybody know how obj-c works. isa pointer, cmd, how do we call methods, dynamic binding and other. We know how parameters passed by registers. We can use MachOView to define all methods and classes used in binary. There are many documents about obj-c runtime, open source runtime library. Clang is open source. But what about swift?

So, I think, now we only can revers some code via IDA, or MachOView. And trying to understand how does it work. So here we can show and discuss our researches.
Not suicide... many smart phones had no proper headphone jack for about 3 years and the market was able to grow to this point.

All Apple has to do is tell people, "You need the special Apple headphones," and they'll likely say, "Oh! okay!"

Their users have handled several generations of proprietary chargers just fine. Mac laptop users have also handled numerous generations of video output interfaces just fine. They're simply not a class of user which quibbles about spending on minor electrical expenses in order to get the functionality they want.

In fact, they'll likely be grateful. "Oh, I've been wanting a pair of real studio-quality headphones anyway!"
This is also kind of relevant given that Cogent bears Netflix's bits and Cisco benefits from that bearing:

http://news.cnet.com/2100-1038_3-1019435.html
What an excellent article! It gives readers an inside look behind the "Sand Hill Curtain" and shows that these guys put their pants on one leg at a time just like the rest of us. It also shows that even at this level of the industry there is no blanket formula for success, no guarantee. No matter how much research, preparation, fact checking, linear regression analysis etc...is done, it still is a crap shoot and one's "gut" still plays an important role in the mix. That fact alone is enough to give the little guy with the oddballest idea hope and the will to try!
Are Squiggly Lines the Future of Password Security?
Control VR: Hand motion controller for VR launched on Kickstarter
Are deflationary fears driving this?

It is tough to imagine much demand-driven growth in the developed/developing world given how quickly the birth rate is plunging.

Most of Europe is already below the 2.1 birth rate required for sustainable population numbers:

http://www.economist.com/news/international/21603024-why-shr...
WRT that "panoply of middle-man networks" ... it pretty much never works that way. Certainly not with a big player like Netflix, they're going to be buying from providers that peer with Verizon, vs. ones that have to pay transit fees to providers that then have peering with Verizon. The latter would make absolutely no sense in any way, technical or financial.

They're also doing this in concert with AWS, right? Another huge player.
Yeah, same here. I was watching a movie on Roku/Netflix 6 weeks or so ago. Quality was 2* (out of 4, meaning OK, but visible encoding artifacts now and again) and yet it still fell back to the buffering screen 8 times in 30 minutes. I got fed up and rented the same movie on Amazon (still on Roku) and watched it in HD without a single instance of buffering. After it was done I switched back to Netflix and tried to watch something else, and again hit buffering every couple of minutes. It's not usually that bad, but it clearly illustrates that somewhere in the Netflix -> Verizon connection that something is badly wrong.
What makes you think that beats would stop making headphones with normal jacks?

Then they can sell two pairs of headphones to every sucker!
Well I thought the article specifically mentioned that the MFi license was for headphones that connect via the Lighting port.
Funny how you assume he assumes that?

The lightning port can do everything you can do with the headphone port, and more.

There are three problems with the headphone jack that Apple can see:

1. It's limited: it can stream analog stereo sound, and get back analog mono microphone. There's a nasty hack some headphones do so you can have a 2-3 buttons on a headphone (say, prev/next track, pause/play), but that's it. Analog sound over a long cable means you add noise. You get no noise cancelation, no surround sound, no other data streams etc. Maybe they have headphones with extra sensors in mind.

2. It's redundant: it takes space while doing a subset of what Lightning can do: that DAC circuitry takes space and wastes power, and the port itself is an ugly hole for no interesting reason than headphones don't currently support Lightning. If Apple removes the headphone port, it can use the extra power and space for more interesting things (like larger battery, more sensors etc.).

3. It's uncontrollable: Apple prefers vendors go through their programs to ensure quality and compliance, but we have players like Square, who use the headphone port for credit card swiping. They do it just so they don't have to pay Apple for licensing a Lightning solution.
There's hs-tls (http://hackage.haskell.org/package/tls-0.9.11), but being a newb to both crypto and Haskell, I can't tell you much about it.
I just wanted to call out where you say that it's "hard to prove" that ISPs are purposefully degrading service.

Hard to prove in a court of law, perhaps, but the speeds of access to the businesses being extorted can tell a pretty convincing story.

This chart: http://appledailyreport.com/backend/wp-content/uploads/2014/... paints a nice picture of how ISPs want to extort businesses that are in more profitable lines of work: notice how speeds change from before Comcast started trying to extort from Netflix, to during the negotiations, and after Netflix payed their protection money.

Level3's article also called this out: the ISPs are purposefully, physically, underprovisioning their connections, because it gives them leverage over companies like Netflix.

As to why the internet is different: the internet is not like healthcare. Socialized or not-socialized medicine is obviously not that big of a deal to the future of a nation; both the US and Britain were economically competitive while having very different systems.

In contrast, the Internet obviously matters a great deal to the future. And if various players (hollywood; last-mile ISPs) can manage to appoint themselves gatekeepers and engage in rent-seeking behavior on the internet (in the United States, at any rate), well, HN is acutely aware of what that will mean for the future of innovation, and the future of nations as well.
This to me is by far the best explanation I've seen on the deal. And it's got nothing to do with the headphone jack. https://medium.com/@mvakulenko/to-understand-beats-you-need-...

Sample quote around how artists see themselves today: "“It was more about building a platform on top of music—because music, we realized, sells everything but music.”

EDIT: And off topic why I don't take anything on Forbes seriously anymore. They've destroyed that brand: https://medium.com/climate-confidential/content-used-to-be-k...
> "There is only one valid definition of a business purpose: to create a customer."

And yet financial statements are reported in dollar units, not in customer units.
Tell HN: you can't create Google OAuth client now
Go here https://console.developers.google.com/ then Auth -> Credentials -> OAuth -> Create New Client. it will throw server error, leaking some server information.
I thought they were paying fees to Verizon.
Not what you after, but the best countries to be atheist in: http://www.salon.com/2012/08/29/eight_of_the_best_countries_...

https://en.wikipedia.org/wiki/Irreligion_in_the_Czech_Republ...

[corrected per namenotrequired's comment]
I draw the line at things that people need in order to fully participate in society. If a good or service doesn't meet that threshold, a private market only solution is likely just fine. Otherwise there ought to be at least some socialized option available.

My list would include: non-elective healthcare, food, housing (same as for food), electricity, water, local/regional transportation (e.g. for commuting to work), internet access and possibly basic internet-capable mobile phones.

Basically "natural monopolies" are certainly all candidates for complete socialization.
Personally, I prefer Thrift over protocol buffers. I'm surprised Thrift wasn't mentioned.
One of the reasons is the mandatory minimum reserve. Check this http://www.ecb.europa.eu/mopo/implement/mr/html/index.en.htm...
I remembered that reserve existed but I'm a noob at finance so I'm pretty sure there are more important reasons.
I am also frustrated with people who blur a) net neutrality with b) monopolies/undercapacity issues, and so I agree that people should not be so quick to demand ISP-paid extra capacity as solutions to this, especially on grounds of net neutrality.

However, I don't think it follows that Netflix must be treated any differently. The customers are the ones requesting the data. To the extent that anyone (once at capacity) should bear a cost, it should be the requester -- either through a higher fee or a smaller fraction of the pipe.

In practice, that will mean "the more Netflix [or anything] you use, the slower your service". But you shouldn't "short-circuit" the process and just start punishing Netflix's packets directly just for being Netflix. Rather, it should be "this customer endures this cost [broadly defined] for using this much, regardless of what it was for".
Man, you can tell it's June, because this stuff is coming out again. :)
اليكم نتيجة اليوم السابع نتيجة الاعدادية بالقليوبية 2014 برقم الجلوس
The five words are posture, posture, posture, posture, and posture.
The Eurozone is a diverse set of nations, but many of the economies with the worst problems have over-regulation in some areas, especially labor-related regulations. Oddly enough labor regulation has significant impacts on economic growth and unemployment. :P

I don't actually care to prepare a well-sourced and boring essay for this tiny corner of Hacker News. Instead, I will leave you with an approachable anecdote about trying to open a business in Greece selling olive oil on the Internet. You'd think this would be the perfect business for Greece, but (spoilers) it takes 10+ months and involves stool samples.

http://www.nytimes.com/2012/03/19/world/europe/in-greece-bus...

(Postscript. The article notes that some of the delays may be related to not paying the "speed tax", i.e. bribery. That is a story of the regulatory apparatus meeting Corruption for Extra Fun Times.)
Profitable ... but needs donations? I'm not following.
How's that connector gonna work on your iWatch or Google Glass?
...in Ruby. For some applications.

With Node, I'd have to see a very good argument for why I should give up all of JSON's great features for the vast majority of services. Unless the data itself needs to be binary, I see no reason why I shouldn't use the easy, standard, well-supported, nice-to-work-with JSON.
You could remove the Certificate in Massage Therapy from your CV
Apple’s new Mac Mini 2014 update misfire for developers at WWDC
Netflix should also be including the phone numbers of city council members in the zip code of the account owner, and a link to example legislation for use of eminent domain seizure on last-mile cables.
I'm a customer, I'm entitled for 500gb as per our agreement. I'm paying for both ends of the pipe.
All 3 of your points are the fault of Protobufs being an almost stagnant project. Nothing significant has changed for a number of years. You only have to look at the public repo commit log to see Protobufs may as well be a release tarball only distribution[0], with already infrequent releases[1].

[0] https://code.google.com/p/protobuf/source/list

[1] https://code.google.com/p/protobuf/downloads/list
Fair enough. I wasn't really trying to dig at overall quality of headphones, but rather the quality of the connectors and the fact that the 3.5mm connectors probably aren't the problem for these ranges.
Usability is Everywhere
I know for my ISP the user names and passwords used by support are all freely available online. I needed a tech to come in because they couldn't troubleshoot my issue (magically fixed the next day) and he was flummoxed when he couldn't log in because his passwords didn't work.
Dear Apple, Swift is Great But It Needs...More
Note: It is definitely not built under that premise, hence why your consumer bandwidth is asymmetrical...

The Tier 1 always wants to ask for more bits than a lower tier operator. If a lower tier operator asks for more bits and tilts the traffic balance, things get interesting. Cogent is not a tier 1 but slings 35% of the internet around at will.

It does cost a lot of money to route Netflix's bits and the narrative is hugely helpful to Netflix. I'm not saying this is correct, I'm simply trying to point out that Netflix has a ton to gain from carriers upgrading their network connections and routers.

Another way to view this: Netflix is demanding huge network upgrades without any additional revenue source.
My own experience is that H1-Bs were cheap consultant fodder, but that was from the late 90's. Hire a bunch of folks from India under H-1B, place them at companies, and pay them lower (non-consultant wages, poor benefits), then collect the difference the higher bill rate. I can name a couple of companies in the Twin Cities that pulled that stunt. The above is my generalization of my experience as the GP and GGP did.

I saw that page, but I was looking for the actual wage stats and kept running into 404s (including one from that page).
I can think of a nefarious way to use this: Amazon.com price matching at brick and mortar stores like Target.

Step 1 - Find a product you want to buy

Step 2 - Shorten it and change the price manually to a "believable" number

Step 3 - Go into Target and show the price to a customer service agent (usually not tech saavy) and they will see that it looks like Amazon.

Step 4 - Profit???
Collaboration in the Cloud: Research Virtualization Accelerating Evolution
Yep, I still don't understand why land line ISPs don't charge by the MB like cell services do.
Bitcoin key to future of online payments: EBay CEO
Bitcoin ETF Inching Closer To Reality – NASDAQ.com
نتائج السادس الابتدائي بالعراق 2014
نتائج امتحان السادس الابتدائي الدور الأول 2014 محافظات العراق
El Greco rocks. Thanks for posting this.
You're right, point 2 is THE show-stopper for this. It looks amazing, but if amazon or the likes ever tried this I'd close my account - credit card security, in this day, is not the place for gimmicks. Sorry.
PayPal Bitcoin Integration Coming 'Very Soon' Says eBay CEO John Donahoe
Ask HN: When Will Unity Web Player Come To Linux?
I've been an Ubuntu user for awhile now, and have noticed that significant steps have been taken to make Linux more gamer-friendly. Much content-creation software (e.g. Unity3D, and more recently Leadwerks Game Engine) has been brought to Ubuntu, and Steam has brought publishing to Ubuntu, but why not Unity Web Engine? Is it planned to be added in the future?
For anything non trivial, putting data into an Avro object and pulling it out is manual and tedious. Instead of json_parse("{'nice json':'string'}) you have to assemble the object and for large hierarchical objects this is a pain. And then you want to return that object to the UI. Well it's not standard JSON. For example the arrays aren't simple arrays. My team has code to fix these kinds of things but it's not nearly as easy to use as JSON.

tl;dr Avro JSON != Standard JSON

The OP's assertions that the protocol buffer's are awesome and reduce boilerplate conflict with my experience.
EBay’s CEO is still interested in Bitcoin – The Tell
Well the US federal government has more resources than most so it strikes me as a smart move to do this. I suspect they were holding off announcing that they've solved time travel closer to the congressional elections to help out the Democrats but the cats out of the bag now.
> You can compile a Ruby VM from C to JS, as people have done.

That sounds to me like it would just kill your startup perf. Users would have to download an entire Ruby VM every time they hit your site, wouldn't they?

Maybe I'm just a luddite, but spending network resources downloading a garbage collector written in JS only so that I can run it in JS... which natively supports GC just seems really gross to me.

Don't get me wrong, I think Emscripten is very very cool. It just feels like a strange fit for applications written in a language whose semantics aren't that far from JS.
>I find it frustrating the extent to which Europeans seem to believe that their own governments aren't spying on them.

Most European countries don't do mass surveillance. In my country there are two spy agencies, civilian and military one, and they both have less than 200 people working for them. their budgets are just too small for large scale spying.

> a government that has a track record of cooperation with SIGINT.

There is nothing wrong with cooperation and SIGINT. Spy agencies should spy and exchange information. It's the mass surveillance that is the most problematic aspect.
Step 4 - Acceptance
I do this all the time at work.
Mac OS X Yosemite Under the Magnifying Glass
> there is a bunch of plaftorm/library code in the Dart output that's not used by such a trivial program and could be eliminated.

Note that the Opal code also has this.
I'm curious, too, since it seems to be completely unmentioned. Did they take atheists and agnostics into account at all? I can't tell.

It doesn't answer the question, but Wikipedia has some interesting information on "irreligion" in the US.

http://en.wikipedia.org/wiki/Irreligion_in_the_United_States
This is interesting and a lot simpler than I was expecting.

What's the feasibility of hooking into a webcam and using that as a metric for determining 'slouch'?
I have a Ubee cable modem from Comcast that doesn't have wifi, and I think had an Arris before that that also didn't have wifi.
The number one way you can improve your chances of getting a job is to send out more applications. How many have you sent in the last three months?
If Netflix is paying Level3 enough to send the data to users, but Verizon is not paying Level3 enough to get the data on behalf of their users then it sounds like Verizon's fault.

Peering agreements should be about saving costs on both sides, but if Netflix is willing to pay Level3 for sufficient bandwidth then Verizon should have the ability to handle that for their users.
I realize this advice may not address your immediate needs, but if you don't have paying projects, stay busy. Github is your new resume. Try to stay active on Github when you have downtime.
Sorry I was speaking from a court of law viewpoint. It's really obvious if you look at the network charts but it would be really hard to get those into a court for a lot of reasons.

I understand that it would be a negative impactor on the future of nations and innovation; I'm asking if that's enough to actually drive change. My sense is that, historically, with respect to ISP behavior, over time they get what they want. I'm not saying this is right, I'm simply noticing a trend, just as many have noted that less-private social networks win over more privacy focused businesses.
(I work on Kifi)

Right now the email limits are very loose. Legitimate usage won't run into anything. We're sending the emails ourselves, from a custom address for each link. When they reply, you get the reply instantly inside Kifi. When you send a link on Kifi, you'll be able to preview exactly what was emailed.
A business should be solvent, so of course they're in dollar units.

A business is a balancing act of many "should"s and "could"s.

But when your top priority, or god forbid, sole priority, becomes "maximizing" money, versus contributing in a meaningful way to society, your business no longer deserves to exist.
I wouldn't say KICKASS in the first sentence of your "About me" blurb
No. This is a fee the ECB takes out for storing the bank reserves. This does not create more money in the system.
We have actually been using elasticsearch as our main data storage at backstitch for almost a year now. How I usually explain its awesome power is (1) take the schemaless nature of MongoDB, (2) add the indexing power of Lucene, (3) and give it the flexible scaling of Riak.

The documentation is also fantastic and the plugin availability pretty good.
I'd love to see Go support for capnproto RPC; I wish I had spare time.
The biggest thing is that its smaller over the wire.

however if schemas scare you (shame on you if they do) then msgpack might be a better choice.
Step 4 - Profit!
HappyFunCorp HappyWorld
I wonder why ATT didn't C & D Netflix as well? Netflix had that notice for ATT too, just like Verizon. AT & T screenshot from a few days ago: https://twitter.com/kunjanshah/status/473152026147557376
No, that's not the distinction I was drawing. The distinction I was drawing was between the following two scenarios:

(1) Someone wants to move a block of 50 shares, but there are only matching orders in the order book for 25 of those 50 shares. The seller splits his order so that the 25 shares move; then either the other 25 sit there until a matching order appears, or the seller changes his offer price for the other 25 shares so that there's a match.

An HFT in this scenario is no different from any other investor deciding whether or not to match an order in the order book; he just moves faster. And since in this scenario there are no other matching orders in the order book without the HFT, the HFT adds liquidity in this scenario.

(2) Someone wants to move a block of 50 shares. There is no matching order in the order computer in which they place their sell order, but there are matching orders in other computers. The HFT sees those other matching orders before other market players, and matches them. Then he places his own order in the computer where the original 50-share sell order is, and matches it so it executes.

In this scenario, the HFT adds no liquidity; all he does is shift the profit on the trade from other market players to himself, by taking advantage of the latency between different computers on which orders are placed. The trade would have happened anyway once the two computers reconciled their orders.
Edit: rewritten because I misunderstood your point.

Funny, I actually just added an edit to my post above that discusses this. Comcast adds interconnect capacity as needed. So in at least one way, it's actually easier this way, right? Just one peer to make sure they have capacity for.

But either way, it's Comcast's job to run a network that's optimized for its customers needs, not some abstract concept of fairness. And in this hypothetical, it's not on Netflix that streaming lots of content is not compatible with how Comcast happened to build its network. Comcast needs to fix its network so that its customers can get their data.
"you're possibly doing something wrong with your resume or interview"

i love this cult of personality viewpoint in favor of conformity.
Netflix has their own ISP.

Netflix's ISP and Verizon pay eachother nothing to exchange traffic (called peering).

Verizon wakes up one day and says, "Shit out of all the ISPs we peer with, Netflix and their ISP is responsible for 35% of our traffic, we have to do huge upgrades on the link to them, and they aren't paying us a dime"

That's my understanding of what is going on.
Thank you - there are still a few things to fix, so please be patient with us! How do you like it so far?