News for hackers. Stuff that matters.

sghael

Re:Bad numbers in the “gzip beats BERT” paper? on Wednesday July 19, 2023 @05:26PM (#36793668)
The convention should be to use 1337 as your seed, and disclose that in your publication.
Re:Ask HN: Who is hiring? (September 2016) on Thursday September 01, 2016 @11:30AM (#12406037)
Localytics | Boston | Front End, iOS, Android | ONSITE Localytics provides a mobile engagement platform for many of the world’s top app publishers including ESPN, Grindr, Periscope, and HBO. Our customers rely on us to keep their mobile users happy and engaged. We provide tools to drive great app experiences including push messaging, mobile analytics, predictive analytics, and individualized in-app experiences.

We are hiring front end engineers! We have a modern front end stack (ES6, React, Redux, Webpack) and a history of front end thought leadership and open source contributions.

We are also hiring mobile engineers with a focus on Android and iOS development. We build tools for our fellow mobile developers and write code that is deployed on billions of devices around the world.

To apply or learn more about either opportunity send an email to [email protected] Check out our engineering blog: eng.localytics.com

Re:Goodfilms Goes Mobile on Thursday August 09, 2012 @08:09AM (#4360606)
Also looking forward to the technical writeup.

Not sure if it's just me, but when touching the menu controller on the top left, the dom slide over to reveal... nothing. Also, general weirdness using the gear button to change selection between all/enqueues only/ratings only/reviews only. Selecting something other than all does nothing and doesn't persist.

I'm on Android 2.3.3. My Touch 4g slide. Stock browser.

Re:Why Instagram is so fast at uploading photos on Tuesday May 01, 2012 @02:18PM (#3915689)
The photo isn't store in a database. It's stored on S3. They are not backing up S3, so this concern is misplaced.
Re:Another EC2 outage (yet AWS dashboard says no error) on Thursday March 15, 2012 @08:31AM (#3708088)
Could you give a little more detail on your setup? I'm curious how others are designing around these issues.
We're using C2DM at Ravid (http://getravid.com).

In fact, we open sourced our C2DM Ruby Gem: https://github.com/sghael/speedy_c2dm

Re:Show HN: Ravid Video Messenger (because MMS is terrible) on Wednesday August 24, 2011 @11:04AM (#2920957)
This is Sandeep (co-founder of Ravid). My co-founder (keithba) and I found that sending private, asynchronous video messages on mobile devices is way more difficult than it should be. We created Ravid to solve this problem.

Note: US-only for now & requires a phone (so no tablets.)

The stack & tools:

  * Rails 3 (MRI) for our API servers.  
  * Worker nodes running Sinatra (JRuby) w/ Resque
  * Monit for monitoring services / Fabric for quick provisioning
  * The Android client is typical Java (using IntelliJ)
  * iPhone development w/ Monotouch! 
  * S3 for storage, and our public website using Jekyll
  * C2DM message delivery (our Gem: https://github.com/sghael/speedy_c2dm)
Lessons learned so far:

- Fragmentation on Android is a b. Especially when dealing with hardware stuff like cameras, expect to do a lot of device specific coding. Front-facing cameras are a perfect example. Gingerbread solves these problems in theory, but not in practice.

- Uploading video files over mobile connection is non-trivial (duh) - We've put a lot of work towards reliable and efficient uploads and downloads (intelligent packetization, retry logic, etc). We solve for the "elevator scenario". User sends a message, but steps into an elevator half way through delivery. Aside from Gmail, most mobile apps suck at this.

- On the positive side, 4G+ speeds are really impressive.

- Creating a portrait oriented camera application for Android is way harder than it should be (really poor API implementation around camera rotations). Contrast to iOS where it's super easy.

- UX matters - A friction-free UX required a lot of work. We had many alpha testers (both family and friends & paid services like usertesting.com/mobile) that helped us find the sticking points.

We'd love your feedback on anything!

Re:Monroe or Einstein? Instant eyesight check. on Tuesday July 26, 2011 @10:06AM (#2807355)
Images are just signals as a function of 2D space. So you can use the 2d FFT: http://fourier.eng.hmc.edu/e101/lectures/Image_Processing/no...

Another idea to grok: a checkerboard pattern image where every other pixel row and column are alternating full black and full white represents the "highest frequency" image possible at that sample rate (pixel density). This is the 2d equivalent of an alternating sinusoid +1,-1,+1,-1, etc

Re:Lightsquared network causing GPS interference. on Friday June 10, 2011 @08:42AM (#2640621)
That seems like a non-sequitur. Based on the article, LightSquare isn't an application of GPS. It's a wireless broadband network that just (unfortunately) happens to f with GPS signals.

Ask HN: How to mitigate DNS provider issues?

I had several sites become inaccessible yesterday due to the DDOS on Namecheap's DNS servers: http://status.namecheap.com/?p=3739Everything appears to be back to normal for us right now, but this has definitely rattled us a bit. We've never had problems with Namecheap before. Admittedly, DNS / Nameserver routing is not something I have a lot of expertise in. Like many developers/ dev ops...

( Read More... | 8 comments | 4 points | on HN )
Re:Rackspace cloud beats Amazon EC2, by a lot on Friday April 15, 2011 @04:26AM (#2449843)
Redundancy is insurance. By the nature of being there it's taken advantage of
wow, extremely slick. Are you using any specific UI/design framework to tools to create such a polished look/feel? Or totally coded from scratch?
Re:How to construct a web developer in twelve months on Wednesday March 16, 2011 @12:54PM (#2332778)
actually 9 mom months. so 1 month with 9 moms working on it.
Re:How to construct a web developer in twelve months on Wednesday March 16, 2011 @12:49PM (#2332752)
This is the first thing i thought as well. Build should be #1. The reading you do should directly support your building (finding help on HN or SO that help you solve the specific problem/bug at hand)
Re:Want to move fast? Just do this on Saturday March 12, 2011 @08:53PM (#2318055)
back now.
Re:Want to move fast? Just do this on Saturday March 12, 2011 @04:53PM (#2317594)
Sorry the server is on fire right now... got a tweet from smashing magazine. Working to bring it back up.
Re:Want to move fast? Just do this on Friday March 11, 2011 @07:22PM (#2315515)
Great catch. Although, in my defense I'm always looking to save time so I just used out of the box settings on the wordpress "Platform" theme. If you're starting from scratch on your own site, dont make this mistake :)
Re:Weekend deployments are for chumps on Tuesday March 08, 2011 @10:44AM (#2301252)
I agree. My other thought was 'isn't there a staging server in there somewhere?' Something that is near identical to production, with fake production data, etc, that could surface the problem before a customer sees it.

btw, props to Fog Creek and OP for airing their dirty laundry. They take some heat, but in the end we all learn from it.

Re:Best practices for JS and CSS organization on Monday March 07, 2011 @04:24PM (#2298757)
this is an interesting point (I've up-voted you).

But my gut feeling is that it doesn't matter. While I don't have any experimental data, I have to imagine this rendering penalty is in the noise of page/site performance. Asset packaging, gzip, using front end static server, etc are probably orders of magnitude more important for page rending speed than DOM traversal of CSS selectors.

Re:Show HN: Phoneify - 20 hours with Rails 3 & Twilio on Saturday March 05, 2011 @09:53AM (#2291547)
I think its a better user experience to always show the number on a screen. Otherwise the user has to listen to the computerized voice recite the passcode, and they have to memorize it before punching it in.

This way, temporary memorization of passcode is avoided in both cases. The passcode is always rendered to pixels (computer screen or phone screen).

Re:Show HN: Phoneify - 20 hours with Rails 3 & Twilio on Saturday March 05, 2011 @09:44AM (#2291526)
I'll soon be running on multiple (2 min) servers in different locations, for availability. Will probably stick to Linode. I use Webmin to monitor all processes and get realtime alerts if something amiss occurs.

Performance wise, there aren't many bottlenecks right now. Switching in Resque for my job queue (replacing Delayed Job) will make everything a little faster. If the queue ever starts to get large, I can quickly fire up another server as a dedicated worker.

I am leveraging AWS Cloudfront as a CDN for the widget JS, so the widget will load super fast for everyone. I offload all static assets when I can. Google CDN for JQuery.

The only immediate point of concern is the real-time API. That will soon have some throttling/limits on it to prevent abuse. I highly prefer people use the Post-back method to get notified of verifications (push is always better than poll).

As for proving reliability, I'm thinking of putting up public Pingdom reports for transparency.

Re:Show HN: Phoneify - 20 hours with Rails 3 & Twilio on Friday March 04, 2011 @10:10PM (#2290725)
Phone numbers are less disposable than email addresses (generally speaking), and thus you are less likely to have fraudulent/shady transactions occur on your site if the user is phone verified.

This may not be super important if all you want to do is prevent lowly Forum spam (ReCaptcha may be all you need in this case). But phone verification can be particularly useful when the cost of fraudulent transaction is high (like user purchasing goods on your site with a stolen credit card, etc).

As an aside, I saw Amazon and Craigslist now use phone verification for more critical parts of workflow. Which inspired me to build Phoneify as a JS widget than anyone could use.

Older »