HNHacker News
TopNewBestAskShowJobs

troyk

291 karma · joined October 27, 2009

sms & payments hacker
submissionscomments
troyk··on Rarely Used Postgres Datatypes
I don't know, I followed the thread and it didn't seem conclusive, esp with the main criticizer stating "OTOH, it's a neat example of a fixed precision integer type"

I use it a lot, and yes, it is missing some casts but you can cast to decimal and go from there:

select '42.00'::money::decimal;

I've also used stripe, and maybe it's a javascript thing, but they represent all their money in cents. Personally, I'd rather use the money type, it is easy for me to reason about.

troyk··on Rarely Used Postgres Datatypes
I think the money type is awesome! Under the hood it uses int (I believe int32 even on 64bit) so it takes 50% less space than decimal.

So if your only dealing with US currency, why not love the money type?

troyk··on How Steve Wozniak Wrote BASIC for the Original Apple From Scratch
Similar background, only got hooked on the commodore BBS scene... I'd ride my bmx bike holding a box of floppies to a friends to hack on, with the warm smell of manure rising up through the air. (Turlock)
troyk··on Stripe: Bitcoin Sign-up
I wish they would add ACH
troyk··on Stripe: Marketplaces
For connect as well? -- our users (via connect) have been tugging at us to replace Stripe with something that transfers sooner

edit: made into a question

troyk··on A Day of Communication at GitHub
do you have a link to Slack? Doesn't seem to ring any bells https://github.com/search?q=slack
troyk··on SMS Short codes – Broadcast your message in bulk
I have 2 short-codes through twilio and the 30-40% cheaper SMS rate grabbed my attention. I love twilio and never managed to get far when trying to figure out how to go direct to the carriers and get better pricing (and twilio was never interested in price negotiations, in fact I serve mostly non-profits and they wouldn't even give me their non-profit pricing). But with pricing pressure from plivo, maybe I can make some progress.
troyk··on Dear first world dev, I am going to live your nightmare
No doubt, I'm sure the IRS would love to know how he lives in NYC on $2k gross...
troyk··on Making ActiveRecord 2x faster
It appears the 2x speedup is from by-passing ActiveRecord::Relation
troyk··on Richard Lynch, an awesome PHP community guy and former colleague needs our help
Did both, I doubt one can have too many prayers, but we can probably agree he won't be needing excess money...
troyk··on CSS 'frameworks' are missing the point (2008)
I maintain a fork, sometimes a PITA but never a surprise!
troyk··on Quick tip for developers who use OS X
Very cool, does anyone know a way to set a visual indicator (diff cursor?) when in edit mode?
troyk··on The Right Stuff: Breaking the PageSpeed Barrier with Bootstrap
Thank you, I can't wait to try this...
troyk··on AngularJS 1.2.0: timely-delivery
I think it's a great idea as well. Would like to see jqLite come out as well and be a separate project. Then those using jquery don't pay for jqLite, and even beter, for a quick landing page I'd be inclined to use jqLite naked for a nice tiny footprint.
troyk··on Hstore development for 9.4 release
Even modest db work usually involves concurrency.

Mongo locks. Postgres rocks. [1]

1: http://www.postgresql.org/docs/current/static/mvcc-intro.htm...

troyk··on Postgres Notify for cache busting and more
We use node-postgres and this is not the case. I think node-postgres has one of the cleanest implementations of LISTEN due to nodejs event callbacks
troyk··on How I Got 5,000 GitHub Followers In Less Than 24 Hours
In my youth I did much worse than this, but github... There is a saying, don't shit where u sleep...
troyk··on Things that suck in AngularJS
No doubt, care to share how you feel about $scope inheritance?
troyk··on GoAngular - build realtime, collaborative apps with AngularJS and GoInstant
GoInstant is like firebase, realtime db in the cloud.

Not golang related as I can tell.

troyk··on Experian Sold Consumer Data to ID Theft Service
And they can sell what they call the "header" of your credit report without regulation (such as the FCRA). This info includes your name, address, ssn and dob. Or at least it did when I bought it in the 90's to build a service to find dead-beat dads. I've heard they are more restrictive on the SSN, but I also would bet that's the #1 data element for the ID thefters.
troyk··on Rapid schema development with PostgreSQL
It will overwrite, JSON type is basically a text field that enforces a valid JSON constraint
troyk··on “I wrote FAT on an airplane, for heaven's sake”
I'm old enough to know he didn't carry a computer on the plane....
troyk··on Node.js and the new web front-end
What's the big deal with getting bignum into js? Everything else I can agree with, but not having 64bit int support in a server side language has to hurt. (just look at most node db adapters and bigints are handled as strings)
troyk··on MongoDB Raises $150 Million at $1.2 Billion Valuation
The rethinkdb guys think it's important and have joins in their nosql product. Everytime I try nosql first thing I miss is the ability to query as the need arises without a refactor.
troyk··on AngularJS is amazing, and hard as hell
Thanks for mentioning Ractive (http://www.ractivejs.org/), first time I've seen it.

I'm wondering why you would prefer angular for a form-centric app?

I've used angular and rivets.js + backbone with success, my preference being angular but Ractive looks like a way to get awesome templating and databinding without committing the entire app to a single monolithic framework.

It also seems that server side rendering is more reachable with it's mustachy roots.

troyk··on A Billion Messages for Good: Twilio.org Launches for Nonprofits
Jeff, we use twilio for short codes and sell primarily to non-profits. This is awesome for those that want their own short codes, but I'd really like to pass a discounted rate to non-profits through!
troyk··on Twilio Announces MMS Support
We recently launched a product with a couple short codes with you guys. We intended "going direct" as volume and time permitted (we are not telecom nerds...)

My co-founder, hell bent on getting MMS as soon as possible lead the charge. We would meetings where I would repeatedly say "bullshit", and he'd say "no, really... it is the most fubar'd thing you've ever seen"

So a stoked response is an understatement, anyone that has looked into doing this knows you guys hit a homer and I'm looking forward to the wild ride of mobile comm and seeing how push, texting and all that play out. I think MMS available to developers en masse gives it a big push in the right direction and I'm beyond excited that our short codes are hosted with twilio!

troyk··on Send payouts with Stripe
Our customers are doing millions with ACH, most pricing of quality ACH providers is 0% + 25-40 cents and a $20/month service fee. So if the 1% was capped at $20, I could bring over a lot of business from low-risk non-profits.
troyk··on Send payouts with Stripe
Last time I checked they didn't do ACH, and were doing basically what stripe released today.
troyk··on Send payouts with Stripe
Free hugs and kisses from me when you guys roll it out (really gets my cofounder motivated, so thought I'd try it here!)
← PreviousPage 2 of 5Next →