mirror of
https://github.com/almet/notmyidea.git
synced 2025-04-28 19:42:37 +02:00
208 lines
No EOL
9 KiB
HTML
208 lines
No EOL
9 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
|
|
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
|
|
|
|
<title>Mozilla's weekly update #1 - Carnets Web</title>
|
|
|
|
<meta charset="utf-8" />
|
|
<link href="https://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Carnets Web Full Atom Feed" />
|
|
<link rel="stylesheet" href="https://blog.notmyidea.org/theme/css/poole.css"/>
|
|
<link rel="stylesheet" href="https://blog.notmyidea.org/theme/css/syntax.css"/>
|
|
<link rel="stylesheet" href="https://blog.notmyidea.org/theme/css/lanyon.css"/>
|
|
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=PT+Serif:400,400italic,700%7CPT+Sans:400">
|
|
<link rel="stylesheet" href="https://blog.notmyidea.org/theme/css/styles.css"/>
|
|
|
|
|
|
|
|
<style>
|
|
|
|
h1 {
|
|
font-family: "Avant Garde", Avantgarde, "Century Gothic", CenturyGothic, "AppleGothic", sans-serif;
|
|
padding: 80px 50px;
|
|
text-align: center;
|
|
text-transform: uppercase;
|
|
text-rendering: optimizeLegibility;
|
|
color: #202020;
|
|
letter-spacing: .1em;
|
|
text-shadow:
|
|
-1px -1px 1px #111,
|
|
2px 2px 1px #eaeaea;
|
|
}
|
|
|
|
#main {
|
|
text-align: justify;
|
|
text-justify: inter-word;
|
|
}
|
|
#main h1 {
|
|
padding: 10px;
|
|
}
|
|
|
|
.post-headline {
|
|
padding: 15px;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<!-- Target for toggling the sidebar `.sidebar-checkbox` is for regular
|
|
styles, `#sidebar-checkbox` for behavior. -->
|
|
<input type="checkbox" class="sidebar-checkbox" id="sidebar-checkbox">
|
|
<!-- Toggleable sidebar -->
|
|
<div class="sidebar" id="sidebar">
|
|
<div class="sidebar-item">
|
|
<div class="profile">
|
|
<img src="https://blog.notmyidea.org/theme/img/profile.png"/>
|
|
</div>
|
|
</div>
|
|
|
|
<nav class="sidebar-nav">
|
|
<a class="sidebar-nav-item" href="/">Articles</a>
|
|
|
|
<a class="sidebar-nav-item" href="https://www.vieuxsinge.com">Brasserie du Vieux Singe</a>
|
|
<a class="sidebar-nav-item" href="http://blog.notmyidea.org/pages/about.html">A propos</a>
|
|
<a class="sidebar-nav-item" href="https://twitter.com/ametaireau">Messages courts</a>
|
|
<a class="sidebar-nav-item" href="https://github.com/almet">Code</a>
|
|
</nav>
|
|
</div> <div class="wrap">
|
|
<div class="masthead">
|
|
<div class="container">
|
|
<h3 class="masthead-title">
|
|
<a href="https://blog.notmyidea.org/" title="Home">Carnets Web</a>
|
|
</h3>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="container content">
|
|
<div id="main" class="posts">
|
|
<h1 class="post-title">Mozilla's weekly update #1</h1>
|
|
<span class="post-date">20 septembre 2012</span>
|
|
<img id="illustration" src="" />
|
|
|
|
<div class="post article">
|
|
<h1>🌟</h1>
|
|
<p>My day-to-day work is changing a lot these days, as I'm working on different
|
|
tools and working across different teams. I thought it could be useful to have
|
|
a place to put updates weekly about what's going-on. This can be extra useful
|
|
for folks that are not on the same timezone I am (I'm looking at you,
|
|
California), so let's try this.</p>
|
|
<p>I'm not used to post regularly, but I will try to update the blog with an entry
|
|
each week, if there is something interesting to say.</p>
|
|
<div class="section" id="circus">
|
|
<h2>Circus</h2>
|
|
<p>As you may know, last week we had a sprint about Circus at PyconFR, we now have
|
|
a bunch of folks interested by the project now, and some activity on our irc
|
|
channel (#mozilla-circus on freenode).</p>
|
|
<p>I've written <a class="reference external" href="http://blog.notmyidea.org/circus-sprint-at-pyconfr.html">a more comprehensive wrap-up about this sprint</a>, so have a look at
|
|
it if you're interested!</p>
|
|
</div>
|
|
<div class="section" id="vaurien">
|
|
<h2>Vaurien</h2>
|
|
<p>Vaurien is a TCP proxy which can be useful for our load-testing. its goal is to
|
|
sometimes let the traffic go trough, sometimes play a bit with it (add delays,
|
|
timeouts, close the socket etc) to check how the stack is behaving when under
|
|
pressure.</p>
|
|
<p>The code isn't used to test our services yet but we have something interesting
|
|
to show: <a class="reference external" href="http://github.com/mozilla-services/vaurien/">http://github.com/mozilla-services/vaurien/</a></p>
|
|
<p>I will not explain the specifics here, I've tried to make <a class="reference external" href="https://github.com/mozilla-services/vaurien#vaurien">the README</a> explicit enough.</p>
|
|
</div>
|
|
<div class="section" id="marteau">
|
|
<h2>Marteau</h2>
|
|
<p><a class="reference external" href="https://github.com/mozilla-services/marteau/">Marteau</a> is the tool we're
|
|
using to throw load-test to our services, to check that they're able to handle
|
|
it. It's basically a frontend to Funkload. Tarek worked on adding real-time
|
|
feedback from the nodes (when in distributed mode, Funkload clients are
|
|
deployed on some nodes and send traffic to the service from there), and I am
|
|
working on making this available on the web interface. This means playing a bit
|
|
with web-sockets and javascript, yay.</p>
|
|
</div>
|
|
<div class="section" id="marketplace-packaging">
|
|
<h2>Marketplace packaging</h2>
|
|
<p>Currently, the application behind market place, <a class="reference external" href="https://github.com/mozilla/zamboni">Zamboni</a> uses a non-standard mechanism to deal
|
|
with its dependencies. A <cite>vendor</cite> folder contains the packages themselves, in
|
|
the form of git submodules. This comes with some drawbacks such as the fact
|
|
that it's not easy to upgrade dependencies etc, and very long updates of the
|
|
repository, into other things.</p>
|
|
<p>We were also dependant on github to deploy Marketplace, which isn't reliable at
|
|
all, especially when you know that github was down last week, for instance. We
|
|
now have a local PyPI mirror at Mozilla, and we use it to avoid reaching the
|
|
internet for something else than our code.</p>
|
|
<p>This also means that we need to pull all the dependencies out of this <cite>vendor</cite>
|
|
folder, and rely on PyPI packages when they are up to date. Then we will be
|
|
able to directly use <cite>pip</cite> to deal with dependency management and packaging.</p>
|
|
</div>
|
|
<div class="section" id="splitting-up-the-marketplace">
|
|
<h2>Splitting up the Marketplace</h2>
|
|
<p>Zamboni is currently one big django project. This led to something quite hard
|
|
to understand and hard to deal with., especially for newcomers. Also, it means
|
|
that all the aspects of the site are inter-connected and that you need to be
|
|
comfortable with the whole infrastructure of the project to add new features
|
|
/ fix bugs.</p>
|
|
<p>Splitting this big project into smaller chunks can allow to have something
|
|
easier to work on. We're trying to do that these days. More on this later :)</p>
|
|
<p>That's all for now, I'll try to keep you posted on all this, see you next week
|
|
:-)</p>
|
|
</div>
|
|
|
|
Vous pouvez également <a onclick="(function(){
|
|
let here = document.location;
|
|
document.location = `http://pdf.fivefilters.org/simple-print/url.php?size=A4#${here}`;
|
|
return false;
|
|
})();return false;">télécharger cet article en pdf</a>.
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<label for="sidebar-checkbox" class="sidebar-toggle"></label>
|
|
|
|
<script>
|
|
(function(document) {
|
|
var i = 0;
|
|
// snip empty header rows since markdown can't
|
|
var rows = document.querySelectorAll('tr');
|
|
for(i=0; i<rows.length; i++) {
|
|
var ths = rows[i].querySelectorAll('th');
|
|
var rowlen = rows[i].children.length;
|
|
if (ths.length > 0 && ths.length === rowlen) {
|
|
rows[i].remove();
|
|
}
|
|
}
|
|
})(document);
|
|
</script>
|
|
|
|
<script>
|
|
/* Lanyon & Poole are Copyright (c) 2014 Mark Otto. Adapted to Pelican 20141223 and extended a bit by @thomaswilley */
|
|
(function(document) {
|
|
var toggle = document.querySelector('.sidebar-toggle');
|
|
var sidebar = document.querySelector('#sidebar');
|
|
var checkbox = document.querySelector('#sidebar-checkbox');
|
|
document.addEventListener('click', function(e) {
|
|
var target = e.target;
|
|
if(!checkbox.checked ||
|
|
sidebar.contains(target) ||
|
|
(target === checkbox || target === toggle)) return;
|
|
checkbox.checked = false;
|
|
}, false);
|
|
})(document);
|
|
</script>
|
|
<!-- Piwik -->
|
|
<script type="text/javascript">
|
|
var _paq = _paq || [];
|
|
_paq.push(['trackPageView']);
|
|
_paq.push(['enableLinkTracking']);
|
|
(function() {
|
|
var u="//tracker.notmyidea.org/";
|
|
_paq.push(['setTrackerUrl', u+'piwik.php']);
|
|
_paq.push(['setSiteId', 3]);
|
|
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
|
|
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
|
|
})();
|
|
</script>
|
|
<noscript><p><img src="//tracker.notmyidea.org/piwik.php?idsite=3" style="border:0;" alt="" /></p></noscript>
|
|
<!-- End Piwik Code -->
|
|
</div>
|
|
</body>
|
|
</html> |