HNHacker News
TopNewBestAskShowJobs

qixxiq

1,036 karma · joined July 12, 2010

Co-founder of Smyte (YC W15) acquired by Twitter

Previously: Instagram (Facebook), SnapBill

http://www.github.com/qix

[ my public key: https://keybase.io/jyud; my proof: https://keybase.io/jyud/sigs/gpvgfbbChwQ2UYzmAoa1yKWjK68nsglbOCQ63jOjak0 ]

submissionscomments
qixxiq··on Ask HN: Who is hiring? (July 2015)
Smyte - San Francisco | Full Time | On Site (YC-W15) https://www.smyte.com/jobs

We're fighting fraud on marketplaces and spam on social networks.

Looking for another experienced infrastructure engineer to ensure we don't fall over with the clients we have in our pipeline.

qixxiq··on Smyte (YC W15) Launches to Fight Online Fraud
Josh from Smyte here.

Definitely check the docs as Pete suggested, but would also like to point out that we'll take just as much data as you're comfortable with and/or can send for privacy reasons.

We have a ton of different signals that make our system tick, but based on whatever you send us it'll function as best as it can.

qixxiq··on Here’s who probably did that $150 million Bitcoin transaction
I'm not sure people are aware/scared enough of possible physical access. People have been kidnapped / banks robbed / etc for far less than $150MM.
qixxiq··on Let's build an entire programming environment around Brainfuck
I started writing a simple parser/interpreter to convert a C-like language to brainfuck[1]. Simple sample code with a loop at [2] and result code [3]

I never quite got around to functions, but there is basic support for arithmetic, for loops and rand()

[1] https://github.com/qix/c2brainfuck [2] https://github.com/qix/c2brainfuck/blob/master/samples/beer.... [3] https://github.com/qix/c2brainfuck/blob/master/samples/beer....

qixxiq··on BitCon: Don't
While the rest of his post is fairly interesting, I am getting rather annoyed at the complaints of 'double-spend' being an actual problem with bitcoin. Yes, there is short period before you get confirmations (5-10 minutes), but there are also a lot of possible solutions to that as support for the currency develops. Notes are only trusted because of trust in their creator and the security features they put in place.

If bitcoins ever take off in the larger population I foresee trustworthy banks that will hold your bitcoins for you. Transactions from them can immediately be trusted due to trust in the bank that is sending them.

qixxiq··on A heartbeat monitor for software as a service
The technical implementation is rather simple, and actually not too important. It doesn't need to be super-reliable since if it breaks the logic will report it to us.

Currently we simply write each heartbeat to our redis database, along with the UTC time it occurred. Some heartbeats are global (string key) and others we have one per server (hash key, server name => last heartbeat). There is an API endpoint set up that some of our systems use to trigger heartbeats.

We then have a public page at a secret url that renders out the full status check. Pingdom is set up to check this page for "warning-status: OK" and if its not there send us an email. It also checks for "final-status: OK" and if that is not there, it triggers PagerDuty which will wake us up if needed.

I would prefer if PagerDuty could check it directly, then they would be our only point of failure.

-- Edit -- I added a screenshot to the post which should make it a bit clearer.

qixxiq··on The Star Wars Route: Do a traceroute to 216.81.59.173
The full text of the traceroute

  $ traceroute -m 100 216.81.59.173 | awk '{print $2}'
  ... cut ...
  *
  Episode.IV
  A.NEW.HOPE
  It.is.a.period.of.civil.war
  Rebel.spaceships
  striking.from.a.hidden.base
  have.won.their.first.victory
  against.the.evil.Galactic.Empire
  During.the.battle
  Rebel.spies.managed
  to.steal.secret.plans
  to.the.Empires.ultimate.weapon
  the.DEATH.STAR
  an.armored.space.station
  with.enough.power.to
  destroy.an.entire.planet
  Pursued.by.the.Empires
  sinister.agents
  Princess.Leia.races.home
  aboard.her.starship
  custodian.of.the.stolen.plans
  that.can.save.her
  people.and.restore
  freedom.to.the.galaxy
  0-------------------0
  0------------------0
  0-----------------0
  0----------------0
  0---------------0
  0--------------0
  0-------------0
  0------------0
  0-----------0
  0----------0
  0---------0
  0--------0
  0-------0
  0------0
  0-----0
  0----0
  0---0
  0--0
  0-0
  00
  I
  By.Ryan.Werber
  When.CCIEs.Get.Bored
  CCIE.38168
  FIN
qixxiq··on Ask HN: How do you manage shared company passwords?
I recently posted https://password.ly here, and while it got a huge amount of hate for having users submit their passwords to my server, the actual concept is really useful. The command line client also never needs to send the password (unless you sync, and I'm trying to plan updates so that isn't required.)

Basically it uses bcrypt with the site name in the salt, so you get a completely unique password that can't be reversed for each site. Each employee will get access to our master password which can be changed on a semi-regular basis and then we keep a tab-completeable list of all seperate site names that were used.

qixxiq··on Show HN: Password.ly - Per site password generator from a master password
No, it doesn't.

There is a 'pw sync' command which does send your password to the server (in order to confirm your access while updating saved comments/etc) but that is all.

qixxiq··on Show HN: Password.ly - Per site password generator from a master password
I'm curious to know where the 80 bit number comes from? The 61 bits seems like a crazy large number to try and brute-force, but perhaps there are other issues besides brute force that I'm not considering?

Unfortunately while changing the 10 to 13 was a rather trivial change yesterday, now that the site has launched its not really possible. It would change and break everyones password on the site.

That said the entire thing is open-source, so anyone 'could' set up a version of password.ly with length=13 for themselves if they wanted.

qixxiq··on Show HN: Password.ly - Per site password generator from a master password
There is a command line client too, and the entire website is open source (links at bottom.)

If you're worried about not trusting anyone, then you would need to set up your own solution - but for most people thats completely out of their league. This is intended for people who would be typing their master password in different websites, and now instead only need to type their master password into one.

I can't argue against the problem of only having one password, but the small set never worked for me. I have a couple plans to integrate password migration into password.ly.

qixxiq··on Show HN: Password.ly - Per site password generator from a master password
Hey,

It's really just a MVP at the moment. There are quite a few improvements planned, and definitely a browser extension if there is any interest.

At the moment it is limited to the password generator, site names along with comments saved when you've signed up and a simple command line tool.

qixxiq··on Show HN: Password.ly - Per site password generator from a master password
The biggest difference between password.ly and most other tools (including keepass), is that each password on password.ly is generated from your master password.

There is no database to lose, or not have access to if you're on another machine. It also has a command line client which works completely offline (though has sync if you're signed up and want to save sites/comments)

qixxiq··on Ask HN: Master password to one password per site with bcrypt algorithm
Clickable: https://gist.github.com/4088402
qixxiq··on Ask HN: Who Is Hiring? (October 2012)
SnapBill Cape Town, South Africa

We're a small, bootstrapped, and profitable startup developing a highly flexible billing system for companies with 50 to 500,000 clients.

Hiring two full time developers in the next couple months. Contact me directly for more details.

qixxiq··on Automating with convention: Introducing sub
We've been using python Baker[1] to achieve the similar thing with a little bit of extra flexibility. Occasionally we call out to bash but most scripts are written in python.

The sub-commands are handled simply by having a primary baker that calls the execute method on the children: 'b git' => 'import git; git.execute(['b git'] + argv)'

[1] http://pypi.python.org/pypi/Baker/1.1

qixxiq··on Rescuing Resque: Let's do this
We're actually using a combination of Beanstalkd and Redis (to make up for beanstalks lack of durability).

Before pushing a job to beanstalk we encode the entire job a 'current-jobs' hashmap in redis, our worker transfers it to a 'busy-jobs' hashmap before processing, and then deletes it if successful or transfers back to current-jobs if failed gracefully.

This way we get the full useful features of Beanstalk (tubes, delays, etc) while knowing that our jobs are always sitting in Redis too if the beanstalk server dies (its persistence features are lacking) and our commit function is atomic (Redis MULTI/EXEC).

qixxiq··on PHP Addiction
I've had a similar issue and have even come up with some suggestions myself[1], but really I think there is only one company in the right place to produce a serious PHP competitor. Facebook.

They have the man-power required to displace it, as well as the serious need... although the only potential solution they have come up with HipHop / HPHPi is really lacking in community support. Its open source but rather undocumented, and took an entire day to get set up.

If they could produce a viable alternative to PHP... something that fixes the clear fuckups but doesn't try to fix everything I think it would have a real shot.

[1] http://davelang.github.com/

qixxiq··on Stripe Gallery
Globalization is very complicated and almost every country is different... PayPal hasn't even finished yet themselves.

They only last year enabled payments into South Africa and even that is through some strange bank interface for tracking/tax reasons.

qixxiq··on PHP: A fractal of bad design
They have an interpreted version of HipHop as well. Can't use the PHP interpreter due to a couple added features (python-esque yield is the only one I know of)
qixxiq··on Show HN: Language proposal - dave
It enables javascript style scoping which I am a big fan of. Basically the 'var' statement defines the depth that a variable is available at.
qixxiq··on Show HN: Language proposal - dave
The Yesod method does seem interesting (best explanation I could find of it is at [1]. Perhaps that would be a better plan, although you could look at the encoding syntax as strongly typed strings. If you look at the 'boldheart' example once the <strong>&lt;3</strong> is saved as an "type html" string, it is not re-encoded when placed inside another "type html" string.

As for the "yet-another" argument - I know. Convincing developers to switch to a language that is not leaps-and-bounds ahead of their choice language is hard to impossible. The reality is that I'm simply not happy with any of my options and decided it would be an interesting experiment to write my own. I'm not planning on writing any serious applications in it myself -- unless somehow it can pick up a community.

The remixing though I find interesting. This is simply an attempt at making something "better" than the other options. Languages get stuck with broken features in order to maintain backwards compatibility. I see this as a way to take the good parts of any languages and turn it into something I would like to use. I'd rather stick with what works.

[1] http://yannesposito.com/Scratch/en/blog/Yesod-tutorial-for-n...

qixxiq··on Professional Traders Show Interest in Bitcoin
Counterfeit currency is only low on your list because the governments are working hard to prevent it.

If it was possible to print notes that could not be easily detected as counterfeit -- millions would be printed and it would devalue the entire currency.

qixxiq··on Packages: The Way Forward for PHP
The reason for that is because your definition of normal hosting is shared. (On a dedicated host you can run both PHP and Ruby; and they're roughly the same in terms of getting set up.)

In terms of actually finding website hosting for an application?

Saying PHP is the hardest was likely an over-exagguration, but the market for Heroku PaaS style hosting is growing massively and its Ruby runs on it very easily.

Its not hard (at all) to find hosting for either, the only reason in my mind PHP is harder is because of how beautifully PaaS works and that its free for small applications (good luck finding a reasonable free php host -- I know they exist but you'll have to dig through a whole lot of crud first)

qixxiq··on Packages: The Way Forward for PHP
Unfortunately the common argument is not always true. To be honest at this point in time I would say PHP is actually the hardest to find hosting for. I'm a long time PHP developer and just recently tried Heroku out -- its like magic.

Best for generating web pages is a meaningless metric, and...

To be honest my main issue with PHP relates to the defense that "PHP is not as bad as people like to say.". I mean, really - its true. PHP5 is significantly better language than the previous versions, and people always over-exaggerate how bad it is. The problem is that PHP is not a good language.

Whenever I develop in Python/Ruby I actually enjoy the 'feel' of the language, and I'm often impressed by the power it has to do really complicated things in simple concise instructions. Most of the time when I'm working with PHP the feeling is very different. I can perform the same operations but generally theres far more cruft, and a couple manual lookups to see why functions behave differently when hashes ("arrays") have numeric indices (I'm looking at you array_merge!)

qixxiq··on Packages: The Way Forward for PHP
While python/ruby are arguable better languages in a lot of ways, they're also completely different and lacking in a lot of what PHP offers.

Everyone has their own languages of preference, and personally I really dislike working with python (not too much experience in ruby) while dealing with websites. I cringe each time I'm forced to check the manual for random function behavior, but its not enough to make me move over.

What I'm really looking for is an improved version of PHP. One that keeps most of its style but removing the backwards-compatible crap. It looks like HipHop may go down that path in the near future (they've already added python-style yield generator functions)

qixxiq··on Cogs bad
A fairly good example of the confederated system running website hosting using CPanel. By default every machine hosts its own mail servers, web servers, databases, ......

Surprisingly (or perhaps not) its actually very effective for cheap hosting. Machines can handle quite a lot and rather than having many points of failure and failovers, you have one, and only one, single point of failure for the system (excl network connectivity/power/etc.)

Every couple of years something goes horribly wrong, but it turns out most users can deal with (or rather -- have no choice and are willing to accept) a five-ten hour downtime every couple of years.

qixxiq··on On the Usability of Codecademy
Codecademy have done a great job at reducing something that can be very difficult down to laymans terms but its difficult deciding just how far down the rabbit go they need to go.

While the problems with the REPL and trying to delete text are obviously a problem (and a hard one to solve), I'm not sure the issue with leaving out the quotes is. Obviously if the text was replaced with "I don't know anything called liz" instead of "liz is not defined" would be a minor improvement -- but at the same time anyone should be able to sit back, look at what they were asked to code ("Ryan".length) and notice the difference to what they typed (liz.length). The "Oops, try again" might be enough of a message there.

qixxiq··on watch.js & if.js
I also found it mildly frustrating that a "do what the fuck you want" license was copyrighted itself :/
qixxiq··on watch.js & if.js
I added links to the files and actual source to the github pages; should be a fair bit easier :)
← PreviousPage 2 of 5Next →