This article aims to detail that basic ways that we develop software at SMOK sp.z o. o. You might also want to read another article about SMOK, namely SMOK – a study of a case. What is SMOK and why is the example important? SMOK is a company that’s been founded around 2018 by two accomplices… Continue reading How does software development work at SMOK
Tag: python
Designing stuff in Python
While navigating the murky waters of writing not only correct but also extendable, easy-to-read, well just let’s say it’s good code, I’ve had a lingering thought. How to I write my code to be testable? What are the guidelines to testing? Here go my considerations from today. The Environment design pattern This is the pattern you’d… Continue reading Designing stuff in Python
Some words about Python to prior Java programmers
tl;dr – if you class name ends with Collector, Executor or Task, did you consider writing collect(), execute() or task() instead? Dude, not everything is a class. In Java, you cannot have free procedures. In Java if you wanted just a behaviour, you would define a class with a constructor and a single routine, say… Continue reading Some words about Python to prior Java programmers
What I know about gamedev
Today, a realization struck me. In my life I have published 2 fully featured games (along with the domain and so on). This theoretically grants me the right to do a short ex-cathedra. What games did you make? I made two fully-featured games. First of them was called Bellum, and was essentially a browser-based strategy… Continue reading What I know about gamedev
How an upgrade to Cassandra 4.0.5 broke my Python
I’ve got a bunch of Python 2.7 code hooked up to Cassandra storing there blobs. Cassandra had no problem with returning a bytes or a string. Anyway. Here I switch to Cassandra 4 Suddenly the blobs I expected to be returned just as I put them, Cassandra responded with either a pronounceable blob or a… Continue reading How an upgrade to Cassandra 4.0.5 broke my Python
SMOK – a study of a case
What happens if you jack the operator price so high you won’t be able to afford him on call? Hell yeah, let’s jump into the study of a case of my favourite system, SMOK. Actually a big shout out to the friend who inspired this blog post who (in)famously asked me “well, with real cash… Continue reading SMOK – a study of a case
Python function attributes – the proper guide
Please note that today’s article is kindly sponsored by Reboot Motion. Totally go to their website and check them out! Seeming as the Internet is lacking in these kinds of resources. I endeavored to do some research of mine. Basically I was looking to writing a class that would either catch an error and re-raise… Continue reading Python function attributes – the proper guide
The time two guys hacked HMRC
Once upon a time (not so recent ago, up to a year) my friend who used to work at FedEx (totally check him out, he’s an amazing person) briefed me upon the scandalous situation on the VAT databases access layers. Presumedly, the entire market is owned by an Austrian operator, who (at the time of… Continue reading The time two guys hacked HMRC
How I cheated the Python interpreter
During my first hours of reckoning working on chad I came down with a problem. Since we try to exploit the model of monorepo we’ve decided that we’ll have our frontend served by the backend. It is generally a very bad idea and an anti-pattern, but since we’ll be building the backend and frontend from… Continue reading How I cheated the Python interpreter
ElasticSearch + Python
This post is dedicated to using ElasticSearch in Python. If you already know Python, and some theory about both SQL and NoSQL databases, this article will be a great fit for you. This article will essentially chronicle my adventure with ElasticSearch, while working on a new project, which will be unveiled I hope soon. This… Continue reading ElasticSearch + Python