skysight-inc/HackerNews huggingface dataset:
Swiftify – Full Featured Objective-C to Swift Converter
We're proud to mention that Swiftify (http://objectivec2swift.com/) is featured on Product Hunt today!
https://www.producthunt.com/upcoming

We have just released the new version with lots of improvements:

• Comments are fully preserved!

• Simple ‪#‎define‬ statements are converted to "let" constants.

• Enumerations are fully supported.

• Objective-C blocks are converted to Swift closures.

• Class extensions (unnamed categories) are now supported.
> My co-founder took a salary for n months and I didn’t

This shouldn't be ignored however. If one founder has more immediate liquidity needs than the other, the non-salary-taking founder should receive some compensatory benefit for leaving cash in the company. The way that I like to resolve this is for the non-taking founder to essentially be paid in convertible notes or some other form of equity for the salary that they are giving up. In other words, founders split the initial equity pie equally, but then have the option of receiving cash, notes, or some mixture.

If I can figure out how to make interpolated equity work from a tax perspective, that would be the optimal solution. https://medium.com/this-time-is-different/interpolated-equit...
Reddit live coverage of shooting tragedy in CA
You aren't the least bit suspicious about a 98% election result?
Windows containers for rapid SQL instance provisioning
That translation is kind of why i don't like python list comprehensions though. It's often clearer as a for-loop or map/filter, cause the different predicates are broken out into separate lines, rather than lumped together in one long line.
They have added asteroids. And you can redirect them to Kerbin.

The moons are on rails though. They can't be moved.
Best thing I ever did for my sleep was to cover my eyes. An eye mask is fine, but I just have a really soft pillow I lay over my eyes and top of my head. As a teenager I worked overnights in the summer (10pm-8am), and I learned early on that no light equals good sleep.
"After the one year point you get 25% of your stock. Every month after that you get an ad­di­tional 1/36th of your total stock."

Shouldn't 1/36th be 1/48th? Because 25% has already been vested at the 1 year mark, i.e. 36*(1/48) + 25% = 1 = total stock.
That's not a bad thing fwiw. Rails is popular for a reason.
alientube will replace the (awful) youtube comments with reddit threads. Neatly presents a tabbed interface with each being a subreddit. It can get really useful.
Why? Without knowing the exact quantity of "low-level" it is hard to say, but if that is the price for effectively removing several hundred thousand cars from the road (which is the amount of fossil fuel pollution the ship would have created had it been oil-fired) I'm all for it.

This paranoia over radiation needs to end.
Not to diminish the importance of trusting founders, but what are some approaches to remove the need for trust in solving for this?

As a fan of the saying "trust but verify" and its derivations, while I feel trust is important, I hate leaving such critical things up to trust at the end of the day.
I liked your comment for the most part, slandering people on the internet is way too easy. On the other hand, it really defeats the purpose to say it's part of a "misguided pseudo-feminist agenda". The men you're voicing concern for, do you think they benefit more from a gender-centric discussion?
it doesn't seem fair to allow the better-off ones to buy additional influence

This sounds like an argument for multiple share classes. Founders not taking a salary get extra shares, but they're non-voting shares, perhaps?
The fact that it wasn't an ORM was a huge win. We effectively had to build a dynamic ORM that modeled our end user's data warehouses which is a very different problem than a normal web app's database access patterns.
Maybe I'm an FP snob but it would have been nice to mention the analogy to set builder notation (though lists aren't sets - maybe multisets or bags) to indicate the existence of higher abstraction; not just syntactic sugar on the for-loop.

However, from a practical point of view I think it is great introduction for procedural programmers to begin using list comprehensions.
Microgravity is like alcohol; it effects so many systems in your body that it's really difficult to pin down exactly what is causing problems where.

I imagine this question won't be seriously answered until we have an artificial gravity system.
precisely.

(author of the post)
And all = Android + Chrome (at least for now).

Since I'm not an Android user, I'm unable to confirm all > 2 scenarios. Someone should try and report back.
Thats all fine and good. I do that too all the time. But I don't then go to a website and say it.

I mean you want to spend time going here to write you stopped reading instead of reading a little further?
He's not giving it all at once. He announced that he plans to give 1-2% of his Facebook wealth per year.
Service Discovery for Docker Swarm with wagl
I've seen exactly the same phenomenon in racing/track day driving. Most of the crashes I've seen happen in that period between when someone has enough skill/experience to go fast, but not enough to recover from bad situations at speed. So a lot of big crashes happen in the intermediate to newly-minted advanced drivers.

I'm definitely going to pick up that book.
Unless there's a really good reason to not split it equal, I think it's better if both founders have the same amount of equity. Otherwise you could create unnecessary tension which is the last thing you want at that early stage.
The article does (quietly) mention that the sea level rise in the Marshall is due to changes in the trade winds. They also mention that they are not sure of the relationship between global warming and these trade wind changes. Over the last century the Global Mean Sea Level (GMSL) has risen 4-8 inches.

The Marshall Islanders would be better served if the Paris meeting had been called off, and the millions that were spent for food, fuel, lodging, and security could be sent to keep their islands from capsizing ;-) not to mention the savings in CO2...
Ah so scheme then. Fair enough, scheme is probably the most worthy of the title. It's both true to McCarthys mathmatical spirit, and he himself stated that Steele is probably the closest thing to a benevolent dictator in the lisp world.
Though they are linked, see e.g. http://rhythmus.be/md2indd/#fn2 — it’s Pandoc after all, which creates those ;-)

The wide margins are due to typography best practices, which dictates between ~50 and 70 characters on a line. One could of course blow up font-size, as is in fashion, since Medium. But then there are too few lines above the fold.

But you’re entirely correct as regards marginal notes. Unfortunately, they’re not trivially implemented, since you’d need to swap end-notes to side-notes relative to the viewport, cq. media query breakpoint, but while that involves DOM manipulation, it cannot be done with CSS alone. Let alone dealing with collision detection for stacking longer footnotes vertically…
I doubt that projection of sovereignty is going to be a problem anytime soon...
Here's another very nice podcast (changelog) on curl with Daniel Stenberg - http://5by5.tv/changelog/153

Another thing I really liked is the thanks list - http://curl.haxx.se/docs/thanks.html
How Plastic Are Values?
Most Popular Products Ordered as Gifts on Amazon
I've never been party to the divorce process in any way. I was not aware that "quotes from a divorce filing... can and usually do contain pretty much anything the person filing it wants to say, with no obligation to prove any of it to even the low standard required in civil proceedings much less the reasonable doubt standard required under criminal law."

This is very interesting to me, as I've seen quotes from divorce filings used as evidence in wrongdoing (online, not in a court). I wonder where the experience for "as anyone knows" comes from. Is this your personal experience and/or that of your friends talking?

Just sincerely wondering. It's good to know things like this.
In my experience, the readability of Java is not that great, perhaps due to verbosity. Especially when you want to create a DSL with some type-safety guarantees.

Wrapping a head around a factory that is configured by fluent-like-api, with interfaces scattered around 10 different files usually took me longer than understanding idiomatic clojure.

When I was working in clojure, only thing I was really missing was the type-checking. But when I work in java, i miss the REPL much more, than i missed type-checking in clojure :)
Ray Bradbury on writing SF, 2003
Probably just much easier to drop Thorium reactors onboard in armored cargo containers. No meltdown risk, no proliferation risk, easy refueling, zero carbon impact.

You could even provide power to local ports if necessary during humanitarian efforts. Or sell power to the local utility while docked and get a check in the mail.

EDIT: Are you a Thorium startup reading this on HN? GO AFTER THIS MARKET.
I've been reviewing Python this week and this was a great brush up. Thanks!
Well, in that case I'm just going to invent a TCP-over-cat-pictures VPN. Encode all the TCP packets in the subtle details of the fur and package everything up as innocent-looking HTTP GET requests.

This realistically shouldn't be too hard to do with obfsproxy's already-built framework.
I would agree with you in this way: Misguided pseudo-activists using slander are a problem on the Internet, on both ends of the political spectrum and of any gender.
Vastly simpler to run Linux in Virtualbox and pass the USB controller for the SD card through.
"Sadly they couldn't articulate any actual problems with Java..."

The first thing they said about Go applies to Java: "Go felt promising but too low level for us to express our query language productively."

You certainly can write that sort of code in Java, as evidenced by the fact that many people have and continue to. But you can get a very big win on that sort of code in a lot of other languages, especially if you're resource-constrained.
No, I don't. My comments apply to any and all crimes; however, this particular crime and that particular agenda seem to be especially popular with the slanderists right now.
After you've been writing it for a while, reading Lisp / Clojure at a glance is not nearly as scary as it seems at first. You get used to it, and that one-liner becomes a paragon of elegant simplicity rather than a strange collection of symbols.

It's just a different mode of scanning than what we've become accustomed to by working in mainly ALGOL-derived languages. With practice, it becomes second nature (and ALGOLs seem needlessly verbose by comparison :)
Mac App Store Is Rotting
I don't see that many bot-generated comments anymore on YouTube. The genuine user-generated comments are among the lowest-quality on any site that I frequent, but I suspect there isn't much that Google can do about that.
> Sometimes a programming design pattern becomes common enough to warrant its own special syntax. Python’s list comprehensions are a prime example of such a syntactic sugar.

I disagree with this thesis, although the post is otherwise a very nice guide to list comprehensions. Special syntax for specific types indicates a failure of the language to be generic enough.

List comprehensions anoint lists as a special thing. You don't get to play with list comprehensions, unless you're using the type that the language has decided to let you play with. If you decide to use a different type for some reason, you... can't.

map and filter can be part of a typeclass/interface/protocol (in Python these would just be informal), so you can use them on arbitrary types. If you want to switch your list type, it should just work.

I write a lot of Swift, and I'm constantly frustrated that optional chaining (?.) and exceptions are special things. I can't implement ?. for my type (say, a Result). Only the language creators can use it. Somewhat confusingly, ?? is a thing I can implement.

In Python's case, I think that list comprehensions are necessary because the language's support for first-class closures is poor.
A serial adapter is great if you have one. But for the average person who may have picked up their first Pi free with a magazine is highly unlikely to have one. For most people changing two files is a pretty quick, safe and easy way to get wireless networking going with minimal extra hardware. Although you could easily remount the SD card and view the log files if you needed.
The click through, and even view rates for such tweets will be abismal.
Jack is Back
Our tax money is helping students get an education.

Don't you mean some students get an education? They openly discriminate.

As far as the quality of the "education" goes. I will tentatively give you liberal arts, why not. However with STEM it seems way less legitimate. How many times have we had to stop the evangelical brand of "Science" from getting into public schools? I agree with you that the article didn't really have much to do with the daycare thing, but the whole tax funded religion thing did make me pause.
I guess this is where diversity is needed.

If they have an African-American engineer working on the product, they would have detected this during development.
Also didn't -1, although I did downvote your personal snark toward rday's response.

There have been a number of recent posts moving in this direction, where prominent investors have argued that the line between founder and early employee is blurrier than most people think it is, and so employees should get more equity than they currently do, with fewer restrictions. See eg:

http://blog.samaltman.com/employee-equity

http://blog.detour.com/introducing-progressive-equity/

The current founder/employee divide is largely a relic of the days where, to build a tech startup, first you had to convince a bunch of investors to give you $10M and then you hired a team with that. In that system, the founders were the ones who convinced the investors, and the employees were the ones who were hired with investor money.

But capital requirements for startups have gone way down since then. Now, the logical divide is before vs. after product/market fit. If you join BPMF, you're a founder - sometimes (oftentimes?) the title and equity don't go along with that, but that's because there are a lot of suckers out there who don't actually know how the startup game works. If you join APMF, you're an employee. After all, a founder's entire job is to identify an unmet need in the marketplace and devise a strategy for solving it, and until you get PMF you haven't really done that.

The complication is that startups BPMF shouldn't be hiring at all, but few of them realize that, and even fewer of them can check their egos enough to realize that having people do your bidding won't actually help you find a viable business model faster, it just makes pivoting more difficult. There've been tweets from Sam Altman [1], comments from Paul Buchheit [2], essays from Paul Graham [3 - "If you went out and hired 15 people before you even knew what you were building, you've created a broken company."], and video interviews with Marc Andreesen that all say that, but still, a seemingly large fraction of entrepreneurs don't listen.

[1] https://twitter.com/sama/status/667852581968805888

[2] https://news.ycombinator.com/item?id=8720304

[3] http://www.paulgraham.com/pinch.html
oh for f sakes.....

Do you understand what little effect 3 mile island had versus what the media affect was? Do you get that they put out a movie with Jane Fonda that was one of the nails in the nuclear coffin because of that little leak? Do you get that much radioactive water released was enough to trigger the paranoia?

I would rather they never built the damn ship since it is just another "look at them dumping radioactive waste" event.

We need nuclear, we don't need political pride projects.
Maybe a physicist could help me out: the idea here of treating space as a simple discrete network, and particles just being emergent behavior sounds very interesting. But doesn't this violate Bell's Theorem, that no local hidden variables could completely explain quantum mechanics?
"North Korea - 1948 to present day"

Not real communism.

"Of course anyone can go down the path of "well that wasn't real communism""

Because it isn't. This isn't a "No True Scotsman" thing; North Korea is not in any way, shape, or form Communist. It is a dictatorship led by a despot. Nothing more.
Being below sea level hasn't particularly bothered the Dutch. Half of Holland is at least a meter below sea level.

Of course, in the 1200's when they started, they didn't have climate change conferences and carbon credits.
Doesn't matter really. Imagine the late night pundits, will they ask that question? Nope, neither side would.
One interesting thing to look at is the possible losses via a little game theory.

No Cliff - Risk is that one founder sucks for a year and then takes some equity (2, 3%? How much vested in the first year anyway). If company goes for billions, you make a few million less - basically a rounding error.

Cliff - Risk is the controlling founder fires the non-controlling founder on day 364, but company still goes on to succeed. Loss is the non-controlling founder loses a year of his life where he worked for equity that was stripped from him.
I read this article yesterday because I am having a language choice issue, between Ruby and Clojure.

I am in my (almost) mid 60s, and except for being on retainer for advice I don't really accept consulting work anymore. I have a long list of projects that I want to do, mostly open source, and settling on one language for a few years would make things easier.

Clojure and Ruby both support DSL development very well which is important to me and both play very well with Java (via JRuby). I am starting to ask myself though if I wouldn't just be better off with Java 8, even without good support for writing DSLs. I have mostly stopped using Haskell and Scala.

When I was much younger I totally enjoyed learning and using many programming languages but as I get older I feel more like just getting stuff done, especially since I dedicate much less time now to technical pursuits. So in a sense I am facing roughly the same type of decision as the Metabase people.
I’ve seen tons of spam, "buy viagra here", and I’ve seen hundreds of videos that have just an empty image, no sound, and a full-screen annotation (and a description) that link to another video site.
Is there something similar to this I can run on a unix / OS X environment? This looks really cool, but I don't have access to a Windows machine.
Each cycle calculates ridiculously detailed things like the temperature of the rear left femur of a water buffalo passing through.
Stockholm: Europe's Fastest Growing City
"Are you suggesting a leaderless society cannot exist or merely that it is hard to achieve?"

At the end of the day, someone has to be the one to make the call to press the button.
Well, there's more to a successful company than this. Simply being an established company can have benefits that outweigh this, perhaps very strongly so in Korean culture.
This is slightly off-topic, but I hope moxie (or an employee of WhisperSystems - nothing official needed) wouldn't mind chiming in:

Since I loved the fact that I can run my own TextSecure server, I'm wondering why Signal does not run a similar model?

I'm curious which considerations went into this decision.
It records where you click, and when.

"Accidentally" logging keys is possible, as Google can modify the content of the JS on request – for example, in case of being served an NSL, Google can be forced to modify the JS to log that.
I propose that when we finally get thorium working, they should call them "Thorium Batteries" and avoid the word reactor or nuclear all together.

I think the sail technology is much nearer term, but thorium will probably be the long-term. Helps the space industry if I understand the waste product correctly.
It's great to see such an "exotic" programming language like Clojure getting some serious traction. And by exotic I mean a language that stands out from the imperative or object-oriented crowd.

I like how Clojure challenges established paradigms with a surprisingly mature ecosystem.

Being a hosted language on the JVM has its pros and cons, but the cleverness and pragmatism of Rich Hickey (creator of Clojure) really stands out. He decided to go with an industry strong, battle-tested environment, effectively standing on the shoulders of giants, while providing a lot of fresh ideas.

Also, the fact of being a Lisp can be seen from different angles: for some it's lots of weirdly nested parentheses, for others it has a beautifully simple, yet extremely powerful and expressive syntax.

But don't let those aspects fool you. Once you scratch a little bit the surface, you will see the extraordinary power of its persistent data structures. For those who don't know what persistent data structures are: in Clojure, oversimplifying, there is no mutation to data structures. Every time you "add" or "remove" a key from a hash map, you are actually creating a copy of it. And in order to make this efficient, you need special data structures with "superpowers", that are not actually creating a whole copy of themselves, but rather modify atomically only a part (hint: trees).

And having those data structures leads to the next big feature of Clojure: concurrency. Not only does Clojure provide a mechanism to dispatch thread-like constructs (core.async), but the whole language is designed around supporting concurrency.

I also want to add that what really surprised me about Clojure is its thriving community and smart people using it. I am pretty sure that if you want to hire great, highly motivated talent, going Clojure will help you with that.
Inkle is an amazing dev studio. If you liked 80 days, you have to give their Sorcery! series a shot.
Amazon wants augmented reality to be headset-free
Maybe the better metric is usefulness to the reader. A suitable algorithm can recognize things like "N.N. smells", but so can any user. The current algorithms are very effective at dealing with "XY is gay" and "Buy herbal viagra"; you don't see much of that.

The really insidious stuff is spin doctors for companies and nations. So far, Wikipedia does a very poor job with geopolitical conflicts, and competing financial interests are not taken seriously enough either.
Congratulations on scoring points with the choir. Now would you care to say something substantive?
How to Choose the Best WordPress Theme for Your Business
> "This is significant because it calls into question the plausibility and achieveability of any kind of transition to Communism."

It's clear now this is the core of your argument, so let's explore possible transitions further.

First of all, let's examine direct democracy. Direct democracy is closer to communism than any of the attempts (by nation states) that have been given its name. In the age of the Internet, direct democracy is easier than ever to organise. Effectively, you need two things:

1. An inclusive, informative news media.

2. A way to collect votes.

Are two things above hard to achieve? Depends on who you ask, but I'd say they were more than achievable.

How does direct democracy pave the way for communism? Firstly, it begins the process of breaking down the power structures that currently exist, and provides an alternative means of organising society that can fill the power vacuum. Secondly, it gets people used to the balance between the individual and the collective. We can achieve great things when we work together, but that should not come through forceful means, the rights of the individual to choose their own path should still be valued.

Thoughts?