サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
アメリカ大統領選
julien.danjou.info
There's not a single month where I don't have to explain this. I thought it'd be a good opportunity to write about this .gitignore file so everyone is up to date on this magic file. The purpose of .gitignoreThe .gitignore file is meant to be a list of files that Git should not track. It resides at the root directory of your repository. It can be a list of file path relative to the repository, or a
Many Python developers are unaware of the extent to which you can use functional programming in Python, which is a shame: with few exceptions, functional programming allows you to write more concise and efficient code. Moreover, Python’s support for functional programming is extensive. Here I'd like to talk a bit about how you can actually have a functional approach to programming with our favorit
Packaging Python has been a painful experience for long. The history of the various distribution that Python offered along the years is really bumpy, and both the user and developer experience has been pretty bad. Fortunately, things improved a lot in the recent years, with the reconciliation of setuptools and distribute. Though in the context of the OpenStack project, a solution on top of setupto
The Hacker's Guide to Python Finally learn how to write better applications. Best practice Methods & advice you should follow when building your applications. These will help you get the most out of Python, and build a future-proof program. If you're already working on something, you'll be able to apply the techniques discussed right away to enhance your current work. Language internals You will
Continuing my post series on the tools I use these days in Python, this time I would like to talk about a library I really like, named voluptuous. It's no secret that most of the time, when a program receives data from the outside, it's a big deal to handle it. Indeed, most of the time your program has no guarantee that the stream is valid and that it contains what is expected. The robustness prin
A lot of people read up on good Python practice, and there's plenty of information about that on the Internet. Many tips are included in the book I wrote this year, The Hacker's Guide to Python. Today I'd like to show a concrete case of code that I don't consider being the state of the art. In my last article where I talked about my new project Gnocchi, I wrote about how I tested, hacked and then
The Ceilometer project supports various database backend that can be used as storage. Among them are MongoDB, SQLite MySQL, PostgreSQL, HBase, DB2… All Ceilometer's code is unit tested, but when dealing with external storage services, one cannot be sure that the code is really working. You could be inserting data with an incorrect SQL statement, or in the wrong table. Only having the real database
The Hacker Guide to Python Learn everything you need to build a successful Python project. Python is a wonderful programing language that is being used more and more in a lot of different industries. It is fast, flexible, and comes with batteries included. Most of the books you read about Python teach you the language basics. But once you've learnt them, you are on your own designing your applica
One of my recent innocent tweet about Gerrit vs Github triggered much more reponses and debate that I expected it to. I realize that it might be worth explaining a bit what I meant, in a text longer than 140 characters. I'm having a hard time now contributing to projects not using Gerrit. Github isn't that good. — Julien Danjou (@juldanjou) May 8, 2013 The problems with Github pull-requests I alwa
I've finally published my Emacs configuration. This took me a while, since I had personal information inside (like passwords). Recently, I've been able to move them away and can now publish everything in my Git repository. It's probably not yet usable from scratch, since I didn't include the bootstrap code for el-get. But you can at least lurk and grab some ideas or lines of code. And do not hesit
Swift is the software behind the OpenStack Object Storage service. This service provides a simple storage service for applications using RESTful interfaces, providing maximum data availability and storage capacity. I explain here how some parts of the storage and replication in Swift works, and show some of its current limitations. If you don't know Swift and want to read a more "shallow" overview
The google-maps Emacs extension allows to display Google Maps directly inside Emacs. It fully implements the Google Static Maps API and the Google Maps Geocoding API. Download It is available from the Git repository. There's no tagged release for now. Manual The easiest way to use it is to load it from your .emacs: (require 'google-maps) You can then use M-x google-maps and type a location. Variou
rainbow-mode is a minor mode for Emacs which displays strings representing colors with the color they represent as background. Download It is available from GNU ELPA. You can install it from M-x list-packages in Emacs 24. Manual Type M-x rainbow-mode. Rbow should be added to the mode-line, indicating that Rainbow mode is in effect. You can deactivate it with the same command. When activated, all s
The google-contacts for Emacs extension allows to display your Google Contacts directly inside Emacs. Note that it is likely to only work with at least Emacs 24, since it's using oauth2 which is part of GNU ELPA. Download It is available from: git://git.naquadah.org/google-contacts.el.git (gitweb) There's no tagged release for now. Manual The easiest way to use it is to load it from your .emacs: (
The google-weather Emacs extension allows to run access the Google Weather API from Emacs. It includes org-google-weather, which can be used to add weather forecast in your Org agenda. Download It is available from: git://git.naquadah.org/google-weather-el.git (gitweb) There's no tagged release for now. Manual The easiest way to use it is to load it from your .emacs: (require 'google-weather) The
rainbow-mode is a minor mode for Emacs. It displays strings representing colors with the color they represent as background. Download It is available from: git://git.naquadah.org/~jd/jd-el.git (gitweb) There's no tagged release for now. Manual Load the file, and type M-x rainbow-mode. Rbow should be added to the mode-line, indicating that Rainbow mode is in effect. You can deactivate it with the s
The google-maps Emacs extension allows to display Google Maps directly inside Emacs. It fully implements the Google Static Maps API and the Google Maps Geocoding API. Download It is available from: git://git.naquadah.org/~jd/jd-el.git (gitweb) There's no tagged release for now. Manual The easiest way to use it is to load it from your .emacs: (require 'google-maps) You can then use M-x google-maps
Since I have started to use Org-mode, I though it was missing something to have appointment locations on a map. Of course, it's easy to get a LOCATION property from an entry, and then browse-url on Google Maps. But it is too easy for me, so once again I said: challenge accepted! I will bring Google Maps into Emacs! After several hours of work, the google-maps-el project shows a map! It fully imple
このページを最初にブックマークしてみませんか?
『Continuous Rambling | Julien Danjou | Substack』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く