TLS Error on docker push

$ sudo docker push username/repoABC
Post http:///var/run/docker.sock/v1.20/images/username/repoABC/push?tag=: dial unix /var/run/docker.sock: no such file or directory.

Are you trying to connect to a TLS-enabled daemon without TLS?
Is your docker daemon up and running?

Sounds like docker or boot2docker isn't running. Try docker version and boot2docker status commands.

I get the same error when running docker version.
$ docker version
Client:
Version:      1.8.0
API version:  1.20
Go version:   go1.4.2
Git commit:   0d03096
Built:        Tue Aug 11 23:00:11 UTC 2015
OS/Arch:      darwin/amd64
Get http:///var/run/docker.sock/v1.20/version: dial unix /var/run/docker.sock: no such file or directory.

Are you trying to connect to a TLS-enabled daemon without TLS?
Is your docker daemon up and running?

$ boot2docker status
running

Did you just install or upgrade docker? I just noticed your version is at 1.8.0, which I believe came out very recently. I've seen issues in the past where a docker upgrade causes weird connectivity issues.

I used the installation instructions from docker-osx-dev (below). I did not
have docker previously installed.
curl -o /usr/local/bin/docker-osx-dev
https://raw.githubusercontent.com/brikis98/docker-osx-dev/master/src/docker-osx-dev
chmod +x /usr/local/bin/docker-osx-dev
docker-osx-dev install
On Thu, Aug 13, 2015 at 10:43 AM, Yevgeniy Brikman<EMAIL_ADDRESS>
wrote:

Did you just install or upgrade docker? I just noticed your version is at
1.8.0, which I believe came out very recently. I've seen issues in the past
where a docker upgrade causes weird connectivity issues.
—
Reply to this email directly or view it on GitHub
https://github.com/brikis98/docker-osx-dev/issues/85#issuecomment-130709778
.

Did you add the environment variables specified at the end of the docker-osx-dev install command?

Yes, I added the environment variables specified at the end of the
docker-osx-dev install.
Here is my .bashrc file:
[ -n "$PS1" ] && source ~/.bash_profile;
docker-osx-dev
export DOCKER_HOST=tcp://<IP_ADDRESS>:2376
export DOCKER_CERT_PATH=/Users/username/.boot2docker/certs/boot2docker-vm
export DOCKER_TLS_VERIFY=1
Here is the output from the docker-osx-dev install:
Initialization of virtual machine "boot2docker-vm" complete.
Use boot2docker up to start it.
2015-08-13 07:56:06 [INFO] Starting Boot2Docker VM
Waiting for VM and Docker daemon to start...
.o
Started.
Writing /Users/username/.boot2docker/certs/boot2docker-vm/ca.pem
Writing /Users/username/.boot2docker/certs/boot2docker-vm/cert.pem
Writing /Users/username/.boot2docker/certs/boot2docker-vm/key.pem
To connect the Docker client to the Docker daemon, please set:
export DOCKER_HOST=tcp://<IP_ADDRESS>:2376

export

DOCKER_CERT_PATH=/Users/username/.boot2docker/certs/boot2docker-vm
export DOCKER_TLS_VERIFY=1

Or run: eval "$(boot2docker shellinit)"
2015-08-13 07:56:07 [INFO] Installing rsync in the Docker Host image
2015-08-13 07:56:08 [INFO] Adding dockerhost entry to /etc/hosts so you can
use http://dockerhost URLs for testing
2015-08-13 07:56:08 [INSTRUCTIONS] Modifying /etc/hosts requires sudo
privileges, please enter your password.
2015-08-13 07:56:08 [INFO] Adding new environment variables to
/Users/username/.bashrc:
docker-osx-dev
export DOCKER_HOST=tcp://<IP_ADDRESS>:2376
export DOCKER_CERT_PATH=/Users/username/.boot2docker/certs/boot2docker-vm
export DOCKER_TLS_VERIFY=1
2015-08-13 07:56:08 [INSTRUCTIONS] To pick up important new environment
variables in the current shell, run:
source /Users/username/.bashrc
2015-08-13 07:56:08 [INFO] docker-osx-dev setup has completed successfully.
2015-08-13 07:56:08 [INSTRUCTIONS] You can now start file syncing using the
docker-osx-dev script and run Docker containers using docker run. Example:

docker-osx-dev

docker run -v $(pwd):/src some-docker-container

On Thu, Aug 13, 2015 at 11:38 AM, Yevgeniy Brikman<EMAIL_ADDRESS>
wrote:

Did you add the environment variables specified at the end of the docker-osx-dev
install command?
—
Reply to this email directly or view it on GitHub
https://github.com/brikis98/docker-osx-dev/issues/85#issuecomment-130732405
.

The variables are in your .bashrc file, but did you actually source them before running docker-osx-dev?

Yes, I sourced prior to running docker-osx-dev.
On Thu, Aug 13, 2015 at 11:58 AM, Yevgeniy Brikman<EMAIL_ADDRESS>
wrote:

The variables are in your .bashrc file, but did you actually source them
before running docker-osx-dev?
—
Reply to this email directly or view it on GitHub
https://github.com/brikis98/docker-osx-dev/issues/85#issuecomment-130738065
.

Hm, odd. I wonder if somehow docker failed to start? Try to run boot2docker ssh to connect to the boot2docker VM and then run ps aux | grep docker.

This is the output. I ran the ps aux | grep docker command from both
within docker and from terminal.
$ boot2docker ssh
[removed docker whale image]
Boot2Docker version 1.8.1, build master : 7f12e95 - Thu Aug 13 03:24:56 UTC
2015
Docker version 1.8.1, build d12ea79
docker@boot2docker:~$
docker@boot2docker:~$ ps aux | grep docker
root      2103  0.1  1.5<PHONE_NUMBER>6 ?        Sl   11:56   0:15
/usr/local/bin/docker -d -D -g /var/lib/docker -H unix:// -H tcp://
<IP_ADDRESS>:2376 --tlsverify --tlscacert=/var/lib/boot2docker/tls/ca.pem
--tlscert=/var/lib/boot2docker/tls/server.pem
--tlskey=/var/lib/boot2docker/tls/serverkey.pem
root      4427  0.0  0.1  27688  3820 ?        Ss   16:13   0:00 sshd:
docker [priv]
docker    4429  0.0  0.1  27688  2860 ?        S    16:13   0:00 sshd:
docker@pts/0
docker    4430  0.0  0.1  11860  2096 pts/0    Ss   16:13   0:00 -sh
docker    4472  0.0  0.0  13016  1800 pts/0    R+   16:14   0:00 ps aux
docker    4473  0.0  0.0  11860   188 pts/0    R+   16:14   0:00 -sh
docker@boot2docker:~$
$ ps aux | grep docker
root            16046   1.8  2.8  3064724 477580   ??  S     7:56AM
5:04.73 /Applications/VirtualBox.app/Contents/MacOS/VBoxHeadless --comment
boot2docker-vm --startvm ace0dafd-bb6a-4cd8-9978-89b2f977c0f3 --vrde config
username  15367   1.5  5.3  3466152 885564   ??  S     7:45AM   5:45.39
/Applications/VirtualBox.app/Contents/MacOS/VBoxHeadless --comment boot2
docker-vm --startvm 7ec43481-b7ab-4b88-84db-bda8c1e6dae6 --vrde config
username  30704   0.0  0.0  2455896    556 s009  T    12:03PM   0:00.00
/bin/bash /usr/local/bin/docker-osx-dev
username  30703   0.0  0.0  2447704    660 s009  T    12:03PM   0:00.00
/bin/bash /usr/local/bin/docker-osx-dev
username  22253   0.0  0.0  2446680   1372 s009  T    12:03PM   0:00.03
/bin/bash /usr/local/bin/docker-osx-dev
username  31153   0.0  0.0  2432772    672 s011  S+   12:15PM   0:00.00
grep docker
username  31063   0.0  0.0  2463252   2972 s010  S+   12:13PM   0:00.02 ssh
-o IdentitiesOnly=yes -o StrictHostKeyChecking=no -o
UserKnownHostsFile=/dev/null -o LogLevel=quiet -p 2022 -i
/Users/username/.ssh/id_boot2docker docker@localhost
username  31061   0.0  0.0 145182872   3704 s010  S+   12:13PM   0:00.01
boot2docker ssh
On Thu, Aug 13, 2015 at 12:12 PM, Yevgeniy Brikman<EMAIL_ADDRESS>
wrote:

Hm, odd. I wonder if somehow docker failed to start? Try to run boot2docker
ssh to connect to the boot2docker VM and then run ps aux | grep docker.
—
Reply to this email directly or view it on GitHub
https://github.com/brikis98/docker-osx-dev/issues/85#issuecomment-130745526
.

Seems to be running. I'm a bit stumped and am worried there was some change in version 1.8 that broke something. Backwards compatibility is not docker's strong suite :)
One more experiment: try to run boot2docker stop and then run docker-osx-dev to restart it.
BTW, what were you using docker push for in the first post? If you can't connect to the docker daemon, what could you possibly have to push? Or was it working before and suddenly stopped?

I get an error when I run docker-osx-dev. At the bottom it says, error in run: exit status 1. Thanks for your help, I really appreciate it!
$ boot2docker stop
$ docker-osx-dev
2015-08-13 12:34:53 [INFO] Using default sync paths: .
2015-08-13 12:34:53 [INFO] Complete list of paths to sync:
/Users/stuartsaltzman/foo/bar
2015-08-13 12:34:53 [INFO] Using default exclude paths: .git
2015-08-13 12:34:53 [INFO] Complete list of paths to exclude: .git
2015-08-13 12:34:53 [INFO] Complete list of paths to include:
2015-08-13 12:34:53 [INFO] Starting docker-osx-dev file syncing
2015-08-13 12:34:53 [INFO] Starting Boot2Docker VM
Waiting for VM and Docker daemon to start...
...............oooooooo
Started.
Writing /Users/stuartsaltzman/.boot2docker/certs/boot2docker-vm/ca.pem
Writing /Users/stuartsaltzman/.boot2docker/certs/boot2docker-vm/cert.pem
Writing /Users/stuartsaltzman/.boot2docker/certs/boot2docker-vm/key.pem
Your environment variables are already set correctly.
2015-08-13 12:35:14 [INFO] Installing rsync in the Docker Host image
rsync.tcz.dep OK
acl.tcz.dep OK
Downloading: attr.tcz
Connecting to repo.tinycorelinux.net (<IP_ADDRESS>:80)
attr.tcz             100% |*******************************| 24576   0:00:00
ETA
attr.tcz: OK
Downloading: acl.tcz
Connecting to repo.tinycorelinux.net (<IP_ADDRESS>:80)
acl.tcz              100% |*******************************| 40960   0:00:00
ETA
acl.tcz: OK
Downloading: rsync.tcz
Connecting to repo.tinycorelinux.net (<IP_ADDRESS>:80)
rsync.tcz            100% |*******************************|rsync.tcz: OK:02
ETA
312k  0:00:00 ETA
error in run: exit status 1
On Thu, Aug 13, 2015 at 12:28 PM, Yevgeniy Brikman<EMAIL_ADDRESS>
wrote:

Seems to be running. I'm a bit stumped and am worried there was some
change in version 1.8 that broke something. Backwards compatibility is not
docker's strong suite :)
One more experiment: try to run boot2docker stop and then run
docker-osx-dev to restart it.
BTW, what were you using docker push for in the first post? If you can't
connect to the docker daemon, what could you possibly have to push? Or was
it working before and suddenly stopped?
—
Reply to this email directly or view it on GitHub
https://github.com/brikis98/docker-osx-dev/issues/85#issuecomment-130751097
.

Hmm, well, I'm out of ideas. My best guess is that it's a docker 1.8 issue, but I'm still on 1.7.1 and am in the middle of a project, so I can't upgrade to repro and dig further.
If anyone else is using docker 1.8 and can poke around, that would be most appreciated :)

For some reason, the tce-load command exits with an error, even if rsync installed correctly. I've put in a workaround to catch this. Hopefully, the script works OK now.


VEC 1.1.3 <-> VEC 1.2.0: Add wrapper classes for the VecStripeSpecification

Pull Request

[x] I have checked for similar PRs.
[x] I have read the contributing guidelines.

Changes

[x] Code
[ ] Documentation
[ ] Other:

Description
The VecStripeSpecification was also changed between VEC 1.1.3 and VEC 1.2.0. In 1.1.3, the thickness was defined via. a CustomProperty Thickness. In 1.2.0, it received its own field (VecNumericalValue).
This PR adds Wrapper classes for this specific conversion.

@DManstrator Tests fail.
Error:  Errors:
Error:    Vec11To12StripeSpecificationWrapperTest.invokeTest:68->lambda$invokeTest$0:68 NullPointer Cannot invoke "com.foursoft.harness.vec.v12x.VecNumericalValue.getValueComponent()" because the return value of "com.foursoft.harness.vec.v12x.VecStripeSpecification.getThickness()" is null


Replace All is very difficult to use in Find in Selection mode, when you want to make repeated replace selections

Does this issue occur when all extensions are disabled?: Yes/No

Replace All is very difficult to use in Find in Selection mode, when you want to make repeated replace selections

VS Code Version:

Version: 1.78.2 (user setup)
Commit: b3e4e68a0bc097f0ae7907b217c1119af9e03435
Date: 2023-05-10T14:39:26.248Z
Electron: 22.5.2
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.22621
Sandboxed: No

OS Version:

Windows 11
Microsoft Windows
Version 22H2(OS Build 22621.1702)

Steps to Reproduce:

Select multiple lines of text
Copy multiple lines of text
Paste multiple lines of text
ctrl + h
Select multiple lines of text
Open Find in Selection
Select multiple lines of text
Copy multiple lines of text
Paste multiple lines of text
Select multiple lines of text
Modify the replacement content in the replacement box
The replacement position is not the text area just selected (it is possible to replace only the text before copying, or it may replace the text before and after copying)

For large-scale repetitions =>selection=>copy=>paste=>selection=>replace. The Replace dialog box always doesn't know to update the selected area.The Find in Selection button must be switched on and off repeatedly to reselect the text, which is very inconvenient.

Updating the selection range is covered in https://github.com/microsoft/vscode/issues/116827


DatabaseNotification $casts type is not array

https://github.com/laravel/framework/blob/91c454715b81b9a39f718651d4e2f8104d45e7c2/src/Illuminate/Notifications/DatabaseNotification.php#L43
I think it should be "protected array $casts"
I was having this fatal error: Type of Illuminate\Notifications\DatabaseNotification::$casts must be array (as in class Illuminate\Database\Eloquent\Model)"
Making this change solved the problem for me.
Ps: I'm probably wrong here, I'm still a junior dev.

We don't use property type hints. And even can't because we still support php 7.3


Help! Neo-Gui invoke Contract fail!!!

neo-gui version:2.9:
https://github.com/neo-project/neo-gui/releases
operation step:
https://docs.neo.org/docs/zh-cn/sc/gettingstarted/develop.html

Can you please try the new GUI 2.10.3 ?


Add tests to verify that rebase is working correctly

New tests:

when rebase is successful
when rebase fails because local gpkg got schema changed
when rebase fails because remote gpkg got schema changed

The tests are parametrized to check also the case when there is a pending
sqlite connection to gpkg (e.g. layer open in QGIS), to make sure things work
correctly in that case too (no sync failures / data corruption or loss).
Ensures that #96 and https://github.com/lutraconsulting/qgis-mergin-plugin/issues/246 are fixed now (thanks to fix for #30)

All seems good.


bower install don't get files in bower_components

Hi all,
After installing dependency, bower finish it. But there are not files actually, in folder bower_components.
Is bower sending files elsewhere or how does this works now?
Thank you.

What repository are you trying to download? Are you using the standard install command?
bower install package_name

@dprice809
Any repository that I install (download) don't shows files physically in project folder 'bower_components'.
But dependencies are working. So it is getting the files from other place.
I just realize that this folder exist also in a root of local disk [E:] and there are files. I did not change anything. What should I do?
Do I need to change something in bower.json, or init bower again...?
Thank you.

If you are installing a package you should not need to use init bower. Init bower is reserved for when you are creating your own package. Are you installing a package or creating a package?
Bower install by default will install to what ever directory your console is open in. So you may have had the E: drive selected when you installed you packages.

@dprice809 Okay, about bower init it is clear. I know that. I am installing package. Console is in project directory, not in E: drive. Thank you.

From my understanding the bower.json files are not specific about where to install a bower package. However, a .bowercc file could specify adirectory to install the package. If directory is defined as a FQD it may be able to define a specific drive to install a package. If you do not see any strange .bowercc files, you may want to try a fresh install of bower.

Also, see this file for .bowercc specification

@dprice809  I have .bowercc file in project. There is in it "directory" : "/bower_components". And I did not change it since project started, and as I said, it moves files itself to E:/bower_components. Project is in E:\SCJohnsonMVC\SCJohnsonMVC.Off.Web\Content\Off. Thank you.

Probably you have the cwd option configured like that in the  .bowerrc file, see this. I you have configured that, then you should remove the option.

@echavezNS No, I don't have. What I did to fix this issue is to set directory" : "/bower_components to directory" : "E:/***/****/Content/Off/bower_components in .bowerrc.

With that you probably overwrote an existing config. Bower looks in various places as described here in the docs. The .bowerrc in your cwd is always the strongest, so this is an absolutely valid solution.
I think this an individual case and will close for now. If others see this happening, let us know :cake:

I have the same issue


Add /create-implicit route and page to create implicit accounts with seed phrase

PR creates a new route /create-implicit for creating implicit accounts

copy seed phrase
verify
copy accountId
fund from somewhere
click check balance and redirected to /recover-with-link/:accountId/:seedPhrase

Some minor changes to other components were necessary to make UI work

SeedPhraseForm
Navigation

TODO
Uses localStorage to store seedPhrase and accountId, which should be cleared after user is recovered into wallet successfully.


Validate bucket ownership when loading an object from S3

Description
When performing a request to GetObject in the S3 source, add the bucket owner from the S3 Event in the x-amz-expected-bucket-owner header. S3 will reject the request with a 403 Forbidden if the bucket is not owned by the expected account.
This is a draft currently because it will need to be merged with other upcoming PRs. But, I want to get any early feedback on the overall approach.
Issues Resolved
Resolves #1463
Check List

[ ] New functionality includes testing.
[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[ ] Commits are signed with a real name per the DCO

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #1510 (3b0f814) into main (2e24d04) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 3b0f814 differs from pull request most recent head 2ff8eee. Consider uploading reports for the commit 2ff8eee to get more accurate results

@@            Coverage Diff            @@
##               main    #1510   +/-   ##
=========================================
  Coverage     94.17%   94.17%
  Complexity     1179     1179
=========================================
  Files           165      165
  Lines          3382     3382
  Branches        276      276
=========================================
  Hits           3185     3185
  Misses          141      141
  Partials         56       56

Continue to review full report at Codecov.

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


feat(CX-3055): Add tappedExploreMyCollection and myCollectionOnboardingCompleted actions (hf my collection onboarding)

The type of this PR is: Feature

This PR resolves CX-3055
Description

Added two new actions:

tappedExploreMyCollection
myCollectionOnboardingCompleted

PR Checklist (tick all before merging)

[x] If I've added a new file to the tree I've exported it from the common index.ts
[x] I've added comments with examples for any new interfaces and ensured that they're in the docs
[x] No platform-specific terminology has been used outside of click and tap (platform is inferred by the DB storing events)

:rocket: PR was released in v4.73.0 :rocket:


[FEAT]

Is your feature request related to a problem? Please describe.
File Not Found
Describe alternatives you've considered
No response
Additional context
No response
Describe the thing to improve
client's utils haven't the file you mentioned in video

Hey @Aryanand9 ,
Could you provide more details about the issue?


Output is slightly borked on Mac.

It doesn't seem to cause any functionality issues, but some of the log output seems to be going to a new line and overwriting the contents of that line and it seems to be happening at the end of the otr database name right before the _bgm part. Not sure what's happening, but maybe inadvertently triggering some kind of escape sequence on mac os terminals?

So this is actually bigger than just output, somehow the file name ends up getting a carriage return character \r put into the metaName variable right before where the _bgm would go. It would seem that this is happening because getLine stops parsing on a newline character, not a carriage return character.


iOS keyboard issue: text entered in not visible in ion-input until keyboard was closed

Ionic v2, ios
There is the problem with ion-input.
When I start typing letter in ion-input field means, no letters were visible (sometimes only first letter was visible) but cursor was visible and keep moving. But when I close the keyboard by tapping outside, now the text entered was visible.
I've tested in both ios9 and ios10.

Hello! While we appreciate you opening an issue with us i am going to close this issue and ask that you open a new one that has the issue template filled out please. Thanks for using Ionic!

@dheran have you fixed this issue?

@pensacola1989  use CDVWKWebViewEngine for ios

@dheran Have you found any way around this besides CDVWKWebView? Seems like I'll have to downgrade to Cordova 3.0 to make it work, and our app is already really far along.

Adding this worked for me:
ion-input {
  -webkit-transform: translateZ(0) !important;
}

See https://forum.ionicframework.com/t/ion-input-shows-only-the-first-entered-character-on-ios/73107/5?u=iaderinokun


Handle falsey values in arrays

v3 doesn't account for null usage as values for
responsive props like the following:
<Box p={[null,1,2]} />

This ensures that when a null value is passed we
default to an empty object.

Something to consider: would it be cleaner to modify the style function to return {} rather than null? I went back on forth on where to handle this logic.

Codecov Report

Merging #292 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master   #292   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           1      1
  Lines         184    184
=====================================
  Hits          184    184

Impacted Files
Coverage Δ

src/index.js
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

I think that returning null will ensure that styled-components/etc. won't create an empty CSS rule when there aren't any styles, but this would need to be confirmed


Issue #9 and #13 done

Please, go through these steps before you submit a PR.

[x] My Pod Leader knows I'm working on this Pull Request
[x] I've explained what the Pull Request is adding.
[x] I've explained why this is important.

Code now reflect changes from upstream (show MLH Prep instead of MLH Fellow)

Explicit back buttons in the page banner added

Gemfile.Lock file removed as requested (if merged, main branch Gemfile.Lock might also be deleted. Gemfile.Lock file specified Jekyll dependency which is required to run the site.)
Back button and background extended as needed.


Add basic /cves/:cveName/exposed_clusters api endpoint

Secure Coding Practices Checklist GitHub Link

https://github.com/RedHatInsights/secure-coding-checklist

Secure Coding Checklist

[x] Input Validation
[x] Output Encoding
[x] Authentication and Password Management
[x] Session Management
[x] Access Control
[x] Cryptographic Practices
[x] Error Handling and Logging
[x] Data Protection
[x] Communication Security
[x] System Configuration
[x] Database Security
[x] File Management
[x] Memory Management
[x] General Coding Practices

I have changed generate_swagger.sh script to follow https://github.com/koalaman/shellcheck/wiki/SC2181
Added swagger documentation and change db query filter by account ID


Change command syntax

/knowhows search code_query [in lang]
/knowhows to natural_lang_query [in lang]
/knowhows track repo
/knowhows untrack repo
/knowhows help

This is similar to #26 , it reflects both.


Update Databricks doc to include instructions on how to submit Spark .NET job with UDFs

Summary
Update Databricks doc to include instructions on how to submit Spark .NET job with UDFs

@luisquintanilla Can you please take a look at this PR?


How can i get all locations when using Maplace type directions ?

I am using below code to get all lat long positions.
new Maplace({
locations: LocsD,
map_div: '#gmap-route',
generate_controls: false,
show_markers: false,
type: 'directions',
draggable: true,
directions_panel: '#route',
drag: function(index, location, marker){
    console.log(marker);
}

}).Load();
How can i get all position names or directions routes lat, long. Because i have to get all these points that following from start to destination point.
Thanks

Hi,
Sorry, I'm not sure I understand your question.
How do you want to get all the position names and coordinates, from the drag event?

Hi, Thanks for your response.
Yes i want all position names and coordinates that make the route.
For Example: There are two point A and B, When moving from point A to B there are 5 ways.
Here i have to set only one path, For that i need all coordinates that makes this path.
Why I want this ?
I arrange different events from different location from my starting location, So i always tell my clients which route we follow, That's why i need only one path.

Please have a look at the documentation. You can use the afterRoute event:
afterRoute: function(distance, status, result) {
    console.log(result);
}

result will contain all the points that makes up the route.

afterRoute: event not gives me coordinates, Instead it gives mein place IDs. Please find the attached image

If i get all these place_id's, Then how can i withdraw again that same type route again ??

You have all the points in the routes array.

The above solution not worked.
I am unable to find coordinates anywhere in the console.
You can find the attached screenshot

Now we have two options.

Can i use place ID instead of location lat long ? because i am getting place IDs.
or ANY other appropriate solution where i get get all points that makes the route ?

Looking for your positive response.

You have it:

DONE, Thanks
Yes i have found it, and coded.
function showRouteLatLong(result) {     if(result.routes.length > 0 && result.routes[0].legs[0].via_waypoint.length > 0) {       for(var i = 0; i < result.routes[0].legs[0].via_waypoint.length ; i++){           console.log( 'Location:' + result.routes[0].legs[0].via_waypoint[i].location.toString() );       }      } }
Now, Can you please show me a demo related to directions_options? So i can draw that waypoints using maplace ?

I'm not sure what you are trying to achieve.
directions_options  is just a proxy to GoogleMaps for the following properties:
https://developers.google.com/maps/documentation/javascript/reference#DirectionsRequest
Please refer to the MaplaceJs documentation page.

Its Done,
I have achieve 75% of what i have to do using maplace.
Now i need to add new markers, when i click the button, and that marker or coordinates create a new route for me.
Same like google maps. You are going to add new locations, It auto drawing the route.

More or less what you need to do is:

add an onClick event to the map (check the listeners )
grab the coordinates from the onClick event object
create a Maplace location object with those coordinates
add the new location to you locations array
load/reload the Maplace instance with the updated locations

HI @danielemoraschi
I do it using listeners (as you described above message) but i am sorry, it's not worked.
Please have a look to attached screenshot may be it helps you understand what i want achieve next.

I want to allow user to enter multiple locations, and draw a route real time.
I have london lat/log, just need to add these on direction map.

Well, there must be something wrong with your implementation :)

HI @danielemoraschi
Can you please little bit help me to implementation.

Here i have do different variations but unable to set the listeners.
But Here, In input field I have latitude/longitude but re-route not change according to next entered location.
Looking for your response.

This is as far as I can go. Hope it helps:
https://jsfiddle.net/dmoraschi/ozst0u7t

@danielemoraschi Thanks for you kind words and positive response.
I have done with, what i have to achieve.
Now the only thing i just look now, When i add a location, where i can do in driving mode. Then i am unable to draw further routes. Its stops working or drawing new routes.
Please fins the attached images for your reference.
In google map when i go pakistan to india In driving mode.

And here is what i have achieved.

Now when i go to any location where, we can't go without via drive, So then i want to stop it or show an error.
Hope you understand the case.
Thanks

Second, When i drop the pin A or pin B.
How can i get the latest lat/long of that pin.
I have used dragEnd, dragStart but no luck.


Repo type classified as eagle, should be C

The filesize is given too much weight in determining the repo type. there are only 4 eagle files, but those have a bigger total file size than the 30 plus C files.
The repo is
https://github.com/Wolfman-F16/uhf-radio
Thanks.

The filesize is given too much weight in determining the repo type.

We discussed this issue in #2139. There isn't really one solution that stand out :/

there are only 4 eagle files, but those have a bigger total file size than the 30 plus C files.

You can fix that locally with Linguist overrides.

You can fix that locally with Linguist overrides.

👍


Sponge is not loading resources in dev environment.

I was trying to add localization to my plugin, when I realised, that .properties files are not being loaded. Here's the quick plugin I made just to showcase this issue. If you launch main() it outputs
Locale = en_US, key = key, value = value
Locale = de_DE, key = key, value = value_de

But when you launch SpongeForge or SpongeVanilla from the same workspace, it throws this
Now, I remember there was an issue, when IDEA wasn't loading resources from Gradle projects. But those fixes don't work with Sponge and 1.8 from my experience. Also, as far as I know it was fixed in ForgeGradle 2.0. And indeed, if you replace Sponge plugin with Forge mod (replace @Plugin with @Mod and use FMLPreInitializationEvent instead of GamePreInitializationEvent AND use Forge's default workspace instead of Sponge's) everything loads fine and outputs correctly. But when you use Sponge's workspace and trying to launch mod, not plugin, it still crashes
I tried using Forge's workspace and adding sponge as a mod (dropping dev SpongeForge in mods folder). It asked me for Mixins. I added those as a gradle dependency and suddenly even main() started to threw MissingResourceException, even after I deleted SpongeForge and Mixins. Don't know what the deal was here, but I don't wanna do that again...
In production everything works correctly. I built jar file of my ExamplePlugin, threw it on regular SpongeForge server and it launched with correct output (as shown above).
Extra info
I'm using IDEA Ultimate 15.0.1. Don't have Eclipse, so didn't check there.
My SpongeForge clone's HEAD is here
PS. It may be related to SpongeGradle, so I'm not sure if this issue should be posted here on in SpongeGradle repo.

So, I checked and apparently .properties files were not in classpath at all. So, I was able to fix that by adding resources folder as a dependency to my plugin. Like that

And in the end it was completely fixed by choosing "Inherit project compile output path" in Paths tab of Project Structure window. Like that.
Also, as Minecrell told me, it can be fixed by adding idea { module { inheritOutputDirs = true } } to build.gradle of plugin

I never knew of the above...that is likely the issue I had where my Mod won't pull from resources directory.
Thanks @Minecrell and @Meegooo .

Yeah you are 100% correct, just ran into this myself and wouldn't have been able to fix it without your help. Thanks.


#150 Matrix row

As per #150
Row introduced.

@rultor merge

@rultor merge

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

@rultor merge

@vssekorin Done! FYI, the full log is here (took me 10min)


[storage] Update change logs for STG80 storage features

Update change logs for STG80 storage features

API changes have been detected in @azure/storage-blob. You can review API changes here
API changes
+ export declare type EncryptionAlgorithmType = "AES256";
+ export declare type SyncCopyStatusType = "success";


[9.x] Add mapIntoSpread method to Collections

This pull request adds mapIntoSpread method to Collections.
Why?
Since PHP 8.0, and named arguments, Data Transfer Objects (DTOs) have become more powerful.
Collections have a mapInto method that iterates over the collection, creating a new instance of the given class by passing the value into the constructor. This will work only if the constructor has a single argument.
For example, given we have the following class:
class ArtisanDev
{
    public function __construct(
        public string $name,
        public string $role,
    ) {}
}

In order to map a collection's items into ArtisanDev objects, we currently have to write:
collect([
    ['name' => 'Taylor', 'role' => 'author'],
    ['name' => 'Mohamed', 'role' => 'maintainer'],
])->map(function ($person) {
    return new ArtisanDev($person['name'], $person['role']);
});

or with arrow functions and named arguments:
collect([
    ['name' => 'Taylor', 'role' => 'author'],
    ['name' => 'Mohamed', 'role' => 'maintainer'],
])->map(fn ($person) => new ArtisanDev(...$person));

Solution?
The new mapIntoSpread collection method allows to write:
collect([
    ['name' => 'Taylor', 'role' => 'author'],
    ['name' => 'Mohamed', 'role' => 'maintainer'],
])->mapIntoSpread(ArtisanDev::class);

Honestly I think the map with short closure and manual spread is fine. 😬


Use government supplied repayment thresholds

Closes #6

Codecov Report

Merging #12 (1ac4b53) into main (c6caead) will increase coverage by 0.43%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #12      +/-   ##
==========================================
+ Coverage   97.23%   97.66%   +0.43%
==========================================
  Files          12       13       +1
  Lines         289      343      +54
  Branches       29       29
==========================================
+ Hits          281      335      +54
  Misses          4        4
  Partials        4        4

Impacted Files
Coverage Δ

...anLoanBeWrittenOff/CanLoanBeWrittenOffOperation.cs
100.00% <ø> (ø)

...tApi/UkStudentLoans/UkStudentLoanCalculationDto.cs
100.00% <ø> (ø)

...mentApi/UkStudentLoans/UkStudentLoansController.cs
100.00% <ø> (ø)

src/LoanRepaymentApi/Program.cs
100.00% <100.00%> (ø)

...ulation/Operations/Threshold/ThresholdOperation.cs
100.00% <100.00%> (ø)

...Calculation/Postgraduate/PostgraduateCalculator.cs
93.44% <100.00%> (+0.71%)
:arrow_up:

...alculation/StandardTypes/StandardTypeCalculator.cs
95.34% <100.00%> (+0.75%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us.


⚠ Bofrost.lu has degraded performance

In 23160bc, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1453 ms

Resolved: Bofrost.lu performance has improved in 16dd67c after 6 minutes.


feat: new call_hardhat_task method to call into Hardhat JS internals from Python

What I did
POC for a new call_hardhat_task method on the Hardhat provider which allows us to call into Hardhat's JS internals from Python.
How I did it
This code allows us to roundtrip from Python to Hardhat JS (via writing custom JS code to the config file) and then back to Python (by calling the JS code via subprocess and reading the result as JSON). This was related to the pytest account work. In order to get a list of accounts, I first experimented with adding custom JS task code to Hardhat's config file, then generalized it like this.
We don't need to land this PR. I just wanted to save the technique somewhere because it seems useful.
How to verify it
See new test_dump_accounts test.
Checklist

[x] Passes all linting checks (pre-commit and CI jobs)
[x] New test cases have been added and are passing
[x] Documentation has been updated
[x] PR title follows Conventional Commit standard (will be automatically included in the changelog)

I could see a use-case for this with scripts (ape run).
Hardhat users who have custom tasks may want to call them from their ape scripts. Pretty cool!

Idea:  Create cli command run (so full command is ape hardhat run) and it you give it the name of .js file in the project's scripts directory and it runs that using hardht (npx hardhat run scripts/<name>)

closing this PR because it is stale, but I created an issue to capture its intent: https://github.com/ApeWorX/ape-hardhat/issues/103


Air vents do not unlock at 1kpa of pressure in room

Description
Air vents do do not unlock themselves from the under-pressure lockout when there is more then 1 Kpa as intended
Reproduction
-Space a room to empty all pressure

Undo spacing
Introduce any gas into the room and examine the air vent while viewing the environment via a gas analyzer
Ask why

Screenshots

Additional context

Pretty sure this happens like every other round making distro barely function after some accidents

Intended: https://github.com/space-wizards/space-station-14/blob/7ba26f4592e9bc6cc281ab861a27c3a9526e7fe7/Content.Server/Atmos/Piping/Unary/Components/GasVentPumpComponent.cs#L42
Someone must've tweaked it, the original PR says its at 1kPA (#9824) but now its 60 kPA

Someone must've tweaked it, the original PR says its at 1kPA (#9824) but now its 60 kPA

Recently changed by #28370. @Partmedia, is this working as intended?

Unfortunately the old threshold of 1 kPa only works with instant spacing. The new threshold is needed to make sure lock-out always works (otherwise, it leaks all of distro into space). You need to drag a canister in the spaced area, or open a firelock to let air in from other areas to get it out from lock out.


Android Basics: Activities and intents

URL of codelab
https://developer.android.com/codelabs/basic-android-kotlin-training-activities-intents?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-kotlin-unit-3-pathway-1%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-training-activities-intents#8
In which task and step of the codelab can this issue be found?
9 - Last override function
Describe the problem
When running the code, Android Studio alerts a mistake on line 86 ("override fun oneOptionsItemSelected") and indicates that nothing is being overridden here.
When deleting the "override" attribute of the function, the code compiles without any issues.
Steps to reproduce?
(See explanation above)
Versions
Android Studio version:
API version of the emulator:
Additional information
Include screenshots if they would be useful in clarifying the problem.

Hello
looks like you have a type-O should be onOptionsItemSelected not oneOptionsItemSelected

Hello
looks like you have a type-O should be onOptionsItemSelected not oneOptionsItemSelected

Thank you!!

The typo in the user's code was found. The ticket is closed as resolved.


Getting error - The remote end hung up unexpectedly

remote: ######################################################################## 100.0%
remote:
remote: Meteor <IP_ADDRESS> has been installed in your home directory (~/.meteor).
remote:
remote: Now you need to do one of the following:
remote:
remote:   (1) Add "$HOME/.meteor" to your path, or
remote:   (2) Run this command as root:
remote:         cp "/tmp/buildpack20160531-160-5g28c3/meteor-Efdb/.meteor/packages/meteor-tool/1.3.2_4/mt-os.linux.x86_64/scripts/admin/launch-meteor" /usr/bin/meteor
remote:
remote: Then to get started, take a look at 'meteor --help' or see the docs at
remote: docs.meteor.com.
remote: -----> Bundling bundle
remote: -----> Checking if this meteor version supports --server-only
remote: -----> Attempting to remove android platform.
remote:
remote:
remote: While removing platforms:
remote: error: android: platform is not in this project
remote:
remote: -----> Moving on.
remote: -----> Building Meteor with ROOT_URL: http://joingravity.com
remote: error: RPC failed; curl 56 SSL read: error:00000000:lib(0):func(0):reason(0), errno 10054
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date

It sounds like Heroku is not authenticating your correctly. Try this:
http://stackoverflow.com/questions/4269922/permission-denied-publickey-when-deploying-heroku-code-fatal-the-remote-end

The issue is that the buildpack is using 3rd party application which takes longer time to load, causing time out.

I had similar issues, and I wrote an article on how to solve it. Check it out<EMAIL_ADDRESS>

@gg2001 your post says nothing relevant to this issue, and you posted the same comment on multiple issues. Stop that or I'll report your account.

This thing is happening as the build pack is using third party application which do not get included on the time of deploying.

Alright @zaverichintan, sounds like you've figured it out -- I'm going to close this now, but reopen if you think there's a bug with the buildpack.

Is it possible to have all the files directly loaded instead of relying on third party server ? Just a thought . Kindly comment your views on this.

@zaverichintan I don't think I understand the suggestion -- what does "directly loaded" mean in a deployment to a server?  Part of the design of Heroku is that all files will come from some third party server.  Using this buildpack, we rely on the following third parties:

github: for hosting the buildpack
install.meteor.com: for meteor
any dependencies meteor requests when it installs -- a whole world of atmosphere, npm, etc. packages.
semver.io: for detecting the latest version of node v0.10.x (though we're moving away from this to use meteor's bundled node/npm instead)
s3pository.heroku.com: for installing nodejs (though we're moving away from this to use meteor's bundled node/npm instead)
any dependencies your app references

Which of these 3rd parties are giving you problems?  I don't believe any of them could be integrated with this buildpack in a reasonable way.


Test module

Each feature we add with have it's own test, then each time we make changes to anything we will know whether or not we messed anything up. Because this is just a library we have no project so to speak to test stuff on, this is the solution to that problem. It will make more sense once we start getting some source code in.

Added by #32.

Need #38 to begin working on this, need to make sure it all looks good.


Add support for CSS markdown themes

Hi everyone, this is an implementation of configuring CSS markdown themes in stackedit. It's pretty simple, it scopes the SCSS by a certain class and then configures that class from the settings in the sidebar.

At first I forked the repo to just overwrite the CSS and preview for a one-time use. But I decided to try and implement it as an actual feature and pass it on to the community.
The code style is rough in some places but I really have to focus on my main project, so I most likely won't be putting much more time into this. But I'd appreciate if someone wanted to take this as a starting point, it would be an awesome feature.
Also, If I were to continue working on this, I'd probably want to add support for user themes via URL, or copy-paste via CSS. @benweet hope you like this.

Looks cool! Good job!
For some reason. the build failed 😞

I will check out the build and repush
On Thu, Jun 17, 2021 at 8:10 AM Tavi @.***> wrote:

Looks cool! Good job!
For some reason. the build failed 😞
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/benweet/stackedit/pull/1736#issuecomment-863322710,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASOIOTCC4J57T5FRJKTFNVLTTIF55ANCNFSM45XUOVKQ
.


Clarify relationship with vaadin-grid?

Sorry if this is an obvious question - but what exactly is the relationship between iron-data-table and vaadin-grid?
(As in, the main developer of iron-data-table also works on vaadin-grid, right?).
Do they share ideas, or are they targeting different use-cases? Is this something worth making clear in the README?

Hi!
I get this question sometimes, and yes it could be worth writing it down for people to see.
There's no official relationship between the two – I do work in the Vaadin Elements team and <iron-data-table> was something I started as a personal research/hobby project.
Now that <iron-data-table> has gotten some traction and there have been valuable learnings, we're going to apply our new knowledge to improve <vaadin-grid>.
My current focus is, with the help of my team at Vaadin, making the upcoming <vaadin-grid> 2.0 even better than <iron-data-table>. I can't promise the new grid will have all the same features that <iron-data-table> has, but I will try to get all the most important stuff included.
If you're interested, you can check out the latest demos here: https://cdn.vaadin.com/vaadin-components/preview/vaadin-grid/demo/
What will happen to <iron-data-table> ? I'll continue maintaining as much as I have time, but still, it will remain as a hobby. Kinda my hopes for the future are that users will find the new <vaadin-grid> better and will join us improving it even further!

Awesome - I saw there was a new preview release recently as well, will definitely check it out.
Also - from a design perspective, are either iron-data-table or vaadin-grid aiming to follow the Material Design specs?
https://material.google.com/components/data-tables.html#
I noticed the vaadin-grid homepage mentioned being inspired by - will vaadin-grid 2.0 follow the MD guidelines more closely?

@victorhooi FYI we have our own element: https://github.com/OWOX/brainy-table
It is an iron-data-table fork rewritten with dom-repeat which mostly follows material design guidelines, although some features are not yet implemented (e. g. rows selection).

@victorhooi Vaadin Elements currently, as said, are inspired by MD specs, but don't follow them to the letter. As MD is quite strictly defined, we're moving towards having our own theme(s) that would allow the users to alter the look-and-feel really flexibly.
I recommend watching the Polymer Summit talk by our Product Designer @jouni about theming: https://youtu.be/n8xrfe-XjfI?t=1183
In general, <iron-data-table> is designed to ship without much styling, but the default-styles.html are inspired by MD. Currently, I don't have any plans on changing those.

@victorhool We still plan to support/ship MD inspired styles for vaadin-grid 2.0. We’ll try to stick as close to the soecs as possible, or at least make it possible to customize it so you can make the final tweaks to it.


[feature] add static analysis tool

Introduce PHPStan as static analyser. Continues the work done on #2471
resolves #1930
This PR does the following

add a basic config for PHPStan
resolve issues found for level 1
add a baseline for issues found in level 2
add a job to the coding standard Github Workflow

Codecov Report

Merging #2664 (9d69b2a) into 4.0 (070e9e6) will decrease coverage by 0.04%.
The diff coverage is 88.88%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@             Coverage Diff              @@
##                4.0    #2664      +/-   ##
============================================
- Coverage     91.25%   91.21%   -0.04%
  Complexity      757      757
============================================
  Files            35       35
  Lines          1933     1936       +3
============================================
+ Hits           1764     1766       +2
- Misses          169      170       +1

Files
Coverage Δ

src/Relations/EmbedsOne.php
95.45% <100.00%> (ø)

src/Relations/EmbedsOneOrMany.php
98.23% <100.00%> (+0.01%)
:arrow_up:

src/Schema/Blueprint.php
98.95% <100.00%> (+0.02%)
:arrow_up:

src/Relations/BelongsToMany.php
85.98% <66.66%> (ø)

src/Relations/EmbedsMany.php
97.34% <83.33%> (ø)

... and 1 file with indirect coverage changes

Putting in draft while I figure out why the tests are faling

@alcaeus I've updated the base and removed the codecov.io step in the Github Action workflow

Thank you @Treggats

Thank you @Treggats

You're welcome @GromNaN was a nice experience


[NAV-110] Modus Chip - add property closeIcon to display a different icon.

Description
Adding a property closeIcon to Modus Chip. The property has two values: remove, close. The default is remove. The new option is to display the icon-close following the guidelines https://modus.trimble.com/components/web/chips/styles/
Using the same padding-top and padding-bottom when the icons are visible.
References #1336
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update

How Has This Been Tested?
Tested manually and in Storybook. Added a new e2e test to check if the close icon is displayed when the closeIcon property is set to 'close'.
Checklist

[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[X] I have made corresponding changes to the documentation
[X] My changes generate no new warnings
[X] I have added tests that prove my fix is effective or that my feature works
[X] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules
[X] I have checked my code and corrected any misspellings

@yohernandez Modus team confirmed that the rounded close button(existing) is correct and does not need a configuration to change it to the other icon shown in the style guide.
We will be fixing the icon in the Modus style guide wherever required.
Please revert only those code changes.

@yohernandez Modus team confirmed that the rounded close button(existing) is correct and does not need a configuration to change it to the other icon shown in the style guide. We will be fixing the icon in the Modus style guide wherever required. Please revert only those code changes.

Sure, thank you!

Closing this PR. Fixing the height in a different branch.


improved error handling in sgxcclib

This addresses issue #87 . Additionally

improved (but not complete) handling of sig_rl
removed ecall for get_target, use the sgx function instead
improved log functions in sgxcclib (next: move these in a separate package/source file)

Note: linter/indentation checks might fail. This is addressed in separate PR

This PR is redundant with #158. Let's


Generate random version when registering workflows

Signed-off-by: Kevin Su<EMAIL_ADDRESS>TL;DR
Generate a random version if users don't specify a version
Type

[x] Bug Fix
[ ] Feature
[ ] Plugin

Are all requirements met?

[ ] Code completed
[ ] Smoke tested
[x] Unit tests added
[ ] Code documentation added
[ ] Any pending items have an associated Issue

Complete description
How did you fix the bug, make the feature etc. Link to any design docs etc
Tracking Issue
https://github.com/flyteorg/flyte/issues/1968
Follow-up issue
NA

Hey @pingsutw i don't think random versioning is useful. I understand it works around the annoyance of local iterations but I think it breaks the premise of immutability and idempotency.
I think an important characteristic in any versioning scheme is determinism. One thing you can use is either hashing of the individual resource you're about to register or hashing of the entire archive file.. either way would be ok...

Make sense, will use the hashing of resource spec


[Bug] Unable to assign the same figure to multiple EditableFigure component

Create a custom figure
Assign the figure to two or more EditableFigure component using script
Only the first component can display the figure

This is expected, you can not asign a figure attached to an object to another object, because it's bind to the original object already.


HDFS-17441. Fix junit dependency by adding missing library in hadoop-hdfs-rbf.

Description of PR
We need to add some missing junit libraries in hadoop-hdfs-rbf.
Based on Ayush's advice, we need to add junit-platform-launcher. We might also need junit-jupiter-api, similar to other modules.
How was this patch tested?
For code changes:

[x] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?

@ayushtkn Could you please review it if you have bandwidth?

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
6m 41s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+0 :ok:
xmllint
0m  0s

xmllint was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s

The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
31m 42s

trunk passed

+1 :green_heart:
compile
0m 25s

trunk passed with JDK Ubuntu-11.0.22+7-post-Ubuntu-0ubuntu220.04.1

+1 :green_heart:
compile
0m 23s

trunk passed with JDK Private Build-1.8.0_402-8u402-ga-2ubuntu1~20.04-b06

+1 :green_heart:
mvnsite
0m 26s

trunk passed

+1 :green_heart:
javadoc
0m 30s

trunk passed with JDK Ubuntu-11.0.22+7-post-Ubuntu-0ubuntu220.04.1

+1 :green_heart:
javadoc
0m 22s

trunk passed with JDK Private Build-1.8.0_402-8u402-ga-2ubuntu1~20.04-b06

+1 :green_heart:
shadedclient
53m 29s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 20s

the patch passed

+1 :green_heart:
compile
0m 19s

the patch passed with JDK Ubuntu-11.0.22+7-post-Ubuntu-0ubuntu220.04.1

+1 :green_heart:
javac
0m 19s

the patch passed

+1 :green_heart:
compile
0m 18s

the patch passed with JDK Private Build-1.8.0_402-8u402-ga-2ubuntu1~20.04-b06

+1 :green_heart:
javac
0m 18s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
mvnsite
0m 22s

the patch passed

+1 :green_heart:
javadoc
0m 19s

the patch passed with JDK Ubuntu-11.0.22+7-post-Ubuntu-0ubuntu220.04.1

+1 :green_heart:
javadoc
0m 18s

the patch passed with JDK Private Build-1.8.0_402-8u402-ga-2ubuntu1~20.04-b06

+1 :green_heart:
shadedclient
20m 44s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
26m  7s
/patch-unit-hadoop-hdfs-project_hadoop-hdfs-rbf.txt
hadoop-hdfs-rbf in the patch passed.

+1 :green_heart:
asflicense
0m 26s

The patch does not generate ASF License warnings.

112m  4s

Reason
Tests

Failed junit tests
hadoop.hdfs.server.federation.router.TestRouterRpc

hadoop.hdfs.server.federation.router.TestRouterRpcMultiDestination

Subsystem
Report/Notes

Docker
ClientAPI=1.45 ServerAPI=1.45 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6669/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/6669

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient codespell detsecrets xmllint

uname
Linux c1ea8b931ca6 5.15.0-94-generic #104-Ubuntu SMP Tue Jan 9 15:25:40 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 41759a731f419a773c73fe0f62ab5586be4ffcfa

Default Java
Private Build-1.8.0_402-8u402-ga-2ubuntu1~20.04-b06

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.22+7-post-Ubuntu-0ubuntu220.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_402-8u402-ga-2ubuntu1~20.04-b06

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6669/1/testReport/

Max. process+thread count
3981 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs-rbf U: hadoop-hdfs-project/hadoop-hdfs-rbf

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6669/1/console

versions
git=2.25.1 maven=3.6.3

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

The failed tests are filed by HDFS-17435.

@ayushtkn Thanks for your review!


CUDA version and Torch Version

CUDA and torch version used in this project looks outdated.
Can I use CUDA 12.1 instead or does this cause bug?

Have you tested it on CUDA 12.1? Does it run?

I tried with CUDA 12.x. Nothing had work for me. There is suppose to exist a backward compatibility but...obviously it is not so simple. I finally succeed to compute on CPU instead. I don't know if it is possible to do that without updating a bit the code itself.


Captcha on Login

Immediately as my bot attempts to login to ROBLOX, I get this error:
(node:18312) UnhandledPromiseRejectionWarning: Failed to sign in, make sure all your credentials are correct. If you know they are correct, you might have gotten a captcha. Status code: 403, message: Forbidden
(node:18312) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:18312) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
I need to get past this, otherwise my bot no longer functions at all.
Could anybody help me with this

How did you fix it?


Set database schema name to "app" instead of using the application name

Ticket
N/A
Changes

What was added, updated, or removed in this PR.

Updates database env config

Context for reviewers

Testing instructions, background context, more in-depth details of the implementation, and anything else you'd like to call out or ask reviewers.

This PR proposes to protect the database from hyphens by setting the database schema to app instead of using the application name.
Note: This PR is a follow up to #639.
Per the documentation, PostgreSQL identifiers should be letters, underscores, digits, or dollar signs:

SQL identifiers and key words must begin with a letter (a-z, but also letters with diacritical marks and non-Latin letters) or an underscore (_). Subsequent characters in an identifier or key word can be letters, underscores, digits (0-9), or dollar signs ($).

PostgreSQL allows identifiers to include arbitrary characters if the identifier is surrounded by double quotes:

There is a second kind of identifier: the delimited identifier or quoted identifier. It is formed by enclosing an arbitrary sequence of characters in double-quotes (").

The infra template's directory naming convention uses hyphens (-) to separate multi-word names (e.g. app-config, build-repository). The app-config uses the application directory to generate the local.app_name which is used throughout the configuration.
When a project uses the infra template and renames the application directory to a multi-word, hyphenated name, such as flowable-rest, this will cause issues unless every instance of the database and schema names is double quoted. Even though we are properly using the pg8000 identifier in the role manager, while working on the platform-test-rails repo, I still ran into issues with the following lines because my application uses a hyphenated name (i.e. app-rails):
https://github.com/navapbc/template-infra/blob/6f8464ef7ff1cb20a263d0a68705a05e7c3f3206/infra/modules/database/role_manager/manage.py#L104
https://github.com/navapbc/template-infra/blob/6f8464ef7ff1cb20a263d0a68705a05e7c3f3206/infra/modules/database/role_manager/check.py#L32
Breaking change
⚠ Warning! For projects that have renamed the application to something other than app: This is a breaking change! The release notes should instruct these users to manually override the database env config.
Testing

Provide evidence that the code works as expected. Explain what was done for testing and the results of the test plan. Include screenshots, GIF demos, shell commands or output to help show the changes working as expected. ProTip: you can drag and drop or paste images into this textbox.

Tested change on: https://github.com/navapbc/platform-test/pull/110
Screenshot showing no-op for resources with default application name app:

Could we add release notes in the pr description to aid whoever ends up drafting the release notes? I wonder if we should also adopt a convention in the squash merge commit like add a ⚠ or something to the commit title

@lorenyu What about a convention like this for the commit title and adding the release notes in the commit description?
[⚠ Breaking change] <TITLE> (###)

Release notes:
xyz

Example:
[⚠ Breaking change] Set database schema name to "app" instead of using the application name (#646)

Release notes:
For projects that have renamed the application to something other than app: This is a breaking change! The release notes should instruct these users to manually override the database env config with the name of their existing database schema.

for the title / commit message i was thinking of something smaller like maybe just "⚠ " so that we can keep the total commit msg length to 50 characters which is the git recommended. the only people that need to know are the platform developers themselves. these commits won't show up in projects.

for the title / commit message i was thinking of something smaller like maybe just "⚠ " so that we can keep the total commit msg length to 50 characters which is the git recommended. the only people that need to know are the platform developers themselves. these commits won't show up in projects.

@lorenyu 👍 Can do. Added a note about this to the 🔒 Platform Operations doc.

for the title / commit message i was thinking of something smaller like maybe just "⚠ " so that we can keep the total commit msg length to 50 characters which is the git recommended. the only people that need to know are the platform developers themselves. these commits won't show up in projects.

@lorenyu 👍 Can do. Added a note about this to the 🔒 Platform Operations doc.

@lorenyu In future, do you think it's worth adding a ⚠ to the PR title too? Might make it easier to skim the PR list and see which have breaking changes.

@rocketnova yeah i think so. in my mind PR title == commit message anyways, since the commit message defaults to PR title.


"Error: nginx-proxy container isn't running" on Nextcloud setup

Hi,
I'm working on a server setup on my Odroid XU4 (armv7 32bits) running ArchArm which includes Nextcloud-fpm with an nginx web server, a postgres container and of course the letsencrypt-nginx-proxy-companion bundled with the nginx-proxy from this repo. I'm pretty new at docker so I basically did a mix of the Nextcloud Docker installation guide's docker-compose file and the docker-compose for the 2-containers-setup from this repo:
version: '3'

services:
  db:
    image: postgres
    restart: always
    volumes:
      - db:/var/lib/postgresql/data
    env_file:
      - db.env

  app:
    image: nextcloud:fpm
    restart: always
    volumes:
      - nextcloud:/var/www/html
    environment:
      - POSTGRES_HOST=db
    env_file:
      - db.env
    depends_on:
      - db

  web:
    build: ./web
    restart: always
    volumes:
      - nextcloud:/var/www/html:ro
    environment:
      - VIRTUAL_HOST=cloud.example.org
      - LETSENCRYPT_HOST=cloud.example.org
      -<EMAIL_ADDRESS>    depends_on:
      - app
    networks:
      - proxy-tier
      - default

  nginx-proxy:
    build: ./nginx-proxy
    image: nginx-proxy
    container_name: nginx-proxy
    restart: always
    ports:
      - 80:80
      - 443:443
    volumes:
      - vhost.d:/etc/nginx/vhost.d
      - html:/usr/share/nginx/html
      - certs:/etc/nginx/certs:ro
      - /var/run/docker.sock:/tmp/docker.sock:ro
      - dhparam:/etc/nginx/dhparam
      - conf:/etc/nginx/conf.d
    networks:
      - proxy-tier

  letsencrypt:
    build: ./letsencrypt-nginx-proxy-companion
    image: letsencrypt-nginx-proxy-companion
    container_name: nginx-proxy-le
    restart: always
    volumes:
      - vhost.d:/etc/nginx/vhost.d
      - html:/usr/share/nginx/html
      - certs:/etc/nginx/certs:rw
      - /var/run/docker.sock:/var/run/docker.sock:ro
      - dhparam:/etc/nginx/dhparam
      - conf:/etc/nginx/conf.d
    networks:
      - proxy-tier
    depends_on:
      - nginx-proxy

volumes:
  db:
  nextcloud:
  vhost.d:
  html:
  certs:
  dhparam:
  conf:

networks:
  proxy-tier:

And so it started, I had openssl eating up two cpu threads for quite a while and then it finished but since then my server is only accessible through HTTP on port 80. There's no trace of an SSL cert.
Checking up the docker-compose logs I first have this error at the beginning :
nginx-proxy-le | 2018/07/26 21:30:23 Error: nginx-proxy container dc2a0f4851cd5a2451a53b8e395f84d89cb677b2bf7d7184f4785216983fa139 isn't running.
The complete logs are available here : https://bin.disroot.org/?8351bc21b6ffc09b#Hj320WtqokB69t212DdSB9EOjQf4B4yjVdDNlpfFaR4=
When idle it pretty much loops on that.
Like I said I'm running ArchArm on the Odroid XU4 with an armv7l architecture.
# docker-compose version
docker-compose version 1.22.0, build unknown
docker-py version: 3.4.1
CPython version: 3.6.6
OpenSSL version: OpenSSL 1.1.0h  27 Mar 2018

Any help would be greatly appreciated ! I'm very excited about this setup for which I plan to migrate my non-dockerized XMPP server to soon.

Hi. Your compose file seems to lack a way to make the letsencrypt container aware of the nginx-proxy container ID. Please see https://github.com/JrCs/docker-letsencrypt-nginx-proxy-companion/wiki/Docker-Compose#getting-containers-ids

Hi @buchdag and thank you for your answer. That's right I was missing something. My first version had the label though but it still didn't go very well.
Either way, I purged up all images, containers and volumes and started again with that compose file to which I added the NGINX_PROXY_CONTAINER=nginx-proxy env var and it's now up and running ! It's really great.
By the way, thank you for bringing these awesome images on ARM architectures. It made my day when I found it.


Release 2021.6.12

Fix crash on Python 2 when reusing environments. (#450)
Hide staleness check behind a feature flag. (#451)
Group command-line options in --help message by function. (#442)
Avoid polluting tests with a .nox directory. (#445)

Thanks, @cjolowicz  :)


Install with composer: js/jscolor does not exist

[ErrorException]
Source /var/www/vhosts/mygento.org/httpdocs/vendor/ffuenf/ffuenf_common/js/jscolor does not exist

jscolor is mentioned in https://github.com/ffuenf/Ffuenf_Common/blob/master/modman#L9

jscolor is used in https://github.com/ffuenf/Ffuenf_Common/blob/f24c462c1850b6bd48e9dfb055971a5fc9e70f8f/app/design/adminhtml/default/default/layout/ffuenf_common.xml#L35


Using log time instead of fluentd time on kubernetes.

I using fluenbit to collecting log data form pod on kubernetes,  forward log data to fluentd and then output them to aws s3.
The log data forward to fluentd like that:
2020-05-06 01:00:00.055189181 +0000 kube.forward: {"log":"{ name: 'tony', logtime: '2020-05-01T01:00:00.421Z' }\n","stream":"stdout","time":"2020-05-06T08:06:11.055189181Z","kubernetes":{"pod_name":"example-54889df4b6-qdbrw","namespace_name":"logging","container_name":"example","docker_id":"42b7685e63e751f9b4f27b9d34ff8d9e62fc8ae1d82c1876a43db42958f56f26"}}

My fluentd config like that:
kind: ConfigMap
apiVersion: v1
metadata:
  name: fluentd-config
  namespace: logging
data:
  fluent.conf: |-
    <system>
      log_level debug
    </system>

    <source>
      @type forward
      port 24224
      bind <IP_ADDRESS>
      tag kube.forward
    </source>

    <match **>
        @type s3
        s3_region "us-west-2"
        s3_bucket "logdata"
        path "year=%Y/month=%m/day=%d/hour=%H"
    </match>

I expect that the s3 path use log.logtime instead of fluentd time, it mean that I want my log data was stoaged in logdata/2020/05/01/01, instead of logdata/2020/05/06/01. Someone know how to do that?

@repeatedly Please help me.


Childer on tap & Dynamic icon

kindly enable the children on tap and dynamic icon functionality

Sounds great, thanks;

Just updated.


[BACKLOG-21845] Grey out top left cell in disabled mqtt consumer/producer table by not selecting the cell after clearing the table

[BACKLOG-21845] Grey out top left cell in disabled mqtt consumer/producer table by not selecting the cell after clearing the table.  TableView.clearAll() edits the top left cell in the table, so we do not call that method.

Build Completed
:white_check_mark: This pull request has passed all validations.
Build Commands
mvn -B -fn -f 'pom.xml' -pl 'plugins/streaming/impls/mqtt' -P '!assemblies' -Dsurefire.runOrder=alphabetical -Daudit -amd clean install

Cleanup Commands
mvn -B -f 'pom.xml' -pl 'plugins/streaming/impls/mqtt' -P '!assemblies' -amd build-helper:remove-project-artifact

Changed files
  plugins/streaming/impls/mqtt/src/main/java/org/pentaho/di/trans/step/mqtt/MqttDialogSecurityLayout.java


Try to fix CUDA

Tests with this create an out of GPU memory error on my machine (with a very old GPU)
(YOLO) pkg> test
   Testing YOLO
 Resolving package versions...
Test Summary:                         | Pass  Total
Example datasets have been downloaded |    1      1
Test Summary:                                         | Pass  Total
Example pretrained weights files have been downloaded |    1      1
Loading images...100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| Time: 0:00:14
Loading and running YOLOv2_tiny_voc pretrained model: Error During Test at /home/ian/Documents/GitHub/YOLO.jl/test/runtests.jl:30
  Got exception outside of a @test
  Out of gpu memory
  Stacktrace:
   [1] error(::String) at ./error.jl:33
   [2] Knet.KnetPtr(::Int64) at /home/ian/.julia/packages/Knet/ztjo0/src/kptr.jl:127
   [3] Type at /home/ian/.julia/packages/Knet/ztjo0/src/karray.jl:117 [inlined]
   [4] similar at /home/ian/.julia/packages/Knet/ztjo0/src/karray.jl:201 [inlined]
   [5] similar at /home/ian/.julia/packages/Knet/ztjo0/src/karray.jl:204 [inlined]
   [6] broadcasted(::typeof(max), ::Knet.KnetArray{Float32,4}, ::Knet.KnetArray{Float32,4}) at /home/ian/.julia/packages/Knet/ztjo0/src/binary.jl:37

Codecov Report

Merging #10 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master      #10   +/-   ##
=======================================
  Coverage   87.37%   87.37%
=======================================
  Files           9        9
  Lines         198      198
=======================================
  Hits          173      173
  Misses         25       25

Impacted Files
Coverage Δ

src/preprocess.jl
87.8% <ø> (ø)
:arrow_up:

src/YOLO.jl
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

Fixed, but minibatch handling needs more thought, given one of the reasons this is fixed is that number of images in tests has been reduced from 10 to 2, to avoid the out of GPU memory error


backup do volumes

Will use https://github.com/tomochain/goutte with travis/CircleCI to perform automated weekly backups


Add Twist Message Subscription to drive  both motors.

This allows Twist messages to be consumed to power both motors. I believe address the issue with #2

I should note the code to convert twist messages from velocity was found here https://github.com/cyberbotics/webots_ros/issues/19

@FirstCaptain thank you for your code.
I'm new to this and have some questions.
I'm trying to use this to build a differential drive robot and use NAV2 framework in ROS2 , to do so I need to I have to publish /dom topic and subscribe to /cmd_vel topic, do you know how to do it using this package?
and thank you again


time: racy Timer access should either work or throw, not panic

2020-02-21T20:22:19-13d73b2/linux-arm
panic: runtime error: racy use of timers
	panic: err must be non-nil

goroutine 3372 [running]:
net/http.(*http2pipe).closeWithError(0xd6f774, 0xd6f7a8, 0x0, 0x0, 0x0)
	/workdir/go/src/net/http/h2_bundle.go:3558 +0x210
net/http.(*http2pipe).CloseWithError(...)
	/workdir/go/src/net/http/h2_bundle.go:3545
net/http.(*http2clientConnReadLoop).cleanup(0xc43fd4)
	/workdir/go/src/net/http/h2_bundle.go:8228 +0x21c
panic(0x467b60, 0x580c18)
	/workdir/go/src/runtime/panic.go:967 +0x118
time.stopTimer(0x10c9e84, 0x10a9ca8)
	/workdir/go/src/runtime/time.go:224 +0x1c
time.(*Timer).Stop(...)
	/workdir/go/src/time/sleep.go:78
net/http.http2bodyWriterState.on100(0xd6f760, 0x10c9e80, 0x10a9c80, 0xefc780, 0x10c9e40, 0x3b9aca00, 0x0)
	/workdir/go/src/net/http/h2_bundle.go:9057 +0x38
net/http.(*http2clientConnReadLoop).handleResponse(0xc43fd4, 0xd6f760, 0xefc800, 0xd6f760, 0x58a650, 0x2cdc78)
	/workdir/go/src/net/http/h2_bundle.go:8433 +0x2fc
net/http.(*http2clientConnReadLoop).processHeaders(0xc43fd4, 0xefc800, 0x0, 0x0)
	/workdir/go/src/net/http/h2_bundle.go:8355 +0x14c
net/http.(*http2clientConnReadLoop).run(0xc43fd4, 0x0, 0x0)
	/workdir/go/src/net/http/h2_bundle.go:8277 +0x648
net/http.(*http2ClientConn).readLoop(0xdb2000)
	/workdir/go/src/net/http/h2_bundle.go:8174 +0x60
created by net/http.(*http2Transport).newClientConn
	/workdir/go/src/net/http/h2_bundle.go:7174 +0x538
FAIL	net/http	6.612s

CC @ianlancetaylor @bradfitz @tombergan

Could this be related to #37196? (I'm not sure.)

The panic inside time.Timer.Stop should really be runtime.throw. Code does not expect panic from Stop. If there's really a racy use of timers and timers are corrupt, stop executing.

Also, time.stopTimer clearly called deltimer, and deltimer panicked. Do we not have a stack frame for deltimer showing what line it is at? Why not?

That may be #26206..?

This program crashes very quickly:
package main

import "time"

func main() {
	for i := 0; i < 1000; i++ {
		t := time.AfterFunc(1*time.Second, func() {})
		go t.Stop()
		go t.Reset(1 * time.Second)
		go t.Stop()
		go t.Reset(1 * time.Second)
	}
	time.Sleep(10 * time.Second)
}

I don't believe this program should panic. The claim in the runtime code is that the runtime timer data structures may be corrupted, but if so then there is not enough locking protecting against bad user call sequences. But the bad user call sequences should find a way to complete (serialize them somehow), no?

Seems like a possible Go 1.14 release blocker.

/cc @aclements

This program crashes very quickly

I can reproduce this with go1.14rc1, go1.14beta1, but also with go1.13.7 on darwin/amd64:

$ go run .
panic: runtime error: racy use of timers

goroutine 195 [running]:
time.stopTimer(0xc00005af08, 0x1)
	/usr/local/go/src/runtime/time.go:224 +0x2b
time.(*Timer).Stop(0xc00005af00, 0x3b9aca00)
	/usr/local/go/src/time/sleep.go:78 +0x36
created by main.main
	/var/folders/zb/5p8cwfhj29gf_m8vdy8ylmlr00jwcj/T/tmp.5VGZN9cY/main.go:10 +0xb5
exit status 2

$ go1.14beta1 run .
panic: runtime error: racy use of timers

goroutine 177 [running]:
time.stopTimer(0xc000060c88, 0x1)
	/Users/dmitshur/sdk/go1.14beta1/src/runtime/time.go:219 +0x2b
time.(*Timer).Stop(0xc000060c80, 0x3b9aca00)
	/Users/dmitshur/sdk/go1.14beta1/src/time/sleep.go:78 +0x36
created by main.main
	/var/folders/zb/5p8cwfhj29gf_m8vdy8ylmlr00jwcj/T/tmp.5VGZN9cY/main.go:10 +0xb5
panic: runtime error: racy use of timers

goroutine 198 [running]:
time.resetTimer(0xc000060e18, 0xb9845fda967c)
	/Users/dmitshur/sdk/go1.14beta1/src/runtime/time.go:228 +0x35
time.(*Timer).Reset(0xc000060e10, 0x3b9aca00, 0x0)
	/Users/dmitshur/sdk/go1.14beta1/src/time/sleep.go:126 +0x7d
created by main.main
	/var/folders/zb/5p8cwfhj29gf_m8vdy8ylmlr00jwcj/T/tmp.5VGZN9cY/main.go:11 +0xe0
exit status 2

$ go1.13.7 run .
panic: runtime error: racy use of timers

goroutine 355 [running]:
time.startTimer(0xc000087548)
	/Users/dmitshur/sdk/go1.13.7/src/runtime/time.go:114 +0x2b
time.(*Timer).Reset(0xc000087540, 0x3b9aca00, 0x0)
	/Users/dmitshur/sdk/go1.13.7/src/time/sleep.go:126 +0x81
created by main.main
	/var/folders/zb/5p8cwfhj29gf_m8vdy8ylmlr00jwcj/T/tmp.5VGZN9cY/main.go:9 +0x93
exit status 2

This also seems to reproduce on go1.12.17, although less reliably:

$ go1.12.17 run main.go
panic: runtime error: racy use of timers

goroutine 248 [running]:
time.startTimer(0xc000086dc8)
	/home/rakoczy/sdk/go1.12.17/src/runtime/time.go:114 +0x2b
time.(*Timer).Reset(0xc000086dc0, 0x3b9aca00, 0x45b834)
	/home/rakoczy/sdk/go1.12.17/src/time/sleep.go:127 +0x81
created by main.main
	/tmp/37400/main.go:11 +0xe0
exit status 2

This issue is blocking the Go 1.14 release, which is currently underway (but has not been cut yet, so we can still safely abort it or make changes if necessary). See https://github.com/golang/go/issues/37445#issuecomment-590983882.

This panic was introduced in Go 1.12, so I guess it is not a Go 1.14 release blocker. Still think it should probably either be fixed or changed to a runtime.throw. The unexpected panic is problematic (see the nested panic in the trace above). Stop should either work or crash the program, not panic.

I filed details about the net/http timer usage in #37449. The code, from 2016, is aware of the fact that Reset and Stop are racing and handled either ordering correctly. What it did not expect is the panic introduced in Go 1.11. If we decide that this panic is important to keep, we will need to rewrite that code in http2.

Just to be clear, the problem was not introduced in 1.11.  The program above also fails with 1.10.
What happened in 1.11 was that the problem changed from a throw saying "fatal error: panic holding locks" to a panic saying "runtime error: racy use of timers".  Changing from a throw to a panic was a mistake on my part.  But changing from "panic holding locks" to "racy use of timers" was not.
Before 1.10 the problem still exists but is harder to reproduce.  What changed in 1.10 was that we switched to many different timer buckets.  With fewer timers in each bucket it's easier to create a case in which siftupTimer gets an index out of range.
In any case we can do better with the new timers.

We started to get panics right after updating to Go 1.14.
runtime error: racy use of timers
at time.stopTimer (time.go:224)
at time.(*Timer).Stop (sleep.go:78)
at net/http.(*http2ClientConn).roundTrip (h2_bundle.go:7480)
at net/http.(*http2Transport).RoundTripOpt (h2_bundle.go:6948)
at net/http.(*http2Transport).RoundTrip (h2_bundle.go:6909)
at net/http.http2noDialH2RoundTripper.RoundTrip (h2_bundle.go:9103)
at net/http.(*Transport).roundTrip (transport.go:515)
at net/http.(*Transport).RoundTrip (roundtrip.go:17)
at net/http.send (client.go:252)
at net/http.(*Client).send (client.go:176)
at net/http.(*Client).do (client.go:699)
at net/http.(*Client).Do (client.go:567)

@gopherbot Please open a backport to 1.14.

Hello @makhov, would you be interested in confirming it is fixed for you by trying with tip?
Using tip via https://godoc.org/golang.org/dl/gotip is very convenient, or you could directly compile from source if you prefer.

@thepudds Thanks! I'll try it in a canary. Panics happen no such often, so I'll keep it running for the weekend.

@thepudds The panic seems to be fixed. Thanks!


[Feature] Make Appsmith URL more readable and friendly

Summary
Today the URL is too long and not friendly to read. It can be a lot shorter, use the org name, app name in the URL.

For two decades, Oracle Application Express also used integer URLs. They recently enabled friendliers urls
I hope appsmith prioritizes friendly urls for the sake of adoption. Opaque and overly long urls are the first thing most users will ever see of an AppSmith app.

@segfall Thanks for point, we'll be working on this soon.


possible buffer overflow?

While browsing through the code I found this line:
https://github.com/PhirePhly/aprx/blob/13c6e7950210c501f71a0d12bb5c780f37e21b9b/ax25.c#L149
sizeof of a pointer is taken, I think the intent was to check the size of the buffer itself, not the pointer to it.

I agree. That doesn't look right. I'll look into it.

Thanks.
I have a feeling that framelen should be compared against tnc2buflen.


Symbolicate multithread in parallel

When multiple threads are symbolicated, we call symbolicator.symbolicate for each thread, so threads are not able to symbolicate in parallel. This slows down symbolication, we should do it once for all threads with parallelism for different libraries.

Fixed in https://github.com/EmergeTools/ETTrace/pull/61


fix SIGBUS bug for benchmark

put ray tmp files onto /mnt/disk1 to prevent /tmp/ray run out of space.


Error in directive draggable bind hook: "ReferenceError: 'TouchEvent' is undefined"

I've been using your draggable directive on a reporting page and really appreciate how easy it is to use. Unfortunately, most of our users are still using IE 11 (I know, I know...). Just noticed that your directive raises this error in IE 11 on page load:
Error in directive draggable bind hook: "ReferenceError: 'TouchEvent' is undefined"
The good news is that it doesn't seem to be a breaking error. The elements that use your directive are still draggable with no issues.  But you might want to see if there's a way to gracefully prevent that error. Thanks!

I think this problem will be resolved through my PR:
https://github.com/IsraelZablianov/draggable-vue-directive/pull/43

Many thanks!


Linting

Need to wait on #1 before merging.

Coverage remained the same at 100.0% when pulling 873e6dee9a70d3579b4a7dd73f9a34911ab977a1 on linting into e93bd8dd760b2306c5269fa6c34afb79bcce978a on master.

Coverage remained the same at 100.0% when pulling 384952ce4726e3c9699ac0ce70ce81abe782fb30 on linting into ced5fb999adc046cdad169fcc4c13e443cdc413c on master.

Coverage remained the same at 100.0% when pulling bf700314ef9001276f2fffa6bded49517f88f827 on linting into ced5fb999adc046cdad169fcc4c13e443cdc413c on master.


[communication-chat] ChatClient Chat Operations "before each" hook for "successfully creates a thread" failing in nightly runs

communication-chat nightly test runs are failing with:

Error message:
Internal server error.
Stack trace:
RestError: Internal server error.
at handleErrorResponse (D:\a_work\1\s\sdk\core\core-client\src\deserializationPolicy.ts:255:17)
at deserializeResponseBody (D:\a_work\1\s\sdk\core\core-client\src\deserializationPolicy.ts:159:43)
at processTicksAndRejections (internal/process/task_queues.js:95:5)

For more details check here:
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=2983581&view=results

It was a temporary 500 from auth service in INT. The pipeline is successful now.


Failed to import the plug-in after downloading it

E:\ComfyUI_windows_portable>.\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-build
[START] Security scan
[DONE] Security scan
ComfyUI-Manager: installing dependencies done.
** ComfyUI startup time: 2024-11-06 18:26:44.852231
** Platform: Windows
** Python version: 3.12.7 (tags/v3.12.7:0b05ead, Oct  1 2024, 03:06:41) [MSC v.1941 64 bit (AMD64)]
** Python executable: E:\ComfyUI_windows_portable\python_embeded\python.exe
** ComfyUI Path: E:\ComfyUI_windows_portable\ComfyUI
** Log path: E:\ComfyUI_windows_portable\comfyui.log
Prestartup times for custom nodes:
0.0 seconds: E:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Easy-Use
0.8 seconds: E:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager
Total VRAM 24564 MB, total RAM 65277 MB
pytorch version: 2.5.1+cu124
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce RTX 4090 : cudaMallocAsync
Using pytorch cross attention
[Prompt Server] web root: E:\ComfyUI_windows_portable\ComfyUI\web
Adding E:\ComfyUI_windows_portable\ComfyUI\custom_nodes to sys.path
Could not find efficiency nodes
[comfyui_controlnet_aux] | INFO -> Using ckpts path: E:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\ckpts
[comfyui_controlnet_aux] | INFO -> Using symlinks: False
[comfyui_controlnet_aux] | INFO -> Using ort providers: ['CUDAExecutionProvider', 'DirectMLExecutionProvider', 'OpenVINOExecutionProvider', 'ROCMExecutionProvider', 'CPUExecutionProvider', 'CoreMLExecutionProvider']
E:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\node_wrappers\dwpose.py:26: UserWarning: DWPose: Onnxruntime not found or doesn't come with acceleration providers, switch to OpenCV with CPU device. DWPose might run very slowly
warnings.warn("DWPose: Onnxruntime not found or doesn't come with acceleration providers, switch to OpenCV with CPU device. DWPose might run very slowly")
Loaded ControlNetPreprocessors nodes from E:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux
Loaded AdvancedControlNet nodes from E:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Advanced-ControlNet
Could not find AnimateDiff nodes
Loaded IPAdapter nodes from E:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_IPAdapter_plus
Could not find VideoHelperSuite nodes
Loading: ComfyUI-Impact-Pack (V7.10.7)
Loading: ComfyUI-Impact-Pack (Subpack: V0.7)
Loading: ComfyUI-Impact-Pack (V7.10.7)
[Impact Pack] Wildcards loading done.Loaded ImpactPack nodes from
E:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Impact-Pack
[Impact Pack] Wildcards loading done.
Traceback (most recent call last):
File "E:\ComfyUI_windows_portable\ComfyUI\nodes.py", line 2012, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 995, in exec_module
File "", line 488, in call_with_frames_removed
File "E:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-BrushNet_init.py", line 1, in
from .brushnet_nodes import BrushNetLoader, BrushNet, BlendInpaint, PowerPaintCLIPLoader, PowerPaint, CutForInpaint
File "E:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-BrushNet\brushnet_nodes.py", line 15, in
from .brushnet.brushnet import BrushNetModel
File "E:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-BrushNet\brushnet\brushnet.py", line 8, in
from diffusers.configuration_utils import ConfigMixin, register_to_config
File "E:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\diffusers_init_.py", line 5, in
from .utils import (
File "E:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\diffusers\utils_init_.py", line 38, in
from .dynamic_modules_utils import get_class_from_dynamic_module
File "E:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\diffusers\utils\dynamic_modules_utils.py", line 28, in
from huggingface_hub import cached_download, hf_hub_download, model_info
ImportError: cannot import name 'cached_download' from 'huggingface_hub' (E:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\huggingface_hub_init_.py). Did you mean: 'hf_hub_download'?
Cannot import E:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-BrushNet module for custom nodes: cannot import name 'cached_download' from 'huggingface_hub' (E:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\huggingface_hub_init_.py)
Module 'diffusers' load failed. If you don't have it installed, do it:
pip install diffusers
[ComfyUI-Easy-Use] server: v1.2.4 Loaded
[ComfyUI-Easy-Use] web root: E:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Easy-Use\web_version/v2 Loaded
Traceback (most recent call last):
File "E:\ComfyUI_windows_portable\ComfyUI\nodes.py", line 2012, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 995, in exec_module
File "", line 488, in call_with_frames_removed
File "E:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-GlifNodes_init.py", line 1, in
from .nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
File "E:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-GlifNodes\nodes.py", line 9, in
from diffusers import ConsistencyDecoderVAE
File "E:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\diffusers_init_.py", line 5, in
from .utils import (
File "E:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\diffusers\utils_init_.py", line 38, in
from .dynamic_modules_utils import get_class_from_dynamic_module
File "E:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\diffusers\utils\dynamic_modules_utils.py", line 28, in
from huggingface_hub import cached_download, hf_hub_download, model_info
ImportError: cannot import name 'cached_download' from 'huggingface_hub' (E:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\huggingface_hub_init_.py). Did you mean: 'hf_hub_download'?
Cannot import E:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-GlifNodes module for custom nodes: cannot import name 'cached_download' from 'huggingface_hub' (E:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\huggingface_hub_init_.py)
Total VRAM 24564 MB, total RAM 65277 MB
pytorch version: 2.5.1+cu124
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce RTX 4090 : cudaMallocAsync
Loading: ComfyUI-Impact-Pack (V7.10.7)
[Impact Pack] Wildcards loading done.
E:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\timm\models\layers_init_.py:48: FutureWarning: Importing from timm.models.layers is deprecated, please import via timm.layers
warnings.warn(f"Importing from {name} is deprecated, please import via timm.layers", FutureWarning)
Loading: ComfyUI-Manager (V2.51.9)
ComfyUI Revision: 2808 [69667290] *DETACHED | Released on '2024-11-04'
[ReActor] - STATUS - Running v0.5.1-b2 in ComfyUI
Torch version: 2.5.1+cu124
(pysssss:WD14Tagger) [DEBUG] Available ORT providers: AzureExecutionProvider, CPUExecutionProvider
(pysssss:WD14Tagger) [DEBUG] Using ORT providers: CUDAExecutionProvider, CPUExecutionProvider
Comfyroll Studio v1.76 :  175 Nodes Loaded
** For changes, please see patch notes at https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/blob/main/Patch_Notes.md
** For help, please see the wiki at https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki
[tinyterraNodes] Loaded
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json
WAS Node Suite: OpenCV Python FFMPEG support is enabled
WAS Node Suite Warning: ffmpeg_bin_path is not set in E:\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui\was_suite_config.json config file. Will attempt to use system ffmpeg binaries if available.
WAS Node Suite: Finished. Loaded 218 nodes successfully.
    "Art is the most beautiful of all lies."  You should update your diffusers library. I also changed requirements.txt, so you can try to update the code and restart.


Remove "noindex" tag from reuse files

Purpose of this pull request
This pull request removes the "noindex" tag from this file:
https://github.com/SumoLogic/sumologic-documentation/blob/main/docs/reuse/fed-deployment-note.md
Select the type of change

[x] Minor Changes - Typos, formatting, slight revisions
[ ] Update Content - Revisions, updating sections
[ ] New Content - New features, sections, pages, tutorials
[ ] Site and Tools - .clabot, version updates, maintenance, dependencies, new packages for the site (Docusaurus, Gatsby, React, etc.)

Ticket (if applicable)
DOCS-148
Also see comment on PR #4022.

Thanks, @kimsauce!


 elements inside of  tags don't survive md transformation resulting in multiple links

Description
When a superscript element is inside a link, the result markdown contains multiple sibling links
To Reproduce
Steps to reproduce the behavior:

add a test case for html like
A link withsubscript inside

note in the md, you get [A link with](#)[subscript](#)[ inside](#)

Expected behavior
you should get only one link, something like [A link with superscript inside](#).
Additional context
I observed this originally on a crosswalk project. see https://main--ups-pt--aemsites.aem.page/us/en/supplychain/fragments/footer.md, see link for Flex® GlobalView
Not able to reproduce from a word doc, so seems unique to html2md
I took a look at the code but no fix seems obvious because this seems to occur in the toMdast  call. I'm no expert though, it's possible the handler for these elements could be modified to make this work.

I tested this:
works:

A link withsuperscript inside

does not work (without the
):

A link withsuperscript inside


Update docs replacing getState with select

I noticed that the docs are still using getState argument of Sagas, deprecated in 0.10. Since I'm new to redux-saga I'd like to receive a feedback before continuing the update. Am I doing it right?
Thanks.
Related also to #286

thanks

Sorry it was a Work In Progress actually 😅 There are also some other places in the docs where it's still used getState, so should I make a new commit instead of --amend right?

I think so. You can make new commits then just submit a new PR


County drop down in advanced summary not working.

Came up in the viewer training.  When you try to run an advanced query and select a county, the dropdown isn't populating.

Needed to update field names in config. oops


Fixed #28816 -- Silent data loss when decreasing the max_length of a CharField.

https://code.djangoproject.com/ticket/28816

Any thoughts about avoiding the usage of type casting when converting from a type to the same type with different parameters instead? The issue has been reported for varchar(N) -> varchar(N-1) but it exists for other types as well (e.g. int -> smallint).

@charettes Thank you for your comment. I changed my PR as you mentioned

@charettes Thank you for your comment. I checked the data_types in https://github.com/django/django/blob/7c3732a1b47bb736ccfd8302aa55e6cf41edff7e/django/db/backends/postgresql/base.py#L71
There is nothing for ForeignKey field. so if I would apply your mentioned changes. it will break some tests. for example https://github.com/django/django/blob/7c3732a1b47bb736ccfd8302aa55e6cf41edff7e/tests/migrations/test_executor.py#L582
My solution is to add 'ForeignKey': 'serial' to `data_types'. do you agree?

My solution is to add 'ForeignKey': 'serial' to `data_types'. do you agree?

A foreign key can point to something else than an AutoField. If the referenced model declares an explicit primary_key or the foreign points to a different unique field using to_field for example.

There is nothing for ForeignKey field. so if I would apply your mentioned changes. it will break some tests. for example

I see. You probably want to compare rel_db_type in the case of related fields.

@charettes I changed the PR and used rel_db_type.

@hramezani Thanks for this patch :+1: I rebased from master and push some edits to simplify changes in postgresql/schema.py.
I also think that we should move tests to the schema/tests.py, e.g.
    @unittest.skipUnless(connection.vendor == 'postgresql', 'PostgreSQL specific')
    def test_char_field_decrease_length(self):
        # Create the table
        with connection.schema_editor() as editor:
            editor.create_model(Author)
        Author.objects.create(name='x' * 255)
        # Change max_length of CharField.
        old_field = Author._meta.get_field('name')
        new_field = CharField(max_length=254)
        new_field.set_attributes_from_name('name')
        with connection.schema_editor() as editor:
            msg = 'value too long for type character varying(254)'
            with self.assertRaisesMessage(DataError, msg):
                editor.alter_field(Author, old_field, new_field, strict=True)

What do you think?

@felixxm Thanks for your edits :+1:.
I agree with you, we should move tests to schema/tests.py.
Should we remove the test from tests/postgres_tests/test_charfield.py?

Yes we don't need them anymore.

@felixxm Done!


Update settings for JWT token auth

Harness Developer Pull Request
Thanks for helping us make the Developer Hub better. The PR will be looked at
by the maintainers.
What Type of PR is This?

[ ] Issue
[ ] Feature
[ ] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[ ] Tested Locally
[ ] Optional Screen Shoot.

Preview environment: https://ci.pr.harness.io/pr-277

Preview environment: https://ci.pr.harness.io/pr-277

Preview environment: https://ci.pr.harness.io/pr-277

Preview environment: https://ci.pr.harness.io/pr-277