skysight-inc/HackerNews huggingface dataset:
So I take it this is the first time you've not been paid by a client.

One. Do you have a contract?

Two. Are you in the same State, Country as he is? (This will be important in your collection process)

Three. Did you deliver the product as specified in the contract?

Four. Is the amount he owes you less than $10,000.

Five. Did you contract with him personally?

If the answer is YES to all the above. Send him a notice that he is past due, you'll have to notice him and give him a reasonable amount of time to respond, say 30 days. You'll have to memorialize your communications. After that you can go to a small claims court and get a judgment and attach his assets. Depending on what he has you may get your outstanding balance in 3-4 years. In your notice make sure you let him know he breached his contract you'll be charging interest after 60 days overdue.

If your contract is with a corporation. Then you're just an unsecured creditor. You can still go to court but the best you could get is a judgment against a corp which main asset is your software.

You can sell your invoice to a collection agent, but you'll be lucky to get .10 on the dollar.

Seeing a lawyer will only put you more in the hole.

My advice is to tell him that he's breached his contract and with that your agreement not to compete with him. Also let him know that you'll be selling the source on the web to recoup the loss from his breach. He may be a little more reasonable if knows he has competition.
One problem I've been running into: I have a virtual machine (linux running in vmware fusion on osx). I have dev.site.com in /etc/hosts. The vm is set to use a private network on the vm (as I don't want the ip address to change when I switch networks). How can I setup my phone to load dev.site.com and have it work while keeping the private network setup?
You probably know that light field tech can be used for selectable depth-of-field or extended depth-of-field at large apertures. In other words, it can make a camera that doesn't need to focus, even in low light when you want the lens wide open to minimize noise. Why Lytro chose to market it as a selectable DoF thing is baffling to me. My 2011 post on G+ got their attention[1] and they promised that an "all in focus" mode was coming soon. IIRC they did eventually ship it for their first camera, and for all I know this new one supports it too. But they're moving way too slowly and the website here makes the camera look like a concept rendering -- I was shocked to find in these comments a link to a hands-on with the thing at Engadget.

[1] https://plus.google.com/+CarlLumma/posts/26vziK7NhzV
"While Horvath characterized much of her woes as being
gender-related [1], the investigation could have
classified most of them as either unprovable or terrible-
but-not-provably-sexist."

One of JAH's claims of gender bias involved a:

"man who bullied [her] out of [github's] code base because
[she] wouldn't fuck him. Too popular to be accountable,
[she] guess[es]."

After reading that I figured it's worth browsing through JAH's github account for recent code involving HTML/CSS (since the reverted commit involved CSS IIRC), and what I found would suggest that it's more likely that she made a poor/careless commit. I posted these findings in a comment way at the end of this thread that people are unlikely to see because the parent comment isn't being voted up on. Here's the link to the comment with links to broken or poor commits by JAH:

https://news.ycombinator.com/item?id=7625258

In light of this other recent commits (by a longtime githubber who would be expected to exhibit much better git hygiene and committing habits), and lacking the content of the actual reverted commit, I would say that the claims of gender bias in this specific case appear dubious at best.

If this other githubber did in fact make such vulgar comments, we still wouldn't have enough information without also knowing if that comment was completely unsolicited and out-of-the-blue, or if it was reactionary to whatever JAH may have said to this person just prior to the comment being made. Context matters. It could have been verbal self defense in response to a verbal attack, which is still unprofessional, but far more excusable especially if the original attack was equally unprofessional and sexually-charged. Given JAH's tact thus far, her character suggests someone who would have started a verbal fight.
They require that pointers be declared as

int32* p;

and not

int32 *p;

and I know that is the convention in C++, but it still makes my eyes bleed. It's a gross violation of the Law of Least Astonishment, since, of course,

int32* p,q;

doesn't do what you might think it would, based on the syntax. This is not a problem for the F-35 code, since multiple declarators per declaration are forbidden.

Sorry, I'm an old C guy and I guess there are some new tricks I just can't learn...
Next-gen Thunderbolt doubles speeds but changes the connector
Ruby On Rails job aggregator
Shameless plug: I just released Eight Brains as an iPhone Chinese dictionary targeted at new Chinese learners.

I do like the simplicity of the grammar, no conjugating, no adj/verb agreement, just naked words. But the simplicity it is compensated for with a variety of grammatical constructions: 要...了, 是...的, 挺...的, etc. (Simple grammar is summarized in the above-mentioned dictionary :)
I love reading rants like this. You can see just how little experience the author has with working with a team or production code.
Uh, what if I observe your trading activity

Since the traffic is anonymous, how do you propose to do this?

[Edit] one HFT directly overwhelms another HFT

No, the dos needs to go through the exchange, thus is is not "directly" but indirectly through the exchange.
It is definitely aiming for hard real-time systems. It's not quite there yet, but the Rust developers been hard at work removing obstacles to its use in those situations.
> Memory usage building Firefox with debug enabled was reduced from 15GB to 3.5GB; link time from 1700 seconds to 350 seconds

Why does using LTO reduce link time? It would expect the result to be smaller, but transient memory usage to be significantly higher.
That's the gofmt tool that we're all talking about.
Don't you know that it's strictly verboten to even remotely criticize Lisp in this forum?
This is basically recruiter MLM to me: even if it affects the employee's relationships with their friends, family, and acquaintances, a company should try to extract as much value from those people as possible.
Shame I didn't have however many hours to waste looking for codes.

Oh well, I guess I will not spend 900 dollars on IO. No big loss either way.
What I am seeing is a straight IAM Role. I meant cross account, so visualops AWS account will be given permission.

http://docs.aws.amazon.com/IAM/latest/UserGuide/cross-acct-a...
Oh god. I had no idea it turned into clickbait bullshit :(

"10 Trade Secrets We Wish We Knew"

"10 Most Stressful Jobs in America"

"Who is the most famous person of all time?"

"10 Science Questions You Should Really Know How to Answer"

"10 Bizarre Ways to Die"

"Is there a real way to lose belly fat?"
Do it. You won't turn back.
States: Spike in Tax Fraud Against Doctors
I'm relatively new to JS and functional programming and I've found that functional programming has been extremely difficult for me to grasp. I eventually figure it out (so far) but it takes me forever to read through code. You return a function that has a function in that that has another function in that and so on.

Is this normal?
> Our website is Apache + Python
I would certainly hope that you can only tell hubot to do something like that if you have the correct permissions. Hubot should not be accepting deploy code commands from anyone except those with the sufficient privileges. If that isn't the case, that needs to be fixed asap.
In terms of C source files, unless the fist C source file being extended is at least 64 petabytes long, a length extension attack is going to embed null bytes in the C source file. I don't know chapter and verse of any of the C standards or GCC/Clang extensions, but I wouldn't be surprised if even string literals and comments including nulls cause problems for both GCC and Clang.

Anyone care to chime in/experiment with ways to embed nulls in C files such that either GCC or Clang will continue compiling code after hitting a null byte in the middle of a file? (I'm not talking about an escaped null in a character or string literal, but actually a 00 showing up in hexdump -C of the source.)

EDIT: I think it's safe to assume people will notice someone trying to sneak a 64-petabyte C source file into the codebase. With apologies to Sweet Brown, aint nobody got time for [downloading] that.
It doesn't reduce link time, the comparison is between LTO link times for old & new gcc.
I think this is really useful when you combine it with vhosts on apache/nginx. On my linux machine I run something similar that allows me to serve static assets, run a local dev server (runserver/flask/unicorn, etc) and have a .dev domain to test with.

You can then combine this with xip.io and be able to share your dev site with others.
The main codebase actually started out targeting desktop-class hardware, but the poor uptime of user's work machines (now laptops, soon tablets) actually made our business model not work, hence the dedicated hardware.
I don't think it was a fair play again this year. Hiding url for the registration codes in images etc was not a very smart idea (although it was fun for a while), people hacked into it as well and some people got multiple codes while others got none.

Being an Android developer, I was disappointed, at least only registered developers should have been allowed in the lottery fist or better yet confirmed tickets.

Apple was much smarter and it allowed only registered iOS/OSX developers to sign up for the lottery.
Can someone tell me how much control GOOG has over the development of Go? I'm interested, but worry that is this another GOOG "open source" project that they have a huge say in.
Leaker claims that free cloud-based Windows is headed our way
"AV Rule 1: Any one function (or method) will contain no more than 200 logical source lines of code"

Are they crazy? 200 SLOC is a huge beast. With our non-mission-critical software, we typically aim to not exceed 20 lines of code per function, and this including comments and whitespace. Typically it is not very hard to get functions of size < 10 sloc.
If you cut and paste probably the misaligned indentation is the least problem. Cut and paste should be avoided if it's not done during a refactoring (so actual moving of code for better design).

Beginners usually think Python strong indentation is a weakness of the language. I actually find C++ freedom being more error prone:

if (a < b);
a = b

It's a not very frequent bug, but when it happens it takes you hours to spot. ;)
Thanks!

I'm sorry you're having trouble. Do you have version info available? I just tested it on Windows 7, Firefox 28 and it worked. I started building this in Firefox, though now I mostly use Chrome (IDK, Firefox has felt like a beast lately, and I get antsy with browsers).

Sometimes, not all of the javascript files load in the right order and an error occurs because of a dependency. I'm fixing it right now, but maybe reloading the page will help with your issue.
Worst common denominator programming
lol, I just thought it was an amusing situation.
Safe – EncFS-compatible encrypted filesystem for Windows and Mac
I hope this is a Cake reference.
http://en.wikipedia.org/wiki/The_Distance_(song)
Here's to wishing Snowden had asked Putin about this, rather than giving him political cover to orchestrate it...
AT&T Plans to Offer Netflix Clone
We just doubled our instance count, we should be good now.
I see signing bonuses often issued when a deal is about to potentially sour and the candidate has some indicator that a short-term one-time gain would suffice instead of a raise in salary. Could be a low-cost relo, the loss of a coming bonus to be paid, a claimed raise the candidate would have coming, etc.

Still not as common as in 1999-2000 (when they were almost a given) or the first recovery (when they were about half as common as 99), but making a comeback.
I'm not sure how to articulate it, but I find it immensely interesting that Snowden fled to Russia, while Pavel is fleeing from Russia, both for issues within similar realms.
Actually in this case, comparing two languages doing exactly the same thing, LOC is a relevant measure (its a crap measure of programmer productivity). It could show the expressiveness of a language. Also I am a believer that less lines of code = less likely to have bugs.
I switched to Weebly after trying out Shopify. My problem with Shopify is that they nickel and dime you for every little thing you might need and Weebly was a lot easier to get going with I thought. My perspective might change as I grow but to start out it was pretty much a no brainier.
seems like a lot of work...any reason you didn't just hack on something like rhythmbox? It has an API for interfacing via a browser.

I built a python plugin with a web and android interface a few years back: http://code.google.com/p/rhythmote/

Still serves my needs excellently.
Whenever I see things like "Why duplicate the effort, help with the existing ones", I cannot help but wonder how people fail to recognize that all great things had once a beginning. Gogs may or may not turn out to be great, but thinking that because it duplicates effort, it's a waste is very short sighted. Examples? How about countless Linux distributions? How about git itself?
Recomposed by Max Richter: Vivaldi
He made $260 million in Russia creating a copy of Facebook. He sold his shares and resigned.

But wait, he didn't _really_ resign. No, it was all an April fools joke! The investors didn't buy it and fired him.

He claims the site is now under the control of Kremlin because one of its shareholders is Alisher Usmanov, an alleged ally of Putin. Yet, that guy was a shareholder for awhile now and Durov never complained about him.

I don't know. Sounds like sour grapes to me. Sounds like someone is trying to stay relevant by creating controversy and generating hype for a new messaging system that's supposed to protect you from government's eyes.
I see many comments pointing out that European nations spend more on public benefits like healthcare. This is demonstrably false. The US gov't spends more on healthcare - per taxpayer - than do European nations.

The US government is simply extremely inefficient and wasteful. But the money is spent.

Here's a chart. Note that in the US, public health spending accounts for 45% of total health spending:

http://en.wikipedia.org/wiki/File:Total_health_expenditure_p...
Free 63 lifehacks book
> You can forbid certain actions that seem "capitalist", but that's not a free society anymore.

Why not? If we can agree (and I doubt we can) that certain "capitalistic actions" do in fact hurt people, does that not make it possible to forbid capitalistic actions without losing abstract aspirations of freedom?

> My definition of "free" is simple: able to do anything you wish, as long as you're not hurting anyone (in general, I mean hurt physically).

To me, this reads, "able to do anything you wish, as long as you can get away with keeping others from proving you directly hurt anyone". We're actually pretty okay with people hurting each other in this society, because freedom is more important to us than human beings.

Let's do a fairly standard capitalistic action: constructing a building. This is a generally uninteresting conversion of capital, through some risk, into developing property to produce more capital. Can we ever forbid this? Does that restrict freedom? Does it hurt anyone? How can you really tell? The Law of Wheaton works fine for internet conversation, but it's woefully inadequate when discussing political philosophy.

You never really answered what "non-capitalist" means to you. That was kind of a more important question.
Patent Illustrates Five Different Problems with Software Patents
"Most projects don't need LTO" is just opinion (to be fair, no-one needs LTO but it may still help many people)

Larger projects could stand to gain more from LTO because the code will likely be spread across many more files. As a result, the compiler is only seeing a very small percentage of the code when it compiles each file. Potentially then, the compiler is missing out more optimisations.
DHH starts at ~11:30 mark.
Thanks for the advice so far guys. I've been very fair with the client so I doubt it is a personal issue. It may be a financial one but If I'm completely honest, it seems like he's just taking the 'Art of War' advice a little too seriously and using it in the wrong context. I do have a contract in place, but we are in different Countries - so I'd have to look into how that would work. I'm in Canada, he's in the U.S.
How do I get in touch for feature requests or to report bugs I've been using Weebly for a couple weeks to sell my new product and there are two things with it that I think might be easy to fix that are kind of really annoying for me in what would otherwise be a perfect experience.

I tried your feature request voting website but it didn't seem like my suggestions showed up at all after submitting them.
I think you are right on the money and most traders do use techniques analogous to the ones you describe when designing models:

http://www.decal.org/file/2945

"Alpha is often nothing more than taking commonly available data and mathematically encoding it in a signal correctly. Correct often means something as simple as using an rate of change instead of a difference, normalizing a value, smoothing a chaotic signal with an EMA, using a heteroscedastic weighted linear regression instead of a simple regression, or handling all numerical errors or edge cases."

It's not always easy to get this completely correct in every situation and traders face a reward function that doesn't necessarily reward correctness so much as avoiding Type II errors.
References are not a performance hack; they're a fundamental way to avoid lots of moves, which obscure algorithms and cause a lot of mutation. (In Rust they are memory safe.)

Anyway, if you wanted a generic reference-taking version:

fn draw_all<I:Iterator<&Drawable>>(iterator: I) {
for drawable in iterator {
drawable.draw();
}
}

And a generic move version:

fn draw_all<I:Iterator<Drawable>>(iterator: I) {
for drawable in iterator {
drawable.draw();
}
}
I'm curious as to how they did a line-by-line port of the twisted program -- twisted's async (plus coroutines-light w/ via generators) seems like a significantly different model than goroutines + channels. I wonder if they actually implemented Deferred in Go?
Front page of HN – juuuust a bit of reach
I find most JS written functionally (at least if it's done the right way) to be a lot easier to follow if you think of each functional "step" in the chain like columns in a spreadsheet. E.g. when I see something like _(array).filter(...).map(...).reject(...).reduce() I like to think of taking a value and following it the way you would across a spreadsheet and think of filter, map and reject as "columns". I don't know if that will help, but it does for me.
Young, rich and politically ignorant
It's not that surprising that people who disagree with their own government would flee to the protection of another, or that the destination government would play it for political advantage.
Similar realms maybe, but I still think there is a huge difference between exposing your country's secret service operations and running a popular website. The fact that the former gets you into legal trouble is expected. The fact that the latter does is very concerning.
run an http proxy on your host os and have the phone configured to use that?
npr.org is not run on flask. There are several independent dev teams at NPR: one for npr.org and associated apps like the CMS (where I used to work), one for show production software, one for producing cool standalone apps (where this came from), and one for station-facing apps. I may be forgetting one. They all have their own typical languages: one uses java, scala, and PHP. Another uses drupal. The team that produced this uses python and flask. NPR is diverse. :)
A good question for any "macro" systems like this is something like the following:

1. Suppose you've written a function 'foo' in your language that does something useful (e.g.: partitions a sequence, validates a map, or pretty much anything really).

2. Some time later you want to write a macro 'bar'.

3. Can you use function 'foo' when writing 'bar'?

If the answer to 3 is "no" then you don't really have Lisp-like macros.

This is what makes Lisp macros so powerful. It's not just that you have a way to mangle abstract syntax trees. If that's all you want then yeah, you can write a parser and template language to do it, like this thing or sweet js, but it's not the same.

Lisp macros are beautiful because there's no real divide between "writing code" and "writing macros". It's all just code. You don't have to worry about which things are available in code-land and which are available in macro-land because they're the same place. There's just "the language" which you extend and mold with functions and macros woven together as necessary.

Contrast this with a language without real Lisp-like macros, like Clojurescript. If I want to write the 'bar' macro in Clojurescript I need to think "wait 'foo' is a Clojurescript function so now I need to port it back into Clojure land before I can use it in this macro because macros in Clojurescript live in Clojure-land not Clojurescript-land". I need to think about this for everything I call inside a macro.

(Admittedly the situation isn't as bad in Clojurescript because it's fairly close to Clojure in syntax and it's possible to cross-compile code so it lives in both "lands", but the ugly divide is still there.)

Common Lisp, Clojure, Scheme, Wisp, Julia, etc have Lisp-like macros. Sweet JS, Clojurescript, C, etc don't.
Many of these standards are pretty reasonable.
The use-case for dynamic typing was that I was decoding a large JSON data structure that could easily have thousands of different fields nested 10+ levels deep. Go's standard json library usually recommends that you define a struct type to hold the result of the decode, tagging field names with the `json` annotation. This obviously doesn't work when you only care about a few dozen of the several thousand possible fields. There is fortunately an escape hatch where you can declare a field as interface{} to say "Any type of data goes here; I'll downcast it later, and just trust me on the type", but then you have to litter your code with downcasts.

Python just hands you back a dict of lists, and you pull out the information you want, no type declarations needed.

The "user-defined types like built-ins" lets you build libraries where you can use the basic language structures on the data structure itself, without having to convert to an intermediate form. For example, the Python bindings to Amazon S3 let you access files through dictionary notation. BeautifulSoup lets you iterate over child nodes with a for loop, or access attributes as a dict. NumPy lets you use standard arithmetic operators on matrices. Judicious use of this in libraries makes the resulting code much briefer.
would you have gone with thrift if you had to do it all over again ? I ask because I saw the bug description and the glacial response ;)
Interesting quest. But princess is in another castle, in bed with Peter Pawlowski, listening to Zelda soundtrack in foobar2000.
Send Postcards to Kickstarter Backers With Lob