Sequence Diagram Generation works both for Plant UML and Mermaid UML.

Upgrade Plant UML Sequence Diagram generation feature and implement the same algorithm for Mermaid UML.
Add new tests for Sequence diagram Generation (for Plant and Mermaid).

Fix errors in PlantUmlGenerator and MermaidGenerator classes.


chore: release 1.2.126

:robot: I have created a release *beep* *boop*
1.2.126 (2022-07-13)
Bug Fixes

bundles: --secret-values option for bundle-render command (f722ec9)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/werf/werf/releases/tag/v1.2.126 :sunflower:


twister: support namespacing of extra configs

We want to be able to have platform or architecture extra configs
without having to duplicate a whole section of the test specification.
This adds support for namespacing of extra configs, for example:
arch:nios2:CONFIG_SYS_CLOCK_TICKS_PER_SEC=1000
or
platform:qemu_x86:CONFIG_FOO=y
Signed-off-by: Anas Nashif<EMAIL_ADDRESS>

Works great! Could this be done for 'west build' too?

Works great! Could this be done for 'west build' too?

But west build only ever builds a single arch (for now) @keith-packard, unlike twister.

west has option --test-item where one can point to a particular scenario from yestcase/sample.yaml and west would build with using extra_args from yaml. I guess it can (or in fact should, for complementary?) updated as well.

west has option --test-item where one can point to a particular scenario from yestcase/sample.yaml and west would build with using extra_args from yaml. I guess it can (or in fact should, for complementary?) updated as well.

yeah, I actually tried using west like this before I realized the patch was only to twister...

Could this namespacing feature be added to extra_args too?
Would be good to have something like this, rather than listing all KConfig options in the testcase.yaml file.
tests:
drivers.flash.flash1234:
platform_allow: native_posix_64 my_custom_board
tags: drivers
extra_args:
  - platform:my_custom_board: "CONF_FILE=prj.conf;myboardoptions.conf"
  - platform:native_posix_64: "CONF_FILE=prj.conf"


Laravel 6 support

Is it supported laravel 6 ?

This package is ready for migration to Laravel 6 or is maintenance unattended ?, thanks

I have used in local and doesn't seem to break anything .. but it would be great if there was a confirmation from the author

There is no explicit dependency on Laravel so you should be good to go!


Multicore operating systems has > 3000 past students in past 5 years???

What's going on with multicore operating systems? This is a new course, never offered before (at least, in the past few years), but has data from the past ~5 semesters and tons of grade distribution data.

Disclaimer: pretty technical explanation
The current method for searching the database for grades is based on Instructor Last Name + Department + Course Number (and then matching on the Semester + Year for an individual semester instead of aggregate).
One issue that arises when courses have the same department + course number is that it's hard to distinguish which course is which, especially when we don't have instructor-specific information for a class (or worse, an instructor teaches multiple courses with the same department & course number). The reason for this is that the name of the course is very inconsistent across data sources and years.
Here's an example:

It's pretty bad for CS, which has a ton of courses with the "C S 378" designation

Closing this because we are modifying the red disclaimer text in a PR for clarity. It would instead show "We couldn’t find instructor-specific grades, so here’s the grade distribution for all C S 378 sections."


Update cats-core, cats-free to 2.10.0

About this PR
📦 Updates

org.typelevel:cats-core
org.typelevel:cats-free

from 2.8.0 to 2.10.0
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.typelevel" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.typelevel" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, version-scheme:early-semver, commit-count:1

Superseded by #229.


depdenabot: Get updates batched together weekly

83b9857 dependabot: Get updates batched together weekly
commit 83b98571b7c89685653f05f0b464c9745e61521e
Author: Russell Bryant<EMAIL_ADDRESS>Date:   Mon Jun 17 18:14:58 2024 -0400
dependabot: Get updates batched together weekly

If there are multiple updates for a given ecosystem, include them in a
single PR once a week.

Signed-off-by: Russell Bryant<EMAIL_ADDRESS>

out of curiosity, what was the issue with daily?
/lgtm

out of curiosity, what was the issue with daily?
/lgtm

just noisy - personal opinion, I guess.
seeing updates come in per dependency across 10+ repos every day started to annoy me :-)

I think it will still show you distinct commits, and latthener it depends if you want to "Squash and merge".

I am still not sure the velocity of dependabot PRs warrants this. Also if a PR has multiple changes and one of them is an issue for us, we will not be able to tell which one since the whole PR will fail. Distinct PRs allows us to identify if an individual dependency change is a problem.

seeing updates come in per dependency across 10+ repos every day started to annoy me :-)

This wont fix that since each repo must have its own PRs.

If we get into a weekly cadence, do we still get distinct commits or is it a single commit with all the dep bumps? If multiple commits then LGTM!

single commit

seeing updates come in per dependency across 10+ repos every day started to annoy me :-)

This wont fix that since each repo must have its own PRs.

but it's at least once a week!

there's not clear consensus on this so I'll close
my personal annoyance isn't quite enough justification to push it ;-)


Permission denied error running locally

Required Prerequisites for filing a bug
You must follow ALL the steps in the troubleshooting guide.  Not doing so may result in automatic closure of the issue.
Required information

Steps to reproduce the problem

make server

A link to the notebook or markdown file where the error is occurring
If the error is happening in GitHub Actions, a link to the specific error along with how you are able to reproduce this error.  You must provide this in addition to the link to the notebook or markdown file.
A screenshot / dump of relevant logs or error messages you are receiving from your local development environment. Instructions of running a local development server is provided in the development guide.

When trying to run the server locally I'm getting
jekyll_1     | Successfully installed bundler-2.1.4
jekyll_1     | 1 gem installed
jekyll_1     | ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [x86_64-linux-musl]
jekyll_1     | Configuration file: /data/_config.yml
jekyll_1     | /usr/local/lib/ruby/2.7.0/fileutils.rb:250:in `mkdir': Permission denied @ dir_s_mkdir - /data/.jekyll-cache (Errno::EACCES)
jekyll_1     | 	from /usr/local/lib/ruby/2.7.0/fileutils.rb:250:in `fu_mkdir'
jekyll_1     | 	from /usr/local/lib/ruby/2.7.0/fileutils.rb:228:in `block (2 levels) in mkdir_p'
jekyll_1     | 	from /usr/local/lib/ruby/2.7.0/fileutils.rb:226:in `reverse_each'
jekyll_1     | 	from /usr/local/lib/ruby/2.7.0/fileutils.rb:226:in `block in mkdir_p'
jekyll_1     | 	from /usr/local/lib/ruby/2.7.0/fileutils.rb:211:in `each'
jekyll_1     | 	from /usr/local/lib/ruby/2.7.0/fileutils.rb:211:in `mkdir_p'
jekyll_1     | 	from /usr/gem/gems/jekyll-4.0.0/lib/jekyll/cache.rb:184:in `dump'
jekyll_1     | 	from /usr/gem/gems/jekyll-4.0.0/lib/jekyll/cache.rb:101:in `[]='
jekyll_1     | 	from /usr/gem/gems/jekyll-4.0.0/lib/jekyll/cache.rb:45:in `clear_if_config_changed'
jekyll_1     | 	from /usr/gem/gems/jekyll-4.0.0/lib/jekyll/site.rb:113:in `reset'
jekyll_1     | 	from /usr/gem/gems/jekyll-4.0.0/lib/jekyll/site.rb:33:in `initialize'
jekyll_1     | 	from /usr/gem/gems/jekyll-4.0.0/lib/jekyll/commands/build.rb:30:in `new'
jekyll_1     | 	from /usr/gem/gems/jekyll-4.0.0/lib/jekyll/commands/build.rb:30:in `process'
jekyll_1     | 	from /usr/gem/gems/jekyll-4.0.0/lib/jekyll/command.rb:89:in `block in process_with_graceful_fail'
jekyll_1     | 	from /usr/gem/gems/jekyll-4.0.0/lib/jekyll/command.rb:89:in `each'
jekyll_1     | 	from /usr/gem/gems/jekyll-4.0.0/lib/jekyll/command.rb:89:in `process_with_graceful_fail'
jekyll_1     | 	from /usr/gem/gems/jekyll-4.0.0/lib/jekyll/commands/serve.rb:86:in `block (2 levels) in init_with_program'
jekyll_1     | 	from /usr/gem/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `block in execute'
jekyll_1     | 	from /usr/gem/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `each'
jekyll_1     | 	from /usr/gem/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `execute'
jekyll_1     | 	from /usr/gem/gems/mercenary-0.3.6/lib/mercenary/program.rb:42:in `go'
jekyll_1     | 	from /usr/gem/gems/mercenary-0.3.6/lib/mercenary.rb:19:in `program'
jekyll_1     | 	from /usr/gem/gems/jekyll-4.0.0/exe/jekyll:15:in `<top (required)>'
jekyll_1     | 	from /usr/local/bundle/bin/jekyll:29:in `load'
jekyll_1     | 	from /usr/local/bundle/bin/jekyll:29:in `<main>'
git_kubeflow-blog_jekyll_1 exited with code 1

IIUC  container is volume mounting the files from my local filesystem and it is likely causing problems.
An approach I commonly for development is to use skaffold to deploy a server on K8s and then scp files to the pod for hot reloading.
That might indirectly solve this problem.


"releases" page does not display correctly in Japanese

Gitea version (or commit ref): v1.2.0-rc3
Git version: 2.4.12
Operating system: Windows Server 2008
Database (use [x]):

[ ] PostgreSQL
[ ] MySQL
[x] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[x] Yes (https://try.gitea.io/scmstom/Test/releases)
[ ] No
[ ] Not relevant

Log gist:

Description
The commits information does disaplay correctly in Japanese.
English:  1 day ago 0 commits to master since this release
Japanese:  1 日 前 このリリース以降 %!s(int64=0) へ %!d(string=master) コミット
Screenshots

Please fix that it gitea crowdin.com page

@lafriks Thanks, I have fixed it on crowdin.com.


Font line height is different from originall font

It was already discussed here (https://github.com/fonttools/fonttools/issues/336), but I have the same problem and the proposed solution with --text-file is not working.
Example of my script:
pyftsubset "NotoSans-Regular.ttf" --output-file="subset_NotoSans-Regular.ttf" --text-file="glyphs_NotoSans-Regular.ttf.txt" --hinting --layout-features='*' --glyph-names --symbol-cmap --legacy-cmap --notdef-glyph --notdef-outline --recommended-glyphs  --no-recalc-bounds --name-IDs='*' --name-legacy
I have tried  --text-file and to save input file as text with / without UTF8 BOM, same result.
I have also tried --unicodes-file with U+ at each line, same result.
Text file (or unicode codes file) contains only characters, that are present in the given font file (I generate file manually and test if each character is in font file, using freetype library).
The output font, loaded with freetype library, has metrics height approx. 2-times bigger.

As it turns out, this was not pytfsubset error, but I had corrupted input ttf file.


Short, tabular display for 'describe' queries

Instead of listing every tagset for a given metric, the server computes a map[string] []string that it sends to the client, mapping each key to a list of associated values.
The results are displayed in a series of tables (display: inline-block; float: left) with a small margin between them.

LGTM


Update tutorial resources to match ui updates

This pull request includes updates to the tutorial documentation in the lab directory, specifically focusing on improving clarity and consistency in the instructions. The most important changes include updates to the steps for creating an eventhouse, toggling OneLake availability, and creating event streams and destinations.
Updates to tutorial steps:

lab/tutorial-1-resources.md: Updated the instructions for creating an eventhouse to reflect changes in the UI, such as selecting Eventhouse from the recommended items and clarifying the creation of the KQL database.
lab/tutorial-1-resources.md: Simplified the steps for turning on OneLake availability by combining actions into a single step and ensuring the confirmation dialog is correctly described.

Consistency improvements:

lab/tutorial-2-get-real-time-events.md: Changed terminology from Get events to Add source to match the updated UI and adjusted corresponding screenshots and descriptions.
lab/tutorial-2-get-real-time-events.md: Standardized the formatting of tutorial names and other identifiers to use underscores instead of asterisks for consistency. [1] [2]

@videlalvaro for final sign-off


i have some questions about the cheat's update

Which files should be updated for cheating after the game updated, except the offset file

normally you should git clone it yoursleft and build it from scratch

The latest version is fixed, just downlosd the source and build the cheat


Memory Management review

Swift’s open sourcing has revealed interesting details about how weak references work internally:
https://www.mikeash.com/pyblog/friday-qa-2015-12-11-swift-weak-references.html
The section of note:

Weak references to an object will cause that object's memory to remain allocated even after there are no strong references to it, until all weak references are either loaded or discarded. This temporarily increases memory usage. Note that the effect is small, because while the target object's memory remains allocated, it's only the memory for the instance itself. All external resources (including storage for Array or Dictionary properties) are freed when the last strong reference goes away. A weak reference can cause a single instance to stay allocated, but not a whole tree of objects.

Review Siesta’s memory management policies in light of this. Relevant sections of code:
https://github.com/bustoutsolutions/siesta/blob/master/Source/Support/ARC%2BSiesta.swift
https://github.com/bustoutsolutions/siesta/blob/master/Source/Support/WeakCache.swift#L51-L52
https://github.com/bustoutsolutions/siesta/blob/master/Source/ResourceObserver.swift#L297-L303

I think we’re in the clear here. As far as I can trace through, in a low memory event, the cleanup touches every weak reference that might have been zombified.
We can reopen the inquiry if we observe unexplained memory leakage in the wild.


Support for Bedrock Claude3

What problem or use case are you trying to solve?
Supporting bedrock models
Describe the UX of the solution you'd like
aws keys input and read
Do you have thoughts on the technical implementation?
from langchain.. import BedrockChat
Describe alternatives you've considered
Additional context

OpenDevin supports all LLMS that can be accesed through LiteLLM. And LiteLLM supports Claude 3 on Bedrock.

@djaym7 you may need to pass your AWS keys in with -e, but this is indeed supported

docker run
-e  AWS_ACCESS_KEY_ID
-e AWS_SECRET_ACCESS_KEY
-e AWS_REGION_NAME
-e LLM_MODEL="bedrock/anthropic.claude-3-sonnet-20240229-v1:0"
-e WORKSPACE_MOUNT_PATH=$WORKSPACE_DIR
-v $WORKSPACE_DIR:/opt/workspace_base
-v /var/run/docker.sock:/var/run/docker.sock
-p 3000:3000
ghcr.io/opendevin/opendevin:0.3.1
i'm running the command above, in the UI it shows this:

and in the logs it shows this :
INFO:     Started server process [1]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://<IP_ADDRESS>:3000 (Press CTRL+C to quit)
INFO:     <IP_ADDRESS>:48164 - "GET / HTTP/1.1" 307 Temporary Redirect
INFO:     ('<IP_ADDRESS>', 48172) - "WebSocket /ws?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzaWQiOiIwZTA1YTNjZi1jMGY3LTQxNDktODU2YS02MzkxODgyMDIyYTgifQ.X82Uhn-Nse6szDUDHcsZWFkiFcW9L6uRo6xHsFJI9l4" [accepted]
INFO:     connection open
Starting loop_recv for sid: 0e05a3cf-c0f7-4149-856a-6391882022a8
INFO:     <IP_ADDRESS>:48164 - "GET /api/refresh-files HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:48154 - "GET /api/configurations HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:48154 - "GET /api/configurations HTTP/1.1" 200 OK
20:31:19 - opendevin:INFO: ssh_box.py:271 - Container stopped
20:31:19 - opendevin:WARNING: ssh_box.py:283 - Using port forwarding for Mac OS. Server started by OpenDevin will not be accessible from the host machine at the moment. See https://github.com/OpenDevin/OpenDevin/issues/897 for more information.
20:31:20 - opendevin:INFO: ssh_box.py:309 - Container started
20:31:21 - opendevin:INFO: ssh_box.py:326 - waiting for container to start: 1, container status: running
20:31:21 - opendevin:INFO: ssh_box.py:161 - Connecting to<EMAIL_ADDRESS>via ssh. If you encounter any issues, you can try ssh -v -p 59533<EMAIL_ADDRESS>with the password '9b7d7f3c-3246-46d7-8f3f-664168562641' and report the issue on GitHub.
20:31:21 - opendevin:ERROR: agent.py:127 - Error creating controller: Could not establish connection to host
Traceback (most recent call last):
File "/app/opendevin/server/agent/agent.py", line 118, in create_controller
self.controller = AgentController(
^^^^^^^^^^^^^^^^
File "/app/opendevin/controller/agent_controller.py", line 51, in init
self.command_manager = CommandManager(self.id, container_image)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/opendevin/controller/command_manager.py", line 26, in init
self.shell = DockerSSHBox(
^^^^^^^^^^^^^
File "/app/opendevin/sandbox/ssh_box.py", line 90, in init
self.start_ssh_session()
File "/app/opendevin/sandbox/ssh_box.py", line 164, in start_ssh_session
self.ssh.login(hostname, username, self._ssh_password,
File "/app/.venv/lib/python3.12/site-packages/pexpect/pxssh.py", line 424, in login
raise ExceptionPxssh('Could not establish connection to host')
pexpect.pxssh.ExceptionPxssh: Could not establish connection to host
Mounting workspace directory:  /home/jdesa/Agent/OpenDevin/workspace
INFO:     <IP_ADDRESS>:48180 - "GET /api/messages/total HTTP/1.1" 200 OK
20:31:23 - opendevin:INFO: ssh_box.py:271 - Container stopped
20:31:23 - opendevin:WARNING: ssh_box.py:283 - Using port forwarding for Mac OS. Server started by OpenDevin will not be accessible from the host machine at the moment. See https://github.com/OpenDevin/OpenDevin/issues/897 for more information.
20:31:23 - opendevin:INFO: ssh_box.py:309 - Container started
20:31:24 - opendevin:INFO: ssh_box.py:326 - waiting for container to start: 1, container status: running
20:31:24 - opendevin:INFO: ssh_box.py:161 - Connecting to<EMAIL_ADDRESS>via ssh. If you encounter any issues, you can try ssh -v -p 57227<EMAIL_ADDRESS>with the password 'a18d377b-b300-41b5-9d28-2954a08ca8c3' and report the issue on GitHub.
20:31:24 - opendevin:ERROR: agent.py:127 - Error creating controller: Could not establish connection to host
Traceback (most recent call last):
File "/app/opendevin/server/agent/agent.py", line 118, in create_controller
self.controller = AgentController(
^^^^^^^^^^^^^^^^
File "/app/opendevin/controller/agent_controller.py", line 51, in init
self.command_manager = CommandManager(self.id, container_image)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/opendevin/controller/command_manager.py", line 26, in init
self.shell = DockerSSHBox(
^^^^^^^^^^^^^
File "/app/opendevin/sandbox/ssh_box.py", line 90, in init
self.start_ssh_session()
File "/app/opendevin/sandbox/ssh_box.py", line 164, in start_ssh_session
self.ssh.login(hostname, username, self._ssh_password,
File "/app/.venv/lib/python3.12/site-packages/pexpect/pxssh.py", line 424, in login
raise ExceptionPxssh('Could not establish connection to host')
pexpect.pxssh.ExceptionPxssh: Could not establish connection to host
Mounting workspace directory:  /home/jdesa/Agent/OpenDevin/workspace
INFO:     <IP_ADDRESS>:48154 - "GET /api/messages/total HTTP/1.1" 200 OK

Looks like you're hitting https://github.com/OpenDevin/OpenDevin/issues/1156
Solution is now in the readme


[DETECTION] Mostly UTF-8 html page detects as gb18030

Notice
I hereby announce that my raw input is not :

Too small content (<=32 characters) as I do know that ANY charset detector heavily depends on content
Encoded in a deprecated/abandoned encoding that is not even supported by my interpreter

File
https://files.catbox.moe/h3bf02.html
Alternatively, it may be downloaded from archive.org since it's from CommonCrawl: https://web.archive.org/web/20240302062735im_/https://gaming.lenovo.com/emea/members/120723-Deminy?s=0e175b5c146036655dd127866a5a7999
Verbose output
<REDACTED>@<REDACTED>$ normalizer -v View\ Profile_\ -\ Legion\ Gaming\ Community.html
2024-08-29 16:07:57,102 | Level 5 | Detected declarative mark in sequence. Priority +1 given for utf_8.
2024-08-29 16:07:57,103 | Level 5 | Code page utf_8 does not fit given bytes sequence at ALL. 'utf-8' codec can't decode bytes in position<PHONE_NUMBER>07: invalid continuation byte
2024-08-29 16:07:57,103 | Level 5 | Code page ascii does not fit given bytes sequence at ALL. 'ascii' codec can't decode byte 0xc3 in position 25290: ordinal not in range(128)
2024-08-29 16:07:57,104 | Level 5 | Code page big5 does not fit given bytes sequence at ALL. 'big5' codec can't decode byte 0xc5 in position 25567: illegal multibyte sequence
2024-08-29 16:07:57,105 | Level 5 | Code page big5hkscs does not fit given bytes sequence at ALL. 'big5hkscs' codec can't decode byte 0xc5 in position 25567: illegal multibyte sequence
2024-08-29 16:07:57,106 | Level 5 | cp037 was excluded because of initial chaos probing. Gave up 2 time(s). Computed mean chaos is 693.650000 %.
2024-08-29 16:07:57,109 | Level 5 | cp1006 passed initial chaos probing. Mean measured chaos is 2.333000 %
2024-08-29 16:07:57,113 | Level 5 | cp1006 should target any language(s) of ['Farsi', 'Arabic']
2024-08-29 16:07:57,115 | Level 5 | cp1026 is deemed too similar to code page cp037 and was consider unsuited already. Continuing!
2024-08-29 16:07:57,117 | Level 5 | cp1125 passed initial chaos probing. Mean measured chaos is 1.667000 %
2024-08-29 16:07:57,117 | Level 5 | cp1125 should target any language(s) of ['Russian', 'Ukrainian', 'Serbian', 'Bulgarian', 'Kazakh']
2024-08-29 16:07:57,120 | Level 5 | cp1140 is deemed too similar to code page cp037 and was consider unsuited already. Continuing!
2024-08-29 16:07:57,120 | Level 5 | Code page cp1250 does not fit given bytes sequence at ALL. 'charmap' codec can't decode byte 0x83 in position 25669: character maps to <undefined>
2024-08-29 16:07:57,121 | Level 5 | Code page cp1251 does not fit given bytes sequence at ALL. 'charmap' codec can't decode byte 0x98 in position 46325: character maps to <undefined>
2024-08-29 16:07:57,121 | Level 5 | Code page cp1252 does not fit given bytes sequence at ALL. 'charmap' codec can't decode byte 0x81 in position 25671: character maps to <undefined>
2024-08-29 16:07:57,122 | Level 5 | Code page cp1253 does not fit given bytes sequence at ALL. 'charmap' codec can't decode byte 0x81 in position 25671: character maps to <undefined>
2024-08-29 16:07:57,122 | Level 5 | Code page cp1254 does not fit given bytes sequence at ALL. 'charmap' codec can't decode byte 0x81 in position 25671: character maps to <undefined>
2024-08-29 16:07:57,122 | Level 5 | Code page cp1255 does not fit given bytes sequence at ALL. 'charmap' codec can't decode byte 0x81 in position 25671: character maps to <undefined>
2024-08-29 16:07:57,124 | Level 5 | cp1256 passed initial chaos probing. Mean measured chaos is 0.483000 %
2024-08-29 16:07:57,124 | Level 5 | cp1256 should target any language(s) of ['Farsi', 'Arabic']
2024-08-29 16:07:57,126 | Level 5 | Code page cp1257 does not fit given bytes sequence at ALL. 'charmap' codec can't decode byte 0x83 in position 25669: character maps to <undefined>
2024-08-29 16:07:57,126 | Level 5 | Code page cp1258 does not fit given bytes sequence at ALL. 'charmap' codec can't decode byte 0x81 in position 25671: character maps to <undefined>
2024-08-29 16:07:57,127 | Level 5 | cp273 is deemed too similar to code page cp037 and was consider unsuited already. Continuing!
2024-08-29 16:07:57,127 | Level 5 | Code page cp424 does not fit given bytes sequence at ALL. 'charmap' codec can't decode byte 0x72 in position 25: character maps to <undefined>
2024-08-29 16:07:57,129 | Level 5 | cp437 passed initial chaos probing. Mean measured chaos is 1.683000 %
2024-08-29 16:07:57,129 | Level 5 | cp437 should target any language(s) of ['Greek']
2024-08-29 16:07:57,131 | Level 5 | cp500 is deemed too similar to code page cp037 and was consider unsuited already. Continuing!
2024-08-29 16:07:57,133 | Level 5 | cp720 passed initial chaos probing. Mean measured chaos is 2.217000 %
2024-08-29 16:07:57,134 | Level 5 | cp720 should target any language(s) of ['Farsi', 'Arabic']
2024-08-29 16:07:57,138 | Level 5 | cp737 passed initial chaos probing. Mean measured chaos is 1.600000 %
2024-08-29 16:07:57,138 | Level 5 | cp737 should target any language(s) of ['Greek']
2024-08-29 16:07:57,142 | Level 5 | cp775 passed initial chaos probing. Mean measured chaos is 2.083000 %
2024-08-29 16:07:57,142 | Level 5 | cp775 should target any language(s) of ['Latin Based']
2024-08-29 16:07:57,149 | Level 5 | We detected language [('English', 0.6966), ('Norwegian', 0.5966), ('Danish', 0.5763), ('Swedish', 0.5521), ('Slovene', 0.5455), ('Italian', 0.5433), ('Estonian', 0.54), ('Finnish', 0.5363), ('Czech', 0.5361), ('Dutch', 0.5348), ('Hungarian', 0.5125), ('French', 0.5121), ('Indonesian', 0.5103), ('Spanish', 0.4981), ('German', 0.4702), ('Romanian', 0.4614), ('Portuguese', 0.4556), ('Slovak', 0.4544), ('Croatian', 0.4383), ('Polish', 0.4312), ('Turkish', 0.4249), ('Lithuanian', 0.4077), ('Vietnamese', 0.3714)] using cp775
2024-08-29 16:07:57,153 | Level 5 | cp850 passed initial chaos probing. Mean measured chaos is 2.067000 %
2024-08-29 16:07:57,154 | Level 5 | cp850 should target any language(s) of ['Latin Based']
2024-08-29 16:07:57,156 | Level 5 | We detected language [('English', 0.6966), ('Norwegian', 0.5708), ('Danish', 0.5504), ('Slovene', 0.5455), ('Italian', 0.5318), ('Swedish', 0.5273), ('Finnish', 0.5262), ('Estonian', 0.5227), ('French', 0.5172), ('Dutch', 0.517), ('Indonesian', 0.5103), ('Hungarian', 0.5032), ('Czech', 0.5028), ('Spanish', 0.4798), ('Portuguese', 0.4592), ('German', 0.4528), ('Romanian', 0.4526), ('Polish', 0.4379), ('Slovak', 0.4287), ('Croatian', 0.4234), ('Turkish', 0.416), ('Lithuanian', 0.4077), ('Vietnamese', 0.3577)] using cp850
2024-08-29 16:07:57,160 | Level 5 | cp852 passed initial chaos probing. Mean measured chaos is 2.067000 %
2024-08-29 16:07:57,160 | Level 5 | cp852 should target any language(s) of ['Latin Based']
2024-08-29 16:07:57,163 | Level 5 | We detected language [('English', 0.6966), ('Norwegian', 0.5708), ('Danish', 0.5504), ('Slovene', 0.5455), ('Italian', 0.5318), ('Swedish', 0.5273), ('Finnish', 0.5262), ('Estonian', 0.5227), ('French', 0.5172), ('Dutch', 0.517), ('Indonesian', 0.5103), ('Hungarian', 0.5032), ('Czech', 0.5028), ('Spanish', 0.4798), ('Portuguese', 0.4592), ('German', 0.4528), ('Romanian', 0.4526), ('Croatian', 0.4451), ('Slovak', 0.443), ('Polish', 0.4379), ('Turkish', 0.416), ('Lithuanian', 0.4077), ('Vietnamese', 0.3577)] using cp852
2024-08-29 16:07:57,168 | Level 5 | cp855 passed initial chaos probing. Mean measured chaos is 2.200000 %
2024-08-29 16:07:57,168 | Level 5 | cp855 should target any language(s) of ['Russian', 'Ukrainian', 'Serbian', 'Bulgarian', 'Kazakh']
2024-08-29 16:07:57,171 | Level 5 | Code page cp856 does not fit given bytes sequence at ALL. 'charmap' codec can't decode byte 0xa7 in position 25408: character maps to <undefined>
2024-08-29 16:07:57,174 | Level 5 | cp857 passed initial chaos probing. Mean measured chaos is 2.133000 %
2024-08-29 16:07:57,174 | Level 5 | cp857 should target any language(s) of ['Latin Based']
2024-08-29 16:07:57,177 | Level 5 | We detected language [('English', 0.6966), ('Norwegian', 0.5708), ('Danish', 0.5504), ('Slovene', 0.5455), ('Italian', 0.5318), ('Swedish', 0.5273), ('Finnish', 0.5262), ('Estonian', 0.5227), ('French', 0.5172), ('Dutch', 0.517), ('Indonesian', 0.5103), ('Hungarian', 0.5032), ('Czech', 0.5028), ('Spanish', 0.4798), ('Portuguese', 0.4592), ('German', 0.4528), ('Romanian', 0.4526), ('Polish', 0.4379), ('Slovak', 0.4287), ('Croatian', 0.4234), ('Turkish', 0.4234), ('Lithuanian', 0.4077), ('Vietnamese', 0.3577)] using cp857
2024-08-29 16:07:57,180 | Level 5 | cp858 passed initial chaos probing. Mean measured chaos is 2.067000 %
2024-08-29 16:07:57,181 | Level 5 | cp858 should target any language(s) of ['Latin Based']
2024-08-29 16:07:57,181 | Level 5 | We detected language [('English', 0.6966), ('Norwegian', 0.5708), ('Danish', 0.5504), ('Slovene', 0.5455), ('Italian', 0.5318), ('Swedish', 0.5273), ('Finnish', 0.5262), ('Estonian', 0.5227), ('French', 0.5172), ('Dutch', 0.517), ('Indonesian', 0.5103), ('Hungarian', 0.5032), ('Czech', 0.5028), ('Spanish', 0.4798), ('Portuguese', 0.4592), ('German', 0.4528), ('Romanian', 0.4526), ('Polish', 0.4379), ('Slovak', 0.4287), ('Croatian', 0.4234), ('Turkish', 0.416), ('Lithuanian', 0.4077), ('Vietnamese', 0.3577)] using cp858
2024-08-29 16:07:57,184 | Level 5 | cp860 passed initial chaos probing. Mean measured chaos is 2.000000 %
2024-08-29 16:07:57,184 | Level 5 | cp860 should target any language(s) of ['Greek']
2024-08-29 16:07:57,189 | Level 5 | cp861 passed initial chaos probing. Mean measured chaos is 1.833000 %
2024-08-29 16:07:57,190 | Level 5 | cp861 should target any language(s) of ['Greek']
2024-08-29 16:07:57,196 | Level 5 | cp862 passed initial chaos probing. Mean measured chaos is 1.867000 %
2024-08-29 16:07:57,196 | Level 5 | cp862 should target any language(s) of ['Hebrew']
2024-08-29 16:07:57,202 | Level 5 | cp863 passed initial chaos probing. Mean measured chaos is 2.033000 %
2024-08-29 16:07:57,203 | Level 5 | cp863 should target any language(s) of ['Greek']
2024-08-29 16:07:57,207 | Level 5 | Code page cp864 does not fit given bytes sequence at ALL. 'charmap' codec can't decode byte 0xa7 in position 25408: character maps to <undefined>
2024-08-29 16:07:57,208 | Level 5 | cp865 passed initial chaos probing. Mean measured chaos is 1.683000 %
2024-08-29 16:07:57,209 | Level 5 | cp865 should target any language(s) of ['Greek']
2024-08-29 16:07:57,214 | Level 5 | cp866 passed initial chaos probing. Mean measured chaos is 1.667000 %
2024-08-29 16:07:57,214 | Level 5 | cp866 should target any language(s) of ['Russian', 'Ukrainian', 'Serbian', 'Bulgarian', 'Kazakh']
2024-08-29 16:07:57,216 | Level 5 | Code page cp869 does not fit given bytes sequence at ALL. 'charmap' codec can't decode byte 0x82 in position 25568: character maps to <undefined>
2024-08-29 16:07:57,217 | Level 5 | Code page cp874 does not fit given bytes sequence at ALL. 'charmap' codec can't decode byte 0x82 in position 25568: character maps to <undefined>
2024-08-29 16:07:57,217 | Level 5 | cp875 was excluded because of initial chaos probing. Gave up 2 time(s). Computed mean chaos is 400.000000 %.
2024-08-29 16:07:57,218 | Level 5 | Code page cp932 does not fit given bytes sequence at ALL. 'cp932' codec can't decode byte 0x87 in position 25577: illegal multibyte sequence
2024-08-29 16:07:57,219 | Level 5 | Code page cp949 does not fit given bytes sequence at ALL. 'cp949' codec can't decode byte 0xd0 in position 25666: illegal multibyte sequence
2024-08-29 16:07:57,219 | Level 5 | Code page cp950 does not fit given bytes sequence at ALL. 'cp950' codec can't decode byte 0xc5 in position 25567: illegal multibyte sequence
2024-08-29 16:07:57,220 | Level 5 | Code page euc_jis_2004 does not fit given bytes sequence at ALL. 'euc_jis_2004' codec can't decode byte 0xc5 in position 25567: illegal multibyte sequence
2024-08-29 16:07:57,220 | Level 5 | Code page euc_jisx0213 does not fit given bytes sequence at ALL. 'euc_jisx0213' codec can't decode byte 0xc5 in position 25567: illegal multibyte sequence
2024-08-29 16:07:57,220 | Level 5 | Code page euc_jp does not fit given bytes sequence at ALL. 'euc_jp' codec can't decode byte 0xc5 in position 25567: illegal multibyte sequence
2024-08-29 16:07:57,221 | Level 5 | Code page euc_kr does not fit given bytes sequence at ALL. 'euc_kr' codec can't decode byte 0xc5 in position 25567: illegal multibyte sequence
2024-08-29 16:07:57,222 | Level 5 | Code page gb18030 is a multi byte encoding table and it appear that at least one character was encoded using n-bytes.
2024-08-29 16:07:57,224 | Level 5 | gb18030 passed initial chaos probing. Mean measured chaos is 0.320000 %
2024-08-29 16:07:57,224 | Level 5 | gb18030 should target any language(s) of ['Chinese']
2024-08-29 16:07:57,229 | Level 5 | Code page gb2312 does not fit given bytes sequence at ALL. 'gb2312' codec can't decode byte 0xc5 in position 25567: illegal multibyte sequence
2024-08-29 16:07:57,229 | Level 5 | Code page gbk does not fit given bytes sequence at ALL. 'gbk' codec can't decode byte 0xa7 in position 40551: illegal multibyte sequence
2024-08-29 16:07:57,231 | Level 5 | hp_roman8 passed initial chaos probing. Mean measured chaos is 2.083000 %
2024-08-29 16:07:57,231 | Level 5 | hp_roman8 should target any language(s) of ['Latin Based']
2024-08-29 16:07:57,234 | Level 5 | We detected language [('English', 0.6966), ('Norwegian', 0.5997), ('Danish', 0.5646), ('Italian', 0.5615), ('Czech', 0.5532), ('Spanish', 0.5474), ('Slovene', 0.5455), ('Estonian', 0.5423), ('Dutch', 0.5382), ('Finnish', 0.5315), ('French', 0.5302), ('Swedish', 0.5257), ('Indonesian', 0.5103), ('Hungarian', 0.5074), ('Slovak', 0.4872), ('Romanian', 0.4706), ('Portuguese', 0.4693), ('German', 0.4668), ('Croatian', 0.4429), ('Polish', 0.4421), ('Turkish', 0.4273), ('Lithuanian', 0.4077), ('Vietnamese', 0.395)] using hp_roman8
2024-08-29 16:07:57,239 | Level 5 | Code page hz does not fit given bytes sequence at ALL. 'hz' codec can't decode byte 0xc3 in position 25290: illegal multibyte sequence
2024-08-29 16:07:57,239 | Level 5 | Code page iso2022_jp does not fit given bytes sequence at ALL. 'iso2022_jp' codec can't decode byte 0xc3 in position 25290: illegal multibyte sequence
2024-08-29 16:07:57,240 | Level 5 | Code page iso2022_jp_1 does not fit given bytes sequence at ALL. 'iso2022_jp_1' codec can't decode byte 0xc3 in position 25290: illegal multibyte sequence
2024-08-29 16:07:57,240 | Level 5 | Code page iso2022_jp_2 does not fit given bytes sequence at ALL. 'iso2022_jp_2' codec can't decode byte 0xc3 in position 25290: illegal multibyte sequence
2024-08-29 16:07:57,241 | Level 5 | Code page iso2022_jp_2004 does not fit given bytes sequence at ALL. 'iso2022_jp_2004' codec can't decode byte 0xc3 in position 25290: illegal multibyte sequence
2024-08-29 16:07:57,241 | Level 5 | Code page iso2022_jp_3 does not fit given bytes sequence at ALL. 'iso2022_jp_3' codec can't decode byte 0xc3 in position 25290: illegal multibyte sequence
2024-08-29 16:07:57,241 | Level 5 | Code page iso2022_jp_ext does not fit given bytes sequence at ALL. 'iso2022_jp_ext' codec can't decode byte 0xc3 in position 25290: illegal multibyte sequence
2024-08-29 16:07:57,242 | Level 5 | Code page iso2022_kr does not fit given bytes sequence at ALL. 'iso2022_kr' codec can't decode byte 0xc3 in position 25290: illegal multibyte sequence
2024-08-29 16:07:57,244 | Level 5 | iso8859_10 passed initial chaos probing. Mean measured chaos is 2.417000 %
2024-08-29 16:07:57,244 | Level 5 | iso8859_10 should target any language(s) of ['Latin Based']
2024-08-29 16:07:57,247 | Level 5 | We detected language [('English', 0.6724), ('Norwegian', 0.6114), ('Danish', 0.5763), ('Italian', 0.5658), ('Estonian', 0.5537), ('Swedish', 0.5444), ('Spanish', 0.5437), ('Dutch', 0.5419), ('Czech', 0.5418), ('Finnish', 0.5352), ('French', 0.5335), ('Hungarian', 0.5108), ('Slovene', 0.4991), ('Indonesian', 0.4928), ('German', 0.4779), ('Slovak', 0.4756), ('Romanian', 0.474), ('Portuguese', 0.457), ('Croatian', 0.4454), ('Polish', 0.4449), ('Turkish', 0.4304), ('Lithuanian', 0.3957), ('Vietnamese', 0.3901)] using iso8859_10
2024-08-29 16:07:57,254 | Level 5 | iso8859_11 passed initial chaos probing. Mean measured chaos is 2.333000 %
2024-08-29 16:07:57,254 | Level 5 | iso8859_11 should target any language(s) of ['Thai']
2024-08-29 16:07:57,262 | Level 5 | iso8859_13 passed initial chaos probing. Mean measured chaos is 2.417000 %
2024-08-29 16:07:57,262 | Level 5 | iso8859_13 should target any language(s) of ['Latin Based']
2024-08-29 16:07:57,265 | Level 5 | We detected language [('English', 0.6724), ('Norwegian', 0.6114), ('Danish', 0.5763), ('Italian', 0.5658), ('Estonian', 0.5537), ('Swedish', 0.5444), ('Spanish', 0.5437), ('Dutch', 0.5419), ('Czech', 0.5418), ('Finnish', 0.5352), ('French', 0.5335), ('Hungarian', 0.5108), ('Slovene', 0.5091), ('Indonesian', 0.4928), ('German', 0.4779), ('Slovak', 0.4756), ('Romanian', 0.474), ('Croatian', 0.4611), ('Portuguese', 0.457), ('Polish', 0.4449), ('Turkish', 0.4304), ('Lithuanian', 0.4057), ('Vietnamese', 0.3901)] using iso8859_13
2024-08-29 16:07:57,272 | Level 5 | iso8859_14 passed initial chaos probing. Mean measured chaos is 2.417000 %
2024-08-29 16:07:57,272 | Level 5 | iso8859_14 should target any language(s) of ['Latin Based']
2024-08-29 16:07:57,275 | Level 5 | We detected language [('English', 0.6966), ('Norwegian', 0.6114), ('Danish', 0.5763), ('Italian', 0.5658), ('Estonian', 0.5537), ('Slovene', 0.5455), ('Swedish', 0.5444), ('Spanish', 0.5437), ('Dutch', 0.5419), ('Czech', 0.5418), ('Finnish', 0.5352), ('French', 0.5335), ('Hungarian', 0.5108), ('Indonesian', 0.5103), ('German', 0.4779), ('Slovak', 0.4756), ('Romanian', 0.474), ('Portuguese', 0.457), ('Croatian', 0.4454), ('Polish', 0.4449), ('Turkish', 0.4304), ('Lithuanian', 0.4077), ('Vietnamese', 0.3901)] using iso8859_14
2024-08-29 16:07:57,281 | Level 5 | iso8859_15 passed initial chaos probing. Mean measured chaos is 2.417000 %
2024-08-29 16:07:57,281 | Level 5 | iso8859_15 should target any language(s) of ['Latin Based']
2024-08-29 16:07:57,281 | Level 5 | We detected language [('English', 0.6724), ('Norwegian', 0.6114), ('Danish', 0.5763), ('Italian', 0.5658), ('Estonian', 0.5537), ('Swedish', 0.5444), ('Spanish', 0.5437), ('Dutch', 0.5419), ('Czech', 0.5418), ('Finnish', 0.5352), ('French', 0.5335), ('Hungarian', 0.5108), ('Slovene', 0.4991), ('Indonesian', 0.4928), ('German', 0.4779), ('Slovak', 0.4756), ('Romanian', 0.474), ('Portuguese', 0.457), ('Croatian', 0.4454), ('Polish', 0.4449), ('Turkish', 0.4304), ('Lithuanian', 0.3957), ('Vietnamese', 0.3901)] using iso8859_15
2024-08-29 16:07:57,289 | Level 5 | iso8859_16 passed initial chaos probing. Mean measured chaos is 2.417000 %
2024-08-29 16:07:57,289 | Level 5 | iso8859_16 should target any language(s) of ['Latin Based']
2024-08-29 16:07:57,292 | Level 5 | We detected language [('English', 0.6724), ('Norwegian', 0.6037), ('Danish', 0.5686), ('Italian', 0.5658), ('Estonian', 0.5537), ('Spanish', 0.5437), ('Dutch', 0.5419), ('Czech', 0.5418), ('Swedish', 0.5367), ('Finnish', 0.5352), ('French', 0.5335), ('Hungarian', 0.5108), ('Slovene', 0.4991), ('Indonesian', 0.4928), ('German', 0.4779), ('Slovak', 0.4756), ('Romanian', 0.474), ('Portuguese', 0.457), ('Croatian', 0.4531), ('Polish', 0.4449), ('Turkish', 0.4304), ('Lithuanian', 0.3957), ('Vietnamese', 0.3901)] using iso8859_16
2024-08-29 16:07:57,299 | Level 5 | iso8859_2 passed initial chaos probing. Mean measured chaos is 2.417000 %
2024-08-29 16:07:57,300 | Level 5 | iso8859_2 should target any language(s) of ['Latin Based']
2024-08-29 16:07:57,301 | Level 5 | We detected language [('English', 0.6724), ('Norwegian', 0.6037), ('Danish', 0.5686), ('Italian', 0.5658), ('Estonian', 0.5537), ('Spanish', 0.5437), ('Dutch', 0.5419), ('Czech', 0.5418), ('Swedish', 0.5367), ('Finnish', 0.5352), ('French', 0.5335), ('Hungarian', 0.5108), ('Slovene', 0.4991), ('Indonesian', 0.4928), ('German', 0.4779), ('Slovak', 0.4756), ('Romanian', 0.474), ('Portuguese', 0.457), ('Croatian', 0.4454), ('Polish', 0.4449), ('Turkish', 0.4304), ('Lithuanian', 0.3957), ('Vietnamese', 0.3901)] using iso8859_2
2024-08-29 16:07:57,307 | Level 5 | Code page iso8859_3 does not fit given bytes sequence at ALL. 'charmap' codec can't decode byte 0xc3 in position 25290: character maps to <undefined>
2024-08-29 16:07:57,309 | Level 5 | iso8859_4 passed initial chaos probing. Mean measured chaos is 2.417000 %
2024-08-29 16:07:57,309 | Level 5 | iso8859_4 should target any language(s) of ['Latin Based']
2024-08-29 16:07:57,311 | Level 5 | We detected language [('English', 0.6724), ('Norwegian', 0.6114), ('Danish', 0.5763), ('Italian', 0.5658), ('Estonian', 0.5537), ('Swedish', 0.5444), ('Spanish', 0.5437), ('Dutch', 0.5419), ('Czech', 0.5418), ('Finnish', 0.5352), ('French', 0.5335), ('Hungarian', 0.5108), ('Slovene', 0.4991), ('Indonesian', 0.4928), ('German', 0.4779), ('Slovak', 0.4756), ('Romanian', 0.474), ('Portuguese', 0.457), ('Croatian', 0.4454), ('Polish', 0.4449), ('Turkish', 0.4304), ('Lithuanian', 0.3957), ('Vietnamese', 0.3901)] using iso8859_4
2024-08-29 16:07:57,319 | Level 5 | iso8859_5 passed initial chaos probing. Mean measured chaos is 2.400000 %
2024-08-29 16:07:57,319 | Level 5 | iso8859_5 should target any language(s) of ['Russian', 'Ukrainian', 'Serbian', 'Bulgarian', 'Kazakh']
2024-08-29 16:07:57,327 | Level 5 | Code page iso8859_6 does not fit given bytes sequence at ALL. 'charmap' codec can't decode byte 0xb1 in position 25291: character maps to <undefined>
2024-08-29 16:07:57,329 | Level 5 | iso8859_7 passed initial chaos probing. Mean measured chaos is 2.333000 %
2024-08-29 16:07:57,329 | Level 5 | iso8859_7 should target any language(s) of ['Greek']
2024-08-29 16:07:57,336 | Level 5 | Code page iso8859_8 does not fit given bytes sequence at ALL. 'charmap' codec can't decode byte 0xc3 in position 25290: character maps to <undefined>
2024-08-29 16:07:57,338 | Level 5 | iso8859_9 passed initial chaos probing. Mean measured chaos is 2.417000 %
2024-08-29 16:07:57,339 | Level 5 | iso8859_9 should target any language(s) of ['Latin Based']
2024-08-29 16:07:57,341 | Level 5 | We detected language [('English', 0.6724), ('Norwegian', 0.6114), ('Danish', 0.5763), ('Italian', 0.5658), ('Estonian', 0.5537), ('Swedish', 0.5444), ('Spanish', 0.5437), ('Dutch', 0.5419), ('Czech', 0.5418), ('Finnish', 0.5352), ('French', 0.5335), ('Hungarian', 0.5108), ('Slovene', 0.4991), ('Indonesian', 0.4928), ('German', 0.4779), ('Slovak', 0.4756), ('Romanian', 0.474), ('Portuguese', 0.457), ('Turkish', 0.4461), ('Croatian', 0.4454), ('Polish', 0.4449), ('Lithuanian', 0.3957), ('Vietnamese', 0.3901)] using iso8859_9
2024-08-29 16:07:57,349 | Level 5 | Code page johab does not fit given bytes sequence at ALL. 'johab' codec can't decode byte 0xd0 in position 25666: illegal multibyte sequence
2024-08-29 16:07:57,351 | Level 5 | koi8_r passed initial chaos probing. Mean measured chaos is 2.533000 %
2024-08-29 16:07:57,351 | Level 5 | koi8_r should target any language(s) of ['Russian', 'Ukrainian', 'Serbian', 'Bulgarian', 'Kazakh']
2024-08-29 16:07:57,359 | Level 5 | Code page koi8_t does not fit given bytes sequence at ALL. 'charmap' codec can't decode byte 0xa9 in position 25380: character maps to <undefined>
2024-08-29 16:07:57,361 | Level 5 | koi8_u passed initial chaos probing. Mean measured chaos is 2.533000 %
2024-08-29 16:07:57,361 | Level 5 | koi8_u should target any language(s) of ['Russian', 'Ukrainian', 'Serbian', 'Bulgarian', 'Kazakh']
2024-08-29 16:07:57,369 | Level 5 | Code page kz1048 does not fit given bytes sequence at ALL. 'charmap' codec can't decode byte 0x98 in position 46325: character maps to <undefined>
2024-08-29 16:07:57,369 | Level 5 | latin_1 passed initial chaos probing. Mean measured chaos is 2.417000 %
2024-08-29 16:07:57,370 | Level 5 | latin_1 should target any language(s) of ['Latin Based']
2024-08-29 16:07:57,370 | Level 5 | We detected language [('English', 0.6724), ('Norwegian', 0.6114), ('Danish', 0.5763), ('Italian', 0.5658), ('Estonian', 0.5537), ('Swedish', 0.5444), ('Spanish', 0.5437), ('Dutch', 0.5419), ('Czech', 0.5418), ('Finnish', 0.5352), ('French', 0.5335), ('Hungarian', 0.5108), ('Slovene', 0.4991), ('Indonesian', 0.4928), ('German', 0.4779), ('Slovak', 0.4756), ('Romanian', 0.474), ('Portuguese', 0.457), ('Croatian', 0.4454), ('Polish', 0.4449), ('Turkish', 0.4304), ('Lithuanian', 0.3957), ('Vietnamese', 0.3901)] using latin_1
2024-08-29 16:07:57,379 | Level 5 | mac_cyrillic passed initial chaos probing. Mean measured chaos is 0.867000 %
2024-08-29 16:07:57,380 | Level 5 | mac_cyrillic should target any language(s) of ['Russian', 'Ukrainian', 'Serbian', 'Bulgarian', 'Kazakh']
2024-08-29 16:07:57,390 | Level 5 | mac_greek passed initial chaos probing. Mean measured chaos is 1.700000 %
2024-08-29 16:07:57,390 | Level 5 | mac_greek should target any language(s) of ['Greek']
2024-08-29 16:07:57,401 | Level 5 | mac_iceland passed initial chaos probing. Mean measured chaos is 1.200000 %
2024-08-29 16:07:57,401 | Level 5 | mac_iceland should target any language(s) of ['Latin Based']
2024-08-29 16:07:57,403 | Level 5 | We detected language [('English', 0.6966), ('Norwegian', 0.5708), ('Slovene', 0.5455), ('Danish', 0.5435), ('Italian', 0.5387), ('Estonian', 0.5301), ('Swedish', 0.5204), ('Finnish', 0.5193), ('French', 0.5172), ('Indonesian', 0.5103), ('Dutch', 0.5101), ('Czech', 0.5023), ('Hungarian', 0.4963), ('Spanish', 0.4867), ('German', 0.4602), ('Romanian', 0.4526), ('Portuguese', 0.4518), ('Polish', 0.4379), ('Croatian', 0.4234), ('Slovak', 0.4213), ('Turkish', 0.4091), ('Lithuanian', 0.4077), ('Vietnamese', 0.3646)] using mac_iceland
2024-08-29 16:07:57,414 | Level 5 | mac_latin2 passed initial chaos probing. Mean measured chaos is 1.083000 %
2024-08-29 16:07:57,414 | Level 5 | mac_latin2 should target any language(s) of ['Latin Based']
2024-08-29 16:07:57,417 | Level 5 | We detected language [('English', 0.6966), ('Norwegian', 0.5604), ('Slovene', 0.5455), ('Estonian', 0.527), ('Danish', 0.525), ('Swedish', 0.5159), ('Italian', 0.5134), ('Dutch', 0.5129), ('Indonesian', 0.5103), ('Finnish', 0.51), ('French', 0.5072), ('Czech', 0.4982), ('Hungarian', 0.487), ('German', 0.4617), ('Romanian', 0.4502), ('Spanish', 0.4414), ('Slovak', 0.4308), ('Polish', 0.4279), ('Croatian', 0.4269), ('Portuguese', 0.4114), ('Lithuanian', 0.4077), ('Turkish', 0.394), ('Vietnamese', 0.3637)] using mac_latin2
2024-08-29 16:07:57,426 | Level 5 | mac_roman passed initial chaos probing. Mean measured chaos is 1.200000 %
2024-08-29 16:07:57,426 | Level 5 | mac_roman should target any language(s) of ['Latin Based']
2024-08-29 16:07:57,426 | Level 5 | We detected language [('English', 0.6966), ('Norwegian', 0.5708), ('Slovene', 0.5455), ('Danish', 0.5435), ('Italian', 0.5387), ('Estonian', 0.5301), ('Swedish', 0.5204), ('Finnish', 0.5193), ('French', 0.5172), ('Indonesian', 0.5103), ('Dutch', 0.5101), ('Czech', 0.5023), ('Hungarian', 0.4963), ('Spanish', 0.4867), ('German', 0.4602), ('Romanian', 0.4526), ('Portuguese', 0.4518), ('Polish', 0.4379), ('Croatian', 0.4234), ('Slovak', 0.4213), ('Turkish', 0.4091), ('Lithuanian', 0.4077), ('Vietnamese', 0.3646)] using mac_roman
2024-08-29 16:07:57,436 | Level 5 | mac_turkish passed initial chaos probing. Mean measured chaos is 1.200000 %
2024-08-29 16:07:57,436 | Level 5 | mac_turkish should target any language(s) of ['Latin Based']
2024-08-29 16:07:57,436 | Level 5 | We detected language [('English', 0.6966), ('Norwegian', 0.5708), ('Slovene', 0.5455), ('Danish', 0.5435), ('Italian', 0.5387), ('Estonian', 0.5301), ('Swedish', 0.5204), ('Finnish', 0.5193), ('French', 0.5172), ('Indonesian', 0.5103), ('Dutch', 0.5101), ('Czech', 0.5023), ('Hungarian', 0.4963), ('Spanish', 0.4867), ('German', 0.4602), ('Romanian', 0.4526), ('Portuguese', 0.4518), ('Polish', 0.4379), ('Croatian', 0.4234), ('Slovak', 0.4213), ('Turkish', 0.4091), ('Lithuanian', 0.4077), ('Vietnamese', 0.3646)] using mac_turkish
2024-08-29 16:07:57,441 | Level 5 | ptcp154 passed initial chaos probing. Mean measured chaos is 0.333000 %
2024-08-29 16:07:57,441 | Level 5 | ptcp154 should target any language(s) of ['Russian', 'Ukrainian', 'Serbian', 'Bulgarian', 'Kazakh']
2024-08-29 16:07:57,452 | Level 5 | Code page shift_jis does not fit given bytes sequence at ALL. 'shift_jis' codec can't decode byte 0x87 in position 25577: illegal multibyte sequence
2024-08-29 16:07:57,452 | Level 5 | Code page shift_jis_2004 does not fit given bytes sequence at ALL. 'shift_jis_2004' codec can't decode byte 0x87 in position 25577: illegal multibyte sequence
2024-08-29 16:07:57,453 | Level 5 | Code page shift_jisx0213 does not fit given bytes sequence at ALL. 'shift_jisx0213' codec can't decode byte 0x87 in position 25577: illegal multibyte sequence
2024-08-29 16:07:57,453 | Level 5 | Code page tis_620 does not fit given bytes sequence at ALL. 'charmap' codec can't decode byte 0xa0 in position 25667: character maps to <undefined>
2024-08-29 16:07:57,453 | Level 5 | Encoding utf_16 won't be tested as-is because it require a BOM. Will try some sub-encoder LE/BE.
2024-08-29 16:07:57,453 | Level 5 | Code page utf_16_be does not fit given bytes sequence at ALL. 'utf-16-be' codec can't decode bytes in position 25782-25783: illegal UTF-16 surrogate
2024-08-29 16:07:57,453 | Level 5 | Code page utf_16_le does not fit given bytes sequence at ALL. 'utf-16-le' codec can't decode bytes in position 25796-25797: illegal UTF-16 surrogate
2024-08-29 16:07:57,453 | Level 5 | Encoding utf_32 won't be tested as-is because it require a BOM. Will try some sub-encoder LE/BE.
2024-08-29 16:07:57,454 | Level 5 | Code page utf_32_be does not fit given bytes sequence at ALL. 'utf-32-be' codec can't decode bytes in position 0-3: code point not in range(0x110000)
2024-08-29 16:07:57,454 | Level 5 | Code page utf_32_le does not fit given bytes sequence at ALL. 'utf-32-le' codec can't decode bytes in position 0-3: code point not in range(0x110000)
2024-08-29 16:07:57,454 | Level 5 | Encoding utf_7 won't be tested as-is because detection is unreliable without BOM/SIG.
2024-08-29 16:07:57,454 | DEBUG | Encoding detection: Found gb18030 as plausible (best-candidate) for content. With 37 alternatives.
{
    "path": "/<REDACTED>/View Profile_ - Legion Gaming Community.html",
    "encoding": "gb18030",
    "encoding_aliases": [
        "gb18030_2000"
    ],
    "alternative_encodings": [],
    "language": "Chinese",
    "alphabets": [
        "Basic Latin",
        "CJK Unified Ideographs",
        "Control character",
        "Private Use Area"
    ],
    "has_sig_or_bom": false,
    "chaos": 0.32,
    "coherence": 0.0,
    "unicode_path": null,
    "is_preferred": true
}

Expected encoding
Expected UTF-8. It appears that utf-8 decode fails at 1 specific byte while the rest of the content seems to be utf-8 compatible. In VS code, it looks like this:

Using UTF-8, the content is as expected...

Using gb18030 in vs code, it looks... odd...

Desktop (please complete the following information):

OS: Linux
Python 3.11.7
Charset-Normalizer 3.3.2 - Python 3.11.7 - Unicode 14.0.0 - SpeedUp ON

Additional context
I've noticed this specific failure condition a couple of times while processing CommonCrawl. 1 workaround is to only allow gb18030 when an initial encoding isn't detected. However I might as well report this detection issue. :)

Unfortunately charset-normalizer cannot work around corrupted elements. Even for a single character.
Same as https://github.com/jawah/charset_normalizer/issues/354
regards,

Unfortunately charset-normalizer cannot work around corrupted elements. Even for a single character. Same as #354
regards,

Thanks for the reply! Understood that it's a limitation in charaset normalizer.
I added a workaround to my code to check how much corrupted elements is ignorable. If it's more than a certain %, fallback to the guessed_encoding (from charset normalizer).
For those wondering here's a snippet of the code. It's a bit messy but the comments should be enough:
def get_errored_decodable_counts(encoding: str, data: bytes) -> int:
    """Counts the number of failed unicode characters from a given encoding

    Args:
        encoding (str): The encoding to test
        data (bytes): The bytes data to try and decode from

    Returns:
        int: The number of fillter unicode characters
    """

    return data.decode(encoding, errors="replace").count("\ufffd")

def is_codec_exists(encoding: str):
    try:
        codecs.lookup(encoding)
        return True
    except LookupError:
        return False

orig_encoding = ""
record_content = b"Bytes content"
failurecounts = None
if orig_encoding and is_codec_exists(orig_encoding):
    failurecounts = get_errored_decodable_counts(
        orig_encoding, record_content
    ) / len(record_content)

# ... Further down the code looks like this

# Use original encoding if the original encoding looks better overall.
elif guessed_encoding != orig_encoding and not is_codec_exists(orig_encoding):
    # Guess we have to use the guessed encoding
    filter_comments += (
        f'<[Original Encoding] "{orig_encoding}" does not exist. Using guessed.>'
    )
    correct_encoding = guessed_encoding
elif guessed_encoding != orig_encoding and failurecounts:
    filter_comments += f"<fc of [O] {orig_encoding} [G] {guessed_encoding} [%] {round(failurecounts*100,ndigits=2)}%>"
    FC_PERCENT = 0.25
    if failurecounts * 100 < FC_PERCENT:
        filter_comments += f"<[UseOrig] [EDecode] fc usage < {FC_PERCENT}%>"
        correct_encoding = orig_encoding
    else:
        filter_comments += f"<[UseGuess] [EDecode] fc usage > {FC_PERCENT}>"


Handle compilation errors in frontend server and cleanup error cases

Description
Currently when the device rejects a reload request, we inform the frontend_server that the request was rejected. In the StdoutHandler state machine, this reject is represented as
<- reject
 result 08fd2a59-cd05-47f2-b1cb-255ed7ef7202
-> 08fd2a59-cd05-47f2-b1cb-255ed7ef7202

That is, the response is simply a boundary key and no other messages. However, when reset the state machine assumes a default state of expectSources: true. If no additional data is sent besides the boundary key, the compiler will hang indefinitely:
    if (message.startsWith(boundaryKey)) {
      if (_expectSources) {
        if (state == StdoutState.CollectDiagnostic) {
          // If expectSources is true, we get stuck here and return. Since no more content is sent, we're
          /// trapped forever
          state = StdoutState.CollectDependencies;
          return;
        }
      }
      if (message.length <= boundaryKey.length) {
        compilerOutput.complete(null);
        return;
      }

The fix is fairly trivial, when resetting the StdoutState for a reject request, we must explicitly set expectSources: false
https://github.com/flutter/flutter/issues/37251
https://github.com/flutter/flutter/issues/35924
EDIT:
To reproduce this, flutter run the gallery app. After it has started, add an import of dart:mirrors and hot reload

cc @aam , this causes the test case incremental compile compile and recompile to fail with a future already completed error. I'm not sure if that is due to this change breaking some other invariant, or if the test case needs to updated as well.

Closing in favor of #37743


Issues with Text Input

Hi, I'm doing a TextInput box like this:
    pub fn inspect(&mut self, ui: &Ui<'_>, label: &ImStr) -> bool {
        let mut name = ImString::new(&self.name);
        let ret = ui.input_text(label, &mut name).build();
        if ret {
            self.name = format!("{}", name);
        }
        ret
    }

pub struct Name {
    pub name: String,
}

Is this the right way to do such a thing? When I do this, if I backspace all the way to 0 characters, I no longer get a true back form .build() when I try to type further characters, which means I can't edit the string anymore.
Thanks!

This occurred to me too. The solution is, use ImString type instead of String.


Fix build

Lol that TN layer accuracy test just breaks on like the last iteration of 50 😅. We should probably just remove that as a flaky test. That code is pretty fringe anyway... Thoughts?

yes, that test already has had problems in the past. Lemme take a look.

Codecov Report

Merging #939 (92c6191) into master (20dc783) will decrease coverage by 0.04%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #939      +/-   ##
==========================================
- Coverage   98.08%   98.04%   -0.05%
==========================================
  Files         129      129
  Lines       22928    22394     -534
==========================================
- Hits        22490    21957     -533
+ Misses        438      437       -1

Impacted Files
Coverage Δ

setup.py
0.00% <ø> (ø)

tensornetwork/backends/jax/jax_backend.py
98.86% <100.00%> (-0.01%)
:arrow_down:

tensornetwork/tn_keras/condenser.py
96.82% <100.00%> (ø)

tensornetwork/tn_keras/conv2d_mpo.py
90.00% <100.00%> (ø)

tensornetwork/tn_keras/dense.py
96.55% <100.00%> (ø)

tensornetwork/tn_keras/entangler.py
97.70% <100.00%> (ø)

tensornetwork/tn_keras/expander.py
96.82% <100.00%> (ø)

tensornetwork/tn_keras/mpo.py
97.53% <100.00%> (ø)

tensornetwork/tn_keras/test_layer.py
100.00% <100.00%> (ø)

...ornetwork/matrixproductstates/infinite_mps_test.py
84.78% <0.00%> (-1.50%)
:arrow_down:

... and 53 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 09181e6...92c6191. Read the comment docs.

👌


GraphitePeriodicPusher from 1.0.7 fails in Python3

Using the below code:
from greplin import scales
from greplin.scales import graphite
import time
import logging
import sys

def main():
    # Configure logging
    logging.basicConfig(level=logging.DEBUG, stream=sys.stdout)
    # Gather stats
    stats = scales.collection('/reporter',scales.IntStat('hits'))
    stats.hits += 1
    # Push stats
    pusher = graphite.GraphitePeriodicPusher('<IP_ADDRESS>', 2003, 'mypc')
    pusher.allow("*")
    pusher.start()
    # Do something for a while
    for val in range(100):
        time.sleep(1)
        logging.info(val)
        stats.hits = val

Running in python 2.7.6 correctly sends the data to graphite.
Running in python 3.4.0 logs the exact same messages, but fails to send:
Nothing is received when watching carbon logs on the graphite server.
What can I do to send data to graphite from python3?

I’ve run into this too, the problem is two-fold:

scales checks for iteritems in https://github.com/Cue/scales/blob/master/src/greplin/scales/graphite.py#L104 to decide whether to send something.  iteritems is Python 2 only thus it has to be: if hasattr(value, 'iteritems') or (six.PY3 and hasattr(value, 'items')):  (although hasattr should be avoided but that’s a different story altogether).
When sending, in https://github.com/Cue/scales/blob/master/src/greplin/scales/util.py#L100 , it will fail because on Python 3 msg is going to be a str, therefore unicode.  So there has to be a guard encoding it to bytes.

IOW, nobody has ever used GraphitePusher with Python 3 until now. :disappointed:

Thanks for looking into this! Do you recon it would be easy to work your findings into a pull request or (temporary) fork? I'd be willing to help out if needed..

I’ve submitted a PR, let’s see what the maintainers say.  I honestly hope a fork won’t be necessary because I don’t have any time to maintain another project. :)

Great work, hope to see this merged soon!


Iterating over the dictionary twice.

https://github.com/microsoft/nni/blob/358efb26b6d7576bc8179a37c190e5f916773b5e/examples/trials/ga_squad/trial.py#L82-L84
https://github.com/microsoft/nni/blob/358efb26b6d7576bc8179a37c190e5f916773b5e/examples/trials/weight_sharing/ga_squad/data.py#L244-L246
The above snippets iterate over the dictionary twice. Shall we change it more efficient and pythonic
return word_dict.get(word, word_dict['<unk>'])

@farziengineer  Thank you for your questions. Good suggestion!

@farziengineer - Thanks a lot for the feedback, it sounds like a good enhancement for the tool, would you like to commit a PR for your suggestion?

@scarlett2018 Hi, I have already raised a PR for this. https://github.com/microsoft/nni/pull/1140

@farziengineer - wonderful, thanks for contribute to NNI =)!


Rename SKIP_GENERATE from Client postinstall script to PRISMA_SKIP_POSTINSTALL_GENERATE

Problem
https://github.com/prisma/prisma/blob/aac667e011979fd13772fcbbb9ae4bc79251d158/src/packages/client/scripts/postinstall.js#L151
We should prefix this like the other env var with PRISMA_
Suggested solution
PRISMA_SKIP_POSTINSTALL_GENERATE
Additional context
Migrate has an env var called MIGRATE_SKIP_GENERATE (not prefixed with PRISMA_) that could be renamed too

hey @Jolg42 can I work on this?


UI renders too small when a popup is triggered from a 100% scaled monitor but rendered onto a 150% scaled monitor

VSCode Version: 1.13.1
OS Version: Windows

Steps to Reproduce:

Open VS Code on the right monitor that is scaled to 100% with HD resolution.
Cause some popup to appear on a monitor to the left that is scaled to 150% with UHD resolution (i.e. the ... button in the Git explorer).

Bug: The popup that appears in the 150% scaled screen is not scaled to 150% (it's too small at 100% scaling).

Reproduces without extensions: Yes

It looks like this is a bug or "by design" issue with the Windows OS. The OS either renders the entire app in 100% or 150% scaling depending on which monitor most of the app resides in, so as the app is dragged more to the 150% scaling monitor it'll switch the entire app the new scaling. So it might not be fixable by apps. Maybe VS Code could fix this particular scenario by not displaying the ... popup in the 2nd monitor where the text is too small.

Yeah, closing.


This the package is pointless no offence

Yes FFMPEG is a binary package, Python is a scripting language...  How is your package on PyPI?  This does nothing.  FFMPEG has separate binaries for each platform like the python (binary) interpreter is different on every platform.  please explain why is super important?

Oh it's pointless huh? Better go tell the npm ffmpeg-static guys who see 100k+ weekly downloads for the equivalent tool in node.
https://www.npmjs.com/package/ffmpeg-static
It turns out that ffmpeg isn't as easy to deploy cross-platform as pip install static_ffmpeg is here. That's why it exists, to be used as a sub component for a larger product. How is this not obvious?


Can not set custom networkID

In Bee Factory we are using Ganache as Ethereum local backend for running the Bee cluster. For that, to work we are using a custom networkID. With the 1.6.0-rc2 (possible with the rc1 as well though) we can't launch Bee with custom networkID.
 \
        --cors-allowed-origins="*"

See especially the --network-id 4020 and what we get is: Error: provided network ID does not match mainnet.
Full logs:

version: 1.6.0-rc2-6ce1d595 - planned to be supported until 5 August 2022, please follow https://ethswarm.org/

time="2022-05-09T12:35:25Z" level=warning msg="clef is not enabled; portability and security of your keys is sub optimal"

time="2022-05-09T12:35:25Z" level=info msg="swarm public key 03d5f6051105af2bc1dfb657031fc9d10df9be44ed24608e730a9a0cd07c97e906"

time="2022-05-09T12:35:25Z" level=debug msg="using existing libp2p key"

time="2022-05-09T12:35:25Z" level=debug msg="using existing pss key"

time="2022-05-09T12:35:25Z" level=info msg="pss public key 02f20bfb14a31491f8a9aec2dc455be4353733040e921ececcf612aca735b0bc7c"

time="2022-05-09T12:35:25Z" level=info msg="using ethereum address 26234a2ad3ba8b398a762f279b792cfacd536a3f"

time="2022-05-09T12:35:25Z" level=info msg="version: 1.6.0-rc2-6ce1d595"

Error: provided network ID does not match mainnet

@AuHau try to add --mainnet=false.

That worked thanks! 🎉


read_tsv file error

when I use default setting, which r+b, to open tsv file, error occurs like
_csv.Error: iterator should return strings, not bytes (did you open the file in text mode?)
in line "for item in reader:"
when I use r+
TypeError: expected bytes-like object, not str.   occur at np.frombuffer(base64.decodestring(item[field]),
my environment in windows. should it matter?

I'm afraid none of this is tested on windows, you might have to do your own research on this one, sorry!

I faced the same issue in Ubuntu-GNOME. I found out that this TypeError is not caused because of the OS platform but it's due to the Python version. This error appears for Python 3.x versions; Try to run the script as is using Python 2:
python2 read_tsv.py

And that should work!

which proto have you used? Thanks.

after 1.changing the open mode to "r" or "rt": with open(infile, "r") as tsv_in_file  2.changing base64.decodestring(item[field]) to base64.decodebytes(bytes(item[field], encoding="utf8"))
It can work.

after 1.changing the open mode to "r" or "rt": with open(infile, "r") as tsv_in_file 2.changing base64.decodestring(item[field]) to base64.decodebytes(bytes(item[field], encoding="utf8"))
It can work.

these are boxes extracted from the file, the number looks so weirdly large, did you get the same as i am?

@
this code seems work well

after 1.changing the open mode to "r" or "rt": with open(infile, "r") as tsv_in_file 2.changing base64.decodestring(item[field]) to base64.decodebytes(bytes(item[field], encoding="utf8"))
It can work.
these are boxes extracted from the file, the number looks so weirdly large, did you get the same as i am?

As far as I can remember, these numbers are the location of the boxes in image (compare to the length and width of image), so there is no problem.

after 1.changing the open mode to "r" or "rt": with open(infile, "r") as tsv_in_file 2.changing base64.decodestring(item[field]) to base64.decodebytes(bytes(item[field], encoding="utf8"))
It can work.

these are boxes extracted from the file, the number looks so weirdly large, did you get the same as i am?

As far as I can remember, my boxes feature don't have this problem, it just like the result of Ruotian Luo. But I don't have the source tsv file now, so I'm not very sure.


update "prebuild-install" to "^7.0.0"

"prebuild-install":"^6.1.4" has a dependency 'node-abi':'^2.21.0', which does not get the electron node-abi version correctly
https://github.com/prebuild/prebuild-install/pull/161#issue-1046743812

electron/node-abi#113 was fixed in 3.3.0 and is affecting electron 14+
With the current node-abi prebuild-install will download ABI 89 for electron 14 and 15 and then modules will fail to load as electron 14 has ABI 97 and electon 15 has ABI 98 in reality.

Yes, I did set up a custom registry. I 'm not familiar with lock file
Thank you for fixing this issue.


Ability to replace values beyond just the path objects in the containers command property

Quite frankly I'm not even sure anymore what I referred to when opening this, I'll close and reopen in case it comes back to me.


sam package and sam build refer to different locations for layers

Description:
While working with SAM to build a serverless app using both functions and layers locally appears to refer to different locations
depending on if I am building or deploying.

It appears that when you do sam build it copies your CodeUri content to a tmp dir and exposes $(ARTIFACTS_DIR). Which is a pointer to $PWD/.aws-sam/build/<logical-resource-id> . However, when you run sam package it bundles from CodeUri
My project has the following structure:
.aws-sam/build/
Lambda/ # my lambda code is staged here
LayerOne/Makefile
LayerOne/requirements.txt
LayerOne/python # all staged modules are located here

Steps to reproduce the issue:
Python version:
$ pipenv run python -VVV
Loading .env environment variables…
Python 3.7.6 (default, Feb 26 2020, 20:54:15)
[GCC 7.3.1 20180712 (Red Hat 7.3.1-6)]

OS Version:
$ uname -a
Linux swfa 4.19.76-linuxkit #1 SMP Tue May 26 11:42:35 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

$ cat /etc/os-release
NAME="Amazon Linux"
VERSION="2"
ID="amzn"
ID_LIKE="centos rhel fedora"
VERSION_ID="2"
PRETTY_NAME="Amazon Linux 2"
ANSI_COLOR="0;33"
CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2"
HOME_URL="https://amazonlinux.com/"

SAM version:
$ sam version
SAM CLI, version 0.52.0

Create a layer based on instructions from here
Use a CodeUri of Layer1 with a config similar too:
SAM Template:

  LayerOne:
    Type: "AWS::Serverless::LayerVersion"
    Properties:
      LayerName: layer_one
      CompatibleRuntimes:
        - python3.7
      ContentUri: LayerOne/
      Description: Common code for Lambdas
      LicenseInfo: MIT
      RetentionPolicy: Retain
    Metadata:
      BuildMethod: makefile

Define a Makefile:

requirements.txt:
	pipenv lock -r > ./requirements.txt

build-LayerOne: requirements.txt
	$(info [+] Installing '3rd party' dependencies...)
	pipenv run pip3 install \
			--isolated \
			--disable-pip-version-check \
			-Ur requirements.txt -t $(ARTIFACTS_DIR)/python
	cp -f ./requirements.txt $(ARTIFACTS_DIR)/python/

Build:

sam build LayerOne

Package:

	sam package \
		--template-file template.yaml \
		--output-template-file packaged.yaml \
		--s3-bucket ${BUCKET} \
		--s3-prefix ${BUCKET_PREFIX}

Deploy

	sam deploy \
	  --no-fail-on-empty-changeset \
          --template-file packaged.yaml \
	  --stack-name ${STACK_NAME} \
	  --s3-bucket ${BUCKET} \
	  --s3-prefix stacks \
  	  --capabilities CAPABILITY_IAM CAPABILITY_AUTO_EXPAND

Observed result:
When you download the layer, the only files that will be bundled will be requirements.txt because the pip install
targeted the $(ARTIFACTS_DIR) and did not stage to CodeUri/python
Expected result:
The layer should contain the entire contents of $(ARTIFACTS_DIR)

Revise your Makefile
Makefile:

build-LayerOne: configure
	ls -latr > $(ARTIFACTS_DIR)/log
	pwd >> $(ARTIFACTS_DIR)/log
	cp -fa ./python $(ARTIFACTS_DIR)/
	cp -f ./requirements.txt $(ARTIFACTS_DIR)/python/

requirements.txt:
	pipenv lock -r > ./requirements.txt

configure: ./requirements.txt
	$(info [+] Installing '3rd party' dependencies...)
	pipenv run pip3 install \
			--isolated \
			--disable-pip-version-check \
			-Ur requirements.txt -t ./python

Re-run steps 3, 4, & 5

Observed result:
When you download the layer, all files that are in CodeUri/python will be visible.

Should I move this issue to the sam-cli repo here?

I think this is a sam-cli issue.


[QUESTION]

Question
how to install printers on Athena OS.

@Festus1942 currently I don't have a printer for testing the connection of a printer, but it should follow the usual Arch Linux guides for configuring a printer. Try to read Arch Linux documentation: https://wiki.archlinux.org/title/Category:Printers


Issue from website page Flutter Setup for Windows

@Vaseemhilal, can you clarify what the issue is, please?

Thanks but no issue. You people are doing really good job but reducing IT jobs as well unfortunately... Hehe

No worries, thanks!


SPA showing error

Describe the bug
When I use slidev build to build a SPA , I upload it on my server but it seems not right in the website. It's all right in my Win10 computer offline with localhost:3030 . the website is as following

Desktop (please complete the following information):

OS: Win10
Browser: Chrome
Slidev version: 0.19.5

Please upgrade to the latest version and try out


Access denied on build command

Hi,
I tried to use the Dockerfile you provided on README.md, but I got that error :
docker build --tag my_postgres_liquibase .
Sending build context to Docker daemon   89.6kB
Step 1/6 : FROM kilna/liquibase-postgres-docker
pull access denied for kilna/liquibase-postgres-docker, repository does not exist or may require 'docker login'

Have you any suggestion please ?
I have the same message with command :
docker pull kilna\liquibase-postgres-docker

Thanks.

Sorry I just realized that actually there is a typo in the Dockerfile sample you provided :
It is not
FROM kilna/liquibase-postgres-docker

but
FROM kilna/liquibase-postgres

So I close that issue. And create an other one to fix the documentation.
Thanks.


Workflow Component : Validation and parameter-labeling of molecules

Parameterization of molecules will be performed with e.g.:
from openforcefield.typing.engines.smirnoff import ForceField

# Load the OpenFF "Parsley" force field
forcefield = ForceField('openff-1.0.0.offxml')

# Parametrize the topology and return parameters used
off_topology = molecule.to_topology()
molecule_labels = forcefield.label_molecules(off_topology)

The labels can then be fed directly to the Forcefield coverage report #11 generator. An entry-point wrapping this and the coverage report can be placed in openff.benchmark.parameterization.
This step should be performed with each forcefield we are benchmarking.
Molecules that fail this step should be noted and left out of the energy minimization submission. We still want these in the coverage report that consumes the output of this step.

QCSubmit dataset coverage reporter

Some molecules that have issues in the archive currently https://github.com/openforcefield/openff-benchmark/issues/5

@j-wags please close if you consider this feature complete.

@j-wags please close if you consider this feature complete.


libs/luci-lib-httpclient: fix not straightforward behavior of httpclient

commit c30cf9abd4e1e46731e36552ae2f459a27c5cf46
Fix response body only have partial content when under a slow network
commit b6d4f32dcc4bba2645d3758c3dc027fe0e2b4d14
Send cookies in a single header line, which follow browsers' behavior. If not, cookies may not be recognized by some webserver.
commit 3dbdff70960ec8c7de7d5a54721a560941627e0b
add params support in options, it is convenient to user.
Signed-off-by: Yuzo<EMAIL_ADDRESS>

Thanks!


Feature/sync server priority

Implemented priority in Summary View, Detail view, sorting when quering for synchronization.
Single edit on double click or context menu.
Multi edit on context menu only.

Implemented comments:

Editable action (Reset active or remote site, Set priority) only available if active or remote site is set to local
Priority could be set only on local site
Pausing in Queue GUI pauses only synchronization, not GUI (bug)

Fixed mentioned issues.
Reworked when querying is happening.

Looking good


unpleasant ones code added

Implementation of unpleasant ones code using C++
Fixes #1494
Type of change

[x] New feature (non-breaking change which adds functionality)

Checklist:

[x] My code follows the style guidelines(Clean Code) of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have created a helpful and easy to understand README.md
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests/screenshots(if any) that prove my fix is effective or that my feature works

@Ayush7614 @Amit366 @ravikr126 @Saurabh4626 , Kindly review my PR


can you give me a pre-trained weight file not pruning?

Hello, I am a student studying AI.
While looking for multimodal, I was attracted to the fromage model, so I am studying.
I want to check after fine-tuning the fromage model toward fashion, but the prune weight you provided does not proceed to resume and the result value is too low if I train from the beginning.
Please check if you can share the weight file for fine-tuning due to the lack of gcp credits provided for training from cc3m!

Hi, what's the issue with initializing from the pruned weights? The model should be exactly the same assuming you also restored the pretrained weights from OPT/CLIP-ViT, as we don't change any other model params outside of the embedding matrix.

Oh, there's no problem.
I thought it would be better to learn more personal datasets through train resume based on models in fromage_model/fromage_vis4 that are not prune, but would it be similar to TRAIN based on the OPT 6.7 / CLIP vit large model shown in the paper?

Yes, the weights should be exactly the same because we do not train the CLIP-ViT or OPT-6.7B model weights.

Thanks your reply !

If I can make model with own dataset, I will show you!
Thanks!


Add membership approvement by group owner

On Tue, Jul 18, 2017 at 9:59 AM, holdbar<EMAIL_ADDRESS>wrote:

@holdbar commented on this pull request.
In mk42/apps/core/api/permissions/membership.py
https://github.com/Peer-Lab/mk42/pull/5#discussion_r127895395:

@@ -69,6 +71,10 @@ def has_object_permission(self, request, view, obj):
# Allow only delete membership.
return True

   if all([request.method == PATCH, request.user == obj.group.owner]):

Я так понял нужно добавить обработку PATCH в has_permission?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Peer-Lab/mk42/pull/5#discussion_r127895395, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AA2ooX0MEWNhwJjZhcWHzs_dxb9KKnM7ks5sPFfBgaJpZM4OaQoA
.


Rust Client: Asyncify Crate

I'm closing this, as we've decided to go with Wasmtime; which supports a VM native solution for async host imports. We've tested it and it behaves just like we need.


Introducing TextEncryptorLocator abstraction

We are trying to extend current encryption functionality by adding feature to use different encryption keys per environment. However we think that scope of adding such a feature seems to be too large for a single PR. In this PR we introduced no functional changes but some abstractions that will help us to extend current implementation in the future. Please let us know what do you think and if we are moving in the right direction.
Notable changes:

TextEncryptorLocator - this class will be responsible for locating appropriate TextEncryptor for given application name and profile, in this version implementation is rather simplistic and mimics old behaviour found in EncryptionController
EnvironmentEncryptor - encryptor that operates on Environment abstraction, contains extracted logic from EncryptionController.decrypt(Environment) function

This is a followup to https://github.com/spring-cloud/spring-cloud-config/pull/121 with everything squashed together. We introduced few changes discussed on gitter and tried to follow Spring code conventions this time.

I general we use tabs instead of spaces.  We have our eclipse-code-formatter.xml checked in that you can use in eclipse or intellij.

@spencergibb thanks for the formatter, switched from spaces to tabs :-)

I think it looks ok.  Any objections @dsyer?

There are still some things I would like to tidy up.

Why is the default application name "default" (that's a change from "application" which is the current de facto default)?

Why is a TextEncryptorLocator @Autowired into the ConfigServerEncryptionConfiguration? I guess it makes sense if the @Bean that is there would be @ConditionalOnMissingBean? Maybe that's what you meant to do?

The environmentController() bean in ConfigServerMvcConfiguration is autowired in 2 different styles (by field in the enclosing class, and by method parameter). Pick one and stick to it?

Applied your suggestions :-)

I get load of conflicts when I try to merge this now. Mostly looks like whitespace. Maybe you could rebase again and push --force?

Ignore that last comment

I merged this after a few tweaks. It would be good if you could send another PR with some tests for the new features in EncryptionController.


Store json results into the file

Right now we are showing json result directly in console. It will be nice to save them into the file too.
Kinda pwmetrics http://example.com --json=./pwmetrics-results.json

how about pwmetrics http://example.com --json > pwmetrics-results.json ?

SGTM, maybe it's time to use some lib like yargs ?

@denar90 yup i'm supportive of adopting yargs to handle all that CLI stuff.. wanna take a go at it?

Of course, would love to 😃

@denar90 would you like some help to add yargs to the project?

@pedro93 I've done some work on this. So you can create PR if there smth to improve.
Thanks :)


Enabling ssl

Hi, how do I enable SSL on my name.sandcats.io?

Hi @ltap
For now, your options are:

Get a wildcard certificate from a vendor like GlobalSign.com https://sslmate.com/ https://cheapsslsecurity.com/sslproducts/wildcardssl.html

Set up nginx per https://docs.sandstorm.io/en/latest/administering/reverse-proxy/

In the near future, I'd like the Sandstorm/Sandcats system to offer automatic configuration for HTTPS. I'm working on that right now, and hope to have more to say in a week or two.
Let me know if that takes care of your question!

Hi @ltap ,
There's a new option, documented here. https://docs.sandstorm.io/en/latest/administering/ssl/
Let me know if you try it!

This is awesome! Thank you!

There's a reason I said GlobalSign before. (-:
I'm so excited that you like it! If it's OK, I'll close this issue. Feel free to re-open it if you need further help or this doesn't suit your use-case.


Copying a directory with a busted symlink results is partial directory copy

VSCode Version:

Version: 1.45.0-insider
Commit: a250df703de955a38aed427a917bce8278ab3331
Date: 2020-04-24T20:46:59.782Z
Electron: 7.2.2
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Darwin x64 19.4.0

OS Version:

Steps to Reproduce:

Create foo/test.js
Createbar/
Create a symbolic link in bar to foo/test.js named test.js
Create baz/test.js
Move bar/ into baz/ to break the symlink baz/foo/test.js
Copy & Paste bar/

Expect a copy of all content of bar including bar/test.js and the busted symlink. Actually get a new directory bar copy but it does not contain a copy of bar/test.js so it was only a partial copy.
I'd also expect the symlink to be updated such that if it were valid it would continue to point at the same file location (should that location fall outside of the folder being moved) ala #96303.

symlink.zip

Does this issue occur when all extensions are disabled? Yes

This has been fixed now via https://github.com/microsoft/vscode/issues/111621

Lovely, let's move to february so we get it verified.
@kingces95 you can also try it out with vscode insiders from Friday to let us if it works fine for you now.

Seems like I still repro the same thing?

I moved bar into baz, then copied it and pasted it in the root, and it's empty. What's the intent?

I was probably misunderstanding the steps and they are also slightly confusing:

Expect a copy of all content of bar including bar/test.js and the busted symlink. Actually get a new directory bar copy but it does not contain a copy of bar/test.js so it was only a partial copy.

I think the OP meant to say: "Copy the folder baz" because that one contains both the dangling symbolic link and the file test.js itself. My fix was to not stumble over a dangling symbolic link when copying. As outlined in https://github.com/microsoft/vscode/issues/111621 which has easier steps to repro.
I will mark this as a duplicate of https://github.com/microsoft/vscode/issues/111621 to go forward with verification and suggest to verify https://github.com/microsoft/vscode/issues/111621.
Btw we do not automatically "fix" or "rewrite" symbolic links when you move a folder or file. Native OS also does not do so because in the end all are doing a low level mv operation that executes fast and does not treat symbolic links any special.
However, I will see if we could copy the symbolic link even if it is dangling. Currently not doing that.

/duplicate https://github.com/microsoft/vscode/issues/111621


Using jQuery .val() to set query won't trigger typeahead

I was hoping to use .val() to set query and was expecting it'd behave the same as when someone pasted in the input field and further kickoff the typeahead mechanism but it seems like using .val() to set query doesn't do anything.
In addition, it looks like when using .val() to set query, it initially will set the value in the input field but as soon as you blur away the input field the value gets cleared out. I am suspecting .val() did not set query correctly.
Am I overlooking something? Any insights will be greatly appreciated.
Thanks!

 jQuery#typeahead('setQuery', $oldSearchValue);

  28 |         let $oldSearchValue = typeaheadInputSelector.val();
  29 |         console.log(1);
> 30 |         jQuery#typeahead('setQuery', $oldSearchValue);
     |               ^
  31 |         // typeaheadInputSelector.typeahead('val', $oldSearchValue);
  32 |         // setTimeout(() => typeaheadInputSelector.typeahead.val($oldSearchValue), 1000);
  33 |         // typea


[Doc Improvement][SEO Description update 7][3876702]

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/apps-in-teams-meetings/teams-together-mode.md
92
16
link
:white_check_mark:

msteams-platform/archive/how-to-extend-copilot.md
90
16
link
:white_check_mark:

msteams-platform/bots/calls-and-meetings/debugging-local-testing-calling-meeting-bots.md
90
14
link
:white_check_mark:

msteams-platform/bots/design/bots.md
86
36
link
:white_check_mark:

msteams-platform/bots/how-to/authentication/add-authentication.md
91
57
link
:white_check_mark:

msteams-platform/bots/how-to/authentication/bot-sso-code.md
86
22
link
:white_check_mark:

msteams-platform/bots/how-to/authentication/bot-sso-graph-api.md
88
5
link
:white_check_mark:

msteams-platform/bots/how-to/authentication/bot-sso-manifest.md
90
10
link
:white_check_mark:

msteams-platform/bots/how-to/authentication/bot-sso-overview.md
92
11
link
:white_check_mark:

msteams-platform/bots/how-to/authentication/bot-sso-register-aad.md
91
54
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/apps-in-teams-meetings/teams-together-mode.md
92
16
link
:white_check_mark:

msteams-platform/archive/how-to-extend-copilot.md
90
16
link
:white_check_mark:

msteams-platform/bots/calls-and-meetings/debugging-local-testing-calling-meeting-bots.md
90
14
link
:white_check_mark:

msteams-platform/bots/design/bots.md
86
36
link
:white_check_mark:

msteams-platform/bots/how-to/authentication/add-authentication.md
91
57
link
:white_check_mark:

msteams-platform/bots/how-to/authentication/bot-sso-code.md
86
22
link
:white_check_mark:

msteams-platform/bots/how-to/authentication/bot-sso-graph-api.md
88
5
link
:white_check_mark:

msteams-platform/bots/how-to/authentication/bot-sso-manifest.md
90
10
link
:white_check_mark:

msteams-platform/bots/how-to/authentication/bot-sso-overview.md
92
11
link
:white_check_mark:

msteams-platform/bots/how-to/authentication/bot-sso-register-aad.md
91
54
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/apps-in-teams-meetings/teams-together-mode.md
92
16
link
:white_check_mark:

msteams-platform/archive/how-to-extend-copilot.md
90
16
link
:white_check_mark:

msteams-platform/bots/calls-and-meetings/debugging-local-testing-calling-meeting-bots.md
90
14
link
:white_check_mark:

msteams-platform/bots/design/bots.md
86
36
link
:white_check_mark:

msteams-platform/bots/how-to/authentication/add-authentication.md
90
58
link
:white_check_mark:

msteams-platform/bots/how-to/authentication/bot-sso-code.md
86
22
link
:white_check_mark:

msteams-platform/bots/how-to/authentication/bot-sso-graph-api.md
88
5
link
:white_check_mark:

msteams-platform/bots/how-to/authentication/bot-sso-manifest.md
90
10
link
:white_check_mark:

msteams-platform/bots/how-to/authentication/bot-sso-overview.md
92
11
link
:white_check_mark:

msteams-platform/bots/how-to/authentication/bot-sso-register-aad.md
91
54
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/apps-in-teams-meetings/teams-together-mode.md
92
16
link
:white_check_mark:

msteams-platform/archive/how-to-extend-copilot.md
90
16
link
:white_check_mark:

msteams-platform/bots/calls-and-meetings/debugging-local-testing-calling-meeting-bots.md
90
14
link
:white_check_mark:

msteams-platform/bots/design/bots.md
86
36
link
:white_check_mark:

msteams-platform/bots/how-to/authentication/add-authentication.md
90
58
link
:white_check_mark:

msteams-platform/bots/how-to/authentication/bot-sso-code.md
86
22
link
:white_check_mark:

msteams-platform/bots/how-to/authentication/bot-sso-graph-api.md
88
5
link
:white_check_mark:

msteams-platform/bots/how-to/authentication/bot-sso-manifest.md
90
10
link
:white_check_mark:

msteams-platform/bots/how-to/authentication/bot-sso-overview.md
92
11
link
:white_check_mark:

msteams-platform/bots/how-to/authentication/bot-sso-register-aad.md
91
54
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.


Hospital Integration with Victim home address

The hospital should integrate with the victim address and could contact their near and dear ones about the accident

May i work on this issue?

How much more time you need for this issue?

I'm sorry for your inconvenience..
On Mon, 8 Mar 2021, 9:12 am unnati914<EMAIL_ADDRESS>wrote:

How much more time you need for this issue?
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/unnati914/Care4ther-/issues/4#issuecomment-792440894,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANOWEAWIHG4EHDQUH6PWZW3TCRBTLANCNFSM4XIQVPEQ
.


Coordinate Reference System dropped when GO.buffer() is used

The CRS attached to polygon1 appears to be removed in the resulting polygon from GO.buffer(polygon1, x).
Is there a way to attach a CRS back to the resulting polygon?
import GeoInterface as GI
import GeometryOps as GO
import GeoFormatTypes as GFT
using GLMakie
using LibGEOS

x = [-10, -10, 10, 10, -10]
y = [-10, 10, 10, -10, -10]
lines = GI.LineString(GI.Point.(zip(x,y)));

ring1 = GI.LinearRing(GI.getpoint(lines));
polygon1 = GI.Polygon([ring1]; crs=EPSG(3857));
GI.crs(polygon1)
GI.crs(GO.buffer(polygon1, 1))

Thanks for the issue!  This looks like it was an oversight when I wrote buffer, since it calls out to LibGEOS which doesn't have the concept of a CRS.
For now, you can simply call tuples on the result and attach a CRS that way:
polygon2 = GO.tuples(GO.buffer(polygon1, 1); crs = GI.crs(polygon1))

but we should amend buffer to perform this itself.

related: https://github.com/JuliaGeo/GeoInterface.jl/issues/158


[DOC] Example for testinfra verifier is wrong

Issue Type

Bug report

Molecule and Ansible details
(molecule32_ansible2910_py36) [user@server bin]$ ansible --version
ansible 2.9.10
  config file = None
  configured module search path = ['/home/user/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /opt/somepath/venvs/molecule32_ansible2910_py36/lib64/python3.6/site-packages/ansible
  executable location = /opt/somepath/venvs/molecule32_ansible2910_py36/bin/ansible
  python version = 3.6.8 (default, Sep 26 2019, 11:57:09) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)]
(molecule32_ansible2910_py36) [user@server bin]$ molecule --version
molecule 3.2.0 using python 3.6
    ansible:2.9.10
    delegated:3.2.0 from molecule
    vagrant:0.6 from molecule_vagrant

Molecule installation method (one of):

pip

Ansible installation method (one of):

pip

Detail any linters or test runners used:
verifier:
  name: testinfra
  lint: |
    set -e
    yamllint -c .yamllint .
  options:
    n: 1

Desired Behavior
The example in the documentation to work
Actual Behaviour
Traceback (most recent call last):
  File "/opt/somepath/venvs/molecule32_ansible2910_py36/bin/molecule", line 11, in <module>
    sys.exit(main())
  File "/opt/somepath/venvs/molecule32_ansible2910_py36/lib64/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/opt/somepath/venvs/molecule32_ansible2910_py36/lib64/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/opt/somepath/venvs/molecule32_ansible2910_py36/lib64/python3.6/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/opt/somepath/venvs/molecule32_ansible2910_py36/lib64/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/opt/somepath/venvs/molecule32_ansible2910_py36/lib64/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/opt/somepath/venvs/molecule32_ansible2910_py36/lib64/python3.6/site-packages/click/decorators.py", line 21, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/opt/somepath/venvs/molecule32_ansible2910_py36/lib64/python3.6/site-packages/molecule/command/test.py", line 148, in test
    base.execute_cmdline_scenarios(scenario_name, args, command_args)
  File "/opt/somepath/venvs/molecule32_ansible2910_py36/lib64/python3.6/site-packages/molecule/command/base.py", line 112, in execute_cmdline_scenarios
    execute_scenario(scenario)
  File "/opt/somepath/venvs/molecule32_ansible2910_py36/lib64/python3.6/site-packages/molecule/command/base.py", line 154, in execute_scenario
    execute_subcommand(scenario.config, action)
  File "/opt/somepath/venvs/molecule32_ansible2910_py36/lib64/python3.6/site-packages/molecule/command/base.py", line 143, in execute_subcommand
    return command(config).execute()
  File "/opt/somepath/venvs/molecule32_ansible2910_py36/lib64/python3.6/site-packages/molecule/logger.py", line 187, in wrapper
    rt = func(*args, **kwargs)
  File "/opt/somepath/venvs/molecule32_ansible2910_py36/lib64/python3.6/site-packages/molecule/command/verify.py", line 73, in execute
    self._config.verifier.execute()
  File "/opt/somepath/venvs/molecule32_ansible2910_py36/lib64/python3.6/site-packages/molecule/verifier/testinfra.py", line 184, in execute
    result = util.run_command(self._testinfra_command, debug=self._config.debug)
  File "/opt/somepath/venvs/molecule32_ansible2910_py36/lib64/python3.6/site-packages/molecule/util.py", line 143, in run_command
    args, env=env, stdout=stdout, stderr=stderr, echo=echo or debug, quiet=quiet
  File "/opt/somepath/venvs/molecule32_ansible2910_py36/lib64/python3.6/site-packages/subprocess_tee/__init__.py", line 103, in run
    cmd = join(args)
  File "/usr/lib64/python3.6/subprocess.py", line 481, in list2cmdline
    needquote = (" " in arg) or ("\t" in arg) or not arg
TypeError: argument of type 'int' is not iterable

@hunter86bg can you link to the incorrect docs?
I believe that yaml should be:
verifier:
  name: testinfra
lint: |
  set -e
  yamllint -c .yamllint .

I think the link was: https://molecule.readthedocs.io/en/latest/configuration.html#molecule.verifier.testinfra.Testinfra


Registering MetricRegistry with Application during run()

@rclayton @jar349 once more...

@shlomisut - thanks for the PR.  I'm going to merge this as soon as I can register the release with Maven Central.  That way I can update the documentation and publish a release.

Most of the POM stuff that's required should be there.  I suppose that we should also add the Apache 2.0 License to the repo if we're pushing it to maven central...