|
In a curious turn of events, the Plone team is considering to remove their inline editing feature around the same time when similar features are being added to popular CMSs like TYPO3 and Drupal . While the reason why Ploners are considering to remove the feature is technical, wanting to remove an old library dependency, the discussion thread contains quite a lot of people complaining about inline editing. Some examples: No pro....
|
|
In our last primer we looked at a number of interesting examples of metric spaces, that is, spaces in which we can compute distance in a reasonable way. Our goal for this post is to relax this assumption. That is, we want to study the geometric structure of space without the ability to define distance. That is not to say that some notion of distance necessarily exists under the surface somewhere, but rather that we include a whole new class..
|
|
In our last primer we looked at a number of interesting examples of metric spaces, that is, spaces in which we can compute distance in a reasonable way. Our goal for this post is to relax this assumption. That is, we want to study the geometric structure of space without the ability to define distance. That is not to say that some notion of distance necessarily exists under the surface somewhere, but rather that we include a whole new class..
|
|
In our last primer we looked at a number of interesting examples of metric spaces, that is, spaces in which we can compute distance in a reasonable way. Our goal for this post is to relax this assumption. That is, we want to study the geometric structure of space without the ability to define distance. That is not to say that some notion of distance necessarily exists under the surface somewhere, but rather that we include a whole new class..
|
|
Intel® Architecture Instruction Set Extensions Programming Reference (PDF reference). The description of new instructions in the upcoming Haswell processor, including transactional memory support, hardware random number generator, and 256-bit vector integer operations. The transactional memory instructions should be useful for GIL (global interpreter lock) in Python and Ruby. They tried to eliminate it with software TM, but it was too slo..
|
|
I love my keyboard shortcuts, and I sometimes I want to change them. If you’re ever in a gnome application and wanted to change that one right there , you can now live-edit them! In a terminal, first enable this feature: gsettings set org.gnome.desktop.interface can-change-accels true Next, hover over the menu item shortcut that you want to change. Enter the shortcut you want. It should update immediately! I like to disable this ..
|
|
I love my keyboard shortcuts, and I sometimes I want to change them. If you’re ever in a gnome application and wanted to change that one right there , you can now live-edit them! In a terminal, first enable this feature: gsettings set org.gnome.desktop.interface can-change-accels true Next, hover over the menu item shortcut that you want to change. Enter the shortcut you want. It should update immediately! I like to disable this ..
|
|
The relation between Create.js and the TYPO3 team goes back a long way. They were present in the IKS event in February 2011 in Vienna where I presented Create for the first time. My original idea had been to just build a new content editing interface for Midgard , but as they also were interested, we ended up removing the Midgard dependencies and building Create and VIE as a fully CMS-agnostic interface, a key part of decoupled cont....
|
|
The web has come a long way. We have APIs that allow developers to create amazing applications quickly, and browser technologies have…
|
|
The web has come a long way. We have APIs that allow developers to create amazing applications quickly, and browser technologies have…
|
|
Seguo il progetto Python Tools per Visual Studio da molto tempo . Python Tools per Visual Studio è un plugin gratuito e open source che trasforma Visual Studio in una IDE per Python. Supporta CPython, IronPython, Intellisense, Debugging, Profiling, Editing, Browsing, REPL Multipli, IPython, Django e Cloud Computing con librerie client per Windows, Linux e OS X (Azure). La versione 1.5, rilasciata oggi, aggiunge supporto per Django, ..
|
|
Bought a new computer, decided to try out Ubuntu Linux . Here’s my report of things i liked, things that worked, things I disliked, and things that didn’t work. Things that are improvements over Windows and Mac: Single update manager! No more Java, Adobe, Windows etc updates. My experience with Mac (at least 10.4) wasn’t much better. The Debian/Ubuntu update manager is extensible in the sense you can add random internet addresses for....
|
|
A question that came up at an event I was at yesterday: How will the time between the first (commercial) deployment of a telephony service, and a regulated universal service obligation for telephony compare to that of the time between the first (commercial) Internet services being deployed and a USO for IP connectivity (e.g., Broadband)? Based on this, is the cycle time of the telephony regulatory bodies, and mechanisms through which ..
|
|
A question that came up at an event I was at yesterday: How will the time between the first (commercial) deployment of a telephony service, and a regulated universal service obligation for telephony compare to that of the time between the first (commercial) Internet services being deployed and a USO for IP connectivity (e.g., Broadband)? Based on this, is the cycle time of the telephony regulatory bodies, and mechanisms through which ..
|
|
Gwen Shapira has written a nice summary of a problem case where the classic wait interface based troubleshooting method is not always enough for troubleshooting low-level issues. The top SQL + top wait approach should usually be used as the starting point of troubleshooting a session, workload etc, but often the troubleshooting does not stop there. So, when the wait interface and related tools don’t explain the problem well enough, then..
|
|
Gwen Shapira has written a nice summary of a problem case where the classic wait interface based troubleshooting method is not always enough for troubleshooting low-level issues. The top SQL + top wait approach should usually be used as the starting point of troubleshooting a session, workload etc, but often the troubleshooting does not stop there. So, when the wait interface and related tools don’t explain the problem well enough, then..
|
|
In the classic arcade game Galaga (1981), there is a well-known cheat for those who are patient. If you destroy all of the enemies on Stage 1 except for the left two enemies (shown to the right), then dodge their fire for about 10-15 minutes, they stop firing at you. At this point, you can safely kill them and no enemies will fire at you for the remainder of the game (they can still crash into you to kill you though).
|
|
In the classic arcade game Galaga (1981), there is a well-known cheat for those who are patient. If you destroy all of the enemies on Stage 1 except for the left two enemies (shown to the right), then dodge their fire for about 10-15 minutes, they stop firing at you. At this point, you can safely kill them and no enemies will fire at you for the remainder of the game (they can still crash into you to kill you though).
|
|
Thursday I entered in my first hackathon, Enova’s No Limit Code’em. I partnered with my friend Vaib, a fellow Starter League student.
|
|
I present to you, "Voxel Levitation: a Step-by-Step Guide". Step 1: Step 2: Step 3: Step 4: Also, check it out. Hurricane Sandy has spilled over into Lemma. It's raining! That is all.
|
|
The sidebar in Mutt is useful if you have multiple email accounts and want to switch between them quickly. It shows you each inbox with a number of unread emails. I have 6 Gmail accounts plugged into my Mutt and here is what I used to see. INBOX (1) INBOX INBOX (2) INBOX (1) INBOX (7) INBOX And I had to remember which one was which. Let’s say you have your mailboxes in ~/.mail. $ ls ~/.mail work home Create a directory called aliases..
|
|
The sidebar in Mutt is useful if you have multiple email accounts and want to switch between them quickly. It shows you each inbox with a number of unread emails. I have 6 Gmail accounts plugged into my Mutt and here is what I used to see. INBOX (1) INBOX INBOX (2) INBOX (1) INBOX (7) INBOX And I had to remember which one was which. Let’s say you have your mailboxes in ~/.mail. $ ls ~/.mail work home Create a directory called aliases..
|
|
Le slide che ho presentato a ‘A Morning with MongoDB‘ (24 ottobre, Milano) sono disponibili online. Gran parte degli interventi erano di tipo divulgativo ed inizialmente ero preoccupato che i miei contenuti fossero troppo tecnici. In realtà in sala c’erano davvero tanti programmatori, quindi tutto è andato bene. A margine dell’evento molte le domande su Eve, la REST API open source a cui sto lavorando e che conto di rilasciare entro fine ..
|
|
Hello fellow readers, I've been away of the social networking scene for a year, after obvious wrong events such as Facebook entering the stock market. This post is a reminder of those horrible, so called, online social networks. Social networks make people look stupid! On a personal level, I've been out for a year and I still feel the weird nausea arising when looking at people wasting their precious time on those networks; wandering, l..
|
|
Logos are a trap. Let me explain that statement: they are a place many startups get stuck. A logo is what identifies you. It's the symbol that takes up space in a customer's mind when they think about your company. There is no symbol that is more connected to your company than a logo. This traps entrepreneurs because it drives many of us to want the perfect logo. This is how I got Review Signal's logo created in 3 days from start to fin....
|
|
Logos are a trap. Let me explain that statement: they are a place many startups get stuck. A logo is what identifies you. It's the symbol that takes up space in a customer's mind when they think about your company. There is no symbol that is more connected to your company than a logo. This traps entrepreneurs because it drives many of us to want the perfect logo. This is how I got Review Signal's logo created in 3 days from start to fin....
|
|
This is a step by step guide in which I will show you how to setup WordPress with maximum speed and performance for just $15 per month utilizing Nginx + PHP-FPM + APC + Cloudflare + Redis. It is the same that this blog is using and I will show you how. No need for [...]
|
|
This is a step by step guide in which I will show you how to setup WordPress with maximum speed and performance for just $15 per month utilizing Nginx + PHP-FPM + APC + Cloudflare + Redis. It is the same that this blog is using and I will show you how. No need for [...]
|
|
For anyone that attended my talk “Moving from Manual to Automated Builds” at Tech Mixer U, I'm posted the slides with extra notes and our full demo ant script.
|
|
How to load WordPress in a few milliseconds using Redis
-
www.jimwestergren.com
-
13 years ago
-
eng
Redis is an advanced key-value store. Like memcached on steroids. Everything is in the RAM and you can theoretically reach 100 000 GET per second with Redis. My solution below will cache all the HTML output in Redis and display it without the need to load WordPress. A big thanks to Jeedo Aquino who have [...]
|
|
How to load WordPress in a few milliseconds using Redis
-
www.jimwestergren.com
-
13 years ago
-
eng
Redis is an advanced key-value store. Like memcached on steroids. Everything is in the RAM and you can theoretically reach 100 000 GET per second with Redis. My solution below will cache all the HTML output in Redis and display it without the need to load WordPress. A big thanks to Jeedo Aquino who have [...]
|
|
Let’s talk about compiler backends. C should be a portable language, and there is no need to rewrite the whole compiler if you want to port it to the new CPU architecture. Backend is a part of the compiler that generates low-level byte code. Compiler itself just calls backend functions. Good backend design makes the compiler highly portable. I wanted CUCU to be a portable compiler (actually, a cross-compiler). So, I decided to move backend ..
|
|
I recently set up a Mercurial server (Windows, Apache, ActiveDirectory and hgweb.wsgi). However, cloning our 1Gb repository took an hour or more and often failed. The only information in the Apache log was mod_wsgi (pid=1234: Exception occurred processing WSGI script 'C:/hg/hgweb/hgweb.wsgi' IOError: failed to write data The solution was to disable compression by adding the following lines to hgweb.config [server] preferuncompresse..
|
|
Let’s talk about compiler backends. C should be a portable language, and there is no need to rewrite the whole compiler if you want to port it to the new CPU architecture. Backend is a part of the compiler that generates low-level byte code. Compiler itself just calls backend functions. Good backend design makes the compiler highly portable. I wanted CUCU to be a portable compiler (actually, a cross-compiler). So, I decided to move backend ..
|
|
Do you ever feel it’s hard to get real progress in a sprint towards the business goal? Do you feel the feedback from a iteration picks on all the details you didn’t mean to cover this sprint? Do you feel like sprint planning meetings are dragging out? Then a Rainbow Sprint Plan may be for you. Here is an example of a Rainbow Sprint plan: A customer wants cheap vacations The customer signs up for daily or weekly notifications of special flig....
|
|
It continues to amaze me how bad Haskell is at processing strings. One of the reasons I wanted to learn Haskell was to be able to write short, dynamic-language-like programs that execute fast once compiled. Somehow rather, Haskell has failed to deliver on its promise of bare metal speed. I mostly write scripts and utilities meant to run on my machine—these scripts mostly process text. Read a file, parse it and spit something out. Exa....
|
|
It continues to amaze me how bad Haskell is at processing strings. One of the reasons I wanted to learn Haskell was to be able to write short, dynamic-language-like programs that execute fast once compiled. Somehow rather, Haskell has failed to deliver on its promise of bare metal speed. I mostly write scripts and utilities meant to run on my machine—these scripts mostly process text. Read a file, parse it and spit something out. Exa....
|
|
Dear internets, I’m a sysadmin/architect, which means I spend a good amount of time coding in puppet and other languages. Puppet is a great tool, however the puppet community is a bit anal strict about their style policies. I can respect this because I understand how important uniformity is when many developers are sharing code. ( On a side note, I absolutely can’t stand using spaces for indentation, but that’s another story. Plea..
|