Open in app

Sign In

Write

Sign In

David Obdržálek
David Obdržálek

19 Followers

Home

About

Oct 31, 2022

AI music will give you the creeps

Even if you live on Mars, you must’ve noticed the creative powers of AIs. Last few months, the internet was full of amazing, text or image generating artificial intelligence algorithms. One creative field seems to be left out. Music. My first music is not entirely mine I like electronic downtempo. Often I thought of composing some, but…

Music

3 min read

AI music will give you the creeps
AI music will give you the creeps
Music

3 min read


Oct 8, 2022

Apple Wallet Discount Cards for Modern Gastronomy

My dear friend & client has just recently opened a bar, K7, just in the middle of Prague’s hip–famous Krymská street. As he wanted to offer discounts to his soon to be regulars, we did a brief brainstorm. How to offer customers loyalty cards, without handing them a plastic thing…

Apple Wallet

3 min read

Apple Wallet Discount Cards for Modern Gastronomy
Apple Wallet Discount Cards for Modern Gastronomy
Apple Wallet

3 min read


Aug 30, 2022

Creative AI Battle: DALL·E vs Midjourney

July 2022 has brought us public betas of two impressive AI services for generating original images from text, OpenAI’s DALL·E 2 and Midjourney. Both AIs offer similar “tell me what to paint” (text to image) service. Both use diffusion algorithms to reduce initial noice to an image matching your prompt…

Midjourney

5 min read

Creative AI Battle: DALL·E vs Midjourney
Creative AI Battle: DALL·E vs Midjourney
Midjourney

5 min read


Apr 10, 2022

Making KioskPi — custom Raspberry Pi OS image using pi-gen

How to make use of Pi-Gen, a tool used to create Raspberry Pi OS images. Today, we’re gonna create our own Pi OS image featuring a Web-Based Kiosk with HDMI-CEC control. Minimalistic and performance-oriented. No desktop environments or Chromes to slow us down. My specific use case is making a…

Raspberry Pi

6 min read

Making KioskPi — custom Raspberry Pi OS image using Pi-Gen
Making KioskPi — custom Raspberry Pi OS image using Pi-Gen
Raspberry Pi

6 min read


Jan 24, 2022

Error Boundary for Next.js API routes

Next.js ships with a simple, yet powerful router for JSON / REST APIs. There are, however, two features I’ve found missing. Error boundary and HTTP method recognition. Let’s have a look how to handle them. TLDR: npm i next-api-wrapper Exceptions and Errors By default, any Error thrown within an API route will result…

Nextjs

4 min read

Error Boundary for Next.js API routes
Error Boundary for Next.js API routes
Nextjs

4 min read


Jun 11, 2020

MySQL as smart JSON storage

I’ve been using this semi-relational, or SemiSQL, if you’d like, approach to SQL since around 2009. At first, I’d store the data as text or longtext types using PHP’s serialize(), but then I quickly moved to JSON. In late 2015, with MySQL 5.7.8, our prayers were answered and the native…

My SQL

6 min read

MySQL as smart JSON storage
MySQL as smart JSON storage
My SQL

6 min read


Jul 14, 2019

How to rename currently operating Linux user

You can easily run into this with almost any VPS provider. You set up a new instance and login with a generic username and a certificate. But you don’t want to be ubuntu, because you’re dave and your UID=1000 😉 How to rename yourself The Hot Wire Way Just modify the data in /etc/passwd, /etc/shadow and /etc/group. …

Linux

2 min read

How to rename currently operating Linux user
How to rename currently operating Linux user
Linux

2 min read


Jul 14, 2019

Shortcut for sudo & other shell improvements

As everyone who works with Linux servers, I’ve typed sudo probably more then any other word. Ever. Here are some of my fav shell improvements I use. Shortcut sudo into just s Save yourslef 3/4 strokes every time. Make a bash alias, put this into ~/.bashrc: alias s='sudo' alias sus='sudo -s' Reenter your bash and…

Linux

3 min read

Shortcut for sudo & other shell improvements [Linux how to]
Shortcut for sudo & other shell improvements [Linux how to]
Linux

3 min read


Jul 14, 2019

Cron backups into remote chroot using rsync

A lot of us use cron & rsync -e ssh for backups. On the backup server, we’d love to chroot for many obvious reasons, but chroot breaks rsync. I’m sure you’ve tried & seen something like this: rsync error protocol version mismatch -- is your shell clean? Here’s my full…

Linux

3 min read

Cron backups into remote chroot using rsync [Linux how to]
Cron backups into remote chroot using rsync [Linux how to]
Linux

3 min read

David Obdržálek

David Obdržálek

19 Followers

Creative Programmer @ ΔO [deltazero.cz]

Following
  • Adam, Diabetic Cyborg

    Adam, Diabetic Cyborg

  • Joshua Otwell

    Joshua Otwell

  • Andrea Giammarchi

    Andrea Giammarchi

  • alex jae mitchell

    alex jae mitchell

  • Aneta Birnerová

    Aneta Birnerová

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech