Better HN
topnewbestaskshowjobs
Log inSign up

pixelmonkey

6,134 karma · joined Oct 5, 2007 (19y ago) · 831 submissions

Founder of PX Systems, which ships a daily developer tool to go from code to cloud cluster in seconds. More info @ https://px.app

Formerly the founding CTO of Parse.ly. Coding in: Python, JavaScript, Zig. Pleased to be a Pythonista and UNIX lover.

Parse.ly was acquired by Automattic (creators of WordPress.com) in February 2021; more here: https://www.techmeme.com/210208/p12#a210208p12

My essays & technical blog: https://amontalenti.com

My AngelList profile: https://angel.co/p/amontalenti

My occasional tweets: https://twitter.com/amontalenti

Submissions

comment 11y ago · link · parent

BTW, I'm one of the co-authors of streamparse, one of the DARPA-supported projects that is being developed by my company, Parse.ly. It lets you integrate Apache Storm cleanly with Python.

I just gave a talk about streamparse at PyCon US (https://www.youtube.com/watch?v=ja4Qj9-l6WQ) a few days ago, it was entitled "streamparse: defeat the Python GIL with Apache Storm". I'm glad to answer any questions about it.

comment 11y ago · link · parent

Seems unlikely to me a "natural" group of hacker news users would upvote a link to a landing page with email capture.

comment 11y ago · link · parent

One of the best startup teams in NYC -- and maybe on the planet!

comment 11y ago · link · parent

Anywhere but a preference for US EST timezone or plus/minus 2 hours.

comment 11y ago · link · parent

Parse.ly (http://parse.ly) - Fully Remote - Full-Time

Parse.ly has built a real-time content measurement layer for the entire web.

Parse.ly's analytics platform helps digital storytellers at some of the web's best sites, such as Arstechnica, New Yorker, The Atlantic, The Next Web, and many more. In total, our analytics backend system needs to handle over 10 billion monthly page views from 400 million monthly unique visitors.

Our entire stack is in Python, and our team has innovated in areas related to real-time analytics, building some of the best open source tools for working with modern stream processing technologies like Apache Kafka and Storm.

Our UX/design team has also built one of the best-looking dashboards on the planet, using AngularJS and d3.js.

Some blog posts about our technology:

- The Magical Time Series Backend Behind Parse.ly Analytics => http://blog.parsely.com/post/1633/mage/

- Lucene: The Good Parts => http://blog.parsely.com/post/1691/lucene/

- Whatever It Takes: Building Elegant, Beautiful, and Timely Data Digests => http://blog.parsely.com/post/46/whatever-it-takes/

We are hiring a backend engineer and a UX engineer, with the only requirement being some experience in Python/Javascript. Apply via work@parsely.com (CV, github link, 1 paragraph intro), and make sure to mention this HN post!

comment 11y ago · link · parent

Source?

comment 11y ago · link · parent

Seems like a similar design to Apache Kafka, http://kafka.apache.org. AP, partial ordering (Kafka does ordering within "partitions", but not topics).

One difference is that Disque "garbage collects" data once delivery semantics are achieved (client acks) whereas Kafka holds onto all messages within an SLA/TTL, allowing reprocessing. Disque tries to handle at-most-once in the server whereas Kafka leaves it to the client.

Will be good to have some fresh ideas in this space, I think. A Redis approach to message queues will be interesting because the speed and client library support is bound to be pretty good.

638.

Lucene: The Good Parts(blog.parsely.com ↗)

172 points · by pixelmonkey · 11y ago · 16 comments

comment 11y ago · link · parent

Michael, can you explain this more? "[Storm] Topologies are written with functions, macros, and objects. These things are specific to a programming language, and make it hard to work at a distance -- specifically in the browser. JavaScript is the ultimate place to be when creating specifications."

I don't really get it. Storm Topologies are built in Java or Clojure using a builder interface, but the data structures for topologies themselves are actually DAGs that serialize using Thrift. It's true that this is a bit heavy-weight compared to something like JSON or EDN, but offering an alternative is a discussion in the community right now. What would your ideal representation of topologies be, actually?

comment 11y ago · link · parent

Our experience was as a Python shop who was backed into a corner to use Apache Pig for our Hadoop batch jobs.

We decided to rewrite some of those jobs from Pig to PySpark, and though there was a little bit of a learning curve and some sharp edges, the development experience is so much better than Pig that my team is generally happy with the switch.

641.

Mage: The Magical Time Series Analytics Backend at Parse.ly(blog.parsely.com ↗)

4 points · by pixelmonkey · 11y ago · discuss

comment 11y ago · link · parent

My favorite part from this speech, "Everybody Worships."

http://www.pixelmonkey.org/2014/11/26/everybody-worships

643.

What entrepreneurship really looks like(pixelmonkey.org ↗)

1 points · by pixelmonkey · 11y ago · discuss

644.

Loving a Log-Oriented Architecture(blog.parsely.com ↗)

6 points · by pixelmonkey · 11y ago · discuss

comment 11y ago · link · parent

My reaction to all this on my blog, "The New Republic as a product": http://www.pixelmonkey.org/2014/12/13/the-new-republic-as-a-...

The resigning editors wrote: "It is a sad irony that [...] liberalism’s central journal should be scuttled with flagrant and frivolous abandon. The promise of American life has been dealt a lamentable blow."

Is it a doubt of anyone here that, in the web era, "liberalism's central journal" won't be a journal and won't be central? To remain relevant, TNR needs a growing and loyal digital audience. Because sooner or later, there won’t be any other kind for journalism and opinion.

comment 12y ago · link · parent

Really nice advice.

The company I founded just hit 25 employees and I just got finished spending a couple quarters trying to ignore management because it seemed cooler to have no structure, and working on a project in hero mode because I got over-excited about it... wish it had come out 6 months ago :)

comment 12y ago · link · parent

Related: an article comparing Python and Clojure, called "Clojonic: Pythonic Clojure".

http://www.pixelmonkey.org/2014/11/02/clojonic

comment 12y ago · link · parent

Some bugs with vim-livedown:

- I couldn't get it to work with the after/mkd directory via pathogen. Not sure why. Moving the small bits of vimscript up in the load order worked for me.

- I think the behavior of making it auto-open upon buffer switch is un-vimlike and probably annoying. Better to just support the LivedownPreview() function. (Also, the other function has code repetition it seems.)

- The npm module (livedown) uses highlight.js for code highlighting with default options. For a standard README.md I just opened, it thought some Python code blocks were alternatively nginx or bash, because they were very short, thus did wrong syntax highlighting. You probably want to turn off language auto-detection. You can do this by doing

   hljs.configure({languages: []})
before calling hljs.highlightBlock(). HTH. I'll also open a Github issue about this.

comment 12y ago · link · parent

The thing I learned that blew me away is that with their new networking stack, the cross-AZ communication within a region is "always <2ms latency and usually <1ms".

As mentioned in the slides, that's the same latency usually associated with SSDs and 100X better than the latency typically associated with cross-region networking. This suggests to me that running distributed databases in multiple AZ's has almost no latency penalty (e.g. you won't even paying eventual consistency / replication lag taxes that you might think are a danger). That's pretty damn cool.

comment 12y ago · link · parent

Agree. Also want to plug my friend Dan Blanchard's IO::Storm, which is a nice binding for Perl!

https://github.com/dan-blanchard/io-storm

comment 12y ago · link · parent

Really cool -- we've been working on a similar framework at Parse.ly called streamparse:

https://github.com/Parsely/streamparse

http://blog.parsely.com/post/1172/streamparse/

Will really look forward to evaluating this and seeing how the frameworks compare, and perhaps some way to collaborate across the projects.

comment 12y ago · link · parent

Complementary technologies, often used together. In fact, in Storm 0.9.x, Storm actually bundles a JVM implementation of a Storm Spout that plugs directly into Kafka:

https://github.com/apache/storm/tree/master/external/storm-k...

comment 12y ago · link · parent

I think what people think when they hear "engineer" is, "someone who builds useful objects that are limited by technical constraints and/or expertise."

As software engineers, we are constrained by software technology and knowledge of software and computer science / mathematics. This is similar to how civic engineers are limited by material technology and knowledge of materials and physics / mathematics. I actually think the analogy fits. I don't see what's wrong with it. However, I do agree that sometimes the "builder analogy" can be taken too far.

comment 12y ago · link · parent

Cassandra is a great write-only database.

comment 12y ago · link · parent

I also really love tmuxp, which lets you save tmux sessions as json files and save/reload them later. Great for setting up tmux sessions for different workflows.

http://tmuxp.readthedocs.org/

comment 12y ago · link · parent

Some people may not understand the context of this part:

    So not long ago someone apparently convinced 
    someone else at a conference that static typing
    is awesome and should be a language feature. I'm 
    not exactly sure how that discussion went but the
    end result was that mypy's type module in combination
    with Python 3's annotation syntax were declared to be
    the gold standard of typing in Python.
Ronacher is referring to the fact that Guido van Rossum, the Python language creator and BDFL, recently said he wanted to make mypy's type annotation standard into a standard by making use of Python 3 function annotations.

The original function annotations standard is PEP-3107[1], GvR's proposal is on the python-ideas list[2], and information on mypy can be found at the project's site[3].

I agree with Ronacher's conclusion; I don't think static types -- even if only used at runtime -- are a good fit for the language. As for function annotation syntax, I think we just need to admit that isn't really good for anything.

Great article!

[1]: http://legacy.python.org/dev/peps/pep-3107/

[2]: https://mail.python.org/pipermail/python-ideas/2014-August/0...

[3]: http://www.mypy-lang.org/

657.

“So, you work in IT?”(pixelmonkey.org ↗)

4 points · by pixelmonkey · 12y ago · discuss

658.

Python annotations and type-checking(pixelmonkey.org ↗)

2 points · by pixelmonkey · 12y ago · discuss

comment 12y ago · link · parent

I am reminded of Yeats:

    Things fall apart; the centre cannot hold;
    Mere anarchy is loosed upon the world,
    The blood-dimmed tide is loosed, and everywhere
    The ceremony of innocence is drowned;
    The best lack all conviction, while the worst
    Are full of passionate intensity.

comment 12y ago · link · parent

You have strong points. I agree with you about Python 3 "not cutting it" in terms of offering some fundamentally new stuff. But I also think there is something admirable in that.

You mention "a good async story" -- that has already been addressed with asyncio. A better multi-processing API has also been addressed in the concurrent.futures module. It's true that "multi-core" is still unsolved in Python, but most practitioners work around this problem by just using process-oriented parallelism instead.

Nonetheless, the frequent complaints about multi-core haven't fallen on deaf ears; they will probably come next! It's pretty much the primary focus of the pypy project and recent development work has begun on a Software Transactional Memory implementation that would remove the GIL.

GvR at PyCon 2014 said that he thinks pypy is the future of core Python development -- and that at some point in the future, pypy might become the reference implementation rather than CPython.

So, to conclude, I agree with your points, but progress is already advancing on many of the fronts you are demanding from the community.

1
212223
28