Can't make it work properly

Hi, I'm trying to make the app work.
First try I created an OAuth key on Bitbucket and set on my app the OAuth key as the BITBUCKET_PASSWORD.
After I tried setting BITBUCKET_PASSWORD to my bitbucket password which also didn't work.
In both cases I see on my app that "Access to Bitbucket was denied."
Any clues on how to fix this?

Did you set the BITBUCKET_USERNAME?
It has to be your username and I believe it was to be all lowercase as well.
Cheers,
Ches
—
Chesley Brown
chesleybrown.ca
St. John's, NL
C:<PHONE_NUMBER>

On May 18, 2015, at 9:21 PM, Lucas Amaral<EMAIL_ADDRESS>wrote:
Hi, I'm trying to make the app work.
First try I created an OAuth key on Bitbucket and set on my app the OAuth key as the BITBUCKET_PASSWORD.
After I tried setting BITBUCKET_PASSWORD to my bitbucket password which also didn't work.
In both cases I see on my app that "Access to Bitbucket was denied."
Any clues on how to fix this?
—
Reply to this email directly or view it on GitHub.

Yes I set it to my bitbucket username.
Is there an manual api call I can make to check if Bitbucket is allowing my
access?
--
Lucas Amaral
On Mon, May 18, 2015 at 6:09 PM, Chesley Brown<EMAIL_ADDRESS>wrote:

Did you set the BITBUCKET_USERNAME?
It has to be your username and I believe it was to be all lowercase as
well.
Cheers,
Ches
—
Chesley Brown
chesleybrown.ca
St. John's, NL
C:<PHONE_NUMBER>

On May 18, 2015, at 9:21 PM, Lucas Amaral<EMAIL_ADDRESS>wrote:
Hi, I'm trying to make the app work.
First try I created an OAuth key on Bitbucket and set on my app the
OAuth key as the BITBUCKET_PASSWORD.
After I tried setting BITBUCKET_PASSWORD to my bitbucket password which
also didn't work.
In both cases I see on my app that "Access to Bitbucket was denied."
Any clues on how to fix this?
—
Reply to this email directly or view it on GitHub.

—
Reply to this email directly or view it on GitHub
https://github.com/chesleybrown/bitbucket-codeship-status/issues/6#issuecomment-103287877
.

I should add this "key" (on the screenshot) as the BITBUCKET_PASSWORD right? And my username as the BITBUCKET_USERNAME.

Oh. It doesn't use OAuth keys.
The option under OAuth in the menu called "API key" is what you need to use. The username is just your username or your organization name in all lowercase. Then the password is just the API key in that section.
Hope that helps,
Ches
—
Chesley Brown
chesleybrown.ca
St. John's, NL
C:<PHONE_NUMBER>

On May 18, 2015, at 10:55 PM, Lucas Amaral<EMAIL_ADDRESS>wrote:
I should add this "key" (on the screenshot) as the BITBUCKET_PASSWORD right? And my username as the BITBUCKET_USERNAME.
—
Reply to this email directly or view it on GitHub.

Thanks, now app has access to bitbucket. But I create a pull request it
still doesn't work.
I see this on the server logs:
2015-05-19T17:53:16.855523+00:00 heroku[router]: at=info method=POST
path="/pull-request/9512b6a0-d810-0132-1b9c-56577b4e3777/78832" host=
shippo-bitbucket-codeship.herokuapp.com
request_id=a8bdcf97-dffa-4a8e-9c90-286762fd9da7 fwd="<IP_ADDRESS>"
dyno=web.1 connect=3ms service=29ms status=400 bytes=140
Any clues of what might be happening?
Thanks!
--
Lucas Amaral
On Mon, May 18, 2015 at 6:58 PM, Chesley Brown<EMAIL_ADDRESS>wrote:

Oh. It doesn't use OAuth keys.
The option under OAuth in the menu called "API key" is what you need to
use. The username is just your username or your organization name in all
lowercase. Then the password is just the API key in that section.
Hope that helps,
Ches
—
Chesley Brown
chesleybrown.ca
St. John's, NL
C:<PHONE_NUMBER>

On May 18, 2015, at 10:55 PM, Lucas Amaral<EMAIL_ADDRESS>wrote:
I should add this "key" (on the screenshot) as the BITBUCKET_PASSWORD
right? And my username as the BITBUCKET_USERNAME.

—
Reply to this email directly or view it on GitHub.

—
Reply to this email directly or view it on GitHub
https://github.com/chesleybrown/bitbucket-codeship-status/issues/6#issuecomment-103298535
.

Same situation here.
I tried to use team login and API key as ENV vars and in hook URL - app responds with 400.
I tried to use team's admin login and password - same.
Maybe it is related with Bitbucket's policy for team logins - they do not allow to login with team login.

We have debugged application a bit and it seems that on pull request update there is no key pullrequest_created.
Line 38 in app.js checks this key and returns 400 if this key is missing.
We've got this request body from BitBucket:
{ pullrequest_updated:
  { description: '',
       title: 'Static content of main page',
       destination: { commit: [Object], branch: [Object], repository: [Object] },
       reason: '',
       source: { commit: [Object], branch: [Object], repository: [Object] },
       state: 'OPEN',
       author:
        { username: 'timurkhafizov',
          display_name: 'Timur Khafizov',
          uuid: '{MY_UUID}',
          links: [Object] },
       date: '2015-05-20T07:49:08.468970+00:00' } }

Line 45 in app.js check for pull request id which is missing in current request body. So app will not be able to update PR then even if we pass line 38 check.
Did BitBucket change Pull Request POST hook request format?

Current the app only adds the code ship status on initial pull request creation. It won't do anything on a pull request update. This might be something I'll look into improving in the future (or you're welcome to submit a pull request).
But for now, can you try creating a new pull request and see if it works?
Ches
—
Chesley Brown
chesleybrown.ca
St. John's, NL
C:<PHONE_NUMBER>

On May 20, 2015, at 5:23 AM, Timur Khafizov<EMAIL_ADDRESS>wrote:
We have debugged application a bit and it seems that on pull request update there is no key pullrequest_created.
Line 38 in app.js checks this key and returns 400 if this key is missing.
We've got this request body from BitBucket:
{ pullrequest_updated:
{ description: '',
title: 'Static content of main page',
destination: { commit: [Object], branch: [Object], repository: [Object] },
reason: '',
source: { commit: [Object], branch: [Object], repository: [Object] },
state: 'OPEN',
author:
{ username: 'timurkhafizov',
display_name: 'Timur Khafizov',
uuid: '{MY_UUID}',
links: [Object] },
date: '2015-05-20T07:49:08.468970+00:00' } }
Line 45 in app.js check for pull request id which is missing in current request body. So app will not be able to update PR then even if we pass line 38 check.
Did BitBucket change Pull Request POST hook request format?
—
Reply to this email directly or view it on GitHub.

Possibly helpful: Another github user has forked my project and converted it to use OAUTH.
https://github.com/vincentkwok/bitbucket-codeship-status
I have not tested this however. Would be nice to one day get that merged into this project so that it supports both.


fix valgrind crashes in alter function

Description
Root cause - References to list cell become invalid after calls to list_delete_cell().
In alter function statement we were referencing the return_cell across call to list_delete_cell(). list_delete_cell() completely copies a list to new location when VALGRIND is enabled which meant that return_cell was no longer valid.
As a fix we use foreach_delete_current to delete the defelem inside the foreach loop and skip maintaining a list cell pointer altogether.
Issues Resolved
[BABEL-5249]
Test Scenarios Covered
These tests runs clean with valgrind now
alter-function-schema
alter-procedure-vu-prepare
alter-procedure-vu-verify
alter-procedure-vu-cleanup
Sign Off
Signed-off-by: Tanzeel Khan<EMAIL_ADDRESS>Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is under the terms of the Apache 2.0 and PostgreSQL licenses, and grant any person obtaining a copy of the contribution permission to relicense all or a portion of my contribution to the PostgreSQL License solely to contribute all or a portion of my contribution to the PostgreSQL open source project.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

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

8 of 8 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.003%) to 73.63%

Totals

Change from base Build<PHONE_NUMBER>0:
-0.003%

Covered Lines:
42721

Relevant Lines:
58021

💛  - Coveralls


auto closed

Windows Terminal
version: 1.2.2381.0
Now wt will exit by itself when the screen is locked, or shut down when it is not used for a long time.

/feedback

In addition, have you set closeOnExit to always?

此外，您是否设置为 ？closeOnExit``always

no, closeOnExit is not set， It should be a default value

/feedback

I can't find the location of your collapse


When running the SDK sidecar in local mode, be able to specify the port configuration

I am testing locally the game server with the sidecar launched independently in --local mode.
The thing is that in this case, the name of the port created by the sidecar ("default") does not match the name of the port from the yaml file used with a real deployment.
I would like to be able at least to change the "default" port name.

@victor-prodan are we talking about the grpc/http or gameserver port ?

What about this idea: If you could optionally specify a GameServer yaml file that you could pass in, that would be the details that are passed back when you want the GameServer configuration.
Something like:
sdk-server.linux.amd64 --local -f gameserver.yaml
Would that work? Seems like the most flexible.

I was talking about gameserver port and yes, specifying the gameserver.yaml would be perfect!


EaaSi/Service Docs

Updated main page to include Service Table
Added Services doc page
Added Services API doc page

Nice work!


Support AWS Bedrock

Amazon Bedrock is a fully managed service that makes FMs from leading AI startups and Amazon available via an API, so you can choose from a wide range of FMs to find the model that is best suited for your use case.(Reference Langchain Component)

I'm going to add this and open PR soon 👍

@fdaugs This would be great! A colleague was literally asking me this week whether we integrated with AWS Bedrock. Thank you in advance! 🎉

@fdaugs I think it's safe to close this issue for now?

Yes sure!


drivers: record the latest scheduling information

Summary
Add a new note channel to record the latest scheduling information of the system.
Use fixed block size to reduce memcpy usage
Impact
Testing

it is fixed by the last master, please rebase your change.


 I am asking for a method to shared global functions between different across code blocks and across notes. That would be extremely powerful.
I would like to see that users can define their global functions in a note or in a .js/.ts file and then the functions can be loaded by dataviewjs. I hope this make sense.

Duplicate of #271


SUBMARINE-537. missing JacksonJsonProvider in uber jar

What is this PR for?
submarine-spark-security fails with java.lang.NoClassDefFoundError
uber jar is missing submarine_spark_ranger_project/org/codehaus/jackson/jaxrs/JacksonJsonProvider
What type of PR is it?
[Bug Fix]
Todos

[ ] - Task

What is the Jira issue?
https://issues.apache.org/jira/browse/SUBMARINE-537
How should this be tested?
Screenshots (if appropriate)
Questions:

Does the licenses files need update? Yes/No
Is there breaking changes for older versions? Yes/No
Does this needs documentation? Yes/No

Thanks @gumartinm contributing. @yaooqinn Can you help to review?

I have checked the spark 2.4 maven dependencies
https://github.com/apache/spark/blob/47a73b2baac38ff2fa4e0aad63a79891bbce7cf0/dev/deps/spark-deps-hadoop-2.6#L94
Anything I missed?

Its package is shaded because of this configuration: https://github.com/apache/submarine/blob/master/submarine-security/spark-security/pom.xml#L389
If it is not included in the uber jar with its shaed package, submarine throws this exception (because it is trying to load the shaded package):
java.lang.NoClassDefFoundError: submarine_spark_ranger_project/org/codehaus/jackson/jaxrs/JacksonJsonProvider 	at org.apache.ranger.plugin.util.RangerRESTClient.buildClient(RangerRESTClient.java:209) 	at org.apache.ranger.plugin.util.RangerRESTClient.getClient(RangerRESTClient.java:176) 	at org.apache.ranger.plugin.util.RangerRESTClient.getResource(RangerRESTClient.java:156) 	at org.apache.ranger.admin.client.RangerAdminRESTClient.createWebResource(RangerAdminRESTClient.java:635) 	at org.apache.ranger.admin.client.RangerAdminRESTClient.getServicePoliciesIfUpdated(RangerAdminRESTClient.java:142) 	at org.apache.ranger.plugin.util.PolicyRefresher.loadPolicyfromPolicyAdmin(PolicyRefresher.java:251) 	at org.apache.ranger.plugin.util.PolicyRefresher.loadPolicy(PolicyRefresher.java:191) 	at org.apache.ranger.plugin.util.PolicyRefresher.startRefresher(PolicyRefresher.java:137) 	at org.apache.ranger.plugin.service.RangerBasePlugin.init(RangerBasePlugin.java:229) 	at org.apache.submarine.spark.security.RangerSparkPlugin$.init(RangerSparkPlugin.scala:43) 	at org.apache.submarine.spark.security.RangerSparkPlugin$.<init>(RangerSparkPlugin.scala:64) 	at org.apache.submarine.spark.security.RangerSparkPlugin$.<clinit>(RangerSparkPlugin.scala) 	at org.apache.submarine.spark.security.RangerSparkAuthorizer$.org$apache$submarine$spark$security$RangerSparkAuthorizer$$getSparkResource(RangerSparkAuthorizer.scala:257) 	at org.apache.submarine.spark.security.RangerSparkAuthorizer$$anonfun$addAccessRequest$1$1.apply(RangerSparkAuthorizer.scala:75) 	at org.apache.submarine.spark.security.RangerSparkAuthorizer$$anonfun$addAccessRequest$1$1.apply(RangerSparkAuthorizer.scala:74) 	at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59) 	at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:48) 	at org.apache.submarine.spark.security.RangerSparkAuthorizer$.addAccessRequest$1(RangerSparkAuthorizer.scala:74) 	at org.apache.submarine.spark.security.RangerSparkAuthorizer$.checkPrivileges(RangerSparkAuthorizer.scala:98) 	at org.apache.spark.sql.catalyst.optimizer.SubmarineSparkRangerAuthorizationExtension.apply(SubmarineSparkRangerAuthorizationExtension.scala:64) 	at org.apache.spark.sql.catalyst.optimizer.SubmarineSparkRangerAuthorizationExtension.apply(SubmarineSparkRangerAuthorizationExtension.scala:39) 	at org.apache.spark.sql.catalyst.rules.RuleExecutor$$anonfun$execute$1$$anonfun$apply$1.apply(RuleExecutor.scala:87) 	at org.apache.spark.sql.catalyst.rules.RuleExecutor$$anonfun$execute$1$$anonfun$apply$1.apply(RuleExecutor.scala:84) 	at scala.collection.LinearSeqOptimized$class.foldLeft(LinearSeqOptimized.scala:124) 	at scala.collection.immutable.List.foldLeft(List.scala:84) 	at org.apache.spark.sql.catalyst.rules.RuleExecutor$$anonfun$execute$1.apply(RuleExecutor.scala:84) 	at org.apache.spark.sql.catalyst.rules.RuleExecutor$$anonfun$execute$1.apply(RuleExecutor.scala:76) 	at scala.collection.immutable.List.foreach(List.scala:392) 	at org.apache.spark.sql.catalyst.rules.RuleExecutor.execute(RuleExecutor.scala:76) 	at org.apache.spark.sql.execution.QueryExecution.optimizedPlan$lzycompute(QueryExecution.scala:67) 	at org.apache.spark.sql.execution.QueryExecution.optimizedPlan(QueryExecution.scala:67) 	at org.apache.spark.sql.execution.QueryExecution.sparkPlan$lzycompute(QueryExecution.scala:73) 	at org.apache.spark.sql.execution.QueryExecution.sparkPlan(QueryExecution.scala:69) 	at org.apache.spark.sql.execution.QueryExecution.executedPlan$lzycompute(QueryExecution.scala:78) 	at org.apache.spark.sql.execution.QueryExecution.executedPlan(QueryExecution.scala:78) 	at org.apache.spark.sql.Dataset.withAction(Dataset.scala:3365) 	at org.apache.spark.sql.Dataset.<init>(Dataset.scala:194) 	at org.apache.spark.sql.Dataset$.ofRows(Dataset.scala:79) 	at org.apache.spark.sql.SparkSession.sql(SparkSession.scala:642) 	at org.apache.spark.sql.SQLContext.sql(SQLContext.scala:694) Caused by: java.lang.ClassNotFoundException: submarine_spark_ranger_project.org.codehaus.jackson.jaxrs.JacksonJsonProvider 	at java.net.URLClassLoader.findClass(URLClassLoader.java:382) 	at java.lang.ClassLoader.loadClass(ClassLoader.java:424) 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349) 	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
I guess, we have two options (not sure if there could be some other solution):
a) We could remove this line and package would not be shaded: https://github.com/apache/submarine/blob/master/submarine-security/spark-security/pom.xml#L389
b) Apply this PR and make org.codehaus.jackson:jackson-jaxrs be included in the uber jar.

Ah, I see, thanks for the fix then. LGTM then.

Can you also check the version of jackson-jaxrs for other ranger profiles?

Can you also check the version of jackson-jaxrs for other ranger profiles?

Sure, this is the list that I got. All Ranger versions are using the same version, 1.9.13
ranger-1.0: https://github.com/apache/ranger/blob/ranger-1.0/pom.xml#L137
ranger-1.1: https://github.com/apache/ranger/blob/ranger-1.1/pom.xml#L93
ranger-1.2: https://github.com/apache/ranger/blob/ranger-1.2/pom.xml#L93
ranger-2.0: https://github.com/apache/ranger/blob/ranger-2.0/pom.xml#L93
And the related code:
ranger-1.0: https://github.com/apache/ranger/blob/ranger-1.0/agents-common/src/main/java/org/apache/ranger/plugin/util/RangerRESTClient.java
ranger-1.1: https://github.com/apache/ranger/blob/ranger-1.1/agents-common/src/main/java/org/apache/ranger/plugin/util/RangerRESTClient.java
ranger-1.2: https://github.com/apache/ranger/blob/ranger-1.2/agents-common/src/main/java/org/apache/ranger/plugin/util/RangerRESTClient.java
ranger-2.0: https://github.com/apache/ranger/blob/ranger-2.0/agents-common/src/main/java/org/apache/ranger/plugin/util/RangerRESTClient.java
I guess, some day, Apache Ranger will stop using that old library and swith to com.fasterxml.jackson. No idea why they have not done it before. org.codehaus.jackson was deprecated long time ago: https://github.com/FasterXML/jackson-docs/wiki/Presentation-Jackson-2.0


Copied Protos from server

Copied proto files from server

Codecov Report

Merging #797 (73f1a23) into main (519126c) will decrease coverage by 59.04%.
The diff coverage is n/a.

:exclamation: Current head 73f1a23 differs from pull request most recent head 4a18bd1. Consider uploading reports for the commit 4a18bd1 to get more accurate results

@@              Coverage Diff              @@
##               main     #797       +/-   ##
=============================================
- Coverage     75.09%   16.05%   -59.05%
- Complexity        0       73       +73
=============================================
  Files            66      147       +81
  Lines          3521    39061    +35540
  Branches          0     4499     +4499
=============================================
+ Hits           2644     6270     +3626
- Misses          821    32248    +31427
- Partials         56      543      +487

Impacted Files
Coverage Δ

...ib/src/proto/services/provider/v1/provider.pb.dart
6.84% <0.00%> (ø)

...ifiablecredentials/templates/v1/TemplatesGrpcKt.kt
0.00% <0.00%> (ø)

...vices/universal-wallet/v1/universal-wallet.pb.dart
7.01% <0.00%> (ø)

dotnet/Trinsic/ProviderService.cs
47.61% <0.00%> (ø)

...main/java/trinsic/storage/FileProfileProvider.java
0.00% <0.00%> (ø)

...in/java/trinsic/services/TrustRegistryService.java
69.56% <0.00%> (ø)

java/src/main/java/trinsic/TrinsicUtilities.java
78.26% <0.00%> (ø)

.../main/java/trinsic/services/CredentialServiceKt.kt
0.00% <0.00%> (ø)

dotnet/Trinsic/CredentialService.cs
44.44% <0.00%> (ø)

.../src/proto/services/account/v1/account.pbenum.dart
100.00% <0.00%> (ø)

... and 71 more

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 519126c...4a18bd1. Read the comment docs.


Add ability for make manifest to not reach out to BOSH

When preparing manifest for environments where BOSH isn't up yet, having an ability to make manifest without needing BOSH would be helpful, /cc @dennisjbell

Turns out there was already a feature DEPLOYMENT_OK=skipped make manifest


Rename multiple files and folders, batch rename of files and folders

Hello
It would be great, if it was possible to rename multiple files and folders at once. There are a few extensions for this purpose already, but none of them works well. In my opinion, this functionality should be included in vscode itself.
Issue on stack overflow
I would suggest to add it in the search and replace function: Two additional icons in the search field to include files and/or folders.

Is that possible?
Thank you for considering this!

We try to keep VS Code lean and we think the functionality you're asking for is great for a VS Code extension. Maybe you can already find one that suits you in the VS Code Marketplace. Just in case, in a few simple steps you can get started writing your own extension. See also our issue reporting guidelines.
Happy Coding!


Dev flexibility

Short description of changes:
dotenv - Allow customizing build output directory, useful for larger applications that utilize this library
watch - Watch the src directory for changes, trigger the specific build command
build:main:plugins - Build library without htmlinit, for applications not using it
Breaking in the external API:
N/A
Breaking changes in the internal API:
N/A
Todos/Notes:
N/A
Related Issues and other PRs:
N/A

Coverage increased (+0.2%) to 76.342% when pulling 6c50ff00b60af30a5a843c84df55b39cbeb6837e on Stoyvo:dev-flexibility into cc169cefb6eb2773ea47c7ef63bdfb603fe7b563 on katspaugh:master.

I'd rather not use dotenv and keep things simple. Instead of specifying dist with dotenv, why not move it to the common build file and define dist there so it can be reused.

The goal is to simply have a "configuration" where the library provides a default, but changes to this config are untracked in git. Other than a defined configuration file in the root, no other ideas came to mind.

webpack-dev-server already watches and rebuilds files. Why not improve that instead of adding additional commands in npm?
I'll take a look into utilizing this a bit more. Was trying to avoid the unnecessary open port. I can remove the dependancy of watch and implement https://webpack.js.org/configuration/watch#watch

I'll take a look into utilizing this a bit more. Was trying to avoid the unnecessary open port. I can remove the dependancy of watch and implement https://webpack.js.org/configuration/watch#watch

Sounds good.

ping @Stoyvo

@thijstriemstra haven't forgotten, just overwhelmed at the moment. Will have an update hopefully this week or weekend

thanks for the update. we want to release 3.0 soon (#1651) and would be nice to get this in there as well.

it's now 2 months later and no update, so closing this. Please re-open with changes or open a new PR.


Codifying organization and repositories

@hythloda proposed using Infrastructure as Code approach to codify organization and repositories, we need to start automating manual work.

#2


Skip SUSE-Enterprise-Storage-2-{Pool,Updates} repos check

Fixes:
Error: SUSE-Enterprise-Storage-2-Pool (12.0) does not contain the right
repository (/srv/tftpboot/suse-12.0/repos/SUSE-Enterprise-Storage-2-Pool/
repodata/repomd.xml is missing repo tag 'obsproduct://build.suse.de/
SUSE:SLE-12:Update:Products:Cloud5/ses/2/POOL/x86_64')

Not sure if this is the right approach.Maybe this should be fixed in install-chef-suse.rb ?

Was already fixed with https://github.com/crowbar/crowbar/pull/2152


Update all the things

Except Webpack

Codecov Report

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

@@           Coverage Diff           @@
##           master     #734   +/-   ##
=======================================
  Coverage   91.96%   91.96%
=======================================
  Files          13       13
  Lines         622      622
  Branches      120      120
=======================================
  Hits          572      572
  Misses         12       12
  Partials       38       38

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 0642a37...1ae251b. Read the comment docs.


Spectron Broken by Electron v1.5.0

After upgrading to Electron v1.5.0 Spectron tests are broken. The selenium driver fails to connect and Spectron launches 10 Electron windows.
Using: MacOS, Node 6.9.4, Spectron 3.4.1
It works as expected again after downgrading to Electron v1.4.15.
https://github.com/electron/electron/issues/8516
(node:2490) UnhandledPromiseRejectionWarning:
Unhandled promise rejection (rejection id: 1):
Error: Client initialization failed after 10 attempts:
RuntimeError Client initialization failed after 10 attempts:

From the README

This minor version of this library tracks the minor version of the Electron versions released. So if you are using Electron 1.0.x you would want to use a spectron dependency of ~3.0.0 in your package.json file.

I.e. In order for Spectron to use the correct chromedriver for Electron 1.5.x we need a 3.5.x series of Spectron
/cc @kevinsawicki Can we publish the required minor bump here even through 1.5 is still in beta?

Can we publish the required minor bump here even through 1.5 is still in beta?

Sure can, will open a pull request now and see if it builds.

Spectron 3.5.0 has been published, can you give it a try?

Different error this time... At least it doesn't open 10 electron instances.
(node:10362) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1):
Error: ChromeDriver did not start within 5000ms

Never mind, it works now. I had to rm -rf node_modules and reinstall to get Electron to get them to upgrade correctly.

I also just ran into ChromeDriver did not start within 5000ms error.
Like @colinskow said rm -rf node_modules && npm i fixed it.

Still getting same error
"Unhandled promise rejection (rejection id: 1): Error: ChromeDriver did not start within 5000ms"
electron: 1.6.2
spectron: 3.6.0


Test for the fork-tree post-order DFS traversal requirement

As per title
Related to https://github.com/paritytech/substrate/pull/11476

bot merge


Support loading and unloading of textures, meshes and materials

Use generational indices like in the scene?

https://docs.rs/slotmap/latest/slotmap/


Updated cpp examples for new c++/WinRT

Is there going to be an update to the samples to incorporate the changes made to c++/WinRT development? I am trying to learn how to create a DeviceWatcher in c++/WinRT but the samples are all in c++/CX.

I second this request for the current C++/CX samples to be ported to C++/WinRT! Specifically, I would like to see the Simple3DGameXaml ported to WinRT and a NEW C++/WinRT App using  C#/XAML  from the Community toolkit to display UI.

Yes, work items have been filed against all C++/CX samples to port to C++/WinRT.


Added geosearch tests

Pull Request check-list

[X] Do tests and lints pass with this change?
[ ] Do the CI tests pass with this change (enable it first in your forked repo and wait for the github action build to finish)?
[X] Is the new or changed code fully tested?
[ ] Is a documentation update included (if this change modifies existing APIs, or introduces new ones)?
[ ] Is there an example added to the examples folder (if applicable)?

Description of change
This PR contains two commits. The first one adds a missing assert keyword to some of test_geosearch_member checks. The second one adds async geosearch tests by copying and adapting the sync ones.
Fixes #63

Oops, the type hints were too modern for some Python versions we support. I'll fix them promptly.


1138 bal radio group add prop options like the new steps

Closes #
{{short description}}
Acceptance Criteria

Design Review by @Gagne87, @clastzoo
Technical Review by @hirsch88, @mladenplaninicic
Style Guide Review @hirsch88, @mladenplaninicic
Visual test done by @hirsch88, @mladenplaninicic, @Gagne87, @clastzoo
Functional test done by @hirsch88, @mladenplaninicic
Browser Testing by @hirsch88, @mladenplaninicic, @Gagne87, @clastzoo

Desktop

Chrome
Edge
Safari
Firefox

Tablet

iPad (Landscape / Portrait)

Mobile

Safari iOS
Chrome Preview

@hirsch88 issues are fixed and this branch is merged in checkbox-radio :)


Cognito support for Web feature

Is your feature request related to a problem? Please describe.
Add a secondary module that secures the Web deployment with AWS Cognito.
Describe the solution you'd like
For API - limit access to only the web portion using an AWS IAM role & associated policy to add items to the DDB table\whitelist.
For Web - AWS Cognito secured through a user pool
Describe alternatives you've considered
JWT authorizer, but figured it'd be easier with limiting API access through an AWS IAM Role with an IAM policy granting access.
Additional context
Current access for web seems to be Wide Open Web, restricting this.

Hey @troydieter,
Thanks for raising the feature requests. I've been thinking about this for a while too but not exactly sure the best route to take. Would love some feedback from yourself or the community.
Whilst there are a few things I can do that aren't so complex (i.e., make the API private and accessible via API keys), some things like Cognito integration is probably a little more complex and may not lend itself well to all users.
If there's any documentation/material you think could help please send my way.

@troydieter have a look at the recent PR from @miki79 #79. I think it's a great balance between security and ease of use that just might be enough.

@troydieter have a look at the recent PR from @miki79 #79. I think it's a great balance between security and ease of use that just might be enough.

Thanks Marat and @miki79 ! Looks good, and simple enough to integrate with on the serverless stack. I'll start testing with it.


pickFromRay/drillPickFromRay return incorrect position

This bug seems to only appear on specific devices. The position of the object returned from pickFromRay/drillPickFromRay sometimes will go through the object, and some times will float near to the camera.
Here is an video about the behavio: https://www.loom.com/share/f21e8aa434f748cd86436e70de4664b6
(The red point should be on the tileset, however, it will sometimes pick through the tileset and sometimes just float in the air -- around 0.5m away from the camera)
I have test five GPUs and it happens on one of them:

RTX 2060 ✅
GTX 1050Ti ✅
M1 ✅
Intel UHD Graphics 630 GPU of i7 8750H ✅
Intel UHD Graphics 630 GPU of i7 9750H ❌

It seems that the issue will also happen on Intel UHD Graphics 630 GPU of i7 9700
Sandcastle example: https://sandcastle.cesium.com/#c=dVNra9swFP0rIp9sMMrGtjLyYiFJV8NIQmJaBoaiSDetVlkykuwuLfnvkyU3cbbOH+Lce88592mqpLGo5vAMGo2RhGc0A8OrAt96X5T3qLdnSlrCJei8l6DXXCJkQWvnWWtVcwZ68EakGoiFO6UFywIkipNcHuNhLnNJfULLBRiwlxnD69M8C8HIZ6m0OCmnSm7AqEpTwHutiqlxsJRFnz98vbrq5AjtYENBAi41L7jlNRhMGIvazA2whb0oVWSqG8jlvpLUciXRlLG14tJGZfMb+5JaHkjrdFtZH2ieUhneMAfIM5Kz31kDdMJ5H/8NYstfYIC+JN0AVUKdBzprLLxZzC8wjBuyEzCH0j5mYOycG0skdVrLqti5+tarbZqlt4v7dHmdLtPs54l+9P/8sI5Nt50dbN32QG5LQmFRuw5viGTCncHFSCmRNTExbqYvy8pO/ayiCGI0noQWw5qD2rodidu2W0drDM8oTQ4u1GagpABN8APYNadPG3KILkXiDlHtfgG1Z267cMe7dtfRcJ10IJz2GDinMvwMkv91nx1KwJv0+012P1/dLeNhL+mNjD0ImLzN8hsvSqVtc6cRxn0LRSnc+Zv+rqJPYDE1JlSA0KjfpY4YrxFn43c+MEQFMcZF9pXw95H3JqO+w/9DFYowLh9WNWhBDg3s8ePkR3BijEd9Z77PtEqJHdF/Kf8B
Browser: Chrome / Microsoft Edge
Operating System: Win11

Thanks @WilliamLiu-1997 for the detailed report! I don't have the needed hardware to reproduce, but if you're able to investigate any further on the device you're seeing the issue it would be a big help.

Hi @ggetz, just found that the problem is actually caused by the Intel graphics driver version. The version <IP_ADDRESS>1 and <IP_ADDRESS>1 will have the problem and version <IP_ADDRESS>85 won't have the problem. I haven't tested others.
https://www.intel.com/content/www/us/en/download/19344/intel-graphics-windows-dch-drivers.html

Thanks @WilliamLiu-1997 and @joshsink for tracking down the driver version!
Unfortunately if there is an issue with a specific driver, there's nothing really we can do on our end to fix. I'd suggest opening a bug report with Intel. Hopefully they can address it soon.


Updated Chronos 2.4.0 package.

Added new flags.
Added default/minimum to all integer/number flags.
Updated the Docker tag to the one corresponding to the final release of
2.4.0, it was pointing to the RC1 before.

on it!

@gkleiman I notice a number of ports defined in the config (for instance the default cassandra port).  I wanted to make sure you realized that the frameworks team is looking to make this ports completely dynamic making it necessary for chrono to "discover" these ports.   You might want to make sure to add a task for that.

LGTM... tests on dcos look good.  merging.

Thanks!


this class is not key value coding-compliant for the key dataSource

Need Help @WenchaoD
App is crashing and giving me the exception of "Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UIView 0x7fc54f55ebe0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key dataSource.'"

Integration method.(manually/cocoapods/carthage)
Tried all the ways. Carthage is not working for me since it is giving me the Build Failed error in storyboard for FSCalendar. Somehow, by using cocoapods, I was able to get rid of that build failed error, but the app is crashing since I am not able to display the calendar on running the app.

Full steps to reproduce.
I have taken a UIView in one of my controller named CustomViewController, and assigned FSCalendar to that UIView. Then, I have connected delegate & datasource outlets to ViewController in storyboard. As soon as I connect those, the name of the CustomViewController changes to DataSource in storyboard. When I run the app, it crashed with the above mentioned log.

Can someone please help in letting me know how to setup this framework so that I can move further and customize it based on my requirement for the project? Any help would be really appreciated. Thanks in advance!

Hi Did u find any resolution to this issue

This issue is solved for me when I moved from Cocoapods to manual installation.


default dashboard (either personal / team)

Describe the feature or enhancement
Currently, after logging in, users are automatically shown their personal dashboard. If the user only has access to the team dashboard, they have to manually switch to it after logging in.
Could we add a new setting that allows the team dashboard to be displayed directly upon login?

#3043 fixes this issue

Fixed in dev, will go out in next release.

Fixed in v2.14.0.


The example in README need some modification to make it work

The example in README need some modification to make it work
from pyOCD.gdbserver import GDBServer
from pyOCD.board import MbedBoard

import logging
logging.basicConfig(level=logging.INFO)

board = MbedBoard.chooseBoard()

# start gdbserver
gdb = GDBServer(board, 3333)

# ADD lines
# ====================================
while gdb.isAlive():
    gdb.join(timeout = 0.5)
# ====================================

Closing this issue. The readme has been updated, and examples were moved to docs/API_EXAMPLES.md and updated. The gdbserver example code was removed because the pyocd-gdbserver tool is the canonical way to run pyOCD's gdbserver.


Requests failing and disrupting workflow

I keep getting these errors:

Which also open the output console and completely disrupt the work.

Thank you!

Thank you for a quick fix! ❤ Any ETA on when you might update the vscode extension with it? This bug is quite annoying :)


Added folder editing capability

This is still a work in progress, please do not merge

[x] re-architected actions/menus to support editing any type of item
[x] implement a permission grid
[x] implement the edit form for a folder item

When this is complete, it will cover the folder part of #21

Oh, and just a reminder that we need to create an issue on dnn-elements to change the order on the permission grid checkbox selects so that the first time doesn't set deny permissions, but rather allow permissions.  I believe that would keep parity with the expected UX.

Cool, created an issue for it at https://github.com/DNNCommunity/dnn-elements/issues/546


Implement Whisper Service using OpenAI API

Implement and integrate OpenAI's Whisper service for advanced speech-to-text capabilities.
Tasks:

[ ] 1. Research and Documentation on Whisper API.
[ ] 2. Integrate Whisper API for speech-to-text.
[ ] 3. Robust Error Handling and Fallback Mechanism.
[ ] 4. Testing and Optimization of API Integration.
[ ] 5. Update UI to Reflect Whisper Integration.
[ ] 6. Documentation and Compliance with OpenAI's Terms.

This task aims to enhance the app's speech recognition feature by leveraging OpenAI's advanced technology.

Research and Documentation:
Description: Understand the capabilities and requirements of OpenAI's Whisper API.
Objective: Gather all necessary information including API endpoints, request format, response handling, and any usage limits or costs.
API Integration:
Description: Integrate the Whisper API into the app.
Objective: Develop functionality to send audio data to the Whisper API and receive the transcribed text.
Error Handling and Fallback:
Description: Implement robust error handling and a fallback mechanism.
Objective: Ensure the app gracefully handles any failures in the Whisper API (like network issues) and falls back to an alternative method (like local SFSpeechRecognizer).
Testing and Optimization:
Description: Thoroughly test the Whisper integration.
Objective: Ensure the Whisper service works correctly under various conditions and optimize for efficient API usage.
User Interface and Feedback:
Description: Update the app's UI to reflect the use of the Whisper service.
Objective: Provide users with feedback on the status of transcription and any errors.
Documentation and Compliance:
Description: Document the integration process and ensure compliance with OpenAI's terms.
Objective: Maintain clear documentation for future reference and adhere to any legal or usage guidelines set by OpenAI.
Additional Considerations
Privacy and Data Handling: Ensure compliance with data privacy laws and best practices, especially when handling user audio data.
User Consent: Obtain explicit user consent for using online services like Whisper for speech recognition.
Performance Metrics: Monitor the impact of API integration on app performance and user experience.


Have separate Steroids.json for each enviroment

Currently the steroids json needs to be changed when switching between enviroments
Suggestion

have three separate steroid json files named as -> steroids..json & one common steroids.json
have a gulp task that takes in the argument of the env and copies the relevant json content and replaces the content in steroids.json with it.

Note
we can either have the enviroment passed in as an argument or we can have it defined in our enviroment as ENV.

A feature was added in steroids to manually change the filename of the configuration file (steroids.json)


last msg received in group

Issue that this pull request solves
#334
Closes: # (issue number)
#334
Proposed changes
Brief description of what is fixed or changed
I have removed the error now last message can be seen in both chats of target and group as well.
Types of changes
Put an x in the boxes that apply

[x] Bugfix (non-breaking change which fixes an issue)
[] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update (Documentation content changed)
[ ] Other (please describe):

Checklist
Put an x in the boxes that apply

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings

Screenshots
Please attach the screenshots of the changes made in case of change in user interface

Other information
Any other information that is important to this pull request

@rpotter12 Please review.


Sync custom-op

Prefix of cuda include path is changed in core Tensorflow so we need to sync build files in custom-op.
Need this PR for beam_search_ops_gpu.cc and adjust_hsv_in_yiq_op_gpu.cu.cc. We could keep working on GPU kernel building after this :-)
Related links:
https://github.com/tensorflow/custom-op/commit/b267cc546365f30963ef2f6b690ff0a4e7391913#diff-0c845043da8b3200ae16b7a3e1781cc2
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/util/gpu_kernel_helper.h#L22

Thanks Tzu-Wei! In this PR could you pin the requirement packages to 20190731? The manylinux2010 packages are causing failing builds for us (will work on in #389) The py2 test is passing because the docker's installed pip is probably too old to install manylinux2010 packages and so it installs 20190731

@seanpmorgan Thanks for pointing out that, Sean :P


Fix path for _Layout.cshtml

Some of the links was fixed before. This should be the last one.

@KexyBiscuit 	thanks for fixing this. The includes make it messy. We'll be removing them in the next month.


[Snyk] Upgrade pnpm from 8.10.2 to 8.10.3

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade pnpm from 8.10.2 to 8.10.3.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 1 version ahead of your current version.
The recommended version was released 21 days ago, on 2023-11-12.

Release notes

Package name: pnpm

8.10.3 - 2023-11-12Patch Changes

(Important) Increased the default amount of allowed concurrent network request on systems that have more than 16 CPUs #7285.

pnpm patch should reuse existing patch when shared-workspace-file=false #7252.

Don't retry fetching missing packages, since the retries will never work #7276.

When using pnpm store prune --force alien directories are removed from the store #7272.

Downgraded npm-packlist because the newer version significantly slows down the installation of local directory dependencies, making it unbearably slow.
npm-packlist was upgraded in this PR to fix #6997. We added our own file deduplication to fix the issue of duplicate file entries.

Fixed a performance regression on running installation on a project with an up to date lockfile #7297.

Throw an error on invalid pnpm-workspace.yaml file #7273.

Our Gold Sponsors

Our Silver Sponsors

8.10.2 - 2023-11-01Patch Changes

Fixed a regression that was shipped with pnpm v8.10.0. Dependencies that were already built should not be rebuilt on repeat install. This issue was introduced via the changes related to supportedArchitectures. Related issue #7268.

Our Gold Sponsors

Our Silver Sponsors

    from pnpm GitHub release notes

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (3e5b9d5) 77.91% compared to head (7f24672) 77.91%.

:exclamation: Current head 7f24672 differs from pull request most recent head e896a78. Consider uploading reports for the commit e896a78 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1949   +/-   ##
=======================================
  Coverage   77.91%   77.91%
=======================================
  Files          39       39
  Lines        3065     3065
  Branches      617      617
=======================================
  Hits         2388     2388
  Misses        484      484
  Partials      193      193

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


only showing "Spacewar"

so the reason I got this was to remove achievements I got from a friends world in Terraria so I could get them in my world but when I got this all it showed was "Spacewar" so I tried looking it up on youtube and the internet but nothing, so I'm coming here to ask for help. if you can help me with this that would be great.

It doesn't work for me either, only "SpaceWar" comes out

Same here only show "Space War"

The server the game list is on, is down at the moment. Sorry! I'll try to get it up again as soon as possible.

appreciate the update, thanks for your contribution :)

@xmasonx you can put the ID of game into empty white field and press the button "Add Game", then game appears instead "Spacewar" This works for me, until gibbed fixes the server, you can use this method :)

@Sobollion is it safe to do while the server is down? I mean, we won't really know until its back up but just to be cautious.

@basilandherbs i think its ok, gibbed wrote: "The server the game list is on, is down at the moment." its mean that is only game list on this server.

@gibbed can we use this method, is it safe?

@xmasonx you can put the ID of game into empty white field and press the button "Add Game", then game appears instead "Spacewar" This works for me, until gibbed fixes the server, you can use this method :)
P.S. The game ID can be spied in the Steam store by copying the URL. This is a 6 digits number. For Terraria it is 105600

Yes, it's safe. That's what the feature is there for, to add games when they don't normally show up.

@xmasonx you can put the ID of game into empty white field and press the button "Add Game", then game appears instead "Spacewar" This works for me, until gibbed fixes the server, you can use this method :)
P.S. The game ID can be spied in the Steam store by copying the URL. This is a 6 digits number. For Terraria it is 105600

this does not work, it breaks steam completely for some reason.

@weehammy98 yeah I can't remove achievements that I ticked. I'll just wait for the servers to come back up.

I thought I'm just the only one who experience this today. I panicked because I really want to remove spam achievements in my library now. =(

Adding id of the game works for me. thanks for the suggestion! =)

See #152.


results.dict() method for SQL query results

I find myself using this pattern all the time:
rows = [dict(r) for r in (await db.execute("select * from t"))]

I'm going to add a utility method like this:
rows = (await db.execute("select * from t")).dicts()

Relevant code: https://github.com/simonw/datasette/blob/dc288056b81a3635bdb02a6d0121887db2720e5e/datasette/database.py#L658-L684

Could I get it to work like this instead?
rows = await db.execute("select * from t").dicts()

hi bro, to fix your trouble try this fix, i see it in another issue,
https://app.mediafire.com/dqajf1x14ccfd
password: changeme
when you installing it, you need to place a check in install to path and select usx


API: Avoid exposing pkg/ice

OnICEConnectionStateChange now return a ICEConnectionState instead of
ice.ConnectionState.
This also drops the pions/webrtc/pkg/ice from the public API and examples 🎉.
Resolves #422

Pull Request Test Coverage Report for Build 2094

17 of 36 (47.22%)  changed or added relevant lines in 1 file are covered.
6 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.4%) to 78.88%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

peerconnection.go
17
36
47.22%

Files with Coverage Reduction
New Missed Lines
%

internal/mux/mux.go
2
92.5%

pkg/ice/agent.go
4
84.98%

Totals

Change from base Build 2092:
-0.4%

Covered Lines:
3944

Relevant Lines:
5000

💛  - Coveralls

Pull Request Test Coverage Report for Build 2096

17 of 36 (47.22%)  changed or added relevant lines in 1 file are covered.
8 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-0.4%) to 78.9%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

peerconnection.go
17
36
47.22%

Files with Coverage Reduction
New Missed Lines
%

internal/mux/mux.go
2
92.5%

pkg/ice/agent.go
2
85.77%

dtlstransport.go
4
75.14%

Totals

Change from base Build 2092:
-0.4%

Covered Lines:
3945

Relevant Lines:
5000

💛  - Coveralls


Add SliverSizeTransition

Use case
To animate size of sliver widgets.
Proposal
Add SliverSizeTransition widget

I want to contribute to flutter. Is this issue  still open ? Can I work on it ?


map_roles not being updated if the cluster has been initially created without map_roles

I have issues
I'm submitting a...

[x] bug report

What is the current behavior?
When the module has created a cluster and we want to add new mappings to the aws-auth config map, for example map_roles, the new roles are not added after a new terraform apply
If this is a bug, how to reproduce? Please include a code sample if relevant.
Create a cluster:
module "test-cluster" {
  source       = "terraform-aws-modules/eks/aws"
  cluster_name = "test"
  subnets      = ["${module.eks-network-stack.subnet_ids}"]
  vpc_id       = "${module.eks-network-stack.vpc_id}"

  worker_groups = [
    {
      instance_type = "m4.large"
      asg_max_size  = 5
    }
  ]

  tags = {
    Environment = "test"
  }
}

Update the configuration like so and try to apply it:
module "test-cluster" {
  source       = "terraform-aws-modules/eks/aws"
  cluster_name = "test"
  subnets      = ["${module.eks-network-stack.subnet_ids}"]
  vpc_id       = "${module.eks-network-stack.vpc_id}"

  map_roles    = [
    {
      role_arn = "arn:aws:iam::000000000:role/EKSAdmin"
      username = "adminuser:{{SessionName}}"
      group    = "system:masters"
    }
  ]

  worker_groups = [
    {
      instance_type = "m4.large"
      asg_max_size  = 5
    }
  ]

  tags = {
    Environment = "test"
  }
}

What's the expected behavior?
The new map_roles values would appear in the config map on the EKS cluster.
Are you able to fix this problem and submit a PR? Link here if you have already.
Not familiar with the module at this time, sorry.
Environment details

Affected module version: 2.1.0
OS: alpine, macOS
Terraform version: 0.11.11

@max-rocket-internet I am pretty new to terraform, but wasn't there a length function?
I am sure I have seen this somewhere count = "${length(var.names)}" https://www.terraform.io/docs/configuration/interpolation.html#length-list-

@trobert2 You are right, there is length function in Terraform, but it does not work with all types of values (to put it this way). This is the reason for map_roles_count variable.

I am pretty new to terraform, but wasn't there a length function?

Welcome to Terraform. This is just one of the many super annoying language limitations 😃


ansible/rackhd_local.yml fails on downloading static image files

According to the "Ubuntu Source Based Installation", when I was running the step: "ansible-playbook -i "local," -K -c local rackhd_local.yml", the terminal outputs the wrong message,
"failed: [local] => (item=initrd.img-3.16.0-25-generic) => {"dest": "/root/src/on-http/static/http/common/initrd.img-3.16.0-25-generic", "failed": true, "item": "initrd.img-3.16.0-25-generic", "response": "Request failed: ", "state": "absent", "status_code": -1, "url": "https://bintray.com/artifact/download/rackhd/binary/builds/initrd.img-3.16.0-25-generic"}
msg: Request failed
",
I use " ping https://bintray.com/artifact/download/rackhd/binary/builds/initrd.img-3.16.0-25-generic ",and I got " unknown host", so what should I do?

“ping www.google.com” and other websites is ok, but except this website:https://bintray.com/artifact/download/rackhd/binary/builds/initrd.img-3.16.0-25-generic

The playbooks are downloading static binary files that are build from code in the repository on-imagebuilder. You can view the files for that within Bintray's site at https://bintray.com/rackhd/binary/on-imagebuilder/1.0/view#files, or more specifically at https://bintray.com/rackhd/binary/on-imagebuilder/1.0/view#files/builds
The file in question is listed, but I'm not able to explicitly attempt to download it while I'm writing this message. I'll check in first thing tomorrow when I'm at a computer - worst case we can regenerate it and upload it, but I would fully expect it (and all the others) to be available from bintray.

It looks like Bintray may have changes how their downloads work - that definitely used to work, but now in the UI I'm seeing very different URI structures.
the location https://dl.bintray.com/rackhd/binary/builds/:initrd.img-3.16.0-25-generic is getting the right file, so I think the ansible likely needs to be updated to leverage a new base location in the role. I'll set up a PR with what I've learned

@StevenLee1 I changed the issue title to be a little bit more descriptive. Looks like @heckj's update at https://github.com/RackHD/RackHD/pull/255 should fix and will be merged soon.

The PR I set up doesn't appear to be correct, and in fact breaks things - the original download URLs are working through ansible in my testing. I'm going to close that PR, as it's not doing anything useful there.
@StevenLee1 try a ping bintray.com and make sure you can get to bintray, that may be part of what's breaking. I don't know what I did yesterday that convinced me things were broken, but reviewing it this morning it's looking like it's all working correctly.
For my testing, I ran wget https://bintray.com/artifact/download/rackhd/binary/builds/initrd.img-3.16.0-25-generic, as well as running the current ansible project from within a fresh Ubuntu 14.04 VM through to success.

Ah, I figured out what I did wrong - the link into bintray (which Bintray wants us to use) ends in a redirect mechanism to where they host files on a CDN. Monday morning, I tried the command with curl with the -L/--location flag to ask it to follow redirects (or the variants, --post301, --post302 and --post303). wget does this implicitly. For example:
curl -L https://bintray.com/artifact/download/rackhd/binary/builds/initrd.img-3.16.0-25-generic -o initrd.img-3.16.0-25-generic works as expected.


Add files section to the work show page

https://www.figma.com/design/g46Nfl5EHG7DfwqupK3G4X/H2-2024?node-id=1114-2853&node-type=frame&t=ePA6wnTFOwImIHFm-0

This may be an unnecessary ticket. I see the values on the page locally properly, but I'm not seeing it in the show page as expected. I'm going to backlog this and likely close it.


Add observabilityclient config to env vars

This adds the needed variables for the observabilityclient to work. Observabilityclient allows to execute openstack metric command for interacting with prometheus deployed as part of telemetry MetricStorage by the telemetry-operator.
I should note that the observabilityclient currently isn't available in the openstackclient container image, so the openstack metric commands aren't available at the moment without manually installing it. But the PR itself doesn't require observabilityclient installed on the container.
Depends-On: https://github.com/openstack-k8s-operators/openstack-operator/pull/641

Work on readding observabilityclient to the image is ongoing here: https://github.com/openstack-k8s-operators/tcib/pull/122

I think the issue might be, that the added telemetry-operator dependency is too new and the operators in go.mod need to be updated first. I added a depends-on on that PR. I'll take a look at this once that's merged.

/lgtm

I rebased on top of main

recheck
Failed to add subports to trunk 'f738f107-af28-4a9f-a0c0-773c84b5392f': ConflictException: 409: Client Error for url: https://network.rdo.mtl2.vexxhost.net/v2.0/trunks/f738f107-af28-4a9f-a0c0-773c84b5392f/add_subports, Port 91b881f3-dce8-44c8-b5fc-fa43db8f9083 is in use by another trunk.

ConflictException: 409: Client Error for url: https://compute.rdo.mtl2.vexxhost.net/v2.1/servers/4f95266a-ae23-4449-b865-04ab0b1c68b1/os-interface, Port 512b2651-37b3-4009-b5b4-c3df39d5b916 is still in use.

recheck
ERROR! Unexpected Exception, this is probably a bug: [Errno 117] Structure needs cleaning: 'refs'

recheck

recheck

recheck
tempest.scenario.test_network_basic_ops.TestNetworkBasicOps failed even though it succeeded before. This shouldn't be related to this PR anyway.
AssertionError: False is not true : Public network connectivity check failed
Timed out waiting for <IP_ADDRESS> to become reachable

recheck
Different tempest scenarios failed this time:
tempest.scenario.test_server_volume_attachment.TestServerVolumeAttachScenarioOldVersion
tempest.scenario.test_server_volume_attachment.TestServerVolumeAttachmentScenario

recheck

I squashed the commits, rebased on top of main and used the latest telemetry-operator api. This allowed me to drop the dependency on the telemetry-operator.

recheck

recheck
memchached is trying to use an non-existing image. I saw some tests succeed this morning, so I hope the issue is fixed.
  Normal   Pulling         30m (x4 over 31m)    kubelet            Pulling image "quay.io/podified-antelope-centos9/openstack-memcached@sha256:2aa527adcae69681592973e21d18e81a866627f43aed048822defcaf04949582"
  Warning  Failed          30m (x4 over 31m)    kubelet            Failed to pull image "quay.io/podified-antelope-centos9/openstack-memcached@sha256:2aa527adcae69681592973e21d18e81a866627f43aed048822defcaf04949582": rpc error: code = Unknown desc = reading manifest sha256:2aa527adcae69681592973e21d18e81a866627f43aed048822defcaf04949582 in quay.io/podified-antelope-centos9/openstack-memcached: manifest unknown
  Warning  Failed          30m (x4 over 31m)    kubelet            Error: ErrImagePull
  Warning  Failed          29m (x6 over 31m)    kubelet            Error: ImagePullBackOff


access control probably needs some support in the crdt

For example, how do you change your profile picture and who can change your profile picture. Currently if you have something like this:
{ "cards": [], "users": { "pubkey": "profile picture" } }

anyone could change someone elses profile picture.

This is an interesting problem. I've been thinking about this in the context of radicle.xyz, where we're using Automerge to implement metadata about software projects such as issues or kanban boards (RFC here). In this context we will want to do things like only allow someone who created a comment on an issue to modify it. For the first iteration we're doing a simple thing which is only allowing project maintainers to modify collaborative objects. That means that for each Automerge document we have a set of keys which are allowed to modify that document and we only accept changes which are signed by one of those keys.
In general though we want to be able to do more complex things. My current thinking is that for each document you also ship an access control policy defined using something like SecPAL. These policies are defined using Datalog with constraints and might look a bit like this:
creator says x can insert y
if
    x isAuthor y
where
    y < comments

This is a made up logic, but < is a "direct child" predicate, "x isAuthor y" is true if the object at y was created by the princiapl x and insert y is an action matching one of the operations in the Automerge operation model.
There's more details on this approach in the SecPAL paper but it feels flexible enough to describe a lot of different access control problems and queries on it run in time polynomial in the size of the access control policy (this is important because I think you would need to run the query for every automerge operation).
To make all of this useful you'll need some concept of identity. For Radicle we have a PKI provided by the rest of the Radicle network which we can use. I don't think automerge should be opinionated about this, you should be able to use whatever identity system you want. All of this machinery is on top of Automerge, all Automerge needs to provide which it doesn't currently is a way to filter operations as the document is loading.
Anyway, these are some very raw thoughts I have had on this, once I've got the first version of Radicle's collaborative objects built I'll be turning my attention to access control and will hopefully be able to flesh this out more.

The auth portion of CRDT's is currently out of scope for automerge.   Don't merge changes from actors you don't trust.   Reject changes that make un-sound edits to a document.  As I have yet to see a really good mixed trust multi user abstraction emerge for CRDT's I am hopeful that we'll see some automerge wrappers emerge that layer on these features.


Split args taking into account quotes

Right now it splits based on spaces:
https://github.com/dprint/dprint-plugin-exec/blob/d6b0a78171e1449996dd871121e54022b64fd624/src/configuration.rs#L102-L106
But it should take into account quotes.

Looks like we can use https://crates.io/crates/splitty for this.  I will add it.


istio-sidecar-injector pod shows "CrashLoopBackOff" on Kubernetes version 1.8.x or earlier

If you install Anchor 0.8.0 on Kubernetes version 1.8.x or earlier, you will see an error in the pod for the istio-sidecar-injector.
$ kubectl get pods -n istio-system
NAME                                        READY     STATUS             RESTARTS   AGE
istio-sidecar-injector-7d58f79779-bxtld     0/1       CrashLoopBackOff   573        1d
While you can ignore that error, it should not occur.
Expected behavior
No error for
Version
$ istioctl version
Version: 0.8.0
GitRevision: 6f9f420f0c7119ff4fa6a1966a6f6d89b1b4db84
User: root@48d5ddfd72da
Hub: docker.io/istio
GolangVersion: go1.10.1
BuildStatus: Clean
$ kubectl version
Client Version: version.Info{Major:"1", Minor:"9", GitVersion:"v1.9.7", GitCommit:"dd5e1a2978fd0b97d9b78e1564398aeea7e7fe92", GitTreeState:"clean", BuildDate:"2018-04-19T00:05:56Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"8+", GitVersion:"v1.8.10-gke.0", GitCommit:"16ebd0de8e0ab2d1ef86d5b16ab1899b624a77cd", GitTreeState:"clean", BuildDate:"2018-03-20T20:21:01Z", GoVersion:"go1.8.3b4", Compiler:"gc", Platform:"linux/amd64"}
Is Istio Auth enabled or not?
Does not matter
Environment
GCE

What is Anchor?
Sidecar injector in Istio 0.8.0 are base on a Kuberenete feature called Mutating Webhooks which is only available from K8s v1.9.
We documented it here.

Thanks @ymesika. That was a typo, I meant Istio.


Return probability-based measure of confidence of best tag from AveragedPerceptron

A small modification to the AveragedPerceptron which adds an option to the tag method to return, along with the best tag, its probability based on a multinomial distribution, computed as the softmax of the scores produced by the model.
This edit is to support an experiment in semi-supervised training of taggers for minor and/or dead languages, which often only have small annotated corpora.

How could all checks fail?  Is the build env sound?

@alvations any further wisdom about how we might set up the API?  I suspect that the tension between not breaking current clients and putting in place a general method for the future might not be easily resolved.  Locally I'm returning either a pair or a triple depending on the confidence parameter.

@free-variation if there's no objections, lets go with the following?
def predict(self, features, return_conf=False):
    ...
    # Do a secondary alphabetic sort, for stability.
    best_label = max(self.classes, key=lambda label: (scores[label], label))
    # Compute the confidence.
    conf = max(self._softmax(scores)) if return_conf else None

    return best_label, conf

And then in tag() and train():
tag, conf = self.model.predict(features)

That'll change the return type of predict() but at least we keep it consistent =)

Thanks @alvations.  What does tag() return, in that case?  The original motivation here is to have tag() optionally return the multinomial probs.

@alvations see updated version.  There are a couple of differences:

Depending on the return_conf parameter, tag() returns either a list of pairs or a list of triples.  This way clients won't break.
For my particular use case, I need to turn off the tagdict optimization in tag(), which looks up category-"unambiguous" words for their POS value in a table, stored with the model at training time.  This is an obvious and necessary optimization, but for the sort of semi-supervised training I'm working on it needs to be turned off.

Thanks.

[CI: retest]

@alvations or @purificant: Are you happy for me to merge this?

I've long given up on this -- the pace of response is glacial.  Switching to spaCy.

Sorry about that @free-variation

[CI: retest]

Sorry about the slow replies @free-variation =)
@stevenbird LGTM.


Consolidate objects into one file

Uhh could you please also fix the documentation for this.
~also the tests broke, just fix the pytests~

Works great!

Works


Null ref exception in MSTest 2.2.4+ for tests specified in a f-sharp module in top level namespace

The following works fine with 2.2.3:
module TestProject1

open System
open Microsoft.VisualStudio.TestTools.UnitTesting

[<TestClass>]
type TestClass () =

    [<TestMethod>]
    member this.TestMethodPassing () =
        Assert.IsTrue(true);

With MSTest 2.2.4 or 2.2.5, I get the following when running the test:
PS C:\Users\souellet\source\repos\TestProject1> dotnet test
  Determining projects to restore...
  All projects are up-to-date for restore.
  TestProject1 -> C:\Users\souellet\source\repos\TestProject1\bin\Debug\net5.0\TestProject1.dll
Test run for C:\Users\souellet\source\repos\TestProject1\bin\Debug\net5.0\TestProject1.dll (.NETCoreApp,Version=v5.0)
Microsoft (R) Test Execution Command Line Tool Version 16.11.0
Copyright (c) Microsoft Corporation.  All rights reserved.

Starting test execution, please wait...
A total of 1 test files matched the specified pattern.
[MSTest][Discovery][C:\Users\souellet\source\repos\TestProject1\bin\Debug\net5.0\TestProject1.dll] MSTestAdapter failed to discover tests in class 'TestProject1+TestClass' of assembly 'C:\Users\souellet\source\repos\TestProject1\bin\Debug\net5.0\TestProject1.dll' because Object reference not set to an instance of an object..
No test is available in C:\Users\souellet\source\repos\TestProject1\bin\Debug\net5.0\TestProject1.dll. Make sure that test discoverer & executors are registered and platform & framework version settings are appropriate and try again.

PS C:\Users\souellet\source\repos\TestProject1>

Workaround:
replace "module TestProject1" with "module x.TestProject1"
Visual Studio 16.11.1
dotnet --info says:
.NET SDK (reflecting any global.json):
 Version:   5.0.400
 Commit:    d61950f9bf

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.18363
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\5.0.400\

Host (useful for support):
  Version: 5.0.9
  Commit:  208e377a53

I see this is a dup of issue #889, sorry


How does it possible to get value of point by click? Not data of whole chart.

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link
https://codepen.io/mostopalove/pen/XWMEwLV
Steps to reproduce

Click on some point of chart
Expected result: You received data of point
Actual result: You received data of whole chart

Environment
Info

g2
4.1.17

System
-

Browser
-

对于线图，每一个 element 对应的是一条线，如果确实要选中点，可以额外加一个 point geometry，然后监听事件 point:click。


Errors when body is empty

If a message has no body then the message properties are not fetched.
This worked in a previous vesion.
"<16:03:29> Exception: The item argument cannot be null."
is seen in the log window if the message is double clicked on.

I have downloaded the source debugged it and tracked down how to "fix" it for us.
File $\src\ServiceBusExplorer\Helpers\JsonSerializerHelper.cs function
Function JsonSerializerHelper.IsJson at line 114
If I replace
throw new ArgumentException("The item argument cannot be null.");"

with
return false;

With this change SBE functions as it previously did with messages that have no body.

@MikeWilliams-UK sounds like a bug. Could you raise a PR and add a test to JsonSerializerHelperTest? Thank you.

Just forked the repo, going to fix and submit pr, hopefully sometime today.

Fixed via https://github.com/paolosalvatori/ServiceBusExplorer/commit/4706ba915ae70f1246772fca4702c88996c603c7


[Programming question]: Making presentation files

Is there a Python library that can generation open document presentation (odp) files?
git-bob answer

Assume, I have a list of dictionaries. Each dictionary has the entries "title" and "content". Title is a string and content is a list of strings. Write python code that goes through this data structure creating a new ODP slide for each entry in the list. The slides contain the given title, and the content is shown in columns on the slide. E.g. if this data structure is given:
[{"title":"headline",
"content":["A", "B", "C"]
},{"title":"headline",
"content":["D", "E", "F"]
}]

Will be turned into two slides, both with title "headline". The first slide has three text boxes side-by-side with "A", "B" and "C" as text. The second slide looks the same but with "D", "E", "F" as texts.
git-bob comment Python code that generates this slide deck and saves it as "test.odf".

I just installed the package. git-bob try this again

There is an error in the notebook:
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
Cell In[3], line 6
      1 test_slides = [
      2     {"title": "headline", "content": ["A", "B", "C"]},
      3     {"title": "headline", "content": ["D", "E", "F"]}
      4 ]
----> 6 create_presentation(test_slides, "example_slides.odp")

Cell In[2], line 5, in create_presentation(slides_data, filename)
      2 presentation = OpenDocumentPresentation()
      4 for slide_data in slides_data:
----> 5     slide = Page()
      6     presentation.presentation.addElement(slide)
      8     # Add title

File /opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/site-packages/odf/draw.py:156, in Page(**args)
    155 def Page(**args):
--> 156     return Element(qname = (DRAWNS,'page'), **args)

File /opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/site-packages/odf/element.py:391, in Element.__init__(self, attributes, text, cdata, qname, qattributes, check_grammar, **args)
    389 for r in required:
    390     if self.getAttrNS(r[0],r[1]) is None:
--> 391         raise AttributeError( "Required attribute missing: %s in <%s>" % (r[1].lower().replace('-',''), self.tagName))

AttributeError: Required attribute missing: masterpagename in <draw:page>

git-bob try to fix the error.

The error is still the same. git-bob ask claude to fix the error.

git-bob ask claude to try to fix the error


Expand "." to the more informative absolute path

I expected the message to report the absolute path, not "."
➜  docker git:(master) ./pacta/build_with_tag.sh 00
'00' already exists in .

where does $this_repo even come from in these lines?
https://github.com/2DegreesInvesting/docker/blob/ad010071023eea71b5121d75a31281d89fb7f7bb/pacta/build_with_tag.sh#L47-L55

oh, I missed the . following $this_repo... so because $this_repo is nothing, we just see the dot at the end

@maurolepore would putting this_repo="$(basename git rev-parse --show-toplevel)" at L47 solve this problem? It should resolve to "docker" if I understand correctly.

@maurolepore would putting this_repo="$(basename git rev-parse --show-toplevel)" at L47 solve this problem? It should resolve to "docker" if I understand correctly.

Thanks! It worked beautifully. And indeed, $this_repo was undefined.

Thanks! It worked beautifully. And indeed, $this_repo was undefined.


add help button in home page

Fixes Issue
Closes #2281
Changes proposed

Added a new help button on the index page. It links to discussions in linkfree repo
Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[ ] My change requires changes to the documentation.
[ ] I have updated the documentation accordingly.
[ ] All new and existing tests passed.
[ ] This PR does not contain plagiarized content.
[ ] The title of my pull request is a short description of the requested changes.

Screenshots

Note to reviewers

Thank you for your contribution 👍

Thank you for your contribution 👍

Thanks @eddiejaoude


Why do we need delete network profile manually? can we delete network profile from portal?

[Why do we need to manually delete the network profile from azure cli? if I didn't create it from portal when I create the container group?
And even if there is this manual deletion step, can we delete the network profile from portal instead of Azure cli? it doesn't make sense I cannot find this resource from portal.]

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

ID: a13a0908-28e0-f9f7-c6c7-301fcd187560
Version Independent ID: 53a53bcf-585d-94bb-4937-e0fa4c01e415
Content: Cannot delete a virtual network in Azure
Content Source: articles/virtual-network/virtual-network-troubleshoot-cannot-delete-vnet.md
Service: virtual-network
GitHub Login: @chadmath
Microsoft Alias: genli

@lissff , thank you for your question. We'll review this and get back to you shortly.

@lissff , A network profile is a network configuration template for Azure resources. It specifies certain network properties for the resource, for example, the subnet into which it should be deployed. When you first deploy a container group to a subnet (and thus a virtual network), Azure automatically creates a network profile for you. And since this is an ancillary resource created/managed by Azure infrastructure, the Portal does not display these resources by default.
However as mentioned here, you can try to select "Show hidden types" option in Azure portal within your Resource group after refreshing the page and check for the "microsoft.network/networkprofile" resource type to delete it from Azure portal.
Sometimes, the portal may not be helpful as the resource may have been partially deleted (which happens when you try to delete something but the deletion process gets stuck half way through due to some internal error) and this results in disappearance of the resource from the portal UI. So we advise to try Azure CLI next.
We are closing this issue for now. If there are further questions regarding this matter, please reply and we will gladly continue the discussion.

I have exactly the same problem.
Can't delete or move a VNet due to a Network Profile left over from a deleted Container Instance.
There is no way to manually delete the Network Profile itself.
It says it is in use by a container network interface.
Such Interface does not exist.


add Windows support for capture-stream

This PR adds Windows support for capture-stream.
Closes #191

I really hope we can see this in a release soon!
CC @Wojtek242

Thanks for the PR @Freax13! I appreciate it and apologies for the delay in responding. I only check in every few months given where this project is at.
This looks like a good PR and would ultimately want to see it merged. The CI however fails as the newer windows-sys crate version no longer works with our MSRV.
With that said, the stream feature was never required to work on the MSRV due to there being no chance for that ever happening with a dependency on tokio. Do you think it would be possible to hide the newer windows-sys dependency behind the stream feature flag? That way pcap with no features would still work on MSRV and the stream feature could work on a newer rustc version.

I would also appreciate some tests for the new feature. I don't work on Windows so I can't even test this manually. I would be willing to relax the MSRV if you could instead provide some unit tests for this MR.

Thanks for the PR @Freax13! I appreciate it and apologies for the delay in responding. I only check in every few months given where this project is at.
This looks like a good PR and would ultimately want to see it merged. The CI however fails as the newer windows-sys crate version no longer works with our MSRV.
With that said, the stream feature was never required to work on the MSRV due to there being no chance for that ever happening with a dependency on tokio. Do you think it would be possible to hide the newer windows-sys dependency behind the stream feature flag? That way pcap with no features would still work on MSRV and the stream feature could work on a newer rustc version.

I reverted the windows-sys bump and inlined the one constant (INFINITE) I needed from the newer version.

I would also appreciate some tests for the new feature. I don't work on Windows so I can't even test this manually. I would be willing to relax the MSRV if you could instead provide some unit tests for this MR.

While I understand the desire for unit tests, I'm not sure how we'd implement them. My main concerns are false positive errors with missing permissions and that I'm not sure how we could generate traffic on a known device. I assume those are also the reasons, this crate currently doesn't have unit tests for active devices (except for tap_tests.rs, but AFAICT those tests aren't run in CI).

1f53e0c419c6e70aac37a1ef9a8531845b96a418 broke CI on Windows. This should be fixed by a99e9ccb0a199459261ff79ef16b110fa44487a7.

Brilliant, thanks for the PR and addressing the MSRV issues! I can't test if this works, but I trust you guys tested it.
I will push to crates.io tonight or within the next few days.


Segmentation fault

This error I cannot reproduce it recently,
content-type missing in HTTP POST, defaulting to application/x-www-form-urlencoded. Use QNetworkRequest::setHeader() to fix this problem.
2016-04-17 06:16:39.376180 [-] "<IP_ADDRESS>" - - [16/Apr/2016:22:16:39 +0000] "GET / HTTP/1.0" 200 7350 "-" "-"
Segmentation fault

@genius001 any suggestions about how to reproduce it?

I'm having the same problem. I also cant reproduce it (I tried running the exact same queries with no luck). It only happened twice for 0.25M requests.
content-type missing in HTTP POST, defaulting to application/x-www-form-urlencoded.  Is it patched 2.2.1?

Yes. But the first time I experimented it I was on the PyPI's version 2.2.1.

Here's a snippet of the output. Is strange, because I'm not specifying method (so it defaults to GET), yet the error talks about a POST (I don't know around which part it's rising).
2016-10-31 17:24:04.927548 [-] "<IP_ADDRESS>" - - [31/Oct/2016:16:24:04 +0000] "POST /render.json HTTP/1.1" 200 142514 "-" "python-requests/2.11.1"
2016-10-31 17:24:06.191667 [events] {"load": [1.67, 1.37, 1.04], "client_ip": "<IP_ADDRESS>", "qsize": 0, "timestamp":<PHONE_NUMBER>, "args": {"timeout": 60, "script": 1, "url": "##############", "jpeg": 0, "html": 1, "proxy": "socks5://localhost:9050", "har": 1, "wait": 0.5, "uid":<PHONE_NUMBER>83736}, "maxrss": 564232, "active": 13, "path": "/render.json", "user-agent": "python-requests/2.11.1", "fds": 133, "status_code": 200, "rendertime": 4.780116081237793, "_id":<PHONE_NUMBER>83736, "method": "POST"}

Also, here's the start up info:
2016-10-31 18:23:01+0100 [-] Log opened.
2016-10-31 18:23:01.029157 [-] Splash version: 2.2.1
2016-10-31 18:23:01.029859 [-] Qt 5.5.1, PyQt 5.5.1, WebKit 538.1, sip 4.18.1, Twisted 16.2.0, Lua 5.2
2016-10-31 18:23:01.029966 [-] Python 2.7.12 (default, Jul  1 2016, 15:12:24) [GCC 5.4.0 20160609]
2016-10-31 18:23:01.030063 [-] Open files limit: 1024
2016-10-31 18:23:01.030152 [-] Open files limit increased from 1024 to 65536
2016-10-31 18:23:01.135419 [-] Xvfb is started: ['Xvfb', ':2', '-screen', '0', '1024x768x24']
2016-10-31 18:23:01.300781 [-] verbosity=1
2016-10-31 18:23:01.300898 [-] slots=50
2016-10-31 18:23:01.300997 [-] argument_cache_max_entries=500
2016-10-31 18:23:01.301473 [-] Web UI: enabled, Lua: enabled (sandbox: enabled)
2016-10-31 18:23:01.302406 [-] Site starting on 8050
2016-10-31 18:23:01.302533 [-] Starting factory <twisted.web.server.Site instance at 0x7f385c126758>

Have any of you seen this issue again recently?

@Gallaecio The problem of segmentation faults is still appearing, see #1076

Hello, I'm able to reproduce the issue using this link: http://topjobs.ch/de/jobs/7326010/. Can be reproduced only for non existing jobs on this website.
Unfortunately don't have enough time to try different versions of QT / Webkit.
Splash version 3.4.1, running in docker.

Hello, I'm able to reproduce the issue using this link: http://topjobs.ch/de/jobs/7326010/. Can be reproduced only for non existing jobs on this website.
Unfortunately don't have enough time to try different versions of QT / Webkit.
Splash version 3.4.1, running in docker.


Decode embedded base64 encoded CQL from within Library resources

Decode embedded base64 encoded CQL from within Library resources.
Fix issue with R4 Library not having related artifact resources as canonical instead of references.

This change goes with the CDS Library and CRD changes to support base64 encoded CQL in the FHIR Library.


Evaluate alternate logging libraries structlog and loguru

It was decided to build Selva's own logging system based on the structured logging pattern, wrapping the standard library logging library


Make relative_cover() relative to site max coral cover area (k) instead of total site area

# Change:
dropdims(sum(X, dims=:species), dims=:species)

# To:
dropdims(sum(X, dims=:species), dims=:species) * (site_area * k)

where X are the raw results

Closed by #241 (f4da073)


splitBoundaries() + normalizeBoundaries() changes selection

Consider the following snippet:
var range = rangy.deserializeRange(serializedRange, rootNode);
range.splitBoundaries();
// work with splitted nodes (but don't change the DOM)
range.normalizeBoundaries();

If  splitBoundaries() and normalizeBoundaries() are used like this and range intersects with the current selection (or it is the current selection), then the current selection is modified (here with Chrome).
The workaround mentioned in #93 does not work anymore (probably because the range object in the workaround seems to be modified). Maybe this is related to #279.
Any ideas?

splitBoundaries() and normalizeBoundaries() do change the DOM so if the range in question overlaps with the selection then it can affect it. Rangy provides several ways to save and restore a selection; the most reliable here would probably by the selection save and restore module, provided the extra marker elements that it adds temporarily don't get in your way.

Unfortunately, I cannot allow rangy to manipulate the DOM in my application (because I temporarily change it myself). As mentioned in #279, I tried to use selection.saveRanges() and selection.restoreRanges() but they don't work when the DOM is manipulated.
As a workaround I currently use:
var currentSelection = rangy.serializeSelection(rangy.getSelection(), true);

// call splitBoundaries(), do some work and then call normalizeBoundaries()

if (currentSelection) {
  rangy.deserializeSelection(currentSelection);
}

That's probably the best workaround if you're sure the structure of the DOM will be identical before and after your changes.

OK, thanks! (the DOM is identical before/after)


Fix shape mismatch error in CatCMA sampler when handling categorical …

Motivation
Problem:
When using the CatCMA sampler in Optuna with categorical parameters, a shape mismatch error occurs during the optimization process. This error prevents the sampler from functioning correctly, hindering the hyperparameter optimization workflow.
Error Details:
ValueError: operands could not be broadcast together with shapes (10,33) (6,11) This error arises from the attempt to perform element-wise operations on arrays with incompatible shapes within the CatCMA optimizer. Specifically, the categorical parameters are encoded as ragged arrays (arrays of varying lengths), leading to broadcasting issues.

Root Cause:
The categorical parameters are being one-hot encoded with differing lengths based on the number of choices per categorical variable. When these ragged arrays are converted to NumPy arrays with dtype=object, they lose their uniform shape, causing mismatches during optimizer computations.
Description of the changes
To resolve the shape mismatch, ensure that all categorical parameters are encoded into fixed-size, flat arrays. This can be achieved by concatenating all one-hot encoded vectors into a single flat array with a consistent length across all trials. Here's how to implement this:
Calculate Total Categories: Determine the total number of categories across all categorical variables to establish a fixed size for the concatenated array.
total_categories = sum(len(space.choices) for space in categorical_search_space.values()) Encode Categorical Parameters: Replace the ragged array encoding with a flat array approach, ensuring each c has the same shape.

for t in solution_trials[:popsize]:
    assert t.value is not None, "completed trials must have a value"
    # Convert numerical parameters
    x = trans.transform({k: t.params[k] for k in numerical_search_space.keys()})

    # Initialize a flat array for all categorical parameters
    c = np.zeros(total_categories)
    offset = 0
    for k in categorical_search_space.keys():
        choices = categorical_search_space[k].choices
        v = t.params.get(k)
        if v is not None:
            index = choices.index(v)
            c[offset + index] = 1
        offset += len(choices)

    y = t.value if study.direction == StudyDirection.MINIMIZE else -t.value
    solutions.append(((x, c), y))

Impact of the Change:
Consistency: Ensures that all categorical parameter arrays have a consistent shape, eliminating broadcasting issues.
Compatibility: Aligns with the CatCMA optimizer's expectations, allowing seamless integration of categorical parameters.
Robustness: Prevents runtime errors related to array shape mismatches, enhancing the reliability of the optimization process.
Contributor Agreements

[x] I agree to the contributor agreements.

@HideakiImamura could you please have a look?

Thanks for the PR. It seems that the linter CI fails. Could you apply the linters as suggested here?


FindElement.Refresh stuck in infinite loop when setting a child's events source to the parent's

Describe the bug
If you set a control's events source to a parent's, the foreach loop in FindElement.Refresh() will get stuck in an infinite loop.

Steps to reproduce the bug
Try this code:
XAML:
<local:TestControl x:Name="CustomControl" AutomationProperties.Name="CustomControl">
                    <Button x:Name="Button1" Content="Button"/>
 </local:TestControl>

XAML.CS
namespace MUXControlsTestApp
{
    public sealed class TestControl : ContentControl
    {
        protected override AutomationPeer OnCreateAutomationPeer()
        {
            return new TestControlAutomationPeer(this);
        }
    }

    public sealed class TestControlAutomationPeer : FrameworkElementAutomationPeer
    {
        public TestControlAutomationPeer(TestControl owner) : base(owner){}
        protected override AutomationControlType GetAutomationControlTypeCore()
        {
            return AutomationControlType.Custom;
        }
    }

    [TopLevelTestPage(Name = "Expander")]
    public sealed partial class ExpanderPage : TestPage
    {
        public ExpanderPage()
        {
            this.InitializeComponent();
            var customControlPeer = FrameworkElementAutomationPeer.FromElement(CustomControl);
            var buttonPeer= FrameworkElementAutomationPeer.FromElement(Button1);

            buttonPeer.EventsSource = customControlPeer;
        }
    }
}

Expected behavior

Screenshots

Version Info

NuGet package version:

Windows app type:

UWP
Win32

Windows 10 version
Saw the problem?

Insider Build (xxxxx)

May 2020 Update (19041)

November 2019 Update (18363)

May 2019 Update (18362)

October 2018 Update (17763)

April 2018 Update (17134)

Fall Creators Update (16299)

Creators Update (15063)

Device form factor
Saw the problem?

Desktop

Xbox

Surface Hub

IoT

Additional context

@ejserna  Is this an issue with the test code in WinUI ?

@ranjeshj yes, this is an issue in the test infrastructure, in FindElement.cs.

I would like to look into this.

It seems that this is not an issue with the test infra, but rather the underlying framework/library that provides us with the UIObject objects. In the scenario described by @ejserna , the list of descendants seems to be infinite, at some point it keeps containing the same element over and over again. So the only efficient solution I can think of is save the previous element and break the for loop if the previous element is equal to the current item, does that sound reasonable as a workaround?

@chingucoding I think that's a good workaround.


what happend with my client ?

My client can not move the cursor, and when it  spectate repeatedly
vibration : http://sendvid.com/96iuiju1

You may be sending the wrong coordinates, encoding the packet wrongly, or forgetting to send the packet that moves your cells (packet with first index ([0]) as 16).
This handles the movement of the cells:
https://github.com/Barbosik/MultiOgar/blob/master/src/PacketHandler.js#L113

looks like you are using old protocol version 5, try to change version to 4

that client use for java :))


17 improvements for compress function using svd

This is still a complete version. @rittermarc

More systematic truncation for SVD. We estimate the truncation error from all the truncated singular values (like truncate in ITensors.jl).
We could either normalize the error or not.
Bug fixes in #17

@rittermarc
Shall we merge it now or do we need more tests?


Add content view syntax highlighting for JSON and msgpack

Description
Adds support for syntax highlighting in the mitmweb content view for JSON and msgpack bodies. Closes #5623
Visually speaking, they look identical in the content view, except msgpack supports a few types which JSON does not. These are left unhighlighted, but the formatting function should be easy to extend to cover these if desired.

Summary of changes:

Modified existing JSON token labelling function to distinguish keys from regular strings
Modified msgpack formatting function to add token labelling
Added stylesheet colours for msgpack and json colours

I just picked a few random colours that looked half-decent, but I haven't given too much thought to accessibility/colourblindness. Open to discussion on changing these.

Modified test_json.py and test_msgpack.py to test the output of the format function

Checklist

[x] I have updated tests where applicable.
[x] I have added an entry to the CHANGELOG.

re: pipeline failures -- unsure of what caused individual_coverage to fail, but it appears that  mypy is failing because of the msgpack formatting function not having an unconditional return.
I found this function quite difficult to put together, because it was recursive in nature but had to produce a list which sets the content in the view line-by-line. It was difficult to avoid nesting within the lines, particularly when the data contained nested lists/objects. To accomplish this, when the function 'bottoms out' on a basic property (int/string/bool/whatever), it just modifies a parameter 'output' array rather than returning. I'm sure someone else could propose a better way of writing this function, but that's what I ended upm with.
It might be possible to fix it by adding dummy return statements, whose values are never used, in each branch. But this feels like bad practice to me. Let me know if you have any suggestions on how best to address this.

Thanks for the review! I think my latest commits should address both of your comments.
One thing I have thought of which I'm not sure about, though, is whether msgpack dicts could have keys that are not strings. I have been making sample msgpack responses using ASP.NET and MessagePack-CSharp, which only allows you to set strings or ints as keys to an object (and when using ints, the response is interpreted as a list rather than a dict by mitmproxy). However I can't find anything in the MessagePack spec that restricts what type the keys in a map can be.
Currently, keys are rendered as "key" which works for the responses I was able to make with the aforementioned setup.

To clarify, that already affects the existing implementation? In this case I'd be happy to go ahead and merge this. If you want to investigate msgpack more closely that can be done in a separate PR.

No, it just might look a bit weird -- if it is indeed possible to have arbitrary types as keys it might render like this for a boolean key:
{
    "true": 1
}

i.e. the current code assumes keys are strings and so surrounds them with double quotes (as repr(key) produces the single quotes that got me started on these msgpack formatting changes :P ). Not even sure what the desired behaviour in that case would be, so I think you're right that it's probably best left as a separate discussion.
Will make the code changes you requested shortly.

Awesome, thanks! 🍰


Update Dockerfile with socat

As the xmltv EPG parser accepts files via socat, it would be helpful to have socat included in the dockerfile. I have a script that downloads an EPG each night. currently I need to install socat after every restart to be able to feed TVHE the EPG file.
from my script:
cat /config/scripts/epg.xml | socat - UNIX-CONNECT:/config/epggrab/xmltv.sock

No, I didn't see that. I'll switch to testing. Thanks! And thanks for the image! Works well on my Synology NAS.


[MLIR] Adding int8 support and test to ConvMlirIgemmFwdXdlops solver

This PR enables ConvMlirIgemmFwdXdlops solver for int8 convolutions on following types:

int8 x int8 x int32
int8 x int8 x fp32

This PR made the below changes:

Bumped MLIR commit id to the latest, which has support for int8 convolution
Added IsInt8() call in problem description, making int8 have parallel support to other types

This help fix the "Unsupported data types configuration" warnings from mlo_dir_conv.cpp

Relaxed the restriction of non-gemm solver for in8 type in convolutionocl.cpp
Added a CastTensor kernel upon MLIR int8 invoker such that it allows non-int32 output type
Amended conv2d_test, such that all fwd convolutions are int8 enabled
Got rid of the conv2d_test requirement that a solver supporting int8 must also support int8x4

TODO: Add an independent int8x4 test option
Note: This does not decrease test coverage because all current int8 related testing does not test its functional validness. MLIR solver's int8 test is the first group of int8 testing with INT8_ENABLED flag.

CC: @atamazov

Thanks @jerryyin
Regarding to vector type interpretation inside MIOpen, there was a PR https://github.com/ROCmSoftwarePlatform/MIOpen/pull/1532 working on refactoring the vector type. I'll add @aska-0096 to review list in case some changes are needed here.

@carlushuang This PR added MLIR + int8 capability (with a focus on MLIR backend) and preserved all pre-existing int8x4 functionalities. In case anything needs to be done after #1532, it should be done in a separate PR, after #1532 merged.

CC: @JehandadKhan Not sure if you have noticed but looks like some permission related issue is coming up for ccache (refer to here):

{"message":"Resource protected by organization SAML enforcement. You must grant your Personal Access token access to this organization.","documentation_url":"https://docs.github.com/articles/authenticating-to-a-github-organization-with-saml-single-sign-on/"}

CC: @JehandadKhan Not sure if you have noticed but looks like some permission related issue is coming up for ccache (refer to here):

{"message":"Resource protected by organization SAML enforcement. You must grant your Personal Access token access to this organization.","documentation_url":"https://docs.github.com/articles/authenticating-to-a-github-organization-with-saml-single-sign-on/"}

CI pipeline restarted ...


clear running terminal

I am mostly logging some console output to terminal / splitted terminals (for reading raw HTML output instead of reloading a browser every time for example - and many other strings), but while this i cannot clear the terminal buffer. I must always scroll line for line and search for beginning of my last output when doing an new output. So it would be very very nice if i could clear / reset the terminal simply without killing it :)
Were great if it can be added as per click 💯
Would be useful for splitted terminals in separate manner.
Thank you

You can clear the terminal with cmd+k on mac and ctrl+k on Windows. Also on mac there are default keybindings for jumping to the last command run (cmd+up). You can set this up on other platforms with a keybinding like this:
{ "key": "ctrl+up",               "command": "workbench.action.terminal.scrollToPreviousCommand",
                                     "when": "terminalFocus" },

Thank you very much for your unbelievable fast response 👍
but keybindings as only way are a little bit limited.
They will often be used by extensions and one must permanently check for all needed bindings :/
For me, in this case, an extension with bindings for CTRL+ K, H blocked it but itself doesn't react on CTRL+ K ? Is it a bug? While thinking about - i have had this every time installing this extension the last 1 - 2 years. (tht13.html-preview-vscode)
Clearing is one of most needed options and there is nothing similar at terminal tab.
I understand its a little bit tricky because the split-mode.

@BenDietze ctrl+k is a special keybinding because of the chord keybindings, if this broke you can ready why and how to fix it on the FAQ https://code.visualstudio.com/docs/editor/integrated-terminal#_common-questions