skysight-inc/HackerNews huggingface dataset:
I'm a little disappointed with the scope of this writeup. I just finished my first full Swift app this weekend, and by far, the most bothersome part was interacting with the C APIs (CoreMedia, ImageIO, etc.) I would have loved to see more examples of interacting with framework objects like CGImageSources, CMSampleBuffers, etc.

For example, CGImageSourceCreateWithURL() returns an Unmanaged<CGImageSource>!. You can't pass that object to CGImageSourceCreateImageAtIndex(), because it expects a CGImageSource!. Instead, you have to call takeUnretainedValue() on the Unmanaged to extract the raw pointer. Not terribly difficult, just mildly annoying and not well documented. In C/ObjC, you'd just take the return value of the first function and pass it right into the second.

Another example: CMSampleBufferGetImageBuffer() returns a CVImageBuffer!. And CVPixelBufferLockBaseAddress() takes a CVPixelBuffer! as its argument. In C/ObjC, CVPixelBufferRef is typedef'd to CVImageBufferRef, but that doesn't carry over in Swift. I tried to figure out the opaque-pointer voodoo required to convert from one to the other, and eventually gave up, wrote the function in Objective-C, and moved on.

Swift is shaping up to be an excellent language, but at this point, the casting/wrapping/unwrapping hurdles make it difficult for newcomers and experienced developers alike to take advantage of Apple's 15+ year corpus of powerful APIs.
It's not all about space saving. You can get soup in cuboid packs, but I don't think it keeps as well, plus it's only good for smooth-textured soups that you can pour. If you have any kind of chunky or textured soup (which lots of people like), then opening it means unfolding/cutting the whole top of the container, which has a higher risk of spillage and requires more hand strength (for a kitchen scissors vs. a can opener). You do see it more commonly for things like chicken stock or other 'base' ingredients for cooking at scale.

Space saving matters a lot during shipping, on shelves not so much. The first job I ever had was stacking shelves in a supermarket as a teenager and I was so bored I would pass the time by calculating the volumes that fit on palette, on display and so on :) 25 years later not much has changed - most supermarkets still stack products 2 high and 2 deep or 1 high and 3 deep (depending on how stackable the product is), not least to limit the potential for mess. Smaller volumes usually have higher margins, so what's economically efficient for the supermarket isn't necessarily what's efficient in terms of volume.
These tend to fizz out. It would be good to build the coalition of relevant prominent backers first, before sponsoring it, or get some enthusiastic core group of people to build it up.
Be VERY careful with this sort of advice: "Infrequent user actions can lead to complex server actions."

Malicious users use that knowledge to craft disproportionally powerful DOS attacks. Your site is as vulnerable as the most CPU-expensive feature.

At the very least, rate limit those features.
This is something we at Radius Networks are trying to figure out. We've been committed to open source for a while and wanted to get the proposal published -- but are actively researching how to properly establish this spec.

Do you have examples of organizations or communities that have good answers to your questions?
Cadhackathon.com domain for sale
> Step 1: Order a DNS instance from Digital Ocean.

This also feels lacking to me. How does one order a DNS instance from DO? I can tell from the icon that it has something to do with CentOS but I don't see any sort of DNS server under their available applications or images for a one-click install.
Someone should make a dating site where the men can't send the first message.
After the success of the first AEC Hackathon, I bought the domain cadhackathon.com. CAD software providers can increase exposure by setting up hackathons for developers using their API.
This is a great domain to promote hackathons for CAD industry professionals and software developers (users and developers with AutoCAD, Rhino, Catia etc)
> yet it could only take 5 people instead of 7

And both of them usually only carry one, the driver. That's the main issue.
Minor MacBook Pro Retina update possible Tuesday – report
> barely anything to lose

It adds complexity to your setup and server side load. I would not call that barely anything.
YoAuth
Yes, it really does. Saltstack (with Salt Cloud) does cloud orchestration, configuration management, provisioning, works with containers, works with cloud providers
Thanks for the load test, HN! :) Several hundred users spinning up instances of apps yet the server hasn't broken a sweat...

We still need your help to get this into production. Please check out the crowdfunding campaign: http://igg.me/at/sandstorm
SSLS.com “upstream provider” undergoing “unscheduled maintenance”
Sorry VikingCoder, I don't know where you got Bing Engineer from. We are the furthest thing away from that. We don't even know a single person from any of the Tech companies.

And what benefit could we gain from lying about the revenue figures? A number of websites that are big on social traffic (I don't want to name names but you can figure them out from googling) make similar figures because of the size of their traffic.

The reason I didn't share the urls of our site is to protect our privacy. We've found other solutions to monetize but this is just to warn fellow HNers about the reality of the situation.
We can't get in the MAS because we can't comply with the rules, but the ease of telling somebody to go purchase an app from a store where they already have their credit card on file is huge. I run a custom version of Potion Store, so it's only the cost of a Linode plus credit card processing. But I see most other indie devs who sell on their own use FastSpring [or similar] which charges about 10%.
The word of mouth value of telling a non-techie to go install such and such app and have it be just like their phone is huge. They don't have to figure out what a DMG, where it went after they installed it. Etc.
And, of course, since it's in relatively small letters on that page, it is probably valuable to remind folks: Sandstorm is also being crowdfunded! [1] I've gone ahead and supported it, and I hope that you will too: Sandstorm is an application that I really want to run on my own machines, and giving Kenton et al the resources to develop it seems like a big step forward in building a truly /open/ cloud environment.

[1] https://www.indiegogo.com/projects/sandstorm-io-personal-clo...
Got it. So Terraform is not a first on "updates existing resources" but on having "execution plan" to know what it would do before doing it.

(I also was confused by the original wording. Thanks for clarifying.)
Ahh, I see the confusion now, sorry. Thanks, edited for clarity.
Surely value going elsewhere is a Good Thing. There are few places for value created by investment to go if not back to Capital, and especially if you cannot see it going in balance sheets, and that's usually to wider society.

Investment in trains/railroads in the 19C seems a good example. Perhaps the first eyrie canal almost single handed my built the wealth of the USA - having all that return to the Mayor of NY might not be the best idea.

I think we can all we the potential value of many of the start ups on the scene - and I think it is a positive that it is hard for them to capture all that value.
In short, let's leave politics out of this kind of stuff UNLESS the candidate is demonstrably in one of the outer circles of "unacceptable viewpoints".

It's deeply unsettling that you refer to beliefs and viewpoints instead of speech or actions, and moreover that a person's political views are only to be scrutinized if they're minority views.

http://en.wikipedia.org/wiki/Thoughtcrime
For that amount of money, call a lawyer and go through the arbitration process.
Hey, if you can't argue on a HN thread, when can you argue? In fairness it looks like protection for unregistered trade marks appears to differ on a state-by-state basis so the position really isn't that clear. Plus mere use appears to be sufficient to get a modicum of protection but on a very limited basis.
The primary issue with the question is the "Why" part. This would imply that there was some reason if there wasn't. This implies some form of soft historicism, or some agency.

There is not why, there is only there is/not. Why would make sense in some novel case statements.
I don't spend a lot of time thinking about it.

But from time to time, my wife asks me "What do you need to be learning now to prepare yourself for the next five years?" At the moment, my answer is "Android".
For the record not every site does these type of experiments. I've been programming websites since the 90s and I've never experimented on my users like this. The most I've done is swap in and out user interface features to see which one has a better response in a typical A/B test. It's not the same as telling a lie to a user no matter how you split hairs about it. They're overstating their case because they happen to be in the business of matching people up.
Build your own peer-to-peer chat app using WebRTC DataChannel API and WebSockets
StoryBricks, Hearthstone dev, invents stories that tell themselves
Show HN: Remote controlled webcam by chat (Pi and errbot)
So the idea is that in an efficient market, all the information in the market is already factored into the actual price of the stock. If the market has rich information, then it's very good at telling you what companies are good, but that doesn't help you actually invest in them -- because that information is already in the price of the stock.

In other words, when you're buying a stock, you don't actually care about whether the company is in an absolute sense good or bad, you care about whether it's relatively better or worse than what other investors think it is. In a perfectly efficient market, the answer is basically that it's always exactly as good as other investors think it is. Then your returns are based on random unpredictable shocks and the total trend of the market.

In a truly perfect market, it wouldn't matter what you invested in -- everything would have the same return. Your only real choice would be to invest narrowly or broadly, for risk/reward.
You can't compare upvote numbers (or even upvote/downvote ratios) meaningfully between sites, because their communities aren't the same. Your proposed scenario tells us nothing beyond pure numbers -- 100 people voted on one, 10 on the other. You can't say anything comparative. You certainly can't speak to strength of intent.
Your privacy is worth $125k, in a story where you'd be the plucky underdogs? You're making serious allegations, if you're not willing to go legal as I suggested above then you should be willing to back them up.
Google minifies HTML on basically all its properties. It's probably about a 50% savings in bytes, which translates to (on my Comcast connection) about 250ms in network latency saved. Multiply out by rough estimates on queries/day and it saves a human lifetime every 2 days.

Repeated experiments - by Google, Amazon, and many smaller websites - have shown that lower latency directly translates to higher conversion rates, so I wouldn't be surprised if this results in billions of dollars of extra commerce, and even a small website would get noticeably higher revenue if they did this. Google also ranks faster websites higher, and so you get an SEO benefit as well.
Families had fun with Nodebots
Nice article! Following your steps it just took me less than 20 minutes to decode my wireless socket and control it via arduino.

Many thanks!
"You could lose $125,000 if you use Google." -Anonymous poster with no evidence

That sounds like the kind of thing someone from Microsoft would be happy to post.

I find it hard to believe that you could successfully earn $125,000 in a matter of a few days with a new website, and yet not know A) how to place ads correctly, or B) that your account could be frozen. I guess I'm just in the wrong line of work. :)

I'm glad you've found a solution for yourself, but I still find your story hard to believe. Extraordinary claims require extraordinary proof, and all that.
Every time I have seen someone "buy electricity in bulk" that meant that they had time of day pricing (payed more during the day and less at night). Perhaps smelters don't take advantage of the cheaper nighttime rates but I would expect that many industries do.
The `djangorestframework-composed-permissions` package for DRF gets pretty close to handling this situation effectively. Basically roles and permissions arbitrarily composable with boolean expressions.

Although you can model permission hierarchies, I think there are enough corner cases that it's worthwhile to declare permissions as explicitly as conveniently possible.

API Docs: https://djangorestframework-composed-permissions.readthedocs...
That exists: https://help.github.com/articles/searching-issues#involves
Thanks for sharing. I also do mac development, and I have one app today + another in the pipeline. My current App, Maxel (http://maxelapp.com/) sells at a 8 bucks (for a download accelerator, pretty busy market), which I don't think I could pull that off on mobile.

Now that's just a utility. Business type apps can command $40+ if they're good, and the top sellers are often high-priced.
This phenomenon is actually quite common. In retail, it's called the customer funnel: http://en.wikipedia.org/wiki/Purchase_funnel. The idea is you want to capture as much awareness with something really simple, usually it's a brand name, e.g. Apple. When customers express more interest, by coming in Apple store/website, they are presented with more design/technical details. Finally, only when they show purchase intent, they are shown price/configuration/delivery options.
Your argument essentially boils down to 'anyone great at X should (eventually) also be great at Y'. I don't believe that and it seems like a difficult thing to persuade you of -- at least right now.

Also, think about the time component. Even if your viewpoint were true, there isn't always time in a startup to become proficient in a skill you don't yet have. If it were that easy, startups would be a lot simpler.
Digital-age detective work can’t crack Brooklyn Bridge caper
I've been using PIA ( https://www.privateinternetaccess.com/ ) for more than an year and it has never failed me. High bandwidth & availiblity
I don't have a Mac, yet I maintain an OS X port of the TXR language. I use a VirtualBox image running 10.7.3 (Lion); host OS is Windows 7, currently. Initially, an interested user was doing the port by himself. To do it right and maintain it going forward, I grabbed a VM and took over.

Every time I make a release, I build seven binary images (all Intel): Windows (via MinGW and Cygwin), Ubuntu, Debian, Solaris, FreeBSD, and OS X 7.1.3. The regression tests have to pass on all of them. Only the Win and Deb are rolled using real machines; the rest are VM's.
Is it any worse than taking control of a surname? Every MacDonald is now indelibly linked to awful burgers. At least rocket engines don't feel shame.
Emotional Engineering Vs Software Engineering (2011)
Offtopic but i guess you, hashicorp guys, would like to know; there is a typo on the geometric animation. It says "Build, Combine, and Launch Infrastucture_", should be Infrastructure.
>It's turning "mobile first" into "mobile only"

Yeah, it is definitely whacked for desktops, and I know it's supposed to be somehow good for mobile, but I don't get that either. What's the theory behind it improving the mobile experience? Is it supposed to save bandwidth or something? Because I'm not sure if it's loading the content on scroll or preloading all and merely animating on scroll.

Either way, bandwidth is becoming less of a problem, so I can't see why we'd be launching new design trends to address it.
Dollar Tree to buy Family Dollar for $8.5B
Or to anything that is "kind of a biggie" (not just deletes) in VPC networking:
- AttachInternetGateway / DeleteInternetGateway / DeleteCustomerGateway
- AssociateRouteTable / DeleteRoute / DeleteRouteTable / CreateRoute / DisassociateRouteTable
- ReplaceNetworkAclAssociation
- And all the "Delete"s
Even though your particular split between upfront + recurring costs is different than in my example, it's still in the spirit of sustainability. I honestly have no idea how the economics pan out if you had $50 app and $X yearly upgrade (or is it $X for 1yr of updates?) compared to, say, $20 each 1.5yrs. But in both cases, I think you'll have a chance of building something that can last.

Interesting stats about the lifetime upgrades - thanks for providing those. I guess it works as long as all of your users don't buy it (which means your recurring revenue drops to 0 at some point and you're back to square one).
Because that gives money to encourage more DRM.
Most developers already have a build system to concatenate and minify javascript and css files, plugging in the html minifier is straight-forward and doesn't add any additional complexity really. And since the minification is done at build time on a build machine (not request time on a production server), there is no impact on server side load.
F! I was working on the same thing! Nice work!
It's not so much about invalid HTML as it is about superset of HTML. I don't like it either but certain constructs seem hard to implement otherwise. Changing attribute value is easy within HTML boundaries but anything related to presence of attribute and they have no choice but to wrap it somehow (they could wrap it with other attributes, of course, but that would probably be too verbose).
Economists have a tendency to overlook data that is difficult to quantify. In the short term, a real estate agent may make more money by rushing a sale, but on a macro level, he does himself a disservice. Real estate agents need to become your friend and engender loyalty so that you'll recommend them and so that you'll use them again when you sell your new house. Every hour spent with a client and every dollar knocked off the final price is an investment in a long-term relationship that has the potential to net many more sales down the road. Protecting that stream of future work is much more important than rushing sales for short-term gain.
Why the Zillow-Trulia Merger Is Meaningless for Real Estate Innovation
I found your naming of urban gardening as "faux-environmentalism" as extremely offensive. I have checked you PDF source and it basically says that, if urban gardeners use the same methods as industrial agribusiness producers, the transport part of CO2-footprint is negligible. Which of course is technically correct, but deceptively irrelevant.

You see, is like a paper claiming that "bikes are more pollutant than cars". Then you read the article and the fine print says their working assumption is that cyclist will jerry-rig their bikes with diesel motors, effectively turning those in DIY motorcycles. No surprise that properly engineered cars manufactured in an assembly line with QA controls comes up way ahead.

That being said, your second source raises some very real concerns, like the need to eat seasonally and not to try to grow exotic stuff in your back yard.

All in all, I would qualify your original statement and say that urban gardening can turn into a form of cargo cult environmentalism, if and when the person implementing it does so without performing their due diligence before putting the first seeds on the ground.
Even your strongest Android pattern lock is worse than a 3-letter ASCII password
Google and Android Are Not the Same and That’s a Good Thing
Because if you are a reasonable person, then you realize crucifying a guy for having a consensus, mainstream opinion is absurd. It's revisionist, retro-active punishing from the political losers here. A majority of California agreed with him.

Not only that, but targeting Mozilla but ignoring JavaScript is the absolute height of hypocrisy and hollowless grandstanding, done by people that have a financial stake in JavaScript, but not Mozilla.

In short, fuck these people.
It feels like a faster complier is still a ways out.

That's really too bad.
For adding infix to s-exps, "sweet expressions" are a much cleaner approach: http://www.dwheeler.com/readable/
Yeap. An example in Python: http://eli.thegreenplace.net/2009/11/28/python-internals-wor...
But how is iBeacon proprietary anyway? It's just a static BLE advertisment of a UUID. Anyone can do that.
This is pretty awesome. My question is how well does this integrate with and already setup infrastructure? Or would I have to recreate the system to get going with Terraform?
I think that 1/8 sounds amazing actually, let's look at some totally theoretical and extremely simple numbers (basically all we can work with in this case without doing some significant legwork to try and sniff out the actual investments).

To keep it simple let's invest $100 in each of those 40 companies. He defines success as companies that have grown at least 100x over. We know 5 companies have hit that mark and know basically nothing about the other 35 that we'll just consider failures (even though they might only be 10x or 50x[a success in other areas for sure]).

Failed$ = ($100x)35
x is the multiplier on that money across all 35 companies. Perhaps he lost it all and it's 0, maybe it's slightly above 1, who knows. Regardless, in this totally mad eup case the total potential loss (ignoring potential to be invested elsewhere) is $3,500 or 87.5% of initial outlay.

The remainder using the simple information and interpretation available to us looks like this:

Success$ = ($100* 100) * 5 = $50,000

That is 12.5x the initial outlay of $4,000. Making 12.5x your outlay in presumably only a handful of years is massive. Obviously growth doesn't mean exactly 100X, but I just wanted to show that a handful of hits (and I think 5/40 is bigger than a handful) can easily pay for everything else and more.

Reread the article, this is only 2-3.5 years of duration. That seems insanely quick for these kinds of results.
Whats the difference from oAuth?
Google did it as well with Go![1]

[1] http://en.wikipedia.org/wiki/Go!_%28programming_language%29
Is this really still the case?
Nice backhanded complement, the linked document explicitly mentions the automatic source code migration tool to address backwards compatability with the new Scala version (which, in terms of breaking changes [new collections] won't be coming until 2017 at the earliest).

re: linking Scala to C++, Stroustrup can only dream of the linked roadmap for C++
I think that attitude is great. I always move the code/libs forward alongside write it, and I a solo
developer and code in several languages and maintain code.

This work great for example, with obj-c where things are moving fast and all the changes in some ways cut the size of the code.

In fact, moving the code forward is very cheap in contrast to stick for too long then eventually the pain is too hard.

I learn this when try to move a large codebase from .NET 1 to 2, in one single shoot. Months on this (and back them we are a team).

HOWEVER, the idea is mark deprecated things, build bridges and do something like GO that could rewrite/upgrade itself.
Airbnb Partners with Concur for Business Travel
> it's still unacceptable for minification to take more than 1-2 minutes. This is something we could try fixing in the future.

Wow. Yes. I would even say taking more than a single second is pretty unacceptable. There's a bad algorithm in there somewhere...
Ask HN: What you wish you'd known
Compiling resources to share with developers who are just starting out or people interested in learning about programming and computer science.

So, the question would be:

What tools/ideas/articles/books/#{anything} do you wish you had known/had/been told etc. when you were first starting out?

Looking to distill all I can, so even a helpful maxim that changed how you think about programming could be really helpful.

Thanks all!