Creează un cont pentru a te abona la acest blog și a-i urmări articolele pe pagina Lectură.
-
Last Friday, Opus, which I had allowed `terraform plan` permissions to help troubleshoot some integration, suddenly asked to do `terraform apply` even though the plan showed that a production database would get deleted and recreated (😱), even if I had exp…
-
I use Claude Code for most of my development work these days, especially investigations and quick-and-dirty spikes.
-
As someone who both does a fair bit of data engineering jobs for clients with sensitive (and sometimes really sensitive) data, creating life-like data sets to test, reproduce bugs etc can be challenging as compliance often dictates that data cannot be acc…
-
I recently set up a brand new Windows service implemented in Python, and although the experience was definitely easier than when I did it last (2006?)
-
I give up.
-
Fair warning up front: this is not a Terraform, AWS, or Elasticsearch tutorial.
-
I spend a lot of time dealing with recruiters – responding to queries, and accepting or rejecting endless amount of LinkedIn contact requests.
-
I used to enjoy a lot of the writing about digital nomadry, but the more I’ve started living the life I’m aiming for, the more what I read seems to describe an adolescent “workation” while depleting your saving rather than a sustainable career and lifesty…
-
A while back, I opened (as in ‘made available’) BitSyncHub, a tool to automatically synchronize Bitbucket repositories to Github.
-
I was honored to be given the oppurtunity to speak at the first instance of Stockholm Automation Nights last week, and hope to be able to attend many more.
-
This year’s PyCon Sweden, held on the 12-13th of May at Hilton Slussen in Stockholm, looks to be a spectacular follow-up to last years success.
-
Since PyCon Sweden was a success last year, we’re doing it again this year, only slightly bigger, hopefully even better!
-
That’s right, PyCon Sweden 2014 will take place in Stockholm on May 20-21, and you should be there!
-
I will be giving a course in basic Python in Karlskrona on March 27.
-
I just had an article on Jython embedding appear over at Smartbear.
-
Some of you may have noticed that BitSyncHub (and my company homepage) went down for almost three days this week.
-
Since I got several requests for BitSyncHub to support BitBucket Git repository synching to GitHub, I went ahead and added the functionality.
-
Introducing BitSyncHub # Since I’m an automation nut, when I found Travis CI, I was understandably excited – automatic running of my testcases for hgapi from the repository as opposed to a pre-push hook (as I have had it set up since the beginning of time)
-
I’ll be in Florence for EuroPython 2013 and do (more or less) a follow-up to the training session I held last year – a very hands-on venture into Python lanugage and standard library features that will allow you to implement your bad ideas in awesome hacks
-
The other day I needed to download some zip files, unpack them, parse the CSV files in them, and return the data as dicts.
-
When we started with fleet management at Visual Units, one thing was really hard to get right – distance calculations.
-
(part 1, part 2, part 3, part 4) I’m almost done with the parts to make this project PyPI ready – it can now work on your application as long as you implement the actual code to route calls to the right part of your API – this works: Listing 1. python -m…
-
(part 1, part 2, part 3) I’ve now split the code into separate parts – pyrest.py now only has generic functionality for hooking and routing, along with a bunch of helpers to create responses with HTTP response types.
-
In part 2, I hooked up the API to CherryPy in a very crude fashion, and this time we’ll look at how we can add handlers for resources in a less clumsy way.
-
In part 1, a very unexciting base CherryPy implementation was all we had, but now it’s time to hook up something real!
-
After having written code to expose APIs through RESTful web services a couple of times, I’ve decided to do it once more, only this time I won’t get paid, I won’t have deadlines, I’ll write it so I’ll never have to write it again, and I’ll make it availab…
-
I got a feature request on hgapi the other day, pointing out that it was not possible to filter the Mercurial log using the API, since there is no dedicated way to do it and the fallback method – sending keyword arguments that will be passed to the command
-
I’ve really neglected to update the blog lately, but that’s at least in part because I’ve been busy doing preparations for talks – so you could see me instead of read my blog!
-
Next year, in March, I will be at PyCon.
-
During EuroPython 2012, after my training and talks, I really needed to do some coding, so I started hacking on a ‘practical’ application of the AST – making (some) constants faster than local variables, instead of slower by inlining them on import.
-
I had a blast at Europython – I made new friends, went to a couple of talks that gave me some ideas for the future, and my own talks seemed to go down well.
-
I enjoyed The Clean Coder by Uncle Bob, and would recommend it to any serious developer.
-
hgapi is a pure-Python API for Mercurial, which uses the command-line interface for maximum compatibility.
-
This is a writeup of a talk I did recently at Software Passion Summit in Gothenburg, Sweden.
-
I have tried to do a full writeup of my PyCon experience this year, and failed miserably, so this is what I’ll do: This post will focus only on the conference experience – lessons learned, sessions attended, and projects discovered will have their own pos…
-
My name is Fredrik, and sometimes I write code I’m not that proud of.
-
In Python Closures and Decorators (Pt. 1), we looked at sending functions as arguments to other functions, at nesting functinons, and finally we wrapped a function in another function.
-
Since I, in retrospect, made the wrong choice when cutting down a Python course to four hours and messed up the decorator exercise, I promised the attendees that I’d make a post about closures and decorators and explain it better – this is my attempt to do
-
(There will be very little techical content here; if that’s what you are looking for, move along) So, I updated Blaag to use Genshi for templating (still in it’s own branch), which was a pretty pleasant experience; I cleared out some of the worst code from
-
Train rides can be good – if not creativity, then at least boredom-induced productivity.
-
I believe that Python is important for software development.
-
I’ll be appearing att Software Passion to speak about using Python for protocol specifications, instead of using an external document to write the specification, and then try to implement it from there (or, perhaps more common, implementing it and then tr…
-
When I took a look at the python.org Py3k poll, I saw that Mercurial was on the top list of things people wanted ported (though far behind the likes of Django).
-
A few days ago I was asked by a collegaue what the point of properties in Python is.
-
As a belated christmas gift, I just released hgapi version 1.1.0.
-
It was pointed out to me that an entry was missing.
-
Recently, I wanted to migrate some lightweight services from a virtual host to an account at Webfaction, since running a wiki/issue tracker (Trac) and CI server (Jenkins) for a couple of low-volume projects really shouldn’t take a whole machine of it’s ow…
-
When I linked to autohook the other day, I was not prepared that somebody would actually try it, and tell me that it did not work.
-
Tools I use every day to write better Python, to make it more fun, or just easier: A good editor I prefer Emacs, you might like something else, but trust me on this – it’ll be a humongous project that forces you to use a full IDE.
-
New style thanks to @markuseliasson – anything ugly is because of my adaptions, anything looking great is his work.