Wieder was gelernt

Optimizing SQLite for servers

2024-07-21 (Sunday)
Tags: SQLite performance programming Django

Sylvain Kerkour, February 15, 2024: Optimizing SQLite for servers

Critical Program Reading

2022-12-27 (Tuesday)
Tags: programming history

Critical Program Reading (1975) - 16mm Film

Stop

2022-11-05 (Saturday)
Tags: programming programming environments talk youtube

“Stop Writing Dead Programs” by Jack Rusher (Strange Loop 2022)

Python Web Framework Cheat Sheet

2022-11-01 (Tuesday)
Tags: Flask FastAPI Django Web Python Programming Reference

Feature Flask FastAPI Django Variable rules in routes <type:variable> [R] Return HTTP error abort(code) [R] Statt dem Code kann man auch ein Response-Objekt angeben, z.B. abort( make_response( jsonify(message="Post not found"), 404 ) ) raise HTTPException(status_code=, detail=, headers=) [R] return HttpResponse(status_code=404) . For some status codes there are also predefined subclasses, so for 404, we can use return HttpResponseNotFound() or even raise Http404()

Pull requests vs. Paired Programming

2022-04-15 (Friday)
Tags: Programming CI/CD Code Reviews

You NEED To Stop Using Pull Requests TLDR: PRs were invented for distributed projects with untrusted contributors. They are slow and inefficient and make CI/CD impossible (feature branches live for more than 1 day, which is his threshold). If you try to make it faster it becomes really annoying (because people are constantly interrupted and/or have to wait for others). But code has to be reviewed for quality reasons. Solution: Instead of doing a separate review step after the code has been written, do the review while it is being written — i.

The Problem with Time & Timezones - Computerphile

2021-09-04 (Saturday)
Tags: programming time timezones

The Problem with Time & Timezones - Computerphile

Legacycode

2021-03-12 (Friday)
Tags: documentation programming

Fefe’s talk at 36C3 O++ # No explicit license yet, but ... S++ # The source code is public and you can change it I++ # I have done this multiple times before. I know what I'm doing (but do you know what I'm doing?) C # I'm the only user I know about. E # Well, mostly. And the remaining case is simple M+ # For now. I may think of new features in the future V+ # Well, the updates aren't regular, but they shouldn't break anything !

Git Based Project Management Tools

2020-10-07 (Wednesday)
Tags: git programming project management workflow review bitbucket gitlab gitea

Bitbucket The Image comparison tool is very nice. You can view old and new images side by side, merged (whole image by percentage or with slider) and pixel differences. The price structure is a trap. 10 users are very cheap (USD 10 pa?) and starting with the 11th user it gets expensive (USD 1800 pa?). Still not very expensive, but the jump is huge. Can invite multiple reviewers. Flexible work flow

Test Phases

2020-09-23 (Wednesday)
Tags: testing programming TDD BDD

Daniel Terhorst-North and Chris Matts Meszaros Bill Wake Given Setup Arrange When Exercise Act Then Verify Assert Teardown

Syntax highlighting is a waste of an information channel

2020-08-03 (Monday)
Tags: programming editor syntax highlighting

Syntax highlighting is a waste of an information channel

Architectural Styles and the Design of Network-based Software Architectures

2020-07-03 (Friday)
Tags: rest programming history http

title Architectural Styles and the Design of Network-based Software Architectures author Roy Thomas Fielding published Dissertation, University of California, Irvine, 2000 url https://www.ics.uci.edu/~fielding/pubs/dissertation/fielding_dissertation.pdf

REST vs RPC

2020-07-01 (Wednesday)
Tags: programming API web REST RPC gRPC OpenAPI terminology

API design: Understanding gRPC, OpenAPI and REST and when to use them: the Remote Procedure Call (RPC) model, in which the addressable entities are procedures, and the data is hidden behind the procedures. In [REST], the addressable entities are “data entities” (called “resources” in the HTTP specifications), and the behaviors are hidden behind the data—the behavior of the system results from creating, modifying, and deleting resources. also: A signature characteristic of [REST] is that clients do not construct URLs from other information—they just use the URLs that are passed out by the server as-is.