FileNotFoundError: [Errno 2] No such file or directory: 'data/namaq/all-lstmf'

I’m using tesseract to train it on my data. However, I'm receiving this error after running make training MODEL_NAME=name-of-the-resulting-model. It seems that it's failing to create all-lstmf and all-gt files. Even though, it successfully created the .box and .lstmf files in my data.
How can I resolve this issue? Thanks.

post the whole log, and all steps to reproduce the problem.

This is the whole log:
unicharset_extractor --output_unicharset "data/namaq/unicharset" --norm_mode 2 "data/namaq/all-gt" Failed to read data from: data/namaq/all-gt Wrote unicharset file data/namaq/unicharset python3 shuffle.py 0 "data/namaq/all-lstmf" Traceback (most recent call last):   File "/Users/shahadalkhalifa/tesstrain/shuffle.py", line 24, in <module>     fd0 = open(sys.argv[2], 'r') FileNotFoundError: [Errno 2] No such file or directory: 'data/namaq/all-lstmf' make: *** [data/namaq/all-lstmf] Error 1
Note: I named my model "namaq"

Sorry but that is not the whole log: all-lstmf does not exist because of an error from previous commands.

Sorry but that is not the whole log: all-lstmf does not exist because of an error from previous commands.

After the command make tesseract-langdata I ran make training MODEL_NAME=namaq command and the following is the output in the terminal:
tesseract "data/namaq-ground-truth/img84.png" data/namaq-ground-truth/img84 --psm 13 lstm.train

tesseract data/namaq-ground-truth/img84.png data/namaq-ground-truth/img84 --psm 13 lstm.train
PYTHONIOENCODING=utf-8 python3 generate_line_box.py -i "data/namaq-ground-truth/img480.png" -t "data/namaq-ground-truth/img480.gt.txt" > "data/namaq-ground-truth/img480.box"
set -x;
tesseract "data/namaq-ground-truth/img480.png" data/namaq-ground-truth/img480 --psm 13 lstm.train
tesseract data/namaq-ground-truth/img480.png data/namaq-ground-truth/img480 --psm 13 lstm.train
PYTHONIOENCODING=utf-8 python3 generate_line_box.py -i "data/namaq-ground-truth/img166.png" -t "data/namaq-ground-truth/img166.gt.txt" > "data/namaq-ground-truth/img166.box"
set -x;
tesseract "data/namaq-ground-truth/img166.png" data/namaq-ground-truth/img166 --psm 13 lstm.train
tesseract data/namaq-ground-truth/img166.png data/namaq-ground-truth/img166 --psm 13 lstm.train
python3 shuffle.py 0 "data/namaq/all-lstmf" Traceback (most recent call last): File "/Users/shahadalkhalifa/tesstrain/shuffle.py", line 24, in <module>   fd0 = open(sys.argv[2], 'r') FileNotFoundError: [Errno 2] No such file or directory: 'data/namaq/all-lstmf' (base) shahadalkhalifa@Shahads-MacBook-Pro-2 tesstrain %

Please note that this is only part of the output since I'm training it on a large amount of files and more box and lstmf files were created

I am having the same problem.

I put all .gt.txt, png files in hwmodel-ground-truth dir. then run make training MODEL_NAME=hwmodel command. it generated .box file in hwmodel-ground-truth dir. Then error:
python3 shuffle.py 0 "data/hwmodel/all-lstmf"
Traceback (most recent call last):
File "shuffle.py", line 24, in
fd0 = open(sys.argv[2], 'r')
FileNotFoundError: [Errno 2] No such file or directory: 'data/hwmodel/all-lstmf'

@zdenop It seems like a bug because the folders were not created. I tried creating them manually and ran make training MODEL_NAME=namq again and got the following output:
unicharset_extractor --output_unicharset "data/namaq/unicharset" --norm_mode 2 "data/namaq/all-gt"
Failed to read data from: data/namaq/all-gt
Wrote unicharset file data/namaq/unicharset
wc: stdin: read: Is a directory
Parse error: bad token
:1
Parse error: bad expression
:1

head -n '' data/namaq/all-lstmf
head: illegal line count --
tail -n '' data/namaq/all-lstmf
combine_lang_model
--input_unicharset data/namaq/unicharset
--script_dir data/langdata
--numbers data/namaq/namaq.numbers
--puncs data/namaq/namaq.punc
--words data/namaq/namaq.wordlist
--output_dir data

--lang namaq
Failed to read data from: data/namaq/namaq.wordlist
Failed to read data from: data/namaq/namaq.punc
Failed to read data from: data/namaq/namaq.numbers
Loaded unicharset of size 3 from file data/namaq/unicharset
Setting unichar properties
Setting script properties
Failed to load script unicharset from:data/langdata/Latin.unicharset
Config file is optional, continuing...
Failed to read data from: data/langdata/namaq/namaq.config
Null char=2
lstmtraining
--debug_interval 0
--traineddata data/namaq/namaq.traineddata
--learning_rate 0.002
--net_spec "[1,36,0,1 Ct3,3,16 Mp3,3 Lfys48 Lfx96 Lrx96 Lfx192 O1chead -n1 data/namaq/unicharset]"
--model_output data/namaq/checkpoints/namaq
--train_listfile data/namaq/list.train
--eval_listfile data/namaq/list.eval
--max_iterations 10000
--target_error_rate 0.01
Failed to load list of training filenames from data/namaq/list.train
make: *** [data/namaq/checkpoints/namaq_checkpoint] Error 1

@z160896 If you found a way to solve the issue please let me know. Thanks

No there is no bug: the problem is between the chair and the monitor ;-)
e.g. all-lstmf is not a folder but a file. Do not try to fix something you do not understand.
Or: I wrote provide all steps to reproduce the problem - you just picking some commands that fail (of course) because you ignored previous errors. If you are really interested in support follow the instructions.

Read instructions carefully.
Start from scratch (remove all folders and files that do not originate from this repository)
Log the whole training process are read all messages you see.
Fix each error message, and pay attention to warnings (there are warnings for optional files you probably do not need at this stage)

I've been having a long time problem with the same issue.
The cause of the problem was simple. The version of make is old
$ make --version
GNU Make 3.81

all-lstmf and all-gt files cannot be generated in this version.
Upgrade make. For Mac brew install make
$ make --version
GNU Make 4.4
$ make training

### for mac
$ gmake --version
GNU Make 4.4

$ gmake training

Now there is no error.

@zipizigi Yes this solved the error! Thank you very much :)

Now I have this error when run gmake leptonica tesseract. any suggestions? thanks
inflating: tesseract-5.3.0/unittest/validator_test.cc
cd tesseract-5.3.0 &&
sh autogen.sh &&
PKG_CONFIG_PATH="/Volumes/fast/git/tesstrain/usr/lib/pkgconfig"
./configure --prefix=/Volumes/fast/git/tesstrain/usr &&
LDFLAGS="-L/Volumes/fast/git/tesstrain/usr/lib"
make -j4 install &&
LDFLAGS="-L/Volumes/fast/git/tesstrain/usr/lib"
make -j4 training-install &&
date > "tesseract.built"
Running aclocal
Running /opt/local/bin/glibtoolize
glibtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config'.
glibtoolize: copying file 'config/ltmain.sh'
glibtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
glibtoolize: copying file 'm4/libtool.m4'
glibtoolize: copying file 'm4/ltoptions.m4'
glibtoolize: copying file 'm4/ltsugar.m4'
glibtoolize: copying file 'm4/ltversion.m4'
glibtoolize: copying file 'm4/lt~obsolete.m4'
Running aclocal
Running autoconf
Missing pkg-config. Check the build requirements.
Something went wrong, bailing out!
gmake: *** [Makefile:383: tesseract.built] Error 1

@zipizigi : can you please provide full logs for training with make 3.81 and 4.4? e.g.:
unzip -qq -d data/foo-ground-truth ocrd-testset.zip
make training 2>&1 | tee training.log

@zdenop: in the autogen.sh script:
if grep -q PKG_CHECK_MODULES configure; then
The generated configure is invalid because pkg-config is unavailable.
rm configure
echo "Missing pkg-config. Check the build requirements."
bail_out
fi
do you know where is PKG_CHECK_MODULES defined?
I installed pkg-config:
tesseract % pkg-config --version
0.29.2
how can I fix this problem:
Missing pkg-config. Check the build requirements.
Something went wrong, bailing out!
gmake: *** [Makefile:383: tesseract.built] Error 1
thanks

@z160896 : please stop with this! First of all - Stick to the original topic. One problem = one issue.
Next: Issue tracker for solving bugs/errors in code.  Use tesseract user forum for asking support.


[NEW] inappchat in greenroom

Added InAppChat to Greenroom with the same layout as before but as soon as @demonicirfan completes the UI part of mainstage, it can be replicated here also

Preview

Awesome work.  Thanks @sidmohanty11      If you have relatively good lighting,  DO feel free to add your own mugshot into the screen captures.   (there really isn't too many opportunities in open source where you can do this organically)    It may feel awkward or embarrasing at the first go.  But over time, I assured you that you'll be glad that you did - marking your own growth through time with growing open source contributions.    FWIW

Thank you so much for the opportunity!! I will definitely update the screen captures and add a cool picture of myself. :)


[KOGITO-9897] :memo: Renaming modules to match Apache org

Description of the change:
In this PR we did a massive renaming to reflect the migration to Apache in our go modules.
Motivation for the change:
We can't keep using the old naming or dependencies would use outdated and wrong references to the kiegroup repo.

How to backport a pull request to a different branch?

In order to automatically create a backporting pull request please add one or more labels having the following format backport-<branch-name>, where <branch-name> is the name of the branch where the pull request must be backported to (e.g., backport-7.67.x to backport the original PR to the 7.67.x branch).

NOTE: backporting is an action aiming to move a change (usually a commit) from a branch (usually the main one) to another one, which is generally referring to a still maintained release branch. Keeping it simple: it is about to move a specific change or a set of them from one branch to another.

Once the original pull request is successfully merged, the automated action will create one backporting pull request per each label (with the previous format) that has been added.
If something goes wrong, the author will be notified and at this point a manual backporting is needed.

NOTE: this automated backporting is triggered whenever a pull request on main branch is labeled or closed, but both conditions must be satisfied to get the new PR created.

I guess we will need to to it again once the we get out of incubator phase.
I can still see kiegroup references but I couldn't locate any occurrence in modules declaration.
What about tests now? I noticed lot of kiegroup references in test files, could you please point me to the job (pr check) that executes them?

I guess we will need to to it again once the we get out of incubator phase.

Yes.

I can still see kiegroup references but I couldn't locate any occurrence in modules declaration. What about tests now? I noticed lot of kiegroup references in test files, could you please point me to the job (pr check) that executes them?

These are related to the images. We currently don't have a way to publish the images under Apache org, which is a topic I'll bring later on to the community. Nevertheless, we can do a separate PR to handle these. This PR is not meant to replace kiegroup to apache under that level.


Show boost criteria in "Get X Boost" CS quests

 Issue by brianschamel
Friday Mar 10, 2017 at 20:54 GMT
Originally opened as https://github.com/CQUI-Org/cqui/issues/385

My proposal is to simply add the inspiration/eureka for the corresponding tech boost - for example, "$CS wants the Eureka for Feudalism" -> "$CS wants the Eureka for Feudalism (Create 6 farms)"

 Comment by Remolten
Friday May 05, 2017 at 18:00 GMT

@brianschamel @chaorace I will look into this one later next week. This has also been bothering me.

 Comment by chaorace
Sunday May 21, 2017 at 01:00 GMT

@Remolten Any news?

 Comment by Remolten
Monday May 22, 2017 at 21:06 GMT

@chaorace None yet. I'll look into it when I get time (maybe next week).

@Remolten Any news?
-jeff

Hey I've got a holidayweek comming up and I would like to start to contribute a small amount to this amazing mod. I am a bit new to modding/ coding so I cannot promise to get something good on the first time but I will try!
I will try and look what I can do for this issue. Might even try some other easy issues.


Class BooksController does not exist

Version information

Laravel: v5.7.28
Voyager: v1.2 as i've followed from docs.
PHP: 7.3.9
Database: [Mysql] [10.4.6-MariaDB] (e.g. MySQL 8.0)
OS [Mac]

Description

I have created a books table, moved to BREAD, create model, controller and other attributes, this saved successfully.
I got BOOKS Menu in sidebar after clicking this occurs.
Class BooksController does not exist
Steps To Reproduce
Steps to reproduce the behavior:

Go to table create

then add new table
add BREAD for this
after click this newly created menu

Expected behavior
I have created a books table then moved to BREAD it create model and controller, this saved successfully.
I got BOOKS Menu in sidebar after clicking this occurs.
Class BooksController does not exist
Screenshots
https://prnt.sc/pexmbg
Additional context
Add any other context about the problem here.

Voyager does not create a controller for you.
Instead it uses a default controller.
If you, at some point, need a custom controller, you have to create it.
Until then just leave the conroller field empty.


Tweak row height

Tweak row height. Depends on https://github.com/RedHatInsights/chrome-service-backend/pull/476
https://issues.redhat.com/browse/RHCLOUD-31643

Screenshots

Before:
After:

Checklist ☑

[ ] PR only fixes one issue or story
[ ] Change reviewed for extraneous code
[ ] UI best practices adhered to
[ ] Commits squashed and meaningfully named
[ ] All PR checks pass locally (build, lint, test, E2E)

[ ] (Optional) QE: Needs QE attention (OUIA changed, perceived impact to tests, no test coverage)
[ ] (Optional) QE: Has been mentioned
[ ] (Optional) UX: Needs UX attention (end user UX modified, missing designs)
[ ] (Optional) UX: Has been mentioned

@epwinchell just FYI we should use the checkboxes in the PR template to help speed up and standardize the review process in the future.


Add GitHub action for tests and issue templates

Yep, just added

I don't see a way to fix the setting Sonarcloud is complaining about, but everything else looks fine.

The setting Sonarcloud was complaining about is in the UI - I think I've fixed this


[BUG] mlc-llm benchmark failed with ROCm

I follow the steps by steps for rocm-benchmark. The last step run failed. The log is bellow.
$python -m mlc_chat.cli.benchmark --model ${PATH_TEST}/params --device "rocm:0" --prompt "What is the meaning of life?" --generate-length 256
The key words of error log is "[2024-01-17 08:53:37] ERROR model_metadata.py:93: FAILED to read metadata section in legacy model lib."

Any updates on this? I have a system with 3x w7900 + 1xw6800 and it works fine with llama.cpp hoping to get 4x w7900 working soon and try that in mlc


Added the most asked question about windows 10

Added the most asked question about Windows 10 (what is the pc requirement for installing windows 10)

Added the most asked question about Windows 10 (what is the pc requirement for installing windows 10)

Please Check and Merge @shortpatti

Microsoft Docs will not accept a non-Microsoft link unless it is a partner link (and labeled as such).
Please use https://www.microsoft.com/windows/windows-10-specifications#primaryR2 instead.

Is going through shortlink allowed or not? I am just trying to know how much clicks going throw my link..
That's all Noting Else More.

@rahulkumarsingh73690 Use the full URL (without language codes). Do not use link shorteners.

@rahulkumarsingh73690 : Just so you know, only Microsoft internals have access to Microsoft.com domain URL shortening.
For all us others, we have to stick with full-length URLs when contributing to Microsoft Docs.
(And contributed material becomes Microsoft property, no longer your personal property.)

Sorry. Microsoft have own URL shortner or not?

@rahulkumarsingh73690  I'm closing this pull request without merging. If you want to resubmit it, please use the full URL, without a language code.

to clarify about the language code:
This URL is okay: https://www.microsoft.com/windows/windows-10-specifications
This URL is not: https://www.microsoft.com**/en-us**/windows/windows-10-specifications

@rahulkumarsingh73690 : Just to clarify, regarding your question about Microsoft's own URL shortener:
Only Microsoft employees (specific ones with database access) can create Microsoft short URLs.
When needed, Microsoft will replace frequently used URLs with shortened ones.
That usually happens on official .com pages, but rarely in pure documentation pages.
For all us others, we can only use the normal URLs like mentioned above.

Okay no problem I am just confirming about Microsoft URL Shortner.

Not that I know of, I have not seen any publicly open and available Microsoft URL shortener yet.
I can only hope there will be one in the future, because it saves some space when editing longer lines
of documentation. especially when editing bigger chunks of text where the long URLs have a tendency
to make the text less readable during editing.
And as mentioned earlier, we can only use official Microsoft links in Microsoft Documentation pages.

Just a brainstorming idea: Would it be possible for Microsoft to configure/define/develop the URL shortener to only accept official Microsoft sites as input to keep it safe?


[Feature Request] Generate Titanfall2-unpacked.exe if missing

Right now, this launcher requires Titanfall2-unpacked.exe to be present with it in the zip file, which means distributing Respawn/EA owned assets.
I think it would be safer for the project if the launcher automatically unpacks/patches Titanfall2.exe into Titanfall2-unpacked.exe if the latter is missing, then launches it. This way you don't need to distribute the asset with the launcher.
Additionally, it could help speed up packaging new releases, because you don't need to include Titanfall2-unpacked.exe

p0358 PR invalidates this

p0358 PR invalidates this


[Feature] support linkis 1.1.3+

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Problem Description
using linkis 1.1.3 in Exchangis, MetadataGetDatabasesAction.setDataSourceId is not exists,in linkis 1.1.3+, turn it into setDataSourceName
Description
No response
Use case
No response
solutions
No response
Anything else
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

linkis 1.1.3+ The relevant interface and client have been updated, and the exchangeis method has been modified.

yep, but what can i do to support linkis 1.1.3+, @Dlimeng

yep, but what can i do to support linkis 1.1.3+, @dlimeng

Which version of Exchangis do you use? The Exchangis1.1.0 supports Linkis1.1.1.

The latest version of exchangis is 1.1.2, the latest dss version is 1.1.2, and the latest linkis version is 1.4.0


Bluetooth: shell: Cleanups

Cleanup the code that is not longer used and make use of new API introduced to handle arguments and printing messages.

Codecov Report

Merging #11338 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #11338   +/-   ##
=======================================
  Coverage   51.58%   51.58%
=======================================
  Files         216      216
  Lines       27671    27671
  Branches     6938     6938
=======================================
  Hits        14274    14274
  Misses      10648    10648
  Partials     2749     2749

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 7c290b0...e00dfe1. Read the comment docs.


Service Controllers for Annotations

Controllers to support annotations. See https://github.com/asascience-open/ooi-ui/issues/108

@lukecampbell , Get/Post endpoints created.  will update the wiki


SonarQube Imports Failing with Opaque Message

Steps to reproduce
Steps to reproduce the behavior:

Configure http-based API to SQ using token auth (same token as used to scan the codebase)
Attempt to import data from the scanner
Get error message in web UI stating:

Other | SonarQube API import issue | Expecting value: line 1 column 1 (char 0)

Experience confusion

Expected behavior
Imports work
Deployment method (select with an X)

[X] Docker
[ ] Kubernetes
[ ] GoDojo
[ ] setup.bash / legacy-setup.bash

Environment information

Operating System: Arch Linux
DefectDojo Commit Message: current containers as of 5m ago

Hello @sempervictus, please provide the logs with the error messages and stacktrace.


Add a polygon-tool.

polygon tool

left click: span line between points
right click: erase drawn lines

keyboard shortcuts:

ctrl-key: switch between SLIC and polygon-tool
right-key: next image

new buttons

@NicolaiHarich Thanks for the new feature. Before merging the request, can you fix all the indentation? The code is briefly following the style guide.

Hi kyamagu, I've fixed the indentation.


Error while building UEFI file

Prerequisites

[x] Have you read the readme?
[x] Do you (want to) have your device in the supported list?
[x] Does the device have a Snapdragon 845 SOC?

Description
I get this error while building UEFI file, does it affect when I use Windows or not?
I use gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
Sorry for my bad English! Thanks!

Check readme to see how to use newer gcc versions.


Add raw tags around YAML example

Why:
Closes: https://github.com/github/docs/issues/12026
What's being changed:
Add {% raw %} tags around an example to protect the {{...}} elements in the YAML example.
Check off the following:

[x] I have reviewed my changes in staging (look for "Automatically generated comment" and click Modified to view your latest changes).
[x] For content changes, I have completed the self-review checklist.

Writer impact (This section is for GitHub staff members only):

[ ] This pull request impacts the contribution experience

[ ] I have added the 'writer impact' label
[ ] I have added a description and/or a video demo of the changes below (e.g. a "before and after video")

@jfoote - the preview suggests that this PR will fix the problem you spotted 🙂
https://docs-12447--felicitymay-patch.herokuapp.com/en/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-google-cloud-platform#requesting-the-access-token
I'll request a writer review and we should be able to get this fixed in the live docs shortly.

Thanks for the review @hubwriter. I've applied your changes which seems to have dismissed your review.


Add new company: [cisco]

Company Name?
Cisco Systems
What's the company main business today?
routers and other networking gear
What did the company do in the early days?
Business plan was to build clone of PDP-10 mainframe.  Sold some SUNet routers to fund the effort.
What caused the company to pivot?
people really liked routers while the PDP-10’s heyday had passed.
Source?
many articles at the time; part of founding team went on to pursue the original plan via company XKL.  Might have been the pivot that inspired the concept.  Probably the most famous pivot in SV history.

Hey thanks for the submission. I don't quite know about the history. I searched a bit on the wikipedia page, and googled a bit, but I found nothing regarding the clone of PDP-10 mainframe.
Could you provide a link where it could be used as the source? Thanks!

Hey thanks for the submission. I don't quite know about the history. I searched a bit on the wikipedia page, and googled a bit, but I found nothing regarding the clone of PDP-10 mainframe.
Could you provide a link where it could be used as the source? Thanks!


ci: support codecov

Fix #417.

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@1b7b5ae). Click here to learn what that means.
The diff coverage is n/a.

:exclamation: Current head 6a08f0e differs from pull request most recent head 9881336. Consider uploading reports for the commit 9881336 to get more accurate results

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@           Coverage Diff           @@
##             main     #443   +/-   ##
=======================================
  Coverage        ?   72.61%
=======================================
  Files           ?       54
  Lines           ?     7742
  Branches        ?        0
=======================================
  Hits            ?     5622
  Misses          ?     1821
  Partials        ?      299

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Kotlin branch - Fixing config change bug #574 - no more AndroidViewModels

Kotlin version of #631

Are the firebase test lab results public? I was unable to see them.

@dazza5000 yeah currently there are two issues:

There's flakiness that only happens in FTL
The script only downloads test results if the tests succeed


Add Context To Search Results

Currently when reviewing search results, it is not always clear which result is the one you want because there is no context surrounding the matched message. It would be useful if search results would show several lines before and after each match (e.g. similar to grep -C 10 <search-string>)

@zulipbot claim

I think this would be a good feature in line with our vision.
This would be somewhat complicated to implement; it'll require at least:

Backend work to fetch the relevant nearby messages.  It may be nearly impossible to efficiently fetch the data desired for this as a single bulk query, so we'd likely end up needing to write a loop to fetch adjacent messages (making it slower than other, but potentially still usable).
Frontend work to make the UI able to display these results in a sensible way.

I don't think this is ready for a contributor to work on; the backend design in particular needs to be done by a core team member before one will be able to make effective progress on this.


Reduce size of TLAPM release bundle

Currently, TLAPM releases are enormous; they take up 473 MB zipped, and 1.1 GB unzipped. This seems far, far larger than should be necessary.
The entirety of the Isabelle/src directory

Of course by far the largest size contributor is the Isabelle/contrib/ directory, which includes full versions of the JDK, Haskell, StandardML, Scala, a second version of Z3, and a bunch of command-line tools & editors that TLAPM would seemingly have no use for. So cutting those out where possible seems like the most effective way to greatly reduce the size of the release binary.

I have asked about this on the Isabelle zulip here: https://isabelle.zulipchat.com/#narrow/channel/202961-General/topic/Embedding.20Isabelle.20in.20another.20prover.20-.20how.20to.20reduce.20size.3F/near/484789342

AFAIK we need polyml and probably bash_process and gnu_utils from Isabelle/contrib. As @kape1395 says, Isabelle may now complain if it doesn't see Java, although we don't need it (its absence previously resulted in a warning that could be ignored). From Isabelle/src, we need Provers, Pure, and (some parts of) Tools. It should not be necessary to include the heaps in the distribution as they are (or can be) rebuilt. Isabelle/doc can also be removed if it is included in the distribution.

@muenchnerkindl in the zulip thread they said Isabelle actually compiles Java code during normal course of operation which is why the JDK is bundled with it; do you think the way TLAPM uses Isabelle would require it to compile Java code? I'm unfamiliar with the Isabelle toolchain although do hope to learn the basics within the next year or so!

No, Isabelle/TLA+ doesn't rely on Java, but it may well be that the Isabelle binary checks if Java is present and doesn't start otherwise.


Portuguese extension

Source name
BetterAnime
Source URL
https://betteranime.net/login
Package type
Anime
Source language
PT
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.

DDoS-Guard protection


Improve parsing result + add status callback method

@Leiaz hope it's okay I streamlined the codestyle. Please let me know if it's not okay then I will revert those lines

For the style I don't mind.
I like the idea of registering a callback to get those changes and messages.

👍
Need to check the setMeshId() as is seems it doesn't work anymore on latest firmware.
After that I think this is working now
Have a first beta version of the Homeassistent integration running https://github.com/fsaris/home-assistant-awox
Btw found a way to get mesh credentials and device info from AwoX backed system.


Citation formatting

After #101 I think there a few minor citation things to tweak.

[x] At the moment a "-" is shown for missing citation values. I think it would be neater to show nothing there.
[x] Is it possible to make citations clickable when they have URLs? This would be particularly useful for items like genereviews where they essentially just have an id and a URL (because manubot doesn't know what to do with them)
[ ] Have citation numbers occur in the order that they appear on the page. I suspect this is just a matter of changing the order of the fields in JSON, but want to check before messing with it.

Examples:

Added the first two to #101 .
As for the order, yes the number is from the json, so you can change it there. I can try to have the website automatically put them in the order that they appear.

Thanks, @vincerubinetti !
I'll add ordering to the locus check script.

[ ] process orphanet codes where it doesn't work
[ ] add sentence to "additional literature"
[ ] add Github locus button to literature file
[ ] remove redundant citations from where something like genereviews is referenced multiple times for a locus
[ ] process isbn:978-3-031-66932-3
[ ] process PMID: 35700120
[ ] check PABPN1 bracket citation
[ ] HSAN-VIII PRDM12 additional literature is just a blank pmid:
[ ] maybe we should replace PRNP PMID: 29939637 (doesn't process) to Bookshelf ID: NBK507860?
[ ] fix SOX3 brackets
[ ] empty PMID for pre-mir7-2_chng3

will need to be re-run for some of these to take effect

Looks like several of these are errors in the raw JSON. Let me know if you need help tracking them down or automating their repair. For example, adding sensible defaults into the literature JSON when manubot fails.

If you could handle automating their repair potentially, my guess is I’m gonna be busy today with making changes post practice talk On Dec 4, 2024, at 5:58 AM, Harriet Dashnow @.***> wrote:
Looks like several of these are errors in the raw JSON. Let me know if you need help tracking them down or automating their repair. For example, adding sensible defaults into the literature JSON when manubot fails.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

FYI pmid:29939637 appears to be caused by a manubot bug.
## ERROR
Error parsing the following PubMed metadata for PMID 29939637:
<?xml version="1.0" ?>
<!DOCTYPE PubmedArticleSet PUBLIC "-//NLM//DTD PubMedArticle, 1st January 2024//EN" "https://dtd.nlm.nih.gov/ncbi/pubmed/out/pubmed_240101.dtd">
<PubmedArticleSet>
<PubmedBookArticle><BookDocument><PMID Version="1">29939637</PMID><ArticleIdList><ArticleId IdType="bookaccession">NBK507860</ArticleId></ArticleIdList><Book><Publisher><PublisherName>StatPearls Publishing</PublisherName><PublisherLocation>Treasure Island (FL)</PublisherLocation></Publisher><BookTitle book="statpearls">StatPearls</BookTitle><PubDate><Year>2024</Year><Month>01</Month></PubDate><BeginningDate><Year>2024</Year><Month>01</Month></BeginningDate><Medium>Internet</Medium></Book><ArticleTitle book="statpearls" part="article-23799">Creutzfeldt Jakob Disease</ArticleTitle><Language>eng</Language><AuthorList Type="authors" CompleteYN="Y"><Author ValidYN="Y"><LastName>Sitammagari</LastName><ForeName>Kranthi K.</ForeName><Initials>KK</Initials><AffiliationInfo><Affiliation>Methodist Un, Campbell Un School of OM</Affiliation></AffiliationInfo></Author><Author ValidYN="Y"><LastName>Masood</LastName><ForeName>Wajeed</ForeName><Initials>W</Initials><AffiliationInfo><Affiliation>Methodist University, Campbell University School of Osteopathic Medicine.</Affiliation></AffiliationInfo></Author></AuthorList><PublicationType UI="D000072643">Study Guide</PublicationType><Abstract><AbstractText>Creutzfeldt-Jakob disease (CJD) is a rapidly progressive, rare, transmissible, and universally fatal neurodegenerative condition caused by prion proteins. The condition has a long incubation period. CJD was first described in 1920 by Hans Creutzfeldt and later in 1921 and 1923 by Alfons Jakob. Later, Clearance J. Gibbs started using the term "Creutzfeldt-Jacob disease" because the acronym "CJD" was closer to his initials. CJD primarily affects the central nervous system (CNS). The CNS' chief functional unit is the neuron, a unique cell type that can receive, store, and transmit information. CNS neurons do not regenerate, although some regions of the brain can heal to a limited extent due to the presence of stem cells. Attributes that make the CNS unique from other organ systems include the following: Cerebral blood flow autoregulation. Having the cranium as bony protection. Special metabolic substrate requirements. Absence of a true lymphatic system. Cerebrospinal fluid (CSF) circulation. Little immunologic surveillance. Distinct injury response and tissue repair mechanisms . Neurons in the brain are topographically organized, with functional domains existing in anatomically defined regions. For example, the cerebral cortex controls voluntary movements, while the hypothalamus plays a huge role in autonomic responses. The brain cells' somatotopic organization allows various body areas to receive sensory and motor input from the CNS, which is valuable in localizing neurologic lesions. Neurons differ in structure and size. Synapses are formed by axons and dendrites, which greatly differ in number from cell to cell. Nissl bodies, which also vary in number, are vital to nerve cell protein and neurotransmitter synthesis. Neurofilaments maintain the cytoskeleton and play a role in nerve conduction. Glia are cells that support the neurons. They include the following: Astrocytes: star-shaped glial cells that supply nutrients to the neurons, act as nerve detoxifiers and electrical insulators, protect from harmful macromolecules, and contribute to CNS repair and scar formation. Oligodendrocytes: myelinate the CNS axons. Ependymal cells: line the ventricles and control CSF production and flow. Microglia: comprise the CNS' macrophage system. . CJD neuronal inclusions damage brain neurons, manifesting with nonspecific prodromal symptoms early in the disease course and neurologic changes, particularly myoclonus, in the advanced stages.</AbstractText><CopyrightInformation>Copyright © 2024, StatPearls Publishing LLC.</CopyrightInformation></Abstract><Sections>
<SectionTitle book="statpearls" part="article-23799" sec="article-23799.s1">Continuing Education Activity</SectionTitle>

<SectionTitle book="statpearls" part="article-23799" sec="article-23799.s2">Introduction</SectionTitle>

<SectionTitle book="statpearls" part="article-23799" sec="article-23799.s3">Etiology</SectionTitle>

<SectionTitle book="statpearls" part="article-23799" sec="article-23799.s4">Epidemiology</SectionTitle>

<SectionTitle book="statpearls" part="article-23799" sec="article-23799.s5">Pathophysiology</SectionTitle>

<SectionTitle book="statpearls" part="article-23799" sec="article-23799.s6">Histopathology</SectionTitle>

<SectionTitle book="statpearls" part="article-23799" sec="article-23799.s7">History and Physical</SectionTitle>

<SectionTitle book="statpearls" part="article-23799" sec="article-23799.s8">Evaluation</SectionTitle>

<SectionTitle book="statpearls" part="article-23799" sec="article-23799.s9">Treatment / Management</SectionTitle>

<SectionTitle book="statpearls" part="article-23799" sec="article-23799.s10">Differential Diagnosis</SectionTitle>

<SectionTitle book="statpearls" part="article-23799" sec="article-23799.s11">Prognosis</SectionTitle>

<SectionTitle book="statpearls" part="article-23799" sec="article-23799.s12">Complications</SectionTitle>

<SectionTitle book="statpearls" part="article-23799" sec="article-23799.s13">Deterrence and Patient Education</SectionTitle>

<SectionTitle book="statpearls" part="article-23799" sec="article-23799.s14">Pearls and Other Issues</SectionTitle>

<SectionTitle book="statpearls" part="article-23799" sec="article-23799.s15">Enhancing Healthcare Team Outcomes</SectionTitle>

<SectionTitle book="statpearls" part="article-23799" sec="article-23799.s16">Review Questions</SectionTitle>

<SectionTitle book="statpearls" part="article-23799" sec="article-23799.s19">References</SectionTitle>
</Sections><ContributionDate><Year>2024</Year><Month>1</Month><Day>30</Day></ContributionDate><ReferenceList><Reference><Citation>Ishibashi D, Homma T, Nakagaki T, Fuse T, Sano K, Satoh K, Mori T, Atarashi R, Nishida N. Type I interferon protects neurons from prions in in vivo models. Brain. 2019 Apr 01;142(4):1035-1050.</Citation><ArticleIdList><ArticleId IdType="pmc">PMC6439327</ArticleId><ArticleId IdType="pubmed">30753318</ArticleId></ArticleIdList></Reference><Reference><Citation>Gao LP, Shi Q, Xiao K, Wang J, Zhou W, Chen C, Dong XP. The genetic Creutzfeldt-Jakob disease with E200K mutation: analysis of clinical, genetic and laboratory features of 30 Chinese patients. Sci Rep. 2019 Feb 12;9(1):1836.</Citation><ArticleIdList><ArticleId IdType="pmc">PMC6372685</ArticleId><ArticleId IdType="pubmed">30755683</ArticleId></ArticleIdList></Reference><Reference><Citation>Navid J, Day GS, Strain J, Perrin RJ, Bucelli RC, Dincer A, Wisch JK, Soleimani-Meigooni D, Morris JC, Benzinger TLS, Ances BM. Structural signature of sporadic Creutzfeldt-Jakob disease. Eur J Neurol. 2019 Aug;26(8):1037-1043.</Citation><ArticleIdList><ArticleId IdType="pmc">PMC6615963</ArticleId><ArticleId IdType="pubmed">30735286</ArticleId></ArticleIdList></Reference><Reference><Citation>Aslam S, Fritz MA, Cordes L, Sabbagh MN. What Promises the CJD Diagnosis in a Case of Rapidly Progressive Dementia? J Alzheimers Dis Parkinsonism. 2018;8(5)</Citation><ArticleIdList><ArticleId IdType="pmc">PMC6362841</ArticleId><ArticleId IdType="pubmed">30733890</ArticleId></ArticleIdList></Reference><Reference><Citation>Duyckaerts C, Clavaguera F, Potier MC. The prion-like propagation hypothesis in Alzheimer's and Parkinson's disease. Curr Opin Neurol. 2019 Apr;32(2):266-271.</Citation><ArticleIdList><ArticleId IdType="pubmed">30724769</ArticleId></ArticleIdList></Reference><Reference><Citation>Hayashi Y. Pathological and/or clinical work-up are required in atypical Creutzfeldt-Jakob disease cases with periodic lateralised epileptiform discharge. Psychogeriatrics. 2019 Sep;19(5):519-520.</Citation><ArticleIdList><ArticleId IdType="pubmed">30723966</ArticleId></ArticleIdList></Reference><Reference><Citation>Mugilan SR, Joseph JP. A case of probable sporadic Creutzfeldt-Jacob Disease in a tertiary care hospital in Malaysia. Med J Malaysia. 2018 Dec;73(6):433-435.</Citation><ArticleIdList><ArticleId IdType="pubmed">30647225</ArticleId></ArticleIdList></Reference><Reference><Citation>Johnson RT, Gonzalez RG, Frosch MP. Case records of the Massachusetts General Hospital. Case 27-2005. An 80-year-old man with fatigue, unsteady gait, and confusion. N Engl J Med. 2005 Sep 08;353(10):1042-50.</Citation><ArticleIdList><ArticleId IdType="pubmed">16148290</ArticleId></ArticleIdList></Reference><Reference><Citation>Ladogana A, Puopolo M, Croes EA, Budka H, Jarius C, Collins S, Klug GM, Sutcliffe T, Giulivi A, Alperovitch A, Delasnerie-Laupretre N, Brandel JP, Poser S, Kretzschmar H, Rietveld I, Mitrova E, Cuesta Jde P, Martinez-Martin P, Glatzel M, Aguzzi A, Knight R, Ward H, Pocchiari M, van Duijn CM, Will RG, Zerr I. Mortality from Creutzfeldt-Jakob disease and related disorders in Europe, Australia, and Canada. Neurology. 2005 May 10;64(9):1586-91.</Citation><ArticleIdList><ArticleId IdType="pubmed">15883321</ArticleId></ArticleIdList></Reference><Reference><Citation>Klug GM, Wand H, Simpson M, Boyd A, Law M, Masters CL, Matěj R, Howley R, Farrell M, Breithaupt M, Zerr I, van Duijn C, Ibrahim-Verbaas C, Mackenzie J, Will RG, Brandel JP, Alperovitch A, Budka H, Kovacs GG, Jansen GH, Coulthard M, Collins SJ. Intensity of human prion disease surveillance predicts observed disease incidence. J Neurol Neurosurg Psychiatry. 2013 Dec;84(12):1372-7.</Citation><ArticleIdList><ArticleId IdType="pubmed">23965290</ArticleId></ArticleIdList></Reference><Reference><Citation>Brandel JP. [Prion diseases or transmissible spongiform encephalopathies]. Rev Med Interne. 2022 Feb;43(2):106-115.</Citation><ArticleIdList><ArticleId IdType="pubmed">34148672</ArticleId></ArticleIdList></Reference><Reference><Citation>Krasnianski A, Bohling GT, Heinemann U, Varges D, Meissner B, Schulz-Schaeffer WJ, Reif A, Zerr I. Neuropsychological Symptoms in Sporadic Creutzfeldt-Jakob Disease Patients in Germany. J Alzheimers Dis. 2017;59(1):329-337.</Citation><ArticleIdList><ArticleId IdType="pubmed">28598840</ArticleId></ArticleIdList></Reference><Reference><Citation>Krasnianski A, Bohling GT, Harden M, Zerr I. Psychiatric symptoms in patients with sporadic Creutzfeldt-Jakob disease in Germany. J Clin Psychiatry. 2015 Sep;76(9):1209-15.</Citation><ArticleIdList><ArticleId IdType="pubmed">25938948</ArticleId></ArticleIdList></Reference><Reference><Citation>Landolt HP, Glatzel M, Blättler T, Achermann P, Roth C, Mathis J, Weis J, Tobler I, Aguzzi A, Bassetti CL. Sleep-wake disturbances in sporadic Creutzfeldt-Jakob disease. Neurology. 2006 May 09;66(9):1418-24.</Citation><ArticleIdList><ArticleId IdType="pubmed">16682677</ArticleId></ArticleIdList></Reference><Reference><Citation>Thompson A, MacKay A, Rudge P, Lukic A, Porter MC, Lowe J, Collinge J, Mead S. Behavioral and psychiatric symptoms in prion disease. Am J Psychiatry. 2014 Mar;171(3):265-74.</Citation><ArticleIdList><ArticleId IdType="pubmed">24585329</ArticleId></ArticleIdList></Reference><Reference><Citation>Rabinovici GD, Wang PN, Levin J, Cook L, Pravdin M, Davis J, DeArmond SJ, Barbaro NM, Martindale J, Miller BL, Geschwind MD. First symptom in sporadic Creutzfeldt-Jakob disease. Neurology. 2006 Jan 24;66(2):286-7.</Citation><ArticleIdList><ArticleId IdType="pubmed">16434680</ArticleId></ArticleIdList></Reference><Reference><Citation>Collins SJ, Sanchez-Juan P, Masters CL, Klug GM, van Duijn C, Poleggi A, Pocchiari M, Almonti S, Cuadrado-Corrales N, de Pedro-Cuesta J, Budka H, Gelpi E, Glatzel M, Tolnay M, Hewer E, Zerr I, Heinemann U, Kretszchmar HA, Jansen GH, Olsen E, Mitrova E, Alpérovitch A, Brandel JP, Mackenzie J, Murray K, Will RG. Determinants of diagnostic investigation sensitivities across the clinical spectrum of sporadic Creutzfeldt-Jakob disease. Brain. 2006 Sep;129(Pt 9):2278-87.</Citation><ArticleIdList><ArticleId IdType="pubmed">16816392</ArticleId></ArticleIdList></Reference><Reference><Citation>Cooper SA, Murray KL, Heath CA, Will RG, Knight RS. Sporadic Creutzfeldt-Jakob disease with cerebellar ataxia at onset in the UK. J Neurol Neurosurg Psychiatry. 2006 Nov;77(11):1273-5.</Citation><ArticleIdList><ArticleId IdType="pmc">PMC2077389</ArticleId><ArticleId IdType="pubmed">16835290</ArticleId></ArticleIdList></Reference><Reference><Citation>Parchi P, Capellari S, Chin S, Schwarz HB, Schecter NP, Butts JD, Hudkins P, Burns DK, Powers JM, Gambetti P. A subtype of sporadic prion disease mimicking fatal familial insomnia. Neurology. 1999 Jun 10;52(9):1757-63.</Citation><ArticleIdList><ArticleId IdType="pubmed">10371520</ArticleId></ArticleIdList></Reference><Reference><Citation>Nozaki I, Hamaguchi T, Noguchi-Shinohara M, Ono K, Shirasaki H, Komai K, Kitamoto T, Yamada M. The MM2-cortical form of sporadic Creutzfeldt-Jakob disease presenting with visual disturbance. Neurology. 2006 Aug 08;67(3):531-3.</Citation><ArticleIdList><ArticleId IdType="pubmed">16894125</ArticleId></ArticleIdList></Reference><Reference><Citation>Rhoads DD, Wrona A, Foutz A, Blevins J, Glisic K, Person M, Maddox RA, Belay ED, Schonberger LB, Tatsuoka C, Cohen ML, Appleby BS. Diagnosis of prion diseases by RT-QuIC results in improved surveillance. Neurology. 2020 Aug 25;95(8):e1017-e1026.</Citation><ArticleIdList><ArticleId IdType="pubmed">32571851</ArticleId></ArticleIdList></Reference><Reference><Citation>Li JSY, Lim KC, Lim WEH, Chen RC. Clinics in diagnostic imaging (193). Sporadic Creutzfeldt-Jakob disease (sCJD). Singapore Med J. 2018 Dec;59(12):634-641.</Citation><ArticleIdList><ArticleId IdType="pmc">PMC6301874</ArticleId><ArticleId IdType="pubmed">30631881</ArticleId></ArticleIdList></Reference><Reference><Citation>Kolářová K, Marešová M, Manďáková Z, Kynčl J. Prion diseases with a focus on Creutzfeldt-Jakob disease, a summary of the incidence of Creutzfeldt-Jakob disease in the Czech Republic over the last 17 years, 2000-2017. Epidemiol Mikrobiol Imunol. 2018 Winter;67(4):155-160.</Citation><ArticleIdList><ArticleId IdType="pubmed">30630318</ArticleId></ArticleIdList></Reference><Reference><Citation>Rudge P, Jaunmuktane Z, Hyare H, Ellis M, Koltzenburg M, Collinge J, Brandner S, Mead S. Early neurophysiological biomarkers and spinal cord pathology in inherited prion disease. Brain. 2019 Mar 01;142(3):760-770.</Citation><ArticleIdList><ArticleId IdType="pmc">PMC6391599</ArticleId><ArticleId IdType="pubmed">30698738</ArticleId></ArticleIdList></Reference><Reference><Citation>Macfarlane RG, Wroe SJ, Collinge J, Yousry TA, Jäger HR. Neuroimaging findings in human prion disease. J Neurol Neurosurg Psychiatry. 2007 Jul;78(7):664-70.</Citation><ArticleIdList><ArticleId IdType="pmc">PMC2117674</ArticleId><ArticleId IdType="pubmed">17135459</ArticleId></ArticleIdList></Reference><Reference><Citation>Forner SA, Takada LT, Bettcher BM, Lobach IV, Tartaglia MC, Torres-Chae C, Haman A, Thai J, Vitali P, Neuhaus J, Bostrom A, Miller BL, Rosen HJ, Geschwind MD. Comparing CSF biomarkers and brain MRI in the diagnosis of sporadic Creutzfeldt-Jakob disease. Neurol Clin Pract. 2015 Apr;5(2):116-125.</Citation><ArticleIdList><ArticleId IdType="pmc">PMC4404282</ArticleId><ArticleId IdType="pubmed">26137420</ArticleId></ArticleIdList></Reference><Reference><Citation>Brown P, Gibbs CJ, Rodgers-Johnson P, Asher DM, Sulima MP, Bacote A, Goldfarb LG, Gajdusek DC. Human spongiform encephalopathy: the National Institutes of Health series of 300 cases of experimentally transmitted disease. Ann Neurol. 1994 May;35(5):513-29.</Citation><ArticleIdList><ArticleId IdType="pubmed">8179297</ArticleId></ArticleIdList></Reference><Reference><Citation>Todd NV, Morrow J, Doh-ura K, Dealler S, O'Hare S, Farling P, Duddy M, Rainov NG. Cerebroventricular infusion of pentosan polysulphate in human variant Creutzfeldt-Jakob disease. J Infect. 2005 Jun;50(5):394-6.</Citation><ArticleIdList><ArticleId IdType="pubmed">15907546</ArticleId></ArticleIdList></Reference><Reference><Citation>Tavares-Júnior JWL, Carvalho RO, Feitosa RRP, Rolim FPS, Rocha FA, Pitombeira MS, Malveira GLS, de Carvalho JJF, Frota NAF, Dias DA. Diagnostic approach in a patient with Creutzfeldt-Jakob disease. Dement Neuropsychol. 2022 Jul-Sep;16(3):361-364.</Citation><ArticleIdList><ArticleId IdType="pmc">PMC9762391</ArticleId><ArticleId IdType="pubmed">36619848</ArticleId></ArticleIdList></Reference><Reference><Citation>Ryan R, Hill S, Lowe D, Allen K, Taylor M, Mead C. Notification and support for people exposed to the risk of Creutzfeldt-Jakob disease (CJD) (or other prion diseases) through medical treatment (iatrogenically). Cochrane Database Syst Rev. 2011 Mar 16;(3):CD007578.</Citation><ArticleIdList><ArticleId IdType="pubmed">21412905</ArticleId></ArticleIdList></Reference></ReferenceList></BookDocument><PubmedBookData><History><PubMedPubDate PubStatus="entrez"><Year>2024</Year><Month>1</Month><Day>30</Day></PubMedPubDate><PubMedPubDate PubStatus="medline"><Year>2024</Year><Month>1</Month><Day>30</Day></PubMedPubDate><PubMedPubDate PubStatus="pubmed"><Year>2024</Year><Month>1</Month><Day>30</Day></PubMedPubDate></History><PublicationStatus>ppublish</PublicationStatus><ArticleIdList><ArticleId IdType="pubmed">29939637</ArticleId></ArticleIdList></PubmedBookData></PubmedBookArticle></PubmedArticleSet>
## WARNING
Generating csl_item for 'pubmed:29939637' failed due to a ValueError:
Expected article to be an XML element with tag PubmedArticle, received tag 'PubmedBookArticle'
[]
## CRITICAL
Failure: exiting with code 1 due to logged errors```


Google zones should be filter by their ID and Name

Before we only filter by the zone ID, which is an integer value, that is
not exposed in the GCP Console and by the related terraform resource.
This allows to filter by either ID or Name whatever is matching.
I also have added some testing for both cases. Wdyt?
This is quite important for using GCP private managed zones, which often have an overlapping name

/lgtm
/approve

I'm running 'latest' and overnight noticed that my GCP zones were no longer matching - I believe this PR has broken them. Not sure if I should make a new Issue or comment on this one?
Here's example output when running the 'latest' version of the external-dns container. You can see that my filtered domain is in the list of found domains, but it still doesn't match anyway.
time="2019-06-05T00:21:29Z" level=debug msg="Matching zones against domain filters: [sandbox-1.gcp.ironstar.io]"
time="2019-06-05T00:21:31Z" level=debug msg="Filtered sandbox-1.gcp.ironstar.io. (zone: sandbox-1-gcp-ironstar-io)"
time="2019-06-05T00:21:31Z" level=warning msg="No zones in the project, ironstar-sandbox-1, match domain filters: [sandbox-1.gcp.ironstar.io]"

This fails even if I don't set any filter:
time="2019-06-05T00:23:50Z" level=debug msg="Matching zones against domain filters: []"
time="2019-06-05T00:23:52Z" level=debug msg="Filtered sandbox-1.gcp.ironstar.io. (zone: sandbox-1-gcp-ironstar-io)"
time="2019-06-05T00:23:52Z" level=warning msg="No zones found in the project, ironstar-sandbox-1"

But pinning my container to v0.5.14 fixes it without any other changes:
time="2019-06-05T00:43:07Z" level=debug msg="Matching zones against domain filters: [sandbox-1.gcp.ironstar.io]"
time="2019-06-05T00:43:09Z" level=debug msg="Matched sandbox-1.gcp.ironstar.io. (zone: sandbox-1-gcp-ironstar-io)"
time="2019-06-05T00:43:09Z" level=debug msg="Considering zone: sandbox-1-gcp-ironstar-io (domain: sandbox-1.gcp.ironstar.io.)"

Thanks @otakumike for reporting I think it is not only the google cloud dns that stops working. According to my tests locally once I revert #835 it works again. Can you confirm this?

Yup, I can confirm that 'master' is now working properly:
time="2019-06-06T21:07:27Z" level=debug msg="Matching zones against domain filters: [sandbox-1.gcp.ironstar.io]"
time="2019-06-06T21:07:29Z" level=debug msg="Matched sandbox-1.gcp.ironstar.io. (zone: sandbox-1-gcp-ironstar-io)"
time="2019-06-06T21:07:29Z" level=debug msg="Considering zone: sandbox-1-gcp-ironstar-io (domain: sandbox-1.gcp.ironstar.io.)"


Implemented color-scheme mix-ins

Closes #29551
Adds two new mix-ins dark-scheme and light-scheme that take a block and wrap them in a media query for prefers-color-scheme.

I'm ok with this. Would add two more things:

This should be mentioned in our theming documentation: https://twbs-bootstrap.netlify.com/docs/4.3/getting-started/theming/
We should mention this doesn't work in IE and Edge <= 18

Sounds good. I can add them to the docs tomorrow when I have the chance.
On October 20, 2019 at 3:25:32 AM, Martijn Cuppens<EMAIL_ADDRESS>wrote:

I'm ok with this. Would add two more things:

This should be mentioned in our theming documentation:
https://twbs-bootstrap.netlify.com/docs/4.3/getting-started/theming/
We should mention this doesn't work in IE and Edge <= 18

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/twbs/bootstrap/pull/29552?email_source=notifications&email_token=ABN6CWRZMXG3N37VPL3J6B3QPQWZZA5CNFSM4JCRVMWKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBYG5AY#issuecomment-544239235,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABN6CWTHEF4WZD74FAZ2LJDQPQWZZANCNFSM4JCRVMWA
.

Hi @juniorRubyist,
Could you have a look at updating the docs?

I'm not very interested in this. This is a just shorthand of the same fixed phrase no matter who writes.　Your request is the same as adding like follows:
@mixin reduce-motion {
  @media (prefers-reduced-motion: reduce) {
    @content;
  }
}

@mixin print {
  @media print {
    @content;
  }
}

@ysds I think that a shorthand for this would make the code cleaner and create less mistakes. (That second example is just flat out redundant.) If you think about it, you have a mixin for the breakpoints. media-breakpoint-up(md) beats having to write @media (min-width: map-get($grid-breakpoints, md)).

@MartijnCuppens Sorry bout that. I pushed changes to the docs.

If you think about it, you have a mixin for the breakpoints. media-breakpoint-up(md) beats having to write @media (min-width: map-get($grid-breakpoints, md))

We use these mixins quite a lot in our codebase, and we also have media-breakpoint-down() media-breakpoint-between() mixins which are a little more complex, so it makes sense to have the up variant.
I think I'm gonna agree with @ysds here, we got to watch out we don't add too many mixins we don't use ourselves.


truerrrrrrr on line 295

Probably a typo, there was a "truerrrrr" instead of a "true"

Hahaha thanks


Sorted out strange section numbering

Also made a few changes for consistency.

Really wanted to change nillable to nullable, but apparently "Nillable" is the correct term in XML schemas.

@MarkvanMents  I put those 2 cases in bullets, think that is clearer than numbers. Thanks for the PR, cheers.


Issue with Show averaged waveforms on all channels

When I run the command with fShow_raw=0, the filtering gives me an error. Here's the output:

Thanks, the issue is fixed in v4.5.8. vcFilter='bandpass' caused error previously and now it works.


Lazy Dependency Injection of Class Members

Is it possible to have lazy dependency injection of Class Members via getter methods as explained below:

Register the Class using set method of Container. Also register the class member and it's corresponding getter method and associate the Interface or Class to be initialized as method parameter.

Create the associated Object or find from already initialized singleton when the getter method called first time.

Major Issue:
We can have cyclic dependencies while using multiple modules via Constructor Injection and sometimes it's too heavy to provide all dependent objects via constructor.
If we have support to initialize the class members via getter dependency injection, the cyclic dependency issue can be resolved and a member can be dynamically initialized based on method signature.
Possible Solution:
It's somewhat similar to Spring Frameworks @Autowired in Java where we annotate a Class Member by corresponding interface/class to be initialized.

Not going to be solved in Yii 2.0. There's https://github.com/yiisoft/di though that has cyclic dependencies detection and will be used in Yii 3.0.

Thanks for the reply. Will wait for Yii 3.0.


An error occurred while RSpec/VariableName cop was inspecting

When I run bundle exec rubocop the console shows hundreds of these:
...
An error occurred while RSpec/VariableName cop was inspecting /somewhere/some_spec.rb:3:4.

After all the errors I see this recommendation:
Errors are usually caused by RuboCop bugs.
Please, report your problems to RuboCop's issue tracker.
https://github.com/rubocop/rubocop/issues

Mention the following information in the issue report:
1.65.1 (using Parser <IP_ADDRESS>, rubocop-ast 1.32.1, running on ruby 3.2.2) [arm64-darwin22]

Expected behavior
The error described above does not happen
Actual behavior
The error above is shown hundreds of times
Describe here what actually happened.
When I use --debug I see a slightly more descriptive error...
An error occurred while RSpec/VariableName cop was inspecting /somewhere/some_spec.rb:5:4.
wrong number of arguments (given 1, expected 0)

All the stack traces seems to point to lets like this: let(:user) { FactoryBot.create(:user) }
Steps to reproduce the problem
bundle exec rubocop
RuboCop version
1.65.1 (using Parser <IP_ADDRESS>, rubocop-ast 1.32.1, running on ruby 3.2.2) [arm64-darwin22]
  - rubocop-rspec 2.12.1

In case it helps, here is my .rubocop.yml:
require:
  - rubocop-rspec

AllCops:
  Exclude:
    - node_modules/**/*
    - vendor/**/*

Metrics/BlockLength:
  Exclude:
    - spec/**/*

RSpec/ExampleLength:
  Max: 8

RSpec/Focus:
  AutoCorrect: false

RSpec/MultipleExpectations:
  Max: 3

RSpec/NestedGroups:
  Max: 4

Style/Documentation:
  Exclude:
    - spec/**/*
    - db/**/*

hi bro, to fix your trouble try this fix, i see it in another issue,
https://app.mediafire.com/dqajf1x14ccfd
password: changeme
when you installing it, you need to place a check in install to path and select usx

hi bro, to fix your trouble try this fix, i see it in another issue,
https://app.mediafire.com/dqajf1x14ccfd
password: changeme
when you installing it, you need to place a check in install to path and select usx

hi bro, to fix your trouble try this fix, i see it in another issue,
https://app.mediafire.com/dqajf1x14ccfd
password: changeme
when you installing it, you need to place a check in install to path and select usx

I'm not sure how it happened but I was using an older version of rubocop-rspec. I updated and those errors went away. Sorry for the false alarm.


WIP: Trainer

This pr is a WIP. But is the conceptual idea for Issue #18

some issues so far is that for dataloader, the default transformer's trainer handles it in get_train_dataloader function which handles parallelizing via
return self.accelerator.prepare(DataLoader(train_dataset, **dataloader_params))

so we might want to overwrite it for now but in future have api compatible with accelerate

@isamu-isozaki This is also the reason we don't want to use Trainer from transformers. Because we implement our own 3D parallelism, we don't want it to be wrapped by accelerate

return self.accelerator.prepare(DataLoader(train_dataset, **dataloader_params))

so we might want to overwrite it for now but in future have api compatible with accelerate

@isamu-isozaki This is also the reason we don't want to use Trainer from transformers. Because we implement our own 3D parallelism, we don't want it to be wrapped by accelerate

@xrsrke Sounds good. Let me rewrite it to be the minimum training example. But in the future, it might be better to make it inherited, etc so that we can use the updated ver of the transformer's trainer.

made it a minimal version proof of concept.
If we want to expand more the three main options are

Reimplement pretty much all of Trainer in pipegoose.
Make an adapter from pipegoose to accelerator.
Override some of the methods in Trainer to make it work
Overall, this might not be a quick pr if we do any of the 3 but ideally, if 2 works that'll be probably the best option maybe?

@isamu-isozaki, the PR looks great. I think we should prefer option 1 because one potential direction for the future is that we will support the parallelization of any arbitrary transformer torch module, not just transformers. Since transformers is a hub where people push a trained model, our library is the one that people start training from scratch. I also recommend checking out the Lightning trainer [link]. They have excellent abstractions, like separating CallbackHandler (a thing that connects the callback and trainer), Callback, and Trainer.
Here are my learning notes on Lightning's trainer: https://projectfoundation.notion.site/Lightning-f027845e720d4f74aa876b045e58669b. They could be helpful for you

I will assign the PR to you! Thank you. Sometimes, we also hold discussions on our Discord. Do you have a Discord account? https://discord.gg/nSyGZB6Gpp

Ah sounds good. How much features do you want for the initial Trainer. Like do you have some tests in mind for preliminary use?
And haha I think we are already friends on discord. Let me send a message


Add build2 package reference to README.md

Hi! I've packaged this (amazing) library for build2, so figured I might as well add it as a reference.
You can find the package here.
v2.4.0 has already been released and I'm just about to publish v2.5.3.
You can see all the v2.5.3 CI builds here (60 different configurations, freely available as part of build2).

Sweet, thanks for the support. I'll merge this in.
FYI, I noticed the dependency question mark: libasio ^1.29.0 ?
Glaze's test code depends on boost ut, Eigen, and the standalone asio. However, the primary code base has no dependencies and only requires the appropriate Eigen or asio headers to be available if using that corner of the Glaze library. Most developers use Glaze without dependencies and Glaze never brings in dependencies via its CMake when linked.

Sweet, thanks for the support. I'll merge this in. FYI, I noticed the dependency question mark: libasio ^1.29.0 ? Glaze's test code depends on boost ut, Eigen, and the standalone asio. However, the primary code base has no dependencies and only requires the appropriate Eigen or asio headers to be available if using that corner of the Glaze library. Most developers use Glaze without dependencies and Glaze never brings in dependencies via its CMake when linked.

Great! Regarding libasio it is set as a conditional dependency (see here), and is brought in if config.libglaze.repe_rpc = true (either by consumer or whatever the default is, and I did set it to true by default but in hindsight maybe a bit premature since that feature is still WIP according to the docs). But generally the build2 approach is to prefer "batteries included" and instead opt out of features.


Rename StickerType

Rename StickerType => InputSticker
Rename {CreateNewStickerSet,AddStickerToSet}::sticker_type} => sticker

This just makes more sense.

Actually I see no reason to change the current naming. InputSticker is not more intuitive as for me, the same holds for sticker_type -> sticker.

@Hirrolot InputSticker is consistent with InputFile (and InputMedia) and highlights the fact that it's a type which we are sending to telegram (and not vise versa).
In my opinion, -Type fits bad here, because it's not actually a type, it's just a sticker.

@WaffleLapkin Okay, now I'm convinced with the Input prefix. But what about sticker_type -> sticker? We already have Sticker (not to be confused with InputSticker). Maybe sticker_type -> input_sticker?

@Hirrolot I've choose just sticker b/c

It's closer to original {png,tgs}_stiker
We don't often call args/fields after types (e.g.: kind and not message_kind, target and not target_message, etc)


Add possibility to log retries of client.get() as warnings

This PR is related to user story ESS-2008
Description
added a wrapper log_retry on client.get(). Logs will go to "traces" in application insight
Checklist

[ ] PR title is descriptive and fit for injection into release notes (see tips below)
[ ] Correct label(s) are used

I think the simplest way to handle this is not to say that we log retries, but just log a warning before we retry and log an exception after we retry. We don't need to figure out if things were retried, or of a certain exception or just a user error. We can filter on that in Application Insights if we want to look for specific errors... So by trying to do less (just log warnings and errrors) the implementation will likely be more correct, easier to understand and easier to maintain when we add new exceptions to be retried etc.

I have now rewritten the loggers so that there is only one decorator but with input on which severitylevel you want to log. I have not added any filters on which errors to log (ValueError etc).
The way it is solved now, when a ValueError appears (this does not lead to a retry) it gets logged two times. One time as exception and one time as warning. If there is an

If all attempts are executed, and not successful, there will be 4 warnings written to traces in app insights and 1 exception written to exception in app insights (RetryError)
Have deleted the "before_sleep" because the loggers appears in the terminal:

Great, I think this works well. It is simple to plug in. In the future, when we look at investigating more, specific errors in detail, we can log without the attributes and rather handle and log different errors in more detail by explicit logging and not attribute-based catch-all loggers.


[go_router]If there is more than one route to match, use the first match

Use case
If there is more than one route to match, use the first match.
The following was implemented using go_router.
  final _router = GoRouter(
    routes: [
      GoRoute(
        path: '/home',
        builder: (_, __) => const HomePage(),
        routes: [
          GoRoute(
            path: 'create',
            builder: (_, __) => const CreatePage(),
          ),
          GoRoute(
            path: ':id',
            builder: (_, __) => const DetailPage(),
          ),
      ),
    ],
    urlPathStrategy: UrlPathStrategy.path,
  );

I expected the following behavior.
/home/create -> CreatePage
/home/xxxx   -> DetailPage ("xxxx" is some string, but exclude "create")

But I opened /home/create, go_router displayed following error.
Exception: too many routes for location: /home/create
/home => create
/home => :id

go_router uses path_to_regexp internally.
Therefore, perhaps specifying a regular expression could solve this problem. However, we felt that this would not be concise and would be a hassle for the developer.
Proposal
This can be accomplished by removing go_router_delegate.dart l442-l463.
441
442    if (matchStacks.length > 1) {
443      final sb = StringBuffer()
444        ..writeln('too many routes for location: $location');
445
446      for (final stack in matchStacks) {
447        sb.writeln('\t${stack.map((m) => m.route.path).join(' => ')}');
448      }
449
450      throw Exception(sb.toString());
451    }
452
453    if (kDebugMode) {
454      assert(matchStacks.length == 1);
455      final match = matchStacks.first.last;
456      final loc1 = _addQueryParams(match.subloc, match.queryParams);
457      final uri2 = Uri.parse(location);
458      final loc2 = _addQueryParams(uri2.path, uri2.queryParameters);
459
460      // NOTE: match the lower case, since subloc is canonicalized to match the
461      // path case whereas the location can be any case
462      assert(loc1.toLowerCase() == loc2.toLowerCase(), '$loc1 != $loc2');
463    }
442

Really need this, would love if you do this.
Please take a look at next js dynamic links documentation: https://nextjs.org/docs/routing/dynamic-routes#caveats
They say:

Predefined routes take precedence over dynamic routes, and dynamic routes over catch all routes.

I completely agree with this behavior.

I wholeheartedly agree with the above sentiments.
Right now, the following such URLs are not possible:
twitter.com/[username]
instagram.com/[username]
etc.

Agree with the proposed behavior, most common routers pick the first found route, allowing the developer to prioritize.

Thank you for your comments!
From these comments, I think it is a useful suggestion for many developers.
How can I raise the label from p5?

Agreed.
Would this change also enable using catch-all route as last option as a top level route?
For paths loaded runtime from e.g. REST API?
Something like:

/known-route-1 --> home()
/known-route-2 --> otherPage()
/:catch-all --> doesRuntimePathExist(catchedPath) ? webPage() : errorPage()

Same here. Coming from a Web background, the ability to distinguish /projects/new and /projects/:id is crucial

Same here, I guess its just a matter of commenting code

Created a dummy repo here if anyone wants this and can't wait for package update.

Its crucial feature


refactor: Refactor python code to have loaders as python cli scripts

Overview
Currently a bunch of loaders functions are in the tests, we need to update this so that the loaders are a part of the package cli entrypoint.

Currently there's 2 important PRs related to this, that should be included in the refactor #175 and #151

@anujsinha3 and I had a discussion yesterday that we will use Typer to create a full blown CLI App to make it easy to use the various commands: https://typer.tiangolo.com/tutorial/subcommands/

Both #175 and #151 have now been merged to main and now should be able to be integrated to here

I have moved and tested the SQL hooks script to use Typer.
https://github.com/uw-ssec/post-disaster-comms/issues/174
Please let me know if this looks good. Accordingly, I will move the other one as well.


Remove SODIUM_LIBRARY_VERSION from dynamicConstantNames

Description
It seems PHPStan now understands by default that it is dynamic.
Checklist:

[x] Securely signed commits
[ ] Component(s) with PHPDoc blocks, only if necessary or adds value
[ ] Unit testing, with >80% coverage
[ ] User guide updated
[ ] Conforms to style guide

@paulbalandan Thank you.


[RHOAIENG-8502]: Change pipeline URI truncate to middle instead of end

https://issues.redhat.com/browse/RHOAIENG-8502
Description

Before

After

How Has This Been Tested?

Navigate to the Artifacts page from the left nav. Using a project with multiple artifacts, verify that any truncated artifact URI  truncates in the middle.
To test URIs within artifact node details, navigate to artifact node details in runs for the following pipelines:
Pipeline.metrics-visualization-pipeline.yaml.zip
Pipeline iris-training-pipeline.yaml.zip
Test Impact

N/A
Request review criteria:

Self checklist (all need to be checked):

[x] The developer has manually tested the changes and verified that the changes work
[x] Commits have been squashed into descriptive, self-contained units of work (e.g. 'WIP' and 'Implements feedback' style messages have been removed)
[x] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
[x] The developer has added tests or explained why testing cannot be added (unit or cypress tests for related changes)

If you have UI changes:

[x] Included any necessary screenshots or gifs if it was a UI change.
[x] Included tags to the UX team if it was a UI/UX change (find relevant UX in the SMEs section).

After the PR is posted & before it merges:

[x] The developer has tested their solution on a cluster by using the image produced by the PR to main

/lgtm


The setting name doesn't change automatically after renaming it

OS: Win10
Build Version: 20201103.1
Repro Steps:

Right click a setting under the "Application Setting" node -> Click "Rename Setting..." -> Enter "test" as the new name.
Check the result.

Expect:
The setting name changes automatically without any error.
Actual:
The setting name doesn't change automatically and an error pops up after waiting about a minute.

Error type: 500
Error Message: An error has occurred.
More Info:

This issue also reproduces when deleting/adding/editing the setting.
This setting name changes automatically after refreshing.

Is this consistent?  I can't get this to repro on any of my static web apps.

Firstly, need to add a new setting and name with special characters. Then the above issue reproduces when editing/deleting the other exist settings, you need to wait several minutes. This issue will be fixed after deleting the setting which named with special characters.

This issue also reproduces when uploading local setting with special characters name, e.g.
{
"Values":{
   "test!@#":"123"
  }
}


unknown modifier: proxyauth.Modifier

Hello，For golang,I am  a newcomer.I want to know how to config authentication？I posted  "{"proxyauth.Modifier":{}}" to the proxy , but it returned "parse: unknown modifier: proxyauth.Modifier",Can you show me the configuration?

I'm not sure what you're trying to do - can you show me the code of the proxy you're trying to build and the commands you're using to attempt configuration?

You can try to edit the 'import' statement of the ./cmd/proxy/main.go file, import the package you need. The package imported in main.go will call the init initialization function in the corresponding package


[Fix #11924] Add new Style/RedundantCurrentDirectoryPath cop

Resolves #11924.
This PR adds new Style/RedundantCurrentDirectoryPath cop. It checks for uses a redundant current directory path in require_relative.
# bad
require_relative './path/to/feature'

# good
require_relative 'path/to/feature'

The cop name Style/RedundantCurrentDirectoryPath does not contain RequireRelative (require_relative). Because I thought it could be an abstract name that detects redundant current directory path (./). So, if there are methods other than require_relative that certainly uses redundant current directory path, this cop could be extended.

Before submitting the PR make sure the following are checked:

[x] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Ran bundle exec rake default. It executes all tests and runs RuboCop on its own code.
[x] Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details.

Left a bit of small feedback about the naming & description and we can merge this when it is addressed.


IVIM (avc, mlc, rsc) - V2 containers can not be decoded

Issue
avc, mlc, rsc containers will lead to failed decoding.
Setup
Generator: https://github.com/brchiu/asn1c.git (velichkov_s1ap_plus_option_group_plus_adding_trailing_ull)
Minimal IVIM received
Encoded Content
value1 IVIM ::= {
  header {
    protocolVersion 2,
    messageID ivim,
    stationID 0
  },
  ivi {
    mandatory {
      serviceProviderId {
        countryCode '1100000001'B,
        providerIdentifier 1
      },
      iviIdentificationNumber 1,
      timeStamp utcStartOf2004,
      iviStatus new
    },
    optional {
      avc : {
        {
          relevanceZoneIds {
            1
          },
          automatedVehicleRules {
            {
              priority 0,
              allowedSaeAutomationLevels {
                0
              }
            }
          }
        }
      }
    }
  }
}

Payload:
020600000000A3010004000000000000000100100640000200010280

Problem Description
The avc is decoded normally, but right after, a mlc is expected.
ASN_DEBUG output
Decoded AutomatedVehicleContainer as SET OF (.../vcits/asn1c/src/constr_SET_OF.c:995)
Decoding member "mlc" in ext1 (.../vcits/asn1c/src/constr_SEQUENCE.c:1170)

Likely Cause
The ISO19321IVIv2.asn specifies
IviContainer::= CHOICE {
	glc		GeographicLocationContainer,
	giv		GeneralIviContainer,
	rcc		RoadConfigurationContainer,
	tc		TextContainer,
	lac		LayoutContainer,
	...,	-- original extension indicator of V1
[[ -- Extension in V2
	avc		AutomatedVehicleContainer,
	mlc		MapLocationContainer,
	rsc		RoadSurfaceContainer ]]
	}

This should be interpreted as a CHOICE between eight containers (glc, giv, rcc, tc, lac, avc, mlc, rsc). This can be verified with Wireshark. However, the generator can not handle "[[ ... ]]" within CHOICE objects. The generated C-code in IviContainer.h and IviContainer.c expects the extension (ext1: avc, mlc, rsc) to be one element, with three mandatory containers. In other words, the decoder then decodes the avc perfectly, but expects an mlc.
Unsuccessful Workarounds

Integrating avc, mlc and rsc directly into the list of the IviContainer does not work, as the extension seems to create some encoding that expects a decoupling of those two messages. Decoding with this integrated setup will decode, but it will decode a LayoutContainer with information gathered from the data that is there.
Escaping the extension as a new CHOICE object does not work and results in the same behavior as above. Some of the meta information in the bitstream is interpreted wrongly

Possible Solutions

The generator has to be adapted to fit this special form of "[[ ]]" extension. However, I'm not in a position to fully understand the generator and its recursive magic. Maybe someone else could fix that.
ETSI or ISO might fix the IVIM in an upcoming standard, to be more straight forward.

General Remark from developer perspective: The ETSI files look clean and are easy to parse. However, the ISO standards, especially DSRC and ISO19321IVIv2 are a mess. The standards use specification elements that are niche and not necessary (RegionalExtension and "[[ ]]"). Both of them make the standard hard to parse with existing FOSS. The entry barrier is really high.
Status
We adapted the decoder to fit for one specific use case. As CDD 2.3 will be released soon, we will wait for that.

fixed by upgrading the parser generator


Tutorial always starts when coming to app

I am wondering if the tour with the help tips can be optional. For example, a button can be added called: "Begin a Guided Tutorial Tour".

Sure, why not? I am not sure where should we put button/link though. Navbar seems like a good idea but if you see a better place please let me know.


CM_Util::varDump: Show contents of CM_Params

CM_Util::varDump() is used to format arguments in stack traces (CM_ExceptionHandling_SerializableException::_extractTraceRow()).
Currently it handles all object the same, except CM_Model_Abstract (where it prints the ID). It would be useful if we would show the contents of CM_Params to change this line:
CM_Jobdistribution_Job_Abstract->_executeJob(SK_Params)

into something like:
CM_Jobdistribution_Job_Abstract->_executeJob(['foo' => 12])

We could add another if to varDump() or maybe even allow to override that behaviour on the class itself.
@alexispeter @tomaszdurka wdyt?

Would be nice. Use an interface to achieve this?

I thought about the interface too. I would love if there would be some built-in interface for var_dump, but ofc there is none. Only possibilities we could use are toString method and JsonSerializable interface.
It's pity that from one side we need logic on the varDump (bool, string, arrays, etc), but we will also have some logic on classes. Not sure if it's bad... Wdyt?

__toString() is a bit dangerous as it would also make the objects behave like strings in other contexts (like string concatenation).
__debugInfo() would be nice, but we'd need to introduce an interface. How about CM_Class_DebugInfoInterface?

@alexispeter @tomaszdurka please review
Some controversial changes here:

I changed the metaInfo on both SerializableException and Paging_Log to be one-dimensional. I.e. it's an array of strings. This simplifies a few parts of the code substantially imo.
Add a "recursive" option for varDump()
Introduce interface CM_DebugInfo_DebugInfoInterface for __debugInfo(), which is called from varDump()

I looked into the implementation quite a bit.
So varDump is diviced into two parts. First part of logic is included in the varDump itself where it's checking the type of variable. Other part is within DebugInfo interface, specifically for custom-class-objects. This seems fine.
Idea was to use __debugInfo magic method which is also used for built-in var_dump method. Actually mysefl brought this functionality up, but now I am not sure anymore. While using var_dump we would probably expect some other (more) data to be printed, e.g $data variable on all the models (?). We use our varDump in specific context - mostly backtraces, we want data to be very minimalistic. It probably also depends on the context.
I thought now these might be two different use cases and maybe DebugInfo interface should not use __debugInfo magic method, but rather different, custom one.
wdyt?

I agree - renamed to getDebugInfo().
@tomaszdurka wdyt? Rest of the changes are good?

Yes, I think it's good.
One minor thing, I thought that all of the debug code (maybe also logging) could reside in one module at some point. What about calling it CM_Debug and placing newly created interface there?

Agree, @tomaszdurka please check last commit

Looks good.
Side note from hip-chat discussion: maybe it's good moment to move CM_Util::varDump() into something like CM_Debug_VariableInspector->dump()

I changed the metaInfo on both SerializableException and Paging_Log to be one-dimensional. I.e. it's an array of strings. This simplifies a few parts of the code substantially imo.

What there a reason for this other than simplification of the code? I'd like to include an array in the meta-info but it just looks like this now.
CM_Exception_InvalidParam: Not enough parameters in /home/vagrant/cm/library/CM/Params.php on line 229
    0. {main} /home/vagrant/cm/scripts/test.php:0
    1. CM_Params->getLocation('location') /home/vagrant/cm/scripts/test.php:10
    2. CM_Params->getObject('location', 'CM_Model_Location') /home/vagrant/cm/library/CM/Params.php:336
    3. CM_Params->{closure}('CM_Model_Location', []) /home/vagrant/cm/library/CM/Params.php:242
parameters: []
class: 'CM_Model_Location'

I changed the metaInfo on both SerializableException and Paging_Log to be one-dimensional. I.e. it's an array of strings. This simplifies a few parts of the code substantially imo.

What there a reason for this other than simplification of the code? I'd like to include an array in the meta-info but it just looks like this now.

@alexispeter your problem was resolved?
One thought was that using a one-dimensional data structure will make it easier to add search..

You could say it's resolved because it is still possible to store 2dimensional metaInfo and the log-cmp still shows it correctly.


Revise

lil edits

Don't get fancy with emojis. It makes it look noisy, especially when you use different kinds. (In the Swap Contract Logic section, you still use a :notebook:)

Do you disagree?

Ok I won't mix em up too much but I will use red and green ones depending on context.

Also, gonna add section in Prelim between LPs and programmable swaps to concentrate on shortcomings of existing orderbook DEXes (scalability cap cause central contract + batchers). Will consolidate such mentions into this section.

Make a smaller PR then. I think we need to add the comment about partial matching now. The rest are not that urgent.

instead of section, just edited what was already there to include mention of current orderbook shortcomings. Emojis simplified. Punctuation corrected.


Working on the Backend Code Quality

Currently all the code is written into the server.js file which is not considered as a good industry practise . Please assign me this issue so that I could work on this and improvise the quality.

Can you elaborate more about your implementation?

I think they meant following the MVC architecture. Creating a proper folder structure for model, controllers, and routes which improves the readability and understanding of the code base, which currently is written all in one file ie server.js . I can resolve this and improve the folder structure.

I am not only talking about working on the MVC architecture you can connect with me on discord I will elaborate my approach over there .

mohinichauhan_ This is my discord username.

@jindalpriyanshu101 we can create production grade folders routes, controllers, DB, models


Fix gh actions

Fixes the GitHub test action such that it doesn't fail when the review dog test was successful.

I think this pull request is not needed let's close it for now.

:warning: NOTE: Wrong pull request don't merge.


🐛 Flash of unstyled content

:bug: Describe the bug
When using the application, there are moments when the content appears incorrectly formatted before being displayed correctly.
To Reproduce
Steps to reproduce the behavior:

To simulate slow 3G network speed, you can throttle your network speed in your browser's developer tools, making it easier to identify this behavior.
Refresh the page using F5, for instance.
You can see that the styling is incorrectly formatted.
After logging in, the styling flashes one more time.

Expected behavior
Styling should not flicker. The team may need to explore alternative solutions for the CSS styling.
Screenshots
Incorrect formatting:

Correct formatting:

I think this is fairly easy to fix, and it will be valuable for developers not to see all this flickering. I came across this issue on the styled-component's GitHub repo, and it seems like a common issue. I think it can be solved by moving the loading of fonts into a global.css, but to be able to test this, I need Equinor's CDN to be up and running again (Equinor Design System is down today). I will assign myself to the task and see if the quick fix works.


Predicately remove elements from collections

For all collections, provide a method which this issue calls Drain Where.
Drain Where mutably borrows the collection and takes a predicate on the elements of the collection (e.g. values for lists and key-value pairs for maps). It then creates an iterator over the elements of the collection where the predicate returned truthfully and accessing that element in the iterator removes it from the collection. For ordered collections, it should return them in order.
Example usage:
let v = vec![1, 2, 3, 4, 5, 6, 7, 8];
let primes = { v.drain_where(|n| n.is_prime()).collect::Vec<_>() };
assert!(v == vec![1, 2, 4, 6, 8]);
assert!(primes == vec![2, 3, 5, 7]);

Also of use would be a method that finds and removes the first element matching a predicate, as it would not have to do things like pre-poop its pants in case the Drain Where iterator leaks nor would it have to traverse the entire collection if e.g. the first element checked matches the predicate.

For Vec see rust-lang/rust#43245 - although I believe all collections can eventually have this.

I can't say how many times I've needed something like this!

VecDeque doesn't have drain_filter either. Shouldn't it be included in the unimplemented list?

Added VecDeque to the checklist above.

@mbrubeck What about String::drain_filter? It has retain whose closure gets a char (not &mut char), so we need drain_filter as well for String.


Timezone for cron config

If I try to set timezone in cron config (as non-parametrized cron config):
TZ=Europe/Madrid
34 13 * * * % VAR=value
I get a java exception trying to apply job config.
How could I set timezone ¡? (Difference between my timezone and default one (UTC) is variable)

Variable difference in timezone?  ouch.  Try out the more up-to-date fork: https://github.com/jenkinsci/parameterized-scheduler-plugin

I recently installed the jenkins plugin and if I try such a setting, it fails
eg: "TZ=UTC"
Error: Invalid input: "TZ=UTC": line 1:1: unexpected char: 'T'

Can you confirm if the time in the settings will always be UTC, or will it be local to the jenkins Master?

I have the same question. Short of adding support for TZ, could you confirm how this job decides which timezone to base the schedule on?

Any update on this?

update?


[Code Addition Request]: Segment anything on images

Have you completed your first issue?

[X] I have completed my first issue

Guidelines

[X] I have read the guidelines
[ ] I have the link to my latest merged PR

Latest Merged PR Link
N/A
Project Description
🔴 Aim: to develop a model, where we can segment anything in real time.
We will use Fastsam for segmentation, because of its faster responses, in this we would be able to segment anything on an image.
The user will get 4 options: -segment everything, segment by box-prompt, point-prompt and text-prompt.
Full Name
Jai Dhingra
Participant Role
GSSOC extd, Hacktoberfest 2024

Hi @UTSAVS26, after reviewing the difficulty level of this task, I request you to please change the level label from level 1 to level 2.

Hi @UTSAVS26, after reviewing the difficulty level of this task, I request you to please change the level label from level 1 to level 2.

It's not possible as you are just adding another project but if you fix any bug or adding new feature in the existing codebase then the level might increase based on the contribution.


feat: add createDefaultMetadataKeyInterceptor

Why is this change needed?
Neynar requires x-api-key to access its hubs. This change makes it easy to include that (or any other) header.
I tried to follow the docs to create a changes, but got an error.  Am I running it from the wrong directory maybe?
% yarn changeset
yarn run v1.22.22
error Command "changeset" not found.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
bryan@Bryan-Neynar hub-monorepo % yarn run changeset
yarn run v1.22.22
error Command "changeset" not found.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Merge Checklist
Choose all relevant options below by adding an x now or at any time before submitting for review

[x] PR title adheres to the conventional commits standard
[x] PR has a changeset
[ ] PR has been tagged with a change label(s) (i.e. documentation, feature, bugfix, or chore)
[ ] PR includes documentation if necessary.

PR-Codex overview
This PR introduces a new function to create a metadata key interceptor for gRPC calls in the hub-nodejs package.
Detailed summary

Added the createDefaultMetadataKeyInterceptor function in packages/hub-nodejs/src/client.ts.
The function takes a key and value, returning an interceptor that sets the specified metadata key with the given value if it is not already present.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

I don't see how that test failure could be caused by my change. This function isn't even used.


Jupyter Books "SQL Server 2019 Guide" Command Doesn't Work

TypeError: Cannot read property 'findChildSection' of undefined
at Object.showPreviewFile
When choosing command from command palette, get exceptions on my machine.

No longer reproes; has since been fixed.


Documentation to be added for using Array of primitives

This is in relation to the comment made in this issue: https://github.com/prisma/prisma2/issues/169#issuecomment-546783146
Documentation would need to be added on how to set data for an array of Primitives.
I got the array of primitives working by using the set keyword after digging through the prisma generated source code and found that it was declared as
export declare type TheClassName = {
    set?: Enumerable<string> | null;
}

So, I tried this and it worked. This may need to be documented if not done already.
const notification1 = await photon.notifications.create({
        data: {
            mode: "email",
            deliveryDate: new Date(),
            destinationUserIDList: {
                set: ["123", "456"]
            },
            status: "pending",
            payload: '{"hello":"world"}'
        }
    });

Thanks.
Originally posted by @tvvignesh in https://github.com/prisma/prisma2/issues/169#issuecomment-546783146

Thanks a lot for raising this @tvvignesh 🙌 you can find the documentation for set here: https://github.com/prisma/prisma2/blob/master/docs/photon/api.md#scalar-lists


Editable JavaScript examples

This should be pretty easy since it's native. But we still need an editor.

Duplicate of #166.