Arkisto 2021

No documentation for –background

27. toukokuuta 2021 klo 15.53
Sijainti: Vianhallintajärjestelmät: Nextcloud

Preface

Ticking the ”Launch on System Startup” box in the desktop client’s General settings tab (correctly) adds a .desktop file under ~/.config/autostart/, with the following Exec line:

    Exec="/usr/bin/nextcloud" --background

Expected behaviour

The effect of --background should be mentioned in options.rst (and the resulting online documentation).

Actual behaviour

The --background parameter is undocumented.

Client configuration

Client version: 3.2.1
Operating system: Ubuntu 20.04
OS language: English
Client package: 3.2.1-20210429.171749.5901a0f98-1.0~focal1

Vastaa viestiin sen kontekstissa (Nextcloud)

Is there any way to combine the two-step method into one pipe?

15. toukokuuta 2021 klo 21.14
Sijainti: Muut: Stack Exchange
Avainsanat: ffmpeg

Is there any way to combine the two-step method into one pipe? To output the raw bitstream to stdout, and remux from stdin?

Vastaa viestiin sen kontekstissa (Stack Exchange)

No backup/recovery code mechanism for MFA

10. toukokuuta 2021 klo 17.28
Sijainti: Vianhallintajärjestelmät: Github
Avainsanat: Mattermost, security

Summary

After setting up multi-factor authentication, losing the authentication code-generating device means losing access to the Mattermost account. While having MFA is excellent, I’m afraid to set it up for my admin user account (which is the one most critically needing it), because there’s no recovery mechanism in case I lose my authenticator device.

Steps to reproduce

  1. Enable up multi-factor authentication in the System Console
  2. Configure 2FA with an authenticator app on your phone
  3. Break/lose/have your phone stolen
  4. Try to log in

Expected behavior

Have a ”use a backup code instead” link next to the MFA token prompt.

Observed behavior (that appears unintentional)

There’s no alternative way to provide the MFA. You can not log in.

Possible fixes

None available AFAICT. There’s no way to add security keys as alternatives either.

There’s an existing Jira ticket ticket about this (and it’s linked to an abandoned PR), but it’s closed as ”moved to ProductBoard for prioritization”, and I don’t know what’s happened since then, as I don’t have access to ProductBoard (that I know of).

Mattermost version

v5.34.2

Vastaa viestiin sen kontekstissa (Github)

indent/outdent mismatch when using multi-line array assignment inside case…esac

4. toukokuuta 2021 klo 12.13
Sijainti: Vianhallintajärjestelmät: Github
Avainsanat: Bash

My go-to way of quickly parsing arguments is as follows:

#!/bin/bash                                                                  
                                                                             
quiet="true"                                                                 
files=()                                                                     
                                                                             
for arg in "${@}"; do                                                        
    case "${arg}" in                                                         
        "-v" | "--verbose")                                                  
            quiet="false"                                                    
            ;;                                                               
        *)
            files+=(                                                         
                "${arg}"                                                     
            )                                                                   
            ;;                                                               
    esac                                                                     
done                                                                         

Beautysh (v6.1.0) incorrectly reports this as indent/outdent mismatch and instead indents it like so:

#!/bin/bash                                                                  
                                                                             
quiet="true"                                                                 
files=()                                                                     
                                                                             
for arg in "${@}"; do                                                        
    case "${arg}" in                                                         
        "-v" | "--verbose")                                                  
            quiet="false"                                                    
            ;;                                                               
        *)                                                                   
            files+=(                                                         
                "${arg}"                                                     
            )                                                                
                ;;                                                           
        esac                                                                 
    done

The deciding factor seems to be the multi-line parenthesis in assigning files. If I assign it all on one line, like this:

            files+=("${arg}")                                                

then beautysh is satisfied with the indentation (i.e. doesn’t change it or report a mismatch).

Vastaa viestiin sen kontekstissa (Github)

Dressman ei siis kävele vielä tarpeeksi hitaasti?

3. toukokuuta 2021 klo 12.41
Sijainti: Muut: reddit
Avainsanat: Dressman

Dressman ei siis kävele vielä tarpeeksi hitaasti?

Vastaa viestiin sen kontekstissa (reddit)

Here’s the updated steps to reproduce

28. huhtikuuta 2021 klo 14.05
Sijainti: Vianhallintajärjestelmät: Mozilla Bugzilla
Avainsanat: Firefox, Launchpad, Twitch

Steps to reproduce

  1. Open about:config
  2. Search for autoplay in the settings
  3. Set media.autoplay.default to 1 (”Block Audio”, which is the default)
  4. Set media.autoplay.blocking_policy to 2
  5. Open a Twitch VOD, for instance https://www.twitch.tv/videos/280106033
  6. Try to unmute the video (either by clicking Twitch player’s speaker control button, or by dragging the accompanying volume slider)

What I expect to happen

For the audio to be unmuted.

What happens instead

The audio remains muted, and the volume control/indicator remains in the muted position.


I’m unmotivated to report this to Twitch, as I’m unsure about the precise meaning of media.autoplay.blocking_policy, and I currently don’t use the non-working value for it myself. Feel free to downprioritize this as you see fit, unless the original reporter is still affected. Here’s my downstream report over at Launchpad though, just for reference. (I’ll update it too.)

Vastaa viestiin sen kontekstissa (Mozilla Bugzilla)

Does not appear to have been fixed by Firefox 88

26. huhtikuuta 2021 klo 18.45
Sijainti: Vianhallintajärjestelmät: Mozilla Bugzilla
Avainsanat: Firefox, Twitch

Hi Alex!

It does not appear to have been fully fixed by Firefox 88 for me at least, although the conditions have changed slightly, and the remaining broken behavior is now slightly different too.

First, to update my note above: media.autoplay.enabled.user-gestures-needed has been superseded by media.autoplay.blocking_policy, and setting the latter to 2 is now required to trigger the issue (as it manifests presently); with the setting at either 0 or 1 I haven’t been able to reproduce any variation of the issue.

Now, the video doesn’t get paused anymore, but the unmuting also does not work: clicking the muted indicator just always resets it back to muted, instead of actually unmuting.

Vastaa viestiin sen kontekstissa (Mozilla Bugzilla)

Se oli kyllä ankea ja pimeä paikka

25. huhtikuuta 2021 klo 12.50
Sijainti: Blogit: Reema
Avainsanat: 1980-luku

Se oli kyllä ankea ja pimeä paikka. Minä onnekseni pääsin päiväksi kouluun, vaikka suretti sinut sinne ankeuteen jättää.

Oliko niillä televisio? Olisin väittänyt, että ainut viihdyke siellä oli joku vanha aikakauslehti. Vaikkei 80-luvulla kyllä televisiostakaan päivisin mitään katseltavaa tullut.

Vastaa viestiin sen kontekstissa (Reema)

GPS-sijainti näköjään hieman epätarkka

22. huhtikuuta 2021 klo 12.26
Sijainti: Muut: iNaturalist
Avainsanat: Nuottasaari

@kaupunkilinnut GPS-sijainti näköjään hieman epätarkka: tämä oli tuon kl-väylän toisella puolella kuin mihin iPhone otoksen sijoitti, ja sillä puolella on (kesällä) Googlen katunäkymässä tämän näköistä. Väylän toisella puolella on kyllä omakotiasutusta, mutta ei siis aivan ikkunoiden vierestä löytynyt tämä.

Vastaa viestiin sen kontekstissa (iNaturalist)

There seem to be a few other similar typos across different files

9. huhtikuuta 2021 klo 14.54
Sijainti: Vianhallintajärjestelmät: Github

There seem to be a few other similar typos across different files. Should I combine them into this request, or would you prefer individual pull requests for each?

Vastaa viestiin sen kontekstissa (Github)

« Uudempia - Vanhempia »