Better HN
topnewbestaskshowjobs
Log inSign up

sah

1,374 karma · joined Mar 4, 2008 (18y ago) · 326 submissions

My company: http://saucelabs.com/

YouTube videos: https://www.youtube.com/user/hackerdashery

My twitter feed: http://twitter.com/sahazel

My website: http://awesame.org/

Side projects: http://codepad.org/ http://omgaudio.com/incoherence/

Submissions

1.

Sauce Labs Magnifies Cloud Mobile Testing with a Large Pool of Real Devices(siliconangle.com ↗)

1 points · by sah · 11y ago · discuss

2.

Mac, iOS and RubyMotion Testing on Travis CI(about.travis-ci.org ↗)

49 points · by sah · 13y ago · 12 comments

3.

Sauce Labs Adds Support for Testing in Lynx(sauceio.com ↗)

12 points · by sah · 13y ago · 1 comment

comment 13y ago · link · parent

Cucumber does indeed work. We just added an example: https://github.com/appium/appium/tree/master/sample-code/exa...

5.

Appium: Drive iOS Apps from Any Test Framework(appium.io ↗)

40 points · by sah · 13y ago · 10 comments

comment 14y ago · link · parent

The quoted statement was hyperbole. I followed it with as much nuance as I felt it made sense to get into in the broader context of the article.

comment 14y ago · link · parent

"If you don't like it, it must be because you haven't taken the time to understand it" is cognitive poison. What evidence will convince you that someone has understood well enough to judge that something doesn't make sense?

I've spent many years using schemas, and I know well how they work and what they achieve. I'm saying they're a lousy tradeoff.

comment 14y ago · link · parent

I didn't say anything about domain-specificity.

My primary point was just that SQL is old, and I think the reason it is the way it is has more to do with history and compatibility than what we'd want it to look like if we started from scratch today.

SQL is still around because it was successful. And there are reasons to value compatibility, and to avoid changing things for no reason. But my personal experience using a database without using SQL was pleasant, and I'm anxious to see the world move on to something new and improved.

comment 14y ago · link · parent

You're right that I was lumping transactions and data integrity guarantees in with "relational". I was thinking about normalization, and protecting data integrity in ways that lead to joins and transactions.

comment 14y ago · link · parent

"They don't exist, if you don't construct SQL queries by concatenating strings and variables."

My point is, people still do this. You never hear about REST-injection or memcached-injection attacks, even though those are possible in principle, because those protocols don't encourage this mistake the way using SQL as a database API does.

comment 14y ago · link · parent

We keep things we might need to search in regular columns (typically with indexes). The JSON object is just a way to add extra data to rows, which we can fetch and deal with on the app side. That works fine for a lot of things, and we're hoping it will give us some flexibility around when we need to do schema migrations in some cases.

comment 14y ago · link · parent

The connection I see is the attempt to make the syntax English-like. Expressions like "SELECT * FROM users" remind me of COBOL's "ADD X TO Y".

comment 14y ago · link · parent

A number of us know MySQL fairly well, and in particular I've seen how it's used by some of the biggest internet companies. We have some postgres experience on our team as well, but it's a little more of an unknown. So experience trumped feature set in this case.

One thing I would say about postgres is that it has a lot of features. As a new user, it's hard to know which ones to use in which ways, and what the downsides might be.

comment 15y ago · link · parent

I'm one of the authors of a Python framework called monocle for doing async programming in this style. It works with twisted and tornado. http://github.com/saucelabs/monocle

15.

Sauce Connect Gets Serious - reliable networking over TCP(saucelabs.com ↗)

2 points · by sah · 15y ago · discuss

comment 15y ago · link · parent

Haskell Curry made this argument in his "Outlines of a Formalist Philosophy of Mathematics": http://www.amazon.com/Outlines-Formalist-Philosophy-Mathemat...

His idea is that mathematics is the empirical study of the implications of systems of rules.

comment 16y ago · link · parent

I'm not sure I understand your concern here. How does monocle make decomposing logic into functions difficult?

The "yield" keyword is an indicator of where control is returned back up to the event loop and other things can happen. We like that in monocle, because we view it as dangerous; in thread-and-lock terms, it's sort of like "unlock everything".

Eventlet (http://eventlet.net/) is an example of a similar framework that decided not to require "yield" at these points.

comment 16y ago · link · parent

Well, monocle is headed in its own direction. We're abstracting the generator-style concurrency stuff out from the underlying I/O framework, so monocle works with both Twisted and Tornado, and we're prepared to interoperate with other frameworks in the future. On top of that base, we're developing a framework for working in this style; there are some early ideas in monocle.experimental. We're also building simplified base networking APIs in a way that only makes sense if you're committed to this style of concurrency.

I think the question is really whether you're more compelled by generator-style concurrency, or Twisted itself. If you want to work deeply with Twisted, inlineCallbacks lets you use generator-style where you want, and is maintained along with Twisted. If you want to use generator-style concurrency to its full advantage in simplifying complex evented servers, that's where monocle is going.

comment 16y ago · link · parent

I don't think it's very credible to hold Perl 6 up as the standard for how to encourage and enable complete implementations, considering that ten years in, it still has only partial implementations.

comment 16y ago · link · parent

http://projects.csail.mit.edu/church/wiki/Church

21.

Continuous Try Server Integration(saucelabs.com ↗)

1 points · by sah · 16y ago · discuss

comment 17y ago · link · parent

Yeah, we know our front page is lousy right now; we've got a redesign and a much clearer explanation in the works.

You need our service to make sure your web apps work in all the popular browsers.

We've got a bunch of web browsers in the cloud which you can remote-control via and API, to make sure the features of your site work cross-browser. We use a popular open source browser automation tool called Selenium, which my cofounder Jason Huggins created.

I'm curious whether the above description makes sense, or still leaves you scratching your head!

comment 17y ago · link · parent

Loops don't kill the server -- it runs them until they reach a timeout, and then aborts them.

comment 17y ago · link · parent

The JVM is threaded, and threads will require a little bit of (careful!) work for the codepad security sandbox to support. I haven't had time for that project yet.

comment 17y ago · link · parent

That's me. Sauce Labs has indeed been keeping me ridiculously busy. But codepad is my favorite side-project, and I don't mean to neglect it. I'll find a free weekend and update interpreter versions once things are less crazy here!

comment 17y ago · link · parent

That's my mission with http://codepad.org/

comment 17y ago · link · parent

http://codepad.org/

  Firefox       55.28%
  IE            17.05%
    7.0  38.08%
    6.0  34.21%
    8.0  27.77%
  Chrome         7.51%
  Safari         7.46%
  Opera          5.53%
  Mozilla        5.34%
  Konqueror      0.95%

28.

Costing out Google App Engine(megginson.com ↗)

1 points · by sah · 17y ago · discuss

comment 17y ago · link · parent

"Awesome! I can just store things in a JSON-like list and not have another table or anything!" Oh, what if I want to find all the users who have 'ruby' as an interest? Oh, I can only lookup by key? And yes, there are ways around that. You could create a table of interests and each interest would be a key in that table and it would have a list of people with that interest.

This is not true of CouchDB. Indexing is done on the keys generated by arbitrary Javascript views. A view returning results keyed by interest is trivial.

12345
11