log in using cookies for the "normal" mod

When you log in to the "safe" mod using cookies, everything works. It doesn't work with the "normal" mod.
headless: True

shows "The cookies login failed, please go to the browser to log in manually and try again."

shows "The cookies login failed, please go to the browser to log in manually and try again."

I've tried it 3 times)

shows "The cookies login failed, please go to the browser to log in manually and try again."

I've tried it 3 times)

are u select "stay singned in"?

shows "The cookies login failed, please go to the browser to log in manually and try again."

I've tried it 3 times)

are u select "stay singned in"?

yeap, it shows this problem even when you log in successfully in safe mode

shows "The cookies login failed, please go to the browser to log in manually and try again."

I've tried it 3 times)

are u select "stay singned in"?

yeap, it shows this problem even when you log in successfully in safe mode

that is meaningless.nvm

Logically speaking, if logging in to safe mode is successful, then it should be successful in normal mode and everything is fine with cookies

Logically speaking, if logging in to safe mode is successful, then it should be successful in normal mode and everything is fine with cookies

this "cookies button" is not the same thing like cookies with login.so it will never matter.just igore

Now I have entered the normal mod using cookies, but headless was set to False. When headless: True and you try to log in using cookies, it doesn't work.

I started logging in debug mode in the python version. I get a response with code 404 on the button.osano-cm-accept-all element
2024-02-08 20:54:13,001 DEBUG: Remote response: status=404 | data={"value":{"error":"no such element","message":"no such element: Unable to locate element: {"method":"css selector","selector":"button.osano-cm-accept-all"}\n (Session info: chrome=121.0.6167.161)","stacktrace":"\tGetHandleVerifier [0x00471673+52979]\n\t(No symbol) [0x003F7961]\n\t(No symbol) [0x002DDD3D]\n\t(No symbol) [0x00315FBB]\n\t(No symbol) [0x003160FB]\n\t(No symbol) [0x0034CF92]\n\t(No symbol) [0x00334534]\n\t(No symbol) [0x0034B3FE]\n\t(No symbol) [0x00334286]\n\t(No symbol) [0x0030C063]\n\t(No symbol) [0x0030CECD]\n\tGetHandleVerifier [0x00788D83+3294723]\n\tGetHandleVerifier [0x007C6CC2+3548482]\n\tGetHandleVerifier [0x007C1C9C+3527964]\n\tGetHandleVerifier [0x0050870E+671630]\n\t(No symbol) [0x00401EB4]\n\t(No symbol) [0x003FD808]\n\t(No symbol) [0x003FD92D]\n\t(No symbol) [0x003EF7E0]\n\tBaseThreadInitThunk [0x7650FCC9+25]\n\tRtlGetAppContainerNamedObjectPath [0x779B7B1E+286]\n\tRtlGetAppContainerNamedObjectPath [0x779B7AEE+238]\n"}} | headers=HTTPHeaderDict({'Content-Length': '969', 'Content-Type': 'application/json; charset=utf-8', 'cache-control': 'no-cache'})

cant find button.osano-cm-accept-all element is ok.
Don't worry about this place anymore. It won't affect anything. Just ignore it. The error report has nothing to do with it.also The cookies in this place have nothing to do with the cache login used.

cant find button.osano-cm-accept-all element is ok. Don't worry about this place anymore. It won't affect anything. Just ignore it. The error report has nothing to do with it.also The cookies in this place have nothing to do with the cache login used.

ideas that is, why doesn't it start with headless: true? when everything is fine with cookies and safe mode works. And it works in the normal mode with headless: true
but I need exactly headless:true and normal mod

cant find button.osano-cm-accept-all element is ok. Don't worry about this place anymore. It won't affect anything. Just ignore it. The error report has nothing to do with it.also The cookies in this place have nothing to do with the cache login used.

ideas that is, why doesn't it start with headless: true? when everything is fine with cookies and safe mode works. And it works in the normal mode with headless: false
but I need exactly headless:true and normal mod

In fact, safe mode and normal mode have no impact on whether the script can log in normally.It's confusing if you can't run it properly


be compatible with yesod 1.4.*

Hi~ ^^
I've made some change, to made this package comatible with Yesod 1.4.*.
BTW. I didn't touched the version number of this package.

Thanks for this! The patch looks good as far as I can tell, although currently my only yesod-auth-bcrypt using project has not been converted to yesod-1.4.
Note that I am not the maintainer of the hackage version of the package (and this is not the git tree that it is built from). I'll make this into a PR against upstream...
Thanks again!

Oh.. Then.. Why the hackage page said you were the uploader, and pointed to your git repository? XD

Hi Cindy,

Oh.. Then.. Why the hackage page said you were the uploader, and pointed to your git repository? XD

Errm, because I am? Sorry, I'd completely forgotten that Ollie made me an uploader, and indeed that I uploaded the previous version.
I've now uploaded 0.2.0 including your fixes. Please let me know of any problems. And thanks so much for the patch!
Regards,
Toby.

It works! Thank you ^^


Add files via upload

Possible logo files.  Easily edited for color, physical changes, just an option.

We should add these files to pongball-assets repository. And keep in mind the folder structure.


Optimise de novo path enumeration and limit max size of candidate regions

Firstly, apologies this PR is so big. I didn't realise I already had commits on my fork at hadn't been merged in dev so this PR has two main themes.

Some optimisations for path enumeration in de novo discovery. Before exploring a node, we check if the shortest path from that node to the end kmer is less or equal to max_path_length - path_accumulator.length(). If it is not, no need to explore this path.

Add a maximum length parameter to the function that finds low coverage intervals for candidate regions. This closes #182

In addition, I have made separated commits that reformat all files touched by these changes re: #154

Don't want this discussion to disappear once I resolve the conversation https://github.com/rmcolq/pandora/pull/186#discussion_r336424985


Add Issues and Pull Request templates to the project

Actual Behavior
Currently neither Issues nor PR template exist for the project.
Expected Behavior
Create Issues and PR templates.
Steps to reproduce it
Create an issue or PR.
Would you like to work on the issue?
Yes.

Fixed by 934f85849cea88d278d838a6bfd9e9dff6edb402
Thanks for the suggestion 👍


understand use/re-use conditions

As an end user,
I need to be able to understand the use/re-use conditions associated with an object,
So I can be confident that I am using the materials appropriately.

provide proper copyright and use conditions.

@lmballinger I assume you mean something other than a rights statement? Such as having rights statements auto-link to rightstatements.org to clarify?


Performing unnecessary updates of clusterRoleBindings for globalRoleBindings

When the controller for a globalRoleBinding runs, we determine if we
need to create, update, or delete a corresponding clusterRoleBinding.
For update, if we find an existing clusterRoleBinding, we then do a
deepEquals on the binding's actual subject (that represents the user)
against the expected subject (constructed from the globalRoleBinding).
This comparison was flawed because we were not setting the APIGroup
field and so we were always performing an update on the clusterRoleBinding.
The was no user impact because the update is effectively a no-op but
it is inefficent to be performing these updates all the time. This bug
is primarily observable by multiple log entries like this on startup:
2018/06/20 17:13:48 [INFO] [mgmt-auth-grb-controller] Updating clusterRoleBinding cattle-globalrolebinding-globalrolebinding-5hfmf for globalRoleBinding globalrolebinding-5hfmf user user-mxrq6

Tested with rancher server version - v2.0.3-rc2.
When creating a user , there is no logs relating to "Updating clusterRoleBinding" found .
2018/06/21 18:32:20 [INFO] Creating new GlobalRoleBinding for GlobalRoleBinding grb-2b9wk
2018/06/21 18:32:20 [INFO] [mgmt-auth-grb-controller] Creating clusterRoleBinding for globalRoleBinding grb-2b9wk for user u-gckbz with role cattle-globalrole-user


Civiform Admin can create accounts for TIs

Can TIs create accounts themselves? Or does the UAT admin have to do that?

New: we will let the Civiform admins create TIs.
@gcapiel says:

A UAT admin has a page to create TI orgs
A TI org has a set of IDCS users that can sign-in on behalf of that org and are referred to as org users.  The set is managed by the UAT admin.
Org users can only belong to one org


blood-red magboots need an on icon

Description
the opposite of #28354

I was just testing, and this issue appears to be fixed. The internals and jetpack icons do not display the on light but i assume that is not what you are talking about? Should they?

Disregard my previous comment if you got a notification for that, I just realized you're not talking about the action icon but the inventory icon. I will look into that.


added threat level

LGTM! maybe a log statement when these state transitions happen so we know what's going on? I can imagine it's quite abrupt right now


Clean up in the STC classes

It's mainly based on IntelliJ IDEA inspections.

In general what I dont like so much is having a having method call or complex expression in a return statement. That makes debugging much more difficult than needed in my eyes. Same for the cases in which you go through a list of checks, then I wont let the last check just return using an expression. There are multiple cases like those in this pull request. What I mean is that we can do all those changes, but frankly I dont think that most of them really improve the code quality or readability of the code. The loop changes for example and the one generics change are fine. But making return statements more complex.... dont really like that I must say. The cases of local variables before branches and them having a value set, that is then also set in all cases of the branches... that change is ok too for me

I have no problem removing the changes on the return statements, it's indeed more a matter of taste and personal workflow for debugging (I don't mind stepping inside methods, but that's me), and I certainly don't want to upset other people's workflows.

don't worry about upsetting my workflow ;) If you have new code that does this, no problem. For existing code... well, I would prefer to keep the status quo in that case and do such changes really only if it is more than just a matter of taste ;)

Merged the commits! Thanks! :+1:

Thanks Pascal.
For the record, I'm still working on finding a test proving the fix in what is now 197472c, but haven't had enough time until today. I should have more time on Monday.

Well, I haven't been able to create a test that would fail without the fix, because it always fails because of other generics-related bugs anyway :smile:. So I've tackled those instead.


What kind of GPU do I need

First of all thank you for your excellent work, here I would like to ask if I only have a 3090GPU can run your work？

We use one 2080Ti. 3090 is more than enough.


Document long-term project strategy

The vision and development plan for this project must be formalized so all stakeholders can have clear expectations around development support for Classy. This is specifically not about operational support (which is the domain of whoever installs the Classy instance for the course).
Classy will be developed as a microkernel that lives in ubccpsc/classy. Any course can fork this repo and make any changes they want to their own fork. Courses should only deploy from their own forks.
Courses are encouraged to issue PRs to ubccpsc/classy during the final exam period of any given term for any bug fixes to the core classy code, or to add general functionality that should be included in the classy microkernel. The bar for acceptance for these PRs will be high; they should be well tested and should clearly be applicable to many courses.
The details of this policy will reside in ubccpsc/classy/README.md

@nickbradley are we going to have to do something like this in the end when we remove things from master but want them to persist in the forks? I still worry what happens when the forks pull from master though....
https://stackoverflow.com/questions/45885425/git-how-do-i-delete-files-in-upstream-repo-but-not-from-my-fork

Interested parties are welcome to reopen this issue in future if we wish to clarify / improve / ammend this policy or continue this discussion.


Bottom border of collapsed cell looks messy

Testing #103887
The extra border here looks rather messy:

If we want to indicate there's folded content, maybe a light or dashed border aligned with the vertical centerline of the folded icon would look better?

IMHO the bottom border for the collapsed outputs is not intuitive. I'm wondering if we can show a gray italic text "collapsed outputs" cc @misolori ?

We could either add a ... in place:

Or add text:

I think I like the simpler ... approach and we can show a title tooltip when you hover over it

If we have a ... do we need the other expand codicon button? A ... button is literally just Jupyter's solution. Not opposed to it though.

I would still keep our expand icon on the side, it’s more intuitive. The ... by itself is but vague. We also show the ... on folded regions in the editor And show the folded chevron on the side, so it aligns there.

To me having the folded icon beside the ... icon feels weird. We basically have two icons that do the same thing. I prefer the text version.

@connor4312 but isn't that the same behavior in editor though?

Yea, but in the editor the context is different -- the gutter shows me my blocks (which just happens to be collapsed in this instance) while the editor shows me the content, which it indicates is collapsed.
... to the middle I think would look nicer. Particularly if we decide to make the whole bar clickable. This is similar to what the Azure portal does extensively

Oh I definitely like that. One thing we'd need to work around is how it looks when it's centered because of our add new cell buttons:

Collapsed cell has been updated:


Add UT test checks and coverage for Chaoscenter Auth, GQL and Web

With the ongoing effort of adding unit tests it will be good to add Github actions to run the unit tests and calculate the test coverage in all the three modules - Chaoscenter Auth, Graphql and Web.

@Saranya-jena , i would like to work on this.
Thanks


fix DOCKER_USERNAME typo

As seen at https://circleci.com/gh/Azure/draft/15.

@bacongobbler,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Tests for line parser added

Resolves: #38

PR-Codex overview
This PR adds a LineParser class to the org.objectionary.parsing package and updates related files.
Detailed summary

Adds LineParser class to org.objectionary.parsing package
Updates Parser.java to import ObjectsBox
Adds package-info.java to org.objectionary.parsing package
Adds ParseLineTest.java to test LineParser class

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

@Graur please, have a look

@yegor256 please, have a look

@rultor merge

@rultor merge

@yegor256 OK, I'll try to merge now. You can check the progress of the merge here


Fix catalog image workflow

Wait for other image builds finishes before building catalog image.

Merge it to test the workflow


Bug 1876874: [audit] log request and response bodies for identities

/retest
/lgtm
/approve

/bugzilla refresh


click issue in Features section

Describe the bug

In the features section the lists are clickable even when cursor is far away.

Possible solution

May be enhancement in code part by editing bootstrap code/class .
If anyone wants to solve, go ahead

https://user-images.githubusercontent.com/73425223/111690560-5b476200-8853-11eb-945c-8e093b9647db.mp4
Screenshots

Here i attached a short video for this.

I would like to work on this issue

I'm a GSSoC participant, and I want to work on this issue please assign to me!

Hey @harikesh409 I'm a GSSoC participant and I want to work in this issue, please assign me this issue.

Hey @Astrodevil I'm GSSoC participant and I would like to work on this issue. Please assign me this issue.

Can I work on this issue under GSSoC'21? Kindly assign it to me.

Hi, could I please be assigned this issue as a GSSoC participant?

This issue is not yet solved please assign to someone @ravikr126 @harikesh409

Go ahead @abhishek96k


can't run valid.py

after python run/pose2d/valid.py --cfg experiments-local/mixed/resnet50/256_fusion.yaml
size mismatch for aggre_layer.aggre.0.weight: copying a param with shape torch.Size([6400, 6400]) from checkpoint, the shape in current model is torch.Size([4096, 4096]). size mismatch for aggre_layer.aggre.1.weight: copying a param with shape torch.Size([6400, 6400]) from checkpoint, the shape in current model is torch.Size([4096, 4096]).         size mismatch for aggre_layer.aggre.2.weight: copying a param with shape torch.Size([6400, 6400]) from checkpoint, the shape in current model is torch.Size([4096, 4096]).         size mismatch for aggre_layer.aggre.3.weight: copying a param with shape torch.Size([6400, 6400]) from checkpoint, the shape in current model is torch.Size([4096, 4096]).         size mismatch for aggre_layer.aggre.4.weight: copying a param with shape torch.Size([6400, 6400]) from checkpoint, the shape in current model is torch.Size([4096, 4096]).         size mismatch for aggre_layer.aggre.5.weight: copying a param with shape torch.Size([6400, 6400]) from checkpoint, the shape in current model is torch.Size([4096, 4096]).         size mismatch for aggre_layer.aggre.6.weight: copying a param with shape torch.Size([6400, 6400]) from checkpoint, the shape in current model is torch.Size([4096, 4096]).         size mismatch for aggre_layer.aggre.7.weight: copying a param with shape torch.Size([6400, 6400]) from checkpoint, the shape in current model is torch.Size([4096, 4096]).         size mismatch for aggre_layer.aggre.8.weight: copying a param with shape torch.Size([6400, 6400]) from checkpoint, the shape in current model is torch.Size([4096, 4096]).         size mismatch for aggre_layer.aggre.9.weight: copying a param with shape torch.Size([6400, 6400]) from checkpoint, the shape in current model is torch.Size([4096, 4096]).         size mismatch for aggre_layer.aggre.10.weight: copying a param with shape torch.Size([6400, 6400]) from checkpoint, the shape in current model is torch.Size([4096, 4096]).         size mismatch for aggre_layer.aggre.11.weight: copying a param with shape torch.Size([6400, 6400]) from checkpoint, the shape in current model is torch.Size([4096, 4096]).
how can i solve it ?  thank you.

Have you solved it? How do you solve it?


SFDX update is not removing old version

Summary
Old version of sfdx is not removed after update. I am always using sfdx update command.
Steps To Reproduce:

Update sfdx with sfdx update
check folder C:\Users\UserName\AppData\Local\sfdx\client if contains old versions

Expected result
Old version is removed after a successful update.
Actual result
Old versions are not removed and take disk space.
System Information
Windows 10 21H2
Additional information

Hi @PawelWozniak This is actually working as designed. OCLIF has an update --from-localoption. After a certain amount of time, if that version hasn't been used, it will go back through and delete it. These old versions should be cleaned up automatically.


drivers: tee: optee: Implementation of the multiple Optee driver nodes support

The implementation of the multiple Optee driver nodes support for the driver.
This will help handling the situation, which is possible, according to the GP documentation:
[ TEE1 ] -> [ REE (Zephyr) ] <- [ TEE2 ]
Although there is no real case for now, this approach has a better fitment to Zephyr driver model.

pls, fix compliance checks:
 Commit be5ad31e61:
1: UC6 Commit message body is empty, should at least have 1 line(s).

Commit a95cfc1473:
1: UC6 Commit message body is empty, should at least have 1 line(s).

Commit 73297c6b84:
1: UC6 Commit message body is empty, should at least have 1 line(s).
Error: Process completed with exit code 1.

pls, fix compliance checks:
 Commit be5ad31e61:
1: UC6 Commit message body is empty, should at least have 1 line(s).

Commit a95cfc1473:
1: UC6 Commit message body is empty, should at least have 1 line(s).

Commit 73297c6b84:
1: UC6 Commit message body is empty, should at least have 1 line(s).
Error: Process completed with exit code 1.

Can't fix that because all 3 commits are fixups.

pls, fix compliance checks:
 Commit be5ad31e61:
1: UC6 Commit message body is empty, should at least have 1 line(s).

Commit a95cfc1473:
1: UC6 Commit message body is empty, should at least have 1 line(s).

Commit 73297c6b84:
1: UC6 Commit message body is empty, should at least have 1 line(s).
Error: Process completed with exit code 1.

Can't fix that because all 3 commits are fixups.

You definitely can, just add a commit message body


Redacting sensitive HTTP responses lost in orchestrator migration

The middleware implementation had a sensitive() function on the ParseHttpResponse trait that would conditionally redact logging of the HTTP response. This was lost during the orchestrator implementation and needs to be ported over.
Old implementation:
https://github.com/awslabs/smithy-rs/blob/2d61502221d446695f6a0ff9799352ab38ad31cd/rust-runtime/aws-smithy-http/src/response.rs#L64-L69
https://github.com/awslabs/smithy-rs/blob/2d61502221d446695f6a0ff9799352ab38ad31cd/rust-runtime/aws-smithy-http/src/middleware.rs#L137-L145

The reason credentials exposure detection tests added in https://github.com/awslabs/smithy-rs/pull/2603 still pass in the orchestrator, even though we haven't ported the pieces of code above to the orcestrator, is that even in the orchestrator, code execution paths still go through aws_smithy_http::middleware::load_response.
As of today, CredentialsProviders in aws_config, such as ImdsCredentialsProvider and HttpCredentialProvider, use a smithy client with middleware (example). This means the pieces of code above are used even in the orchestrator.
Only after middleware has been removed, do credentials exposure detection tests start failing in the orchestrator.


k3sup: init at 0.11.3

Motivation for this change
k3sup is a light-weight utility to get from zero to KUBECONFIG with k3s on any local or remote VM.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[x] x86_64-darwin
[ ] aarch64-darwin

[x] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

@ofborg eval


Targets and Receptions are the same for players.

I am looking at the targets and receptions for an upcoming game this weekend, but I am getting the same number for both stats.
Here is the code:
for t in ['PHI','WAS']:
    q = nfldb.Query(db)
    q.game(season_year=2016,season_type='Regular',team=t)
    q.play_player(receiving_rec__ge=1,team=t)
    for p in q.sort('receiving_yds').as_aggregate():
        print p.receiving_rec,p.receiving_tar,p.player

And here is the output:
57 57 Jordan Matthews (PHI, WR)
47 47 Zach Ertz (PHI, TE)
45 45 Darren Sproles (PHI, RB)
33 33 Dorial Green-Beckham (PHI, WR)
31 31 Nelson Agholor (PHI, WR)
22 22 Trey Burton (PHI, TE)
7 7 Brent Celek (PHI, TE)
11 11 Ryan Mathews (PHI, RB)
6 6 Paul Turner (PHI, WR)
3 3 Bryce Treggs (PHI, WR)
13 13 Josh Huff (TB, WR)
6 6 Wendell Smallwood (PHI, RB)
3 3 Kenjon Barner (PHI, RB)
1 1 Carson Wentz (PHI, QB)
58 58 Jamison Crowder (WAS, WR)
59 59 Pierre Garcon (WAS, WR)
39 39 DeSean Jackson (WAS, WR)
59 59 Jordan Reed (WAS, TE)
36 36 Vernon Davis (WAS, TE)
37 37 Chris Thompson (WAS, RB)
8 8 Matt Jones (WAS, RB)
2 2 Josh Doctson (WAS, WR)
6 6 Ryan Grant (WAS, WR)
7 7 Maurice Harris (WAS, WR)
1 1 Quinton Dunbar (WAS, CB)
2 2 Niles Paul (WAS, TE)
2 2 Derek Carrier (WAS, TE)
1 1 Rashad Ross (WAS, WR)
4 4 Rob Kelley (WAS, RB)

Is there an issue with my code or is the an issue with the database?
Thanks,
Sanchez

You're filtering on only plays where a reception was recorded.
On Dec 10, 2016 2:15 PM, "theSanchize3"<EMAIL_ADDRESS>wrote:

I am looking at the targets and receptions for an upcoming game this
weekend, but I am getting the same number for both stats.
Here is the code:
for t in ['PHI','WAS']:
q = nfldb.Query(db)
q.game(season_year=2016,season_type='Regular',team=t)
q.play_player(receiving_rec__ge=1,team=t)
for p in q.sort('receiving_yds').as_aggregate():
print p.receiving_rec,p.receiving_tar,p.player
And here is the output:
57 57 Jordan Matthews (PHI, WR)
47 47 Zach Ertz (PHI, TE)
45 45 Darren Sproles (PHI, RB)
33 33 Dorial Green-Beckham (PHI, WR)
31 31 Nelson Agholor (PHI, WR)
22 22 Trey Burton (PHI, TE)
7 7 Brent Celek (PHI, TE)
11 11 Ryan Mathews (PHI, RB)
6 6 Paul Turner (PHI, WR)
3 3 Bryce Treggs (PHI, WR)
13 13 Josh Huff (TB, WR)
6 6 Wendell Smallwood (PHI, RB)
3 3 Kenjon Barner (PHI, RB)
1 1 Carson Wentz (PHI, QB)
58 58 Jamison Crowder (WAS, WR)
59 59 Pierre Garcon (WAS, WR)
39 39 DeSean Jackson (WAS, WR)
59 59 Jordan Reed (WAS, TE)
36 36 Vernon Davis (WAS, TE)
37 37 Chris Thompson (WAS, RB)
8 8 Matt Jones (WAS, RB)
2 2 Josh Doctson (WAS, WR)
6 6 Ryan Grant (WAS, WR)
7 7 Maurice Harris (WAS, WR)
1 1 Quinton Dunbar (WAS, CB)
2 2 Niles Paul (WAS, TE)
2 2 Derek Carrier (WAS, TE)
1 1 Rashad Ross (WAS, WR)
4 4 Rob Kelley (WAS, RB)
Is there an issue with my code or is the an issue with the database?
Thanks,
Sanchez
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/BurntSushi/nfldb/issues/217, or mute the thread
https://github.com/notifications/unsubscribe-auth/AC237Rym0LPVN2p_Y2AyfzEQMAxdvUtuks5rGwh-gaJpZM4LJv3E
.

Oh, I didn't realize that. How would I get the number of targets and receptions of all the players with at least one catch on the season?

With the line q.play_player(receiving_rec__ge=1,team=t) you're throwing away all plays that didn't record a reception.  Just don't do that if you want to get targets that didn't result in a reception.
import nfldb

db = nfldb.connect()
q = nfldb.Query(db)
q.game(season_year=2016, season_type='Regular')
q.play_player(receiving_tar__ge=1)

for p in q.sort('receiving_tar').as_aggregate():
    if p.receiving_rec:
        print p.receiving_rec, p.receiving_tar, p.player

80 144 Mike Evans (TB, WR)
93 138 Antonio Brown (PIT, WR)
79 134 Odell Beckham (NYG, WR)
92 131 Larry Fitzgerald (ARI, WR)
75 128 Emmanuel Sanders (DEN, WR)
78 127 T.Y. Hilton (IND, WR)
75 125 Jordy Nelson (GB, WR)
76 119 Demaryius Thomas (DEN, WR)
71 119 Michael Crabtree (OAK, WR)
57 118 Allen Robinson (JAC, WR)
63 117 Terrelle Pryor (CLE, WR)
59 116 DeAndre Hopkins (HOU, WR)
57 114 Brandon Marshall (NYJ, WR)
73 114 Amari Cooper (OAK, WR)
72 113 Julio Jones (ATL, WR)
...


TypeError: fetch failed

Actual Behavior
node:internal/process/promises:288
            triggerUncaughtException(err, true /* fromPromise */);
            ^

TypeError: fetch failed
    at Object.fetch (node:internal/deps/undici/undici:11576:11)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async makeRequest (/Users/yubowen/Desktop/MyPrivate/node_modules/@google/generative-ai/dist/index.js:195:20)
    at async generateContentStream (/Users/yubowen/Desktop/MyPrivate/node_modules/@google/generative-ai/dist/index.js:519:22)

Node.js v18.18.0

Steps to Reproduce the Problem

npm install @google/generative-ai

const { GoogleGenerativeAI } = require("@google/generative-ai");

// Access your API key as an environment variable (see "Set up your API key" above)
const genAI = new GoogleGenerativeAI('xxxxxxxxxxxxxxxx');

async function run() {
  // For text-only input, use the gemini-pro model
  const model = genAI.getGenerativeModel({ model: "gemini-pro" });

  const prompt = "Write a story about a magic backpack."

  const chat = await model.startChat('');
  const result = await chat.sendMessageStream(prompt);
  let text = ''
  for await (const chunk of result.stream) {
    text += chunk.text();
  }
  console.log(text);
}

run();

node index.js

Specifications

Version:  Node.js v18.18.0, "@google/generative-ai": "^0.1.3"
Platform: macOS 12.6.5

got same errorw
const { GoogleGenerativeAI } = require('@google/generative-ai')

const genAI = new GoogleGenerativeAI('AIzaSyDImeEYJKLgiAS_7MmXT_sRmuYKl9aQoMM')

async function run () {
  const model = genAI.getGenerativeModel({ model: 'gemini-pro'})

  const prompt = 'Write a story about a AI.'

  const result = await model.generateContent(prompt)
  const response = await result.response
  const text = response.text()
  console.log(text)

}

run()

output:

node:internal/process/promises:289
triggerUncaughtException(err, true /* fromPromise */);
^
TypeError: fetch failed
at Object.fetch (node:internal/deps/undici/undici:11730:11)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async makeRequest (/Users/janber/Documents/demo/test/node_modules/@google/generative-ai/dist/index.js:195:20)
at async generateContent (/Users/janber/Documents/demo/test/node_modules/@google/generative-ai/dist/index.js:525:22)
at async handle (/Users/janber/Documents/demo/test/ai/test.js:10:18)
Node.js v20.10.0

same error, how to fix it?

same error +1

const { GoogleGenerativeAI } = require("@google/generative-ai");

// Access your API key as an environment variable (see "Set up your API key" above)
const genAI = new GoogleGenerativeAI('xxxxxxxxxxxxxxxx');

async function run() {
  // For text-only input, use the gemini-pro model
  const model = genAI.getGenerativeModel({ model: "gemini-pro" });

  const prompt = "Write a story about a magic backpack."

  const chat = await model.startChat('');
  const result = await chat.sendMessageStream(prompt);
  let text = ''
  for await (const chunk of result.stream) {
    text += chunk.text();
  }
  console.log(text);
}

run();

Try replacing:
const chat = await model.startChat("");

with:
const chat = model.startChat({});

I've copy-pasted the entire sample code as provided in the original post, inserted my API key, and run it using<EMAIL_ADDRESS>and Node 18.18.0 and was unable to reproduce it.
This seems odd because the fetch call is wrapped in a try/catch where any error should be caught and wrapped in GoogleGenerativeAIError (line 91) with some additional text, but in these error logs, fetch seems to be throwing an uncaught exception that is bypassing this try/catch, as I don't see any of the error wrapper text that the catch block should add.
https://github.com/google/generative-ai-js/blob/main/packages/main/src/requests/request.ts#L68
According to https://github.com/nodejs/undici/issues/1248 there should be a cause property on the error, if you have a way to catch it and inspect it.
For anyone who wants to make small modifications to the node_modules code themselves that you think will fix it, there's always https://www.npmjs.com/package/patch-package.

@objectIsNotDefined Please revoke your API key. I edited the comment, but since it's leaked you need to invalidate it.
@iProgramme @lzghades @objectIsNotDefined from which region you are trying to access Gemini API?
Available regions: https://ai.google.dev/available_regions
Not important, but if you are running async function from the main module, then you should handle Promise rejection e.g., like that:
run().catch((e) => {
  console.error(e);
  process.exit(1)
})

@xuzhiyang
试了一下只能改sdk里的indexjs了，先安装npm i undici，然后修改代码
const { ProxyAgent } = require('undici');
async function makeRequest(url, body) {
let response;
try {
const proxyHost = 'xxx';
const proxyPort = xxx;
const proxyUrl = http://${proxyHost}:${proxyPort};
const client = new ProxyAgent(proxyUrl);
response = await fetch(url.toString(), {
method: "POST",
headers: {
"Content-Type": "application/json",
"x-goog-api-client": getClientHeaders(),
"x-goog-api-key": url.apiKey,
},
body,
dispatcher: client
});

@xuzhiyang @lzghades There are a lot of programs that do not use the system proxy. In such cases, you need to use tun mode.

const { GoogleGenerativeAI } = require("@google/generative-ai");

// Access your API key as an environment variable (see "Set up your API key" above)
const genAI = new GoogleGenerativeAI('xxxxxxxxxxxxxxxx');

async function run() {
  // For text-only input, use the gemini-pro model
  const model = genAI.getGenerativeModel({ model: "gemini-pro" });

  const prompt = "Write a story about a magic backpack."

  const chat = await model.startChat('');
  const result = await chat.sendMessageStream(prompt);
  let text = ''
  for await (const chunk of result.stream) {
    text += chunk.text();
  }
  console.log(text);
}

run();

Try replacing:
const chat = await model.startChat("");

with:
const chat = model.startChat({});

got the same error.
I use it in China，and I still got the same error when using VPN to proxy to Taiwan or Japan

@xuzhiyang @lzghades There are a lot of programs that do not use the system proxy (such as node fetch). In such cases, you need to use tun mode or deploy a proxy on your router. And it is also common to patch node_modules with tools like patch-package, yarn patch, or pnpm patch

The VPN software I am using is Clash Verge, and I have selected a Japanese node. I have tried enabling the tun mode in the terminal once, and also attempted to directly activate the tun mode using Clash Verge (reference link: Clash Verge教程). However, I still encounter the same error

what do you mean by enabling the tun mode in the terminal once? i feel you did not enable it at all. anyway i am confident that's the solution to your problem and you should search more tutorials about that, which is totally off the topic here. @iProgramme

what do you mean by enabling the tun mode in the terminal once? i feel you did not enable it at all. anyway i am confident that's the solution to your problem and you should search more tutorials about that, which is totally off the topic here. @iProgramme

So, I reported that error in China because the Chinese region does not support accessing Google. Is it possible to use VPN and enable tun mode to be effective?

我用中文再重复一遍吧，对于墙一类的问题，在任何repo提都不合适，因为他们什么也做不了解决不了。而你要做的是使用合理的代理工具和代理模式。正如我上面所言，很多程序和应用并不走系统代理，所以一般的proxy对于他们并不生效，这里也是这样一种情况。tun模式和路由代理是常见的更底层的透明代理，可以用于解决这类情况，具体怎么配置，碰到哪些环境问题，怎么调试等等，远远超出我几个字能解释的范围，所以建议你去别处搜索和学习。

楼主问题还没解决？下面是解决方法
google api:
const { setGlobalDispatcher, ProxyAgent } = require("undici");  const dispatcher = new ProxyAgent({ uri: new URL(process.env.https_proxy).toString() }); //全局fetch调用启用代理 setGlobalDispatcher(dispatcher);
随便跟你说下openai的
const { HttpsProxyAgent } = require('https-proxy-agent'); const openai = new OpenAI({     apiKey: XXXXXXXXX,     httpAgent: new HttpsProxyAgent(process.env.https_proxy)  // 设置代理 });
PS： 记得在控制台设置https_proxy变量
export https_proxy=http://<IP_ADDRESS>:7890 http_proxy=http://<IP_ADDRESS>:7890 all_proxy=socks5://<IP_ADDRESS>:7890

楼主问题还没解决？下面是解决方法 google api: const { setGlobalDispatcher, ProxyAgent } = require("undici"); const dispatcher = new ProxyAgent({ uri: new URL(process.env.https_proxy).toString() }); //全局fetch调用启用代理 setGlobalDispatcher(dispatcher);
随便跟你说下openai的 const { HttpsProxyAgent } = require('https-proxy-agent'); const openai = new OpenAI({  apiKey: XXXXXXXXX,  httpAgent: new HttpsProxyAgent(process.env.https_proxy) // 设置代理 });
PS： 记得在控制台设置https_proxy变量 export https_proxy=http://<IP_ADDRESS>:7890 http_proxy=http://<IP_ADDRESS>:7890 all_proxy=socks5://<IP_ADDRESS>:7890

我成功了，如下图。

我的解决方案是把 process.env.https_proxy 直接改成我的地址 http://<IP_ADDRESS>:7890。所以说，如果是运行在一个项目中，可以在运行时将地址设置到环境变量中来解决该问题
完整代码如下
const { GoogleGenerativeAI } = require("@google/generative-ai");
const { setGlobalDispatcher, ProxyAgent } = require("undici");
const dispatcher = new ProxyAgent({ uri: new URL('http://<IP_ADDRESS>:7890').toString() });
setGlobalDispatcher(dispatcher);
// Access your API key as an environment variable (see "Set up your API key" above)
const genAI = new GoogleGenerativeAI('xxxxxxxxxxxxx');

async function run() {

  // For text-only input, use the gemini-pro model
  const model = genAI.getGenerativeModel({ model: "gemini-pro"});

  const prompt = "Write a story about a magic backpack."

  const result = await model.generateContent(prompt);
  const response = await result.response;
  const text = response.text();
  console.log(text);
}

run();

参考：https://www.hehehai.cn/posts/set-nextjs-fetch-proxy-agent
<EMAIL_ADDRESS>版本支持传递 requestOptions 来设置请求参数, 虽然这次更新主要为了支持 timeout ，但是依然可以传递其他参数。
import { GoogleGenerativeAI } from '@google/generative-ai'
import { ProxyAgent } from 'undici'

const genAI = new GoogleGenerativeAI(ENV.GEMINI_AI_API_KEY || '')
const geminiStream = await genAI
      .getGenerativeModel({ model: 'gemini-pro' }, {
        agent:
          ENV.LOCAL_FETCH_PROXY
            ? new ProxyAgent(ENV.LOCAL_FETCH_PROXY)
            : undefined,
      } as any)
      .generateContentStream(...)

参考：https://www.hehehai.cn/posts/set-nextjs-fetch-proxy-agent
<EMAIL_ADDRESS>版本支持传递 requestOptions 来设置请求参数, 虽然这次更新主要为了支持 timeout ，但是依然可以传递其他参数。
import { GoogleGenerativeAI } from '@google/generative-ai'
import { ProxyAgent } from 'undici'

const genAI = new GoogleGenerativeAI(ENV.GEMINI_AI_API_KEY || '')
const geminiStream = await genAI
      .getGenerativeModel({ model: 'gemini-pro' }, {
        agent:
          ENV.LOCAL_FETCH_PROXY
            ? new ProxyAgent(ENV.LOCAL_FETCH_PROXY)
            : undefined,
      } as any)
      .generateContentStream(...)

In fact, the fetchOptions parameter is currently not initialized with parameters other than timeout
https://github.com/google/generative-ai-js/blob/c230732baa03ea19d146b598154ebbc5c87e1708/packages/main/src/requests/request.ts#L110-L119

I got a similar error too, is there a solution? (still error if using gemini-1.5-pro).
This error appears when I send pdf and video files (images work fine, audio not tested)

I switched to node version 20 from 18, it started to work.

this repo support the proxy feature: https://github.com/wujohns/google-generative-ai

My solution to not breaking the code structure is:
const http = require('http')
const httpProxy = require('http-proxy')
const { HttpsProxyAgent } = require('https-proxy-agent')

const proxy = httpProxy.createProxyServer()
const agent = new HttpsProxyAgent('http://<IP_ADDRESS>:7890')

const server = http.createServer(function (req, res) {
  //   req.headers.host = 'api.openai.com'
  req.headers.host = 'generativelanguage.googleapis.com'
  proxy.web(req, res, {
    target: 'https://generativelanguage.googleapis.com', // google
    // target: 'https://api.openai.com/v1', // openai
    agent,
  })

  proxy.on('error', function (err) {
    console.log(err)
  })
})
server.listen(8080, '<IP_ADDRESS>')

Then use it in the code:
const { GoogleGenerativeAI } = require("@google/generative-ai");

// Access your API key as an environment variable (see "Set up your API key" above)
const genAI = new GoogleGenerativeAI('xxxxxxxxxxxxxxxx');

async function run() {
  // For text-only input, use the gemini-pro model
  const model = genAI.getGenerativeModel({ model: "gemini-pro" }, { baseUrl:'http://<IP_ADDRESS>:8080' }); // setup baseUrl

  const prompt = "Write a story about a magic backpack."

  const chat = await model.startChat('');
  const result = await chat.sendMessageStream(prompt);
  let text = ''
  for await (const chunk of result.stream) {
    text += chunk.text();
  }
  console.log(text);
}

run();


Update for Angular 15

Update ng2-ui-auth for Angular 15.
This repo has builds committed to its /dist directory. We should probably automate it, but I suspect it will change infrequently and I'd like to get the migration to Angular 16 unblocked (not a typo -- first bringing this into Angular 15, to limit the scope, then we'll the UI upgrade to Angular 16 separately).
To review the non-build changes, look at the package.json, package-lock.json, public_api.ts and ng2-ui-auth-module.ts, and README.md files.
I have tested this locally with Dockstore, using the technique described in @david4096 's comment here -- there will be a corresponding UI pr that uses this module directly from GitHub, without npm.
dockstore/dockstore#3641
DOCK-1475

Not going to do this, see this comment.


fix: command response processing issues

Fix command response processing issues introduced by notification handling.
This includes:

Random hangs due to writes to channels with no readers.
Potential race when reusing client response buffer.
Close of notify channel while handler was still running.
Eliminated race on IsConnected check in ExecCmd.

Also:

Use just \n for keep-alive to reduce data sent across the wire.
Wrap more errors to improve error reporting.
Remove io.(Reader|Writer) wrapping as that breaks scanner io.EOF handling.

First of all thank you for your commitment!
I actually had something similar in mind, but I couldn't really wrap my head around it.
All goroutines seem to end now. Running the tests there are still random failures every few hundred tries, which I still think might have something to do with the mock server. So I wouldn't really bother with it in this pull request.

Could you post the details of this, as I've not been able reproduce even with 10k runs here.

There is another thing I have noticed, which is probably not scope of this pull request: There is no way to find out if the connection got closed without executing a command or using c.IsConnected(). c.notify is only closed inside of c.Close() which has to be called manually. This leads to indefinitely blocking when just listening to events, without sending anything. From what I can tell this has been like this before as well. Exposing c.done might be a good way for an easy fix.

I've moved the close of c.notify into the messageHandler defer so it will now be closed as soon as a disconnect is detected. This will allow any notification consumers to know when no more notifications will be sent.

Could you post the details of this, as I've not been able reproduce even with 10k runs here.

I tried it again on a docker container running on my home docker server and even after one hour (~3.5k runs) there was not a single failure.
Maybe what I observe is some weird Windwos/WSL issue on my end, where the mockserver is not reachable sometimes.
In this instance for example it seems like the connection could not be established, as after connecting there immediately is an EOF
=== RUN   TestCmdsBasicSSH
    basic_cmds_test.go:34:
                Error Trace:    go-ts3/basic_cmds_test.go:34
                Error:          Received unexpected error:
                                client: header: unexpected EOF
                Test:           TestCmdsBasicSSH

I tried your branch and it seems to have fixed all the issues I had with connections being freezed.
Any chance that the changes can get merged into main?

Can confirm this fixing all the errors. Also LGTM
Any chance this will be merged? @stevenh or @HalloTschuess

@danmrichards / @lwaddicor can we get this merged please

Thanks for this, approved and merged. @stevenh do you feel a v1.1.1 or v1.2.0 is most appropriate here?

Thanks Lewis, as its a backwards compatible bug fix https://semver.org/ says its a patch so v1.1.1


missing route documentation securefiles

Still learning the azure-devops-api however, It seems that the documentation is missing the information for _apis/distributedtask/securefiles/ route.
I am looking for acknowledgement that this in fact missing, and that is the right repo to track this issue on, and if both those are true that the documentation is created.
This is related issue in another project, that seems to be the only place this api is somewhat documented. https://github.com/Microsoft/azure-pipelines-tasks/issues/9172

@slmagus - Thanks for your feedback; we appreciate it. To make sure we have all the information needed to address your issue, please let us know which article you’re referencing, or provide more context around the general task.

@slmagus - Thanks for your feedback; we appreciate it. To make sure we have all the information needed to address your issue, please let us know which article you’re referencing, or provide more context around the general task.

Respectfully the issue, as I see it, is that the route is missing from the documentation entirely.
The context for further elaborated upon here: https://github.com/microsoft/azure-pipelines-tasks/issues/9172#issuecomment-466024682 by one of Microsofts directory of engineering, @madhurig

@madhurig @damccorm Is there anything new on this? From microsoft/azure-pipelines-tasks#9172, it sounded like this was settled.

Is there any more information I can provide or can we remove the needs more information label.
I feel that this should be a P1 documentation issue as this is an undocumented api route.

@slmagus It looks like this should be documented in a different repo. If you could open an issue there, that would be the place for it.
@mijacobs for awareness.


docker warnings in avalanche network

Do you want to request a feature or report a bug?
Bug
What is the current behavior?
I am using https://hub.docker.com/r/graphprotocol/graph-node with avalanche network.
below are logs in docker.
for the rpc url i used https://api.avax.network/ext/bc/C/rpc
Dec 13 17:01:51.874 INFO Syncing 50 blocks from Ethereum., code: BlockIngestionLagging, blocks_needed: 50, blocks_behind: 574, latest_block_head: 8192356, current_block_head: 8191782, provider: avalanche-rpc-0, component: BlockIngestor
Dec 13 17:02:23.496 WARN Trying again after block polling failed: Got invalid response: Error("expected value", line: 1, column: 1), provider: avalanche-rpc-0, component: BlockIngestor
Dec 13 17:02:24.552 INFO Syncing 50 blocks from Ethereum., code: BlockIngestionLagging, blocks_needed: 50, blocks_behind: 590, latest_block_head: 8192372, current_block_head: 8191782, provider: avalanche-rpc-0, component: BlockIngestor
Dec 13 17:02:27.949 INFO Syncing 2 blocks from Ethereum., code: BlockIngestionStatus, blocks_needed: 2, blocks_behind: 2, latest_block_head: 8192374, current_block_head: 8192372, provider: avalanche-rpc-0, component: BlockIngestor
Dec 13 17:02:31.082 INFO Syncing 1 blocks from Ethereum., code: BlockIngestionStatus, blocks_needed: 1, blocks_behind: 1, latest_block_head: 8192375, current_block_head: 8192374, provider: avalanche-rpc-0, component: BlockIngestor
Dec 13 17:03:13.527 WARN Trying again after block polling failed: Got invalid response: Error("expected value", line: 1, column: 1), provider: avalanche-rpc-0, component: BlockIngestor
Dec 13 17:03:14.578 INFO Syncing 24 blocks from Ethereum., code: BlockIngestionLagging, blocks_needed: 24, blocks_behind: 24, latest_block_head: 8192398, current_block_head: 8192374, provider: avalanche-rpc-0, component: BlockInges
it gives a waring message.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
run the docker locally with avalanche network.
What is the expected behavior?
should run without warnings
Can some one help me with this?

are you able to share your exact docker compose, and any subgraphs you are trying to deploy?

I'm getting similar response on cronos-mainnet
Here's my docker compose
version: '3'
services:
  graph-node:
    image: graphprotocol/graph-node
    ports:
      - "8000:8000"
      - "8001:8001"
      - "8020:8020"
    depends_on:
      - postgres
      - ipfs
    environment:
      postgres_host: postgres
      postgres_user: graphNode
      postgres_pass: docker
      postgres_db: graphDB
      GRAPH_LOG: info
      ipfs: "ipfs:5001"
      ethereum: "cronosmainnet_25-1:https://evm-cronos.crypto.org/"
      ETHEREUM_POLLING_INTERVAL: 1000
  postgres:
    image: postgres
    ports:
      - "5432:5432"
    environment:
      POSTGRES_USER: graphNode
      POSTGRES_PASSWORD: docker
      POSTGRES_DB: graphDB
    volumes:
      - ./data/postgres:/var/lib/postgresql/data
  ipfs:
    image: ipfs/go-ipfs
    ports:
      - "5001:5001"
    volumes:
      - ./data/ipfs:/data/ipfs

@azf20

i use this.

i used the aws rds postgres db for the data base
to deploy the docker used the aws ec2

sudo docker run -it --network="host"
-e postgres_host=AWS_RDS_DATA_URL
-e postgres_port=5432
-e postgres_user=AWS_RDS_POSTGRES_USER
-e postgres_pass=AWS_RDS_POSTGRES_PW
-e postgres_db=AWS_RDS_POSTGRES_DBNAME
-e ipfs=http://<IP_ADDRESS>:5001
-e ethereum=avalanche:https://api.avax.network/ext/bc/C/rpc
graphprotocol/graph-node:latest

This looks like an intermittent issue with the Avalanche endpoint, rather than an issue with Graph Node. When you deploy a subgraph, does it start indexing successfully? You can use GRAPH_LOG: trace to get more detailed logging. Closing this issue for now as it doesn't seem to be a Graph Node issue, but please re-open if you think the problem is with Graph Node


fix(behavior_velocity_limit): update velocity limit qos (to TransientLodal)

Signed-off-by: satoshi-ota<EMAIL_ADDRESS>Description
Update velocity limit QoS: Volatile -> TransientLocal

Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

I confirmed change of max velocity is applied.
I think it is better to be checked by @taikitanaka3 :pray:
https://user-images.githubusercontent.com/11865769/173564372-8c0915f5-4d5c-4bfd-aad5-09df5f261c49.mp4

lgtm


Deleting a Custom Directive

I've spent a fair amount of time trying to solve this, but i apologize if its documented.
Once I've made a custom directive I can't figure out how a user would delete that entry. If i use the default editor theres no option either. Heres my editor:
export const WindowDirectiveDescriptor: DirectiveDescriptor = {
  testNode: (node) => node.name === 'window',
  name: 'window',
  attributes: ['url'],
  hasChildren: false,
  type: 'leafDirective',
  Editor: (props: DirectiveEditorProps) => {
    return (

Frame:

        {'  '}
        {props.mdastNode.attributes.url}

 {
            // unclear how to remove the node
          }}
          className={'close'}
        >
          X

    );
  },
};

The table directive implements a delete button - you can check how it works there (basically, it's the Lexical API).


rename (blob|http)AccessConditions parameters to accessConditions; re…

…name blobHttpHeaders to httpHeaders.
Fixes #7832
blobAccessConditions will soon be deriving from HttpAccessConditions so BlobAccessCondition params will be able to access a superset of the properties of HttpAccessConditions, and thus the distinction in the parameter naming is less useful.

/azp run net - storage - ci


#237 - Minor suggestions to improve the container image

This would render #234 obsolete since it is included here.
Using the custom certificates feature included in the temurin image (as suggested in the issue) sadly does not work for non-root users ( https://github.com/adoptium/containers/issues/464 )

@michael-82 lgtm -> please merge and create a release


import shp file

how would we load an existing shp file into the database? We have a shp of rivers, which we would want as a starting point.

I've just added basic shapefile import, but haven't had much of a chance to test it very thoroughly.


Support long-form date names in weekDays return value in useCalendarGrid

🙋 Feature Request

Currently, useCalendarGrid returns single-letter dates on the GregorianCalendar. We would like to use Sun, Mon, etc. in order to better differentiate between Saturday and Sunday.
🤔 Expected Behavior

We should be able to customize the weekDays return value while preserving i18n
😯 Current Behavior

We cannot change the week day headings from their default behavior for GregorianCalendar
💁 Possible Solution

If we could add props to GregorianCalendar to change the heading abbreviation length.
🔦 Context

Our UX designers requested that week days be identified with three letters instead of one. We would like to use react-aria's default behavior as much as possible, but cannot meet the designers' requests as-is.

💻 Examples

🧢 Your Company/Team

A group of devs who really like working with react-aria ❤
🎁 Tracking Ticket (optional)

Added a weekdayStyle prop in #4519.


Connection Successful but Connection Screen going nowhere

On creating a connection, the connection screen keeps on loading and never returns to the homepage.
However, the connection is successful in the backend and if you manually press the back button and go to contacts, the connection is created and messages are also being sent.
I think the Mobile Agent is waiting on a certain status or field that doesn't update and the loader never exits.

@HiraSiddiqui, that is the expected behaviour. The connection screen currently waits for a "Credential Offer" or "Proof Request".

I just opened a PR fixing this (552)... so, when the timer is reached and the connection is active, it goes back to home.

BTW, this issue was already adressed before (https://github.com/hyperledger/aries-mobile-agent-react-native/issues/552)

has been fixed (configurable behavior now)


the text marked with color is not saved

the text marked with color is not saved

Could you please clarify your issue? Do you select text, apply color, and the selected text is deleted? If so, indicate the specific steps of your actions.

Watch the video in the attachment please
https://disk.yandex.ru/d/NSzZCZOwOxGwpg

In the first part of the video you are in the Markdown Viewer, here you cannot edit your notes. To enter the Markdown Editor, press Ctrl + l or click View - Toggle editor layout
In the second part you switch from Markdown to Rich Text Editor, but Joplin stores all notes in Markdown format and HTML formatting cannot be converted from Rich Text to Markdown, this is a limitation of the Rich Text Editor.
Quote from https://joplinapp.org/rich_text_editor/

If a note is of 'Markup - Markdown' and contains HTML formatting, this may be lost when editing in the Rich Text editor as it cannot be converted to Markdown.


Timing of setting custom options

I load live-form-validation by another JavaScript and I can't reliably control when this happens, so it's hard to set options after the script is loaded (using LiveForm.setOptions()). It would be great to have a callback that would be called when the script is loaded, so one could set custom options more reliably. Or perhaps using some kind of trigger on the form itself (or document?). Also, if the form ID could be passed to this callback/trigger it would be nice, as one could apply different options to different forms when having more than one of them on one page.
Sorry if there's something like this already built-in that I've missed.

Could you propose some solution for better setting the options via PR? I'm not very experienced in JavaScript and lately I have also different priorities than working on this script. So help is welcomed :)

Ok, I used your solution for setting options before script is loaded, see https://github.com/Robyer/nette-live-form-validation/commit/482c9ef5bba7441b739655c7cdea5378efe44d3d.
I don't want to write code for custom options per form, but you can send PR.

Thanks, this will be perfect for a while!


add means to blacklist / whitelist things for cypher-export

 Issue by jexp
Thursday Nov 09, 2017 at 14:58 GMT
Originally opened as https://github.com/neo4j-contrib/neo4j-apoc-procedures/issues/654

properties (skip properties)
rel-types  (skip rel-type with label)
labels (skip node with label or skip label)

 Comment by albertodelazzari
Monday Aug 27, 2018 at 09:26 GMT

@jexp if I want to skip a property probably I have to face two different use cases:

skip all nodes/relationships with a property-key or
skip all nodes/relationships with a Label and a property or Rel-Type and a property

That is something like {nodeWhitelist: ["Person:gender"]} or {nodeWhitelist: ["*:gender"]} and same for relationships {relationshipWhitelist: ["FRIENDS_OF:from"]} and so on
The most general use case could be something like that {nodeWhitelist: ["Person:address","Office:address","Company:address"]} or {nodeWhitelist: ["Person:gender","Person:address","Company:address"]}
When filtering nodes how we consider the whitelist/blacklist for labels?
For example, if we have {nodeWhitelist: ["Person"]}, do we consider all the nodes that have at least this label or only this label?
Thanks


samples/net/syslog_net fails for native_posix

Describe the bug
In native_posix configuration, syslog_net sample is not working
To Reproduce
Steps to reproduce the behavior:

mkdir build; cd build
cmake -DBOARD=native_posix
make run
Ensure syslogd is listening to the UDP port 514.
For example, in xubuntu, ensure that following is uncommented in /etc/rsyslogd.conf
module(load="imudp")
input(type="imudp" port="514")
Run
Observe syslog updates (e.g tail -f /var/log/syslog)

Expected behavior
Log items generated by Zephyr running in native_posix shoud be visible in syslog
Impact
While the sample works for qemu_x86 it does not generate any log entries for native_posix
Checking in Wireshark, reveals that no packets is sent over the net
Environment (please complete the following information):
Linux
SDK 0.10.0

I tested this yesterday and noticed that in this case the logger did not call the net backend output function. This looks like some glitch in logger to me.
Also it is enough to verify that the log messages are sent by just monitoring the zeth network interface in host using wireshark. Before starting zephyr, one needs to run net-setup.sh script from net-tools repo (it creates the zeth interface in host).
Assigning to @nordic-krch for verification if this is indeed issue in logger.

i suspect one thing. Immediate mode (former in_place mode) has been reworked and that required changes in backends. I guess that network backend was not updated. If i recall correctly native_posix board is forcing LOG_IMMEDIATE option and network backend simply does not support it.
To add that 2 functions are required, one for synchronous string processing and second one for hexdump. You can see the example here:
https://github.com/zephyrproject-rtos/zephyr/blob/2b1227f1551270e202781a9608490e1150c13b46/subsys/logging/log_backend_uart.c#L73

@jhedberg do you know if bluetooth monitor backend can be used in native posix? If yes then it will hit the same issue - missing support for working in blocking mode.

@jhedberg do you know if bluetooth monitor backend can be used in native posix? If yes then it will hit the same issue - missing support for working in blocking mode.

@nordic-krch I've never tried it, but seems a bit pointless since on native posix you get HCI traces straight from the linux kernel using btmon, i.e. no need to ask Zephyr to give them to you.

Ok, good to know. I can do the fixing for the backend and test it. Re-assigning back to me.

BTW, in the future, it would be good that if changes to backends are done, then all backends would be converted too, or at least inform the relevant parties that some changes are needed.

@jukkar i assumed that network backend will not work in synchronous mode because that means that it must support processing even from interrupts. I didn't take native_posix board into consideration.

@nordic-krch no worries, I have a fix coming in few minutes.


api: model edge and middle proxies in tracing configurations

Reference: https://github.com/envoyproxy/envoy/pull/7723
The existing traffic direction configuration provides two options: ingress and egress.
For Envoy deployed as a middle or an edge proxy, there is no guideline for setting this option.
The option affects the behavior of the tracing engine (e.g. whether to open or close a span).
Edge/middle (which are sometimes combined) may perform at least two distinct actions in the context of distributed tracing:

be transparent, pass-through tracing contexts as-is;
break the span into two, close the existing span and open a new one.

This is a request to extend the API with ability to control tracing behavior for the middle/edge proxies.
/cc @objectiser @htuch

@kyessenov I think I need more context about what a "middle/edge" proxy is?
For example in Istio there is currently a proxy associated with each of the Ingress and Egress gateways, and also a proxy associated with workloads that trace inbound & outbound traffic from that workload.
How does the concepts of middle and edge proxy relate to this example - or are they different?

Gateway proxy would be an example, or a k8s ingress proxy. It is any proxy that is not directly associated with a user workload. Istio models gateways as a client proxy for the mesh (all requests are marked as inbound), but it has a problem that requests coming from inside the mesh to the gateway are not represented properly.

Ok thanks for the explanation.
I think one of the issues is the use of Ingress/Egress concepts in envoy vs as a mesh ingress/egress in something like Istio.
As part of https://github.com/envoyproxy/envoy/pull/7723, maybe it would be a good idea to have the re-named traffic direction values of Inbound and Outbound, instead of Ingress and Egress.
Then to address your requirement, if we had a "traffic direction" value of "Gateway" - it could be used to generate two spans within the proxy, a server span to represent the received request and client span to represent the forwarded request (generated in the router filter). Actually it was something I was exploring back in https://github.com/envoyproxy/envoy/issues/2081#issue-275293417 (option c).
Might mean a better name is required for "traffic direction", but could have four values: Inbound (server span), Outbound (client span), Gateway (server and client spans) and PassThrough (no spans).

Complete

@mattklein123 not sure this is complete - #7723 only deals with the Inbound and Outbound cases. Do we want to leave this open to further discuss and possibly implement the Gateway and PassThrough cases?

+1, I'm going to reopen, happy to close out if this is really solved somewhere though.

Sorry for closing too early, SGTM.


Mail trucks ignoring lane arrows

From discord:

Subaru Altraffioyne SVXYesterday at 23:35
Are mail trucks also supposed to...
Not follow the road signs at all?

later....

Subaru Altraffioyne SVXToday at 05:33
Well, it's more to do with the fact that when making roads that go straight when joining from highway to road, for some reason, the mail trucks (even when the lane arrows are set to all straight) turn around.

Log files:

TMPE (1).log
Player (1).log

Config:

TMPE_GlobalConfig.xml

Asked for save game.
I know that we added mail vans to the vehicle categories, which should cover everything? I still wonder if there are different vehicle classes for mail vans vs. mail lorries? Or maybe the lane arrows code isn't using the centralised vehicle category stuff?

Noticed this in the logs:

Network Skins: Incorrect usedCount detected, should be 30 ([SegmentData] features: StreetLight, treeLeftPrefab: null, treeMiddlePrefab: null, treeRightPrefab: null, streetLightPrefab: StreetLamp01 1, usedCount: 28)

There are some other errors in the log but nothing notable.

Possible problem mods:

Vehicle Wealthalizer - just a random guess, never used this mod or encountered it before. Suggest disable and restart Cities.exe to see if anything changes.
Tiny Segments allows very short road segments to be created which is know to cause issues with traffic lights - might also cause issues with lane arrows/connectors?
Roundabout Builder - possible that roads created by this mod cause issues? For example, does it check min segment length, does it trigger any events that TMPE uses to update its internal caches?

Other mod issues (not related to issue in OP):

FPS Display - this is throwing an error in to the log file, suggest using alternatives listed at top of this guide.
Automatic Bulldoze v2 - glitchy, suggest use keallu's "Bulldoze It!" mod instead
Old version of Advanced Vehicle Options - suggest use the Industries compatible version
Old Mod Achievement Enabler - suggest more recent keallu's "Achieve It!" mod?
More Beautification - resource hog and causes lag; suggest using "Find It!" mod instead

Random pondering: Would mods that hide lane arrows (Hide It, Road Options, etc) cause any problems? (I doubt it as they are just visual, but just in case....)

Save game: https://steamcommunity.com/sharedfiles/filedetails/?id=1692336050

Another report of this issue via Steam:

Penguin 3 hours ago
Is it only me that experiences that post trucks aren't following the lane arrows? They use the left turning lane to turn right for example. Normal vehicles seem to follow them as they should.

It seems specific to post trucks and lane arrows. I've asked for save/log just in case it helps track down the issue.

Hey, here's my log file and save game. Playing with a lot of mods/assets, so attached the loading screen report also (had to rename it to .txt to keep GitHub happy).
The two trucks waiting for green light in the middle of the screenshot will turn right not long after the game is loaded. If you need more trucks, they usually come with the freight train.
Btw. they do respect the lane connector tool, I been using that as a quick fix for the worst of it. Just removed the lane connections for the show intersection and the trucks started to misbehave again shortly therafter. Also, might have seen this issue with garbage trucks too, but it's awhile ago so not entirely certain. That might just have been due to recent changes of the road layout.
Oh, and don't mind the city - was just fooling around with a one-tile city :P
GridCity - TM:PE Post Truck Bug
output_log.txt
Gridcity - Post Bug - Assets Report-2019-05-11_16-48-05.txt
Best Regards, Penguin

Here's a much better save game for you. Copied the TM:PE DLLs from the steam workshop folder to steamapps\common\Cities_Skylines\Files\Mods\TLM and started the game with --noWorkshop. As you see on the screenshot, blue post truck still makes a right turn, even though the arrow shows left only.
https://steamcommunity.com/sharedfiles/filedetails/?id=1738473042
Btw. using the stable version of the mod.

Great, I will check what is going on there 😉

Ok. I can confirm that post trucks going right 😕

The Roundabout Builder definitely has some glitches and doesn't enforce restrictions; it will happily plop a roundabout right through buildings and over water. Especially when making them very small I've seen it sometimes not connect the roads properly. Not sure if that's going on here?

Another report of this issue on Steam:

ralfaltmann 10 minutes ago
One question: it seems that post transporters are ignoring the lane arrows. Is there anything special about post transporters?

Savegame for above:

yes, the savegame can be found here:
https://steamcommunity.com/sharedfiles/filedetails/?id=1749002396
And here's a screenshot where you can see the issue: the truck comes from a lane with left-only arrow, but it's heading straight forward (the location is near the commercial area):
https://steamcommunity.com/profiles/76561198059796181/screenshot/793109568944666567
Please notify me when you've downloaded the savegame, I want to delete it afterwards.

I've mentioned it may be a while before we get chance to review the save game.

Reason: PostVanAI implements its own StartPathFind method which is not overriden by TMPE.


Adding support for recursive !includesub statements

Fixes #16
This PR adds support for recursively including with !includesub.

Additionally I've moved the plugins config_scheme into its own class as suggested in the updated MkDos documentation:
https://www.mkdocs.org/dev-guide/plugins/#baseplugin
Examples for how to include with !includesub can be found on the plantuml website:
https://plantuml.com/preprocessing

Hi there,
As I don’t know your processes concerning publishing packages, I wanted to ask whether I could assist in any way to publish the version 1.9 of mkdocs_build_plantuml package to PyPi.
For example I could assist with creating a GitHub action to publish automatically if wanted. PyPi for example supports Trusted Publisher Management to give your repository (GitHub) the rights to publish to it whenever you commit or merge something (As configured in the action). So no keys can get lost (Just this specific repo can publish then). If interested I would provide a PR.
￼
Greetings
Aaron

On Nov 8, 2023, at 15:20, Christoph @.***> wrote:
Merged #31 https://github.com/quantorconsulting/mkdocs_build_plantuml/pull/31 into master.
—
Reply to this email directly, view it on GitHub https://github.com/quantorconsulting/mkdocs_build_plantuml/pull/31#event-10901521980, or unsubscribe https://github.com/notifications/unsubscribe-auth/AU6XQG7ACMYSOU2C4V2MKGTYDOIJNAVCNFSM6AAAAAA7BZEHVOVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJQHEYDCNJSGE4TQMA.
You are receiving this because you authored the thread.


HostUpdateSuite.TestUpdateLogs: timed out waiting for log

https://ci.flynn.io/builds/20151108163034-843fcf9c

https://ci.flynn.io/builds/20151124010910-0c5ebf14


Not compatible with Titanium SDK 4.0.0

I tested it on Android 5.1 and it didn't work.

Nope. The ti.drawerlayout module does and is closer to android design guides. Still, it will be nice to get this fixed.

Works fine on iOS - This is just an Android issue.

Its the SDK thats causing the error, running 3.5.1GA works ok on Android 5.
The issue has been found and can be resolved if the owner of this repo makes the changes mentioned in the comments here:
https://github.com/viezel/NappDrawer/issues/135

Or if you fork the repo and make a pull request :+1:

Done
https://github.com/viezel/NappDrawer/pull/156


[PORT] Fixes Unauthorized error when calling ContinueConversation

Port this change from botbuilder-dotnet/master branch:
https://github.com/microsoft/botbuilder-dotnet/pull/4348

Fixes #4347
Fixes Unauthorized error when ContinueConversation is called on a bot app service instance that didn't originate the skill request.

Updated code in BotFrameworkAdapter.ContinueConversation() so it always adds the activity.ServiceUrl to TrustedHostNames if the request has been authorized and it has an app ID (this will work for skills and other proactive messages)
Made TrustedHostNames in AppCredentials internal and added InternalsVisibleTo directive to Microsoft.BotConnector so we can access it and assert the state of the state in tests.
Cleaned up some async warnings in BotFrameworkAdapterTests
Added additional logging to AppCredentials to help troubleshoot this issue in the future.

Changed projects

Microsoft.Bot.Builder
Microsoft.Bot.Connector
Microsoft.Bot.Builder.Tests

Hi @axelsrz, can you validate if the related PR applies to Python?


Typo

In this sentence of the first paragraph: "The setup is different depends on the domain service you choose." depends should be "depending".

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 100a0bd2-817c-8c9e-68d6-cb00a5f405eb
Version Independent ID: ee7081d3-a43f-47ea-db7f-ff6ba23d50b3
Content: Use Azure AD Domain Services to authorize access to file data over SMB
Content Source: articles/storage/files/storage-files-identity-auth-active-directory-domain-service-enable.md
Service: storage
Sub-service: files
GitHub Login: @roygara
Microsoft Alias: rogarana

@Apapora Thanks for your question. We are checking on this and will respond to you soon.

@Apapora The PR has be initiated ! We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Code Explanation in README

This code seems pretty lightweight, I think it would be worth it to include a brief overview of how the code works at the end of the readme for people who are interested. Thanks for taking the time to make this for nextJS 😁😁😁

Thank you for the suggestion! The code largely follows the very thorough guide in the official Apollo Docs which I believe explains the inner workings of an integration far better than I could. However if more Next.js-centric code will need to be added in the future I agree an overview might be helpful.


Clarification on Service Bus "credits"

According to the docs each ReceiveAsync call costs 1 credit, and your budget is only 1,000 credits per second.
Does this mean you can only have 1,000 concurrent Receive/ReceiveAsync operations at any time, or is a credit only spent when the operation actually reads an available message?
For example, consider we have 5,000 consumers, each subscribed to an individual, consumer-specific queue, each constantly waiting for messages on their respective queues; consider that the average message rate is only 50/s - would this result in any throttling?
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: fe6df5d6-16d9-caea-acbc-b802d8ffa245
Version Independent ID: 67e06a3f-a857-1628-7668-84e6691ec1d1
Content: Overview of Azure Service Bus throttling - Azure Service Bus
Content Source: articles/service-bus-messaging/service-bus-throttling.md
Service: service-bus-messaging
GitHub Login: @axisc
Microsoft Alias: aschhab

@cocowalla Thank you for the feedback. We are actively investigating and will get back to you soon.

@cocowalla Azure service bus concurrent connection quota is different from the throttling credit. There is a limit of 5K concurrent AMQP or 1K Net messaging connection on the namespace. Please refer to this document for details.
No matter how, 1000 messages/sec total, sending and receiving and peeking combined, is the throttling limit, and that includes “empty” receive/peek requests, which clients might try over HTTP without using long polling.
Hope this helps and clears things up. Please let me know if you have any queries.

@cocowalla Just following up here. Hope my previous comment clears things up.

@MayankBargali-MSFT sorry for the late reply. I'm clear on the "Send" side - 1 message sent == 1 credit consumed (well, unless SQL filters are involved, in which case it's 2 credits for some reason). It's the "Receive" side with AMQP that's less clear for me. In typical AMQP usage, you would use RegisterMessageHandler to subscribe to a queue. It sounds like a credit is only consumed when the handler receives a message? (presumably empty messages are never received, since there is no polling with AMQP)

@cocowalla "Long polling" implies that there is a request and the response is being waited for an extended period of time, and that's never the case in AMQP. See Flow Control in the AMQP spec.

Yep, that's why I said "since there is no polling with AMQP" :smile:
I think I'm all clear now, thanks for the quick responses!

As I understand what @MayankBargali-MSFT explained, credits are not cumulative.
So ,1000 messages/sec is the absolute limit. I would suggest adding this not cumulative behavior explicitly in the docs. I had the impression that, if I don't use the 1000, it would sum to a bigger credit pool, which is not the case.

No matter how, 1000 messages/sec total, sending and receiving and peeking combined, is the throttling limit


api package

Making the api package work as an api gateway

Enables creation of gateway through api.NewApi()
Gateway runs on ":8080" by default
Uses registry router by default meaning routes for any service on /[service]/[endpoint]
Requires some level of testing

@asim did you have any example api gateway  for grpc and rest api example rest?
thank you very much

Not yet, still working on it. I think the interface/package needs to be rewritten again just to make it easier to use.


base-url isn't respected

:lady_beetle: Describe the bug
I try to set my baseurl to something with a path, ie: https://example.com/ntfy, requests still go to:
/static/css/app.css
/static/css/fonts.css
/config.js [instead of /ntfy/config.js]
:computer: Components impacted
ntfy server

ntfy needs to be served from the root path of a domain (usually a sub domain). Running ntfy at /ntfy isn't supported right now. See https://github.com/binwiederhier/ntfy/issues/398


pov: Consider making tests insensitive to child ordering

In the pov tests, given a tree that must be reparented on node x, the tests ensure that the former parent of x comes after the former children of x.
I think it would be beneficial if the tests did not care about the ordering of the children, since trees probably don't care about the ordering of their children, and it almost certainly is valid to allow either order in the POV problem.

Yeah, allowing either ordering would be great.

Surveying the other languages that implement this exercise.

xgo allows any ordering because it only checks for the presence of edges, and sorts the edges before checking presence.
xclojure seems to also be sensitive to ordering; IIRC clojure vectors (denoted by []) only compare equal if the elements are in the same order. Though I will note that Clojure, in expecting the former parent comes after the former children in a vector, expresses an ordering that is more likely to be the default choice, since conj onto a vector appends onto the end of the vector. Nevertheless, it could be worth filing an issue for them as well.

Expanding more on the work required for this track:
This matters when we are reparenting a node that has both a parent and some children. That means the "reparenting kids" and "reparenting cousins" test cases.


@sweir27 => use sale.live instead of sale.end_at in isLiveOpen check

I think this will be a more reliable way of showing reminders for live sales- the reminder status will go back to false once the live: false property is set.

w00t! I believe this will end up being a much more robust way of dealing with auction state. :D
Worth verifying the entire workflow once this is on staging (i.e. making sure there are no caching issues or otherwise that would prevent this flag from holding the truth)

If we end up using this- don't merge until i add live to fetch.coffee.

@sweir27 - not sure what to do about these failing tests. i've looked over them and tried adding the auction_state property to them but i'm not even clear what they are doing- maybe because it is a saturday? I'll check in on them monday.


Save form as complete if auto-advance question reaches End-of-form

Auto-advance questions at the end of form were resulting in the form being saved as incomplete. Instead auto-advancing past the end of form should be the same as pressing the 'next arrow' button
Should consider hotfixing this.
http://manage.dimagi.com/default.asp?186847

Merged this, but agreed that it seems potentially hotfix-worthy. @ctsims what do you think?


update config pages README.md

Updates readme to reflect changes done on #2544 (commit 4cabf5e8c798287825908fb193d61fcc1e8d62af ) for v3.1.0.
Not sure if properly worded but with those changes, it fares an explanation that any other properties will also get passed along to html-webpack-plugin, not only listed properties.
An example would, for example, to pass data to template, like I illustrated on above issue, using require('html-webpack-template') as a template.

Thanks!


[Feature Request] A Countdown Timer Accessory

Hi John, it would be wonderful and very useful if you could create a Countdown Timer as part of your cmd4 accessories.   I have been trying to have a countdown timer to set the timer on my aircon system and have been using Lightbulb/brightness, Fan/rotationSpeed as a proxy timer, but instead of asking Siri to set the timer for 30 minutes for example, I have to say "hey siri, please set the timer for 30%.  The tile display on home app is also not very intuitive.
Apple has a native timer which looks like this:

Don't have to be like this, but if you can create similar accessory like lightbulb/brightness or fan/rotationSpeed but with time units instead of % will be a big improvement already.
Hopefully this is not something too difficult for you to make.
Cheers,
Ung Sing

Hey Ung Sing, I have for quite a while wondered how I will approach the 'timer' in our air con systems and also been wondering when someone would finally request it haha... Now remember cmd4 can only produce accessories that HomeKit has already and typically (like our Lightbulb for zone percentage), you have to find something that will be close enough in how it displays. It is, I believe also constrained by data types defined by HomeKit.
I know thanks to my B-Hyve irrigation system that you have 'zones' which look lie switches and you can input a run time; might be a bit of a stretch and not sure if you can have them separate of the controller, but could be an idea off the top of my head... Here is the service type irrigation system and the characteristic RemainingDuration. The characteristic tells us it is also used by the Valve service type; which could be used instead.

Haha.... Mitch, I am looking into how I can get the timer done on our AA E-zone system.  Tested using lightbulb/brightness and also tried valve/setDuration/remainingDuration.  Lightbulb/brightness is more straight forward but need to say % rather than minutes to Siri which is a bit strange and confusing.  I will try again using valve or irrigation to mimic our E-zone timer.  When I am relatively happy with it, I will share that with you.  I was just thinking this morning that if John can create a count down timer accessory and our wish of getting the timer into homekit will be sorted. :)

@ztalbot2000 and @uswong anything extra to add to this or do you think it is good to close out?

Yes, I think we can close this one.


Add a file in main describing what is HacktoberFest and why it is important

Plz assign me this.

file name should be HacktoberFest

Please assign this task to me


JSONDecodeError while deploying app to PRD

While trying to deploy new spring boot application to azure spring cloud i'm getting JSONDecodeError.
Command Name
az spring-cloud app deploy Extension Name: spring-cloud. Version: 2.12.2.
Errors:
The command failed with an unexpected error. Here is the traceback:
Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/cli.py", line 231, in invoke
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 658, in execute
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 721, in _run_jobs_serially
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 713, in _run_job
  File "C:\Users\wimst\.azure\cliextensions\spring-cloud\azext_spring_cloud\_utils.py", line 251, in handle_asc_exception
    response_dict = json.loads(ex.response.internal_response.text)
  File "json\__init__.py", line 357, in loads
  File "json\decoder.py", line 337, in decode
  File "json\decoder.py", line 355, in raw_decode
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

build a local spring boot jar with controller restAPI's
az spring-cloud app deploy -n {} -s {} -g {} --artifact-path {} --verbose

Expected Behavior
Deploying to default deployment of my app so new version can be used.
Environment Summary
Windows-10-10.0.19041-SP0
Python 3.8.9
Installer: MSI

azure-cli 2.31.0

Extensions:
spring-cloud 2.12.2

Additional Context

route to service team

@AngeloVK Thanks for reporting the issue, we are on the way fixing it. To unblock your usage, you can install the previous version 2.12.1 by running command:
az extension remove -n spring-cloud
az extension add -n spring-cloud --version 2.12.1 -y

Fixing in #4268

@yuwzho downgrade fixed issue! Thnx


Bug in authors find

The keyword for author detects false positives. For example, looking for Ares (Natalia Ares) detects the author Samaresh Das.
When searching for the author's name, verify that there is a space, a comma, a period, or an "and" next to the name.

Solved in v.0.0.11.


Fixing gradle on Windows [5217]

This should fix #417 by adding '.bat' extension to GRADLE_EXE on Windows

Build status:

Linux
Mac
Windows

Failed tests not related.


Notebook corrupt

When I try to load the ipython notebook, I get this strange error.
NotJSONError('Notebook does not appear to be JSON: '{\n "cells": [\n {\n "cell_type": "m...',)
I see you uploaded a new notebook 2 months ago. Anything with the versioning ?

Hi,
thank you for flagging this. Please try again with the latest version.
Best
Daniil

Thanks! Seems to be working :)
Cheers,
Arun


Older IOS versions not working (causing the application to crash onStartRecorder).

Version of react-native-audio-recorder-player
2.6.0
Platforms you faced the error (IOS or Android or both?)
IOS
Expected behavior
The example project to work
Actual behavior
When I run on IOS 14 simulator it works however when I run on IOS 12.4 it is not working.
Steps to reprodue the behabior
Run the example project on IOS 12.4 simulator.

I also have this problem. It works perfectly on iOS 14+, but iOS 13.5 and under causes the app to crash when it gets to  audioRecorderPlayer.startRecorder()

I think you should clarify that your app only supports 14+ or move to another library, but also consider that react-native-audio-record has the same issue.

Thanks for the info

I was using startRecorder() on a 13.5 iPhone simulator with no problems. However, since the latest macOS (11.1) and Xcode (12.3) updates it started crashing. Upgrading to a 14.3 simulator has solved it, and it no longer crashes. I'm not sure why this is the case, but it would be good to find out if this is likely to be an issue in production on < iOS 14.3

I was using startRecorder() on a 13.5 iPhone simulator with no problems. However, since the latest macOS (11.1) and Xcode (12.3) updates it started crashing. Upgrading to a 14.3 simulator has solved it, and it no longer crashes. I'm not sure why this is the case, but it would be good to find out if this is likely to be an issue in production on < iOS 14.3

Why you closed this issue previously its works fine, now only I'm getting crash but it works in version 14 with this error CUICatalog: Invalid asset name supplied: '(null)'


[New Snap] Wallet Guard

Checklist
All items in the list below needs to be satisfied.

[x] Is the Snap repository publicly accessible and linked in this ticket? https://github.com/wallet-guard/wallet-guard-snap/
[x] Is the Snap distributed on npm and linked in this ticket? https://www.npmjs.com/package/wallet-guard-snap
[x] Has an audit been performed and the audit report attached or linked in this issue? https://consensys.io/diligence/audits/2023/07/wallet-guard/
[x] Is a complete list of discovered vulnerabilities from the audit documented in this issue?
[x] For vulnerabilities that have been deemed necessary to be addressed, are the links to the fixes attached to this issue?
[x] For vulnerabilities that have been deemed not necessary to be addressed, is a reason for each of them documented in this issue?
[ ] The corresponding pull request in this repo has been merged.

List of discovered vulnerabilities:
1 Missing Input Validation for WalletAddress Major
Fixed in https://github.com/wallet-guard/wallet-guard-snap/pull/25
2 Server Should Not Rely on Clients’ Randomness Medium
The client acknowledged the issue, and let [the auditor] know that the ID is only used for analytics purposes, to be compatible with the existing API. A future release of the API will improve UID handling.
3 Properties of the transaction Object Might Be Undefined Medium
This was acknowledged but is not required to be fixed.
4 AssetChangeComponent Displays a Change With Value 0 if fiatValue < 0.005 Medium
This was acknowledged but is not required to be fixed.
5 Incomplete NatSpec and General Documentation Minor
This is minor and is not required to be fixed.
6 formatFiatValue() Can Be Simplified Minor
This is minor and is not required to be fixed.
7 No Way to Disable Approvals Checking, and Transaction Analytics Minor
This is minor and is not required to be fixed.
8 devDependencies Erroneously Listed as dependencies Minor
This is minor and is not required to be fixed.
9 package.json - Missing Author Minor
This is minor and is not required to be fixed.
10 Extra 'If' Statement
This is informational and is not required to be fixed.
11 Misleading Comment
This is informational and is not required to be fixed.
12 Wallet Monitoring Improvements
This is informational and is not required to be fixed.
13 Consider Submitting Snap Version With Backend API Requests
This is informational and is not required to be fixed.

Corresponding PR: https://github.com/MetaMask/snaps-registry/pull/43


[Tree] Add a solution to Recover Binary Search Tree

Please have a look at my accepted solution for 99. Recover Binary Search Tree

Hi,
Could you please edit the README file as well?

Change the solution number
Add the solution to Tree category
Add the solution to All solution list

Thank you,
Yi

Sorry, but what's the meaning of "change the solution number"?

You can find "Progress" session in README, and there marks the numbers of questions we solved. Now it is 178.

Understand, thanks!

I have just modified the README.md, please have a look.


refactor(lexer): avoid copying of self in SIMD functions

Avoids copying self when returning from the SIMD functions.
See the assembly at this comment.
With this PR, the struct is no longer copied.
 I really like these little things that make our program faster.


Mapping Device Firmware Version to Modbus Version

Hi,
I am trying to support all devices in the Nilan CTS602 family, but the documentation is kind of lacking. If you are using this Integration and have a device outside of the following list, please comment here with your device firmware version and ModBus Version as stated by the integration.
Thank You!
Firmware: ModBus Version
2.00.q - 2.11.d: 1
2.11.e: 2
2.12.a - 2.15: 3
2.16.a - 2.20.a: 4
2.20.b - 2.21.a: 5
2.21.b - 2.30.a: 6
2.30.b - 2.30.e: 7
2.31.d: 8
2.35.a: 9
2.37.c: 11
2.38.t: 19
1.6.21: 20
1.6.43-1.6.56: 22

Here’s mine:

Thanks, I would also need the Modbus Version. You can only find this info by reading it through ModBus.

Thanks, I would also need the Modbus Version. You can only find this info by reading it through ModBus.

2.21.a:5
Found it from openHAB items.

2.35.a: 9

Firmware: 2.38.t
Modbus version 19

VPL 25c / VPL 28c
Firmware: 2.37.c
Modbus version 11

VP 18cek
Firmware: 1.6.26
ModBus Version: 21

Firmware: 1.1.25
ModBus Version: 20

Firmware: 2.1.34 - ModBus version: 21

Firmware: 2.38r - Modbus Version: 19

Thank you all for helping out with this issue! I will be closing this since all of the open questions I had have been anwsered.


Add files via upload

Updated all diagrams

have you updated the class and object diagram?

have you updated the class and object diagram?

What changes do u expect?


pull request for e2e test at 11/11/2016 15:56:09

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

optest/docs/updated_at.md
:white_check_mark:Succeeded

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


Better Customization?

The way to customize the app is really annoying and I'd rather not go through the effort. Could there not be an options place where you can toggle on and off different features? Also it automatically defaults to the Windows 10 context menu items but with the Windows 11 look - I don't understand why. I like the Windows 11 one way more and I want to keep it as that but with some extra features that I want to add.

This can be solved by offering some pre-installed themes to choose from and giving a gui for tinkering some basic options such as fonts, font color, background color, border color, opacity, etc.
Note: i am not a dev working on Nilesoft Shell, just a Nilesoft Shell user suggesting solutions to the devs.

there is a settings/theme manager, it's not perfect but it works

download from here:
https://discord.com/channels/1106387012707168318/1139275510506082336/1155924668914610187
install info:
https://discord.com/channels/1106387012707168318/1139275510506082336/1179379922297430077
when it comes to the functional part - It is possible to make a simple GUI command builder, but it will only be able to create commands, not а menu. It is not possible to make an editor that recognizes the syntax - once the commands are created, they must be manually edited.

is there a working link for this?

is there a working link for this?

I can upload the file over the weekend.

https://github.com/RubicBG/Nilesoft-Shell-Snippets-Collections/blob/main/theme-manager.nss


Enable multiple YAML files for "apply"

Enable multiple YAML files for "apply"
Expected Behaviour

As inspired by Kustomize, helm and an experimental app by @csakshaug, we should allow users to provide > 1 file for apply:
ofc-bootstrap apply --file example.init.yaml --file production.yaml

The files will be merged, this means that production.yaml only needs overrides adding such as the domain name or registry address, and everything else is taken from upstream. It also means if changes are made in example.init.yaml, production.yaml doesn't need to be kept in sync.
Current Behaviour

Manual merging between releases and updates of example.init.yaml
Possible Solution

Use https://github.com/imdario/mergo which is also used by moby, Kubernetes and other well-known projects.

Dependent on merge of: https://github.com/openfaas-incubator/ofc-bootstrap/pull/162

162 was merged, this can be worked on now.

Isn't this completed?

Yes


Support qrCodeURL (EventEmitter) for 12.0.3 version

Sad. Version "^12" doesn't have qrCodeURL in QRCodeComponent.
Temporary solution: use version ^13 instead of ^12."

I close the issue and we should leave it here as workaround for others, but it's very unlikely that version 12 will get any update if it's not from the community.
Feel free to re-open, if you think you might contribute code for the older release.


fix case where new item has no position

This is meant to fix issue https://github.com/swanandp/acts_as_list/issues/109
Namely, when an item's position is set when it was nil before, items above the newly set position are moved up.

@neutralino1, would you like to rebase this and write a quick test to cover the bug?

@neutralino1, closing this for now due to inactivity. If this is something you want to see merged please write a failing test that your changes fix and rebase against master.


[plot] Allow to custom line style of vline/hline

Vertical lines and horizontal lines are special markers which displays lines.
As it uses markers style, the line style is not part of it.

Not sure I get what this is about?
Line marker style should be available through #2112 and/or #2306

It's not part of the PlotWidget API.
I am fine with it anyway. I don't use anymore this API for serious business.

OK, then let's keep the PlotWidget API as it is, one can set the linestyle through the marker item API.


fix typo

fix typo in mkdocs.yml

Codecov Report

Merging #83 (0450531) into main (dcdd3e3) will not change coverage.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@           Coverage Diff           @@
##             main      #83   +/-   ##
=======================================
  Coverage   96.36%   96.36%
=======================================
  Files          13       13
  Lines         522      522
  Branches       88       88
=======================================
  Hits          503      503
  Misses         11       11
  Partials        8        8

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