profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/Cebtenzzre/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.

bbolli/tumblr-utils 622

Utilities for dealing with Tumblr blogs, Tumblr backup

Cebtenzzre/tumblr-utils 5

A fork of tumblr-utils with Python 3 support, bug fixes, and lots of features I found useful.

Cebtenzzre/blocks 0

Enable bcache or LVM on existing block devices

Cebtenzzre/cebtenzzre.github.io 0

Build a Jekyll blog in minutes, without touching the command line.

Cebtenzzre/Chairs 0

Sit on chairs

Cebtenzzre/compy 0

HTTP/HTTPS compression proxy

Cebtenzzre/CraftBook 0

Machines, ICs, PLCs, and more!

Cebtenzzre/cups-filters 0

filters, backends, cups-browsed, ... - Everything which CUPS needs to be used on non-Mac systems

Cebtenzzre/dupeguru 0

Find duplicate files

push eventCebtenzzre/MPD

Max Kellermann

commit sha b979245d6c9491d5cd6bd12b250ccd6dc7a13609

decoder/Bridge: call UpdateStreamTag() only if there is no pending seek If UpdateStreamTag() gets called while an initial seek is pending, the result will never be submitted to a MusicChunk. By avoiding the UpdateStreamTag() call in that case (by moving UpdateStreamTag() to after the PrepareInitialSeek() check), the song_tag is preserved until UpdateStreamTag() is called again from SubmitData(). This fixes missing tags in the "httpd" output. Closes https://github.com/MusicPlayerDaemon/MPD/issues/1137

view details

Max Kellermann

commit sha ef2fc4e6f618fad0823eb68943e132ec565aeafc

db/simple/Directory: remove obsolete API doc

view details

Max Kellermann

commit sha 1761fb14af6c810735fa456cd19274681a89a1c9

fs/Traits: add PathTraitsUTF8::IsAbsoluteOrHasScheme()

view details

Max Kellermann

commit sha 8e0d39ae944263339773c6804846751701092fc6

db/update/Playlist: prepend "../" only for relative URIs Prepending "../" to absolute URIs would break them.

view details

Max Kellermann

commit sha 1985786ed25b82eddfdabe104c8698967dbb4cca

db/simple: prune CUE entries from database for non-existent songs Closes https://github.com/MusicPlayerDaemon/MPD/issues/1019

view details

Max Kellermann

commit sha 5d73eda115d8044101b172b546abb0d296ed6a29

doc/plugins.rst: move filter graph URL to ffmpeg.org

view details

Max Kellermann

commit sha dde77ec6bd63414a07d280052e400cedce5197ed

python/build/libs.py: update CURL to 7.78.0

view details

Max Kellermann

commit sha 0f56ddb80554e014714b9d0385a0bf175521a61d

python/build/libs.py: update OpenSSL to 3.0.0-beta2

view details

Max Kellermann

commit sha 694debd4cc7f13e70da78ee0b6eb85745620e099

build/openssl: pass RANLIB=... to "make install" The "install_dev" target runs ranlib during installation, and this can break the Android build.

view details

Max Kellermann

commit sha b0e95388554eeef78e3e3c4c6eb401b297b7603b

build/openssl: pass --cross-compile-prefix to ./Configure

view details

Max Kellermann

commit sha ad6e303047397a9ef6cf9790e309f1cf438f21c8

mixer/alsa: move code to GetNormalizedVolume()

view details

Max Kellermann

commit sha 5f5b5f63af7018095513ff84ac6d08418fdb42c9

mixer/alsa: move code to NormalizedToPercent()

view details

Max Kellermann

commit sha e8f328d8adc91568e5c0c683e640b4e70bdeb563

mixer/alsa: move code to GetPercentVolume()

view details

Max Kellermann

commit sha 3b6d4e66735a0ec9bfe205a528df1a617e78b575

mixer/alsa: move alsa_mixer_elem_callback() into the AlsaMixer class

view details

Max Kellermann

commit sha 351b39e0c5b70380074464522264e5106bf476da

mixer/alsa: skip the snd_mixer_handle_events() call in alsa_mixer_elem_callback() snd_mixer_handle_events() has already been called by DispatchSockets(). This way, we can also skip the exception handler.

view details

Max Kellermann

commit sha 04eb911a5110a2a61ea7fcb5995e77bdcc21bbc4

mixer/alsa: use cached values to work around rounding errors This replaces 967af603270246f1c97e11b8bad6a0eb65c81318 with a more effective workaround. Closes https://github.com/MusicPlayerDaemon/MPD/issues/822

view details

Max Kellermann

commit sha 64c39af556e7c15dcbbad27da897d0bf94b391dc

release v0.22.10

view details

Max Kellermann

commit sha bd893e6336fcf48b09ee6c8e4f6901e035c2ead2

Merge tag 'v0.22.10' release v0.22.10

view details

Max Kellermann

commit sha d33aa01000c5b121f1d41b516e6354dd64aa29a6

output/pipewire: reset the "paused" flag This was missing in commit 4d1ce7023b8a7

view details

Max Kellermann

commit sha 8a243e6e28bd949e9aa7aeddccaf8df10ec892fb

output/pipewire: call pw_stream_flush() only if really draining If draining was not requested, generate silence instead if there is no data in the ring buffer. The problem is that pw_stream_flush() appears to disable the stream permanently, even though there is no state_changed callback - the stream state remains at PW_STREAM_STATE_STREAMING, but the stream is defunct. I have no idea why and I havn't found any documentation about it. Closes https://github.com/MusicPlayerDaemon/MPD/issues/1219

view details

push time in 6 days

PR opened sahib/rmlint

FIEMAP fixes for --is-reflink

This pull request is intended to fix the FIEMAP-related issues with --is-reflink: #527, #528, #529, and #530.

+13 -21

0 comment

2 changed files

pr created time in 7 days

create barnchCebtenzzre/rmlint

branch : fiemap-fixes

created branch time in 7 days

issue openedsahib/rmlint

rm_offset_get_fiemap merges logically separate extents

Description

When extents are physically adjacent, rmlint assumes they can safely be merged, even if they are not logically adjacent.

Steps to reproduce

Build rmlint from the develop branch with _RM_OFFSET_DEBUG=1 and fixes for #527, #528, and #529 applied. Then run these commands:

$ dd if=/dev/urandom of=foo_src bs=200K oflag=sync count=1
$ xfs_io -f -c 'copy_range -l 100K foo_src' -c 'fsync' foo
$ xfs_io -f -c 'copy_range -l 100K -s 100K -d 200K foo_src' -c 'fsync' foo
$ cp --reflink foo bar
$ filefrag -vb1 foo bar
Filesystem type is: 9123683e
File size of foo is 307200 (307200 blocks of 1 bytes)
 ext:     logical_offset:        physical_offset: length:   expected: flags:
   0:        0..  102399: 734768922624..734769025023: 102400:             shared
   1:   204800..  307199: 734769025024..734769127423: 102400:             last,shared,eof
foo: 1 extent found
File size of bar is 307200 (307200 blocks of 1 bytes)
 ext:     logical_offset:        physical_offset: length:   expected: flags:
   0:        0..  102399: 734768922624..734769025023: 102400:             shared
   1:   204800..  307199: 734769025024..734769127423: 102400:             last,shared,eof
bar: 1 extent found
$ rmlint --is-reflink -vv foo bar
DEBUG: Testing if foo is clone of bar
DEBUG: Checking link type for foo vs bar
DEBUG: rm_offset_get_fiemap: fd=3, n_extents=1, file_offset=0
DEBUG: rm_offset_get_fiemap: fd=3, n_extents=1, file_offset=102400
DEBUG: rm_offset_get_fiemap: fd=4, n_extents=1, file_offset=0
DEBUG: rm_offset_get_fiemap: fd=4, n_extents=1, file_offset=102400
DEBUG: Offsets match at fd1=3, fd2=4, logical=0, physical=734768922624
DEBUG: Files are clones (share same data)
Link type for 'foo' and 'bar', result:
Reflink

Actual result

rmlint only checks one pair of physical offsets, which is probably harmless to --is-reflink but indicates that rm_offset_get_fiemap is merging the representation of these two extents, which is confusing and incorrect.

Expected result

$ rmlint --is-reflink -vv foo bar
DEBUG: Testing if foo is clone of bar
DEBUG: Checking link type for foo vs bar
DEBUG: rm_offset_get_fiemap: fd=3, n_extents=1, file_offset=0
DEBUG: rm_offset_get_fiemap: fd=3, n_extents=1, file_offset=102400
DEBUG: rm_offset_get_fiemap: fd=4, n_extents=1, file_offset=0
DEBUG: rm_offset_get_fiemap: fd=4, n_extents=1, file_offset=102400
DEBUG: Offsets match at fd1=3, fd2=4, logical=0, physical=734768922624
DEBUG: rm_offset_get_fiemap: fd=3, n_extents=1, file_offset=102400
DEBUG: rm_offset_get_fiemap: fd=4, n_extents=1, file_offset=102400
DEBUG: Offsets match at fd1=3, fd2=4, logical=102400, physical=734769025024
DEBUG: Files are clones (share same data)
Link type for 'foo' and 'bar', result:
Reflink

Note that rmlint reports two matching offsets, just like how filefrag reports two extents.

Versions

rmlint version 2.10.1 built from develop commit bdb591f4, with _RM_OFFSET_DEBUG=1 and fixes for #527, #528, and #529 applied.

created time in 7 days

issue openedsahib/rmlint

--is-reflink gets stuck in holes

Description

rmlint --is-reflink does redundant work when met with a hole in a file.

Steps to reproduce

Build rmlint from the develop branch with _RM_OFFSET_DEBUG=1 and fixes for #527 and #528 applied. Then run these commands:

$ dd if=/dev/urandom of=foo bs=100K oflag=sync count=1
$ dd if=/dev/urandom of=foo bs=100K oflag=sync count=2 seek=4
$ cp --reflink foo bar
$ filefrag -vb1 foo bar
Filesystem type is: 9123683e
File size of foo is 614400 (614400 blocks of 1 bytes)
 ext:     logical_offset:        physical_offset: length:   expected: flags:
   0:        0..  102399: 699643879424..699643981823: 102400:             shared
   1:   409600..  511999: 700793454592..700793556991: 102400: 699644289024: shared
   2:   512000..  614399: 700861808640..700861911039: 102400: 700793556992: last,shared,eof
foo: 3 extents found
File size of bar is 614400 (614400 blocks of 1 bytes)
 ext:     logical_offset:        physical_offset: length:   expected: flags:
   0:        0..  102399: 699643879424..699643981823: 102400:             shared
   1:   409600..  511999: 700793454592..700793556991: 102400: 699644289024: shared
   2:   512000..  614399: 700861808640..700861911039: 102400: 700793556992: last,shared,eof
bar: 3 extents found
$ rmlint --is-reflink -vv foo bar
DEBUG: Testing if foo is clone of bar
DEBUG: Checking link type for foo vs bar
DEBUG: rm_offset_get_fiemap: fd=3, n_extents=1, file_offset=0
DEBUG: rm_offset_get_fiemap: fd=3, n_extents=1, file_offset=102400
DEBUG: rm_offset_get_fiemap: fd=4, n_extents=1, file_offset=0
DEBUG: rm_offset_get_fiemap: fd=4, n_extents=1, file_offset=102400
DEBUG: Offsets match at fd1=3, fd2=4, logical=0, physical=699643879424
DEBUG: rm_offset_get_fiemap: fd=3, n_extents=1, file_offset=102400
DEBUG: rm_offset_get_fiemap: fd=3, n_extents=1, file_offset=204800
DEBUG: rm_offset_get_fiemap: fd=4, n_extents=1, file_offset=102400
DEBUG: rm_offset_get_fiemap: fd=4, n_extents=1, file_offset=204800
DEBUG: Offsets match at fd1=3, fd2=4, logical=102400, physical=700793454592
DEBUG: rm_offset_get_fiemap: fd=3, n_extents=1, file_offset=204800
DEBUG: rm_offset_get_fiemap: fd=3, n_extents=1, file_offset=307200
DEBUG: rm_offset_get_fiemap: fd=4, n_extents=1, file_offset=204800
DEBUG: rm_offset_get_fiemap: fd=4, n_extents=1, file_offset=307200
DEBUG: Offsets match at fd1=3, fd2=4, logical=204800, physical=700793454592
DEBUG: rm_offset_get_fiemap: fd=3, n_extents=1, file_offset=307200
DEBUG: rm_offset_get_fiemap: fd=3, n_extents=1, file_offset=409600
DEBUG: rm_offset_get_fiemap: fd=4, n_extents=1, file_offset=307200
DEBUG: rm_offset_get_fiemap: fd=4, n_extents=1, file_offset=409600
DEBUG: Offsets match at fd1=3, fd2=4, logical=307200, physical=700793454592
DEBUG: rm_offset_get_fiemap: fd=3, n_extents=1, file_offset=409600
DEBUG: rm_offset_get_fiemap: fd=3, n_extents=1, file_offset=512000
DEBUG: rm_offset_get_fiemap: fd=4, n_extents=1, file_offset=409600
DEBUG: rm_offset_get_fiemap: fd=4, n_extents=1, file_offset=512000
DEBUG: Offsets match at fd1=3, fd2=4, logical=409600, physical=700793454592
DEBUG: rm_offset_get_fiemap: fd=3, n_extents=1, file_offset=512000
DEBUG: rm_offset_get_fiemap: fd=4, n_extents=1, file_offset=512000
DEBUG: Offsets match at fd1=3, fd2=4, logical=512000, physical=700861808640
DEBUG: Files are clones (share same data)
Link type for 'foo' and 'bar', result:
Reflink

Actual result

rmlint checks the physical offset of the second extent (700793454592) four times.

Expected result

rmlint checks each pair of offsets only once, for a total of three physical offset comparisons.

Versions

rmlint version 2.10.1 built from develop commit bdb591f4, with _RM_OFFSET_DEBUG=1 and fixes for #527 and #528 applied.

created time in 7 days

issue openedsahib/rmlint

--is-reflink detects EOF poorly

Description

rmlint --is-reflink ignores the physical offset of the last extent in a file, as long as there are at least two extents total, even if a fix for #527 is applied.

Steps to reproduce

Build rmlint from the develop branch with _RM_OFFSET_DEBUG=1 and a fix for #527 applied.

For testcase 1, run these commands:

$ dd if=/dev/urandom of=foo bs=100K oflag=sync count=1
$ dd if=/dev/urandom of=foo bs=100K oflag=sync count=1 seek=1
$ cp --reflink foo bar
$ dd if=/dev/urandom of=bar bs=100K oflag=sync count=1 seek=1
$ filefrag -vb1 foo bar
Filesystem type is: 9123683e
File size of foo is 204800 (204800 blocks of 1 bytes)
 ext:     logical_offset:        physical_offset: length:   expected: flags:
   0:        0..  102399: 694036611072..694036713471: 102400:             shared
   1:   102400..  204799: 694077128704..694077231103: 102400: 694036713472: last,eof
foo: 2 extents found
File size of bar is 204800 (204800 blocks of 1 bytes)
 ext:     logical_offset:        physical_offset: length:   expected: flags:
   0:        0..  102399: 694036611072..694036713471: 102400:             shared
   1:   102400..  204799: 694103236608..694103339007: 102400: 694036713472: last,eof
bar: 2 extents found
$ cmp foo bar
foo bar differ: byte 102401, line 408
$ rmlint --is-reflink -vv foo bar
DEBUG: Testing if foo is clone of bar
DEBUG: Checking link type for foo vs bar
DEBUG: rm_offset_get_fiemap: fd=3, n_extents=1, file_offset=0
DEBUG: rm_offset_get_fiemap: fd=3, n_extents=1, file_offset=102400
DEBUG: rm_offset_get_fiemap: fd=4, n_extents=1, file_offset=0
DEBUG: rm_offset_get_fiemap: fd=4, n_extents=1, file_offset=102400
DEBUG: Offsets match at fd1=3, fd2=4, logical=0, physical=694036611072
DEBUG: Files are clones (share same data)
Link type for 'foo' and 'bar', result:
Reflink
$ echo $?
0

For testcase 2, run these commands:

$ dd if=/dev/urandom of=foo bs=100K oflag=sync count=1
$ truncate -s 200K foo
$ cp --reflink foo bar
$ filefrag -vb1 foo bar
Filesystem type is: 9123683e
File size of foo is 204800 (204800 blocks of 1 bytes)
 ext:     logical_offset:        physical_offset: length:   expected: flags:
   0:        0..  102399: 676477960192..676478062591: 102400:             last,shared
foo: 1 extent found
File size of bar is 204800 (204800 blocks of 1 bytes)
 ext:     logical_offset:        physical_offset: length:   expected: flags:
   0:        0..  102399: 676477960192..676478062591: 102400:             last,shared
bar: 1 extent found
$ rmlint --is-reflink -vv foo bar
DEBUG: Testing if foo is clone of bar
DEBUG: Checking link type for foo vs bar
DEBUG: rm_offset_get_fiemap: fd=3, n_extents=1, file_offset=0
DEBUG: rm_offset_get_fiemap: fd=4, n_extents=1, file_offset=0
DEBUG: Offsets match at fd1=3, fd2=4, logical=0, physical=676477960192
DEBUG: rm_offset_get_fiemap: fd=3, n_extents=1, file_offset=102400
INFO: rm_offset_get_fiemap: got no extents for 3
DEBUG: rm_offset_get_fiemap: fd=4, n_extents=1, file_offset=102400
INFO: rm_offset_get_fiemap: got no extents for 4
DEBUG: Can't determine whether files are clones
Link type for 'foo' and 'bar', result:
An error occurred during checking
$ echo $?
1

Actual result

Testcase 1

rmlint prints "Reflink" and exits with status 0. It checks the first extent's offset, but ignores the second.

Testcase 2

rmlint prints "An error occurred during checking" and exits with status 1. It reports "got no extents" twice.

Expected result

Testcase 1

rmlint prints "Not linked" and exits with status 11. There should be a message like DEBUG: Physical offsets differ at byte 102400: 694077128704<> 694103236608.

Testcase 2

DEBUG: Testing if foo is clone of bar
DEBUG: Checking link type for foo vs bar
DEBUG: rm_offset_get_fiemap: fd=3, n_extents=1, file_offset=0
DEBUG: rm_offset_get_fiemap: fd=4, n_extents=1, file_offset=0
DEBUG: Offsets match at fd1=3, fd2=4, logical=0, physical=676477960192
DEBUG: Files are clones (share same data)
Link type for 'foo' and 'bar', result:
Reflink
$ echo $?
0

rmlint prints "Reflink" and exits with status 0. There should be only one rm_offset_get_fiemap call per file.

Versions

rmlint version 2.10.1 built from develop commit bdb591f4, with _RM_OFFSET_DEBUG=1 and a fix for #527 applied.

created time in 7 days

issue openedsahib/rmlint

--is-reflink skips every second extent

Description

rmlint --is-reflink completely skips every second extent.

Steps to reproduce

Build rmlint from the develop branch with _RM_OFFSET_DEBUG=1. Then run these commands:

$ dd if=/dev/urandom of=foo bs=100K oflag=sync count=10
$ cp --reflink foo bar
$ filefrag -vb1 foo bar
Filesystem type is: 9123683e
File size of foo is 921600 (921600 blocks of 1 bytes)
 ext:     logical_offset:        physical_offset: length:   expected: flags:
   0:        0..  102399: 672928833536..672928935935: 102400:             shared
   1:   102400..  204799: 673052336128..673052438527: 102400: 672928935936: shared
   2:   204800..  307199: 686491369472..686491471871: 102400: 673052438528: shared
   3:   307200..  409599: 690860650496..690860752895: 102400: 686491471872: shared
   4:   409600..  511999: 691562287104..691562389503: 102400: 690860752896: shared
   5:   512000..  614399: 699126407168..699126509567: 102400: 691562389504: shared
   6:   614400..  716799: 699169431552..699169533951: 102400: 699126509568: shared
   7:   716800..  819199: 699183190016..699183292415: 102400: 699169533952: shared
   8:   819200..  921599: 699530420224..699530522623: 102400: 699183292416: last,shared,eof
foo: 9 extents found
File size of bar is 921600 (921600 blocks of 1 bytes)
 ext:     logical_offset:        physical_offset: length:   expected: flags:
   0:        0..  102399: 672928833536..672928935935: 102400:             shared
   1:   102400..  204799: 673052336128..673052438527: 102400: 672928935936: shared
   2:   204800..  307199: 686491369472..686491471871: 102400: 673052438528: shared
   3:   307200..  409599: 690860650496..690860752895: 102400: 686491471872: shared
   4:   409600..  511999: 691562287104..691562389503: 102400: 690860752896: shared
   5:   512000..  614399: 699126407168..699126509567: 102400: 691562389504: shared
   6:   614400..  716799: 699169431552..699169533951: 102400: 699126509568: shared
   7:   716800..  819199: 699183190016..699183292415: 102400: 699169533952: shared
   8:   819200..  921599: 699530420224..699530522623: 102400: 699183292416: last,shared,eof
bar: 9 extents found
$ rmlint --is-reflink -vv foo bar
DEBUG: Testing if foo is clone of bar
DEBUG: Checking link type for foo vs bar
DEBUG: rm_offset_get_fiemap: fd=3, n_extents=1, file_offset=0
DEBUG: rm_offset_get_fiemap: fd=3, n_extents=1, file_offset=102400
DEBUG: rm_offset_get_fiemap: fd=4, n_extents=1, file_offset=0
DEBUG: rm_offset_get_fiemap: fd=4, n_extents=1, file_offset=102400
DEBUG: Offsets match at fd1=3, fd2=4, logical=0, physical=672928833536
DEBUG: rm_offset_get_fiemap: fd=3, n_extents=1, file_offset=204800
DEBUG: rm_offset_get_fiemap: fd=3, n_extents=1, file_offset=307200
DEBUG: rm_offset_get_fiemap: fd=4, n_extents=1, file_offset=204800
DEBUG: rm_offset_get_fiemap: fd=4, n_extents=1, file_offset=307200
DEBUG: Offsets match at fd1=3, fd2=4, logical=204800, physical=686491369472
DEBUG: rm_offset_get_fiemap: fd=3, n_extents=1, file_offset=409600
DEBUG: rm_offset_get_fiemap: fd=3, n_extents=1, file_offset=512000
DEBUG: rm_offset_get_fiemap: fd=4, n_extents=1, file_offset=409600
DEBUG: rm_offset_get_fiemap: fd=4, n_extents=1, file_offset=512000
DEBUG: Offsets match at fd1=3, fd2=4, logical=409600, physical=691562287104
DEBUG: rm_offset_get_fiemap: fd=3, n_extents=1, file_offset=614400
DEBUG: rm_offset_get_fiemap: fd=3, n_extents=1, file_offset=716800
DEBUG: rm_offset_get_fiemap: fd=4, n_extents=1, file_offset=614400
DEBUG: rm_offset_get_fiemap: fd=4, n_extents=1, file_offset=716800
DEBUG: Offsets match at fd1=3, fd2=4, logical=614400, physical=699169431552
DEBUG: rm_offset_get_fiemap: fd=3, n_extents=1, file_offset=819200
DEBUG: rm_offset_get_fiemap: fd=4, n_extents=1, file_offset=819200
Link type for 'foo' and 'bar', result:
Reflink

Actual result

rmlint compares four pairs of physical offsets, despite the files having nine extents each.

Expected result

rmlint compares nine pairs of physical offsets, one for each pair of extents.

Versions

rmlint version 2.10.1 built from develop commit bdb591f4 with _RM_OFFSET_DEBUG=1.

created time in 7 days

issue commentAmulet-Team/Amulet-Map-Editor

[linux/macOS] Flickering UI on canvas

@gentlegiantJGC Arch Linux, linux-ck 5.12.19, GTX 970 with nvidia 470.63.01, Qt 6.1.2.

gentlegiantJGC

comment created time in 25 days

issue commentAmulet-Team/Amulet-Map-Editor

[linux/macOS] Flickering UI on canvas

@gentlegiantJGC The demo renders fine for me.

gentlegiantJGC

comment created time in 25 days

pull request commentjamesmcm/vopono

Improve NetworkManager, firewalld support

firewall-cmd --state exits with status 252 if firewalld is not running - since you can run it without systemd it would probably be a good idea to use that instead.

jamesmcm

comment created time in a month

issue openedjamesmcm/vopono

Error: failed to reload connections: NetworkManager is not running.

I have NetworkManger installed, but at the moment I use systemd-networkd to manage network connections. vopono exec fails:

$ vopono exec --provider PrivateInternetAccess --server us_new_york true
 2021-08-12T02:10:19.814Z INFO  vopono::util > Calling sudo for elevated privileges, current user will be used as default user
 2021-08-12T02:10:20.126Z INFO  vopono::util > Chosen config: /home/jared/.config/vopono/pia/openvpn/us_new_york.ovpn
 2021-08-12T02:10:20.128Z INFO  vopono::netns > Created new network namespace: vopono_pia_us_new_york
Error: failed to reload connections: NetworkManager is not running.
 2021-08-12T02:10:20.136Z INFO  vopono::netns > Shutting down vopono namespace - as there are no processes left running inside
Error: Failed to reload NetworkManager configuration

Caused by:
    Command failed: nmcli connection reload

It would be convenient if vopono checked the result of nmcli general status (which exits with status 8 if NetworkManager is not running) before trying to communicate with it.

created time in a month

issue commentjamesmcm/vopono

Not working with firewalld nftables backend

I am using PIA with the OpenVPN provider. The firewalld issue manifests as a hang with a repeating RESOLVE: Cannot resolve host address: us-newyorkcity.privacy.network:1198 (Name or service not known) in the OpenVPN log.

firewalld's default zone (public) restricts traffic on the dest veth interface. I was able to get it working with firewall-cmd --zone=trusted --add-interface=pia_us_new_yo_d (persists until reboot, run again with --permanent to apply permanently).

braderhart

comment created time in a month

push eventCebtenzzre/MPD

Max Kellermann

commit sha d7df5e1c903c1db4cf4abbc065a5b6e82ffd1203

LogBackend: pass std::string_view to Log()

view details

Naglis Jonaitis

commit sha eb630ca655c7380abebc38a9675e9485afb917b5

doc/user.rst: rectify admin permission Updating the database no longer requires the `admin` permission, only `control` is needed (changed in 2abad0f479). See also: #1124

view details

Max Kellermann

commit sha 0185d58a2bd0d9ad3081725abc87be2b3d45b0ef

Log: add libfmt support

view details

Max Kellermann

commit sha 6f539cfcd64b2c6e5e4f5dd0a3d2f577e9c219c3

Partition, ...: use libfmt for logging

view details

Max Kellermann

commit sha 0e0f46a1e0a7662db0b497b636f87e4402ade099

Log: remove unused Format functions

view details

Max Kellermann

commit sha 85b0029ba2000fb132c9008a610e08e8bf499ab5

meson.build: add missing dependencies on libfmt

view details

Max Kellermann

commit sha f60a42e0b6326cd25f0c20eb21e03f4cc2d90bf0

Log, client/Response: adapt to libfmt 8.0.0 API changes

view details

Max Kellermann

commit sha b29a43b4d71916ca6155be4d4d82ea137ff1a992

decoder/mad, ...: more libfmt logging

view details

Khem Raj

commit sha d39b11ba5d0f9e36e59f1fdf7321bcd64c3bfe26

include <utility> for std::forward Fixes ../git/src/Log.hxx:121:42: error: no member named 'forward' in namespace 'std' LogFormat(LogLevel::ERROR, e, fmt, std::forward<Args>(args)...); Signed-off-by: Khem Raj <raj.khem@gmail.com>

view details

Max Kellermann

commit sha 716784f632148ff5da1a3cd6d235f5b93191c5ab

increment version number to 0.22.10

view details

Max Kellermann

commit sha 5eab2d96f499ba0dce3df1800e566c7b52b3d05f

output/winmm: fix struct/class mismatch

view details

Max Kellermann

commit sha 809a18913a179c1581cea463daaac3cbdae2231f

fs/Traits: add overload GetParent(string_view)

view details

Max Kellermann

commit sha 19a44076cfd31c4c6e2c58d0efc86244970fc2e8

command/file: pass directory uri to read_stream_art()

view details

Max Kellermann

commit sha 64fa76c56826cdb89a0eb9b24553bdf6293fe434

command/file: support "albumart" for virtual tracks in CUE sheets Instead of checking for "cover.jpg" in the virtual directory representing the CUE sheet, check its enclosing directory. Closes https://github.com/MusicPlayerDaemon/MPD/issues/1206

view details

Sam Bazley

commit sha 57687779befd796b79b1a569daf9e48eac3aea26

Android: add option to pause MPD when headphones disconnect

view details

Jacob Vosmaer

commit sha ea95da3b1a4c0ea0f76badffcb181b6b509703a1

archive/meson.build: add missing libfmt dependency

view details

Sam Bazley

commit sha 5b775ca5b4aad9aecb2b29e033f9df790b06d554

decoder/ffmpeg: check if long_name is not null

view details

Max Kellermann

commit sha 5355335f190016e2611a2029a982755c0cfa817b

db/simple/ExportedSong: check src.OwnsTag(), not this->OwnsTag() this->OwnsTag() accesses fields that are not yet initialized.

view details

Max Kellermann

commit sha cdca27e6bb8fc00299a7337209c85956c74dde38

decoder/Bridge: fix libfmt string

view details

Max Kellermann

commit sha 6975d3ca4bcce3b61fbc87b15202e7d794baf169

output/pipewire: switch from pw_main_loop to pw_thread_loop We need this for pw_thread_loop_lock().

view details

push time in 2 months

create barnchCebtenzzre/MPD

branch : patches

created branch time in 2 months

CommitCommentEvent

issue commentdougbrion/pytorch-classification-uncertainty

KL Divergence

@dougbrion As far as I can tell, the new kl_divergence implementation is functionally and numerically identical to the old one, with the only changes being refactoring and a few renamed variables. The differences in the NLL loss plot (old, new) could be attributed to commit 5d5c0a62f05fd6d981b0a059712bcb2102daaded (new test digit) or the changes to data.py in commit c9d4845c97c6e5c0322bf4754274fc0f415fee0a (resize transform eliminated) - after all, the rotated digit is visibly different.

Is my analysis correct?

zhangchuanyi96

comment created time in 2 months

issue closedbbolli/tumblr-utils

Python File Opens But Nothing Happens ??

Hello, I actually used this program in the past and it worked perfectly, but now it doesn't work for some reason....?? As shown on the picture I attached, when I type in the command and hit enter, the [tumblr_backup.py] file opens but nothing happens. I'm really confused on what I'm doing wrong since the only thing I changed in my python file is adding my tumblr api code.

  • The version tumblr-utils: caa912f (downloaded today [July 27th, 2021])
  • No crashes or a backtrace
  • The exact command I ran: Issue

closed time in 2 months

sublucat

issue commentbbolli/tumblr-utils

Python File Opens But Nothing Happens ??

@sublucat That's because of non-ASCII characters in posts. It happens easily on Python 2 because raw bytes are interchangeable with ASCII strings. Feel free to open a separate issue mentioning that UnicodeDecodeError. For a quick fix, unicode works better on my fork, especially when used with Python 3.

sublucat

comment created time in 2 months

issue commentbbolli/tumblr-utils

Python File Opens But Nothing Happens ??

@sublucat 401 unauthorized most likely means your API key is wrong. Make sure you've copied your OAuth consumer key.

sublucat

comment created time in 2 months

issue commentbbolli/tumblr-utils

Python File Opens But Nothing Happens ??

That seems like what would happen if you have no file association for python scripts. Try running it as python tumblr_backup.py sublucat instead (assuming you have Python 2 installed and it is on your PATH).

sublucat

comment created time in 2 months

issue commentbbolli/tumblr-utils

AttributeError: 'URLError' object has no attribute 'code'

@khaygiel Looks like the most recent commit introduced a regression. You could try the previous commit, or my fork (which provides a --resume option that would avoid downloading those 1k posts again).

https://github.com/bbolli/tumblr-utils/blob/be22b8cfa60d547868694d6c8ce80265009fb896/tumblr_backup.py#L207-L208 @bbolli urllib2.URLError is a subclass of EnvironmentError but has no code attribute. This if statement should check isinstance(e, HTTPError) before it tries to read e.code.

khaygiel

comment created time in 2 months

push eventCebtenzzre/libfm

Pjotr123

commit sha cbd2f899b2559d26fdce0c1c031a224dd4909848

Update nl.po Small correction

view details

Samuel Laurén

commit sha 8cfbc980127e8953ce2b615ecad35b16870211a8

Fix memory access error if home path == desktop path Fixed a problem where if the home directory path and desktop directory path are the same, desktop path would get corrupted. Without the fix, libfm will read garbage from memory and treat it as a desktop path.

view details

Mahmoud Al-Qudsi

commit sha e5d33258177b3a80a9431cac2d63adf0c833c096

Also treat /usr/local/share/ as trusted for *.desktop files lxde/libfm#21 added a security measure to prevent auto-execution of possibly untrusted `*.desktop` files, with a hard-coded exception for .desktop files found under `/usr/share` (e.g. `/usr/share/applications`) as it is under system control, to mitigate user inconvenience. This effectively broke LXDE under platforms that default to a different path for packages/software installed by the (privileged) system administrator, as now every interaction prompts users to choose between launching or viewing the `.desktop` target in question. This patch adds `/usr/local/share` to that list of exceptions, which is the default location for system-controlled, non-1st-party applications, on many platforms/distributions, such as FreeBSD. (Obviously this is all with regards to `/usr/local/share` and not `$HOME/.local/share`)

view details

Simon Long

commit sha f9b927ae18e1783493cb13b842aabef3a4146181

Fix value for amount of data transferred

view details

Imre Kristoffer Eilertsen

commit sha 178c160af860ac0a64f770efe16fc8d9f9aef8f1

Created a 100% complete Norwegian translation

view details

Imre Kristoffer Eilertsen

commit sha 9b3bef367f55feaa0d19ee1f94aefaca7e369e65

Tiny corrections

view details

wb9688

commit sha 12b3fe8b3ce495acb9720a7d5dbb3f16cf4d16bf

Fix search_window immediately disappearing on Wayland

view details

wb9688

commit sha 39915872f5db22d6113a01eb050865a3c6928115

Always set preferred height in fm-cell-renderer-text

view details

Ingo Brückl

commit sha 582f946367ff3c458f9c3dd51032d612dd66e684

Update German translation

view details

Ingo Brückl

commit sha 74023d88bc53261046d90c5c564c50eb98346fc6

Update German translation

view details

Ingo Brückl

commit sha ad15bba53dc149781d848b6e64970d8b425cc6cc

Update German translation

view details

Ingo Brückl

commit sha 75a0471baeafc4607c17bdf54209d91272c48373

Update German translation

view details

Ingo Brückl

commit sha f030e0ac95ab389ab7bd2fd095fa74b4c54f248c

Update German translation

view details

Ingo Brückl

commit sha c45b819a9150bbf4649eb8a9725fe06c67b0f445

Update German translation

view details

Ingo Brückl

commit sha 4e8ba0514753853a2ed31a915d80a9dd0085c1ea

Update German translation

view details

Ingo Brückl

commit sha cc93bbde5aa24d736b55ba4d718f91bff0d01d27

Create thumbnails according to the XDG Base Directory Specification The thumbnail directory should be created where user-specific non-essential (cached) data should be written rather than in the user's home directory. This addresses github issue #57.

view details

Ingo Brückl

commit sha 15460a86216fa1024ec689fbc8cf8176a43e76a4

Fix the wrong xarchiver command to create archives

view details

Ingo Brückl

commit sha 1d799677edce7be1ae6d63b1602d74981e2175e4

Update the list of mime types handled by xarchiver

view details

wb9688

commit sha ab867b3b68331349624afc5862f9393633444685

Don't set $DISPLAY

view details

Andriy Grytsenko

commit sha 550bd7b012a58e2118e189d66665e5fe2fe3935d

Fix memory leak on sn_id in fm-action.c.

view details

push time in 2 months

startedtopjohnwu/Magisk

started time in 2 months

CommitCommentEvent

issue commentPerfare/AssetStudio

Getting loads of different errors when loading just one file

@flleeppyy could you try v0.15.37 to see if you and I are encountering the same issue? If the older AssetStudio works for both of us then chances are your file is fine and there's just a problem with the latest code.

flleeppyy

comment created time in 3 months

PR opened MusicPlayerDaemon/MPD

tag/Builder: don't ignore the result of tag_pool_dup_item

Also, use RemoveAll() instead of directly clearing TagBuilder::items in most cases, as its elements represent references that must be released.

I added [[nodiscard]] to tag_pool_get_item and tag_pool_dup_item to try and prevent future misuse of these functions.

Closes #1023


TagBuilder assumes that tag_pool_dup_item can be used to safely increment the refcount of each TagItem: https://github.com/MusicPlayerDaemon/MPD/blob/0e0f46a1e0a7662db0b497b636f87e4402ade099/src/tag/Builder.cxx#L68-L71

But tag_pool_dup_item may return a freshly allocated item if the reference counter is maxed out: https://github.com/MusicPlayerDaemon/MPD/blob/0e0f46a1e0a7662db0b497b636f87e4402ade099/src/tag/Pool.cxx#L137-L145

This not only leaks the new TagItem, but fails to increment the original TagItem's reference count, causing a heap-use-after-free later on as the reference count will hit zero before all of the references have been released.

This can be proven to happen in practice by adding an assertion to the original loop:

for (auto i : items) {
    const auto new_item = tag_pool_dup_item(i);
    /* assert that we incremented the refcount */
    assert(new_item == i);
}

This assertion fails if I simply rescan my music library with mpc rescan:

mpd: ../src/tag/Builder.cxx:73: TagBuilder& TagBuilder::operator=(const TagBuilder&): Assertion `new_item == i' failed.

Thread 4 "update" received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffddc39640 (LWP 660666)]
0x00007ffff2669d22 in raise () from /usr/lib/libc.so.6
(gdb) bt
#0  0x00007ffff2669d22 in raise () at /usr/lib/libc.so.6
#1  0x00007ffff2653862 in abort () at /usr/lib/libc.so.6
#2  0x00007ffff2653747 in _nl_load_domain.cold () at /usr/lib/libc.so.6
#3  0x00007ffff2662616 in  () at /usr/lib/libc.so.6
#4  0x0000555555851e50 in TagBuilder::operator=(TagBuilder const&) (this=this@entry=0x62100006a148, other=...) at ../src/tag/Builder.cxx:73
#5  0x000055555593a448 in CueParser::Feed(StringView) (this=this@entry=0x62100006a120, src=...) at ../src/playlist/cue/CueParser.cxx:253
#6  0x000055555592b973 in CuePlaylist::NextSong() (this=0x621000069100) at ../src/playlist/plugins/CuePlaylistPlugin.cxx:54
#7  0x0000555555954284 in UpdateWalk::UpdatePlaylistFile(Directory&, std::basic_string_view<char, std::char_traits<char> >, StorageFileInfo const&, PlaylistPlugin const&) (this=<optimized out>, parent=<optimized out>, name=<optimized out>, info=<optimized out>, plugin=<optimized out>) at ../src/db/update/Playlist.cxx:67
#8  0x000055555595580c in UpdateWalk::UpdatePlaylistFile(Directory&, std::basic_string_view<char, std::char_traits<char> >, char const*, StorageFileInfo const&) (this=this@entry=0x60b00001eff0, directory=..., name=<optimized out>, suffix=suffix@entry=0x603000249117 "cue", info=...) at ../src/db/update/Playlist.cxx:99
#9  0x000055555594e5ed in UpdateWalk::UpdateRegularFile(Directory&, char const*, StorageFileInfo const&) (info=..., name=0x603000249100 "Rush - Moving Pictures.cue", directory=..., this=0x60b00001eff0) at ../src/db/update/Walk.cxx:198
#10 UpdateWalk::UpdateDirectoryChild(Directory&, ExcludeList const&, char const*, StorageFileInfo const&) (this=<optimized out>, directory=<optimized out>, exclude_list=<optimized out>, name=0x603000249100 "Rush - Moving Pictures.cue", info=...) at ../src/db/update/Walk.cxx:209
#11 0x000055555594c529 in UpdateWalk::UpdateDirectory(Directory&, ExcludeList const&, StorageFileInfo const&) (this=<optimized out>, directory=<optimized out>, exclude_list=<optimized out>, info=<optimized out>) at ../src/db/update/Walk.cxx:386
#12 0x000055555594e48d in UpdateWalk::UpdateDirectoryChild(Directory&, ExcludeList const&, char const*, StorageFileInfo const&) (this=<optimized out>, directory=<optimized out>, exclude_list=<optimized out>, name=<optimized out>, info=...) at ../src/db/update/Walk.cxx:223
#13 0x000055555594c529 in UpdateWalk::UpdateDirectory(Directory&, ExcludeList const&, StorageFileInfo const&) (this=<optimized out>, directory=<optimized out>, exclude_list=<optimized out>, info=<optimized out>) at ../src/db/update/Walk.cxx:386
#14 0x000055555594e48d in UpdateWalk::UpdateDirectoryChild(Directory&, ExcludeList const&, char const*, StorageFileInfo const&) (this=<optimized out>, directory=<optimized out>, exclude_list=<optimized out>, name=<optimized out>, info=...) at ../src/db/update/Walk.cxx:223
#15 0x000055555594c529 in UpdateWalk::UpdateDirectory(Directory&, ExcludeList const&, StorageFileInfo const&) (this=<optimized out>, directory=<optimized out>, exclude_list=<optimized out>, info=<optimized out>) at ../src/db/update/Walk.cxx:386
#16 0x000055555594e48d in UpdateWalk::UpdateDirectoryChild(Directory&, ExcludeList const&, char const*, StorageFileInfo const&) (this=<optimized out>, directory=<optimized out>, exclude_list=<optimized out>, name=<optimized out>, info=...) at ../src/db/update/Walk.cxx:223
#17 0x000055555594c529 in UpdateWalk::UpdateDirectory(Directory&, ExcludeList const&, StorageFileInfo const&) (this=<optimized out>, directory=<optimized out>, exclude_list=<optimized out>, info=<optimized out>) at ../src/db/update/Walk.cxx:386
#18 0x0000555555950bdb in UpdateWalk::Walk(Directory&, char const*, bool) (this=<optimized out>, root=<optimized out>, path=<optimized out>, discard=<optimized out>) at ../src/db/update/Walk.cxx:530
#19 0x00005555559407d3 in UpdateService::Task() (this=0x611000008ec0) at ../src/db/plugins/simple/SimpleDatabasePlugin.hxx:85
#20 BindMethodDetail::BindMethodWrapperGenerator2<UpdateService, true, void (UpdateService::*)() noexcept, &UpdateService::Task, void>::Invoke(void*) (_instance=0x611000008ec0) at ../src/util/BindMethod.hxx:189
#21 0x00005555557746dc in BoundMethod<void () noexcept>::operator()() const (this=0x611000008f10) at ../src/util/BindMethod.hxx:91
#22 Thread::Run() (this=0x611000008f10) at ../src/thread/Thread.cxx:63
#23 Thread::ThreadProc(void*) (ctx=0x611000008f10) at ../src/thread/Thread.cxx:92
#24 0x00007ffff2802259 in start_thread () at /usr/lib/libpthread.so.0
#25 0x00007ffff272b5e3 in clone () at /usr/lib/libc.so.6
+10 -4

0 comment

3 changed files

pr created time in 3 months

push eventCebtenzzre/MPD

Max Kellermann

commit sha d7df5e1c903c1db4cf4abbc065a5b6e82ffd1203

LogBackend: pass std::string_view to Log()

view details

Max Kellermann

commit sha 0185d58a2bd0d9ad3081725abc87be2b3d45b0ef

Log: add libfmt support

view details

Max Kellermann

commit sha 6f539cfcd64b2c6e5e4f5dd0a3d2f577e9c219c3

Partition, ...: use libfmt for logging

view details

Max Kellermann

commit sha 0e0f46a1e0a7662db0b497b636f87e4402ade099

Log: remove unused Format functions

view details

Cebtenzzre

commit sha ed4d3a7a4208b0eb7017a13c36a327229a341e8b

tag/Builder: don't ignore the result of tag_pool_dup_item Also, use RemoveAll() instead of directly clearing TagBuilder::items in most cases, as its elements represent references that must be released. Closes #1023

view details

push time in 3 months

create barnchCebtenzzre/Cebtenzzre

branch : master

created branch time in 3 months

created repositoryCebtenzzre/Cebtenzzre

created time in 3 months

create barnchCebtenzzre/gthumb

branch : patches

created branch time in 3 months