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

reox/androguard 3

Reverse engineering, Malware and goodware analysis of Android applications ... and more (ninja !)

ElektraInitiative/blobs 2

Contains blobs to reduce the size of the main repository.

reox/010editor-templates 2

Templates for the 010 Editor

reox/droidbox 1

Scripts to use with droidbox

reox/010Editor-stuff 0

A collection of 010 Editor specific stuff

reox/256lamp 0

Use 256 WS2812 LEDs with an ESP8266 and ARTnet for fancyness

reox/android_kernel_indigo_2.6.36.3 0

Yet another try to dissect the changes

startedZacharAdn/ct_2_xRay

started time in 10 days

issue openedgraphefruit/Beanconqueror

Bean age is calculated using time and not only the date component

This is a minor flaw: the bean age seems to be calculated using the time when adding the bean and not simply by using the dates. thus adding two beans at different times at the day results in different ages: image

To reproduce: Add two beans with the same roasting date at different times of the day. In the time between the two adds, the roast age will show one day offset.

created time in 16 days

fork reox/Beanconqueror

An open source project for coffee enthusiasts.

fork in a month

issue commentlucapinello/pydecentscale

Decent Scale will only report values if you send some command

I'm happy to help with testing it on Windows ;)

I think the easiest way would be to implement a producer/consumer queue to exchange values. There is an example in the bleak repo for that. Eventually, you want something to put values into matplotlib and then you want them as list.

reox

comment created time in a month

issue commentgraphefruit/Beanconqueror

Show brewratio in g/l for filter

yes, that is nothing of high importance :) And I like the dual display as well!

reox

comment created time in a month

PR opened lucapinello/pydecentscale

Adding command parsing

added a crude logic to parse the commands which can be extended. consolidating the send functions

+67 -48

0 comment

1 changed file

pr created time in a month

push eventreox/pydecentscale

lucapinello

commit sha bef0b33a0e04d0a45b53fd226af18b5cbd745f15

first beta with threading

view details

Luca Pinello

commit sha 5e31db2e9ecefc53e9f782a5123c414e169a0408

Update README.md

view details

lucapinello

commit sha 16e41d29c45e5bb0c04e9a09c75456cbf1c2bea6

add python script

view details

Sebastian Bachmann

commit sha cf771bcf92ec98bb5511838da62015cef3b1f96e

adding verification of packets and logic to handle all types of packets

view details

Sebastian Bachmann

commit sha 3e7a5d8e10058d57850cb213ebf34813deb7c845

consolidate send function

view details

push time in a month

issue commentlucapinello/pydecentscale

Decent Scale will only report values if you send some command

I debugged this a bit and it looks like that this loop is the culprit:

for i in range(50):
    if ds.weight:
        print('current weight:%.1f' % ds.weight, end='\r')
    asyncio.run( asyncio.sleep(0.1))

ds.weight is always None for me during the execution, however if I add a print into the notification handler, I see notifications arriving and setting weight. But I do not understand why the value can not be read from the ds object?

reox

comment created time in a month

issue commentlucapinello/pydecentscale

Decent Scale will only report values if you send some command

Nice! I just pulled your changes, unfortunately, the scale is still a bit fuzzy. If I run the demo code from the README, I do not see any weight changes incoming. However, that might just be a Windows thing.

Attached is my crude jittertest script (actually it is not quite jitter but simply the time between notifications). These are my results on a Windows 10 Notebook:

received 94 packets
Duration:  10194.23291015625 ms
min, max:  32.526123046875 261.338134765625
mean+-sd 100.28495936239919 54.36369039182432
median,iqr 98.976806640625 98.35595703125

And this is the optimal case, when I reran the script, I get this result:

received 31 packets
Duration:  13576.017578125 ms
min, max:  16.639892578125 1783.613037109375
mean+-sd 431.23115234375 398.7467937941259
median,iqr 325.084228515625 262.54718017578125

I can test next week with a linux machine, maybe this is related to the bluetooth stack of the operating system.

jittertest.py.txt (pls note that the scale's mac address is hardcoded in the script)

reox

comment created time in a month

issue commentlucapinello/pydecentscale

Decent Scale will only report values if you send some command

I wrote a short script to check the jitter of the notifications. And there I noticed, I have to send led on to make notifications appear. It looks like I only get notifications after the scale shows APP on the display, and I only get this when I send the led command (or another command). Furthermore, I noticed that there seems to be notification loss - at least here on my Win10 machine - and sometimes there are seconds long no notifications. Do you have the same behavior?

reox

comment created time in a month

issue commentlucapinello/pydecentscale

Decent Scale will only report values if you send some command

I had never worked with asyncio before, so it is a good training code for me :D So far, I also noticed that the notification handler would sometimes simply stop getting new notifications. That sounds like the issue you are describing. Looking forward for your fixes & happy to test them :)

reox

comment created time in a month

issue commentlucapinello/pydecentscale

Decent Scale will only report values if you send some command

weird enough: now the scale starts to send notification as soon as I enable notifications, without having send any command before... do you know by chance what the expected behaviour here is?

reox

comment created time in a month

issue openedlucapinello/pydecentscale

Decent Scale will only report values if you send some command

Hi! thanks for your library, I wanted to do the same but you now have a head start ;)

I found out that the decent scale (at least my one) will only send weight data if you previously send some command. (does your does the same?) This is also implicitly written in the documentation (Quick Guide, Step 3) I first thought my scale is broken, because it did not send any weight data, but then I found out that sending, for example, the LED ON command also triggers the weight updates.

I also found out that the notification callback then receives the information regard button presses, led on/off (i.e. unit and battery status), tare command responses and possibly also timer responses (however that is not written in the API description)

I played around with that a bit and will prepare a PR when I'm ready, if you like!

created time in a month

startedlucapinello/pydecentscale

started time in a month

fork reox/pydecentscale

Python module to interact with the Decent Scale scales (https://decentespresso.com/scale) via Bluetooth (BLE).

fork in a month

issue closedborgbackup/borg

Prune append-only repo if client has pruned the repo already

<!-- Thank you for reporting an issue.

IMPORTANT - before creating a new issue please look around:

  • Borgbackup documentation: http://borgbackup.readthedocs.io/en/stable/index.html
  • FAQ: https://borgbackup.readthedocs.io/en/stable/faq.html and
  • open issues in Github tracker: https://github.com/borgbackup/borg/issues

If you cannot find a similar problem, then create a new issue.

Please fill in as much of the template as possible. -->

Have you checked borgbackup docs, FAQ, and open Github issues?

yes

Is this a BUG / ISSUE report or a QUESTION?

QUESTION

System information. For client/server mode post info for both machines.

Your borg version (borg -V).

borg 1.1.9

Operating system (distribution) and version.

Debian Buster

Hardware / network configuration, and filesystems used.

How much data is handled by borg?

Full borg commandline that lead to the problem (leave away excludes and passwords)

Server in append-only mode, configured via .ssh/authorized_keys: https://borgbackup.readthedocs.io/en/stable/usage/notes.html#append-only-mode

Client:

borg prune --verbose --show-version --show-rc --stats --list --keep-daily=7 --keep-weekly=4 --keep-monthly=12 --keep-yearly=-1 "$REMOTEURL"

Admin Machine tries the same prune command later.

Describe the problem you're observing.

The documentation for the append-mode says under "Drawbacks":

Be aware that as soon as you write to the repo in non-append-only mode (e.g. prune, delete or create archives from an admin machine), it will remove the deleted objects permanently (including the ones that were already marked as deleted, but not removed, in append-only mode).

See https://borgbackup.readthedocs.io/en/stable/usage/notes.html#drawbacks

However, I found that running borg prune on the repository from the admin machine does not work if the client (who can only append) runs prune on its own and thus the admin would not prune any archives. The documentation suggest to me, that it should be possible for the client to tag the data as removed and the admin eventually removes it completely. But, in that case the admin has to find a time when the client has not yet pruned the repo and would have tagged any new archives. Maybe I do not understand the documentation here correctly but it sounds like that running prune on the admin machine should remove all tagged archives, but it seems like it does this only if there are any archives to prune on the admin machine as well. Or does "as soon as you write" means that the pruning is only triggered if and only if something else is actually pruned, thus running borg prune without any archive pruned is only reading?

Furthermore, is there a way to remove only the tagged archives as the admin, even if no other archives would be pruned?

Can you reproduce the problem? If so, describe how. If not, describe troubleshooting steps you took before opening the issue.

yes

Include any warning/errors/backtraces from the system logs

<!--

If this complaint relates to borg performance, please include CRUD benchmark results and any steps you took to troubleshoot. How to run benchmark: http://borgbackup.readthedocs.io/en/stable/usage/benchmark.html

IMPORTANT - Please mark logs and text output from terminal commands or else Github will not display them correctly. An example is provided below.

Example:

this is an example how log text should be marked (wrap it with ```)

-->

closed time in a month

reox

issue commentborgbackup/borg

Prune append-only repo if client has pruned the repo already

okay, that is good to know. That indeed answers my question. Maybe that should be added to the documentation to clearly state this? Or did I just read over that in the documentation?

reox

comment created time in a month

issue commentborgbackup/borg

Prune append-only repo if client has pruned the repo already

yes that is clear, maybe lets explain it a different way:

# client --> can only append-only
# admin --> has read/write access
client$ borg commit [...]  # runs daily

# now the client calls prune at some point in time:
client$ borg prune --keep-daily 7 [...]  # keeps 7 archives but only tags for removal

# After that, the admin wants to do the same:
admin$ borg verify [...]
admin$ borg prune --keep-daily 7 [...]  # does not prune anything and does not compact the repo
admin$ borg prune --keep-daily 6 [...]  # removes one archive and compacts the repo 
reox

comment created time in a month

issue openedborgbackup/borg

Prune append-only repo if client has pruned the repo already

<!-- Thank you for reporting an issue.

IMPORTANT - before creating a new issue please look around:

  • Borgbackup documentation: http://borgbackup.readthedocs.io/en/stable/index.html
  • FAQ: https://borgbackup.readthedocs.io/en/stable/faq.html and
  • open issues in Github tracker: https://github.com/borgbackup/borg/issues

If you cannot find a similar problem, then create a new issue.

Please fill in as much of the template as possible. -->

Have you checked borgbackup docs, FAQ, and open Github issues?

yes

Is this a BUG / ISSUE report or a QUESTION?

QUESTION

System information. For client/server mode post info for both machines.

Your borg version (borg -V).

borg 1.1.9

Operating system (distribution) and version.

Debian Buster

Hardware / network configuration, and filesystems used.

How much data is handled by borg?

Full borg commandline that lead to the problem (leave away excludes and passwords)

Server in append-only mode, configured via .ssh/authorized_keys: https://borgbackup.readthedocs.io/en/stable/usage/notes.html#append-only-mode

Client:

borg prune --verbose --show-version --show-rc --stats --list --keep-daily=7 --keep-weekly=4 --keep-monthly=12 --keep-yearly=-1 "$REMOTEURL"

Admin Machine tries the same prune command later.

Describe the problem you're observing.

The documentation for the append-mode says under "Drawbacks":

Be aware that as soon as you write to the repo in non-append-only mode (e.g. prune, delete or create archives from an admin machine), it will remove the deleted objects permanently (including the ones that were already marked as deleted, but not removed, in append-only mode).

See https://borgbackup.readthedocs.io/en/stable/usage/notes.html#drawbacks

However, I found that running borg prune on the repository from the admin machine does not work if the client (who can only append) runs prune on its own and thus the admin would not prune any archives. The documentation suggest to me, that it should be possible for the client to tag the data as removed and the admin eventually removes it completely. But, in that case the admin has to find a time when the client has not yet pruned the repo and would have tagged any new archives. Maybe I do not understand the documentation here correctly but it sounds like that running prune on the admin machine should remove all tagged archives, but it seems like it does this only if there are any archives to prune on the admin machine as well. Or does "as soon as you write" means that the pruning is only triggered if and only if something else is actually pruned, thus running borg prune without any archive pruned is only reading?

Furthermore, is there a way to remove only the tagged archives as the admin, even if no other archives would be pruned?

Can you reproduce the problem? If so, describe how. If not, describe troubleshooting steps you took before opening the issue.

yes

Include any warning/errors/backtraces from the system logs

<!--

If this complaint relates to borg performance, please include CRUD benchmark results and any steps you took to troubleshoot. How to run benchmark: http://borgbackup.readthedocs.io/en/stable/usage/benchmark.html

IMPORTANT - Please mark logs and text output from terminal commands or else Github will not display them correctly. An example is provided below.

Example:

this is an example how log text should be marked (wrap it with ```)

-->

created time in a month

startedjacklul/pihole-updatelists

started time in a month

issue openedgraphefruit/Beanconqueror

Show brewratio in g/l for filter

I think I go with James Hoffmann, that for filter the 1:x brew ratios are a bit "ugly" to use. I would prefer to see this as g/l instead of the 1:x ratios. However, for espresso I still like the 1:x ratios. Having this configurable would be very nice.

Furthermore, having this in the brewratio calculator would be also nice, i.e. converting from ratios to g/l and calculating required dose for given yield and vice versa.

created time in 2 months

issue commentJabRef/JabRef-Browser-Extension

Encoding Issues with FF/Win10

thank you for the powershell tricks ;)

reox

comment created time in 2 months

pull request commentJabRef/jabref

Write temporary file on bib import in jabrefhost.ps1

I put that under changed, is that OK?

reox

comment created time in 2 months

push eventreox/jabref

Sebastian Bachmann

commit sha 238fba298ea0b7307ba66bdae31247bfd9abde38

adding changelog entry

view details

push time in 2 months

issue commentJabRef/JabRef-Browser-Extension

Encoding Issues with FF/Win10

yes! Using that I got it working in PS5.1.

I created a PR here: https://github.com/JabRef/jabref/pull/7918

reox

comment created time in 2 months

PR opened JabRef/jabref

Write temporary file on bib import in jabrefhost.ps1

This resolves an issue where the encoding somehow got lost when using the Jabref Browser extension. It will now write a temporary file with UTF-8 encoding rather than passing the bibtex on the commandline.

See https://github.com/JabRef/JabRef-Browser-Extension/issues/274

<!-- Describe the changes you have made here: what, why, ... Link issues that are fixed, e.g. "Fixes #333". If you fixed a koppor issue, link it, e.g. "Fixes https://github.com/koppor/jabref/issues/47". The title of the PR must not reference an issue, because GitHub does not support autolinking there. -->

<!--

  • Go through the list below. Please don't remove any items.

  • [x] done; [ ] not done / not applicable -->

  • [] Change in CHANGELOG.md described in a way that is understandable for the average user (if applicable)

  • [] Tests created for changes (if applicable)

  • [] Manually tested changed features in running JabRef (always required)

  • [] Screenshots added in PR description (for UI changes)

  • [] Checked documentation: Is the information available and up to date? If not created an issue at https://github.com/JabRef/user-documentation/issues or, even better, submitted a pull request to the documentation repository.

+6 -1

0 comment

1 changed file

pr created time in 2 months

create barnchreox/jabref

branch : psutf

created branch time in 2 months

issue commentJabRef/JabRef-Browser-Extension

Encoding Issues with FF/Win10

What are the issues one encounters when using utf8 with BOM?

see https://github.com/JabRef/JabRef-Browser-Extension/issues/274#issuecomment-879825946

then it can not be imported in jabref.

reox

comment created time in 2 months

issue commentJabRef/JabRef-Browser-Extension

Encoding Issues with FF/Win10

could work yes - however for 5.1 there seems to be no way to write a file without BOM, or at least I can not make it work. Then you also have to switch in the bat file to the correct interpreter. The MSDN tells me that the 5.1 interpreter is called powershell.exe and the newer ones pwsh.exe. Thus you would have to check if pwsh.exe is installed and fallback to powershell.exe?

reox

comment created time in 2 months

issue commentJabRef/JabRef-Browser-Extension

Encoding Issues with FF/Win10

The only issue is: it seems to only work with ps7... Because in 5.1, the default was apprently unicode: https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/out-file?view=powershell-5.1#parameters and because NoBom was not available back then, jabref would not accept that file.

Thus, it would require to check whenever ps5 is used and use the old method or if ps7 is used, the tmpfile. Or is some powershell guru out there, who has a hint how to do that properly?

reox

comment created time in 2 months