skysight-inc/HackerNews huggingface dataset:
I think that's the point, though. If I were to build this TDD, I would probably make use of the fact that that the value at any point is the sum of the values above it, in the previous row.

I could write a failing test that PT(1) = [1]. I could make it go green easily, and then write a failing test that PT(2) = [1,2,1] and make that pass, using my algorithm. Depending on how much you did in the last step, there may be no more failing tests that you could write. I can imagine maybe one more failing test, but after that you are done.

That's what I meant by "and then there is magic". The "test driven" doesn't really help the "design" at all. Your first test is the trivial case and the second test is "did it work?" I could arguably skip the first test altogether, and whether or not I wrote the second test before I wrote the production code is completely irrelevant because the test doesn't help you write the code.

Now, you might want to "refactor" this to be:

PT(n) = (n.choose(i) for i in [0..n-1])

(This is just pseudo code for a list comprehension that returns an array of n choose i for all the values of i from 0 to n-1). I could then write the code for choose(), but I'm in the same boat -- there is no benefit to writing choose() TDD because your first test will be trivial and you r second test will require the full answer.

While my "refactor" could use the tests I wrote with my "TDD" of PT(), I haven't demonstrated the value of TDD at all because the "refactor" is not related to the tests. I could just have easily written that code first and then written a test to see if it was correct.

Finally, if a bug is introduced to the code, the tests may pick it up, but are almost certain not to shine light on what went wrong because the tests are not related to the design of the code.

This is an excellent example of code that I would not write TDD (and I write 99% of everything TDD). I might not even write it test first depending on my mood.

Trying to be slightly diplomatic, the point of my post was that in all likelihood, a person who gives you this programming problem to demonstrate your TDD abilities has no clue about TDD. The alternative explanation is that they intentionally picked a problem that doesn't work well for TDD and wanted the person to explain why this was a sucky problem.

If you weren't very familiar with TDD, I could imagine this tripping you up pretty badly. You'd think, "what the hell test am I going to write?" As you point out, it doesn't really matter -- you can write any test that will sort of test that your code can grossly come up with the right answer. After that there's not actually anything beneficial you can do.
Another one:

http://yakking.branchable.com/
I think it's a bit much to draw any wider conclusions, and who knows who paid for the healthcare? But you're quite right, overall, about this particular incident - this guy was a stupid twat, and his family suffered the consequences.
I plan to live out my whole life knowing nothing about carrot farming, goat husbandry, fishing, roof construction, or car repair.

What's going on here is that Africa isn't really reaping the benefits of specialization of labor in the way the civilized world is. The guy in the example isn't even growing multiple carrots! When I get a problem with my roof, I'm not going to try to fix it myself after a crash course in Google-based roof repair. I'm going to pay someone else to do it for me. I do the same when I want to eat fish or goat, or fix my car. The whole point of a developed economy is that you don't know how to produce the stuff you need. Instead, you produce what you're good at producing, and everyone reaps the gains from trade.

The title of this piece strikes me as a little over-specific. What in sub-Saharan Africa doesn't suck?
Um, yes.

Of course if 80% of the states water goes to farmers and you're 20% below normal, that means farmers have to be part of rationing. But do you really think there would be so much farming if we didn't have 20 million extra people here?

And farmers are not long gone from the Central Valley. Most farms are still family owned, they're just too large to be worked by one family. You can call it agribusiness if it makes you feel better to depersonalize them, but they're still farmers.
You're still stuck in your narrow view of politeness. The concept of politeness is not a constant, but a variable that changes throughout various cultures.
Nope. Not all of them have an RSS feed.
I've met lots of polite Chinese immigrants. Judging by some of the comments here I must be extremely lucky. Geez.
I have fond memories of Turbo Basic in my dad's lab
I am pissed off that the powers that be are still allocating separate spectrum for separate companies. That worked once for analog cell phone service. It doesn't work any more and is wildly inefficient. The present approach is pretty much the same as those stupid proposals to have each possible company run a separate fiber to each building.
Something like Pipes running on sandstorm.io would be nice.
This Video is a Universe
We still pay for text editors and IDEs. Heck, people still sell compilers. I am saying those $299 and $399 price points were mistakes.
The old time that

- Burning disc with the fear of Buffer underrun.

- sharing recording disc with friends and making new friends just because you have a CD/DVD burning device.

- Researching how to bypass the protection (though somehow illegal).

is passed.
Swift for web development? You might as well kill yourself.
(My memory could be off; it was a long time ago, and I was young)

I believe that I first began learning to program in Turbo C or C++ and Turbo Pascal, far before I ever encountered Microsoft development tools, except maybe VB6, or other open source ones. I was young, in high school or earlier at the time, taking a summer school "computer camp" at a local college [1]. I remember learning Visual Delhi and C++Builder, and being amazed. I think Microsoft only had VB6 at the time. Visual Delphi and C++Builder were polished, and I was super excited to build applications with them, and I did.

Then VB began evolving, Microsoft released .NET. One Borland renamed themselves Inprise and seemed to disappear.(Inprise -> Enterprise?)

If Borland hand't build these consumer products, I might not have gotten into programming, or as early as I did. It helped me find my scientific/intellectual/professional love and, which led to a job at Amazon I continue to practice and are very happy with today.

Farewell, Borland! You did good. You helped inspire this student to learn computer science and begin his career.

[1] Scripps or Harvey Mudd -- somewhere in the Claremont Colleges, in Steele Hall.
Ruby web dev here...I pretty much use liberal puts statements (actually the awesome_print) gem. It's never really been a problem for me with ruby. 2001-2007 I was primarily a Java developer and the debugger was essential. But since switching to ruby in 2007 I've just never felt the need. I think it's probably the cycle time...we were using BEA weblogic as our Java server and cycle times weren't quick so you didn't want to waste time and needed to be able to step through the code. With ruby/rails it's almost instant to see your logging so I've never even looked into how to use a debugger in ruby.
Yes really. You just don't understand what it's like to live in such a heavily populated country
I think he is running it at 2MHz which should be doable.
It's called Unicode! That's fantastic.
The content blockers stuff is not a "block Google" checkbox.

It's a way a safari extension on OS X or iOS can prevent load or hide literally any object requested by the browser/web view

It won't affect Google ads if they're in loaded in native apps.

Personally I view this as being inevitable given their recent high profile privacy push. I'm not saying they weren't pro-privacy before, but they're enhancing and promoting that factor more now than ever.
Newly-released 3D maps of London Underground's Central line tube stations
It sounds like you both have this ideal of quality that theoretical quality counts for something, even expressed quality doesn't really matter that much if you can't bring _quantity_ to bear.
The interactive color picker is neat, but the irregularity of the space is hard to visualize in 2D. I'd love to see a 3D point cloud version of the color space.
You would be surprised at the arguments you see.

Even the one you are making is... tough. Persistent data-structures are not a sure fire win against mutable versions. Again I find myself refering to the DLX algorithm. The entire point of which is that it is easier and faster to permute through different configurations of a data structure then it is to have all instances instantiated in a persistent fashion.

Does this mean that persistent data structures are without use? Of course not! Again, you may not be optimizing speed of execution. Which is perfectly valid!!
I expect Snowden actually advocates people use something like diceware passphrases and the journalist misunderstood.

https://en.wikipedia.org/wiki/Diceware
Try to understand for a second why that might be. Is it because Chinese people are inherently rude? I hope you don't answer yes to that. Everything happens for a reason, and just because it violates your fragile ideals of grace and politeness doesn't mean that the behavior is rude.

In fact, I personally think it's pretty rude to characterize 1 billion people as "maximally selfish"
to Nhanh.

Emacs, Slime and Common Lisp is something that I would give an exception to. The major productivity I give to that combo is the ability to change the code on the fly while debugging, especially Common Lisp's continue from exception mechanism.

Smalltalk environments have had this ability forever. I just imagine how much more productive I could be if in Visual Studio I could edit-n-continue on everything...even if my code wasn't in a successful compilation state.

Java has this and Jrebel has this on steroids, but I want to be able to edit-n-continue even if my compilation state is broken. Just throw an exception when it fails because of bad state.
Assuming that's an honest question: it has actual lightweight threads, so you don't need to muck around with either async garbage or worrying that you're using too many threads because you aren't mucking around with async garbage.
This is why he should have stuck to the domestic stuff...but nooooo
I'm torn. On the one hand, I applaud you for not treating $1,000 in merchandise as a given. On the other... this just feels like an entitlement argument. It is just $100 we are talking about. For benefits that, if you use them, are almost certainly worth more than that.
I 'helped' a labmate troubleshoot a simple oscillator circuit in the 2 MHz range on a breadboard by turning my circuit on and off. Despite not designing any antenna-like features it was broadcasting enough to get his marginal circuit into oscillation.
so, are you implying that Chinese as a people are rude and lack civility? Because that's what your "contribution" to this discussion implies. Not just a few bad eggs, but an entire 1+ billion people.

If I were generous, I might say "you just don't know any better to think critically at a higher level", but I'm not generous. I'm saying "you are a moron".

There we go.
I'm not sure you will get lots of help if you just dump the code on people like that. Maybe you should update your readme and explain up front how your arquitecture is supposed to work. When it comes to security its often the case that vulnerabilities come from a bad arquitecture and notjust from sloppy coding and bugs.
It's not the cool new thing anymore, but it's definitely not going to go away. Its killer feature is that the same code can run on the client and the server. Not a big deal for most apps, but very important for some.

Also, ES6 & ES7 make callback-heavy Javascript so much more pleasant to program in. That addresses Node's main pain point.
> as well as massive amounts of cost to the tax payer

I just have a problem with this statement because this sounds like just-world attitude. I think there is still a meaning that people do chime in money for the society as a whole (but I am not in favor of socialism myself, and I am not happy about having at least 1/4 of my paycheck deducted for a dozen of tax reasons). If we were to argue about tax payer money, I think everyone is sharing some dimes, even if his whole family has been paying taxes for others' mistakes.

Is there a country where seat belt is mandatory in every seat in the car? A lot of private shutel buses don't even come with seat belt when I look for one!
Can you list 3 customers (hopefully in diverse industries) and the results (statistical and monetary). Discuss with your clients and speak in general terms about their business/industry if necessary.

Also, do you implement the HTML/CSS?
Comcast Automatically Enabling IPv6 in San Francisco
> To put it another way, once you license something under
> GPL, it is forever GPL.

It's forever GPL for people who use it under the GPL license. If you're the copyright holder, not a licensee, you can change the license if you want to. Of course that doesn't stop people from using existing GPL copies, and you do have to be the actual copyright holder (e.g. if you accepted patches from other parties, you have to get permission from their authors to make such a change). But given such permission, a change can totally be made.

An example is the Mozilla code, which used to be licensed under a tri-license that included the GPL and was relicensed to a different license (MPL2). This process required finding everyone who had copyright on the codebase (several companies and a number of individuals) and getting their permission for the license change.

Now it's true that using the BSD license means you don't have to hunt down those other contributors and get their permission to relicense, so the bar for the author taking the code proprietary is lower (and in fact identical to the bar for anyone else doing so).
Libraries in Paris seem to have pretty good hours:

http://bibliotheques.equipement.paris.fr/tousleshoraires

12-7PM Saturdays, 10AM-5PM, 10AM-6PM. I seem to remember that as being the same as commercial hours?
> Recent trends in economics leads me to believe the accumulation of wealth and capital from gains in productivity and technology is amassing into huge piles of cash that want

Yes.

> & need

No.

> to invest in something, so now the question is what?

How about nothing?

Yes, there is a lot of capital out there which wants to be invested in something profitable.

I don't see where the need for investment is. If someone has $10 billion, and has $8 billion invested, and has $2 billion left over but sees no good investments, why do they need to invest that extra $2 billion? They don't need to invest it, so they don't invest it.

What has the capacity utilization rate of total industry in the US been? A postscript at the end of this post tells you how to see for yourself on government websites. From 1967-1969 the rate was over 87% every year. From 2001-2007 it never exceeded 80.4%. And from 2008 to 2012 it never broke into the 80's, even hitting 68.6% in 2009. I can't find data past 2012.

That's just one trend, but if existing capital was being used at an 87% rate at the end of the 1960's, whereas in past few years it has been used at a 68.6%-79.2% utilization rate, why invest in a new capital plant? Companies aren't even using their old capital plant.

The statistics say there's overcapacity. Over the past decade, invested capital has been sitting idle 20%-30% of the time where it could be in use (invested capital, meaning money invested in the stock market, VC firms etc., not money that those with a lot of money are keeping on the sidelines - counting that, the amount would be even higher). In 2009, even more than 30% of industrial capacity was unused - for the whole year.

From the standpoint of profitability, capital is overfunded already. Which means there is a small amount of overproduction - even with 20-30% capital plant non-utilization, sometimes a tiny bit more more commodities are put out then needed (or a lot more in the case of homes paid for by subprime mortgages). If capital plant production went down to 15% underutilization, that would be massive overproduction of commodities - and would still mean 15% underutilization.

People can't afford to buy what is being built with companies running at 70-80% of capacity. So why invest more in companies? People aren't buying what the existing capital plants are capable of putting out.

P.S. Go to https://www.whitehouse.gov/administration/eop/cea/economic-r... which is the 2013 Economic Report of the President . Go to "Appendix B: Statistical Tables Relating to Income, Employment and Production". Look at "Table B–54. Capacity utilization rates, 1965–2012" which is page 75 of the PDF and page 387 of the overall report.
Node.js is not a language. Node.js may be declining, but Javascript is not going anywhere anytime soon.
Nothing, if they have copyright on all the code.

If they accepted changes from someone else, that someone else has copyright on those changes and the license can't be changed without them agreeing to it (or possibly their changes being removed from the codebase; I am not an IP lawyer and you should consult one if you want to be sure on this score).
> Something that could potentially govern people's lives (i.e. a new kind of currency) that they have no say at all in operating?

Aren't you talking about the USD here? How do you have any say at all in what the Federal Reserve decides?

Bitcoin, on the other hand, is open source. If it doesn't work for you, at least you can fork it and change it, or use another cryptocurrency just as easily (and many people have).

Do you think Venezuelans like that their currency inflation will be more than 200% this year? But hey, their currency is democratic so by definition it must be good and everybody should use it, right?

And yes, it is indeed possible to directly vote on Bitcoin policy changes (not that it's necessarily a good idea). Just take a look at some of the proposals about the on-going block size increase discussion.
Good luck to you. I guess there's a lot of people out there with VC millions to waste.
Upvote for the term "tech crunch"
APL and co got becoming popular wrong. As great as a singular developer might be they will never make the comunalative progress that a much larger number of acceptable developers will make.

The software ecosystem evoloved so rapidly around APL that it didn't have time to really show off anything it was good at. All the problems that it solved were solved 100 times over by others, and they gained the market share to drive the state of the art forward. Sure Kdb might be great, but there is a reason why Oracle makes a few more orders of magnitude more money then they do, even the claim that they can replicate Hadoop and other "Big Data" solutions is nonense as even a modest Hadoop consulting firm does more buisness then the 10m that Kx brings in.

The failure is one I have seen a lot. It doesn't matter what you do, if you are living on an island as a professional of any kind your contributions will be shortly forgotten and replaced by those who had the ability to share their ideas with the larger population.
Here's a little life lesson that was kicked down to me:

"Don't ever ask/command/order someone to do something that you would not do yourself."

Interpret how you like, but to me it means, "Get your hands dirty and appreciate what it takes to do a job before you delegate."
It's not a waste if it measurably increases sales. And there's a money back guarantee.
Each of the network extension points requires special permission from Apple.

Whatever that means.

https://developer.apple.com/library/prerelease/ios/releaseno...
> That addresses Node's main pain point.

You mean being single threaded?
>> Developers often engineer software dependencies badly, but we don't bother engineering legal dependencies at all, we just slap them in like new coders copy-pasting from stack overflow.

You sound like a legal liability waiting to happen.

Developers absolutely must take licenses into account or just don't use third party software.

It's that simple.
>"Well, we are told authoritatively by people in Downing Street, in the Home Office, in the intelligence services that the Russians and the Chinese have all this information and as a result of that our spies are having to pull people out of the field because their lives are in danger."

"Authoritatively".

How can we tell if this is true or just a PR stunt? I'm naturally suspicious of anything the security services say, but can see that this could have a germ of truth.

I have no idea how Snowden encrypted the files, nor do I know if any people are singled out in them. Does anyone know any better?
Encyclopaedia Mendaciorum
Another ruby dev, back in my java days I used debuggers from jbuilder and eclipse. I now use pry and much prefer it as an experience. I found having everything at your fingertips rather than scattered around a gui far more efficient.
Hmmm, I live in India and I get ~280 ms ping to Facebook and 180 ms ping to Twitter. Seems mostly an issue of "not-living-in-the-US".
Rust was originally implemented in OCaml, and takes a lot of cues from the ML family, as you've noted.
I've been practicing saying "you're welcome" more often, because I noticed that some people would honestly be confused, suspicious, or offended if I said "no problem" after doing something that was obviously a bother.

For example, I'm stranded at 3am and you give me a lift even though you were sleeping. If you say "No problem", since it's obviously a lie, I think that you might be mad or disappointed that I made such a request.
In the Mind of Bitcoin Wallet Developer Andreas Schildbach
And the organizers have deleted the event details here (10pm EST)
> It's amazing that in 2015 we have people that use Emacs, Vim, or other editors that don't have intelligent, realtime code analysis and we consider that "hardcore, programmer machismo".

I think it's mostly that the current state of "intelligent, realtime code analysis" is so terrible that it can be replaced with "rename" and "find references of". I.e. ctags.
That sounds like a guy who regrets some investment decisions, wants to sell, but can't.
Google cache?

https://webcache.googleusercontent.com/search?q=cache:Sv7aOT...
You might be interested in this thread: https://news.ycombinator.com/item?id=9582980
Yes, but again we have the same trouble (as before the optical media era): Either you make no backups at all or when you have a rock-solid backup-solution, you must buy very expensive hardware.

Of course you can do backups into the cloud ... or on hard drives -- that is today the only solution that is still not so costly for normal users. But in my opinion, a sub-optimal solution.
I'd like to revise my earlier answer. I was using inflation-adjusted gold prices, but not inflation-adjusted currency values. In other words, I was trying to buy 1980 gold with 2015 dollars.

But this still highlights the problem with this scenario: currencies lose value over time. They do this by design to encourage people not to hoard currency, but instead to exchange it for goods and services, which encourages people to produce goods and services. Because of this, any non-perishable commodity is going to gain value over time relative to a fiat currency. There is nothing special about gold in this regard.
Strangely enough, even with trillions of dollars in QE in both the US and Europe, GDP is stagnant (or retreating) and the EU still has negative interest rates.

Welcome to the new normal.
Your argument seems to rely on go being the first language someone has learned. Very few people learn go as a first language. Most people I know in the Go community have 10+ years of professional development experience in a variety of the popular imperative languages and have used go for a couple years. I'm sure there are probably some people learning go as a first language by now, but I doubt it's a significant number.

So, "not knowing any better" is kind of ridiculous.