skysight-inc/HackerNews huggingface dataset:
if said service is provided by the employer, they own the data/communications and have every right to monitor the service. same goes for work email: employers have access to this. it isn't illegal for them to access these communications done on a work account.
Mocking is the primary problem with TDD as it exists right now. "Isolated testing" (or isolated TDD) is advocated by people like Uncle Bob. Many developers listen to Uncle Bob and end up believing that unit testing without complete isolation is not "real" unit testing.

Isolated unit testing is supposed to improve your designs. But when you mock everything, you end up with tests that know everything about your implementation (white box testing). The result is that refactoring breaks your tests. Your tests no longer document how to use the system; they are merely a mirror of its implementation.

Kent Beck's central point in his book is that TDD mitigates fear, allows refactoring, and gives you immediate feedback. Extensive mocking makes developers fearful to refactor (thus hurting design) and reduces the quality of feedback. Not to mention it makes your tests hard to refactor too.

Martin Fowler explains the difference between "classical" and "mockist" testing:

http://martinfowler.com/articles/mocksArentStubs.html#Classi...
CUNY Data Visualization Final Projects
Are you limited to a particular version of the jdk or can we use 7+?

Re xamarin... anything they do well that you do not (yet)?
Yes. you need a minimum of 500 karma to downvote posts or comments.
It's because of the 55B they made last year, more than 50 of it was from advertising. I'm sure Coca-Cola is more than a soft drink company, but that's the main thing. The only real threat to google is a threat to their ad revenue. So, it makes sense to think of google in terms of ad sales.
It sounds like it is his company.
From Data Ownership to Data Usage: How Consumers Will Monetize Personal Data
Farm creates compressed natural gas from cows waste.
Pivot Tables are even easier to construct and use than these functions. They calculate things like averages, counts and sums for lots of dimensions really quickly.

If you don't like the Pivot Table layout, you can use easily construct formulae to pull the relevant values from a Pivot Table into whatever format you want. You still get the speed of calculation/refresh and, if you label your fields well, have formulae which you can copy-paste across a large area, making the sheet easy to inspect and reason about.
Those rules apply in a monopoly - when a business is not a monopoly it has considerably more freedom.
The common argument that systemd makes init jobs unportable sounds quite funny to me. I've used a lot of *NIX systems and init.d jobs are anything but portable, unless you fill them with OS-specific hacks.
Demistifying Secret
Ha...I've been through Amish country and obviously they still do the horse/buggy thing. It has me thinking of a neo amish faction that will still drive cars on the side of the road at 60mph while all of the self-driven cars blaze by at 500mph.
Or it's what happens when you look at data in the simplest way possible. We know there will be upsets, we know some players play better together than others, etc. This could have been enriched to show something quite interesting.

On a side note, personally, I think England will surprise everyone by making it to the finals.
Lack of talent or lack of US-comparable salaries? A lot of U of Waterloo people get snatched by American companies, I bet if we paid them about the same many would stay here.
This is how i think it works. The ammount of points you get, has nothing to do with the average vote count of a user (the avg. vote points / total vote count could influence when you appear on the front, but it doesn't influence the points you receive).

When you create a post you automaticly upvote it, this upvote doesn't count for your profile score, if anyone else upvotes you, you get 1 profile point. If anyone downvotes you, you get -1 profile point.

Someone with > 500 profile score can downvote you.

Edit: The one downvoting me, could you elaborate what isn't good about my answer?
Microsoft acquires French app management startup Capptain
PythonAnywhere: Cloud Sauced Python
Taxes in Canada are not particularly higher than in the U.S.

http://www.cra-arc.gc.ca/tx/ndvdls/fq/txrts-eng.html

http://www.investopedia.com/financial-edge/0411/do-canadians...
I tried to sign up. I really did.

First I entered in my own details but neglected my lastname... didn't say I had to. It's a single name field. It rejected my submission and zero'd out the fields. Strike one.

Then it asked for my team members names and email addresses. It had a skip button, that was nice. I added their emails and used again their first names... let them add their last name or preferred name. Again it failed and removed all the data I entered. Strike two.

Then I attempted to download the client. It wouldn't let me till I verified my account. It will let me send solicitation emails to team members... but not download a client. Ok. Odd. I downloaded the client to my mac entered credentials and after about 4 minutes it failed to launch with a debug window displayed. Strike three.

I did try.
But from a legal perspective [IANAL, but I'm pretty confident on this one], they can engineer the system to give them an advantage as long as they don't have an monopoly. When a company is a monopoly, new rules do apply.
It's an interesting topic in that I remember just how much of a revolution the original Voodoo card was to gaming (for me anyway). These new cards didn't just enable slightly prettier graphics like a new card would today, they enabled entire new genres of game. If anything, the art quality actually took a step back for a while (some of those sprites were gorgeous), but the new 3D effects more than made up for it.

I imagine products like the Oculus Rift will hopefully have the same effect on gaming. New ideas that we could barely imagine before will now be within reach.
Good points... but what happens when you walk into a legacy code base with few tests that wasn't designed to be tested and is tightly coupled to a component such as a database?
I agree. But another option is to make all the methods that would call now() take an extra parameter of the current time. Talk about making your dependencies explicit...
That may not be what they're "for" (wtf does that even mean?) but they're a damn good use of mocks. You can't fix everything right now.
Capsules.io – Location-based platform for fusing our web with the physical world
I did this for a gdb wrapper I wrote. It logs all the stdin/stdout between itself and gdb and between itself and the user. You can then take that log file and replay it to simulate both the user input and the gdb output.
I would love to see an actual study on this. There are only a few cities in the U.S. where public transportation is good enough to get by without one and while those are typically big cities they aren't big enough to compensate for the number of cities with poor public transportation.
Alibaba to Buy Stake in Singaporean Postal System
The title of the article says "How do I create an HTML snapshot?"

The FAQ (https://developers.google.com/webmasters/ajax-crawling/docs/...) goes into more detail regarding the concept of _escaped_fragment_ which is used in so that your server can respond with a static snapshot instead of javascript.

Look at the diagram at the bottom of this page (https://developers.google.com/webmasters/ajax-crawling/docs/...)

It explicitly says "snapshots"
Answers to real world questions almost always lie somewhere between 0 and 1. Your question is no exception.
"Redesign your code so it only interacts with such code at the edges."

yeah, and what if you don't have time to do this? sometimes mocks are appropriate because of schedules and other priorities. Much better to mock than to not write tests because mocking is not pure.
The Gamma Ray Burst (GRB) That Wasn't
> It is (indirectly) to me. I often visit the US, and I'm always amazed that I can't seem to go anywhere walking. The distances to go anywhere are huge. It seems to be that way because cities in the US where designed / build with cars in mind.

Huh, why would you think that? I'm not sure there's a major city in the U.S. that wasn't already a major city pre-car. And cities weren't redesigned post-car, that's why a lot of them have road problems. U.S. cities are spread out because of suburbanization. It's only going to increase as the workforce becomes more remote-based.
"Some votes are more equal than others," if you will.
Why are you posting here? This isn't a Google support forum - although you might get some commiseration :)
> there are major benefits to the US passport

can you mention one, esp. over the Canadian one? One particularity of the US passport is that you have to pay US taxes even if you live and work elsewhere
There's a time and place for various tools. Mocking isn't all good, it's not all bad. Sometimes it's a good tool for accomplishing an immediate goal. Sometimes it's a crutch that encourages poor design. Keep an open mind and make evidence-based decisions. Only Siths deal in absolutes.
"This website abuses rawgit, you should complain to the owner".

Consider it done.
Not quite, I have >500 karma but only see downvote links for comments. I've never come across a post with a negative score.
I wander how does it compare with Qt.
I have been researching / follow vision correction surgery for a long time; however I never took the plunge as the contact lenses kept getting better and better every year.Now they can be worn for a week. Remember surgery is irreversible. Good Luck to you !
Weird. I visited the website and got a message saying "This website abuses rawgit.com. You should complain to its owner."
I think it's only possible to up vote comments after a day or so, and no longer down vote. So when you say something controversial, the first hours you get a lot of both up- and down votes. But after a while, you only get the up votes.
Obfuscation of the rules is clearly a key component of the voting system on HN. The less we know about the rules, the less we can game the system.
He may have already been presenting you that way, without your knowledge or consent.
"local monopoly": meaningless. That's like saying that Gmail has a "local monopoly" on web-based email because switching would be a hassle.
Article has tons of holes in it. They didn't even mention Pixar once:

http://en.wikipedia.org/wiki/Pixar_Image_Computer
I found the article disappointing. Instead of giving reasonable arguments against mocking, the author offers an example where mocking was used wrong and therefore propagates that it shouldn't be used at all.

The problem is not mocking. I found it to be absolutely helpful if used right (and right often means sparsely).
The problem is this "all or nothing" mentality that many programmers have. Either they mock the hell out of the codebase or they don't use it at all.

I don't use mock objects, unless it's message based business logic, often located at the topmost layer of abstraction.
What the hell is that?
Python 3 will be better and better with more and more project porting to Python 3.
I think you're constructing a strawman and then having a few swipes at it.

Perl evolved into it's "new form" some time ago. Modern Perl came out 5 years ago and was really just codifying best practice at the time.

It's still the same language if you want it to be. Backwards compatability is taken very seriously. Which - yes - does mean that you can write crappy old perl in it if you want to. (And also that all the crappy old perl you have lying around will continue to work).

But it's also a pretty vibrant, modern language. Any new project or new perl codebase can and should be written in modern perl. And - despite your assertions - it's still very much the same language.

Just now with extra, better stuff too.
... and give up the ability to easily run on any non-systemd system, like BSD, Solaris, OSX, older/embedded Linux distros, and basically any other Unix. Oh, and it's GPL'ed so most of those systems won't use it.

Requiring systemd is like saying every daemon program needs a GUI.
> A bus is possible, but if this was a viable business, it should exist already. The only difference is the cost of the driver, so the automated bus might save passengers $5/day. Is that $5/day extra cost keeping this business non-existent at the moment? I'm a little skeptical.

You're already seeing the much-maligned google (and other tech companies) buses in SF and area, so they're just-about-viable for some cases. I've seen a similar business model for hotel-airport shuttle services, and these kind of vehicles are everywhere in denser cities (Hong Kong, Firenze).
Correct. It was used in some of the 80-column addon cards, but Woz drove the video signal directly from a sea of TTL gates. It was pretty amazing stuff for the time.
But now you've...

a) changed your interface in a way that invites use cases you never intended (or wanted) to support.

b) added branching code anywhere that requires now()
As others are pointing out, yes, it's reasonable to not publish an API that you've chosen not to invest in supporting forever.

But it still feels like this is wrong even though we know the above. The reason it feels wrong comes back, as it always does, to Apple's walled garden. If we could 'use it at our own risk' as we might with an unpublished Android API or an unpublished Windows API, everyone would be fine with it.

But when 'unpublished API' means 'if you go near it your app is dead' that is a much less reasonable thing.
Ha ha, look at the capacitors soldered across the through-hole ICs on that first ATI board from 1987. Only took a couple years to get to sophisticated SMT boards.
Odd. If I recall correctly, there was even a detailed FB PHP coding style guide in the HHVM Git repo; that was afterwards removed though - I don't know why.
Building A Better Web With Track:js | DigitalOcean
MongoDB GUI “3T Data Manager” Is Free For Personal, Non-Commercial Use
450 karma to down vote comments.

I'm unsure of the value to down-vote links, its >930 based on the fact that I can't and I have 930 karma.
"formula results that got turned into static data"

This hints at one of the sources of problems with Excel. One good approach to using Excel is to always be in one of two modes: changing the structure (equivalent to coding) and entering values (equivalent to using software). Of course, at the early stages of designing something you will be entering lots of dummy values (e.g. ARPU) to check that your formulae work.

However, many people don't distinguish between collections (rows, columns or other contiguous areas) of cells which _should_ contain values, and those which should contain formulae. I, like many, prefer to indicate input cells with a yellow or orange background, so that I know everything else is a formula.

You can do even better:

- If you're done designing a spreadsheet, and expect to use it for a production process, then mark the input cells as unlocked, and protect all the sheets. Then the end user won't be able to mess up the formulae.

- Always write formulae in a way that they can be copied across or down whilst pointing to the right places. This can be achieved through use of one or more $ signs to fix a reference. I've seen a fair number of spreadsheets where there are a large number of similar formulae, but they have been entered/adjusted manually. This is fine only if you never make mistakes, and if no one else needs to change the formulae later or verify they are correct.

My point is that "formula results that got turned into static data" can be avoided with just a few easy rules. However, most people aren't taught these rules :(
"may include" in a privacy police is newspeak for "we will".

That 'may' is there so that if you read it you get a warm fuzzy feeling because no way would google ever do such a thing, and it allows them to point at it when they're caught doing it saying 'we told you we were doing this all along, see, we gave ourselves just enough leeway there to squeeze through'. Call me jaded, cynical, old for all I care but I have yet to see a big company that did not act in the way I just described when it came to covering their asses while pulling the wool over the eyes of their end users.

> We anonymize this log data by removing part of the IP address (after 9 months)

That's not exactly anonymization is it? You're making it worse. Anonymization is removing all user identifiable information. This is merely stripping some unspecified number of bits of the IP, which more than likely has changed by then so has lost most of its value, and retains the cookie which has more resolution than an IP to begin with.

> and cookie information (after 18 months).

What's the normal lifespan of a google cookie?

More or less than on average 18 months.
Mocks don't cause coupling. Programmers do.
20 years Pretty Home Pages (infographic)
Codename One predated RoboVM by more than a year. Its a WORA solution whereis RoboVM Java for iPhone more like a tool to replace Objective-C.
Finally... it worked well with logstash but a native implementation is always better.
Is that TCP only, I don't see any UDP settings?
MAPS: The Biggest Immigrant Groups In Every US State
One thing that the US definitely are better at than Germany is accepting failure.

Failure in the US is expected in the startup world, whereas you'll often not even get a fucking cellphone contract once you went broke in Germany. For years.
I have to ask - was this truly a surprise for anyone?

Google's entire business is advertising. You'd be silly not to expect them to log, of all things, what you type in the search box.

Search history is and always has been a convenience feature, and they do not posture it as anything but this.
I think the owner needs to update his URLs to use the Raw Git CDN. From their FAQ:

Can I use a rawgit.com URL on a production website?
No. Please use cdn.rawgit.com for anything that might result in heavy traffic. Only use rawgit.com URLs for low-traffic testing and sharing temporary examples or demos during development. When people misuse rawgit.com, it costs me money. Please don't be a jerk.

What will happen if I send large amounts of traffic to a rawgit.com URL?
Bad things.

First, requests will be throttled and your site will load very slowly. If the traffic continues even after automatic throttling is triggered, rawgit.com will start serving evil.js and evil.css instead of requested JS and CSS files. Visitors to your site may see an annoying alert warning against using rawgit.com in production, and your JS and CSS may start doing very strange things.

This is designed to get your attention and encourage you to stop being a jerk. Only use cdn.rawgit.com in production; never rawgit.com.
Actually not that far from it. Although its in Java so its higher level abstraction and its more WORA oriented in the Java style. More like Swing.
and seldom used where I now live on the US east coast.

Seldom used? Even New York City has lots of cars.

I think people are assuming everyone else is just like them.

As for universal car-sharing, it starts with the idea that "cars are idle 90% of the time" and ignores the fact that 80% of people want to use them at the same time: on their morning and evening commutes.
Well, I have lost 7 karma points because I agree with an article.
Facebook releases new app feature that listens to users’ conversations
I spent more time building my mocks instead of building my tests. Sometimes a file might have 90% mocks and 10% tests. Or maybe that's just my mocking framework...
I think OOP is exposing serious flaws in how humans write software and solve problems. I'm not sure, but it seems there is an impedance mismatch in how we write code, and how we'd like to test code, but there is a reluctance or outright defiance toward the idea of writing testable code.

The FP community doesn't seem to have a problem so much with testing simply because they mostly write pure functions that are data in -> data out and that is the easiest thing in the world to test.

It occurs to me that most developers aren't writing testable OO code, and thus we have a never-ending argument about the most clever way to test (or not test) code that is not easily tested in isolation.

If we never get around to writing testable code, we aren't going to have systems that are easy to test. If we don't have easy to test systems, testing is going to suck and people won't do it.

I don't know that FP is the answer, but just asking people to write better OO systems isn't working. The problem certainly is more fundamental than simply TDD or mocking or whatever language or tool we are using.

The problem is in how we look at solving problems in code and how that relates to system maintenance over time. It's a people problem, not a tooling one.
And it looks like the Hacker News effect may have put Bluff Works on the top referrers naughty list:

http://rawgit.com/stats#referrers
> forking - assumes the original process invoked to start the daemon will exit once the daemon is successfully initialized, and not earlier. Requires a pid file and is subject to all the traditional flaws of pid files (but systemd can mitigate them somewhat by being the process that inherits orphans).

No, systemd uses cgroups to manage forked processes (with the option of pid files).

I'm not sure why I should seriously consider a critique of systemd by someone who doesn't understand how systemd works.
> You've got to support the API forever, and future design directions are constrained.

Actually, I think part of the reason for Apple's reluctance is that they don't do this; they'll gladly deprecate APIs and remove them in future versions, but that's about as bad because now you're breaking apps (which admittedly are unable or unwilling to update).

This is especially a problem in corporate environments with custom iPad apps; if the customer doesn't want to pay the developer to update for newer iOS versions, then they basically can't buy new devices once the API is removed, because their app won't work. This is why Microsoft keeps APIs around forever, and why businesses keep running XP until ten years has gone by and they start getting hammered with 0-days.
You can connect to Slack through any IRC client, check your settings.
anyone know of any other (re: even better) ios push notification tutorials?
Sadly, most people don't use this feature, and are content to show values using the default format, even if it results in values displayed as 12904819.23 (which might be better displayed as 12.9m or 12.90m).
Hay, Man: The Curious Life and Times of Scarecrows
When traffic shaping of typical protocols like HTTP[s] and a lack of net neutrality causes only unidentifiable VPN sessions to operate at a consistent high speed.
No, there is no downvote for posts. Flagging is supposed to take the place of that, but only for posts that violate the rules. From the FAQ

There are no down arrows on submissions. They only appear
on comments after users reach a certain karma threshold.
Is College Worth It? It Depends on Whether You Graduate
So what is the difference between Codename One and libGDX? Gaming focus?
How Tennis Officials Are Trying to Make the Game Fair
It’s Not as Simple as Asking to ‘Be Forgotten’ by Google
People would have had experience travelling at speed because of trains. Even horses can travel faster than that. I do remember reading about the first train and there was worry that people couldn't survive at speeds greater than 25 mph.
From the FAQ:

Why don't I see down arrows?

There are no down arrows on submissions. They only appear on comments after users reach a certain karma threshold.