The master elixir runtime on 18.04 is broken

The startup script doesn't work, because ttf-freefont can't be download.
[
  {
    "textPayload": "Mar  7 02:11:38 aef-default-20190306t205206-l7b0 startup-script: INFO startup-script: Uploading crash log tail to gs://vm-config-internal.ismailivolunteer-201223.appspot.com/vm_crash_log/default/20190306t205206/416591575478932806/northamerica-northeast1-c:aef-default-20190306t205206-l7b0.log",
    "insertId": "z4zlpswhamzqx4muk",
    "timestamp": "2019-03-07T02:11:39.026657395Z",
    "logName": "projects/ismailivolunteer-201223/logs/appengine.googleapis.com%2Fvm.syslog",
    "receiveTimestamp": "2019-03-07T02:11:44.798672416Z"
  },
  {
    "textPayload": "Mar  7 02:11:38 aef-default-20190306t205206-l7b0 startup-script: INFO startup-script: E: Package 'ttf-freefont' has no installation candidate",
    "insertId": "z4zlpswhamzqx4muj",
    "timestamp": "2019-03-07T02:11:39.026655699Z",
    "logName": "projects/ismailivolunteer-201223/logs/appengine.googleapis.com%2Fvm.syslog",
    "receiveTimestamp": "2019-03-07T02:11:44.798672416Z"
  },
  {
    "textPayload": "Mar  7 02:11:38 aef-default-20190306t205206-l7b0 startup-script: INFO startup-script: is only available from another source",
    "insertId": "z4zlpswhamzqx4mui",
    "timestamp": "2019-03-07T02:11:39.026653239Z",
    "logName": "projects/ismailivolunteer-201223/logs/appengine.googleapis.com%2Fvm.syslog",
    "receiveTimestamp": "2019-03-07T02:11:44.798672416Z"
  },
  {
    "textPayload": "Mar  7 02:11:38 aef-default-20190306t205206-l7b0 startup-script: INFO startup-script: This may mean that the package is missing, has been obsoleted, or",
    "insertId": "z4zlpswhamzqx4muh",
    "timestamp": "2019-03-07T02:11:39.026652033Z",
    "logName": "projects/ismailivolunteer-201223/logs/appengine.googleapis.com%2Fvm.syslog",
    "receiveTimestamp": "2019-03-07T02:11:44.798672416Z"
  },
  {
    "textPayload": "Mar  7 02:11:38 aef-default-20190306t205206-l7b0 startup-script: INFO startup-script: Package ttf-freefont is not available, but is referred to by another package.",
    "insertId": "z4zlpswhamzqx4mug",
    "timestamp": "2019-03-07T02:11:39.026650802Z",
    "logName": "projects/ismailivolunteer-201223/logs/appengine.googleapis.com%2Fvm.syslog",
    "receiveTimestamp": "2019-03-07T02:11:44.798672416Z"
  }
]

:(

My fault, I though the runtime was installing ttf-freefont :(


Fix issues and adapt clustering to improve clustering results

By analyzing the FRBR work clusters (#193) , several issues appeared that should be fixed.
The issues are listed here and described below with examples

[x] Cluster also on ISBN
[ ] Handle subtitles
[x] Stop word filtering
[x] Adapt string normalization
[ ] Add cluster-specific subtitle for KB manifestations (temporarily for clustering)

Cluster also on ISBN
We already include the ISBN in the cluster keys, but still in the pattern title/isbn which is not very smart since different spellings of a title are not clustered.
Thus we should cluster on isbn/author or title/author

Handle subtitles
Create descriptive keys also without subtitle? This is a risky one since it can also yield to many wrong clusters, especially if the title is used as a collection title and the subtitle as title of the collection element.
update: in this very specific case a common ISBN fixed the isse
In the following case, clustering without subtitle would identify the cluster correctly:

But in the following case it would wrongly merge three different books

The safest way would be to always use the subtitle if available. Afterwards we can query manifestations of different clusters with the same authors to find cases where a missing subtitle in cataloging prevented a match)
Then we should somehow merge those clusters (enforce it upfront? correlation list? fix the underlying data?)
A special case is also comic data from the KB (see other issue with separate solution)
Stop word filtering
Some words might be encoded as title or subtitle that prevent clustering but actually are neglectable, for example "roman"
We could filter certain subtitles out based on stop words, this is also done in related work.

roman
[roman]
verhalen
[poèmes]
[Prix Médicis 2012] => Probably it is best to filter anything where the whole subtitle is in brackets

Adapt string normalization
String normalization in the title and subtitle is not handling all possible characters

commas and/or colons
semicolons are not normalized
three consecutive dots (when not encoded as one character, but really as three dots)

(Repeated example from another issue, relevant for this issue is the last element from the highlighted containing a semicolon)

Add cluster-specific subtitle for KB manifestations (temporarily for clustering)
For some comics from the Royal Library of the Netherlands, the title is simply the name of a whole collection.
For example Bob et Bobette. In our data we can distinguish books from that collection based on the title of the Dutch original.
However, if we would simply add the original title as a possible descriptive key pattern, the manifestations still would be clustered together because of the other title/author pattern.
For this specific case a solution would be to ingest fake subtitles based on the original titles, but only for the descriptive keys.
This fake data will not be stored or pollute our corpus, it will only be used as input for the clustering.
For example, if we use the prefix translation of and add this prefix plus the original title as subtitle we would get descriptive keys such as bob et bobette : translation of het sprekende testament of bob et bobette : translation of de vlijtige vlinder

After fixing the obvious points above (better string normalization, stopword removal and clustering based on ISBN), we get 11,351 clusters instead of 11,662 which is already an improvement. After a manual check the clusters look already better.
The manual check was performed by using the corpus CSV file, sort everything by title and have a look if books with similar title have the same cluster identifier. Whereas books with similar title and different author should not have the same cluster identifier.


ilium child terms

Add new terms:
short ilium
DEF: reduced length of the broad, flaring portion of the hip bone, which is distinct at birth, but later fuses with the ischium and the pubis
SYN: decreased ilium length
SYN: decreased iliac bone length
SYN: reduced ilium length
SYN: shortened ilium
wide ilium
DEF: increased width of the broad, flaring portion of the hip bone, which is distinct at birth, but later fuses with the ischium and the pubis
SYN: increased ilium width
SYN: increased iliac bone width
abnormal ilium body morphology
DEF: any structural anomaly of the thick lower part (base) of the ilium that forms about the upper two-fifths of the acetabulum; its external surface is partly articular, partly non-articular; the articular segment forms part of the lunate surface of the acetabulum, the non-articular portion contributes to the acetabular fossa; the internal surface of the body is part of the wall of the lesser pelvis and gives origin to some fibers of the obturator internus; below, it is continuous with the pelvic surfaces of the ischium and pubis, only a faint line indicating the place of union
SYN: abnormal iliac bone body morphology
SOURCE: UBERON:0010747, http://www.anatomyexpert.com/app/structure/127/833/
abnormal iliac fossa morphology
DEF: any structural anomaly of the large, smooth, concave surface on the internal surface of the ilium; the fossa is bounded above by the iliac crest, below by the arcuate line, and in front and behind, by the anterior and posterior borders of the ilium; it gives origin to the Iliacus muscle
SOURCE: https://en.wikipedia.org/wiki/Iliac_fossa
abnormal ilium wing morphology
DEF: any structural anomaly of the large, expanded (wing-like) portion of the ilium which bounds the greater pelvis laterally
SYN: abnormal ilium ala morphology
SYN: abnormal iliac blade morphology
SOURCE: https://en.wikipedia.org/wiki/Wing_of_ilium, UBERON:0010746
abnormal iliac crest morphology
DEF: any structural anomaly of the superior border of the wing of ilium and the superolateral margin of the greater pelvis; it runs from the anterior superior iliac spine to the posterior superior iliac spine; many of the important abdominal and core muscles are attached to the iliac crest
SOURCE: https://en.wikipedia.org/wiki/Iliac_crest, https://www.verywellhealth.com/iliac-crest-definition-3120351

Added new terms:
short ilium MP:0030848
wide ilium MP:0030849
abnormal ilium body morphology MP:0030850
abnormal iliac fossa morphology MP:0030851
abnormal ilium wing morphology MP:0030852
abnormal iliac crest morphology MP:0030853


syntax error near unexpected token `newline'

2020-06-28 02:02:54 (23.8 MB/s) - ‘vpn-script-for-centos7.sh’ saved [193804]
[root@mikrotik ~]# sh vpn-script-for-centos7.sh
vpn-script-for-centos7.sh: line 6: syntax error near unexpected token newline' vpn-script-for-centos7.sh: line 6: '
[root@mikrotik ~]#
can you help me to fix it

me too

here too


Change set.removeAll(list) to list.forEach(set::remove)

When list size is greater than set size, list.contains() will be called for each set element resulting in O(n^2) complexity.
When list size is smaller the default removeAll() implementation will iterate the list anyway.

I am not sure if I like this code.
I'd like to ask to open a bug in OpenJDK so this gets fixed at some point.
Did you make a benchmarking if this affects Lucene at all?

I think we should apply this PR. When merging, Lucene always has a larger set before the merge so the new set set is always smaller. So AbstractSet#removeAll will always use the slow path.
We should open a bug report in JDK, that the optimization in AbstractSet should only be used if the collection passed as argument is also a set. In all other cases it is for sure faster to iterate over the collection passed as parameter and remove from actual set. The JDK impl has also some bugs with TreeSet as the contains of a TreeSet may not be symmetric with contains of a List.

Maybe put a comment here describing why foreach is faster, especially because merging will always produce smaller sets so always triggering slow path.
@jpountz what do you think?

I've added a comment explaining the forEach.
Opening a bug in OpenJDK requires "OpenJDK Author" status which I do not have.

I've added a comment explaining the forEach.
Opening a bug in OpenJDK requires "OpenJDK Author" status which I do not have.

I can do that.


Fairy ring menu entry swap

Would be really nice to be able to have "Configure" as the left click option on the Fairy Rings. I switched over from OSBuddy and I'm really used to having that feature.

Assuming #1556 is merged, this should be easy to add.

#1556 only applies to items @HypoxiaOSRS

I was referring to fact you move several of the event's and conditions around in the menuswapper that it would be best to leave it be until yours is merged. The conditions would be very easy to implement. Something along this line would work fine.
if (config.swapFairyRing() && target.contains("fairy ring")) {    swap("configure", option, target, true); }


ZHF 18.09: fix crypsetup build with python enabled.

Fixes https://hydra.nixos.org/build/81028247.
Motivation for this change
/cc ZHF #45960
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Fits CONTRIBUTING.md.

@GrahamcOfBorg build cryptsetup pythonPackages.blivet

Success on x86_64-linux (full log)
Attempted: cryptsetup, pythonPackages.blivet
Partial log (click to expand)
Successfully installed blivet-0.67
/build/source
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/774wli73h7riva6y1x2yx6nac7gxlmcb-python2.7-blivet-0.67
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/774wli73h7riva6y1x2yx6nac7gxlmcb-python2.7-blivet-0.67/lib
patching script interpreter paths in /nix/store/774wli73h7riva6y1x2yx6nac7gxlmcb-python2.7-blivet-0.67
checking for references to /build in /nix/store/774wli73h7riva6y1x2yx6nac7gxlmcb-python2.7-blivet-0.67...
/nix/store/xiyj95x904m8szk42ic3fxnil385iaza-cryptsetup-2.0.4
/nix/store/774wli73h7riva6y1x2yx6nac7gxlmcb-python2.7-blivet-0.67

Success on aarch64-linux (full log)
Attempted: cryptsetup, pythonPackages.blivet
Partial log (click to expand)
Successfully installed blivet-0.67
/build/source
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/dqcliqfcfr5qrbjds1wy1wi9fg37i06k-python2.7-blivet-0.67
strip is /nix/store/y4ymnvgxygpq05h03kyzbj572zmh6zla-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/dqcliqfcfr5qrbjds1wy1wi9fg37i06k-python2.7-blivet-0.67/lib
patching script interpreter paths in /nix/store/dqcliqfcfr5qrbjds1wy1wi9fg37i06k-python2.7-blivet-0.67
checking for references to /build in /nix/store/dqcliqfcfr5qrbjds1wy1wi9fg37i06k-python2.7-blivet-0.67...
/nix/store/5k51kz7kqbw5y2j890lk7ph9lkbnhxk9-cryptsetup-2.0.4
/nix/store/dqcliqfcfr5qrbjds1wy1wi9fg37i06k-python2.7-blivet-0.67

backported: ee22050f05d


Updated profile picture

👷 Deploy Preview for hpislab processing.

Name
Link

🔨 Latest commit
24130f650f689888999846e114eadb3b219d292d

🔍 Latest deploy log
https://app.netlify.com/sites/hpislab/deploys/62bb0ef30c11660009e1bbd3


[RFE] TMOS/AS3 conversion output

where applicable, provide ns application conversion output in AS3 format.
this seems to be the best route, since it is already in a simple programmatic structure, supports most application features and is supported on current and future tmos technology (NEXT)
possibly include FAST to take in simple app details and output full as3.  Maybe just recommend or provide the template?

This is currently available since v1.6.0 with fast templates


[SPARK-27619][SQL][FOLLOWUP] Rename 'spark.sql.legacy.useHashOnMapType' to 'spark.sql.legacy.allowHashOnMapType'

What changes were proposed in this pull request?
Renamed configuration from spark.sql.legacy.useHashOnMapType to spark.sql.legacy.allowHashOnMapType.

Why are the changes needed?
Better readability of configuration.

Does this PR introduce any user-facing change?
No

How was this patch tested?
Existing UTs.

cc @cloud-fan @dongjoon-hyun

Can one of the admins verify this patch?

Can one of the admins verify this patch?

ok to test

Test build #119012 has started for PR 27719 at commit 563ea7d.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/23759/
Test PASSed.

Test build #119012 has finished for PR 27719 at commit 563ea7d.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/119012/
Test FAILed.

retest this please

Test build #119017 has started for PR 27719 at commit 563ea7d.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/23764/
Test PASSed.

Test build #119017 has finished for PR 27719 at commit 563ea7d.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/119017/
Test FAILed.

retest this please

Test build #119019 has started for PR 27719 at commit 563ea7d.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/23766/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/119019/
Test PASSed.

retest this please

Test build #119072 has started for PR 27719 at commit 563ea7d.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/23816/
Test PASSed.

Test build #119072 has finished for PR 27719 at commit 563ea7d.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/119072/
Test FAILed.

retest this please

Test build #119080 has started for PR 27719 at commit 563ea7d.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/23824/
Test PASSed.

Test build #119080 has finished for PR 27719 at commit 563ea7d.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/119080/
Test PASSed.

thanks, merging to master/3.0!


Use regex without lookbehind in detectInstall

Lookbehind might not always be supported
Please verify the following:

[ ] Everything works on iOS/Android
[ ] npm test ava tests pass with new tests, if relevant
[ ] ./docs/ has been updated with your changes, if relevant

Describe your PR

Fixes #1371.

:tada: This PR is included in version 2.2.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Replaced if with for when checking CV condition

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.

Thanks!


Decoding and using AndroidControl Accessibility Trees

It is unclear to me, and from what I could find, not explained anywhere, how one can load the accessibility_trees stored in the AndroidControl dataset. I have been able to load and decode other elements in the dataset.
Would it be possible for someone to explain how you can decode the accessibility trees (currently they are in some form of byte encoding) and access them in a dictionary format or something similar?
Thanks for your help.

Do you find a way to decode screenshots?

@tlc4418 Did you find a way to parse accessibility trees?

Hello!
Thank you for your interest in our work. Apologies for the delayed response.
Our accessibility trees are represented using this proto. To decode the tree, you must clone/install the android_env repository using the methods they describe. To run this in Colab we used the following
!git clone https://github.com/deepmind/android_env/
!cd android_env; pip install .

Once installed, you can import the proto and instantiate a forest object from the serialized string. Here’s an example of how to do that
import tensorflow as tf
from android_env.proto.a11y import android_accessibility_forest_pb2

filenames = tf.io.gfile.glob('gs://gresearch/android_control/android_control*')
raw_dataset = tf.data.TFRecordDataset(filenames, compression_type='GZIP')
dataset_iterator = tf.compat.v1.data.make_one_shot_iterator(raw_dataset)

example = tf.train.Example.FromString(dataset_iterator.get_next().numpy())

forest = android_accessibility_forest_pb2.AndroidAccessibilityForest().FromString(example.features.feature['accessibility_trees'].bytes_list.value[0])
print(forest)

We will update our README to include this information.
Hope this helps!

How I implemented that is manually download (do not pip install) latest android_env, the files and class them are essential for parsing a11y. (Actually I think there readme linked this thing, where how I understand how to process it)

Got it, I successfully downloaded and parsed the ui element bounding boxes. Thanks!

I wonder how to parse the Forest object? Specifically, like how to iterate through all the elements and get their attributes to dump a json? Thanks

add to_dict methods to the classes
…
On Mon, Aug 19, 2024 at 10:01 Yuxiang @.> wrote: I wonder how to parse the Forest object? Specifically, like how to iterate through all the elements and get their attributes to dump a json? Thanks — Reply to this email directly, view it on GitHub <#2120 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYX77XIXZ2EVZBIXBRUSRX3ZSH3D7AVCNFSM6AAAAABJIYYPSSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJWGY2TKNZRGM . You are receiving this because you commented.Message ID: @.>

No, this doesn't work. I tried to use the following snippet but this is too complicated to get all the attributes of each element (too many attributes and some attributes exist in some node but not others)
tree = forest.windows[0].tree
nodes = tree.nodes
for node in nodes:
    print(node.bounds_in_screen)

I can share my codes with you later. Generally its very easy to implement,
just feeding the classes to ChatGPT and it will finish all the stuff for you
On Mon, Aug 19, 2024 at 10:29 Yuxiang @.***> wrote:

add to_dict methods to the classes
… <#m_6403043908416511223_>
On Mon, Aug 19, 2024 at 10:01 Yuxiang @.> wrote: I wonder how to parse
the Forest object? Specifically, like how to iterate through all the
elements and get their attributes to dump a json? Thanks — Reply to this
email directly, view it on GitHub <#2120 (comment)
https://github.com/google-research/google-research/issues/2120#issuecomment-2296655713>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AYX77XIXZ2EVZBIXBRUSRX3ZSH3D7AVCNFSM6AAAAABJIYYPSSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJWGY2TKNZRGM
https://github.com/notifications/unsubscribe-auth/AYX77XIXZ2EVZBIXBRUSRX3ZSH3D7AVCNFSM6AAAAABJIYYPSSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJWGY2TKNZRGM
. You are receiving this because you commented.Message ID: @.>
No, this doesn't work. I tried to use the following snippet but this is
too complicated to get all the attributes of each element (too many
attributes and some attributes exist in some node but not others)
tree = forest.windows[0].treenodes = tree.nodesfor node in nodes:
print(node.bounds_in_screen)
—
Reply to this email directly, view it on GitHub
https://github.com/google-research/google-research/issues/2120#issuecomment-2296720412,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AYX77XJ5PI65T65WWKFSEJTZSH6MZAVCNFSM6AAAAABJIYYPSSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJWG4ZDANBRGI
.
You are receiving this because you commented.Message ID:
@.***>

Dear Dr. Li @alice9210 ,
I am reaching out for assistance with an issue I am facing while parsing the accessibility_trees within the dataset. Despite applying various filters to reduce redundancy in UI elements, such as text, content_desc, hint_text, or checking if a node is clickable, the parsed results still contain a significant number of superfluous nodes not present in the examples in Appendix C.4 of your paper.
I am seeking your expert advice on how to refine the parsing process to minimize these redundancies. Any specific techniques, code examples, or insights would be greatly appreciated.
To facilitate your understanding of the issue, I have included three representative examples of my parsed results. These examples demonstrate the typical problems I am encountering and should provide a clearer picture of the discrepancies.
Thank you for considering my request. I am looking forward to any guidance or suggestions you can offer.

Hello!
For the example in Appendix C4, we apply the following filtering. A node stays if either:

At least one of these fields is not empty: text, content_description, hint, tooltip
Its type is one of {SWITCH, EDIT_TEXT}

Hello!
For the example in Appendix C4, we apply the following filtering. A node stays if either:

At least one of these fields is not empty: , , , text``content_description``hint``tooltip
Its type is one of {, SWITCH``EDIT_TEXT}

ok then it's a bit different from Android World's implementation:
https://github.com/google-research/android_world/blob/4d941153396c5daf4adc013f2f5cd265858bdffa/android_world/agents/m3a_utils.py#L448
Thanks for the clarification!

Hello!
For the example in Appendix C4, we apply the following filtering. A node stays if either:

At least one of these fields is not empty: text, content_description, hint, tooltip
Its type is one of {SWITCH, EDIT_TEXT}

I have tried the filtering methods you mentioned in Appendix C.4 of the paper, but I am still encountering a significant amount of redundant UI elements, as shown in the attached screenshots for episodes 000013, 000017, and 000132. Have these episodes not been processed, or is there a specific reason for the presence of these redundant controls? I believe the redundancy could lead to overlaps, which might affect the calculation of model accuracy. As mentioned in the paper, the model's output for click and long-press actions are coordinates that should match to a UI element in the page representation. However, in cases of overlap, such as in episode 000017, step 3 in my attached files, a single coordinate corresponds to multiple UI elements. How should the conversion from coordinates to UI elements be handled in such scenarios?
Additionally, I would like to inquire about the training details for the fine-tuning of the PaLM 2S model using the AndroidControl dataset, which was mentioned in the paper. The specifics regarding the model's parameter count and the number of training epochs were not detailed, and I believe this information is crucial for the open-source community to fully understand and replicate your work.


What to do with generated rst files

rst files get generated for notebooks. These don't need to be committed to repository. However, they then litter the local copy.

I'd vote for letting them litter the local copy, but add to .gitignore so they aren't tracked.

This is done now.


Track privacy on history better

Got pinged that Hotagi stats weren't working for customs. They don't share custom stats, but we only explicitly check for this in two circumstances:

0 games pulled after custom draw
privacy true on service record

We should redo this to properly just pull the value from API and refactor to:

has_privacy_customs
has_privacy_matchmaking

That should cover all cases and I believe map 1/1 to settings in game.

Privacy flags do not exist in the new API anymore. This is not possible.


rtl8812au: fix build

Motivation for this change
Failure to build. Please also backport to 17.09
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Discussion in https://github.com/NixOS/nixpkgs/pull/33166 may be relevant.

Fixed using #33166.

Released in 01f825034f1f5abdf43d0569df3592f1e3b14ea5

Thanks!


When an extension is downgraded to an earlier version manually by user, it shouldn't get auto-updated to latest version automatically

I ran into this issue today. I had to manually downgrade the vscode-java extension because of incompatibility. This manual action from user should indicate that I don't want to auto-update the extension to latest version. So this extension should be taken off the list of auto-updating extensions. When the user clicks the suggested action of updating to the latest version from the extensions window, it can be put back on the auto-update list.

VSCode Version: 1.47.3
OS Version: macOS 10.15.6

Steps to Reproduce:

Downgrade any extension from latest to an earlier one manually from the extension settings
Wait for the extension auto-upgrade routine to kick-off

Does this issue occur when all extensions are disabled?: NA, the issue is about the extension management

@ronakg I cannot reproduce it and I am on 1.47.3. I have auto updates on and I downgraded the TS Lint extension and it did not get auto updated

It happened for me two days in a row. I'll update here if it happens again.

Waiting for user info.
Closing this. Please reopen this with necessary steps and information.


[FormRecognizer] Add test coverage for Azure AD credential

Add a minimal set of tests to cover the usage of Azure AD credential using ClientSecretCredential

Fixes #8943

Passing live tests: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=439939&view=results


Problem connecting to MySQL via unix socket

Node version: v10.15.3
Sails version (sails): 1.2.3
ORM hook version (sails-hook-orm): 2.1.1
Sockets hook version (sails-hook-sockets): 2.0.0
Organics hook version (sails-hook-organics): 0.16.0
Grunt hook version (sails-hook-grunt): 4.0.1
Uploads hook version (sails-hook-uploads): n/a
DB adapter & version (e.g. sails-mysql@5.55.5<EMAIL_ADDRESS>Skipper adapter & version (e.g. skipper-s3@5.55.5): n/a

Hey team,
I'm trying to connected to my production database using a unix socket path, I am trying to do this because it is the most secure way that GCP allows me to connect.
I looked into #6547, but couldn't get it to work, that issue was a few years old and it looks like they were messing with adapters.js, which does not exist in my installation of sails.
I've tried putting the datastore config both directly in config/env.production.js, as well as in config/datastores.js, with no luck.
Here is my configuration:
      adapter: 'sails-mysql',
      user: 'root',
      password: process.env.MYSQL_ROOT_PASSWORD,
      database: process.env.MYSQL_DATABASE,
      socketPath: process.env.DB_SOCKET_CONNECTION_STRING,

The errors I get vary depending on what I change, but it's usually either ERRCONNECT-REFUSED when it ignores my configuration and tries to use the default development one.  Or it's a sails error saying my datastore is invalid because I'm not passing a connectionString:
error: Failed to lift app: Error: There was an error creating a new manager for the connection with a url of: undefined
2019-10-22 21:32:36.677 CDT
2019-10-22 21:32:36.677 CDTUsageError: Could not run createManager() because of a problem:
2019-10-22 21:32:36.677 CDT------------------------------------------------------
2019-10-22 21:32:36.677 CDT• "connectionString" is required, but it was not defined.
2019-10-22 21:32:36.677 CDT------------------------------------------------------

Thanks for any help :)

Hello, sails ships with a default disk, while you feel your project is ready to connect to a database you have to define your connection variables by instaling the sails-MySQL plugin the feed in your variables adapter: 'sails-MySQL',
user: 'root',
password: process.env.MYSQL_ROOT_PASSWORD,
database: process.env.MYSQL_DATABASE,
socket path: process.env.DB_SOCKET_CONNECTION_STRING,
please check the documentation or check for videos tutorials
thanls

Possibly related: https://github.com/balderdashy/sails/issues/6888

@ZacxDev Thanks for exploring this issue. Our future developments for MySQL will be featured in our sails-sql adapter.  I'll bring this up with the team for further developments to get it fixed. This does appear to be related to #6888  - have you tried @alxndrsn 's workaround (thanks again btw) in the meantime?

I figure this post is relevant here too for MySQL friends (I was using Postgres but had same issue).
--
I finally got Sails.js to work today with GCP SQL. If you follow the tutorials from Google you have either Unix Sockets or TCP options to try -- and sadly neither work with out of the box sails-postgres.
My workaround was to connect via a VPC connector with a dedicated IP address. This way I can connect to Cloud SQL using a regular Postgres connection string, directly to the DB.
https://cloud.google.com/appengine/docs/legacy/standard/python/outbound-ip-addresses
Then I whitelisted the new dedicated IP in Cloud SQL security settings, and forced SSL to require valid SSL certificates.
It may not be best practice for now, but it works -- and that's one less ticket in the "To Do" queue :)


Add a config file template

Added the build-magic_template.yaml config file template.
Added the generate_config_template() function to core.
Added the --template option to the CLI.
Added new unit tests.
Closes #30

Codecov Report

Merging #34 (418efaa) into main (a1090d6) will increase coverage by 0.06%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #34      +/-   ##
==========================================
+ Coverage   95.86%   95.92%   +0.06%
==========================================
  Files          10       10
  Lines        1354     1374      +20
==========================================
+ Hits         1298     1318      +20
  Misses         56       56

Flag
Coverage Δ

unittests
95.92% <100.00%> (+0.06%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

build_magic/cli.py
95.51% <100.00%> (+0.34%)
:arrow_up:

build_magic/core.py
94.03% <100.00%> (+0.25%)
:arrow_up:

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 a1090d6...418efaa. Read the comment docs.


Fix wallet races and crashes

Signed-off-by: Anthony Fieroni<EMAIL_ADDRESS>

Does your changes here repair this error? https://bitcoin.stackexchange.com/questions/88160/how-do-i-mark-coins-spent-in-invalid-blocks-as-unspent


'See app scenarios' link is broken

In 'The Teams solution' page, the 'See app scenarios' link leads to 'We are sorry, the page you requested cannot be found'.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 3657d472-adc0-6d22-ab88-2af5b2d82869
Version Independent ID: 3657d472-adc0-6d22-ab88-2af5b2d82869
Content: Teams solution for building apps - Teams
Content Source: msteams-platform/overview-solution.md
Service: msteams
GitHub Login: @heath-hamilton
Microsoft Alias: lajanuar

Thanks for reporting @antefix-consulting .
Hi @surbhigupta12 , When we click on this marked 'See app scenarios' link, it leads to 'We are sorry, the page you requested cannot be found'.

Please help here to update the doc.


Tone Kai 2 repair time error

When I hover over the health bar of Tone Kai 2 and it gives me a repair time it is significantly different than the time the dock tells me. At level 74 and 36/59 health the UI in KCV claims 3:08:20 vs the dock saying 4:42:15. I don't know if this is due to her being mislabeled as a CA rather than a CAV since I recall seeing a discrepancy when I was repairing Mogami Kai as well. Anyways thanks for your time. Version is 3.7.0 Rev 3

Can you elaborate on “being mislabelled as a CA”? Repair time is normally calculated based on the values presented by the API, and Tone Kai Ni is most certainly a CAV according to the API. Where exactly is she mislabelled so?

Also, judging by the repair formula, the problem is with the ship type multiplier (CA and CAV have the exact same multiplier). I'll look into this later.

Fixed in 0670a08d144e588be8a8927452d14b019fe13e10.


Unit tests fail

Unit tests fail since they rely on binaries which are not present in the git repo.  Furthermore, not all of the binaries used for unit tests are present in VirusTotal, preventing anyone with VTI access from actually reproducing the full suite of unit tests.
Can you select binaries which are publicly shared and include them in the repo?  Possibly under tests/assets/binaries/* ?

Issue acknowledged. Probably won't include the test files in the repo since they will probably (correctly) be flagged as malware upon checkout.
Potential solution: provide a download script to fetch and initialize samples from VT given an API key.

Thanks, we will provide benign testing binaries and update the test cases.

See new testing architecture, documentation, and travis integration


Rules for Nature News & Comments

http://www.nature.com/nature/rdf/newsandcomment/

Adding Science magazine.


[Question] With Linux 5 updates, does it is yet needed?

I don't really understand what you're asking, but the kernel has nothing to do with this at all.


Move images

address issue #105 , moving images to image folder, updating links in README also

work in progress, don't merge yet

please review @leestott


Specify the minimum version of kustomize in more places

We mention the minimum version of kustomize here:
https://www.kubeflow.org/docs/other-guides/kustomize/#installing-kustomize
We should include the minimum version in other places where we mention kustomize. Use the same shortcode as used in the above doc, to keep the version consistent.

/assign

Pages which need clarification of kustomize version number / installation process:

https://www.kubeflow.org/docs/other-guides/kustomize
https://www.kubeflow.org/docs/started/getting-started/
https://www.kubeflow.org/docs/gke/customizing-gke/


Add the temporal bundling and the pushforward trick

In this paper, the authors claim that " Temporal bundling and the pushforward trick improve FNO dramatically". It would be nice to see if this trick could be added to this library.

It seems that the pushforward trick here is equivalent to forward AD. It is effective that if we cut a temporal bunding and know the final time point to train with. Forward AD could do it very well. However, this paper seems requiring message-passing network from GNN, which will be provided as Graph Neural Operator in the future.

It seems that the pushforward trick here is equivalent to forward AD. It is effective that if we cut a temporal bunding and know the final time point to train with. Forward AD could do it very well. However, this paper seems requiring message-passing network from GNN, which will be provided as Graph Neural Operator in the future.

We can look into it when their code is released. A more pressing matter is to implement the variation of the FNO used in section 5.3. The original code is here.

Also, I am wondering how you plan to implement the Graph Neural Operator, with GeometricFlux.jl?

Also, I am wondering how you plan to implement the Graph Neural Operator, with GeometricFlux.jl?

Yes, I am the maintainer of GeometricFlux.jl, where already have message-passing network.

Also, I am wondering how you plan to implement the Graph Neural Operator, with GeometricFlux.jl?

Yes, I am the maintainer of GeometricFlux.jl, where already have message-passing network.

Cool. How is the package's performance compared to DGL? I know people there have done loads of optimizations.

It seems that the pushforward trick here is equivalent to forward AD. It is effective that if we cut a temporal bunding and know the final time point to train with. Forward AD could do it very well. However, this paper seems requiring message-passing network from GNN, which will be provided as Graph Neural Operator in the future.

We can look into it when their code is released. A more pressing matter is to implement the variation of the FNO used in section 5.3. The original code is here.

The variation is already in the example. The pushforward trick should be applied there

Yeah, but I have no idea how to use pushforward trick here. It needs forward AD support while Flux.jl doesn't support forward AD by default.

I don't see why the forward-mode AD is used. It looks like it should be equivalent to adding noise at each iteration. Could you refer to where the forward-mode AD is used in the paper?

Pushforward trick itself is forward-mode AD here. In its abstract, it claim that

In this work, we build a solver, satisfying these proper-
ties, where all the components are based on neural message passing, replacing
all heuristically designed components in the computation graph with backprop-
optimized neural function approximators.

It seems that they use forward mode AD in replacement of reverse mode AD, which is backpropagation for deep learning.

Sorry, I was misleaded by the figures. Pushforward trick here is not forward AD. In the forward AD, they use the same term "pushforward" 😂

I see. The forward-mode AD is sometimes referred to as "pushforward". But this term refers to something else in this paper.

I have implemented both of them but I don't see a major improvement in performance. It's better to close this issue now.


Add "N tests passed" output when patrol test succeeds

Use case
Right now patrol test just outputs that execution was completed.
Proposal
For the users to not be confused, we should add "N tests passed" output when patrol test succeeds.

+1
It is also related to: https://github.com/leancodepl/patrol/issues/2082


CondaPkg dependencies uninstalled when loading locally from global Julia environment

I have a package, PyThermo, which uses CondaPkg to manage its Python dependencies. I use it often, so PyThermo is installed in my global v1.9 environment. If I load it from a local project environment without first Pkg.adding it, its Conda dependencies are not specified in the local project environment, so CondaPkg removes them (from the global environment), breaking the package in both the local and the global environments.
(@v1.9) pkg> st
Status `C:\Users\aames\.julia\environments\v1.9\Project.toml`
  [6fae04a5] PyThermo v0.2.2

(@v1.9) pkg> activate --temp
  Activating new project at `C:\Users\aames\AppData\Local\Temp\jl_Mv4OQW`

julia> using PyThermo
    CondaPkg Resolving changes
             - python
             - thermo
    CondaPkg Removing packages
             │ C:\Users\aames\.julia\artifacts\4b82d7ce236527959584cbf6b4cd3a10545b99ac\bin\micromamba.exe
             │ -r C:\Users\aames\.julia\scratchspaces\0b3b1443-0f03-428d-bdfb-f27f9c1191ea\root
             │ remove
             │ -y
             │ -p C:\Users\aames\.julia\environments\v1.9\.CondaPkg\env
             │ python
             └ thermo
[...]
Unlinking tk-8.6.12-h8ffe710_0
Unlinking openssl-3.0.7-hcfcfb64_1
Unlinking libsqlite-3.40.0-hcfcfb64_0
Unlinking libffi-3.4.2-h8ffe710_5
Unlinking bzip2-1.0.8-h8ffe710_4
Unlinking ca-certificates-2022.12.7-h5b45459_0
Transaction finished

ERROR: InitError: Python executable "C:\\Users\\aames\\.julia\\environments\\v1.9\\.CondaPkg\\env\\python.exe" is not executable.
Stacktrace:
  [1] error
    @ .\error.jl:35
  [2] init_context()
    @ PythonCall.C C:\Users\aames\.julia\packages\PythonCall\3GRYN\src\cpython\context.jl:88

(jl_Mv4OQW) pkg> add PyThermo
    Updating registry at `C:\Users\aames\.julia\registries\General.toml`
   Resolving package versions...
    Updating `C:\Users\aames\AppData\Local\Temp\jl_WAMdIz\Project.toml`
  [6fae04a5] + PyThermo v0.2.2
    Updating `C:\Users\aames\AppData\Local\Temp\jl_WAMdIz\Manifest.toml`
  [992eb4ea] + CondaPkg v0.2.16
  [187b0558] + ConstructionBase v1.4.1

julia> using PyThermo
ERROR: InitError: UndefRefError: access to undefined reference
Stacktrace:
  [1] PyUnicode_DecodeUTF8
    @ C:\Users\aames\.julia\packages\PythonCall\3GRYN\src\cpython\pointers.jl:299 [inlined]

Ideally CondaPkg would follow Pkg's lead in looking for dependencies in global shared environments and using them instead of removing them.

Thanks - this is indeed a bug. All dependencies of anything in the load path are intended to be installed, but I can see why it isn't. Should be easy to fix.
@t-bltg nope not a regression, this has been there forever!

OK I think I've fixed it in the loadpath branch.  Please can you try it as follows and let me know if it works.
pkg> activate --temp
pkg> add CondaPkg#loadpath
julia> using PyThermo

Works! Thanks for the quick fix. Would it be possible to default to loading from a global v1.9-conda environment (from https://github.com/cjdoris/CondaPkg.jl/issues/64) if the dependency is specified in that environment, instead of creating a new environment? Loading and linking Conda packages (from cache) into the new environment takes about 30 seconds on a fast machine, which adds some TTFP pain.

CondaPkg puts its Conda environment into the topmost project of your load path which depends on CondaPkg. This means that if v1.9 has depends on CondaPkg but your stacked project does not (which is the case in the above example) then the v1.9 environment is reused and no further resolving should occur.
If this isn't the behaviour you observe, please open a new issue.


test(connected-users): emptyDom tests

:tada: This PR is included in version 1.5.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


yolov5

I am new to this technology. Is it possible to use yolov5 instead of yolov4 ?

YOLOv5 and YOLOv4 are not compatible, since YOLOv5 is not YOLO-family descendant in terms of source ML framework - https://github.com/pjreddie/darknet/issues/2198
You can use yolov7 (tiny version) though - https://github.com/AlexeyAB/darknet/issues/8595

A few more questions:

What is faster yolov7 (tiny) or yolov4 (tiny)?
Are there for yolov4, besides the standard set of labels ("coco.names"), any others with their already trained models? Or is there only one model for yolov4?

Thanks in advance for your replies !

tiny-v7 should be considered slower since there are more layers in network architecture.
there are tons of pretrained models in internet. As example I have another repo with pretrained tiny-v4, tiny-v3 for vehicles-only detector (for counting cars) https://github.com/LdDl/rust-road-traffic/tree/master/data (actual training steps are described at https://github.com/LdDl/yolo_vehicles ). What kind of data do you need find on your images? May be I've already seen such pretrained model.

To count cars, it is necessary to add various types of trucks (maybe even with trailers), fixed-route taxis, trolleybuses, trams to the model. But there is only a limited set of vehicles in the existing model ("car", "motorbike", "bus", "train", "truck").
Thanks.

Yeah
Pretty every model trained on COCO / BIT / AIC-HCMC datasets. Those don't contain too much vehicle types. If you need to distinguish you can manually annotate dataset, but it will lead to many classes and then will increase inference time for neural network (more classes = more features = more job in convolutional layers).


count method

added count method

how to use getCount in this library, could you give me sample code, please?
And where I can get the .db to see my record table


Editor - copy/cut/paste text

In the text areas of the editor you can select text and then right click to get the options to copy/cut/paste text. If I select one of these then it comes up with a dialog box (screen shot attached) because my browser security settings won’t allow access to the clipboard. It’s the default setting to not allow access I think so I doubt these options will work for most people. I thought if it generally won’t work then probably best not to have the option there.

By Fay

Is this now being handled correctly @torinfo that we can close?

Yes, this is fine.


[doc/getting_started] Updates and minor corrections to documentation

Fixing broken links and minor errors observed whilst getting up to speed. Additional comments re later Ubuntu (20.04) and minimum system requirements.
Signed-off-by: Adrian Lees<EMAIL_ADDRESS>

Thanks for the fixes @alees24 !

Looks like you will also need to hit these files with the util/fix_trailing_whitespace.py script to get them to pass CI.


js error

hello,
i got something wrong

i can't find EPersonaState ,so i need your help,thank you very mach!

this cmd picture,thanks

Can you send the debug.log file?

[20:31:3] Loaded debug.
[20:31:3] New tradeoffer-manager was setup.
[20:31:3] Tried to logon with account credentials
[20:31:3] Loaded App
[20:31:4] Loaded BrowserMenu
[20:37:21] App Shutdown

thank you very much !

I don't think you are using the correct login credentials.

Hello. No it doesn't have to do with the login credentials. I found the issue and fixed it in this commit: https://github.com/ThunbergOlle/SteamTradeBot/commit/a235a1b643367352ffc35dd4574d3cdd10293fe6
You update the bot!

thank you very  very very very very much!!!!!!it works!


ID Token undefined after renewing tokens

Issue and Steps to Reproduce
After the initial authentication process I am able to get the id_token in my react application using the following hook:
const { idToken, idTokenPayload } = useOidcIdToken();

After 15 minutes, the access token expires and the tokens are renewed normally. The body of the response does not include the ID Token. After this if I try to get the idToken the value will be undefined and for the ID Token Payload the value will be null.
I think that the problem might be that the library is expecting to have the idToken in the response body each time we renew the token. I researched and I found out that the idToken is optional in the response after successfully renewing the tokens:

Versions
"@axa-fr/react-oidc": "^7.13.15"

Screenshots

Expected
Being able to get the idToken and idToken Payload
Actual
After renewing the access token, the idToken is undefined and the idToken payload null.
Thank you !!

Ho thank you for your issue @leonardo-asad .
It is the same for the refreshToken. I did not know that. I will try to fix it quickly !

hi @leonardo-asad ,
You can test version 7.15.0-alpha.1286 that may fix that :)

hi @guillaume-chervet
Thanks for your quick response !
It seems that this new version fixes the problem
Thanks!

Version is published as 7.15.1 @leonardo-asad . Thank you very much for your help ! feel free to close the Issue :)

Hi @guillaume-chervet
I still encounter this problem.
When you go from the parseOriginalTokens method to the setTokens method, the condition !('idToken' in tokens) always returns false, because the tokens object always contains idToken.

Please feel free to correct me if I'm wrong
Versions
"@axa-fr/react-oidc": "^7.22.6"


Hi i am getting the same error

i'm getting the same error in VScode windows... what do i do?

Not sure what error this is, and not enough detail to do anything.


How to add data present in html to pdf & how to preserve hyperlinks?

Hi
I am willing to convert a report which contains few HTML tabs by default first tab is active so how can we print data which is present under the second or third tab to pdf.
Also, the same report contains a table which contains some hyperlinks so how can preserve that in PDF
here is link to report https://goo.gl/cCQYNi

If fromHTML is not giving the expected result than you have to extend fromHTML or write your own parser.

Hi
I sorted this issue by using html2pdf library, which actually using jsPDF as a dependency.
Here is sample code
https://jsfiddle.net/rzdwqnLk/2/

We are closing this issue, because we will not support any longer fromHTML and addHTML.
Explaination:
We are working on a new html2pdf plugin, which will be based on html2canvas and our context2d plugin. This should lead to more reliable results for your projects. And it will give us the time to focus on the core functionality of pdf-generation because we will not use our energy for writing/supporting/extending 2 html plugins. If you still want to use addHTML or fromHTML you can still use jsPDF 1.4.1.
Best Regards


Cannot run ollama on my server using the docker image, error 132

Hello,
This is the first time I am facing such an issue, I cannot run the container at all, it crashes right when it is deployed.
I don't know which information should be useful to debug that issue, my host is a debian 12 server with docker 25 ce
I was first deploying using a compose file but I switched back to the docker command line to double check:
docker run -d -v ollama:/root/.ollama -p 11434:11434 --name ollama ollama/ollama
It creates a volume, but container crashes with error code 132:
State
Dead false
Error
ExitCode 132
FinishedAt 2024-01-21T10:24:09.726297577Z
OOMKilled false
Paused false
Pid 0
Restarting false
Running false
StartedAt 2024-01-21T10:24:09.724212624Z
Status exited

Then I have no clue to identify what is going on, I was not able to find a reference to error 132 in the source code, that could help me do some further checks.
Maybe you will have some ideas ! Thanks !

I have the same exact issue

I guess it has something to do with the support of AVX instructions. I am using an Intel Gold 6400 which is socket 1200, Cornet Lake gen, but only supports SSE 4.1 and 4.2, contrary to the i5 I also have, same socket and gen, but which supports AVX.
If someone can confirm ... thanks !

@GuiPoM can you try running without daemon mode (drop the -d flag) to see if there is any output before the exit/crash?

@GuiPoM can you try running without daemon mode (drop the -d flag) to see if there is any output before the exit/crash?
Also make sure to pull the image (docker pull ollama/ollama) to make sure you get the latest version.

Thank you for your answer. I do not know if you made the link with the other conversation we had in the issue #1279 about support of CPUs without AVX, but the rc image you shared with me is working fine.
I made it working on this platform, CPU without AVX, no GPU. Another one, CPU with AVX, but no GPU. And a final one, CPU with AVX and with nVidia GPU, and all three are starting fine.
So I guest the "latest" ollama image is now old and does not provide the latest enhancement to have it deployed.
I can do the check without -d if you think it is useful, but as the rc image works, I guess we can say my issue is closed, right ?

Great to hear the latest release is working for you!

So I guest the "latest" ollama image is now old and does not provide the latest enhancement to have it deployed.

We do update the latest tag on every release, but depending on your container runtime and how you run the container, "latest" can grow stale on your system.  If you docker pull ollama/ollama that will ensure you're picking up the actual latest image from Docker Hub.
It sounds like we can close this now.


if(!cordova.hasPermission(permission))

can't find reference to cordova.hasPermission
What am i doing wrong? Were running and old version of cordova 5, i installed this plugin along side the cordova compat plugin.
but my application wont build

var permissions = cordova.plugins.permissions;
permissions.hasPermission(list, callback, null);

No that’s not what I’m referring to.. the error is coming from java Cordova.has permissions is undefined not my JavaScript code


This action should validate all the parameters it's given

In #34, the issue was that command was set to an empty string. It'd be nice if this action validate the arguments it's given and gave a clear error if they aren't valid.

Yea we defiantly need this.
need any help?

If you'd like to work on a PR, that'd be great. I think the easiest way to do this is to write a shell script that accepts all the parameters and validates them. I think validation rules are:

working-directory - check that this path exists and is a directory
command - one of the allowed options
target - a valid target per rustup

I'm not sure of the best way to check this. This needs to happen before running dtolnay/rust-toolchain@master.

GITHUB_TOKEN - not sure what the validation rules are for this
strip - true or false
cross-version - a Git commit or a tag in the form of vX.Y.Z
cache-cross-binary - true or false

I ended up doing this as part of some other work. It's available in the v1.0.0-beta1 release, which I hope to mark stable in the next few weeks.

Oh cool. I checked out project and I did not find out where should I add this feature and what should I do.
Happy to hear It's fixed now.
Thanks


plocate: 1.1.22 -> 1.1.23

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/plocate/versions.
meta.description for plocate is: Much faster locate
meta.homepage for plocate is: https://plocate.sesse.net/
Updates performed

Version update

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.1.23 with grep in /nix/store/641lv47kz70slfwwlgpfhf36z3bxf4gq-plocate-1.1.23
found 1.1.23 in filename of file in /nix/store/641lv47kz70slfwwlgpfhf36z3bxf4gq-plocate-1.1.23

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

plocate

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/641lv47kz70slfwwlgpfhf36z3bxf4gq-plocate-1.1.23 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A plocate https://github.com/r-ryantm/nixpkgs/archive/708c16b14f1cb8185d7460168b48fee148d34e07.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/708c16b14f1cb8185d7460168b48fee148d34e07#plocate

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/641lv47kz70slfwwlgpfhf36z3bxf4gq-plocate-1.1.23
ls -la /nix/store/641lv47kz70slfwwlgpfhf36z3bxf4gq-plocate-1.1.23/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review

x86_64-linux

:white_check_mark: 1 package built:

plocate

Maintainer pings
cc @peterhoeg @SuperSandro2000 for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.

Going to create a 2nd PR with the service changes.


Name/SMILES getters/setters for compounds

Resolves #425
Note that the new function get_compound_smiles is NOT the same as smiles_from_compound. The newly-added former just gets the string value of the SMILES identifier (or None), whereas the latter tries to parse other structural identifiers as a back-up option.
I could envision combining these functions with an optional kwarg like from_mol=False. However, changing this would break the editor since it relies on molblock_from_compound at least. @skearnes what is our plan for synchronizing the two repos?

I could envision combining these functions with an optional kwarg like from_mol=False. However, changing this would break the editor since it relies on molblock_from_compound at least. @skearnes what is our plan for synchronizing the two repos?

Please see https://github.com/Open-Reaction-Database/ord-editor/pull/11


AuthenticationController::$container must not be defined

Checklist

[X] I have looked into the Readme and have not found a suitable solution or answer.
[X] I have searched the issues and have not found a suitable solution or answer.
[X] I have searched the Auth0 Community forums and have not found a suitable solution or answer.
[X] I agree to the terms within the Auth0 Code of Conduct.

Description
When updating to 5.2.2 composer throws this error during Symfony cache:clear step:
 [KO]
Script cache:clear returned with error code 255
!!
!!  Fatal error: Type of Auth0\Symfony\Controllers\AuthenticationController::$container must not be defined (as in class Symfony\Bundle\FrameworkBundle\Controller\AbstractController) in /xyz/vendor/auth0/symfony/src/Controllers/AuthenticationController.php on line 20
!!  PHP Fatal error:  Type of Auth0\Symfony\Controllers\AuthenticationController::$container must not be defined (as in class Symfony\Bundle\FrameworkBundle\Controller\AbstractController) in /xyz/vendor/auth0/symfony/src/Controllers/AuthenticationController.php on line 20
!!  Symfony\Component\ErrorHandler\Error\FatalError {#3008
!!    #message: "Compile Error: Type of Auth0\Symfony\Controllers\AuthenticationController::$container must not be defined (as in class Symfony\Bundle\FrameworkBundle\Controller\AbstractController)"
!!    #code: 0
!!    #file: "./vendor/auth0/symfony/src/Controllers/AuthenticationController.php"
!!    #line: 20
!!    -error: array:4 [
!!      "type" => 64
!!      "message" => "Type of Auth0\Symfony\Controllers\AuthenticationController::$container must not be defined (as in class Symfony\Bundle\FrameworkBundle\Controller\AbstractController)"
!!      "file" => "/xyz/vendor/auth0/symfony/src/Controllers/AuthenticationController.php"
!!      "line" => 20
!!    ]
!!  }
!!
Script @auto-scripts was called via post-update-cmd

I presume it refers to this declaration of the property here vs [the property already declared by the parent class without the type restriction].(https://github.com/symfony/symfony/blob/6.4/src/Symfony/Bundle/FrameworkBundle/Controller/AbstractController.php#L58-L61)
Type restriction was actually introduced in Symfony 7.0, so I suspect this was an attempt at upgrading/making-compatible.
I would suggest removing the protected keyword and using the setter method provided - that way it will be compatible both with 6.x and 7.x.
E.g.
    public function __construct(
        private Authenticator $authenticator,
        private RouterInterface $router,
       ContainerInterface $container,
    ) {
        $this->setContainer($container);
    }

Reproduction

Install this bundle into a symfony project
use composer update to upgrade this bundle to v5.2.2

Additional context
No response
jwt-auth-bundle version
5.2.2
Symfony version
6.4.1
PHP version
8.2

Resolved by #179


[stable/sealed-secrets] helm post-install notes don't define $release

Is this a BUG REPORT or FEATURE REQUEST? (choose one):
BUG
Version of Helm and Kubernetes:
(latest?)
Which chart:
sealed-secrets
What happened:
post-install NOTES says:
You should now be able to create sealed secrets.

1. Install client-side tool into /usr/local/bin/

GOOS=$(go env GOOS)
GOARCH=$(go env GOARCH)
wget https://github.com/bitnami-labs/sealed-secrets/releases/download/$release/kubeseal-$GOOS-$GOARCH
sudo install -m 755 kubeseal-$GOOS-$GOARCH /usr/local/bin/kubeseal

... but this shell fragment does not define $release so cut+paste fails.
What you expected to happen:
Glorious success.
How to reproduce it (as minimally and precisely as possible):
install sealed-secrets helm chart.  Follow the NOTES instructions.
Anything else we need to know:
Originally opened as https://github.com/bitnami-labs/sealed-secrets/issues/141

... The fix is to expand {{.Values.image.tag }} instead of $release


WebBasket: "stuff you read" / "stuff you submitted"

Originally on 2013-07-12
It would be useful to introduce a new automatically created personal baskets such as "stuff you read" and "stuff you submitted".  User would not have to add anything there, they would be filled automatically.
The baskets would be also automatically maintained, i.e. moving items from the baskets, or deleting items in those baskets, would be forbidden.
The baskets could be either fully virtual/dynamic (i.e. created from other tables such as rnkPAGEVIEWS) or they could be populated automatically after page view document download event (see various "INSERT DELAYED INTO rnkPAGEVIEWS" places) and after document submission event via another set of "INSERT INTO DELAYED" statements, so to speak.
The site administrators should be able to switch this feature on or off.   Alternatively, the user himself/herself should be able to switch this feature on or off.

Considering that we went for tags, I'm closing this issue as "someday".  CC @kasioumis
(It may still be good to have an auto-tag facility to say "read", etc.)


WIP(12): Component folder structure

Related to #2080
This PR folders creates folders for:

Footer
Input
InputGroup
Layout
LoadingSpinner

The netlify deployments are failing:

Command failed with exit code 1: yarn build-storybook (https://ntl.fyi/exit-code-1)

I wasn't having any issue with storybook locally until I re-installed all packages.
Now, when trying to run yarn storybook I get the following error:

Will put this PR in draft state and dig into this soon...

The netlify deployments are failing:

Command failed with exit code 1: yarn build-storybook (https://ntl.fyi/exit-code-1)

I wasn't having any issue with storybook locally until I re-installed all packages.
Now, when trying to run yarn storybook I get the following error:

Will put this PR in draft state and dig into this soon...

Could you check if it's related to this PR? https://github.com/garageScript/c0d3-app/pull/2907

Could you check if it's related to this PR? #2907

Yes, it must be.
Downgrading to<EMAIL_ADDRESS>and the error goes away.
Re-upgrading to<EMAIL_ADDRESS>and I get the "Can't resolve 'async_hooks' ... " error.
Release notes for @7.48.0 - many changes related to async
I'm seeing if there's a quick fix somewhere.


Clean main

Just cleaned main totally with comments, nah nothing else

Note : This was just for testing my merging conflicts or any other issues, nothing else


Updating TextLayer

How to update TextLayer in JSON. In lottiePlayer package updateDocumentData method will be there for editing text layers like these is there any event for this?

I can take a look at this and see if I can implement it. I will post updates when its done.

updateDocumentData method is exported in Lottiplayer Package.
Add this method it will update the textlayer data.
const updateDocumentData = (index,obj)=>{
lottieAnimation.renderer.elements[index].updateDocumentData(obj)
};


Possible Enhancement to Disable SSE in Development

David, following up on our conversation about the possibility of disabling the extension to quickly switch back to using the flask development server.
What do you think about using a config variable to control it? I haven't looked at the source code much yet, but maybe there's a simple way to toggle initialization of the extension by looking for the existence of a particular app config variable? It would have to gracefully handle the blueprint too, since it's most likely there will be some url_fors in an app's templates and that would throw BuildErrors.
Let me know what you think about this direction. I'd be happy to offer a PR if you agree.

Why not handle this outside of the extension itself? For example:
if not app.debug:
    app.register_blueprint(sse, url_prefix='/stream')

That's a good idea...
On Wed, May 24, 2017 at 11:35 AM David Baumgold<EMAIL_ADDRESS>wrote:

Why not handle this outside of the extension itself? For example:
if not app.debug:
app.register_blueprint(sse, url_prefix='/stream')
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/singingwolfboy/flask-sse/issues/5#issuecomment-303813269,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAev9AeBRVr66GDLGfXD8jRw94dCVQCqks5r9Hh-gaJpZM4NlRCf
.

--
Frank Valcarcel
Cuttlesoft http://www.cuttlesoft.com
888.534.1844
http://www.cuttlesoft.com


refactor: olap scan & volap scan

refactor, change list:

we should use std prior to boost lib，so use std::unique_ptr replace boost::scoped_ptr, use std::shared_ptr replace boost::shared_ptr
make get_next take RowBatch param the same with get_next take Block param,  ExecNode define default implement, subclass override this interface when necessary
use override replace virtual keyword in subclass, because override keyword will tell compiler check param and report error when the function signature of subclass not match the version in the superclass, this is recommended and is why override import to C++11.
add keyword const to the read-only member functions
remove unnecessary empty dtor,  why? please reference to rules of 3/5/0
rewrite VOlapScanNode::transfer_thread, improving the code' readability
delete useless member datas, it's code garbage
resolved memleak risk，the block will leak when get_block return value is not ok
other small modifications, such as use better mutex lock

【说明】这个pr已拆解为两个pr
1.改动olap scan代码的见: https://github.com/apache/incubator-doris/pull/7131
2.改动vec目录下的volap见: https://github.com/doris-vectorized/doris-vectorized/pull/242

merged by haopeng in another PR


About the NSD data.

Thank you very much for your work, I would like to know which part of NSD data is needed for this project, how to preprocess the NSD data, and how to organize the image stimuli in the dataset into a .npy file with specified dimensions. Is there any code for these questions? I will be eternally grateful.

For data downloading and preprocessing, I provide you with two options.
The first option is to follow the data downloading and preprocessing process provided by this project (https://github.com/ozcelikfu/brain-diffuser). The code is well-established and has been verified to run smoothly. Both our project and his use the first, second, fifth, and seventh subjects, and the training set and test set are divided in the same way.
If you have difficulties with data downloading and preprocessing, the second option is to download this competition dataset (https://colab.research.google.com/drive/1bLJGP3bAo_hAOwZPHpiSHKlt97X9xsUw?usp=share_link#scrollTo=Cuc-YDrzxWPf) which provides preprocessed NSD data((https://docs.google.com/forms/d/e/1FAIpQLSehZkqZOUNk18uTjRTuLj7UYmRGz-OkdsU25AyO3Wm6iAb0VA/viewform?edit2=2_ABaOnufvGlANXIdmv_QVzx3cuXu8CIb8egL9KL9xIpZV0TN-fbLtlMPjS3mVs4dOvA),). However, it only provides the complete training set (you can divide it into a new test set yourself), and it should be noted that the division of the training and test sets in this dataset is not consistent with the division in our paper.

For the "specified" dimensions, we just resized the pictures to (512,512,3) and rearranged the dimensions.
img_dir = target_dir + 'Test/'
img_name = source_dir + img_names[i]
img = Image.open(img_name)
out = img.resize((512, 512))
Trn = rearrange(torch.tensor(np.array(Train_Images), dtype=torch.float32), "b h w c -> b c h w")

For data downloading and preprocessing, I provide you with two options.对于数据下载和预处理，我为您提供了两个选项。 The first option is to follow the data downloading and preprocessing process provided by this project (https://github.com/ozcelikfu/brain-diffuser). The code is well-established and has been verified to run smoothly. Both our project and his use the first, second, fifth, and seventh subjects, and the training set and test set are divided in the same way.第一种选择是遵循本项目提供的数据下载和预处理过程（https://github.com/ozcelikfu/brain-diffuser）。该代码已建立，并已验证可以顺利运行。我们的项目和他都使用第一、第二、第五和第七个科目，训练集和测试集的划分方式相同。
If you have difficulties with data downloading and preprocessing, the second option is to download this competition dataset (https://colab.research.google.com/drive/1bLJGP3bAo_hAOwZPHpiSHKlt97X9xsUw?usp=share_link#scrollTo=Cuc-YDrzxWPf) which provides preprocessed NSD data((https://docs.google.com/forms/d/e/1FAIpQLSehZkqZOUNk18uTjRTuLj7UYmRGz-OkdsU25AyO3Wm6iAb0VA/viewform?edit2=2_ABaOnufvGlANXIdmv_QVzx3cuXu8CIb8egL9KL9xIpZV0TN-fbLtlMPjS3mVs4dOvA),). However, it only provides the complete training set (you can divide it into a new test set yourself), and it should be noted that the division of the training and test sets in this dataset is not consistent with the division in our paper.如果您在数据下载和预处理方面遇到困难，第二种选择是下载此竞赛数据集（https://colab.research.google.com/drive/1bLJGP3bAo_hAOwZPHpiSHKlt97X9xsUw?usp=share_link#scrollTo=Cuc-YDrzxWPf），它提供预处理的NSD数据（（https://docs.google.com/forms/d/e/1FAIpQLSehZkqZOUNk18uTjRTuLj7UYmRGz-OkdsU25AyO3Wm6iAb0VA/viewform?edit2=2_ABaOnufvGlANXIdmv_QVzx3cuXu8CIb8egL9KL9xIpZV0TN-fbLtlMPjS3mVs4dOvA），）。但是，它只提供了完整的训练集（你可以自己把它划分成一个新的测试集），需要注意的是，这个数据集中训练集和测试集的划分与我们论文中的划分并不一致。

Thans for response. Is this code for preprocessing NSD data? (https://github.com/styvesg/nsd/blob/master/data_preparation.ipynb)
As described in MindDiffuser github: (After preprocessing the NSD data, please organize the image stimuli in the training set into a .npy file with dimensions (8859, 3, 512, 512)), is this code(data_preparation.ipynb) you're using to preprocess the NSD data？

Yes, but this code is very messy. I suggest you refer to this project (https://github.com/ozcelikfu/brain-diffuser)

As described in MindDiffuser github: (After preprocessing the NSD data, please organize the image stimuli in the training set into a .npy file with dimensions (8859, 3, 512, 512)), is this code(data_preparation.ipynb) you're using to preprocess the NSD data？
No, For the code to process stimulating images, please refer to my second reply. It's very simple. Simply read each image in order, resize each image, and finally modify the dimensions using the rearrange function.

Yes, but this code is very messy. I suggest you refer to this project (https://github.com/ozcelikfu/brain-diffuser)是的，但是这段代码非常混乱。我建议你参考这个项目（https://github.com/ozcelikfu/brain-diffuser）

Okay，is this code in the project（https://github.com/ozcelikfu/brain-diffuser） that preprocesses NSD data? After I run this code, I need to organize the image stimuli in the training set into a .npy file with dimensions ..., right?

Yes, this code has standardized the dimensions of the stimulus image to b h w c. You only need to preprocess it and then change it to b c h w on your own.

Yes, this code has standardized the dimensions of the stimulus image to b h w c. You only need to preprocess it and then change it to b c h w on your own.是的，此代码已将刺激图像的尺寸标准化为 b h w c。你只需要对它进行预处理，然后自己把它改成b c h w。

Ok, I will try it, thanks so much~~~

Good luck, if you have any other questions, please feel free and let me know.

Good luck, if you have any other questions, please feel free and let me know.

Hello，I have another question about COCO datasets. I downloaded the annotations_trainval2017 datasets, including "captions_train2017.json" and "captions_val2017.json" file. But I can't find the "captions_test2017.json" from the official website of the COCO dataset, do you mean "captions_val2017.json" here? Or where is the "captions_test2017.json" in official website of the COCO dataset?

I'm sorry for my carelessness, it's "captions_val2017.json"

Good luck, if you have any other questions, please feel free and let me know.

Hello，I have another question about COCO datasets. I downloaded the annotations_trainval2017 datasets, including "captions_train2017.json" and "captions_val2017.json" file. But I can't find the "captions_test2017.json" from the official website of the COCO dataset, do you mean "captions_val2017.json" here? Or where is the "captions_test2017.json" in official website of the COCO dataset?

Or "image_info_test2017.json" in image_info_test2017 folder is the "captions_test2017.json"? In the official website of the COCO dataset,  the "image_info_test2017.json" file is from this link:

I'm sorry for my carelessness, it's "captions_val2017.json"

Ok, thanks a lot.

@ReedOnePeck Sorry to bother you again. I can only find sd-v1-4.ckpt from stable-diffusion-v-1-4-original: https://huggingface.co/CompVis/stable-diffusion-v-1-4-original/tree/main, but I can't find v1-inference.yaml form this website, but I can find v1-inference.yaml from stable-diffusion-v1-5: https://huggingface.co/runwayml/stable-diffusion-v1-5/tree/main. Can you give me the website of sd-v1-4.ckpt and the config file :v1-inference.yaml for Stable Diffusion v1-4 ? Thans a lot.

@ReedOnePeck Sorry to bother you again. I can only find sd-v1-4.ckpt from stable-diffusion-v-1-4-original: https://huggingface.co/CompVis/stable-diffusion-v-1-4-original/tree/main, but I can't find v1-inference.yaml form this website, but I can find v1-inference.yaml from stable-diffusion-v1-5: https://huggingface.co/runwayml/stable-diffusion-v1-5/tree/main. Can you give me the website of sd-v1-4.ckpt and the config file :v1-inference.yaml for Stable Diffusion v1-4 ? Thans a lot.

I am not sure if I am right about sd-v1-4.ckpt and v1-inference.yaml.

I don't know why v1-inference.yaml isn't available here, but I just uploaded the file to my project and you can download it from v1-inference.yaml.


Feat 234 nnnnat commercial field

Resolves #234
Impact: minor
Type: feature
Component
Added a Checkbox field for isCommercial property.
Breaking changes
N/A
Testing

At the bottom of the AddressForm page add shouldShowIsCommercialField prop to the AddressForm inside the implementation example editor.
The "Is a commercial address" field should appear, select the checkbox and submit the form
In the browser console, you should see the address object from the form with an isCommercial property set to true.

🚀 Preview deployed
Built with commit 68a4d257098f5ffef1958df426dbb3bccd78fd47
https://deploy-preview-240--stoic-hodgkin-c0179e.netlify.com

@cassytaylor I've updated the label


Country Flag Emoji Added

added flagEmoji in the Country class
Can use country emoji as String.

Hi @emran92 Thank you for the feature and pull request. There are a couple of countries which emojis are not displayed properly. If you can sort this out, I'll be happy to merge it.

Those emoji are showing on my phone.


Can't specify destination folder for library!

Libman doesn't support the concept of moving files, which makes it unusable!  In my configuration file below, the entire folder hierarchy in the PopperJS folder.  All I want to do is copy dist/popper.js to PopperJS to get the following:
\PopperJS
- popper.js
Instead I get this:
\PopperJS
\dist
-popper.js",
There's no way to specify moving the file to the root.  Instead, it creates the "dist" folder.  If you try to remove the "dist" from the "files", it won't find the file in the package. Is there a way to specify the final directory?
{   "provider": "unpkg",   "library"<EMAIL_ADDRESS>  "destination": "Themes/Vigoda/Content/PopperJS",   "files": [     "dist/popper.js",   ] }

The only time this tends to come up, in my experience, is when your package source has a full project structure and not just the distribution folder. In a normal resource, altering the full path can break resources like CSS, graphical assets like fonts, images, etc. I believe this is why it doesn't let you alter the full path to an item (I'm guessing). I get the same problem when importing signalr which I import like this
    {
      "provider": "unpkg",
      "library": "<EMAIL_ADDRESS>      "files": [
        "dist/browser/signalr.min.js",
        "dist/browser/signalr.js"
      ],
      "destination": "wwwroot/vendor/signalr"
    }

Unfortunately even if you are cognizant of this path caveat, libman doesn't stop holding your hand and let you override this behavior. So I believe until a way is provided to indicate "no, it's ok, I know what I'm doing" you're stuck with your asset paths looking like the following, even though I care nothing of the dist or browser path segments.
    <script src="~/vendor/signalr/dist/browser/signalr.js"></script>

Fair enough, but why can't it do something like the following:
{
  "provider": "unpkg",
  "library": "<EMAIL_ADDRESS>  "files": [
    "dist/browser/signalr.min.js",
    "dist/browser/signalr.js"
  ],
  "destination": "wwwroot/vendor/signalr"
  "src_dest_map":  [{ "dist/browser/":"" }]
}

In the snippet above, you can just map your source directory to destination directory.  If fact, you could even allow individual files to be mapped and even renamed.

There're many potential for ways it could be implemented, for sure. It just doesn't currently as far as I know. Mostly likely because of the complexity of someone inevitably wanting to change the mapping on a per file bases.

I think this came up in another issue as well, and what I'd like to see is something along these lines, to allow you to be more expressive for each file.
{
  "provider": "unpkg",
  "library": "<EMAIL_ADDRESS>  "destination": "wwwroot/vendor/signalr",
  "files": [
    // no change from today if specified as a string.  This would yield dist/browser/signalr.js
    "signalr.js",
    // allow customizing the path relative to "destination" above.
    { "dist/browser/signalr.min.js": "min/signalr.min.js"},
    // or even the file name.
    { "dist/browser/foo.js", "bar.js"}
  ]
}

I fully expect the next thing that will be asked for is widcards and/or globs. So it's a slippery slope for what starts out as a pretty innocent request.

Wherever you lean on the idea bundling of CSS/JS given HTTP/2 exists.. if you are bundling then this in-ability to define output locations per-file really hurts.
If you are using a library such as:
        {
            "library"<EMAIL_ADDRESS>            "destination": "wwwroot/lib/bootstrap-icons/",
            "files": [
                "font/fonts/bootstrap-icons.woff",
                "font/fonts/bootstrap-icons.woff2",
                "font/bootstrap-icons.min.css"
            ]
        },

Here, the vendor's CSS file naturally has @import url(fonts/bootstrap-icons.... So if you want to bundle all of the wwwroot/lib/**/*.css files and dump that in wwwroot/css you now have some 404 on getting those font files. Of course this is a personal problem / implementation issue. But, can't it be something simple like adding:
        {
            "library"<EMAIL_ADDRESS>            "destination_files": [
                { in: "font/fonts/bootstrap-icons.woff", out: "wwwroot/fonts/" },
                { in: "font/fonts/bootstrap-icons.woff2", out: "wwwroot/fonts/" },
                { in: "font/bootstrap-icons.min.css", out: "wwwroot/lib/bootstrap-icons/" },
            }
        },

Keep your current "destination" property/API, but add something new that by default only "remembers" the filename.

This is the same problem NuGet managed JS packages had. Why have a new package management mechanism if it doesn't fix the problems of an existing one?

When most npm packages publish their assets in a /dist/ folder it seems very lacking not to have some way to remove it from the destination directory, also many times the names used for their builds aren't the names you would want in your project which becomes a non-starter for TypeScript definitions where you need precise control over their destination file names.
This feature could be easily be implemented using a simple dictionary mapping like:
{
  "provider": "unpkg",
  "library": "vue@3",
  "filesMap": {
    "dist/vue.esm-browser.js":         "vue.js",
    "dist/vue.esm-browser.prod.js": "vue.min.js"
  },
  "destination": "wwwroot/lib/vue/"
}

Anyway the lack of this feature makes libman unusable for use in our project templates and we've had to resort to implementing downloading of assets in a custom node .js script.


moor_generator loops after Flutter upgrade

$ flutter upgrade
Flutter is already up to date on channel stable
Flutter 1.20.4 • channel stable • https://github.com/flutter/flutter.git
Framework • revision fba99f6cf9 (2 недели назад) • 2020-09-14 15:32:52 -0700
Engine • revision d1bc06f032
Tools • Dart 2.9.2
$ flutter pub run build_runner build --delete-conflicting-outputs
Precompiling executable...
Precompiled build_runner:build_runner.
[INFO] Generating build script...
[INFO] Generating build script completed, took 368ms

[INFO] Creating build script snapshot......
[INFO] Creating build script snapshot... completed, took 14.4s

[INFO] Initializing inputs
[INFO] Building new asset graph...
[INFO] Building new asset graph completed, took 725ms

[INFO] Checking for unexpected pre-existing outputs....
[INFO] Deleting 1 declared outputs which already existed on disk.
[INFO] Checking for unexpected pre-existing outputs. completed, took 5ms

[INFO] Running build...
[INFO] Generating SDK summary...
[SEVERE] moor_generator:moor_generator on lib/core.dart:

Bad state: Unexpected diagnostics:
/home/pa/data/sdk/flutter/bin/cache/dart-sdk/lib/core/uri.dart:3259:39 - Expected an identifier.
[SEVERE] moor_generator:moor_generator on lib/core.dart:
[INFO] 1.9s elapsed, 2/18 actions completed.
[INFO] 3.0s elapsed, 2/18 actions completed.
...
[INFO] 16m 21s elapsed, 2/18 actions completed.
[WARNING] No actions completed for 15.1s, waiting on:
  - moor_generator:moor_generator on lib/core/l10n.dart
  - moor_generator:moor_generator on lib/core/tools.dart
  - moor_generator:moor_generator on lib/core/unload_file.dart
  - moor_generator:moor_generator on lib/core/cp1251.dart
  - moor_generator:moor_generator on lib/core/ui_tools.dart
  .. and 11 more

[INFO] 16m 23s elapsed, 2/18 actions completed.
[INFO] 16m 24s elapsed, 2/18 actions completed.
...

It sounds like you're hitting https://github.com/dart-lang/build/issues/2731. Can you try to raise your dev-dependency of build_runner to build_runner: ^1.10.1.

It sounds like you're hitting dart-lang/build#2731. Can you try to raise your dev-dependency of build_runner to build_runner: ^1.10.1.

Thank you, it worked!


colored words not in vocabulary

Occasionally, some words that are not in the vocabulary of tf-idf (which would be the first step of my pipeline) are colored anyway (light red or green).
Is that a bug with the rendering?

hey! Do you have an example?


Switching channel mappings can cause crashes.

See example project shared by Yuval.

This is fixed in the pixi_upgrade branch and is waiting on a pixi upgrade to release.

Fixed in 1.2.4.


ol.interaction.Modify does not take insertVertexCondition into account by geometry hover

Describe the bug
The modify interaction handles the pointer hover event on geometry segments without checking the provided insertVertexCondition.
To Reproduce

Create an ol.interaction.Modify with an insertVertexCondition condition, for example like in https://openlayers.org/en/latest/examples/modify-features.html, but with an insertVertexCondition which allows vertices to be created only if the Alt modifier was pressed:

const modify = new Modify({
  features: select.getFeatures(),
  insertVertexCondition: (event) => altKeyOnly(event),
});

Try to hover any segments (not a vertex, but a segment in between vertices) of any polygon or line geometry.
If the user clicks, the interaction really doesn't allow vertices to be created without the Alt modifier being pressed.
However if the user only hovers a segment, a blue bubble (the vertexFeature_ of the Modify interaction) is created and shown.
For us the bug is not only the visual aspect - that the bubble is shown, but the fact that the event gets handled, so the other interactions do not get to handle this event. We have a Translate interaction active simultaneously, but behind the modify interaction. Mostly we want the modify interaction to win over in case geometry modification is possible for the current event and only otherwise let the user move the whole geometry with the translate interaction. However if the modify interaction creates a bubble then it handles the next click and drag events for it, so they don't make it to the translate interaction. Thus in our configuration it is not possible at all to move the line geometries. For a polygon the users can at least grab some point within its interior to move it, but lines do not have such interior, so the modify interaction always takes over.

Expected behavior
The modify interaction should check the insertVertexCondition also on pointer hover event (in the method handlePointerAtPixel_) and do not handle it in case a segment was hit and the insertVertexCondition doesn't allow vertex insertion.
Suggested solution
ol.intearaction.Modify#handlePointerAtPixel_(pixelCoordinate)
https://github.com/openlayers/openlayers/blob/e0bdf9b3223962d9aad43cf6a2700cde96c1e005/src/ol/interaction/Modify.js#L1294
          if (!this.snappedToVertex_ && this.insertVertexCondition_(this.lastPointerEvent_)) { // Here we can check if the insert condition is fulfilled
            this.createOrUpdateVertexFeature_(
              vertex,
              [ node.feature ],
              [ node.geometry ],
              this.snappedToVertex_,
            );
            ...
          }

Sounds reasonable. Would you be able to create a pull request with the suggested solution, ideally one that also adds a test?

Yes, I will create a pull request.


BSOD when updating or restarting Cairo

Describe the bug
Starting with the pre-latest version I get frequent BSODs when trying to reinstall, update or otherwise restart Cairo.
Steps to reproduce

Have Cairo running.
(Possibly) Hibernate PC and bring it back on a few times.
Try to restart Cairo after altering some settings or receiving an update.
BSOD appears with MEMORY_MANAGEMENT error.
As soon as I switch back to Explorer as primary shell, and stop using Cairo, everything works fine for days.

Expected behavior
Restart or update Cairo with no problem.
System information:

Windows version: Windows 10 version 1803 build 17134.590
Cairo version: 0.3.6758.0 - Pre-release
32-bit or 64-bit: 64
In Cairo Settings > Advanced, is Cairo set as shell?: yes

@vladkorotnev Are you still having this issue?

Closing due to lack of response.

Sorry, I have got rid of Cairo due to moving to a workspace that is not using Windows, so cannot confirm


Merge pull request #1 from google/master

merge latest

Please close this pull request because if changes zero files.


Duplicate usernames

When adding a new user, don't allow duplicate usernames

added check code to adduser.php for Movie and PhotoIndex and to addVolunteer. php for c4h


[DPE-4261] Switch to split snap

Updating charm libs
Adding issues noticed during wildcard db implementation in k8s
Switching to the separate pgb snap

LGTM! As discussed in MM, the upgrade will be handled in a different PR.

Issue to track upgrade bugs: https://github.com/canonical/pgbouncer-operator/issues/267


UI misaligned while adding Product images on release 3.0a

UI misaligned while adding Product images 3.0a
The textbox and checkbox not showing inline .

I'm not able to reproduce this on the sandbox. What browser are you using, and are you sure you've not got any custom styling that overrides the default?

No custom style. I am using google chrome browser. Just to update i am using 3.0a version

I get the same with chromium and firefox
.
Also can't upload an image via the form. Still get an error


Replacing use of dylib/vmvx(-sync) with local-task/local-sync drivers.

This gets us to the proper orthogonality of execution model (sync or task) and supported executable formats (embedded elf, system library, or vmvx module).
There's a lot of misnamed tests that need to be cleaned up (the duplication of things like check_blah_vmvx_vmvx_blah) and they should become much more meaningful (local_sync_vmvx vs local_task_vmvx). The benchmark scripts had to be updated to separate what is a target configuration from the driver/loader used.
Fixes #4298 (loaders are now independent of execution model).

drive-by:
can the local variants just be sync_vmvx be sync_task  and the remote variants when the come can be remote_... ?
Thanks


⚠ Bofrost.es has degraded performance

In 086ba57, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1721 ms

Resolved: Bofrost.es performance has improved in 3c1d135 after 6 minutes.


All emulators crash during initialization with example roms while other game roms don't

Currently only ares works as an emulator, since others are not accurate enough.
This is nothing that can be fixed in tiny3d as it is verified to work on real hardware, which is the ground truth in this case.
The only option for other emus would be to improve accuracy in there


Hoist HTTPStatus into falcon top-level namespace

Fixes #592

@maxking Thanks for working on this! Once this passes the pep8 gate, could you please rebase and squash all the patches down into a single commit?

Thanks for the review. I will do that ASAP!

@kgriffs Done!

Oops, forgot to mention the commit message should follow AngularJS style (e.g., prefix the first line with a "chore:", but not a big deal this time; just something to keep in mind for the future. Thanks!


add missed optimizer docs

Description
Add the optimizers that are missed in api doc
Checklist
Essentials

[x] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes

[x] Add missed optimizers in api doc

Updated doc can be found at http://mxnet-doc.s3-accelerate.dualstack.amazonaws.com/api/python/optimization/optimization.html#the-mxnet-optimizer-package


Make installation of the npm driver optional

What does this PR do?
Makes the installation of the npm driver optional, enabled by command line flag or GUI selection.
The system probe is always installed, however, it will fail to run if the driver option isn't installed as well.
Includes change to have clearer error message if driver isn't present.
Motivation
Change motivated by inclusion of driver, which was deemed necessary to have a separate install step.
Additional Notes
This change also includes (requires) fixes to the "change" and "repair" functionality, because those
features were not working correctly and would be necessary to allow a user who didn't install the driver, but
wanted to, to re-run the install and add the driver.  Otherwise re-running the install would have no impact.
Describe your test plan
Need to test the following functionality
Upgrade from beta retains driver w/o any special flags
Upgrade from previous version does not contain driver w/o flags
upgrade from previous version does contain driver with flags
change and repair work as desired
upgrade to future version (we'll need to simulate a future build version) also handles upgrade case properly.

Closing PR. This PR was intended for 7.26, but not taken for that release.


Trying to train "ixa-ehu/ixambert-base-cased" model

Hi!
You have done a great job!! I have been training two different models. the one mentioned in the title ("ixa-ehu/ixambert-base-cased") and multibert_cased. With the multibert I didn't have any problems with the training, however, when I try to train the other model it says that I have a missmatch with the shape of the vocabulary size.
In the config file of the "ixa-ehu/ixambert-base-cased" model the vocabulary size is the following one:
08/18/2022 09:41:28 - INFO - awesome_align.configuration_utils -   Model config BertConfig {
"architectures": null,
"attention_probs_dropout_prob": 0.1,
"bos_token_id": null,
"do_sample": false,
"eos_token_ids": null,
"finetuning_task": null,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "LABEL_0",
"1": "LABEL_1"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"is_decoder": false,
"label2id": {
"LABEL_0": 0,
"LABEL_1": 1
},
"layer_norm_eps": 1e-12,
"length_penalty": 1.0,
"max_length": 20,
"max_position_embeddings": 512,
"model_type": "bert",
"num_attention_heads": 12,
"num_beams": 1,
"num_hidden_layers": 12,
"num_labels": 2,
"num_return_sequences": 1,
"output_attentions": false,
"output_hidden_states": false,
"output_past": true,
"pad_token_id": null,
"repetition_penalty": 1.0,
"temperature": 1.0,
"top_k": 50,
"top_p": 1.0,
"torchscript": false,
"type_vocab_size": 2,
"use_bfloat16": false,
"vocab_size": 119099
}
When I begin with the training i get this error:
Iteration:   0%|                                                                                | 0/40000 [00:00<?, ?it/s]Traceback (most recent call last):
File "/mnt/datuak/virtualenvs/transformers/bin/awesome-train", line 8, in
sys.exit(main())
File "/mnt/datuak/virtualenvs/transformers/lib/python3.6/site-packages/awesome_align/run_train.py", line 848, in main
global_step, tr_loss = train(args, train_dataset, model, tokenizer)
File "/mnt/datuak/virtualenvs/transformers/lib/python3.6/site-packages/awesome_align/run_train.py", line 370, in train
loss = model(inputs_src=inputs_src, labels_src=labels_src)
File "/mnt/datuak/virtualenvs/transformers/lib/python3.6/site-packages/torch/nn/modules/module.py", line 889, in _call_impl
result = self.forward(*input, **kwargs)
File "/mnt/datuak/virtualenvs/transformers/lib/python3.6/site-packages/awesome_align/modeling.py", line 660, in forward
masked_lm_loss = loss_fct(prediction_scores_src.view(-1, self.config.vocab_size), labels_src.view(-1))
RuntimeError: shape '[-1, 119101]' is invalid for input of size 5716752
As you can see the vocab_size has increased by 2 from 119099 to 119101. This is due to the CLS and SEP tokens, however, I don't know why I get this error. I have tried to manually decrease the vocab_size in the code, but this leads to some other errors when I make the alignments.
I leave you here the awesome-train command I have used for training:
CUDA_VISIBLE_DEVICES=1 awesome-train
--output_dir=$OUTPUT_DIR
--model_name_or_path=ixa-ehu/ixambert-base-cased
--extraction 'softmax'
--do_train
--train_mlm
--train_tlm
--train_tlm_full
--train_so
--train_psi
--train_co
--train_data_file=$TRAIN_FILE
--per_gpu_train_batch_size 2
--gradient_accumulation_steps 4
--num_train_epochs 1
--learning_rate 2e-5
--save_steps 10000
--max_steps 40000 \
Could you please help me solve this issue?
Thanks!

Hi, right now the repo only supports mBERT and XLM-R. You can check this commit to see how to incorporate a new model.