[Good First Issue]: Verify notus-7b-v1 with GenAI text_generation

Context
This task regards enabling tests for notus-7b-v1. You can find more details under openvino_notebooks LLM chatbot README.md.
Please ask general questions in the main issue at https://github.com/openvinotoolkit/openvino.genai/issues/259
What needs to be done?
Described in the main Discussion issue at: https://github.com/openvinotoolkit/openvino.genai/issues/259
Example Pull Requests
Described in the main Discussion issue at: https://github.com/openvinotoolkit/openvino.genai/issues/259
Resources

Contribution guide - start here!
Intel DevHub Discord channel - engage in discussions, ask questions and talk to OpenVINO developers

Contact points
Described in the main Discussion issue at: https://github.com/openvinotoolkit/openvino.genai/issues/259
Ticket
No response

.take

Hello @kuanxian1, are you still working on this? Is there anything we could help you with?

Yes, I have verified notus-7b-v1 is working, will raise a PR to add it into supported list.

Hi @p-wysocki, I have raised PR #301  for this issue, please let me know if any change is needed.

Thank you for your contribution! Let's wait for review.


docker <IP_ADDRESS>  database instance fails to start

docker <IP_ADDRESS> based database instance fails to start after docker image overall build successful.
See highlights below.  Please let me know if you need any other log data.
================================================= Docker Build
...
*** End of Installation Page***
The installation of Oracle Database 12c was successful.
INFO: Updating the global context
INFO: Path To 'globalcontext.xml' = /opt/oracle/product/<IP_ADDRESS>/dbhome_1/install/chainedInstall/globalcontext
INFO: Since operation was successful, move the current OiicAPISessionDetails to installed list
INFO: Number of root scripts to be executed = 2
INFO: isSuccessfullInstallation: true
INFO: isSuccessfullRemoteInstallation: true
INFO: Adding ExitStatus SUCCESS to the exit status set
INFO: Completed setting up InstallDB
INFO: Executing [/opt/oracle/product/<IP_ADDRESS>/dbhome_1/bin/diagsetup, clustercheck=false, basedir=/opt/oracle, oraclehome=/opt/oracle/product/<IP_ADDRESS>/dbhome_1]
with environment variables {ORACLE_HOME=/opt/oracle/product/<IP_ADDRESS>/dbhome_1, JAVA_HOME=, SHLVL=2, XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt, CLASSPATH=, ORACLE_BASE=/opt/oracle, PATH=/usr/bin:/usr/ccs/bin:/opt/oracle/product/<IP_ADDRESS>/dbhome_1/bin:/opt/oracle/product/<IP_ADDRESS>/dbhome_1/OPatch/:/usr/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/oracle/install/database/install, CONFIG_RSP=dbca.rsp, INSTALL_FILE_1=linuxamd64_12102_database_1of2.zip, INSTALL_RSP=db_inst.rsp, INSTALL_FILE_2=linuxamd64_12102_database_2of2.zip, PWD=/opt/oracle/install, ORACLE_PDB=ORCLPDB1, PERL_INSTALL_FILE=installPerl.sh, HOSTNAME=9f6757744a2a, HOME=/home/oracle, INSTALL_DIR=/opt/oracle/install, ORACLE_SID=ORCLCDB, RUN_FILE=runOracle.sh, _=/opt/oracle/install/database/install/.oui, NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat, LD_LIBRARY_PATH=/tmp/OraInstall2016-07-29_02-36-05PM/jdk/jre/lib/amd64/server:/tmp/OraInstall2016-07-29_02-36-05PM/jdk/jre/lib/amd64:/tmp/OraInstall2016-07-29_02-36-05PM/jdk/jre/../lib/amd64:/tmp/OraInstall2016-07-29_02-36-05PM/ext/bin:/tmp/OraInstall2016-07-29_02-36-05PM/ext/lib}
INFO: Starting Output Reader Threads for process /opt/oracle/product/<IP_ADDRESS>/dbhome_1/bin/diagsetup
WARNING: /opt/oracle/product/<IP_ADDRESS>/dbhome_1/bin/diagsetup: line 89: file: command not found
INFO: The process /opt/oracle/product/<IP_ADDRESS>/dbhome_1/bin/diagsetup exited with code 0
INFO: Waiting for output processor threads to exit.
INFO: Output processor threads exited.
INFO: Number of scripts to be executed as root user = 2
INFO: Shutting down OUISetupDriver.JobExecutorThread
INFO: Cleaning up, please wait...
INFO: All forked task are completed at state setup
INFO: Completed background operations
INFO: Moved to state
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Validating state
INFO: Completed validating state
INFO: Verifying route success
INFO: Waiting for completion of background operations
================================================= Docker Build end
=================================================  docker run begin
[root@ea7e7f <IP_ADDRESS>]# docker run -p 1521:1521 -p 5500:5500 oracle/database:<IP_ADDRESS>-ee
LSNRCTL for Linux: Version <IP_ADDRESS>.0 - Production on 29-JUL-2016 14:50:31
Copyright (c) 1991, 2014, Oracle.  All rights reserved.
Starting /opt/oracle/product/<IP_ADDRESS>/dbhome_1/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version <IP_ADDRESS>.0 - Production
System parameter file is /opt/oracle/product/<IP_ADDRESS>/dbhome_1/network/admin/listener.ora
Log messages written to /opt/oracle/diag/tnslsnr/708892e41fc9/listener/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=<IP_ADDRESS>)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
STATUS of the LISTENER
Alias                     LISTENER
Version                   TNSLSNR for Linux: Version <IP_ADDRESS>.0 - Production
Start Date                29-JUL-2016 14:50:33
Uptime                    0 days 0 hr. 0 min. 0 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Default Service           ORCLCDB
Listener Parameter File   /opt/oracle/product/<IP_ADDRESS>/dbhome_1/network/admin/listener.ora
Listener Log File         /opt/oracle/diag/tnslsnr/708892e41fc9/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=<IP_ADDRESS>)(PORT=1521)))
The listener supports no services
The command completed successfully
SQL*Plus: Release <IP_ADDRESS>.0 Production on Fri Jul 29 14:50:33 2016
Copyright (c) 1982, 2014, Oracle.  All rights reserved.
Connected to an idle instance.
SQL> ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file '/opt/oracle/product/<IP_ADDRESS>/dbhome_1/dbs/initORCLCDB.ora'
SQL> Disconnected
tail: cannot open '/opt/oracle/diag/rdbms///trace/alert*.log' for reading: No such file or directory
tail: no files remaining
[root@ea7e7f <IP_ADDRESS>]# docker ps
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES
=================================================  run end
================================================= ./8be36dcd376f034690416cd3a42914c830c26cbbed02cfdf519deabf8ddde6e9/opt/oracle/cfgtoollogs/dbca/ORCLCDB/ORCLCDB.log  begin ==========================
Unique database identifier check passed.
/ has enough space. Required space is 7665 MB , available space is 46841 MB.
File Validations Successful.
Copying database files
Error in Process: /opt/oracle/product/<IP_ADDRESS>/dbhome_1/bin/orapwd
Enter password for SYS:
Usage: orapwd file= entries= force=<y/n> asm=<y/n>
dbuniquename= format=<legacy/12> sysbackup=<y/n> sysdg=<y/n>
syskm=<y/n> delete=<y/n> input_file=
Usage: orapwd describe file=
where
file - name of password file (required),
password - password for SYS will be prompted
if not specified at command line.
Ignored, if input_file is specified,
entries - maximum number of distinct DBA (optional),
force - whether to overwrite existing file (optional),
asm - indicates that the password to be stored in
Automatic Storage Management (ASM) disk group
is an ASM password. (optional).
dbuniquename - unique database name used to identify database
password files residing in ASM diskgroup only.
Ignored when asm option is specified (optional),
format - use format=12 for new 12c features like SYSBACKUP, SYSDG and
SYSKM support, longer identifiers, etc.
If not specified, format=12 is default (optional),
delete - drops a password file. Must specify 'asm',
'dbuniquename' or 'file'. If 'file' is specified,
the file must be located on an ASM diskgroup (optional),
sysbackup - create SYSBACKUP entry (optional and requires the
12 format). Ignored, if input_file is specified,
sysdg - create SYSDG entry (optional and requires the 12 format),
Ignored, if input_file is specified,
syskm - create SYSKM entry (optional and requires the 12 format),
Ignored, if input_file is specified,
input_file - name of input password file, from where old user
entries will be migrated (optional),
describe - describes the properties of specified password file
(required).
There must be no spaces around the equal-to (=) character.
DBCA_PROGRESS : DBCA Operation failed.
=================================================  ./8be36dcd376f034690416cd3a42914c830c26cbbed02cfdf519deabf8ddde6e9/opt/oracle/cfgtoollogs/dbca/ORCLCDB/ORCLCDB.log  end  =====================
installActions2016-07-29_02-36-05PM.zip

See issue #123.

@gvenzl, mind to take a look? perhaps this case is different than #123?

This seems to be an issue with the password for the DBA accounts. Can you please confirm the following:
Did you invoke buildDockerImage.sh with -p and specify a password?
If yes, did you have a space in it?
If no, what is the password for SYSPASSWORD in the dbca.rsp response file?

No.  Did not run buildDockerImage.sh
I ran this:
docker build -t oracle/database:<IP_ADDRESS>-ee -f Dockerfile.ee .
[root@ea7e7f docker]# cat ./btrfs/subvolumes/dce3fa1e1159904ad492d6ba86b6bd619e0ae322438333e0ee10c8bfd6a8be12/opt/oracle/install/dbca.rsp | grep SYSPASSWORD
Name          : SYSPASSWORD
SYSPASSWORD = "###ORACLE_PWD###"

Ok, that is the problem. The Dockerfile expects a password passed on for the DBA accounts.
I just saw that the Dockerfile itself doesn't cover that yet in the comment section.
Please try to rebuild the image using buildDockerFile.sh or using --build-arg ORACLE_PWD=<Your DB password>

Done.  Thanks Gerald!


Emojis used as classnames in scss won't compile.

Problem
I tried using an emoji as a classname and the scss wouldn't compile.
Replication steps
Use an emoji in an scss file.
.😃{background:chartreuse; color:yellow;}
More Information
😡😡😡😡😡😡😡😡😡😡😡😡😡😡😡😡😡😡😡😡🍕

I also would like to see a fix.

See: https://github.com/Shopify/slate/issues/204
This doesn't have anything to do with CSS comment blocks, Slate or even Shopify's SCSS compiler. The solution would be to add @charset "UTF-8"; to the very top of your file to tell the SCSS compiler that you are intentionally using UTF-8 characters. Once you do that, you can go wild with UTF-8.
@charset "UTF-8";
.🤑:after {
  display: block;
  content: '🎉';
}

Brilliant!

Even after adding @charset "UTF-8"; the compiler fails as soon as I add an Emoji. I added that to the theme.scss file. Any Suggestions?

@ryanlabar could you post the code snippet you are describing?

@ryanlabar I just tested this fix in #242. It seems to have worked for me. Are you sure there is not another formatting issue in your stylesheet?

PR has been merged. Will ship in the 0.12.0 release of Slate.


Chromium docs 4192428

Docs Build status updates of commit 6be53fd:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/devtools-guide-chromium/console/utilities.md
:white_check_mark:Succeeded

microsoft-edge/devtools-guide-chromium/rendering-tools/_code/forcedsync.html
:white_check_mark:Succeeded

microsoft-edge/devtools-guide-chromium/rendering-tools/images/jank-performance-advanced-paint-instrumentation-summary.msft.png
:white_check_mark:Succeeded

microsoft-edge/devtools-guide-chromium/rendering-tools/images/jank-performance-recalculate-style-summary.msft.png
:white_check_mark:Succeeded

microsoft-edge/devtools-guide-chromium/rendering-tools/images/performance-recalculate-style-summary.msft.png
:white_check_mark:Succeeded

microsoft-edge/devtools-guide-chromium/rendering-tools/index.md
:white_check_mark:Succeeded

microsoft-edge/toc.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Add Spanish translation

Copy style from English.js
Change values

I want to resolve #17

Paste a zen address here, you'll have 2 zen soon!


Add Healthcheck endpoint

Is your feature request related to a problem? Please describe.
Currently, there's no way to know if AccessBot is running ok or not. It's ideally got via a healthcheck endpoint.
Describe the solution you'd like
It would be nice to have a healthcheck endpoint using the Errbot Webserver (instead of using a Flask instance).

Just an FYI, @wallrony and @vassalo we have a new ticket in from Alloy saying their healthchecks are failing (Accessbot Failing Healthchecks in ECS), and it looks like this is the very thing you created this issue for.
https://strongdm.zendesk.com/agent/tickets/5362

Hey @acesdm! We pushed a commit with this feature in the staging branch, which is acting kinda as a pre-release branch while Rodo's out. So if you want to take a look at it, please go ahead and give some feedback, but keep in mind that something might change when Rodo comes back.


unused import in line  36

unused import: UniqueSaturatedInto
--> template/runtime/src/lib.rs:36:2

This has been fixed


error in updating source

I'm trying to add this to my hosts file so i added it in url key just like mentioned.  But when updating it's always showing error in updating source for that link.  This is that link.
https://malware-filter.gitlab.io/malware-filter/phishing-filter-hosts.txt

Thank you for this @pokegamer5547
That URL resolves correctly for me.  Both these work for me:

URL in a web browser.
$ curl https://malware-filter.gitlab.io/malware-filter/phishing-filter-hosts.txt.

Thank you for this @pokegamer5547
That URL resolves correctly for me. Both these work for me:
* URL in a web browser.

* `$ curl https://malware-filter.gitlab.io/malware-filter/phishing-filter-hosts.txt`.

Yes you're right, it's working fine for me in both cases as well. It's only not working during hosts updating.

I dont get it where i am going wrong.
I created a newfolder in data folder and then copied update.json file from other list and modified it's url with what it's showing.

@pokegamer5547 when i run this hosts file through our software it crashes. When I remove try...except... code wrappers I see this more detailed error.
Updating source data/StevenBlack from https://malware-filter.gitlab.io/malware-filter/phishing-filter-hosts.txt
Traceback (most recent call last):
  File<EMAIL_ADDRESS>line 167, in encode
    raise UnicodeError("label too long")
UnicodeError: label too long

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/Users/steve/temp/hosts/updateHostsFile.py", line 1829, in <module>
    main()
  File "/Users/steve/temp/hosts/updateHostsFile.py", line 254, in main
    update_all_sources(source_data_filename, settings["hostfilename"])
  File "/Users/steve/temp/hosts/updateHostsFile.py", line 757, in update_all_sources
    updated_file = get_file_by_url(update_url)
  File "/Users/steve/temp/hosts/updateHostsFile.py", line 1568, in get_file_by_url
    res_text = "\n".join([domain_to_idna(line) for line in req.text.split("\n")])
  File "/Users/steve/temp/hosts/updateHostsFile.py", line 1568, in <listcomp>
    res_text = "\n".join([domain_to_idna(line) for line in req.text.split("\n")])
  File "/Users/steve/temp/hosts/updateHostsFile.py", line 1514, in domain_to_idna
    splited_line[index] = splited_line[index].encode("IDNA").decode("UTF-8")
UnicodeError: encoding with 'IDNA' codec failed (UnicodeError: label too long)

There's garbage in the file you're trying to import.
Closing.


GD-89: Add a option to install examples

Is your feature request related to a problem? Please describe.
With GD-88 we exclude all integration and examples form AssetLib download.
It would be nice to have a option to install examples to can look into and learn how to write tests.
Describe the solution you'd like
Add an option like a button to optional install GdUnit examples.
Describe alternatives you've considered
manual download from GitHub

In #88  the examples are not excluded as gdUnit3-examples is not excluded but examples
FWIW AssetLib users have the opportunity to deselect download parts which IMHO === 'this issue #89' solution :-)

Yes the renaming was after #88 was finished.
The current version has the right exclude have a look at https://github.com/MikeSchulze/gdUnit3/blob/master/.gitattributes

My point was to remove
/gdUnit3-examples

from .gitattributes thus fixing this issue ... AssetLib users can deselect the /gdUnit-examples

Regarding

In #88 the examples are not excluded as gdUnit3-examples is not excluded but examples

I don't know what went wrong ... I did see /examples :-/ ... let's call it a github glitch :-)

I have checked the AssetLib and still holds the v0.9.4, it is not updated.
My change request is not accepted yet, you have to wait ;)

The AssetLib is now updated and version v0.9.6 is available


Overhauled Minutes page

Ares wants a better place to put meeting minutes in a separate place, likely very similar to the Newsletters system. Don't need to notify people when new minutes are released though. :stuck_out_tongue:
Could also have Google Slides embed? Might just be duplicating information at this point. Either way, requires more discussion with the overlord of spooky themselves.

Closed by e074e7a


fixed issue when exporting python wrapper in image classification demo

Did you make request because you ran into errors when running this script? Actually, the line you changed should be removed.

It is a minor one about Python environment configuration when one doesn't install the whole library on the machine. So I guess it will incur inconvenience if left unchanged or even removed.

It seems that this line should be removed. It is very kind if you want to give another pull request to remove it

We want user to run our demo after paddle installed. So that python library should be already add to system python after installed.

Noted. New PR will be launched assp. :)

Duh!


[feature-wip][MTMV] Add show statement for MTMV

Proposed changes
Issue Number: close #13751
Problem summary
Describe your changes.
Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[x] No
[ ] I don't know

Has unit tests been added:

[x] Yes
[ ] No
[ ] No Need

Has document been added or modified:

[ ] Yes
[x] No
[ ] No Need

Does it need to update dependencies:

[ ] Yes
[x] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[x] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 38.41 seconds
load time: 557 seconds
storage size:<PHONE_NUMBER>9 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20221030191655_clickbench_pr_35886.html


AWS CDK version2 support?

As you know, "import" statement of AWS CDK version2 is changed.
For example,
@aws-cdk/aws-iam ==> aws-cdk-lib/aws-iam
When I'm trying to deploy this construct using AWS CDK version2, I found the following error message:

Cannot find module '@aws-cdk/aws-iam'
Require stack:

/Users/............../node_modules/cdk8s-aws-load-balancer-controller/lib/alb-controller-policy.js
/Users/............../node_modules/cdk8s-aws-load-balancer-controller/lib/index.js
...
...

Do you have a plan to support AWS CDK Version2?

Yes, cdk8s-aws-load-balancer not support aws-cdk V2.
But you can remove this library.
Use https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_eks.AlbController.html
this way to help you create it.

Thanks a lot.
For reference, "cdk8s-plus" is also very useful and simple.


Added ul and li style for toc directive

@choldgraf  styling for the list headers of {tableofcontents} directive. What do you think?

Hmmm - this is going to annoy you, and I apologize :-)  but, if we're going to put styles in this theme for the TOC directive, why don't we move the directive (and tests) here instead of in jupyter-book? Otherwise there's no way for us to test out the styling here without also trying it out in jupyter book, which feels a bit clunky. What do you think?

Hmm, it makes sense in a way. But, I am not sure if this functionality should be inside a theme, as it does not add structure or design to the page. Will it be obvious to people using ebp to find this directive here? no need to apologize though :)

fair enough - though I just realized that the styles in this PR won't actually be applied because I don't believe that the table of contents directive uses those classes, no? Will that need to be a follow-up PR?
I just opened up https://github.com/executablebooks/jupyter-book/pull/597 so we can demo the use of the tableofcontents directive and see how it looks

@choldgraf  Great. Thanks for the PR.
tableofcontents uses those classes. I add the classes to the node during building the node tree.

Hmmm - the tableofcontents isn't showing up in the PR preview, any idea why that would be? https://deploy-preview-597--jupyter-book.netlify.app/content-types/index.html

@choldgraf apparently, the self.env.titles variable is not fully constructed at this point. It has some files but not all. the value of the variable was something like :-

So, the line of code here https://github.com/choldgraf/jupyter-book/blob/docsimprove/jupyter_book/directive/toc.py#L64 , just exits the loop as it does not find an entry for the files.
Do you know any reliable way in sphinx to fetch the titles of the document from there path entry in _toc.yml.
When you insert a debugger, and then after that rebuild it without it, then it works . So probably did not see it because of  all the debuggers in place.  Weird

Do you know any reliable way in sphinx to fetch the titles of the document from there path entry in _toc.yml

Hmm good question - I guess you could load the doctree itself and grab the first title element, I think that should be the title in a reliable way. I'm not sure if there's a special Sphinx function for it...

Thanks. Actually, I got the idea of using this env variable from TocTree class only, like here https://github.com/sphinx-doc/sphinx/blob/3.x/sphinx/environment/adapters/toctree.py#L142 . But they have more complex machinery around it then me. I will go through it properly then, later in the day when I have time.

One thought I just had: I wonder if we could reduce some complexity by actually using the toctree directive that is added in toc.py... Currently it adds toctree but with a hidden flag. What if, before doing that we just did a search for tableofcontents directives and it found, replaced it with the toctree, without the hidden tag

hmm. we can do that. But, when I was trying to use toctree directive earlier under the hood for this, I was getting circular dependencies in some cases and ultimately maximum recursion depth exceeded error. But in that case, I was using the toctree node programatically instead of wrting it in md.
I guess this error will not come in your case, or maybe it will come once we unhide it? not sure.
But, also in a way it feels like we will actually be increasing complexity if we use something complex like a toctree for this.
Anyways, will have to fiddle with it and see how it works out.

Though in that case you were creating another toctree object, I believe, right?
I'm suggesting that here, where we insert the toctree to the end of each page: https://github.com/executablebooks/jupyter-book/blob/master/jupyter_book/toc.py#L141
we can either simply remove the :hidden: flag here: https://github.com/executablebooks/jupyter-book/blob/master/jupyter_book/toc.py#L71 (perhaps with a show=true argument in _toc.yml) or, if somebody wants to choose the location of the toctree, they can insert a {tableofcontents} directive in the page's content somewhere, and the toctree will be inserted there instead of at the end

right. I will have a go at this.

Codecov Report

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

@@           Coverage Diff           @@
##           master      #91   +/-   ##
=======================================
  Coverage   91.35%   91.35%
=======================================
  Files           2        2
  Lines         243      243
=======================================
  Hits          222      222
  Misses         21       21

Flag
Coverage Δ

#pytests
91.35% <ø> (ø)

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 b04ad2e...e62c139. Read the comment docs.


"That post doesn't exist" error occurs even there is tweet

"Sorry, that post doesn't exist :(" error started appearing since today even the tweet still exists, I guess they have changed something on their side. Can you look into this?

i've had this issue too—was actually checking the repo to see if this issue had been opened
it looks like it's related to the translation service, e.g., fixupx.com/.../status/... works but /status/.../en shows that the post does exist
try your link without the /en and see if that fixes it for you. worked for all of mine

Probably related to #435 / #455

For some reason the GraphQL endpoint for TweetResultByRestId is returning a 404 now, which we typically use when fetching translations from Twitter API. Typically, we would use TweetDetail endpoint which still works fine. Until I get to the bottom of this, translations might be broken but at least tweets won't say they don't exist.


v0.12.0_15: ‘x’ symbol is not available by tapping the tooltip

SEVERITY: Major
MODULE: Stage
Platform:  iPad Air 2 iOS(9.1) / Safari
STEPS TO REPRODUCE:

Navigate to URL: http://stage-tools.gapminderdev.org/tools
Tools page is loaded.
Select a country. Country is selected and tooltip is available
Tap the tooltip to deselect the selected country
Note that ‘x’ symbol is not available by tapping the tooltip

ACTUAL RESULTS:
‘x’ symbol is not available by tapping the tooltip
EXPECTED RESULTS:
‘x’ symbol should be available by tapping the tooltip
SCREENSHOT:

https://github.com/Gapminder/vizabi/pull/1247

@angieskazka
This issue is reproduced with same steps to reproduced and same device but on different chart (bubble map chart)
https://tools-stage.gapminderdev.org/tools/map

fixed in fb6be41ab231cd833f7c46bae0e947369c23fa72


fix: add missing devDependencies

I solved missing dependency issues (just adding devDependencies)

https://github.com/googleapis/gax-nodejs/issues/1314

I'll close this pr due to the fix
https://github.com/googleapis/gax-nodejs/pull/1316


feat: default trace print ability

What I did
Provide default tree via __repr__ and __str__ methods.


nuxt dev --config-file doesn't have any effect

Environment

Operating System: Darwin
Node Version:     v16.17.1
Nuxt Version:     3.0.0-rc.13
Nitro Version:    0.6.1
Package Manager<EMAIL_ADDRESS>Builder:          vite
User Config:      -
Runtime Modules:  -
Build Modules:    -

Reproduction
Try to use different config file with nuxt dev --config-file it has no effect.
Describe the bug
I'm building custom project structure where I need to have two separate builds sharing some of the same code in the same repository (here is similar description https://dev.to/muhaddimu/how-to-use-multiple-nuxt-js-applications-on-frontend-2k6g). But with Nuxt 3 this doesn't have any effect.
Is there no way to specify custom config file path?
Additional context
No response
Logs
No response

Is this on the roadmap? 😀. I think this is an important feature since most CLI tools support it renaming the config file.


docs: fix broken links

As it's not within the scope of this PR, might I also suggest that the URLs to the docs within Vitest exceptions are also fixed (or redirected) accordingly?

@cuebit there are a few merge conflicts now, can your resolve them please?

@sheremet-va done 👍

@sheremet-va done 👍

thank you!


How to compile HTML and other static files

https://github.com/jteeuwen/go-bindata

In regards to this project, there are two make tasks available to compile assets:

make dev (will build assets that are auto-loaded from the dist on every page serve)
make assets (will build assets that are served from the app itself and not from the disk).

Check Makefile for more details.
And yes, as previously mentioned, assets are built with go-bindata package.


Treatment of recursive tuples that utilize type spread.

TypeScript Version:  4.0.2
Search Terms: spread tuple in recursive tuple type
Code
I'm trying to model a type that could evaluate to any of the following:
["list", "of", "Post"];
["list", "of", "list", "of", "Post"];
["list", "of", "list", "of", "list", "of", "Post"];
// ... could go on

The following approach produces a circularity error, even though tuple types are circularity-capable since 3.7 :/
type Nested = ["list", "of", ...(["Post"] | Nested)];

Expected behavior:
To be able to type-check the following (for example):
const nested: Nested = ["list", "of", "list", "of", "Post"];

Actual behavior:
Circularity error.
Any help would be greatly appreciated! Thank you!

Another important capability is genericizing the "Nested" type, such that the following would also be valid:
type Nested<T extends string> = ["list", "of", ...([T] | Nested<T>)];

@ahejlsberg any recommendations?

I'm running into this, and I have a nice minimal example that shows a case that seems easy to think about:
type A = [A];  // OK
type B = [...[B]];  // Type alias 'B' circularly references itself.

Obviously this example isn't a sensible thing to write in real code, but I think it clearly demonstrates the issue with the spread operator causing the typechecker to somehow "forget" that the recursion is actually fine.
For reference, my actual use case type looks something like:
type ImapStruct = [ImapStructDetailsLeaf] | [ImapStructDetailsMultipart, ...Array<ImapStruct>];
// Type alias 'ImapStruct' circularly references itself.


DateTime doesn't allow adding Picker buttons or Clearing Value

I'm trying to utilize the DateTime component, but need a way to allow the user to "clear" the field (i.e. remove the value).  The DateTime API docs mention that you can pass in the pickerOptions, but when I try to pass in an array of buttons, I see that they're overwritten with the default Done/Cancel butttons
You can see in datetime.ts that the buttons property is overwritten during instantiation, just after it was merged with the pickerOptions that were sent in.
Is there a suggested approach for removing the value from one of these DateTime controls?

Hello, thanks for opening an issue with us! Would you be able to provide a plunker that demonstrates this issue? Thanks for using Ionic!

See example here. http://plnkr.co/edit/Xm0yw3UpxAIi8NSEzyIV?p=preview
Note my home.html file where I'm trying to pass a pickerOptions object into the ion-datetime to add a "Clear" button to my DateTime.

The problem lies in line 479 of the datetime.ts where pickerOptions.buttons get overwritten by [Cancel, OK] (https://github.com/driftyco/ionic/blob/master/src/components/datetime/datetime.ts#L479)
The user pickerOptions.buttons provided by <ion-datetime [pickerOptions]="{buttons: [...]}"></ion-datetime shouldn't be overwritten. I guess it would be a 5min 2line-hack to set [OK, Cancel] before and let the buttons be overwritten.

How is the status of this issue? I would like to use the pickerOptions.buttons option too (https://github.com/driftyco/ionic/blob/master/src/components/picker/picker-options.ts).
Also note that deepCopy would remove the handler functions anyway!
See https://github.com/driftyco/ionic/blob/master/src/components/datetime/datetime.ts#L485
and
https://github.com/driftyco/ionic/blob/master/src/components/datetime/datetime.ts#L488

Any news? Would like to have an clear value option to datetime

Hi we need only a var /* @type {?} / pickerOptions = Object.assign({}, this.pickerOptions);
then the handler still work!
ad  this line please https://github.com/ionic-team/ionic/blob/master/src/components/datetime/datetime.ts#L502

(Psst, having Pull Requests already there makes it a lot easier to just merge this some time together with other stuff)

Thanks for the issue! I am going to close this issue as the original issue has been fixed and you are able to pass buttons now. There is still an open issue with the handler function here: https://github.com/ionic-team/ionic/issues/11641
I have submitted a PR to fix that here: https://github.com/ionic-team/ionic/pull/13202

@brandyscarney How can an ion-datetime value be cleared with this change?

@Simpler1 The handler function was not being copied/called using our deepCopy. This change makes it so you can pass a handler function to the picker, for example:
<ion-datetime pickerFormat="YYYY-MM-DDThh:mm" [pickerOptions]="customOptions" [(ngModel)]="placeholderDate" placeholder="Select Date"></ion-datetime>

customOptions: any = {
  buttons: [{
    text: 'Save',
    handler: () => console.log('Clicked Save!')
  }, {
    text: 'Clear',
    handler: () => {
      this.placeholderDate = null;
    }
  }]
};

@brandyscarney Thanks.  That's exactly what I was looking for.

@brandyscarney I'm new in Ionic 3 and a bit confused, My package.json dependencies look like
"dependencies": {
    "@angular/common": "4.4.4",
    "@angular/compiler": "4.4.4",
    "@angular/compiler-cli": "4.4.4",
    "@angular/core": "4.4.4",
    "@angular/forms": "4.4.4",
    "@angular/http": "4.4.4",
    "@angular/platform-browser": "4.4.4",
    "@angular/platform-browser-dynamic": "4.4.4",
    "@ionic-native/barcode-scanner": "^4.3.2",
    "@ionic-native/core": "4.3.2",
    "@ionic-native/dialogs": "^4.3.3",
    "@ionic-native/splash-screen": "4.3.2",
    "@ionic-native/status-bar": "4.3.2",
    "@ionic/storage": "2.0.1",
    "angularfire2": "^4.0.0-rc.2",
    "cordova-android": "6.3.0",
    "cordova-ios": "4.5.3",
    "cordova-plugin-device": "^1.1.6",
    "cordova-plugin-dialogs": "^1.3.3",
    "cordova-plugin-ionic-webview": "^1.1.16",
    "cordova-plugin-splashscreen": "^4.0.3",
    "cordova-plugin-whitelist": "^1.3.2",
    "firebase": "^3.9.0",
    "ionic-angular": "^3.8.0",
    "ionic-plugin-keyboard": "^2.2.1",
    "ionicons": "3.0.0",
    "phonegap-plugin-barcodescanner": "^7.0.0",
    "rxjs": "5.4.3",
    "sw-toolbox": "3.6.0",
    "zone.js": "0.8.18"
  },

<EMAIL_ADDRESS>is the latest but my handler function not get called
customOptions: any = {
    buttons: [{
      text: 'Clear',
      handler: () => {
        console.log("I'm Working");
        this.filterDate = null;
      }
    }]
  };

I don't think that I've got the recent changes you did. Please Help

@IshaqBhojaniGenetech The PR that was merged to fix that issue will be in the 3.9.0 release: https://github.com/ionic-team/ionic/pull/13202
There is a nightly released here if you'd like to try it out sooner: 3.8.0-201711062059. It can be installed by running this command:
npm install --save --save-exact ionic-angular@nightly

Thanks @brandyscarney that worked.
But when I open the date picker first time everything works as expected but on second time the done and cancel button repeats again and again in the row
Please Look at the screen shots
First Time :

Second Time :

Can you please look into this Issue.

@IshaqBhojaniGenetech Thank you! I pushed a fix for this here and released a nightly:
npm install --save --save-exact<EMAIL_ADDRESS>
We plan on releasing a 3.9.1 with this fix in. Please let me know if you are still experiencing problems, thanks!


Update toml-rb requirement from ~> 1.0 to >= 1, < 3

Adapted from https://github.com/chef/license_scout/pull/219. For some reason, changes from that PR didn't reach main branch.
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[x] Chore (non-breaking change that does not add functionality or fix an issue)

Checklist:

[ ] I have read the CONTRIBUTING document.
[ ] I have run the pre-merge tests locally and they pass.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.
[ ] All commits have been signed-off for the Developer Certificate of Origin.

@mimaslanka  Could you please take a look? Thanks.
The buildkite failure exists in main branch also and is not introduced by this PR - https://buildkite.com/chef-oss/chef-license-scout-main-verify/builds/173#01817148-c081-4015-b730-86468cc6bd49

@balasankarc it tells you what is wrong:
lib/license_scout/config.rb:18:1: R: [Correctable] Chef/Ruby/UnlessDefinedRequire: Workaround rubygems slow requires by only running require if the class isn't already defined
You just have to fix that to get it to pass. Basically add something like:
require "json" unless defined?(JSON)

@balasankarc it tells you what is wrong:
lib/license_scout/config.rb:18:1: R: [Correctable] Chef/Ruby/UnlessDefinedRequire: Workaround rubygems slow requires by only running require if the class isn't already defined
You just have to fix that to get it to pass. Basically add something like:
require "json" unless defined?(JSON)

@mimaslanka I knew what is wrong and how to fix. But I wasn't sure if including that in this PR, where it is totally unrelated made sense. If you are ok with it, I am glad to do it.

@mimaslanka There we go - a green pipeline.


Storage Overprovisioning

ISSUE TYPE

Bug Report

COMPONENT NAME

API/UI

CLOUDSTACK VERSION

<IP_ADDRESS>

CONFIGURATION

Cloudstack with KVM HyperVisors
2 frontend, 1 database backed, few KVMs
OS / ENVIRONMENT

U22.04 LTS
SUMMARY

Unable to create VM (or assign volume) on Pool with enabled overprovisioning
STEPS TO REPRODUCE

1 KVM volume as SharedMountPOitn with overprovisioning factor 2.0 -> 7TB in size... expected to be able to allocate 14TB of disk volumes.
Created VM which will go above the 7TB threshold.
In GUI it is visible that it is counting in % the overprovisioining, but in details it is just totalsize

EXPECTED RESULTS

VM creation OK...

ACTUAL RESULTS

Creating of VM failed with errors below. From logs it is visible is not checking at all the overprovisioned size only the totalallocatedsize.
I even played with the disable threshold to try to bypass it, but result is same.

2024-05-22 11:31:22,835 DEBUG [o.a.c.s.a.AbstractStoragePoolAllocator] (API-Job-Executor-13:ctx-78b66408 job-5568 ctx-bd8bde17) (logid:db312708) Checking if storage pool [{"name":"usnyh_naclu01_kvm_vm01","uuid":"9003363c-85a3-44cd-bd6b-4a5c2f65af10"}] is suitable to disk [DskChr[ROOT|4294967296000|]].
2024-05-22 11:31:22,836 DEBUG [c.c.s.StorageManagerImpl] (API-Job-Executor-13:ctx-78b66408 job-5568 ctx-bd8bde17) (logid:db312708) Volume [Vol[857|name=ROOT-800|vm=800|ROOT]] is not allocated to any pool. Cannot check compatibility with pool [{"name":"usnyh_naclu01_kvm_vm01","uuid":"9003363c-85a3-44cd-bd6b-4a5c2f65af10"}].
2024-05-22 11:31:22,836 INFO  [c.c.s.StorageManagerImpl] (API-Job-Executor-13:ctx-78b66408 job-5568 ctx-bd8bde17) (logid:db312708) Storage pool usnyh_naclu01_kvm_vm01 (1) does not supply IOPS capacity, assuming enough capacity
2024-05-22 11:31:22,837 DEBUG [c.c.s.StorageManagerImpl] (API-Job-Executor-13:ctx-78b66408 job-5568 ctx-bd8bde17) (logid:db312708) Checking pool 1 for storage, totalSize:<PHONE_NUMBER>248, usedBytes:<PHONE_NUMBER>944, usedPct: 0.2832209817761751, disable threshold: 0.85
2024-05-22 11:31:22,838 DEBUG [c.c.s.StorageManagerImpl] (API-Job-Executor-13:ctx-78b66408 job-5568 ctx-bd8bde17) (logid:db312708) Destination pool id: 1
2024-05-22 11:31:22,855 DEBUG [c.c.s.StorageManagerImpl] (API-Job-Executor-13:ctx-78b66408 job-5568 ctx-bd8bde17) (logid:db312708) Pool ID for the volume with ID 857 is null
2024-05-22 11:31:22,859 DEBUG [c.c.s.StorageManagerImpl] (API-Job-Executor-13:ctx-78b66408 job-5568 ctx-bd8bde17) (logid:db312708) Found storage pool usnyh_naclu01_kvm_vm01 of type SharedMountPoint
2024-05-22 11:31:22,859 DEBUG [c.c.s.StorageManagerImpl] (API-Job-Executor-13:ctx-78b66408 job-5568 ctx-bd8bde17) (logid:db312708) Total capacity of the pool usnyh_naclu01_kvm_vm01 with ID 1 is (8.2342 TB)<PHONE_NUMBER>248
2024-05-22 11:31:22,860 DEBUG [c.c.s.StorageManagerImpl] (API-Job-Executor-13:ctx-78b66408 job-5568 ctx-bd8bde17) (logid:db312708) Checking pool: 1 for storage allocation , maxSize : (8.2342 TB)<PHONE_NUMBER>248, totalAllocatedSize : (7.0766 TB)<PHONE_NUMBER>960, askingSize : (3.9063 TB)<PHONE_NUMBER>000, allocated disable threshold: 2.0
2024-05-22 11:31:22,863 DEBUG [c.c.s.StorageManagerImpl] (API-Job-Executor-13:ctx-78b66408 job-5568 ctx-bd8bde17) (logid:db312708) Insufficient un-allocated capacity on: 1 for storage allocation, not enough storage, maxSize : (8.2342 TB)<PHONE_NUMBER>248, totalAllocatedSize : (7.0766 TB)<PHONE_NUMBER>960, askingSize : (3.9063 TB)<PHONE_NUMBER>000
2024-05-22 11:31:22,863 DEBUG [o.a.c.s.a.ZoneWideStoragePoolAllocator] (API-Job-Executor-13:ctx-78b66408 job-5568 ctx-bd8bde17) (logid:db312708) Adding storage pool [{"name":"usnyh_naclu01_kvm_vm01","uuid":"9003363c-85a3-44cd-bd6b-4a5c2f65af10"}] to avoid set during allocation of disk [DskChr[ROOT|4294967296000|]].
2024-05-22 11:31:22,863 DEBUG [o.a.c.s.a.AbstractStoragePoolAllocator] (API-Job-Executor-13:ctx-78b66408 job-5568 ctx-bd8bde17) (logid:db312708) ZoneWideStoragePoolAllocator is returning [0] suitable storage pools [[]].
2024-05-22 11:31:22,863 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (API-Job-Executor-13:ctx-78b66408 job-5568 ctx-bd8bde17) (logid:db312708) No suitable pools found for volume: Vol[857|name=ROOT-800|vm=800|ROOT] under cluster: 4
2024-05-22 11:31:22,863 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (API-Job-Executor-13:ctx-78b66408 job-5568 ctx-bd8bde17) (logid:db312708) No suitable pools found
2024-05-22 11:31:22,863 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (API-Job-Executor-13:ctx-78b66408 job-5568 ctx-bd8bde17) (logid:db312708) No suitable storagePools found under this Cluster: 4
2024-05-22 11:31:22,867 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (API-Job-Executor-13:ctx-78b66408 job-5568 ctx-bd8bde17) (logid:db312708) Could not find suitable Deployment Destination for this VM under any clusters, returning.

@Sislik totalsize is checked there for actual storage usage. it seems over provisioning support is not there for SharedMountPoint pools earlier, and support was added in 4.18.2 (in this PR: https://github.com/apache/cloudstack/pull/8481), so will be available in 4.19.1.

Thanks :) it is weird now when i have NFS from netapp already with 200TB allocated size as workaround :)


Feature Request: OpenWRT support

Firstly I’d like to thank the creator and contributors for this fantastic product.
I have an OpenWRT based router and I like the idea of being to install this directly on there. I’m not sure what the complications are, but if it is a standalone binary, then it might just need to be packaged in the opkg format.

Hi! CastSponsorSkip does get built to a standalone binary, so it should work on your device. Unfortunately, the packaging tool I use (called GoReleaser) doesn't seem to support the opkg format, but you could still download the binary to your device! Do you know which CPU architecture your router uses?

That's cool, I'll see if I can roll something for it. It is MIPS-based however.

I'll search some more to see if there's any way for me to build an opkg.
I suspected it was MIPS. Go supports MIPS compilation so I'll go ahead and enable that even if I can't build an opkg!

Interesting. This thread makes it seem like opkg can install deb files, so I wonder if I just need to turn on MIPS compilation...

That would be really interesting, I didn't know that.
Digging into this further, it looks like I'm out of space on this router so wouldn't be able to go down the opkg route either way, and I'd end up just having some script run on startup to pull the binary down onto /tmp.
If you are able to make it work via opkg though I think it would be incredible. It negates the need for a separate server entirely.

Hi @gabe565, hope you are well! Do you plan on turning on MIPS compilation any time soon? Very happy to help test it!

i dont believe you could ever could be able to install a debian package inside an openwrt system... the package system, the architecture, everything are lights ahead different
the only reference to sponsorblock i found in openwrt is this: https://forum.openwrt.org/t/youtube-adblock-does-it-exist-on-openwrt-platform/184122/128


Remove immutable from deploy_payload from github.deployment_event

The immutable flag is prevents successful deployments of packs via deployment events from GitHub (Fixes: #3).

That was super fast! Merging as soon as Circle passes.

Thanks,
I've been using GitHub more, so getting into the habit of logging issues and then closing them from PRs.

That's a pretty good habit. Thanks for the PR :)


TiDB password split error

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Set up a user with special symbols in the password, such as "a!s@d#f$"
Run the Git Action "GitHub Data Pipeline"
See error

Run hooopo/repo-track-pipeline@main
/usr/bin/docker run --name a6c8cc9102aef0739402fa6f5aaae26760daf_ff7bdf --label 2a6c8c --workdir /github/workspace --rm -e "INPUT_ACCESS-TOKEN" -e "INPUT_DATABASE-URL" -e "INPUT_REPO-FULL-NAME" -e "DATABASE_URL" -e "ACCESS_TOKEN" -e "REPO_FULL_NAME" -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_REPOSITORY_OWNER_ID" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_REPOSITORY_ID" -e "GITHUB_ACTOR_ID" -e "GITHUB_ACTOR" -e "GITHUB_TRIGGERING_ACTOR" -e "GITHUB_WORKFLOW" -e "GITHUB_HEAD_REF" -e "GITHUB_BASE_REF" -e "GITHUB_EVENT_NAME" -e "GITHUB_SERVER_URL" -e "GITHUB_API_URL" -e "GITHUB_GRAPHQL_URL" -e "GITHUB_REF_NAME" -e "GITHUB_REF_PROTECTED" -e "GITHUB_REF_TYPE" -e "GITHUB_WORKFLOW_REF" -e "GITHUB_WORKFLOW_SHA" -e "GITHUB_WORKSPACE" -e "GITHUB_ACTION" -e "GITHUB_EVENT_PATH" -e "GITHUB_ACTION_REPOSITORY" -e "GITHUB_ACTION_REF" -e "GITHUB_PATH" -e "GITHUB_ENV" -e "GITHUB_STEP_SUMMARY" -e "GITHUB_STATE" -e "GITHUB_OUTPUT" -e "RUNNER_OS" -e "RUNNER_ARCH" -e "RUNNER_NAME" -e "RUNNER_ENVIRONMENT" -e "RUNNER_TOOL_CACHE" -e "RUNNER_TEMP" -e "RUNNER_WORKSPACE" -e "ACTIONS_RUNTIME_URL" -e "ACTIONS_RUNTIME_TOKEN" -e "ACTIONS_CACHE_URL" -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/ossinsight-lite/ossinsight-lite":"/github/workspace" 2a6c8c:c9102aef0739402fa6f5aaae26760daf
/github/workspace
/usr/local/lib/ruby/3.2.0/uri/rfc2396_parser.rb:176:in `split': bad URI(is not URI?): mysql2://xxxxxxxxx.xidbcloud.com:4000/github_repos (URI::InvalidURIError)abee.github:a!s<EMAIL_ADDRESS>
Expected behavior
it should run successfully

When your password contains special characters and you're using it in a URI for database connection, you need to URL encode the special characters in your password. URL encoding replaces unsafe ASCII characters with a "%" followed by two hexadecimal digits.
For example, if your password is p@ssword!, the "@" would be replaced with "%40" and "!" would be replaced with "%21". So your encoded password would then be p%40ssword%21.
Different programming languages have different built-in methods for URL encoding:

For Python, you can use urllib.parse.quote_plus

from urllib.parse import quote_plus
password = quote_plus("p@ssword!")

For JavaScript, you could use encodeURIComponent

var password = encodeURIComponent('p@ssword!');

For Java, use java.net.URLEncoder

String password = URLEncoder.encode("p@ssword!", StandardCharsets.UTF_8.toString());

Please replace p@ssword! with your real password. After encoding your password, insert it into your connection URI.

I see that your pipeline is running correctly now. I will close this issue for now. We will further improve the documentation subsequently. Thank you very much for your feedback.


Fix final column affected by not null protection issue

What does this pull request do?
Allows date of first attended session to be nullable instead of defaulting to current data
What is the intent behind these changes?
Fix issue with nulls not being shown in the SP performance report

Hi @awhodgson256 , This changes looks good to me.
I believe we don't need to use timestampToOffsetNotNull method. It is used date_referral_received and we ideally don't expect that to be null. And even if that is null, I feel we should not set that to current date time.

Hi @awhodgson256 , This changes looks good to me. I believe we don't need to use timestampToOffsetNotNull method. It is used date_referral_received and we ideally don't expect that to be null. And even if that is null, I feel we should not set that to current date time.

@amolphalnikar the not null version is required not for runtime issue, but to satisfy the compiler.  The column is not nullable so in the event of receiving a null it needs to map to a value.  This will never happen at runtime as the value always has a legitimate value for sent referrals (it's the date sent).   Hope that makes sense?


[Bug] Endpoint "SpringCloudGateway/sendRequest" in the trace isn't included in the Endpoint tab

Search before asking

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

Apache SkyWalking Component
Java Agent (apache/skywalking-java)
What happened
I started two services, a spring-cloud-gateway service and a spring-boot service, and the http request was forwarded to the spring-boot service through the spring-cloud-gateway service.
The spring-cloud-gateway service is connected to skywalking.
I copied the two plug-ins apm-spring-webflux-5.x-plugin-8.14.0.jar and apm-spring-cloud-gateway-2.1.x-plugin-8.14.0.jar to skywalking-agent.
After starting the two services and skywalking, you can see the trace in skywalking as shown in the figure below. In the entire trace, only the endpoint pointed by the arrow is not counted in the Endpoint tab.

What you expected to happen
the endpoint pointed by the arrow should be counted in the Endpoint tab
How to reproduce
Just follow the steps described in the question above
Anything else
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

Learn what is an endpoint in SkyWalking. Your question is wrong.

The endpoint is created when the span is created. Regardless of whether it is the endpoint you mentioned, as long as it is created, it should be counted in the Endpoint tab. This is no problem, right?
Since the endpoint is displayed in the trace, isn’t it ambiguous not to count the endpoint tab?
It is fine to close this discussion directly, or to say that there is a problem, but just close it without mentioning any specific problems?

The reason why I pay attention to whether this endpoint has statistics on the endpoint tab is because we want to add the following monitoring alarms.
The spring-cloud-gateway proxy request, the actual request is to the spring-boot service, if the spring-cloud-gateway reports an error, we need to know whether the gateway is wrong, or the proxied sping-boot service is wrong, so I modify Added core.oal and added the following indicators:
endpoint_exit_resp_code_abnormal_percent = from(Endpoint.*).filter(name == "SpringCloudGateway/sendRequest").percent((str->int)tag["http.status_code"] >= 400);

However, after using this indicator to add an alarm, there is no alarm when it should be alarmed. Therefore, to see why, I found that the above endpoint has not been counted in the endpoint tab, and I want to ask whether it should be counted? Is it because there is no statistics and there is no alarm?

https://skywalking.apache.org/docs/main/next/en/concepts-and-designs/overview/
Endpoint. A path in a service for incoming requests, such as an HTTP URI path or a gRPC service class + method signature.

The reason I closed is that, you are assuming a concept based on your understanding, rather than project docs.
We can't afford to explain everything. And this is not an issue scope discussion.

Have you even read what I posted? This is really no fun that you asked something, but you never read the reply.
I would highlight one last time, A path in a service for incoming requests.

With all due respect, just talking about the problem, all the responses to this issue are consulting and learning.
The first thing to make clear is that I have read each of your responses carefully. But I'd like to guess if you didn't read the question well. I know what endpoint means, and anyone who has a little two years of programming will know that even without any context, the word endpoint is not ambiguous.
You only grasp the conceptual problem in the title, you may not carefully look at the content of the problem, then quickly reply.
The core of the problem is:

Obviously, the statistics in endpoint tab and endpoint field in trace are not in accordance with the conventional meaning of endpoint. So how to explain the problem that since the statistics are made, but the data are not matched ?
How to understand the endpoint in trace？

Of course, I appreciate your reply very much.


Add metrics for external calls for the workflow ID specific rate limits.

What changed?
Added a wrapper around the history handler which logs rate limit metrics the external calls we want to rate limit with the workflow specific rate limiter.

Why?
We want to investigate the rate limiting for all external calls that can cause hot shards, before we deploy.

How did you test it?
Unit tests and local tests

Potential risks

Release notes

Documentation Changes

+1 on David's point. Might be better to introduce a dry run mode and control it with dynamic config.


Broken indent in SQL Editor

See https://github.com/dbeaver/dbeaver/issues/5683#issuecomment-484474613

verified


Broken by a bug fix in BasicHTML

I currently load the full HTML document in BasicHTML like this:
const html = "<!DOCTYPE html>
Hello
";
document.documentElement.innerHTML = html;

Unfortunately, this worked before because there was an issue in BasicHTML.
Now, this leads to duplicate  tags in the result:
https://github.com/WebReflection/basicHTML/issues/51#issuecomment-683682147
Any advice on how to reliably filter out <!DOCTYPE html> and  from the input string, assuming there can be many DOCTYPES, and attributes in ?

Actually, the DOCTYPE and  attributes should be restored after image-reponsiver has done its work.

This could be a (convoluted) solution:
const basicHTML = require('basichtml');
const { document } = basicHTML.init();
const regex = /^([\S\s]*?)([\S\s]*?)(<\/html>[\S\s]*?)$/im;

const html = `<!DOCTYPE html>

Hello

`;

let srcMatches = html.match(regex);
console.dir(srcMatches);

document.documentElement.innerHTML = srcMatches[2];
destMatches = document.toString().match(regex);
console.dir(destMatches);

console.log('Result:');
console.log(srcMatches[1], destMatches[2], srcMatches[3]);

We could also use split-html, but it uses Cheerio.
We already replaced JSDOM with BasicHTML, let's see if a third lib is even better… 🤷♂

I don't understand the use case for multiple  tags in a string, as AFAIK that's an invalid document/page ... what are you trying to do?

Another solution could be this one:
const {document} = require('../basichtml.js').init();

const html = "<!DOCTYPE html>
Hello
";

const tmp = document.createElement('div');
tmp.innerHTML = html;
const {attributes, children} = tmp.firstElementChild;

document.documentElement.textContent = '';
document.documentElement.attributes = attributes;
document.documentElement.append(...children);
console.log(document.toString());

yet, if you are parsing multiple  per document I think you are going to have an issue.

as utility, you could also use this instead:
const {Document} = require('../basichtml.js');
function createDocumentFromHTML(html, customElements) {
  const document = new Document(customElements);
  const tmp = document.createElement('div');
  tmp.innerHTML = html;
  const {attributes, children} = tmp.firstElementChild;
  document.documentElement.attributes = attributes;
  document.documentElement.append(...children);
  return document;
}

I don't understand the use case for multiple  tags in a string

I don't want multiple  tags, that's what BasicHTML now gives me when I put a full HTML document in document.documentElement.innerHTML. And I understand why, you're right that documentElement should contain neither the DOCTYPE nor the .

const tmp = document.createElement('div');
tmp.innerHTML = html;

It looks like it work, even if I'm a bit hesitating to put a full HTML document inside a
… 😅

as utility, you could also use this instead:

It looks like it solves my issue, thanks a lot! 🙏

It looks like it works, even if I'm a bit hesitating to put a full HTML document inside a
… sweat_smile

basicHTML knows nothing about div and others ... they are all nodes, no special meaning. The document instance though has some constrain to simulate the DOM ... but basicHTML ain't JSDOM, it's not about standard simulation, it's about being useful for SSR and Web Workers 😉

Ok, now I understand, thanks!
You can had SSG (Static Site Generators) to the usage target! 👍

It looks like it solves my issue, thanks a lot! pray

glad it worked, but is there any reason to keep this bug open, if it did?

@WebReflection my local tests show it works, but I didn't use it in this library code yet.

@WebReflection I was previously using this code to initialize BasicHTML:
const { document } = basicHTML.init({
  selector: {
    // use the module sizzle, it will be required
    // automatically
    name: 'sizzle',
    // how to retrieve results => querySelectorAll
    $(Sizzle, element, css) {
      return Sizzle(css, element);
    },
  },
});

document.documentElement.innerHTML = html;

I don't understand how to add Sizzle in the function you provided 2 days ago. 🤷♂

const $ = require('sizzle');
require('basichtml/src/utils').querySelectorAll = function (css, element = this) {
  return $(css, element);
};
const {Document} = require('basichtml');
function createDocumentFromHTML(html, customElements) {
  const document = new Document(customElements);
  const tmp = document.createElement('div');
  tmp.innerHTML = html;
  const {attributes, children} = tmp.firstElementChild;
  document.documentElement.attributes = attributes;
  document.documentElement.append(...children);
  return document;
}

@WebReflection thanks for your help.
Unfortunately, this gives me a window is not defined error with Sizzle:
/Users/nhoizey/Documents/Devs/_bidouilles/basichtml/node_modules/sizzle/dist/sizzle.js:2478
} )( window );
     ^

ReferenceError: window is not defined
    at Object.<anonymous> (/Users/nhoizey/Documents/Devs/_bidouilles/basichtml/node_modules/sizzle/dist/sizzle.js:2478:6)
    at Module._compile (internal/modules/cjs/loader.js:1118:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1138:10)
    at Module.load (internal/modules/cjs/loader.js:982:32)
    at Function.Module._load (internal/modules/cjs/loader.js:875:14)
    at Module.require (internal/modules/cjs/loader.js:1022:19)
    at require (internal/modules/cjs/helpers.js:72:18)
    at Object.<anonymous> (/Users/nhoizey/Documents/Devs/_bidouilles/basichtml/index.js:34:11)
    at Module._compile (internal/modules/cjs/loader.js:1118:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1138:10)

Would you recommend not using Sizzle with basicHTML?
I currently use a pretty complex selector: ':not(picture) img[src]:not([srcset]):not([src$=".svg"])'

@WebReflection thanks for your help.
Unfortunately, this gives me a window is not defined error with Sizzle:

well, that's another issue .... but nothing stops you from writing return (global.window = {document}); at the end of that function and call it a day, right?

I'm really lost here… 😭
Here's my current index.js script:
global.window = global;

const $ = require("sizzle");

require("basichtml/src/utils").querySelectorAll = function(
  css,
  element = this
) {
  return $(css, element);
};

const { Document } = require("basichtml");

function createDocumentFromHTML(html, customElements) {
  const document = new Document(customElements);
  const tmp = document.createElement("div");
  tmp.innerHTML = html;
  const { attributes, children } = tmp.firstElementChild;
  document.documentElement.attributes = attributes;
  document.documentElement.append(...children);
  return document;
}

const html = `<!DOCTYPE html>

Hello

<picture>
  <source srcet="bar.png" media="(min-width: 800px)">

</picture>

`;

let document = createDocumentFromHTML(html);
[
  ...document.querySelectorAll(
    ':not(picture) img[src]:not([srcset]):not([src$=".svg"])'
  )
].forEach(image => {
  console.dir(image);
});
console.log(document.toString());

And here's what I get in the terminal when running node index.js:
/Users/nhoizey/Documents/Devs/_bidouilles/basichtml/node_modules/sizzle/dist/sizzle.js:414
	var el = document.createElement( "fieldset" );
	                  ^

TypeError: Cannot read property 'createElement' of undefined
    at assert (/Users/nhoizey/Documents/Devs/_bidouilles/basichtml/node_modules/sizzle/dist/sizzle.js:414:20)
    at /Users/nhoizey/Documents/Devs/_bidouilles/basichtml/node_modules/sizzle/dist/sizzle.js:2403:24
    at Object.<anonymous> (/Users/nhoizey/Documents/Devs/_bidouilles/basichtml/node_modules/sizzle/dist/sizzle.js:2478:4)
    at Module._compile (internal/modules/cjs/loader.js:1118:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1138:10)
    at Module.load (internal/modules/cjs/loader.js:982:32)
    at Function.Module._load (internal/modules/cjs/loader.js:875:14)
    at Module.require (internal/modules/cjs/loader.js:1022:19)
    at require (internal/modules/cjs/helpers.js:72:18)
    at Object.<anonymous> (/Users/nhoizey/Documents/Devs/_bidouilles/basichtml/index.js:24:11)

I'm really new to Node.js…

function createDocumentFromHTML(html, customElements) {
  const document = new Document(customElements);
  const tmp = document.createElement("div");
  tmp.innerHTML = html;
  const { attributes, children } = tmp.firstElementChild;
  document.documentElement.attributes = attributes;
  document.documentElement.append(...children);
  return (window.document = document);
}

alternatively, you need to make the document global each time Sizzle gets used ... but since it was working before, my suggestion should already fix it

I still get the TypeError: Cannot read property 'createElement' of undefined error, I really don't understand anything anymore… 😥
I can keep basicHTML 2.2.9, or try something else like Cheerio…

Yeah, as I have zero ways to easily reproduce your issue, try anything else you like

I like basicHTML, I would so like to be able to keep using it.
But if you don't get the same error as me with this script (built from your multiple helps), I really don't understand where to look…
global.window = global;

const $ = require("sizzle");

require("basichtml/src/utils").querySelectorAll = function(
  css,
  element = this
) {
  return $(css, element);
};

const { Document } = require("basichtml");

function createDocumentFromHTML(html, customElements) {
  const document = new Document(customElements);
  const tmp = document.createElement("div");
  tmp.innerHTML = html;
  const { attributes, children } = tmp.firstElementChild;
  document.documentElement.attributes = attributes;
  document.documentElement.append(...children);
  return (window.document = document);
}

const html = `<!DOCTYPE html>

Hello

<picture>
  <source srcet="bar.png" media="(min-width: 800px)">

</picture>

`;

let document = createDocumentFromHTML(html);
[
  ...document.querySelectorAll('img[src]:not([srcset]):not([src$=".svg"])')
].forEach(image => {
  console.dir(image);
});
console.log(document.toString());

Here's what I get:
/Users/nhoizey/Documents/Devs/_bidouilles/basichtml/node_modules/sizzle/dist/sizzle.js:414
	var el = document.createElement( "fieldset" );
	                  ^

TypeError: Cannot read property 'createElement' of undefined
    at assert (/Users/nhoizey/Documents/Devs/_bidouilles/basichtml/node_modules/sizzle/dist/sizzle.js:414:20)
    at /Users/nhoizey/Documents/Devs/_bidouilles/basichtml/node_modules/sizzle/dist/sizzle.js:2403:24
    at Object.<anonymous> (/Users/nhoizey/Documents/Devs/_bidouilles/basichtml/node_modules/sizzle/dist/sizzle.js:2478:4)
    at Module._compile (internal/modules/cjs/loader.js:1118:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1138:10)
    at Module.load (internal/modules/cjs/loader.js:982:32)
    at Function.Module._load (internal/modules/cjs/loader.js:875:14)
    at Module.require (internal/modules/cjs/loader.js:1022:19)
    at require (internal/modules/cjs/helpers.js:72:18)
    at Object.<anonymous> (/Users/nhoizey/Documents/Devs/_bidouilles/basichtml/basic-2.3.0.js:3:11)

The error is in Sizzle, which tries to access the document before you attach one to the global.
Move sizzle require in a lazy fashion wai within the querySelectorAll and you should be ok.
I just don’t like much the “if it breaks I’ll use something else” attitude ...

I really understand your feeling about "if it breaks I’ll use something else", but if I'm not able to use a tool, even after trying for many hours, I sometimes have to move on, this is no judgment of the quality of the tool I didn't manage to use.
I'm really sorry, and very thankful for your help. 🙏
Unfortunately, I'm very bad at JavaScript, and Node.js specifically, so I mostly follow tutorials, copy/paste some code fragments, but not always understand what I'm doing. And here, I don't understand anything at all, since v2.3.0.
By the way, I move Sizzle require inside the querySelectorAll function, and it looks like I don't have the error anymore. 🎉
So thanks a lot again for your help and patience. 🙏
And sorry for my grumpiness… 😔

@WebReflection I've been able to upgrade to basicHTML 2.3.0 and release a new version of my library, thanks again! 🙏


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-k8s-29-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 4743

Questions ?
Please refer to the Backport tool documentation


feat: support ES modules

Let's also involve @ergunsh in the review as we all need to support this going forward :)

Pls remove puppeteer-13.7.0-post.tgz (it seems it got committed somehow)


Aarch64

Checklist

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

@conda-forge-admin

@frankier I think this looks good, there is one out of disk space where I'm not sure if it's flaky

@conda-forge-admin, please rerender

@conda-forge-admin rerender


multiline todos

Handle variations like
/*
* TODO: adsf asdf
* asdfasdf asdfasdf
*/

and
// TODO: asdf asdf
// asdfasdf asdfasdf

I'd love to see this feature! Room for customization in this would be great, too, if reasonable. I mention this because sometimes I find I'll write
// TODO: A todo comment
// Followed by a pre-existing comment, not meant to be part of the TODO

in which, unlike your second example, I don't mean for the second comment to be part of the TODO.
But, I like to write multiline TODOs like
// TODO: A todo comment that
// ... spans multiple lines

using the // ... to denote coninuing a multiline TODO comment. Regardless, I'd love to see multiline comments supported at all!

Thanks for the feedback.  This should be as simple as changing the regex used to find the comments and tweaking the results.  Any time for a pull request?

I'd be happy to give it a shot soon! I'm trying to set up my dev environment now, but I'm running into an issue with importing React - do you have instructions for contributing anywhere I'm missing?
I'm a rookie with atom package development, so this issue may be something small, so I'll include what I've done and what I'm running into below in case you see something obvious.
How I've set up my environment:
git clone https://github.com/reergymerej/todo
cd todo
npm install
apm install
apm link
atom -d .

The error:
/usr/share/atom/resources/app.asar/node_modules/settings-view/lib/installed-packages-panel.js:330 Cannot find module './lib/React' Error: Cannot find module './lib/React'
    at Module._resolveFilename (module.js:339:15)
    at Function.Module._resolveFilename (/usr/share/atom/resources/app.asar/src/module-cache.js:383:52)
    at Function.Module._load (module.js:290:25)
    at Module.require (module.js:367:17)
    ...

Any clue what I'm doing wrong?

Looks like atom.workspace.scan doesn't support multiline regexs because TextBuffer.scan returns only the first line of the match, as shown here in the atom source here.
Any thoughts on how best to work around this?

That's a bummer.  I wonder if it would be feasible to scan for anything that looks like a multi-line comment and glue them together based on the leading character and line number.
results = [
0 /** foo
1 * bar
2 */
3 // another comment
]
{run results through glue fn}
[
0 /** foo

bar
*/
1 // another comment
]


子组件使用NzMessageService，报ExpressionChangedAfterItHasBeenCheckedError错误

当在子组件中使用NzMessageService，则运行时报如下错误：

NzMessageContainerComponent.html:3 ERROR Error: ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: 'undefined'. Current value: ''. It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?
at viewDebugError (core.es5.js:8433)
at expressionChangedAfterItHasBeenCheckedError (core.es5.js:8411)
at checkBindingNoChanges (core.es5.js:8575)
at checkNoChangesNodeInline (core.es5.js:12416)
at checkNoChangesNode (core.es5.js:12390)
at debugCheckNoChangesNode (core.es5.js:13183)
at debugCheckDirectivesFn (core.es5.js:13085)
at Object.eval [as updateDirectives] (NzMessageContainerComponent.html:3)
at Object.debugUpdateDirectives [as updateDirectives] (core.es5.js:13067)
at checkNoChangesView (core.es5.js:12230)
完整代码如下：
子组件：

import { Component, OnInit } from '@angular/core';
import { NzMessageService } from 'ng-zorro-antd';
@Component({
selector: 'app-child',
template: '这是子组件',
styleUrls: ['./child.component.css']
})
export class ChildComponent implements OnInit {
constructor(private message: NzMessageService) { }
ngOnInit() {
}
}
父组件：

import { Component } from '@angular/core';
@Component({
selector: 'app-root',
template: '<ng-container *ngFor="let aa of num"> ',
styleUrls: ['./app.component.css']
})
export class AppComponent {
title = 'app';
num:number[]=[];
ngOnInit() {
this.num=[1,2,3,4,]
}
}

duplicated #391 , you can track that issue in the future.


[Android] getLocations return empty array

Your Environment

Plugin version: 0.6.3
Platform: Android
OS version:
Device manufacturer and model:

Running in Simulator:
React Native version:
Plugin configuration options:
Link to your project:

Context
On  compenentDidmount I do
   BackgroundGeolocation.getLocations((locations) => {
        console.log('allLocations', locations);
        alert(JSON.stringify(locations));
      },(error) =>{
        alert('error')
      }

      );

Expected Behavior
Get alllocations store by the plugin
Actual Behavior
I get an empty array :(
Possible Fix

Steps to Reproduce

Context
It's work on iOs but not an android (simulator and real device)
Debug logs

I've had this problem, too，How did you solve it?


Fix sleeping collision end event

Fix for sleeping collision end event as discussed in #1077.
Branch includes an alpha build ready for testing and review of anybody affected looking to try out this fix and help confirm it works.

Works for me. Thanks!
Here's my minimal example. This may be not typical case of this bug, but this fix still did it for me.
(and also I don't have a big complex app to test this build on, so my testing is not very extensive)


Clip tuples in base_env

We clip the actions passed from the RL agent but only clip if the action_space is a box. If the action space is a tuple we should still be clipping.

@eugenevinitsky This is the default design in gym (see here). When you were referring to clipping a tuple, what type of behavior do you want to impose? If you could provide a spec detailing the exact inputs and outputs, I am happy to implement it!

Closure pending #685


Implement trace conversion scripts to support Riscure's trs format

Riscure has made a trs library available here: https://github.com/Riscure/python-trsfile. Implement a script to interoperate with ChipWhisperer traces.

Closed by #19.


How can I change the background color?

Hi! I'm really impressed by your pixels project.
I want to use it in my project and I also want to change the background color or apply background image.
I looked through the project but I can't find the way...
If you answer me it would be really helpful!

I have send a PR #2 that, if accepted, will supply an optional initial background color to start with. 👍


feat: VIZ-2338 property definition for dimension and measure

This PR holds the new property definition for dimension and measure for side-panel. The old components are rendered suing the definition for the time being.

duplicate


Feature Request: Filter drives and charges by dates

First of all thanks and nice work you have here :)
My resquest is all about filter drives and charges by date.
Now we can add ?page=2&show=10 to the request for pagination, but sometimes I need filter by date, with a startDate and endDate.
For now to do that I request all drives or charges and then filter myself on frontend, but this is not very efficient, especially when database is huge.
You can add defaults like in page and show, something like ?startDate last 5 years since now and ?endDate now.
Thanks in advance.

hi @leonelfaugusto and @alecdoconnor,
nice suggestion for adding pagination!
definitely something that we should have.. the JSON here at home starts to grow rapidly in size as well 😛

hi @leonelfaugusto and @alecdoconnor,
nice suggestion for adding pagination! definitely something that we should have.. the JSON here at home starts to grow rapidly in size as well 😛

Hi @tobiasehlert thanks for the answer. Pagination we already have. The suggestion is filter by date. 😃


It seems to have problems when I run the #run_pretraining.py#

Hello, how can I solve this problem:
The requirement.txt says I need to install tensorflow 1.15 but deterministic is an argument of TF 2.x
Traceback (most recent call last):   File "run_pretraining.py", line 983, in <module>     tf.app.run()   File "/home/lcy/anaconda3/lib/python3.7/site-packages/tensorflow_core/python/platform/app.py", line 40, in run     _run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef)   File "/home/lcy/anaconda3/lib/python3.7/site-packages/absl/app.py", line 299, in run     _run_main(main, args)   File "/home/lcy/anaconda3/lib/python3.7/site-packages/absl/app.py", line 250, in _run_main     sys.exit(main(argv))   File "run_pretraining.py", line 863, in main     estimator.train(input_fn=train_input_fn, max_steps=FLAGS.num_distill_steps)   File "/home/lcy/anaconda3/lib/python3.7/site-packages/tensorflow_estimator/python/estimator/tpu/tpu_estimator.py", line 3035, in train     rendezvous.raise_errors()   File "/home/lcy/anaconda3/lib/python3.7/site-packages/tensorflow_estimator/python/estimator/tpu/error_handling.py", line 136, in raise_errors     six.reraise(typ, value, traceback)   File "/home/lcy/anaconda3/lib/python3.7/site-packages/six.py", line 693, in reraise     raise value   File "/home/lcy/anaconda3/lib/python3.7/site-packages/tensorflow_estimator/python/estimator/tpu/tpu_estimator.py", line 3030, in train     saving_listeners=saving_listeners)   File "/home/lcy/anaconda3/lib/python3.7/site-packages/tensorflow_estimator/python/estimator/estimator.py", line 370, in train     loss = self._train_model(input_fn, hooks, saving_listeners)   File "/home/lcy/anaconda3/lib/python3.7/site-packages/tensorflow_estimator/python/estimator/estimator.py", line 1161, in _train_model     return self._train_model_default(input_fn, hooks, saving_listeners)   File "/home/lcy/anaconda3/lib/python3.7/site-packages/tensorflow_estimator/python/estimator/estimator.py", line 1188, in _train_model_default     input_fn, ModeKeys.TRAIN))   File "/home/lcy/anaconda3/lib/python3.7/site-packages/tensorflow_estimator/python/estimator/estimator.py", line 1025, in _get_features_and_labels_from_input_fn     self._call_input_fn(input_fn, mode))   File "/home/lcy/anaconda3/lib/python3.7/site-packages/tensorflow_estimator/python/estimator/tpu/tpu_estimator.py", line 2987, in _call_input_fn     return input_fn(**kwargs)   File "run_pretraining.py", line 747, in input_fn     deterministic=(not is_training)) TypeError: interleave() got an unexpected keyword argument 'deterministic'

@luchenyao have you resolved that issue ?

did you resolve this problem?

@sercretalphabets removing deterministic solves the problem.


python3Packages.pyatmo: 5.1.0 -> 5.2.0

Motivation for this change
Update to latest upstream release 5.2.0
Change log: https://github.com/jabesq/pyatmo/blob/v5.2.0/CHANGELOG.md

Related Home Assistant change: https://github.com/home-assistant/core/pull/52365
Target Home Assistant release: current (only dependency update, no code changes)

Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Relase notes)

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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 128872 run on x86_64-linux 1

2 packages built:

python38Packages.pyatmo
python39Packages.pyatmo

Result of nixpkgs-review pr 128872 at 79e25c57 run on aarch64-linux 1

2 packages built successfully:

python38Packages.pyatmo
python39Packages.pyatmo


Chore: Refactor rpc client and commands

[ ] Initiate client per rpc service and not per command. I think the idea for improvement here and the challenge will be that when ursa starts, it starts a rpc server at a specific port and address. We would like the commands to know this information without allowing users to pass this info in the commands.
[ ] Allow users to read client error responses without importing jsonrpc_v2

Just an idea, maybe we can have some pure functions like we did before but with different implementations:
pub async fn get_block(params: NetworkGetParams) -> Result<NetworkGetResult> {
    let client = Client::default();
    client.get_block(params)
}

Then the RPC commands can just call get_block(params). That way we can have both a client that the gateway can use and specify the address:port and also have some pure functions for local calls.

#181


How can I implement this using code (not xaml)?

How do I add the segment using code?
I tried the code below, but I get SegmentedControl doesn not contain a definition for Children ( http://i.imgur.com/69TQpMi.png )
I tried with ItemsSource, but won't work either.
                        var segmentOption = new SegmentedControlOption();
			var segmentOption2 = new SegmentedControlOption();
			segmentOption.Text = "option 1";
			segmentOption2.Text = "option 2";

			var segment = new SegmentedControl
			{
				Children = {
				  	segmentOption,
				 	segmentOption2
				}
			};

Thanks!

Of course SegmentedControl has Children property
var segControl = new SegmentedControl() {
	Children = new List<SegmentedControlOption>() {
		new SegmentedControlOption() { Text = "ONE" },
		new SegmentedControlOption() { Text = "TWO" }
	}
};

@alexrainman
Forgot to mention, tried that before.
http://i.imgur.com/Ag63lnt.png
Now it says type name FormsPlugin doesn't exists

I guess I'm missing something...

I dont know what but yes :)

Remove this froms your using area: SegmentedControl.FormsPlugin.Abstractions

Now I have the first error, with "Children"

I have no idea :)

Ok, np, thanks

Do you have another class with the same name?

Yup. That was the problem. Thanks for pointing it out ;-)
Keep up the good work

I feel like punching myself :))

👍


Update README URLs based on HTTP redirects

Created with https://github.com/dkhamsing/frankenstein
GitHub Corrected URLs

Was
Now

https://github.com/necolas/postcss-bem-linter
https://github.com/postcss/postcss-bem-linter

HTTPS Corrected URLs

Was
Now

http://coryrylan.com/blog/css-bem-syntax-basics
https://coryrylan.com/blog/css-bem-syntax-basics

http://www.smashingmagazine.com/a-new-front-end-methodology-bem-blocks-reiteration/
https://www.smashingmagazine.com/a-new-front-end-methodology-bem-blocks-reiteration/

http://www.smashingmagazine.com/front-end-methodology-bem-file-system-representation/
https://www.smashingmagazine.com/front-end-methodology-bem-file-system-representation/

Other Corrected URLs

Was
Now

http://mono.company/2015/05/06/learning-to-love-bem/
http://mono.company/journal/frontend/learning-to-love-bem//

http://www.joelambert.co.uk/articles/bem-guidelines
http://www.joelambert.co.uk/article/bem-guidelines/

http://www.smashingmagazine.com/2012/04/16/a-new-front-end-methodology-bem/
https://www.smashingmagazine.com/2012/04/a-new-front-end-methodology-bem/

http://www.smashingmagazine.com/2013/02/21/the-history-of-the-bem-methodology/
https://www.smashingmagazine.com/2013/02/the-history-of-the-bem-methodology/

http://www.smashingmagazine.com/2014/07/17/bem-methodology-for-small-projects/
https://www.smashingmagazine.com/2014/07/bem-methodology-for-small-projects/

https://ahmadawais.com/bem-css-basics-for-wordpress-themes-developers
https://ahmadawais.com/bem-css-basics-for-wordpress-themes-developers/

Thank you :+1:


env switcher update

Change sidekick to make cheap status call on load
Change order of env switcher menu items
Add Notification (with publish button) to env switcher
Change edit env to say Open In.. awaiting icons from Killian. Will fix in future PR
Clicking Open In makes expensive status call to get editUrl

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


SessionID (2nd module parameter) is a list in "websocket" controllers, and a binary in "http/rest" controllers

The module parameter "SessionID" comes into websocket controllers as a binary, for example
<<"1289ba634f9d1736a9f93dba3305c82917f8d037">>
but it's passed into HTTP/rest controllers as a list, for example:
"1289ba634f9d1736a9f93dba3305c82917f8d037"
They should be consistent, I presume as a list.

So, it appears that the websocket handler converts the session_key to a binary (which ensures that the value of the cookie will be returned as a binary).
But the boss_web_controller does not do that.
To make it consistent (assuming you want it to be a binary always), I'd have boss_session:get_session_key() either always return a binary, that way the return for both the above calls to Bridge:cookie/1 will be consistent, and you won't have to do any explicit casting.
But it all depends on how dependent folks are on Sessionid explicitly being a list in their controllers.  Making the WS handler use lists will likely break fewer things.

The reason I suggested "list" was I figured there are more people using the web controllers than the websocket controller (especially since the websocket only works if you're using Cowboy as the web server). If it were up to me, I'd prefer binaries.

Indeed.  It could be user-configurable by having it completely depend on the type set in boss.config.  That way, if the session_key in boss.config is a list, then in your controllers, it's a list, or if it's a binary in boss.config, then it's a binary in the controllers.  Then the list_to_binary conversion would be removed from ws_init in the simple_bridge handler.


macOS JAMF Schema Out of Date

It looks like some of the antivirus engine settings in schema.json are incorrect. On Jan 11th a change was made on Microsoft Docs with updated preference keys: https://github.com/MicrosoftDocs/microsoft-365-docs/commit/100cf7e4bd2d95f9b6f0c50c11b6a4f34a9a208e
The main change appears to merge the multiple boolean preference keys for enableRealTimeProtection and passiveMode into a single enforcementLevel string key.

Hi Neetu - the issue is not resolved because none of the changes have been
merged into the master (either by my pull request or otherwise).
Josh
On Mon, 9 Jan 2023 at 17:32, Neetu Agarwal @.***> wrote:

@heglund https://github.com/heglund , if resolved, can you close this
issue? cc:n @systemswizard https://github.com/systemswizard
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/mdatp-xplat/issues/41#issuecomment-1375331060,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADSL5RTQSWOZZ2T5AEHYIDTWRPLLPANCNFSM5OKBHBEA
.
You are receiving this because you were mentioned.Message ID:
@.***>


Dev-Lite Test: Arithmetic 1.1.0-dev.5

Dev-Lite Test
Mentions: @marlitas, @amanda-phet, @Luisav1
Simulation links

github repository for issues
phet top-level directory
sim: all_phet.html

Test Matrix

[x] Tester 1 (Tester = NS , Platform = mac + safari/chrome, Time = 2hrs {max 2 hours}
[x] Tester 2 (Tester = KW, Platform = Win 11 Chrome, Time = .75{max 2 hours}

Features included

[ ] ~PhET-iO~
[ ] ~Alternative Input~
[x] UI Sound
[x] Sonification
[ ] ~Description~
[ ] ~Voicing~
[x] Dynamic Locale

Focus and Special Instructions
This publication includes a new code approach to the implementation of the region and culture. Otherwise the logic or functions of the sim have not changed. Because of this new approach, we'd like to verify that:

The images are correct, which can be done by comparing to the previous dev version.
The Region and Culture combo box in Preferences works as expected.
The regionAndCulture query parameter works as expected.

Any bugs that come up that can be replicated in the published version should receive an issue labeled as deferred. They will not be fixed for this upcoming publication unless highly prohibitive or concerning.
Issues to Verify

For QA...

General features

What to Test

Click every single button.
If there is sound, make sure it works.
Make sure you can't lose anything.
Play with the sim normally.
Try to break the sim.
Try to include browser version numbers
If there is a console available, check for errors and include them in the Problem Description.
Run through the string tests on at least one platform, especially if it is about to go to rc.
Check the Game Up harness on one platform.

PhET-iO features

What to Test

Make sure that public files do not have password protection. Use a private browser for this.
Make sure that private files do have password protection. Use a private browser for this.
Make sure standalone sim is working properly.
Make sure the wrapper index is working properly.
Make sure each wrapper is working properly.
Launch the simulation in Studio with ?stringTest=xss and make sure the sim doesn't navigate to youtube
For newer PhET-iO wrapper indices, save the "basic example of a functional wrapper" as a .html file and open it. Make
sure the simulation loads without crashing or throwing errors.

Accessibility features

What to Test

Specific instructions can be found above.

Make sure the accessibility (a11y) feature that is being tested doesn't negatively affect the sim in any way. Here is
a list of features that may be supported in this test:

Alternative Input
Interactive Description
Sound and Sonification
Pan and Zoom
Mobile Description
Voicing

Test all possible forms of input.

Test all mouse/trackpad inputs.
Test all touchscreen inputs.
Test all keyboard navigation inputs (if applicable).
Test all forms of input with a screen reader (if applicable).

Screen Readers
This sim may support screen readers. If you are unfamiliar with screen readers, please ask Katie to introduce you to
screen readers. If you simply need a refresher on screen readers, please consult the
QA Book, which should have all of the information
you need as well as a link to a screen reader tutorial made by Jesse. Otherwise, look over the a11y view before opening
the simulation. Once you've done that, open the simulation and make sure alerts and descriptions work as intended.

Platforms and Screen Readers to Be Tested

Windows 10 + Latest Chrome + Latest JAWS
Windows 10 + Latest Firefox + Latest NVDA
macOS + Safari + VoiceOver
iOS + Safari + VoiceOver (only if specified in testing issue)

Critical Screen Reader Information
We are tracking known screen reader bugs in
here. If you find a screen reader bug,
please check it against this list.

Keyboard Navigation
This sim supports keyboard navigation. Please make sure it works as intended on all platforms by itself and with a
screen reader.
Magnification
This sim supports magnification with pinch and drag gestures on touch screens, keyboard shortcuts, and mouse/wheel
controls. Please test magnfication and make sure it is working as intended and well with the use cases of the
simulation. Due to the way screen readers handle user input, magnification is NOT expected to work while using a screen
reader so there is no need to test this case.

FAQs for QA Members

There are multiple tests in this issue... Which test should I do first?
Test in order! Test the first thing first, the second thing second, and so on.

How should I format my issue?

We typically assign the developer who opened the issue in the QA repository.

My question isn't in here... What should I do?
You should:

Consult the QA Book.
Google it.
Ask Katie.
Ask a developer.
Google it again.
Cry.

QA is done

Closing since the RC test is open now.


Create Query interface.py

@othneildrew I dont understand how this happen, I guess someone is forking the repo and building its code in. If someone then open a pr it will be pointed by default to your repo. Same happens for default bug submit. Let me know if you want to invite me as collaborator to clean it up :P


Bugged Jingles, Plugin breaks, Jingle Overrides.

Bugged Jingles:
Currently there are issues with certain Jingles that are not working properly.

Each time you complete a Falador Diary Task it plays the Agility Pyramid jingle instead of any other Jingle you assign it on either Desert or Falador Diary Tasks.
The Diary Completion Jingle works fine for both however.
No matter what you configure with Kourend, or Lumbridge & Draynor Diary Tasks it always plays nothing.

Plugin breaks:
They're some issues where the Plugin can break things, or break itself.

If you are currently playing any Music Tracks while the plugin Jingle goes off, it has a chance to stop the current Track from playing.
It can also sometimes break the entire Plugin resulting in needing to either having to Logout, uninstall and reinstall the Plugin, or both to fix it.

Jingle Overrides:
Some Jingles need to override other in-game jingles.

The plugin currently cannot override Karamja's Diary Task original jingle, or Combat Task Completions' original jingle. This results in making those Jingles useless as they both play two jingles at once making it all sound like a mess.
I wanted to submit these just to bring up some current issues with the Plugin to the creators. These issues are not game breaking or serious in anyway.
They also may be a problem with my client only as well but I'm going to submit this anyway just in case.

Thanks very much for the detailed report, I'll look into these :)

Thanks for the detailed bug report, I'll look into these :)

Do you have any details regarding the "sometimes breaks the entire plugin"? I haven't encountered that myself and I'm curious if there's any way to repro

Resolved as many of these as are possible within the confines of Runelite. Some, like the sometimes stopping music tracks, is unfortunately an innate quirk with how runelite allows for playing/pausing tracks.


@fluid-exoerimental/property-binder TS conversion [3/4]

This PR includes:

Files conversion to TypeScript
Code cleanup, remove references to Workspace from HFDM and deprecated methods

Since the PR got bigger than expected, I will address these in the next PR:

Converting tests to TS
Address the @TODOs
Improve types

@DLehenbauer can you please merge this PR if it LGTY ?


TASK: Pass RawEvent to process manager configuration

This change allows the anonymous function in a process manager
configuration to access the RawEvent, similar like the event handler
method can.

Even if the Process Manager is not to stay in its current form, it's still in use in my project and I need to access the RawEvent …


FancyZones layout Editor is not making possible to create a custom layout, I can edit it and when I try to save it nothing happens but I can cancel it.

Microsoft PowerToys version
0.55.2
Running as admin

[ ] Yes

Area(s) with issue?
FancyZones Editor
Steps to reproduce

win + shift + ~
Select create new layout
a) Pop up comes and make any changes select grid or any but create button won.t respond but cancel does its work.
b) While editing already existing layout, you wont be able to save it but again cancel works.

✔ Expected Behavior
Do save and create edited layout

❌ Actual Behavior
Nothing happens, save don't work, sometime cancel also wont respond

Other Software
n/a

Could you attach a full bug report file?
Right-click on the tray icon and click Report Bug. Then drag-and-drop the generated file into the GitHub comment to upload it. Thanks!

/needinfo

PowerToysReport_2022-03-06-13-11-58.zip
Hope this helps!!

Could you attach a full bug report file? Right-click on the tray icon and click Report Bug. Then drag-and-drop the generated file into the GitHub comment to upload it. Thanks!
/needinfo
PowerToysReport_2022-03-06-13-11-58.zip

According to logs the button press event EditLayoutDialog_PrimaryButtonClick which has to be called by hitting the Save button wasn't actually called for some reason.

This appears to be fixed!


have comm email moz contacts that don't have mkt accounts (bug 1132010)

Commbadge was built assuming everyone involved had Marketplace accounts, which had the benefit of generating nice Reply-To tokens. Not the case. Some Mozilla contacts aren't registered with us.

Add a flat email field to CommThreadCC
CommThreadCC determines who gets emailed upon a creation of a note/comment.
When a note is created, we check for Mozilla contacts without accounts and generate a CommThreadCC with that flat email field.
When emailing, transform the nonuser CommThreadCC to be a recipient without a token
If a Mozilla contact ends up creating an email, we will delete the old CommThreadCC with a flat email field, and generate one that points to the user

Some catches:

Mozilla contacts w/o user accounts will not have an option to Reply-To the email. Although the email template will state they can

r? well, my Python and context of the Comm system is rusty :)

Okat


Bucket cleaning (empty: true) doesn't respect --bucket option

Deployment to single bucket via sls s3deploy --bucket my-bucket clears not only targeted but all buckets with empty: true

Thanks for the PR!


FEATURE_REQUEST : Adding Animation to Our Trip Section

Is your feature request related to a problem? Please describe.
No it's actually not a problem, its aim is to give better user experience.
Describe the solution you'd like
I would like to add rotating image gallery to your 'Our Trip Gallery' Section. So that makes this website more attractive.
Describe alternatives you've considered
If you doesn't like to include rotating gallery feature, I can add any other framework components
Demo Video/Screenshot (Mandatory )

Are you contributing under any open-source program ?

under JWOC 2024.

@apu52  I want to work on that issue under JWOC 2024

@Prithwi32 Welcome to the repo!!!!!!!
Please fill up the issue with proper templates which is already given

@Prithwi32 Welcome to the repo!!!!!!! Please fill up the issue with proper templates which is already given

@apu52 sorry I didn't got it what you mean.. Please could you let me know what should be my next step...

@Prithwi32 Welcome to the repo!!!!!!! Please fill up the issue with proper templates which is already given

@apu52 sorry I didn't got it what you mean.. Please could you let me know what should be my next step...

please use the FEATURE_REQUEST template from the NEW ISSUE section to raise your issue

Is your feature request related to a problem? Please describe. No it's actually not a problem, its aim is to give better user experience.
Describe the solution you'd like I would like to add rotating image gallery to your 'Our Trip Gallery' Section. So that makes this website more attractive.
Describe alternatives you've considered If you doesn't like to include rotating gallery feature, I can add any other framework components
Demo Video/Screenshot (Mandatory )
Are you contributing under any open-source program ?
under JWOC 2024.

@apu52  is this okay now?

@Prithwi32 I have assigned you . You can now start working on it.

@Prithwi32 I have assigned you . You can now start working on it.

Sure Sir..Thank You!

@Prithwi32 You have 2-3 days for submitting your PR.

@Prithwi32 You have 2-3 days for submitting your PR.

Okay I will complete asap..