← Înapoi la Urmăritori

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 54
  1. AI agents belong in prison

    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…

  2. I use Claude Code for most of my development work these days, especially investigations and quick-and-dirty spikes.

  3. Cleaning sensitive data from test (PG) databases

    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…

  4. 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?)

  5. New homepage, new URL for Bitsynchub

    I give up.

  6. Fair warning up front: this is not a Terraform, AWS, or Elasticsearch tutorial.

  7. What I wish recruiters would do

    I spend a lot of time dealing with recruiters – responding to queries, and accepting or rejecting endless amount of LinkedIn contact requests.

  8. Another kind of nomad?

    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…

  9. BitSyncHub Open Sourced

    A while back, I opened (as in ‘made available’) BitSyncHub, a tool to automatically synchronize Bitbucket repositories to Github.

  10. 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.

  11. 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.

  12. Since PyCon Sweden was a success last year, we’re doing it again this year, only slightly bigger, hopefully even better!

  13. Call for Proposals: PyCon Sweden 2014!

    That’s right, PyCon Sweden 2014 will take place in Stockholm on May 20-21, and you should be there!

  14. Basic Python course in Karlskona

    I will be giving a course in basic Python in Karlskrona on March 27.

  15. Embedding Jython in Java Applications

    I just had an article on Jython embedding appear over at Smartbear.

  16. I accidentally the server

    Some of you may have noticed that BitSyncHub (and my company homepage) went down for almost three days this week.

  17. Since I got several requests for BitSyncHub to support BitBucket Git repository synching to GitHub, I went ahead and added the functionality.

  18. Synchronize Bitbucket to Github automatically

    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)

  19. See you in Florence this summer?

    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

  20. The other day I needed to download some zip files, unpack them, parse the CSV files in them, and return the data as dicts.

  21. WGS-84 distance calculations at the speed of C

    When we started with fleet management at Visual Units, one thing was really hard to get right – distance calculations.

  22. pyRest part 5: You can actually use this

    (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…

  23. pyRest part 4: Separating the parts

    (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.

  24. pyRest part 3: Routing and responsibilities

    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.

  25. pyRest part 2: Hooking the API

    In part 1, a very unexciting base CherryPy implementation was all we had, but now it’s time to hook up something real!

  26. Simple REST-ful (-ish) exposure of Python APIs

    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…

  27. Sending non-valid names as arguments

    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

  28. See me on an island!

    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!

  29. You should send a presentation proposal to PyCon

    Next year, in March, I will be at PyCon.

  30. Using the AST to hack constants into Python

    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.

  31. EuroPython impressions

    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.

  32. You deserve practice

    I enjoyed The Clean Coder by Uncle Bob, and would recommend it to any serious developer.

  33. Version 1.2.0 of hgapi released

    hgapi is a pure-Python API for Mercurial, which uses the command-line interface for maximum compatibility.

  34. Protocol specifications written in Python

    This is a writeup of a talk I did recently at Software Passion Summit in Gothenburg, Sweden.

  35. PyCon 2012 – the other stuff

    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…

  36. [rant] Dare to show your code

    My name is Fredrik, and sometimes I write code I’m not that proud of.

  37. Python Closures and Decorators (Pt. 2)

    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.

  38. Python Closures and Decorators (Pt. 1)

    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

  39. (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

  40. Python API to git: gitapi

    Train rides can be good – if not creativity, then at least boredom-induced productivity.

  41. Why Python is important for you

    I believe that Python is important for software development.

  42. Using Python to get rid of .doc

    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…

  43. Mercurial in Python 3: promoting hgapi

    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).

  44. What’s the point of properties in Python?

    A few days ago I was asked by a collegaue what the point of properties in Python is.

  45. hgapi 1.1.0

    As a belated christmas gift, I just released hgapi version 1.1.0.

  46. Problem exist between chair and keyboard

    It was pointed out to me that an entry was missing.

  47. Jenkins

    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…

  48. Autohook updated

    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.

  49. Tools for better Python

    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.

  50. Styling

    New style thanks to @markuseliasson – anything ugly is because of my adaptions, anything looking great is his work.