<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Disqus - Latest Comments for onyxraven</title><link>http://disqus.com/by/onyxraven/</link><description></description><atom:link href="http://disqus.com/onyxraven/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 08 Jul 2015 14:55:42 -0000</lastBuildDate><item><title>Re: An APNs Debugging Story</title><link>https://thelig.ht/apns/#comment-2124607073</link><description>&lt;p&gt;Thanks for this story.  I've been in the same boat, only with a ruby client. Seeing other implementations just ignore errors, I couldn't just leave it alone, and was getting pretty close to doing almost exactly what you did.&lt;/p&gt;&lt;p&gt;Apple's implementation of the APNS endpoint is esoteric at its clearest, so I'm not surprised that sometimes it just doesn't do what it says it should.&lt;/p&gt;&lt;p&gt;Note, my error tends to be in a longer stream of pushes, some invalid tokens will hit the right error response, some will just end the connection like this.  It is definitely somehow tied to sandbox/adhoc vs production tokens.&lt;/p&gt;&lt;p&gt;So, again, thanks&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Justin Hart</dc:creator><pubDate>Wed, 08 Jul 2015 14:55:42 -0000</pubDate></item><item><title>Re: Stop Validating Email Addresses With Your Complex Regex</title><link>https://disqus.com/home/discussion/davidcelis/stop_validating_email_addresses_with_your_complex_regex/#comment-642515262</link><description>&lt;p&gt;I'm partial to /\w.*@.*\w.*\..*\w/  -- ensure theres one alnum_ before the @, one alnum_ after, and a dot followed by another alnum_ - should take care of ip addresses, missing suffixes, etc, at a high level.  The only 'real' validation is attempting to send the mail and getting some sort of validation back (tracking pixel, clickback, whatever)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Justin Hart</dc:creator><pubDate>Thu, 06 Sep 2012 19:02:35 -0000</pubDate></item><item><title>Re: Better HTTP Request/Response in PHP - @TheKeyboard</title><link>http://www.littlehart.net/atthekeyboard/2012/12/12/better-http-request-response-in-php/#comment-386526416</link><description>&lt;p&gt;IMO you ~should~ always look at the request method as given in the HTTP headers by your container (apache, fpm, the magical 5.4 server, etc) if you're trying to put behavior on that.  &lt;/p&gt;&lt;p&gt;$_GET and $_POST are technically able to live together in the same request - if a POST has a multipart or urlencoded body, those body params end up in $_POST, but querystring parameters end up in $_GET.  &lt;/p&gt;&lt;p&gt;Separate the handling of the HTTP method from the source of parameters.  $_GET just happens to be the parameters encoded in the querystring, $_POST happens to be the body parameters in either urlencoded or multipart encoded, and php://input or $HTTP_RAW_POST_DATA (which is kinda useless since you have to turn it on in INI) are the request body plain.&lt;/p&gt;&lt;p&gt;the PECL extension does seem to 'help' in encapsulating the parameters, but you're right, it should do more with an integration with the input filter, etc.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Justin Hart</dc:creator><pubDate>Wed, 14 Dec 2011 11:37:06 -0000</pubDate></item><item><title>Re: Apps of the Day [5/19]: SnapBucket, Grow, and More!</title><link>http://phandroid.com/2011/05/19/apps-of-the-day-519-snapbucket-grow-and-more/#comment-207483606</link><description>&lt;p&gt; Yup, Photobucket has a great app for Android that does album uploading, browsing, the whole bit.  It will even do automatic uploads from the system album if you so wish!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Justin Hart</dc:creator><pubDate>Fri, 20 May 2011 00:35:05 -0000</pubDate></item><item><title>Re: Did iOS 4.1 introduce in-car USB playback problems for you?</title><link>http://www.engadget.com/2010/09/14/did-ios-4-1-introduce-in-car-usb-playback-problems-for-you/#comment-77807737</link><description>&lt;p&gt;The random disconnects are really aggrivating.  It feels like the Bluetooth Audio and the USB audio fighting eachother.  My deck is a Sony Xplode somethingorother, and it sends an iPod Play command on hookup - which inevitably plays something I dont want to listen to every time i hook it up.   To fix a disconnect, I have to unplug and plug it in, then Pandora and the iPod fight over who gets to start playing. arg.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Justin Hart</dc:creator><pubDate>Wed, 15 Sep 2010 12:19:57 -0000</pubDate></item><item><title>Re: Case study in extending RSS. (Scripting News)</title><link>http://www.scripting.com/stories/2010/02/01/caseStudyInExtendingRss.html#comment-32314107</link><description>&lt;p&gt;If you had to use a already existing namespace extension, you could use some of the other attributes in mediarss if needed.  a media:category for gravatar could easily be set up and you could evaluate which media:content elements have that category based on the mediarss inheritance rules.&lt;/p&gt;&lt;p&gt;But, for existing stuff?  you're a bit stuck.  :-/.&lt;/p&gt;&lt;p&gt;MediaRSS is a great format, and is used by a lot more than just flickr.  all of Photobucket's public albums are available by mediarss-extended feeds.  Twitgoo too.  The 1.5 version has a great lot of stuff to enable really interesting uses too.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Justin Hart</dc:creator><pubDate>Mon, 01 Feb 2010 14:43:14 -0000</pubDate></item><item><title>Re: Post Pics to Twitter, Facebook and MySpace All at Once With yfrog</title><link>http://mashable.com/2010/01/25/yfrog-facebook-twitter-myspace/#comment-31292595</link><description>&lt;p&gt;Twitgoo has done this for months now: once you log in to twitter you can set up your Facebook, Myspace and Yahoo profile accounts, and your future uploads from any app go to everything you have set up.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Justin Hart</dc:creator><pubDate>Mon, 25 Jan 2010 15:53:33 -0000</pubDate></item><item><title>Re: MSNBC Buys BreakingNews.com to Complement @BreakingNews</title><link>http://mashable.com/2010/01/05/msnbc-breaking-news-2/#comment-28338406</link><description>&lt;p&gt;Thats a VERY misleading headline you have there.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Justin Hart</dc:creator><pubDate>Tue, 05 Jan 2010 09:59:36 -0000</pubDate></item><item><title>Re: LUNCHTIME POLL: What&amp;#8217;s Your Favorite Twitter Photo Sharing Service?</title><link>http://mashable.com/2009/11/06/twitter-photo-sharing/#comment-22064698</link><description>&lt;p&gt;Twitgoo!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Justin Hart</dc:creator><pubDate>Fri, 06 Nov 2009 17:09:15 -0000</pubDate></item><item><title>Re: Innovating outside the 140 (Scripting News)</title><link>http://www.scripting.com/stories/2009/10/20/innovatingOutsideThe140.html#comment-20699106</link><description>&lt;p&gt;Twitter can't keep their site up passing around 140 chars at a time, I have a feeling deep payloads are out of their grasp at this point.  I think if you're going to try to plant your flag on a twitter-based 'fork' solution, there is a lot of opportunity to make more seamless solution - really, Twitgoo, Twitpic, even the url shortners, etc, are partway there - giving a unique identifier to something that could be that resource fork.  Its just a matter of filling out those APIs and getting apps on board to connect the pieces.  Currently, the experience even degrades well for apps that dont fully hook up the pieces, its just a link.  Its more like the POSIX toolchain instead of the Windows registry.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Justin Hart</dc:creator><pubDate>Wed, 21 Oct 2009 10:08:04 -0000</pubDate></item><item><title>Re: Why Flickr should do Realtime RSS (Scripting News)</title><link>http://www.scripting.com/stories/2009/10/01/whyFlickrShouldDoRealtimeR.html#comment-18288004</link><description>&lt;p&gt;I've been wanting to do this for Photobucket for a while - its a scaling issue for us, but we've got a few things in the pipes that may make it easier.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Justin Hart</dc:creator><pubDate>Fri, 02 Oct 2009 10:20:51 -0000</pubDate></item><item><title>Re: Posting to twitpic and posterous? (Scripting News)</title><link>http://www.scripting.com/stories/2009/05/01/postingToTwitpicAndPostero.html#comment-8930208</link><description>&lt;p&gt;You can use Twitgoo with the same API as Twitpic/posterous, etc.  Its a great extra alternative!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Justin Hart</dc:creator><pubDate>Sat, 02 May 2009 11:00:45 -0000</pubDate></item><item><title>Re: I get ideas when I ski (Scripting News)</title><link>http://www.scripting.com/stories/2009/03/25/iGetIdeasWhenISki.html#comment-7502754</link><description>&lt;p&gt;I've taken to recording my thoughts when skiing or taking a drive over 30 minutes somewhere.  My brain seems to quickly go into ideamode, though I tend to forget them once i'm done with my activity.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Justin Hart</dc:creator><pubDate>Wed, 25 Mar 2009 16:24:08 -0000</pubDate></item><item><title>Re: tinyarro.ws (Scripting News)</title><link>http://www.scripting.com/stories/2009/03/11/tinyarrows.html#comment-7149724</link><description>&lt;p&gt;Its fun because you can pick a neat looking icon.  I've had 3 people already complain that my url was 'mangled' though - either because their app didnt support the code, or when they copy-pasted, or 'copy link''d the thing, they didnt recognize it at all..&lt;/p&gt;&lt;p&gt;so fun toy, but confusing to users who arent on i18n standards supporting software.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Justin Hart</dc:creator><pubDate>Thu, 12 Mar 2009 15:05:39 -0000</pubDate></item><item><title>Re: Another day banging my head against OAuth (Scripting News)</title><link>http://www.scripting.com/stories/2009/02/14/anotherDayBangingMyHeadAga.html#comment-6265261</link><description>&lt;p&gt;Photobucket?  :-)&lt;/p&gt;&lt;p&gt;An 'ok' reference version of an OAuth client is the javascript library on the &lt;a href="http://oauth.net" rel="nofollow noopener" target="_blank" title="oauth.net"&gt;oauth.net&lt;/a&gt; code site, though it doesnt do the base64 '= append' which OAuth expects.  I like to say that my php library is too - and gives good debug just by inspecting the core PBAPI object (Linked it in a previous post).&lt;/p&gt;&lt;p&gt;I dont have an OAuth key from twitter to test my library against, though.  :-(&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Justin Hart</dc:creator><pubDate>Sat, 14 Feb 2009 17:47:12 -0000</pubDate></item><item><title>Re: OAuth hail mary quick code clinic and plea for help (Scripting News)</title><link>http://www.scripting.com/stories/2009/02/12/oauthHailMaryQuickCodeClin.html#comment-6215510</link><description>&lt;p&gt;Thats one of those 'debatable' parameters - like Photobucket's API doesnt need it, but some expect it.  &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Justin Hart</dc:creator><pubDate>Thu, 12 Feb 2009 15:57:13 -0000</pubDate></item><item><title>Re: OAuth hail mary quick code clinic and plea for help (Scripting News)</title><link>http://www.scripting.com/stories/2009/02/12/oauthHailMaryQuickCodeClin.html#comment-6213973</link><description>&lt;p&gt;:-) thanks.  let me know if you need any other help - twitter me at @onyxraven&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Justin Hart</dc:creator><pubDate>Thu, 12 Feb 2009 14:58:46 -0000</pubDate></item><item><title>Re: OAuth hail mary quick code clinic and plea for help (Scripting News)</title><link>http://www.scripting.com/stories/2009/02/12/oauthHailMaryQuickCodeClin.html#comment-6210304</link><description>&lt;p&gt;I hate to toot my own horn, but, well, I'll do it anyway.&lt;/p&gt;&lt;p&gt;&lt;a href="http://code.google.com/p/photobucket-api-php5/" rel="nofollow noopener" target="_blank" title="http://code.google.com/p/photobucket-api-php5/"&gt;http://code.google.com/p/ph...&lt;/a&gt; - the OAuth package there is independent, and tries to follow the standard relatively well.  I've not done a huge amount of testing against other OAuth endpoints, but it seems to be doing all the right things.  I'd love to see if it has problems against something other than Photobucket.&lt;/p&gt;&lt;p&gt;&lt;a href="http://code.google.com/p/oauth-php/" rel="nofollow noopener" target="_blank" title="http://code.google.com/p/oauth-php/"&gt;http://code.google.com/p/oa...&lt;/a&gt; is a community version of an OAuth client.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Justin Hart</dc:creator><pubDate>Thu, 12 Feb 2009 12:29:18 -0000</pubDate></item><item><title>Re: OAuth hail mary quick code clinic and plea for help (Scripting News)</title><link>http://www.scripting.com/stories/2009/02/12/oauthHailMaryQuickCodeClin.html#comment-6210155</link><description>&lt;p&gt;UX is an implementation issue - and yeah, there are some holes - but at some point you have to trust the givens - its just at what level do you do that?  OAuth sort of starts to provide that gateway of trust where you are trying to make sure your user knows where they're signing in.&lt;/p&gt;&lt;p&gt;Also, for mobile devices, take a look at how Netflix is doing their device authorizations.  That's OAuth at work.  Chris Messina, et all, of the OAuth community are trying to work up better UX guidelines.  Its still a 'young' standard.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Justin Hart</dc:creator><pubDate>Thu, 12 Feb 2009 12:23:11 -0000</pubDate></item><item><title>Re: OAuth hail mary quick code clinic and plea for help (Scripting News)</title><link>http://www.scripting.com/stories/2009/02/12/oauthHailMaryQuickCodeClin.html#comment-6210070</link><description>&lt;p&gt;Heh, a nice side effect of having a popular blog, you can get help when you need it!  I'll write something on my blog, and its one reader wont respond.  &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Justin Hart</dc:creator><pubDate>Thu, 12 Feb 2009 12:19:29 -0000</pubDate></item><item><title>Re: OAuth hail mary quick code clinic and plea for help (Scripting News)</title><link>http://www.scripting.com/stories/2009/02/12/oauthHailMaryQuickCodeClin.html#comment-6209566</link><description>&lt;p&gt;(btw, I did obfuscate my consumer key in the above - if you need a full sbs/request with working signature, I can send it privately.)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Justin Hart</dc:creator><pubDate>Thu, 12 Feb 2009 12:04:35 -0000</pubDate></item><item><title>Re: OAuth hail mary quick code clinic and plea for help (Scripting News)</title><link>http://www.scripting.com/stories/2009/02/12/oauthHailMaryQuickCodeClin.html#comment-6209507</link><description>&lt;p&gt;Yeah - the OAuth system was based on many of the Flickr design things, then generalized.&lt;/p&gt;&lt;p&gt;The language is somewhat unfamilliar to me, but I'll try here.&lt;/p&gt;&lt;p&gt; - does case matter for variable names (consumerkey in getrequest token)?&lt;br&gt; - all parameters in the SBS (base string) need to be in ascii-alphabetic order by key&lt;br&gt; - the entire params part of the SBS is urlencoded&lt;br&gt; - depending on the httpclient library, you may need to pre-encode the oauth_signature part of the request (make sure + is still +, not space)&lt;br&gt;Example SBS against Photobucket's API: (you can get a key at &lt;a href="http://developer.photobucket.com" rel="nofollow noopener" target="_blank" title="http://developer.photobucket.com"&gt;http://developer.photobucke...&lt;/a&gt;)&lt;/p&gt;&lt;p&gt;SBS: GET&amp;amp;http%3A%2F%&lt;a href="http://2Fapi.photobucket.com" rel="nofollow noopener" target="_blank" title="2Fapi.photobucket.com"&gt;2Fapi.photobucket.com&lt;/a&gt;%2Fping&amp;amp;format%3Dxml%26oauth_consumer_key%3D12345678%26oauth_nonce%3D14916831e029b262eefcf293142314aa%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1234457923%26oauth_version%3D1.0&lt;/p&gt;&lt;p&gt;Request URL: &lt;a href="http://api.photobucket.com/ping?format=xml&amp;amp;oauth_consumer_key=12345678&amp;amp;oauth_nonce=14916831e029b262eefcf293142314aa&amp;amp;oauth_signature=c9R1cXt4MzAVK2rrBjv2tfCE4ko%3D&amp;amp;oauth_signature_method=HMAC-SHA1&amp;amp;oauth_timestamp=1234457923&amp;amp;oauth_version=1.0" rel="nofollow noopener" target="_blank" title="http://api.photobucket.com/ping?format=xml&amp;amp;oauth_consumer_key=12345678&amp;amp;oauth_nonce=14916831e029b262eefcf293142314aa&amp;amp;oauth_signature=c9R1cXt4MzAVK2rrBjv2tfCE4ko%3D&amp;amp;oauth_signature_method=HMAC-SHA1&amp;amp;oauth_timestamp=1234457923&amp;amp;oauth_version=1.0"&gt;http://api.photobucket.com/...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Justin Hart</dc:creator><pubDate>Thu, 12 Feb 2009 12:02:09 -0000</pubDate></item><item><title>Re: Measuring Feedburner's latency (Scripting News)</title><link>http://www.scripting.com/stories/2009/01/08/measuringFeedburnersLatenc.html#comment-4998614</link><description>&lt;p&gt;Ok - blame me for not RTFA and noticing you posted the links to the feeds.  ;-)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Justin Hart</dc:creator><pubDate>Thu, 08 Jan 2009 17:50:01 -0000</pubDate></item><item><title>Re: Measuring Feedburner's latency (Scripting News)</title><link>http://www.scripting.com/stories/2009/01/08/measuringFeedburnersLatenc.html#comment-4996061</link><description>&lt;p&gt;Dave, are you updating the guid, or just touching the same guid post over and over?  my guess is that they promote new guids faster than refreshing the content of the same guid&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Justin Hart</dc:creator><pubDate>Thu, 08 Jan 2009 16:29:46 -0000</pubDate></item><item><title>Re: Bootstrapping thumbnails for photo apps (Scripting News)</title><link>http://www.scripting.com/stories/2008/12/28/bootstrappingThumbnailsFor.html#comment-4731250</link><description>&lt;p&gt;err... realized obviously I just added extra attributes there... so some other format would need done, but you see what I intended.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Justin Hart</dc:creator><pubDate>Mon, 29 Dec 2008 16:08:26 -0000</pubDate></item></channel></rss>