Łukasz Wieczorek's blog A slice of programmer's life

Diablo IV

It works! Lets polish it! Enhappy it. Make it editable.

  • Logout other players info bar visible on black screen. Should paint it black too.
  • The character selection screen fails selection after difficulty changing.
  • Character difficulty setting discarded when choosing and playing some other hero instead.
  • Retalking the character hero slots count.
  • Retalking about tempering plans missing in collection.
  • Fajira prices.
  • Jeweler costs.
  • Alchemist offer.
  • Remove X level sign from mercenary name.
  • Right/left ring/weapon which is.
  • Solo wardrobe, stable. Non-equitable once set somewhere.
  • Same output double sorting.
  • Empower shops. Disjoint shops.
  • Let herbs be.
  • Hide Tejal card; hidden cards list.
  • Rework door and teleport and cellar systems.
  • Pit system for starting up post game load.

Helix

Helix is my newest favourite editor.

Before opening:

which -a hx
brew install helix
hx --version
hx Notes.md
hx --tutor

To exit:

:q
:q!
:x
:wq

To navigate:

h j k l # train this with muscles
gh # home
gl # end
gg # document beginning
e # document end

In visual mode:

d # delete
x # visual line select
i # insert
a # append
A # apend at line end
y # yank
space + Y # yank to system clipboard
p # paste
space + p # paste system clipboard
u # undo
ctrl + U # redo

In insert mode:

esc # escape to visual mode

Note

Will be adding shortcuts as used.

Tool driving

What is the common in scripts.

  • Version printer.
  • Help printer.
  • Arguments count must be proper.
  • Arguments are taken into tuples (what, what value).
  • Arguments have well known types in libraries for CLIs.
  • Script contains main method.
  • Scripts contain echo step by step explanation.
  • Scripts contain colouring statements.
  • Scripts call blobs.
  • Scripts source files.
  • Scripts use flags (set -eu).
  • Scripts have a starting untold directory.
  • Scripts have a way to know where they are placed at (dirname (status –current-filename)).
  • Scripts have a $status, $? mechanism.
  • Scripts do not scale.