csg operation error

const brush1 = new Brush(geometry1); brush1.updateMatrixWorld(); const brush2 = new Brush(geometry2); brush2.updateMatrixWorld(); const evaluator = new Evaluator(); const result = evaluator.evaluate(brush1, brush2, ADDITION); console.log(result);

TypeError: Cannot read properties of undefined (reading 'array')
It is meaning that the brush geometry not be two-manifold?

Please provide a working example of the problem. There's no way to say what the issue is with the information you provided.

stl_models.zip
I just do simple operation of this two stl meshes, but i not work.
if the reason that error is the model not require the two-manifold?

stl_models.zip

This is not a live example. I'm sorry but I cannot take the time to try to recreate your issue. Please provide a useable example with something like jsfiddle or codesandbox that shows the error.

if the reason that error is the model not require the two-manifold?

There is no detection for two manifold geometry in the project. It is the applications responsibility to enforce this.

Closing until we have a reproduction case.


r5 not supported in IO setup, but no clean error shown

Use any r5 instance in AWS,
use Scylla Enterprise 2022 rc8
upon using the AMI you get:
scyllaadm@ip-172-31-31-243:~$ sudo systemctl status scylla-image-setup.service
● scylla-image-setup.service - Scylla Cloud Image Setup service
     Loaded: loaded (/lib/systemd/system/scylla-image-setup.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Wed 2022-07-13 14:40:03 UTC; 11min ago
    Process: 7869 ExecStart=/opt/scylladb/scylla-machine-image/scylla_image_setup (code=exited, status=1/FAILURE)
   Main PID: 7869 (code=exited, status=1/FAILURE)

Jul 13 14:40:03 ip-172-31-31-243 scylla_image_setup[7869]:   File "/opt/scylladb/scylla-machine-image/libexec/scylla_image_setup", line 42, in <module>
Jul 13 14:40:03 ip-172-31-31-243 scylla_image_setup[7869]:     cloud_instance.io_setup()
Jul 13 14:40:03 ip-172-31-31-243 scylla_image_setup[7869]:   File "/opt/scylladb/scylla-machine-image/lib/scylla_cloud.py", line 689, in io_setup
Jul 13 14:40:03 ip-172-31-31-243 scylla_image_setup[7869]:     return run('/opt/scylladb/scylla-machine-image/scylla_cloud_io_setup', shell=True, check=True)
Jul 13 14:40:03 ip-172-31-31-243 scylla_image_setup[7869]:   File "/opt/scylladb/python3/lib64/python3.9/subprocess.py", line 528, in run
Jul 13 14:40:03 ip-172-31-31-243 scylla_image_setup[7869]:     raise CalledProcessError(retcode, process.args,
Jul 13 14:40:03 ip-172-31-31-243 scylla_image_setup[7869]: subprocess.CalledProcessError: Command '/opt/scylladb/scylla-machine-image/scylla_cloud_io_setup' returned non-zero exit status 1.
Jul 13 14:40:03 ip-172-31-31-243 systemd[1]: scylla-image-setup.service: Main process exited, code=exited, status=1/FAILURE
Jul 13 14:40:03 ip-172-31-31-243 systemd[1]: scylla-image-setup.service: Failed with result 'exit-code'.
Jul 13 14:40:03 ip-172-31-31-243 systemd[1]: Failed to start Scylla Cloud Image Setup service.

which likely points to missing instance type, but in such case there should be fallback to iotune, which is NOT happening, hence this bug

crosslinking, since I saw both on same setup: https://github.com/scylladb/scylla-machine-image/issues/375

@syuu1228 is above a regression of moving the code for io setup outside of scylla?

or could it be the same as https://github.com/scylladb/scylla-machine-image/issues/370 ? @fruch can you help me decide/route this issue?

@tarzanek With 2021.1 it fallback to run io tune ? if yes it's a regression that need to be fixed.

yes, fallback to iotune was always there

Otherwise it's need to be discussed with @yaronkaikov  and @syuu1228

@yaronkaikov if this is indeed a regression, we need to fix

This is the missing fallback [0] and as you can see it exists on scylla repo (branch 2021.1) but is missing from scylla-machine-image - not sure if it was missed in the scylla -> scylla-machine-image switch or not added on purpose,
In any case the run_iotune function should be added to scylla_cloud_io_setup.py to support supported-instance without pre-configure io
[0] https://github.com/scylladb/scylla-enterprise/blob/af3da2d7ac8b83e1710c418b269c3c85bd1fdbe4/dist/common/scripts/scylla_io_setup#L374-L378

This is the missing fallback [0] and as you can see it exists on scylla repo (branch 2021.1) but is missing from scylla-machine-image - not sure if it was missed in the scylla -> scylla-machine-image switch or not added on purpose,
In any case the run_iotune function should be added to scylla_cloud_io_setup.py to support supported-instance without pre-configure io
/cc @syuu1228 @tarzanek
[0] https://github.com/scylladb/scylla-enterprise/blob/af3da2d7ac8b83e1710c418b269c3c85bd1fdbe4/dist/common/scripts/scylla_io_setup#L374-L378

Please refer description I posted at scylladb/scylladb#9828 (comment), I changed the behavor not to run iotune automatically when pre-configure parameter does not exist.

The reason was it's add 5 min if persistence disk is used, in this case it's just types we mark as supported and never supplied configuration. they were working out of the box in 2021.1, why break the users on it on 2022.1/5.0 ? If we decided to not support a type for some reason, that a different story

Please refer description I posted at scylladb/scylladb#9828 (comment), I changed the behavor not to run iotune automatically when pre-configure parameter does not exist.

@syuu1228 thanks for the ref, the following from that comment indeed explains the decision

Why we didn't support running iotune on persistent disk on AWS is, because it may take more than 5-10 minutes, users may not understand why scylla-server.service does not start.
So we decided to add warning message to login prompt and let users to run scylla_io_setup instead.

What about using the scylla_login to notify the user about a background process? similar to the Scylla is starting... that rais in some situations, we can use IO tuning is running in the background, make sure to check scylla status bla bla..


Xcode 8 - Provisioning profile ignored [Gym]

The provisioning profile is ignored when building with gym. When setting either the command argument '--provisioning_profile_path' or setting via gymfile, the environment variable is not set when calling xcodebuild
Output
Dev-iMac-2:webviewer-ios ats$ gym --verbose
INFO [2016-09-28 15:11:46.82]: Installing provisioning profile...
INFO [2016-09-28 15:11:46.95]: $ xcodebuild -list -project ./WebViewer.xcodeproj
INFO [2016-09-28 15:11:47.48]: $ xcodebuild clean -showBuildSettings -scheme WebViewer -project ./WebViewer.xcodeproj
ERROR [2016-09-28 15:11:48.02]: Couldn't find specified configuration 'release'.

+---------------------------+---------------------------------------------------------------+
|                                  Summary for gym 1.10.0                                   |
+---------------------------+---------------------------------------------------------------+
| scheme                    | WebViewer                                                     |
| output_directory          | ./build/                                                      |
| result_bundle             | ./build/                                                      |
| buildlog_path             | ./build/                                                      |
| codesigning_identity      | iPhone Distribution: MyCertificate        |
| provisioning_profile_path | /Users/Shared/Public/iOS/Provision/enterprise.mobileprovision |
| clean                     | true                                                          |
| use_legacy_build_api      | false                                                         |
| project                   | ./WebViewer.xcodeproj                                         |
| destination               | generic/platform=iOS                                          |
| output_name               | WebViewer                                                     |
| silent                    | false                                                         |
+---------------------------+---------------------------------------------------------------+

+---------------------------------------------------------------------------------------------------------------+--------------------------+
|                                                         Generated Build Command                                                          |
+---------------------------------------------------------------------------------------------------------------+--------------------------+
| Option                                                                                | Value                    |
+---------------------------------------------------------------------------------------------------------------+--------------------------+
| set -o pipefail &&                                                                                |                          |
| xcodebuild                                                                                |                          |
| -scheme WebViewer                                                                                |                          |
| -project ./WebViewer.xcodeproj                                                                                |                          |
| -destination                                                                                | generic/platform=iOS     |
| -archivePath /Users/ats/Library/Developer/Xcode/Archives/2016-09-28/WebViewer\ 2016-09-28\ 15.11.48.xcarchive |                          |
| -resultBundlePath                                                                                | ./build/WebViewer.result |
| clean                                                                                |                          |
| archive                                                                                |                          |
| CODE_SIGN_IDENTITY=iPhone\ Distribution:\ MyCertificate                                |                          |
| | tee /Users/ats/Desktop/webviewer-ios/build/WebViewer-WebViewer.log                                           |                          |
| | xcpretty                                                                                |                          |
+---------------------------------------------------------------------------------------------------------------+--------------------------+
INFO [2016-09-28 15:11:48.03]: $ set -o pipefail && xcodebuild -scheme WebViewer -project ./WebViewer.xcodeproj -destination 'generic/platform=iOS' -archivePath /Users/ats/Library/Developer/Xcode/Archives/2016-09-28/WebViewer\ 2016-09-28\ 15.11.48.xcarchive -resultBundlePath './build/WebViewer.result' clean archive CODE_SIGN_IDENTITY=iPhone\ Distribution:\ Advanced\ Thinking\ Systems\ Limited | tee /Users/ats/Desktop/webviewer-ios/build/WebViewer-WebViewer.log | xcpretty
INFO [2016-09-28 15:11:48.10]: ▸ xcodebuild: error: Existing file at -resultBundlePath "/Users/ats/Desktop/webviewer-ios/build/WebViewer.result"
xcodebuild: error: Existing file at -resultBundlePath "/Users/ats/Desktop/webviewer-ios/build/WebViewer.result"
ERROR [2016-09-28 15:11:48.26]: Exit status: 64
/Library/Ruby/Gems/2.0.0/gems/fastlane_core-0.52.0/lib/fastlane_core/ui/interface.rb:145:in `user_error!': [!] Error building the application - see the log above (FastlaneCore::Interface::FastlaneError)
	from /Library/Ruby/Gems/2.0.0/gems/fastlane_core-0.52.0/lib/fastlane_core/ui/ui.rb:14:in `method_missing'
	from /Library/Ruby/Gems/2.0.0/gems/gym-1.10.0/lib/gym/error_handler.rb:53:in `handle_build_error'
	from /Library/Ruby/Gems/2.0.0/gems/gym-1.10.0/lib/gym/runner.rb:101:in `block in build_app'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane_core-0.52.0/lib/fastlane_core/command_executor.rb:88:in `call'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane_core-0.52.0/lib/fastlane_core/command_executor.rb:88:in `execute'
	from /Library/Ruby/Gems/2.0.0/gems/gym-1.10.0/lib/gym/runner.rb:97:in `build_app'
	from /Library/Ruby/Gems/2.0.0/gems/gym-1.10.0/lib/gym/runner.rb:12:in `run'
	from /Library/Ruby/Gems/2.0.0/gems/gym-1.10.0/lib/gym/manager.rb:10:in `work'
	from /Library/Ruby/Gems/2.0.0/gems/gym-1.10.0/lib/gym/commands_generator.rb:42:in `block (2 levels) in run'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.4.0/lib/commander/command.rb:178:in `call'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.4.0/lib/commander/command.rb:178:in `call'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.4.0/lib/commander/command.rb:153:in `run'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.4.0/lib/commander/runner.rb:444:in `run_active_command'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane_core-0.52.0/lib/fastlane_core/ui/fastlane_runner.rb:36:in `run!'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.4.0/lib/commander/delegates.rb:15:in `run!'
	from /Library/Ruby/Gems/2.0.0/gems/gym-1.10.0/lib/gym/commands_generator.rb:61:in `run'
	from /Library/Ruby/Gems/2.0.0/gems/gym-1.10.0/lib/gym/commands_generator.rb:15:in `start'
	from /Library/Ruby/Gems/2.0.0/gems/gym-1.10.0/bin/gym:6:in `<top (required)>'
	from /usr/local/bin/gym:23:in `load'
	from /usr/local/bin/gym:23:in `<main>'

Additional
Gymfile used with above
#App configuration
scheme "WebViewer"
configuration "release"

#Output
output_directory "./build/"
result_bundle "./build/"
buildlog_path "./build/"

#Code signing
codesigning_identity "iPhone Distribution: MyCertificate"
provisioning_profile_path "/Users/Shared/Public/iOS/Provision/enterprise.mobileprovision"

#Flags
clean true
use_legacy_build_api false

xcode tail log for above
Dev-iMac-2:webviewer-ios ats$ tail /Users/ats/Desktop/webviewer-ios/build/WebViewer-WebViewer.log

=== BUILD TARGET WebViewer OF PROJECT WebViewer WITH CONFIGURATION Release ===

Check dependencies
WebViewer requires a provisioning profile. Select a provisioning profile for the "Release" build configuration in the project editor.
Code signing is required for product type 'Application' in SDK 'iOS 10.0'
Code signing is required for product type 'Application' in SDK 'iOS 10.0'
Code signing is required for product type 'Application' in SDK 'iOS 10.0'
Code signing is required for product type 'Application' in SDK 'iOS 10.0'

Also, this Gymfile did work with Xcode 7.
Software Versions
gym 1.10.0
xcode 8.0
macOS 10.11.6

provisioning_profile_path is deprecated on xcode 8, use the new provisioning_specifier.

If that is the case feedback from gym stating provisioning_profile_path  it's no longer supported on Xcode 8 would be helpful

@ATS-RyanPowell You will need to setup this in your build settings in Xcode. Thanks!

@TKBurner how about an automatically generated .xcodeproj e.g. by Cordova then - this cannot be built on a CI/build server (without opening XCode in general)?

@rocco Very interesting. Are you not able to setup the manual code signing on this generated project? Unfortunately, that's the only way to get it to work properly.

@TKBurner the Cordova/Ionic project contains only
attributes = {
    LastUpgradeCheck = 510;
};

in its PBXProject section after you freshly generate it. The TargetAttributes key is missing there. My solution currently is to run
xcproj = Xcodeproj::Project.open(xcodeprojpath)
xcproj.build_configurations.each do |item|
    item.build_settings['DEVELOPMENT_TEAM'] = CredentialsManager::AppfileConfig.try_fetch_value(:team_id)
    item.build_settings['CODE_SIGN_IDENTITY[sdk=iphoneos*]'] = "iPhone Distribution"
    item.build_settings['PROVISIONING_PROFILE'] = "b4439b9e-a0da-4a24-819e-6b611001328a"
    item.build_settings['PROVISIONING_PROFILE_SPECIFIER'] = "match AppStore com.roccogeorgi.mycoolapp"
    # ....
end
xcproj.save

in my Fastfile (to set provisioning profiles manually) resulting in this:
attributes = {
    LastUpgradeCheck = 510;
    TargetAttributes = {
        1D6058900D05DD3D006BFB54 = {
            DevelopmentTeam = ABC12345678;
        };
    };
};

Xcode shows no checkbox anymore next to Automatically manage signing and the CLI build works w/o opening Xcode.

@rocco That's really cool. Is there a way we can integrate this into fastlane so others will have an easier time too? Thanks!

@TKBurner I am not quite sure yet how match fits into the picture here. I use two match calls just before the code block above - one with type "development" and one with type "adhoc" to get appropriate provisioning profiles and ENV vars, then I am setting these provisioning profile's values to "Signing (Debug)" and "Signing (Release)" sections (as called in Xcode) using similar code as above as it is impossible to do the recommended Xcode setup for match on a CI server.
While this works well, I feel like match (which is already excellent btw.) could help me out more here and provide for setting "Debug" and "Release" signing in one call as well as changing Xcode's signing setup from "Automatic" to "Manual" which is just another key/value in the pbxproj file. This way the whole thing would be condensable to one match call and make the (also excellent) xcodeproj gem redundant.
So how about extending match?

@rocco Thanks for the idea. I agree, we are seeing more and more people with several match commands in a row.  I want to leave this open as a feature request and we'll see if others are interested too 👍

It would help if the type: key in match would accept an array - similar to app_identifier:


Move orthologs out of contig files

From https://github.com/pombase/curation/issues/3268#issuecomment-1154199303
some time we should get everything ortholog related out of Artemis and into one place. Maybe we should do this at the same time as the disease annotation is streamlined. Don't start it yet though. We can wait until my pending deadlines are done and the GI interface is finished. Also before we start this I want to get the genome resubmission done. It will look better for the GBDR application if the data sharing is up to date.
Also, after this week there are unlikely to be so many updates of either diseases or orthologs for a while.

I started looking into this but there are a couple of tasks to do first.
Some of the orthologs in the contigs have db_xref qualifiers with PMIDs.  These are stored in Chado and displayed on the website.  An example:
https://www.pombase.org/gene/SPAC23G3.08c
FT                   /controlled_curation="term=human USP45 ortholog;
FT                   db_xref=PMID:20838651; date=20101001"

The code the reads the files from pombe-embl/orthologs doesn't support db_xrefs so the code will need updating.
The second problem is that there are some extra qualifiers that we store in Chado but which we don't have columns fo in the ortholog files
FT                   /controlled_curation="term=human NUBP2 ortholog;
FT                   qualifier=SPAC806.02c,N-term; date=20140831"

I've written the human orthologs from the contigs to this file in case it's useful:
orthologs/human_orthologs_from_contigs.txt
The code the writes the ortholog files doesn't support dbxrefs or qualifiers so this new file doesn't have them yet.

Ah OK I probab ly don't need to do this:
https://github.com/pombase/curation/issues/3455
It seems that it is already done, just that the info isn't in the file

Ah OK I probably don't need to do this:
https://github.com/pombase/curation/issues/3455

If they're in the contig files, they'll be loaded.

Hi Val.
Should we use gene names or systematic IDs for human and cerevisiae in the new TSV files?

I think that makes sense.

Which option should we go for?  Gene names or IDs?

IDs.
I like names, but IDs makes more sense...

...in downloads

OK, thanks.
So will be "YOR387C" etc. and "HGNC:5211" etc.

Perl to remove the cerevisiae orthologs from the contig files:
(for i in  *.contig
do
perl -ne 'BEGIN { $orth = ""; $in = 0; } if ($orth && !$in) { warn "$orth\n"; $orth = "" } if (/controlled_curation="term=orthologous to S. cerevisiae/) { $in = 1; } if ($in) { s/^FT\s+//; chomp $_; $orth .= "$_ "; } else { print }; if ($in && /"$/) { $in = 0 }' $i > $i.new && mv $i.new $i
done) 2> orth_controlled_curations.txt

Human orthologs:
(for i in  *.contig
do
perl -ne 'BEGIN { $orth = ""; $in = 0; } if ($orth && !$in) { warn "$orth\n"; $orth = "" } if (/controlled_curation="term=human / && !/family|retinoblastoma/) { $in = 1; } if ($in) { s/^FT\s+//; chomp $_; $orth .= "$_ "; } else { print }; if ($in && /"$/) { $in = 0 }' $i > $i.new && mv $i.new $i
done) 2> human-orths.txt

We have qualifier=predicted on a few orthologs.  They aren't displayed at the moment.  Should we keep them when we move the orthologs?:
Example, SPCC1259.14c:
FT                   /controlled_curation="term=human CRISPLD2 ortholog;
FT                   qualifier=predicted; date=20100919"

Here's the full list:
/controlled_curation="term=human TERF1 and TERF2 ortholog; qualifier=predicted; db_xref=PMID:20923774; date=20101008"
/controlled_curation="term=human RECQL4 ortholog; qualifier=predicted; date=20100820"
/controlled_curation="term=human LRRC57 ortholog; qualifier=predicted; date=20080414"
/controlled_curation="term=human CRISPLD2 ortholog; qualifier=predicted; date=20100919"

please re ove, they are all"predicted" really! at different levels of confidence...

OK, thanks.
That was the last thing I wanted to check so I'm going to move the orthologs out of the contig this morning.  If you have any contig file changes pending could you check them in and let me know when you're done?

SPAC1782.04/cox24 is like this with "(C-term)" / "(N-term)" after the gene ID:

I forgot about this issue:

https://github.com/pombase/curation/issues/3733

Most of it can be fixed after moving to the TSV file, except for:

SPAC1782.04/cox24 is like this with "(C-term)" / "(N-term)" after the gene ID:
FT                   /controlled_curation="term=orthologous to S. cerevisiae
FT                   YLR204W (C-term); date=19700101"
FT                   /controlled_curation="term=orthologous to S. cerevisiae
FT                   YNL295W (N-term); date=20120912"

ok I'm up to date. Move them all except SPAC1782.04 and I'll migrate that manually later today

Move them all except SPAC1782.04 and I'll migrate that manually later today

OK, I've done that and committed the changes to SVN.  I'll have a look at things in the morning to make sure it's all OK.

It all looks OK this morning.  The ortholog export files are identical to yesterday:

https://curation.pombase.org/dumps/builds/pombase-build-2024-08-21/pombase-build-2024-08-21.cerevisiae-orthologs.txt.gz
https://curation.pombase.org/dumps/builds/pombase-build-2024-08-21/pombase-build-2024-08-21.human-orthologs.txt.gz

I just manually migrated SPAC1782.04.
I have some tidying and checking to do for the migrated ones. That is on my list.


Alon cellular (YouPhone) has a new prefix: 9725587

Thanks for the patch. Could you provide supporting documents for this change? Also, you need to update the PhoneNumberMetadata.xml to include the new prefix as well.

As for the documentation: the new prefixes can be found in the Hebrew wiki page: http://he.wikipedia.org/wiki/קידומת_טלפון_בישראל
(look for 055-87X-XXXX). It seems the English page is not yet update with the new prefix.
I can also provide the contract which lists the phone number of the SIM card I got. Where shuld I email it?
As for PhoneNumberMetadata.xml, I updated it as well, it should be part of the PR.

No need to email me the contract - we will take your word for it :-) It would be great if you can help update the English wikipedia page as well.

Could you make sure you sign the CLA?
https://github.com/googlei18n/libphonenumber/wiki/ContributeToTheProject

Signed.
Regards,
Nir Berman
CTO, co-founder
+972 (52) 663 6920
<EMAIL_ADDRESS>On Tue, May 19, 2015 at 6:42 AM, Shaopeng Jia<EMAIL_ADDRESS>wrote:

Could you make sure you sign the CLA?
https://github.com/googlei18n/libphonenumber/wiki/ContributeToTheProject
—
Reply to this email directly or view it on GitHub
https://github.com/googlei18n/libphonenumber/pull/687#issuecomment-103322037
.


Memos should be an array not a string

From Malcolm:

Just tried to do a test transaction for an investor who is exercising his tokens, and got this error…

The problem seems to be in the front-end (both ManyJS and Alberto) expecting memo to be a string instead of an array of strings.
See Hans' initial PR here: https://github.com/liftedinit/many-js/pull/95

We can deploy alberto automatically now!


Listing/getting files returns errors on GCE in 1.4

Currently, listing/getting files via pachctl from GCE returns the following error:
storage: object doesn't exist

Duplicate with #1530.  Closing


Mudtable with multiselect - Drag to select

Feature request type
Enhance component
Component name
MudTable Multiselect
Is your feature request related to a problem?
I was trying to create a table which will be used to validate or refuse requests. When there are many requests to validate / refuse we need to single click every line we want to select.
Describe the solution you'd like
Click on selected line number one and with the button still pressed mouse over other line you want to be selected.
We could also unselect this way.
Have you seen this feature anywhere else?
The same way you select lines in excel for example.
Describe alternatives you've considered
An alternative would be to find another way to create some multi selection and not only a select all. Or just click every line one by one.
If it is impossible to do with mouse maybe create a Maj + click which will select the whole range between.
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Necessary feature for me too


when parsing "a" or "link" tag, check existence of href attribute

I ran into some html that used a 'content' attribute with the 'link' tag rather than 'href'. This caused the parsing to bail as it assumes 'href' exists whenever a tag is 'a' or 'link'.
A simple check that 'href' exists seems like the right fix. In the case a 'content' attribute is used, the tag content is correctly parsed. If the url information is simply missing, we would return null.
Test updated to include this case.

@Vasanth-Indix There are three other instances of link that have an href attribute in the test that cover the link href case. Thanks.

@Vasanth-Indix Let me know if you still need additional test cases.

Not required @andypang. It's good. Am merging.


Update to handle Google Tag Manager using dataLayer

I needed the script to work with GTM, so I added a bit of code to check for the dataLayer variable.
See https://developers.google.com/tag-manager/devguide

Any updates on this?

This js https://github.com/BrightcoveOS/videojs-ga-videocloud handles GTM. You just need to adjust labels to merge datas in analytics.


Option to migrate non-curated tools to curated packages on the migration?

Summary / 概要
For vrchat-curated packages, the vpm migration will migrate legacy packages to vpm maintained packages.
It might be useful to migrate non-vrchat-curated packages to vpm installation.
Purpose / 目的
We can easily migrate liltoon or some other tools / shaders easily
Additional context / 補足
No response

Shouldn't this be defined within the legacyFolder option of the VPM spec ?
Or are you implying to "manually" add those packages on the migrated project to replace the old packages ?

The VCC and ALCOM will migrate an unitypackage-based package to vpm package by checking legacy folders.
If legacyFolders of an package are found, VCC will install the package and (as if we installed manually) VCC will remove the unitypackage-based package by removing legacy folders.
The legacyFolders should point the folder contains package only so the migration should be safe.

Shouldn't this be defined within the legacyFolder option of the VPM spec ?

Do you mean it should be optional to use specific legacyFolders entry to be used in auto migration or not?

Or are you implying to "manually" add those packages on the migrated project to replace the old packages ?

No, removing legacy unitypackage-based package on manual installation is already implement as legacyFolders and legacyFiles.


Split by line?

Thanks for the awesome plugin!
Would be awesome to include support for splitting text by line.
Many thanks

Thanks for the kind words, Jesse!
I've had a few ideas around splitting between different layouts: characters (the basis of the V1 build), words, and lines.
The issue I've had when calculating for lines is responsiveness of a page breaking the animation. Splt takes what's initially rendered as text and spits back out the same render as individual characters which is totally fine from a responsive standpoint given you can resize the page and those characters will break line accordingly, however once you start playing around with lines as the basis —as opposed to characters, resizing creates some weird effects. From what I've seen, all of the other text-splitting libraries (splitting, and gsap) run into the same issue.
Definitely working on a fix, but for now in V1.1.0 you can target a line's characters individually to mimic line splitting. Not optimal for larger pieces of text, I know, but it does work until I'm able to solve for the line problem.
Thanks again for using splt!


[Suggestion] All inventories should have a sign

Currently not all inventories offered in the plugin have a sign attached to them.

[x] Furnace Sign
[x] Smoker Sign
[x] Blast Furnace Sign
[x] Enchant table sign does not support a maximum level
[x] Brewing Stand Sign

Closed by 9a241d0


Update XML comments in documentation

This is just a quality of life change to fix some errors in the XML comments. Typos, mismatched parameter names in param fields, etc.

+1

LGTM, thanks!


Add Indonesian translations

See #24

Hey, I'm a native speaker of Indonesia and I interested in contributing this repo.
Could you assign me?


Old bundle, new js code version (Android)

I build bundle using react-native bundle --entry-file index.android.js --platform android --dev false --bundle-output android/app/src/main/assets/index.android.bundle bundle. Then I update this bundle and meta data json on my sever. Release apk pulls update from the server, but I cant see changes except code version. Also there is index.android.bundle.meta generated by react-native bundle command. May it cause this problem?
<EMAIL_ADDRESS>release apk

Have you solved this problem?

how to solved this?


The clipboard icon is not shown anymore when the tick icon is clicked

Prerequisites

[X] I have searched for duplicate or closed issues
[X] I have validated any HTML to avoid common problems
[X] I have read the contributing guidelines

Describe the issue
The clipboard icon is not showing anymore when the user clicks on the tick after it has been copied. The video below demonstrates the issue.
Normal behavior when not clicking on the tick:
https://github.com/user-attachments/assets/95e4271d-1bfd-4900-a33c-7cc5ef0790c3
When clicking on the tick after it has been copied:
https://github.com/user-attachments/assets/129d78c7-ac4a-4258-993b-57a8f2166610
We can solve the problem as follows:
bootstrap/site/assets/js/partials/code-examples.js
 clipboard.on('success', event => {
    const iconFirstChild = event.trigger.querySelector('.bi').firstElementChild
    const tooltipBtn = bootstrap.Tooltip.getInstance(event.trigger)
    const namespace = 'http://www.w3.org/1999/xlink'
    const originalXhref = iconFirstChild.getAttributeNS(namespace, 'href')
    const originalTitle = event.trigger.title

    // Check if the tick icon is currently visible; if so, return (A possible solution)
>     if (originalXhref === '#check2') {
>       return
>     }

    tooltipBtn.setContent({ '.tooltip-inner': 'Copied!' })
    event.trigger.addEventListener('hidden.bs.tooltip', () => {
      tooltipBtn.setContent({ '.tooltip-inner': btnTitle })
    }, { once: true })
    event.clearSelection()
    iconFirstChild.setAttributeNS(namespace, 'href', originalXhref.replace('clipboard', 'check2'))

    setTimeout(() => {
      iconFirstChild.setAttributeNS(namespace, 'href', originalXhref)
      event.trigger.title = originalTitle
    }, 2000)
  })

Or
 clipboard.on('success', event => {
     ...
    const isCheckIconVisible = originalXhref === '#check2'

    // To make the code a bit clearer
    if (isCheckIconVisible) {
      return
    }
     ...
  })

After Implementing the Solution:
https://github.com/user-attachments/assets/2d582e2a-6ce9-41dc-93c8-0308cc7387d2
Did you prefer the first way to solve this or the second one? If you have any other solutions or alternative ways to approach this issue, don’t hesitate to share! 😊💡
Reduced test cases
None
What operating system(s) are you seeing the problem on?
Windows
What browser(s) are you seeing the problem on?
Chrome
What version of Bootstrap are you using?
5.3.3

IMHO, it's probably not worth spending too much time trying to find an alternative approach, as this is an edge case only in the documentation. I suggest going with the second option, which is likely more readable:
diff --git a/site/assets/js/partials/code-examples.js b/site/assets/js/partials/code-examples.js
index d81191a96..06bd8545c 100644
--- a/site/assets/js/partials/code-examples.js
+++ b/site/assets/js/partials/code-examples.js
@@ -63,6 +63,11 @@ export default () => {
     const namespace = 'http://www.w3.org/1999/xlink'
     const originalXhref = iconFirstChild.getAttributeNS(namespace, 'href')
     const originalTitle = event.trigger.title
+    const isCheckIconVisible = originalXhref === '#check2'
+
+    if (isCheckIconVisible) {
+      return
+    }

     tooltipBtn.setContent({ '.tooltip-inner': 'Copied!' })
     event.trigger.addEventListener('hidden.bs.tooltip', () => {

Feel free to create a PR with that option @MohamadSalman11, and we'll see if anyone from the JS team has a different or better approach in mind :)


Remove default context rules from extensions

If an Extension definition does not have a context specified by the author, SUSHI will add context equivalent to these rules:
* ^context[0].type = #element
* ^context[0].expression = "Element"

If GoFSH finds these rules, and they are the only context rules on the extension, they will be removed since they are generated by default by SUSHI.
If you want to test this manually, build a FSH project that has Extensions in it (without author-specified contexts).  Then run GoFSH on its output.  Using the GoFSH master branch, you'll see the context rules.  Using this branch, you will not see those rules.
A good manual negative test is running GoFSH against US Core.  Since US Core does define specific contexts for each Extension, there will be no difference between running master GoFSH and this branch's GoFSH.

@ngfreiter -- thanks for the review!  Your comments have been addressed in bd9f373.

Good idea, @mint-thompson.  I'll give that a try to see if it looks cleaner.

Merged from master (9e60fdf) and incorporated @mint-thompson's suggestion (a0b4c62).  @mint-thompson -- can I get a follow up review on the change?


calico-node-sn6nh                                        0/1     CrashLoopBackOff

calico-node is not ready state
Expected Behavior
calico-node should be in ready state
Current Behavior
logs =>> error: You must be logged in to the server (the server has asked for the client to provide credentials ( pods/log calico-node-sn6nh))
describe =>
Normal   Started         21m                    kubelet  Started container calico-node
Warning  Unhealthy       21m                    kubelet  Liveness probe failed: calico/node is not ready: Felix is not live: Get "http://localhost:9099/liveness": dial tcp [::1]:9099: connect: connection refused
Warning  Unhealthy       20m (x8 over 21m)      kubelet  Readiness probe failed: calico/node is not ready: BIRD is not ready: Error querying BIRD: unable to connect to BIRDv4 socket: dial unix /var/run/bird/bird.ctl: connect: no such file or directory
Normal   Killing         20m                    kubelet  Container calico-node failed liveness probe, will be restarted
Warning  Unhealthy       6m46s (x40 over 21m)   kubelet  Liveness probe failed: calico/node is not ready: bird/confd is not live: exit status 1
Warning  BackOff         102s (x54 over 17m)    kubelet  Back-off restarting failed container
Possible Solution

Steps to Reproduce (for bugs)

Context

Your Environment

Calico version
Orchestrator version (e.g. kubernetes, mesos, rkt):
Operating System and version:
Link to your project (optional):

kubernetes version 1.23.5
calico version                v3.23.1

it was working before. this is one of the master node out of 3. i have reset and join again due to system boot issue then calio-node gone to 0/1 state. please advise
kube-system      calico-node-snxx                                        0/1     Running
kube-system      kube-apiserver-asxx1                       1/1     Running
kube-system      kube-controller-manager-asxx              1/1
kube-system      kube-proxy-sqjcr                                         1/1     Running
kube-system      kube-scheduler-asxxxx1                       1/1     Running
metallb-system   speaker-pjz64                                            0/1     CrashLoopBackOff
monitoring       stable-prometheus-node-exporter-szqfq

Can you post the logs from one of the failed containers?

I'm going to close this issue due to inactivity but please feel free to reopen.


Performance metrics

Oversimplifying the whole library would imply JSON -> PyDict with dot notation is what is being done here. As parsing JSON can be very slow, I am very much interested in some perf numbers as to how it scales. Can you please add these metrics in README ?

Just as a heads up, just posted about the current revisions speed vs dict and other libraries:
http://www.codecalamity.com/python-box-3-the-reddit-release/#speed-and-memory-usage
As it seems to be a commonly asked for detail, I agree could be important enough to add to the readme

@cdgriffith : Nice work!


ble client can not read char value in service table but can get char value writen to ble server. (IDFGH-8428)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report
target :esp-32
esp-idf-v4.4
test ble client and ble server commucation. ble server use the server table and use ESP_GATT_AUTO_RSP ,below is the operation step:
step1 :ble client read the char value, can get the value in ble server table ,and the data is {01,02,03,04}
step2:ble client wirte char value to ble server. and wirten char value is {11,12,13,14}.
step3: ble serve updata the char value in the service table by esp_ble_gatts_set_attr_value() ,and the updata value is {21,22,23,24}
step4: ble clinet read char value again, the read result is {11,12,13,14} not the updata value{21,22,23,24}
in my mind , the step 4 ble cient read the char value shoud be {21,22,23,24} but not, why.

problem solved。esp_ble_gatts_set_attr_value() the 1st parameter attr_handle is wrong. after i change the right handle ,i get the right result.


onClickOutside triggered for unmounted elements

It is possible to trigger onClickOutside by unmounting the element that was clicked. I think the way to fix it is to either listen for capturing event or by changing the code to use mousedown and touchstart events here:  https://github.com/alexkatz/react-tiny-popover/blob/291df01d28bb4a1849d5f3ebe4945b3735f586b6/src/Popover.tsx#L193-L200
Issue demo:
import React from "react";
import { Popover } from "react-tiny-popover";

const Content = () => {
  const [visible, setVisible] = React.useState(true);

  return (
    <div style={{ background: "red", height: 150, width: 150 }}>
      <button onClick={() => setVisible(!visible)}>Clicking this works</button>
      {visible && (
        <button onClick={() => setVisible(false)}>Broken button</button>
      )}
      Other content
    </div>
  );
};

export default function App() {
  const [isOpen, setOpen] = React.useState(false);

  return (
    <Popover
      isOpen={isOpen}
      content={<Content />}
      padding={10}
      positions={["bottom"]}
      onClickOutside={() => setOpen(false)}
    >
      <button style={{ width: 500 }} onClick={() => setOpen(!isOpen)}>
        Trigger
      </button>
    </Popover>
  );
}

A workaround that might be viable for some use cases:
    <Popover
      isOpen={isOpen}
      content={<Content />}
      padding={10}
      positions={["bottom"]}
      onClickOutside={e => {
        if (e.target.isConnected) {
          setOpen(false)
        }
      }}
    >
      <button style={{ width: 500 }} onClick={() => setOpen(!isOpen)}>
        Trigger
      </button>
    </Popover>

isConnected will be false where the element has been detached from the document, which would be the case in the examples described here where we click something within the popover and it gets unmounted. However, this could also yield false negatives depending on what's outside the popover.


[REQ] add tests for plugins

What kind of request is this?
Improvement of existing experience
What is your request or suggestion?
add test for scanner plugin flow
Are you willing to submit PRs to contribute to this feature request?

[ ] Yes, I am willing to implement it.

In order to go install, we will need a release of the scanner-plugin-template, right?
We can also install using something like:
curl -sfL https://github.com/project-copacetic/scanner-plugin-template/releases/download/v${SCANNER_PLUGIN_TEMPLATE_VERSION}/scanner-plugin-template_${SCANNER_PLUGIN_TEMPLATE_VERSION}_Linux-64bit.tar.gz -o scanner-plugin-template.tar.gz
sudo tar -zxvf scanner-plugin-template.tar.gz -C /usr/local/bin/
rm scanner-plugin-template.tar.gz

similar to how other tools are installed in the copa CI, however even that would require a release of the fake-plugin.

@anubhav06 you should be able to go install github.com/project-copacetic/scanner-plugin-template@latest, would that work?

it doesn't, I tried running it locally, but it doesn't do anything. I think it takes into account the "latest" release rather than the latest version

yes will work. 👍🏻
sorry I had been looking for the built executable in the wrong path


Select all/none in multiselects

Resolves #195, resolves #218
The index.html file that we included is just to help with easier testing before you decide to merge our pull request. We can eliminate it on request.

I can't find an example in the current docs (4.0.13) explaining how to implement a select all or a clear all functionality.  Did this not make it into version 4.0?


Blog name in copyright doesn't support subdomains

default.hbs:55 — URL is hardcoded as /, which takes you to a different page if you have your blog as on a subpath. Is this intentional, or should it be replaced with<EMAIL_ADDRESS>

Good catch! Fixed. :)


Real Virtual env name while using "pipenv"

pipenv is an officially recomended tool for managing python packages
dependencies.
In pipenv we have an option to create virtual env inside the project it
self.
The created virutal env name is .venv.
The normal bash display the name of the virual env as the parent folder
name.
Ex: new_shell/.venv then the virual env name displayed in base is
new_shell.
In powerline_shell the virtual env name is displayed as .venv.
This PR is a fix for displaying the parent folder as virtual env name

Thanks for the change. It doesn't quite work though. At least on my system, VIRTUAL_ENV is set to an absolute path. So os.path.dirname gives a result like /home/buck/src/powerline-shell

Thanks for the reply. I wish to merge this commit. I think this will solve the problem that you mentioned. https://github.com/b-ryan/powerline-shell/pull/312/commits/21cfded8aa2892812dda9a633afb261e4a01d9e3

That change is what I expected as the fix. You haven't pushed it into this branch though.


TBI - Remove eslint disables from the locate-reuse-libs.js

Description (include screenshots)
Remove the rules below
/*eslint-disable fiori-custom/sap-browser-api-warning, fiori-custom/sap-no-dom-access*/
Files under the test folder use different eslint ruleset
Tasks

[ ] Task 1

Adding this as a sub-task to https://github.com/SAP/open-ux-tools/issues/969


Crashes and restarts on audio/video calls on some desices

Hello. Thank you for this great application!
Hope this will help to make it even greater and improve its compatibility with different crazy devices.
I have some Android devices, and one of them gives a crash when trying to perform audio or video call. It is likely libjingle audio recorder initialization issue:
W/AudioPolicyManagerBase(  145): getInput() could not find profile for device 100000, samplingRate 44100, format 1,channelMask 0010
E/AudioRecord(32506): Could not get audio input for record source 7
E/AudioRecord-JNI(32506): Error creating AudioRecord instance: initialization check failed.

After crash, application shows splash screen (likely restarts).
See a bit more logs below.
My device is HighScreen Boost 1G (rebranded Innos D9), having:

Android 4.1.2, kernel 3.4.0
Qualcomm 8625 1.4 GHz (ARM v7)
1GB RAM

More logs:
D/AudioTrackJni(32506): InitPlayout@[tid=338]
D/WebRtcAudioTrack(32506): InitPlayout(sampleRate=44100, channels=1)
D/WebRtcAudioTrack(32506): byteBuffer.capacity: 882
D/AudioTrackJni(32506): OnCacheDirectBufferAddress
D/AudioTrackJni(32506): direct buffer capacity: 882
D/AudioTrackJni(32506): frames_per_buffer: 441
D/WebRtcAudioTrack(32506): AudioTrack.getMinBufferSize: 4820
D/Retrofit(32506): ---> END HTTP (no body)
D/AudioManager(32506): IsCommunicationModeEnabled()
W/AudioDeviceTemplate(32506): The application should use MODE_IN_COMMUNICATION audio mode!
D/AudioTrackJni(32506): StartPlayout@[tid=338]
D/WebRtcAudioTrack(32506): StartPlayout
W/dalvikvm(32506): VFY: unable to resolve virtual method 1002: Landroid/media/AudioTrack;.write (Ljava/nio/ByteBuffer;II)I
D/Retrofit(32506): ---> END HTTP (no body)
D/WebRtcAudioTrack(32506): AudioTrackThread@[name=AudioTrackJavaThread, id=4549]
D/MXJingleCall(32506): mPeerConnection onSignalingChange STABLE
D/MXJingleCall(32506): mPeerConnection onAddStream [default:A=1:V=0]
D/MXJingleCall(32506): mPeerConnection onIceConnectionChange CHECKING
D/MXJingleCall(32506): setRemoteDescription onSetSuccess
D/HomeActivity(32506): onLiveEventsChunkProcessed
D/MXJingleCall(32506): mPeerConnection onIceConnectionChange CONNECTED
D/CallViewActivity(32506): onStateDidChange IMXCall.CALL_STATE_CONNECTED
D/CallViewActivity(32506): manageSubViews callState : IMXCall.CALL_STATE_CONNECTED
D/CallViewActivity(32506): stopRinging
E/AudioPolicyManager7627a(  145): make call in receiver
E/AudioPolicyManager7627a(  145): make call in receiver
E/AudioPolicyManager7627a(  145): make call in receiver
D/AudioRecordJni(32506): EnableBuiltInAEC@[tid=338]
D/WebRtcAudioRecord(32506): EnableBuiltInAEC(false)
W/AudioHardwareMSM76XXA(  145): rpc_snd_set_device(6, 0, 0)
W/AudioHardwareMSM76XXA(  145): rpc_snd_set_device(7, 6, 0, 0)
D/AudioRecordJni(32506): InitRecording@[tid=338]
D/WebRtcAudioRecord(32506): InitRecording(sampleRate=44100, channels=1)
D/WebRtcAudioRecord(32506): byteBuffer.capacity: 882
D/AudioRecordJni(32506): OnCacheDirectBufferAddress
D/AudioRecordJni(32506): direct buffer capacity: 882
D/WebRtcAudioRecord(32506): AudioRecord.getMinBufferSize: 4096
D/WebRtcAudioRecord(32506): bufferSizeInBytes: 4096
W/AudioPolicyManagerBase(  145): getInput() could not find profile for device 100000, samplingRate 44100, format 1,channelMask 0010
E/AudioRecord(32506): Could not get audio input for record source 7
E/AudioRecord-JNI(32506): Error creating AudioRecord instance: initialization check failed.
E/AudioRecord-Java(32506): [ android.media.AudioRecord ] Error code -20 when initializing native AudioRecord object.
W/System.err(32506): java.lang.AssertionError: Expected condition to be true
W/System.err(32506):    at org.webrtc.voiceengine.WebRtcAudioRecord.assertTrue(WebRtcAudioRecord.java:266)
W/System.err(32506):    at org.webrtc.voiceengine.WebRtcAudioRecord.InitRecording(WebRtcAudioRecord.java:186)
W/System.err(32506):    at dalvik.system.NativeStart.run(Native Method)
E/rtc     (32506):
E/rtc     (32506):
E/rtc     (32506): #
E/rtc     (32506): # Fatal error in ../../webrtc/modules/utility/source/jvm_android.cc, line 117
E/rtc     (32506): # Check failed: !jni_->ExceptionCheck()
E/rtc     (32506): # Error during CallIntMethod
E/rtc     (32506): #
F/libc    (32506): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 338 (worker_thread)
E/AudioPolicyManager7627a(  145): make call in receiver
E/AudioPolicyManager7627a(  145): make call in receiver
E/AudioPolicyManager7627a(  145): make call in receiver

That's because 2 instances of {{AudioTrackJni}} were existed at the same time.


Module lifecycle note

RTD link: https://flax--1964.org.readthedocs.build/en/1964/design_notes/module_lifecycle.html

The review is still work in progress @jheek. I've left a few suggestions. LMKWYT!
@marcvanzee @avital @saeta @andsteing @gnecula @levskaya

Codecov Report

Merging #1964 (77fbe85) into main (55041e9) will increase coverage by 3.26%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1964      +/-   ##
==========================================
+ Coverage   71.26%   74.53%   +3.26%
==========================================
  Files          59       59
  Lines        4980     4999      +19
==========================================
+ Hits         3549     3726     +177
+ Misses       1431     1273     -158

Impacted Files
Coverage Δ

flax/optim/dynamic_scale.py
0.00% <0.00%> (-46.52%)
:arrow_down:

flax/optim/__init__.py
100.00% <0.00%> (ø)

flax/linen/recurrent.py
100.00% <0.00%> (ø)

flax/linen/activation.py
100.00% <0.00%> (ø)

flax/linen/combinators.py
100.00% <0.00%> (ø)

flax/linen/initializers.py
100.00% <0.00%> (ø)

flax/linen/normalization.py
96.03% <0.00%> (ø)

flax/linen/linear.py
99.15% <0.00%> (+0.01%)
:arrow_up:

flax/linen/attention.py
95.79% <0.00%> (+0.03%)
:arrow_up:

flax/linen/module.py
93.43% <0.00%> (+0.17%)
:arrow_up:

... and 7 more

Continue to review full report at Codecov.

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


Add support for overloaded sync callbacks

This seems to solve the issue I had. But let me know if there are good ways to test this code.

Your example:
duet/test.py:31: note: Revealed type is "Overload(def (self: duet.test.Foo, x: builtins.int) -> typing.Coroutine[Any, Any, builtins.int], def (self: duet.test.Foo, x: builtins.str) -> typing.Coroutine[Any, Any, builtins.str])"
duet/test.py:32: note: Revealed type is "Overload(def (self: duet.test.Foo, x: builtins.int) -> builtins.int, def (self: duet.test.Foo, x: builtins.str) -> builtins.str)"

Top-level:
duet/test.py:34: note: Revealed type is "Overload(def (x: builtins.int) -> typing.Coroutine[Any, Any, builtins.int], def (x: builtins.str) -> typing.Coroutine[Any, Any, builtins.str])"
duet/test.py:35: note: Revealed type is "Overload(def (x: builtins.int) -> builtins.int, def (x: builtins.str) -> builtins.str)"

This looks correct to me


Support for export of larger than 2GiB models

RuntimeError: The serialized model is larger than the 2GiB limit imposed by the protobuf library. Therefore the output file must be a file path, so that the ONNX external data can be written to the same directory. Please specify the output file name.

xref #827


create blog post for CIFF open licensing adoption

https://ciff.org/news/new-transparency-policy/

https://creativecommons.org/weblog/entry/46595


issue on new install

`╰─$ python TwitterBot.py
Searching again
Traceback (most recent call last):
File "TwitterBot.py", line 70, in
run()
File "TwitterBot.py", line 65, in run
search(api.search(q=key))
File "/usr/lib/python3.7/site-packages/tweepy-3.6.0-py3.7.egg/tweepy/binder.py", line 250, in _call
File "/usr/lib/python3.7/site-packages/tweepy-3.6.0-py3.7.egg/tweepy/binder.py", line 234, in execute
tweepy.error.TweepError: [{'code': 32, 'message': 'Could not authenticate you.'}]
Not sure what the issue is, only info I changed were the keys
`

I ran into the same problem. Changed the keys still didnt work


Feature/update 0.9.12

Pull Request Template
Description

Upgrades Opportunity testnet runtime dependencies to upstream v0.9.12.
Upgrades Standard Parachain testnet runtime dependencies to upstream v0.9.12.
Adds Frontier/EVM compatibility to Opportunity testnet.
Adds Frontier/EVM compatibility to Standard Parachain.

Type of change

[x] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:
Make sure these boxes are checked!

[x] You have the latest version of rustfmt installed

$ rustup component add rustfmt

[x] You ran cargo fmt on the code base before submitting.
[x] fmt is styled according to rustfmt.toml file.
[] Documentation is updated.
[ ] Tests have been written/updated.
[ ] All CI jobs completed successfully - can be closed off after submitting a PR.

Thank you for your contribution to Standard Protocol! 🎉

Runtime upgrade successful, screenshot added as evidence.

Tests passings on CI, audit check failed due to permissions issue which has been fixed now.


New app: xxlmessage

The xxlmessage is a replacement for the messageui app and scrolls the incoming message with a very large font across the screen.
If the messageui app is installed, it will be used.
Note:
I did not make any changes to the message app. I don't know, why there are changes. Please ignore these. Github is very difficult to use for me.

Ok, thanks - I'm not sure why those other changes have showed up then.
So am I right in thinking that the only files that should be in this commit are in apps/xxlmessage?

Yes, just that folder.
21 Apr 2023 09:26:56 Gordon Williams @.***>:

Ok, thanks - I'm not sure why those other changes have showed up then.
So am I right in thinking that the /only/ files that should be in this commit are in apps/xxlmessage?
—
Reply to this email directly, view it on GitHub[https://github.com/espruino/BangleApps/pull/2702#issuecomment-1517389514], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AAVWMM7YT6WF3YPDKOPZUGLXCIZD7ANCNFSM6AAAAAAXGAAISM].
You are receiving this because you authored the thread.[Tracking image][https://github.com/notifications/beacon/AAVWMMZFJJZ6EZCNMIJCD6LXCIZD7A5CNFSM6AAAAAAXGAAISOWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTS2OGDMU.gif]

Ok, just pulled this in - I ended up copying the files as the Git commit history has got messed up here.
I'd advise maybe deleting your current fork and then re-forking again? It seems the easiest way to ensure you're back to a clean slate


How can I stop zooming?

I want to stop zooming functionality. I want the pdf to be opened pageFitPolicy(FitPolicy.BOTH) and somehow set zooming in or out OFF thanks.

@Ahmedc2l  I am not able to zoom can u tell how zoom works.


Scoring of read pairs on same vs. different chromosome

do you think it would make sense / be worth to score read pairs on the same chromosome (but far away) higher than reads on separate chromosomes? Currently I think there is only the binary 'close and proper' or 'not close and proper' classification.

Originally posted by @ksahlin in https://github.com/ksahlin/strobealign/issues/319#issuecomment-1611405859

I think we have detected a bug if my reasoning below is correct, nice!
The score was implemented so that the further away from mean the isize is, the lower score.
As seen here https://github.com/ksahlin/strobealign/blob/main/src/aln.cpp#L1185 read pairs that map more than 5*sigma away gets a score lower than disjoint reads. So in the scoring that happens here: https://github.com/ksahlin/strobealign/blob/main/src/aln.cpp#L1169 , we should probably have something like:
S = (double)a1.sw_score + (double)a2.sw_score + std::max( log(normal_pdf(x, mu, sigma)), -20 + epsilon_pair ); (log(normal_pdf(x, mu, sigma)) is always negative)
In the proposed line above epsilon_pair is a small value to prefer pairs mapping 'together' rather than on, e.g., different chromosomes.
The reason I claim that our current scoring is a bug is because we will actually penalize proper but far away mates more than completely separated reads (if sw scores identical). This is likely bad for detecting larger deletions.

To add a bit of data, I get below penalties libraries with mu=300, sigma=30 (which I think we use in our simulations?).
So, we get that proper pairs with distance higher than about 470 would be penalized more than individual best alignments (e.g. on different chromosomes).
Also, we set x = std::abs(a1.ref_start - a2.ref_start);. Is this the difference of 5' starts in both reads?


Add the packaging metadata to build the tslint snap

PR checklist

[ ] Addresses an existing issue: #0000
[x] New feature, bugfix, or enhancement

[ ] Includes tests

[ ] Documentation update

Overview of change:
This package will let you publish the latest tslint in the Ubuntu store, and from there reach many users on all the supported Ubuntu versions, and Linux distributions. You just have to go to https://build.snapcraft.io and enable the automated continuous delivery.
Is there anything you'd like reviewers to focus on?
We have just started exploring typescript, to make sure that our tools and the store plays nicely with the workflows and preferences of typescript developers. So any feedback you can give us would be highly appreciated. If you have any questions about snaps, just let me know.
CHANGELOG.md entry:
[packaging] Add the packaging metadata to build the tslint snap

Thanks for your interest in palantir/tslint, @elopio! Before we can accept your pull request, you need to sign our contributor license agreement - just visit https://cla.palantir.com/ and follow the instructions. Once you sign, I'll automatically update this pull request.


Name conversion for Win32 APIs

Right now, it seems like WinRT-based APIs have their names converted to match Rust naming conventions, whereas Win32 ones do not. This is an unfortunate style mismatch. It would be nice if all APIs could follow the same idiomatic naming conventions.

I would say go the other directions: all raw function declarations should use precisely the original name, and leave the snake_case conversion to wrapper crates or whatever higher level thing people care to use.

I would say go the other directions: all raw function declarations should use precisely the original name, and leave the snake_case conversion to wrapper crates or whatever higher level thing people care to use.

Indeed, this is by design. The WinRT subset is converted in such a way as to appear idiomatic because it is a rich wrapper over the underlying ABI. The remaining Win32, and to some degree COM, APIs preserve their original names because they are largely direct calls to the ABI and typically need wrapping of some kind before they can be used idiomatically in Rust.

Indeed, this is by design. The WinRT subset is converted in such a way as to appear idiomatic because it is a rich wrapper over the underlying ABI. The remaining Win32, and to some degree COM, APIs preserve their original names because they are largely direct calls to the ABI and typically need wrapping of some kind before they can be used idiomatically in Rust.

It's also idiomatic for bindings for C APIs (which win32 APIs are) retain their original casing. The WinRT APIs exposed by windows-rs are wrappers and meant to be (relatively) idiomatic. They call underlying foreign functions but are Rust APIs themselves and thus deserve Rust idiomatic camel casing. I think we can close this issue.

It's also idiomatic for bindings for C APIs (which win32 APIs are) retain their original casing. The WinRT APIs exposed by windows-rs are wrappers and meant to be (relatively) idiomatic. They call underlying foreign functions but are Rust APIs themselves and thus deserve Rust idiomatic camel casing. I think we can close this issue.

Slow down one moment: What you just said should be put into the readme and at the root level of the crate documents so that people understand what's going on with that.

Slow down one moment: What you just said should be put into the readme and at the root level of the crate documents so that people understand what's going on with that.

Sorry! Didn't mean to close prematurely. Happy to put this in the README! ❤

Sorry! Didn't mean to close prematurely. Happy to put this in the README! ❤

Names are no longer converted, so closing this.

@rylev That's interesting. What was the rationale for that? Were misconversions common enough that you decided it wasn't worth the trouble?

https://github.com/microsoft/windows-rs/pull/646


[NETBEANS-862] Added auto-complete support for var keyword in JDK-11 …

…Lambda Parameters
Auto-complete(CTL+ space)  for var keyword in not currently supported in Lambda parameter (JDK-11). Cursor is at caret position.
Added support for that.
IntBinaryOperator calc2 = (var x,  ^ y ) -> x+y;
Jira Link:
https://issues.apache.org/jira/browse/NETBEANS-862

👍


Separate physical and logical layer into different crates

To have a clearer separation of the logical and physical layer we want to put the physical layer into its own crate which is then used by the logical layer.
The only problem that needs solving here is code that is currently used by both layers. This is:

meta/timing.rs
meta/logging.rs

The logging dependency could be solved by pulling the log statements out of this global file to the places where it used. The original reason for having them in a separate file was to reduce clutter in the functions which do work. The redesign has to keep this is mind. One way of doing this could be to use Display implementations to avoid verbose setup code.
This should wait until #70 is done since we currently have other dependencies relating to the type system right now.

This landed as part of #250.


Added a program that calculates the current date/time with Java

@Fonta22 Put this file under Java/Projects/

Ok, now I do it 👍

@Fonta22 You're supposed to create a folder if you don't find any. For example, this will go under Java/Projects/.

Ok, I'll make a new PR but into the created 'Projects' folder. @abhpd


HTML inline features are not displayed when editing PHP files.

I found myself falling in love with the HTML inline tips (especially the color swatches) and was saddened when I found out that such tools are not active when editing PHP files containing HTML code. A setting allowing HTML inline features in PHP files would be amazing, specifically for developers using wordpress.

VSCode has only a very little built-in support for PHP. We recommend using a PHP extension from the marketplace such as
https://marketplace.visualstudio.com/items?itemName=felixfbecker.php-intellisense
or
https://marketplace.visualstudio.com/items?itemName=bmewburn.vscode-intelephense-client
Please file your feature request against one of these extensions.
@bmewburn @felixfbecker FYI


no installation progress using npm install -g @angular/cli@latest and stucks at

no installation progress using npm install -g @angular/cli@latest and stucks at
npm install [ .....] \ postinstall: sill install executeActions
Please help, I am not able to install latest Angular CLI, I have already installed latest version of Nodejs on Windows 10 Pro machine
Originally posted by @anjaikr in https://github.com/electron/electron-quick-start/issues/127#issuecomment-652592279

Thanks for reaching out!
Because we treat our issues list as the team's backlog, we close issues that are questions since they don't represent a task needing to be completed. For most questions about Electron there are a lot of options.
Check out the Electron community. There are also a bunch of helpful people in this community forum that should be willing to point you in the right direction.

Did you fix this problem? I haven't been able to implement it for several days due to the same problem. I tested it on another computer, and it's all working fine.


[FEATURE] JRTB-13: implement deployment process

Implement deployment process using docker image.
Acceptance criteria:
dockerfile added to the project.
deployment process with providing environment variables is added to the project.

added in #11 pull-request


Question regarding the datasets -- and the exp_tot and beads_tot values.

Hi,
First of all, thanks for writing this paper and making the code accessible here.
I am wanting to apply your method to my own datasets, and in this context I am in doubt about how exactly you arrive at the exp_tot and beads_tot values in the DD1S_CAIX_QSAR.csv file.
You mention in the paper that it is remake of the DEL-DOS-1 dataset from Gerry et al., which have 2 no-beads replicates and 4 ca9 replicates. Are the exp_tot and beads_tot values in your dataset simply a sum of these? or are the calculations more advanced?
You reference 'a custom Python script' in the Data Processing section of the paper, but from what I can see in this repo the code is not available.
Thanks,
Daniel

Thanks!
The total counts should just be the sums of counts and not anything more complicated, yes
The custom Python script isn't anything terribly fancy. It just iterates through the fasta file and builds up a dictionary of counts. It reads from spreadsheets of BB and library tags to know what to look for and allows some errors in matching when a non-exact-match can still be resolved to an expected tag unambiguously, i.e., when the Hamming distance between the observed sequence and an expected tag is less than the distance to any other expected tag. A lot of the details of this script are specific to how we had been storing our DEL metadata, so it's not terribly useful to share

Awesome! 🙏 Thanks for a quick reply - and again I appreciate the work you've done here.


Add FalconFriday 0xFF15 - 0xFF1B

Required items, please complete
Change(s):

See guidance below

Reason for Change(s):

See guidance below

Version Updated:

Required only for Detections/Analytic Rule templates
See guidance below

Testing Completed:

See guidance below

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

See guidance below

Change(s):

Add newly released FalconFriday content

Reason for Change(s):

Newly released FalconFriday content

Version updated:

Yes

Testing Completed:

Yes

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

Yes

@aprakash13 Please review analytic rules. Thanks.

@aprakash13 Please review analytic rules. Thanks.

@aprakash13 Please review analytic rules. Thanks.


Mitigate dependency vulnerabilities caused by resteasy-core-4.5.2.Final.jar, json-sanitizer-1.2.0.jar and jackson-databind-<IP_ADDRESS>.jar

resteasy-core-4.5.2.Final.jar
Vulnerability IDs:
cpe:2.3:a:redhat:resteasy:4.5.2:::::::*
Resolved by upgrading to version 4.6.0.

json-sanitizer-1.2.0.jar
Vulnerability IDs:
cpe:2.3:a:owasp:json-sanitizer:1.2.0:::::::*
Resolved by upgrading to version 1.2.2.

jackson-databind-<IP_ADDRESS>.jar
Vulnerability IDs:
cpe:2.3:a:fasterxml:jackson-databind:<IP_ADDRESS>:::::::*
cpe:2.3:a:fasterxml:jackson-modules-java8:<IP_ADDRESS>:::::::*
Resolved by upgrading to version <IP_ADDRESS>.

I've run tests locally

looks good to me


Kani fails to use static string in assertion message

I tried this code:

Checkout prost https://github.com/tokio-rs/prost at commit 963a2cf0bfad4adb4ce7945d5738f2bde5c49c0a
Follow the instructions to setup PropProof https://github.com/tokio-rs/prost/blob/master/KANI.md

 cd prost-types;
 cargo kani --tests --default-unwind 3 --output-format terse --harness "check_duration_roundtrip" --visualize

with Kani version:
0.20.0
I expected to see this happen: Kani uses static strings in panic messages
Instead, this happened: explanation
VERIFICATION RESULT:
 ** 3 of 330 failed (6 unreachable)
Failed Checks: This is a placeholder message; Kani doesn't support message formatted at runtime
 File: "/Users/dsn/.rustup/toolchains/nightly-2022-12-11-x86_64-apple-darwin/lib/rustlib/src/rust/library/core/src/time.rs", line 202, in std::time::Duration::new
Failed Checks: concat!
("assertion failed: ", stringify!
(matches!(time :: Duration :: try_from(neg_prost_duration),
    Err(DurationError :: NegativeDuration(d)) if d == std_duration,)))
 File: "/Users/dsn/ws/prost/prost-types/src/lib.rs", line 449, in tests::check_duration_roundtrip::{closure#0}
Failed Checks: This is a placeholder message; Kani doesn't support message formatted at runtime
 File: "/Users/dsn/.rustup/toolchains/nightly-2022-12-11-x86_64-apple-darwin/lib/rustlib/src/rust/library/core/src/result.rs", line 1791, in std::result::unwrap_failed

But the panic on line 202 in time.rs is given a static string: https://doc.rust-lang.org/stable/src/core/time.rs.html#202
    #[stable(feature = "duration", since = "1.3.0")]
    #[inline]
    #[must_use]
    #[rustc_const_stable(feature = "duration_consts_2", since = "1.58.0")]
    pub const fn new(secs: u64, nanos: u32) -> Duration {
        let secs = match secs.checked_add((nanos / NANOS_PER_SEC) as u64) {
            Some(secs) => secs,
            None => panic!("overflow in Duration::new"),
        };
        let nanos = nanos % NANOS_PER_SEC;
        // SAFETY: nanos % NANOS_PER_SEC < NANOS_PER_SEC, therefore nanos is within the valid range
        Duration { secs, nanos: unsafe { Nanoseconds(nanos) } }
    }

Please correct-me if I'm wrong. I think the error message is coming from std::result::unwrap_failed() which is defined here: https://doc.rust-lang.org/src/core/result.rs.html#1791
fn unwrap_failed(msg: &str, error: &dyn fmt::Debug) -> ! {
    panic!("{msg}: {error:?}")
}

That said, I really think we should improve this message. It sounds like a bug in Kani not a property failure.

The message I was referring to was this one.  Sorry if I was unclear.
Failed Checks: This is a placeholder message; Kani doesn't support message formatted at runtime
 File: "/Users/dsn/.rustup/toolchains/nightly-2022-12-11-x86_64-apple-darwin/lib/rustlib/src/rust/library/core/src/time.rs", line 202, in std::time::Duration::new

Ah, too many of them. :)

Is that this statement? panic!("overflow in Duration::new").


Changed back qwt submodule

Description
The qwt submodule was downgraded by accident by PR #1364 / fd403dedb7dba088e13857dfcf9c71f15e02efc7
Cherry-pick to

none

Btw, this is a great example, why I am not a fan of submodules! (This happens so easily, and is easily missed in the review).


Fixed header with more than one row

Fixed header with more than one row of th's

Won't fix, out of scope.


Rasa NLU Parse Error on upgrading to version 0.12

Rasa NLU version (e.g. 0.12.0):
Used backend / pipeline (spacy_ner, spacy_sklearn, ...):
Operating system (osx):
Issue: 'unicode' object has no attribute 'get'
Content of configuration file (if used & relevant):
language: "nl"

pipeline:
# this is using the spacy sklearn pipeline, adding duckling
# all components will use their default values
- name: "nlp_spacy"
- name: "tokenizer_spacy"
- name: "intent_featurizer_spacy"
- name: "ner_crf"
- name: "ner_synonyms"
- name: "intent_classifier_sklearn"
- name: "ner_duckling_http"
  locale: "nl"
- name: "intent_entity_featurizer_regex"
- name: "ner_spacy"

stack trace:
rasa-nlu_1             | 2018-04-18 13:53:15+0000 [-] Traceback (most recent call last):
rasa-nlu_1             | 2018-04-18 13:53:15+0000 [-]   File "/app/rasa_nlu/rasa_nlu/server.py", line 232, in parse
rasa-nlu_1             | 2018-04-18 13:53:15+0000 [-]     else threads.deferToThread(self.data_router.parse, data))
rasa-nlu_1             | 2018-04-18 13:53:15+0000 [-]   File "/usr/local/lib/python2.7/site-packages/twisted/python/threadpool.py", line 250, in inContext
rasa-nlu_1             | 2018-04-18 13:53:15+0000 [-]     result = inContext.theWork()
rasa-nlu_1             | 2018-04-18 13:53:15+0000 [-]   File "/usr/local/lib/python2.7/site-packages/twisted/python/threadpool.py", line 266, in <lambda>
rasa-nlu_1             | 2018-04-18 13:53:15+0000 [-]     inContext.theWork = lambda: context.call(ctx, func, *args, **kw)
rasa-nlu_1             | 2018-04-18 13:53:15+0000 [-]   File "/usr/local/lib/python2.7/site-packages/twisted/python/context.py", line 122, in callWithContext
rasa-nlu_1             | 2018-04-18 13:53:15+0000 [-]     return self.currentContext().callWithContext(ctx, func, *args, **kw)
rasa-nlu_1             | 2018-04-18 13:53:15+0000 [-]   File "/usr/local/lib/python2.7/site-packages/twisted/python/context.py", line 85, in callWithContext
rasa-nlu_1             | 2018-04-18 13:53:15+0000 [-]     return func(*args,**kw)
rasa-nlu_1             | 2018-04-18 13:53:15+0000 [-]   File "/app/rasa_nlu/rasa_nlu/data_router.py", line 237, in parse
rasa-nlu_1             | 2018-04-18 13:53:15+0000 [-]     model)
rasa-nlu_1             | 2018-04-18 13:53:15+0000 [-]   File "/app/rasa_nlu/rasa_nlu/project.py", line 118, in parse
rasa-nlu_1             | 2018-04-18 13:53:15+0000 [-]     interpreter = self._interpreter_for_model(model_name)
rasa-nlu_1             | 2018-04-18 13:53:15+0000 [-]   File "/app/rasa_nlu/rasa_nlu/project.py", line 177, in _interpreter_for_model
rasa-nlu_1             | 2018-04-18 13:53:15+0000 [-]     return Interpreter.create(metadata, self._component_builder)
rasa-nlu_1             | 2018-04-18 13:53:15+0000 [-]   File "/app/rasa_nlu/rasa_nlu/model.py", line 298, in create
rasa-nlu_1             | 2018-04-18 13:53:15+0000 [-]     components.validate_requirements(model_metadata.component_classes)
rasa-nlu_1             | 2018-04-18 13:53:15+0000 [-]   File "/app/rasa_nlu/rasa_nlu/model.py", line 85, in component_classes
rasa-nlu_1             | 2018-04-18 13:53:15+0000 [-]     return [c.get("class") for c in self.get('pipeline', [])]
rasa-nlu_1             | 2018-04-18 13:53:15+0000 [-] AttributeError: 'unicode' object has no attribute 'get'

What is it you do with that configuration file? Are you posting it to the server to train a model?
Not sure yet how you got to the error.

I am getting the error when I am trying to send a /parse requests. However my latest trained model was on a different version. I did not train a new model after upgrading the version. I am going to retrain a new model and check

I did check again sorry, It does work now however it expects the http_duckling_url in the config file, I have a docker-compose running and a container on rasa_nlu and I have an environment variable as
RASA_DUCKLING_HTTP_URL=http://duckling:8000
Error on duckling it is not able to find.
but for the issue you can just add a warning in the migration guide that models needs to be retrained in order to make it run on the new version

I guess we can close this then. I've added the warning to the docs and fixed the duckling issue. Build is currently running. Fixed as part of 0.12.1


add SelectionSamplingExample.swift

As shown in Figure,when count == 10,time consuming were 0.0053; 0.0136;0.0037.
But if count is near poem.count,for example,count == poem.count - 3,time consuming were 0.0102; 0.0364;0.0058.

@kelvinlauKL Sorry for commit two file in one pull request again.. What can I do to remedy？

@moon1102 You can revert one of the commits using git reset --hard HEAD^

@Moon1102 Are you still planning to make updates to this PR?

I'm sorry for took so long to deal with the problem.I'll do it right now


build: fix build for latest zig version

Currently, you can't build ziglings from zig's master branch (at the time of writing, https://github.com/ziglang/zig/commit/c31007bb47a4d1d62917324a33e9a9a6cd1df5a6 is master's HEAD)
This patch set adapts ziglings' build code to reflect the changes on latest zig version.

A large and impactful change was made on zig's build facilities. The following PR https://github.com/ziglang/zig/pull/14647 introduced those changes.
To be more precise, here are the impacts

the color handling on tty
the removal of the LogStep logic

Thank you for this hint, but there is something wrong. You have deleted the ziglings logo. :open_mouth:

Thank you for this hint, but there is something wrong. You have deleted the ziglings logo. open_mouth

The main reason I've removed it, is that LogStep struct was removed from zig's Build system. In other words, now there is no easy way to show the ziglings header only for the verify_all |  named_chain steps.
I see two options:

We show the ziglings header every time we run the zig build command, so no dependOn for the header step.
We create a custom step to show the header as before. Though, personally I think it's too much complexity added for just a header shown on stdout.

Hope I was clear 😁

The problem is bigger and requires a general rebuild of the build system: https://github.com/ratfactor/ziglings/issues/202

The problem is bigger and requires a general rebuild of the build system: #202

@chrboesch Happy to participate 👍🏼

@sterchelen You are welcome! :smile:

Logo problem solved so far, but the main problem with asynchrounus tasks is still there: https://github.com/ratfactor/ziglings/pull/203

@chrboesch it seems you did the job... closing then.

No, I didn't. This is only a workaround that Ziglings can used manually. A real solution must work as before. What I did ist some experiments, but there are some bugs in the build system, so I opened an issue yesterday.
The idea for a sustainable solution is to use the arguments in the build to select whether to compile all tasks one by one, and then re-run the build system one step at a time. In principal it works. I tested yesterday.

@sterchelen Let's diskuss further here: https://github.com/ratfactor/ziglings/issues/202


Fix incorrect syntax

When creating a new PR, please do the following and delete this template text:

Reference the issue number if there is one:
Fixes #Issue_Number

The "Fixes #nnn" syntax in the PR description causes
GitHub to automatically close the issue when this PR is merged.

Suggest reviewers if you know who should review the PR, using the GitHub Reviewers UI.

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot

@JosephWoodward We really appreciate you taking the time to fix this issue. Thank you!

No worries!


docker exec -it to start the interactive terminal

As per the current documentation,
$ docker run -it -p 8888:8888  gcr.io/tensorflow/tensorflow should be used to access the CLI.
However, the previous command starts the Notebook App. The CLI is not available. To access the CLI, we need to access the container by creating a new interactive terminal to it.
Hence, I added a second step using docker exec.

Can one of the admins verify this patch?

I signed it !

@tensorflow-jenkins test this please

@vivekjuneja it looks like this PR has stalled out - my impression is the ball is in your court to resolve the comments from code review. or do we need to take another look?

@danmane - I have changed the documentation based on the feedback from @vrv

@vrv please review this.

@tensorflow-jenkins test this please

the branch has conflicts, so they need to be resolved first...  otherwise looks fine, but I don't use docker so I'm probably the wrong person to review this :)

@craigcitro perhaps you'd be kind enough to take a look :)

I'm closing this due to lack of response but comment and we'll reopen after you've addressed these changes.  Thanks!


[shared_preferences] Switch to shared_preferences_foundation

Switches to using the new combined shared_prefences_foundation for iOS and macOS.
Part of flutter/flutter#117941
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the relevant style guides and ran the auto-formatter. (Unlike the flutter/flutter repo, the flutter/plugins repo does use dart format.)
[x] I signed the CLA.
[x] The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.
[x] I updated CHANGELOG.md to add a description of the change, following repository CHANGELOG style.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] All existing and new tests are passing.

I'm not sure yet why this is hanging in CI; it's passing locally.

I'm not sure why regenerating the iOS part of the example app fixed the CI hang, but since I also don't know why it was hanging in CI when it worked locally, I'll take it 🤷


Demo Server (heroku) is apparently down

It seems that the demo server mentioned in the readme is down. https://dynamic-rest.herokuapp.com/ returns 404. Did I miss something or is this a bug?

This still doesn't work.


Error: auth_time in id_token does not match original auth_time

Hi!
I get this error after signinSilent. The auth_time sames ok. Any idea why this error is thrown?
Error: auth_time in id_token does not match original auth_time
Best regards

auth_time from the spec:
Time when the End-User authentication occurred. Its value is a JSON number representing the number of seconds from 1970-01-01T0:0:0Z as measured in UTC until the date/time. When a max_age request is made or when auth_time is requested as an Essential Claim, then this Claim is REQUIRED; otherwise, its inclusion is OPTIONAL. (The auth_time Claim semantically corresponds to the OpenID 2.0 PAPE [OpenID.PAPE] auth_time response parameter.)

Hi,
I have the exact same problem, do you have a solution to solve it ?
I see that auth.user.profile.auth_time is undefined in my case but I don't know if this is linked to this error.
Best regards,

Which version are you using auth_time has been some time ago. See https://github.com/authts/oidc-client-ts/releases/tag/v2.2.4

This issue (question) staled some time ago, closing it for now.


Unable to import python-dateutil in 1.0.0a6, can do so in 1.0.0a4

requirements.txt
azure-functions==1.0.0a5
azure-functions-worker==1.0.0a6
grpcio
grpcio-tools
protobuf
requests
python-dateutil

A function with an import statement of from dateutil import parser as date_parser
throws a "Module not found" error. Switching back to 1.0.0a4 from 1.0.0a6 resolves the issue.

@ankitkumarr can you please look into this issue?

I could not reproduce this issue using the latest version of azure-functions-core-tools (2.3.148).
@monteledwards could you try using the new version of azure-functions-core-tools and let me know if you still see the error?
Thanks for reporting!

Closing issue due to no repro. Please feel free to re-open if you're still running into the error.


Add MultiRootFileSystem to better support using --filesystem-root.

Also fix errors when --target or --packages are specified in filesystem scheme.

As we discussed earlier today, I've removed the FileSystem override in flutter_command.
Changes I'm still keeping in this PR:

Implementation of MultiRootFileSystem.
Adding fileSystemRoots and fileSystemScheme as getter in FlutterCommand to be overridden.
A few calls to fs.path.absolute or uri.toFilePath.

PTAL, thanks!


Correction to Fragments

11 seems to have repeating sentences
No way to navagate before and after 26

solves #4

hi @echoe320 ..
i can't merge this right now. I'm getting the following YAML errors when I run bundle exec jekyll serve locally. Can you address these, make sure the site builds locally without errors, then push the commits here?
Error: YAML Exception reading /mnt/c/Users/cpd3149/web/caravans-wax/_fragments/25.md: (<unknown>): did not find expected key while parsing a block mapping at line 2 column 1
Error: YAML Exception reading /mnt/c/Users/cpd3149/web/caravans-wax/_fragments/40.md: (<unknown>): did not find expected key while parsing a block mapping at line 2 column 1
Error: YAML Exception reading /mnt/c/Users/cpd3149/web/caravans-wax/_fragments/49.md: (<unknown>): did not find expected key while parsing a block mapping at line 2 column 1


Tax form not required for transfer to Collective in same host

This expense is asking for a tax form: https://opencollective.com/opensource/expenses/29113
But the payee is a Collective within the same host. The tax form requirement is only relevant when money is paid to an external party to the host, so this is wrong.

The queries for tax form didn't integrate this constraint, I'll update them today to make sure they do.

Fix deployed


Support NetworkAccessPolicy as part of OSDisk specs

Reposting from here.
OS disk specs here doesn't contain networkAccessPolicy flag which is present part of managed_disk_properties.
Without this, our disks are open to internet with NetworkAccessPolicyAllowAll (applied by default). Though a disk attached to a running VM can't have an export SAS URL. We would like to have an argument which enables us to explicitly apply NetworkAccessPolicyDenyAll/NetworkAccessPolicyAllowPrivate flag to avoid exposure to internet.
This isn't just for VM but also for VMSS resources. I'm new to this repo, hence not aware of contributing.
Shall you need more details, please revert to me.
Thanks,
Harsha

Adding Service team to assist on this.
@Drewm3, @Vaibhav-Agar Could you please look into this issue ? Thanks in advance.

Moving to @TravisCragg-MSFT to investigate.

Network access policies are not particularly useful for disks attached to VM's. Network access policy applies for unattached disks for securing access via the SAS URI for exporting VHD. For disks attached to VM's there is no access to SAS URI.

If you read my problem statement once again, I've said the same. That's not new to me. It's the same behavior with data disks as well which are attached to the VM. Yet, they come up with configurable parameter to explicitly control network access.
I do the need the same for OS disk. It doesn't matter whether it's attached or unattached. In the end, OS disk is also a managed disk which when unattached, can have a SAS URL.

@TravisCragg-MSFT Can you please take a look at this issue?

Can there be another look taken at this ticket? It is blocking terraform support that is linked in the ticket above that I would very much like to have support for.

Thank you for the feedback. We are evaluating this request. We also have a policy to disable public access which should also cover OS disks. Will this be a sufficient solution to unblock here?
[https://ms.portal.azure.com/#view/Microsoft_Azure_Policy/PolicyDetailBlade/definitionId/%2Fproviders%2FMicrosoft.Authorization%2FpolicyDefinitions%2F8426280e-b5be-43d9-979e-653d12a08638]

This will not be added in our current development cycle, but I am leaving this open as it is a candidate for our fall cycle.

Hi,
My understanding is that Azure defaults the OS disk's network access policy to public and it cannot be set programmatically due to the missing API.
This goes against the recommendation of Azure:

The policy linked by @VikasMohandoss even reads to reduce data leakage risks:

The policy is not an adequate workaround, it is complex to apply across subscriptions and resource groups since it requires setting up Disk Access resources which we have no use for because we don't use this feature.
How is this not seen as a serious security concern, given appropriate corresponding attention and priority ?

Hello @TravisCragg-MSFT
Do we have any updates about this? I also would like to disable public and private access to OS disks via API/terraform etc but till now it's now possible.

Same here, referencing https://github.com/hashicorp/terraform-provider-azurerm/issues/15156.

Hi @TravisCragg-MSFT,
Can we have an update on this as we are in the fall for this year? This has security concerns which are managed by not so easy workarounds. If the data disks have the same security setting why not OS disks?
We expect some movement here as it almost passed an year.

I found workaround for now. We can use AzApi provider to update it , but still it cloud be done in AzureRM.
Here you have code:
resource "azapi_update_resource" "disk" {
  type                = "Microsoft.Compute/disks@2023-01-02"
  name                = azurerm_linux_virtual_machine.vm.os_disk[0].name
  parent_id           = data.azurerm_resource_group.rg.id
  body = jsonencode({
    properties = {
      networkAccessPolicy   = "DenyAll"
      publicNetworkAccess  = "Disabled"
    }
  })
}

It works for me. :)
I didn't find what is the difference between networkAccessPolicy and publicNetworkAccess, so I disabled both :)

Is there any update on adding native support for this?


probe: stlink: Fix 1-byte transfers

Internally the 1-byte transfers are handled in 3 phases:

read/write 8-bit chunks from every unaligned addresses until the first aligned address is reached,
read/write 32-bit chunks from all aligned addresses,
read/write 8-bit chunks from the remaining unaligned addresses.

Size of the first unaligned read/write is set to the result of address (4-byte) alignment check and can be either 1, 2, or 3 bytes (the value of unaligned_count calculated as addr & 0x3). This is incorrect and every transfer with the requested size smaller than unaligned_count is terminated with the following error:

Unhandled exception in handle_message (b'm'): result size (3) != requested size (1) [gdbserver]

Skip the first unaligned transfer if the requested size is smaller than the result of the address alignment check. Handle the whole request in the second, unaligned read/write (phase 3. mentioned above).

The issue was discovered in the latest release of pyOCD (0.34.2) when debugging stm32u585aiix target, and can be exposed e.g.
(gdb) x/128xb 0x20000000
0x20000000 <foo>:	0x00	0x00	Cannot access memory at address 0x20000002
(gdb)

Matching pyocd log and traceback:
0155554 E Unhandled exception in handle_message (b'm'): result size (2) != requested size (1) [gdbserver]
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/pyocd/gdbserver/gdbserver.py", line 419, in handle_message
    reply = handler(msg[msgStart:])
  File "/usr/local/lib/python3.10/site-packages/pyocd/gdbserver/gdbserver.py", line 840, in get_memory
    mem = self.target_context.read_memory_block8(addr, length)
  File "/usr/local/lib/python3.10/site-packages/pyocd/debug/cache.py", line 42, in read_memory_block8
    return self._memcache.read_memory_block8(addr, size)
  File "/usr/local/lib/python3.10/site-packages/pyocd/cache/memory.py", line 258, in read_memory_block8
    assert len(result) == size, "result size ({}) != requested size ({})".format(len(result), size)
AssertionError: result size (2) != requested size (1)

When inspected with pdb, this leads to read_memory_block8:
(Pdb) bt
  /usr/local/Cellar/python@3.10/3.10.8/Frameworks/Python.framework/Versions/3.10/lib/python3.10/threading.py(973)_bootstrap()
-> self._bootstrap_inner()
  /usr/local/Cellar/python@3.10/3.10.8/Frameworks/Python.framework/Versions/3.10/lib/python3.10/threading.py(1016)_bootstrap_inner()
-> self.run()
  <local-pyocd-source>/pyocd/gdbserver/gdbserver.py(333)run()
-> self._run_connection()
  <local-pyocd-source>/pyocd/gdbserver/gdbserver.py(385)_run_connection()
-> resp = self.handle_message(packet)
  <local-pyocd-source>/pyocd/gdbserver/gdbserver.py(422)handle_message()
-> reply = handler(msg[msgStart:])
  <local-pyocd-source>/pyocd/gdbserver/gdbserver.py(840)get_memory()
-> mem = self.target_context.read_memory_block8(addr, length)
  <local-pyocd-source>/pyocd/debug/cache.py(42)read_memory_block8()
-> return self._memcache.read_memory_block8(addr, size)
  <local-pyocd-source>/pyocd/cache/memory.py(255)read_memory_block8()
-> combined = self._read(addr, size)
  <local-pyocd-source>/pyocd/cache/memory.py(137)_read()
-> uncachedData = self._read_uncached(uncached)
  <local-pyocd-source>/pyocd/cache/memory.py(97)_read_uncached()
-> data = self._context.read_memory_block8(uncachedIv.begin, uncachedIv.end - uncachedIv.begin)
  <local-pyocd-source>/pyocd/coresight/cortex_m.py(493)read_memory_block8()
-> data = self.ap.read_memory_block8(addr, size)
  <local-pyocd-source>/pyocd/utility/concurrency.py(29)_locking()
-> return func(self, *args, **kwargs)
  <local-pyocd-source>/pyocd/coresight/ap.py(1236)_accelerated_read_memory_block8()
-> return self._accelerated_memory_interface.read_memory_block8(addr, size,
> <local-pyocd-source>/pyocd/probe/stlink_probe.py(304)read_memory_block8()
-> addr &= 0xffffffff
(Pdb)

Related (or pretty much the same 😉 ) issue -- #1444.

Thanks! And helpful detail in the description.
I'm about to push a change to remove Python 3.6 from the CI workflow, so it will run successfully.

I think this commit not correct too. See fix at https://github.com/pyocd/pyOCD/pull/1428 in comments.

/azp run

Just noticed: you should probably add your copyright to the file header comment (meaning I'd prefer it 😄). I'll give you a chance before merging.

OK, updated the copyright. Too bad this cancelled the whole CI pipeline. 😅

Thanks!

/azp run

Btw, I plan to cherry pick this fix to main and release a bug fix update quickly. Thanks again.


delete recordsets in cloud zones when deleting DNSZone

When deleting a DNSZone, the cloud zone cannot be deleted while there are still recordsets in the zone. Since the zone was created for the DNSZone, Hive can safely clear the recordsets.
https://issues.redhat.com/browse/CO-1071

/test e2e-azure
/test e2e-gcp

/lgtm


add lessText and moreText props for renaming the button text

Description
I added new props lessText and moreText to overwrite the default button texts read more and read less
Additional context

What is the purpose of this pull request?

[ ] Bug fix
[x] New Feature
[x] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[x] Read the Contributing Guidelines.
[x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[ ] Ideally, include relevant tests that fail without this PR but pass with it.

Up, is it possible to find a solution or an alternative? Can we opt for another PR with the new version? @cbuchwald @prabhuignoto

Up, is it possible to find a solution or an alternative? Can we opt for another PR with the new version? I mean, this is an important feature, and it seems nobody cares, so if I can figure out how to do it, let me know. @cbuchwald @prabhuignoto

I have an alternative proposal of a PR


OJ-37114 - Configure structlog

Description
Configures structlog for use in this repository. In the current configuration, structlog will handle log message rendering and formatting before sending a finalized log message to the standard logging library. The next step of utilizing structlog will be replacing all instances of the standard library logger with the new structlog logger + slightly modifying the CustomQueueHandler based on the new logging formatting.
Example log:
{"event": "Structlog and standard logging configured", "agent_run_uuid": "8c2c7a73-3f9f-488e-9f1c-50e274fc8ce2", "jf_meta": {"commit": "bac1462befc405d8379160790f4085ca1732c6fe", "timestamp": "20240729T144304Z"}, "upload_time": "20240730_163839", "run_mode": "download_only", "company_slug": "orthogonal-networks", "logger": "__main__", "level": "info", "timestamp": "2024-07-30T16:38:39.569866Z", "lineno": 167, "filename": "main.py", "func_name": "main"}

@jruel4 The console output will look like this:

Would you prefer the console output not to include context vars? I should be able to update the config so that they're only excluded for the console

@jruel4 The console output will look like this:

Would you prefer the console output not to include context vars? I should be able to update the config so that they're only excluded for the console

We do have some customers that parse through the logfile if something is awry. I think having the full context vars dumping into the console would make things hard to read. I'd say formatting the console output to be human-readable here would be preferable.


Can I download and play network audio at the same time?

You can download a different audio and stream at the same time. But unfortunately you can't download and stream the same audio at the same time currently.

Why is this happening?
Is it because dataTask and downloadTask cannot be executed on one URL at the same time?

You can download a different audio and stream at the same time. But unfortunately you can't download and stream the same audio at the same time currently.

Why is this happening?
Is it because dataTask and downloadTask cannot be executed on one URL at the same time?

@liutian0117 actually you could start a background download and stream the same file but it'll download them separately at the same time. I don't have the feature to save the data that's being streamed to be able to be played later from the device.

@liutian0117 I tried accomplishing something similar in my player https://github.com/yeralin/OpenPlayer/blob/master/MusicPlayer/Audio/AudioDownload/RemotePlayerItem.swift
Generally it works as I use dataTask and feed my player with incoming data (which is then I save locally).
The main problem is that dataTasks are killed by OS if an app goes into background.
I started looking into SwifttAudioPlayer and realized they have the same problem.


key missing?

in section
Key Bindings by Task
2-Buffers
C-x	Move to next buffer
C-x	Move to previous buffer
after C-x missing key LEFT/RIGHT ?

Thanks for the issue submission, I fixed it.


UnboundLocalError: local variable 'input_vector' referenced before assignment

In the model files (rnn.py, transformer.py and gated_transformer.py), there is a mistake on a line causing an error:
UnboundLocalError: local variable 'input_vector' referenced before assignment
I think
input_vector = input_vector.to(self.device)
should be
input_vectors = input_vectors.to(self.device)

Fixed the typo with latest commit d1b0cc57e2fe3eaf6cc6d1ffca1f714cc1d7b341


How to refresh pages with vue 2

I want use v-show with pages and reload fullpage with function, it is possible?
Refer https://github.com/alvarotrigo/fullPage.js#methods method reBuild()
Sorry for my english, i'm Brazillian, thanks a lot.

I'm sorry, I didn't understand your need, but I according to reBuild added a [$update](https://github.com/river-lee/vue-fullpage/blob/master/README.md#upadte) method, at the time of change in the DOM structure. See Dome