HNHacker News
TopNewBestAskShowJobs

Xdes

488 karma · joined November 5, 2013

submissionscomments
Xdes··on List of possible changes, updates, additions for PHP 6
Check out Hack for HHVM[0][1][2]. It's a lot saner than PHP, but it's not documented or well known outside Facebook.

[0]: Strangle Loop 2013: Keith Adams, Facebook: Taking PHP Seriously https://raw.github.com/strangeloop/StrangeLoop2013/master/sl...

[1]: CUFP 2013: Julien Verlaguet, Facebook: Analyzing PHP statically https://www.youtube.com/watch?v=gKWNjFagR9k

[2]: HHVM and Hack – Can We Expect Them to Replace PHP? http://www.sitepoint.com/hhvm-hack-part-1/

Xdes··on The Star Trek Economy
How do you give everyone a basic income without leading to overpopulation?
Xdes··on Google enforcing Web store only extensions for Chrome
Install Chromium. It's chrome without the spyware.

https://download-chromium.appspot.com/

Xdes··on Silk Road 2 Hacked, All Bitcoins Stolen
It might have been scripted to automatically resend the Bitcoin. This would be a huge oversight, but it is not beyond a doubt.
Xdes··on The troubled history of the Bitcoin exchange MtGox
>am generally as cynical as possible

Then Bitcoin really isn't for you. Bitcoin requires faith in mathematics and humanity.

Xdes··on The Facebook Comment That Ruined a Life
Prison in the US isn't about rehabilitation it's about punishment. No one goes to prison thinking they're going to come out as a better person with a new outlook on life. They're going to come out war-torn and barely above functional with little to no prospects.
Xdes··on More on Hiring Software Developers
>i mean... you used a regex?

That was my initial impression, but after I reread the sentence I interpreted it as he used an RSS parser to get to the element with the data and then used a regex to extract the information from the data.

He didn't specify how the data was formatted inside the RSS element which leaves me to believe it might be something custom and not a simple CSV. This would be a perfectly valid use case for a regex.

Xdes··on W3schools: The Ugly, the Bad, and the Good
If it isn't StackOverflow or MDN then I will not click it. I've had bad experiences with garbage linkbaiting.
Xdes··on The troubled history of the Bitcoin exchange MtGox
>The reason that people use fiat currencies is because they can trust the institution/government backing them.

Bitcoin is a fiat currency and I trust the Bitcoin specification a lot more than I'll trust any central bank. They're notorious for usury, secret bailouts, and inflation.

>They can trust that if they are handed a dollar by a business, it's a dollar, no questions asked.

Well you can trust that if you're sent a Bitcoin then it will end up in your wallet.

>the person they're exchanging with is being legit

This is the same thing that happened with online shopping at the end of the '90 and early '00s. Consumers got used to using their credit cards online and they will get used to the notion of owning, transferring, and protecting digital property.

>adding one more layer of headache to financial transactions

There is no such headache. The software will improve and the banking infrastructure will grow. I expect to see banks that hold their reserves in Bitcoin and give out lines of credit denominated in Bitcoin. Infrastructure will solve this problem, but first capital is needed to meet current regulatory compliance with the archaic legacy system that is currently in place.

Xdes··on The troubled history of the Bitcoin exchange MtGox
This is to the point. In a low trust environment transparency and reputation will be the biggest influencers.
Xdes··on Screwed by Square
I thought Square was supposed to be one of those "disruptive" startups. If they continue the status quo and don't try to improve their customer service then why should I use them?
Xdes··on How to build and make use of connections.
Honestly it's not that simple. I'm pretty introverted and just talking to people can be hard sometimes (especially if I'm trying to provide proper social listen-and-talk).

I go out to the community events and I know a handful of people, but I don't really know them. I recognize their face and I might remember their name, but I would not be comfortable asking them for advice or prying into their professional lives.

This is one of the reasons I believe I would not be successful at startups.

Xdes··on Richard Lynch, an awesome PHP community guy and former colleague needs our help
Public healthcare ought to be implemented at the local level for those that want it (which I don't). I'm quite fine with not seeking treatment when I get a terminal illness. If it ever gets to that point I would prefer euthanasia (illegal in the USA).
Xdes··on JetBrains C++ IDE: Status update and Video report
No IntelliJ IDEA support. Is this going to be included in AppCode or will it be a separate IDE?

Other than that the refactoring look beautiful. Better tooling definitely makes C++ look like less of a PITA.

Xdes··on Mt. Gox Halts Bitcoin Withdrawals, Price Drop Follows
I think all of us veteran Bitcoin users saw this coming for awhile now. It's all the new users (<1 year) that are affected. They tend to disregard our advice to steer clear of Mt. Gox (and holding their BTC in an exchange like a bank). They're probably the same people who keep supporting scammers like BFL.
Xdes··on SolarCoin cryptocurrency pays you to go green
I could see SolarCoin working if there was some kind of specialized hardware that monitored the amount of electricity flow, but I can't think of a way to verify that it is hooked up to a solar panel versus plugged into a wall.
Xdes··on Newegg Launches $50 Amazon Prime Competitor
Well 3 day shipping for $50 or 2 day shipping across many sites for $79 with shoprunner. Also shoprunner is a free benefit with an Amex card and they occasionally have a deal of spend $x on y site and get a one year membership.
Xdes··on Why AngularJS Changes Everything
I will say, as having acquired a taste for angular and trying to extend an ember app, that the angular learning curve is pretty linear.

My experience was:

* My first module

* My first controller

* Attaching controller to div

* My first interaction with ng-click and $scope

* My first route

* Refactor controller from div to router

* Using a route with an anchor tag

* My first form with ng-submit

* My first service

* My first value to wrap jquery

* Using $.ajax to call a service

* Discovering $http and refactoring out $.ajax

* Refactoring the service into a factory

* My first directive to wrap jquery-ui

and so on.

Xdes··on Microsoft, Past and Future
Hence the docking station. Full workstation when plugged in and 8" screen in meetings.
Xdes··on It's Settled: Silicon Valley Is Dying. So What's Next?
Detroit isn't going anywhere. The residential community may be on the decline, but the business community is thriving and private interests are investing in the infrastructure themselves. The business community doesn't need to rely on the city for infrastructure when there is plenty of capital available to invest directly versus waiting on the corrupt bureaucracy.
Xdes··on A letter from Paper (FiftyThree) to Paper (Facebook)
It's a matter of common usage. Coca-Cola isn't a universal descriptor of that particular kind of carbonated soft drink. The term for that (in the US) is a cola (which is why there exists a lot of *-Cola beverages).

The Coca leaf isn't used anymore due to the prohibition of cocaine.

Xdes··on ActorDB: A distributed SQL database with the scalability of a KV store

    >no single point of failure (redis and likely the rdbms as well)
Your README mentions replication in the Operational characteristics, but it does not cover partition tolerance?

- Is there one master per cluster?

- What happens when the network becomes segmented?

It is also unclear of how this affects multiple clusters.

- How is a global consensus of the data reached?

- What happens when the network becomes segmented between clusters?

    >no need to maintain two very different systems
SQLite isn't a full featured RDBMS. It mainly lacks support for stored procedures and concurrency. It is a very nice solution for small, self contained, horizontally scalable usage scenarios. However, once the use case involves generating custom globally unique identifiers (like a 7 character alphanumeric string) it generally falls apart.

    >scalable. As in plug in a new cluster and it will proportionally increase capacity.
Redis and RDBMS have well known use cases for replication and partition management. Redis itself is single threaded, so it is horizontally scalable by your budget (and likewise supports sharding and replication albeit the network segmentation can lead to issues). More full featured RDBMS like Postgres, MariaDB, Oracle, and SQL Server support concurrency and granular locking with similar scaling strategies.

I do not see the value proposition in consolidating the infrastructure in this case.

Xdes··on ActorDB: A distributed SQL database with the scalability of a KV store

    >Use case: reliable distributed counters
I am not understanding the example provided for this use case. In my implementation of this use case I use Redis back by an RDBMS. Redis provides a cache and a distributed counter while the RDBMS engine handles all the OLTP and OLAP.

I currently have a job that takes snapshots of the real time Redis counter at given intervals and inserts them into my analytics table.

How would the ActorDB way simplify or improve this model?

Xdes··on Streetpong [video]
I wish there were traffic lights that would countdown until the the light changes (quantitative) or use something like an hourglass (qualitative).
Xdes··on The Magic of strace
Or you could just give a concise definition:

    >What is this "DTrace" thing? It stands for "Dynamic Tracing",
    >a way you can attach "probes" to a running system
    >and peek inside as to what it is doing.
Xdes··on The Magic of strace
Still doesn't tell me what dtrace does.
Xdes··on Jb’s story about how he nearly lost his Twitter handle
I'm gonna put an identity audit on my TODO list.
Xdes··on Hackathon Starter – Boilerplate for Node.js web application
There's also a nice tool called Lineman http://www.linemanjs.com/. It's a simple convention-over-configuration-get-out-of-your-way command line utility that does all the heavy lifting so you can just code your app.

There are a number of templates[1] to get you started and once you get over the initial learning curve lineman fades into the background while you iterate on your app.

For a comparison with Yeoman see: http://www.linemanjs.com/#lineman-vs-yeoman

[1]: http://www.linemanjs.com/#project-templates

Xdes··on Taking PHP Seriously
I'll have to take a look at the Hack language. I've always wanted to try PHP, but I've always been deterred by the cruft (same reason I avoid Java).
Xdes··on Demonstration at Home of Google Developer. Google Bus Blocked in Berkeley
The issue isn't about capitalism. The issue is about the responsibility that these corporations are willfully ignoring once they have acquired copious amounts of capital. There seems to be this tendency with especially big corporations and individuals to suddenly throw their users and customers under the bus in favor of working with the government. Now the government shouldn't be engaging in this kind of solicitation to begin with, but that doesn't mean these corporations should be absolved of all guilt.

Any corporation that would rather derive its value as a government datafarm than from wealth creation has betrayed its user, customers, and capitalism.

← PreviousPage 4 of 6Next →