Skip to content

Instantly share code, notes, and snippets.

View schmittlauch's full-sized avatar
🦥

Trolli Schmittlauch schmittlauch

🦥
View GitHub Profile
@schmittlauch
schmittlauch / keybase.md
Created March 29, 2014 22:36
/me on Keybase

Keybase proof

I hereby claim:

  • I am schmittlauch on github.
  • I am schmittlauch (https://keybase.io/schmittlauch) on keybase.
  • I have a public key whose fingerprint is F9DC 1F5D 9D64 8925 AC7B 6CE2 E06A C616 EC5E 413B

To claim this, I am signing this object:

#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 3.14.14-gentoo Kernel Configuration
#
#
# Gentoo Linux
#
CONFIG_GENTOO_LINUX=y
CONFIG_GENTOO_LINUX_UDEV=y
@schmittlauch
schmittlauch / sfos-browser-crashlog.txt
Created February 18, 2017 13:46
output of journalctl -f -l when trying to open https://www.haribo.com/deDE/news/raetsel-edition.html on Jolla1 with sfos 2.1.0.9
-- Logs begin at Do 2017-02-16 23:13:28 CET. --
Feb 18 02:33:26 Sailfish lipstick[923]: [D] unknown:0 - void CoverActionModel::update() Clearing model
Feb 18 02:33:26 Sailfish invoker[1165]: WARNING: requestActivate() called for QQuickView(0x880b88) which has Qt::WindowDoesNotAcceptFocus set.
Feb 18 02:33:26 Sailfish fingerterm[1095]: [D] unknown:0 - unhandled ansi sequence 'h' (1034) "?"
Feb 18 02:33:44 Sailfish fingerterm[1095]: [D] unknown:0 - unhandled ansi sequence 'h' (1034) "?"
Feb 18 02:33:47 Sailfish fingerterm[1095]: [D] unknown:0 - unknown special key: 67108864
Feb 18 02:33:48 Sailfish systemd[837]: Time has been changed
Feb 18 02:33:48 Sailfish systemd[1]: Time has been changed
Feb 18 02:33:50 Sailfish fingerterm[1095]: [W] unknown:0 - Ctrl+ '>' does not translate into a control code
Feb 18 02:33:57 Sailfish wpa_supplicant[902]: wlan0: WPA: Group rekeying completed with 38:10:d5:d5:f7:3a [GTK=CCMP]
@schmittlauch
schmittlauch / gpodder_ssl.log
Created February 19, 2017 23:48
log of gpodder-sailfish version 4.6 failing to verify an SSL cert of an episode to download
[D] unknown:0 - Using Wayland-EGL
[W] unknown:0 - Could not find any zN.M subdirs!
[W] unknown:0 - Theme dir "/usr/share/themes/jolla-ambient/meegotouch/z1.0/" does not exist
[W] unknown:44 - file:///usr/share/harbour-org.gpodder.sailfish/qml/common/GPodderPlayback.qml:44:38: QML Connections: Cannot assign to non-existent property "onAudioBecomingNoisy"
[D] onCompleted:334 - Warning: specifying an object instance for initialPage is sub-optimal - prefer to use a Component
[W] unknown:45 - file:///usr/share/harbour-org.gpodder.sailfish/qml/common/GPodderPlayback.qml:45: ReferenceError: platform is not defined
[D] :52 - gPodder Core 4.6.0
[D] :53 - gPodder QML UI 4.6.0
[D] :54 - Podcastparser 0.6.0
[D] :55 - PyOtherSide 1.4.0
@schmittlauch
schmittlauch / gist:ea1d68de4e0aa0be77103d1e715fdebc
Created March 20, 2017 13:39
SFOS browser (2.1.0.9) crashing while loading https://jolla.com/ in private mode
Mar 20 14:24:21 Sailfish lipstick[943]: [D] unknown:0 - stop devicelock timer
Mar 20 14:24:25 Sailfish booster-browser[3645]: [D] unknown:0 - Using Wayland-EGL
Mar 20 14:24:25 Sailfish booster-browser[3645]: [W] unknown:0 - Could not find any zN.M subdirs!
Mar 20 14:24:25 Sailfish booster-browser[3645]: [W] unknown:0 - Theme dir "/usr/share/themes/jolla-ambient/meegotouch/z1.0/" does not exist
Mar 20 14:24:26 Sailfish ohmd[411]: *** resource_request: register 24
Mar 20 14:24:27 Sailfish [3395]: [D] onCompleted:103 - ViewPlaceholder requires a SilicaFlickable parent
Mar 20 14:24:27 Sailfish [3395]: [W] unknown:34 - file:///usr/share/sailfish-browser/pages/components/FavoriteItem.qml:34:5: QML FavoriteIcon: Error transferring http://images.zeit.de/static/img/favicon.ico - server replied: Not Found
Mar 20 14:24:27 Sailfish ohmd[411]: *** resource_request: audio 24
Mar 20 14:24:27 Sailfish ohmd[411]: *** resource_request: update 24
Mar 20 14:24:27 Sailfish lipstick[943]: [D] unknown:0 - void CoverActionM
@schmittlauch
schmittlauch / gist:30329a376f168efae9147916463511c5
Created March 20, 2017 13:50
journalctl output of sailfish browser crash
-- Logs begin at So 2017-02-26 10:52:29 CET. --
Feb 27 10:03:26 Sailfish kernel: [<c089fc84>] (__schedule+0x570/0x7a4) from [<c08a0310>] (schedule_preempt_disabled+0x24/0x34)
Feb 27 10:03:26 Sailfish kernel: [<c08a0310>] (schedule_preempt_disabled+0x24/0x34) from [<c089ef9c>] (__mutex_lock_slowpath+0x174/0x1cc)
Feb 27 10:03:26 Sailfish kernel: [<c089ef9c>] (__mutex_lock_slowpath+0x174/0x1cc) from [<c089f048>] (mutex_lock+0x54/0x6c)
Feb 27 10:03:26 Sailfish kernel: [<c089f048>] (mutex_lock+0x54/0x6c) from [<c0380cb0>] (btrfs_log_inode_parent+0x190/0x35c)
Feb 27 10:03:26 Sailfish kernel: [<c0380cb0>] (btrfs_log_inode_parent+0x190/0x35c) from [<c0380eb4>] (btrfs_log_dentry_safe+0x38/0x50)
Feb 27 10:03:26 Sailfish kernel: [<c0380eb4>] (btrfs_log_dentry_safe+0x38/0x50) from [<c0355818>] (btrfs_sync_file+0x1e0/0x254)
Feb 27 10:03:26 Sailfish kernel: [<c0355818>] (btrfs_sync_file+0x1e0/0x254) from [<c0260fd4>] (vfs_fsync+0x20/0x28)
Feb 27 10:03:26 Sailfish kernel: [<c0260fd4>] (vfs_fsync+0x20/0x28) from [<c0261174>]
@schmittlauch
schmittlauch / gist:3b56d49ee769dd51aad4223c8971304d
Created April 4, 2017 22:16
journalctl output after browser crash on SailfishOS 2.1.0.10 with an only 2 days old ~/.mozilla profile
Apr 02 20:47:35 Sailfish kernel: PM: suspend entry 2017-04-02 18:47:35.047074582 UTC
Apr 02 20:47:55 Sailfish kernel: Freezing user space processes ... (elapsed 0.03 seconds) done.
Apr 02 20:47:55 Sailfish systemd[1]: Time has been changed
Apr 02 20:47:55 Sailfish kernel: Freezing remaining freezable tasks ... (elapsed 0.02 seconds) done.
Apr 02 20:47:55 Sailfish kernel: Suspending console(s) (use no_console_suspend to debug)
Apr 02 20:47:55 Sailfish kernel: l3gd20_gyr 12-006a: suspend
Apr 02 20:47:55 Sailfish kernel: [TP] synaptics_suspend() +++
Apr 02 20:47:55 Sailfish kernel: [TP] synaptics_suspend() ---
Apr 02 20:47:55 Sailfish kernel: PM: suspend of devices complete after 37.589 msecs

My Darktable Workflow

Basic workflow

  • Copy a film roll (a directory of RAW images) into a directory on the machine running Darktable.
  • Import the film roll into Darktable.
  • Review the images using lighttable mode and remove any images that are beyond repair.
  • Take a snapshot of the image so we can do a before and after comparison.
  • Adjust the white balance.
  • Exposure compensation and recovery.

DISCLAIMER: I'm quite new to Qt, QML and SailfishOS development.
But after researching for a while, I didn't find a flawless way to test QML applications.

current situation

  • testing framework: QtTest with TestCase QML type
    • write tests in javascript
  • tests can be run in 2 different ways:
    • C++ harness with QUICK_TEST_MAIN macro
  • qmltestrunner (separate program, can be depended on as a package)
@schmittlauch
schmittlauch / rfc_darktable_groups.md
Last active May 1, 2019 18:43
RFC: behaviour of groups in Darktable

maybe start writing up what should happen when, in a simple (hierarchical) text file. like, when grouping mode is on, then: else: also take into account if the group is expanded

another example: duplictaes get grouped, too. tagging one of them with the intended prupose (name of a client for example) shouldn't do that for all versions of the image so are ratings. they are things applied to an image that might be grouped

RFC: Behaviour of grouping in darktable

  • related to issue #8968
  • use cases for groups:
  • automatical grouping of RAW+JPEG on import