skysight-inc/HackerNews huggingface dataset:
This is very cool! I'm curious how would you compare the example given "Database (hasuradb) + Search (elasticsearch-hasura) + A Templating microservice (express + underscore)" to something like "MongoDB + Search(?) + (express + underscore) + Deploy to Heroku"?

Anyways keep up the good work!
From the paper[1], it sounds like the same linear motion with the film wrapping around to the top:

> The sphere is dipped with
> its north pole pointing downward. The maximum error on the
> northern hemisphere is within 2mm. However, near its south pole
> the error is much larger (about 5mm). This is because after the
> water surface passes the sphere’s equator, the film gets stretched
> largely, and near the south pole the relative angle between the
> water surface and the object surface approaches to 180◦, leading
> to an ill-posed boundary condition for our simulation (recall
> Equation (1), when θ ≈ 180◦).

You can see the potential for a similar wraparound even on e.g. the mask dips.

[1] http://www.kunzhou.net/2015/hydrographics.pdf
Don't believe so, a single projection with antarctica on the outside and the north pole at the centre would likely work just fine - and they showed it top-down.
Oh gotcha, yea no other pages yet. I did consider the implications of a thin font on readability but it looks great on retina displays. No problem, hope it helps.
Everything can be initially described by an elevator pitch. That's never the whole explanation, it's just a sense that there's something in the idea (or not), and allows the listener to decide whether it's worth pursuing the long discussion.

It's not a guaranteed indicator, but the chances are better that a good elevator pitch is good because it describes something good.
securityaffairs.co/wordpress - isn't it ironic?
HTML5 Motion Sensing Using the Doppler Effect
>America already has low tariffs

The TPP isn't about tarriffs. They're the smallest and least important part of the deal.

>- Average wages for traded/export industries, such as Kentucky bourbon, are higher than for local industries, like hospitals.

Survivorship bias.

>- TPP still has to get approved by Congress. Fast track just strips Congress' ability to amend or filibuster the deal

Fast track also legislates away Congress's own constitutional trade authority over future deals. Basically (Hillary) or whomever will be able to dictate what goes in future deals.

>- Special interests are always powerful in trade negotiations. Limiting their power is crucial to passing equitable, long-term focused deals.

It was drafted in complete secrecy by corporate lobbyists. It's their bill. It's their dream. Limiting the power of special interests like them means striking the bill down.
This begs the question: if a two party system is entrenched via FPTP/WTA plurality voting system and unlikely to ever relinquish such power, what recourse is there to change the political system? Elections won't do it because election results are shepparded by the voting system. That poses as a fundamental flaw in such democracies. The architechts of the US constitution viewed simple elections as the only vector needed to institutionalize peaceful revolution on a routine basis. When that recourse is denied, what options are left?
There's a nice command line interface git client called `tig`. https://github.com/jonas/tig
From http://motherboard.vice.com/read/whoever-is-leaking-trans-pa...

"[TPP] .. stands to have intensely damaging effects on nearly every front, from internet freedom to copyright law. But if you raise these concerns with negotiators, who have privileged access to the text of the agreement, they’ll just tell you that they have access to the latest draft, and you don’t ... Every TPP chapter leaked reveals some new policy horrorshow. But in this game of cat and mouse between governments, corporations, and citizens, those who are in the know always have the upper hand."
HTTP for Humans in Swift
Not that the author claimed it to be safe, but this probably isn't secure:

https://rjlipton.wordpress.com/2012/03/01/do-gaps-between-pr...

The technique relies on starting a search for one of the prime factors of the modulus at a particular (large) place, although if I understand the code right, not a place related to the other factor, so maybe it's not devastating, or who knows. That article is still very worth reading. :)
Cydia iOS 7 – pangu8pangu8
Oh this is definitely a personal preference thing, but our convention is this: private instance methods start with an underscore, public instance methods have no underscore. Public ones have no syntactic difference from the core life cycle methods but that's ok to me because they're all easy to remember. Btw we use public instance methods very sparingly, basically as a last resort when all else fails.
What do you think of http://www.basscss.com/ and would this kind of CSS be helpful in the situation you described?
Here's the most recent video that I could find: http://pchiusano.github.io/2015-03-17/unison-update5.html

A few of the other posts have videos too: http://pchiusano.github.io/unison/
I'm not sure you realise how the Canadian government works then. Once you have a majority in the House, you are effectively in power until your term is up and you ask the Governor General to dissolve the house and hold an election.

Now if a party holds a minority government (the way parliamentary systems are meant to be), there can be a vote of non-confidence to oust the governing party. At that point, the governor general has to choose between allowing a coalition (if that is indeed what the other parties want) or hold another election.

Public opinion does not hold sway in these matters. Our current majority government (now branded The Harper Government) was elected with ~24% of eligible voters (40% of those who actually showed up to vote). Take a look at some of the Ekos [1] polls, our governing party does not have the majority of Canadian support. There is also no way to do a MP recall campaign at the federal level, some provinces provide this though, such as BC.

We very much need electoral reform in Canada. Our senate is too partisan (not to mention, appointed at the whims of the governing party) and first-past-the-post is a broken electoral system. My hopes are for Mixed Member Proportional Representation similar to Germany and New Zealand.

[1] http://www.ekospolitics.com/
off topic of the article but on topic to your comment..

of transcendental meditation jd salinger wrote a book called franny and zooey(i) where the main character is obsessed with a little book about an individual who seeks an answer to a question developed after reading a vague reference in the bible to praying incessantly

it's biblical, but skeptical and the religious elements dissolve and are really only symptomatic of the period,
the book wishes to tell a story and the infrastructure of christianity just happens to be the catalyst

the answer is sought in a pilgrimage around russia of the day, visiting the highest religious sanctums to question the foremost of the holy hierarchies, and the answer unfolds slowly to the pilgrim

the book in the story is a real 19th century anonymous work translated as the way of the pilgrim(ii)

the book is beautiful, and i would definitely recommend it

it walks you through the stages of transcendental meditation and then has the most beautiful final chapter

without the ending the story, for me, would have been a waste, but the last interaction is just so beautiful in its paradoxical self invalidation

the process of having a simple question, seeking an answer and finding innate complexity that leads to a simple solution that dissolves the complexity that led to the realisation is something i recognise in many pursuits

(i) http://en.wikipedia.org/wiki/Franny_and_Zooey

(ii) http://en.wikipedia.org/wiki/The_Way_of_a_Pilgrim
That is democracy. 57>50
The FAQ of the project at http://www.solaroad.nl/en/faq/ is worth reading. Among others, it explains that the €3.5M spent wasn't only used to produce this stretch of road (unfortunately without going into detail), and that covering _all_ rooftops in the Netherlands would only cover 25% of Dutch _electricity_ demand.

Given European clean energy goals, more square meters are needed. Those are hard to come by in a densily populated country such as the Netherlands.

Is this a sure win? No, but if it works, it can be a useful part of the energy mix. Also, if it works, I guess scaling it up will not meet much nimby resistance, unlike he alternatives of huge wind parks or sacrificing land or water area for solar arrays.
Spotify’s Revenue Is Growing, but So Are Its Losses
That's the beauty (and sometimes the curse) of hardware design: it doesn't need a processor to run. You essentially describe an electronic circuit, and "program" (configure would be more appropriate) an FPGA to act like the circuit you described. A circuit can be as simple as you want (like a sequential counter) or very complex (people have implemented entire H.264 and HEVC decoders in hardware).

This is so powerful that in fact you can even describe your own processor, and prototype it on an FPGA for testing.
Nick Diaz doesn't play spinning S***
The amazement never fades, every year brings its share of complex maths and aesthetic sensations.
it seems nobody cares enough to do anything about it. we get the government we deserve!
This is about the Bitcoin blockchain, btw. (My guess was hard drive details.)
Excellent.
Do you worry that with the auto updates on android 5+ webview it may break production code? i.e google decides to implement or change how a feature works.
The part where a judge can decide you did
That's what I'm saying. It's true that getting consensus for license changes is hard, and that (unless you're willing to rewrite some code) relicensing of projects with diverse contributors requires that consensus. But consensus is required in either scenario.

Meanwhile: once you publish something MIT/BSD/Apache, it's MIT/BSD/Apache forever; when you try to GPL it, people will simply fork from the MIT code. See: OpenSSH.
This is how I feel about neuroscience. Like sending signals through a processor to store heat maps. Some abstraction is missing.
What kind of surface doesn't fit this computational model? The elephant one for example, how to map the region which is occluded by the elephant's nose to the PVA surface? Anyway, really nice work. Looking forward to reading the paper and learn more!
Ah yes, great point.

I suppose that ties into the whole trade off one has in using Matlab in the first place: locking in to a proprietary commerical product to spend more time on problem-space work and less on managing memory and I/O etc. You get to pay up front to get working on your problem more quickly, and you pay again later on with a potential lack of flexibility.

I have been burned by such a lock in before in a personal project where the commerical make an app easily SDK was discontinued and left in the dust with all the developers left holding their collective unupdateabale apps in their hands.
Real programmers can do these problems easily–author posts wrong solution to #4
In one of the many articles on the plight of (specifically) Amazon workers, I read that they are employed by contractors, and that the penalty for normal little things like being late because of a kid or car emergency, things we don't even think about, is termination from the contractor. And thus does Amazon (and similar companies) insulate themselves from such policies.
Consider the same story, but the ending is "The company was squeaking out a $1M/year profit, but a buyout offer came for $240M and the investors took it so they could cash out."

As an individual, if I could make a business with consistent $200k-$500k/year profit (as the sole shareholder), that'd be great for me. It'd be better than being an employee. But that would totally be an unsuitable business for VC.
Protesting is illegal in Canada. Just look at the recent protests and what hapened in Quebec w/r to education protests.
It is a lot like the pets vs cattle comparison. If your underlying structure can tolerate larger amounts of downtime the extra cost of enterprise equipment. For many applications it is easier to buy more expensive hardware that has exceptional uptime than it is to hire people to rewrite and take advantage of cloud based options.

Enterprise hard drives use SAS connectors to allow redundant paths and a full scsi command set. Enterprise hard drives have a bit error rate an entire order of magnitude better than consumer hard drives. The rated powered on hours and mean time between failure will be better, but not more cost effective with enterprise gear unless you take into account the labor cost and downtime cost of replacing that hardware.
Ask HN: How much equity should I ask for?
I'm not particularly motivated by money but this feels like something I should ensure that I'm doing myself justice.

I dropped out of University after first year and took pretty much the first job I liked the sound of that would pay me to code. It's been a great year and I wouldn't trade it for the world. I was the first technical hire at the company working with an external agency. Fast forward 10-12 months, I'm now an experienced Junior Dev. I'm currently working for £18k p/a. I've been interviewing at a couple of other companies and have had been quoted £26-32k and with a hard offer of £28k.

We're about to go for a funding round with a valuation of ~£7m. My bosses have informally agreed to better the £28k offer. I really like the idea of a minor equity stake. I was thinking somewhere between 0.125% and 1%. This feels like a big range. I don't want to come off like I don't understand the value of the potential equity stake.

After the funding i'll (hypothetically anyways) be working under an experienced CTO (new hire) with a quite substantial amount of responsibility.

I really appreciate any advice HN :)
No.

And no. The fault isn't Futurism but fantasy.
>The intent is to stop things like what happens in South America, where they look around, see an oil company sitting there that is majority foreign owned and nationalise it to fix a balance of payments issue[2]

This was normally done to channel the vast oil wealth into the country where it could help people rather than into the pockets of wealthy foreigners.

Call it 'fixing a balance of payments issue if you will'. Or, call it "helping the poor". It's both.

>First world countries with strong court systems already have these protections in place. This is aimed at other countries who don't have quite as strong a rule of law.

Foreign corporations will be able to sue the American government for lost profits under the TPP. This will undoubtedly be used to try and stifle new labor & environmental protection laws.

>Agreements are negotiated in secret.

Sure. When you've got something you desperately want to hide from the public.
Of course terms matter, but the example she gives seems somewhat contrived. Particularly this part:

>> In the deal, Hooli would invest $200 million for equity while in return the two companies would enter into a business development agreement on the side in which Pied Piper guarantees to spend that money in a massive consumer campaign on Hooli’s ad platform. They float the magic “B” valuation. Richard goes to sleep dreaming of rainbows and unicorns.

If you take all that money in with a massive string like that attached (basically no freedom at all to spend it except on one thing), I would think you have only yourself to blame for the result.
Seems to me that the problem here is less one of investment terms and preferences, and more one of wasting $200M on an unsuccessful advertising campaign. If you agree to throw that much money at advertising without having any guarantee that the advertising will yield (enough) results, you deserve to walk away with nothing.
I wrote a similar article on this a few years ago:

https://moyix.wordpress.com/2012/04/06/computing-with-tiles/

The tilings, with an appropriate color scheme, turn out to be quite beautiful:

https://i.imgur.com/EB3rX.png
Thanks! Glad to hear it was easy to follow and didn't ramble. Our backbone model cache is a simple module that you request backbone model instances from by a unique key. You also pass initialization options in case it doesn't exist in the cache. The instance will be constructed, saved in the cache, and returned. You can pass a TTL also. It's not great, feels clunky, but it works.
Reading this reminded me of an article in San Francisco Magazine from a couple of years ago:

http://www.modernluxury.com/san-francisco/story/arise-tender...

Quoting:

[...]

But the event that truly created the Tenderloin of today took place in 1980, when developers proposed three luxury high-rise hotels in the neighborhood. Residents and nonprofit advocacy groups organized to keep the big hotels out. The high rises were built, but in the aftermath of the fight, the city passed two crucial laws. First, the city made it illegal for owners to convert SROs into tourist hotels unless they also replaced the low-income units or paid into a fund for affordable housing. Second, it passed a zoning law lowering the height maximum in the Tenderloin from 30 stories to between 8 and 13.

These laws made it virtually impossible for developers to “Manhattanize” the Tenderloin. Meanwhile, the nonprofits, which had lobbied for the laws and led the fight to keep out the big hotels, themselves began to buy or lease buildings. These nonprofits, which include the Tenderloin Neighborhood Development Corporation (TNDC), the Tenderloin Housing Clinic (THC), and Mercy Housing, now own or lease more than 5,000 housing units in the Tenderloin. The city plays a critical role too: It has loaned the nonprofits money to acquire or rehab about 50 properties with 4,000 affordable units, and it holds or finances master leases on dozens of other such buildings. “The Tenderloin is the only place where the nonprofits own the housing,” says Field. “This protects the poor people in the neighborhood from changes in demographics.” It also gives the nonprofits a vested interest in keeping their clients from being dispersed.

[...]

Combine that with rent control, resistance to new, higher density development and an influx of high paying tech jobs, and San Francisco's current situation makes a lot of sense...*

* To be fair, policies from the '80s that closed asylums and dumped mentally ill people onto the street contributed, but SF certainly seems to have worked to maximize the effect.
We can't engage in any nuanced conversation of the TPP because we don't know what's in it. Given that, I find no reason to be anything but completely against it.
making fake stuff become easier. now we only need to attach the printer to a water tank.
Durability, not strength. Asphalt is very durable and it fails in predictable ways, it's difficult to design glass that fails gracefully. Yes, it's a surmountable engineering challenge but this project has more than it's fair share of things that fall in the "technically not impossible" or "we'll figure it out later" categories.
The bit about "green water" is fairly epic in scale. I'm guessing that taking that into account probably makes growing stuff in regions with sufficient rain radically better for the planet. Wonder what the numbers are for California?
Yes. Can we add "Bitcoin: " to the beginning of the title?
Show HN: HeatGenie, self-heating technology for food and beverages
> There were also always a small group of prostitutes on the corner of Larkin and Sutter.

Please! They're transvestite prostitutes. They're a step up from regular prostitutes.
Upserts are generally useful tools for applications that run in active-active multi-datacenter configurations. Have you guys explored the implications of this feature for such deployments on top of Postgres yet?
Post from two weeks ago: https://news.ycombinator.com/item?id=9420051
Dark Wisdom: How Design Manipulates the Way We Think, Feel and Behave
Yeah, I've heard from good authority that Cleveland rocks.
Ask HN: What's current U.S. law regarding building and deployment of honeypots?
I'm a GNU/Linux build/release engineer and an opportunity to build a system that is essentially a honeypot came up. However, after researching this specific activity I see more red flags than I'm comfortable dealing with. Perhaps this really is a question for a lawyer with digital crime experience, or it's a response of "no, thanks"...

I have lots of links to information on the topic that I've gathered published since the mid-2000s and this SANS document has always been my goto:

http://www.sans.org/reading-room/whitepapers/legal/cyberlaw-101-primer-laws-related-honeypot-deployments-1746

However, I was wondering if there are more recent changes to the laws and/or a site that is more thorough in treatment of how private parties (contractors) factor into any legal issues that might arise from use of a honeypot deployment.

In other words, what are the references that folks experienced with the topic and/or deployment of honeypots rely of for updates and practical legal knowledge?
The general theory of memristors, meminductors, memcapacitors of any order (first order memristor is the genuine one invented in 1971 by Professor Leon Chua, however he generalized recently his discover to second, third order memristor, etc.)is published in a paper I wrote with him on september 2014 in International Journal of Bifurcation and Chaos. One can download it freely from the site
https://www.researchgate.net/publication/261676241_MEMFRACTA...
> How can you create an object which can be called like a function, but will respond to 'typeof' with 'object' rather than 'function'?

You can't, by definition. Here is the relevant section of the ECMAScript 5 spec: http://www.ecma-international.org/ecma-262/5.1/#sec-11.4.3

Basically, an object which implements call will always cause `typeof` to return "function". But the broader point is that `typeof` will lie to you and you shouldn't trust it for, you know, determining the types of values. (For example, the type of null is null, but `typeof null` returns "object".)

As I noted above, this behavior of `typeof` is part of what causes the confusion around types in JS devs.

> You can't substitute an object where a function is expected - you get a type error - but you can substitute a function where an object is expected.

This is true, but not inconsistent with the notion that functions are objects which can be called. I encourage you to read the spec I linked above, or a draft of ES6.
same here, entered subreddit, clicked button, read sidebar
> Not quite sure why this isn't a more common situation for open-source, it seems like the ideal situation for everyone.

Because it's hard to do. I've been trying to figure out how to do it too for a while, but first of all you gotta wrangle a bunch of developers, a large part of which don't actually want to have any actual responsibility with the project. Many of even the most core developers see it as a hobby.

Then, finding customers isn't easy. It's not just a matter of putting a "Support And Consultancy For Sale" sign on your webpage. You gotta have a nice website, and you have to go and convince people that their money is well spent. And you have to make sure you have the proper infrastructure to handle those requests.

And once you find customers, you have to figure out how to spend that money. As the root of all evil, it can lead to tensions between developers. What used to be just for fun is now a job. This may actually demotivate them. And they might now have to concentrate on tasks that pay instead of tasks that are merely fun. And they might resent how the money gets distributed.

All of these problems can be surmounted, of course, but it's not at all easy, and it involves a set of skills most free hackers don't have. We'd rather be coding than running a business.
I know, I was just joshing! Man, you guys really didn't like that one. Personally I enjoy taking a moment now and then to reflect on some of the sillier aspects of JS. This is because I love JS, not because I hate it.
The URL and the urgency gives it away.
You say 'historic', I say 'old, decrepit, and due for a teardown'.