HNHacker News
TopNewBestAskShowJobs

agopaul

366 karma · joined September 7, 2012

Co-Founder at Redokun (https://redokun.com)

Gmail: paul.ago Twitter: @ago_paul

submissionscomments
agopaul··on Running a 20 People Business from the Beach
I presume that you have to work with crappy internet connections in exotic places, how do you deal with it? It's interesting because, at Redokun, we switched away from Hipchat and migrated to Slack only because it worked much better on our slow/crappy connection.
agopaul··on Disque – a distributed message broker
I haven't tried it actually. I evaluated it a few years ago and I remember that the queue persistance was missing (though now I see it is supported), and it lacked handling retries out of the box (which Gearman does).

Now I've wrote my own wrapper to handle retries on the client side so I might give it a try.

Edit: Grammar

agopaul··on Disque – a distributed message broker
Can wait for the PHP client so I can finally drop Gearman
agopaul··on Call Me Maybe: MongoDB Stale Reads
So, now I'm wondering: why is Stripe using Mongo at all? Maybe they are planning to migrate to another DBMS?
agopaul··on Bamboo: Lua web framework based on Mongrel2, ZeroMQ and NoSQL
Well, there are already libraries which abstracts the ZeroMQ layer with Request/Response interfaces.

A few months ago I hacked a bit with a Zend Framework 1 application and Mongrel2 and it worked well, although zf1 is not the best example given the fact that it was designed to work in a classic mod_php environment where the PHP process doesn't keep its state between requests.

agopaul··on Bamboo: Lua web framework based on Mongrel2, ZeroMQ and NoSQL
One thing that I don't understand is why Mongrel2 didn't really took off in the webserver world. It seems a complete product and the concept behind it is very nice.

Plus, it doesn't need any external module to work with a specific language, given that ZeroMQ is used to communicate with the backend.

agopaul··on Stop using tail -f (mostly)
I didn't know about the -n switch. Usually I need to get to the bottom of the file and find the last occurrence of a string in the logs (G, CTRL+C to stop counting lines, ?string to search) and the slower part is waiting for less to match a string going backwards on the file. Will check if the -n switch solves the problem
agopaul··on Stop using tail -f (mostly)
For semi-large file (1/2GB+) less takes seconds if not minutes to count the number of lines (it read the whole file) so you can navigate and search across the file. In that cases tail -f and grep are still way faster than less, though less is a handier tool
agopaul··on PostgreSQL Data Migration Tips
To be fair, when it comes to data consistency especially on structured dbs in high load environments, all-SQL solutions are usually better than, say, client side scripts wrapped in transactions
agopaul··on Show HN: CoRM – Lightweight Contact Relationship Management with API Access
Maybe it is my impression, but is there too much text in the homepage in a few blocks? Less text = more likely to be read, IMO

Plus, like someone said, more screenshots or a video would be more explanatory

agopaul··on Dropbox accesses all the files in your PC?
I thought the same thing: maybe eventually desktop OSes will have some sort of permission control like on mobile
agopaul··on Dropbox accesses all the files in your PC?
You say solid, but I don't see any proof that the client actually send the file. Without something like a strace analysis, you can't really know for sure if the file was even read completely and sent to the Dropbox servers
agopaul··on RPC over AMQP
This. Maybe one of the top reason to use queues and ESBs
agopaul··on MySQL locking for the busy web developer
This is interesting.

I think developers should be more aware of how the DBMS works under the hood.

Edit: In my case, I still use row-level lock when implementing the state machine pattern on a model. It enforces the application-level-consistency of the model state, preventing double updates in case of high concurrency, in which the second (concurrent) update would break the application logic.

agopaul··on MySQL locking for the busy web developer
Row-level locks are really sweet in case you have to handle multiple row/tables update/insert in the same transaction, in order to keep the db consistent even under sustained concurrency. But, dead locks really strike you if you don't use them carefully. I wonder if dead locks are easyer to prevent in Postgres
agopaul··on Resque Bus
How do you handle exceptions and errors who would require a rework of the job?

That is interesting, I was looking for something similar to an EBS for PHP time ago, but eventually I wrote myself an ad hoc solution which uses MySQL (and row locks) plus a gearman worker and cron.

agopaul··on Show HN: Rails-Inspired PHP Framework
+1

Plus, please use docblocks and document methods and classes.

Given there are some good PHP framework out there already, I would focus on something really new, something missing on the market. Personally, I'm putting down some concepts of a light PHP framework for Mongrel 2

agopaul··on Show HN: Crawling car dealerships for a real time consumer search engine
Funny, I made something very similar when I was looking to change my car 2 years ago or so, but did't open sourced it. The UI was awful, but it had email notifications when a search query matched
agopaul··on Linode vs. DigitalOcean – performance benchmarks
"but I automatically wonder what kind of hardware I will be on" that is actually a good point. Is the underling hardware server grade?

You can easily achieve good performance on some common desktop hardware (or some cheap home-built server) and some SSDs, but obviously, no one would host nothing more than a personal blog on it

agopaul··on First mega.co.nz indexer and search engine
None of these are scapped i suppose. It's all user submitted stuff
agopaul··on First mega.co.nz indexer and search engine
Encryption is only a legal defense for Mega and their partners, but i'm really waiting to see how the Dotcom campain will change after the first bust
agopaul··on Ask PG: Why don’t you open source HN?
There are plenty on iOS Apps for that, like: https://itunes.apple.com/us/app/hackernode/id473882597?mt=8
agopaul··on On logic in a Rails app
Well, basically this is the approach of Application Service pattern, isn't it?
← PreviousPage 6 of 6