Skip to content

Instantly share code, notes, and snippets.

View jounih's full-sized avatar

Jouni Helminen jounih

  • Helmion Ltd
  • London UK
View GitHub Profile
@jounih
jounih / 18-4-18-notes-signaling-permissions-id-apps.txt
Created April 18, 2018 18:28
18 April 2018 - Notes from Signaling, Permissions and ID brainstorming with Pierre and Brett
Signaling
-Should probably call this app Surveys for clarity
-Similar to Vote app, but Surveys are non-binding and have no actions attached to them
-When creating a survey you need to define:
-Survey name/description
-a minimum of 2 options, after 10 options (or certain character count) we should probably tell the user it will get costly
-Quorum (rename this to Participation) - would this be definable per survey or a global constant?
-Github issue (optional)
-Surveys main page would show the surveys similarly to how the Vote app shows current and past votes - except we probably want to limit the number of survey results shown here to top 3 (and show more...) to save vertical space, and show the rest on clicking to the 2nd level page - single survey details page
@jounih
jounih / ara-ui-tasks.txt
Created April 10, 2018 07:32
Aragon UI tasks brainstorm with Pierre
-Home app
-rename to Activity
-add tabs for my activity and DAO activity
-condense the activities into a smaller listview, think about mobile version
-remove bottom network bar, maybe add it to sidebar and only show when connection error
-add empty state for "my activity" - unlock your wallet to see
-think about a "Help" app?
-design branching transaction paths - maybe 2 branches max, something else for more branches, perhaps details screen - speak with Oli
-try out a redesign: 1st level: cards with a beginning and current step as 1st level. 2nd level: vertical timeline showing all steps

Keybase proof

I hereby claim:

  • I am jounih on github.
  • I am jounih (https://keybase.io/jounih) on keybase.
  • I have a public key ASA5e2-vEqDRa3iiNO4HwanWr9GkK6NCHYqYuVyYVy1vsQo

To claim this, I am signing this object:

@jounih
jounih / gist:ab5b8a1616f17b0ac7e4d4b20fd8a5dc
Created August 26, 2016 14:29
AMD OpenCL on Ubuntu 16.04
1) patch kernel module that does not otherwise build on 4.x (thank God someone had already done most of the job...I think it was https://bluehatrecord.wordpress.com/2016/03/25/installing-the-proprietary-amd-crimson-driver-on-fedora-23-with-linux-kernel-4-4-6-300/ even though last time I tried that post wasn't out yet, I used a previous one from the same guy in March),
2) uninstall any OpenCL-related Mesa package/file, as otherwise the system would always try to run Mesa,
3) build the AMD packages using —NoXServer (the web is full of people saying you can't do OpenCL without X on AMD, and then today I found this flag...),
4) copy amdpcsdb.default as suggested by http://www2.ati.com/relnotes/amd-catalyst-graphics-driver-installer-notes-for-linux-operating-systems.pdf
[24.05.16][23:48]^D5/<^D?/ faenil^D5/>^D8/ | ^DgM-bobsummerwill1: I have to uninstall any OpenCL-Mesa relate pkg, so that it uses AMD -OpenCL
[24.05.16][23:51]^D1/<^D7/ ^C13M-bobsummer^D1/> ^D8/|^Dg Right. And that one closed source one does
[2016-08-10:05:24:53.137] qtmir.screens: ScreensModel::ScreensModel
[2016-08-10 05:24:53.140656] mirplatform: Found graphics driver: mir:mesa-x11 (version 0.23.5)
[2016-08-10 05:24:53.141388] mirplatform: Found graphics driver: mir:mesa-kms (version 0.23.5)
[2016-08-10:05:24:53.141] qtmir.mir: MirServer created
[2016-08-10:05:24:53.141] qtmir.mir: Command line arguments passed to Qt: ("unity8", "--mode=full-shell")
[2016-08-10 05:24:53.144894] mirserver: Starting
[2016-08-10 05:24:53.163140] mirserver: Using nested cursor
[2016-08-10 05:24:53.171507] mirserver: Initial display configuration:
[2016-08-10 05:24:53.171792] mirserver: 0.19: (null) 0.0" 0x0mm
[2016-08-10 05:24:53.171827] mirserver: Current mode 2880x1800 60.00Hz
[2016-08-10 05:24:49.500176] mirplatform: Found graphics driver: mir:mesa-x11 (version 0.23.5)
[2016-08-10 05:24:49.500930] mirplatform: Found graphics driver: mir:mesa-kms (version 0.23.5)
[2016-08-10 05:24:49.504234] mirserver: Starting
[2016-08-10 05:24:49.504486] mircommon: Loading modules from: /usr/lib/x86_64-linux-gnu/mir/server-platform
[2016-08-10 05:24:49.504545] mircommon: Loading module: /usr/lib/x86_64-linux-gnu/mir/server-platform/server-mesa-x11.so.9
[2016-08-10 05:24:49.505285] mircommon: Loading module: /usr/lib/x86_64-linux-gnu/mir/server-platform/graphics-mesa-kms.so.9
[2016-08-10 05:24:49.505307] mircommon: Loading module: /usr/lib/x86_64-linux-gnu/mir/server-platform/input-evdev.so.5
[2016-08-10 05:24:49.506522] mirplatform: Found graphics driver: mir:mesa-x11 (version 0.23.5)
[2016-08-10 05:24:49.507087] mirplatform: Found graphics driver: mir:mesa-kms (version 0.23.5)
[2016-08-10 05:24:49.507228] mirserver: Selected driver: mir:mesa-kms (version 0.23.5)