Issue using :Updatedocs

Note that I bolded what appears to me to be sigificant.
I'm getting the following error:
:Updatedocs
Do you want to use the directory /home/canderso to update the documentation?
Please provide the directory to use: /home/canderso/Documents/aiPDFsdoc_dir: /ho
me/canderso/Documents/aiPDFs
Expected a non-empty value for assistant_id but received None
Failed to retrieve the assistant with ID None. Creating a new assistant.
Error code: 400 - {'error': {'message': "Invalid value: 'retrieval'. Supported v
alues are: 'code_interpreter', 'function', and 'file_search'.", 'type': 'invalid
_request_error', 'param': 'tools[1].type', 'code': 'invalid_value'}}
Documentation update failed
Press ENTER or type command to continue

Actually there is a deeper issue that I found - I'm getting:
Error code: 400 - {'error': {'message': "The requested model 'gpt-4-turbo-previe
w' does not exist.", 'type': 'invalid_request_error', 'param': 'model', 'code':
'model_not_found'}}
I am investigating this problem now.

I succeeded in getting access to gpt-4-turbo-preview. Now the :Updatedocs does create the assistant but spits out another error:
Error detected while processing function vimassist#UpdateDocs:
line   40:
Traceback (most recent call last):
File "", line 13, in
File "/home/canderso/.vim/pack/vimassist/start/VimAssist/autoload/../scripts/c
ommand_functions.py", line 97, in update_docs
status = assistant_tools.update_files_of_assistant(assistant_id, file_id_lis
t)
File "/home/canderso/.vim/pack/vimassist/start/VimAssist/autoload/../scripts/a
ssistant_tools.py", line 95, in update_files_of_assistant
old_file_ids = assistant.file_ids
File "/home/canderso/.local/lib/python3.10/site-packages/pydantic/main.py", li
ne 811, in getattr
raise AttributeError(f'{type(self).name!r} object has no attribute {item
!r}')
AttributeError: 'Assistant' object has no attribute 'file_ids'
Note that I did have to change the assistant tools.type value in your code from "retrieval" to "file_search" to get the command :Updatedocs to get this far.
Since the first command I need to run cannot finish without changing the code, I'm wondering if this is an indication that the entire project code needs to be updated before attempting to use it?

The code works on my computer, which uses older openai library (1.10.0). But I recreated your error after I switched to the newest version of the library (1.23.6). It looks OpenAI changed the library interface.  Unfortunately, I did not specify the version of openai to be installed in the requirement file. I will look into the problem. Meantime, you can test the tools with openai library 1.10.0. I will update the requirement file as well.

Thanks! That's a big help to know about the library version. I will see what I can do about switching to the 1.10.0 version for a test.

updated the code.


Add URL field to Wikimedia dataset instances: wikipedia,...

As reported by @geohci, in order to host pre-processed data in the Hub, we should add the full URL to data instances (new field "url"), so that we conform to proper attribution from license requirement. See, e.g.: https://fair-trec.github.io/docs/Fair_Ranking_2021_Participant_Instructions.pdf#subsection.3.2
This should be done for all pre-processed datasets under "wikimedia" org in the Hub: https://huggingface.co/wikimedia

@geohci, I think the field "url" does not appear in the Wikimedia dumps. Therefore I guess we should generate it, using the "title" field and url-encoding it?

Indeed:

To re-distribute text on Wikipedia in any form, provide credit to the authors either by including a) a hyperlink (where possible) or URL to the page or pages you are re-using, b) a hyperlink (where possible) or URL to an alternative, stable online copy which is freely accessible, which conforms with the license, and which provides credit to the authors in a manner equivalent to the credit given on this website, or c) a list of all authors. (Any list of authors may be filtered to exclude very small or irrelevant contributions.) This applies to text developed by the Wikipedia community. Text from external sources may attach additional attribution requirements to the work, which should be indicated on an article's face or on its talk page. For example, a page may have a banner or other notation indicating that some or all of its content was originally published somewhere else. Where such notations are visible in the page itself, they should generally be preserved by re-users.

source: https://en.wikipedia.org/wiki/Wikipedia:Copyrights
I guess it's fine to add the URL field - it can be constructed easily from the title page IIRC.

yep, sorry forgot that that wasn't already in the dumps. specifically f"https://{language}.wikipedia.org/wiki/{title.replace(' ', '_')} should do it

Thanks @geohci.
I had already been looking for information about the conversion from title to URL and I found that apart from replacing blanks with underscores, some other special character must also be percent-encoded (e.g. " to %22).
Therefore, I have finally used urllib.parse.quote function. This additionally percent-encodes non-ASCII characters, but Wikimedia doc say these are equivalent:

For the other characters either the code or the character can be used in internal and external links, they are equivalent. The system does a conversion when needed.
[[%C3%80_propos_de_M%C3%A9ta]]
is rendered as À_propos_de_Méta

Closed by:

#3789


Having problems writing to my Skybound device

~# jdmtool download 4
Downloading database: 100%|███████████████████████████████████████████████████████████████████████████████████████████████| 1.31M/1.31M [00:18<00:00, 71.7kB/s]
Downloaded to /root/.local/share/jdmtool/downloads/dgrm78_2405_3f7deeaf.bin
~# ls -Al .local/share/jdmtool/downloads/
total 3460
-rw-r--r-- 1 root root 2228224 May 22 04:50 dgrm77_2405_5e7b065e.bin
~# jdmtool transfer 4
Found device: Bus 003 Device 006: ID 0e39:1250
Transfer /root/.local/share/jdmtool/downloads/dgrm78_2405_3f7deeaf.bin to the data card? (y/n) y
Does not look like a Garmin database file.

~# jdmtool detect
Found device: Bus 003 Device 009: ID 0e39:1250
Firmware version: 20071203
Card inserted:
IID: 0xff00ff00
Unknown identifier: 0xff00ff00

~# jdmtool read-database db.bin
Found device: Bus 003 Device 009: ID 0e39:1250
Reading the database:   8%|███████▎                                                                                | 1.29M/16.8M [00:17<03:25, 75.5kB/s]
Truncating the file...
Done

Could you post the first 64 bytes of your database file?
I have a sanity check to make sure it's a database, not something unexpected - but it's very likely the check is overly strict.
E.g., run this in Python:
fd = open("/root/.local/share/jdmtool/downloads/dgrm72_2405_072061ba.bin", "rb")
print(fd.read(64))

looks quite different from
DB_MAGIC = (
b'\xeb<\x90GARMIN10\x00\x02\x08\x01\x00\x01\x00\x02\x00\x80\xf0\x10\x00?\x00\xff\x00?\x00\x00\x00'
b'\x00\x00\x00\x00\x00\x00)\x02\x11\x00\x00GARMIN AT  FAT16   \x00\x00'
)

Interesting...
Looks like you already copied the existing DB from your data card to db.bin - can you see if that one looks the same? If so, I guess that's expected. You can actually just edit the Python file and remove the DB_MAGIC check to get around it.
What kind of avionics do you have - GNS430, or something else? If you don't mind, could you post your ~/.local/share/jdmtool/services.xml? (Just censor your email, customer number, tail number, etc.; all I really want to see is unique_service_id, service_code, and version.)

the db.bin file looks as weird as the other print.
please let me know where I can find the .py file to edit, as I installed it using pip3
~# python3
Python 3.7.3 (default, Jan 22 2021, 20:04:44)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

fd = open("db.bin", "rb")
print(fd.read(64))
b'\n\x13\xe8Vx\xe3\xb2y`mn\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'

The file location depends on how exactly you've installed it, but you can find it like this:
import jdmtool
jdmtool.__file__

(It'll show the __init__.py, but main.py will be next to it.)

everything went (almost) well - check error at the end
jdmtool transfer 4
Found device: Bus 003 Device 009: ID 0e39:1250
Transfer /root/.local/share/jdmtool/downloads/dgrm78_2405_3f7deeaf.bin to the data card? (y/n) y
Erasing the database: 100%|███████████████████████████████████████████████████████████████████████████████████████████████| 1.51M/1.51M [00:24<00:00, 62.5kB/s]
Writing the database: 100%|███████████████████████████████████████████████████████████████████████████████████████████████| 1.51M/1.51M [00:46<00:00, 32.7kB/s]
Verifying the database: 100%|█████████████████████████████████████████████████████████████████████████████████████████████| 1.51M/1.51M [00:19<00:00, 75.7kB/s]
Writing new metadata: {2405~33791439}
Unexpected response: bytearray(b'\xff\x00\x0f\x00')

<EMAIL_ADDRESS>2024-05-21 20:40:18
1716324018
jdm-5cc5d47b7c-wff5v
-1
xxx
<EMAIL_ADDRESS>xxx

xxx
10
DAVD1353
DAVD13
33693454
DAVD1353
xxxxx
CIRRUS
SR22
NavData
NavData
Avidyne EX5000, EX600, EX500
Americas
1
1
0
davd13_2405_b056e854.zip
2405
2405
1
0
7299397
b056e854
TRUE
NavData Coverage Avidyne EX5000, EX600, EX500 Americas
NavData Coverage Avidyne EX5000, EX600, EX500 Americas
2025-02-16 00:00:00
2024-05-16 06:00:00
2024-06-13 06:00:00
2406
2406
2024-06-03 06:00:00
2024-06-13 06:00:00
Effective Date:
0x01
images/media/jepp_thumb_drive.jpg
0x39D88DFA
images/coverages/avidyne-americas.png
0xCD7C63F6

2
\\
USA.DOFLOW.FEAT.DIR
3
0

5
\\data\
USA.DOFLOW.FEAT.DIR
0
0

2
\\
Americas.UARPT.FEAT.DIR
3
0

5
\\data\
Americas.UARPT.FEAT.DIR
0
0

2
3
1

xxx
10
DAE40153
DAE401
41580663
DAE40153
41580663
xxxxx
CIRRUS
SR22
NavData
NavData
Avidyne IFD 400 Series, Bendix King AeroNav Series
Americas
1
1
0
dae401_2405_872ed665.zip
2405
2405
1
0
25300973
872ed665
TRUE
NavData Avidyne IFD 400 Series Americas
NavData Avidyne IFD 400 Series Americas
2025-02-16 00:00:00
2024-05-16 06:00:00
2024-06-13 06:00:00
2406
2406
2024-06-03 06:00:00
2024-06-13 06:00:00
Effective Date:
images/media/jepp_thumb_drive.jpg
0x39D88DFA
images/coverages/americas.png
0xC5938B9C

2
\\
charts.dsf
2
0

2
\\
navdata.dsf
2
0

2
2
1

xxx
10
DAE43153
DAE431
41580664
DAE43153
41580664
xxxxx
CIRRUS
SR22
Obstacles
Obstacles
Avidyne IFD 400 Series, Bendix King AeroNav Series
Americas
1
1
0
dae431_2405_166e450c.zip
2405
2405
1
0
1360680
166e450c
TRUE
Obstacles Avidyne IFD 400 Series Americas
Obstacles Avidyne IFD 400 Series Americas
2025-02-16 00:00:00
2024-05-16 06:00:00
2024-06-13 06:00:00
2406
2406
2024-06-03 06:00:00
2024-06-13 06:00:00
Effective Date:
images/media/jepp_thumb_drive.jpg
0x39D88DFA
images/coverages/americas.png
0xC5938B9C

2
\\
charts.dsf
2
0

2
\\
navdata.dsf
2
0

2
2
1

xxx
1
DGRM7253
DGRM72
33791438
DGRM7253
33791438
xxxxx
CIRRUS
SR22
NavData
NavData
Garmin GNS 400/500 Series
United States & Latin America
1
^0{0,3}[A-Fa-f0-9]{1,5}[A-Fa-f0-9]{8}$
0
dgrm72_2405_072061ba.bin
2405
2405
2
2
3538944
072061ba
TRUE
NavData Coverage Garmin GNS 400/500 Series United States & Latin America
NavData Coverage Garmin GNS 400/500 Series United States & Latin America
2025-03-22 00:00:00
2024-05-16 06:00:00
2024-06-13 06:00:00
2406
2406
2024-06-03 06:00:00
2024-06-13 06:00:00
Effective Date:
images/media/g2_green.jpg
0xFE0471B2
images/coverages/garmin400-500-us_latin_america.png
0x84ACE322

7
4194304
8388608
0
1

xxx
1
DGRM7853
DGRM78
33791439
DGRM7853
33791439
xxxxx
CIRRUS
SR22
NavData
NavData
Garmin GNS 400/500 Series
Latin & South America
1
^0{0,3}[A-Fa-f0-9]{1,5}[A-Fa-f0-9]{8}$
0
dgrm78_2405_3f7deeaf.bin
2405
2405
2
1
1310720
3f7deeaf
TRUE
NavData Coverage Garmin GNS 400/500 Series Latin & South America
NavData Coverage Garmin GNS 400/500 Series Latin & South America
2025-03-22 00:00:00
2024-05-16 06:00:00
2024-06-13 06:00:00
2406
2406
2024-06-03 06:00:00
2024-06-13 06:00:00
Effective Date:
images/media/g2_green.jpg
0xFE0471B2
images/coverages/garmin400-500-latin_s_america.png
0xA132154D

7
4194304
8388608
0
1

xxx
1
DGRM7753
DGRM77
33791440
DGRM7753
33791440
xxxxx
CIRRUS
SR22
NavData
NavData
Garmin GNS 400/500 Series
Northern United States & Canada
1
^0{0,3}[A-Fa-f0-9]{1,5}[A-Fa-f0-9]{8}$
0
dgrm77_2405_5e7b065e.bin
2405
2405
2
2
2228224
5e7b065e
TRUE
NavData Coverage Garmin GNS 400/500 Series Northern US & Canada
NavData Coverage Garmin GNS 400/500 Series Northern US & Canada
2025-03-22 00:00:00
2024-05-16 06:00:00
2024-06-13 06:00:00
2406
2406
2024-06-03 06:00:00
2024-06-13 06:00:00
Effective Date:
images/media/g2_green.jpg
0xFE0471B2
images/coverages/Northern-US_Canada.png
0xE98D2996

7
4194304
8388608
0
1

xxx
8
MFBRZ143
MFBRZ1
33693462
AVIDSW41
33693462
xxxxx
CIRRUS
SR22
1
Electronic Charts
Electronic Charts
Avidyne EX5000, EX600, EX500
Brazil IFR
1
1
016
1
avidyne_dsf
avidyne_dsf_309.zip
2029
0
026FD07237_TCL_202411.1_202411.1.zip
202411.1
11-2024
1
1
48505944
TRUE
Brazil IFR
AVIDYNE EX500/EX5000 ELECTRONIC CHARTS
2025-02-16 00:00:00
2024-05-24 00:00:00
2024-06-07 00:00:00
202412.1
12-2024
2024-06-05 00:00:00
2024-06-07 00:00:00
EXJ4-19P7-Z3SH-UCJ9
1
31302733
202410.1
#BCH98siVX3GKLMrjS1VnqY
Issue Date:
0x1
images/media/jepp_thumb_drive.jpg
0x39D88DFA
images/coverages/Brazil.png
0x7EC739CB

2
\\
AviUtility.exe
0
0

2
3
1

0x0
7.3

my avionics

my avionics
data.xml.gz

Ok, I guess it failed to write the metadata string. What happens if you run jdmtool read-metadata?
In my case, the metadata doesn't matter... But clearly, everything is slightly different for you. I'm using GNS 430; do you have a different one?
Anyways, I'm curious if the data card works successfully for you. I think there's a chance that it doesn't, so I'd say, have the "official" JDM ready if you need to fix your data card.
And thanks for the services.xml. Btw, you have IFD 400, too? That's funny - I literally just got it working a couple days ago; see bug #6.

Will try the card next friday and let you know. Don't know much about python, but the differences between what you expect from the card as a signature and mine are so different that I would guess that there is some encoding/decoding issue going on.
Yes I have an IFD440, and just purchased an IFD550, so lots of fun ahead !!! :-)
I usually use this device to write my cards and usb drives, but since it has been retired I am considering using this neat SBC and your project as an alternative.
After making things work out, will work on a neat GUI.

… and I also have a GNS430, so that’s why I am finding this all too weird
Em ter., 21 de mai. de 2024 às 20:43, Dima Ryazanov <
@.***> escreveu:

Ok, I guess it failed to write the metadata string. What happens if you
run jdmtool read-metadata?
In my case, the metadata doesn't matter... But clearly, everything is
slightly different for you. I'm using GNS 430; do you have a different one?
Anyways, I'm curious if the data card works successfully for you. I think
there's a chance that it doesn't, so I'd say, have the "official" JDM ready
if you need to fix your data card.
And thanks for the services.xml. Btw, you have IFD 400, too? That's funny

I literally just got it working a couple days ago; see bug #6
https://github.com/dimaryaz/jdmtool/issues/6.

—
Reply to this email directly, view it on GitHub
https://github.com/dimaryaz/jdmtool/issues/7#issuecomment-2123600707,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AE7GYLP6LVFO4OUVYUJZWV3ZDPLZ5AVCNFSM6AAAAABICLSZOWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRTGYYDANZQG4
.
You are receiving this because you authored the thread.Message ID:
@.***>

Also, I'm really curious, from seeing your subscriptions: do you fly from Brazil to the US?? That's pretty far :)

:-)
The US package is mandatory, even for Brazilian customers
But I indeed flew this trip last year - awesome experience over the Amazon
jungle and the Caribbean
Will work on the remaining issues tonite.
Em qua., 22 de mai. de 2024 às 04:28, Dima Ryazanov <
@.***> escreveu:

Also, I'm really curious, from seeing your subscriptions: do you fly from
Brazil to the US?? That's pretty far :)
—
Reply to this email directly, view it on GitHub
https://github.com/dimaryaz/jdmtool/issues/7#issuecomment-2124062083,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AE7GYLJAM35JDO6COTXXESTZDRCJFAVCNFSM6AAAAABICLSZOWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRUGA3DEMBYGM
.
You are receiving this because you authored the thread.Message ID:
@.***>

According to this, my card is 8Mb

so I guess I could tell which card it is. Do you have 4MB or 8MB by the way?

Nice, thanks. I'm also curious if JDM writes the metadata the same way as it does on 16MB cards.
Could you edit device.py, change METADATA_PAGE to 0x02FF, run jdmtool read-metadata, and show me the output?
Then try 0x037F, and re-run it. That should fail - unless you actually have an 8MB card.

Seems that my card is 4Mb after all ... see below:
Seems that most of the first 2Mb are the same

But, here's how you can test it: pick one of the services, e.g. 3, and program the data card using JDM - then run jdmtool read-database db.bin

~# jdmtool read-database db.bin
Found device: Bus 003 Device 002: ID 0e39:1250
Reading the database:  25%|███████████████████████████████▊                                                                                | 4.24M/16.8M [00:56<02:46, 75.2kB/s]
Truncating the file...
Done
~# ls -Al db.bin
-rw-r--r-- 1 root root 4239360 May 23 06:52 db.bin
~# jdmtool refresh
Downloading services...
Downloading keychain...
Success
root@unihiker:~# jdmtool list
ID  Name                                                                    Coverage              Version   Start Date  End Date    Downloaded
0  Avidyne EX5000, EX600, EX500 - NavData                                  Americas              2405      2024-05-16  2024-06-13
1  Avidyne IFD 400 Series, Bendix King AeroNav Series - NavData            Americas              2405      2024-05-16  2024-06-13
2  Avidyne IFD 400 Series, Bendix King AeroNav Series - Obstacles          Americas              2405      2024-05-16  2024-06-13
3  Garmin GNS 400/500 Series - NavData                                     United States & Lat…  2405      2024-05-16  2024-06-13  Y
4  Garmin GNS 400/500 Series - NavData                                     Latin & South Ameri…  2405      2024-05-16  2024-06-13  Y
5  Garmin GNS 400/500 Series - NavData                                     Northern United Sta…  2405      2024-05-16  2024-06-13  Y
6  Avidyne EX5000, EX600, EX500 - Electronic Charts                        Brazil IFR            11-2024   2024-05-24  2024-06-07
~# jdmtool download 5
Downloading database: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2.23M/2.23M [00:15<00:00, 143kB/s]
Downloaded to /root/.local/share/jdmtool/downloads/dgrm77_2405_5e7b065e.bin
~# ls -Al /root/.local/share/jdmtool/downloads/dgrm77_2405_5e7b065e.bin
-rw-r--r-- 1 root root 2228224 May 23 06:55 /root/.local/share/jdmtool/downloads/dgrm77_2405_5e7b065e.bin
~# cmp /root/.local/share/jdmtool/downloads/dgrm77_2405_5e7b065e.bin db.bin
/root/.local/share/jdmtool/downloads/dgrm77_2405_5e7b065e.bin db.bin differ: char 2097153, line 24541

No change
~# jdmtool read-metadata
Found device: Bus 003 Device 002: ID 0e39:1250
Database metadata:

change METADATA_PAGE to 0x02FF
jdmtool read-metadata
Found device: Bus 003 Device 002: ID 0e39:1250
Traceback (most recent call last):
File "/usr/local/bin/jdmtool", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.7/dist-packages/jdmtool/main.py", line 479, in main
func(**kwargs)
File "/usr/local/lib/python3.7/dist-packages/jdmtool/main.py", line 70, in wrapper
f(dev, *args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/jdmtool/main.py", line 237, in cmd_read_metadata
value = b''.join(blocks).rstrip(b"\xFF").decode()
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe8 in position 1: invalid continuation byte

Then try 0x037F, and re-run it. That should fail - unless you actually have an 8MB card.

jdmtool read-metadata
Found device: Bus 003 Device 002: ID 0e39:1250
Database metadata:

trying to write the card
jdmtool transfer 5
Found device: Bus 003 Device 002: ID 0e39:1250
Transfer /root/.local/share/jdmtool/downloads/dgrm77_2405_5e7b065e.bin to the data card? (y/n) y
Erasing the database: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2.42M/2.42M [00:38<00:00, 62.5kB/s]
Writing the database:  86%|████████████████████████████████████████████████████████████████████████████████████████████████████████████▉                 | 2.10M/2.42M [01:08<00:10, 30.8kB/s]
Traceback (most recent call last):
File "/usr/local/bin/jdmtool", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.7/dist-packages/jdmtool/main.py", line 479, in main
func(**kwargs)
File "/usr/local/lib/python3.7/dist-packages/jdmtool/main.py", line 70, in wrapper
f(dev, *args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/jdmtool/main.py", line 209, in cmd_transfer
_write_database(dev, path)
File "/usr/local/lib/python3.7/dist-packages/jdmtool/main.py", line 339, in _write_database
dev.write_block(block)
File "/usr/local/lib/python3.7/dist-packages/jdmtool/device.py", line 97, in write_block
self.write(data)
File "/usr/local/lib/python3.7/dist-packages/jdmtool/device.py", line 36, in write
self.handle.bulkWrite(self.WRITE_ENDPOINT, data, self.TIMEOUT)
File "/usr/local/lib/python3.7/dist-packages/usb1/init.py", line 1389, in bulkWrite
return self._bulkTransfer(endpoint, data, sizeof(data), timeout)
File "/usr/local/lib/python3.7/dist-packages/usb1/init.py", line 1359, in _bulkTransfer
self.__handle, endpoint, data, length, byref(transferred), timeout,
File "/usr/local/lib/python3.7/dist-packages/usb1/init.py", line 127, in mayRaiseUSBError
__raiseUSBError(value)
File "/usr/local/lib/python3.7/dist-packages/usb1/init.py", line 119, in raiseUSBError
raise __STATUS_TO_EXCEPTION_DICT.get(value, __USBError)(value)
usb1.USBErrorTimeout: LIBUSB_ERROR_TIMEOUT [-7]

So cmp failed exactly at the 2MB mark... That's what I was afraid of. Each list in DATA_PAGES represents exactly 2MB - so the first entry is the same for 4MB and 16MB cards, but the second one is not.
I was also assuming it would fail when reading an invalid location, but I guess it doesn't. But the write fails - and transfer 5 also failed at exactly 2MB.
Let me write a script that tries reading various pages, and finds the location of the second 2MB for you.
(Or, in the off chance that you have JDM working on Linux - in either wine (don't know if that's even possible) or in VirtualBox - it's possible to record all USB traffic. That's how I originally reverse-engineered the 16MB card.)

Now ... this is weird ... I can write the card with the original db.bin file.
jdmtool write-database ~/db.bin
Found device: Bus 003 Device 004: ID 0e39:1250
Transfer /root/db.bin to the data card? (y/n) y
Erasing the database: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 4.39M/4.39M [01:10<00:00, 62.5kB/s]
Writing the database: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 4.39M/4.39M [02:09<00:00, 33.8kB/s]
Verifying the database: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 4.39M/4.39M [00:58<00:00, 75.6kB/s]
Done

(As for flying over the Amazon - that is so cool. Maybe I'll get to do that some day...)

It's possible that reading an invalid location just returns \xFF bytes - and writing \xFF to an invalid location does nothing. The way these data cards work is pretty weird.

So cmp failed exactly at the 2MB mark... That's what I was afraid of.
Each list in DATA_PAGES
https://github.com/dimaryaz/jdmtool/blob/main/src/jdmtool/device.py#L19-L28
represents exactly 2MB - so the first entry is the same for 4MB and 16MB
cards, but the second one is not.
I was also assuming it would fail when reading an invalid location, but I
guess it doesn't. But the write fails - and transfer 5 also failed at
exactly 2MB.

and it failed miserably. I had to unplug the device and replug it again
in order to make the usb port become available again

Let me write a script that tries reading various pages, and finds the
location of the second 2MB for you.
(Or, in the off chance that you have JDM working on Linux - in either wine
(don't know if that's even possible) or in VirtualBox - it's possible to
record all USB traffic. That's how I originally reverse-engineered the 16MB
card.)

this is a little bit above my paycheck, but challenge accepted, if
there is no other way and you walk me through. I believe I already tried to
use wine to run JDM, but without success. I have virtualbox installed, but
no Windows image to run on it :-(

—
Reply to this email directly, view it on GitHub
https://github.com/dimaryaz/jdmtool/issues/7#issuecomment-2125936642,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AE7GYLK5N2NCY7ZL5VLMVALZDUSMTAVCNFSM6AAAAABICLSZOWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRVHEZTMNRUGI
.
You are receiving this because you authored the thread.Message ID:
@.***>

Ok, here's a script for scanning data on the card: https://gist.github.com/dimaryaz/2bb353f93ae1ec11a9335519ffe96e21
It reads every 16th page (just to be faster; in my case, all page ranges are divisible by 16), and if it appears to contain data, it saves it into a file. Each file will be 64KB.
So 00E0.bin should be the first 64KB of your database file. The goal is to find the first 64KB of the second 2MB chunk of the database (and then confirm that the rest of it is there, too.)
Here's the fun part... When reading invalid pages, you sometimes get random data, sometimes contents of other pages - so figuring out what's going on isn't trivial. In my case, page 0x00C0 returns the same data as 0x00E0. So I guess try adjusting the numbers, and find the correct blocks. Or even adjust the script to compare the blocks to your database file.

~# python3 dump.py
Found device: Bus 003 Device 002: ID 0e39:1250
Trying page 0000...
Found data! Saving to 0000.bin
Trying page 0010...
Found data! Saving to 0010.bin
Trying page 0020...
Found data! Saving to 0020.bin
Trying page 0030...
....
Trying page 03E0...
Found data! Saving to 03E0.bin
Trying page 03F0...
Found data! Saving to 03F0.bin
each file is 64k
used this to find one binary file inside a bigger one
https://gist.githubusercontent.com/thommyj/3403088/raw/27c91d49a538d2479ddd2a6988d950c314c2c5aa/blobfind.c
here are the outputs of only the FOUND blobs
./a.out db.bin 0030.bin
Found blob2 at offset 0x00100000
./a.out db.bin 0050.bin
Found blob2 at offset 0x00100000
./a.out db.bin 0080.bin
Found blob2 at offset 0x00000000
./a.out db.bin 0090.bin
Found blob2 at offset 0x00100000
./a.out db.bin 00A0.bin
Found blob2 at offset 0x00000000
./a.out db.bin 00B0.bin
Found blob2 at offset 0x00100000
./a.out db.bin 00C0.bin
Found blob2 at offset 0x00000000
./a.out db.bin 00D0.bin
Found blob2 at offset 0x00100000
./a.out db.bin 00E0.bin
Found blob2 at offset 0x00000000
./a.out db.bin 00F0.bin
Found blob2 at offset 0x00100000
./a.out db.bin 0230.bin
Found blob2 at offset 0x00100000
./a.out db.bin 0250.bin
Found blob2 at offset 0x00100000
./a.out db.bin 0270.bin
Found blob2 at offset 0x00100000
./a.out db.bin 0280.bin
Found blob2 at offset 0x00000000
./a.out db.bin 0290.bin
Found blob2 at offset 0x00100000
./a.out db.bin 02A0.bin
Found blob2 at offset 0x00000000
./a.out db.bin 02B0.bin
Found blob2 at offset 0x00100000
./a.out db.bin 02C0.bin
Found blob2 at offset 0x00000000
./a.out db.bin 02D0.bin
Found blob2 at offset 0x00100000
./a.out db.bin 02E0.bin
Found blob2 at offset 0x00000000
./a.out db.bin 02F0.bin
Found blob2 at offset 0x00100000
On Thu, May 23, 2024 at 12:05 AM Dima Ryazanov @.***>
wrote:

Ok, here's a script for scanning data on the card:
https://gist.github.com/dimaryaz/2bb353f93ae1ec11a9335519ffe96e21
It reads every 16th page (just to be faster; in my case, all page ranges
are divisible by 16), and if it appears to contain data, it saves it into a
file. Each file will be 64KB.
So 00E0.bin should be the first 64KB of your database file. The goal is
to find the first 64KB of the second 2MB chunk of the database (and then
confirm that the rest of it is there, too.)
Here's the fun part... When reading invalid pages, you sometimes get
random data, sometimes contents of other pages - so figuring out what's
going on isn't trivial. In my case, page 0x00C0 returns the same data as
0x00E0. So I guess try adjusting the numbers, and find the correct blocks.
Or even adjust the script to compare the blocks to your database file.
—
Reply to this email directly, view it on GitHub
https://github.com/dimaryaz/jdmtool/issues/7#issuecomment-2126146772,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AE7GYLL5C42J5JXLNBMGZO3ZDVMIDAVCNFSM6AAAAABICLSZOWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRWGE2DMNZXGI
.
You are receiving this because you authored the thread.Message ID:
@.***>

Also, be advised that the card is written through a device like this

So ... I upgraded my panel, and I now have an IFD550 and an IFD440
when I try to update the following database I get the following error
5  Avidyne IFD 500 Series, Bendix King AeroNav Series - Electronic Charts
BUNDLE - Latin & South A…  24-2024   2024-11-22  2024-12-06  Y
jdmtool transfer 5 /media/sda1
Unexpected service type
[image: Logo] https://instant.com.br PAULO MANNHEIMERDiretor
@.***
Principais capitais: 4063-6100
Demais regiões: [image: WhatsApp] (11) 4063-6100
https://api.whatsapp.com/send/?phone=551140636100&text=Olá!+Tudo+bem%3F&type=phone_number&app_absent=0
www.instant.com.br https://instant.com.br
[image: Instagram] https://www.instagram.com/instant.br/ [image:
LinkedIn] https://www.linkedin.com/company/instant-solutions/
[image: Facebook] https://www.facebook.com/Instant.br/ [image:
Telegram] https://t.me/InstantSolutions_Bot [image: Messenger]
https://m.me/Instant.br [image: YouTube]
@.***/playlists> [image:
Avaliação] https://bot.kwik.app.br/customer-instant-j2defqo[image:
Atendimento] https://bot.kwik.app.br/atendimento-instant
On Thu, May 23, 2024 at 12:05 AM Dima Ryazanov @.***>
wrote:

Ok, here's a script for scanning data on the card:
https://gist.github.com/dimaryaz/2bb353f93ae1ec11a9335519ffe96e21
It reads every 16th page (just to be faster; in my case, all page ranges
are divisible by 16), and if it appears to contain data, it saves it into a
file. Each file will be 64KB.
So 00E0.bin should be the first 64KB of your database file. The goal is
to find the first 64KB of the second 2MB chunk of the database (and then
confirm that the rest of it is there, too.)
Here's the fun part... When reading invalid pages, you sometimes get
random data, sometimes contents of other pages - so figuring out what's
going on isn't trivial. In my case, page 0x00C0 returns the same data as
0x00E0. So I guess try adjusting the numbers, and find the correct blocks.
Or even adjust the script to compare the blocks to your database file.
—
Reply to this email directly, view it on GitHub
https://github.com/dimaryaz/jdmtool/issues/7#issuecomment-2126146772,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AE7GYLL5C42J5JXLNBMGZO3ZDVMIDAVCNFSM6AAAAABICLSZOWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRWGE2DMNZXGI
.
You are receiving this because you authored the thread.Message ID:
@.***>

also, when I try to write my EX5000 files, I get
1  Avidyne EX5000, EX600, EX500 - NavData
Americas                   2412      2024-11-28  2024-12-26  Y
6  Avidyne EX5000, EX600, EX500 - Electronic Charts
BUNDLE - Latin & South A…  24-2024   2024-11-22  2024-12-06  Y
jdmtool transfer 1 /media/sda1
This service is not yet supported
jdmtool transfer 6 /media/sda1
Unexpected service type
[image: Logo] https://instant.com.br PAULO MANNHEIMERDiretor
@.***
Principais capitais: 4063-6100
Demais regiões: [image: WhatsApp] (11) 4063-6100
https://api.whatsapp.com/send/?phone=551140636100&text=Olá!+Tudo+bem%3F&type=phone_number&app_absent=0
www.instant.com.br https://instant.com.br
[image: Instagram] https://www.instagram.com/instant.br/ [image:
LinkedIn] https://www.linkedin.com/company/instant-solutions/
[image: Facebook] https://www.facebook.com/Instant.br/ [image:
Telegram] https://t.me/InstantSolutions_Bot [image: Messenger]
https://m.me/Instant.br [image: YouTube]
@.***/playlists> [image:
Avaliação] https://bot.kwik.app.br/customer-instant-j2defqo[image:
Atendimento] https://bot.kwik.app.br/atendimento-instant
On Fri, Nov 29, 2024 at 4:43 PM Paulo Mannheimer <
@.***> wrote:

So ... I upgraded my panel, and I now have an IFD550 and an IFD440
when I try to update the following database I get the following error
5  Avidyne IFD 500 Series, Bendix King AeroNav Series - Electronic Charts
BUNDLE - Latin & South A…  24-2024   2024-11-22  2024-12-06  Y
jdmtool transfer 5 /media/sda1
Unexpected service type
[image: Logo] https://instant.com.br PAULO MANNHEIMERDiretor @.***
Principais capitais: 4063-6100
Demais regiões: [image: WhatsApp] (11) 4063-6100 https://api.whatsapp.com/send/?phone=551140636100&text=Olá!+Tudo+bem%3F&type=phone_number&app_absent=0
www.instant.com.br https://instant.com.br
[image: Instagram] https://www.instagram.com/instant.br/ [image: LinkedIn] https://www.linkedin.com/company/instant-solutions/ [image: Facebook] https://www.facebook.com/Instant.br/ [image: Telegram] https://t.me/InstantSolutions_Bot [image: Messenger] https://m.me/Instant.br [image: YouTube] @.***/playlists> [image: Avaliação] https://bot.kwik.app.br/customer-instant-j2defqo[image: Atendimento] https://bot.kwik.app.br/atendimento-instant
On Thu, May 23, 2024 at 12:05 AM Dima Ryazanov @.***>
wrote:

Ok, here's a script for scanning data on the card:
https://gist.github.com/dimaryaz/2bb353f93ae1ec11a9335519ffe96e21
It reads every 16th page (just to be faster; in my case, all page ranges
are divisible by 16), and if it appears to contain data, it saves it into a
file. Each file will be 64KB.
So 00E0.bin should be the first 64KB of your database file. The goal is
to find the first 64KB of the second 2MB chunk of the database (and then
confirm that the rest of it is there, too.)
Here's the fun part... When reading invalid pages, you sometimes get
random data, sometimes contents of other pages - so figuring out what's
going on isn't trivial. In my case, page 0x00C0 returns the same data as
0x00E0. So I guess try adjusting the numbers, and find the correct blocks.
Or even adjust the script to compare the blocks to your database file.
—
Reply to this email directly, view it on GitHub
https://github.com/dimaryaz/jdmtool/issues/7#issuecomment-2126146772,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AE7GYLL5C42J5JXLNBMGZO3ZDVMIDAVCNFSM6AAAAABICLSZOWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRWGE2DMNZXGI
.
You are receiving this because you authored the thread.Message ID:
@.***>

Yeah... I haven't implemented either of those. Send me (by email or whatever) your new services.xml and downloads, and I'll see how easy it is.
Electronic Charts for G1000 were quite a challenge - but if we're lucky, Avidyne won't be too different.
(Also, can you open new issues for those?)


zerotierone: 1.6.5 -> 1.6.6

Motivation for this change
See #139032
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

It seems somewhat inconsistently done, but can you please change the PR title to
[Backport release-21.05] zerotierone: 1.6.5 -> 1.6.6
No need to rename/amend the commit...


Unable to Extract Title on Channel Download

I am trying to back up a YouTuber and it worked for awhile, but it appears to have stopped working recently. I'm using 2015.11.10 on arch linux. The command I'm using is:
 youtube-dl -f bestvideo+bestaudio --download-archive ~/sandbox/raocowDownloaded.txt -o "%(title)s-%(id)s.%(ext)s" --write-description --write-info-json --exec 'mv {} ~/amazon/raocow/; mv ~/butts/* ~/amazon/raocow' http://youtube.com/raocow;
And this results in the error:

[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-f', 'bestvideo+bestaudio', '--download-archive', '/home/nimue/sandbox/raocowDownloaded.txt', '-o', '%(title)s-%(id)s.%(ext)s', '--write-description', '--write-info-json', '--exec', 'mv {} ~/amazon/raocow/; mv ~/butts/* ~/amazon/raocow', 'http://youtube.com/raocow', '--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.11.10
[debug] Python version 3.5.0 - Linux-4.1.5-x86_64-linode61-x86_64-with-arch
[debug] exe versions: ffmpeg 2.8.2, ffprobe 2.8.2, rtmpdump 2.4
[debug] Proxy map: {}
[youtube:user] raocow: Downloading channel page
[youtube:playlist] UUjM-Wd2651MWgo0s5yNQRJA: Downloading webpage
ERROR: Unable to extract title; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/lib/python3.5/site-packages/youtube_dl/YoutubeDL.py", line 661, in extract_info
ie_result = ie.extract(url)
File "/usr/lib/python3.5/site-packages/youtube_dl/extractor/common.py", line 290, in extract
return self._real_extract(url)
File "/usr/lib/python3.5/site-packages/youtube_dl/extractor/youtube.py", line 1644, in _real_extract
return self._extract_playlist(playlist_id)
File "/usr/lib/python3.5/site-packages/youtube_dl/extractor/youtube.py", line 1619, in _extract_playlist
page, 'title')
File "/usr/lib/python3.5/site-packages/youtube_dl/extractor/common.py", line 593, in _html_search_regex
res = self._search_regex(pattern, string, name, default, fatal, flags, group)
File "/usr/lib/python3.5/site-packages/youtube_dl/extractor/common.py", line 584, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract title; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

You need to upgrade your copy to the latest version (2015.11.19). Check update instructions if you have encountered any problem.


Implement the Error trait for TetraError

...and we should also implement From for the inner error types where relevant.

It might also be a nice idea to let people pass a custom error type as a type parameter on State?

Done in 0.2. Going to punt on custom error types for now - it wouldn't be a breaking change, but going back on it would.


routes_spec testing for issue 664

@MatakuT This is a good start, although there are some outstanding Hound comments

Will fix houndci and potential Travis CI's complaints a bit later.
Will also revisit commented-out tests


Add New Port GUMCHU GIRL

Add New Port GUMCHU GIRL
New Port for { GUMCHU GIRL }
Game Information

Title: { GUMCHU GIRL }
URL: { caseportman.itch.io/gumchu-girl-demo }

Submission Requirements
CFW Tests
Ensure your game has been tested on all major CFWs:

[x] AmberELEC
[x] ArkOS
[x] ROCKNIX
[x] muOS

Resolution Tests
Test all major resolutions:

[x] 480x320
[x] 640x480
[x] 720x720 (RGB30)
[x] Higher resolutions (e.g., 1280x720)

File Structure

Your port should have the following structure:

portname/

port.json
README.md
screenshot.jpg
cover.jpg
gameinfo.xml
Port Name.sh
portname/

Additional Resources
For an in-depth guide on creating a pull request, refer to: PortMaster Game Packaging Guide

License.png seems broken


could not restore from host persistence db: error loading container state: EOF

One of my nodes has just died after being stable for a month.
Having restarted it, I'm getting the following error:
t=2018-12-11T01:53:30+0100 lvl=info msg="restoring state" app=host pid=5173 fn=runDaemon host.id=flynn02
t=2018-12-11T01:53:31+0100 lvl=eror msg="error restoring state" app=host pid=5173 fn=runDaemon host.id=flynn02 err="could not restore from host persistence db: error loading container state: EOF"

Is there anything obvious I should check or should I collect logs and send over? Thanks

Flynn is unmaintained and our infrastructure will shut down on June 1, 2021. See the README for details.


dynamic can read numpy matrix as the feature matrix

@liguopku Allow dynamic component read numpy matrix as feature matrix. Each row corresponding to all feature values of a day, i.e., the dimension of the numpy matrix must be a n x d, where n is the number of dates and d is the feature dimension.

Coverage increased (+0.02%) to 75.301% when pulling 80c5311f725444c40d5fabfcbc91ea4f1614b2e7 on support_numpy into 99342bfd838d7b1cf76fe13b527c362383de10c5 on master.


I can't download or send to server when I use in my local pc.

The problem is here
Uncaught DOMException: Failed to execute 'toDataURL' on 'HTMLCanvasElement': Tainted canvases may not be exported.
at HTMLAnchorElement. (file:///C:/Users/Mohammad%20Wasim/Desktop/imagemaker/imageMaker.min.js:1:23718)
at HTMLAnchorElement.dispatch (https://code.jquery.com/jquery-3.6.0.min.js:2:43064)
at HTMLAnchorElement.v.handle (https://code.jquery.com/jquery-3.6.0.min.js:2:41048)
Please sir help me

Hello Dear,
I think you should load your files from the local server (localhost request http:// ) instead of loading them from the local file system( c:/ or file://...).
Hope this helps


Ffmpeg

Two small issues:

ffmpeg says “Please use -b:a or -b:v, -b is ambiguous”
Even with this, ffmpeg seems to print to stderr instead of stdout (on my setup), so logging an error seems wrong

shall I merge?

As far as I'm concerned it's ready, unless someone wants to verify whether FFmpeg also writes to stderr on other platforms

Thanks @christianbrodbeck


Textual oracles used for comparing structure builder results are now OS agnostic

Tests should pass on both Windows and OSX. Fixed #1000732.

I manually merged this into master and cherry-picked to release/scala-ide-2.0.x


B-18269 Added actual weight field

Agility ticket
Agility Issue ticket
Summary
This PR adds the prime actual weight field on the shipment weight screen.
How to test

Create and Approve PPM Shipment
Might have to populate estimated weight and actual weight in the DB. Make sure there are values in those columns for the shipment.
As TIO review the weights on the shipment
You will notice actual weight under the estimated weight

Warnings

:warning:
This PR does not include changes to unit tests, even though it affects app code.

  Generated by :no_entry_sign: dangerJS against 3ca3378de66fe4b6cf4027381433749cacc2ef27


Upgrade dependencies

A simple pull request to upgrade all dependencies and check that everything continues to work properly.

Work in #33 makes this pull request outdated. Closing.

Reopened as #33 has been closed


Can't start tournament of teams

Hi,
my customer wants to start using the tournament of teams functionality in the Champion Management app.
Unfortunately, the following error always appears when the admin tries to start the tournament:

Thank you for your help on this!

Hi @apptemplatequestions,
Thanks for reaching out to us!
Can you please share the following files:

Try to replicate the issue in browser version of Teams, click Ctrl+Shift+i to get console window opened and collect the logs as shown below and share it across for further troubleshooting.

Replicate the issue and collect the network traces as shown below and share the file.

Share the screenshot of site contents from CMP SharePoint site.

Screenshot of 'Tournaments' list from CMP sharepoint site.


Changing the parallax images

Is there any way to change the parallax images and customize the title of month shown above the image for example change the position and changing the font color of the title etc ?

Hi, You can do it using decorators. ListCalendarConfiguration contains next ones methods:

setEventLayout
setWeekLayout
setMonthLayout
with the help of this methods you can customize event, week, month representation in list calendar.

How to implement method abstract method on scroll listener ? I am trying to call setMonthLayout ?

I'll add sample in nearest time.

Added in 0.2.0.

The images move in parallax ? I don't see it...


Devices: Mobile

@keybase/react-hackers
Here's the mobile styling of the devices list.  TODOs:

Strikethrough text works on iOS only.  In theory this could magically start working in the future, once <Text style={{textDecorationLine: ..}} is implemented for Android too in RN.
I looked at using react-native-swipeout, and couldn't get it to do the right thing (use our Button component and avoid breaking our styling), so it'll need some more effort or a fork / copy the code into our own swipe common-adapter.

iOS:

Android:

👍  we should talk about the props today


Updated README.md with Table of Contents and Changed Project Structure

In this pull request I added a Table of Contents for better organization. I reordered some of the sections for logistics; for instance, putting the prerequisite section before the how to run/create your own portfolio section. I combined the share section into the support section and added a brief description of the overall project's functionality and the tools that were utilized.

Finally! A pull request that I can merge. Thanks for the pull request.
Let me take a few days as I'm traveling in a foreign country now. I'll review the changes and hopefully merge it. Thanks

I'm sorry but I reviewed the changes & it doesn't seem like I should merge it. because the table of contents at the top is hiding the first impression of the portfolio, which is the GIF in the readme. I want whoever comes to the repository to see what the portfolio looks like before having to read lines of texts.
Thanks for the pull request btw, I really appreciate it. But I'm not merging it.

I'm sorry but I reviewed the changes & it doesn't seem like I should merge it. because the table of contents at the top is hiding the first impression of the portfolio, which is the GIF in the readme. I want whoever comes to the repository to see what the portfolio looks like before having to read lines of texts. You can probably make some more changes so that the GIF remains at the top and make another pull request. You're welcome...


Fix "behavior" spelling

Closes #4

@garyb If it's any consolation, Erlang seamlessly supports both behavior and behaviour as keywords without acting like one of the spellings is more correct.

As I understand, the goal here is to mimic web standards as closely as possible and the standard says behavior. I don't speak neither English natively and don't have any preference aside from what the standard says. I don't think the effort and complexity of supporting both variants (and deviating from the standard by doing so) is warranted.

Agreed it's not worth it in the Web libraries as they're meant to follow specs. It's just an unfortunate part of programming that what is the same word but different spelling often isn't supported.


Game progress can't be saved.

After using package.nw, the game progress cannot be saved even while playing the game.
Don't know how to fix it.
Thanks

Hello,
This is a quirk with the engine, as it uses the game's location for saving. And since nwjs deletes the temp folder (as it decompresses the package.nw in order to start the game) it deletes them. The only fix that is possible is to use a plugin that changes the location of the saves.


Add checks on bounds.

Re: #556
Need to recreate error before merging.

@tigersoft - I finally came across some time to look into your PR again; however, I'm failing to recreate your error.
How were you receiving the network connectivity issues? What data were you trying to send?
Because I was unable to recreate your error, it's not fully tested. I merely created a simple playground to check that the guards I added would catch the out of bounds error with the purpose to return a better error message.
Please give me more information on how to create the error for me to test this PR, or add the case as a negative test within our Tests directory. Thanks!

Closing until we can recreate error and test the alternative solution.

How were you receiving the network connectivity issues? What data were you trying to send?
I am not sure how easily this can be re-produced naturally as it was only happening to one developer that had a VPN connection. It happened sporadically. To test my fix, I forced the condition.

Could you elaborate on how you forced the condition?

I forced the buffer to be an empty buffer.

When you say empty, I'm assuming you mean not nil as the arguments for the changed functions don't take in an optional,  so something like this?
let emptyBuffer = ""
let error1 = NSError(domain: "playground", code: 0)
guard let emptyBufferData = emptyBuffer.data(using: String.Encoding.utf8) else {
    throw error1
}

print (dataToUTF8String(data: emptyBufferData, offset: 0, length: 0))

The code changes I have return nil for an invalid offset and length regarding this empty buffer case, so if you take a look at the TextToSpeechPlaybackTests within this file, I had added a testSynthesizeEmptyString case to check that it errors out.
Is that test sufficient in testing what had happened, and cover the changes you had made previously?

When you say empty, I'm assuming you mean not nil

Correct.

so something like this?

If I remember correctly, it was more like this but it is the same general idea:
let emptyData = Data()
print ("Data = \(emptyData)")

Is that test sufficient in testing what had happened to you, and cover the changes you had made previously?

No, since sending in an empty string will go down a different code path and not make it to the isWAVFile function. Sending in an empty string to synthesize will fall into this case:
                case .some(let error): failure?(error)

with the error being:
Error Domain=com.ibm.watson.developer-cloud.TextToSpeechV1 Code=400 "Required parameter "text" cannot be empty." UserInfo={NSLocalizedFailureReason=Required parameter "text" cannot be empty., NSLocalizedRecoverySuggestion=Bad Request}

On a separate note, I wonder if it would be better for the synthesize function to check for an empty string and immediately return an error instead of making a web service call that will just fail.


Outcome printer for Js.t {. foo: bar} is wrong

Repro:
Get a type error for some Js.t obj (bs obj). It shows something like:
Error: This expression has type
         Js.Null.t (Js.t { foo :bar })

Nope that the dot is missing after the bracket.

Fixed


Promotion - cart discount with rule not possible in promotion-tab

It is not possible to have multiple discounts in 1 promotion based on rules
Possible:

conditions tab: rule 8 (rule based conditions)

Not possible:

discount tab: cart > use on specific products > with rule (total >=  49) (Discount)
→ e.g. when customer wants to dynamically limit / change the discount based on the purchase amount
example: rule 1 (49 to 199€) 20% (limit 3000€) && rule 2 (199+€) 10% (no limit)

[public] Shopware automated response: This issue is linked to the internal issue: NEXT-38112
[created from NEXT-38112, comment 491627]


Example standalone client needs updating

The example ros client has been updated with the 0.2.0, but the standalone clients also needs to be updated to match

Duplicate of #67


Fix pseudo_connect with None input

The AppVeyor failure is unrelated to the PR.

Jenkins, test this please.

Jenkins CI test (for commit f2d7e6ea4645c7155cdbe9be5868cfaa1c70a135, target branch master) failed with status FAILURE.
(For contributors, please wait until the reviewer confirms the details of the error.)

The Jenkins failures are unrelated to the PR.


Web interface screenshots or demo

It would be great to add some screenshots of the web interface to the readme or provide an online demo account to help adoption and lower the barrier to evaluate the project.
Possible user scenario: "I've heard about this shiny new email project, and I might switch to it from my existing solution, but does it worth it?"

Thanks, good idea, I'll some soon.

I also want to make a video that just shows setting up mox on a new machine for a new domain. I think that will give potential new users a good idea of what they are getting into. Will leave this issue open until then.

@mjl- , I was wondering if you would welcome contributions to the existing web interface? I'd be happy to build one with React or add bits of CSS to it.

hi @moatorres, i would be more interested in adding missing functionality in the web interfaces (e.g. making more of the domains.conf settings configurable through the admin web interface). also, the js (in web/admin.html and web/accounts.html) has some todo's about updating part of the views with new data (instead of reloading the whole page), that's possibly where the idea to use a library like react comes from. but i prefer to implement those in the style of the pure js approach we currently have, i think that approach can last for quite a while longer. using popular frontend libraries makes the web interfaces whole big projects on their own, and requires a lot of ever churning frontend tooling...
as for css changes: a few styling tweaks would be fine, especially the "dns check" page looks a bit off. but otherwise i'm quite happy with the basic look: no distractions, and few things to have to worry about creating the pages.
i do have another idea for the web interfaces, especially the pages that change settings in domains.conf: change them so they are essentially a guided editor for the configuration file. the configuration file is defined by a struct, with fields that are just types like structs, maps/objects, lists, strings and other base types. instead of writing custom ui's for changing those settings (the current approach), it would perhaps be good enough to (generically) show (parts of) the config file and provide buttons for adding/removing items from a list or map, and selecting one of a fixed set of options. perhaps sometimes with a little extra code to guide users in the right direction. the config file definition has annotations for documentation and whether fields are optional, so those can help. this may provide the discoverability and easy of use of a web interface, but keep the gap between web interface and config file small, making it easy to switch between the two. but this idea is a project on its own...

Earlier this week I replaced the "website-placeholder" at https://www.xmox.nl with an actual website. It even has a first (somewhat awkward) video, with more to come (I hope to get better at it).
I'll close this issue for now, feel free to reopen. Feedback also welcome, that also works on closed issues, I'll get a notification by email.


Enhance JAVA_HOME detection to support RPM

Why are the changes needed?

By default, on CentOS 7 w/ openJDK 8 installed via YUM/RPM, the /usr/bin/java links to /usr/lib/jvm/java-1.8.0-openjdk/jre/bin/java, the current detection logic will think the JAVA_HOME is /usr/lib/jvm/java-1.8.0-openjdk/jre, and then cause the issue.
[ERROR] Failed to execute goal net.alchim31.maven:scala-maven-plugin:4.6.1:compile (scala-compile-first) on project kyuubi-common_2.12: wrap: java.io.IOException: Cannot run program "/usr/lib/jvm/java-1.8.0-openjdk-<IP_ADDRESS>2.b06-1.el7_9.x86_64/jre/bin/javac" (in directory "/home/pancheng/apache-kyuubi"): error=2, No such file or directory -> [Help 1]

How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[x] Add screenshots for manual tests if appropriate

w/ this patch, the build/dist works expected on CentOS w/ openJDK 8 installed via yum, the debug info shows it detected the right JAVA_HOME
+ [[ -z '' ]]
++ command -v rpm
+ '[' /usr/bin/rpm ']'
++ rpm -E %java_home
+ RPM_JAVA_HOME=/usr/lib/jvm/java
+ '[' /usr/lib/jvm/java '!=' %java_home ']'
+ JAVA_HOME=/usr/lib/jvm/java
+ echo 'No JAVA_HOME set, proceeding with '\''/usr/lib/jvm/java'\'' learned from rpm'
No JAVA_HOME set, proceeding with '/usr/lib/jvm/java' learned from rpm
+ '[' -z /usr/lib/jvm/java ']'
+ [[ -z /usr/lib/jvm/java ]]
+ echo 'JAVA_HOME is set to /usr/lib/jvm/java'
JAVA_HOME is set to /usr/lib/jvm/java

[ ] Run test locally before make a pull request

Thanks, merging to master/1.6


Changed the restore namespace

What this PR does / why we need it:
Changed the restore namespace name.
Which issue(s) this PR fixes (optional)
Closes #PA-619
Special notes for your reviewer:

Aetos link: http://aetos.pwx.purestorage.com/resultSet/testSetID/104949

Aetos link: http://aetos.pwx.purestorage.com/resultSet/testSetID/105081


migrate to Capacitor

Hi,
Integrate Capacitor into Svelte is easy. Somehow, this git is using nativescript mobile runttime. Is it possible to migrate it to Capacitor instead?
Thanks;

@garudaonekh Capacitor is slow and using web tech.
Nativescript is far more powerful. I dont plan on changing


MyMagento v2.0.0

MyMagento v2.0.0
Version 2.0.0 of MyMagento! 😍
Main Changes
Complete rework of all API response wrapper classes

All wrapper classes are now in the magento.models subpackage and are subclasses of the Model abstract class
The new subpackage contains the classes previously in entities.py and models.py, as well as some new ones

Search Improvements

Cleaned up SearchQuery - bug fixes, new methods
Added several new methods to all SearchQuery subclasses
Added new classes: OrderItemSearch and ProductAttributeSearch

Updates to clients.py

Improved the Client
Added the Store class

Added custom exception classes
Added Sphinx Documentation

Finally wrote docstrings for everything
Full documentation can be found on ReadTheDocs

Full Changelog

Without Docs Commits: 0bce2ffd3f535c02b47e1731dd5c22c9a550d5ab...7dbb355eb95c76bfa014e0791e6d577b98fa8a25
With Docs Commits: 0bce2ffd3f535c02b47e1731dd5c22c9a550d5ab...507415325fef11274c4a9416bbb1f1082caaded4

hmm ok


Needs ability to ignore some data or namespaces

In my personal case there is a namespace where I hold references to instances of some classes that are related to libraries that are DOM-bound, and very complex with a lot of methods, circular references etc.
In general these references cause me no grief and work as they should, but I've started toying with your library and noticed that these references break Vuenut,
The easiest solution for me would be to ignore the entire namespace in Vuenut.
You should add a prop where user gives you a lists of strings with namespaces or store state objects to be ignored, even better if you had some way to denote paths like state.namespace.object or state.object.subobject could be given as :ignore=['namespace/object', 'object/subobject'] and Vuenut would just not add these to the "exploration tree".

@bmarkovic It is a very excellent idea but you could explain or give me a case of the problem to be able to improve or fix it exactly. thank you very much for the contribution if you can help in solving it we would love

The problem itself is not really a problem with Vuenut itself.
Essentially I am keeping a reference to an instance object in the store:
import Something from 'something'

state.things = {
   ref1: new Something('thing_1'),
   ref2: new Something('thing_2'),
   ref2: new Something('thing_3'),
}

export {
  state
}

The problem is that the nature of such objects, due to the design of the class/factory Something is such that it has circular references:
ref1.thing.foo.bar = ref1.bar = { /* elaborate object with methods and nested properties */ }

Which cause exceptions when you use JSON.stringify. If you think that it's worthwhile to handle such objects that is great but I'm sure that it would require a more serious refactor than a good first issue label would imply.
So what I'm suggesting is to add a prop to the Vuenut component such that I can say to it "ignore state.things completely". Though, thinking about it, It's probably quite an intrusive a refactor itself.

Managed to test finally. Works exatly as I wanted. Thanks and keep up the good work!

Good thing Thank you very much for contributing with vuenut :+1:


fix: broken inclusion process

Fixes #2993

cc @AlCalzone

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 7 (0.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.009%) to 23.656%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

lib/SocketEvents.ts
0
3
0.0%

lib/ZwaveClient.ts
0
4
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.009%

Covered Lines:
3818

Relevant Lines:
17047

💛  - Coveralls

Better with 10.11.0 now, but I don't think that's what should be shown after granting keys and while waiting for the key exchange to complete:


My usecase tests

completed signup, login, logout, signup use cases tests with 100% test coverage

All tests indeed pass with 100% coverage.  Edge cases are considered in the test cases. Very good 👍

Tests follow the format and have 100% coverage.


remove show token validation

(This is Brian on Gabe's laptop)
If you pass an unexpected token to a show, it will raise an error. This is a problem with shots, for example, we have a shot like this:
shots:
    left_kicking_target:
        switch: s_bottomkickingtarget
        show_tokens:
            led: l_left_longhorn
            color: ffcc00

shot_profiles:
    advertise:
      states:
        - name: flashing
          show: flash_color
          speed: 10
        - name: unlit
          show: off
      loop: yes

shows:
    flash_color:
        - time: 0
          leds:
            (led):
              color: (color)
            (leds):
              color: (color)
        - time: 1
          leds:
            (led):
              color: black
            (leds):
              color: black
        - time: 2

So the we have a generic show where we can flash a color that we pass which is nice. But we can't use the "off" show. And we can't make an off show which accepts our color token because where in the show do we put that?
Removing the following lines fixes it: https://github.com/missionpinball/mpf/blob/0.31/mpf/assets/show.py#L338-L341

Maybe just add a call path for shots which allow optional tokens? It makes sense at other locations to have this validation.
We should talk about play_kwargs in shows at Expo.

Sounds easy. I'm fine with this.

disable validation in the show, add validation in the shot


Issues with conda installation

So this is possibly related to #1136 (pure speculation 😅 )
Basically, on a Vm with ubuntu 18:
conda create -n temp_env_scanpy
conda activate temp_env_scanpy
(temp_env_scanpy) giov@vm:~$ conda install -c bioconda scanpy

Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: -
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed

UnsatisfiableError: The following specifications were found to be incompatible with your CUDA driver:

  - feature:/linux-64::__cuda==9.1=0

Your installed CUDA driver is: 9.1

Interestingly, this error is not thrown all the time, e.g. in a VM centos 7 without cuda:
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: \
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed

UnsatisfiableError:

Another student working with me had the same issue in windows. His error was:
UnsatisfiableError: The following specifications were found to be incompatible with your CUDA driver:

  - feature:/win-64::__cuda==10.2=0

Your installed CUDA driver is: 10.2

But on a mac, no problem at all. In all situations, I have at least another environment with scanpy installed.
In all cases, conda was 4.8.3.
I cannot rule out completely the possibility that my conda in those 2 vms are messed up.

That's weird. Why would cuda be a dependency?
I'm not sure who is maintaining the bioconda recipe, so that might just be wrong. Do the new installation instructions fix it?

I had the issue trying to install it in a new environment when python itself wasn't installed there yet. After having installed python, it worked though. However, importing scanpy within a script doesn't work properly after the installation. I'll have a closer look at that now.

I am also unable to install scanpy on mac OS. I tried using python 3.8.x . 3.7.x and 3.6.x
(base) $ conda activate SCA

(SCA) $ conda --version
conda 4.8.2

(SCA) $ python --version
Python 3.6.10 :: Anaconda, Inc.

(SCA) $ conda install -c bioconda scanpy
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: \
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed

UnsatisfiableError: The following specifications were found to be incompatible with each other:

Output in format: Requested package -> Available versions

Make sure you are searching the conda-forge channel, too.
Either conda install -c conda-forge -c bioconda scanpy or configure the default channels.


use path.sep in mkdir instead of windows path separator

it was broken on unixy OSes again

Oh my bad I did use the // again instead of path.sep, Thank you for correcting that and bumbing the dependencies. I should setup dependabot for automating dependencies updates though.


add curated env triad terms and range/string ser -> type/regex rules to SNTC

And update tests accordingly
Will Google Sheets be able to handle the regular expressions without extra escaping?

See sheet2dataharmonizer/converters/commands.py and target/soil_curated_terms.txt rule in Makefile

range/string ser -> type/regex rules: see validation_converter and target/soil_biosample_regex_insight.tsv


Add node_modules to .gitignore

Proposing to add node_modules of server folder to the .gitignore for improved project efficiency:

Repository Size and Speed:
Excluding node_modules reduces repository size, speeding up cloning and pulling.

Reproducibility:
Ensures easy project setup for contributors using npm install or yarn install.

Avoiding Conflicts:
Prevents conflicts across different environments.

Focus on Code:
Maintains a clean repository, focusing on essential code.

Security and Licensing:
Avoids sharing sensitive information and respects licensing.

Proposed Change:
Add node_modules/ to the .gitignore file.
Expected Impact:
Smaller repository size.
Faster cloning and pulling.
Improved development environment consistency.
Reduced potential conflicts.
Cleaner, more focused repository.

Please assign the issue to me @samrat2k03

start working, mate


Change downloaded CSV filename to a meaningful name

Right now when clicking the "download CSV" button, the generated file's name is simply data.csv, but the contents are generated according to the current view.

For added clarity, the filename should also be generated according to the current view parameters.

Perhaps depends on #423 for a short unique identifier for the current view.
@omerxx

Actually when it comes to a file name I think it should be something like
Anyway-accidents-<DATE>.csv
The file will only contain accidents data from the view so I don't know if having the complete path would be helpful

Not the complete path, but something to identify the view so that you know
where the data came from.
On Mon, Aug 31, 2015 at 12:26 PM Omer Hamerman<EMAIL_ADDRESS>wrote:

Actually when it comes to a file name I think it should be something like
Anyway-accidents-.csv
The file will only contain accidents data from the view so I don't know if
having the complete path would be helpful
—
Reply to this email directly or view it on GitHub
https://github.com/hasadna/anyway/issues/430#issuecomment-136313210.

Discussing with Omer, we thought the search dates are most important and the most user friendly metadata. Example:
Anyway-accidents-from-2014-01-01-to-2015-01-01.csv
@danielhers, what do you think?

This is fine, until we have a unique short identifier for the exact view (a
hash of all the parameters).
On Mon, Oct 12, 2015, 19:08 Alik Elzin<EMAIL_ADDRESS>wrote:

Discussing with Omer, we thought the search dates are most important and
the most user friendly metadata. Example:
Anyway-accidents-from-2014-01-01-to-2015-01-01.csv
@danielhers https://github.com/danielhers, what do you think?
—
Reply to this email directly or view it on GitHub
https://github.com/hasadna/anyway/issues/430#issuecomment-147462820.


nginx + ssl = bad gateway

I'm trying to use a signed certificate for the https protocol.é I'm using nginx like proxy;
server {
        listen 443 ssl;
        proxy_set_header X-Real-IP  $remote_addr;
        ssl_certificate /etc/letsencrypt/live/git.*******/fullchain.pem;
        ssl_certificate_key /etc/letsencrypt/live/git.*******/privkey.pem;
        location / {
                proxy_pass https://<IP_ADDRESS>:3000;
        }
}

My custom server app.ini is like;
`[server]
PROTOCOL = https
DOMAIN = git.*******
HTTP_PORT = 3000
ROOT_URL = https://git.*******/
DISABLE_SSH = false
SSH_PORT = 22
OFFLINE_MODE = false
CERT_FILE = /etc/letsencrypt/live/git*******/fullchain.pem
KEY_FILE =  /etc/letsencrypt/live/git.*******/privkey.pem`

If I put  "proxy_pass http://<IP_ADDRESS>:3000;" instead of  "proxy_pass https://<IP_ADDRESS>:3000;" and replace into app.ini the protocol http instead of https It's working with the browser but dont with a git client.
Did i something wrong ?

Did i something wrong ?

Yes, with reverse proxy, you only need to setup Gogs as HTTP server, the only place you need to tell Gogs you're using HTTPS is the ROOT_URL.
[server]
DOMAIN = git.*******
ROOT_URL = https://git.*******/

Is good enough.

yeah like I said, it's working with only the http server set and the root url of app.ini set to https but it's not working with git client from any IDE (Eclipse, Netbean, Webstorm, etc)

but it's not working with git client from any IDE (Eclipse, Netbean, Webstorm, etc)

What is the error?

My reverse proxy nginx is working fine.  It was a registrar issue with the java cacerts. Thanx for all your help !!

:trollface:


report time field autosort appears to do a text based sort instead of a time based sort (use time functions)

when clicking report time to sort, it sorts by day name, not by the whole element as a datetime data type thereby sorting to all friday's, then month, then day then xx:xx:xx then year
it looks like it is doing a text data type based sort vs a datetime data type based sort.

once you click the sort at the top of the column, the column is forever broken.

Yeah that sounds likely, I don't recall customizing the sort function for any of the columns. Can look into it, being able to sort at all was just a "turn it on" thing in that ui element, but I'll look into why it's breaking too.


text-detection-0001 output shape is different from paper and description

Hi, I am a bit confused with the output shape of text-detection-0001.
As stated in paper:

As shown in Fig. 3, the whole model has two separate headers, one for text/non-text prediction, and the other for link prediction. Softmax is used in both, so their outputs have 12=2 and 82=16 channels, respectively.

As stated in model description:

The net outputs two blobs. Refer to PixelNet for details.
[1x2x192x320] - logits related to text/no-text classification for each pixel.
[1x8x192x320] - logits related to linkage between pixels and their neighbors.

Shapes of "logits related to linkage between pixels and their neighbors" from description and paper are different.
And model's outputs shape is (1, 16, 192, 320) in single object, which is a third output shape (not described in description or paper). What does it mean? Please help to understand.

@Ilya-Krylov can you comment?

@banderlog Thank you for your finding. Actually this is a mistake. There should be

[1x2x192x320] - logits related to text/no-text classification for each pixel.
[1x16x192x320] - logits related to linkage between pixels and their neighbors.

If so it corresponds to description in the paper. Output blob format is [BATCH_SIZE, CHANNELS_NUMBER, H, W].

Thank you for fast answer, I'm glad that I was able to help and that the second output's shape now the same in the all 3 sources. But I still have a problem: text-detection-0001 output is only one tensor.
Please, look on my example below:
import cv2

img = cv2.imread('test.jpg')

td = cv2.dnn.readNet('./text-detection-0001.xml','./text-detection-0001.bin')
blob = cv2.dnn.blobFromImage(img, 1, (768, 1280))
td.setInput(blob)
a, b = td.forward()
>>> ValueError: not enough values to unpack (expected 2, got 1)

And if I'll check an output's shape:
a = td.forward()
a.shape
>>> (1, 16, 192, 320)

As far as I understand, I still need logits related to text/no-text classification for each pixel with shape [1x2x192x320]. Could you comment it please, maybe you need some additional info, like cv2.getBuildInformation() output?
Currently I am using custom build of OpenCV 4.0.1 with Inference Engine built from dldt git.

@banderlog,
This method returns a single output:
 |  forward(...)
 |      forward([, outputName]) -> retval
 |      .   @brief Runs forward pass to compute output of layer with name @p outputName.
 |      .   *  @param outputName name for layer which output is needed to get
 |      .   *  @return blob for first output of specified layer.
 |      .   *  @details By default runs forward pass for the whole network.

source: https://docs.opencv.org/master/db/d30/classcv_1_1dnn_1_1Net.html#a98ed94cb6ef7063d3697259566da310b
You need to use td.forward(td.getUnconnectedOutLayersNames())

Thank you, @dkurt , it worked :smile:
a, b = td.forward(td.getUnconnectedOutLayersNames())

a.shape
>>>  (1, 2, 192, 320)
b.shape
>>> (1, 16, 192, 320)
td.getUnconnectedOutLayersNames()
>>> ['pixel_cls/add_2', 'pixel_link/add_2']

May I suggest that td.forward(td.getUnconnectedOutLayersNames()) should be added into  text-detection-0001.md?

Blob creation should be done in this way: blob = cv2.dnn.blobFromImage(img3, 1, (1280,768)), if you do as above, you will get no errors, but also no comprehensible output.


test: Fixes number of expected NAT rules when using xtables driver.

When forcing lxd to use the xtables firewall driver I found that the container_devices_proxy test was failing consistently.
The test expects to find more iptables rules than it does when using a NAT proxy. I believe that this should have been changed as part of #9633, but wasn't caught when running tests because the nftables driver was in use instead.

Yeah I mentioned the possibility of a regression like this occurring when we switched the test suite to 20.04 using nftables by default so xtables driver is not tested anymore. @stgraber is there scope for adding a proxy daily test that manually switches firewall drivers like we do with the acl tests?

Yeah, we can do that. It's always a bit debatable if such tests have much value as we're really testing the test more than testing the feature. The feature itself is perfectly functional and if not already, could be easily validate across all distros in the snap test.

Yeah the precise nature of the tests (whether it should count rules or rather test actual proxying) is valid, but right now we don't test it actually functions with xtables.


use the built integration.test binary

as part of invoking make test we build the test,
as part of running the test we build the test again.
if you could build the test the first time, why would this change, so just use the existing output.

Seems reasonable. However, looking back it seems we used to do a bit of custom set up inside integration.sh. Is that uncessessary now and in the future?

the build-integration target is always called, and it skips all of the details of integration.sh, and nobody has complained so far, so I figured it was okay to dump it.

The -i flag was my concern in the wrapper script and since that's not being used, this change LGTM.


Updates react-redux to 8.0.2

Closes #1176
Depends on #736
Frankly, I don't know why we now have to explicitly export the store.dispatch type to use AsyncThunks and didn't have to before, but if it pleases Typescript shrug

Hi @Arnei, the "Closes #1176" reference does not seem to be correct


Add Australian Landscape Water Balance BoM services

Add the following to Climate group:
Rainfall, month to date:
http://www.bom.gov.au/jsp/awra/thredds/wms/AWRACMS/deciles/month/rain_day.nc
Rainfall, year to date:
http://www.bom.gov.au/jsp/awra/thredds/wms/AWRACMS/deciles/year/rain_day.nc
Add the following to Agriculture:
Soil:
Lower soil moisture, month to date:
http://www.bom.gov.au/jsp/awra/thredds/wms/AWRACMS/deciles/month/ss_pct.nc
Lower soil moisture, year to date:
http://www.bom.gov.au/jsp/awra/thredds/wms/AWRACMS/deciles/year/ss_pct.nc

Here's the rainfall "year to date" dataset: http://nationalmap.gov.au/northernaustralia/#share=s-o7VaI3NCCFyRNEGRROGFghzaB0T
It's hard to understand what is being visualised. The values are all between 0 and 1. Is there any metadata that could help with understanding the data? Without metadata it will be hard to configure the layers correctly.

@steve9164 please check this map top group of layers
here is an example: https://prototype.droughtmap.terria.io/#share=s-9UnHufG9Ud8jb2kggpUnC2eINw9
maybe this url is also helpful: http://www.bom.gov.au/jsp/awra/thredds/wms/AWRACMS/deciles/month/ss_pct.nc?service=WMS&version=1.3.0&request=GetCapabilities


automatic hotfix action

[x] I have added the tests to cover my changes.
[x] I have updated the documentation and CHANGELOG accordingly.
[x] I have read the CONTRIBUTING document.

hotfix-now


replaced Google Brillo with Android Things

Google announced that Brillo was being replaced by 'Android Things' as their IoT OS

Anything else for me to do here?

Thanks! (And sorry for the delay!)


Enable Lua 5.3 shared module

Lua 5.3 is a new dependency for Flycast

This still seems to fail to execute Flycast as Flycast expects liblua5.3.so.0 but the shared-module includes it as liblua.so.5.3.5. I wonder if there's a simple way to add a new symlink?


onChange doesn't trigger when image is added to editor

As the title suggests onChange is not triggered when an image is inserted via toolbar. For my use case did a hacky workaround by emitting event in imagePreviewHandler because I have logic that needs to be triggered when the box resizes. Would be cool if this worked as intended though.

ah wait I messed up something causing onChange to not trigger. Of course I resolve it right after being sure its further up the chain.


OpenMP, External AMReX, Extra Archs

architectures: aarch64/arm64 (macOS & Linux) & ppc64le (Linux)
OMP Compute
External AMReX

patch: https://github.com/Hi-PACE/hipace/pull/1031

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender


As a User I want to Create a Gallery of Projects, So That I can look back on my progress one day

Reference


[Low-bit optim] Support for dcp.save() and dcp.load()

Fixes #1189

To support dcp.save(), aten.detach and aten.is_pinned are required
To support dcp.load()

When world size does not change, no addition ops are needed
When world size changes, aten.slice is required

Thus this PR adds implementations for the above 3 ops for all low-bit optim state subclasses in torchao, as well as appropriate tests. Also did some minor housekeeping (e.g. format code, remove torch>=2.3 guard since we only test against torch>=2.3 now...).
Note: Low-bit optims are still not compatible with dcp.state_dict.get_optimizer_state_dict() due to pytorch/pytorch#139575

@vkuzo Sure, we can wait until CI is fixed (How do I know when CI is fixed? Seems like no tracking issue atm). No urgent, unless @nighting0le01 needs this patch merged to main soon?

You can ignore the cpu nightly failure. That hasn't been root caused yet but is likely a runner specific issue

New CI errors (seems like runner issue too?) https://github.com/pytorch/ao/actions/runs/11734156452/job/32689712737?pr=1217 - Will try rerun this later to see if it still persists.
Also a lot of build wheels CI are failing e.g.

Linux x86: https://github.com/pytorch/ao/actions/runs/11717262998/job/32636649752
Linux ARM: https://github.com/pytorch/ao/actions/runs/11717263022/job/32690596883

glibc error was fixed
the conda aarch64 error is new @HDCharles

glibc error was fixed the conda arm error is new but should be fixed, @malfet is this related? pytorch/test-infra@709824e

@msaroufim yes, aarch64 build failures should have been fixed by that commit


Vulnerability disclosures WG meeting 9/14/2020

Time
Monday August 24th, 2020 7:00 AM Pacific
Links

Zoom link: https://auth0.zoom.us/j/96101652486?pwd=SXNJaE1yK1hGd0ZaRHJZQW1RZG4zdz09

The invite is also available on the OpenSSF Community Calendar.
Agenda

Welcome new member

Marcus Meissner (@msmeissn)

Working group governance topics:

Co-pilot(s)
OSSF Slack workspace

Overview of the disclosure process in Arch Linux (@Foxboron)
Overview of the disclosure process in Red Hat (@RedHatCRob)

Notes

Google Doc with meeting minutes

How does one get added to the invite list for the community calendar?

The idea here is that the calendar is public and anyone can join the WG meeting. If one wants to be added directly to the invite list, the best way it to poke me. I updated the README to mention this:
https://github.com/ossf/wg-vulnerability-disclosures#schedule
I have now added you to the calendar invite.


format import flash

https://user-images.githubusercontent.com/41773861/209470032-fe12287a-c9d3-4555-a677-b8e4945055c2.mov
With following user settings:
{
    "editor.codeActionsOnSave": {
        "source.addMissingImports": true,
        "source.fixAll.eslint": true,
        "source.fixAll.stylelint": true,
        "source.fixAll.markdownlint": true,
        "source.organizeImports.sortImport": true
    },
    "editor.formatOnSave": true,
    "[javascript][javascriptreact][typescript][typescriptreact][vue][json][jsonc]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
}

The solution is add following settings:
{
    "tsImportSorter.configuration.autoFormat": "off",
    "tsImportSorter.configuration.wrappingStyle": "prettier",
}

https://user-images.githubusercontent.com/41773861/209470161-74bf3be5-efc0-4ba7-9072-61f17e69d767.mov
That's why my format result is differen't with you in pr: https://github.com/daidodo/format-imports/pull/18

When you set:
tsImportSorter.configuration.wrappingStyle": "prettier"

The plugin will mimic prettier's result which doesn't wrap unless line limit is met.
So the question is why you have it in vscode user settings?

I add that setting because I want to ensure the wrappingStyle using prettier style

The key probelem is when  I using first setting, will cause code falsh like in video.
Seems to avoid flash, only need add:
{
    "tsImportSorter.configuration.autoFormat": "off",
}

Now I understand your problem.
The "flash" you see is due to twice formations by prettier and this plugin. It's gone when you turn either off.
I understand it's unpleasant but there's not much I can do (or I don't know what to do).

For anyone with the same question, my advice is to disable auto format and just using the codeActionOnSave:
{
    "editor.codeActionsOnSave": {
        // others...
        "source.organizeImports.sortImport": true,
        "tsImportSorter.configuration.autoFormat": "off",
    },
}


Tray Icon context menu missing

Describe the bug
As of version 5.5.0 the tray icon context menu is missing! If you right-click the tray icon, nothing happens! Left-click to show/hide works like a charm though
To Reproduce
Right-click the tray icon
Expected behavior
When right-clicking the tray icon, a context menu should appear
Desktop:

OS: Manjaro Linux kernel 5.5.19-1
Ferdi Version 5.5.0-1 (ferdi-bin from AUR)

Server Used: self-hosted

Debug information: can't access this because of #667

Closing in favour of https://github.com/getferdi/ferdi/issues/484 🙏
Thank you for taking the time to report your issue!


used on linux or windows

can support used on linux or windows os?

Hi it's golang based, compile and use it anywhere.


Adding SessionStore

As mentioned in https://github.com/solid/solid-panes/pull/202, we might want to create a superclass of Store that ensures that Fetcher and UpdateManager is always set (this removes the need to hoist store in https://github.com/solid/solid-ui/blob/master/src/store.js).
I propose to have this part of this repository, as it is a part of the context object.

Propose:
LiveStore extends ConnectedStore - adding updater
ConnectedStore extends Store - adding fetcher

As I have added the requests of Tim, I consider this PR approved.


Pulse Check 4

Problem Statement
The project is starting to grow. We need to organize the project files to ensure we are able to scale it and add additional features.
Project Scope
Move ANY embedded or inline CSS into a separate file and link it to your HTML page.
Remove any JavaScript from HTML to a separate file with a name that identifies the file's purpose. Add a feature request form and button to allow users to request additional features. Style the form and button using the linked CSS file.
Refactor your JavaScript to use functions and function parameters where necessary
Deliverables

[X] I have reviewed the concept rubric
[X] I have refactored my JavaScript to use function calls and function parameters where appropriate
[X] I have implemented the proper variables (let, const or var)
[X] I have commented my code for readability and logical flow of information
[X] I have updated my readme.md to reflect the most updated version of my application
[X] I have create stories in GitHub Projects and related issues/task
[X] I have moved embedded and inline CSS into a css file and linked it to my HTML page
[X] My HTML page is named index. html and JavaScript and CSS files are named based on their functional requirements for may app
[X] I created a new feature form that allows user to send feature request
[X] I have implemented a page layout using CSS Grids for my index page
[X] I have documented my code
[X] Html files have been documented
[X] CSS files have been documented
[X] JavaScript files have been documented
[X] I have submitted my GitHub Link to Beacon
[X] I have added the latest code to GitHub
[X] I have hosted my project on GitHub pages


missing knife plugins after chef-dk upgrade

I've seen users upgrading chef-dk on Windows and ending up with a PATH that has 'C:\opscode\chefdk\embedded\bin
' before 'C:\opscode\chefdk\bin'
This causes 'knife.bat' from 'C:\opscode\chefdk\embedded\bin
' to be executed instead of the one from 'C:\opscode\chefdk\bin'
My troubleshooting shows that 'knife.bat' from the embedded directory is not loading all the default knife plugins. It's missing plugins like 'knife role', 'knife environment', etc
With 'C:\opscode\chefdk\embedded\bin' before 'C:\opscode\chefdk\bin' in the PATH:
PS C:\chef-repo> chef -v
Chef Development Kit Version: 0.6.2
chef-client version: 12.3.0
berks version: 3.2.4
kitchen version: 1.4.0

PS C:\chef-repo> where.exe knife.bat
C:\opscode\chefdk\embedded\bin\knife.bat
C:\opscode\chefdk\bin\knife.bat

PS C:\chef-repo> knife role list
FATAL: Cannot find sub command for: 'role list'
Available subcommands: (for details, knife SUB-COMMAND --help)
...

PS C:\chef-repo> C:\opscode\chefdk\embedded\bin\knife.bat role list
FATAL: Cannot find sub command for: 'role list'

Putting 'C:\opscode\chefdk\bin' before 'C:\opscode\chefdk\embedded\bin' in the PATH fixes the problem:
PS C:\chef-repo> where.exe knife.bat
C:\opscode\chefdk\bin\knife.bat
C:\opscode\chefdk\embedded\bin\knife.bat

PS C:\chef-repo> knife role list
linux_apache
linux_base

PS C:\chef-repo> C:\opscode\chefdk\bin\knife.bat role list
linux_apache
linux_base

chef-dk for OSX doesn't have this problem:
[10:53:27 ~/gitin/chef-repo (master)]$ /opt/chefdk/bin/knife role list
linux_apache
linux_base

[10:53:48 ~/gitin/chef-repo (master)]$ /opt/chefdk/embedded/bin/knife role list
linux_apache
linux_base

We have this issue, too.  +1.  Nice to know the fix already.  :-)

Encountered this issue also. Thanks for posting.

I'm gonna close this since I haven't seen any activity to indicate it's still a problem. Please reopen if it's still an issue, e.g. in upgrading from 0.8 to 0.9.


Fixed too many open files error

I've split the test/integration/migrations_test.rb into several files
inside test/integration/migration directory. This will allow us to
keep more easy to read and find specific migration's features per
storage type.
Also, I've added some close/disconnect flow in some tests as you can see below.
This was necessary to help OS flush resources not used anymore.
I didn't add any new test. Just rearrange the existing ones.
I'd like to split unit-testing from integration one. If you guys agrees, I can create another Rake task for /test/integration directory and remove it from rake test recipe.
Refers to #242

@hlegius Wonderful :sparkling_heart: Thank you!


feat: add widget endpoint returning GitHub widget content

This PR adds a new endpoint that returns widget data. The GitHub widget data is included as the first type of content that can be requested.
Screenshot
Preview showing the endpoint called on local env.

Screenshots showing the new response wrapper (ok, payload).
Error

Success


add --noinput argument support to create_tenant command

This patch adds support for --noinput (or --no-input) argument to create_tenant command.
If used, it will not ask for user input even for missing fields. And in case one of these missing fields is required, the command will exit with a "Missing required field" error.
This patch will allow using the command on scripts where there is no access to terminal input or when script automation is needed.

@lejenome Thanks for that


Update name

Required items, please complete
Change(s):

See guidance below

Reason for Change(s):

See guidance below

Version Updated:

Required only for Detections/Analytic Rule templates
See guidance below

Testing Completed:

See guidance below

Checked that the validations are passing and have addressed any issues that are present:

See guidance below

Guidance <- remove section before submitting

Before submitting this PR please ensure that you have read the following sections and filled out the changes, reason for change and testing complete sections:
Thank you for your contribution to the Microsoft Sentinel Github repo.

Details of the code changes in your submitted PR.  Providing descriptions for pull requests ensures there is context to changes being made and greatly enhances the code review process.  Providing associated Issues that this resolves also easily connects the reason.

Change(s):

Updated syntax for XYZ.yaml

Reason for Change(s):

New schema used for XYZ.yaml
Resolves ISSUE #1234

Version updated:

Yes
Detections/Analytic Rule templates are required to have the version updated

The code should have been tested in a Microsoft Sentinel environment that does not have any custom parsers, functions or tables, so that you validate no incorrect syntax and execution functions properly.  If your submission requires a custom parser or function, it must be submitted with the PR.

Testing Completed:

Yes/No/Need Help

Note: If updating a detection, you must update the version field.

Before the submission has been made, please look at running the KQL and Yaml Validation Checks locally.
https://github.com/Azure/Azure-Sentinel#run-kql-validation-locally

Checked that the validations are passing and have addressed any issues that are present:

Yes/No/Need Help

Note: Let us know if you have tried fixing the validation error and need help.

References:

Guidance for Detection checks
General contribution guidance
PR validation troubleshooting

Hi @MicahFalde, please upgrade the version of this rule from 1.0.2 to 1.0.3. Thanks

Name change is OK as long as the GUID stays the same. And, while I do think we need to improve our titles and descriptions, I concur with @shainw  that updating a single query just for a text update will be confusing to users.

Hi @MicahFalde, we will discuss this with team provide you feedback on this. Thanks

Do all PRs submitted to this repo make production changes in Sentinel? -just for my info


[R][CI]: Remove more defunct rhub containers

Describe the enhancement requested
In debugging a CRAN submission, found another location where we are using the stale rhub containers.
Component(s)
Continuous Integration, R

Issue resolved by pull request 41828
https://github.com/apache/arrow/pull/41828


Add config validation

Description:
This PR adds a validate command to allow config validation as specified in #736.
Checklist:

[x] Does your PR pass tests?
[x] Have you written new tests for your changes?
[x] Have you lint your code locally prior to submission?

@cvhariharan , Thanks! Will this PR be merged? how can I validate a config file?

Hi @tzurielweisberg, I don't think this PR will be merged. See the explanation here .
Closing this PR.