profile
viewpoint
Benjamin Schmid bentolor @exxcellent Ulm, Germany http://twitter.com/bentolor Head of Division & Technology Advisor @exxcellent

bentolor/docker-nextcloud-collabora-postgresql-letsencrypt 5

Docker-compose based NextCloud installation with LetsEncrypt SSL, PostgreSQL backend, Collabora online office, supervisord cron

bentolor/gradle-maven-multimodule-kotlindsl 3

An example Gradle 5 Kotlin DSL Java library project which consists of multiple modules to be published/released as Maven modules

bentolor/docker-bamboo-agent 1

An updated Docker-based Bamboo Agent aimed and building Java & Web-based projects

bentolor/docker-dind-awscli 1

A Docker image for Docker-in-Docker (dind) with AWS CLI v2 awscli tool included

bentolor/gitcity 1

A vsiual VR 3D exploration of your Git history

bentolor/anbox-modules 0

Anbox kernel modules

bentolor/angular-strap 0

AngularJS 1.2+ native directives for Twitter Bootstrap 3.

bentolor/asciidoctor-reveal.js 0

:crystal_ball: A reveal.js converter for Asciidoctor and Asciidoctor.js. Write your slides in AsciiDoc!

bentolor/asciidoctor-stylesheet-factory 0

:art: A factory for producing stylesheets to theme AsciiDoc HTML5 output. Assembled using Compass, Sass and Foundation.

bentolor/atom-kotlin-language 0

Adds syntax highlighting to Kotlin files in Atom

push eventbentolor/signal-cli-rest-api

Benjamin Schmid

commit sha a6e8cce641640708a5d373480f3c0a35f3a88305

build(Docker image): switch to JRE and Debian buster variant This should avoid potential issues in ARM environemnts with musl/alpine linux.

view details

push time in a day

pull request commentbbernhard/signal-cli-rest-api

build(Dockerfile): reduce image size from 2G GB to ~0.4GB

I do not have a ARM environment to test it. But I know that the musl environment sometimes causes issues.

In that case you could simply replace the 11-slim with 11-jre-slim-buster : I realized that I missed the 11-jre-slim and 11-jre-slim-buster variants which only include JRE and are even much more smaller (65MB). The buster variant works on debian so it should make no difference then regarding the musl/glibc variant.

But its obvious that I was only able to quickly test in my environment so i cannot oversee if this change would cause side effects on other platforms.

bentolor

comment created time in a day

PR opened bbernhard/signal-cli-rest-api

build(Dockerfile): reduce image size from 2G GB to ~0.4GB

This uses mulit-stage build to separate the build phase from the distribution image and signigicantly reduces images size.

You can find more information on Docker multistage builds here: https://docs.docker.com/develop/develop-images/multistage-build/

+11 -6

0 comment

1 changed file

pr created time in 2 days

create barnchbentolor/signal-cli-rest-api

branch : build/reduce-image-size

created branch time in 2 days

issue commentbbernhard/signal-cli-rest-api

Growing container size due to missing cleanup for /tmp/*.{jpg,mp4} files

Awesome! Thanks for you lightning fast fix!

bentolor

comment created time in 2 days

issue openedbbernhard/signal-cli-rest-api

Growing container size due to missing cleanup for /tmp/*.{jpg,mp4} files

A sudo docker container ls -s reveals the following:

58f27f04c663        bbernhard/signal-cli-rest-api            "signal-cli-rest-api"    7 days ago          Up 7 days           0.0.0.0:9922->8080/tcp                           signal-api                                   118MB (virtual 2.04GB)

On inspecting with container diff reports the following situation:

$ sudo docker container diff signal-api
C /tmp
A /tmp/10096571-0b51-41ac-84cc-44bd77a6fc4e.mp4
A /tmp/193791b7-a84c-4458-823d-6120b33c6b56.jpg
…
A /tmp/c37bebc6-c6a8-40b6-92c4-c770a97bdfeb.jpg
A /tmp/dfbea440-7709-4600-9065-7ce02fe76ba7.jpg
C /tmp/hsperfdata_root
D /tmp/hsperfdata_root/57
A /tmp/2c1f1207-e9ca-47c7-b1c3-3a7dc064b792.jpg
…

A container restart does not clean them up.

After inspecting the code it seems there is also some sort of cleanup logic. Not sure where the fallthrough is lying: func cleanupTmpFiles(paths []string) {

For me it seems that nearly no cleanup happened at all, because the file list more or less matches all media files I yet sent via the API?!

created time in 2 days

created tagbentolor/docker-dind-awscli

tagv2.0.38

A Docker image for Docker-in-Docker (dind) with AWS CLI v2 awscli tool included

created time in 8 days

push eventbentolor/docker-dind-awscli

Benjamin Schmid

commit sha efd34bee6ef67cbc1aa6016c8f5699601d45911f

doc(README): add more hints that this adresses v2 of awscli

view details

push time in 8 days

push eventbentolor/docker-dind-awscli

Benjamin Schmid

commit sha df6cad8dceac3d579d970bd239f041867cb87899

build(aws cli): print installed version in docker build

view details

push time in 8 days

startedbbernhard/signal-cli-rest-api

started time in 9 days

startedAsamK/signal-cli

started time in 10 days

push eventbentolor/java14-presentation

Benjamin Schmid

commit sha 49ab3a855f313c45c4696de8684e536b5ffa1664

chore(index.html): remove

view details

Benjamin Schmid

commit sha 92a0728d7b2e89a1f74375f5c505cf568d927006

build(index.html): add symlink to support github pages

view details

push time in 12 days

push eventbentolor/java14-presentation

Benjamin Schmid

commit sha 8f90a4c624a3441450c7281016b593f77c51c69a

doc(presentation): autoprogress

view details

push time in 12 days

issue closedarendst/Tasmota

Sleep timer / Inching / Auto turn-off functionality on button press (watering plants)

<!-- Thanks for suggesting an idea for this project. READ THIS FIRST:

Please take a few minutes to complete the requested information below. Our ability to provide assistance is greatly hampered without it. The details requested potentially affect which options to pursue. The small amount of time you spend completing the template will also help the volunteers providing the assistance to you to reduce the time required to help you.

DO NOT DELETE ANY TEXT from this template! Otherwise the issue will be auto-closed. -->

Have you looked for this feature in other issues and in the docs?
Yes

Is your feature request related to a problem? Please describe.
I migrated my Sonoff S20 lately to Tasmota and miss an important functionality: My problem is, that I use the S20 plug to water plants outdoor: With the EWELink firmware there was an "inching" functionality available which allowed me to define a custom time span after which the plug reliably would turn off automatically.

My Wifi connection outdoor is only sporadic available if at all. On demand-programming a new cycle via web interface turned out to be rather cumbersome (UI UX) or not possible (broken Wifi Link).

Therefore restoring my former functionality of just pressing the button to start on demand a new watering cycle which gets automatically turned off i.e. after 10 minutes would be a big win. Yet I drained my water barrels empty more than once…

Describe the solution you'd like
I want to be able to configure a custom time period after which the plug should turned off itself reliably.

This means i.e. after a turning on the plug by a short button press (default behavior) it will automatically turn off after my custom configured time (i.e. 10 mins). This auto-turn-off period could also apply to schedule-triggered turn-ons.

Describe alternatives you've considered
1. Manually programming a new time table entry: Doesn't work due to crappy Wifi connection. 2. Manually turning of: I forget it EVERY time! 3. Looking at the button config options: Didn't see any way to copy my desired behavior

Additional context
Nothing.

(Please, remember to close the issue when the problem has been addressed)

closed time in 19 days

bentolor

issue commentarendst/Tasmota

Sleep timer / Inching / Auto turn-off functionality on button press (watering plants)

Thanks @schrej-zz : Found a cookbook recipe similar to my use case: https://tasmota.github.io/docs/Rules/#time-delayed-auto-off-switch

Using this I found out I must enter

Rule1  ON Power1#state=1 DO RuleTimer1 4 ENDON ON Rules#Timer=1 DO Power1 Off ENDON
Rule1 1
bentolor

comment created time in 19 days

issue commentarendst/Tasmota

Sleep timer / Inching / Auto turn-off functionality on button press (watering plants)

Hi @schrej-zz : Thanks for your quick reply. Hmmm… how did I miss that?

Nevertheless: Easy does not match at least for me: I'm a little lost on how to get things working. I would access the web console an there paste something like the following ????:

Rule1  ON Power#state=1 DO RuleTimer1 4 ENDON ON Rules#Timer=1 DO Power 0 ENDON

But this is not working. Also tried Power1 instead of Power.

bentolor

comment created time in 19 days

issue openedarendst/Tasmota

Sleep timer / Inching / Auto turn-off functionality on button press (watering plants)

<!-- Thanks for suggesting an idea for this project. READ THIS FIRST:

Please take a few minutes to complete the requested information below. Our ability to provide assistance is greatly hampered without it. The details requested potentially affect which options to pursue. The small amount of time you spend completing the template will also help the volunteers providing the assistance to you to reduce the time required to help you.

DO NOT DELETE ANY TEXT from this template! Otherwise the issue will be auto-closed. -->

Have you looked for this feature in other issues and in the docs?
Yes

Is your feature request related to a problem? Please describe.
I migrated my Sonoff S20 lately to Tasmota and miss an important functionality: My problem is, that I use the S20 plug to water plants outdoor: With the EWELink firmware there was an "inching" functionality available which allowed me to define a custom time span after which the plug reliably would turn off automatically.

My Wifi connection outdoor is only sporadic available if at all. On demand-programming a new cycle via web interface turned out to be rather cumbersome (UI UX) or not possible (broken Wifi Link).

Therefore restoring my former functionality of just pressing the button to start on demand a new watering cycle which gets automatically turned off i.e. after 10 minutes would be a big win. Yet I drained my water barrels empty more than once…

Describe the solution you'd like
I want to be able to configure a custom time period after which the plug should turned off itself reliably.

This means i.e. after a turning on the plug by a short button press (default behavior) it will automatically turn off after my custom configured time (i.e. 10 mins). This auto-turn-off period could also apply to schedule-triggered turn-ons.

Describe alternatives you've considered
1. Manually programming a new time table entry: Doesn't work due to crappy Wifi connection. 2. Manually turning of: I forget it EVERY time! 3. Looking at the button config options: Didn't see any way to copy my desired behavior

Additional context
Nothing.

(Please, remember to close the issue when the problem has been addressed)

created time in 19 days

push eventbentolor/lightningtalk-fido2-webauthn

Benjamin Schmid

commit sha b9f515c445519525afa111a5da448d6614501d6b

build(Github pages): add index.html link

view details

push time in 22 days

push eventbentolor/lightningtalk-fido2-webauthn

Benjamin Schmid

commit sha 98e8d3c0e4bd8ef0869f8c675a324e1d7b984155

doc(FIDO2 Talk): revealjs based HTML presentation

view details

push time in 22 days

create barnchbentolor/lightningtalk-fido2-webauthn

branch : master

created branch time in 22 days

created repositorybentolor/lightningtalk-fido2-webauthn

FIDO2 & WebAuthn: Passwordless logins and secure 2FA (HTML5 Presentation)

created time in 22 days

issue commentJetBrains/inspection-plugin

[Discussion] Similarities & share ideas & concepts with idea-cli-inspector

@dzwicker Thanks. Upvoted: At least it seems you were able to provide a starting pointer and some assumption. For me it's more or less: "In some constellations it mostly fails, in other it mostly works for unknown reasons".

bentolor

comment created time in 24 days

startedmprograms/QMC5883LCompass

started time in a month

issue commentYubico/yubikey-manager-qt

Publish Ubuntu 20.04 (fossa) PPA

I followed the official installation instructions and was puzzled to not find any accessible GUI after install yubikey-manager.

As a workaround I can use the AppImage. But this lacks start menu integration.

Can I expect PPA availability in Ubuntu 20.04 LTS soon or should I go writing a desktop link? I'd assume it's just a minor packaging missing?

dav-is

comment created time in a month

issue openedjoeyates/imap-backup

Sporadic EOFError in `get_tagged_response' on running imap-backup

On running imap-backup it aborted quickly and spilled this stacktracke. A subsequent run worked without errors.

~  $ imap-backup
Traceback (most recent call last):
	13: from /usr/local/bin/imap-backup:23:in `<main>'
	12: from /usr/local/bin/imap-backup:23:in `load'
	11: from /var/lib/gems/2.7.0/gems/imap-backup-2.2.1/bin/imap-backup:73:in `<top (required)>'
	10: from /var/lib/gems/2.7.0/gems/imap-backup-2.2.1/lib/imap/backup/configuration/list.rb:18:in `each_connection'
	 9: from /var/lib/gems/2.7.0/gems/imap-backup-2.2.1/lib/imap/backup/configuration/list.rb:18:in `each'
	 8: from /var/lib/gems/2.7.0/gems/imap-backup-2.2.1/lib/imap/backup/configuration/list.rb:20:in `block in each_connection'
	 7: from /var/lib/gems/2.7.0/gems/imap-backup-2.2.1/lib/imap/backup/account/connection.rb:48:in `run_backup'
	 6: from /var/lib/gems/2.7.0/gems/imap-backup-2.2.1/lib/imap/backup/account/connection.rb:82:in `imap'
	 5: from /usr/lib/ruby/2.7.0/net/imap.rb:441:in `login'
	 4: from /usr/lib/ruby/2.7.0/net/imap.rb:1255:in `send_command'
	 3: from /usr/lib/ruby/2.7.0/monitor.rb:202:in `mon_synchronize'
	 2: from /usr/lib/ruby/2.7.0/monitor.rb:202:in `synchronize'
	 1: from /usr/lib/ruby/2.7.0/net/imap.rb:1273:in `block in send_command'
/usr/lib/ruby/2.7.0/net/imap.rb:1213:in `get_tagged_response': end of file reached (EOFError)

created time in 2 months

issue openedjoeyates/imap-backup

Encoding issues with folder names containing german umlaut

Hi @joeyates ! Thanks for you helpful tool. Especially the setup functionality is a joy of simplicity. Love it.

A little issue i stumbled upon: imap-backup status lists the following:

Archiv: 0
Entw&APw-rfe: 0
Gel&APY-scht: 135
Gesendet: 31
INBOX: 1799
OUTBOX: 0
Spamverdacht: 115

The proper foldernames are Entwürfe and Gelöscht; Not sure about the background of the &APw- for ü.

Fortunately it seems that the backups seems to work nonetheless, though…

created time in 2 months

issue commentbentolor/docker-dind-awscli

Example gitlab.ci?

After even stating the wrong hint on my own (it's a replacement for docker:stable, not docker:dind) I added another prominent note in the readme.

The image name I've chosen is misleading: But I wanted to have the keywords in it so people are able to find it.

Sorry & thanks for the feedback, @treystout : This is a typical pitfall I wasn't able to see on my own.

treystout

comment created time in 2 months

push eventbentolor/docker-dind-awscli

Benjamin Schmid

commit sha 21d01f94005dca75cfa6083ca005e09ae1f1d85e

doc(README): clarify more the aim of this image

view details

push time in 2 months

issue commentbentolor/docker-dind-awscli

Example gitlab.ci?

I added an example coed nipped for Gitlab CI to illustrate it.

It's just a replacement image for the places where you'd used docker:dind but then fail to i..e push it to AWS due to missing awscli

treystout

comment created time in 2 months

push eventbentolor/docker-dind-awscli

Benjamin Schmid

commit sha dbb347f76cf2bc085d7a41ac97b19b932b973846

fix(README): unhide example Gitlab CI task

view details

push time in 2 months

push eventbentolor/docker-dind-awscli

Benjamin Schmid

commit sha 7563e4da2a5ee1133173fa3651bcc4bd6ce937e1

doc(README): add illustration example on usage show a except on how to use it i.e. within Gitlab CI. closes #1

view details

push time in 2 months

startedmikeslattery/tunic

started time in 2 months

starteddkrivoruchko/ScreenStream

started time in 2 months

startedYubicoLabs/java-webauthn-passwordless-workshop

started time in 2 months

startednicman23/dkms-hid-nintendo

started time in 2 months

startedDanielOgorchock/joycond

started time in 2 months

pull request commentnextcloud/server

Add WebAuthn support

Thanks for this great feature.

I just updated to NC 19 and was able to register devices as admin user but not as standard user. I even created a new, vanilla user.

As admin user the server returns a valid HTTP 200 and JSON document in its XHR request to /settings/api/personal/webauthn/registration.

As existing or newly created standard user I only get a HTTP 403 Forbidden. The response payload does contain HTML page with a internationlized "Permission denied" message.

Do I miss something, @rullzer ?

rullzer

comment created time in 2 months

startedherrjemand/awesome-webauthn

started time in 2 months

issue closedsignalapp/Signal-Android

Enabling video on caller does not enable speakerphone, accepting video call does

  • [x] I have searched open and closed issues for duplicates
  • [x] I am submitting a bug report for existing functionality that does not work as intended
  • [x] I have read https://github.com/signalapp/Signal-Android/wiki/Submitting-useful-bug-reports
  • [x] This isn't a feature request or a discussion topic

Bug description

On initiating a video call and local video (without any attached audio device like headset) the external speaker / speakerphone is not automatically enabled. I'm pretty sure that this was the behavior a few versions age.

More confusing: On receiving a video call and enabling local video, speakerphone is automatically enabled.

I do not anticipate a rationale to not enable speakerphone on enabling camera, except with attached headphones/external audio device.

Steps to reproduce

  • Select contact
  • trigger video call by enabling local video
  • after successful connection: No audio.

On receiver side

  • accept an incoming video call
  • enable local video
  • speakerphone is immediately enabled, too

Expected result: If no external audio headset is attached, enabling video should always enable speakerphone.

Device info

Device: OnePlus 3 T Android version: 9 / LineageOS 16.0 Signal version: 4.56.4

closed time in 2 months

bentolor

issue commentsignalapp/Signal-Android

Enabling video on caller does not enable speakerphone, accepting video call does

Can confirm @Sgn-32 : This issue seems to be solved in the new UI!

bentolor

comment created time in 2 months

push eventbentolor/java14-presentation

Benjamin Schmid

commit sha 8945ed3525484c116a41a7082e0a1ff119e860fe

docs(Presentation): add PDF version of presentation

view details

push time in 3 months

push eventbentolor/java14-presentation

Benjamin Schmid

commit sha 43a8a1a4c1ca9c6d738dfdf44d8451042cea9857

docs(presentation): align name

view details

push time in 3 months

push eventbentolor/java14-presentation

push time in 3 months

push eventbentolor/java14-presentation

Benjamin Schmid

commit sha 7e35eaca3c05771be4a0eb014203f2d551f4ef86

build(docs): RENAME presentation.html to index.html instead of symlink gh pages doesn't support links?

view details

push time in 3 months

push eventbentolor/java14-presentation

Benjamin Schmid

commit sha a76b66cf1e44e2a809b43fd448a05c4bfac0359a

build(index.html): add symlink to support github pages

view details

push time in 3 months

create barnchbentolor/java14-presentation

branch : master

created branch time in 3 months

created repositorybentolor/java14-presentation

Records, Switch, Pattern matching …: What's new in Java 14? (Presentation)

created time in 3 months

issue commentaws/aws-cli

[v2] installing on docker image fails

@blagerweij See the image below from the official Docker image for illustration.

The typical usage is:

  1. One (or your ci) starts a docker:dind instance and then
  2. Starts a separate docker:stable instance which is linked to the started docker:dind container
  3. You start executing docker commands inside the second container which redirects the comamnds via socket connection to docker daemon running inside the first docker:dind container.

Therefore: While it's true that the docker:dind instance eventually executes your Docker commands, your CLI frontend actually lives in a docker:stable instance. And that's the place where one i.e. needs to login into AWS ;-)

At least this is the usage pattern I'm aware of (i.e. on using Gitlab CI to build docker images). Maybe there are also direct docker:dind usage scenarios?

Usage of docker:stable vs. docker:didn

jordanst3wart

comment created time in 3 months

issue commentaws/aws-cli

[v2] installing on docker image fails

Also thanks @blagerweij : I grasped the nettle and build a public, custom docker image by copy&pasting your solution: https://hub.docker.com/r/bentolor/docker-dind-awscli

jordanst3wart

comment created time in 3 months

push eventbentolor/docker-dind-awscli

Benjamin Schmid

commit sha 031983046df2876487e568bddc07d8ac9148fd93

doc(README): improve phrasing & spelling

view details

push time in 3 months

create barnchbentolor/docker-dind-awscli

branch : master

created branch time in 3 months

created repositorybentolor/docker-dind-awscli

A Docker image for Docker-in-Docker (dind) with AWS CLI awscli tool included

created time in 3 months

startedEHfive/pulseaudio-modules-bt

started time in 3 months

issue commentaws/aws-cli

[v2] installing on docker image fails

So what's the shortest path to get a aws ecr get-login-password --region $AWS_REGION | docker login --username AWS --password-stdin $REPOSITORY_HOST_API inside a docker container running? (which implies: docker:dind )?

I'd love to avoid to build my own docker:stable image with docker:dind support only to get this running.

jordanst3wart

comment created time in 3 months

issue commentfish-shell/fish-shell

completions/zpool.fish:46 – "test: Missing argument at index 2" for `zpool replace`

Awesome, @faho : Thanks for the super-fast fix!

bentolor

comment created time in 3 months

issue openedfish-shell/fish-shell

completions/zpool.fish:46 – "test: Missing argument at index 2" for `zpool replace`

Observed on fish: 3.1.0 @ eoan x86_64

I typed sudo zpool replace z4tank crypt-10ed56d2-e569-4d48-99c8-3e0c2b7780b4 /de[TAB] and received the following stack. Unfortunately I'm not shell savvy enough to debug/fix the issue.

test: Missing argument at index 2

/usr/share/fish/completions/zpool.fish (Zeile 46): 
    if test $OS = 'Linux'
       ^
in function '__fish_zpool_list_available_vdevs'
	called on line 1 of file /usr/share/fish/functions/__fish_complete_subcommand.fish
in command substitution
	called on line 1 of file /usr/share/fish/functions/__fish_complete_subcommand.fish
in command substitution
	called on line 54 of file /usr/share/fish/functions/__fish_complete_subcommand.fish
in function '__fish_complete_subcommand' with arguments '--commandline zpool replace z4tank crypt-10ed56d2-e569-4d48-99c8-3e0c2b7780b4 /de'
	called on line 37 of file /usr/share/fish/completions/sudo.fish
in function '__fish_complete_sudo_subcommand'
in command substitution

(Type 'help test' for related documentation)
test: Missing argument at index 2

/usr/share/fish/completions/zpool.fish (Zeile 48): 
    else if test $OS = 'FreeBSD'
            ^
in function '__fish_zpool_list_available_vdevs'
	called on line 1 of file /usr/share/fish/functions/__fish_complete_subcommand.fish
in command substitution
	called on line 1 of file /usr/share/fish/functions/__fish_complete_subcommand.fish
in command substitution
	called on line 54 of file /usr/share/fish/functions/__fish_complete_subcommand.fish
in function '__fish_complete_subcommand' with arguments '--commandline zpool replace z4tank crypt-10ed56d2-e569-4d48-99c8-3e0c2b7780b4 /de'
	called on line 37 of file /usr/share/fish/completions/sudo.fish
in function '__fish_complete_sudo_subcommand'
in command substitution

(Type 'help test' for related documentation)
test: Missing argument at index 2

/usr/share/fish/completions/zpool.fish (Zeile 50): 
    else if test $OS = 'SunOS'
            ^
in function '__fish_zpool_list_available_vdevs'
	called on line 1 of file /usr/share/fish/functions/__fish_complete_subcommand.fish
in command substitution
	called on line 1 of file /usr/share/fish/functions/__fish_complete_subcommand.fish
in command substitution
	called on line 54 of file /usr/share/fish/functions/__fish_complete_subcommand.fish
in function '__fish_complete_subcommand' with arguments '--commandline zpool replace z4tank crypt-10ed56d2-e569-4d48-99c8-3e0c2b7780b4 /de'
	called on line 37 of file /usr/share/fish/completions/sudo.fish
in function '__fish_complete_sudo_subcommand'
in command substitution

(Type 'help test' for related documentation)

created time in 3 months

more