5,408 karma · joined May 1, 2013 (13y ago) · 961 submissions
comment 12y ago · link · parent
basically headers that can tell the browser not to execute stuff that leads to injection like inline javascript or inline styling, allows for whitelists of domains (so the browser won't run script src="http://hackercdn.com/malicious.js"), etc.
comment 12y ago · link · parent
As with most ideological debates, the middle ground is probably the most amicable. Bigger crypto-nerds than me will have more fleshed out ideas, I'm sure, but there are ways to have a hybrid centralized/decentralized approach. One algorithm I've heard tossed around, for example, is shamir's secret sharing. Basically you can split a key between different parties... no one party/dealer/mechanic/DMV has access to the family jewels, but you can reconstruct the secret with 3 of the 5 pieces or whatever threshold. http://en.wikipedia.org/wiki/Shamir's_Secret_Sharing
The challenge is, like you say, to make all this magic enough that it becomes consumer friendly. Much more fulfilling a UX gig than designing virtual farms, though.
comment 12y ago · link · parent
One of the neat ideas that, imho, doesn't receive nearly enough attention in the bitcoin space is smart property -- you can use the blockchain and cryptography to have decentralized property transfer, even offline and in a hostile network environment (ie a thief trying to spoof a property transfer message to the car.
https://en.bitcoin.it/wiki/Smart_Property#Theory lists the gorey crypto-details, but imagine instead of transferring ownership, you just temporarily grant another party (ie your mechanic) to have 'ownership-like' rights to your car while it's in the shop.
> Set up an industry group who stores the car's private keys and allows any authorised shop to request them...
Centralized points of failure always fail. How long before the next Target or Home Depot has a credit card breach? How long before this centralized authority blocks non-dealer shops from being part of the network (or pay exorbitant fees).
We can decentralize all this while still keeping it cryptographically secure.
comment 12y ago · link · parent
Highcharts is neat because it's a high-level api around charting. If you want to make charts, it's one of the most customizable and well-documented API's out there. If you want to build a custom visualization, highcharts offers a good amount of customizability, but sometimes you just gotta drop down into assembly.
comment 12y ago · link · parent
Oh, and for providing this service you automatically lose 2% off the top.
There are far better ways to waste your virtual disney dollars.
comment 12y ago · link · parent
If he was being honest, would it look any different? Or is the pitchfork mob just demanding blood?
On the one hand a reputation takes years to create and only a second to destroy. On the other hand, holding onto anger is like drinking poison and expecting the other person to die.
Personally I think if you want to be angry at something there's much more insidious manipulation going on. Unidan makes great content and gets people excited about his biology research... remember him for that, not for his amateur inability to execute a proper astroturfing botnet campaign.
At the very least, let him be reborn with a new username and see what he can build. Isn't the ability to bounce back from failure and mistakes what we celebrate here on hn?
comment 12y ago · link · parent
San Francisco, CA
datahero.com/about/jobs
Node.js | Backbone | Angular | D3 | MySQL
* Full Stack Engineer
* Machine Learning
* Frontend Engineer
----At DataHero, we’re building an impactful data analysis and visualization platform that anyone can use to understand their business data.
Can you explain a join to your sales managers? Can you instead build a system where they can combine their Salesforce and Stripe data without learning a line of SQL?
Our system uses recommendation algorithms, an intuitive user experience, and all the dirty engineering grit to give non-engineers superhuman analysis skills.
You:
- build high-concurrency single page HTML5 webapps
- don’t mind that Node.js hasn’t yet reached 1.0
(and have built many an escalator through the 9 levels of callback hell)
- believe design is just as important as engineering
- want to work for a top venture backed startup with monthly recurring revenue
- want to contribute to our beer preference datasets
with our small close-knit team:
https://datahero.com/blog/2014/06/17/datahero-beer-consumption-analysis
Get in touch with us at jobs@datahero.com!comment 12y ago · link · parent
No, the whole point of connecting with facebook is to focus on the UX of making electronic payments. Who's going to remember their coffee date's wallet is 1BeX1pVAjD94hNs6C5d2dB3TRnLx53dXg3? QR codes are cute, but haven't quite hit the mainstream. It's a lot easier to say "Ben Bitdiddle" and have Ben's facebook picture pop up.
The network effects of scanning your entire social graph (and the data contained within) doesn't hurt either. Works fantastically for Venmo.
comment 12y ago · link · parent
Bitcoin works by generating a particular type of SHA256 hash -- you take some fixed inputs (transactions), a random input you can change (a nonce), and together they need to SHA256-hash into a special hash, eg one with 5 leading zero's.
This is known as a "proof of work" system -- it has the interesting property that it is quick to verify but difficult to produce (you can't predict a SHA256 hash). Mining bitcoin is basically brute-forcing tons of random inputs until you find an input that produces a special SHA256 hash, which you then advertise to the network and the network rewards you with libertarian disney dollars.
Now, you can make a custom chip (ASIC) that is optimized to churn out as many SHA256 hashes as possible -- far more and far faster than a CPU can. In fact, ASIC mining is the only cost-effective way to mine bitcoin these days. Thus, bitcoin mining is quickly becoming about who can buy the most chips and power them with the cheapest electricity, encouraging massive centralized data farms -- a Bad Thing if you believe in the Decentralize All The Things! promise of bitcoin.
A better proof-of-work system is one that shares the quick-to-verify-difficult-to-solve property of specially-formed SHA256 hashes, but one that can't be specialized for with an ASIC. Then more people could participate on commodity hardware and you would (theoretically) have less centralization (or at least encourage better commodity hardware instead of better specialized SHA256 chips).
Anyways, back to graph processing... one class of problem that is difficult to create specialized ASICs for yet is still 'quick-to-verify-but-difficult-to-solve' is finding cycles of a specific length (say 42) in a large graph. Basically solving such a problem is memory-hard, so an ASIC can only get you so far (although people have proposed ASIC farm architectures that try, eg with shared central memory accessed by many ASIC cores, which is starting to sound a bit like a GPU...)
comment 12y ago · link · parent
Both great ideas to get something into production, but how does this provide equity?
Specifically, when I hear equity, I think two things: dividends and shareholder voting rights.
Both can be coded in on a bitcoin 2.0 DAO platform of your choice, but there's the (unsolved, afaik) question of physical-world enforcement. I've unlocked all my protocol-escrow'd milestone funds, shipped a product, but I now choose to ignore the dividend or voting feature of all the token holders. See you later!
One of the benefits of operating within the legal system rather than outside is the investors have a last-resort: they know who you are and can sue. If you operate outside the system in DAO-land, what recourse do I have when facebook buys my cryptoequity-funded CryptoRift Co. and says, "sorry, crypto-tokens aren't equity under US security laws, you get nothing"?
Trustless consensus-unlocking escrow for project milestones is a great game-theory trick to get to ship, but it stops short of true equity. To honestly call it equity (guarantee of dividends and shareholder voting rights under threat of legal action), you need to operate within the law, not find loopholes. Or at least have the law legally recognize the voting will of the cryptotokens, which I haven't seen mentioned either.
comment 12y ago · link · parent
The solution is to chip away at this self-reinforcing feedback loop. Decentralize the fundraising through effective campaign finance limits and you create more dependence on small donors. Small donors care more about having their beliefs represented than choosing the winning horse (and the influence that comes with the winning horse being indebted to you).
The incumbency bias is a circular result of centralized money going for the easy bet. Decentralize public funding and the easy bet becomes less clear, weakening the feedback loop.
comment 12y ago · link · parent
The reality is money buys elections.
Given the choice between 10 donors that can afford to just drop well above the median annual salary (albeit as 'independent' documentaries) and trying to rally 50k mom-and-pop donors that contribute $20 each, it's a no-brainer which is the easier route to electoral success.
The question is do you want to be represented by the voice of the 10 or the 50k?
We're not talking about overturning the first. We're trying to figure out how to reconcile the first with decentralizing some very centralized influence over public policy.
You should be distrustful of any centralized political system. That's what we have, not by design but by reality.
comment 12y ago · link · parent
> It does not say that the government cannot prevent candidates from taking unlimited amounts of money for their campaigns.
Correct. Hence the "+/- independence" comment.Sure, they're just making a documentary. That happens to come out during an election campaign. And it's advertised heavily with the same language as campaign slogans. And given away for free to anyone who will listen.
But it's not political spending, it's free speech.
The problem is it's both.
We're still effectively in a situation where large interests can collectively pool their resources together anonymously to win far more influence than the people who are supposed to be democratically represented here.
But more perversely, it's hijacking free speech as a backdoor loophole into political gerrymandering. For every Sierra Club citizen's group, there are far more WalMarts or Koch Industries with far deeper pockets. The Sierra Club dues-paying members are being drowned out by the voices of the few and wealthy -- again, it's looking like an oligarchy, not a representative democracy. Yes, you can't stop something like that without limiting free speech, which of course nobody wants either.
As far as I see it, once a loophole like this is identified, you can either argue for abolishing all campaign finance laws (since we've found ways around them), or you reconcile campaign finance laws with free speech that looks like and quacks like campaign expenditures.
What the legal framework for that would be, you're right, I don't know. Call it overturning McCutcheon vs. FEC if you don't want to call it Citizens United. Or just call it Campaign Finance Reform. There's no single boogeyman here, it's a refactor of the system we're talking about.
comment 12y ago · link · parent
Effectively it opens the door for unlimited campaign spending by anonymous donors. Have you ever donated to a campaign? How much? $20, $100? Perhaps $1000 if you've got money to burn? What did it get you? A thank you form letter from some intern staffer? That's cute.
Now, if you allow unlimited anonymous donations, we're talking about order-of-magnitude $10k, $100k. NOW you've got the politician's ear. Think the people who donate on the order of your annual salary are going to be whispering the same thing the people who donate $20 want their representative to hear?
More importantly, if you're a career politician looking to secure $1M for your next campaign 4 years down the line, are you going to spend your time courting 50k grassroots donors, or are you going to just find 10 people to attend your $100k-a-plate fundraiser? (+/- PAC rules on staying "independent" of course... just "fire" your campaign manager and give him a recommendation for a consulting gig... the $100k is actually for the independent consulting organization). It's a no brainer who you're going to represent.
So, now we have very wealthy people who can effectively donate unlimited sums of money anonymously outside of campaign disclosure laws (and therefore outside of unwanted public spotlight that would otherwise discourage them) to push for their interests.
When the only people who exert influence are the absurdly wealthy, well that starts to sound more like an oligarchy, not a representative democracy. Seems like a good enough cause to amend the constitution to me.
comment 12y ago · link · parent
The problem and his strategy are laid out in his (free CC-licensed) book The USA is Lesterland: http://lesterland.lessig.org/ As with all big ideas, that requires a bit more time to digest than a HN comment. Plus, he's a better writer than I am.
The main idea of his PAC is if political bills can only happen in our system with the approval of 'Big Money', you need Big Money to pass the reform that would get rid of Big Money's influence. Hence, you need a PAC that gets involved in specific races and puts pressure on candidates who don't support the changes they're pushing for.
On a more broader level, Lessig is one of the big names in a loose coalition pushing for a constitutional convention that would amend the Constitution to overturn Citizen's United. The neat thing about such a convention is it's a checks-and-balances way that the popular vote can effectively by-pass their congressional representatives. This has happened only once before: http://en.wikipedia.org/wiki/Convention_to_propose_amendment...
This can happen if 2/3's of states agree to participate. California just passed a "we're in" bill a few days ago, joining Vermont. Similar bills are pending in other states: http://www.sfgate.com/politics/article/California-seeks-cons...
This is actually one of the few non-partisan issues that both sides can agree on. Well, the constituents of both sides... most representatives hate this idea, which is exactly why you need a well-funded PAC to exert influence onto them.
comment 12y ago · link · parent
San Francisco, CA
https://datahero.com/about/jobs
Node.js | Backbone | Angular | D3 | MySQL
* Full Stack Engineer
* Machine Learning
* Frontend Engineer
------At DataHero, we’re building a beautiful data analysis and visualization platform that anyone can use to understand their business data.
Can you explain a join to your sales manager? Can you instead build a system where she can combine her Salesforce and Stripe data without learning a line of SQL?
Our system uses recommendation algorithms, an intuitive user experience, and all the dirty engineering grit to give non-engineers superhuman analysis skills.
You:
- build high-concurrency single page HTML5 webapps
- don’t mind that Node.js hasn’t yet reached 1.0
(and have built many an escalator through the 9 levels of callback hell)
- believe design is just as important as engineering
- want to work for a top venture backed startup with monthly recurring revenue
- want to contribute to our beer preference datasets with our
small close-knit team:
https://datahero.com/blog/2014/06/17/datahero-beer-consumption-analysis
If you’re a software hacker or data nerd who wants to lead the next data revolution, get in touch with us at jobs@datahero.com.comment 12y ago · link · parent
There was a neat talk from the silicon valley ethereum meetup a few months ago where a lawyer dives into the technical definition of a legal 'contract' and what parts of that Ethereum code does and does not satisfy:
http://www.youtube.com/watch?v=jSLK3lbENRc
(One of the key insights there is although Ethereum uses the term 'contract' to describe its autonomous code, Ethereum contracts do not by themselves satisfy the criteria for a legal contract in common jurisdictions... 'autonomous agent' would be a better term for Ethereum to use)
All of these links I got from people on a discussion on r/ethereum the other week: http://www.reddit.com/r/ethereum/comments/27gdhc/are_you_all...
comment 12y ago · link · parent
The interesting thing about these guys is they're a team of both developers and lawyers... part of this project is the packaging of the technology on top of Ethereum, but part of it is figuring out the legal frameworks needed to grant legal authority to a distributed crypto consensus network.
https://www.youtube.com/watch?v=MIVjAo4vres&feature=youtu.be is a good 10 min background interview with Preston Byrne, one of the members.
comment 12y ago · link · parent
It's not D3-based, but it's one of the most popular JS charting libraries out there because it's has a well documented API and it's very customizable. We've had a lot of success with it producing visualizations at DataHero.com
D3 is like a paintbrush -- you can make anything with it if you're DaVinci, but it's a very low-level tool so you need to be a master if you want to make anything that's not my drippy kindergarten giraffe drawing.
comment 12y ago · link · parent
> eventContract.dispatchTo(goog.bind(dispatcher.dispatch, dispatcher));
imho, there's a problem if you need to dust off your gang of four book to understand the API. Might as well include an AbstractSingletonProxyFactoryBean.
comment 12y ago · link · parent
comment 12y ago · link · parent
The real rumors are lost in the noise, kids learn a lesson about trusting anonymous sources and the manipulation of mass opinion, and everyone realizes highschool brattiness is nonsense because you can literally auto-generate it.
Bonus if google makes this a summer-of-code project: eventually the app creators will force everyone to login with their google+ profiles.
comment 12y ago · link · parent
My intuitions want to say the point of diminishing returns is around the limits of human cognition. Stocks are ownership of some human activity, so once you start valuing them faster than human activity you're really redefining what stocks are. Now stocks become predictions on ownership of some human activity.
Since the first formalization of Sport (some might argue earlier), it's been a human tendency to go Faster, Stronger, Better. Moving from ownership of some human activity to predictions on ownership of some human activity is a manifestation of this Faster, Stronger, Better (since the prediction is itself a human activity... we're owning the human activity of predicting human activity).
All that is not to say any of this is inherently good or bad (I disagree at the loaded term 'rigged' being used by Lewis). There's no single cut-off point in additional value earned. It's more of a transition zone where you're not sure when exactly you left it, but at some point you realize on the other side is not the world you started in.
957.
On Quantifying Design(datahero.com ↗)
1 points · by floatrock · 12y ago · discuss
comment 12y ago · link · parent
After a decade long (non-)war, the US government has a lot of surplus military-grade equipment they no longer need. By heavily discounting it through DHS grants, they are allowing small town american sheriffs to buy Fallujah-grade armored personel carriers. You know, for the teens smoking a joint and the two murders a year that happen in your 'burbs.
That's what the marine corp colonel in the above video is speaking out against:
> I saw a picture in the Boston Globe during the Marathon Bombing where there was a state police officer– Actually, there were two officers. They both had identical helmets, flak jackets, weapons, everything I wore in Iraq, only it was all blue. The officer on one side had a big patch on his back that said “MASSACHUSETTS STATE POLICE.” Another officer next to him, his patch said “BOSTON POLICE.”
> And so what we’re doing here, and let’s not kid about it, we’re building a domestic army...
Any decent person wants a police force. But when the police force starts to look and behave like paramilitary storm troopers, that's when you start asking if this is really the land of the free.
comment 13y ago · link · parent
Back in high school I played a musical instrument. I practiced my scales, was quizzed on them, then practiced them some more for years. I got pretty high-school-good at this instrument, enough to earn a small scholarship. I never continued it into engineering school though, and one of the milestones I never reached was the ability to improvise within a key. You see, despite practicing the fingerings of the different keys hundreds of times, it wasn't enough to gain the intuition needed to just feel it out on my own.
Those people who read that paper and could decipher what the authors had written HAD practiced their scales enough times to develop that intuition.
Bret isn't trying to provide the most compact representation out there. He's trying to present the best model that helps you build that intuition the fastest. In music, you had to spend hours repeating the same scales so your fingers would get hard-wired into the valid combinations for a specific keys... the question is how can we build tools and techniques that help us reach that level of effortless mastery faster.