Trying to run gives me a tkinter event binding error

When I run the basic example given I get the following error on my Mac: _tkinter.TclError: bad event type or keysym "ISO_Left_Tab"

Hi, can you pull and give it a try again. Thanks

I'm using the pypi release :(.

I modified the file on my local machine to get it working so now I can mess around with it.


Some minor changes

The following changes were made to improve the experience

The default is to use the Gitee mirror source

Remove the ability to recognize native Node.js binaries

东西很好，但是你删我 setup_en.sh 就是你的不对了。

已修正

已合并代码，下次出BUG就枪毙你。


feat: query max amountIn based on max ticks willing to traverse

Closes: #5884
What is the purpose of the change
This PR provides a new API (ComputeMaxInAmtGivenMaxTicksCrossed), which is used to determine the max amount a token cab be swapped in within a CL pool given a max number of ticks that can be traversed.
Testing and Verifying
TestComputeMaxInAmtGivenMaxTicksCrossed added.
Documentation and Release Note

[ ] Does this pull request introduce a new feature or user-facing behavior changes?
[ ] Changelog entry added to Unreleased section of CHANGELOG.md?

Where is the change documented?

[ ] Specification (x/{module}/README.md)
[ ] Osmosis documentation site
[ ] Code comments?
[ ] N/A

@NotJeremyLiu Am merging this now, just pinging for awareness

Hey, in the future for PR's like this, we should put more effort into minimizing duplicate code for the swap logic.
We already did a bad job in CL for swaps, and we should be aiming to get it improved!


add fontawesome subset

http://caniuse.com/#feat=woff

Wow I didn't know it was that easy :)
Thanks.


kotlin-language-server: use latest OpenJDK

Motivated by https://github.com/NixOS/nixpkgs/pull/201859.
Description of changes
It supports JDK 17 since 1.3.0:
https://github.com/fwcd/kotlin-language-server/blob/1.3.1/CHANGELOG.md

Things done

Built on platform(s)

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

[ ] 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
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 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.

cc @luhuaei @vtuan10

lgtm.
❯ ./result/bin/kotlin-language-server
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Content-Length: 139

{"jsonrpc":"2.0","method":"window/logMessage","params":{"type":3,"message":"main      Adding script definitions [ScriptTemplateWithArgs]"}}Content-Length: 126

{"jsonrpc":"2.0","method":"window/logMessage","params":{"type":3,"message":"main      Kotlin Language Server: Version 1.3.1"}}Content-Length: 108

{"jsonrpc":"2.0","method":"window/logMessage","params":{"type":3,"message":"main      Connected to client"}}


Installer translation missing when we are adding locale in it.

Terms

[X] Before you openning this issue, i have checked if the issue has already been reported.

Bagisto Version(s) affected
Master
Issue Description
When we are installing bagisto with installer and there when we are selecting locale we can see that the translation is missing.
Preconditions

Take clone from the master branch.
Run composer create-project

Steps to reproduce

Open the project in Any browser.
Check follow the steps.
Now when we select the locale and there we can see that the translation is missing.

Expected Result
Translation must be added properly.
Actual Result
Currently we can see that the translation is missing.
Screenshot -> https://prnt.sc/WFgsaDfrbNx6
Screenshots
No response
Additional context
No response

Checked and Found that the issue hsa been fixed and PR has been merged and hence I am closing the issue from here. Please check  the screenshot for reference.
Screenshot


Refactor mockClass method

Refactor mockClass method to reduce its CCN. The function is both large and complex, with a lizard-counted CCN of 34.
Lizard output
The plan is to reduce its CCN by splitting the giant function into smaller ones. The specific focus points are listed below:

https://github.com/DD2480-Group1/mockito/blob/a10d43ca5cb9377978b2a1fe2888fdeef33cdf79/src/main/java/org/mockito/internal/creation/bytebuddy/SubclassBytecodeGenerator.java#L139-L152
This bit of logic can be refactored by splitting it into a dedicated method.

https://github.com/DD2480-Group1/mockito/blob/a10d43ca5cb9377978b2a1fe2888fdeef33cdf79/src/main/java/org/mockito/internal/creation/bytebuddy/SubclassBytecodeGenerator.java#L245-L276
The creation of builder consists of too many nested ternary operators, making it super difficult to read and understand. I will try to splitting it into a dedicated method

https://github.com/DD2480-Group1/mockito/blob/a10d43ca5cb9377978b2a1fe2888fdeef33cdf79/src/main/java/org/mockito/internal/creation/bytebuddy/SubclassBytecodeGenerator.java#L277-L295
In fact, all of this code is just a construction of builder and should be in a separated method for a clearer logic.

https://gist.github.com/JXNCTED/ae90693bc23d29887a6815fb114c1487
Improved the CCN by 41%


Add travis CI badge

Hi @PeterDaveHello, thanks for the pull request!

Thanks @bkeepers

Thank you.


Get layout is not working anymore after adding plugin

I've added the plugin to my next.js app and fetching dates worked fine but the layouts we're missing completely.
next.js version: 12.2.4
superjson version: 1.9.1
babel-plugin-superjson-next version: 0.4.3

Hi @Haberkamp! Could you share a reproduction repository? That'd make it a lot easier for me to reproduce this.

Yes! Here you go. After starting the server visit the /layout route. When you comment out the getServerSideProps variable of that page you'll be able to see the layout again.

thx for the repro! I was able to reproduce and fix the error, it had to do with the order of the code emitted by this babel plugin.
@all-contributors please add @Haberkamp for bug

published in https://github.com/blitz-js/babel-plugin-superjson-next/releases/tag/v0.4.4 :)

Yea thank you!


Added Makefile dependencies to package.json

If you add these npm dependencies to package json then developers will be able to
git clone [...]
npm install [...]
make

I noticed that you do have something for downloading npm dependencies in your Makefile, so feel free to close this if you don't agree.

it's a "good-old" system that requires you to make dependencies once cloned.
I should have specified on the README, sorry.
The uglify version cannot possibly be the 2 because it doesn't sanitize by default things that easily break in IE so please update to accept nothing more than version 1.
Thanks

Done deal. Thanks.


Buildroot has no apt command?

I am trying to install a package, but buildroot has no apt command.

Buildroot doesn't have a package manager, you can use Arch Linux profile (firstly run ./networking.sh), if your package is available in pacman repository.


Endless Buffering, cant change quality

So I got a video, in debug mode it says it is loaded but there is endless buffering to the point that the video wont move one second. Weird thing is that the captions automatically load. Ive tried changing quality to tiny but it doesnt change it accordiding to the debug vieew.

I had the same problem regarding the buffering. Did you find a solution? As for the quality, you can manually change the related XML files code respectively, just find app:yt_videoQuality=.

@LordFluffy I found this solution in another forum. You need to use emulator android tv 720p API 23. With this AVD, it works perfectly like magic to me!
Hope it helps.

Has anyone else fixed this issue? Both my emulator and FireTV stick endlessly load the video


Cloud Functions triggers

The example has a default http trigger, I'm struggling to set a Pub/Sub topic trigger. I add to the schema:
eventTrigger:
type: array
items:
type: object
required:
- eventType
properties:
eventType:
type: string
resource:
type: string
service:
type: string
And add to the .yaml
eventTrigger:
- eventType: topic
resource: [TOPIC_NAME]
service: google.pubsub.topic.publish
But the function created remains with an HTTP trigger. Could you please point me what am I missing.

Hi @Spartanflyer ,
As I haven't heard from you, I'll close the issue for now. Feel free to reopen it if the problem still exists.


Report not picking up Infernal Expansion mobs

I added Infernal Expansion to my modpack and ran the report. I do not see the mobs from this mod in your report, but I see others like Alex Mobs.
I guess I can manually add them to where I expect to see them, but it would be nice if your report picked them up.
Any ideas?

Hi!  same issue...
When you are adding a new mod to an existing set up, run SBU with only minecraft and the new mod and set SBU to suppress reporting minecraft mods.
suppressMinecraftMobReporting = true
That will give you a small BiomeMobWeight.txt file with only the new entries for that mod.
Add those lines to the end of your BiomeMobWeight.csv file.  The order in BiomeMobWeight.csv file doesn't matter.  The new BiomeMobWeight.txt will be sorted by Biome if you care (you can also sort in a spreadsheet).
So run Minecraft SBU, and Infernal Expansion only and you'll get this list... Just add it to the end of your existing BiomeMobWeight.csv file.
1, nether, minecraft:nether_wastes, MONSTER, infernalexp:voline, 50, 1, 3
2, nether, minecraft:soul_sand_valley, MONSTER, infernalexp:embody, 60, 1, 5
3, nether, minecraft:crimson_forest, MONSTER, infernalexp:shroomloin, 10, 1, 3
4, nether, minecraft:crimson_forest, MONSTER, infernalexp:voline, 10, 1, 5
5, nether, minecraft:warped_forest, MONSTER, infernalexp:warpbeetle, 10, 1, 1
6, nether, minecraft:basalt_deltas, MONSTER, infernalexp:basalt_giant, 30, 1, 1
Man-- those are pretty specialized!
Cheers!


doc: release: 2.4: Add notes about Atmel, UpdateHub, Storage

Add notes about Atmel related changes
Add notes and security info about UpdateHub
Move shell note to right place
Add note related to storage

Will you please rebase?


Upgrade to Akka 2.6.1

I've upgraded Akka dependencies to version 2.6.1, and fixed the only test file that didn't compile right away.

:+1:

@j5ik2o Could you incorporate this PR to the migrated project?
https://github.com/sisioh/akka-cluster-custom-downing

@manuelp @TanUkkii007
https://github.com/sisioh/akka-cluster-custom-downing/pull/27
This is a new release, Scala 2.13/Akka 2.6.x is supported.
(Scala 2.11/Akka 2.5.x is not supported)


GUI for creating and editing HSM

Problem statement
Currently the only way to create and edit a HSM is with code. For larger and more complex HSM's it can be difficult to get a quick understanding of the structure of the HSM. A graph-based or otherwise visual HSM would be really helpful for both understanding and debugging the HSM, but also for less technical people to contribute and build these state machines.
Proposed solution
LimboAI could utilize Godot's graph functionality to create tools that allow GUI creation and debugging of state machines. Here are some examples from gd-YAFSM for inspiration

Alternatives
The alternative is just not using a GUI.

I have a few enhancements in mind for HSMs. It was always my intention to have a GUI editor. However, I'd like the form and function of HSMs to be fully established before GUI is considered. Godot graphs can be utilized, but they are limiting, so maybe a custom solution would be better. I'd have to take another look at graphs to see if they fit the job well today.

I know the Godot graphs have received a bit of an overhaul in 4.1+, but I'm not sure if necessarily made them better. I'd be excited to see what you come up with for this, if it's anywhere close to how nice the debugger for the BT is


Gitlab credential issues. Git clone container throws error.

This a summary of discussions made in Gitter to keep track of progress.
Leave this issue to verified information. Keep the discussion to Gitter
Error:
Within the git plugin container following error is throwed while cloning a repo from gitlab. This error have begun to appear with drone integration with recent versions of GitLab.
$ git init
Initialized empty Git repository in /drone/src/git.company.se/company/placeholder-prototype/.git/
$ git remote add origin https://git.company.se/company/sleepy-prototype.git
$ git fetch --depth=50 origin +refs/heads/master:
fatal: could not read Username for 'https://git.company.se': No such device or address

Versions:
The error have been reproduced using: gitlab-8.0.4-0, gitlab-8.0.4-1
Anton Ikonovalov cant reproduce this error on version gitlab-8.0.3-1. Something have probably happen in later version which breaks Drone from working.
Older versions of GitLab CE could be found here: https://packages.gitlab.com/gitlab/gitlab-ce
Next step:

Try clone_mode=oauth in your drone gitlab configuration string
Try to manually create netrc locally and test it with GitLab.

@Bobbarebygg any news on this? I'm having the same issue.

@AKoetsier  are you using clone_mode=oauth configuration setting? This will clone the repository with the oauth token instead of the repository token.
I'm probably going to alter GitLab to default to clone_mode=oauth since, this is how GitHub and Bitbucket work by default as well. I'm also told there are issues with cloning using the repository token. I don't have the reference to the GitLab issue, but someone posted it in the Gitter room a few weeks back.

also make sure your GitLab instance is capable of cloning using a token with git+http(s). We use a netrc file to clone private repositories to inject the username and password:
machine: <mydomain.com>
login: oauth2
password: <my oauth token>

Also, if you are using a self-signed certificate, make sure you configure skip_verify in your yaml file. See http://addons.drone.io/git/ for details.

@bradrydzewski I was not using the oauth-setting but the default (token). I did not set anything in gitlab (apart from the defaults) to be able to clone using a token so I will take another look into that. Tnx for the quick response!

No clear news, no.
I tried a fresh installation (8.0.4.) in hope of the error occured when upgraded from 7.x.x to 8.0.x.
Unfortunately I got the same error. I aint a ruby developer so i don´t know where to start looking in the gitlab repo. I guess we need a precise log for gitlab and drone to nail down the error.
We are currently testing out GOGS to see if it can replace gitlab. It is really fast and feels solid, but it doesn't solve the problem.

Gitlab use
upstream gitlab {
  server unix:/var/opt/gitlab/gitlab-rails/sockets/gitlab.socket fail_timeout=0;
}

upstream gitlab-workhorse {
  server unix:/var/opt/gitlab/gitlab-workhorse/socket;
}

and some uri paths routed to different upstream
use nginx configuration https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/doc/settings/nginx.md

i have the same issue with gitlab 8.0.1.
also tried clone_mode=oauth and fail_timeout=0 in nginx vhost without success.

@davidak Did you try skip_verify?

@Bugagazavr yes, it helps with the self-signed certificate.

Did anyone find a solution to this problem? I'm currently having the same issue and I have tried the clone_mode=oauth but not success. It looks like drone needs it's own login for Gitlab? Anything would be greatly appreciated.

@blandes what gitlab version do you have? i havn't found the time to update, that might help.

@davidak So I'm actually using Rancher to deploy my CI (which may be the problem) so the version is rancher/drone:0.4

@blandes what gitlab version?

@davidak drone/drone:0.4

@blandes gitlab not drone.

@davidak Sorry, I wasn't paying attention.  gitlab:8.4.4

Okay, that is the newest version. Then updating gitlab also don't help. :/
Someone has to debug this.

Yeah, it's been stressing me out too much. Iv'e tried so many things such as deployment keys, tokens, oauth, and so on. I was thinking possibly a port issue because of the git+http but no dice. Thanks for the help.

@blandes do you have self signed certificate?

@Bugagazavr No

So Gitlab is connected to Drone and is showing repos, builds, and so on. When a build is triggered or a commit is made Drone then spits out the original error at the top. I'm not sure where the .netrc is so I haven't tried that option yet.
I did however note that when I had a co-worker clone the repo from his computer that he had to login. I haven't set up his ssh key yet but the permission looked the same as above. Could I possibly make a user for drone?

Drone clones the repository using the git+http(s) url and authenticates with a token, or if you use clone_mode=oauth with an oauth token. I personally prefer clone_mode=oauth. Drone clones the repository the same way for every remote system (GitHub, Bitbucket, GitLab and Gogs) and we only ever seem to have this issue with GitLab. Worse, some GitLab installations have this issue and others don't. I'm honestly not sure how to proceed with troubleshooting

@blandes .netrc placed in user home directory
@blandes @davidak if you can help me:

Do you use gitlab on relative path /gitlab/ or etc?
Do you use certificate
If certificate not self signed, i would to know what a root certificate used in your cert
Can you reproduce this error? Launch drone tests, with command cat ~/.netrc, and create this file locally on your own machine with the same content, create empty directory and try to clone your repository locally.

@Bugagazavr 1. No 2. self signed 3. how should the command get executed if the repo is not cloned?

@davidak sorry, you can create netrc file manually
machine your.gitlab.com
        login drone-ci-token
        password your_drone_repo_token

your_drone_repo_token you can get from gitlab in drone service settings
http://www.mavetju.org/unix/netrc.php

@davidak if you are using a self-signed certificate you might need to configure your yaml to clone the repository and ignore tls verification:
clone:
  skip_verify: true

this executes git config --global http.sslVerify false prior to cloning the repository

@bradrydzewski I think this is only certificates problem:

Self-signed cerificates
Unknow authority.

@blandes can you try add this to your .drone.yml ?
clone:
  skip_verify: true

@bradrydzewski i have that already.
@Bugagazavr it asks for a username like without the .netrc, i have set the right permission. tested on ubuntu 14.04

@bradrydzewski I have it on my remote config, does this do the same thing?

@davidak When I turn down the settings from Private to Public, it will actually try to pull the repo but does a hard reset?

I set the repo to public and get exactly the same error.
As the message "fatal: could not read Username" implies, git tries to read the username (and password) from keyboard input, the .netrc is ignored.

I have it on my remote config, does this do the same thing?

This is not the same thing. This value in the remote config defines how Drone server interacts with GitLab. The yaml configuration defines how the Git plugin should clone the repository.

I was able to verify that I can clone a repository by configuring the appropriate drone integration for my private gitlab repository, and then manually invoking the git clone plugin. I don't have a drone+gitlab installation, so I chose to perform this manually:
docker run -i plugins/drone-git <<EOF
{
    "repo": {
        "clone_url": "https://gitlab.com/bradrydzewski/test.git"
    },
    "build": {
        "event": "push",
        "branch": "master",
        "commit": "636b4f33dbe819f65a06036cfad619afa2812503",
        "ref": "refs/heads/master"
    },
    "workspace": {
        "root": "/drone/src",
        "path": "/drone/src/gitlab.com/bradrydzewski/test",
        "netrc": {
            "machine": "gitlab.com",
            "user": "XXXXXXXXXXXXX",
            "login": "drone-ci-token"
        }
    }
}
EOF

This resulted in the following successful output:
$ git init
Initialized empty Git repository in /drone/src/gitlab.com/bradrydzewski/test/.git/
$ git remote add origin https://gitlab.com/bradrydzewski/test.git
$ git fetch --no-tags --depth=50 origin +refs/heads/master:
From https://gitlab.com/bradrydzewski/test
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
$ git reset --hard -q 636b4f33dbe819f65a06036cfad619afa2812503

While it is true I didn't test this wing-to-wing with a full drone+gitlab installation, my understanding is there are individuals successfully using drone+gitlab. This leads me to believe there is no known issues with cloning gitlab repositoires with a netrc.
@Bugagazavr can you confirm? Are you still using Drone with GitLab?
** note that the netrc user field is actually the password. long story, but this is the result of a typo that, for backward compatibility reasons, has not been updated yet.

@bradrydzewski yep it working for me, looks like this depends on certificate.

@bradrydzewski with your code i get:
fatal: unable to access 'https://...': SSL certificate problem: self signed certificate
i tried to put "skip_verify": "true" to repo but get the same result. where to put it?

plugin-specific configuration goes in the vargs section of the payload like this:
docker run -i plugins/drone-git <<EOF
{
    "repo": {
        "clone_url": "https://gitlab.com/bradrydzewski/test.git"
    },
    "build": {
        "event": "push",
        "branch": "master",
        "commit": "636b4f33dbe819f65a06036cfad619afa2812503",
        "ref": "refs/heads/master"
    },
    "workspace": {
        "root": "/drone/src",
        "path": "/drone/src/gitlab.com/bradrydzewski/test",
        "netrc": {
            "machine": "gitlab.com",
            "user": "XXXXXXXXXXXXX",
            "login": "drone-ci-token"
        }
-   }
+   },
+    "vargs": {
+        "skip_verify": true
+    }
}
EOF

thanks.
with that the certificate issue is solved, but i get that issue of this ticket:
fatal: could not read Username for 'https://...': No such device or address

@davidak can you clone with git clone https://drone-ci-token:{token}@{hostname}/{owner}/{repo} for your repository? These are the questions we should be able to answer:

[ ] can you git clone inside a docker container with git+https and your username and password
[ ] can you git clone inside a docker container with git+https using the drone token (as seen above)
[ ] can you git clone inside a docker container with git+https using a .netrc file
[ ] can you git clone by manually invoking the plugins/drone-git container (as seen above)

This will help us isolate the problem. I can complete all four of these tasks using gitlab.com. Note that the first three don't even involve drone. So if the first three tasks don't work, perhaps there is something wrong with the gitlab install, given these commands all work with gitlab.com

this is strange:
root@9c956968ca92:/# git config --global http.sslVerify false
root@9c956968ca92:/# git clone https://gitlab.company.de/dkl/tekemio.git
Cloning into 'tekemio'...
Username for 'https://gitlab.company.de': dkl
Password for<EMAIL_ADDRESS>warning: You appear to have cloned an empty repository.
Checking connectivity... done.
root@9c956968ca92:/# cd tekemio/
root@9c956968ca92:/tekemio# git status
On branch master

Initial commit

nothing to commit (create/copy files and use "git add" to track)
root@9c956968ca92:/tekemio# git pull
Username for 'https://gitlab.company.de': dkl
Password for<EMAIL_ADDRESS>Your configuration specifies to merge with the ref 'master'
from the remote, but no such ref was fetched.

@bradrydzewski I did add the following lines to my .drone.yml but nothing still. Sorry for the long delay.
clone:
skip_verify: true

@blandes @davidak my recommendation is to test this against gitlab.com ... if you can demonstrate the same error with gitlab.com then we know it is a drone error. If you cannot demonstrate with gitlab.com, then we know it is a configuration error, at some level.
The fact that I was able to clone from gitlab.com with a netrc and the drone git plugin, and that @Bugagazavr is using drone with omnibus gitlab, leads me to believe this is a configuration error outside of drone. If that is the case, our ability to help troubleshoot will be very limited.

I'm getting the same errors as above on my self-hosted GitLab instance.
Testing on gitlab.com and pushes don't even trigger builds.
I believe Drone is registered and configured properly with GitLab.
Screens:

@venoma333 thanks for report
Can you provide some drone logs?
did you add a docker host to your config?

I believe these lines are relevant from the logs:
[GIN] 2016/03/28 - 09:03:29 | 200 |  402.389427ms | <IP_ADDRESS> |   GET     /api/stream/venoma333/test-drone
time="2016-03-28T09:04:15Z" level=error msg="failure to calculate matrix for venoma333/test-drone. yaml: line 1: found character that cannot start any token"
[GIN] 2016/03/28 - 09:04:15 | 400 |  4.823014838s | <IP_ADDRESS> |   POST    /api/hook
Error #01: yaml: line 1: found character that cannot start any token
http: multiple response.WriteHeader calls
time="2016-03-28T09:04:26Z" level=info msg="closed event stream"

This is my .drone.yml:
build:
  image: node:5.5.0
  commands:
  	- echo "done"

The drone server is behind a reverse nginx proxy and this is the nginx config:
server {
        listen 80;
        server_name teeyankov.co;

        location / {
                proxy_set_header X-Real-IP $remote_addr;
                proxy_set_header X-Forwarded-For $remote_addr;
                proxy_set_header X-Forwarded-Proto $scheme;
                proxy_set_header Host $http_host;
                proxy_set_header Origin "";

                proxy_pass http://teeyankov.co:8000;
                proxy_redirect off;
                proxy_http_version 1.1;
                proxy_buffering off;

                chunked_transfer_encoding off;
        }
}

@venoma333 this is not a gitlab bug, your yaml is invalid.
try to replace echo "done" to echo 'done'

@Bugagazavr I'm really sorry, Not familiar with yaml yet.
The private project was pulled, tested and the build was a success. I guess it really is a configuration issue.

Sorry to bring an old issue alive again, but I have a workaround that works for self-hosted GitLab solutions with private repositories.  However, be aware that drone should not be in public mode as this will reveal the token used.
After activating the repository with GitLab, go into the repository settings in GitLab, then Services, then Drone CI.  Copy the token on that page.  Now go into the database for Drone and run the following:
UPDATE repos SET<EMAIL_ADDRESS>WHERE repo_id={repo_id};

scheme will be either http or https, dependent on your installation.  And the repo_id can easily be figured out by running a select * from repos; first.  Now when you attempt to push or trigger a build again, it should run successfully.
The downside now is that Drone will show the full clone URL in its output, including the token.  This could be a security issue if you aren't careful.
The root cause of the problem, in the end, appears to be Drone not attaching the credentials provided for private repositories.  It may be beneficial to allow a toggle for private repositories.

@ColtonProvias for private repositories drone adds a netrc file which sets drone-ci-token:{token} for all outbound requests. We do the same for GitHub, Bitbucket, Gogs, as well. Again, assuming you are cloning private repositories this shouldn't be required. Also, have you tried starting drone with clone_mode=oauth

I am using clone_mode=oauth.  It still wasn't setting up an appropriate netrc file.  I'm using a self-hosted GitLab-CE instead of gitlab.com, so that might have something to do with it.

It still wasn't setting up an appropriate netrc file.

Are you sure this is the root cause? the git plugin is responsible for creating the netrc file and the git plugin is agnostic to the service provider (it doesn't know anything about GitHub, GitLab, etc). It creates the netrc for all private repositories, regardless of service provider.
We can fully isolate this test by running the git plugin locally. You can get a copy of the git plugin by running docker pull plugins/git and execute like this:
docker run --rm \
  -e DRONE_NETRC_MACHINE=gitlab.com \
  -e DRONE_NETRC_USERNAME=drone-ci-token \
  -e DRONE_NETRC_PASSWORD={token} \
  -e DRONE_COMMIT_SHA=636b4f33dbe819f65a06036cfad619afa2812503 \
  -e DRONE_REMOTE_URL=https://gitlab.com/bradrydzewski/test.git \
  plugins/git

I ran the above command and it succeeded with the below output.
git init
Initialized empty Git repository in /.git/
git remote add origin https://gitlab.com/bradrydzewski/test.git
git fetch --no-tags origin +refs/heads/master:</command>
From https://gitlab.com/bradrydzewski/test
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
git reset --hard -q 636b4f33dbe819f65a06036cfad619afa2812503
git submodule update --init --recursive

If I run the plugins/git image directly in rancher with the appropriate values as you showed, there is no error.  However, running it normally via drone produces the following JSON in the build container's command:
{
  "repo": {
    "id": 3,
    "owner": "Zeitghost",
    "name": "Webmail",
    "full_name": "Zeitghost/Webmail",
    "avatar_url": "",
    "link_url": "https://git.zeitghost.io/Zeitghost/Webmail",
    "scm": "",
    "clone_url": "http://git.zeitghost.io/Zeitghost/Webmail.git",
    "default_branch": "master",
    "timeout": 60,
    "private": true,
    "trusted": false,
    "allow_pr": true,
    "allow_push": true,
    "allow_deploys": true,
    "allow_tags": true
  },
  "build": {
    "id": 3,
    "number": 1,
    "event": "push",
    "status": "running",
    "enqueued_at":<PHONE_NUMBER>,
    "created_at":<PHONE_NUMBER>,
    "started_at":<PHONE_NUMBER>,
    "finished_at": 0,
    "deploy_to": "",
    "commit": "ed45a85f463db8647e56b30a8f3f4514add2a421",
    "branch": "master",
    "ref": "refs/heads/master",
    "refspec": "",
    "remote": "",
    "title": "",
    "message": "Update README.md to trigger build",
    "timestamp": 0,
    "author": "Colton Provias",
    "author_avatar": "https://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61.jpg?s=128",
    "author_email"<EMAIL_ADDRESS>    "link_url": ""
  },
  "build_last": {
    "id": 0,
    "number": 0,
    "event": "",
    "status": "",
    "enqueued_at": 0,
    "created_at": 0,
    "started_at": 0,
    "finished_at": 0,
    "deploy_to": "",
    "commit": "",
    "branch": "",
    "ref": "",
    "refspec": "",
    "remote": "",
    "title": "",
    "message": "",
    "timestamp": 0,
    "author": "",
    "author_avatar": "",
    "author_email": "",
    "link_url": ""
  },
  "job": {
    "id": 3,
    "number": 1,
    "error": "",
    "status": "running",
    "exit_code": 0,
    "enqueued_at":<PHONE_NUMBER>,
    "started_at":<PHONE_NUMBER>,
    "finished_at": 0,
    "environment": {}
  },
  "keys": {
    "public": "REDACTED",
    "private": "REDACTED"
  },
  "netrc": {
    "machine": "git.zeitghost.io:443",
    "login": "oauth2",
    "user": "REDACTED"
  },
  "config": "publish:\\n  docker:\\n    registry: docker.zeitghost.io\\n    insecure: true\\n    repo: zeitghost/webmail\\n    tag: latest\\n    username: $$REGISTRY_USERNAME\\n    password: $$REGISTRY_PASSWORD\\n    email: $$REGISTRY_EMAIL\\n\\ndeploy:\\n  rancher:\\n    url: http://rancher.zeitghost.io/v1/projects/1a5\\n    access_key: $$RANCHER_ACCESS\\n    secret_key: $$RANCHER_SECRET\\n    service: mail/webmail\\n    docker_image: docker.zeitghost.io/zeitghost/webmail:latest\\n    start_first: true\\n    confirm: true\\n    timeout: 300\\n\\nnotify:\\n  slack:\\n    channel: development\\n    webhook_url: $$SLACK_WEBHOOK",
  "secret": "",
  "system": {
    "version": "",
    "link_url": "http://drone:8000",
    "plugins": [
      ""
    ],
    "globals": [
      ""
    ],
    "privileged_plugins": [
      ""
    ]
  }
}

I am guessing the issue is the port included in the machine:
  "netrc": {
-    "machine": "git.zeitghost.io:443",
+    "machine": "git.zeitghost.io",
    "login": "oauth2",
    "user": "REDACTED"
  },

I would expect the 443 to be implicit when using https. Perhaps when you setup drone you should omit 443 from the configuration? This would prevent it from being included in the netrc.
Reference https://github.com/drone/drone/blob/master/remote/gitlab/gitlab.go#L287

That was the issue.  Thanks!
I added the :443 in as the documentation at http://readme.drone.io/setup/remotes/gitlab/#gitlab-configuration:dd87d86ac28472949397c68a306dd605 stated that it defaults to :80 otherwise.  That fixed the issue.

Thanks, we can get that fixed in the docs. We also added code to the Gogs implementation to strip the port, which probably makes sense for GitLab as well https://github.com/drone/drone/blob/master/remote/gogs/gogs.go#L178
I'll make those changes for good measure and then we can close this issue.

I'm closing this issue because we have now verified with multiple GitLab installs that Drone is able to clone public and private repositories when correctly configured.
I recently patched the issue described above where the netrc was unable to clone private repositories when the gitlab url included port number: https://github.com/drone/drone/issues/1223#issuecomment-214841041
Note that in addition to my own testing that shows Drone can clone from a properly configured GitLab instance (at GitLab.com) this was also confirmed by @ColtonProvias on his private GitLab instance once we fixed the netrc and port issue: https://github.com/drone/drone/issues/1223#issuecomment-214842798
So in conclusion, if you are coming to this issue because you think there is a bug with Drone please take a look at your GitLab configuration. Also note that you test the Git clone capabilities in isolation per this comment: https://github.com/drone/drone/issues/1223#issuecomment-214802750


Add Advertise(a *AdvPacket) to Device interface

To support advertising custom formatted adv. packet.
It will make gatt support other beacons like Eddystone.
Currently only works in Linux.

Awesome!

On Jul 24, 2015, at 12:57 AM, Homin Lee<EMAIL_ADDRESS>wrote:
To support advertising custom formatted adv. packet.
It will make gatt support other beacons like Eddystone.
Currently only works in Linux.
You can view, comment on, or merge this pull request online at:
https://github.com/paypal/gatt/pull/48
Commit Summary
Add Advertise(a *AdvPacket) to Device interface
File Changes
M device.go (3)
M device_darwin.go (5)
M device_linux.go (28)
Patch Links:
https://github.com/paypal/gatt/pull/48.patch
https://github.com/paypal/gatt/pull/48.diff
—
Reply to this email directly or view it on GitHub.

Thanks, @suapapa.
Up to now, there is no way to customize it on OS X.
We had spent much efforts in the design / API / implementation to make sure we can have the stack run on both OS X and Linux. But it is just too much compromises for the Linux folks.
For example,  customizing the advertisement is probably one of the first things users want to try it on this package. It actually can be done via the LnxSetAdvertisingData Option, which is, of course, less easy and intuitive than the API proposed.
Since Linux are much more flexible, and people more people uses the package on Linux.
I'm thinking to incorporate more Linux only changes, or even start a Linux only branch later.


/usr/bin/wine: cannot execute binary file: Exec format error

First, thanks for the nice tool. I could build Windows Python apps without any Windows computer. NowI face the issue of a strange error when I ported the exact same code to another workspace (in Bitbucket).
In the old workspace the build pipeline looks like this:
image: cdrx/pyinstaller-windows:python3

pipelines:
  branches:
    master:
        - step:
            name: Test, build and deploy
            caches:
              - pip
            script:
              - which python && python --version
              - python -m pip install pip --upgrade
              - cp requirements.txt src/
              - python -m pip install -r requirements.txt
              - python -m pytest tests
              - pyinstaller --windowed --onefile src/main.py --name MyTool.exe --exclude-module=pytest --add-data "src/version.json;."
              - # .exe deployment steps...

This works!
Then I ported the same build tool (bitbucket pipeline) to another (bitbucket) workspace I get now at step python -m pip install pip --upgrade :
/usr/bin/python: line 1: /usr/bin/wine: cannot execute binary file: Exec format error

while the one in the old workspace is still working fine. Do you have any ideas what the cause could be?

the error message indicates that it is somehow running on a different kernel than it expects (64bit or 32bit). Is this an issue of the underlying docker image or wine?

after reaching out to Bitbucket support, the reason were the underlying containers of Bitbucket - see here https://github.com/kata-containers/packaging/issues/513


Selection checkbox cursor turns to auto instead of pointer

Version
I noticed it on the website
Reproduction Link
Table with selection docs

Steps to reproduce

Open the table docs page and navigate to selectable section
Hover over any selection checkbox in any row.

What is Expected?

Hovering on rows selection field turns the cursor to a pointer.

What is actually happening?

Hovering on rows selection fields doesn't turn the cursor to a pointer.

Not sure to understand, you would expect the cursor to turn into a pointer when hovering a checkbox?

yes that's what I mean. much like adding a @select event makes the row clickable, hovering on the row turns the cursor into a pointer.Now if there's a checkbox in that clickable row (like the docs example), hovering over it turns it back to normal pointer which seems odd to me. Maybe it's just me feel free to discard the issue

Not sure there are any rules for this, closing this for now!


Bot starts but crashes after encountering a pokemon

Expected Behavior
Catches pokemon
Actual Behavior
Encounter a pokemon then shows its iv details and crashes shortly after
Steps to Reproduce
Run the bot and encounter a pokemon
Other Information
OS: Windows 10
Git Commit: (run 'git log -n 1 --pretty=format:"%H"' and paste it here)
Python Version: 2.7.10
Crash Details

2016-08-07 15:09:19,733 [PokemonCatchWorker] [INFO] [pokemon_appeared] A wild Clefairy appeared! [CP 669] [Potential 0.53] [S/A/D 5/5/14]
2016-08-07 15:09:23,546 [       cli] [INFO]
2016-08-07 15:09:23,546 [       cli] [INFO] Ran for 0:00:29
2016-08-07 15:09:23,548 [       cli] [INFO] Total XP Earned: 0  Average: 0.00/h
2016-08-07 15:09:23,549 [       cli] [INFO] Travelled 0.00km
2016-08-07 15:09:23,551 [       cli] [INFO] Visited 0 stops
2016-08-07 15:09:23,552 [       cli] [INFO] Encountered 1 pokemon, 0 caught, 0 released, 0 evolved, 0 never seen before
2016-08-07 15:09:23,553 [       cli] [INFO] Threw 0 pokeballs
2016-08-07 15:09:23,555 [       cli] [INFO] Earned 0 Stardust
2016-08-07 15:09:23,555 [       cli] [INFO]
2016-08-07 15:09:23,556 [       cli] [INFO] Highest CP Pokemon:
2016-08-07 15:09:23,558 [       cli] [INFO] Most Perfect Pokemon:
Traceback (most recent call last):
File "pokecli.py", line 496, in
main()
File "pokecli.py", line 132, in main
raise e
AttributeError: 'NoneType' object has no attribute 'get'

As there have been many updates since this issue was posted, I'm assuming this has been resolved.


[Codegen 76] create throwIfPartialNotAnnotatingTypeParameter and add extractAnnotatedElement method in parsers

Summary

Create a throwIfPartialNotAnnotatingTypeParameter function in the error-utils.js file and extract the error-emitting code from Flow and Typescript index files. Notice that the way in which the annotatedElement is computed is different, therefore we should add an extractAnnotatedElement function to the Flow and TypeScript parsers.

Part of the Codegen ☂ Issue https://github.com/facebook/react-native/issues/34872
Changelog

[Internal] [Changed] - create throwIfPartialNotAnnotatingTypeParameter and add extractAnnotatedElement method in parsers
Test Plan

yarn jest react-native-codegen

Thanks for adding tests! :)


Make message display robust to null image urls

If the user had previously done the iOS codelab, some messages will not have imageURL fields.

@progressnerd LGTM, thank you!


[2022 Alibaba Summer of Code] Support Snapshot for DLedger

2022 Alibaba Summer of Code
Welcome to the open source world! If you haven't planned how to spend this summer, come to the Alibaba Summer of Code and code with us! 💻
Alibaba Summer of Code is a global program focused on engaging students directly in open source software development. Under the guidance of the mentor in the Alibaba open source project, students can experience software development in the real world. Alibaba Summer of code will begin from May 30th to September 1st. Students can use the summertime to participate in the open source project and work with the core members of the project.
What you can get?
On this exclusive developer journey, students will have the opportunity to:

Participate in the top projects of the International Open Source Foundation;
Get a scholarship from Alibaba;
Obtain an open source contributor certificate;
Get a fast pass of Alibaba Internship
Get your code adopted and used by the open source project！

Our Mentor
<EMAIL_ADDRESS>Subject
Snapshot is a very important feature for raft protocol. For example, it can greatly shorten the recovery time and delete useless logs in time. Currently, DLedger has not implemented this feature.
@hzh0425 has implemented statemachine feature and the snapshot interface is left.
https://github.com/openmessaging/dledger/blob/4293093354d8b1464ce567fcaba9d3999e37e4b4/src/main/java/io/openmessaging/storage/dledger/statemachine/StateMachine.java#L37-L52
Welcome to implement snapshot feature for dledger on this basis and improve the log deletion strategy in state machine mode
Apply Now
Upload your CV and project proposal via ASOC 2022 official website：
https://opensource.alibaba.com/asoc2022
If you have any questions, visit the event website:https://opensource.alibaba.com/asoc2022
Email address<EMAIL_ADDRESS>

Snapshot is a very important feature for raft protocol. For example, it can greatly shorten the recovery time and delete useless logs in time. Currently, DLedger has not implemented this feature.
In the statemachine branch, @hzh0425 has implemented statemachine feature and the snapshot interface is left.
https://github.com/openmessaging/dledger/blob/4293093354d8b1464ce567fcaba9d3999e37e4b4/src/main/java/io/openmessaging/storage/dledger/statemachine/StateMachine.java#L37-L52
Welcome to implement snapshot feature for dledger on this basis

Hi, I want to take over this issue.

Hi, I want to take over this issue.

Welcome, you can write an rfc to illustrate your ideas

Hi, I want to take over this issue.

I also wish to contribute to this issue. Can we work on it together?

Hi, I want to take over this issue.

I also wish to contribute to this issue. Can we work on it together?

Of course.

I have put this issue to ASoC. Welcome to apply for this subject!

I have put this issue to ASoC. Welcome to apply for this subject!

Hello, does anyone have been doing this project? I am also more interested in this.

I have put this issue to ASoC. Welcome to apply for this subject!

Hello, does anyone have been doing this project? I am also more interested in this.

Not yet. Welcome to write an rfc to illustrate your ideas.

Today is 5.30(The day that "open for application" in timeline),
but the link:https://opensource.alibaba.com/asoc2022, when I click the link, it redirects to error.taobao.com
Did anyone else met that problem too?
(By the way, I've sent a e-mail about my idea to<EMAIL_ADDRESS>

Today is 5.30(The day that "open for application" in timeline), but the link:https://opensource.alibaba.com/asoc2022, when I click the link, it redirects to error.taobao.com
Did anyone else met that problem too?
(By the way, I've sent a e-mail about my idea to<EMAIL_ADDRESS>
Now, it's available!

Same question here. How many people have applied for this project?


fix: update pre-commit configuration to add validate and tflint

Description

update pre-commit configuration to add validate and tflint

Motivation and Context

these are used for static checks on PRs/changes

Breaking Changes

no

How Has This Been Tested?

static checks should pass - no code/module changes

v2.5.0 has been just released.


Partially revert PR-1673 due to unhandled error

2 months ago, the way errors were displayed was changed to actually use "error()". This caused games to break that used Adonis,  as whenever the connection fails,  HTTP.luau would fail as well as the require was not pcall'd.

#1804 fixes

#1804 fixes

I suggest the new way is kept regardless, looping seems inefficient and "..." should be used.
function(...) warn("oh no warning here more info:", ...)

I suggest the new way is kept regardless, looping seems inefficient and "..." should be used.

Looping?


Error messages for invalid version = literal: ... in config

It's a very minor issue but an invalid version config field causes error messages that (imo) could be more specific/informative. If it would be welcome, I would happily add a PR to have an error suggest the correct format.
Missing variable name
As an example this configuration
version = literal: myproj/__init__.py

produces this error:
ValueError: not enough values to unpack (expected 3, got 2)

File available, but missing variable name
For example this configuration:
version = literal: myproj/__init__.py:

leads to this error:
scriv.exceptions.ScrivException: Couldn't find literal: 'literal: src/template_python/__init__.py:'

Good idea!
Now (as of commit bf5d9cf1924bb9096a5fc6b764f068ee9cc49c58) both of these errors will produce: ScrivException: Couldn't read 'version' configuration: Missing value name: 'literal: myproj/__init__.py'.  I also added more detail to other kinds of failures reading literals.

This is now released as part of scriv 1.2.1.


Android: Update deps, target SDK 30 and ARMv8

Updates two dependencies
Builds for ARMv8 instead of ARMv7
Targets Android API level 30

At this point we aren't wanting to update our baseline to Android SDK 30. In fact I actually just downgraded zxing:core to prevent a crashing bug on downlevel devices, but I would be happy to abiFilters change.

I resolved the conflicts with the master branch and set the target back to 28. Compile SDK should stay at 30 since that doesn't change runtime behaviour but does give warning and errors based on the latest Android Studio version.

It should be emphasized that modifying compileSdkVersion does not change the runtime behavior. When you modify compileSdkVersion, new compilation warnings and errors may appear, but the new compileSdkVersion will not be included in APK: it is only used during compilation. (you really should fix these warnings. There must be a reason for their appearance.)
Therefore, we strongly recommend that you always compile with the latest SDK. There are many benefits to using new compilation checks on existing code, avoiding new deprecated APIs, and preparing for new APIs.

I also think the versioning is outdated and should either be updated or removed, but maybe that's something for another PR:
        versionCode 1
        versionName "1.0"

Sounds good. Yes, we should update the version code, good catch. Feel free to either throw it in this PR or a separate, whichever you prefer. Thanks!

Let’s do it separately and merge this first

Solved conflicts, rebased and cleaned up commits. CI passes, this PR has become really small since the dependencies and targetSDK have been rolled back.


No infobox

Version 2.0 Windows
Infobox would be nice to check the version number

This is an enhancement, but I cannot change the label. Sorry.

You should be able to see it in About section

But I agree it would be nice to see the version somewhere at the bottom maybe.

Sorry, but I can't find the About section?

Well on mac os it's under redis-gui (first) menu item. I don't remember how it is on windows. Might be under File. Maybe it was under Help on Windows which gets replaced with custom items 🤔 Need to find windows laptop somewhere to test then.. 😄


Rename Bitset parent package from utils to collections

Current dependencies on/for this PR:

feature/proof-of-stake

PR #570

PR #571   👈

This comment was auto-generated by Graphite.


[CLI]: sweep agent creates multiple runs with same ID

Describe the bug

Hi,
I am running a sweep of offline runs on our cluster. I run them offline to avoid spamming wandb with requests, and sync the runs after they are all finished.
However, I noticed that mutliple runs receive the same ID, which means that they are merged together as one run on the web app. Locally they are separate runs.
In this particular case, I ran 10 separate jobs (we use slurm) that started at the same time, each job boiling down to this:
export WANDB_MODE="offline"
wandb agent ENTITY/PROJECT/SWEEPID --count 10

Here is a screenshot of my wandb folder with the local runs:

And here is a snippet of the IDs and their number of occurences:
001prev3: 1, 0s85ue7s: 1, 1plunaw2: 1, 1vk0sr0l: 2, 2409qdrm: 2, 2bh30mru: 1, 2zdhl5a9: 2, 3mwumpkt: 2, 4m2gvcl9: 2,
5vacmjhf: 2, 762lidf2: 2, 8misfpfq: 1, 902z4bds: 2, 9e7pq9bq: 2, 9oyuxjsj: 2, dka9f1k6: 1, dsci61yx: 2, du7i2jev: 1,
ftb7ue04: 1, g1g94gqo: 1, gx22sxbk: 1, h1ldk4g1: 2, h7ox4tms: 2, hel4ple6: 2, hjmi0uq5: 2, iff9wsen: 2, ijrg220m: 2,
ikvkx0jt: 1, ixbumq10: 2, jr5q249f: 1, kmu2gux3: 2, l4vngfh0: 1, memcj53z: 2, mmdfl63w: 1, n9qm7bm1: 2, nlknyhbc: 1,
os3d3w1b: 1, p8paibc6: 1, ptsri2gn: 1, q0kiott9: 1, q5tblbe6: 2, rycxhx9u: 2, s9z2k1z7: 2, sbus46tn: 2, sesr1lzq: 2,
soec4t2k: 2, sx12rizt: 1, t01rozqi: 1, t04kps2e: 1, t0t5uwwj: 2, u4ru7yxs: 2, v6ykra00: 2, vntbjher: 2, vtjpnagi: 1,
wfusu9fe: 2, wrrm9oxp: 2, xcz7y9uf: 2, xew668nb: 2, y95cpnin: 2, zgfs0mo0: 1, zy31f8t1: 1

As an example, here is a visualization of logged data from a 2-occurence run (purple) vs 1-occurence run (cyan). I believe the purple run has 2 datapoints per timestep, and tries to connect them together:

I think this is specific to sweeps, since when I make independent runs (1 slurm-job per run), everything works perfectly.
Also, many of these runs are considered as crashed in the web app until I synchronise them, and they get their statuses updated to finished.
Any ideas how I can fix this? These sweeps are a very cool feature, I would love to be able to use them properly! I think it might be related to #3682, but no solution was posted.
Additional Files
No response
Environment
WandB version: 0.12.20
OS: Linux
Python version: 3.9.6
Versions of relevant libraries:
Additional Context
No response

Hi @mathieu-reymond, since the runs are offline they don't communicate with the server so there is no check to make sure the run_id's are unique. It is strange that there would be this many collisions though.
One way to get around this is to set the -id flag when you use wandb sync. We have a function that will produce run_id's and if it is ran multiple times in the same script it won't generate the same id twice.
You could use something like this to sync your runs:
from wandb.util import generate_id
import os

for run_path in run_paths:
    id = generate_id()
    command = f'wandb sync --id {id} {run_path}'
    os.system(command)

Let me know if that works for you or if you have any other questions around this.
Thank you,
Nate

Thank you for your reply. I created a new sweep, made the offline runs and uploaded everything with your suggestion.
I have 100 runs, but only 57 unique IDs. Using wandb sync --id ... I managed to upload all the runs, but they are seen as independent runs, they are not part of the sweep.
In the web-app, when I look at my sweep, I have 57 crashed runs with no data (the unique IDs that were generated for the offline runs), and in my main project page, I have 157 runs (the 57 crashed ones from the sweep, and the 100 runs that were uploaded with new IDs).
Is it possible that wandb agent automatically communicates with wandb even in offline mode to get the sweep parameters? I can at least now see my runs, but I have to manually delete the "crashed" runs with the initially generated IDs, and the runs I have are not part of the sweep, so the solution is only half-working.

Hi @mathieu-reymond, you are correct that wandb agent still is making network calls in this case so it should be able to generate unique run id's. Sorry that was a mistake on my part.
I was able to replicate this with the combination of offline runs and a sweep so it looks like this is a bug we will need to fix. In the meantime I wanted to suggest the following workaround to check the run_id before using it.
At the top of your training script you could generate and id and then check with the API to make sure that id is unique. For example:
import wandb
from wandb import Api
from wandb.util import generate_id

def unique_id():
    id = generate_id()
    runs = Api().runs("entity/project")
    for run in runs:
        if id == run.id:
            return unique_id()
    return id

run = wandb.init(id=unique_id())

Hi @nate-wandb,
Glad to hear you were able to replicate the issue. Sadly your suggestion does not work for me, the id parameter is ignored when using a sweep:
wandb.wandb_agent - INFO - Running runs: ['34k8r2yk']
wandb: WARNING Ignored wandb.init() arg project when running a sweep.
wandb: WARNING Ignored wandb.init() arg entity when running a sweep.
wandb: WARNING Ignored wandb.init() arg id when running a sweep.```

I get the same issue as before.

Hi @nate-wandb, do you have any update on this? I have in the meantime avoided sweeps, and resorted to manual grid-searches but I would love to use sweeps with the bayes method instead

Hi @mathieu-reymond, sorry for the delay here. I just tested 400 runs on the latest version and didn't run into this. It's possible that the issue might be resolved in the latest version of wandb but I looked at the source code and here's what I found. We call shortuuid.ShortUUID().random() here  to generate the ID. The function is defined here in the shortuuid repo.
Is there any reason to believe that random_num = int(binascii.b2a_hex(os.urandom(length)), 16) could return the same number on different Slurm nodes? os.urandom is a cryptography safe function so I'm not sure that this would be possible now.

Sorry, after letting the sweep go longer I ended up seeing the same behavior as well again. Investigating now to see if we can come up with a cause here.

Any news on this? Running into the same issue.


Docker build fails

I tried to build the Docker image, but it fails at https://github.com/DataTurks/DataTurks/blob/11d928aab908c6b33f9d8e7c26d9350463caf112/hope/docker/Dockerfile#L113 because the file is not in the repository.
Looking at the README at the repository root, I saw that it can be built with mvn package -DskipTests. So I modified the Dockerfile to install maven, copy folder hope to the image and then run the mvn build command. Unfortunately, this fails with:

[ERROR] /home/dataturks/hope/src/main/java/dataturks/DataDownloadHandler.java:[17,27] package netscape.javascript does not exist

I haven't had time to look into this problem so far.
Thanks for making this tool open source and free to use, I'd love to give it a try!

Hi there,
I got the same issue installing on a raspberry (for testing purpose).
I installed the way described in the main README.md
mvn --version

Apache Maven 3.6.1 (d66c9c0b3152b2e69ee9bac180bb8fcc8e6af555; 2019-04-04T21:00:29+02:00)
Maven home: /opt/apache-maven-3.6.1
Java version: 1.8.0_65, vendor: Oracle Corporation, runtime: /usr/lib/jvm/jdk-8-oracle-arm32-vfp-hflt/jre
Default locale: fr_FR, platform encoding: UTF-8
OS name: "linux", version: "4.14.79-v7+", arch: "arm", family: "unix"

mvn package -DskipTests

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project dataturks: Compilation failure
[ERROR] /home/pi/Documents/DataTurks-master/hope/src/main/java/dataturks/DataDownloadHandler.java:[17,27] package netscape.javascript does not exist

I had the same problem like you, I just commented out the import of the netscape package in the DataDownloadHandler.java, then the compiling works :-)

I had the same problem while running the local installation. Following this thread, I managed to solve with:
>> mvn install:install-file -Dfile=/home/newuser/Downloads/openjfx-78-backport-compat-<IP_ADDRESS>.jar -DgroupId=net.java.openjfx.backport -DartifactId=openjfx-78-backport-compat -Dversion=<IP_ADDRESS> -Dpackaging=jar
and then adding the dependency to the POM

I had the same problem while running the local installation. Following this thread, I managed to solve with:
>> mvn install:install-file -Dfile=/home/newuser/Downloads/openjfx-78-backport-compat-<IP_ADDRESS>.jar -DgroupId=net.java.openjfx.backport -DartifactId=openjfx-78-backport-compat -Dversion=<IP_ADDRESS> -Dpackaging=jar
and then adding the dependency to the POM

Hello @tommydino93. How do you add the dependency to the pom.xml file? What version do you indicate?


runtimeerror: dimension out of range (expected to be in range of [-1, 0], but got 1)

I've fine-tuned the tacotron2 pretrained model on first different dataset, and it showed promising results.
But, for now I'm training for other type of dataset, and getting the dimension out of range error. Looked into the data in details, but it seems fine, pytorch version is 1.0.1, in conda env.
Here's a screenshot

Any suggestions?

Check the length of that gate_outputs variable. I suspect it has a single frame.

checked the variable length, it wasn't a single frame.
here's the screenshot

Did you set batch size to 1?
I met the same issue when I set batch size to 1. And when I set batch size to other value other than 1, didn't meet this issue again.

@androidof2008 batch size is 8.
Here's the solution, and really hilarious one - it gives the dimension error on batch size 8 on 8 GPUs, but runs on 1 GPU, without throwing any error.

I have the same error. The problem does not occur immediately (after 600iters fine-tune). Batch size = 34. How I can avoid this error?

The gate_outputs have this structure.

Check that there exists no culprit data, for example no text, no audio, etc...

Closing due to inactivity.

Hello,
I believe I ran into the same error when using only the model with my training code. The problem is at https://github.com/NVIDIA/tacotron2/blob/131c1465b48be60cb5d3b8ab79cfc663e5c47b6a/model.py#L410
For a batch size B the gate_outputs will be B x 1 where the last dimension is squeezed. However, if your batch size is one both dimensions will be squeezed and you get the error. This is why it fails with a batch size of 8 on 8 GPUs, where the batch size on each GPU is again one. In my case it failed because I do not use drop_last=True in my DataLoader and the last chunk turned out to have a size of one. The solution for me was simply to change the code to gate_output.squeeze(1).
I don't quite understand why it is not failing immediately for @antontc. Maybe the end of the data set is reached after 600 iterations and then the last chunk triggers the error as in my case?

Hello,

it work for me, thanks.

Hello,
I believe I ran into the same error when using only the model with my training code. The problem is at
https://github.com/NVIDIA/tacotron2/blob/131c1465b48be60cb5d3b8ab79cfc663e5c47b6a/model.py#L410
For a batch size B the gate_outputs will be B x 1 where the last dimension is squeezed. However, if your batch size is one both dimensions will be squeezed and you get the error. This is why it fails with a batch size of 8 on 8 GPUs, where the batch size on each GPU is again one. In my case it failed because I do not use drop_last=True in my DataLoader and the last chunk turned out to have a size of one. The solution for me was simply to change the code to gate_output.squeeze(1).
I don't quite understand why it is not failing immediately for @antontc. Maybe the end of the data set is reached after 600 iterations and then the last chunk triggers the error as in my case?

It work for me, thanks.


Select ALL $job and $instance in example dashboards

Two minor changes:

Select ALL $job and $instance values by default in the example dashboards
Bump Prometheus / Loki / Grafana / OTel collector versions in Dockerfile.

We even have a dashboard linter that should catch issues like this: https://github.com/grafana/dashboard-linter


Status Bar items

Could you please add the ability to turn the new (v5.1.0) status bar items off/on? Individually or all ; they currently take up a lot of space and I find it a little 'noisy'. Many thanks

Thanks for creating issue 👍

Released as v5.2.0 🚀


Added ip_toMagnitudeString method to Int+Extensions

ip_toMagnitudeString converts an Integer Type to a String with a rounded value and a magnitude suffix.
e.g. - for one decimal place 1234 becomes "1.2K", 5678000 becomes "5.7M", etc.
One decimal place is the default.
This method is useful for formatting a number when it needs to be displayed in a small space and the exact value isn't necessary, such as the number likes on a Facebook post.

Looking good to me :shipit:
Let's get eyes from somebody more mathematically inclined then myself and get this merged! If you haven't worked w/ cocoapods before, let's chat right before you merge and walk through the process of updating the spec 👍

@wingchi Want to add the tests that @brightredchilli mentioned about the 5 decimal places? Then rebase, and :shipit:


Added flag to strip metadata

@Mikachu2333 hi, sorry for the long time that I didn't work on this project, this would be the last PR before release of v0.11.0. Please check that metadata (ICC, EXIF) are preserved by default for supported codecs and images are not corrupted

preserved by default

Should we consider removing these infos as the default option? Because I remember you once said that rimage would remove those infos automatically due to privacy concerns.

Because I remember you once said that rimage would remove those infos automatically due to privacy concerns
This PR is applicable only for ICC and EXIF metadata. I don't see any issues with privacy in that. All other metadata are getting stripped


Remove provider-aws-opsworks once its EOL is complete in May 2024

AWS Opsworks is closed to new customers, and scheduled to become unavailable to all existing customers in the next few months. This means we can remove it from provider-aws, to slightly reduce the size, maintenance, and testing burdens of the provider.
We should wait until AWS has actually completed their shutdown, as they have extended these types of EOL dates in the past.
Currently, the shutdown schedule is March 31, 2024 for Puppet, May 5, 2024 for Chef, and May 26, 2024 for stacks.
I've never used this service myself, so I don't actually know which managed resources are used for puppet vs chef vs stacks. I'm inclined to wait until all three are shut down, then remove the provider entirely.
Note that we can also remove the opsworks exception from the RegionAddition override.
Given that the service will no longer exist, although technically its removal would be a breaking change, I'm inclined to release the removal in a normal minor version bump. If there are good reasons not to do so (or reasons to not remove them at all), I'd be happy to hear them.
These resources were originally added in PR #444 (issue #313) . I'm curious if anyone involved in adding them knows if they were specifically requested, or merely added as part of systematically going through all the terraform-provider-aws resources to get broad crossplane support.

@mbbush these were added as part of our expansion of resources effort. I'm not aware of anyone specifically asking for them.
I would not be against us removing the resources.


Bug:TabNine and VIM, vscode-cudacpp plugin may conflict

please complete the following information:

OS version: [e.g. Win 10, Mac Catalina]
Win 10
Editor: [e.g. vscode, intelij, sublime]
vscode
Editor version:
Version: 1.70.0 (user setup)
Commit: da76f93349a72022ca4670c1b84860304616aaa2
Date: 2022-08-04T04:38:16.462Z
Electron: 18.3.5
Chromium: 100.0.4896.160
Node.js: 16.13.2
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.19044
Programming language: [e.g. js, ts, c++]
cuda
TabNine extension version:
3.6.13
Engine version (could be located within Tabnine Hub):
4.4.120-49

Issue Details:
Hi，
this time I ran into some very similar bug, when I input "dataIn" waiting Tabnine complete it to "dataIn[idx]" and some suffix, I push "Tab" and the word completed successfully but vim turns to VISUAL model, and if I push "Tab" nothing would happed and push other buttons would generate strange faults.
But if I push "ENTER" after completion, it would stay in visual model and auto select the words completed.
This bug is very similar as the last bug I commit.
And this time I have installed vim plugin and vscode-cudacpp plugin.
gz#17259

@maya-tabnine
Hi, could i know that if you would fix this bug? If not, I could just close this one.


project cracker should throw if invalid project file (xml invalid for example)

project cracker should throw if invalid project file (xml invalid for example)
now the ProjectCracker.GetProjectOptionsFromProjectFileLogged just an empty FsharpProjectOptions (zero refs, zero source files) and the error (exception info) in the log

Fixed in https://github.com/fsharp/FSharp.Compiler.Service/pull/812

Fixed in master, will release in 16.0.2 eventually


How to Include Spring Cloud Gateway Server MVC

I need to understand what is the purpose of this document.
https://docs.spring.io/spring-cloud-gateway/reference/spring-cloud-gateway-server-mvc.html
Can we use spring MVC with spring cloud gateway.

Yes, given API Gateway does only I/O it must be non blocking. Since Java 21, the servlet api and its one thread per task (i.e. per request) model can be non blocking for the platform thread so Spring cloud teams released a mvc alternative to the webflux based original gateway.

there is no info about yml properties in the document.
Can you provide one.

duplicates #3174


Workflows are referencing vulnerable actions

Hello, there!
As part of the university research we are currently doing regarding the security of Github Actions, we noticed that one or many of the workflows that are part of this repository are referencing vulnerable versions of the third-party actions. As part of a disclosure process, we decided to open issues to notify GitHub Community.
Please note that there are could be some false positives in our methodology, thus not all of the open issues could be valid. If that is the case, please let us know, so that we can improve on our approach. You can contact me directly using an email: ikoishy [at] ncsu.edu
Thanks in advance

The workflow build.yml is referencing action ilammy/msvc-dev-cmd using references v1.9.0. However this reference is missing the commit 74a501b which may contain fix to the vulnerability.

The vulnerability fix that is missing by actions' versions could be related to:
(1) CVE fix
(2) upgrade of vulnerable dependency
(3) fix to secret leak and others.
Please consider updating the reference to the action.
If you end up updating the reference, please let us know. We need the stats for the paper :-)

https://github.com/Mm2PL/dankerino/blob/dankerino/.github/workflows/build.yml#L77
This repo has version 1.10.0.


Error on first eval

I'm getting an error upon evaluating that very first namespace form:
"Invalid behavior: :lt.plugins.clojure/eval!"
TypeError: Cannot call method 'call' of undefined
    at notify (/opt/LightTable/plugins/clojure/clojure_compiled.js:1259:24)
    at check_all (/opt/LightTable/plugins/clojure/clojure_compiled.js:1274:83)
    at run_local_server (/opt/LightTable/plugins/clojure/clojure_compiled.js:1209:110)
    at try_connect (/opt/LightTable/plugins/clojure/clojure_compiled.js:347:45)
    at lt.objs.eval.find_client (file:///opt/LightTable/core/node_modules/lighttable/bootstrap.js:29877:16)
    at lt.objs.eval.get_client_BANG_ (file:///opt/LightTable/core/node_modules/lighttable/bootstrap.js:29907:32)
    at Function.__BEH__eval_BANG_ (/opt/LightTable/plugins/clojure/clojure_compiled.js:412:69)
    at c (file:///opt/LightTable/core/node_modules/lighttable/bootstrap.js:6196:14)
    at a (file:///opt/LightTable/core/node_modules/lighttable/bootstrap.js:6236:18)
    at lt.object.raise_STAR_ (file:///opt/LightTable/core/node_modules/lighttable/bootstrap.js:17890:74)

@krisc Same. But I cannot install lighttable because it conflicts with chromium-browser-bin,  which is my main browser, so I cannot just get rid of it.

Actually, it looks like chromium is now ahead of chromium-browser-bin so I got lighttable installed, but now I get the error described here, seemingly because it gets installed as root. How did you get it to work?

@krisc thanks I had the same problem, installing the non-git version fixed it. I wonder what is wrong with the git PKGBUILD?


*: Refine error message when deadline exceeded

What problem does this PR solve?
Issue Number: ref https://github.com/pingcap/tiflash/issues/6233
Problem Summary:
What is changed and how it works?

Refine error message when establish disagg task timeout
Refine error logging when wn handling expired EstablishDisaggTask request
Refine error logging when query fails with the keyspace id of table
Simplify some logic in learner read

Before this PR
-- EstablishDisaggTask timeout
> select count(*) from sbtest1;
(1105, 'other error for mpp stream: Code: 0, e.displayText() = DB::Exception: EstablishDisaggTask Failed4: Deadline Exceeded, e.what() = DB::Exception,')
-- Wait index timeout
> select count(*) from sbtest1;
(1105, 'other error for mpp stream: Code: 0, e.displayText() = DB::Exception: EstablishDisaggregatedTask failed: Region unavailable, region_id=199035950 wait_index=1528819 applied_index=1528819: (while doing learner read for table,  logical_table_id=422), addr=<IP_ADDRESS>:9520, e.what() = DB::Exception,')

After this PR
-- EstablishDisaggTask timeout
> select count(*) from sbtest1;
(1105, 'other error for mpp stream: Code: 159, e.displayText() = DB::Exception: EstablishDisaggregated execution was interrupted, maximum execution time exceeded, wn_address=<IP_ADDRESS>:9520 MPP<gather_id:<gather_id:1, query_ts:1697120494131440477, local_query_id:39, server_id:3861858, start_ts:444889954811904001, resource_group: >,task_id:1>, e.what() = DB::Exception,')
-- Wait index timeout
> select count(*) from sbtest1;
(1105, 'other error for mpp stream: Code: 0, e.displayText() = DB::Exception: EstablishDisaggregatedTask failed: Region unavailable, region_id=199035950 wait_index=1528819 applied_index=1528819: (while doing learner read for table, keyspace=4294967295 logical_table_id=422), addr=<IP_ADDRESS>:9520, e.what() = DB::Exception,')

Check List
Tests

[ ] Unit test
[ ] Integration test
[x] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/run-all-tests

/run-all-tests

/run-unit-test

/hold
seems some unit test hangs

/unhold

/run-all-tests


Add docs from ri

As promised, wrote a script to add a whole bunch of docs straight from Ruby (rdoc/ri). The script requires Ruby 2.6 to run (due to the dependency on RubyVM::AbstractSyntaxTree) and pulls directly from the ri index from the installed Ruby. 52e03a2995804af39220b696963dcb348a1e08f2 was run against Ruby 2.6.4.
Existing docs are overwritten where available for consistency, but note that the formatting is slightly different. In particular, there are no links, and code blocks are not specifically marked ruby. Happy to tweak the output.
Best reviewed commit-by-commit.
Motivation

Now that we have VSCode integration, would be nice to get more docs on hover.
Test plan

This is a comment-only change. However, I didn't go through each of the 30k lines individually as that is quite burdensome. Went through a few files as a smoke test and they seemed okay.
There is the distinct possibility that an intentionally-different comment block will get clobbered. Not sure how to prevent that.

r? @DarkDimius
I fixed all of the formatting issues I found. A few things to note:

I opted to make all links link to docs.ruby-lang.org instead of ruby-doc.org. The reason for this is docs.ruby-lang.org is more official; it's literally the output of rdoc when run on the ruby code base. This makes it easier to work with since I can hook into the generation. There are some small, subtle differences between the two but overall they have comparable quality.
Some .rbi files currently have sorbet-specific comments that can be mistaken for documentation. I've made these comments start with ### to differentiate.
I also added a diff mode and inspected the output to make sure I'm not introducing regressions in the rendered output. It's not perfect, but you can inspect this by running ./tools/sync-rdoc.rb --dry-run --diff ..

Thank you, I've rebased and updated test files
This is awesome ❤ !


Infinite loop in DTLSReliableHandshake receiveMessage() method

If recordLayer.receive() returns -1 (for example, if the underlying transport has been closed), the code never breaks out of the outer for and loops infinitely, eventually re-trying to infinity with a 1-minute retry period. The DTLS spec is unclear about what to do when the re-transmission ceiling is surpassed - presumably it should abort?
`        for (;;)
{
int receiveLimit = recordLayer.getReceiveLimit();
if (buf == null || buf.length < receiveLimit)
{
buf = new byte[receiveLimit];
}
        // TODO Handle records containing multiple handshake messages

        try
        {
            for (; ; )
            {
                int received = recordLayer.receive(buf, 0, receiveLimit, readTimeoutMillis);
                if (received < 0)
                {
                    break;
                }

`

If breaking out of the outer for-loop and aborting is the correct thing to do, I'm happy to fix this and submit a pull request.


Dark mode is not applied to popup when clicking on "+X more" link

When clicking on the "+X more" link the pop up does not display correctly when in dark mode (see screenshots)

closing in favor of https://github.com/finos/calendar/issues/87


EventHubs integration part 2 - spotbugs

Follow up PR after "Eventhub-java: integrate event hubs into azure-sdk-for-java repo #3067"
[ X ] SpotBugs
Issue: Eventhubs: Integrate event hubs into azure-sdk-for-java repo #3065

Can one of the admins verify this patch?

This PR will need to be reviewed after the checkstyle PR is merged.

Thanks @conniey for going through this with a fine-tooth comb - I really appreciate your attention to detail on this. It is really important to the quality of our software that we only suppress 1) when we know what the issue being identified is and 2) that we only suppress when absolutely necessary. We need to be very careful to only suppress in the minimal, exception set of cases. Shawn, please take into account Connie's feedback and confirm to yourself that it is understood and that her advice makes sense to you.

Thank you very much. @conniey  @JonathanGiles
Have made the changes.


Timeout error when sending notification

Hi,
I'm getting a timeout error (below) when sending notification. There is no subscription for this notification in my code. Could you advise what might be the issue?
Versions: sysrepo, netopeer2-server, libyang,libnetconf2 from devel, snapshots taken on Feb 4
Local sysrepo client calls
sr_rc = sr_event_notif_send(sess, "/bbf-xpon-onu-states:onu-state-change", values, num_values);

(5 values in total).
Sysrepo reports:
[692691: E SYSREPO             ] Callback event "operational" with ID 2 processing timed out.
[692691: W SYSREPO             ] Event "operational" with ID 2 failed (Timeout expired).

What is this "operational" callback that times out?
Thanks,
Igor

Hi Igor,
you have not provided much information. However, notifications are always validated with respect to the operational datastore so it seems when a part of them was retreeved that you have subscribed for providing, your callback timed out. Why I cannot say without more details.
Regards,
Michal

Hi Michal,
Thank you for the explanation. I'll investigate.
Regards,
Igor
On Tue, Feb 4, 2020 at 6:34 PM Michal Vasko<EMAIL_ADDRESS>wrote:

Hi Igor,
you have not provided much information. However, notifications are always
validated with respect to the operational datastore so it seems when a
part of them was retreeved that you have subscribed for providing, your
callback timed out. Why I cannot say without more details.
Regards,
Michal
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/CESNET/Netopeer2/issues/546?email_source=notifications&email_token=AEX4KW4HFLGFW37OF7ELYZDRBEK6VA5CNFSM4KPORGR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKWT6ZI#issuecomment-581779301,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEX4KW4QROYAVKJAQRFBJJ3RBEK6VANCNFSM4KPORGRQ
.


Hardware doc fixes

Fixed broken paths to links and images

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: gsteiert sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Forgot that the github preview uses a different root than the web view.  The relative paths work in both, but the image paths I changed are wrong.


Issue #1485: CREATE TEMP AS

Extract the temporary flag from the parse tree.
This makes CREATE TEMP TABLE  AS
create a temp table instead of a table in the
default schema.

Thanks! Looks great. I will wait for the tests to pass and then it can be merged.


[Feature] About page, press-releases page, press-release details page

updated bootstrap to 5.3.x alpha version
cleanups
Added new pages
Added press-releases collection to site
Added more templates
Adjusted colors, navbar, footer, font family

moved to private repo


Unexpected TestToolkit Errors

Describe the bug
If the tests provided by Microsoft are performed in a Docker environment or onpremise installed environment, about 10% of the tests run on unexpected errors.
I already checked the type of errors. Non of them are related to missing internet connections or RAM Problems.
The Client Language is ENU and I use a Cronus-DB, but maybe I made somewhere else a mistake.
What are the basic requirements for all Microsoft standard tests to run successfully without errors?
To Reproduce
Steps and to reproduce the behavior:

Download latest w1 Docker Image "mcr.microsoft.com/businesscentral/onprem:w1"
Install TestToolkit "Import-TestToolkitToBCContainer -containerName $containername"
Open AL TestSuite and Import All Test Codeunits
RunTests from Powershell using "Run-TestsInBCContainer"  or inside Client

Expected behavior
I was expecting, that running Microsofts Test-Codeunits inside a Microsoft Docker image using the Microsoft standard code will produce 0 Errors.
Screenshots
If applicable, add screenshots to help explain your problem.
5. Versions:
latest available Docker environment

Hi! Please take a minute to read the guidelines for this repository https://github.com/microsoft/AL and our collection of frequently asked questions https://github.com/Microsoft/AL/wiki/frequently-Asked-Questions .
As this repository is only for issues related to the AL compiler in latest developer preview environment for Dynamics 365 Business Central. We suggest that you open a support case or file a bug in Collaborate, to ensure that all Business Central users benefit from your catch as soon as possible.
To open a support case, you can:

Open a support request to CSS through the PartnerSource portal
Contact your Service Account Manager (SAM) in your local subsidiary to understand what is included in your contract as of support incident and PAH (Partner Advisory Hours). Your SAM might also direct you "step by step" how to open a support request or how to get credentials, if this is the first time for you or your company

If you file the bug in Collaborate, remember to include steps to reproduce the issue, and the Business Central build number and country version you're using.


Set range end to Paragraph if returned early because of footnote definition

My deepest apologies, I didn't notice but the end range was not filled and it panicked when running rustdoc on the code I used for the test. I fixed it and added a regression test to ensure the range is always filled as expected.
Can you yank the 0.9.4 version and release the 0.9.5 please? Again, I'm very sorry for not noticing the bug earlier on.

No problem, version 0.9.5 has just been released and 0.9.4 is yanked.

Thanks a lot!

0.9.6 just released updating Cargo.lock and 0.9.5 yanked to fix #833.

Thanks! :)

No need of 'frontporting' to 0.10, this was already implemented as the new footnotes in #654.

Apparently not when looking at https://github.com/raphlinus/pulldown-cmark/pull/654/files#diff-243abda520cdeea7f9b927714d874cf1ffa167c126d84089cef20d697e97532dR143. This still needs to be fixed.

It is fixed in the new footnotes type, fully compatible with GitHub, but it does not in the old type. Probably convenient to have the same behavior than 0.9.6...

It is not based on what is in https://github.com/raphlinus/pulldown-cmark/blob/master/specs/footnotes.txt.
You can't do (as is, you won't have two footnote definitions):
Lorem ipsum.[^a] [^missing]

[^a]: def1
[^missing]: def2

OK, I had only checked the spec test with two consecutive footnotes without an empty line between them. So this could be applied to the two types of footnotes then.
Thanks!

So I'll try to backport my PR as mentioned in the coming days (might be tricky with me needing to prep for FOSDEM) or next week. :)


XWayland on recent master: HiDPI no longer works well

Describe the bug
Since half november, running XWayland apps on my 4k display results in tiny text.
To Reproduce
Steps to reproduce the behavior:

Run Gnome under Wayland
Configure display to be 200%
Run X app, like Chrome

Expected behavior
4. Chrome has the same size text and title bar as Gnome native apps
Notify maintainers

Metadata

system: "x86_64-linux"
host os: Linux 5.9.11, NixOS, 21.03pre254279.6f0c00907bb (Okapi)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.4pre20201118_79aa7d9
channels(wmertens): "home-manager, nixpkgs-21.03pre254870.1121b2259b7"
channels(root): "nixos-21.03pre254279.6f0c00907bb, nixos-hardware"
nixpkgs: /home/wmertens/.nix-defexpr/channels/nixpkgs

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:

I'll close this for now, I can't even run wayland any more, it crashes :roll_eyes:


Enable "SafariViewController.hide()" for Chrome Custom Tabs

Implemented fix as discussed in https://github.com/EddyVerbruggen/cordova-plugin-safariviewcontroller/issues/105. Tested and is working fine in my use-case.
Works with and without <preference name="AndroidLaunchMode" value="singleTask" />. Although without the preference, SafariViewController.hide() causes a new "layer" of the Cordova app to be instantiated. This means that after manually calling SafariViewController.hide() the app's user would lose their place within the app because it's essentially restarting from what I can tell. Because of this, I would recommend that <preference name="AndroidLaunchMode" value="singleTask" /> is added.
Not sure that this would resolve https://github.com/EddyVerbruggen/cordova-plugin-safariviewcontroller/issues/105, but it does enable SafariViewController.hide() to function on Android as it does iOS.

We did some testing on this and noted one minor change that was required to the modified code:
            case "hide": {
                cordova.getActivity().startActivity(new Intent(cordova.getActivity(), cordova.getActivity().getClass()));
                callbackContext.sendPluginResult(new PluginResult(PluginResult.Status.OK, true));
                return true;
            }

Just added the callbackContext.sendPluginResult(new PluginResult(PluginResult.Status.OK, true)); line to inform the webview. Otherwise if your app await's the hide() it will never resolve.

@EddyVerbruggen can this be merged?

+1 for a merge — just tested this PR, and it works great!


Given suggestions don't help

I've got tried solution #3 and #4 but the problem still hold on. The given suggestions don't help in my case!

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

ID: 3cfd7078-683e-9fd6-247b-e75d4ed16a32
Version Independent ID: ae3300c4-55a8-59b6-846b-50c48c88dcfe
Content: Error: Evaluating the function 'function' timed out and needed to be aborted in an unsafe way - Visual Studio
Content Source: docs/debugger/error-evaluating-the-function-function-timed-out-and-needed-to-be-aborted-in-an-unsafe-way.md
Product: visual-studio-windows
Technology: vs-ide-debug
GitHub Login: @Mikejo5000
Microsoft Alias: mikejo

@pebr70. Hi, the product team needs more info to help resolve.  In VS, please Send Feedback > Report a Problem to provide additional data. You may want to look at MicrosoftDocs/visualstudio-docs#831 for more info. Otherwise, if you have more info on what helped to resolve the issue for you, let us know. Thanks!


Refactor/code cleanup

Next time around i would love to se a PR description that explains the changes that have been made. Will make sure to ease this and add a PR template that can be used (y)

From a code perspective these changes looks good to me, but i wounder how i can test them? :D


Glowing apple logo

#245

Please check and let me know

Please check and let me know
From now on, you should raise the issue first before making PRs.

You have to make something creative
This type of project is not accepted


feat(palette): adding some header and screen component things

This PR resolves MOPLAT-121
Description
I added some Screen structure components, some docs and examples, some stories (in the fakestories file, because storybook doesnt allow for outside-safe-area rendering, so i used fakestories to make that work in the app), and three screens that now use this. Here are some examples, but it will be much clearer to see this in the fakestories file.
I have added some colors to make it easier to see the components.
Regular (pink Screen.Body, useful for regular screens, with safe areas).

Regular with Full Background (pink Screen.Body, blue FullBackground, useful for screens like the onboarding welcome, with a full screen image).

Regular with Header (pink body, orange Screen.Header, this will in the future be able to move the titles on the header).

Regular with Floating Header (pink body, notice the floating back button, it has support for a right button too, like a share button).

All the above are available with scroll too.
Scroll with Bottom View (pink body, white Screen.BottomView, with support for keyboard avoiding).

Here are the three screens I changed to use these new components. Left is new (with Screen), right is old (with Flex etc).
You will notice they are mostly the same, and if there are tiny changes, they are fixes (like for example the text at the bottom of the welcome screen being in the safe area now, and the buttons on the same screen, now having the correct horizonal margins!).
These components make the screen code nicer, because we do less of the Flex structuring within the code, and we do that more in the start of the code. We can just use spacers and that should give us the results we expect, more consistently in our screens.

PR Checklist (tick all before merging)

[ ] Feature flag around my changes.
[ ] App state migration.
[x] Screenshots/videos of my changes.
[ ] Tested on iOS and Android.
[x] Tests/stories for my changes.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

iOS user-facing changes

Android user-facing changes

Dev changes

I think the only extra would be the spacer x and y 😬.
everything else feels necessary?

I think the only extra would be the spacer x and y 😬. everything else feels necessary?

I guess just the prettier changes maybe screamed too much and caused that feeling, no worries about it

oh yea.. I don't know how prettier didn't do that for anyone already, but 🤷♂. I get it though.

I will give this a try tomorrow 👍

It would be nice to go together through those changes in one of the mobile meetings! Would you be up for a small presentation on the next mobile-practice meeting?

#6597 is ready to be merged on top of this PR here, then to main.

thank you for the comments!

some of the tests are failing in the modified components, not sure why 🤔

i can take a look at the tests and merge when green

i fixed a bunch, still a couple of files left, with very old relay tests. i will look into it tomorrow.

Sorry for the late review and thanks for this massive effort, it looks great!


Add 'recommended' dependencies bottleneck & numexpr

http://pandas.pydata.org/pandas-docs/stable/install.html#recommended-dependencies
Docs recommend numexpr & bottleneck for performance reasons.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

I am not sure if we should add bottleneck now as we are discussing some behaviour that depends on whether it is installed or not (xref https://github.com/pandas-dev/pandas/issues/9422)
Numexpr is also not that essential, so I don't know whether it is worth adding it as a required dep (for conda-forge)

OK, was mostly going on these docs: http://pandas.pydata.org/pandas-docs/stable/install.html#recommended-dependencies
Are these recommendations now out of date @jorisvandenbossche ??

Are these recommendations now out of date @jorisvandenbossche ??

Note that conda should get support for optional dependencies soon. Maybe we should wait for that.

really @ocefpaf , I hadn't heard that.
Is there any public info about what that would will look like, or when likely to be released?

Is there any public info about what that would will look like, or when likely to be released?

Nope. Just a promise for now :smile:

Let is close to for now. Once conda implements the machinery for optional packages we can revisit it.


Signing test

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 21.891%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1151

Relevant Lines:
4689

💛  - Coveralls


Prayers / red phone etc should play a sound for admins.

Description

While prayers being difficult to catch does lend in some ways to their spontaneous nature, it also encourages players to ahelp their prayers instead. This is annoying and bad. I propose that instead the prayers should play a sound when they send the chat message to admins in a similar way to the AME overload alert or fax alert.
Reproduction

Be admin > only pay half attention because reasons > prayer comes in > too busy being elected to lead not to read.
Screenshots

Additional context

dupe #18092


Support diverged status

If one resets HEAD~ and then makes a new commit, here's what git status says:
user@host:~/Work/git-goodies$ (master *) git status
On branch master
Your branch and 'origin/master' have diverged,
and have 1 and 1 different commits each, respectively.
  (use "git pull" to merge the remote branch into yours)

nothing to commit, working tree clean

Good if we start supporting this state with e.g. (master 1!1) blue prompt (or something).

JFI, in this state trying to git push fails with:
yassen@ubuntu:~/Work/git-goodies$ (master *) git push
To https://gitlab.itlabs.bg/open-source/git-goodies.git
 ! [rejected]        master -> master (non-fast-forward)
error: failed to push some refs to<EMAIL_ADDRESS>hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. Integrate the remote changes (e.g.
hint: 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.

git push --force works, of course:
yassen@ubuntu:~/Work/git-goodies$ (master *) git push --force
Counting objects: 5, done.
Delta compression using up to 6 threads.
Compressing objects: 100% (5/5), done.
Writing objects: 100% (5/5), 1.03 KiB | 1.03 MiB/s, done.
Total 5 (delta 3), reused 0 (delta 0)
To https://gitlab.itlabs.bg/open-source/git-goodies.git
 + bb5d35e...269b2c7 master -> master (forced update)

Another sample:
On branch some-branch
Your branch and 'origin/some-branch' have diverged,
and have 9 and 3 different commits each, respectively.
  (use "git pull" to merge the remote branch into yours)

Untracked files:
  (use "git add <file>..." to include in what will be committed)

	scripts/recreate-venv-dev.sh
	src/tests/

nothing added to commit but untracked files present (use "git add" to track)

Diverged state support is now reasonably good on ver-0.3 branch.


Add access to register custom field components

Signed-off-by: Johnn Mis<EMAIL_ADDRESS>Hey, I just made a Pull Request!

Based on this #5134 I've just followed what was suggested importing the scaffolder api and adding some fields/methods to keep track of the custom fields also looked on the implementation of OwnerPicker & RepoUrlPicker.
Implementation look like this:
// ./app/App.tsx
// const AutocompleteField: Field = ({ schema }) => {};

const api = useApi(scaffolderApiRef);
api.registerField('autocomplete', AutocompleteField);

Example of custom field component looks like this:

Template like this:

This requires to update the documentation and add tests? (I just think that was a very straightforward  implementation and didn't added any)
:heavy_check_mark: Checklist

[ ] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[x] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

This is awesome!

Owww, awesome, this will help us a lot to not bloat the core code.
@inrumi  is possible to add inside the registred field the formstate?
If we can pass fields or at least previous fields input that, will be possible to add complex logic to the custom field based on the previous input

Hi! The core team talked among ourselves and thought that this is a really interesting use case for leveraging the composability system as mentioned above. If you don't mind, we would think it interesting to explore this a bit ourselves as a group to make sure that the system holds and fits well. It'd be one of the first significant extensions apart from the routing itself and we may find things along the way that make us want to make the system itself even better.
We hope to get onto that some time next week. Is it OK for you to hold off a little? We'll update you as we go, of course.

Hi! The core team talked among ourselves and thought that this is a really interesting use case for leveraging the composability system as mentioned above. If you don't mind, we would think it interesting to explore this a bit ourselves as a group to make sure that the system holds and fits well. It'd be one of the first significant extensions apart from the routing itself and we may find things along the way that make us want to make the system itself even better.
We hope to get onto that some time next week. Is it OK for you to hold off a little? We'll update you as we go, of course.

Sure, it is ok for me!, if there's anything I can help just reach me out please.

Any update on this PR review? Gotta a "couple" of customers in our company that are in need of this and we are hoping to leverage the feature as soon as it gets released :)

We've been pretty swamped this week, haven't made progress in actually implementing the thing yet.

Is this something what can be merged now and improved on by you later when you'll get time to get to this issue?

@pamelin Yeah this does end up being superseded by #5677

Think we can close this now given #5677 was merged.


feat(startVM): create a new startVM script that allows to power the VM up (instead of using vagrant up which is slow)

We should fix #2 before, so that it doesn't make too many breaking changes at once.


Move cache to datasources

Pull Request Test Coverage Report for Build<PHONE_NUMBER>7
Details

0 of 1 (0.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 91.176%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

app/datasources/cache/redis.py
0
1
0.0%

Totals

Change from base Build<PHONE_NUMBER>1:
0.0%

Covered Lines:
124

Relevant Lines:
136

💛  - Coveralls


Email Clients Support

Description
The library is quite good. I am thinking to use for an email marketing project. Can it have email client support also? e.g. Gmail, Outlook, Yahoo, Apple Mail
Please find below link for Reference:
http://kb.mailchimp.com/lists/managing-subscribers/view-and-target-subscriber-email-clients
Software:

Rails version: [Rails 5.0.0]
Browser gem version: [2.3.0]

Seems nice, but I'm not sure how to get a list of user agents so we can add tests and proper code. Any ideas?