[CI] Test failure: test_js_e2e

Tracking a test failure in Circle CI in the test_js_e2e job.
Repro Steps:
nvm install 8
yarn
node ./scripts/run-ci-e2e-tests.js --js

Error:
yarn run v1.22.0
$ /private/tmp/react-native-XsZVUnTl/template/node_modules/.bin/react-native bundle --entry-file index.js --platform android --dev true --bundle-output android-bundle.js --max-workers 1
                 Welcome to React Native!
                Learn once, write anywhere

error Cannot find module './Libraries/polyfills/console.js'
Require stack:
- /private/tmp/react-native-XsZVUnTl/template/rn-get-polyfills.js
- /private/tmp/react-native-XsZVUnTl/template/metro.config.js
- /private/tmp/react-native-XsZVUnTl/template/node_modules/import-fresh/index.js
- /private/tmp/react-native-XsZVUnTl/template/node_modules/cosmiconfig/dist/loaders.js
- /private/tmp/react-native-XsZVUnTl/template/node_modules/cosmiconfig/dist/createExplorer.js
- /private/tmp/react-native-XsZVUnTl/template/node_modules/cosmiconfig/dist/index.js
-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>- /private/tmp/react-native-XsZVUnTl/template/node_modules/react-native/cli.js. Run CLI with --verbose flag for more details.
Error: Cannot find module './Libraries/polyfills/console.js'

It seems like this issue was resolved in #28392

It seems like this issue was resolved in #28392


Fixing issue #678 -> pynb for image classification using vision transformer pretrained on ImageNet.

Description
I have added a notebook which contains inference code for image classification using vision transformer pretrained on IamgeNet. The code performs the following tasks:

downloads the checkpoint (which can be downloaded and used to fintune the model on aditional classes).
downloads a test image.
downloads the json file of ImageNet classes.

This notebook solves the issue #678 which requires an image classifier which uses transformer.
Related Issues

[FEATURE_REQUEST] Add vision transformers model to image classification #678
Checklist:

[ x] I have followed the contribution guidelines and code style for this project.
[ x] This branch is created from staging and not master.
[ x] This PR is being made to staging and not master.
[ x] I will squash merge this PR into staging.
[ x] I have added tests covering my contributions.
[ x] I have updated the documentation accordingly.

@microsoft-github-policy-service agree

Just a heads up, you can review these notebook changes with GitNotebooks too: https://gitnotebooks.com/microsoft/computervision-recipes/pull/690
I think it offers some advantages over what you're currently using.

Just a heads up, you can review these notebook changes with GitNotebooks too: https://gitnotebooks.com/microsoft/computervision-recipes/pull/690
I think it offers some advantages over what you're currently using.

@smith-kyle thank you for the suggestion.

My Amazon account expired and I had to update the S3 link.

I am note able to find the information about the author, but can the author please merge this PR? It has passed all the checks.


Fix array out of bounds in hpack

This PR stops the server from hanging when a response has a non-empty www-authenticate header.
PS: I was not able to easily run ocamlformat for this PR, so you may need to run it.

Thank you! Could you provide more information as to how you came across this bug?
Ideally we would be able to craft a test that exposes the problem so that we don't regress in the future.

PS: I was not able to easily run ocamlformat for this PR, so you may need to run it.

I just pushed a commit fixing this.

Thank you! Could you provide more information as to how you came across this bug?
Ideally we would be able to craft a test that exposes the problem so that we don't regress in the future.

I came across this bug in a test that was trying to send a response with the www-authenticate header. I've added a test to my PR for this.

Thanks for adding a test! I checked out the PR locally, and the fix makes sense.
I made a small modification to your patch that avoids allocating an option type when the static table entry is found.

Thank you!

Thanks again!


Add Record Collector project

Updated to own Twitter account for project, thanks!

doublechecking against Deploy in-app
also work-in-progress: https://github.com/netlify/staticgen/issues/819


Make the physics engine deterministic

Makes the the physics engine, if taken in isolation deterministic. This is useful for debugging

i think you could probably make it deterministic if you disable ASLR for debugging, no need for this..

https://askubuntu.com/questions/318315/how-can-i-temporarily-disable-aslr-address-space-layout-randomization

@reduz Actually I was thinking the same initially but that won't help here because there are other parts of the engine doing memory allocation that are not tied to the physics engine (like having the rendering code running either in parallel or at unpredictable rate) that are causing allocations to be non-deterministic from the physics engine perspective. Could also this be useful from a user perspective?

i dont really think so, its too difficult to make things deterministic..
On Mon, Oct 2, 2017 at 6:49 PM, m4nu3lf<EMAIL_ADDRESS>wrote:

@reduz https://github.com/reduz Actually I was thinking the same
initially but that won't help here because there are other parts of the
engine doing memory allocation that are not tied to the physics engine
(like having the rendering code running either in parallel or at
unpredictable rate) that are causing allocations to be non-deterministic
from the physics engine perspective. Could also this be useful from a user
perspective?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/pull/11669#issuecomment-333675231,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF-Z2xDxwtvLg1C48PTxXMD-A3ZfA2zYks5soVpggaJpZM4Pn85u
.

Hum, so, the physics engine with this change would be "deterministic" in the sense that given the same input to the physics engine the output will always be the same, but If the input comes from the logic running in the _process() or the user that will not be in sync with the physics engine and thus the result won't be deterministic as the input will be likely received by the physics engine at different frames.
But for instance this helped me in that I've been able to create a minimal scene reproducing an issue and running it over and over while debugging (without any input) having always the same things happening in each frame

From the user perspective, this feature would be especially useful for creating replay files of "played matches" that are very compact (only inputs are stored and not game states) and can be played back by the game, at least locally. This is actually one of the features I'm going to try to implement in my own game.

I will insist this not ever going to work. Floating point operations may
vary between compiler, compiler version, engine version, platform, etc. The
only way to get determinism is via integer math.
On Sun, Oct 22, 2017 at 9:43 AM, Andrii Doroshenko<EMAIL_ADDRESS>
wrote:

From the user perspective, this feature would be especially useful for
creating replay files of "played matches" that are very compact (only
inputs are stored and not game states) and can be played back by the game,
at least locally. This is actually one of the features I'm going to try to
implement in my own game.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/pull/11669#issuecomment-338474578,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF-Z25MGSM1K2Q1MSi7oYvuUEHc45RMTks5suziIgaJpZM4Pn85u
.

@reduz AFAIK floating point arithmetic is standardized, unless you change from float 32 to double everything should playback the same

@Xrayez to make that work all thre logic of the game should be in the _physics_process, if something is in the _process update function and it interacts directly or indirectly with the physics engine the result won't be deterministic as the framerate is variable

closing, because i dont think this is ever expected to work properly


cf login - Credentials were rejected, please try again.

I am trying to use api key for cf login as instructed in the following link. But I am getting error Credentials were rejected, please try again, but I am able to login with same api key using bluemix login.
Can you guys please help?
https://console.bluemix.net/docs/iam/login_fedid.html#using-an-api-key

please post how you use it and what you got

I am having same issue. I am a IBM employee and only way I found here to login there is always using sso option. I downloaded and installed IBM Cloud Cli (https://console.bluemix.net/docs/cli/reference/bluemix_cli/get_started.html#getting-started) I have tried to login using "bx login" and also tried using "bluemix login" so I get message "Credentials were rejected. Code: BXNIM0608E, message: Your user id<EMAIL_ADDRESS>is federated and must use an API key or one-time passcode to authenticate". So I searched getting started links and found nothing. However, searching on internet I found that sso option as described here (https://console.bluemix.net/docs/iam/login_fedid.html#using-an-api-key), that is, "bluemix login --sso" and after that entered on page indicated to get key: One Time Code (Get one at https://iam-id-2.ng.bluemix.net/identity/passcode). So, always that I need to login on terminal only way it works is by using this sso option and entering on that link to get new key. I was wondering it has an easier and direct way to do that and also I was wondering that bluemix documentation was better explanning how this works direct on getting started site (https://console.bluemix.net/docs/cli/reference/bluemix_cli/get_started.html#getting-started).

@fabio-franco  have you ever created a platform api key after you login with --sso. After you have the api key, you will be always using the API key to login  as described in the document
bluemix login --apikey <api_key_string>

@HenryUxDesugner  when you use cf cli to login, what you input for "EMAIL:" ?  it needs to be apikey ( exactly this string)

Just to comment on the issue:
➜ ibmcloud login
API endpoint: https://api.eu-gb.bluemix.net

Email> apikey

Password>
Authenticating...
Credentials were rejected.
Code: BXNIM0602E, message: The credentials you entered for the user 'apikey' are incorrect

If i use same API key with the command line argument it works:
ibmcloud login --apikey $API_KEY
API endpoint: https://api.eu-gb.bluemix.net
Authenticating...
OK

It does not like when you have email as 'apikey'

use "apikey" as email and key as password is only for cf cli.
For IBM Cloud CLI, you need to use --api-key option

i ran ibmcloud login and while it failed logging in, it did update itself. after this, i've been able to login both via ibmcloud and via cf using email & password. i couldn't get the apikey thing to work.


Fix proposition document meta options.

Description of change
This updates Meta options of the document to reflect change to permission names.

Codecov Report

Merging #1061 into develop will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop    #1061   +/-   ##
========================================
  Coverage    96.17%   96.17%
========================================
  Files          215      215
  Lines         6169     6169
  Branches       590      590
========================================
  Hits          5933     5933
  Misses         166      166
  Partials        70       70

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 6e169c9...ca86a2f. Read the comment docs.


[bug] DR no longer displaying correctly on NPC/mini and simple character sheets

With the NPC/mini and the simple sheet, instead of displaying the number for torso DR instead it just displays the string "[object Object]".  I believe this was still working fine in 0.13.13 so maybe this has to do with the split DR implementation.

Can you ZIP up the character that is showing this and attach it to this issue?   I cannot recreate the bug.

Hi Chris,
I can do that with a few - but it happens with all of the 20+ characters I've checked it for, some were created by the mook generator, some imported from GCS, and some from GCA4.  The problem also occurs in both worlds that I have created - one with a bunch of modules active, and the other which has no modules active at all.
I first noticed the issue after I updated foundry to build 269, so maybe that has something to do with it.  I'll attach a few characters to the issue (and also this email in case that is easier) - is there any more information I could send that might be useful?
Best regards,
Rick DeJonghe

From: Chris Normand @.>
Sent: Friday, April 22, 2022 11:25 PM
To: crnormand/gurps @.>
Cc: rjdejonghe @.>; Author @.>
Subject: Re: [crnormand/gurps] [bug] DR no longer displaying correctly on NPC/mini and simple character sheets (Issue #1385)
Can you ZIP up the character that is showing this and attach it to this issue? I cannot recreate the bug.
—
Reply to this email directly, view it on GitHubhttps://github.com/crnormand/gurps/issues/1385#issuecomment-1107035091, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AB2OR3WPE6UV2GVMTKKEKB3VGMYONANCNFSM5T5K4HMQ.
You are receiving this because you authored the thread.Message ID: @.***>

Alyssa Turpin

Alchemy/TL8
IQ/VH
9
IQ-3
1

B174, M210

k175

Animal Handling (Equines and Thestrals)
IQ/A
12
IQ+0
1

B175

k176

Animal Handling (Griffons and Hippogriffs)
IQ/A
12
IQ+0
1

B175

k177

Animal Handling (Nifflers)
IQ/A
13
IQ+1
2

B175

k178

Area Knowledge (Hogwarts)
IQ/E
12
IQ+0
1

B176

k179

Biology/TL8 (Magical Creatures)
IQ/VH
10
IQ-2
2

B180

k180

Piloting/TL8 (Broomstick)
DX/A
11
DX-1
1

B214

k181

Public Speaking
IQ/A
11
IQ-1
1

B216

k182

Research/TL8
IQ/A
11
IQ-1
1

B217

k183

Riding (Equines)
DX/A
13
DX+1
2

B217

k184

Sewing/TL8
DX/E
12
DX+0
1

B219

k185

Skating
HT/H
10
HT-2
1

B220

k186

Stealth
DX/A
12
DX+0
2

B222

k187

Streetwise
IQ/A
11
IQ-1
1

B223

k188

Survival (Woodlands)
Per/A
11
Per-1
1

B223

k189

Thaumatology
IQ/VH
12
IQ+0
1

B225

k190

Tracking
Per/A
11
Per-1
1

B226

k191

Wand
DX/E
12
DX+0
1

B175

k192

Apportation
13
Reg.
IQ/H
1

1 sec.
1 min.
Varies
R-Will
Movement
M142, B251

k193

Beast-Soother
15
Regular
IQ/H
4

1 sec.
Perm.#
1 to 3

Animal
M29

k194

Continual Light
13
Regular
IQ/H
1

1 sec.
Varies
Varies

Light & Darkness
M110, B249

k195

Haste
13
Regular
IQ/H
1

2 sec.
1 min.
2/pt./H

Movement
M142, B251

k197

Itch
13
Regular
IQ/H
1

1 sec.
Scratch#
2
R-HT
Body Control
M35, B244

k198

Lend Energy
13
Regular
IQ/H
1

1 sec.
Perm.
Varies

Healing
M89, B248

k201

Lend Vitality
13
Regular
IQ/H
1

1 sec.
1 hr.
1 per HP loaned

Healing
M89, B248

k202

Light
13
Regular
IQ/H
1

1 sec.
1 min.
1/1

Light & Darkness
M110, B249

k196

Pain
13
Regular
IQ/H
1

2 sec.
1 sec.
2
R-HT
Body Control
M36, B244

k199

Reveal Secrets
13
Information
IQ/H
1

1 sec.
1 min.
2+

Knowledge

k205

Spasm
13
Regular
IQ/H
1

1 sec.
Instant
2
R-HT
Body Control
M35, B244

k200

Stun
13
Regular
IQ/H
1

1 sec.
Instant
2
R-HT
Body Control
M37

k203

Transfiguration (Minor)
13
Regular
IQ/H
1

1 sec.
1 min.
1+

Making & Breaking

k204

9
-10
12
40
12
40
12
20
9
0
9
12
0
12
0
12
0
12
16
32
128
192
240
800
12
12
12
12
12
1d-2
1d-1
6
0
6
0
6

9
8
7
6
5
9
9
7
0

Bite

0
0

Bite
12
1d-3 cr
C
No

Kick

0
0

Kick
10
1d-2 cr
C,1
No

Punch

0
0

Punch
12
1d-3 cr
C
9

Humanoid

Eyes
0

Neck
0

Skull
2

Face
0

Torso
0

Groin
0

Arms
0

Hands
0

Legs
0

Feet
0

1
0
0
0
0
16
32
48
96
160
6
4
3
2
1
9
8
7
6
5

Human
5'1"
95
12
Though a little spacy, this second year Ravenclaw is the first to volunteer to help with anything
0
0

Ally (Fat Leonard the Niffler) (25% of starting points)
5
 (15 or less; Special Abilities)
B36

k154

Animal Empathy
5

B40

k158

Animal Friend (1)
5

B90, PU3:6

k159

Appearance (Beautiful)
12

B21

k160

Magery (3)
30

B66

k161

Magery 0
5

B66

k162

Clueless
-10

B126

k163

Compulsive Generosity
-5
 ([CR: 12 or less] )
B128

k164

Gullibility
-10
 ([CR: 12 or less] )
B137

k166

Sense of Duty (Animals) (Small Group)
-5

B153

k168

Vow (Strict Vegetarian) (Minor)
-5

B160

k169

Nervous about heights
-1

k172

Nevers says no to pumpkin juice (and then adds sugar to it)
-1

k173

One green eye, one brown eye
-1

k174

Sews little hats for Leonard in her spare time
-1

k171

Wears unusual hats, especially ones that look like animals
-1

k170

|+2 from 'Appearance'|+4 from 'Appearance'||-2 from 'Clueless'

||||+1 from 'Animal Friend' when All ordinary animals|+1 from 'Compulsive Generosity' when from pios folks|+2 from 'Sense of Duty (Animals)' when in dangerous situations if Sense of Duty is known

8
<tl_points type = "number">0</tl_points>

1
11" laurel wand, kelpie hair core
1
120
0.5
0.5

2

k206

1
Backpack, Small
1
60
3
3

TL:1 Notes: Holds 40 lbs. of gear.
2
B288

k210

1
Fantastic Beasts and Where to Find Them - 1st printing!
1
10
0.5
0.5

2

k208

1
Faux, bright pink raccoon tail hat
1
50
0
0

2

k209

1
Ravenclaw robes
1
50
2
2

2

k207

1
Ruby and emerald bracelet (faux)
1
5
0
0

2

k211

Your parents are the owners of Miskal's Mysterious Menagerie, one of the most famous magical pet stores in Diagon Alley. You can't even remember a time when you haven't been surrounded by nifflers, crups, kneazles, and runespoors - and you love them all equally, even the one that bit you on the neck in June and didn't let go until August. You're happy to be back to Hogwarts again, though you're still shocked that you got sorted in Ravenclaw a year ago! Your entire family have been loyal Hufflepuffs for over a hundred years!  But Dumbledore even pulled you aside and told you that cleverness and wisdom comes as much from the heart as it does from the mind. You're not sure what that means, but it sure sounds good!\r

90
62
-35
-5
22
16
0
0
150
0

Benjamin Liu

Alchemy/TL8
IQ/VH
9
IQ-3
1

B174, M210

k170

Area Knowledge (Hogwarts)
IQ/E
12
IQ+0
1

B176

k171

Artist (Drawing)
IQ/H
10
IQ-2
1

B179

k172

Boxing
DX/A
12
DX+1
4

B182

k173

Fast-Draw (Wand)
DX/E
11
DX+0
1

B194

k176

Forced Entry
DX/E
12
DX+1
2

B196

k177

Fortune-Telling (Astrology)
IQ/A
11
IQ-1
1

B196

k178

Leadership
IQ/A
11
IQ-1
1

B204

k179

Singing
HT/E
12
HT+0
1

B220

k180

Sleight of Hand
DX/H
10
DX-1
2

B221

k181

Stealth
DX/A
11
DX+0
2

B222

k182

Streetwise
IQ/A
11
IQ-1
1

B223

k183

Thaumatology
IQ/VH
12
IQ+0
1

B225

k184

Wand
DX/E
11
DX+0
1

B175

k185

Apportation
13
Reg.
IQ/H
1

1 sec.
1 min.
Varies
R-Will
Movement
M142, B251

k186

Call Object
13
Special
IQ/H
1

1 sec.
1 min.
3+

Movement

k201

Clumsiness
13
Regular
IQ/H
1

1 sec.
1 min.
1 to 5/H
R-HT
Body Control
M36, B244

k187

Daze
13
Regular
IQ/H
1

2 sec.
1 min.
3/2
R-HT
Mind Control
M134, B250

k190

Foolishness
14
Regular
IQ/H
2

1 sec.
1 min.
1 per IQ-/H
R-Will
Mind Control
M134, B250

k191

Itch
15
Regular
IQ/H
4

1 sec.
Scratch#
2
R-HT
Body Control
M35, B244

k189

Keen Vision
13
Regular
IQ/H
1

1 sec.
30 min.
1 per +/H#

Mind Control
M133

k192

Night Vision
13
Regular
IQ/H
1

1 sec.
1 min.
3/1

Light & Darkness
M111, F170

k193

Nightingale
13
Area
IQ/H
1

1 sec.
10 hrs.
2/2

Protection & Warning
M167

k194

Seek Air
13
Information
IQ/H
1

1 sec.
Instant
1

Air
M23

k197

Seek Plant
13
Information
IQ/H
1

1 sec.
Instant
2

Plant
M161, F171

k198

Seeker
13
Information
IQ/H
1

1 sec.
Instant
3

Knowledge
M105, B249

k199

Sense Danger
13
Information
IQ/H
1

1 sec.
Instant
3

Protection & Warning
M166

k195

Sense Foes
13
Inform.
IQ/H
1

1 sec.
Instant
2#
Area
Communication & Empathy
M44, B245

k196

Sleep
13
Regular
IQ/H
1

3 sec.
Instant
4
R-HT
Mind Control
M135, B251

k200

Spasm
13
Regular
IQ/H
1

1 sec.
Instant
2
R-HT
Body Control
M35, B244

k188

11
10
11
20
12
40
12
20
11
0
11
13
5
12
0
12
0
12
24
48
192
288
360
1200
13
12
12
12
12
1d-1
1d+1
5.75
0
5
0
5

8
7
6
5
4
8
8
6
0

Bite

0
0

Bite
11
1d-2 cr
C
No

Boxing

0
0

Punch
12
1d-1 cr
C
9

Kick

0
0

Kick
9
1d-1 cr
C,1
No

Humanoid

Eyes
0

Neck
0

Skull
2

Face
0

Torso
0

Groin
0

Arms
0

Hands
0

Legs
0

Feet
0

1
0
0
0
0
24
48
72
144
240
5
4
3
2
1
8
7
6
5
4

Human
5'3"
110
14
Always grinning, always planning, this second year Hufflepuff is a favorite of his classmates
0
0

Absolute Direction
5

B34

k154

Daredevil
15

B47

k155

Magery (3)
30

B66

k156

Magery 0
5

B66

k157

Overconfidence
-5
 ([CR: 12 or less] )
B148

k174

Reputation (Troublemaker) (-1)
-5
 (All the time; Almost everyone)
B27

k159

Trickster
-15
 ([CR: 12 or less] )
B159

k162

Wealth (Struggling)
-10

B25

k164

Blames failures on his cheap wand
-1

k166

Never skips his hour of study time every day
-1

k168

Plans for mischief are way more complex than they need to be
-1

k169

Sensitive he got his invitation to Hogwarts a year late (due to injury)
-1

k165

Still practices his boxing moves once a day
-1

k167

||||

||||-1 from 'Reputation (Troublemaker)'|+2 from 'Overconfidence' when young or naive individuals|-2 from 'Overconfidence' when experienced NPCs

8
<tl_points type = "number">0</tl_points>

1
9" dogwood wand, phoenix feather core
1
30
0.5
0.5

2

k202

1
Dr Filibusters Fabulous Wet-Start, No-Heat Fireworks
1
10
0
0

2

k205

1
Hufflepuff robes
1
30
2
2

2

k203

1
Luck "Felix Felicis" Potion (stolen)
1
1300
0
0

Rare Cost: 2300 Forms: Potion, Powder, Pastille, Ointment
2
M216

k204

1
Salabasters Sultry Singing potion instructions
1
0
0
0

2

k206

Your dream is to get all the professors to drink Salabaster's Sultry Singing potions right before exams this year.. Jacob Kingsley, the Hufflepuff prefect, swore it's the one thing he wouldn't tell the other professors about if you actually pulled it off. And you think you can do it, if only you could find that rare erempent horn ingredient somewhere around the school. It's a brilliant plan. And you don't THINK it will get you kicked out of school.  But even he'd appreciate the work it took to pull off a grand stunt like this.\r

95
55
-35
-5
20
20
0
0
150
0

Found it, thanks!    It will be fixed in the next release.
https://github.com/crnormand/gurps/pull/1394


Translation: Bengali

Repository: https://github.com/nasirkhan/opensource.guide
Preview: https://nasirkhan.github.io/opensource.guide
Locale: bn-BD
On your fork:

[x] Update title, description, and locale in _config.yml, and push the branch to the gh-pages branch of your fork. This should build the website and it should be visible at the preview url above.
[x] Copy _data/locale/en-US.yml to a new file with the name of your locale and translate the strings
[ ] Create a new directory in _articles/ for your locale and translate each guide:

[ ] best-practices.md
[ ] building-community.md
[ ] code-of-conduct.md
[ ] finding-users.md
[ ] getting-paid.md
[ ] how-to-contribute.md
[ ] leadership-and-governance.md
[ ] legal.md
[ ] metrics.md
[ ] starting-a-project.md

[x] Update CNAME to include your locale (e.g. de.opensource.guide)

Once a translation is completed:

[ ] Open a Pull Request on the upstream repository to add your fork to translations in _config.yml

@bkeepers this one's for you!

Possible to conversation work API development.

@nasirkhan Apologies this issue has been neglected for so long. I've merged the first translation to this repository (Spanish) and updated the documentation on the latest translations approach (https://github.com/github/opensource.guide/blob/gh-pages/docs/translations.md). Please submit a pull request when you have translated all articles and checked ./script/test passes and I'll get it merged in ASAP. Thanks!


After Update to 1.5.6 - All Carousles Broken (TypeError: _.$prevArrow is null)

I receive the following error in my console (in both Chrome and Firefox on Linux Mint 17.2):

TypeError: _.$prevArrow is null (slick.js:830:0)

I have tried both the bower 1.5.6 version and the version that you can download directly from your github.io page: https://github.com/kenwheeler/slick/archive/1.5.6.zip... Both are not working properly and are throwing the same error.
I reverted back to 1.5.5 and all is working fine. I'd love to utilize the most recent update, but it simply is broken.
Thanks for this awesome plugin, and thanks in adavnce for any assitance in fixing this error!

Guessing it's something with the implementation; can you recreate in a fiddle (see this).

https://jsfiddle.net/derekfoulk/y2Lgmns7/

I updated the link to the Fiddle with the correct URL...

I see what you mean. Looks like its related to this issue to #1524

Definitely related. I will take a look after work and see if I can patch this...

@simeydotme This got introduced here https://github.com/kenwheeler/slick/pull/1331/files

I'll take a look... Apologies for any inconvenience, it was working 👌 locally!

Any bower release in plan?


Can not convert from NumSharp.NDArray to OpenCvSharp.InputArray

Summary of your issue
I am converting a Pythion code to C# using Visual Studio 2019 with OpenCvSharp and NumSharp.

Environment
using opencvsharp;
using numsharp;
What did you do when you faced the problem?
I am converting a Pythion code to C# using Visual Studio 2019 with OpenCvSharp and NumSharp.
Example code:

 kernel = np.ones((9, 9), np.uint8);
//frame2 and opening_ori are Mat, kernel is a NumSharp array
 Cv2.MorphologyEx(frame2, opening_ori, MorphTypes.Open, kernel);

Output:

Can not convert from NumSharp.NDArray to OpenCvSharp.InputArray

What did you intend to be?
I am converting this Python Code to C# using NumSharp and OpenCvSharp:
kernel = np.ones((9, 9), np.uint8)
opening_ori = cv2.morphologyEx(frame2, cv2.MORPH_OPEN, kernel)

I'm having this issue too. I would guess that we need to convert it somehow but can't find the right way to do this.

I'm having this issue too. I would guess that we need to convert it somehow but can't find the right way to do this.

Just made my code work by making the following changes.
var row1 = np.array(new[] {0, 1, 0}, np.uint8);
var row2 = np.array(new[] {0, 1, 0}, np.uint8);
var row3 = np.array(new[] {0, 1, 0}, np.uint8);
var kernel = np.array(new[] {row1, row2, row3}, np.uint8);
var morph = new Mat();
var kernelSize = kernel.GetData<int>();
var inputArray = InputArray.Create(kernelSize, MatType.CV_8U);
Cv2.MorphologyEx(canny, morph, MorphTypes.Open, inputArray);
For anyone that got the error I cited in my previous comment, it seems like CV_8U is an alias for uint8
This means that the following code should work for you @soundmartell
kernel = np.ones((9, 9), np.uint8);
Cv2.MorphologyEx(frame2, opening_ori, MorphTypes.Open, InputArray.Create(kernel.GetData<int>(), MatType.CV_8U));
Hope this helps

Just made my code work by making the following changes.
var row1 = np.array(new[] {0, 1, 0}, np.uint8);
var row2 = np.array(new[] {0, 1, 0}, np.uint8);
var row3 = np.array(new[] {0, 1, 0}, np.uint8);
var kernel = np.array(new[] {row1, row2, row3}, np.uint8);
var morph = new Mat();
var kernelSize = kernel.GetData<int>();
var inputArray = InputArray.Create(kernelSize, MatType.CV_8U);
Cv2.MorphologyEx(canny, morph, MorphTypes.Open, inputArray);
For anyone that got the error I cited in my previous comment, it seems like CV_8U is an alias for uint8
This means that the following code should work for you @soundmartell
kernel = np.ones((9, 9), np.uint8);
Cv2.MorphologyEx(frame2, opening_ori, MorphTypes.Open, InputArray.Create(kernel.GetData<int>(), MatType.CV_8U));
Hope this helps

The reason why your can't "consume" NDArray directly is because NumSharp.NET and OpenCVSharp are 2 different library developing by different people. If you want to use NDArray directly like in python use can try SharpCV. But SharpCV missing A LOTS of features compare to OpenCVSharp

The reason why your can't "consume" NDArray directly is because NumSharp.NET and OpenCVSharp are 2 different library developing by different people. If you want to use NDArray directly like in python use can try SharpCV. But SharpCV missing A LOTS of features compare to OpenCVSharp

Try this.
Mat to NDArray
public static NDArray ToNDArray(this Mat mat)
{
    var matType = mat.Type();
    var channels = mat.Channels();
    var size = mat.Rows * mat.Cols * channels;
    var shape = channels == 1 ? new Shape(mat.Rows, mat.Cols) : new Shape(mat.Rows, mat.Cols, channels);
    if (matType == MatType.CV_32SC1 || matType == MatType.CV_32SC2)
    {
        var managedArray = new int[size];
        Marshal.Copy(mat.Data, managedArray, 0, size);
        var aslice = ArraySlice.FromArray(managedArray);
        return new NDArray(aslice, shape);
    }
    if (matType == MatType.CV_32FC1)
    {
        var managedArray = new float[size];
        Marshal.Copy(mat.Data, managedArray, 0, size);
        var aslice = ArraySlice.FromArray(managedArray);
        return new NDArray(aslice, shape);
    }
    if (matType == MatType.CV_8UC1 || matType == MatType.CV_8UC3)
    {
        var managedArray = new byte[size];
        Marshal.Copy(mat.Data, managedArray, 0, size);
        var aslice = ArraySlice.FromArray(managedArray);
        return new NDArray(aslice, shape);
    }

    throw new Exception($"mat data type = {matType} is not supported");
}

NDArray to Mat
public static Mat ToMat(this NDArray nDArray) =>
    new Mat(nDArray.shape[0], nDArray.shape[1], nDArray.GetMatType(), (Array)nDArray);

public static MatType GetMatType(this NDArray nDArray)
{
    int channels = nDArray.ndim == 3 ? nDArray.shape[2] : 1;
    return nDArray.typecode switch
    {
            NPTypeCode.Int32 => channels == 1 ? MatType.CV_32SC1 :
            channels == 2 ? MatType.CV_32SC2 :
            throw new ArgumentException($"nDArray data type = {nDArray.typecode} & channels = {channels} is not supported"),

            NPTypeCode.Float => channels == 1 ? MatType.CV_32FC1 :
            throw new ArgumentException($"nDArray data type = {nDArray.typecode} & channels = {channels} is not supported"),

            NPTypeCode.Byte => channels == 1 ? MatType.CV_8UC1 :
            channels == 3 ? MatType.CV_8UC3 :
            throw new ArgumentException($"nDArray data type = {nDArray.typecode} & channels = {channels} is not supported"),

            _ => throw new ArgumentException($"nDArray data type = {nDArray.typecode} is not supported")
    };
}

The Interaction Between OpenCVSharp and NumSharp


cli: Add "cc-env" command

Introduce a new "cc-env" command that displays configuration details.
Fixes #228.
Signed-off-by: James O. D. Hunt<EMAIL_ADDRESS>

Strictly, this partly fixes #228, but:

I can't add proxy/shim version details until the following are resolved:

https://github.com/clearcontainers/shim/issues/32
https://github.com/clearcontainers/proxy/issues/69
https://github.com/01org/cc-oci-runtime/issues/981
https://github.com/01org/cc-oci-runtime/issues/982

this PR introduces the framework we can use to add in further details (the above, plus VM detection and maybe dmidecode bits).

lgtm

Coverage increased (+5.3%) to 46.821% when pulling 1b5c2ce86a212ab3073624a63c5c7d4f21ed32a2 on jodh-intel:implement-cc-env-command into 734bdd9f26967ef86c863b64c71fe38d09c2f39a on clearcontainers:master.

Coverage increased (+5.6%) to 47.073% when pulling 249c559ce467c9d5b1dba3c3f692f204706aeb81 on jodh-intel:implement-cc-env-command into 734bdd9f26967ef86c863b64c71fe38d09c2f39a on clearcontainers:master.

Coverage increased (+5.7%) to 47.166% when pulling 3878cdbf254ba1813562da3586b8d951fe9c5a1a on jodh-intel:implement-cc-env-command into 734bdd9f26967ef86c863b64c71fe38d09c2f39a on clearcontainers:master.

Coverage increased (+5.7%) to 47.166% when pulling 3878cdbf254ba1813562da3586b8d951fe9c5a1a on jodh-intel:implement-cc-env-command into 734bdd9f26967ef86c863b64c71fe38d09c2f39a on clearcontainers:master.

LGTM

Coverage increased (+5.7%) to 47.166% when pulling 83c16e5e60e044d62f7f84c26645782468ab3be6 on jodh-intel:implement-cc-env-command into 734bdd9f26967ef86c863b64c71fe38d09c2f39a on clearcontainers:master.


Too many channels

futures-rs with tokio-core with rust stdlib has too many channel functions, so it is hard to understand which one is it when reading code.
So I'm proposing to at least rename channel in futures-rs to something likesync_channel.

Usually to disambiguate these things it's nice to import the module where the function is defined so you can immediately see which version it is. For example, using the std lib's channel can be written as
use std::sync::mpsc;
let (tx, rx) = mpsc::channel();

And it's super clear what's going on.
sync in this case has a specific meaning, and I'd be reluctant to choose that specifically if that's not true to the implementation.

Yes it's unfortunate they're all called channel, but that's also intentional because they're all doing very similar actions and a shared name is often useful for understanding what they're doing.
Also yes sync_channel has a specific meaning in the standard library which isn't necessarily applicable here.

What about renaming channel in futures-rs to multishot (since it is the stream equivalent to oneshot) and then add an implementation of sync_channel to tokio which mirrors the one in std (ie. it's a channel with a fixed-size buffer and back-pressure).

At this point I don't think we're going to rename channel and the various types, so I'm going to close this.


Use Stream API

Investigate and try some potential low-hanging fruit around using Stream API.

Most of the stuff we do is related to collections/arrays of bytes. Unfortunately, Java 8 only supports processing unboxed integers, longs and doubles. For some background on this, see http://stackoverflow.com/questions/22918847/why-are-new-java-util-arrays-methods-in-java-8-not-overloaded-for-all-the-primit/22919112#22919112.


Password for p12 created using fastlane match

Question Checklist

fastlane 2.134.0

Question Subject

What is the password for a p12 created using fastlane match?

Question Description

I tried to open a p12 file using different kinds of passwords (passphrase, empty password, password for the repo, keychain password), but nothing is working. What will be the password for that p12 file?

Found out more about how to decrypt the encrypted .cer and .p12 files, but the manual decryption is giving a "bad encrypt" error.
Command:
openssl aes-256-cbc -k  -in RBXBU2929L.p12 -out RBXBU2929L.new.p12 -a -d
I entered the passphrase as the password. Is that correct?
I'm getting this error after executing the above command
bad decrypt
4354399724:error:06FFF064:digital envelope routines:CRYPTO_internal:bad decrypt:/BuildRoot/Library/Caches/com.apple.xbs/Sources/libressl/libressl-47.11.1/libressl-2.8/crypto/evp/evp_enc.c:521:
Does anyone know how to resolve this error?

openssl version -a
LibreSSL 2.8.3
built on: date not available
platform: information not available
options:  bn(64,64) rc4(16x,int) des(idx,cisc,16,int) blowfish(idx)
compiler: information not available
OPENSSLDIR: "/private/etc/ssl"

Since no one seems to be interested in replying to this issue or does not know how to resolve this issue, I am going to close this.


Flannel does not work with iptables 1.8

On CentOS 8, flannel 0.11 and 0.12 does not work.  The pod starts and shows healthy status, but pod->node and pod->pod connectivity between nodes is missing.
The flannel container log is filled with messages like:
E0615 13:46:02.007083       1 iptables.go:115] Failed to ensure iptables rules: Error checking rule existence: failed to check rule existence: running [/sbin/iptables -t nat -C POSTROUTING -s <IP_ADDRESS>/11 -d <IP_ADDRESS>/11 -j RETURN --wait]: exit status 3: modprobe: can't change directory to '/lib/modules': No such file or directory
iptables v1.8.3 (legacy): can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

This is probably similar to https://github.com/weaveworks/weave/issues/3465 , i.e. unability to correctly enable native (non-legacy) iptables mode.
Expected Behavior
Flannel works with native iptables 1.8 on the node (RHeL/CentOS 8, Debian 10, Ubuntu 20.04)
Your Environment

Flannel version: 0.11 and 0.12
Backend used (e.g. vxlan or udp): vxlan
Etcd version: 3.4.3
Kubernetes version (if used): 1.18.2
Operating System and version: CentOS Linux release 8.1.1911
Link to your project (optional): https://www.kublr.com

Same issue with CentOS 7.8.2003, kubernetes 1.18.4
Your Environment

Flannel version: 011 and 0.12
Backend used (e.g. vxlan or udp): vxlan
Etcd version: 3.4.3
Kubernetes version (if used): 1.18.4
Operating System and version: CentOS Linux release 7.8.2003

@dmitry-irtegov what is the output of lsmod from the host on your system?

Hey,
I have found a solution for my problem.
Here is the thread on stackoverflow

Hey,
I have found a solution for my problem.
Here is the thread on stackoverflow

Flannel should work when privileged with CentOS 7.8, as by default CentOS 7.8 is using iptables binaries that program the ip_tables packet filter.
The original issue regarding Flannel complaining about a lack of /lib/modules sounds like an issue related to the (legacy) iptables binary attempting to load the legacy kernel modules, which is not necessarily desired behavior.

@dmitry-irtegov what is the output of lsmod from the host on your system?

@dmitry-irtegov what is the output of lsmod from the host on your system?
I'm wondering if the ip_tables module isn't loaded on your system. Regardless, you'll probably hit incompatibility issues w/ CentOS 8 and RHEL 8 due to: #1317

I'm wondering if the ip_tables module isn't loaded on your system. Regardless, you'll probably hit incompatibility issues w/ CentOS 8 and RHEL 8 due to: #1317

The issue is deeper than that.
Yes, the message I received was on a machine where ip_tables was missing.  But as I understand, current versions of Flannel are hardcoded to use legacy iptables.  If you look at the autodetection code in kube-proxy and calico, (https://github.com/kubernetes/kubernetes/blob/623b6978866b5d3790d17ff13601ef9e7e4f4bf0/build/debian-iptables/iptables-wrapper#L28 and https://github.com/projectcalico/felix/blob/954cc9b5cf62e63583d404adc5e04dd0e5ad6be3/iptables/feature_detect.go#L166) you will see that they count legacy-iptables rules, and switch to legacy mode when there are > 10 legacy rules.  So flannel could force both of them to legacy mode.
I actually confirmed that if I setup canal CNI plugin on CentOS 8 (with ip_tables preloaded), it indeed forces calico to legacy mode.  Which is not a good thing (IMO).

@dmitry-irtegov I'm well aware of that logic for switching between them and opened a PR into this repo a few days ago to implement it: https://github.com/coreos/flannel/pull/1318
Unfortunately, due to a flaky test (which I also opened a PR for) the CI/make will fail, but you can resolve it by cherry-picking the fix here: https://github.com/coreos/flannel/pull/1319
I was specifically looking at your reported issue, which was related to the error message that was received by trying to use the legacy binaries on a host system that does not have ip_tables loaded.


TestHeikinashiCandles fail

heikinHighs/Opens/Closes/Lows returned from HeikinashiCandles are indexes since 1 not 0
quick fix in talib_test.go:678 under kjx98/master
talib_test.go:729 Crossover to be fixed

TestCrossover fixed as well under kjx98/go-talib master


[spdlog] build failure with benchmark feature

Host Environment

OS: [Microsoft Windows [Version 10.0.19042.572]]
Compiler: Visual Studio  Version: 16.7.6  VS Tools Version: 14.27.29110
and Visual Studio  Version: 15.9.28  VS Tools Version: 14.16.27023

To Reproduce
set VCPKG_CRT_LINKAGE=dynamic
set VCPKG_DEFAULT_TRIPLET=x64-windows
set VCPKG_DISABLE_METRICS=true
set VCPKG_DOWNLOADS=[vcpkg-root]\test\downloads
set VCPKG_FEATURE_FLAGS=-binarycaching,-compilertracking,-manifests,-registries
set VCPKG_LIBRARY_LINKAGE=dynamic
set VCPKG_MAX_CONCURRENCY=8
set VCPKG_NO_CLEAN=YES
set VCPKG_PLATFORM_TOOLSET=[VS Native Toolset for 2017 or 2019 - either v141 or v142
set VCPKG_VISUAL_STUDIO_PATH=C:\Program Files (x86)\Microsoft Visual Studio\[VS Version - either 2017 or 2019]\Community
git pull current as of ~18:00 GMT ~14:00 Local
.\bootstrap-vcpkg.bat -verbose -disableMetrics -win64 -withVSPath "'%VCPKG_VISUAL_STUDIO_PATH%'"
Run custom script to remove/install all ports found by .\vcpkg upgrade as upgrade option does not support --editable and --x-use-aria2 options reference issues #12643 and #12834
log show spdlog failed during install
Try and rerun install of port spdlog with benchmark feature.
vcpkg install spdlog[benchmark,core]:x64-windows --editable
Failure logs

Cut and past the appropriate build messages from the console output.
Computing installation plan...
The following packages will be built and installed:
    spdlog[benchmark,core]:x64-windows
Starting package 1/1: spdlog:x64-windows
Building package spdlog[benchmark,core]:x64-windows...
-- Using cached D:/vcpkg_x64/vs2019/prod/downloads/gabime-spdlog-4a9ccf7e38e257feecce0c579a782741254eaeef.tar.gz
-- Extracting source D:/vcpkg_x64/vs2019/prod/downloads/gabime-spdlog-4a9ccf7e38e257feecce0c579a782741254eaeef.tar.gz
-- Using source at D:/vcpkg_x64/vs2019/prod/buildtrees/spdlog/src/41254eaeef-2548ad24d3
-- Configuring x64-windows
-- Building x64-windows-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:142 (message):
    Command failed: "C:/Program Files/CMake/bin/cmake.exe" --build . --config Debug --target install -- -v -j8
    Working Directory: D:/vcpkg_x64/vs2019/prod/buildtrees/spdlog/x64-windows-dbg
    See logs for more information:
      D:\vcpkg_x64\vs2019\prod\buildtrees\spdlog\install-x64-windows-dbg-out.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_build_cmake.cmake:93 (vcpkg_execute_build_process)
  scripts/cmake/vcpkg_install_cmake.cmake:24 (vcpkg_build_cmake)
  ports/spdlog/portfile.cmake:22 (vcpkg_install_cmake)
  scripts/ports.cmake:79 (include)

Error: Building package spdlog:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with .\vcpkg update, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
  Package: spdlog:x64-windows
  Vcpkg version: 2020.06.15-nohash

Additionally, attach any relevant sections from the log files above.

Please attach any additional failure logs mentioned in the console output.
install-x64-windows-dbg-out.log

Additional context
Add any other context about the problem here, such as what you have already tried to resolve the issue.

Appears to be related to recent upgrade to port fmt https://github.com/microsoft/vcpkg/pull/14239
Also happens using VS2017 also:
install-x64-windows-dbg-out.log

Other things tried
I removed spdlog dependencies (ports benchmark and fmt), deleted directories .\buildtrees\benchmark, fmt and spdlog and then tried to reinstall all three ports from scratch with same result... benchmark and fmt installed, spdlog failed with same errors.
SYSTEM@ANDROMEDA 10/27/2020 14:04:53 D:\vcpkg_x64\vs2019\prod
->vcpkg remove fmt
The following packages will be removed:
    fmt:x64-windows
Removing package fmt:x64-windows...
Removing package fmt:x64-windows... done
SYSTEM@ANDROMEDA 10/27/2020 14:04:53 D:\vcpkg_x64\vs2019\prod
->vcpkg remove benchmark
The following packages will be removed:
    benchmark:x64-windows
Removing package benchmark:x64-windows...
Removing package benchmark:x64-windows... done
SYSTEM@ANDROMEDA 10/27/2020 14:04:53 D:\vcpkg_x64\vs2019\prod
->rmdir /q /s .\buildtrees\fmt
SYSTEM@ANDROMEDA 10/27/2020 14:05:16 D:\vcpkg_x64\vs2019\prod
->rmdir /q /s .\buildtrees\benchmark
SYSTEM@ANDROMEDA 10/27/2020 14:05:22 D:\vcpkg_x64\vs2019\prod
->rmdir /q /s .\buildtrees\spdlog
SYSTEM@ANDROMEDA 10/27/2020 14:05:27 D:\vcpkg_x64\vs2019\prod
->vcpkg install spdlog[benchmark,core] fmt[core] benchmark[core] --editable
Computing installation plan...
The following packages will be built and installed:
    benchmark[core]:x64-windows
    fmt[core]:x64-windows
    spdlog[benchmark,core]:x64-windows
Starting package 1/3: benchmark:x64-windows
Building package benchmark[core]:x64-windows...
-- Note: benchmark only supports static library linkage. Building static library.
-- Using cached D:/vcpkg_x64/vs2019/prod/downloads/google-benchmark-73d4d5e8d6d449fc8663765a42aa8aeeee844489.tar.gz
-- Extracting source D:/vcpkg_x64/vs2019/prod/downloads/google-benchmark-73d4d5e8d6d449fc8663765a42aa8aeeee844489.tar.gz
-- Using source at D:/vcpkg_x64/vs2019/prod/buildtrees/benchmark/src/eeee844489-75b6880063
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Using msys root at D:/vcpkg_x64/vs2019/prod/downloads/tools/msys2/17e91aa90d284835
-- Fixing pkgconfig file: D:/vcpkg_x64/vs2019/prod/packages/benchmark_x64-windows/lib/pkgconfig/benchmark.pc
-- Fixing pkgconfig file: D:/vcpkg_x64/vs2019/prod/packages/benchmark_x64-windows/debug/lib/pkgconfig/benchmark.pc
-- Installing: D:/vcpkg_x64/vs2019/prod/packages/benchmark_x64-windows/share/benchmark/copyright
-- Performing post-build validation
-- Performing post-build validation done
Building package benchmark[core]:x64-windows... done
Installing package benchmark[core]:x64-windows...
Installing package benchmark[core]:x64-windows... done
Elapsed time for package benchmark:x64-windows: 9.658 s
Starting package 2/3: fmt:x64-windows
Building package fmt[core]:x64-windows...
-- Using cached D:/vcpkg_x64/vs2019/prod/downloads/fmtlib-fmt-4fe0b11195b7cd71f39253c44db2c9dddf6b82d4.tar.gz
-- Extracting source D:/vcpkg_x64/vs2019/prod/downloads/fmtlib-fmt-4fe0b11195b7cd71f39253c44db2c9dddf6b82d4.tar.gz
-- Applying patch fix-warning4189.patch
-- Using source at D:/vcpkg_x64/vs2019/prod/buildtrees/fmt/src/dddf6b82d4-f2c5fef865
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Installing: D:/vcpkg_x64/vs2019/prod/packages/fmt_x64-windows/share/fmt/copyright
-- Using msys root at D:/vcpkg_x64/vs2019/prod/downloads/tools/msys2/17e91aa90d284835
-- Fixing pkgconfig file: D:/vcpkg_x64/vs2019/prod/packages/fmt_x64-windows/lib/pkgconfig/fmt.pc
-- Fixing pkgconfig file: D:/vcpkg_x64/vs2019/prod/packages/fmt_x64-windows/debug/lib/pkgconfig/fmt.pc
-- Installing: D:/vcpkg_x64/vs2019/prod/packages/fmt_x64-windows/share/fmt/usage
-- Performing post-build validation
-- Performing post-build validation done
Building package fmt[core]:x64-windows... done
Installing package fmt[core]:x64-windows...
Installing package fmt[core]:x64-windows... done
Elapsed time for package fmt:x64-windows: 5.134 s
Starting package 3/3: spdlog:x64-windows
Building package spdlog[benchmark,core]:x64-windows...
-- Using cached D:/vcpkg_x64/vs2019/prod/downloads/gabime-spdlog-4a9ccf7e38e257feecce0c579a782741254eaeef.tar.gz
-- Extracting source D:/vcpkg_x64/vs2019/prod/downloads/gabime-spdlog-4a9ccf7e38e257feecce0c579a782741254eaeef.tar.gz
-- Using source at D:/vcpkg_x64/vs2019/prod/buildtrees/spdlog/src/41254eaeef-2548ad24d3
-- Configuring x64-windows
-- Building x64-windows-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:142 (message):
    Command failed: "C:/Program Files/CMake/bin/cmake.exe" --build . --config Debug --target install -- -v -j8
    Working Directory: D:/vcpkg_x64/vs2019/prod/buildtrees/spdlog/x64-windows-dbg
    See logs for more information:
      D:\vcpkg_x64\vs2019\prod\buildtrees\spdlog\install-x64-windows-dbg-out.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_build_cmake.cmake:93 (vcpkg_execute_build_process)
  scripts/cmake/vcpkg_install_cmake.cmake:24 (vcpkg_build_cmake)
  ports/spdlog/portfile.cmake:22 (vcpkg_install_cmake)
  scripts/ports.cmake:79 (include)

Error: Building package spdlog:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with .\vcpkg update, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
  Package: spdlog:x64-windows
  Vcpkg version: 2020.06.15-nohash

Additionally, attach any relevant sections from the log files above.

Additional Notes:

port spdlog will install without feature benchmark, but not desirable(1)
port shiva depends on port spdlog, although does not require port spdlog to have feature benchmark installed, but not desirable(1)

(1) not desirable as downstream projects depend on port spdlog with feature benchmark installed using port shiva.

I checked the azure pipeline build tests (https://dev.azure.com/vcpkg/c1ee48cb-0df2-4ab3-8384-b1df5a79fe53/_apis/build/builds/44563/logs/92) for PR upgrading port fmt #14239 and it shows spdlog was tested but without feature benchmark.

Are we STILL having issues building spdlog from source?

Another Note: I can revert port format to version 7.0.3 and port stblog[benchmark] builds fine.
SYSTEM@ANDROMEDA 10/27/2020 16:12:43 D:\vcpkg_x64\vs2019\test
->git diff ports/fmt/portfile.cmake
diff --git a/ports/fmt/portfile.cmake b/ports/fmt/portfile.cmake
index 94dfd3f04..5de78ec98 100644
--- a/ports/fmt/portfile.cmake
+++ b/ports/fmt/portfile.cmake
@@ -1,8 +1,8 @@
 vcpkg_from_github(
     OUT_SOURCE_PATH SOURCE_PATH
     REPO fmtlib/fmt
-    REF 4fe0b11195b7cd71f39253c44db2c9dddf6b82d4#version 7.1.0
-    SHA512 1cb2eac5abcec0a002c505a3de04284f89a6b31923edb6868cf9e9ac2803c3985ab62e2bff55da49a30def8476bfed205cf6a5b40a03a1d3df1292feb5352e86
+    REF cd4af11efc9c622896a3e4cb599fa28668ca3d05#version 7.0.3
+    SHA512 24b42288be97849533dc82282fc08833d74642ad2afeb511e65c6389d88c709cf25345dec5b550c18af3705f4c0847fa0d4066308b51cd41ccfdda1a2c3babd0
     HEAD_REF master
     PATCHES fix-warning4189.patch
 )
SYSTEM@ANDROMEDA 10/27/2020 16:08:19 D:\vcpkg_x64\vs2019\test
->vcpkg install fmt benchmark spdlog[benchmark] --editable
Computing installation plan...
The following packages will be built and installed:
    benchmark[core]:x64-windows
    fmt[core]:x64-windows
    spdlog[benchmark,core]:x64-windows
Starting package 1/3: benchmark:x64-windows
Building package benchmark[core]:x64-windows...
-- Note: benchmark only supports static library linkage. Building static library.
-- Using cached D:/vcpkg_x64/vs2019/test/downloads/google-benchmark-73d4d5e8d6d449fc8663765a42aa8aeeee844489.tar.gz
-- Extracting source D:/vcpkg_x64/vs2019/test/downloads/google-benchmark-73d4d5e8d6d449fc8663765a42aa8aeeee844489.tar.gz
-- Using source at D:/vcpkg_x64/vs2019/test/buildtrees/benchmark/src/eeee844489-75b6880063
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Using msys root at D:/vcpkg_x64/vs2019/test/downloads/tools/msys2/17e91aa90d284835
-- Fixing pkgconfig file: D:/vcpkg_x64/vs2019/test/packages/benchmark_x64-windows/lib/pkgconfig/benchmark.pc
-- Fixing pkgconfig file: D:/vcpkg_x64/vs2019/test/packages/benchmark_x64-windows/debug/lib/pkgconfig/benchmark.pc
-- Installing: D:/vcpkg_x64/vs2019/test/packages/benchmark_x64-windows/share/benchmark/copyright
-- Performing post-build validation
-- Performing post-build validation done
Building package benchmark[core]:x64-windows... done
Installing package benchmark[core]:x64-windows...
Installing package benchmark[core]:x64-windows... done
Elapsed time for package benchmark:x64-windows: 8.91 s
Starting package 2/3: fmt:x64-windows
Building package fmt[core]:x64-windows...
-- Using cached D:/vcpkg_x64/vs2019/test/downloads/fmtlib-fmt-cd4af11efc9c622896a3e4cb599fa28668ca3d05.tar.gz
-- Extracting source D:/vcpkg_x64/vs2019/test/downloads/fmtlib-fmt-cd4af11efc9c622896a3e4cb599fa28668ca3d05.tar.gz
-- Applying patch fix-warning4189.patch
-- Using source at D:/vcpkg_x64/vs2019/test/buildtrees/fmt/src/8668ca3d05-7f40cec0ee
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Installing: D:/vcpkg_x64/vs2019/test/packages/fmt_x64-windows/share/fmt/copyright
-- Using msys root at D:/vcpkg_x64/vs2019/test/downloads/tools/msys2/17e91aa90d284835
-- Fixing pkgconfig file: D:/vcpkg_x64/vs2019/test/packages/fmt_x64-windows/lib/pkgconfig/fmt.pc
-- Fixing pkgconfig file: D:/vcpkg_x64/vs2019/test/packages/fmt_x64-windows/debug/lib/pkgconfig/fmt.pc
-- Installing: D:/vcpkg_x64/vs2019/test/packages/fmt_x64-windows/share/fmt/usage
-- Performing post-build validation
-- Performing post-build validation done
Building package fmt[core]:x64-windows... done
Installing package fmt[core]:x64-windows...
Installing package fmt[core]:x64-windows... done
Elapsed time for package fmt:x64-windows: 4.889 s
Starting package 3/3: spdlog:x64-windows
Building package spdlog[benchmark,core]:x64-windows...
-- Using cached D:/vcpkg_x64/vs2019/test/downloads/gabime-spdlog-4a9ccf7e38e257feecce0c579a782741254eaeef.tar.gz
-- Extracting source D:/vcpkg_x64/vs2019/test/downloads/gabime-spdlog-4a9ccf7e38e257feecce0c579a782741254eaeef.tar.gz
-- Using source at D:/vcpkg_x64/vs2019/test/buildtrees/spdlog/src/41254eaeef-2548ad24d3
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Installing: D:/vcpkg_x64/vs2019/test/packages/spdlog_x64-windows/share/spdlog/copyright
-- Performing post-build validation
-- Performing post-build validation done
Building package spdlog[benchmark,core]:x64-windows... done
Installing package spdlog[benchmark,core]:x64-windows...
Installing package spdlog[benchmark,core]:x64-windows... done
Elapsed time for package spdlog:x64-windows: 6.809 s

Total elapsed time: 20.76 s

The package benchmark:x64-windows provides CMake targets:

    find_package(benchmark CONFIG REQUIRED)
    target_link_libraries(main PRIVATE benchmark::benchmark benchmark::benchmark_main)

The package fmt provides CMake targets:

    find_package(fmt CONFIG REQUIRED)
    target_link_libraries(main PRIVATE fmt::fmt)

    # Or use the header-only version
    target_link_libraries(main PRIVATE fmt::fmt-header-only)

The package spdlog:x64-windows provides CMake targets:

    find_package(spdlog CONFIG REQUIRED)
    target_link_libraries(main PRIVATE spdlog::spdlog spdlog::spdlog_header_only)

Thank you @LilyWangL @BillyONeal
Have a wonderful day!!!


application,cli: made cli logging output adjustable;

Making a cli application with gosoline didn't seem as straight forward as it was with for consumer/subscriber/api based applications.
This is a first step which makes the logger output "file" configurable (which defaults to stdout if not overwritten).
Overwriting is highly recommended for cli applications, as it might otherwise bloat the output.

@selm0 @ajscholl can you please re-review and tell me if there are further changes requested?
I would like to merge this asap and also already have the next change set on top of this to add the ability to send logs to remote receivers.
However i would add this new change set in a separate merge request

@selm0 @ajscholl mind a re-review?

i agree, that it should be possible to write logs to a file.. especially for cli applications.
but i really don't like file output on the logger settings. we should try to go into a appender (log4j) / handler (monolog) direction.
meaning registering different appenders/handlers into the logger and then selecting the appropriate one via config.

I would agree with @j4k4 here that the logger settings get really focused on logging to a file. Do we need them to be that way? If you just want to have all log output go to a file, just redirect stdout to the file when invoking your app, right? If you later want to have warnings and errors in stdout or err and all logs in a file (think running some batch application) your single file is no longer enough and you need to refactor it completely again to have multiple outputs/appenders/handlers, however you want to call them.

I would agree with @j4k4 here that the logger settings get really focused on logging to a file. Do we need them to be that way? If you just want to have all log output go to a file, just redirect stdout to the file when invoking your app, right? If you later want to have warnings and errors in stdout or err and all logs in a file (think running some batch application) your single file is no longer enough and you need to refactor it completely again to have multiple outputs/appenders/handlers, however you want to call them.

That doesn't work for me. I am writing an app that is called by a 3rdparty and has to integrate into an interface that is not in my control. That being said: I need stdout and stderr to stay clean and have anything else written to it then what i suppose to be written there.
I know that this sounds very special, but in the end the solution is as simple as logging to a file and ensuring that no other component of gosoline accidentally writes to stdout and stderr.
I don't really see the issue of calling it a "file" here, because that's what it is in unix terminology, however i see the advantage of having the logger better configurable.

let me know, when you're ready for another review

i have produced a first working draft, definitely in for comments now. Maybe @selm0 and me can have a look first before presenting it to you.

i just pushed a cleanup commit to make the unit tests and go vet happy.
This did also imply the removal of two options WithFormat and WithTimestampFormat, however maybe we can bring them back somehow for the handlers one day?

@j4k4 can you give me a hint how to make the default value issue with the logger cleaner? i would like to have the "stdout" logger handler by default in mon.logger.handler[stdout/default] for existing applications. Or is this a case we have to live with and should set it in each application? I could also not use the post processors because they run later and if a moved them to a spot before the logger options are loaded then they would crash when parsing the tags. Using the example api application for testing btw.

ready for review @j4k4, but i'm not very happy what's going on in application/options.go. Hoping you have a good suggestion here.

As this is implemented (slightly different) already, i closed this PR


Controller Right and Left stick might not have the expected output

The controller sticks might not give the expected output because some directions might be swapped.
TODO test controller sticks

Due to removal of controller support this issue is not relevant anymore


chore: updates dependencies

Type: Chore
The following has been addressed in the PR:

Updates dependencies in package json.

Codecov Report

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

@@          Coverage Diff           @@
##           master     #34   +/-   ##
======================================
  Coverage    87.5%   87.5%
======================================
  Files           3       3
  Lines         112     112
  Branches       31      31
======================================
  Hits           98      98
  Misses         13      13
  Partials        1       1

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 36ef763...05d3de7. Read the comment docs.


Improve CLI, fix bugs

Deprecate ProjectConverter.Convert as too generic
Make specialized ProjectConverter methods public
Preserve old input projects selection logic in Console project
Rewrite projects selection logic from scratch for modern CLI tool
Add globbing as a fallback to modern CLI tool
Reduce default log verbosity (mark common messages as Debug instead of Informational)
Add Trace level logging to modern CLI tool
Make evaluate command use only W00x and W01x analyzer diagnostic sets
Print unsupported solution projects in evaluate command
Add --force-transformations CLI option
Make ConditionEvaluator much safer against unknown conditionals
Revert <SolutionDir /> removal from PropertySimplificationTransformation (it is not the default in CPS, used when running MSBuild on single project instead of solution). Refer to #165.
Fix NuGet name case in log messages
Use FileInfo as argument in SolutionReader
Fix missing <GenerateAssemblyInfo>false</GenerateAssemblyInfo> after #177.
Save our private field naming convention for JetBrains products

Good attempt at creating normal changelog

Regarding "force" feature. Imagine user has converted their projects back in 1.4.0. Now is a good time to apply something new, e.g. PropertySimplification and PropertyDeduplication. With force switch user can override check and enforce execution even on already converted projects. Is it not a good reason to have a new feature, even if it is not a commonly used one?

Force is a useful feature for my use but only if it works via the nuget
package
On Sat, 1 Sep 2018, 18:36 Andrew Boyarshin<EMAIL_ADDRESS>wrote:

Regarding "force" feature. Imagine user has converted their projects back
in 1.4.0. Now is a good time to apply something new, e.g.
PropertySimplification and PropertyDeduplication. With force switch user
can override check and enforce execution even on already converted
projects. Is it not a good reason to have a new feature, even if it is not
a commonly used one?
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/hvanbakel/CsprojToVs2017/pull/188#issuecomment-417875403,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADAiy0S0JUb4qs6AinZ8wFpOYxUt-ylKks5uWsWWgaJpZM4WU-qW
.

First of all, I really appreciate all the hard work you put in to this but I think we have a different view of what the tool should and should not try to do.
The problem we're trying to solve is the lack of a migration path for msbuild files between the old and new schema, essentially handling the breaking change that Microsoft made in MSBuild. This tool is supposed to help users do that, by automating as much of the process as it possibly can as well as pointing them to future optimizations where possible (analyzers are a great addition). But, as soon as conversion happened successfully they're on their way and they can make the small incremental changes they've been doing in the old setup too.
Therefor, I seriously doubt if there is anyone that will run this tool multiple times, because:

At that point the diff between old project file and new project file is (probably) so small that you could've done it by hand.
Rerunning means that the user 'knows' that there is a reason to rerun which implies that you could just as well do it by hand.
The 'need' to run isn't there anymore, I doubt anyone will just run a random tool and trust it to make sensible upgrades. The initial problem is solved, they're on the new build definition now.
This is where my comments are coming from, I think we're over complicating the tool for an edge case. The force feature just made that obvious to me.
I would've loved to have statistics on this but I don't have those but from looking at the traffic to this github repo and where it is coming from does confirm this theory. As my single point of reference, I've run this tool on a vast number of projects and never specified a single argument other than a path.

I think that the best tools out there are the tools that solve a single problem and solve it well. More importantly they know what not to solve. I started this project because I believed/knew there was an issue and some people at Microsoft had said that while they knew it existed and it was on their backlog, it wasn't a priority for them.
Looking at the open issues we have, those are all incremental upgrades that work well for the 'one time use' scenario. If you ran a previous version of the tool that did 90% of what the current tool does, too bad, but apparently it was sufficient for you otherwise you would've thrown away the result and did it by hand.

Interesting points yeah. I do agree with that being the focus of the tool and making sure that improvements are focused on that 90%  case.
Maybe that's why I favoured the eager mode that would do a more opinionated first time conversion. Like you say, if it breaks anything, then I can manually fix it anyway, the new format makes that much easier. I like our project files to be as slimline as possible so that those in my team feel that they understand every line that's in it and feel confident working with it when needed.
I think I would use a force mode on my already converted projects if it just worked without me needing to do anything else. But I've only converted about 50% so far so maybe I'll never get around to it. It certainly isn't high priority for me to do.
Is one consideration how much time we actually have to review changes that are for a 1% case. I'm finding myself now reviewing things just to make sure that I don't lose a feature that I depend on

I will address PR feedback in ~8 hours.

@hvanbakel @mungojam reverted Convert obsoletion and feature set change. Is it good to go?

I'll setup publishing for the package later today.


Snippet Activation Keyword

Whenever I am not developing using stripe it's annoying to have all the snippets popup blocking the IntelliSense for regular code. It would be nice to have something like "stripe." and have it only come up after the "stripe." is typed.

Thanks for the suggestion, Geico! We have been getting feedback that the snippets are too eager to show and I think this is a good compromise. We will take a look at updating out snippet configuration file


Redundant settings for LinkEdit scanner exclude config

These settings are already managed in defaultzAppBuildConf.properties. We can delete them.
https://github.com/IBM/dbb-zappbuild/blob/a719842f8b9738133e375eaade8497289c30fc05/build-conf/Cobol.properties#L65-L73

Delivered via zAppBuild Release 3.9.0


Parse AbsoluteUri further

@reem I think this is ideally best done with URL library, and AbsoluteURI being a subsection of a well defined Url structure.  However, that's not possible with the WhatWG URL standard's take on things.
@SimonSapin @annevk here is another example of URL parsing issue I called "hierarchy" issue.  AbsoluteURI contains (path,query,fragment) but WhatWG relative scheme parses path as part of SchemeData, so it can't be used, and another parser (duplicate code) is therefore required for parsing this part of a URL (... servers get no love from that standard).
Hyper defines an AbsoluteUri quite separate and non-interacting with Url.  I think it could be better if the URL standard didn't include Path in the RelativeSchemeData chunk, but left it separate as RFC 3986 treats Authority (3.2) and Path (3.3) separately without grouping them, and then group (path,query,fragment) together instead as a RelativeURI, or have another way to parse these because servers deal in this type of thing.
Maybe there are good reasons not to, but this is my point and I just wanted to get it out there and have it be understood.

If your comment is misplaced, you can remove it, no?

The Url type is a sufficient type to represent this variant.


Remove Edit button from group/label section, add General page to settings with group/info edit option

Drop the Edit button from the header of the Linode. Add a first tab of the Settings page called General (Basic?) that includes the ability to edit group and labels and has alerts as a section below it.

Feel free to ignore subtab and header changes.

Update based on new discussion (request to make alerts its own tab) and header look:

Closed by #475 and more specific issue, #480.


can't run this on Heroku

Hi there,
First thing first, I tested rapns on my local machine, all good. The things is I'm new to RoR (I'm an iOS dev) and I'm hosting the server-side code on Heroku.
Issue: I wanted to run following on Heroku
bundle exec rapns
I understand this step is to kick start a background daemon which check the database for new notification to deliver periodically. I used following command:
heroku run bundle exec rapns production --foreground
which gave me:
Running bundle exec rapns production --foreground attached to terminal... up, run.3
[WARNING] Detected Rails 3.1.1, patching PostgreSQLAdapter to fix reconnection bug: https://github.com/rails/rails/issues/3160
/app/.bundle/gems/ruby/1.9.1/gems/rapns-1.0.1/lib/rapns/daemon.rb:95:in initialize': No such file or directory - /app/tmp/pids/rapns.pid (Errno::ENOENT) 	from /app/.bundle/gems/ruby/1.9.1/gems/rapns-1.0.1/lib/rapns/daemon.rb:95:in open'
from /app/.bundle/gems/ruby/1.9.1/gems/rapns-1.0.1/lib/rapns/daemon.rb:95:in write_pid_file' 	from /app/.bundle/gems/ruby/1.9.1/gems/rapns-1.0.1/lib/rapns/daemon.rb:43:in start'
from /app/.bundle/gems/ruby/1.9.1/gems/rapns-1.0.1/bin/rapns:28:in <top (required)>' 	from /app/.bundle/gems/ruby/1.9.1/bin/rapns:19:in load'
from /app/.bundle/gems/ruby/1.9.1/bin/rapns:19:in `'
So it's something about .pid file. I read the readme, it's set to blank in rapns.yml. I couldn't go further, please help me.
My email is<EMAIL_ADDRESS>Thank you very much!!!

You say pid_file is blank on your rapns.yml. Can you please confirm this, from the error given I can see it is still set to 'tmp/pids/rapns.pid'.

Yes, I didn't change anything in the rapns.yml file, here's what's in the file:
development:
certificate: development.pem
certificate_password:
push:
host: gateway.sandbox.push.apple.com
port: 2195
poll: 2
connections: 3
feedback:
host: feedback.sandbox.push.apple.com
port: 2196
poll: 60
production:
certificate: production.pem
certificate_password:
airbrake_notify: true
pid_file: tmp/pids/rapns.pid
push:
host: gateway.push.apple.com
port: 2195
poll: 2
connections: 3
feedback:
host: feedback.push.apple.com
port: 2196
poll: 60

This will execute fine on Heroku -- been running fine for months. You need to remove the pid_file: configuration from your YAML

I'd like to improve the experience of using rapns on Heroku. I've never used it myself so I'm not sure what may help.

Does Heroku not allow filesystem writes at all? Or is there a writeable directory somewhere?
Is it even possible to use the PID (with God, monit, etc.) file if we were able to write it?
Is there a way for rapns to detect if it is being run in Heroku?

Ian -
The best thing for you to do is just to create a Heroku app under the Cedar
stack and execute it yourself (it's free). In my experience, all you need
to do to get a first class Heroku experience is to remove the pid_file line
from the config file and run it from the Procfile like so:
rapns: bundle exec rapns $RACK_ENV -f
The log output will be picked up from stout and aggregated and RACK_ENV
will be configured as appropriate for the running instance. In face, we
should probably just start with a wiki page instructing folks to take those
very steps.

Blake

On Thu, Dec 22, 2011 at 10:41 AM, Ian Leitch <
<EMAIL_ADDRESS>
wrote:

I'd like to improve the experience of using rapns on Heroku. I've never
used it myself so I'm not sure what may help.

Does Heroku not allow filesystem writes at all? Or is there a writeable
directory somewhere?
Is it even possible to use the PID (with God, monit, etc.) file if we
were able to write it?
Is there a way for rapns to detect if it is being run in Heroku?

Reply to this email directly or view it on GitHub:
https://github.com/ileitch/rapns/issues/22#issuecomment-3250367


heapster:v0.18.1 not compatible with Influx 0.9x and Grafana 2.x

Someone recently pushed an update with kubernetes/heapster_grafana:v2.1.0 and kubernetes/heapster_influxdb:v0.5 which is causing problems on Kubernetes clusters.
Basically the heapster container can no longer create the database because 0.9x has a significantly different API. Using kubernetes/heapster_influxdb:v0.4 fixes the issue but causes errors with default Grafana dashboards.
Dashboard init failed
Template variables could not be initialized: InfluxDB Error: syntax error, unexpected SIMPLE_NAME SHOW TAG VALUES FROM "uptime_ms_cumulative" WITH KEY = "hostname"	^^^^
Heapster Error:
I1002 06:22:24.025855       1 heapster.go:55] /heapster --source=kubernetes:https://<IP_ADDRESS> --sink=influxdb:http://<IP_ADDRESS>:8086
I1002 06:22:24.025922       1 heapster.go:56] Heapster version 0.18.1
I1002 06:22:24.026283       1 kube_factory.go:169] Using Kubernetes client with master "https://<IP_ADDRESS>" and version "v1"
I1002 06:22:24.026293       1 kube_factory.go:170] Using kubelet port 10255
E1002 06:22:24.029215       1 driver.go:326] Database creation failed: Server returned (404): 404 page not found
. Retrying after 30 seconds
E1002 06:22:54.030607       1 driver.go:326] Database creation failed: Server returned (404): 404 page not found
. Retrying after 30 seconds
E1002 06:23:24.031977       1 driver.go:326] Database creation failed: Server returned (404): 404 page not found
. Retrying after 30 seconds

We recommend to use the heapster configs bundled with specific kubernetes releases. We would ideally like heapster HEAD to support all kubernetes releases, but with the current velocity of changes, that is proving to be difficult.
If you can provide me your kube and heapster versions along with pointers to deployment files you are using for heapster, I can suggest modifications.

Hi Vishh,
I had been using heapster from the kubernetes releases, i think around release 1.05 it broke. I'm reasonably sure it's the same issues.
I've been using a relatively straight forward AWS build from the included /cluster/aws scripts.
Currently on Release 1.0.6, grafana 2.1 starts but never configures a data source.

@lachlanbull I can also confirm the same. Works on v1.0.4 but not after.

@lachlanbull: I have tried setting up an influxdb data source in proxy mode with http://localhost:8086 as the URL. Is that what you tried setting up?
The title of this issue says that v0.18.1 is not compatible with InfluxDB v0.9. I believe this issue is because the deployment scripts on HEAD are tied to past releases. I'm working on nightly builds that should resolve this issue.

Hi Vish,
Appreciate you checking, Yes so i manually specified the service address endpoint but it's same behaviour as using localhost in a single node setup.
Later today i'll try manually building the docker images to see if i can get it working.

I'm updating the scripts on HEAD to use a canary tagged image that will include support for InfluxDB v0.9.
Grafana will no longer be accessible using apiserver proxy. The default service file sets up a LoadBalancer. If that doesn't work for you, I will be happy to help.
My interpretation of this issue is essentially HEAD configs being incompatible with each other.

"Grafana will no longer be accessible using apiserver proxy" - Yeah fair enough, I've been advertising the routes for service range from VPC so i can reach them easily enough without the ELB.
I'll let you know how it goes.

I've just loaded cluster/addons/cluster-monitoring/influxdb. When I go to: :8080/api/v1/proxy/namespaces/kube-system/services/monitoring-grafana/datasources Grafana loads but I get the
InfluxDB` Error: <br/>404 page not found error.
I read what you said about LoadBalancers - I just set a nodePort on my grafana-service.yaml but when I go to :nodePort Grafana doesn't even load because all the HTML is referencing /api/v1/proxy/namespaces/kube-system/services/monitoring-grafana/css/.
Did I miss something here?

InfluxDB v0.9 is supported from v0.19+
On Thu, Feb 25, 2016 at 4:05 PM, Andrew Smith<EMAIL_ADDRESS>wrote:

I've just loaded cluster/addons/cluster-monitoring/influxdb. When I go
to:
:8080/api/v1/proxy/namespaces/kube-system/services/monitoring-grafana/datasources
Grafana loads but I get the
InfluxDB` Error: 404 page not found error.
I read what you said about LoadBalancers - I just set a nodePort on my
grafana-service.yaml but when I go to :nodePort Grafana doesn't even load
because all the HTML is referencing
/api/v1/proxy/namespaces/kube-system/services/monitoring-grafana/css/.
Did I miss something here?
—
Reply to this email directly or view it on GitHub
https://github.com/kubernetes/heapster/issues/625#issuecomment-189045696
.

So is the problem that the yml files define heapster v0.20 and influxdb 0.5?

That configuration is expected to work
On Fri, Feb 26, 2016 at 1:31 AM, Andrew Smith<EMAIL_ADDRESS>wrote:

So is the problem that the yml files define heapster v0.20
https://github.com/kubernetes/kubernetes/blob/master/cluster/addons/cluster-monitoring/influxdb/heapster-controller.yaml#L29
and influxdb 0.5
https://github.com/kubernetes/kubernetes/blob/master/cluster/addons/cluster-monitoring/influxdb/influxdb-grafana-controller.yaml#L23
?
—
Reply to this email directly or view it on GitHub
https://github.com/kubernetes/heapster/issues/625#issuecomment-189188468
.

With that configuration I get the 404 error above.
Fairly sure I'm on the right images:
$ kubectl --namespace=kube-system get rc | grep -e heap -e minto
heapster-v14                     heapster                      gcr.io/google_containers/heapster:v0.20.0-alpha7             k8s-app=heapster,version=v14                     1          19h
                                 eventer                       gcr.io/google_containers/heapster:v0.20.0-alpha7
monitoring-influxdb-grafana-v3   influxdb                      gcr.io/google_containers/heapster_influxdb:v0.5              k8s-app=influxGrafana,version=v3                 1         19h
                                 grafana                       gcr.io/google_containers/heapster_grafana:v2.1.1

Have you updated the grafana configs to work with NodePorts or
LoadBalancer? Look in the configs, there will be comments on how to make it
work outside of the proxy.
On Fri, Feb 26, 2016 at 11:30 AM, Andrew Smith<EMAIL_ADDRESS>wrote:

With that configuration I get the 404 error above.
Fairly sure I'm on the right images:
$ kubectl --namespace=kube-system get rc | grep -e heap -e minto
heapster-v14                     heapster                      gcr.io/google_containers/heapster:v0.20.0-alpha7             k8s-app=heapster,version=v14                     1          19h
eventer                       gcr.io/google_containers/heapster:v0.20.0-alpha7
monitoring-influxdb-grafana-v3   influxdb                      gcr.io/google_containers/heapster_influxdb:v0.5              k8s-app=influxGrafana,version=v3                 1         19h
grafana                       gcr.io/google_containers/heapster_grafana:v2.1.1
—
Reply to this email directly or view it on GitHub
https://github.com/kubernetes/heapster/issues/625#issuecomment-189444716
.


Link on GUI installation is incorrect on getting-started-guides/scratch

This link is 404 now: https://github.com/kubernetes/kubernetes.github.io/blame/master/docs/getting-started-guides/scratch.md#L809 (http://releases.k8s.io/release-1.2/cluster/addons/kube-ui/)
Looks like kube-ui was deprecated and removed from the repository. What should be used instead? Dashboard?

I'm not sure, honestly :( Marking for tech review.

Dashboard is the new Kube-ui.  Sorry for the lack of communication.


Fixed bug in maven global settings type

Fixed code to behave as documented in the documentation.

Thank you for contributing to openstack-infra/jenkins-job-builder!
openstack-infra/jenkins-job-builder uses Gerrit for code review.
If you have never contributed to OpenStack before make sure you have read the
getting started documentation:
http://docs.openstack.org/infra/manual/developers.html#getting-started
Otherwise please visit
http://docs.openstack.org/infra/manual/developers.html#development-workflow
and follow the instructions there to upload your change to Gerrit.


[WIP] implement encoder f0 condition

Condition cF0 and uv to encoder auxiliary feature.

comparison

[x] encoder F0
[ ] decoder F0
[x] encoder and decoder F0

It looks no big gap.


Testing issue

Problem description
How to pass a custom theme into createStyleSheet (for testing)?
export const styleSheet = createStyleSheet('SideNavigation', theme => ({
  root: {
    width: theme.constants.components.sideNavigation.width,
  },
}));

I added some constants into my my theme. Right now createStyleSheet has access to the default MUI theme, but how would I go about passing my modified theme in for testing? Alternatively I could always have these constants in a separate file, but it would be nice to have them passed along with the theme.
Best regards,
Joona Rahko

You are going to need the MuiThemeProvider wrapper component. You can find many examples of it in the docs.
Otherwise, if you don't want an extra wrapping component, you can have a look at our own tests. But that's quite an implementation detail, I would rather not depend on it and keep with option 1.


AnimationControllers not disposed.

The following assertion was thrown while notifying status listeners for AnimationController:
'package:flutter/src/widgets/framework.dart': Failed assertion: line 4397 pos 12: '_lifecycleState != _ElementLifecycle.defunct': is not true.
Started getting this exception in my logs after this plugin was implemented. What I understood from the error and searching the solutions online, is that the animation controllers used for the flickering widgets are not disposed off and hence this exception is thrown.
It doesn't crash the app or anything but a fix would be better.

Hi, Can you please share the screenshot of your logs? and also please provide the list of the widgets, you used from the package.
Thanks.

Hi, I have used the oFlickerNeonPoint widget from the package. I thing the Flicker widgets must be having the issue given the animation.
Attaching screenshot of the error log.

Thanks.

Fixed


Performance in the presence of gauge detectors?

Check if the performance of bp_osd is affected when there are gauge detectors in the circuit (especially for BP_OSD).
If the performance decreases, one should remove them or warn the user.
Preferably the second option because if one removes the gauge detectors, then the number of error mechanisms changes, so decode_to_faults_array will not work correctly.

The current function util.remove_gauge_detectors only works for DEMs.
I believe a useful functionality would be to remove the gauge detectors from a stim.Circuit.
This can be achieved by (1) getting the stim.DetectorErrorModel, (2) search for the detectors that are gauge detectors, (3) remove these detectors from the circuit.

DISTANCE = 3

layout = rot_surf_code(DISTANCE)
qubit_inds = {q: layout.get_inds([q])[0] for q in layout.get_qubits()}

setup = Setup.from_yaml("config/circ_level_noise.yaml")
setup.set_var_param("prob", 1e-4)
setup.set_var_param("add_assign_error", True)

model = CircuitNoiseModel(setup, qubit_inds=qubit_inds)

circuit = memory_experiment(
    model=model,
    layout=layout,
    num_rounds=DISTANCE,
    data_init=[0,]*DISTANCE,
    meas_reset=True,
    rot_basis=False,
)

# 20 million samples

For DISTANCE = 7 and BP_OSD, I get logical error probability of 0 (no errors

For the distance 5 with p=1e-4 and num_shots=1e6, we get:

Note: for max_iter=0, the runtime was too long to run in this type of benchmark.

We see that a little bit of order improve the performance a lot (e.g. factor of 10x). The order method is CS (because it is know that it is better).

To study these more automatically, I use:
# INPUTS
max_iters = [0, 1, 10, 100, 1_000]
osd_orders = [0, 1, 2, 4, 8, 16, 32]
max_time_scan = 3 * 3600 #s
data = [detectors_no_gauge, log_flips_no_gauge]
DECODER = lambda max_iter, osd_order: BP_OSD(dem_no_gauge, max_iter=max_iter, osd_order=osd_order, osd_method="OSD_CS")
max_n_fails = np.inf

OUTPUT_NAME = f"output/BPOSD_d{DISTANCE}_p{PROB}_nogaugedets_maxtime{max_time_scan}_maxfails{max_n_fails}".replace(".", "-") + ".npy"

# RUNNING SCAN
t_init_estimation = time.time()
num_points = len(max_iters) * len(osd_orders)
output = {}

for max_iter in max_iters:
    for osd_order in osd_orders:
        print(f"{max_iter=} {osd_order=}")
        t_init_point = time.time()
        decoder = DECODER(max_iter, osd_order)

        # compute available time
        elapsed_time = t_init_point - t_init_estimation
        remaining_points = num_points - len(output)
        max_duration = (max_time_scan - elapsed_time) / remaining_points

        # sample data
        runtime_decoder, n_total, n_fail = [], 0, 0
        while (time.time() - t_init_point) < max_duration and n_fail < max_n_fails and n_total < len(data[0]):
            detector_vec, log_flip = data[0][n_total], data[1][n_total]

            t0 = time.time()
            prediction = decoder.decode(detector_vec)
            runtime = time.time() - t0

            n_total += 1
            n_fail += (prediction != log_flip).any()
            runtime_decoder.append(runtime)

            print(f"\r    p={n_fail/n_total:0.9f} t={np.average(runtime_decoder):0.6f}s n_fail={n_fail} n_total={n_total}", end="")
        print("")

        # store data
        output[(max_iter, osd_order)] = [n_fail, n_total, runtime_decoder]

np.save(OUTPUT_NAME, output)
print(f"\nTOTAL SCAN TIME: {time.time() - t_init_estimation:0f}s")


Add cached_staticproperty

Resolves #1

The following test failed

def test__cached_classproperty__super():
    class Superclass:
        @cached_classproperty
        def my_cached_classproperty(cls):
            return ("Superclass",)
        @classmethod
        def my_classmethod(cls):
            return ("Superclass",)

    class Subclass1(Superclass):
        @cached_classproperty
        def my_cached_classproperty(cls):
            return (
                *super().my_cached_classproperty,
                "Subclass1",
            )
        @classmethod
        def my_classmethod(cls):
            return (
                *super().my_classmethod(),
                "Subclass1",
            )

    class Subclass2(Superclass):
        @cached_classproperty
        def my_cached_classproperty(cls):
            return (
                *super().my_cached_classproperty,
                "Subclass2",
            )
        @classmethod
        def my_classmethod(cls):
            return (
                *super().my_classmethod(),
                "Subclass2",
            )

    class Finalclass(Subclass1, Subclass2):
        @cached_classproperty
        def my_cached_classproperty(cls):
            return (
                *super().my_cached_classproperty,
                "Finalclass",
            )
        @classmethod
        def my_classmethod(cls):
            return (
                *super().my_classmethod(),
                "Finalclass",
            )

    assert Superclass.my_cached_classproperty == Superclass.my_classmethod()
    assert Subclass1.my_cached_classproperty == Subclass1.my_classmethod()
    assert Finalclass.my_cached_classproperty == Finalclass.my_classmethod()
    assert Subclass2.my_cached_classproperty == Subclass2.my_classmethod()

See https://github.com/atry/cached_classproperty/tree/add-cached-staticproperty

@Atry this looks like quite a normal behavior for cached properties, don't you think so?

I think @cached_classproperty should return the same value as @classproperty when the function does not have any side effect.

I am afraid it doesn't make sense as it breaks the "we run this thing once for every instance" rule because here classes are instances and this behavior would allow us to run it multiple times for a single instance if it was inherited.
Also, an implementation would probably be pretty complex. What would you suggest?

I agree the "we run this thing once for every instance" rule. However, in test__cached_classproperty__super, Subclass2.my_cached_classproperty was not executed for when cls is Finalclass.
I think the problem is that the cache keys of Subclass2.my_cached_classproperty and Superclass.my_cached_classproperty are the same.

I wonder if using f"{id(self)}.{attrname}" or f"{id(owner)}.{attrname}" as the cache key would help.

Okay, your logic makes sense. Please, help me research how this specific situation is handled in other languages (Not the implementation but the behavior) and if it is indeed similar -- let's fix it and merge the new logic.

What else you want to research other than the cache key uniqueness?

The fact that cached classproperties will re-execute for each parent class if called from a child class using super or any similar mechanism.

I guess let's think about the implementation, then. I'll try to tackle it this week. If you have time to play with it -- feel free to, I'll do my best to do reviews quickly.

Any progress?

I created https://github.com/Ovsyanka83/cached_classproperty/pull/3 to fix bugs that I reported in this PR


feat(selectionBar): Add a showSelectionBarFromValue

Add a showSelectionBarFromValue to display the selection bar from a specific value.
Demo:  http://jsfiddle.net/L96ensbw/

Current coverage is 97.94%

Merging #250 into master will decrease coverage by -2.06% as of 581cfc6

@@            master    #250   diff @@
======================================
  Files            1       1
  Stmts          613     633    +20
  Branches         0       0
  Methods          0       0
======================================
+ Hit            613     620     +7
  Partial          0       0
- Missed           0      13    +13

Review entire Coverage Diff as of 581cfc6

Powered by Codecov. Updated on successful CI builds.

CC @levipadre


✨ cmd/migrate: an automated tool for migrating to new code

Signed-off-by: Steve Kuznetsov<EMAIL_ADDRESS>

Attempts to implement https://github.com/kcp-dev/kcp/issues/1942

TODO:

[ ] handle comments on deleted nodes
[ ] actually make a run of this do the git commit

/close


CLI Commands: Fix design-time assembly resolution

Resolves #3925
Provider writers beware, this splits DesignTimeProviderServicesAttribute.FullyQualifiedTypeName into TypeName and AssemblyName. (cc @rowanmiller)
This should also fix #3862

:shipit: But maybe talk to @ajcvickers first - he raised #3111 which was to do the opposite and combine TypeName and AssemblyName.

The choices were...

Undo #3111
Parse FullyQualifiedTypeName

I went with the simplest option. :wink: I'll bring it up in triage.

@bricelam Does this mean I should strong sign the SQL CE provider?

@ErikEJ No, it should still be optional.


update README.md

uri is not defined.

Hi, @arbaaz. I honestly don't see what is this PR fixing. Feel free to elaborate.

When I used the same snippet in my code exception occurred('uri is not defined'). When I changed to url it started working.

Now I see it:
var url = 'http://www.google.com';

is defined in the code block from above. Is that it?

Yes. that is it.


gcc: error: unrecognized command line option '--config=opt'

Please go to Stack Overflow for help and support:
https://stackoverflow.com/questions/tagged/tensorflow
If you open a GitHub issue, here is our policy:

It must be a bug, a feature request, or a significant problem with documentation (for small docs fixes please send a PR instead).
The form below must be filled out.
It shouldn't be a TensorBoard issue. Those go here.

Here's why we have that policy: TensorFlow developers respond to issues. We want to focus on work that benefits the whole community, e.g., fixing bugs and adding features. Support only helps individuals. GitHub also notifies thousands of people when issues are filed. We want them to see you communicating an interesting problem, rather than being redirected to Stack Overflow.

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): No
TensorFlow installed from (source or binary): source
TensorFlow version (use command below):
Python version: 2.7
Bazel version (if compiling from source): release 0.9.0- (@non-git)
GCC/Compiler version (if compiling from source): Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/local/stow/gcc-4.9.2/libexec/gcc/x86_64-unknown-linux-gnu/4.9.2/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: /usr/src/nfs/gcc-4.9.2/configure --prefix=/usr/local/stow/gcc-4.9.2
Thread model: posix
gcc version 4.9.2 (GCC)
CUDA/cuDNN version: None
GPU model and memory: x86_64 GNU/Linux
Exact command to reproduce:  bazel build --config=opt //tensorflow/tools/pip_package:build_pip_package

You can collect some of this information using our environment capture script:
https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh
You can obtain the TensorFlow version with
python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
Describe the problem
Describe the problem clearly here. Be sure to convey here why it's a bug in TensorFlow or a feature request.
gcc: error: unrecognized command line option '--config=opt'
Source code / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached. Try to provide a reproducible test case that is the bare minimum necessary to generate the problem.
'''
ERROR: /usa/haoxu/.cache/bazel/_bazel_haoxu/95196ed5087168c723729aeb7fc160d9/external/flatbuffers/BUILD:22:1: C++ compilation of rule '@flatb
uffers//:flatbuffers' failed (Exit 1)
gcc: error: unrecognized command line option '--config=opt'
Target //tensorflow/tools/pip_package:build_pip_package failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 57.329s, Critical Path: 13.22s
FAILED: Build did NOT complete successfully
'''

Finally installed the tensorflow:
#15129
#13413
#7268
https://docs.bazel.build/versions/master/output_directories.html


clickhouse: add support for parsing ARRAY JOIN

https://clickhouse.com/docs/en/sql-reference/statements/select/array-join

This one appears to be stalled. Marking as Draft until we sort out what is needed


fix reconnect issue for nodejs

CHANGES:

remove /lib/nodejs/lib/thrift/connection.js#L233-L236, it cause thrift cannot do reconnect
add forceClose variable for indicating close action caseued by manual, and give up reconnecting

Anybody who could doublecheck this patch?

Anybody who could doublecheck this patch?

We have used this patch in production

Generally looks good to me. Could you kindly rebase on latest master and push again?

@emmenlau rebased on latest master and pushed


Update scheduler-perf-tuning.md

Sync English documentation about Scheduler Performance Tuning

Thanks
/approve
/lgtm


JWT token from user flows are not shown in jwt.ms web page

The article says that by setting https://jwt.ms as the reply URLs and then testing the user flows in the portal the JWT token will be displayed in jwt.ms. This does not work.
Currently on testing the user flows in the portal the redirect URL is https://jwt.ms/?code=XXXXX whereas the web site requires https://jwt.ms/#id_token=XXXX in order to display the token.
Furthermore after changing the URL from ?code to #id_code and refreshing the page the code is displayed in the token section of the page however the token is invalid and is therefore not decoded.
Sample valid links to jwt.ms are included on this page.

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

ID: e64957b2-62c1-a751-5a18-3f30e2926104
Version Independent ID: dae827dc-ff96-a1dd-7320-8f493953a33e
Content: Tutorial - Create user flows - Azure Active Directory B2C
Content Source: articles/active-directory-b2c/tutorial-create-user-flows.md
Service: active-directory
Sub-service: b2c
GitHub Login: @mmacy
Microsoft Alias: marsma

@stuarthallows Thank you for your feedback! We will investigate and update as appropriate.

@stuarthallows This works only with implicit flow. You need to enable implicit flow by setting it to yes under application properties as per below snip:
.
Please let me know if you have any further question or shall we proceed with closure of this thread?

Please close the thread. I had indeed missed the step to set implicit flow.
Thank you very much.

@amanmcse I followed this tutorial here and im facing the same error, but I cant find this "Allow Implicit Flow" switch... can you help?

@Leonardo-Ferreira The interface is changed now, You need to select below checkboxes under the Authentication blade of the application:

@amanmcse thank for your reply! Such checkboxes are not available for the tutorial I linked (native app), only web... any ideas on how to make them available?

@amanmcse,
When I try to mark "Access tokens (used for implicit flows)" or "Id tokens (used for implicit or hybrod flows)" checkbxes and click on "save" button I get CORS exception. Any suggestion why?

Finally I found the reason.
It was because of Chrome extension: Allow CORS: Access-Control-Allow-Origin
When removed the exception stopped occurring


insertRecordsOfOneDevice apiPlan deviceId: root.zoo.device1, times: 2 is not supported;

Plan deviceId: root.zoo.device1, times: 2 is not supported;

@

Hi, can you please share what version did you use?


Add a retries option to allow more resilient operation

This PR proposes to add a retry logic to the SDK, so it will be more "persistent" in front of temporal issues on the server.
This should help to mitigate issue #16
If the idea is welcomed, I would complete the PR adding proper testing.

@jvanderaa @jmcgill298 anything else I should do in this PR?


Pls help my game is broken

Describe your bug here.
it shows this every time i launch the game i dont know why the game just doesnt work pls help
C:\HaxeToolkit\haxe\std/haxe/format/JsonParser.hx (line 318)
C:\HaxeToolkit\haxe\std/haxe/format/JsonParser.hx (line 147)
C:\HaxeToolkit\haxe\std/haxe/format/JsonParser.hx (line 57)
ModsMenuState.hx (line 733)
ModsMenuState.hx (line 329)
flixel/FlxGame.hx (line 637)
flixel/FlxGame.hx (line 724)
flixel/FlxGame.hx (line 677)
flixel/FlxGame.hx (line 545)
openfl/events/EventDispatcher.hx (line 402)
openfl/display/DisplayObject.hx (line 1399)
Uncaught Error: Invalid char 37 at position 0
Please report this error to the GitHub page: https://github.com/ShadowMario/FNF-PsychEngine

Crash Handler written by: sqirra-rng

Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
no

im pretty sure its a pack.json problem
show me the pack.json file

and rename it to .txt cus github doesn't support .json file from the attachment

Could be you have deleted the wrong files. The game can't run properly without the right files.


Added for i [start, end) { ... }

Added [start, end) syntax
Added ForN::start
Updated prime benchmarks
Moved deep_clone to Variable::deep_clone
Check lifetime on call arguments to make sure they outlive the call,
using the call as fake local

Tried for i start..end { ... } but it did not work with number literals.


Wrong editing results

I edited just 4 Pals. but when i loaded the save file ,i founded the abilitys of these Pals also appear incorrectly on some other Pals.
I'm using v0.42。

Update to latest release..

I've tried v0.48 but it still incorrectly sets other not choosen Pals with the same abilities .