profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/orestisfl/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Orestis Floros orestisfl @KTH Stockholm, Sweden

Airblader/i3 5243

i3-gaps – i3 with more features (forked from https://github.com/i3/i3)

KTH/slumps 29

Research project on Software Technology for WebAssembly WASM (on superoptimization, diversification, fuzzing)

orestisfl/daedalus-sfhmmy9 2

Repository for team's "Daedalus" sfhmmy9 project

KTH/swam 1

WebAssembly engine in Scala

orestisfl/ethmmy-to-rss 1

A script to convert announcements from eTHMMY to rss feeds

issue commenti3/i3

focus not following mouse unless click or crossing window border

@mankinskin I don't think we will be extending i3's behavior on this aspect. It might be possible to implement this in a wm-agnostic way.

We are generally happy with the current feature set of i3 and instead focus on maintenance such as stability and fixing bugs. New features will rarely be considered if they require additional configuration and/or commands, or if they add significant complexity (either through the exposed configuration or mental complexity) to the project.

https://github.com/i3/i3/blob/next/.github/CONTRIBUTING.md

mmlb

comment created time in a day

PR closed i3/i3

Implement window icon positioning configuration

Enhance the work that landed in #4439 by allowing customisation of the icon position.

This feature defaults to following the title alignment, and can be tuned for individual windows to be on the left (which is the behaviour prior to this commit) or on the right.

+193 -33

5 comments

12 changed files

iscgar

pr closed time in a day

pull request commenti3/i3

Implement window icon positioning configuration

Thanks for bringing this to our attention. My understanding is that we should close this PR now and fix the buggy behavior before the next release. I opened #4464 for this purpose.

iscgar

comment created time in a day

issue openedi3/i3

Window icons should follow title alignment

As discussed in #4453

I'm submitting a…

<!-- Please check one of the following options with "x" --> <pre> [x] Bug [ ] Feature Request [ ] Documentation Request [ ] Other (Please describe in detail) </pre>

Current Behavior

Window icons are always left-aligned

Expected Behavior

Window icons should follow the title's alignment. They don't need to support extra configuration options.

Reproduction Instructions

Use title_align center, run title_window_icon on on any window.

Environment

<!-- Please include your exact i3 version. Note that we only support the latest major release and the current development version. If you are using an older version of i3, please first update to the current release version and reproduce the issue there. --> Output of i3 --moreversion 2>&-: <pre> Binary i3 version: 4.19.2-103-gfc65ca36 © 2009 Michael Stapelberg and contributors (Getting version from running i3, press ctrl-c to abort…) Running i3 version: 4.19.2-103-gfc65ca36 (pid 546) Loaded i3 config: /home/orestis/.i3/config (main) (last modified: 2021-07-27T08:07:20 CEST, 103 seconds ago)

The i3 binary you just called: /usr/bin/i3 The i3 binary you are running: i3 </pre>

created time in a day

issue closedi3/i3

i3bar - Grouping and spacing statusline blocks

I'm submitting a…

<pre> [ ] Bug [x] Feature Request [ ] Documentation Request [ ] Other (Please describe in detail) </pre>

Desired Behavior

i3bar should be able to divide statusline blocks into (e.g.) 3 groups with spacing between so users can have X blocks appear on the left of the bar, Y in the centre, and any remaining on the right.

Impact

<pre> [x] This feature requires new configuration and/or commands </pre>

A new command-line option and/or config command to set the number of blocks to put in each group.

Note:

  • I will implement the changes myself.
  • I'm also submitting this to i3-gaps but would PR it here preferentially.

closed time in a day

ChrisSwinchatt

issue commenti3/i3

i3bar - Grouping and spacing statusline blocks

Thanks for opening the issue. I think we're not looking to do this at this point since it doesn't add too much use, but is a pretty major change to i3bar.

+1

ChrisSwinchatt

comment created time in a day

issue commenti3/i3

i3bar: protocol for workspace buttons

There is PR #4311 that mostly works but I need to handle some issues regarding reading input line-by-line. ETA unknown.

xzfc

comment created time in 25 days

push eventkth-tcs/trustfull-demonstrator

Orestis Floros

commit sha 1199b09740709cf2653b013e2786117ccebf064f

Retry first ssh calls Also simplify ssh commands by removing indexed directories.

view details

Orestis Floros

commit sha d643c28a3c4565f74818c142cc81e896bee016e0

tally: Add --delete flag Allows re-tallying after a previous invocation of `tally` Fixes #12

view details

push time in a month

issue closedkth-tcs/trustfull-demonstrator

Allow re-tallying

Split from #9:

Exception in thread "main" com.verificatum.protocol.ProtocolError: Attempting to shuffle in a used session!

closed time in a month

orestisfl

issue commentkth-tcs/trustfull-demonstrator

Allow re-tallying

@monperrus Yes!

Just to add more context: it's possible to start a new election but after having the ciphertexts it's not possible to re-tally them through the script.

orestisfl

comment created time in a month

delete branch kth-tcs/trustfull-demonstrator

delete branch : media

delete time in a month

pull request commentkth-tcs/trustfull-demonstrator

Add more context

@monperrus Thanks, up

orestisfl

comment created time in a month

push eventkth-tcs/trustfull-demonstrator

Orestis Floros

commit sha 8b1ec54f8153ea0cc52d52085ef298373fb04914

Deploy webapp in demo.py

view details

Orestis Floros

commit sha c64e33e48d6e6ca45998fd9146d20b0caaf62f49

Rename optimized.wasm -> muladd.wasm

view details

Orestis Floros

commit sha fb87957db4d598fec94e98bea8b8f477ebcefd2b

Add instructions and muladd code

view details

Orestis Floros

commit sha 13a67371574394508097f4b5172591d8d756f6fb

Verify election with vmnv

view details

Orestis Floros

commit sha 4f064797bf0a65754a9974a66ac9b8d44b8e4d1b

Reformat

view details

Orestis Floros

commit sha 62f87594495bd1ed4f2d7774b65c8f6fff1b1895

Merge pull request #6 from kth-tcs/verifier Verify election with vmnv

view details

Orestis Floros

commit sha ae1980a3d66d53166ae5e54cf9a727db6a5c9cd7

Make bytetree.py vbt-compatible

view details

Simon Larsén

commit sha 2dc3dff724eabc3339d84a793720c3ac3fb843c7

Add link to Azure SSH key docs

view details

Orestis Floros

commit sha 6a7dffc30fcd64ce1e387a22a433722d2c45ea1c

Merge pull request #8 from slarse/add-link-to-key-creation-docs Add link to Azure SSH key docs

view details

Orestis Floros

commit sha 3bf4672c56b6ddfa86ac5a39be0669154e071e76

Add flag to identity file path & document it Fixes #7

view details

Orestis Floros

commit sha 33e5f3ca6e0bb1fee7e607899d4c178c7feed878

Use saner defaults if tally doesn't find `vbt` I'd rather not make the bytetree.py parser the default since it's just a naive port of verificatum's `vbt` and might not be 100% correct. Flags are slightly altered to be less verbose. The README is updated to explain `vbt`. Fixes #9

view details

Orestis Floros

commit sha 80f77b9227894cefc12b00e6cd924f420fa84650

Merge pull request #11 from kth-tcs/vbt Use saner defaults if tally doesn't find `vbt`

view details

Orestis Floros

commit sha f8460e48588f7309d1226d972cd8029a8e92f58c

Merge pull request #10 from kth-tcs/identity-file Add flag to identity file path & document it

view details

Orestis Floros

commit sha a60d1c697b5061dbef316be81998dc068ad7e45b

Merge pull request #3 from kth-tcs/deploy-webapp Deploy webapp in demo.py

view details

Martin Monperrus

commit sha 19b0cbea84b32c7c3378eab76812157d4cbbbfd8

Merge pull request #5 from kth-tcs/muladd

view details

Orestis Floros

commit sha b93bd3f020cbd91ffe3f836f2b4ef37e31f95a52

Add context paragraph

view details

Orestis Floros

commit sha db43a07429e9610abf0e871fdce100ab14b8acef

Add overview section

view details

Orestis Floros

commit sha 03d5576105796e4d2ad90f665e99227cbd67810f

Add context in the 'Starting the election process' subsection

view details

push time in a month

delete branch kth-tcs/trustfull-demonstrator

delete branch : deploy-webapp

delete time in a month

push eventkth-tcs/trustfull-demonstrator

Orestis Floros

commit sha 8b1ec54f8153ea0cc52d52085ef298373fb04914

Deploy webapp in demo.py

view details

Orestis Floros

commit sha a60d1c697b5061dbef316be81998dc068ad7e45b

Merge pull request #3 from kth-tcs/deploy-webapp Deploy webapp in demo.py

view details

push time in a month

delete branch kth-tcs/trustfull-demonstrator

delete branch : identity-file

delete time in a month

push eventkth-tcs/trustfull-demonstrator

Orestis Floros

commit sha 3bf4672c56b6ddfa86ac5a39be0669154e071e76

Add flag to identity file path & document it Fixes #7

view details

Orestis Floros

commit sha f8460e48588f7309d1226d972cd8029a8e92f58c

Merge pull request #10 from kth-tcs/identity-file Add flag to identity file path & document it

view details

push time in a month

issue closedkth-tcs/trustfull-demonstrator

Crash on running `demo.py start` as scp does not know which SSH key to use

After the start command has set up the VMs, I get a crash when the script tries to run scp.

Traceback (most recent call last):
  File "/home/slarse/Documents/github/work/trustfull-demonstrator/scripts/demo.py", line 752, in <module>
    sys.exit(main(parse_args()))
  File "/home/slarse/Documents/github/work/trustfull-demonstrator/scripts/demo.py", line 259, in main
    return globals()[f"{args.subparser_name}_main"](args)
  File "/home/slarse/Documents/github/work/trustfull-demonstrator/scripts/demo.py", line 310, in start_main
    vm.get_prot_info()
  File "/home/slarse/Documents/github/work/trustfull-demonstrator/scripts/demo.py", line 89, in get_prot_info
    scp(
  File "/home/slarse/Documents/github/work/trustfull-demonstrator/scripts/demo.py", line 476, in scp
    return subprocess.run(["scp", src, dest], check=True)
  File "/usr/lib/python3.9/subprocess.py", line 528, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['scp', 'vmn@94.245.109.30:~/election/0/protInfo.xml', '0-protInfo.xml']' returned non-zero exit status 1.

How is scp supposed to know which SSH key to use here? The IP addresses of the servers are dynamically allocated in Azure, so I can't configure by host.

I worked around this by putting a catch-all in my SSH config:

Host *
    User vmn
    IdentityFile ~/.ssh/azure_vmn

But that seems a little bit dirty? Do you have a better way of doing it?

closed time in a month

slarse

delete branch kth-tcs/trustfull-demonstrator

delete branch : vbt

delete time in a month

push eventkth-tcs/trustfull-demonstrator

Orestis Floros

commit sha 33e5f3ca6e0bb1fee7e607899d4c178c7feed878

Use saner defaults if tally doesn't find `vbt` I'd rather not make the bytetree.py parser the default since it's just a naive port of verificatum's `vbt` and might not be 100% correct. Flags are slightly altered to be less verbose. The README is updated to explain `vbt`. Fixes #9

view details

Orestis Floros

commit sha 80f77b9227894cefc12b00e6cd924f420fa84650

Merge pull request #11 from kth-tcs/vbt Use saner defaults if tally doesn't find `vbt`

view details

push time in a month

PR merged kth-tcs/trustfull-demonstrator

Use saner defaults if tally doesn't find `vbt`

@slarse I'd rather not make the bytetree.py parser the default since it's just a naive port of verificatum's vbt and might not be 100% correct.

Fixes #9

+36 -21

2 comments

2 changed files

orestisfl

pr closed time in a month

issue closedkth-tcs/trustfull-demonstrator

Crash after collecting votes due to not having `vbt` on path

I ran the tally command, and it crashed after collection due to vbt not being available

Traceback (most recent call last):
  File "/home/slarse/Documents/github/work/trustfull-demonstrator/scripts/demo.py", line 752, in <module>
    sys.exit(main(parse_args()))
  File "/home/slarse/Documents/github/work/trustfull-demonstrator/scripts/demo.py", line 259, in main
    return globals()[f"{args.subparser_name}_main"](args)
  File "/home/slarse/Documents/github/work/trustfull-demonstrator/scripts/demo.py", line 376, in tally_main
    vbt_json = vbt_count("plaintexts", vbt_call)
  File "/home/slarse/Documents/github/work/trustfull-demonstrator/scripts/demo.py", line 725, in vbt_count
    vbt_call(fname),
  File "/home/slarse/Documents/github/work/trustfull-demonstrator/scripts/demo.py", line 740, in _check_output_vbt
    subprocess.check_output(
  File "/usr/lib/python3.9/subprocess.py", line 424, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "/usr/lib/python3.9/subprocess.py", line 505, in run
    with Popen(*popenargs, **kwargs) as process:
  File "/usr/lib/python3.9/subprocess.py", line 951, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.9/subprocess.py", line 1821, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'vbt'

I figured "I'll just tally again with the bytetree parser", but VMN screamed bloody murder at that:

Exception in thread "main" com.verificatum.protocol.ProtocolError: Attempting to shuffle in a used session!

Suggested actions:

  1. Make the bytetree parser the default, as it's available in the project itself
  2. If using vbt, check that it's on the path before starting to collect votes
    • On that note, what is vbt? We should link to it in the README
  3. Perhaps disconnect the VMN part of producing the plaintext from the post-processing and uploading of that plaintext

Thoughts? 1. and 2. are trivial, I can do that if you agree they're good ideas. 3 is more work, we could have that as a TODO for the future.

closed time in a month

slarse

pull request commentkth-tcs/trustfull-demonstrator

Use saner defaults if tally doesn't find `vbt`

@slarse It's in https://github.com/verificatum/verificatum-vcr. After compiling should be in bin/vbt. make install will install it locally.

orestisfl

comment created time in a month

push eventkth-tcs/trustfull-demonstrator

Orestis Floros

commit sha 33e5f3ca6e0bb1fee7e607899d4c178c7feed878

Use saner defaults if tally doesn't find `vbt` I'd rather not make the bytetree.py parser the default since it's just a naive port of verificatum's `vbt` and might not be 100% correct. Flags are slightly altered to be less verbose. The README is updated to explain `vbt`. Fixes #9

view details

push time in a month

issue openedkth-tcs/trustfull-demonstrator

Allow re-tallying

Split from #9:

Exception in thread "main" com.verificatum.protocol.ProtocolError: Attempting to shuffle in a used session!

created time in a month

PR opened kth-tcs/trustfull-demonstrator

Use saner defaults if tally doesn't find `vbt`

@slarse I'd rather not make the bytetree.py parser the default since it's just a naive port of verificatum's vbt and might not be 100% correct.

Fixes #9

+35 -21

0 comment

2 changed files

pr created time in a month

create barnchkth-tcs/trustfull-demonstrator

branch : vbt

created branch time in a month