Language Selection

English French German Italian Portuguese Spanish

today's howtos

More in Tux Machines

Programming Leftovers

  • Using cURL in Python with PycURL

    In this tutorial, we are going to learn how to use PycURL, which is an interface to the cURL library in Python. cURL is a tool used for transferring data to and from a server and for making various types of data requests. PycURL is great for testing REST APIs, downloading files, and so on. Some developers prefer using Postman for testing APIs but PycURL is another suitable option to do so as it supports multiple protocols like FILE, FTPS, HTTPS, IMAP, POP3, SMTP, SCP, SMB, etc. Moreover, PycURL comes in handy when a lot of concurrent, fast, and reliable connections are required. As mentioned above, PycURL is an interface to the libcURL library in Python; therefore PycURL inherits all the capabilities of libcURL. PycURL is extremely fast (it is known to be much faster than Requests, which is a Python library for HTTP requests), has multiprotocol support, and also contains sockets for supporting network operations.

  • Faster Winter 3: Difference Lists

    Today, we will tackle the big bad memory leak that eats up my laptop’s memory. A quick look at the heap profile (+RTS -h) showed that the memory was filling up with lists. Not very helpful, as lists are everywhere. So I looked through the hot code of the interpreter, eval, step and instr in Wasm.Exec.Eval to see if anything fishy is going on. I found some uses of the list concatenation operator (++) – always a bad sign, as it has to traverse the list on its left completely! And often the solution is pretty simple: Use difference lists! It’s even simpler than the name makes it sound like. It does not require you to import anything new, and works well everywhere where you assemble a list in multiple stages, but use it, in its full form, only once at the end.

  • Fabric-licious Raspberry Pi projects - Raspberry Pi

    I’m currently (re)learning how to knit. Here are some textile-themed Raspberry Pi projects for the yarn-curious.

  • [ Perl | Raku | The ] Weekly Challenge - 2020

    It has been wonderful journey so far in the year 2019. When I started the journey in March, I didn’t know it would take this shape. All credit goes to the support of Perl/Raku community in general. It would be unfair if I pick few names. You know who I am talking about anyway. Let me share the story with you all.

Audiocasts/Shows: System76, Pinebook and "The Linux Defender"

3 emerging open source projects to keep an eye on

The exciting thing about open source is that nobody needs permission to try something new. That's a formula that allows new ideas to emerge all the time. Here are three open source projects that are still in their early stages but show real promise. This Linux is utterly unapologetic in catering to technology hobbyists, enthusiasts, and power users. It's for the amateurs, in that best and most original sense of the word—those who love what they do. Awesome. So isn't Endeavour the perfect name? If what you want is to roll your sleeves up and level up while still enjoying a gentle start and a friendly community, this could be a great way to go about it. Read more

Android Leftovers