Can't run sample applications

When i run $ cordova build browser on one of the sample apps after copying it besides the folder cordova-js like shown in the recommended workspace section i get the following error:
Error: Current working directory is not a Cordova-based project.

instructions are here: https://github.com/Samsung/cordova-plugin-toast/wiki/Create-Project


Operations: plugin command to create cluster from PV

We have seen in many cases a cluster with a PVC whose corresponding pod is in CrashLoop due to timeline conflict or some other reason.
Deleting the PVC without knowing the contents of the database in it is risky.
It would be convenient to:

clone the PVC
create a (single instance) cluster from the cloned PVC
examine the database once the instance is active

A plugin like this would be helpful
kubectl cnpg cluster-from-pv <cloned-pv>

Should this be a plug-in or a new option in the spec.bootstrap ?

We have clusters we are trying to migrate from CrunchyData to CNPG with 1.5TB of data.
We really need a way to reuse an existing set of PVs rather than using pgdump or pg_basebackup.
Even pg_basebackup is too slow as it takes hours to copy the lead and rebuild the replicas.

We have clusters we are trying to migrate from CrunchyData to CNPG with 1.5TB of data.
We really need a way to reuse an existing set of PVs rather than using pgdump or pg_basebackup.
Even pg_basebackup is too slow as it takes hours to copy the lead and rebuild the replicas.

We have clusters we are trying to migrate from CrunchyData to CNPG with 1.5TB of data. We really need a way to reuse an existing set of PVs rather than using pgdump or pg_basebackup. Even pg_basebackup is too slow as it takes hours to copy the lead and rebuild the replicas.

This is not a use case we are looking into at the moment. You can migrate using logical replication, without downtime. Version 1.25 introduces logical subscriptions. Alternatively, you can already use this: https://www.gabrielebartolini.it/articles/2024/03/cloudnativepg-recipe-5-how-to-migrate-your-postgresql-database-in-kubernetes-with-~0-downtime-from-anywhere/

@dperetti This entire area is subject to a huge refactoring of the code, that will give birth to CNPG-I, a pluggable interface.
We are also planning to revisit the entire bootstrap/cloning strategy, but we defer any analysis to when we have released 1.25.0 and the first plugins.


Clarity around license

The Cloudflare Workers docs have had dual Apache and MIT licenses since at least Aug 7, 2019.
These docs should carry the same license. Currently they differ:
https://github.com/cloudflare/workers-docs/blob/master/LICENSE-MIT
https://github.com/cloudflare/workers-docs-engine/blob/master/LICENSE
This project was initialy based on the default Gatsby starter, which is why the license here is what it is. This was simply an oversight and should be updated.

Closed with https://github.com/cloudflare/workers-docs-engine/commit/fdce6910c7156e7fcd3feffc0a1aca36fa31e092.


fix:fit check_factorial.cpp to guidelines

Description of Change
FIX: added namespace math, changed for a weird for loop to a while loop with a better conditional and I initiation
CHORE: Cleaned documentation and added details plus links. removed the invalid cout lines in test for one line.
Checklist

[x] Added description of change
[x] Added documentation so that the program is self-explanatory and educational - Doxygen guidelines
[x] Relevant documentation/comments is changed or added
[x] PR title follows semantic commit guidelines
[x] I acknowledge that all my contributions will be made under the project's license.

Notes: clang-tidy check needed

part of #2456


Added 'view any unpublished content' permission to admin role

These were merged already in https://github.com/City-of-Helsinki/drupal-helfi-tyo-yrittaminen/pull/24


[AST Builder] Implement Left/Right functions

Implements ast builders for Left/Right functions.
Backgrounds
Refer issue !614.
Task
Implement Left and Right function in ast_builder module so that we can slice a string.
The following tests should be passed:
#[test]
fn function_left() {
    let actual = left(text("GlueSQL"), num(2));
    let expected = "LEFT('GlueSQL', 2)";
    test_expr(actual, expected);

    let actual = expr("GlueSQL").left(num(2));
    let expected = "LEFT(GlueSQL, 2)";
    test_expr(actual, expected);
}

#[test]
fn function_right() {
    let actual = right(text("GlueSQL"), num(2));
    let expected = "RIGHT('GlueSQL', 2)";
    test_expr(actual, expected);

    let actual = expr("GlueSQL").right(num(2));
    let expected = "RIGHT(GlueSQL, 2)";
    test_expr(actual, expected);
}

ref: https://github.com/gluesql/gluesql/pull/626


fix(curriculum): changed tabs names for mobile layout

Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #48807

We choose to use the desktop words "Instructions" and "Console" for both.

Hey @balaji-sivasakthi
This PR seems to make similar changes as the existing PR #49286. As such, we are going to close this as duplicate.
If you feel you have additional changes to expand upon this PR, please feel free to push your commits and request this PR be reopened.
Thanks again! 😊

If you have any questions, feel free to ask questions on the 'Contributors' category on our forum or the contributors chat room.


Resolving 'Access Denied' Error

I've deployed our IBeam Docker image on my AWS cloud server. However, when I attempt to access the Gateway API endpoints from a different system (with a different IP address), I encounter an error stating "Access Denied".
Could you please provide guidance on how to access these Gateway API endpoints from any location or IP address?
Attached is a screenshot of the error:

so we need to modify docker-compose.yml?


Fixes bundle.js not loading on nested page refresh

Given a nested route: <Route path="course/:id" component={ManageCoursePage} />
If the user tries to go directly to http://localhost:3000/course/4 in their browser.
bundle.js will attempt to load from http://localhost:3000/course/bundle.js and get a 404 error.

Found this fix here:  https://github.com/ampedandwired/html-webpack-plugin/issues/98
If you would like an example project with this behavior, please let me know and I will post one.

Coverage remained the same at 94.928% when pulling 7208ab0d52c62fd4e6ec8a6cd41d2761075fd0a6 on endlesscombo:master into 5fbe444ab06c2d99d0ef50fcf0ccca629e0fe33f on coryhouse:master.

@kwelch recently committed this change that dynamically sets the publicPath. The suggested change in this PR would override his work and cause https://github.com/coryhouse/react-slingshot/pull/125 and https://github.com/coryhouse/react-slingshot/issues/205 to recur again.
@kwelch - Is there a tweak we could make to your work to support this?

Yes, #221 addresses this issue, but had a bug for production. I am pretty sure this works though, I had been playing with a solution like this on Friday that used public path and set it dynamically, and it fixed both background images and nested routes.
I can look further at this specific PR tomorrow, but I am quite sure it will work.

I check ran some tests on this checking the proper injection and regression points with dynamically setting public path and all looked good.
Thanks for the PR!

Thanks to both of you!  This project and the video course are really helping me make sense of the react ecosystem.


map exploration and fast-travel reset after migration

Hello. I successfully executed your code and it ran without issue. I'm migrating a windows co-op world to a windows server and so far it looks like everything is working except for the player map exploration and fast-travel stations. The whole map is reset to a new player's vision and I can't fast travel to any of the stations I'd seen previously.

I'm in the same boat here now.

In the same boat here.
I'll keep an eye on this post.
Thanks a lot for the utility! It works perfectly ;)

Okay so I have a weird work-around that as far as I know will only help windows co-op to windows server translations (not windows server to linux server).  I don't actually know exactly what is causing it to work so I'll do more testing later, but wanted to get this out there in hopes that it'll help.
When I first tried making my co-op game a server I had seen that the server also maintains a folder in the single player save location so I had originally copied my co-op game only into that folder, not the PalServer folder. In doing this the only thing that came over was the vision and not any of the world or anything. So... after applying the save file fix if you then copy everything from your single player game into the single player folder with the same hash as your server folder then vision works.. somehow. I'll update as I figure out more and hopefully some of you can test this and learn more about it.

The documentation says to copy over the whole save folder which includes LocalData.sav so I believe this can be closed now


Fixed several grammar errors and typos

Description
I found some grammar errors and typos in the documentation and have fixed them. Maintaining documentation is something that's important to me :-)
Checklist:

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

Thank you, @AndrewDawes


Use locally generated protos and Node image

Current dependencies on/for this PR:

#29  👈
main

This stack of pull requests is managed by Graphite.


Release 0.17.0 version

@yegor256 We are needed to release a new version of tojos. I suppose it should be the 0.17.0.
It's important to publish new changes related to concurrency problems.

@rultor release, tag is 0.17.0

@rultor release, tag is 0.17.0

@yegor256 OK, I will release it now. Please check the progress here

@rultor release, tag is 0.17.0

@yegor256 Done! FYI, the full log is here (took me 6min)

@volodya-lombrozo done


Use select2 v4 in uikit v3

My reasoning for submitting this is actually somewhat strange... Select2 changed its npm package id from Select2 (note the capital letter) to select2 in the transition from 3.x to 4. UIKit v3 references v3.5, which conflicts case-wise if your project uses v4 since webpack requires case sensitive paths. But either way, it would be good to go ahead and get the upgrade over with for UIKit v3.

We need to update from select v3 to select v4. Not sure what all is involved, select2 is only used in the javascript example and for v3, it's broken.
We should also look towards making these JS opinionated libraries optional. For instance, if someone was using a library like React along with this uikit, then select2 would probably not be used (in fact none of the javascript this library has would probably be used), 'native' react components would usually be used instead.

In v1 and v2 we included the Select2 v3.5 css in order to support the availity-angular library but we can remove this dependency for v3.  I think availit-uikit v3 should just be vanilla BS4.

I think it is fine to identify and specify how a select should look and work/function (which happens to look like select2 and selectorizr's bootstrap theme as well as others) but leave it up to the user/dev to determine how implement it. We can suggest things such as select2, react-select, and various thing that work well with other popular libraries.

can this be closed?


How to Trim Audio?

I've been looking through the API documentation but haven't found the answer. Basically i'm looking for the functionality that lets me trim a input audio file, specify a start time and a end time and it spits out a new file that only contains the data between the 2 timestamps.
Something similar to this https://stackoverflow.com/questions/20295398/ffmpeg-clip-audio-interval-with-starting-and-end-time
Please let me know if I just missed something in the docs!

how did you resolve this? @JulianChow94


Vagrant Troubleshooting with Joe

In progress...

CC @sheydari-ds

Joe Kent [4:40 PM]
@sergii: having a weird bug trying to pull stage DB https://gist.github.com/deadlybutter/a4760a1e6c8f6e06fe85

Joe Kent [4:40 PM]
never seen this one before

Sergii Tkachenko [4:41 PM]
hm

Sergii Tkachenko [4:41 PM]
this mean ssh host has different fingerprint from the one you saved

Sergii Tkachenko [4:41 PM]
which is weird

Sergii Tkachenko [4:41 PM]
could the error be somewhere else?

Sergii Tkachenko [4:41 PM]
Error: no database record could be found for source @ds.staging                                                                                [error]

Joe Kent [4:42 PM]
hmmmm

Joe Kent [4:42 PM]
im switching back from the international UK enviornment if that could have anything to do with it

Joe Kent [4:43 PM]
oh, maybe i need to do drop the database?

Sergii Tkachenko [4:44 PM]
how do you exactly switch back?

Sergii Tkachenko [4:44 PM]
did you destroy vagrant?

Joe Kent [4:44 PM]
i did a vagrant destroy -f, vag up+ssh, setup www, ds build install

Joe Kent [4:45 PM]
and that led me to here

Sergii Tkachenko [4:47 PM]
hm

Sergii Tkachenko [4:47 PM]
i’ll try it myself

Sergii Tkachenko [4:47 PM]
i need to switch from uk anyways

Sergii Tkachenko [5:01 PM]
@joe: everything worked for me flawlessly

Joe Kent [5:01 PM]
huh, weird

Sergii Tkachenko [5:01 PM]
Make sure that you have `dosomething-mount` unmounted before running `vagrant up`

Joe Kent [5:01 PM]
oh maybe that was it?

Sergii Tkachenko [5:02 PM]
sometimes it happens

Joe Kent [9:39 AM]
@sergii: hmm, still having that error

Joe Kent [9:40 AM]
i verified that ds-mount was unmouted before running vagrant up

Sergii Tkachenko [9:40 AM]
were there any other errors besides the one you sent me yesterday?

Joe Kent [9:41 AM]
looks the same

Joe Kent [9:41 AM]
did i send you the full log?

Sergii Tkachenko [9:46 AM]
No, just the last errors

Sergii Tkachenko [9:46 AM]
could you copy full log to a gist?

Joe Kent [9:46 AM]
https://gist.github.com/deadlybutter/0dfbab156bc6a460e56c

Joe Kent [9:55 AM]
@sergii: any ideas? maybe destroy and rebuild?

Sergii Tkachenko [9:56 AM]
yes, try reboot your laptop and rebuild

Joe Kent [10:06 AM]
@sergii: ran into error while doing install this time https://gist.github.com/deadlybutter/115d401fca13845c93a6

Joe Kent [10:07 AM]
looks the same, something with an IP?

Joe Kent [10:07 AM]
how could my IP be the problem?

Sergii Tkachenko [10:07 AM]
This ones are ok

Sergii Tkachenko [10:07 AM]
just warnings

Joe Kent [10:07 AM]
ah

Joe Kent [10:08 AM]
nope pull stage still didnt work

Joe Kent [10:08 AM]
error looks the same

Joe Kent [10:08 AM]
also this seems odd, "Error: no database record could be found for source @ds.staging                                                                                [error]
"

Joe Kent [10:11 AM]
any idea what

Additional uncaught exception thrown while handling exception.

Original

PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table &#039;dosomething.blocked_ips&#039; doesn&#039;t exist: SELECT 1 FROM {blocked_ips} WHERE ip = :ip; Array
(
   [:ip] =&gt; <IP_ADDRESS>
)
means?

Joe Kent [10:11 AM]
pretty sure its saying my local IP is blocked

Andrea Gaither [10:14 AM]
is that just on when you vagrant up and build?

Joe Kent [10:14 AM]
ds pull stage

Joe Kent [10:14 AM]
—db

Andrea Gaither [10:15 AM]
hmm

Andrea Gaither [10:16 AM]
yeah, looks like your local db wasn’t wiped correctly

Andrea Gaither [10:16 AM]
before the pull

Joe Kent [10:16 AM]
how do i wipe?

Joe Kent [10:16 AM]
i tried to drop but maybe i did it wrog

Joe Kent [10:16 AM]
wrong*

Andrea Gaither [10:17 AM]
when you go into sql pro, you can drop it, but that seems like a step you shouldn’t have to take

Joe Kent [10:18 AM]
im switching back from intl so maybe thats why>

Andrea Gaither [10:18 AM]
yeah

Andrea Gaither [10:18 AM]
what do you see in sql

Andrea Gaither [10:18 AM]
are there the dosomethign_uk dbs and stuff?

Andrea Gaither [10:19 AM]
I think I did a vagrant destroy twice before switching back worked for me

Andrea Gaither [10:19 AM]
but then when I pulled stage it worked

Andrea Gaither [10:19 AM]
but I remember seeing errors the first itme

Joe Kent [10:20 AM]
great, i cant connect from sql pro...

Andrea Gaither [10:21 AM]
what’s the error

Joe Kent [10:22 AM]
Used command:  /usr/bin/ssh -v -N -o ControlMaster=no -o ExitOnForwardFailure=yes -o ConnectTimeout=10 -o NumberOfPasswordPrompts=3 -o TCPKeepAlive=no -o ServerAliveInterval=60 -o ServerAliveCountMax=1 -p 2222<EMAIL_ADDRESS>-L 56539/<IP_ADDRESS>/3306 -L 56540/dev.dosomething.org/3306

OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011
debug1: Reading configuration data /Users/josephkent/.ssh/config
debug1: Reading configuration data /etc/ssh_config
debug1: /etc/ssh_config line 20: Applying options for *
debug1: Connecting to dev.dosomething.org [<IP_ADDRESS>] port 2222.
debug1: fd 3 clearing O_NONBLOCK
debug1: Connection established.
debug1: identity file /Users/josephkent/.ssh/id_rsa type 1
debug1: identity file /Users/josephkent/.ssh/id_rsa-cert type -1
debug1: identity file /Users/josephkent/.ssh/id_dsa type -1
debug1: identity file /Users/josephkent/.ssh/id_dsa-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.2
debug1: Remote protocol version 2.0, remote software version OpenSSH_6.6.1p1 Ubuntu-2ubuntu2
debug1: match: OpenSSH_6.6.1p1 Ubuntu-2ubuntu2 pat OpenSSH*
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr<EMAIL_ADDRESS>none
debug1: kex: client->server aes128-ctr<EMAIL_ADDRESS>none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Server host key: RSA 98:09:58:c3:53:90:b5:ac:38:27:1d:e7:f0:7e:2c:d6
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
98:09:58:c3:53:90:b5:ac:38:27:1d:e7:f0:7e:2c:d6.
Please contact your system administrator.
Add correct host key in /Users/josephkent/.ssh/known_hosts to get rid of this message.
Offending RSA key in /Users/josephkent/.ssh/known_hosts:3
RSA host key for [dev.dosomething.org]:2222 has changed and you have requested strict checking.
Host key verification failed.

Joe Kent [10:22 AM]
I havent changed my RSA key so that doesnt seem right?

Andrea Gaither [10:22 AM]
yeah, this is on the troubleshoot guide

Andrea Gaither [10:22 AM]
it’s funky when you destroy and re-up

Andrea Gaither [10:23 AM]
https://github.com/DoSomething/phoenix/wiki/Troubleshooting-your-local-environment#cant-connect-to-sequel-pro

Joe Kent [10:26 AM]
okay, that trouble shoot worked

Joe Kent [10:27 AM]
connected via sequel pro but pull stage is still throwing the error i sent you earlier

Andrea Gaither [10:33 AM]
which dbs are thre?

Andrea Gaither [10:33 AM]
there

Joe Kent [10:34 AM]
dosomething, information schema and a few other schemas

Andrea Gaither [10:35 AM]
otay, I would try to remove all the tables in dosomething and then re ds pull stage

Andrea Gaither [10:35 AM]
well

Andrea Gaither [10:35 AM]
ds build pull stage

Joe Kent [10:35 AM]
no tables in dosomething

Joe Kent [10:35 AM]
its empty

Andrea Gaither [10:51 AM]
I would destroy and try again

Joe Kent [10:51 AM]
this is the third time now so just making sure im doing this right

Joe Kent [10:52 AM]
vagrant destroy -f, vagrant up, vagrant ssh, bin/setup-www

Andrea Gaither [10:53 AM]
https://github.com/DoSomething/phoenix/wiki/Building-your-local-environment-(SSHFS)

Joe Kent [11:10 AM]
@sergii: hmm, im out of ideas. tried to do the rebuild 1 more time, followed a troubleshoot guide andrea sent me which appeared to fix a sql connection bug

Joe Kent [11:10 AM]
but still getting that pull stage error

Sergii Tkachenko [11:12 AM]
try removing all staging.beta.dosomething.org hosts from .ssh/known_hosts @joe

Joe Kent [11:12 AM]
mmm ill try that too

Joe Kent [11:12 AM]
already removed my local dev

Joe Kent [11:13 AM]
should i rebuild after doing that?

Joe Kent [11:23 AM]
@sergii so removing that line I fixed the build —install errors

Joe Kent [11:23 AM]
but stage pull is broke still

Joe Kent [11:23 AM]
same error

Sergii Tkachenko [11:31 AM]
hm

Sergii Tkachenko [11:31 AM]
did you destroy if first, right?

Joe Kent [11:31 AM]
yep vagrant destroy -f

Sergii Tkachenko [11:41 AM]
what error do you see now @joe

Joe Kent [12:05 PM]
@sergii: its the same one in the gist i linked earlier

Joe Kent [12:05 PM]
only one that hasnt gone away

Sergii Tkachenko [12:06 PM]
can you access staging.beta.dosomething.org with ssh?

Sergii Tkachenko [12:06 PM]
`ssh staging.beta.dosomething.org`

Joe Kent [12:07 PM]
nope

Joe Kent [12:07 PM]
rsa key blocked me

Joe Kent [12:07 PM]
the fuck, i havent changed it recently

Sergii Tkachenko [12:21 PM]
make sure it’s the same keys Joe

Joe Kent [12:26 PM]
hmm, im not sure how I can verify it without being able to access it haha

Joe Kent [12:27 PM]
I can give you mine again if we wanna try setting it again

Joe Kent [12:30 PM]
ssh-rsa <removed>

Joe Kent [12:30 PM]
lets try setting it again just in case i guess?

Sergii Tkachenko [12:31 PM]
here’s what we have on staging

Sergii Tkachenko [12:31 PM]
ssh-rsa <removed>

Sergii Tkachenko [12:31 PM]
looks the same

Joe Kent [12:31 PM]
yep

Joe Kent [12:31 PM]
sigh

Sergii Tkachenko [12:31 PM]
try verbose mode

Joe Kent [12:32 PM]
whats that?

Sergii Tkachenko [12:32 PM]
`ssh -v staging.beta.dosomething.org`

Joe Kent [12:32 PM]
https://gist.github.com/deadlybutter/cbcb89c3e0c433c470fa

Sergii Tkachenko [12:33 PM]
hm

Sergii Tkachenko [12:33 PM]
are you sure this one is the same? /Users/josephkent/.ssh/id_dsa

Sergii Tkachenko [12:33 PM]
check last modification date

Joe Kent [12:34 PM]
last modified Tuesday, July 7, 2015 at 9:49 AM

Joe Kent [12:34 PM]
(same day it was created)

Sergii Tkachenko [12:35 PM]
this is weird

Joe Kent [12:35 PM]
indeed

Sergii Tkachenko [12:35 PM]
ah

Sergii Tkachenko [12:35 PM]
try `ssh -v<EMAIL_ADDRESS>
Joe Kent [12:36 PM]
that wors

Joe Kent [12:36 PM]
works*

Sergii Tkachenko [12:36 PM]
good

Sergii Tkachenko [12:36 PM]
add to

Sergii Tkachenko [12:37 PM]
.ssh/config

Sergii Tkachenko [12:37 PM]
Host staging.beta.dosomething.org
  User dosomething

Sergii Tkachenko [12:37 PM]
and try rebuilding

Joe Kent [12:38 PM]
is there a line break under the existing entry I have in there>?

Sergii Tkachenko [12:38 PM]
what?

Sergii Tkachenko [12:38 PM]
under?
Joe Kent
[12:38 PM]
![](https://files.slack.com/files-pri/T024GV2BW-F08UCAZ3L/screen_shot_2015-08-11_at_12.38.41_pm.png)

Joe Kent [12:39 PM]
should there be a line there or?

Sergii Tkachenko [12:39 PM]
i think the issue is on top

Sergii Tkachenko [12:39 PM]
there should be 2-space indentation for HostName User and Port

Joe Kent [12:40 PM]
oh

Joe Kent [12:40 PM]
fixed

Sergii Tkachenko [12:40 PM]
try `ssh staging.beta.dosomething.org`
`

Joe Kent [12:40 PM]
works

Sergii Tkachenko [12:41 PM]
awesome

Sergii Tkachenko [12:41 PM]
now rebuild!

Joe Kent [12:41 PM]
okie dokes

Joe Kent [12:53 PM]
nope, still cant pull stage

Joe Kent [12:53 PM]
same error

Joe Kent [1:03 PM]
noticing this is apart of the error
```Permission denied (publickey).```

Joe Kent [1:04 PM]
but we just proved its not the public key.?!

Sergii Tkachenko [1:06 PM]
no, it is

Sergii Tkachenko [1:06 PM]
This error means "the authentication using publickey method is denied"

Sergii Tkachenko [1:09 PM]
Let me rebuild it myself

Fixed by ssh-add -L on hosts, thanks @blisteringherb for help.
Updates for https://github.com/DoSomething/phoenix/wiki/Troubleshooting-your-local-environment page are coming.


It would be fair to stop this integration as long as it is not working.

The problem
Integration worked fine for over a year but stopped recently.
The new autorization (token, cookie) is not working -spend a couple of hours but finally deleted the integration. (see other issues regarding error 400)
I this it would be fair to set this integration to "defect" as long as there is not solution or a very detailed explanation. I followed the readme to get token and cookie via Chrome Dev Console after created the Google project and required authorization and the Nest project (including 5 USD payment).
But all without success.
What version of this integration (ha-nest-protect) has the issue?
0.3.12
What version of Home Assistant Core has the issue?
2023.9.2
Device / Model
Nest protect (6 devices)
Diagnostics information
No response
Home Assistant log
Logs
```
Copy/paste any log here, between the starting and ending backticks (`)
```

Additional information
No response

Many users have the beta version working, so without any logs / feedback, I don’t know what goes wrong. After my holidays, I will clarify in the README which version should be used (beta vs stable). You are not using the beta (pre release) version by the way, according to your version number mentioned.
The 5$ Nest project is not mentioned anywhere for this integration, so I am not sure where you got this information?
I will close this issue. Feel free to create a new issue with your actual problem and log files.


With Unity 2020.3.30 Newtonsoft Missing

The Newtonsoft library was automatically included in previous Unity versions.
Many users have reported that starting around 2020.3.28 (I observed this with Unity 2020.3.30) the Newtonsoft package was no longer automatically included.
UPM package.json with Newtonsoft dependency listed should solve this.
Accelerate the move to Unity Package Manager compatibility to meet this need.

If you need a work around you can add the package this way:
https://github.com/jilleJr/Newtonsoft.Json-for-Unity/wiki/Install-official-via-UPM#installing-the-package-via-manifestjson

Fixed in the new 1.2.0 release 🥳


Error: Fuel cannot be imported via CSV

LubeLogger 1.0.9
Steps to reproduce:

Start LubeLogger using docker compose
Create a new car
Download gassample.csv
Import gassample.csv

Error:
app_1  | warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
app_1  |       No XML encryptor configured. Key {24c0b5a6-2979-46f8-b7a9-9779ff30a2bc} may be persisted to storage in unencrypted form.
app_1  | fail: CarCareTracker.Controllers.VehicleController[0]
app_1  |       Error Occurred While Bulk Inserting
app_1  |       System.FormatException: String '' was not recognized as a valid DateTime.
app_1  |          at System.DateTimeParse.Parse(ReadOnlySpan`1 s, DateTimeFormatInfo dtfi, DateTimeStyles styles)
app_1  |          at System.DateTime.Parse(String s)
app_1  |          at CarCareTracker.Controllers.VehicleController.ImportToVehicleIdFromCsv(Int32 vehicleId, ImportMode mode, String fileName) in /App/Controllers/VehicleController.cs:line 375

I cannot reproduce this error. I believe it's a locale error.
The CSV sample export is a hardcoded file that only exports Dates in North American "MM/dd/yyyy". It serves only as a sample as to what the column names should be and the data type in each column: Dates, numeric, string, decimals, etc.
You should try to create some fuel entries, export them as CSV and then reimport them, they should work fine.

Thanks for the quick reply.
Indeed, I changed the locales. That must be the cause. I have followed your example and add some records manually for exporting them later, but the "export" button is gone after I added the first entry.

@mmartinortiz I think you might have a config persisting issue. If you're running this in docker, make sure the config volume is mounted. If you're running the windows standalone executable, make sure you have a /config folder.
The Import/Export functionality is in the Settings tab:

Enable this and the export functionality should show up.


Reverse of an Integer in C++

The previously written code was not written in C++. It had bugs. It was written in Java. As this is a cpp file , I re-wrote the code in C++.
Pull Request Template
Description
Please include a summary of the problem and about the approach to solve the solution. Please also include relevant motivation and context.
List any dependencies that are required for this change.
Put check marks:
Have you made changes in README file ?

[x] Added problem & solution under correct topic.
[x] Specified Space & Time complexity.
[x] Specified difficulty level, tag & Note(if any).

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also note any relevant details for your test configuration.

[x] Test A
[ ] Test B

Make sure all below guidelines are followed else PR will get Reject:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code so that it is easy to understand
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] Any dependent changes have been merged and published in downstream modules

Rejecting the PR @Prachetas007


Fix git branch expansion

Handled a basic test case:
$ git init
$ git branch '$(ls)'

Shown as:
$(ls) :: no commits :: ⬢ :: ar :: 0 files, 0

Fixes #137

Localoptions looks awesome, will test tonight

Confirmed that it works with https://github.com/njhartwell/pw3nage :)

Hey @desyncr, you should suggest this fix in njharwell/pw3nage. See https://github.com/njhartwell/pw3nage/pull/2

Thanks! Will do!


Allow KIE Sandbox users to create files from the File Switcher when the Workspace only has one file

When a Workspace only has one file, the File Switcher already displays an Empty State [1]. However, this Empty State is too simple and does not allow users to create new files from there. Also, what it shows is that No files match '', like the users has requested to search for files that contains an empty string.
This needs to be improved and this Empty State should change to differentiate between active searches and a Workspace with no more files other than the one that is open.
[1]

@tiagobento let me clarify two thigs

1 where should we add the button for adding an asset into workspace,

should it be next to current asset name?
should it be next to 'Models in .....'
should it be next to view type grid vs. list?
should it be at the bottom of popup with models in workspace?

2 Do I understand correctly models panel should display all workspace models when filtering string is empty?

@jomarko This task fixes the use-case where you're editing a file inside a single-file Workspace (e.g. When you create a new model/sample from the home page), and you click the File Switcher. The empty state No files match '' is not good, as users are in fact not searching for anything, but rather trying to switch files when there's no files to switch to.
Part of this issue is to propose solutions for it, rather than having everything predefined. We can use this issue to chat and come to a an agreement of how it should be.
My suggestion is that we add the same capabilities we have on the "+ New file" menu, but directly on the File Switcher, just for the case where you open the File Switcher on a Workspace that only has the file you're currently editing. Exactly how it should be, I don't know, though :)

This ticket has potentially been addressed by https://github.com/kiegroup/kie-tools/pull/1527. Now when he File Switcher is clicked on it displays the current file even when there is only 1 file in the folder (see image below).

In my opinion this is the best solution for clarity, as I feel like adding the "+ New File" capabilities on the file switcher would cause confusion, especially if said capabilities were only available when one and only one file is present.


What's the custom Song Limit on Fuser

What's the custom Song Limit on Fuser

As far as I know there is no hard limit to the number of songs you can load


Enter in currency-field won't trigger submit in form

Reproduction
https://formkit.link/39ea8cd696914708464d880b27bda138
Describe the bug
If you are inside of a currency-field and press Enter on your keyboard, it won't trigger @submit on the parent form. Check reproduction for example.
Environment
• OS: macOS
• Browser Chrome
• Version FormKit 1.6.9 (Pro 0.127.8)

@OlaAlsaker Appreciate you pointing this out. This has been resolved at FormKit Pro v0.127.9


Alter category names to be valid values in GAM for key value targetting

Reference: https://support.google.com/admanager/answer/10020177?hl=en additional firsthand account via this screenshot:

AW:

PW:

 Key-Value Targeting in GAM


Scene Tree: A node gets selected even without being selected

Tested versions
v4.3.beta3.official [82cedc83c]
System information
Newest MacOS / Mac mini M1
Issue description
A node in the Scene Tree gets randomly selected if other Nodes / Scenes are dragged around.
Steps to reproduce
Make a scene tree like in the image:

Select the "CollisionShape2D" (click on it once)
Now click on the camera (at this point the CollisionShape2D will automatically get deselected as expected) and drag it like in the gif below.
After you finish dragging, the CollisionShape2D will be automatically selected too.
Now click and hold on the camera node and drag it somewhere else. The CollisionShape2D will get dragged with it too and the "level top" node will break.

Minimal reproduction project (MRP)
Godot IDE

Same thing, but in this case I drag the camera from top to bottom and in the end two nodes end up selected:

Sounds similar to #93935


395 ca9 oral argument scraper is down

Modified CA9's oral arguments scraper to fetch the information from the new court's page.
The scraper uses Selenium to load the cases' individual pages and scrap the audio files URL's.

In the end, this came out pretty nicely. There were three unused imports that I removed, but otherwise, thanks for your hard work on this one. I know it took a lot more time and energy than either of us had thought it would!


0.7.3 Linux CLI binary crashes

Your issue may already be reported! Please search on the issue tracker before creating a new one.
Environment

Client OS (e.g., Linux, OSX, Windows): Linux
Keptn Version (keptn version):  0.7.3
Kubernetes Cloud Provider (e.g., GKE, AKS): minikube
Kubernetes version (kubectl version):

$ kubectl version --short
Client Version: v1.18.7
Server Version: v1.16.15

Affected Component

[ ] Docs
[x] CLI
[ ] Kubernetes Integration
[ ] Openshift Integration
[ ] Helm
[ ] Istio
[ ] Bridge
[ ] Gatekeeper
[ ] Datastore
[ ] REST API
[ ] eventbroker / distributor
[ ] jmeter

Describe the bug
Downloaded binary throws
$ ./keptn
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x38 pc=0x137b0c6]

goroutine 1 [running]:
github.com/keptn/go-utils/pkg/api/utils.(*APIHandler).GetMetadata(0xc0000ce4b0, 0x0, 0x0)
	/Users/travis/gopath/pkg/mod/github.com/keptn/go-utils@v0.7.2-alpha/pkg/api/utils/apiUtils.go:154 +0x106
github.com/keptn/keptn/cli/cmd.getKeptnServerVersion(0xc00079bea8, 0x1d27b54, 0x5, 0x1)
	/Users/travis/gopath/src/github.com/keptn/keptn/cli/cmd/version.go:155 +0x16f
github.com/keptn/keptn/cli/cmd.runDailyVersionCheck()
	/Users/travis/gopath/src/github.com/keptn/keptn/cli/cmd/root.go:118 +0xf2
github.com/keptn/keptn/cli/cmd.Execute()
	/Users/travis/gopath/src/github.com/keptn/keptn/cli/cmd/root.go:47 +0x39
main.main()
	/Users/travis/gopath/src/github.com/keptn/keptn/cli/main.go:25 +0x6e

I'm running this on Ubuntu
$ uname -a
Linux REDACTED 4.15.0-128-generic #131-Ubuntu SMP Wed Dec 9 06:57:35 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

To Reproduce
curl -LO https://github.com/keptn/keptn/releases/download/0.7.3/0.7.3_keptn-linux.tar
tar zxvf 0.7.3_keptn-linux.tar
./keptn

Expected behavior
I expected the binary to run.

I just tried this on a fresh Linux, and it works for me.
I believe the error you are experiencing is due to the fact that Keptn is trying to connect to a previous cluster that doesn't exist anymore.
The workaround should be to disable the daily version check for now:
keptn set config AutomaticVersionCheck false

Nevertheless, I think this is a bug that we need to fix.

I tried disabling the version check, but it's a chick-n-egg issue...  :-(
$ rm -rf /home/mark/.keptn
$ ./keptn set config AutomaticVersionCheck false
keptn creates the folder /home/mark/.keptn/ to store logs and possibly creds.
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x38 pc=0x137b0c6]

goroutine 1 [running]:
github.com/keptn/go-utils/pkg/api/utils.(*APIHandler).GetMetadata(0xc0000cb130, 0x0, 0x0)
	/Users/travis/gopath/pkg/mod/github.com/keptn/go-utils@v0.7.2-alpha/pkg/api/utils/apiUtils.go:154 +0x106
github.com/keptn/keptn/cli/cmd.getKeptnServerVersion(0xc000793ea8, 0x1d27b54, 0x5, 0x1)
	/Users/travis/gopath/src/github.com/keptn/keptn/cli/cmd/version.go:155 +0x16f
github.com/keptn/keptn/cli/cmd.runDailyVersionCheck()
	/Users/travis/gopath/src/github.com/keptn/keptn/cli/cmd/root.go:118 +0xf2
github.com/keptn/keptn/cli/cmd.Execute()
	/Users/travis/gopath/src/github.com/keptn/keptn/cli/cmd/root.go:47 +0x39
main.main()
	/Users/travis/gopath/src/github.com/keptn/keptn/cli/main.go:25 +0x6e

Compiled the CLI from source and it works as expected
$ keptn version
keptn creates the folder /home/mark/.keptn/ to store logs and possibly creds.
Kube context has been changed to minikube

Keptn CLI version: develop
Keptn cluster version: Error connecting to server: Head "": unsupported protocol scheme ""
Possible reasons:
* The Keptn API server is currently not available. Check if your Kubernetes cluster is available.
* Your Keptn CLI points to the wrong API server (verify using 'keptn status')

Daily version check is enabled.
Keptn will collect statistical data and will notify about new versions and security patches for Keptn. Details can be found at: https://keptn.sh/docs/0.7.x/reference/version_check
---------------------------------------------------
* To disable the daily version check, please execute:
 - keptn set config AutomaticVersionCheck false

Is it possible that the kube context is set to a cluster that's currently offline?
Try running
kubectl get pods --all-namespaces

and if it fails, you can delete the current context.

Take a look at the available and current context:

kubectl config get-contexts

And delete those if they are not working:
kubectl config delete-context xyz

I would propose that we investigate this issue when Keptn 0.8.0.alpha is released.

I believe the error you are experiencing is due to the fact that Keptn is trying to connect to a previous cluster that doesn't exist anymore.

Remove all contexts
rm -rf ~/.kube

Create new minikube cluster
$ minikube start --driver=docker
😄  minikube v1.15.1 on Ubuntu 18.04
✨  Using the docker driver based on user configuration
👍  Starting control plane node minikube in cluster minikube
🔥  Creating docker container (CPUs=2, Memory=3900MB) ...
🐳  Preparing Kubernetes v1.19.4 on Docker 19.03.13 ...
🔎  Verifying Kubernetes components...
🌟  Enabled addons: storage-provisioner, default-storageclass
🏄  Done! kubectl is now configured to use "minikube" cluster and "default" namespace by default

Download new keptn binary
curl -LO https://github.com/keptn/keptn/releases/download/0.7.3/0.7.3_keptn-linux.tar
tar zxvf 0.7.3_keptn-linux.tar

Reproduce the problem :-(
$ ./keptn
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x38 pc=0x137b0c6]

goroutine 1 [running]:
github.com/keptn/go-utils/pkg/api/utils.(*APIHandler).GetMetadata(0xc00080e2d0, 0x0, 0x0)
	/Users/travis/gopath/pkg/mod/github.com/keptn/go-utils@v0.7.2-alpha/pkg/api/utils/apiUtils.go:154 +0x106
github.com/keptn/keptn/cli/cmd.getKeptnServerVersion(0xc00067dea8, 0x1d27b54, 0x5, 0x1)
	/Users/travis/gopath/src/github.com/keptn/keptn/cli/cmd/version.go:155 +0x16f
github.com/keptn/keptn/cli/cmd.runDailyVersionCheck()
	/Users/travis/gopath/src/github.com/keptn/keptn/cli/cmd/root.go:118 +0xf2
github.com/keptn/keptn/cli/cmd.Execute()
	/Users/travis/gopath/src/github.com/keptn/keptn/cli/cmd/root.go:47 +0x39
main.main()
	/Users/travis/gopath/src/github.com/keptn/keptn/cli/main.go:25 +0x6e

kubectl client has no issue
$ kubectl get pods -A
NAMESPACE     NAME                               READY   STATUS    RESTARTS   AGE
kube-system   coredns-f9fd979d6-xhzjb            1/1     Running   0          2m47s
kube-system   etcd-minikube                      1/1     Running   0          2m45s
kube-system   kube-apiserver-minikube            1/1     Running   0          2m45s
kube-system   kube-controller-manager-minikube   1/1     Running   0          2m45s
kube-system   kube-proxy-2bxmn                   1/1     Running   0          2m47s
kube-system   kube-scheduler-minikube            1/1     Running   0          2m45s
kube-system   storage-provisioner                1/1     Running   0          2m51s

This may not help......
Downloaded file is statically linked
$ file ./keptn
./keptn: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, not stripped

Whereas when I compile the binary locally I get a binary that is dynamically linked.
$ file /usr/local/bin/keptn
/usr/local/bin/keptn: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=401084030664184f1c6c3f5eaed8c0ca460552b1, not stripped

So, looking at the relevant code
https://github.com/keptn/go-utils/blob/b186504cff75c5ffd8f0d84cb70cf3ae7df220c3/pkg/api/utils/apiUtils.go#L153-L155
I'm wondering why this fails...

we are seeing this issue also in another environment.
any updates on this?

I was unable to reproduce this so far, so any data that you can collect is helpful, especially:

keptn version
Optional: md5sum of keptn binary (just to be 100% sure)
OS version (e.g., uname -ar and cat /etc/issue)
kubectl version

md5 of keptn f1b530f53be1958825d2579f943ad1ce

lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 20.10
Release:	20.10
Codename:	groovy

uname -ar
Linux ekarlso-p1 5.8.0-33-generic #36-Ubuntu SMP Wed Dec 9 09:14:40 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

keptn version: It crashes
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x38 pc=0x137b0c6]

goroutine 1 [running]:
github.com/keptn/go-utils/pkg/api/utils.(*APIHandler).GetMetadata(0xc0009ec320, 0x0, 0x0)
	/Users/travis/gopath/pkg/mod/github.com/keptn/go-utils@v0.7.2-alpha/pkg/api/utils/apiUtils.go:154 +0x106
github.com/keptn/keptn/cli/cmd.getKeptnServerVersion(0xc000803ea8, 0x1d27b54, 0x5, 0x1)
	/Users/travis/gopath/src/github.com/keptn/keptn/cli/cmd/version.go:155 +0x16f
github.com/keptn/keptn/cli/cmd.runDailyVersionCheck()
	/Users/travis/gopath/src/github.com/keptn/keptn/cli/cmd/root.go:118 +0xf2
github.com/keptn/keptn/cli/cmd.Execute()
	/Users/travis/gopath/src/github.com/keptn/keptn/cli/cmd/root.go:47 +0x39
main.main()
	/Users/travis/gopath/src/github.com/keptn/keptn/cli/main.go:25 +0x6e

I just tried to reproduce, but no luck. This is what I did:

Run ubuntu:20.10 docker container: docker run --rm -it ubuntu:20.10 bash
Update package index: apt update
Install curl and sudo: apt install curl sudo
Install Keptn using quickstart instructions: curl -sL https://get.keptn.sh | sudo -E bash
Verify the md5sum of keptn: md5sum $(which keptn) (FYI: f1b530f53be1958825d2579f943ad1ce)
Run keptn aswell as keptn version:Keptn CLI version: 0.7.3
Keptn cluster version: This command requires to be authenticated. See "keptn auth" for details

Daily version check is enabled.
Keptn will collect statistical data and will notify about new versions and security patches for Keptn. Details can be found at: https://keptn.sh/docs/0.7.x/reference/version_check
---------------------------------------------------
* To disable the daily version check, please execute:
- keptn set config AutomaticVersionCheck false

Install kubectl using curl -LO "https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl", chmod +x ./kubectl and sudo mv ./kubectl /usr/local/bin/kubectl
Run keptn as well as keptn version again - still works
Delete the ~/.keptn folder to ensure everything is fresh: rm -rf ~/.keptn
Run keptn as well as keptn version again - still works

what is really strange: we could successfully do a keptn auth in the environment of @ekarlso but the keptn version fails.

Now I was able to reproduce this. What's happening:
	req.Header.Set("Content-Type", "application/json")

fails, as req is nil. req is nil, because this failed:
	req, err := http.NewRequest("GET", s.Scheme+"://"+s.getBaseURL()+"/v1/metadata", nil)

And that one failed, because s.Scheme+"://"+s.getBaseURL()+"/v1/metadata is not a vaild URL, e.g.:
$ echo "http%2f%2ffoobar
foobar" > ~/.keptn/.keptn
$ keptn

this results in the same error message:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x38 pc=0x137b0c6]

goroutine 1 [running]:
github.com/keptn/go-utils/pkg/api/utils.(*APIHandler).GetMetadata(0xc000141db0, 0x0, 0x0)
	/Users/travis/gopath/pkg/mod/github.com/keptn/go-utils@v0.7.2-alpha/pkg/api/utils/apiUtils.go:154 +0x106
github.com/keptn/keptn/cli/cmd.getKeptnServerVersion(0xc0006a7ea8, 0x1d27b54, 0x5, 0x1)
	/Users/travis/gopath/src/github.com/keptn/keptn/cli/cmd/version.go:155 +0x16f
github.com/keptn/keptn/cli/cmd.runDailyVersionCheck()
	/Users/travis/gopath/src/github.com/keptn/keptn/cli/cmd/root.go:118 +0xf2
github.com/keptn/keptn/cli/cmd.Execute()
	/Users/travis/gopath/src/github.com/keptn/keptn/cli/cmd/root.go:47 +0x39
main.main()
	/Users/travis/gopath/src/github.com/keptn/keptn/cli/main.go:25 +0x6e

So what does this mean? I believe that keptn auth was either passed an invalid URL, or keptn auth stored the URL in an invalid way in the config file.

in the config file in ~/.keptn/.keptn the URL is stored in plain text. no escaping.

Okay, further information: I just installed gpg and pass as detailed by @ankitjain28may in slack:
sudo apt-get install gpg pass -y
gpg --generate-key
pass init <my-public-key>

and removed the .keptn directory:
rm -rf ~/.keptn

After executing
keptn

I also get the same error/stacktrace from above.
So this definately has something to do with the password store

this should have been fixed here: https://github.com/keptn/keptn/issues/2638
can we try with this binary if it still happens?

I can confirm that the current master build does not have this issue.
However, the current master build is most likely not compatible with Keptn 0.7.3.
A workaround (for now) would be to rename ~/.password-store/ to something else  (e.g., ~/.password-store-backup/), but I'm not sure what this would cause for the password manager on Linux, so I can not recommend doing that.
As an alternative workaround, I recommend creating a new user on Linux and working with that user for now, e.g.:
sudo adduser <enter-user-name-here>
sudo -u <enter-user-name-here> bash

I have provided a "known issue" and workarounds in https://github.com/keptn/keptn/issues/2808.
As we have already fixed this for 0.8.0, I will close this issue. We currently do not plan to backport it.

I have provided a "known issue" and workarounds in https://github.com/keptn/keptn/issues/2808.
As we have already fixed this for 0.8.0, I will close this issue. We currently do not plan to backport it.


New dmg for Mac startup

Fixed Xcode bug, and changed to workflow.
Needs testing @meganEJcampbell

Hey @meganEJcampbell  - could you try it again, but this time move the workflow out of the .dmg before running it and see if it works?
Also yes, need Docker running. I will include that as a popup/instruction too :)


Routing continuous requests too fast and then throw 404 or 500。Log content：“production.ERROR: No application encryption key has been specified.”

Laravel Version: 6.9.0
PHP Version: 7.2.18
Database Driver & Version:  MySQL 5.7.26

Description:
When you refresh the page twice in a row, a 404 or 500 error will be thrown！
From the log, you can see: production. Error: no application encryption key has been specified. {"exception": "[object] (runtimeException (Code: 0): no application encryption key has been specified.  PHP: 44)
But appkey has been set，I refresh once normally, and the page can be displayed normally....
After many tests, it is found that this happens occasionally in the following situations:

Page with iframe
AJAX

The common phenomenon when they have problems is that the access route is too fast in one time！

Hi there,
Thanks for reporting but it looks like this is a question which can be asked on a support channel. Please only use this issue tracker for reporting bugs with the library itself. If you have a question on how to use functionality provided by this repo you can try one of the following channels:

Laracasts Forums
Laravel.io Forums
StackOverflow
Discord
Larachat
IRC

However, this issue will not be locked and everyone is still free to discuss solutions to your problem!
Thanks.

This sounds like you're using the .env file to set environment variables, and you're using Apache on Windows. The default behavior of the environment variables are to unset them after the request has been executed. This works with php-fpm and setups where there's one request per process, since environment variables are per-process.
However, the default configuration for Apache on Windows is to execute concurrent php requests within the same process, which means they share the environment variables. When the first requests unsets the variables, the second concurrent request loses them too. This will also affect concurrent requests to different sites, where one site may be using environment variables from another site, when there are concurrent requests to both sites.


Error while deploying cosmosdb container

Getting the following error while  deploying the container for cosmosdb SQL API

Unable to parse request payload due to the following reason: 'Error converting value \"/id\" to type 'Microsoft.Azure.Documents.PartitionKeyDefinition'. Path 'partitionKey
I have created 3 Biceps  file for

Cosmos DB account creation
Cosmos DB sql database support API
container creation
first two deployments worked fine

while running 3rd getting the error as above specifically for "partition key"
Attaching herewith the files 3 bicep & json parameters file for reference
cosmos-sqlcontainer.zip

Do you have a correlation ID from the error? @markjbrown does this look like an error coming from the RP?

The problem is the syntax used. partitionKey property is an array.
partitionKey: {
        paths: [
          '/myPartitionKey'
        ]
        kind: 'Hash'
      }

Here are some example bicep files, https://docs.microsoft.com/en-us/azure/cosmos-db/sql/manage-with-bicep
PS, I don't see any throughput being provisioned in these files. Definitely do not omit setting throughput when provisioning new container or database resources. Especially if you're going to redeploy them to increase or decrease throughput.
PPS, if you are partitioning by /id and only doing point operations (i.e. ReadItemAsync(), CreateItemAsync(), UpdateItemAsync(), DeleteItemAsync(),) you do not need to turn on indexing at all. You can set indexingMode to Off and save RU/s on your writes since these point operations never use the index.

Thanks Mark for the reply
If we need to go for Indexing enabled ,  Indexing policy , then do we need to fill the data manually in portal  ,
then we need to create the bicep script accordingly
please advise
Thanks
Regards
Narinder Singh

If you enable the index policy I would definitely include it in your Bicep file. If you don't, Cosmos will create the indexing policy. So if you try to submit your Bicep file to change something else, it will throw an error because it doesn't match what's on the server.
This is what the default indexing policy looks like.
      indexingPolicy: {
        indexingMode: 'consistent'
        includedPaths: [
          {
            path: '/*'
          }
        ]
        excludedPaths: [
          {
            path: '/_etag/?'
          }
        ]
      }

Thanks Mark , its working for the SQL APIs now , but when I am defining & deploying in  it for Gremlin API...its giving thge following output ... how to define partition key ( format) in bicep  for Gremlin Graph API while creating graph ...
Attaching the bicep file along with Json parameters
cosmos-gremlincontainer.zip

"status":"Failed","error":{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.","details":[{"code":"Conflict","message":"{\r\n  "status": "Failed",\r\n  "error": {\r\n    "code": "ResourceDeploymentFailure",\r\n    "message": "The resource operation completed with terminal provisioning state 'Failed'.",\r\n    "details": [\r\n      {\r\n        "code": "BadRequest",\r\n        "message": "Message: {\"code\":\"BadRequest\",\"message\":\"Message: {\\\"Errors\\\":[\\\"One of the specified inputs is invalid\\\"]}\\r\\nActivityId: ac6c880f-4c67-4922-a23d-ffcbaf56cebf, Request URI: /apps/c21e6828-0313-4658-9618-353217af2fe6/services/b321edcb-4a8c-42f0-939b-30e4331561e3/partitions/ce841e48-c10f-43e8-96a4-fa0f19d7d7cd/replicas/132930132017822207p, RequestStats: , SDK: Microsoft.Azure.Documents.Common/2.14.0\"}, Request URI: /dbs/lsb-cosmos-gremlin-db/colls, RequestStats: , SDK: Microsoft.Azure.Documents.Common/2.14.0, Microsoft.Azure.Documents.Common/2.14.0, Microsoft.Azure.Documents.Common/2.14.0, Microsoft.Azure.Documents.Common/2.14.0, Microsoft.Azure.Documents.Common/2.14.0"\r\n      }\r\n    ]\r\n  }\r\n}"}]}}

Using partition key as
"keyPath": "/id",

attaching full
error_gremlin.txt
error

@nsingh1177 I'm confused. Are you trying to add Gremlin resources to a SQL API account?

no i m adding graph using using gremlin API DB account ....

The resource operation completed with terminal provisioning state 'Failed'.",\r\n    "details": [\r\n      {\r\n        "code": "BadRequest",\r\n        "message": "Message: {\"code\":\"BadRequest\",\"message\":\"Partition key path /id is invalid for Gremlin API. The path cannot be '/id', '/label' or a nested path such as '/key/path'.\\r\\nActivityId: 4ef42434-c2d8-4b69-bfa6-ca1841185c87, Microsoft.Azure.Documents.Common/2.14.0\"}, Request URI: /dbs/lsb-cosmos-gremlin-db/colls, RequestStats: , SDK: Microsoft.Azure.Documents.Common/2.14.0, Microsoft.Azure.Documents.Common/2.14.0, Microsoft.Azure.Documents.Common/2.14.0, Mi

Partition key id is invalid

You can't use /id as a partition key in Gremlin. This is documented here, https://docs.microsoft.com/en-us/azure/cosmos-db/graph/graph-partitioning
It actually makes little sense to use /id as this would result in a key-value table which is useless for graph use-cases. Ideally you want a value you can traverse in-partition.

I have tried other values like /name ... /address  which it also says invalid

Can you share that bicep file using these other partition keys? Can you also share the exact error when using these other pks?

when I am creating graph from portal with any partition value  it creates that without error , but its not taking value from bicep ..

Then something is wrong in your bicep file. Please share this so I can take a look.

cosmosgremlin.zip

SQL API file is working which I am attaching "SQL API "
cosmos-sqlcontainer.zip

There are a number of things I see here that are peculiar. I also see why this is not deploying.
First the peculiar stuff:

The parameters are duplicated for the Cosmos DB account and database. Could probably simplify that to reduce confusion.
If you're not deploying multiples of the same resources at once, there is no need to load and read parameters from an array. In fact, I tend to avoid these because they tend to be different enough to make hard coding values less confusing to others.
The parameter name for the graph database is a bit obscure.
There are values in the json file for the graph which do not specify paths or throughput values are not really useful as parameters since they are almost never different than the default values. In fact, one of the values here was a source for one of the bugs with this file. There are even more examples of this for the Cosmos account.
The use of bounded staleness as a consistency model makes no sense, as well as the K&T values, given this is a single region account and even more so because this is a Gremlin account.
I don't see the need for separating the Cosmos DB account from the database and graph deployments. In fact, separating the account from the child resources may have led to the bug within your bicep.

Issues found:

The bicep file is missing the dependsOn array within the graph definition to the database resource. The error you're getting is because the graph was being created before the database was done being created. Generally speaking, I would keep all Cosmos resources for a workload in the same bicep file rather than splitting them up. This would have uncovered this bug sooner as your graph database would have failed for the same reason. But because these are in separate files, the Cosmos account was already provisioned.
This property was also incorrectly used. automatic:gremlinGraph.autoIndex This was set to false. This throws an error when indexing mode is consistent. Do not include this property when indexing mode is consistent or set to true, easier to simply omit.

Attached is the corrected bicep for the graph.
cosmosgremlin_fixed.zip

After running the second code for gremlincontainer , its gives the following error
{"status":"Failed","error":{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.","details":[{"code":"Conflict","message":"{\r\n  "status": "Failed",\r\n  "error": {\r\n    "code": "ResourceDeploymentFailure",\r\n    "message": "The resource operation completed with terminal provisioning state 'Failed'.",\r\n    "details": [\r\n      {\r\n        "code": "BadRequest",\r\n        "message": "Message: {\"code\":\"BadRequest\",\"message\":\"Message: {\\\"Errors\\\":[\\\"The indexing path '*\\\\/' could not be accepted, failed near position '0'. Please ensure that the path is a valid path. Common errors include invalid characters or absence of quotes around labels.\\\"]}\\r\\nActivityId: fc4f6f26-2980-466d-818a-5415133fad8e, Request URI: /apps/4e8fa6f0-d4ed-4260-b973-a051c268179e/services/1978221d-cae8-46e4-bb75-5393e1bf9c2d/partitions/3c0c7ebd-7ccf-40fa-8c4b-6d4fbe0c01b4/replicas/132925467585963334p, RequestStats: , SDK: Microsoft.Azure.Documents.Common/2.14.0\"}, Request URI: /dbs/database1/colls, RequestStats: , SDK: Microsoft.Azure.Documents.Common/2.14.0, Microsoft.Azure.Documents.Common/2.14.0, Microsoft.Azure.Documents.Common/2.14.0, Microsoft.Azure.Documents.Common/2.14.0, Microsoft.Azure.Documents.Common/2.14.0"\r\n      }\r\n    ]\r\n  }\r\n}"}]}}

Looks like something wrong with your indexing policy for the includedPaths array.


ITE Keyboard scan: add registers for ITE keyboard scan driver

Add registers for it8xxx2 keyboard scan driver.
Signed-off-by: Ruibin Chang<EMAIL_ADDRESS>

Keith comment before:
These should be sorted numerically by the register offset. Also, you need to be consistent with the macro definitions. For example you have IT8XXX2_WUC_WUEMR1 defined as an plain 32-bit value, while the new definitions are cast as ECREG types.
A quick scan through this file shows that all the other registers are defined using ECREGn macros. Please fix the existing Wake-Up control register definitions to match.
======
Reply:
The existing Wake-Up control registers (ex.IT8XXX2_WUC_WUEMR1) are used in gpio_ite_it8xxx2.c.
This PR do a minor change, since threre is a bug on issue tracker. I think I will define interface for configuring wake-up interrupts later, please let me know your thoughts.


[DOC] Update doc generation

Description
Output ("Intel" prefix removed): https://outoftardis.github.io/daal/

Changed Sphinx theme for the one that oneAPI libs are using
Added a new option to control the library name (with or without Intel prefix) at the time of doc generation
Downgraded Sphinx version because the latest version of Sphinx produces an output without proper highlighting for API content (this should be resolved on the theme side)

/intelci: run


Page Builder Similar Tool

Another large lift is not planned for MVP. For dockyard.com we'll continue using admin.dockyard.com as it currently exists (styling included - no Tailwind addition)

Relates to #45


pubsublite: fix lazy loading, remove Topics

Topics is not needed if we lazily create publisher clients on first use.
Don't use the request context when lazily creating a publisher
Close the non-stored publisher on race to store, return the stored one

I have run the systemtests locally, all passing.


Remove duplicates filter

Similar to this  https://www.elastic.co/guide/en/elasticsearch/reference/7.17/analysis-remove-duplicates-tokenfilter.html

I encountered the same issue. Does Tantivy have a deduplication removal operation for the retrieved results?


App crashes when showing the camera

Steps to Reproduce

...
...
...

Target Platform:
Target OS version/browser:
Devices:
Logs

Hi @darrellbulloch
can you please describe the issue in detail
and provide your flutter doctor -v and your flutter run --verbose,
also to better address the issue, would be helpful
if you could post a self contained app on github
or the steps to reproduce it.
Thank you

Did you try the neweset version of 'image_picker'? Because i had this problem as well on samsung devices which seems to be fixed.

Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact descriptions what happens, logs and the output of 'flutter doctor -v'  please.
All system setups can be slightly different so its always better to open new issues and reference related issues.


Review and address audit best practices

Description
Review auditor's comments on best practices and implement appropriate fixes, creating additional tickets as necessary.

raised #3230 to address one of the teku best practices, but this is the only 'best practice' from the audit related to teku that we agreed with that needed addressing prior to release.
The rest of the best practice list is related to discovery and libp2p.

Closing this. The on-going maintenance means the codebase has changed a lot since then and these best practices tend to be quite debatable anyway.


Cannot use this project with yarn or npm

When upgradint to v6.2.0, this error occurs:
╔═════════════════════════════════════════════════════════════╗
║                                                             ║
║   Use "pnpm install" for installation in this project.      ║
║                                                             ║
║   If you don't have pnpm, install it via "npm i -g pnpm".   ║
║   For more details, go to https://pnpm.js.org/              ║
║                                                             ║
╚═════════════════════════════════════════════════════════════╝

Why you are requiring pnpm?
https://github.com/arthurfiorette/fast-defer/runs/4980449823?check_suite_focus=true

+1

@yowainwright Perhaps you meant to require pnpm for development of es-check itself? As-is, you are also requiring pnpm for all projects that depend on es-check too.

@andersk @arthurfiorette @droobertzka holy s**t! 😞
I'm sorry!
Thank you!
Fixing.


edit post & update jarrod info

some slight stylistic edits to post. I also changed my email address

excellent! thank you very much! :)


Uses StylePropertyMapReadOnly in polyfill

Updates computedStyleMap function to return a StylePropertyMapReadOnly instance
Makes StylePropertyMapReadOnly.styles a private member
Makes StylePropertyMapReadOnly iterable
Adds MockCSSStyleDeclaration for testing
Adds a custom Symbol.toStringTag to StylePropertyMapReadOnly

Current dependencies on/for this PR:

main

PR #24

PR #25   👈

This comment was auto-generated by Graphite.

Merge Activity

Sep 28, 10:55 PM: @tylergaw started a stack merge that includes this pull request via Graphite.


Skype: PostBack is not hidden

Hello!
I've got the problem, that in skype, when i click on a button that has the Actiontype "PostBack", the client does show the "Value" of the button.
The Docs say:
"Text of message which client will post to bot. Client applications will not display this message. "
The problem for me is, that depending on the value I do stuff in my bot. But the value might be a long hex code or something more ugly and I really dont want the user to see that.
That behavior happens on both, the desktop and mobile version of skype.
Greetings

postBack doesn't work on skype yet, it must be imBack?

imBack has the exact same behaviour for me (and I think for imBack its correct)

In imBack you can send the information in meta tags to hide them from user.
see rhis issue #993

For example:
"Visible text"

For example:
"Visible text<meta hiddenID=’10’/>"

But I link the issue #993 where I am sending meta which is not hiding on some clients


Remove unwrap_tensor_subclass

Summary:
unwrap_tensor_subclass is incorporated in export stack natively after https://github.com/pytorch/pytorch/pull/127431 so we can remove this workaround now
Test Plan:
python test/quantization/test_quant_api.py
python test/integration/test_integration.py
Reviewers:
Subscribers:
Tasks:
Tags:

@pytorchbot merge

Is this still in the roadmap?

yeah, this is going to be unblocked/fixed by https://github.com/pytorch/pytorch/pull/141941


A Process for Community-Created Blocks to be Considered for "Official" Build Adoption?

Hi Carlos and the Rest of the ArduBlockly Community,
After many late nights, along with Carlos' amazing help and the nice ArduBlockly/Blockly infrastructure, I've been able to create a block to read an InfraredRx module, useful for basic remote-control of a simple bot. Since the received Keycodes are Hex-Based, this new block has the capability to return either a 'Long' or "String' type output. Also built-in is a debug feature using the Serial Monitor. A photo of it is shown below:

I have a big-picture question, regarding this new block or any other new block that might be useful for the community (so they don't have to go through 're-creating the wheel/block' ;),
Is there a 'review' process to follow -- so that any created blocks from the community can be considered for adoption into the "official" build?
Thanks again for your precious time Carlos.  :)
Jason

Hi Carlos and Others,
I also need to apologize if the block's appearance looks 'unconventional'.  As a Tech Teacher for Elementary to High School, the above block is an 'Educational Version' -- embedded with key teaching points.
Thus, I am open to any inputs on a more standardized appearance.  Perhaps, the 'read SERVO from Pin __' could be a possible template.
For example, to handle the 8 Hex-Digit Output as either Text (String) or Large Number (Long):

'read INFRARED RX from Pin __ as Type: [Text|Large Number]' or
'read IrRx from Pin __ as Type: [Text|Large Number]'.

:)  Jason

Okay, here are two versions: 1) 'Educational' with Serial Monitor value printouts for debugging and 2) 'Basic'.  Here are the current screenshots...

Educational Version

Note that the 'Optional Debug' checkbox has been replaced by the dropdown menu (since I could not get the checkbox to update real-time the textual-code):

And 2) Basic Version:

Kindly provide any constructive inputs, since I wish to be compliant to any important standards.
Thanks again Carlos for your helpful instructions for creating new blocks.  My students from Elementary to High School students (and their parents :) are very appreciative.
Look forward in understanding the process for submitting a block for adoption.  :)

Hi Jason,
The plan for the blocks is two have two main sources.

All Arduino included library blocks (https://www.arduino.cc/en/Reference/HomePage) should go within the blockly directory, in their respective block and generator folders.
Any additional blocks should go into the top-level "blocks" directory.

The idea is to have only the default blocks available in the toolbox and then have a menu to select which blocks from the "blocks" directory to include as well.
Ideally, once this feature is finished, everything should be automatically scanned simply by placing the files in that folder. There is a readme in https://github.com/carlosperate/ardublockly/tree/master/blocks with bit more info.
So, in the near future, following the steps from the documentation/wiki (which still needs to be done) should allow you to easily take advantage of all the Ardublockly features, concentrating all code within those files, as shown in https://github.com/carlosperate/ardublockly/tree/master/blocks/grove
We could start adding these blocks in that directory, but because some of these features are still under work everything is a little bit "up in the air".

Thanks Carlos for the kind explanation.    I totally understand that 'things are under construction' aspect.  That's part of the 'pioneering' process.  ;)
As a positive encouragement, I've been able to test the above 'created' block with my students who are using ArduBlockly, and they (as well as their parents) are totally excited about what you've created through this Visual Programming IDE.
I have an eighth grader who is able to tinker with the Arduino text coding, even only after a few sessions with ArduBlockly.  :)
Thanks again 'Carlos and others' for each of your hard work in programming and sharing your efforts with others like us.   :)
Jason


Regularly causes actual cargo build/run to crash

If in sublime I'm making changes and Ctrl + S and then Ctrl + B to save and run. More often than not the cargo run crashes. If I save then wait ~ 3 seconds (for lint to finish) then Ctrl + B then it runs fine. I did manage to setup my run so that everything builds into a different target folder and that didn't crash. Same happens if i use cargo check Would it be possible to have this build into some temp folder or something instead?

I'd be open to a PR to fix this. The problem with a temp folder is that it would need to cover over the entire structure, which could be expensive.

I have some local changes that set the CARGO_TARGET_DIR in an env copy before running the lint for cargo. Then sublimelint's target dir becomes target/sublimelint

(Oops hit comment too early)
I can do a PR with these changes. They don't currently take into account if the variable was already set however which I'd like to account for before doing a PR

That seems like a reasonable solution to the problem. A PR would definitely be welcome.


Update max lambda size message

Summary

Test plan

Visit the Deploy Preview (insert link to specific page) ...

Relevant links (GitHub issues, Notion docs, etc.) or a picture of cute animal
Standard checks:

[ ] Check the Deploy Preview's Demo site for your PR's functionality
[ ] Add docs when necessary

🧪 Once merged, make sure to update the version if needed and that it was
published correctly.

Related issue: https://github.com/netlify/pod-ecosystem-frameworks/issues/386


added CF dependency

makes sure routing is in place before installing\configuring httpd
Description of changes:
When deploying the spoke architecture template the routes needs to be in place before launching the application instances. Otherwise the installation and configuration process of httpd failed due to the lack of internet connectivity.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

#2 this is related

I have merged your PR.

I have merged your PR.


"Throwables cannot be used in combination with formatted log messages." inspection is not legitimate for SLF4J 1.6.0 and later

For example, the inspection currently complains about this line, which is perfectly valid for SLF4J 1.6.0 and later:
logger.error("Error: {}", blah, new Exception());

See http://slf4j.org/faq.html#paramException.
Ideally, the plugin should figure out what version of SLF4J is being used by the project, and change the behavior of the inspection accordingly.

There is also a slight variation of this same issue. The following line also is legitimate for SLF4J 1.6.0 and later, and tells SLF4J to replace the placeholder with the exception's toString():
logger.error("Error: {}", e);

but it causes the following inspection error:
"The formatted log messages expects 1 arguments, passed 0."

Never mind, I just realized that IntelliJ now has a similar inspection built in. It's just not enabled by default.


Video playback freezes when 2 video tabs are side by side

Bug description
Video playback freezes when 2 video tabs are side by side when video hardware acceleration is enabled
Steps to reproduce the behavior
Open 2 /watch?v=... tabs side by side
Browser
Chrome, Microsoft Edge, Opera
Operating system
Windows
Extension version
2.37.29
The bug still happens in these conditions

[X] The bug still persist when I disable all other extensions (ex. in incognito mode with only this extension enabled)
[X] When I logged out of my YouTube account (ex. in incognito mode)
[X] In incognito mode

Additional context and/or screenshots
This bug has been reported to the chromium developers. More information:
https://bugs.chromium.org/p/chromium/issues/detail?id=1461254

[x] Reported to the Chromium developers
[ ] Fixed by the Chromium developers

Known workarounds:

Add --enable-features=DXGIWaitableSwapChain to the Chrome/Edge/Opera shortcut

I'm closing this issue since this is a bug in chromium for which I cannot implement a workaround. The workaround has been added to the document Troubleshooter - Known issues


Update .NET Framework to 4.8

Simpler version of #404 to test if the failing workflow has anything to do with the change to the sdk format. If this passes without a hitch, then I'll have to revisit the sdk version and see what can be fixed there. If this also fails, there's likely something wrong with the workflow itself.

Got the sdk version working; closing


the dialog box for path to database does not display .db files on windows

does anyone have any more info on this issue? I'm not seeing it with the v2.3 release
but just want to make sure there weren't specific steps to reproduce? https://github.com/plotly/falcon-sql-client/releases/tag/v2.3-pre

@cldougl - this refers to the SQLite connection which basically just loads a sqlite .db file from the file system. On Mac, clicking on the "path" setting should open up the native mac file explorer, allowing you to select a sqlite file from your filesystem. This wasn't working on Windows systems - the native windows file explorer didn't open. I'm not sure if this has been fixed or not.

Thanks for clarifying @chriddyp
Looks like this is still an issue, the windows file explorer opens but only folders are visible (not files i.e the .db files)
Here you should see a test.db file:
like you do on the mac:

Closed #41 via #242.


PowerTools doesn't install

I tried to install PowerTools as mentioned in Microsoft PowerTools and got an error Couldn't find manifest for 'powertoys'.

PowerTools is not in the main scoop bucket but in scoop-extras. See Scoop extras for details on adding scoop-extras bucket to your bucket list.

PowerTools is not in the main scoop bucket but in scoop-extras. See Scoop extras for details on adding scoop-extras bucket to your bucket list.


Demo Sample Zip files

Add the demo sample zip files to the side bar so they will be available for download by demo users.

Also, use "Demo App V3" instead of "app" will do. Then you can remove the V1 and V2 from the side bar


Improve ByID and ByName speed of  FindElement

I found the source code of  FindElement ByID and ByName is just call css selector.
Is there any method to speed up? (I use chromedrive)

This package just wraps the API provided by ChromeDriver, Geckodriver, or WebDriver. The call from this package to the "server" that implements the actual logic is a simple POST request.
https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#sessionsessionidelement
https://www.w3.org/TR/webdriver/#find-element
The newer versions of those components implement the second API. That specification removed the special cases for searching by ID and name in favor of using the more generic CSS selector strategy.
If you have performance issues with ChromeDriver, you should file a bug with performance data (e.g. benchmark results) and specific expectations with them.


Add PLSRegressor to the model registry

cc @filipebraida @azev77 @tlienart
I'm on leave next week. Will try to get this done soon after I return. Thanks for your patience.

I am updating the README to add more details and example with MLJ. After that, we will release a new version. One question: @tlienart told us to change the name of the package. Do you continue with this?

It's your package so name it as you think is best :) my main point was about discoverability I think but it's up to you.
Great job on pushing this through!

I am updating the README to add more details and example with MLJ. After that, we will release a new version. One question: @tlienart told us to change the name of the package. Do you continue with this?

Cool. Ping this thread when you're ready.

Hey guys, we are at the end of process.
We changed the package name.
Also, I was updating the README.md with an example, then some questions arised.
I don't want to standardize date before model tuning, because it is not the correct way.
Hence, I realized that I don't know how to standardize data inside a Grid Search.
r1 and r2 can't be found inside the pipeline. Is there any way to do this?
using MLJBase, RDatasets, MLJTuning
@load KPLSRegressor pkg=PartialLeastSquaresRegressor

# loading data and selecting some features
data = dataset("datasets", "longley")[:, 2:5]

# unpacking the target
y, X = unpack(data, ==(:GNP), colname -> true)

# loading the model
regressor = KPLSRegressor()
pls_model = @pipeline Standardizer regressor target=Standardizer

# defining hyperparams for tunning
r1 = range(pls_model, :width, lower=0.001, upper=100.0, scale=:log)
r2 = range(pls_model, :n_factors, lower=1, upper=2)

# attaching tune
self_tuning_pls_model = TunedModel(model =          pls_model,
                                   resampling = CV(nfolds = 10),
                                   tuning = Grid(resolution = 100),
                                   range = [r1,r2],
                                   measure = mae)

# putting into the machine
self_tuning_pls = machine(self_tuning_pls_model, X, y)

# fitting with tunning
fit!(self_tuning_pls, verbosity=0)

# getting the report
report(self_tuning_pls)

Yes, this kind of thing is possible by rolling your own composite model. See here for a similar issue. If you're still stuck ping me here or on slack and I work out something.

For my reference: https://github.com/lalvim/PartialLeastSquaresRegressor.jl

@ablaom @tlienart @azev77
Guys, we're done here. The package is ready and renamed. You can already put it in the registry.
About the previous example that I was talking about pipeline and grid, I decided to leave it out because it would be just an example of use in the readme.

@lalvim Trouble adding to your models to the registry. Are you able to explain this:
(registry) pkg> add PartialLeastSquaresRegressor
ERROR: The following package names could not be resolved:
 * PartialLeastSquaresRegressor (not found in project, manifest or registry)

julia> using Pkg

julia> Pkg.add(uuid="f4b1acfe-f311-436c-bb79-8483f53c17d5")
ERROR: The following package uuids could not be resolved:
 * f4b1acfe-f311-436c-bb79-8483f53c17d5

Stacktrace:
 [1] pkgerror(::String) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.5/Pkg/src/Types.jl:52
 [2] ensure_resolved(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}; registry::Bool) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.5/Pkg/src/Types.jl:837
 [3] add(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}; preserve::Pkg.Types.PreserveLevel, platform::Pkg.BinaryPlatforms.MacOS, kwargs::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.5/Pkg/src/API.jl:178
 [4] add(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.5/Pkg/src/API.jl:140
 [5] #add#21 at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.5/Pkg/src/API.jl:67 [inlined]
 [6] add at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.5/Pkg/src/API.jl:67 [inlined]
 [7] #add#19 at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.5/Pkg/src/API.jl:65 [inlined]
 [8] add at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.5/Pkg/src/API.jl:65 [inlined]
 [9] add(; name::Nothing, uuid::String, version::Nothing, url::Nothing, rev::Nothing, path::Nothing, mode::Pkg.Types.PackageMode, subdir::Nothing, kwargs::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.5/Pkg/src/API.jl:82
 [10] top-level scope at REPL[14]:1

Sorry, @ablaom .
We did everything we agreed but the register would be missing. I just did it now!

No worries 😄

As new package there is the 3-day stand-down period. Maybe place a [noblock] comment requesting this be waved, in view of the fact it is only a name change and the change is to make it more informative??

https://github.com/JuliaRegistries/General/pull/22871#issuecomment-707493612

I went to post the comment, and they had already posted it for me. I didn't know that detail. Thank you!

Yeah, that was me :-)

Ready! Merge was done

No. It's still open:

My email deceived me, and it was another repository that had merge. Sorry.
Now it's gone. :D

@filipebraida I'm sorry but there is a minor issue with PLSRegressor that prevents it being included in the MLJ registry. The package_name trait is not set correctly
https://github.com/lalvim/PartialLeastSquaresRegressor.jl/blob/446a1f5982398140329a2f6eb65a0b91a7cb1ca8/src/mlj_interface.jl#L112
The correct entry is name       = "PartialLeastSquares Regressor" (no spaces).

Also I see you do not specify a load_path for your models (path = ... in the MMI.metadata_model macros).
I will make a PR to fix these things for you.

Okay, I've hacked a registry entry.
In any case, @filipebraida  can you please merge https://github.com/lalvim/PartialLeastSquaresRegressor.jl/pull/16 soon and tag a new release. Otherwise I'll run into issues next time the registry is updated. Thanks.

Thanks, @ablaom .
I merged lalvim/PartialLeastSquaresRegressor.jl#16 and make a new release.
https://github.com/JuliaRegistries/General/pull/23208


Outdated default channel

This component defines stable-4.4 as the update channel. New clusters get setup up with version 4.8. As a result, the cluster version operator is complaining.
Steps to Reproduce the Problem

Set up a cluster according to https://kb.vshn.ch/oc4/how-tos/cloudscale/install.html (or on Exoscale).
Check Administration -> Cluster Settings in the web console

Actual Behavior

Update channel is set to stable-4.4
Last installed version is 4.8.*
Cluster version operator is complaining about version not found in channel.

Expected Behavior

The update channel matches the installed version

See #4


Error: ReferenceError: reject is not defined

While working with your example. I am getting Error: ReferenceError: reject is not defined.
I have followed all the steps as mention in document but getting error in
Cashfree.checkout(skdInput).then(function (txResponse) {
console.log(txResponse);
}, function (response) {
console.log('err', response)
});
Please can you help me for the same.
Thanks

Hi,
Please update the cashfree.js file of the plugin folder www folder to the attached code.
Then it will work fine.
cashfree.txt

Your sdk input is wrong. I was also facing same error. i corrected my sdk input now its working fine.

@SnehaKotawade @madhab-miraki Should work now ... repo has been updated.

Hello kshirish..
I tried your repository but I'm facing an error that 'Corodova is not defined'. Am I need to include any js file in my index.html


WIP: Replace SpanInfo with HIE Files

Removes all traces of SpanInfo, adds HIE file support for 8.6, interns in a version of HieBin that supports updating the NameCache.
New features:

Document Highlight

Re-implemented features:

Hover
Go to (type)definition

Missing features:

The "relevant constraint" on hover stuff.
I will add this once @mpickering approves my typeclass info GHC MR.

Fixed:

readHieFile uses and updates the global IDE NameCache atomically

Internal changes:

We now have a global NameCache
HIE file generation for 8.6, adapted from 8.8
HieBin module copied in for all versions of GHC
Add useWithStaleFast' to both return a stale result as well as a barrier to wait on the up-to-date result
New Rules:

GetHieFile - self explanatory - potential for improvement
GetRefMap - Generate a references map from the HIE file - used for document highlight
GetDocMap - Generate a map from names to documentation - used for hover

TODO:

[ ] Make hie/hi file generation more robust
[x] ~Investigate if we really need to load ifaces for all downstream modules in order to generate the DocMap~ Guess we do

Overall needs good. Definitely needs comments clarify what is going on in getHomeHieFile.
Tested so far on ghicde and generic-lens, going to test on GHC now.


Roll Flutter Engine from f5c1650c7acc to 7f9b1ab9cce7 (1 revision)

https://github.com/flutter/engine/compare/f5c1650c7acc...7f9b1ab9cce7
2023-07-21<EMAIL_ADDRESS>Roll Skia from 4857e876d8cf to 3dd45617581b (1 revision) (flutter/engine#43883)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC bdero@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


feat(core/bench): add fs, monoiofs and compfs benchmark

Part of #4552.
This PR introduces a benchmark that compares the performance of OpenDAL services fs, monoiofs (and compfs, but unfortunately commented out since it is still a work in progress and did not finish the benchmark).
Concurrent benchmarks uses .chunk(size).concurrent(parallel) rather than polling several independent io tasks (which is the way bench/ops benchmarks). Not sure which one simulates real world better.
Full benchmark result is as follows. I'm going to write a progress report of monoiofs along with a brief analysis of the result on the mailing list, so stay tuned. :yum:

Benchmark result
read 4.00 KiB/fs        time:   [27.531 µs 27.614 µs 27.710 µs]
                        thrpt:  [140.97 MiB/s 141.46 MiB/s 141.89 MiB/s]
read 4.00 KiB/monoiofs  time:   [30.880 µs 32.507 µs 34.392 µs]
                        thrpt:  [113.58 MiB/s 120.17 MiB/s 126.50 MiB/s]
Found 20 outliers among 100 measurements (20.00%)
  4 (4.00%) low severe
  1 (1.00%) low mild
  6 (6.00%) high mild
  9 (9.00%) high severe

read 256 KiB/fs         time:   [64.932 µs 69.819 µs 73.971 µs]
                        thrpt:  [3.3005 GiB/s 3.4968 GiB/s 3.7599 GiB/s]
read 256 KiB/monoiofs   time:   [49.171 µs 50.267 µs 51.240 µs]
                        thrpt:  [4.7646 GiB/s 4.8568 GiB/s 4.9651 GiB/s]

read 4.00 MiB/fs        time:   [985.53 µs 986.56 µs 987.66 µs]
                        thrpt:  [3.9551 GiB/s 3.9595 GiB/s 3.9636 GiB/s]
Found 11 outliers among 100 measurements (11.00%)
  2 (2.00%) low severe
  2 (2.00%) low mild
  3 (3.00%) high mild
  4 (4.00%) high severe
read 4.00 MiB/monoiofs  time:   [230.23 µs 232.47 µs 234.54 µs]
                        thrpt:  [16.655 GiB/s 16.803 GiB/s 16.967 GiB/s]
Found 5 outliers among 100 measurements (5.00%)
  5 (5.00%) low severe

Benchmarking read 16.0 MiB/fs: Warming up for 3.0000 s
Warning: Unable to complete 100 samples in 10.0s. You may wish to increase target time to 12.5s, enable flat sampling, or reduce sample count to 60.
read 16.0 MiB/fs        time:   [2.4754 ms 2.4769 ms 2.4785 ms]
                        thrpt:  [6.3043 GiB/s 6.3084 GiB/s 6.3120 GiB/s]
Found 7 outliers among 100 measurements (7.00%)
  5 (5.00%) high mild
  2 (2.00%) high severe
read 16.0 MiB/monoiofs  time:   [1.7233 ms 1.7337 ms 1.7459 ms]
                        thrpt:  [8.9495 GiB/s 9.0123 GiB/s 9.0668 GiB/s]
Found 6 outliers among 100 measurements (6.00%)
  1 (1.00%) high mild
  5 (5.00%) high severe

read concurrent 16x4.00 KiB/fs
                        time:   [298.61 µs 306.31 µs 315.15 µs]
                        thrpt:  [198.32 MiB/s 204.04 MiB/s 209.31 MiB/s]
read concurrent 16x4.00 KiB/monoiofs
                        time:   [234.62 µs 244.44 µs 253.48 µs]
                        thrpt:  [246.57 MiB/s 255.69 MiB/s 266.39 MiB/s]

read concurrent 16x256 KiB/fs
                        time:   [399.76 µs 404.79 µs 409.38 µs]
                        thrpt:  [9.5420 GiB/s 9.6502 GiB/s 9.7715 GiB/s]
Found 1 outliers among 100 measurements (1.00%)
  1 (1.00%) low mild
read concurrent 16x256 KiB/monoiofs
                        time:   [327.93 µs 339.69 µs 351.85 µs]
                        thrpt:  [11.102 GiB/s 11.500 GiB/s 11.912 GiB/s]

read concurrent 16x4.00 MiB/fs
                        time:   [6.9919 ms 7.0599 ms 7.1296 ms]
                        thrpt:  [8.7663 GiB/s 8.8528 GiB/s 8.9389 GiB/s]
read concurrent 16x4.00 MiB/monoiofs
                        time:   [8.7125 ms 8.7150 ms 8.7180 ms]
                        thrpt:  [7.1691 GiB/s 7.1715 GiB/s 7.1736 GiB/s]
Found 3 outliers among 100 measurements (3.00%)
  2 (2.00%) high mild
  1 (1.00%) high severe

read concurrent 16x16.0 MiB/fs
                        time:   [24.318 ms 24.443 ms 24.569 ms]
                        thrpt:  [10.175 GiB/s 10.228 GiB/s 10.280 GiB/s]
read concurrent 16x16.0 MiB/monoiofs
                        time:   [33.131 ms 33.149 ms 33.168 ms]
                        thrpt:  [7.5375 GiB/s 7.5417 GiB/s 7.5458 GiB/s]
Found 2 outliers among 100 measurements (2.00%)
  2 (2.00%) high mild

write 4.00 KiB/fs       time:   [32.943 µs 33.006 µs 33.073 µs]
                        thrpt:  [118.11 MiB/s 118.35 MiB/s 118.58 MiB/s]
Found 15 outliers among 100 measurements (15.00%)
  2 (2.00%) high mild
  13 (13.00%) high severe
write 4.00 KiB/monoiofs time:   [62.287 µs 66.421 µs 70.833 µs]
                        thrpt:  [55.148 MiB/s 58.810 MiB/s 62.713 MiB/s]
Found 14 outliers among 100 measurements (14.00%)
  12 (12.00%) low severe
  2 (2.00%) high severe

write 256 KiB/fs        time:   [122.46 µs 129.67 µs 137.91 µs]
                        thrpt:  [1.7702 GiB/s 1.8828 GiB/s 1.9936 GiB/s]
Found 21 outliers among 100 measurements (21.00%)
  20 (20.00%) low severe
  1 (1.00%) high severe
write 256 KiB/monoiofs  time:   [125.98 µs 126.22 µs 126.46 µs]
                        thrpt:  [1.9306 GiB/s 1.9343 GiB/s 1.9380 GiB/s]

write 4.00 MiB/fs       time:   [1.8901 ms 1.9275 ms 1.9553 ms]
                        thrpt:  [1.9978 GiB/s 2.0265 GiB/s 2.0667 GiB/s]
write 4.00 MiB/monoiofs time:   [1.1394 ms 1.1405 ms 1.1416 ms]
                        thrpt:  [3.4218 GiB/s 3.4251 GiB/s 3.4283 GiB/s]
Found 1 outliers among 100 measurements (1.00%)
  1 (1.00%) high severe

write 16.0 MiB/fs       time:   [5.0289 ms 5.0352 ms 5.0416 ms]
                        thrpt:  [3.0992 GiB/s 3.1031 GiB/s 3.1071 GiB/s]
write 16.0 MiB/monoiofs time:   [5.3379 ms 5.3411 ms 5.3444 ms]
                        thrpt:  [2.9236 GiB/s 2.9254 GiB/s 2.9272 GiB/s]
Found 1 outliers among 100 measurements (1.00%)
  1 (1.00%) high mild

write concurrent 16x4.00 KiB/fs
                        time:   [150.81 µs 150.93 µs 151.05 µs]
                        thrpt:  [413.78 MiB/s 414.09 MiB/s 414.43 MiB/s]
Found 7 outliers among 100 measurements (7.00%)
  1 (1.00%) low severe
  2 (2.00%) low mild
  2 (2.00%) high mild
  2 (2.00%) high severe
write concurrent 16x4.00 KiB/monoiofs
                        time:   [324.57 µs 335.41 µs 346.54 µs]
                        thrpt:  [180.36 MiB/s 186.34 MiB/s 192.56 MiB/s]
Found 12 outliers among 100 measurements (12.00%)
  10 (10.00%) low severe
  1 (1.00%) high mild
  1 (1.00%) high severe

write concurrent 16x256 KiB/fs
                        time:   [1.6521 ms 1.6540 ms 1.6558 ms]
                        thrpt:  [2.3591 GiB/s 2.3617 GiB/s 2.3644 GiB/s]
Found 4 outliers among 100 measurements (4.00%)
  2 (2.00%) low mild
  2 (2.00%) high severe
write concurrent 16x256 KiB/monoiofs
                        time:   [1.3098 ms 1.3107 ms 1.3118 ms]
                        thrpt:  [2.9779 GiB/s 2.9802 GiB/s 2.9824 GiB/s]
Found 2 outliers among 100 measurements (2.00%)
  2 (2.00%) high mild

write concurrent 16x4.00 MiB/fs
                        time:   [26.624 ms 26.687 ms 26.750 ms]
                        thrpt:  [2.3364 GiB/s 2.3420 GiB/s 2.3475 GiB/s]
Found 2 outliers among 100 measurements (2.00%)
  2 (2.00%) high mild
write concurrent 16x4.00 MiB/monoiofs
                        time:   [23.338 ms 23.354 ms 23.369 ms]
                        thrpt:  [2.6745 GiB/s 2.6762 GiB/s 2.6780 GiB/s]
Found 6 outliers among 100 measurements (6.00%)
  6 (6.00%) low mild

write concurrent 16x16.0 MiB/fs
                        time:   [95.318 ms 95.462 ms 95.609 ms]
                        thrpt:  [2.6148 GiB/s 2.6188 GiB/s 2.6228 GiB/s]
Found 2 outliers among 100 measurements (2.00%)
  2 (2.00%) high mild
write concurrent 16x16.0 MiB/monoiofs
                        time:   [94.194 ms 94.233 ms 94.275 ms]
                        thrpt:  [2.6518 GiB/s 2.6530 GiB/s 2.6541 GiB/s]
Found 7 outliers among 100 measurements (7.00%)
  2 (2.00%) low mild
  4 (4.00%) high mild
  1 (1.00%) high severe

Thank you very much for your work! I have noticed that Monoio performs well on single reads but not as effectively on concurrent ones. Could this be related to our thread-per-core design? Are there any plans to improve it?

Thank you very much for your work! I have noticed that Monoio performs well on single reads but not as effectively on concurrent ones. Could this be related to our thread-per-core design? Are there any plans to improve it?

Monoiofs is currently single threaded (let worker_threads = 1;) wile fs runs on multiple threads. There seems to be some deadlock bug with multiple worker thread that I'm investigating. The performance should be improved after fixing the bug, enabling worker thread pool and binding them to cpu cores.

Thank you very much for your work! I have noticed that Monoio performs well on single reads but not as effectively on concurrent ones. Could this be related to our thread-per-core design? Are there any plans to improve it?

Monoiofs is currently single threaded wile fs

Thank you very much for your work! I have noticed that Monoio performs well on single reads but not as effectively on concurrent ones. Could this be related to our thread-per-core design? Are there any plans to improve it?

Also, PositionWrite is not implemented for monoiofs.


Bluetooth: controller: Fix v1.9-branch from v1.11.0

Assorted Bluetooth controller fixes from v1.11.0 backported to v1.9-branch.

Will see this for 1.10 as well?

@galak, can I believe that a release process to fix the last 2 releases with backports from bug fixes in current release to be followed? if so, then makes sense to make a 1.10.x releases
I will check if i can prepare a PR with no major effort...

@carlescufi I will include the ll_filter commit too (once it is merged to master), then run conformance tests.


Support for Objective C

I want to use Computer Vision OCR Cognitive Service for iOS project written in Objective-C. Can you help? Or suggest some other SDK if you know.
Thanks

You can import a Swift bridging header inside your Objective-C.
#import "ProductModuleName-Swift.h"
(Replace ProductModuleName with yours)
Here is the Apple documentation:
https://developer.apple.com/library/content/documentation/Swift/Conceptual/BuildingCocoaApps/MixandMatch.html
Let me know if it worked :)


HTTPS for osscdn.com?

It'd be great if osscdn.com had https available. Shouldn't need any explanation to be honest.
If you're looking to avoid costs you can always use letsencrypt for free, works great.

@TheRealMarnes are you referring to the website (https://osscdn.com/#/) or the assets (//oss.maxcdn.com/slimscroll/1.3.7/jquery.slimscroll.js) ?

I'd say both. At the moment neither has working https for me. Is it
supposed to have?
@TheRealMarnes https://github.com/TheRealMarnes are you referring to the
website (https://osscdn.com/#/) or the assets (//
oss.maxcdn.com/slimscroll/1.3.7/jquery.slimscroll.js) ?
—
Reply to this email directly or view it on GitHub
https://github.com/MaxCDN/osscdn/issues/67#issuecomment-178702225.

The website is lacking https, but the assets aren't:
$ curl -I https://oss.maxcdn.com/ripple.js/0.3.2/ripple.min.js
HTTP/1.1 200 OK
Date: Tue, 02 Feb 2016 17:49:53 GMT
Content-Type: application/javascript; charset=utf-8

The website will be soon.

Closing for now


getting the conda env right for msmc

one design question here is that i've now re-introduced a extern folder where msmc is downloaded and built. not sure if we want to keep that in the long run, but it didn't make sense to me to put msmc into n_t if we will use it for mulitpopulation tasks as well. thoughts?

going to merge these small changes so @jgallowa07 can plug away at the msmc pipeline. we can refactor any structural changes later I reckon.

one design question here is that i've now re-introduced a extern folder where msmc is downloaded and built. not sure if we want to keep that in the long run, but it didn't make sense to me to put msmc into n_t if we will use it for mulitpopulation tasks as well. thoughts?

Hard to know what the best thing to do is --- let's see where it goes for now would be my vote.