Tag Archives: localstorage

ScotlandJS 2014 – day 1

(Trying to get back to the old good blogging-about-events routine)

So The Day finally came for ScotlandJS to start! Angelina Fabbro and me have spent the past week and a bit on holidays in Edinburgh, but Angelina has been rehearsing, and rehearsing, and rehearsing again for their keynote for the past days, so I got to hear it first before everyone else! Wow, do I feel privileged!!

I found Zeno Rocha and Joe Pettersson soon after getting my badge, which was cool because I have been collaborating with Zeno and some other cool people on web components stuff during the past months, but I had only seen their faces via videoconference, so it was nice to speak without The Awkward Hangout Experience i.e. when someone makes some accidental noise they get the focus even if they’re not actually speaking!

Keynote: “the truth about the impostor syndrome” by Angelina Fabbro

Even if I had listened to it so many times already, I still found it funny –specially the part about PHP as Pretty Hardcore Programming! Or what about the formula for measuring your worth as a programmer and as a person?

I’m also secretly proud that I collaborated on this keynote with this GIF that compiles Angelina’s best worst faces from their JSConf.US 2013 famous talk – JavaScript Masterclass.

I predicted there would be much cognitive dissonance at the audience, and I wasn’t wrong! So I’m glad it all went well. Somebody took notes. Here’s the slides.

“Help, I’m stuck in an event-loop” by Philip Roberts

This was a nice quick talk, I quite liked it! It never got boring and was also quite informative. Should be part of a hypothetical JS curriculum!

“A Humane Introduction to Functional Programming” by John Sutherland

Although the topic was interesting and started on a good track, it started to get monotone/tedious midway and plain confusing at the end. Like, I *think* I know what he wanted to address, only he didn’t quite do it, or left some lingering questions unaddressed up until almost the end, such as how much memory you can use when you start fibonnacing things up, i.e. getting into the functional side of things.

“ServiceWorker & the offline web” by Tom Ashworth

Tom did a good presentation although since I am kind of used to Jake Archibald’s flamboyant talks on this topic I felt this one was missing some more ***bells and whistles***. Or something like that!

“Let’s talk… mental health” by Amanda O’Connell

Amanda started by asking everyone in the room to stand up, and then asked people to sit down if they knew someone with depression, someone with a diagnosed mental illness, someone who had attempted suicide, etc… At the end there was only two people standing, and that’s “because there were only 15 minutes left”, as she was sure she could find out some mental illness that these two people would recognise, but the point was already proven: mental health should not taken for granted, and mental illnesses should not be stigmatised either.

However I think she lacked on a more concrete message and started digressing a bit, at which point I got distracted and couldn’t quite follow her, which makes me sad because I think this is such an important topic that is systematically ignored.

“Making math come alive with JavaScript” by Stian Veum Mollersen

I guess this talk was OK for an absolute beginner, but I personally found it too basic. That said, I can understand that people without an engineering background might find it useful to set out the concepts.

“Build Games with JavaScript and Phaser” by Gabe Hollombe

I was curious to see how games built with Phaser would look like – specially since they forked/based their animations engine on Tween.js, but I couldn’t make it to the entire talk because it was, again, too basic, and my brain kept getting distracted. Also, CoffeeScript? :-P

Lunch!?

So we had a look at the lunch tables and it was all bread-y stuff which we can’t eat because of dietary restrictions. BOO! Therefore we decided to head out of the venue and find somewhere to eat. We found Mikeal Rogers outside who was exactly attempting the same quest, so Angelina and me joined him on the look for an eatery that wouldn’t cover us in bread and carbs.

It was a great lunch. I hadn’t spoken to Mikeal in person before, so I kept quiet most of the time and listened, as many of the discussed topics were things I wasn’t entirely familiar with. Meanwhile, and what with the food being served and stuff, lunch took longer than we expected and I missed Joe Petterson’s talk again (I already missed his talk when he delivered it at LondonJS). I am sorry, Joe! I promise I’ll watch the video.

“A future called Web Components” by Zeno Rocha

Not that there wasn’t anything I hadn’t heard before, but I liked the delivery–effective but not too effectist! I missed the first minutes, but I got in time just as Zeno was enabling the “Show Shadow DOM” checkbox, which for some reason made me giggle. Shadow DOM is a constant source of jokes, I wonder if/when it will get old. Maybe when it’s finally implemented…

Break

The weather gave us a break. I had coffee outside with views to Arthur’s seat, which I hiked on Sunday (my calves still hurt a bit!).

“Foundations for Assemble” by Dave Kennedy

I will confess that I failed to pay much attention to this. I might not be the target audience for static site generators, I guess.

“Testing ginormous JavaScript apps” by Phil Leggetter

Here’s the thing: dinosaurs generally bore me (except when it’s Gecko). This talk was full of dinosaurs imagery (because it was about ginormous!!) and was discussing lessons learnt in 2009 if I remember correctly sooooo my brain was like: NOPE, NOT RELEVANT SORRY NOT LISTENING.

“Building a collaborative audio editor based on the Web Audio API” by Jan Monschke

I had ALL THE HOPES on this talk but I was a bit disappointed because it was too basic again :-(
Also, I think his audio editor implementation is not The Right Way To Do It, but I want to discuss this with Jan in person and assert whether my understanding is correct (or maybe it is a misunderstanding in fact). There was a bunch of people that showed up at the end of his talk and I didn’t want to wait for them to ask all the questions, so I left.

The aesthetics of the editor were quite nice though, and the thing was very smooth–no jank. So there’s promise, but there are also UX issues. Urgh, I’m starting to sound like an impostor. Perhaps I’m a fraud :-o

Stay tuned for tomorrow’s second (and last) day!

What have I been working on? (2014/01)

January is over, what have I done with it?

Well, to start with I’ve been working with the fantastic people from Firefox DevTools. We’re preparing a new feature for the App Manager and I’m really thrilled to be a part of this. I’m not going to disclose what it is yet until I have something to show (it’s my way to make you all download a Nightly build, tee hee), but I believe it’s going to be GREAT.

Then I’ve also been lending my brain to other projects. First, localForage, our library for storing data using the same interface from localStorage, but asynchronously and with better performance (by using IndexedDB or WebSQL if available). Or just falling back to localStorage otherwise (sad face, sad face).

The other project I’m involved with is chatspaces, “a snazzy chat app”. I’ve done some (yet unfinished) work with implementing push notifications using Simple Push, and I’m also working on outputting better GIFs (i.e. smaller but with same perceived quality). If you’re up for a slightly bumpy ride, you can try out chatspaces today.

“Generating better GIFs” means that I’m spending quite a bit of time in Animated_GIF, a library for creating animated GIFs in the browser. I implemented a couple of features like dithering and custom palettes past week and I’m pretty happy with the results you can get. I still have some more work to do before it’s a totally awesome library from README to code to examples, but it’s already used in somewhat popular places like chat.meatspac.es which you might have heard about ;-)

And I’ve also written an article for Mozilla Hacks. If you liked my previous article on unprefixed Web Audio code, I think you might like this one too. It should be published some time soon (fingers crossed).

There are more things that I’ve been doing this month like attending LNUG’s meetup, helping people with their Firefox OS apps, improving documentation for X-Tag, and finding+filing a bunch of bugs… all of which make me terribly happy as I feel like I’m making an impact. Yay! :-)