skysight-inc/HackerNews huggingface dataset:
I think that's how interfaces work. You define an interface by the methods a receiver has (a struct complying to the ReadCloser interface for example must implement Read() and Close()). While one has to get used to it, it works very nicely in practice.
The Buttermilk Problem: When reason goes up against self-worth
The

first,_ = list

syntax also works when you're reading the two first items:

first,second,_ = list
> Go doesn't have an implicit "this" pointer.

You want to say Go doesn't have an explicit "this" pointer.
This article makes no mention of flake8: http://flake8.readthedocs.org/en/2.0/

which is the up-to-date python style checker built on top of pep8 and pyflakes.
Ah, thanks for providing the extra perspective. That sounds more useful. :)
Dear Business Guys: You don't need us to launch your startup.
I always thought of multimethods as something that dispatches based on both static (where available) and dynamic type information. But you may be right that PL researchers don't see it that way.
There are many ways to implement OO.

Self, JavaScript, CLOS, Go, BETA, Clojure Protocols, Type Classes, COM and probably quite a few others.

What most mainstream developers know, is not the only way.
The coin is issued by a central entity who has kept 50% of it. This makes people suspicious. Bitcoin has no central issuing entity, thus no one person to 'get rich quick' in some scam type operation.
Ha. This is something I made. It never generated as much traction as my Pure CSS3 Lightsaber Checkboxes [1], but if you wait until the end of the crawl, you can take lightsabers and swing them around and hit HTML elements. Pretty neat demo, but, overall, completely useless.

The code's also on GitHub [2]. It uses HTML5, CSS3, and Box2dJS.

[1] https://github.com/scotch-io/Pure-CSS3-Star-Wars-Lightsaber-...

[2] https://github.com/scotch-io/Star-Wars-Attack-of-the-DOM
Feature-testing recommendations for C++
Does the customer understand what they are asking for?

Can they afford it?
Why you should use input validation
JavaScript and Self don't have classes, but they do have inheritance.
Position: sticky might be the next best thing
At least you're not informing on other non-Gmail users.

http://betabeat.com/2011/12/in-which-eben-moglen-like-legit-...
C++ Papers for Chicago: Part 1 - Concurrency
Good example for the weaknesses of the 'formally verified' sale strategy. It may be formally correct, but the code is full of weaknesses, like no NULL checks, no out of bounds checks, one endless loop based on pointer arithmetic..

good and fast c code looks not like this.
How to do anything (including a successful startup)
Or `Array.wrap` if you're using Rails.
You'd better post this to the monthly freelancer topic. If every freelancer did this, it can get out of hand pretty quickly.
Handel's Messiah dates to 1741, Beethoven's 9th to 1824. Almost certainly neither one was copyrighted by the composer, or his employer(s), as a work for hire.

Those two pieces (and other famous classical works) may not have been a product of participatory music, but they certainly were not products of some exactingly strict copyright regime, either.

See: http://papers.ssrn.com/sol3/papers.cfm?abstract_id=1336802

In fact, copyright appears to have had the wrong effect on classical music composers: it caused them to coast, to live from their monopoly rents. See:

http://books.google.com/books?id=8-4catWPy84C&pg=PA36&lpg=PA...
This is true, but outside of the US, China, and probably Europe, few countries' governments have the money to do this or the priorities to do it.
The fraud detective
It's a political decision, but sometimes this is how the political process works best. For better or worse our political process pushes towards extreme edges during the primaries as candidates have to play to the base. Getting appointed officials through congressional approval forces the people actually doing the work to be closer to the center of the country's political thought.
Self has delegation. Conflating delegation and inheritance is no better than conflating embedding and inheritance.
A professor of the Vienna University of Technology lets his students read this book as homework - mandatory. I hope more students in the world will read the book.
Which is the same thing that would happen in Canada or any European country.
I agree with the lack of depth, but let's not take it too far. (Sorry, can't recall the names) The farther was definitely a "good person" who didn't share the views with or understand the protagonist. Their conflict goes on for many chapters, even if only in short bursts. The girl also left because she disagreed about the importance of resisting, even though she was also a "good person".
Yes, better report to the authorities before you go waving a huge laser at the moon. In my home country, owning a laser this big requires a permit in the first place. You would definitely need to report it to the local aviation authority, who would re-route flights and notify aviators.

A few weeks ago there was a music festival with some big laser decorations and they actually changed the approach path to the largest airport in the country for the weekend.
all major nations do exactly the same as the nsa. yes france. yes germany. becauqe theyve not been exposes as publicly does not mean nobody is watching.

source: used to work in eu intelligence agencies
Is that something intrinsic to PHP? It's hard to refactor any code when you have no time allocated to maintenance.
It's more about pragmatism than hypocracy. Everyone in Europe has a lot to win on painting the US as the bad guys and themselves as innocent. Major European tech firms are going to play this story very hard to gain fat government contracts rather than their American competitors. That's what might change things, when profits are being hurt politicians are very quick to act.
http://ripplescam.org/ has a bunch of arguments for this.
New Snail Species with Semi-Transparent Shell Discovered in Croatia
No, what I mean is that you have to refer to the receiver explicitly even from within methods invoked on that same receiver, contrary to Java or C++ where 'this' is implicitly assumed when you refer to other members of the receiver.
7 Books that Influenced Boston Entrepreuneurs and Innovators
They've been doing that on mobile Chrome for a while. It makes perfect sense on mobile, saving vertical space and whatnot, seems alright on the desktop as well.

Notice the mic icon to the right.
That's more permissive than I would have expected.
So what's exactly going to happen if you somehow break the chain?

You're all being gamed by a flashy calendar.
He also made Merry Quine-mas 2010: http://mamememo.blogspot.com/2010/12/merry-quine-mas-2010.ht...
> what's the shortcode for italics?

If you really have qualms about remembering * ... *, I think you probably have more problems on your hands than not being free to create.
The marginal cost, that is the cost of one additional copy, is zero. ( Actually it is some server cost, so < $10 per TB.) The musician., studio etc. are upfront costs.
GP specifically mentioned multimethods and your comment is completely wrong when they're taken in account.

They would allow `ToString(attr)` to have one implementation per type, and `CompareTo(item1, item2)` to have one implementation per `(typeof item1, typeof item2)` pair. The latter being unavailable in Go, and only statically available in languages with overloading.
I'm not going to say I think our existing system is without flaws, but here's some food for thought: pop media is a wholesome product. It doesn't destroy the environment like Apple's or Samsung's phones. It doesn't con people into giving up personal information like Facebook. It doesn't take advantage of desperate third world labor like everything Wal-Mart sells. It doesn't use up scarce resources like gasoline production, contribute substantially to our carbon footprint like shipping, pollute precious water resources like manufacturing, clog up our rivers like farming. It doesn't destroy our precarious fish stocks like the seafood restaurant I went to last night. Music and movies are actually priced so most people can afford them, unlike say life-saving drugs or medical care.

So even if we're reevaluating the basics of our economy, it seems to me like music and movies are among the last things that deserve our philosophical ire.
Show HN: goworker – a faster, Resque-compatible background worker
The Eternal Value of Privacy
This used to be called setting up a mailserver and fileserver back in the day. Some people never gave up the goods and kept their personal files and email accounts on their own hardware.
This is a weekend project I started on as a way to learn Go that I quickly realized would be something worth sharing. It lets you queue jobs from Rails that are processed in Go, which can speed things up considerably.

I would appreciate all kinds of feedback, and for anyone who wants to try goworker out, if you give me your email at the bottom of the page, I'll send you my contact info for some free one-on-one help getting started.
Neverd did any ASIC but I know they have about 10X the testing and simulation that FPGA have.

My spouse designs CPUs for a major CPU manufacturer (you've used them). She is responsible for physical design for one tile (there are many tiles, each of which has other physical designers). Her single tile, by itself, is substantially larger than almost all ASIC designs in the world today. At that scale, most of the standard FPGA design tools don't even work. Designing in that space is substantially different than FPGA or even ASIC design.
As a Yugoslav immigrant kid, that's a very cynical view.

Yes it's hard for migrants to make it in a new country, that's part of being a migrant imo. You come to a new country, without any relatives or existing contacts that can help you get a job. The first generation always has to struggle to make a good life for the 2nd.

And I don't like Swedens weapons business any more than the next anarchist, but fact remains that Sweden has done very, very much for the refugees of the world.

I consider myself a Swede now, We have so much spare surface area for new people to settle that it's silly to keep close borders. I think the government is doing very noble things accepting war refugees. At least on that aspect, I can agree with the leaders of the nation.
given that it's < 2 years old and still labels itself an 'alpha', many (most?) projects might not be using it yet.
At Twitter
Q. Why is it so hard to swat a housefly? A. It sees us coming in slow motion
You're right, it was. I'll correct that now.
The google translation of that is in some kind of uncanny valley.
Post-Jobs Apple era
> However, the difference is that once you establish this sizing rhythm during analysis (with the help of estimation early on to hone in on sizing) then you skip estimation altogether.

I'd argue that really what you're doing now is estimating the size of any given chunk. Chunks that are estimated to be too big are then decomposed.

But you still make some judgement about how big each chunk is before you actually queue it up.

> A world without estimates sounds great to me.

Most people estimate, they just don't think of it as estimating. Similarly, most people can instinctively perform differential calculus; they just think of it as, for example, "catching a ball".

I think that you're right that estimates are never ends in themselves and that their net value needs to be considered. In a sense, you perform a meta-estimate of an estimate's cost and return before doing one. Is it worth developing parametric models of when you will be home for dinner? Probably not, dinner will be cold and moldy by the time you get to it.
How much coffee is healthy? It depends on your age.
Nearly 400 million cups of coffee are consumed every day in America. Drinking large amounts of coffee may be bad for under-55s, according to a new study published in Mayo Clinic Proceedings.
>I wonder if the public, US or otherwise (as we find more countries with intelligence agencies working as accessories), will experience outrage fatigue.

That's a valid concern about something which I consider the most disgusting stance a citizen could have.

As if news and outrage are supposed to be novel and entertaining. It shows that those who feel that way are not active citizens of a democracy, but passive couch potatoes, overstimulated with media BS and their own private affairs, and unable to think or act to better their country and communities.

Consider the enormity of using the same excuse for black rights ("Jim Crow laws? Seggregation? Who cares about this, didn't we already have a civil war and a KKK discussion for so many years?") or anything that took time to fix.
It's hard to tell whether this was intended seriously, but if so you totally missed the point of the parent post.

No, musicians don't enforce the rights that some of them claim. Those who do believe in copyright rely on a third party. Uncle Sam, let's say, has a preponderance of coercive force and demands payments according to the terms set by copyright holders. (Note: the copyright holders, for many generations now, have been mostly not the creators, but a middle-man industry that has hijacked copyright law to exploit other people's creations.)

The GP post is pointing out that this situation is inconsistent with libertarian/free-market principles. For intellectual property to be consistent with such principles, a musician would have to a contract with each customer, like "I'll sell you this copy if you agree not to give a copy to anyone else". Even then, a deal-breaker might transfer a copy to an innocent third party and that person might not have any obligation to refrain from sharing.

There's no reason that creators "shouldn't get paid for" their efforts, but to show that they are entitled to enforce such a claim, with the force of government, you have to show that the laws providing for such an arrangement are legitimate.

And to show that, you have to argue either (a) that intellectual property is a natural right or (b) that everyone is obligated to obey whatever laws the government chooses to make, regardless of their content.
How to integrate WordPress with Pardot using Gravity Forms
I don't believe that there is enough information yet to take action, for example moving data out of US Datacenters. Too little is know about what the NSA is actually doing with the stuff, what they do and don't have access to, and what kind of risks businesses are incurring as a result.

The most important question is whether or not the NSA or other agencies in the US are actively committing industrial espionage, meaning not only that they are spying on foreign companies but also passing on data to US competitors.
I'm not arguing against Python. Merely against learning yet another language in a domain that the OP has, apparently solved. I can only go by the original post. So, in the context of this discussion, learning something in another domain will not only expose him to something new, but also expose him to something in an area he doesn't already have solved.

Myself, I really don't enjoy reimplementing something I've done already just for the sake of learning a new language. I'd much rather expand my capabilities, hence my comment.

> One could argue that C and Perl don't solve anything that isn't already handled by ASM.

Which, as you hopefully see now, is not at all what I said.
If such a language existed, you wouldn't need to write any function body, all the code you need would be encoded in types. However, even the most advanced Turing complete type systems make for terrible sources, so it's probably not an ideal we should strive for.
Weird, i just "clap my hands" above the fly... Success rate is about 95% so far (problems on vertical surfaces :))
How fast is BigTable?
I do think it's a bit harder in PHP, given the nature to which it allows for spaghetti code to happen in the first place. Certainly it's never easy in any platform, of course; I do think "bad" PHP is harder to refactor than "bad" other code. Just an opinion, of course.
Clang-Format Is Taking Good Shape For LLVM 3.4
Why Apple's 'indoor GPS' plan is brilliant
It's possible to argue the moralities and causes and effects of piracy all day, but the simple fact is that you can't stop piracy. You (the record labels, etc) can tilt against that windmill until your coffers run dry, and the only result will be your bankruptcy. The better option would be to recognize that fact and rearrange your business model to be profitable in a world where reproduction and distribution costs are zero. If you can't do that, perhaps you belong with the buggy whip manufacturers.
Oh yes, I do. And we have -15 Celsius / 5 F pretty often.
Leaked GTA 5 Config Code Suggests PC And PS4 Versions In Tow (Rumor)
One benefit to something like async/await is letting you get on with other stuff without having to murk up your code with callbacks/delegates which read more like GOTOs than async/await.
It seems a little bit misleading to call them "Microbots" when they are essentially tiny cages propelled by magnetic fields from outside the body.

Still excellent research though.
There's http://pineapple.io/tags/ruby-on-rails which is getting updated quite regularly!
Short sighted pragmatism.

As Europeans turn against Americans (or more precisely, non-Anglos turn against the Anglosphere/Five Eyes), the West begins to fracture precisely as the East begins to rise again with force.

It's going to be an interesting decade.
Ask HN: Is there any way to secure a hosted VPS?
Is there any bulletproof way to encrypt the system, given that your communications pass through the host datacenter?
The difference (from what I remember from an NPR interview) is that cocaine is a drug that is used much less frequently (a few times a week) than nicotine (which is used several times a day). Frequent use leads to the brain getting that much more frequent reinforcement of the drug.
The battle over gender: what makes you a man or a woman, anyway?
Seriously a downvote? Why not explain why it's wrong?
+1 for mentioning BETA. Any actual user of that language?
For me the marginal cost is the additional song, not the additional copy of a song.

Then again, if one looks at the obvious, that musician have to make money from concerts, it becomes clear that marginal costs will never be 0 in the music industry. Competition or not competition.
All Ripples were pre-minted and in control of the founders. They've only released a very limited supply of them.
> Laravel is all the lessons learned from a decade of frameworks, code igniter, kohana, and others.

If Laravel learned anything from those frameworks, it's how to make all the same mistakes using an update version of PHP, and invent new mistakes on top of it.

No, Laravel is not the solution. It's encouragement of globals, it's decision to implement solutions in the slowest ways possible. It's a complete mess.

You cannot use Laravel as an example of best practices.
Some of the stuff in PEP8 is pretty subjective. What's the state of play for fixing that with an automated tool? Does is spit out advisories, or has some effort been put into the Small Matter Of Programming of interpreting the intent of code? I presume nothing can be done about

x += 1 # increment x
"Limits all the lines to a maximum of 79 characters" - what am I, a farmer with an 800x600 VGA CRT?
Came to say the same. A call to flake8 is a very useful step in most of my Git pre-committ hooks.
The koans would be a good starting point: https://github.com/functional-koans/clojure-koans
I won't say we have a lot of experience and I feel a bit odd making a recommendation based on being in business for less than a year.... (I am in Indonesia and this makes it a bit harder to feel secure in my recommendations.) Feel free to email me at chris@efficito.com and I will talk with my business partner (who is in the Netherlands) a bit more before giving a recommendation.
I don't think so. Interfaces dispatch based on the type of the one and only special purpose receiver.
The OP was suggesting that only someone who had worked at Oracle could solve the problem. At least you are saying that someone who "has it" might have a chance.

The issue of whether startups would fund it is a different question. Quite clearly the performance of Ruby is not in fact a huge problem for most people, and we haven't had a huge organisation that could fund stuff in the way, say, Facebook has with PHP.

I haven't looked at Ruby's GC, but I am guessing it was written by one person originally, and that could be done again. The poster at the top said it was simple. Its a big problem but as I said, its not a perfect solution needed just a better one.
because they are responsible for most of the aim points for an enemy counter force strike.

I hadn't thought about this aspect. If you assume your opponent has a limited number of missiles (because of treaties and/or intelligence gathering), you build your own missile launchers not only as a weapon system, but as targets to divert incoming missiles away from cities. They can't not target them without leaving a retaliatory capability in place.
I wanted to find the reference but I failed.

Anyway, I just wanted to counter that IIRC mike pall of luajit fame has stated that in his opinion a VM/JIT laser focused on a single language's semantics is much easier and in the end more effective than using a general purpose one.

Alas, I can't find the reference, but the luajit example stands on his own. Whether designing your own VM is a better use of money&time is largely a trade off of what your targets are. E.g. HotSpot could have been a great target unless you are interested in fast startups, or whatever.
A link to proof of that? The thing flying? Anybody?
BETA: OO programming language influenced by simula
A bildungsroman deals with the same sort of narrative arc, but doesn't necessarily have a moral or ethical lesson it's trying to teach.
Great article. One question:

> There’s one final use for the splat ( * ); when overriding methods in a subclass and calling super. If it turns out you don’t need the arguments to the method for whatever additional behaviour you’re adding, you can accept all arguments with a bare splat, then a bare super passes all arguments to super.

I thought that was the default behavior of super. Isn't it the case that a bare super by default passes all the method's original arguments? I know this has bit me in the past where I've been forced to call `super()` with empty parentheses explicitly to prevent this behavior.
SAT is NP-complete, but there are certain properties that allow theorem provers to show that a particular instance is overconstrained (and therefore unsatisfiable), or underconstrained (and many solutions exist). It's at a particular point, so-called phase transitions, where one finds the very hard instances. As an example, when characterizing 3-SAT instances by grouping by their ratio of clauses to variables, the very hard instances are grouped around a value of ~4.3.
> Without method receivers you wouldn't have methods, only funcs. Then you'd end up calling your "methods" names like `Address_Compare(addr1, addr2 Address)`, `Address_ToString(addr Address)` and so forth.

Methods are just a limited special case of functions. Also, there are various different semantics that are used in function application. Your view of function application is rather limited, you might want to study e.g. how functions are applied in Haskell (type classes) or Common Lisp Object System (CLOS, multimethods). Both of them use very different semantics to what you're used to.

In addition, good namespacing and module systems can solve a big part of the "problem" you mention. Most modern languages have more than one giant global namespace.
Picture? Details? The article is a puff piece.