Julien Pag`es: RunSnakeRun – graphical visualisation of dumped python profiling data |
If you are a Python developer like me, you probably know the profile and cProfile modules that provides deterministic profiling of Python programs.
These modules are awesome – however, when it comes to analysing the data to improve your program, the provided pstats module is generally not powerful enough if you have quite a large codebase.
And here graphical tools comes in handy! I tried RunSnakeRun, and this is a really great program that allows you to analyse the profiling data under multiple angles (a nice view is by file), so you can find easily the bottlenecks and fix them.
RunSnakeRun helped me to improve the “mach help” command. It is a cross platform tool. Note that if you are on GNU/Linux and that you have the KDE desktop (or don’t mind to install the required KDE dependencies), KCacheGrind can be used with Python also.
|
Kaustav Das Modak: Tech Evangelism Workshop – Take 1 |
https://kaustavdm.in/2015/07/tech-evangelism-workshop-take-1.html
|
Mike Conley: The Joy of Coding (Ep. 20): Reviewin’ and Mystery Solvin’ |
After a two week hiatus, we’re back with Episode 20!
In this episode, I start off by demonstrating my new green screen1, and then dive right into reviewing some code to make the Lightweight Theme web installer work with e10s.
After that, I start investigating a mystery that my intern ran into a few days back, where for some reason, preloaded about:newtab pages were behaving really strangely when they were loaded in the content process. Strangely, as in, the pages wouldn’t do simple things, like reload when the user pressed the Reload button.
Something strange was afoot.
Do we solve the mystery? Do we figure out what’s going on? Do we find a solution? Tune in and find out!
Bug 653065 – Make the lightweight theme web installer ready for e10s
Bug 1181601 – Unable to receive messages from preloaded, remote newtab page – Notes
@mrrrgn hacks together a WebSocket server implementation in Go. To techno!
Although throughout the video, the lag between the audio and the video gets worse and worse – sorry about that. I’ll see what I can do to fix that for next time.
http://mikeconley.ca/blog/2015/07/11/the-joy-of-coding-ep-20-reviewin-and-mystery-solvin/
|
Mike Conley: The Joy of Coding (Ep. 19): Cleaning up a patch |
In this episode, I picked up a patch that another developer had been working on to try to drive it over the line. This was an interesting exercise in trying to take ownership and responsibility of something rather complex, in order to close a bug.
I also do some merging and conflict resolution with Mercurial in this episode.
Something else really cool happens during the latter half of this episode – I ask the audience for advice on how to clean up some state-machine transition logic in some code I was looking at. I was humming and hawing about different approaches, and put the question out to the folks watching: What would you do? And I got responses!
More than one person contacted me either in IRC or over email and gave me suggestions on how to clean things up. I thought this was awesome, and I integrated a number of their solutions into the patch that I eventually put up for review.
Thanks so much to those folks for watching and contributing!
Bug 1096550 – Dragging tab from one window to another on different displays zooms in – Notes
Bug 863514 – Electrolysis: Make gesture support work – Notes
http://mikeconley.ca/blog/2015/07/11/the-joy-of-coding-ep-19-cleaning-up-a-patch/
|
Emma Irwin: Participation is my co-pilot … in space! |
Whistler was an exciting and productive week for the Participation Team (which included volunteers). We learned a lot about ourselves, our team, the expectations of the project and perhaps most importantly – the Participation goals of nearly 30 teams at Mozilla.
The experience reinforced the value of volunteers and volunteer communities at large, magnified by the participation of contributors in nearly every session we ran. In every way, we immersed ourselves in radical participation: listening to outside experts, polling passersby and engaging in intense discussions on every angle of community’s impact on the past, present and future of Mozilla’s mission.
We turned up to lead sessions with some anxiety about our preparedness, about our goals and the expectations with such a large number of teams awaiting us, yet left feeling successful and intrigued. We watched our colleagues on the main stage share some early victories, and vision for the future – the optimism and excitement was palpable.
So proud to see our Marketpulse participation project on the main stage http://t.co/q6e3azK5pM#mozresearch#mozwww
— Emma Irwin (@sunnydeveloper) June 25, 2015
Overall the week was intense as, in addition to running sessions, we also worked on team vision for the future and the beginning of proposal for a Participation strategy at Mozilla. We look forward to sharing this soon.
On a personal note, one of the most powerful experiences for me was ‘heart’ in Chris Beard’s keynote (and I paraphrase) : that we have one life, and within the gift of each day is the opportunity to do something important. That we choose to spend cherished time helping Mozilla move it’s mission forward is very powerful. As parent of an childhood cancer survivor this philosophy also happens to also be my own. Truly understanding that every day is a gift, is a serious force in all choices I make for my career and in my life. I do choose to be here. It just felt very good to hear that recognition from Chris , with new realization this should be an extension of how we think about gratitude, empowerment and recognition to volunteers who turn donate the gift of their time – perhaps this can strengthen our trust in each other.
There was a lot of talk about ‘Space’ in Whistler – which I got. Being brave, being bold – being adventurous and making new things resonated. I could not ask to be part of a better, more compassionate, smart and creative team and extended community. I think with Participation as our co-pilot, Mozilla can most definitely get there.
|
Gervase Markham: Obvious In Hindsight |
Using the -z option to rsync is a dumb idea on a gigabit network.
THBAPSA.
http://feedproxy.google.com/~r/HackingForChrist/~3/JSJWdSxBmJo/
|
Nick Alexander: nalexander:community update, part the second |
Here’s some of the projects I’m currently offering that are seeing active progress.
Super-contributor /u/vivek has been working on all aspects of integrating Firefox Account profile avatar images into Fennec. This work is broadly tracked in Bug 1150964, and there are lots of pieces: network layer fetching; storage and caching; managing update broadcasts; and implementing UI. This project is the first OAuth-authenticated Firefox Account service in Fennec (our native Reading List implementation didn’t ship) and is likely to be the first WebChannel consumer in Fennec as well!
This project is extra special to me because Vivek came to me and asked (in his usual under-stated manner) if he could "do all the work" for this feature. Vivek and I had collaborated on a lot of tickets, but I had been hoping to work with a contributor on a project scoped larger than one or two tickets. This project is the first time that I have gotten to engage with a contributor on an ongoing basis. Where we talked about expectations (for both of us!) and timelines up front. Where I expect to turn maintainership of the code over to Vivek and he’s going to own it. And it is my sincere hope that Vivek will mentor new contributors to improve that code.
Contributor /u/ahmedkhalil has been chewing through tickets that simplify the handling of clients and tabs from other devices (as shown in Fennec’s Synced Tabs panel). This project isn’t as well tracked as some of the other ones I’m writing about today, partly because I didn’t set the scope on day one — Ahmed arrived at the tickets himself. And what a path! Ahmed and I started doing some build system tickets (if you use the new mach artifact command to Build Fennec frontend fast with mach artifact!, you’re using some of Ahmed’s AAR packaging code); and then we took a strange and ultimately unsuccessful trip into bookmark exporting; and then we did some other minor tickets. I fully expect Ahmed to push into the dark corners of the Fennec Sync implementation and refactor some of our oldest, least touched code in the clients engine. I got Ahmed into this with the lure of front-end user-visible Synced Tabs improvements and he may end up in the least user-visible part of the code base!
The Fennec Sync product is a "mature product", if by mature you mean that nobody modifies the code. However, the newly revitalized Sync team (bandleader: Chris Karlof) is leading a wide-ranging project to understand the Sync experience across Firefox products. This will be a qualitative and quantitative project, and I’m partnering with new contributor @aminban to collect quantitative metrics about Fennec Sync on Android. This work is broadly tracked at Bug 1180321. This is a very paralellizable project; most of the individual tickets are independent of each other. I’m hoping to work with Amin on a few tickets and then have him help mentor additional contributors to flesh out the rest of the work.
But I also have some projects in the hopper that need … a certain set of skills.
These are projects for front-end developers that require Java (and maybe JavaScript) skills.
These projects might not end up in the Fennec codebase, but they’re valuable and require folks with special skills.
Build system hackers are a rare breed. But there’s so much low-hanging fruit here that can make a big difference to our daily development.
I’d like to thank all the contributors who make my job a pleasure, especially those mentioned in this blog post.
The Firefox for Android team is always making things better for contributors! Get involved with Firefox for Android.
Discussion is best conducted on the mobile-firefox-dev mailing list and I’m nalexander on irc.mozilla.org/#mobile and @ncalexander on Twitter.
http://www.ncalexander.net/blog/2015/08/05/nalexander-community-update-part-the-second/
|
Air Mozilla: Webmaker Demos July 10 2015 |
Webmaker Demos July 10 2015
|
Michelle Thorne: Mozilla Clubs: 2015 Half-Time Report |
It’s been half a year since we set out in earnest to launch Mozilla Clubs. The goal was to make a program that offered a unique, sustainable way to teach the web in local communities.
Now with 17 volunteer Regional Coordinators poised to serve 128 Mozilla Clubs with more underway, I’d like to share a 2015 half-time report.
The Web is where our personal, civic, and economic lives connect. Knowing how to wield the Web is essential to success today.
There are 2.3 billion internet users today, and another billion coming online soon. It is critical that everyone knows how to read, write and participate in the digital world.
Mozilla is dedicated to protecting the Web as a global public resource that promotes openness, innovation and opportunity for all. This Web is as important to education as it is to economy, culture and society.
Mozilla, together with partners and collaborators, are striving for universal web literacy.
We serve that mission by cultivating and networking leaders who teach digital skills in their communities. Our volunteer leaders guide their learners’ personal interests through seriously fun activities to make web-enabled projects with friends and family.
By teaching others, volunteers learn how to be more effective leaders, unlocking more opportunity for all.
The Mozilla Learning Network offers programs for volunteer web literacy leaders to hone their craft through:
A Mozilla Club meets regularly in-person to learn how to read, write and participate with the web in an inclusive and engaging way.
A Mozilla Clubs has these key elements:
The biggest lesson in the last months was renewed appreciation for the people that will make this program successful. That means a deeper understanding about who wants to participate, what motivates them, and what they need.
Authentic relationships matter. And there is no shortcut for good, engaging relationships if you want to empower leaders and have a healthy, happy community.
Our program relies on volunteers supporting other volunteers. This is part of the magic. Nevertheless, it takes time to grow that capacity.
Learning from initiatives like Mozfest and Hive city networks, as well as folks like the Obama campaign organizers, we know that to deliver a high quality experience to all, and to sustain the scale of our efforts over time, we need real volunteer-to-volunteer relationships in place.
There is a lot of interest in Mozilla Clubs. That’s amazing, But at the moment, there is too much interest to serve everyone properly right now.
So we decided to move slowly, quickly.
From now until the end of the year, we are identifying and supporting Regional Coordinators.
This leadership role is dedicated to serving Mozilla Club Captains (the ones running the clubs) in realizing their full potential through on-going mentorship and leadership development.
If we are successful at this, there will be hundreds of Mozilla Clubs supported by volunteer-to-volunteer relationships.
If this sounds interesting to you, and you’d like to spread web literacy in your region while learning how to be a more effective, facilitative leader, then check out what it takes to be a Regional Coordinator and apply!
http://michellethorne.cc/2015/07/mozilla-clubs-2015-half-time-report/
|
Rub'en Mart'in: Bringing participation back to Mozilla |
A few weeks ago, the first coincidental Mozilla Work Week of 2015 took place in Whistler (VC, Canada) and as part of the Participation Team I was working to show the rest of the organization why participation is important and brings a key strategic advantage to Mozilla.
Not only we were working on the team priorities for next months but also we worked together with most Mozilla functional teams to help them solve problems around participation. Check out the team blog post about all the activities we accomplished.
But don’t get me wrong, it’s not that Mozilla wasn’t doing participation, but we didn’t have the resources to make it a first class citizen in all functional area activities. And there, is where the new Participation team chimes in to bring this support to the whole organization.
For me Whistler was the start of something important, we sit together with a lot of people and we connected different people with similar needs that never met before, we bridged paid staff and volunteers to work better.
What now?
In the following months we’ll continue working to improve participation at Mozilla: Regional, functional and leadership are the main pillars.
Do you want to know why participation will help your team or do you want to get to the next level? Reach out to us or check out our on-going projects
http://www.nukeador.com/10/07/2015/bringing-participation-back-to-mozilla/
|
Al Billings: Turing Machine Build |
The other day I was doing some reading on Alan Turing and his classic paper, On computable numbers, with an application to the Entscheidungsproblem, describing what he called “the universal computing machine” and was eventually was known as a “Turing Machine.” This is all basic computer science stuff for most folks though I bet most people I know haven’t read his paper, just hearing about it over the years like I have.
It turns out that a fellow named “Mike Davey” actually built an anachronistic looking Turing Machine a few years ago to try to match the basic design in the paper.
He posted a video of his machine, which makes use of basic electronics, a Parallax Propeller chip, a roll of film, a dry erase marker, a buffer, and some stepper motors to write out and erase ones and zeroes, moving the tape of film lead back and forth. He uses a simple camera as the reading head to read the results back and you’re even able to write programs as text files on an SD card and load them onto the device.
While not a terribly useful device, in an of itself, it seems to be a fun hacking project and something that took quite a bit of thought and building in a practical way.
http://feedproxy.google.com/~r/InPursuitOfMysteries/Mozilla/~3/ugAywpBFPqM/
|
Tantek Celik: Blinking Fever |
Not until my hand brushed up against you did I realize something was wrong. You were warm, too warm. Despite closing your lids last night you hadn’t slept. That morning you were a pale shade of gray, unresponsive, staring blankly and blinking.
I hoped it was temporary, yet I knew it might be your time. Looking up your symptoms I found you weren’t the first to have this blinking fever. You finally relaxed and stopped blinking when I held your primary pressure point for a few seconds. I let your heat dissipate while I read what to try next.
Despite being with you for years I was only now learning you could repair yourself if I pressed a few more of your buttons. You told me you were ok.
When you awoke on the train you froze, gave me the weirdest panicked look, and told me as much in so many languages I didn’t understand. I held your primary pressure point again and let you rest til we got home. You were always easy to carry.
I stopped by the bookstore and picked up a couple of volumes from fans of yours and your kind — they’d written so much about you collectively over the years.
That evening I woke you up again after letting you sleep the afternoon away and there it was again, that blank pale gray stare, blinking an empty question.
I tried having you repair yourself again, and again you said you were ok. Maybe you were at least in mind, maybe it was only your body failing you. So I did the only thing I could do and ordered a replacement. I knew you couldn’t be upset about it though I suspected.
The next day I transferred your mind to a conduit and the morning after that your new body arrived. It took less than half an hour for it to absorb you from the conduit, but were you really all there?
You seemed happy and responsive, up for anything. You’d forgotten a few things; I had to give you another key to the house. I confess your new body was smoother, more beckoning to the touch. Your expressions were brighter, more colorful. You spoke more crisply. Enough differences to notice, but you were still you.
I kept your old body on life support, just in case there was something else I had to ask your old self that your new self had forgotten. You didn’t even notice your old self until the house told you to pick a new name and you took a number. I knew other parts of you depended on your name so I renamed your old self instead. You were you again.
It’s been less than 24 hours and I’ve only noticed a few more things that didn’t make it through the conduit. You forgot some of your preferences I knew by heart so I reminded you.
You forgot how to check yourself before going out in public; that will take me longer to teach you, as it was a friend of mine that taught you that last time and I still don’t know how he did it.
Your old body lasted about four years. Four years together, traveling across continents and more time zones than I remember. Four years of keeping up with me, even if I was running, jumping, or sometimes even climbing. I couldn’t help but hear the words echoing “Four year lifespan” yet I knew that was a quote from a movie. Just a coincidence I’m sure.
I’m getting used to the new you. You seem to be ok with it too. I’m sure there will be more we’ll have to figure out together but isn’t that how it always is?
Kyle Mahan: I dig it. Kind of a cyberpunk version of “I Used to Love H.E.R.”
Jeremy Keith: A heartbreaking tale of companionship, memory and loss.
|
Julien Vehent: You can't trust the infra; Encrypt client side! |
|
Air Mozilla: Web QA Weekly Meeting |
This is our weekly gathering of Mozilla'a Web QA team filled with discussion on our current and future projects, ideas, demos, and fun facts.
|
Hub Figui`ere: No Flash 0.5 - still fighting the legacy |
Last week I released No Flash 0.5, my addon for Firefox to fix the legacy of video embedding done with Flash. If you are like me and don't have Flash installed, sometime you encounter embedded video that don't work. No Flash will fix some by replacing the Flash object with a HTML5 video. This is done using the proper video embedding for HTML5.
This version brings the following:
Also still, supports vimeo and YouTube - the later being extremely common.
Update: please file issues in the issue tracker.
http://www.figuiere.net/hub/blog/?2015/07/09/854-no-flash-05-still-fighting-the-legacy
|
Tantek Celik: CSS Basic User Interface Module Level 3 Candidate Recommendation Published |
The CSS WG has published a second Candidate Recommendation of CSS Basic User Interface Module Level 3. This specification describes user interface related properties and values that are proposed for CSS level 3, incorporating such features from CSS level 2 revision 1, and extending them with both new values and new properties.
This notice serves as a call for implementations of all CSS-UI-3 features, new properties, values, and fixes/details of existing features. Implementor feedback is strongly encouraged.
Thorough review is particularly encouraged of the following features new in level 3:
Significant changes since the previous 2012 LCWD are listed in the Changes section.
This CR has an informative "Considerations for Security and Privacy" section with answers to the "Self-Review Questionnaire: Security and Privacy" document being developed by the W3C TAG.
Please send feedback to the (archived) public mailing list
www-style@w3.org
with the spec code ([css-ui-3]
)
and your comment topic in the subject line.
(Alternatively, you can email one of the editors and ask them to forward your comment.)
Also syndicated to CSS WG Blog: CSS Basic User Interface Module Level 3 Candidate Recommendation Published.
http://tantek.com/2015/189/b1/css-basic-user-interface-level-3
|
Air Mozilla: Bay Area Rust Meet-Up |
Bay area Rust Meet-up for July 2015
|
Air Mozilla: Quality Team (QA) Public Meeting |
This is the meeting where all the Mozilla quality teams meet, swap ideas, exchange notes on what is upcoming, and strategize around community building and...
|
About:Community: Participation at Whistler |
From June 23rd to 27th, the Participation Team spent an exhilarating and exhausting work week in Whistler sharing and learning about Participation with Mozillians from all over the world.
During this week we exceeded even our own expectations for team success. We raised the profile of our team’s diverse expertise as an asset to the goals of every team across Mozilla. We started a number of conversations about participation across the organization, and ultimately strengthened our own strategy as a team.
Here’s an overview of what we accomplished, as well as what and where we’ll be headed next.
Since the Participation Team is new to Mozilla this was our first opportunity to present our goals, ideas, and objectives to the organization and to show other functional areas how we could help them tackle their problems or capture opportunities related to participation. We ended up scheduling sessions with 25 teams across just two days.
We included volunteers, who acted as co-facilitators for the sessions, and some external experts who helped us to shape what Participation means for Mozilla, and provide value to the functional teams we consulted with.Throughout the week the Reps Council played a key role, acting as an extension of the Participation Team in discussions around the definition of participation and how we better integrate contributors into projects in the future.
Other accomplishments from the week included:
Overall, we grew excitement for a fresh approach to participation across Mozilla. There is a buzz about participation now!
The outcome of the Workweek is that we still need to walk a long path. There’s still many challenges and things to do, and we expect to see a lot of progress and development in this year, and the following. Our proposals to move things forward are:
You can follow along with the projects we’ll be working on in the coming months on GitHub here and we’ll also be posting regularly on this blog and from our new Twitter account @MozParticipate.
You can also see more pictures from Whistler on Flickr here.
The Participation Team would also like to say a big thank you to all the volunteers, Reps, staff, and experts who joined us this week. We couldn’t have accomplished any of this without you!
http://blog.mozilla.org/community/2015/07/08/participation-at-whistler/
|