skysight-inc/HackerNews huggingface dataset:
Greenwald only had a New York Times Best Selling Book on the Bush Administration and its abuses of power. And he had one of the most-read blogs on the Interent, after 9 months of blogging.

If Russ Feingold can read from his blog during Censure hearings, he can handle a little bit of well-deserved fame for his hard work.
Stack Overflow (which I avoid as much as I can fwiw) is not a strong argument for the .net stack given the people behind it have moved to a different stack for their next project (http://www.codinghorror.com/blog/2013/03/why-ruby.html). That's not an isolated incident.

I've several friends working in that stack. While many defend it as the correct decision at the time (and I don't disagree with that), all would rather be using something else now.
And internet access to read this page!!
Google Maps Open-Source Challenger MapBox Raises $10M From Foundry Group
> Ignoring include boilerplate and the like leaves us with roughly ten lines of code.

I'm not sure you get to claim a language is a scripting language and then ignore the boilerplate.

The equivalent python is 4 lines, just one more than the number of steps you're performing.

import sys
data = open(sys.argv[1]).readlines()
lines = sorted(data)
open(sys.argv[2], 'w').writelines(lines)

C++ is good at many things, but quickly creating readable scripts and live-coding with a REPL are not among them.
I think that's the real point; c++ is becoming Java.
Salaries: How good is a salary of INR 16 lakh p.a. for a 21 year old?
I was referring to finding it in supermarkets and the likes. They may be there, I couldn't find them.
Having created a business in Australia, Germany, and Spain, I think Germany was quite painless, once I found a local who was well-versed in german bureaucratic ways to assist me. Australia was a piece of cake. Spain, however, is...well...let's put it this way: I've been trying to pay income tax or corporate tax to the Spanish government for two years. In two years, despite my best efforts, they haven't made it happen.
When Mommy Went to Heaven
Death - Book For Kids<p>A father asked, how do I explain to my seven year old that her Mom is not coming back home (after a car crash)? Someone mailed him a copy of "When Mommy Went to Heaven" By writer/author/singer, EVON LATRAIL.<p>The father had a message to, EVON LATRAIL<p>Thank You......The fact that the author wanted to help kids with their pain. The fact that this book helped my daughter. Thank you so much.<p>For more info on the author or the book.......Google, Evon Latrail.
They likely paid themselves executive level salaries out of that 41.2M all the while. If you're doing much better than a high-end developer salary, congrats, but if you're not, they prob paid themselves more than you.
Except that's not what the C++ code does. The C++ reads and writes from files given as command line arguments.
hi, interviewed here, I was told something similar.

something along the lines of "no big company makes business with a GbR".
What signals does Google Search give the most weight to?
+1

Getting a GbR (Gesellschaft bürgerlichen Rechts ) setup is also possible at the Bürgeramt and similarly easy.

Also: as mentioned in the interview getting a "Steuerberater" once you have some income is a good thing to do. They can advice you in many financial and basic legal things and do most of the paperwork for you so one can concentrate on actual work ;-)
I'd be interested in any further info you have on it.

The last time I'd looked up Stuttgart's hackerspaces on hackerspaces.org, the pages looked dead.
I will be taking your route but with Clojure scripts. This should be fun.
PHP:

<?
$lines=file($argv[1]);
sort($lines);
file_put_contents($argv[2],implode("\n",$lines));
Contribute to Ada Lovelace Day
A little bit of command line foo would fix that. If you really wanted to go gung-ho you could use Linux's binfmt_misc to do it directly to .cpp files for you.

And before you complain it's not the same thing, that's basically all a scripting language does. The compilation step is hidden inside the command wrapper.
It has, a long time ago.

Do you remember when we thought that Twitter was a stupid idea? When "I'll publish pictures of my food" was not worth a billion dollars?

The idea of drawing something with someone else alone was valued at 180 million. Think about it.
Here's a Perl example. This isn't optimally compact, but this is more or less how I would write a script like this if I had to put it into production at $work (maybe with an extra check to make sure that exactly two command line arguments were provided).

use strict;
use warnings;

open my $read,"<",$ARGV[0] or die $!;
my @lines = <$read>;
close $read;
open my $write,">",$ARGV[1] or die $!;
print $write $line foreach my $line(sort @lines);
close $write;
That has been my reaction living here as well. Being a software engineer is actually a discussion topic when meeting new people, compared to the normal "Oh? ok."

With the volume of engineers in this part of Germany I would have imagined the IT/Software scene would have been even somewhat existent.

P.S. Cool to find someone else from stgt
Quite an odd definition/view of what a scripting language is, but yes I like C++11 and C++14 sounds even more promising!
#Do the same thing in python

from sys import argv

open(argv[2], 'w').writelines(sorted(open(argv[1])))
The Money is in the Email (Square Cash Review)
Jabuticaba
> Would be great if somebody could post Python/Ruby/.. code here that achieves the same, just to compare.

It's actually really hard to completely rewrite that program in most scripting languages: they tend not to have the same concept of undefined behaviour.

'sys.argv[2]' in python (with sys.argv = ['thing.py']) is fully defined (raises an IndexError). 'argv[2]' in C++ (with argv = (char*[2]) { "./thing", 0 }) is undefined.

If you scripting language has an FFI library (ctypes in python, say) then you could probably do something equivalent.
I'd like to add following criteria:

* No static types

* No need to compile

* Having a REPL
Haskell:

import System.Environment
import Data.List

main = do
infile:outfile:_ <- getArgs
input <- readFile infile
writeFile outfile . unlines . sort . lines $ input
PowerShell:

function Sort-File ($Path, $Destination) {
Get-Content $Path | Sort-Object | Out-File $Destination
}

Granted, shells are probably at an advantage when it comes to file management. I'd think a bash variant would be quite short as well.

Aiming for succinctness by using aliases and using redirection instead of cmdlets for writing the file (shorter, but less flexible):

function sf { gc $args[0] | sort > $args[1] }

That's not code anyone should write outside code golfing, though ;-)
This is a surprisingly good analysis that strengthens the argument that a Government agency created Bitcoin (Much like what Paul Graham suggested)

The main point is the same one that PG brought up, that the transaction graph is very easy to follow and if the gatekeepers are compromised then most of transactions become transparent.

A novel point they make is that some group (probably the creators of Bitcoin) control 25% of the money supply. I have not read the paper yet so cannot comment but I was under the impression 95% of Satoshi's coins have never moved since being mined. (If he does control them at all) Of course if they do control 25% of all the circulated Bitcoins this would forever stunt its growth as that actor would always be far too powerful.

Whilst I do not believe a Government created Bitcoin I welcome these articles that counter my own views. This also re-emphasizes the work that needs to go into coinjoin or zerocoin implementations as soon as possible. Also we need to seriously fix the 7 tx/sec limit.
hi, interviewed here.

I can't answer the questions since I have a dual citizenchip: Argentinian/Italian thanks to my grandparent :)

from what I've heard there is a new law to attract engineers and similar professionals to work on big companies only with the condition that they have a contract and are paid more than X annually (I don't remember the amount).

I don't know of something similar for founders.
Except the posted C++ code does not correctly handle memory errors or exceptions thrown by the STL.

I love C++, but let's not make stupid claims.
Wikipedia claims that a scripting language should be interpreted and I would argue that this means that you need a good interpreter program too. There is actually a language called Ch (http://en.wikipedia.org/wiki/Ch_(computer_programming)) that tries to achieve just that and it work pretty nicely but it's not full-blown C++.
Important Reasons to Develop a Unique Brand Presence
IMHO this is a terrible example as you should never write this as it is just unix' sort. Furthermore I think it is even complicated. First, I think it should read from stdin and write to stdout and second this should be really short not what c++ people consider short.

E.g.

import Data.List

main = interact (unlines . sort . lines)
>Bitcoin is, by design, highly vulnerable to network analysis.

By design as in, that's the only way the network could conceivably work. Each node must be able to verify that the chain is intact and valid, otherwise they would have to be trusting a third party. There's ways of obfuscating this anyway, which seem to work quite well in practise.

> This is a surprisingly good analysis that strengthens the argument that a Government agency created Bitcoin

It's not really. If the US government were to create something like this, they wouldn't have risked releasing something as ridiculously buggy as the original Satoshi client. You're talking massive remote exploits, people able to make their own coins due to an integer overflow, just chaos in the code. It's truly miraculous that it even took off at all, and the developers are still trying to fix the issues that Satoshi unknowingly introduced. Bitcoin was not the work of a skilled team.

>I was under the impression 95% of Satoshi's coins have never moved since being mined

That's correct, though you can't even verifiably say that all the coins were minted by Satoshi. I doubt they'll ever move, given that Satoshi made it very clear that remaining part of the community is a bad idea. In their shoes, I would have been mining to a bit bucket, which I imagine is the case here.

> This also re-emphasizes the work that needs to go into coinjoin or zerocoin implementations as soon as possible.

Coinjoin is well and good, but zerocoin is a no show at the moment. It's immature, creates massive signatures, and is completely untested. There's no way it would ever make it's way into the mainstream client in it's current state, and the developers know that too.

> Also we need to seriously fix the 7 tx/sec limit.

I'd go close to calling that one a myth. There's really nothing stopping 7 transactions a second at the moment, in fact it's intended to be tight for block space in order to create a market in which people battle for transaction fees. There's also nothing to stop the block limit from just being increased, 1MB is just arbitrary at the moment.
One may have heard the medicinal properties of cow urine:
http://www.gomataseva.org/pure-cow-products/gomutra-cowurine

The advantages of Gomutra are: It works as antibacterial agent Boosts the immunity of the body Useful for heart patients and obesity Lowers cholesterol levels Reduces fats Improves brain power Repairs and regenerates damaged tissues and cells Cures children’s cough and other diseases Increases life span and purifies the blood.
that's the one I got and the process was really simple, the tax part was more complicated (getting the tax number for the company) but not impossible.

still you have to know enough german or have a german friend who can help you.

in my case we are bootstraped and the cost of a Steuerberater (tax advisor) is kind of high so we are delaying it as much as possible. Still I will need one next month :)
The Apache Software Foundation Announces Apache Hadoop 2
More accurately: "Ireland will not close Apple's tax loophole; won't close the other one either.", since the article explains that all Apple needs to do is to declare it's Irish subsidiary to have a tax domicile of Bermuda (or anywhere else without corporate income tax) and Apple's current loophole remains intact.
This is NOT a communism.
True, the first release of NT was named 3.1 to match the current Windows version, but then minor updates count as iterations as well and therefore XP is the 5th iteration (we will all agree that 2000 to XP is a major step).

My point was that if you want to find number laws, you will find making a point around them is really, really silly.
Seems broken, hitting enter a few time shows text outside of the box.
The thing is in ruby you are already in main method so there's no need to declare main function as an entry point.
The main reason that the c++ version the code is longer has some historical/performance related issues!
In c++11 it could've been with smaller standard library at design but that could break the old codes!
Although obviously, "Little code =! Better code".
What you want to achieve is actually more important.
Btw, C++ as a scripting language? at first you might think that way but truly that's a big lie :)
perhaps that was their (poor) way of saying that all the non-dedicated platforms would be just as bad, and dedicated was the only way to get you the IO you wanted?
A problem with the Windows tech stack is the culture of automation (or lack thereof). Sure there is PowerShell, but often times critical tools insist on giving you a GUI instead of providing something that can be incorporated into a script. And even when they do offer scriptability, its much less documented than the GUI.
They lost me at IIS.
Yeah, the bash variant is obscenely short as well. Short enough that it isn't worth having as a separate program.

cat in.txt | sort > out.txt
How LinkedIn Got $10M by Making Weakness Look Like Strength
If they are targeting a system like snapchat which has at least made some effort to make data retention and recovery a bit harder (in the company own interest and/or its users), is it presumable that they are also after messaging systems which make substantially less or no effort at all to limit data retention like for example kik messager which is getting bigger and bigger? (not to talk about whatsapp where, adding to this, your ID is your phone number...)?
Brand Networks acquires Optimal
Have to disagree here. Every time I found the time to bootstrap an event (like techtalks, user groups) it worked. The demand is high and a lot of folks around here are doing IT. For one, hockeyapp is based in Stuttgart, as are many other companies. Nobody talks about it, that's the issue.
It's my favorite language. Python ranks a close second. With those two languages, I can do anything.
good point about the UB. Together with shin_lao's comment about the error/exception handling bascially sums up why the author's claim only makes some sense, but not a lot.
If we want to golf it, it would probably just be

lines = IO.readlines ARGV[0]
File.write ARGV[1], lines.sort.join('\n')

certainly more readable than the C++ even if you're unfamiliar with ruby.
Dear consumers: Netflix and cable companies look ready to give you what you want
Python (assuming that the last line ends with a newline):

import sys
open(sys.argv[2], "w").writelines(sorted(open(sys.argv[1])))
Yep, totally agree.

There's almost no interaction between the big tech multi-nationals and local tech scene. This is mostly because the large "tech" companies mostly employ finance, sales, support and logistical staff in Ireland rather than the raw technical talent of the "startup" scene
Unfortunately that's pretty much the BBC's own definition of impartiality — as was articulated by its head of news a few years ago — and it's deeply flawed.

It means that issues or actors are given favourable coverage in proportion to their ability to muster or manufacture complaints. In important cases (e.g. around Israel/Palestine), this is not strongly related to the merits of the arguments.
Don't be so self conscious! I see plenty of people standing on public transportation when there are seats. There are plenty of reasons why I can think of:

- They have a lot or big luggage or a backpack with them.

- They are only going 1 stop or two.

- They have a medical condition where sitting down and standing back up again is difficult, so it is easier to stay standing.

- They have been sitting all day at work and want to stretch their legs.

- They want to leave the seats for other people who wish to sit if the train fills up, whereas they don't mind standing.

- Standing is more comfortable for them than sitting.

- A lot of times they are reading, so I think reading might be easier standing than sitting perhaps, but I don't know because I have never tried to read on the train.

Nobody will question you.
Well, if you want a REPL for C++, there is always ROOT. Though, for the love of all that is holy in this world, I don't know why they chose to have a REPL for C++. Or why they chose the profoundly ungoogleable name of "ROOT".
Presumed meteorite pulled from lake
Heads up: not yet available for Linux and Mac.
In Unix shell makes it in 2, with the bang line:

#!/bin/sh
sort < $1 > $2

My preferred scripting language ;)
I use C++ every day but I take objection to the following claim

"powerful string manipulation functions"

boost::algorithm::split (and the rest of algorithm, frankly) is unintuitive to use. Regex requires looking up the syntax every time. No encoding/unicode support. Literally 100's of popular string libraries, all incompatible, and that's not even counting all the homebrew. char* everywhere so lots of copying to work with string objects (which is what all of the algorithms work on). Dozens of different and slightly different ways of converting other types and object to/from strings. Poor string formatting functionality, and the solutions that exist are verbose and cumbersome (strstream, boost::format, ...) .

I still love the combination of low-level power and high-level abstraction that C++ provides, but string handling is one of the most problematic areas, in my experience (which is of course colored by the type of work I do, but still).
Er... No! No GC and multi-paradigm.
I'm not arguing with that ;)

BTW, I would never use Ruby for anything that needs performance, but for ease of use and readability it's really great.
As someone who has used f.lux for the last few years (and more so after I've started classes), any single one of these is a welcome update. Together? I'll take it as a late birthday present.
Or one liners:

import sys; open(sys.argv[2], 'w').writelines(sorted(open(sys.argv[2], 'w').writelines())

(use-package :com.informatimago.common-lisp.cesarum.file) (setf (string-list-text-file-contents outpath) (sort (string-list-text-file-contents inpath) (function string<)))

Indeed, what kills languages like C or C++11 in the scripting domain, is the need for declarations and other kind of boiler plate. That said, with C++11 there are means to write a library requiring less declarations, but it's still a cultural problem (beside the hard work that it would require).
the alt-pg up/dwn feature to adjust brightness is pretty great. the fact that it rolls back in the morning is pretty clever, i always found myself having to fidget with settings on my monitor.

i wish more devices, like tvs, had flux baked in.
maybe having different strengths than other "startup capitals" is something good, the only thing is that not many of those people with that knowledge take the decision to create a startup of their own.

look at the latest trend of startups that have hardware as part of their product and the internet of things movement, that will require different skills and there's a lot of that in stuttgart :)
> Bitcoin was not the work of a skilled team.

This is refreshing to hear, however the Government does not have a history of writing good code (excluding NASA)
I still feel like the Government argument could be correct.

> I'd go close to calling that one a myth

Well the limit is based on size, and 7tx/sec assumes an average transaction I think.

> in fact it's intended to be tight for block space in order to create a market in which people battle for transaction fees

I remember reading Satoshi did not intend for limited blockchain space and envisioned 500GB blocks.

> 1MB is just arbitrary at the moment.

A hard fork will be required, this will not be an issue if no one complains.
Unix shell:

sort
C++ is always the second best language for any task!
When you are a house owner, pay the property tax and have a house to let, you do not really dictate the renting price. You may try, but in the end you can only have the highest bid. Won't you rent just to alleviate the ownership costs? When so many got in the house-ownership game it become pretty much the renter's market. The renter can be choosy, you - can not.
Once you remove the redundancy, you'll see it is pure information!
No need for cat!

sort in.txt > out.txt
You can even just write

lines = sorted(open(sys.argv[1]))

since Python files act as iterators over lines.
I realise that "evidence" is a term with a broader meaning. However, for most of the points brought up, I fail to see how they support the hypothesis that Bitcoin stems from a natsec background. Things like group efforts and maintaining anonymous identities are not specific for that environment.

The Hezbollah reference was irritating and I would that consider a very remote analogy, if at all.

Point 6 holds valid for a lot of financial services that allow to transfer monetary value in a non-physical fashion.

Nevertheless, all points are probably either interesting knowledge about Bitcoin or valid statements about it.
That's not exactly a Pythonic example...
I went one day to the stuttgart hackspace (http://shackspace.de/) and they gave me a nice introduction and tour, it's really big, they do really cool stuff.

if you are around you should go and take a look.
Can I suggest you have your front-page carousel altered to pause when a selection is made via the buttons. If you click a button to read the content the carousel timing can mean the slide changes before you have time to digest the content.

Love the depth of your outage notifications incidentally. One big problem for me - sadly stuck on shared hosting - is that the host never tell me a) when things go down and b) when they change things [that often seem to break sites].
Well, if you really want to golf it, you can just write:

File.write ARGV[1], IO.readlines(ARGV[0]).sort.join('\n')

;)
> login with facebook

> asks for a fullname, email, username, password, captcha and terms agreement

Yeah, maybe some other time, thank you.
every single line of code is clear, understandable and expressive

It's been a while since I looked at C++ but that statement doesn't apply to me. For example:

for(const auto &i : data) {
ofile << i << std::endl;
}

I have no idea what that's doing or why it makes any sense. If I knew C++ better maybe that wouldn't be the case but, for example, the Ruby example someone else provided is obvious to me (and I don't work with Ruby).

It feels there's a lot of telling the machine how you want to do something going on in here (instead of what you want it to do).

I'd be really interested in hearing how this sample differs from a previous C++ implementation.
I wouldn't say it's gone into scripting language territory yet, but C++ is becoming a much simpler language for everyday programming. It's still a large complicated beast with sharp corners, but that only really occurs when you delve into library-writing territory. Everyday C++ code, when written in a modern style, is just cleaner, and C++14 is going to make it even better.
Google docs and its "don't be evil" motto were as good as declaring war on Microsoft. Missing that intent would have been tough.
Ah, nice to see that becoming mainstream. I glossed over it since it's so similar to:

BOOST_FOREACH(string i, data) {
ofile << i << std::endl;
}
I didn't have time to grab the actual books. You mean chapter numbers, quotes or the general idea in longer form?