Tuesday, 12 February 2019

Notes from DDD Europe 2019 - different topics

Few general notes for myself and maybe for others from DDD Europe 2019 from Amsterdam

General ideas

Mob programming might be suitable for sharing knowledge between team members/colleagues - try to have mob programming session every 2 weeks with colleagues - refactoring of code/improvements

If you think that an idea is crazy and it will not work, think about it once more. You can maybe try it if you have nothing to lose (some people think mob programming is crazy and it doesn't work, some people use it successfully for knowledge sharing)


Modeling

  • too many people slow down the process
  • concrete examples help find the gaps
  • there is no single answer, it always depends on the context

Modeling towards the 1st principles

  • everyone wants to be the solver of the problem
  • developers get the solutions, not the problems -> lack of trust
  • sometimes a solution pretends to be the problem
  • small optimizations vs thinking from scratch -> completely new model
  • there is nothing like domain not connected with technology -> it just uses the technology of the past (paper, cars, telephone ...)

Aggregates / Microservices

You want to have the information where you need to take the decision -> you don't want to make 5 synchronous calls to be able to make a decision

How to sell things to business

  • use metaphors
  • have a clear message -> thing about the language -Tech vs Non-tech
  • repeat it!
  • some things take time, accept it, be prepared for it

Notes from DDD Europe 2019 - Alberto Brandolini - Event storming / Modeling

Few headlines/notes for myself and maybe for others from the talk of Alberto Brandolini from DDD Europe 2019  Amsterdam



Diversity is important - everyone has its blind spots

Each group is different - needs different processes

Spice up the modeling with gamification?

Say thinks laud to verify that you are right.

More alternatives? -> pick one, make others visible and ignore them for now

Keep the discussions on the board, for all discussions there must be a sticky note on the board

Challenge the model, what are the weaknesses and strengths?

Can you share your incomplete work? -> Try it!

Personalities differ - Respect your peers

You don't have to be the hero

Regular breaks are needed if the modeling is longer

Sunday, 22 July 2018

XScreenSaver autolock on suspend Fedora 28

Lock screen after suspend in Fedora.
sudo vim /etc/systemd/system/xscreensaver.service
Content of the file:
[Unit]
Description=Lock X session using xscreensaver
Before=sleep.target

[Service]
User=ptacnikt
Type=oneshot
Environment=DISPLAY=:0
ExecStart=/usr/bin/xscreensaver-command -lock

[Install]
WantedBy=sleep.target

systemctl enable xscreensaver.service

Try to close and open the lid.

Saturday, 10 February 2018

Touchpad config fedora 27 - libinput

Natural scrolling (mac-like) and touchpad tap enabled.
sudo vim /etc/X11/xorg.conf.d/30-touchpad.conf
Content of the file:
Section "InputClass"
    Identifier "touchpad"
    Driver "libinput"
    MatchIsTouchpad "on"
    Option "Tapping" "on"
    Option "TappingButtonMap" "lmr"
    Option "NaturalScrolling" "true"
EndSection
Logout, login, done.

Friday, 15 September 2017

How to format USB stick in Fedora LXDE via terminal


I always forget this, therefore, I'm writing this really short article as a note.

It's a solution that works for me described on ask.fedoraproject.org

Change to super mode
sudo su

List volumes on your PC
[root@mynotebook ptacnikt]# df
Filesystem                         1K-blocks     Used Available Use% Mounted on
/dev/sda1                             999320   195976    734532  22% /boot
/dev/sdb1                            1305600  1305600         0 100% /run/media/ptacnikt/Xubuntu 17.04 amd64

The USB stick might be /dev/sdb1 like in my case

Unmount it
umount /dev/sdb1

Format it
mkfs.vfat /dev/sdb1

Plug it out, plug it in again and it should work. Done.