skysight-inc/HackerNews huggingface dataset:
Oooh. I have to check what the charge is on my current online shop solution, but it would be GREAT to have my online sales in the exact same database as my convention sales.
Not to be dismissive of this but oddly enough many of these people would jump at the chance to live in America. Odd, that.
Comments on this story illustrate the difference between Hacker News and other news sites. Most people say "That's cool" or maybe share links related to the research. People on HN said, "Okay, now that all our phones are locked in the freezer, let's compare data." :)
What would happen to Stripe if Square cloned their API and beat their pricing? Now that they're online this seems like a distinct probability.
Still, on some international keyboards, backspace is hard to reach, eg. on a German Mac keyboard, is it <alt><shift>7.

So don't put spaces in path names, it's a bitch to work with.
It seems like the pitch to consumers here is that you can shop at small and local businesses with your phone. Every business owner I've ever spoken to prefers cash for in-person payments if possible, because credit card processors take around 3% of each transaction. I imagine the total fees for paying with an app are even higher.
This sort of "entrapment" is legal in the US? But maybe they wouldn't care. Anyway, wouldn't it be more useful to invest the time, money and energy in facilitating social integration of these individuals. Just asking.
I am getting "Application error" when trying to view this post, which proves the point, I guess.
From the Square website: "Pay just 2.75% per swipe for all major credit cards or a flat monthly $275. No other fees—so you know exactly what you pay."
"Although all fridges don’t function this way, those constructed with more metal have the potential to serve this purpose."

Maybe your refrigerator and the other objects you're using to test this theory don't have a thick enough layer of metal?
> Copyright is a legal construct, whose every aspect is completely arbitrary, and comes about from a balance of competing goals.

As side note, this is true of all property rights; real and tangible personal property are no different than copyrights or other IP rights in this respect.

This often gets forgotten, apparently just because legal protection of real and tangible personal property rights in some form is far older than copyright.
Funny, if a little sad, contrast to my accidental slow-and-steady 13-year-old startup.
I'm a little confused about the "We have internet access so we can work there." part. If you search for teambuilding I would not expect that any work is done there. In my experience teambuilding means "do something with your colleagues, and get to know each other better". That's pretty hard if everyone is working on their pc/laptop.

I like the idea of a one day trip to the cottage. You can spend a nice day on the lake. Maybe do some fishing, hiking, barbeque and of course drive the cruiser.

The company I work for does team events four times a year: a Christmas party, a summer party at a random beach and 2 activity events (like paintball, ski trip, laser tag, zumba etc.).

We're a consulting company. Most employees are on customer company site, so we don't see each other that often. These Events are a perfect opportunity to get together with everyone and just have a fun day.
Application Error. Looks like the server is down.
Anecdotal, but the only positive experience I've ever heard that someone had with Microsoft was being acquired. Every other interaction turned sour (and often fatal) for the 2nd party.

Back in the late 1990's and early 2000's, the Microsoft Kiss of Death was well known. The concept is not well known today, but I'm not sure anything else about it has changed.
I'd say a company retreat to some resort would be fine but to your parents place, no, unless your employees hang out with you as friends outside work.
I think the fact that they're actually out to get him should dispel the notion that he's paranoid.
If it matters to you (of course it's tangential to the article), I sympathize more with those who face death before 50 due to random events, than those who suffer depression (though it's often equally morally blameless - essentially random accidents of brain chemistry). Depressed folk at least have a realistic hope of treatments that will give them some remaining years in life that they would choose over death.

Good luck w/ your life, and it sounds like you really care about her. Hope you can tell her you love her or whatever at some point without feeling guilty about it harming her (then again, I'm sure she knows).
Why should embarrassing one's government be 'crossing a line'?

In the emperor's with no clothes story would you suggest the boy should be hanged?
Just iterating doesn't make any copies. Replace iterating over with modifying.

Efficient immmutable data structures are easily one of Clojure best features. Easiest trade off ever (though the actual hit to performance isn't that bad) imo.
My phone does. If I ever take it to an area with zero reception and forget to turn on airplane mode, the battery dies in 2-3 hours.
> ABS brakes

Correct me if I'm wrong: ABS doesn't cut off pressure to the brakes but instead relieves extra pressure. At no point can the ABS module ever fully cut off brake pressure that's being hydraulically applied by the driver. Incorrect?

> electronic throttle control

Yes, but my point was that regardless of what the throttle was doing, brakes can counter. If he was alert, he should have had reasonable time to start braking as the throttle opened up.

> ever heard about electric assist steering? Mercedes does have it on the C250.

Thanks -- this is a good catch.

> And btw, the modern cars don't explode

Agreed.
persistent datastructures are much less efficient to iterate through

As far as Clojure iteration is concerned, Vectors (immutable, persistent) are actually faster than ArrayLists (mutable, unsynchronized). Criterium reports:

(let [v (vec (range 10000))] (bench (reduce + v)))

Evaluation count : 95340 in 60 samples of 1589 calls.
Execution time mean : 642.508722 µs
Execution time std-deviation : 5.452816 µs
Execution time lower quantile : 636.188082 µs ( 2.5%)
Execution time upper quantile : 658.023220 µs (97.5%)

(let [a (java.util.ArrayList. (range 10000))]
(bench (reduce + a)))

Evaluation count : 77640 in 60 samples of 1294 calls.
Execution time mean : 739.523157 µs
Execution time std-deviation : 6.064187 µs
Execution time lower quantile : 730.818794 µs ( 2.5%)
Execution time upper quantile : 751.968107 µs (97.5%)

Amusingly, using iterators directly instead of reduce speeds up ArrayLists (since there's no need to go through seq, I think), and slows down Vectors to the same speed:

(defn iterator-sum
[^java.util.Iterator i]
(loop [sum 0]
(if (.hasNext i)
(recur (+ sum (.next i)))
sum)))

(defn iterable-sum
[^Iterable i]
(iterator-sum (.iterator i)))

(let [v (vec (range 10000))]
(bench (iterable-sum v))))
Execution time mean : 682.147166 µs

(let [a (java.util.ArrayList. (range 10000))]
(bench (iterable-sum a))))
Execution time mean : 683.351808 µs

After conferring with ztellman, I suspect this is due to Clojure's InternalReduce avoiding extra iterator allocations over vectors, since it can recur f directly over the internal array at each leaf node.
Amazon Wins Best Cloud In CIA Bake-Off
Well, to start with I decided on a directory structure. I went with yyyy/mm/dd/n where the given post is the nth of that day.

I then wrote some code to compile an archive.html page when accessed by traversing the file tree defined above.

Because I don't like typing into little textboxes in browsers (the irony here is not lost on me), I decided I'd do post authoring by connecting to my server and running a script which would create a new file in the appropriate directory. Easier to write in vim, in my opinion.

The posts are written in Markdown and converted to html on-the-fly. I also include Disqus comments for each post, and display a comment count for each post on the archive page.

I think it all came out to about 500 lines.
What it's really like to work at any fast growing startup.
http://betashop.com/post/53908788656/what-its-really-like-to...
How to add two numbers without using arithmetic operator in Java
What it’s really like to work at any fast-growing startup.
The workflow cycle suggested in the article is broken, but the normal web development workflow is not. I would definitely not restart my editor and browser after every edit!

The workflow is actually just like with any other programming environment. You make changes to the code with your editor and then you reload the page or restart the application. If you really need to, you can use a debugger to see what's going on.

Fancy integration between the editor and the debugger is nice, but it hardly breaks the workflow.
Well, it sounds like you are saying it is the norm. Which means you will have to find an exception that breaks from the norm. Which then comes down to finding a way to filter such jobs out of your job search. Unfortunately that is a bit harder to do, even if you directly ask "Under what circumstances would I be expected to work overtime?"
It doesn't. I suspect the parent was thinking of mutation.
The real answer: he looked around the house and decided it was the best place. lots of metal, and a hum to drown out noise.

The NSA leak was important enough, we don't need to pretend like he's some kind of privacy McGuyver.
The last time I talked with the Unladen Swallow guys (a couple years ago), they were pretty clear that one of their main stumbling blocks was supporting the Python/C API, and wanting to have complete compatibility with C extension modules. While we can't really know how hard the task would've been if they'd lifted that requirement - it was baked into their design from an early stage - when I'd floated the idea of doing a from-the-ground-up LLVM-based implementation of Python, they seemed significantly more optimistic. It wouldn't be all that useful for most people, but it would've worked fine for my use case.

Alas, it's doubtful that a Python implementation that sacrifices C extensions would get all that far with mainstream adopters, as so many useful libraries are done as C extensions.
If you don't have a lot of experience with Python you may not know how some of the "magic" parts actually work inside. Some of the things you can do however will end up allocating a lot of memory with extra copies of data that you don't need. If you do that a lot, you will chew through lots of memory. There are often two or more ways of accomplishing the same thing, with one way creating duplicates of data, and the other not. There are valid applications for both, and if you're only dealing with small amounts of data then the differences don't really matter.

Where a lot of people who are new to Python run into problems is that the language is deceptively easy. They try writing Python code that's simply a direct analogue of how they would write Java or C#. The resulting code will run, but it often be slow and a lot more verbose than necessary. Very often the way you would do something in Java or C# is the worst possible way to do it in Python. Conversely, the best way to do it in Python often has no direct analogue in Java or C#. With Python, the learning curve is shallow, but it's very long, and there's lots to learn if you want to reap all the benefits.

Without knowing what your data or algorithms are, it's pretty difficult to give any sensible detailed advice. However, if you are dealing with long "lists" of numbers, perhaps what you really want is long "arrays" of numbers. Lists and arrays are not the same thing in Python.
Or is it just how the majority of the planet live other than yourself?

I've been around a bit and the whole extreme food hygiene thing is pretty much irrelevant in most of the world.

This is not "survivor bias". That's an arrogant term used to deride people.

For reference, I also tend to eat mushrooms and plants I find (I know what I'm doing in that department).
The ideas are ancient. This guy feels like he's the first one to invent them.
This is a lot of fun to watch, great idea
Thanks - that makes sense. That matches our experience exactly.
Why bother. Just leave it there.
(My idea) Broadcast your coding. Learn from experienced hackers
You could encrypt your entire disk with File Vault.
Brit + Co. Nabs $6.3M Series A Led By Oak Investment Partners
Grover's algorithm halves the keysize. It's not a theoretical problem (just double the keysize) but plenty of sites today use 128-bit keys for their block ciphers. Even though quantum computers don't rival classical computers for speed yet and therefore saying that these keys are "effectively 64-bit" would be slightly disingenuous, there's no reason to expect that QCs won't make that a reality within our lifetimes.
I wish Heroku didn't charge $20/month for SSL...

Yes, I'm planning on open sourcing it. I just have a couple of things to do, and a couple of comments to add.
But there's a $21000/mo maximum for the $275/mo, after which it is 2.75% for additional swipes. Purchases >$400 also are charged at 2.75% for all volumes.

So, it's as low as 1.3% if you do exactly $21000/mo in sales. At $10k, it's break-even. Below $10k, it's worse than 2.75%. Between $10k and $21k it gets better, and gets worse past $21k. (Since they include Amex, this would be great for someone doing $21k/mo in Amex charges, though...I think only Costco pays less for their Amex charges.)

Compared to running your own account (which is probably about 1.5% all-in for big ticket sales), which clearly makes more sense at some volume ($50k-100k/mo vs. Stripe, probably)
Are you him? God, you're a fucking moron. Shut the hell up. Your mouth is doing more harm than good. Oh, and quit being an asshole.

"What if it's not a dumb move?" It is, objectively, a dumb move. Clearly. Take a hint. We "Y-Hackers" don't play favorites, and as is clearly evident by the "eating" you're seeing, we actually know how to be hard working, supportive, and breed a culture that isn't rife with subversive fear and subtle intimidation. You're wrong. Admit it. Fix it.
Codeship – Hosted continuous integration and deployment
Show HN: SSH key deployment and account provisioning made easy (v2)
> It is based on OCaml, IIRC.

Yes, that's true. They also have some Haskell developers, but they are working on XenClient, not XenServer.
Oh I agree with you. The public key directory thing breaks the whole system. No question there. I totally agree with the original article.

I just wanted to highlight the fact that devices DO inform the user when a new key gets added. So if the directory didn't serve fake public keys and if the devices didn't have code to not warn if certain keys were added, then you would have the guarantee to only talk to me.

Sure: I could add more devices, but I have the full control over them, so it doesn't matter to you how many devices your client encrypts the message for because I have the full control over what devices I authorize or not.

That of course would be the perfect world, when in fact, Appke probably adds surveillance keys to the directory server and doesn't warn the user as such keys are added.

Don't use iMessages for anything you would not want Apple or the NSA or any other law enforcement agency to read.

But then again, don't use any of email (envelope in the clear), SMS (your carrier can read it), any other IM service (same issue as iMessage), snail mail (can be read by the post office and anybody opening your letter box when you aren't there).
Shameless plug: I've written a small VIM plugin [1] that permits a workflow similar to what the author suggests.

[1]: https://github.com/Bogdanp/browser-connect.vim
Ask HN: Why wouldn't you hire a programming boot camp graduate?
Seeing as I am about to finish such a program, this could be very useful information!
"The images of offensive shirts were the result of a computer program that automatically generated random phrases and images" - I simply don't buy this. Generating stuff randomly is one thing. Putting random stuff on display is another.
Ah thanks! Agree with excessive whitespace comment.
I haven't. I don't have any complex math in mind (yet), just some simple transformations. The problem is that even something as simple as checking a list for potential duplicates becomes really RAM intensive for sufficiently large lists. (I'm not even doing deep equality, just comparing metadata.)

I still have plenty more work to do on the project. I think I'll end up fanning out each list iteration into a series of smaller chunks to keep me from blowing through all the RAM on any one request.
Sen. Wendy Davis Defends Women's Rights in Texas
Hi, one of the creators here. We got some really great feedback last time and went back to implement a daemon-based service. We are interested to know what server admins think of this tool, and what they find most useful about it. Also, we are adding a bastion-as-a-service soon. Thanks.
That's almost certainly intensional. Square is obsessive about making a high-end impression whenever possible.
Stripe is nothing--just a faster horse. PayPal and Square (and Google and Apple) ultimately aim to replace the credit card itself. That's the prize. Square is attacking from the B&M merchant POS side and consumer to consumer email payments, Apple from iTunes and mobile, Google from mobile and web properties, and PayPal from online merchants and consumer (though, in all honesty, I see so little innovation coming from PayPal I sometimes wonder if they see what's coming). I suspect the key is to win the consumer by bootstrapping with physical merchants, so I give the odds to Square, and to a lesser extent Google and Apple.

Apple and Amazon are other potential suitors for Square, but the company is kicking so much ass I doubt they'll sell. For all HN likes to spin acquisitions as victories, 95% of the time they are the final denouement of a defeated startup. When a startup is doing well, ambition takes over and selling is usually out of the question.
It's also used in CPU intensive applications, but the "standard" numerical libraries (Numpy/SciPy) aren't distributed with the language standard libraries. However, they're FOSS, available pretty much anywhere Python itself is, and anyone doing numerical work with Python will almost certainly use those libraries. They're not distributed with CPython itself in order to avoid being tied to a slower release schedule.
For those of you playing along at home, this is because of Clojure's reducers framework [1]. If we were to extend 'clojure.core.protocols.CollReduce' to ArrayList, we'd get similar performance, but the important point is that efficient iteration across immutable collections is very much possible.

http://clojure.com/blog/2012/05/08/reducers-a-library-and-mo...

EDIT: and my response is just a little redundant now
This is an interesting move for Square, at least to me. When I think about the future of square I saw them pushing out against more established POS systems (with more deals like the Starbucks one).

This is a slightly different route, the main competitors seem to be etsy.

While in reality they're trying to landgrab as much payment related market as possible, and the two approaches are slightly related, in my mind I'm interested to see what they become known for.
http://www.penny-arcade.com/comic/2009/9/25/
Computer Programming as Liberal Arts
And once again the top comment doesn't do anything to continue the thoughtful discussion that began in the article, instead providing a pedantic correction.
Indeed. My first thought was "speak for yourself". I wanted to read the article before writing my justification for my opinion, but I suppose this works.
You have to there FROM here
But they aren't going to remove them because wealthy people with connections have a vested interest in selling Rapiscanners to airports.
I can see a price, but no buy-now button without a login. And I see no reason to ever login.
This seems to contravene a lot about what we have learned about ecommerce.
HCI, UX/UI, Design - Online courses and resources
Ask HN: Someone has created a Twitter ripping off a name I trademarked
I created a subreddit that got large. I had intentions to build a site around it initially, so way before I started the subreddit, I registered the domain (over 2 years ago). Lately I've noticed when I search for the name on Google, a Twitter account pops up with the same name, around 220k followers, and uses the majority of the content from the subreddit. That's fine and all, but they are using a name that I've trademarked. I've contacted Twitter and their response was that their account isn't violating any rules, but the funny thing is I own the actual name I've trademarked way before this account has (the Twitter name that is), and the type of content they post is not what I'd like to be associated with "the brand".

What should I do? I contacted a lawyer but they referred me to someone else and I've been so busy with work that I haven't had time to pursue this further. Do I contact them? I think I know who the company behind it is (they create lots of social media accounts and copy content from elsewhere to promote their websites). Or do I get ahold of a good lawyer? If so, I assume I need a trademark lawyer?
You can use the Google Cache version if the server is down http://webcache.googleusercontent.com/search?q=cache:G2FK1vS...
Meanwhile, some other events are happening and we are not much hearing about them. Events where a lot of people will loose lives(not that it is any sort of value). Red line crossing announcements in media did not help, so we needed distraction and suddenly everything would be such a big surprise, no one noticed it.
That's a bit of a weird assertion. Genetic algorithms are always a greedy heuristic to find a solution for a problem. It is not guaranteed at all that it will find the single best solution faster than straight bruteforcing solutions.

If speciation is a better heuristic for finding a better solution faster than the algorithm used here then its advantage is real and useful in any case.
Multiple social readers can co-exist - amplifize welcomes potluck
It's just a pet peeve.

Since alot of the clusters I work on are web servers or parallel computing servers (that still have access through to a network), I like to clear out any dirs and files that aren't needed, mount ro access to any dirs that shouldn't be written to, and do every other thing I do to lock down the server.

It's helped me before detect unauthorized files that contained malicious code.
Nice! The power of competition proven once again.
But then you have to make the language and syntax flexible enough to deal with that – while also retaining ease of use, compilation speed (you don't want to go into C++ territory there) and perhaps other factors. All in all it's probably a tradeoff and regardless which way it sways, people are inconvenienced by it.

And arguably there are other languages which can and do fix that gap. Nemerle comes to mind. .NET allows you to mix languages freely so I think switching for parts where it makes sense isn't such a bad idea.
You can always reject one aspect of society while embracing another.

I understand how the author here feels. The whole market economy/consumption cycle is dehumanizing and serves those already in possession of excess riches at the expense of the common folk.

It sounds as if he just wants to try living for himself a bit more by being mindful of his purchases. He's more awake than most of the people I know so good on him, regardless of his sentiments towards society.
Also, javascript must be enabled prior to the application error even appearing.
Oh, true—I jumped his point
I read that as 2.75% below $10K, but I think hitting $10K in Square sales per month is difficult if we (generously?) assume that's 10% of your customers, so effectively it's like any other ~3% CC for a majority of small and local businesses. It's good to hear it's not generally worse though, I guess they thought about that.
Always write under the influence