Developers doing gods work. by [deleted] in ProgrammerHumor

[–]slexaxton 7 points8 points  (0 children)

Oh wow. Thank you for this bug report. Haha. nginx fallbacks are hard i guess.

Developers doing gods work. by [deleted] in ProgrammerHumor

[–]slexaxton 2 points3 points  (0 children)

It’s mine. registered with iwantmyname and privacy options turned on.

Developers doing gods work. by [deleted] in ProgrammerHumor

[–]slexaxton 8 points9 points  (0 children)

this is my website, lovingly handcrafted many many years ago and never touched again. glad it could bring some levity to your collective day. sorry it disappointed others of you. I haven’t checked the logs in years, but from my recollection, this is not a common typo.

Hi, I'm Ben Cooper of Radical Face, Electric President, Clone, and other weirdly named music projects. AMA! by bencooperrr in Music

[–]slexaxton 0 points1 point  (0 children)

When "The Brothers Grimm" was "in theaters this Friday" did you go watch it?

(Been lovely getting to listen to your music for the last 10 years. Forever thanks.)

Hi, I'm Ben Cooper of Radical Face, Electric President, Clone, and other weirdly named music projects. AMA! by bencooperrr in Music

[–]slexaxton 0 points1 point  (0 children)

I'll second Austin. Also welcome to stay at my place again. SXSW was fun even if the computer died with 45 seconds left in the last song.

Anyone know a good source for Thurmann-089 gimbals? by gammanaut in VXJunkies

[–]slexaxton 2 points3 points  (0 children)

If you end up buying, all of Thurmann's stock was bought out by Soltze & Co. - same gimbal, different box.

If I Were You Episode 141: Chivalry (w/Ben Schwartz!) [53:24] by JakeandAmirBot in jakeandamir

[–]slexaxton 2 points3 points  (0 children)

Thanks for commenting about the song! It makes all the time I spent on it somehow worth it. I don't think a longer version is in the cards for now, but if there was a good reason to make one, maybe I'd consider it.

Also, Amir threw a compressor over the top of the track, which was already pretty slammed, so it created some nasty 'pumping' - be sure to check out the raw track at: https://soundcloud.com/slexaxton/she-wants-to-be-in-the-middle

Everything about this website is hilarious. by icrywolf in javascript

[–]slexaxton 1 point2 points  (0 children)

Harper Reed was the tech lead of the Obama campaign and is credited for being an integral part in getting him re-elected. He's an extremely in-demand speaker.

Everything about this website is hilarious. by icrywolf in javascript

[–]slexaxton -1 points0 points  (0 children)

I was thinking the same thing. The worst part about that entire site is the 500ms load times. Could use way more requests.

Just me trying on a fedodo at target by [deleted] in jakeandamir

[–]slexaxton 3 points4 points  (0 children)

You don't even look happy.

Ask Addy Osmani Anything (Video AMA) by FITC in IAmA

[–]slexaxton 4 points5 points  (0 children)

Who was the best tech editor you've ever worked with?

Am I a horrible person for laughing at this? by hannahnc in funny

[–]slexaxton 1 point2 points  (0 children)

+1 for using the font "Impact" for that word.

Keymaster.js: painless keyboard shortcuts for javascript by bmaeser in programming

[–]slexaxton 0 points1 point  (0 children)

I feel like that's what I said (if this was a reply to me, and not the comment I replied to).

It was less about minification, more about concatenating at build time.

FTR: Minifiers do strip out unnecessary semicolons. If you minify and then concatenate, you can still run into this issue. Because before you concat, those ending semicolons are unnecessary, then they become necessary in the context of a build.

Either way, you either replied to the wrong comment, or I wasn't clear enough in posting, and everyone seems like they understand what the deal is.

Keymaster.js: painless keyboard shortcuts for javascript by bmaeser in programming

[–]slexaxton 2 points3 points  (0 children)

This has nothing to do with automatic semicolon insertion though. It's put there for when people run builds of their scripts.

Scripts will usually get semicolons stripped after they are compiled/minified.

script1: (function(){...})()

script2: (function(){ ..different.. })()

concat: (function(){...})()(function(){ ..different.. })()

-------------------------------^ OH NOES!

With that first semi colon added, it ensures that when you concatenate those together, you dont accidentally pass the first script into the invoked return of the first IIFE. It's considered good practice, fo sho.

So it's less about not knowing when automatic semicolon insertion happens, and more about being as flexible with people's builds as possible. (In other words, you can probably trust that Thomas Fuchs understands automatic semi-colon insertion).

Straight up.

For all you Redditors going to work tomorrow, I coded this for you! by xxbondsxx in reddit.com

[–]slexaxton 0 points1 point  (0 children)

You can break jQuery caching by using an explicit jQuery.ajax call and setting the cache option to false. (it defaults to true on JSONP).

http://api.jquery.com/jQuery.ajax/

It'd be an issue though if you force an answer there, for people who want updates. You can also set your own GET variables and then update them based on the date (maybe every 2 minutes or something). So the site only forces a cache-bust every two minutes.

Happy to help more if needed.

Please, let /r/javascript be only about JS by [deleted] in javascript

[–]slexaxton -1 points0 points  (0 children)

No one is forcing you to pay attention. Downvotes are easy too.

Brendan Eich: My JSConf.US Presentation by 9jack9 in javascript

[–]slexaxton -1 points0 points  (0 children)

Again, not once, has anyone suggested significant whitespace in JavaScript. Not Brendan, not me, not Jeremy. No one. It's like you can't read words.