Where is the Test scripts folder?

Can't find the test scripts folder mentioned in the documentation. And there is no Test.sql file.

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

ID: c697524f-08a8-b961-a673-d93a92e7a13a
Version Independent ID: b16d93e1-709f-e7b5-2928-9e12d2756cf8
Content: Debugging CLR Database Objects - SQL Server
Content Source: docs/relational-databases/clr-integration/debugging-clr-database-objects.md
Product: sql
Technology: clr
GitHub Login: @rothja
Microsoft Alias: jroth

@WilliamAntonRohm I'm sorry, but the documentation says there are folders and files in a CLR stored procedure project that don't get created by Visual Sudio 2019's new item template. So this issue is not a coding issue for Stack Exchange/Overflow. I believe the documentation is wrong.

@cosmoKenney -- Ken, thank you for clarifying.
@rothja -- Jason, please look into this issue.

@cosmoKenney I agree the documentation needs work here. Sorry for the confusion. I think it was written for previous versions of Visual Studio and no longer behaves the same in current versions. I will try to see what the new process should be. Thanks for your patience.

@cosmoKenney I'm still trying to find the correct steps for updating the doc. Were you able to find a way to accomplish this with community threads/blogs online?  Thanks!

@rothja
uh, i've gotten past this issue. But I don't recall exactly how. I think I changed a setting in the project that explicitly set the test sql script. Which enabled me to do normal F5 debugging.

@cosmoKenney Yes, sorry for the long delay and for having to find the answer yourself. I would still like to find a better update for the doc to avoid the confusion. I'll be looking into this more, but I'm glad you're not blocked. Thank you!

@cosmoKenney Thanks for your patience. Here are the updated steps that I'm adding to the article today. I hope this helps. Thanks!
Debugging steps
Use the following steps to debug a CLR database object in Microsoft Visual Studio:

Open Microsoft Visual Studio, and create a new SQL Server project. You can use the SQL LocalDB instance that comes with Visual Studio.

Create a new SQL CLR type (C#):

In Solution Explorer, right-click the project, and select Add, New Item....
From the Add New Item window, select SQL CLR C# Stored Procedure, SQL CLR C# User-Defined Function, SQL CLR C# User-Defined Type, SQL CLR C# Trigger, SQL CLR C# Aggregate, or Class.
Specify a name for the source file of the new type, and then select Add.

Add code for the new type to the text editor. For sample code for an example stored procedure, see the following Example section in this article.

Add a script that tests the type:

In Solution Explorer, right-click on the project node and select Add, Script....
In the Add New Item window, select Script (Not in build), and specify a name, such as Test.sql. Select the Add button.
In Solution Explorer, double-click the Test.sql node to open the default test script source file.
Add the test script (one that invokes the code to be debugged) to the text editor. See the example in the next section for a sample script.

Place one or more breakpoints in the source code. Right-click on a line of code in the text editor on the function or routine that you want to debug. Select Breakpoint, Insert Breakpoint. The breakpoint is added, highlighting the line of code in red.

In the Debug menu, select Start Debugging to compile, deploy, and test the project. The test script in Test.sql is run, and the managed database object is invoked.

When the yellow arrow (designating the instruction pointer) appears at the breakpoint, code execution pauses. You can then debug your managed database object:

Use Step Over from the Debug menu to advance the instruction pointer to the next line of code.
Use the Locals window to observe the state of the objects currently highlighted by the instruction pointer.
Add variables to the Watch window. You can observe the state of watched variables throughout the debugging session, even when the variable is not at the line of code currently highlighted by the instruction pointer.
Select Continue from the Debug menu to advance the instruction pointer to the next breakpoint or to complete execution of the routine if there are no more breakpoints.


Update build.template

repo.Revision is deprecated, suggested change to repo.Commit implemented.

sounds good. thanks.


Assisted (automatic?) generation of seccomp policies

In order to avoid having to manually write whitelist seccomp policies for every application you use -- it would be nice to have something like run the application one time through to do a sandboxing generation policy.  It could be something like running strace and parsing the output into a seccomp policy file.

Hi Fuzion24, we have already implemented this -- though it's a little basic and we plan to improve it further. Try this:
oz-seccomp-tracer -train -output /tmp/ls-whitelist.seccomp /bin/ls
Note the strace-style output to stderr, that's us, not strace..
This is in fact how we generate our whitelists. We then tweak them by turning off seccomp whitelist enforcement and watching the logs for seccomp hits. See here:
https://github.com/subgraph/oz/wiki/Oz-Seccomp-Non-Enforcement-Mode

very cool. thanks for the explanation. keep up the good work. subgraph is looking pretty good =D

thanks, still lots to do..


Fix unresolved references

Running XDM through jsonschema2md discovers a couple of unresolved references. Generally this is where links in a property declaration or array item declaration have been made to a type's definitions object, not to the type itself.
This includes:

Language Alternative
Copyright
Resource Event
Font
Personname

See https://github.com/adobe/xdm/blob/jsonschema2md-example/docs/reference/assets/asset.schema.md#xmprightsusageterms-type for an example (no type name)


chore(ci): report test results to codecov

To help identify slow/flaky tests. Example output here: https://app.codecov.io/gh/crenshaw-dev/promoter/tests/main

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

Project coverage is 54.57%. Comparing base (5c5b217) to head (2c5c71e).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #95      +/-   ##
==========================================
- Coverage   54.97%   54.57%   -0.40%
==========================================
  Files          10       10
  Lines        1146     1147       +1
==========================================
- Hits          630      626       -4
- Misses        437      443       +6
+ Partials       79       78       -1

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


Spice kernel manager

a files system based manager to find the latest spice kernels
open

[x] documentation
[x] write latest kernels to environment variable
[x] syncing with GFTS

will fix: https://github.com/i4Ds/STIXCore/issues/123

Codecov Report

Merging #134 (e02a82d) into master (79adbff) will increase coverage by 0.09%.
The diff coverage is 93.33%.

@@            Coverage Diff             @@
##           master     #134      +/-   ##
==========================================
+ Coverage   81.44%   81.53%   +0.09%
==========================================
  Files          47       47
  Lines        4101     4138      +37
==========================================
+ Hits         3340     3374      +34
- Misses        761      764       +3

Impacted Files
Coverage Δ

stixcore/time/datetime.py
91.72% <ø> (ø)

stixcore/ephemeris/manager.py
90.27% <93.02%> (+0.46%)
:arrow_up:

stixcore/data/test.py
100.00% <100.00%> (ø)

stixcore/tmtc/parameter.py
90.42% <100.00%> (ø)

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 79adbff...e02a82d. Read the comment docs.


Consistent look and feel of ui nodes

Hi guys,
Currently the ui nodes have a different look (i.e. color and icon position):

I assume that was not the intention, and simply a result of this library growing fast...
I can create a PR, if somebody could let me know what the preffered look and feel is.
Bart

The color of e.g. the ui-button node looks good to me (imho), and for the icons I think it is best if we follow the guidelines in the documentation.

I can create a PR, if somebody could let me know what the preffered look and feel is.

I have changed the alignments according to the documentation (see previous post) and changed all colors to light:

Although my belly tells me that the ui_base colors (light, dark, darkest, ...) exist for a reason.
So not sure if it is ok that I have changed all colors to light?


Armor Stand pose shifts even if it shouldn't

General Info

[ ] I am running a modpack
[X] I can reproduce this issue consistently in single-player
[X] I can reproduce this issue consistently in multi-player
[X] I have searched for this issue previously and it was either (1) not previously reported, or (2) previously fixed and I am having the same problem.
[ ] I am crashing and can provide my crash report(s)
[X] I am using the latest version of the mod

Loader version
fabric-loader-0.15.7-1.20.4
Minecraft version
1.20.4
Mod version
4.1.1
Java version
Java 8 Update 401
Issue Description
Steps to reproduce:

Take an Armor Stand
(Optional) For better visuality but some armor on it

Change any setting (event the ones that don't modify the position, like "Name Visible")

Result: And the pose changes in a way you didn't input

Additional Information
No response

This is still present in the latest version "ArmorPoser-fabric-1.21-6.0.6
https://github.com/user-attachments/assets/250ac689-7bf6-49a3-8fd3-4690dc15c544
It affects all actions that can be done with the mod.

Found the problem and fixed it


Dubbing access

Thank you for this project! I added in some dubbing functionality, since it's been launched for all price tiers in May

feat: dubbing access; upload, asynchronous partial download, & transcriptions
feat: dubbing unit test on the sample audio file. confirmed for videos too, you just might need to enable the watermark depending on your price tier
refactor: upgrade to net8.0
refactor: treat warnings as errors set to false for sharing with other people's setups

Thanks @austinbhale! I'll check it out shortly.
Only initial feedback is to revert back to .net6. I wanted to keep support for that until it reaches EOL

Also please check your tab settings. Should be 4 spaces.

Please revert all changes to .csproj files

Please revert all changes to .csproj files

Could we keep the added net8.0 framework though? I can revert the treat warnings as errors as well

Could we keep the added net8.0 framework though?

It will automatically be supported with net6.0 reference.

I gotcha, keeping it compatible for net8.0 like that sounds good. Just wanted to take advantage of perf updates to the CLR, but prob no noticeable difference here

One more thing is I'll make a test for an online URL since that's supposed to work too

Ok it works for online content too! I should be done making changes until your testing & review :) Feel free to edit anything & swap out the YouTube video, I just chose theirs randomly

looks great. My only real Change Request is to make any return types from StartDubbingAsync a defined object

Thanks for the suggestion! I think that looks much cleaner for deserialization too

Hi! Any updates on integrating this?

Sorry been a bit busy. Working on some other edits as well but got overloaded with work.
Overall looks good and I'll get this in as soon as I finish up adding the other endpoints for sfx

Awesome, looking forward to trying those out. No rush, can use a private NuGet till then. Thanks!

@austinbhale You didn't give me edit access to your PR so I wasn't able to sync it with development, so I merged it into a new branch and opened a new PR #50


Fix spacing between multiple @_spi(...) attributes.

This is a companion to https://github.com/apple/swift-format/pull/501, which tweaks the breaking behavior for import decls (and also fixes this existing mis-styling).

https://github.com/apple/swift-format/pull/501
@swift-ci please test


Issue: U+00a0 everywhere in downloaded markdown?

Is there a way that you can use to "ban" use of nbsp in final markdown :)
It destroys some articles and what is worse is when an article contains some code snippet and the tool you use chokes on 00a0
The only way to fix is to fire up vscode
Thanks

No longer use this


Retrieve Shruggie's lost limbs

No merge conflict in this PR :)

I like him with the bung arms :(

The underscores are making his face italic.


Generate ptp4l/phc2sys process status metrics and events

linux ptpdaemon will be logging no of times ptp4l/phc2sys process dies and restarts.
The event framewortk will parse the logs for these messages and generate metrics
to capture process restart count and current status of the ptp4l/phc2sys process
Also send events when ptp4l/phc2sys is down, notificying subscribers on status of the ptp clock.
Signed-off-by: Aneesh Puttur<EMAIL_ADDRESS>

/lint

/test e2e-aws

/lgtm


Laurine's younger Sister - Image Generator [name pending]

Hello everyone,
I was thinking about making the same generator as Laurine for the image assets as well since the base is solid and resource generators that are available do not seem to do the job properly. It would work the same way, with similar options, through command-line or as build script - with a primary goal to generate nested result that you would use similarly as Laurine:
Localizations.Profile.Header vs Images.Profile.HeaderBar
There would also be a convenience to directly instantiate images (.image) or something similar, to get rid of UIImage(named: Images.Name) altogether.
What are your thoughts about that? Would you like something like this?
Have a great day,
Jiri

@JiriTrecak I think this could be very useful.

Not sure how useful could be, now that we have image literals


Filters occuring in subfields nolonger causes errors

@rcapshaw I'm a bit hesitant to push this directly to master as I know you are working on the next release and I don't know if this impacts anything for you.
If you have the opportunity and if it has no major impact for the release/you, can you please merge this before the release (to get rid of one more bug before the release). Else we can (hopefully) wait with this until after the release and hope no one actually uses the filtering feature on sub-fields :S

All the changes I needed to do for the release are in utils.py, so I have no issue merging this in!


Waivers in Automate: slice one [Customer can view the controls that have been exempted in a compliance scan report]

What problem are we solving?
Customers of InSpec want the capability to waive certain controls when running compliance reports. They want to do this because sometimes the controls do not necessarily apply to their current process. Users want to understand which controls have been waived and why.
To support this in the Automate UI we will show a control list showing which are waived.
Objective and Key Results

Objective
Key Results

Enhance InSpec report
User is able to see which controls are waived

Evidence

A handful of customers have requested this feature

Dependencies

Control that will be waived, End date, Optional text field for justification need to be provided from the InSpec dev team

Acceptance Criteria

display report with waived controls
show which controls were waived and why
TEST SCENARIO:

run a scan with a waiver, on the command line

send the report into automate
take a look at the report
ensure the excepted controls did not negatively affect report status
ensure the reasons the controls were excepted are visible

Out of Scope

Ability to waive controls within the Automate UI
Ability to search by waived controls

Open Questions
Aha! Link: https://chef.aha.io/epics/A2-E-148

@alexpop what are the cards we can cut for this epic now that we've done some discovery?  maybe a card for the es changes/migrations, a few for the api changes to return the waivers info, and more for filtering by waived status?  thoughts?  it would be awesome to have those cards written out before our next planning meeting on november 12th

ElasticSearch data model change, data migration and ingestion logic change

API changes to take into account the wavinging of controls, profiles and reports. These need to be paired with the matching UI changes in order to avoid showing inconsistent numbers.

Stats  Summary
Stats
Nodes Trend
Controls Trend
Control List
Nodes
Profiles
Reports

Regarding filtering,  are you thinking to filter for waived profiles or waived nodes? Probably worth creating just one card for now on this and breaking it down into multiple cards as we understand better the requirements and possibilities.

for the filtering part i was referring to the designs, where there are those little status filtering buttons above the table rows.
"need to be paired with the matching UI changes" <-- i think we can probably be flexible on this. we don't expect many ppl to be using the waivers yet, and can explain away inconsistencies for the few who are.  i don't wanna tie the backend work to the ui work unless the ui work will be done by superteam


Update README.md

I'm not sure why the tests are failing, changing the ReadMe shouldn't affect that?


Migration Cloud account

Derek to work with Marco on this

How is this coming along @derekteay ?

Just got a note from IBM today, it says:
Hello Josep,
Thank you for contacting us. I reviewed the account<EMAIL_ADDRESS>and found it's still a trial account. We can't move resource from your account to trial account.
Please contact IBM sales team to set up an enterprise for<EMAIL_ADDRESS>which will  allow you keep your account and also consuming the credits from the enterprise account.
Please see more information about enterprise account from below link.
https://mediacenter.ibm.com/media/t/1_hi08z2zm
https://cloud.ibm.com/docs/account?topic=account-enterprise-tutorial
Kind Regards,
IBM cloud support
I'm going to reach out to Ryan Johnson about this.

Ryan Johnson doesn't handle migration and doesn't have a suggested person on who to reach out to.
After review, I believe this is the best course of action - https://cloud.ibm.com/docs/account?topic=account-enterprise-tutorial#create_enterprise_tutorial
I can do this or Marco can do this, since I don't have the credentials to the account at the moment.
@mrodrise - do you want to perform this step? We can then update the case and get this moving, hopefully before the June 1st date.

We decided to recreate the resources in a new IBM Cloud account for Prometeo Platform.
The account has been created, and @mrodrise owns adding folks to it to help stand up a new version of the platform on Kubernetes with @lidderupk and @krook.
This is the proposed set of new consolidated services:
- Kubernetes cluster
    - WS Server Dockerfile
    - Find out if Node-RED runs on the cluster
    - Rules engine (if needed, can wrap the machine learning model)
    - Dashboard (Python dashboard)
- IoT Platform
- Watson Studio (and its dependecies)
- MySQL (keep in Compose)
- Cloudant

https://cloud.ibm.com/unifiedsupport/cases?number=CS1843744

created ticket on 06/10
updated with logs on 06/16

Contacted support on 06/16. They asked for the output of IBMCLOUD_TRACE=true ibmcloud target --cf. Sent them the following log for review on 06/16. Will contact for an update at the end of the week.
❯ IBMCLOUD_TRACE=true ibmcloud target --cf
❯ IBMCLOUD_TRACE=true ibmcloud target --cf

REQUEST: [2020-06-16T13:55:34-07:00]
GET /v2/regions HTTP/1.1
Host: mccp.us-south.cf.cloud.ibm.com
Accept: application/json
Accept-Language: en-US
Accept-Language: en
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/json
User-Agent: IBM Cloud CLI 1.0.0 / darwin

RESPONSE: [2020-06-16T13:55:35-07:00] Elapsed: 473ms
HTTP/1.1 200 OK
Transfer-Encoding: chunked
Access-Control-Allow-Headers: Content-Type
Access-Control-Allow-Methods: GET,OPTIONS,POST,DELETE,PUT,PATCH
Access-Control-Allow-Origin: undefined
Connection: Keep-Alive
Content-Type: application/json; charset=utf-8
Date: Tue, 16 Jun 2020 20:55:34 GMT
Etag: W/"1087-vIsEK8beghJKFWMkBwvZwt/f6s8"
X-Backside-Transport: OK OK
X-Global-Transaction-Id: 63cd456d5ee931c6d358c183
X-Ratelimit-Limit: 150
X-Ratelimit-Remaining: 147
X-Ratelimit-Reset:<PHONE_NUMBER>989

1087
[
  {
    "id": "ibm:yp:us-south",
    "domain": "ng.bluemix.net",
    "name": "us-south",
    "region": "us-south",
    "display_name": "Dallas",
    "customer": {
      "name": "ibm",
      "display_name": "IBM"
    },
    "deployment": {
      "name": "yp",
      "display_name": "Production"
    },
    "geo": {
      "name": "us-south",
      "display_name": "Dallas"
    },
    "public_regions_by_proximity": [
      "ibm:yp:us-south",
      "ibm:yp:us-east",
      "ibm:yp:eu-gb",
      "ibm:yp:eu-de",
      "ibm:yp:au-syd"
    ],
    "console_url": "https://console.bluemix.net",
    "cf_api": "https://api.us-south.cf.cloud.ibm.com",
    "mccp_api": "https://mccp.us-south.cf.cloud.ibm.com",
    "type": "public",
    "home": true,
    "aliases": [],
    "settings": {
      "devops": {
        "enabled": false
      }
    }
  },
  {
    "id": "ibm:yp:eu-de",
    "domain": "eu-de.bluemix.net",
    "name": "eu-de",
    "region": "eu-de",
    "display_name": "Frankfurt",
    "customer": {
      "name": "ibm",
      "display_name": "IBM"
    },
    "deployment": {
      "name": "yp",
      "display_name": "Production"
    },
    "geo": {
      "name": "eu-de",
      "display_name": "Frankfurt"
    },
    "public_regions_by_proximity": [
      "ibm:yp:eu-de",
      "ibm:yp:eu-gb",
      "ibm:yp:us-east",
      "ibm:yp:us-south",
      "ibm:yp:au-syd"
    ],
    "console_url": "https://console.bluemix.net",
    "cf_api": "https://api.eu-de.cf.cloud.ibm.com",
    "mccp_api": "https://mccp.eu-de.cf.cloud.ibm.com",
    "type": "public",
    "home": false,
    "aliases": [],
    "settings": {
      "devops": {
        "enabled": false
      }
    }
  },
  {
    "id": "ibm:yp:eu-gb",
    "domain": "eu-gb.bluemix.net",
    "name": "eu-gb",
    "region": "eu-gb",
    "display_name": "London",
    "customer": {
      "name": "ibm",
      "display_name": "IBM"
    },
    "deployment": {
      "name": "yp",
      "display_name": "Production"
    },
    "geo": {
      "name": "eu-gb",
      "display_name": "London"
    },
    "public_regions_by_proximity": [
      "ibm:yp:eu-gb",
      "ibm:yp:eu-de",
      "ibm:yp:us-east",
      "ibm:yp:us-south",
      "ibm:yp:au-syd"
    ],
    "console_url": "https://console.bluemix.net",
    "cf_api": "https://api.eu-gb.cf.cloud.ibm.com",
    "mccp_api": "https://mccp.eu-gb.cf.cloud.ibm.com",
    "type": "public",
    "home": false,
    "aliases": [],
    "settings": {
      "devops": {
        "enabled": false
      }
    }
  },
  {
    "id": "ibm:yp:au-syd",
    "domain": "au-syd.bluemix.net",
    "name": "au-syd",
    "region": "au-syd",
    "display_name": "Sydney",
    "customer": {
      "name": "ibm",
      "display_name": "IBM"
    },
    "deployment": {
      "name": "yp",
      "display_name": "Production"
    },
    "geo": {
      "name": "au-syd",
      "display_name": "Sydney"
    },
    "public_regions_by_proximity": [
      "ibm:yp:au-syd",
      "ibm:yp:us-south",
      "ibm:yp:us-east",
      "ibm:yp:eu-de",
      "ibm:yp:eu-gb"
    ],
    "console_url": "https://console.bluemix.net",
    "cf_api": "https://api.au-syd.bluemix.net",
    "mccp_api": "https://mccp.au-syd.cf.cloud.ibm.com",
    "type": "public",
    "home": false,
    "aliases": [],
    "settings": {
      "ccUrl": "https://api.au-syd.cf.cloud.ibm.com",
      "devops": {
        "enabled": false
      }
    }
  },
  {
    "id": "ibm:yp:us-east",
    "domain": "us-east.bluemix.net",
    "name": "us-east",
    "region": "us-east",
    "display_name": "Washington DC",
    "customer": {
      "name": "ibm",
      "display_name": "IBM"
    },
    "deployment": {
      "name": "yp",
      "display_name": "Production"
    },
    "geo": {
      "name": "us-east",
      "display_name": "Washington DC"
    },
    "public_regions_by_proximity": [
      "ibm:yp:us-east",
      "ibm:yp:us-south",
      "ibm:yp:eu-gb",
      "ibm:yp:eu-de",
      "ibm:yp:au-syd"
    ],
    "console_url": "https://console.bluemix.net",
    "cf_api": "https://api.us-east.cf.cloud.ibm.com",
    "mccp_api": "https://mccp.us-east.cf.cloud.ibm.com",
    "type": "public",
    "home": false,
    "aliases": [],
    "settings": {
      "devops": {
        "enabled": false
      }
    }
  }
]
0

REQUEST: [2020-06-16T13:55:35-07:00]
GET /api/v1-beta/environments HTTP/1.1
Host: admin.cfaas.cloud.ibm.com
Accept: application/json
Accept-Language: en-US
Accept-Language: en
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/json
User-Agent: IBM Cloud CLI 1.0.0 / darwin

RESPONSE: [2020-06-16T13:55:35-07:00] Elapsed: 442ms
HTTP/1.1 200 OK
Content-Length: 75
Connection: keep-alive
Content-Type: application/json
Date: Tue, 16 Jun 2020 20:55:35 GMT
Vary: Accept-Encoding
X-Content-Type-Options: nosniff
X-Gc-Instance-Id: kub--cfaas-us-south-prod--cf-admin-6fcd47b479-v8q6z
X-Global-Transaction-Id: a46d97398381096f105f175f7da74b17

{"offset":0,"limit":0,"total_count":0,"first":"","next":"","resources":[]}

REQUEST: [2020-06-16T13:55:35-07:00]
GET /v2/info HTTP/1.1
Host: api.us-south.cf.cloud.ibm.com
Accept: application/json
Accept-Language: en-US
Accept-Language: en
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/json
User-Agent: IBM Cloud CLI 1.0.0 / darwin

RESPONSE: [2020-06-16T13:55:35-07:00] Elapsed: 265ms
HTTP/1.1 200 OK
Transfer-Encoding: chunked
Connection: Keep-Alive
Content-Type: application/json;charset=utf-8
Date: Tue, 16 Jun 2020 20:55:35 GMT
Server: nginx
X-Backside-Transport: OK OK
X-Content-Type-Options: nosniff
X-Global-Transaction-Id: 291d64505ee931c7710237fd

267
{"name":"IBM Cloud","build":"v12.44.0","support":"http://ibm.biz/bluemix-supportinfo","version":0,"description":"IBM Bluemix","authorization_endpoint":"https://iam.cloud.ibm.com/cloudfoundry/login/us-south","token_endpoint":"https://uaa.us-south.cf.cloud.ibm.com","min_cli_version":null,"min_recommended_cli_version":null,"app_ssh_endpoint":"ssh.us-south.cf.cloud.ibm.com:2222","app_ssh_host_key_fingerprint":"c7:1f:89:2a:62:3b:78:a9:08:c9:33:81:fb:39:26:da","app_ssh_oauth_client":"ssh-proxy","doppler_logging_endpoint":"wss://doppler.us-south.cf.cloud.ibm.com:443","api_version":"2.147.0","osbapi_version":"2.15"}
0

REQUEST: [2020-06-16T13:55:35-07:00]
POST /cloudfoundry/login/us-south/oauth/token HTTP/1.1
Host: iam.cloud.ibm.com
Accept: application/json
Accept-Language: en-US
Accept-Language: en
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/x-www-form-urlencoded
User-Agent: IBM Cloud CLI 1.0.0 / darwin

grant_type=iam_token&iam_token=[PRIVATE DATA HIDDEN]&response_type=uaa&scope=

RESPONSE: [2020-06-16T13:55:36-07:00] Elapsed: 531ms
HTTP/1.1 403 Forbidden
Connection: close
Content-Length: 734
Content-Language: en-US
Content-Type: application/json
Date: Tue, 16 Jun 2020 20:55:36 GMT
Set-Cookie: sessioncookie=83eb7a8c0e7a0fa2c58ef7ab1f67f3e1; Path=/; Secure; HttpOnly
Transaction-Id: b8a45be280814e8f81825d0f5fc8f7dd

{"context":{"requestId":"b8a45be280814e8f81825d0f5fc8f7dd","requestType":"incoming.Cf_OAuth_Token","userAgent":"IBM Cloud CLI 1.0.0 / darwin","url":"https://iam.cloud.ibm.com","instanceId":"iamid-5.6-8068-cbef4dc-76cb8f5f79-sn49h","threadId":"20b5d8","host":"iamid-5.6-8068-cbef4dc-76cb8f5f79-sn49h","startTime":"16.06.2020 20:55:36:127 GMT","endTime":"01.01.1970 00:00:00:000 GMT","elapsedTime":"0","locale":"en_US","clusterName":"iam-id-prdal10-ljdb"},"errorCode":"BXNIM0204E","errorMessage":"No UAA user exists with the provided user name / IAM ID","errorDetails":"User name / IAM ID<EMAIL_ADDRESS>environment info: region 'us-south'","error":"forbidden","error_description":"BMXLS0201E: No such account"}

REQUEST: [2020-06-16T13:55:36-07:00]
POST /identity/token HTTP/1.1
Host: iam.cloud.ibm.com
Accept: application/json
Accept-Language: en-US
Accept-Language: en
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/x-www-form-urlencoded
User-Agent: IBM Cloud CLI 1.0.0 / darwin

grant_type=refresh_token&refresh_token=[PRIVATE DATA HIDDEN]&response_type=cloud_iam

RESPONSE: [2020-06-16T13:55:36-07:00] Elapsed: 410ms
HTTP/1.1 200 OK
Content-Length: 2332
Connection: keep-alive
Content-Language: en-US
Content-Type: application/json
Date: Tue, 16 Jun 2020 20:55:36 GMT
Set-Cookie: sessioncookie=67d486dd5681fa8962d6943d819689de; Path=/; Secure; HttpOnly
Transaction-Id: 1d2b5d64b15143cebeaeea7732cbcdae

{"access_token":"[PRIVATE DATA HIDDEN]","refresh_token":"[PRIVATE DATA HIDDEN]","ims_user_id":8312846,"token_type":"Bearer","expires_in":3600,"expiration":1592344533,"scope":"ibm openid"}

REQUEST: [2020-06-16T13:55:36-07:00]
POST /cloudfoundry/login/us-south/oauth/token HTTP/1.1
Host: iam.cloud.ibm.com
Accept: application/json
Accept-Language: en-US
Accept-Language: en
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/x-www-form-urlencoded
User-Agent: IBM Cloud CLI 1.0.0 / darwin

grant_type=iam_token&iam_token=[PRIVATE DATA HIDDEN]&response_type=uaa&scope=

RESPONSE: [2020-06-16T13:55:36-07:00] Elapsed: 231ms
HTTP/1.1 403 Forbidden
Connection: close
Content-Length: 734
Content-Language: en-US
Content-Type: application/json
Date: Tue, 16 Jun 2020 20:55:36 GMT
Set-Cookie: sessioncookie=a0e599d6f2c730f2f552a41c97434510; Path=/; Secure; HttpOnly
Transaction-Id: 90a99bb1e2b745afaf637d3221fee187

{"context":{"requestId":"90a99bb1e2b745afaf637d3221fee187","requestType":"incoming.Cf_OAuth_Token","userAgent":"IBM Cloud CLI 1.0.0 / darwin","url":"https://iam.cloud.ibm.com","instanceId":"iamid-5.6-8068-cbef4dc-76cb8f5f79-g5hww","threadId":"20f1df","host":"iamid-5.6-8068-cbef4dc-76cb8f5f79-g5hww","startTime":"16.06.2020 20:55:36:801 GMT","endTime":"01.01.1970 00:00:00:000 GMT","elapsedTime":"0","locale":"en_US","clusterName":"iam-id-prdal10-ljdb"},"errorCode":"BXNIM0204E","errorMessage":"No UAA user exists with the provided user name / IAM ID","errorDetails":"User name / IAM ID<EMAIL_ADDRESS>environment info: region 'us-south'","error":"forbidden","error_description":"BMXLS0201E: No such account"}
FAILED
Could not login to Cloud Foundry: Remote server error. Status code: 403, error code: forbidden, message: BMXLS0201E: No such account

Update from the support team on 06/22/2020
Hello,

My name is Anthony and I will be assisting you with this issue.

I have escalated this issue to our dev team, and am now standing by for a response from them. I attempted to push a fix for the issue, but the system hung up while trying to perform the fix, so we'll have to wait on dev for this one. Apologies.

Kind Regards,
Anthony S.
Revenue Support Enablement Team (RSET_

The problem has been fixed by IBM support on 06/25/20. I am able to target cf using the command line and @mrodrise is now able to create compose database.

This is underway. Cloud credits increased.

Done!


Feathers

Hi,
I've created a Feathers backend implementation at: https://github.com/randyscotsmithey/feathers-realworld-example-app.git.
This implementation depends on Node, Express, and MongoDB.
Everything works with the Postman collection and I've tested with the Elm frontend as well.
Includes a test suite with some tests implemented and others just stubbed out.

This looks awesome @randyscotsmithey I tried it out locally but having some issues:
npm i
docker run -p 27017:27017 mongo &
export MONGODB_FEATHERS_REALWORLD=mongodb://mongo:27017
npm start

info: mongodb://mongo:27017
info: Feathers application started on http://localhost:3030
error: Unhandled Rejection at: Promise  {"meta":[{},{"name":"MongoNetworkError","errorLabels":["TransientTransactionError"]}]}

And the API does not return (e.g. http://localhost:3030/api/articles), any ideas how to make this work?
Also, it would be great if you could setup some cloud CI service (Travis/Circle/Azure)!

Hi @anishkny,
Thanks for looking at this.
Try changing the export to:
export MONGODB_FEATHERS_REALWORLD=mongodb://<IP_ADDRESS>:27017/testdb
(where 'testdb' will be the database name and can actually be anything you want)
That seems to do the trick for connecting to the docker mongoDB.
Also, I added  a .travis.yml file and that seems to be working now, but Travis is new to me.

Yup worked for me. Sent a PR with new logo and some badges. Great work!
LGTM @Cameron-C-Chapman

This has been added to the README. Nice work @randyscotsmithey!


CB-18855: Add USD and CO2 cost calculation feature from HAC-413, and replace BanzaiCloud API with provider specific APIs

For the 2022 September Hackathon, @akanto @lnardai @doktoric @agov created a feature, to calculate the cost and carbon footprint of Environments, Datalakes and Datahubs: HAC-413
These features are currently not implemented for GCP. For GCP clusters, default 0 values are returned.
This PR contains most of the code created during the Hackathon, with the BanzaiCloud API usage being replaced by cloud provider specific APIs, for the USD cost calculation portion of the feature. The original code was also cleaned up in a lot of places.
The two features (USD cost calculation and CO2 cost calculation) have been placed under two separate entitlements:

CDP_CB_COST_CALCULATION
CDP_CB_CO2_CALCULATION

The USD cost calculation feature is usable, but the CO2 cost calculation is still incomplete, therefore these entitlements shouldn't be turned on for the time being.
These features are currently being developed under this Jira epic: CB-18854

Pretty nice work but please add more coverage. 59 file change and only 1 one with *.Test

after review can we squash these commits? none of them contains jira id, and most of the commit message doesn't contain that it's related to the cost calculation

I would rethink the API here if possible:

based on the current implementation, the API can list costs for all clusters in the tenant, but if possible I would avoid such API and use API method with crn or crnList parameters to be able to list costs for specific clusters and avoid queries, logics executed for all clusters in the tenant.
also authorization should be refactored, either:
-- we can have filtering, but in that case we should not filter stacks itself and use stackviewresponses to execute cost related service logic, but query stacks, using entity to generate cost api responses and implement filtering for cost responses
-- or we can have crn, crnList parameter based authorization, if there is no need for list APIs without any parameter


Export core functions of library for reuse

This is the best lib for linking to map apps from my research as it supports the most apps.
The out-of-the-box functionality prob works for 90% of users but I had a use case that this lib didnt cover out-of-the-box for me.
What I needed was the core logic of this lib, determining which map apps are available on a users phone so that I could use this data to build my use cases UI.
(the use case is to display map app options in an actionsheet with a copy to clipboard option for the address in case user has no map apps or just wants to copy)

I created a patch to support my use case. I'll drop the patch in here.
The gist was to export the generatePrefixes and getAvailableApps functions
diff --git a/node_modules/react-native-map-link/index.d.ts b/node_modules/react-native-map-link/index.d.ts
index aa09a07..6a239aa 100644
--- a/node_modules/react-native-map-link/index.d.ts
+++ b/node_modules/react-native-map-link/index.d.ts
@@ -49,7 +49,12 @@ interface PopupProps {
   appTitles?: {[key: string]: string};
 }

+type MapAppPrefix = 'apple-maps' | 'google-maps' | 'citymapper' | 'uber' | 'lyft' | 'transit' | 'truckmap' | 'waze' | 'yandex' | 'moovit' | 'yandex-maps' | 'yandex-taxi' | 'kakaomap' | 'mapycz' | 'maps-me' | 'osmand' | 'gett' | 'navermap' | 'dgis' | 'liftago' | 'petalmaps'
+type Prefixes = Record<MapAppPrefix, string>
+
 export function showLocation(
   options: Options,
 ): Promise<string | undefined | null>;
 export class Popup extends React.Component<PopupProps> {}
+export function generatePrefixes(opts?: Options): Prefixes
+export function getAvailableApps(prefixes: Prefixes): Promise<MapAppPrefix[]>
diff --git a/node_modules/react-native-map-link/index.js b/node_modules/react-native-map-link/index.js
index 32e3c5d..2d8daf4 100644
--- a/node_modules/react-native-map-link/index.js
+++ b/node_modules/react-native-map-link/index.js
@@ -3,9 +3,11 @@
  */

 import Popup from './src/components/Popup'
-import { showLocation } from './src'
+import { showLocation, getAvailableApps, generatePrefixes } from './src'

 export {
   showLocation,
-  Popup
+  Popup,
+  getAvailableApps,
+  generatePrefixes
 }
diff --git a/node_modules/react-native-map-link/src/constants.js b/node_modules/react-native-map-link/src/constants.js
index a74291f..26c6dbc 100644
--- a/node_modules/react-native-map-link/src/constants.js
+++ b/node_modules/react-native-map-link/src/constants.js
@@ -6,7 +6,7 @@ import {Platform} from 'react-native';

 export const isIOS = Platform.OS === 'ios';

-export function generatePrefixes(options) {
+export function generatePrefixes(options={}) {
   return {
     'apple-maps': isIOS ? 'maps://' : 'applemaps://',
     'google-maps': prefixForGoogleMaps(options.alwaysIncludeGoogle),
diff --git a/node_modules/react-native-map-link/src/index.js b/node_modules/react-native-map-link/src/index.js
index d06232d..8e11377 100644
--- a/node_modules/react-native-map-link/src/index.js
+++ b/node_modules/react-native-map-link/src/index.js
@@ -5,7 +5,10 @@
 import {Linking} from 'react-native';

 import {generatePrefixes, generateTitles, isIOS} from './constants';
-import {askAppChoice, checkOptions} from './utils';
+import {askAppChoice, checkOptions,} from './utils';
+
+export {getAvailableApps} from './utils'
+export { generatePrefixes }

 /**
  * Open a maps app, or let the user choose what app to open, with the given location.

Hi Chris, thanks for your message. If you open a PR for this change, I'm happy to accept it.

Yes, I'd be happy do that. I will try to open up a PR within a week or so :)

Fixed in #232


Backend survey builder

Hey @phiden - heads up: I was able to integrate your static create-surveys.html file into python. That's good! From here I'm going to try to wrap my head around how to implement the questions from the JS into python.
But as a result, http://localhost:5000/create-survey/ will no longer work for you. Use http://localhost:5000/surveys/create instead. It also has the fields for survey title and description that I'll need your assistance styling.
Let me know when you see this by merging the pull request or pinging me.

I'll merge this but I am leaving this branch open (please don't delete) - Sophia, just make sure you see the earlier note about if you need to find your create a survey template.


Added ability to have services and watches configured via hiera

We use hiera extensively for configuration so it would be nice to have this functionality available.

Closed by #72


#CCR-1095 added focus state for attachment component

Proposed Changes
Please use the Jira Key followed by the changes

CCR-1095

added focus state for attachment component

Checklist

[ ] I have added or updated unit tests
[ ] I have added or updated integration tests (if appropriate)
[ ] I have added or updated documentation / readme (if appropriate)
[ ] I have verified that my changes have not introduced new lint errors
[x] I have added a GitHub labels to the PR for either patch, minor, or major

Testing Instructions

I think this needs to bump the version as well, right?

What do you mean? Where should I do this?


ARROW-4095: [C++] Optimize DictionaryArray::Transpose() for trivial transpositions

Note this doesn't optimize the case of a trivial transposition but where the index type changes.
Also fix handling of sliced arrays, and add tests.

Appveyor passed.  going to merge.


Need Links and doc for VPN setup and public IP in Step 6

Step 6: Create WebSphere Application Server service instance
1.Go to your Bluemix console and create a WebSphere Application Server instance
Name your service, choose the WAS Base Plan, and create the instance.

Provision your server based on your requirements.

Once done, you can access the Admin console using the Open the Admin Console option. In order to access the Admin console, install the VPN as instructed. **Needs URL**

Get a public IP address. This can be done using the Manage Public IP Access option. **Needs doc & link**

You can ssh into the WebSphere Application Server instance using the Admin Username and Password provided in your instance.

Added the links and content.


URL string not reflected in the api sub-title properly when given as api value annotation

With swagger annotation @Api (value=" "), when I try to insert an URL string, swagger UI skips all the forward slashes (/) while display.
Annotation being used :
@Api(value="shoplocator- http://api.meteor.com/v2/shops", description="some description...")
public class SomeClass {
What I'm getting at swagger UI :
shoplocator- http:api.meteor.comv2shops
What I'm expecting :
shoplocator- http://api.meteor.com/v2/shops
I tried using escaspe sequences and other ways to handle special characters, but nothing worked, like : shoplocator- http://api.meteor.com/v2/shops or shoplocator- http://api.meteor.com/v2/shops
But nothing worked.
How can I get the proper URL string in the api sub title value?

So you basically can't (at least not right now) and that's the expected behavior due to the change from 1.3 to 1.5. However, given the problem you're trying to solve, I think the solution should come from swagger-ui with the external docs and that's what should be fixed.

Yes, and also as per our discussion with the API team following the current scenario, we have decided that our API Publishing tool can handle the task to automatically add the required link at the bottom of the HTML rendering of the SWAGGER documentation loaded.
But yes the issue related to external-docs should be looked into.
We can close this for now.


Implemented tmInferInstance

I implemented the (probably) most straightforward way to get #23 closed (I named the new operation tmInferInstance to distinguish it better from tmExistingInstance)
tmInferInstance is returning an option instead of raising an error, so a user can recover if no instances are found and for instance use tmLemma instead.

Could you rebase on top of tmLemmaRed?

Check, I think (if Travis agrees)


“check” snapshot strategy fails if columns need to be quoted

Describe the bug
If you use the "check" snapshot strategy (default) on data which contains columns with special characters in it and do one initial run and then a subsequent insert run. The second run will fail due to a syntax error (see "Screenshots and log output below").
Steps To Reproduce
{% snapshot fake_snapshot2 %}
{{
    config(
      target_database='analytics',
      target_schema='dbt_claire',
      unique_key='id',
      strategy='check',
      check_cols='all'
    )
}}
select
    1 as id,
    1 as "unnamed: 0",
    current_timestamp() as created_at
{% endsnapshot %}

(stolen from slack discussion: https://getdbt.slack.com/archives/CBSQTAPLG/p1608759471264100?thread_ts=1608758278.258300&cid=CBSQTAPLG)
Expected behavior
I expect the snapshot to not fail on columns containing special characters. Special characters should work as long as you enclose it with ".
Screenshots and log output
2020-12-23 21:00:59.335996 (MainThread):   syntax error at or near ":"
2020-12-23 21:00:59.339215 (MainThread):   LINE 81: ..._data._dbt_id is null) or snapshotted_data.Unnamed: 0 != sou...

System information
Which database are you using dbt with?

[x] postgres
[ ] redshift
[ ] bigquery
[ ] snowflake
[ ] other (specify: ____________)

The output of dbt --version:
installed version: 0.18.1
   latest version: 0.18.1

Up to date!

Plugins:
  - postgres: 0.18.1
  - snowflake: 0.18.1
  - bigquery: 0.18.1
  - redshift: 0.18.1

The operating system you're using: MacOS Catalina Version 10.15.7 with Docker for Mac 3.0.3
The output of python --version: Python 3.8.6
cc @clrcrl

I'm pretty sure it's this line here (or the related function — we don't seem to be quoting the column names)
https://github.com/fishtown-analytics/dbt/blob/dev/kiyoshi-kuromiya/core/dbt/include/global_project/macros/materializations/snapshot/strategies.sql#L167

Good call, it does seem like this could be a straightforward fix. There are two ways I think it could be done:

Wrap {{ col }} in adapter.quote() similar to how we create comma-separated column lists for the incremental materialization:

https://github.com/fishtown-analytics/dbt/blob/a0eade4fdd091cd06a0d8e143db2d1a7456d3774/core/dbt/include/global_project/macros/materializations/common/merge.sql#L54-L62

Change the default implementation of get_columns_in_query (used when check_cols = 'all') to return the column's quoted name attribute, instead of just its name:
https://github.com/fishtown-analytics/dbt/blob/a0eade4fdd091cd06a0d8e143db2d1a7456d3774/core/dbt/include/global_project/macros/adapters/common.sql#L14

That fix feels like it could be a good first issue. The tricky bit would be testing, specifically:

Validating on Snowflake, which is sensitive to identifier casing when quoted
Adding an automated test to ensure we don't regress from this behavior

I've opened another issue (#2986), bigger in scope, to corral the cacophony of inconsistencies with quoting as they exist today.

I would like to pick this.

Sure! Please go ahead :)

@sou-joshi Have you made any progress on this? If not I'm happy to pick it up.

We just encountered this very same issue. We have a lot of columns with spacing in our Snowflake database. Initial snapshot run materializes perfectly fine, but all subsequent runs fail due to columns not being wrapped with quotation marks. Thanks for working through this one!

Unfortunately a problem for me as well.
I was planning to snapshot my sources, which may have white spaces and special characters in its column names.


CMake Error at CMakeLists.txt:437 (add_subdirectory)

UPD:
Tutorial on web-page is incorrect! Use Tutorial from Readme.md file in VSCode.

### Build with Source Code of Azure IoT Device SDK
1. Go to the **root folder of your generated app**.
    ```cmd
    cd devkit_device
    ```

1. git clone the preview release of the Azure IoT Device C SDK to your app folder using the `public-preview` branch.
    ```cmd
    git clone https://github.com/Azure/azure-iot-sdk-c --recursive -b public-preview
    ```
    > The `--recursive` argument instructs git to clone other GitHub repos this SDK depends on. Dependencies are listed [here](https://github.com/Azure/azure-iot-sdk-c/blob/master/.gitmodules).

    NOTE: Or you can copy the source code of Azure IoT Device C SDK to your app folder if you already have a local copy.

1. Create a folder for your CMake build.
    ```cmd
    mkdir cmake
    cd cmake
    ```

1. Run CMake to build your app with `azure-iot-sdk-c` source code.
    ```cmd
    cd cmake
    cmake .. -Duse_prov_client=ON -Dhsm_type_symm_key:BOOL=ON -Dskip_samples:BOOL=ON
    cmake --build .
    ```
###

Hi! I am getting error on step 4 of Build the code task.
CMake Error at CMakeLists.txt:437 (add_subdirectory):
The source directory
C:/azure-iot-sdk-c/central_app/devkit_device
does not contain a CMakeLists.txt file.
-- Configuring incomplete, errors occurred!
See also "C:/azure-iot-sdk-c/cmake/CMakeFiles/CMakeOutput.log".
See also "C:/azure-iot-sdk-c/cmake/CMakeFiles/CMakeError.log".

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

ID: bd01e3f6-581b-8d5a-fa57-39fd7bac3fe6
Version Independent ID: 2665fec7-e3ea-3b01-396a-85a1a62bed75
Content: Connect an IoT Plug and Play Preview device to Azure IoT Central
Content Source: articles/iot-central/preview/tutorial-connect-pnp-device.md
Service: iot-central
GitHub Login: @dominicbetts
Microsoft Alias: dobett

@dmitriyteteruk Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

I am also trying to build some code for simulation purposes. I have successfully compiled source code by commenting below line number 47
#add_subdirectory(azure-iot-sdk-c)  in azure-iot-sdk-c/central_app/devkit_device/CMakeLists.txt

I am trying to connect IoT Plug and Play device MXchip-01 to IoT central application.
For this, I am following the below link.
https://docs.microsoft.com/en-us/azure/iot-central/preview/tutorial-connect-pnp-device
I have completed all the steps successfully but at last, when I try to connect simulated device using the .\central_app\devkit_device\Release\devkit_device.exe scopeid primarykey mxchip-001 command I got some connection error.
The documentation is not updated for some of the stages but I have solved it other error to build a device for simulation in my PC.
In the last stage, When I tried to connect with IoT central application I am getting below error.
$ ./devkit_device.exe 0ne00095C42 CvD/gHuPbnaArPbc9+xY5VFLTRBZ4B70rixCXO+OOlxBsU3g79xqUeWb+byTBT+4IZsETSMg53oZt/JKGNctuw== mxchip-001 Error: Time:Wed Nov 20 18:02:59 2019 File:D:\shailesh\whizpace\Azure\azure-iot-sdk-c\provisioning_client\src\prov_device_ll_client.c Func:prov_transport_process_json_reply Line:670 Unsuccessful json encountered: {"errorCode":401000,"trackingId":"970f2932-8c9f-4d5e-8f8b-a19d2bf1aa53","message":"Unauthorized","timestampUtc":"2019-11-20T10:03:00.0518622Z"} Error: Time:Wed Nov 20 18:02:59 2019 File:D:\shailesh\whizpace\Azure\azure-iot-sdk-c\provisioning_client\src\prov_transport_mqtt_common.c Func:prov_transport_common_mqtt_dowork Line:1014 Unable to process registration reply. Error: Time:Wed Nov 20 18:02:59 2019 File:D:\shailesh\whizpace\Azure\azure-iot-sdk-c\provisioning_client\src\prov_device_ll_client.c Func:on_transport_registration_data Line:770 Failure retrieving data from the provisioning service Error: Time:Wed Nov 20 18:02:59 2019 File:D:\shailesh\whizpace\Azure\azure-iot-sdk-c\central_app\devkit_device\main.c Func:provisioningRegisterCallback Line:82 DPS Provisioning callback called with error state 7 Error: Time:Wed Nov 20 18:02:59 2019 File:D:\shailesh\whizpace\Azure\azure-iot-sdk-c\central_app\devkit_device\main.c Func:registerDevice Line:165 Error registering device for DPS
I want to add my device in Pre-certified Azure certified device in device catalog.
Help me to solve this problem as soon as possible.

@dmitriyteteruk @koratshail - thaks for getting in touch and reporting this issue. The tutorial has recently been updated to use the latest version of the code generator and the Vcpkg library manager - this is now the preferred way to build the code in this tutorial. Thanks, Dominic

#please-close


Update changelog for release v3.2.0

Description
Updates the CHANGELOG ready for cutting the next release
Motivation and Context
We haven't had a release in a while, there's a number of changes included that we should probably release
Checklist:

[x] My change requires a change to the documentation or CHANGELOG.
[x] I have updated the documentation/CHANGELOG accordingly.
[x] I have created a feature (non-master) branch for my PR.

Could I squeeze Go 1.12 into this? :grin:

Don't see why not 🤷♂ PRs welcome 😉

https://github.com/pusher/oauth2_proxy/pull/124 :stuck_out_tongue:


MVTs with bottom-left corner as the origin of coordinates

We've been using CARTO-VL to draw geometries on a map using our own MVT server and it seems that the current implementation takes the bottom-left corner of the tile as the origin of the tile.
In particular, we've been diving into this function that transforms the tile's coordinates space (0 to 4096 for example) to a new coordinates space from -1 to 1: https://github.com/CartoDB/carto-vl/blob/c374e0ed80183e12353fdf5808b4031a4bf99dc8/src/client/mvt/feature-decoder.js#L189-L199
It seems that this function is inverting the y coordinate, making the bottom edge of the tile the origin of the y axis. We have written a quick Python test to prove our point:
>>> # Original CARTO-VL definition
... def transform(x, y, mvtExtent=4096):
...     x = 2 * x / mvtExtent - 1
...     y = 2 * (1 - y / mvtExtent) - 1
...     return [x, y]
...
>>> # "Fixed"
... def transform_fix(x, y, mvtExtent=4096):
...     x = 2 * x / mvtExtent - 1
...     y = 2 * y / mvtExtent - 1
...     return [x, y]
...
>>> transform(0, 0)
[-1.0, 1.0]
>>> transform_fix(0, 0)
[-1.0, -1.0]
>>> transform(4096, 4096)
[1.0, -1.0]
>>> transform_fix(4096, 4096)
[1.0, 1.0]

Taking a look at the Mapbox Vector Tile Specification, it seems that from version 2.0, Geometry data in a Vector Tile is defined in a screen coordinate system. The upper left corner of the tile (as displayed by default) is the origin of the coordinate system. The X axis is positive to the right, and the Y axis is positive downward. (https://github.com/mapbox/vector-tile-spec/tree/master/2.0). We haven't found anything similar for versions 1.0.0 and 1.0.1.
Is it a bug or is this the intended behavior and we need to fix it in our server?
cc @VictorVelarde @juanignaciosl

I've just done a very quick review, and I think the VL function is the correct one:
Comparing both coordinate systems:
  0,0     |1    1,0
          |
          |
-1 -------+------- 1
          |
          |
  0,1   -1|      1,1

Will result into:
0, 0 => -1, 1
1, 0 => 1, 1
0, 1 => -1, -1
1, 1 => 1, -1


console.log(this.$refs.infiniteViewerRefs.getScrollTop()) is undefined in Vue 2.x.

@xh1996819
<EMAIL_ADDRESS>is released. Try it again.


{Core} Add lightweight ARM client

Related command
az login
Description
As multi-API SDK will no longer be released, this PR introduces a lightweight ARM client and so that Azure CLI Core can decouple from SDK.
Testing Guide
az login
History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change
[Component Name 2] az command b: Add some customer-facing feature

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

Thank you for your contribution! We will review the pull request and get back to you soon.

lightweight ARM client


Warning about FileCollection being final when executing jacocoTestReport

With a jacocoTestReport task configured using the executionData method that takes tasks in a doFirst block :
executionData tasks.withType(Test).findAll { it.state.executed }

Expected Behavior
I expect the build to report no warning, or to suggest the usage of another API, or another usage of doFirst / doLast.
Current Behavior
The build reports the following warning :
> Task :jacocoTestReport
Changing the value for a FileCollection with a final value has been deprecated. This will fail with an error in Gradle 6.0.
        at sonar_2wv9uqvhejgzbsqp42hfqeeid$_run_closure2$_closure4.doCall(/Users/bric3/git-repos/app/gradle/sonar.gradle:10)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)

I don't quite get what the build script is doing wrong.
Context

This started as soon as I introduced the discovery of test task execution data, this build script is using Gradle 5.6.2.
Since the build script has various test task I'd like to aggregate the coverage of the code done by all these task in a single report. But when a developer starts a single test task, I'd like the jacocoTestReport to pick up only the relevant executionData of the task that ran.
Also earlier when configuring the task to always agregate if there's a task that has been run before, I found that jacocoTestReport task was failing when the execution data file did not exists, so I was also filtering the test tasks list with it.jacoco.destinationFile.exists()
Steps to Reproduce

I'm using the nebula-facet plugin to have an integrationTest task, but others are complementing their build with cucumber tests, etc. I think this can easily be done by simply declaring multiple independant test tasks
task aTest(type: Test) {}
task bTest(type: Test) {}
task cTest(type: Test) {}

Then you can declare this
jacocoTestReport {
    doFirst {
        // The JaCoCo plugin adds a JacocoTaskExtension extension to all tasks of type Test.
        // Use task state to include or not task execution data
        // https://docs.gradle.org/current/javadoc/org/gradle/api/tasks/TaskState.html
        executionData tasks.withType(Test).findAll { it.state.executed }
    }
    reports {
        xml.enabled true
        xml.destination file("${jacoco.reportsDir}/all-tests/jacocoAllTestReport.xml")
        html.enabled true
        html.destination(file("${jacoco.reportsDir}/all-tests/html"))
    }
}

project.tasks.withType(Test) {
    finalizedBy jacocoTestReport
}

And then run the tests tasks independently.

This ticket #9222 may have relation as the warning also affects FileCollection.
https://github.com/gradle/gradle/blob/8a38e3d664062ea5c2575cea94f085508ccefd48/subprojects/file-collections/src/main/java/org/gradle/api/internal/file/collections/DefaultConfigurableFileCollection.java#L143

The warning is basically complaining that you should not change the inputs to the report task after the task has started executing (and after Gradle used the inputs to do up-to-date checks or cache lookups and so on). The wording could probably be better, but the warning is the intended behaviour, and not a regression.
To get rid of the warning, and the underlying problem, you can replace this:
jacocoTestReport {
    doFirst {
        executionData tasks.withType(Test).findAll { it.state.executed }
    }
}

with something like this:
jacocoTestReport {
    // wrap the query in a closure, so that it is deferred until the task starts
    executionData { tasks.withType(Test).findAll { it.state.executed } }
}

@adammurdoch thank you!
That makes sense, in using the doFirst / doLast I thought I followed the correct way to delay the configuration of some elements as I thought it was recommended in the user guide.
I really think the wording should be tweaded in that sense. As your answer was more useful that the log message.

For the sake of completeness @adammurdoch answer is missing some informations, as the following configuration will make the task fail.
jacocoTestReport {
    executionData { tasks.withType(Test).findAll { it.state.executed } }
}

may result in something like this
...
[ant:jacocoReport] Loading execution data file /Users/bric3/app/build/jacoco/test.exec
[ant:jacocoReport] Loading execution data file /Users/bric3/app/build/test-results/test/binary
...

Note the second execution data file binary, this is incorrect. While not wrapping it in brace make the task succeed.
jacocoTestReport {
    // wrap the query in a closure, so that it is deferred until the task starts
    executionData tasks.withType(Test).findAll { it.state.executed }
}

...
[ant:jacocoReport] Loading execution data file /Users/bric3/app/build/jacoco/test.exec
...

The trick is in the slight difference of the actual used method, the first example use a closure . and I believe the signature used to be executionData(Object...), the argument indicates it should be files. While the second snippet uses this signature executionData(Task...)
So the first snippet can be fixed by extracting the actual file from the jacoco task extension.
jacocoTestReport {
    executionData { tasks.withType(Test).findAll { it.state.executed }*.jacoco.destinationFile }
}

Note the link targets 6.0.1 API, but this was the same API in earlier APIs.


interference between user and kernel code

we have problems like https://github.com/twosigma/beakerx/issues/6771 because our class loader calls ClassLoader.getSystemClassLoader()
this also means you can break the kernel if you %classpath add the wrong jar.

"No question that includes the word ClassLoader has a happy answer."   Naively, it seems like the widgets and such that are intended to be visible to user code should be isolated and self-contained (shading their transitive dependencies).  But is separate class loaders needed to do that?  I'm not sure just how big a hell-mouth is opened by having separate class loaders.  Some things are meant to be shared between the user and kernel code (like jvm-repr's Displayers), and I guess(?) that breaks if the class is loaded by two different class loaders?

yea one of my least favorite topics :}
maybe someone who knows better can give us some tips.

Proper solution would be separate classloaders for kernel and user code.
Would involve https://github.com/twosigma/beakerx/issues/6836 too.

workaround might be to shade all kernel classes so they don't conflict with whatever the user loads.
just have to be sure not to shade the user-visible APIs.


Email with very large body not displayed

I'm using K9Mail: 5.0.10 with Android 6.0.1 on a Samsung Galaxy S7.
When viewing an email with a very large amount of text (A server's backup log for example) and even with account settings to fetch emails of any size, k9mail is showing "No text" for the actual email content view although message preview is showing the first few lines of text.  CursorWindow also gets an error in the android log.  I've also tried clearing the local copy of the folder (it's imap account) and re-downloading but still get the same error.
Logcat output:
05-09 09:37:35.266 20962 27193 W CursorWindow: Window is full: requested allocation 1146938 bytes, free space 862497 bytes, window size 2097152 bytes
05-09 09:37:35.276 20962 20962 I InjectionManager: dispatchCreateOptionsMenu :com.fsck.k9.activity.MessageList
05-09 09:37:35.276 20962 20962 I InjectionManager: dispatchCreateOptionsMenu :com.fsck.k9.fragment.MessageViewFragment
05-09 09:37:35.276 20962 20962 I InjectionManager: dispatchPrepareOptionsMenu :com.fsck.k9.activity.MessageList
05-09 09:37:35.276 20962 20962 I InjectionManager: dispatchPrepareOptionsMenu :com.fsck.k9.fragment.MessageViewFragment
05-09 09:37:35.276 20962 27193 W CursorWindow: Window is full: requested allocation 1146938 bytes, free space 862497 bytes, window size 2097152 bytes
05-09 09:37:35.276 20962 27193 E CursorWindow: Failed to read row 0, column 0 from a CursorWindow which has 0 rows, 3 columns.
05-09 09:37:35.286 20962 27193 E k9      : Exception fetching message:
05-09 09:37:35.286 20962 27193 E k9      : java.lang.IllegalStateException: Couldn't read row 0, col 0 from CursorWindow.  Make sure the Cursor is initialized correctly before accessing data from it.
05-09 09:37:35.286 20962 27193 E k9      :      at android.database.CursorWindow.nativeGetString(Native Method)
05-09 09:37:35.286 20962 27193 E k9      :      at android.database.CursorWindow.getString(CursorWindow.java:451)
05-09 09:37:35.286 20962 27193 E k9      :      at android.database.AbstractWindowedCursor.getString(AbstractWindowedCursor.java:51)
05-09 09:37:35.286 20962 27193 E k9      :      at com.fsck.k9.mail.store.LocalStore$LocalFolder$7.doDbWork(LocalStore.java:1898)
05-09 09:37:35.286 20962 27193 E k9      :      at com.fsck.k9.mail.store.LocalStore$LocalFolder$7.doDbWork(LocalStore.java:1882)
05-09 09:37:35.286 20962 27193 E k9      :      at com.fsck.k9.mail.store.LockableDatabase.execute(LockableDatabase.java:283)
05-09 09:37:35.286 20962 27193 E k9      :      at com.fsck.k9.mail.store.LocalStore$LocalFolder.fetch(LocalStore.java:1882)
05-09 09:37:35.286 20962 27193 E k9      :      at com.fsck.k9.controller.MessagingController$18.run(MessagingController.java:3127)
05-09 09:37:35.286 20962 27193 E k9      :      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
05-09 09:37:35.286 20962 27193 E k9      :      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
05-09 09:37:35.286 20962 27193 E k9      :      at java.lang.Thread.run(Thread.java:818)

This should no longer be an issue.


Android On incoming call when task is dismissed the notification tap have no effect

"react-native": "0.45.1",
"react-native-twilio-programmable-voice": "^2.4.0",
Android One Plus 3
Android v 7.1.0
when there is an incoming call regardless of the app being on the foreground, when the app gets killed the incoming call notification stays, but neither of the button works.
Ideally the ANSWER button would restart the app, the REJECT button would reject the call and dismiss the incoming call notification.
If anyone has a good experience with Android notification and Intent handling any help would be greatly appreciated.

related to #18

Closing this issue as this is handled by a CallKeep-like solution perfectly.


add more unit test

Pull Request Test Coverage Report for Build 59

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+17.3%) to 89.928%

Totals

Change from base Build 55:
17.3%

Covered Lines:
93

Relevant Lines:
95

💛  - Coveralls


Bmi f90

I think all of the BMI methods that are going to be implemented are done for C++. F90 needs bmif_get_value_ptr, but it should mostly be figuring out how to set the C++ pointers in Fortran. There is an ISO method C_F_POINTER(CPTR, FPTR [, SHAPE]) that probably needs to be used.
All the current test cases run.
Let me know what you plan to do next. I'll dig into the pointers after a break.
The last hurdle was running a function pointer. Pretty ugly syntax:  ((*this->var_man).*bv.GetFn())();

I'll work on getting the checks to pass.  Then I'll start working on the python swig stuff.


Unable to enroll and register user in fabric2.2 using go lang. its easy in nodeJS and java but facing issues using go.

I am using below code but getting Error - invalid method expression fabsdk.FabricSDK.Context (needs pointer receiver: (*fabsdk.FabricSDK).Context)
Code -
mspclient "github.com/hyperledger/fabric-sdk-go/pkg/client/msp"
"github.com/hyperledger/fabric-sdk-go/pkg/fabsdk"
mspClient, err := mspclient.New(
*fabsdk.FabricSDK.Context(),
mspclient.WithOrg("Org1"),
)


Document eng. workflow using a local network in Docker

In order to test against a real network (more easily)
As an internal code contributor
I want instructions on running a local network in Docker
Acceptance Criteria
When I clone the SnarkyJS repo
Then I can see instructions on running a local network in Docker in the developer (not public / homepage) README
And those instructions work when I follow them

can we change README to README-dev?

I wrote this doc for another project I worked on https://docs.ignite.com/guide/docker


New feature: documentation window highlighting

In the new branch test_highlighting is available a feature I had wanted to implement for some time. Basically, it highlights the bibliographic keys in the documentation windows:

I haven't written the documentation yet. This is the relevant part of the configuration:
local defaults = {
  additional_information = {
    bib_highlighting = true,
    highlight_colors = {
      default_group = "Normal", -- Highlight group for most of the keys (in my config it's the yellow part)
      important_group = "IncSearch", -- Highlight group to distinguish the most important keys
      default = { -- Eventually, color codes can be specified
        fg = "",
        bg = "",
      },
      important = {
        fg = "",
        bg = "",
      },
    },
    highlight_links = { -- This sets, for each key, if "Default" or "Important" is used.
      -- Normal highlight groups can be used too.
      -- Bibtex
      Address = "Default",
      Annote = "Default",
      Author = "Important",
      Booktitle = "Default",
      Email = "Default",
      Chapter = "Default",
      Crossref = "Default",
      Doi = "Default",
      Edition = "Default",
      Editor = "Default",
      Howpublished = "Default",
      Institution = "Default",
      Journal = "Default",
      Key = "Default",
      Month = "Default",
      Note = "Default",
      Number = "Default",
      Organization = "Default",
      Pages = "Default",
      Publisher = "Default",
      School = "Default",
      Series = "Default",
      Title = "Important",
      Type = "Default",
      Volume = "Default",
      Year = "Default",
      -- Biblatex
      Isbn = "Default",
      -- cmp-vimtex-specific keys
      File = "Default",
      Lnum = "Default",
      Cite = "Default",
    },
  },
}

This may interest @lervag and @benbrastmckie.

Good idea; although I don't really like the default groups here. I would choose groups that don't set the background colors by default. In particular, I would choose one of the groups from :help group-names, perhaps PreProc or Define for the default group and Special for the important group.

Also, I would actually rather prefer to keep the keys more neutral and perhaps instead highlight the values differently. That is, have something like this:
local defaults = {
  additional_information = {
    highlight_colors = {
      key_group = "PreProc",
      value_group = "String",
      important_value_group = "Identifier",
    },

The syntax matching will be somewhat more complex, but I don't think it will be very hard.

Do you think that the ability to set guifg and guibg with the actual color codes should be removed? I almost feel that it may be excessive for this plugin (i.e., that the user should simply be able to specify a group).

Good question. My intuition is the same as you, that the user should instead learn to specify their own highlight groups directly.

I've been trying to write functioning syntax rules to highlight a row of the following kind:
TITLE: some_text

I've tried, without success:
syntax keyword CmpVimtexTitle           TITLE
syntax match CmpVimtexTitleBody "TITLE: .*$"ms=s+7

But it doesn't work: it matches only TITLE, even though I've put the match offset in the second command.

I would try something like this:
syntax match CmpVimtexTitle     "^TITLE:\s*"
      \ nextgroup=CmpVimtexTitleBody
      \ contains=CmpVimtexColon
syntax match CmpVimtexTitleBody ".*" contained
syntax match CmpVimtexColon ":" contained

I've added a match for the colon, as I think it makes sense to highlight it differently. This idea should work for everything that is a single line. If you need for the body to match multiple lines you need to do something more advanced here.

Ok, I've updated it. I'll write the documentation when I can, and then merge with master if everything's fine.

Glad to help :)

On a sidenote, would you mind if I asked you to post about the plugin in the main subreddits? I'd like to get as many users on board as possible to start troubleshooting eventual bugs, and receive suggestions for new features. I've seen that the (Neo)vim and Latex communities are pretty big, but I don't really use it.

I can make a post on r/neovim; I don't think it makes sense to post on r/vim as nvim-cmp does not work there.

Thanks!


Unresolved reference: Registrar

Hi ,
when build example folder  for android i got this error
e: file:///Users/heshamelnemr/.pub-cache/hosted/pub.dev/floating-5.0.0/android/src/main/kotlin/eu/wroblewscy/marcin/floating/floating/FloatingPlugin.kt:19:48 Unresolved reference: Registrar
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':floating:compileDebugKotlin'.

A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
Compilation error. See log for more details

Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
Get more help at https://help.gradle.org.

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel main, 3.27.0-1.0.pre.277, on macOS 15.0.1 24A348 darwin-x64, locale en-EG)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 16.0)
[✓] Chrome - develop for the web
[!] Android Studio (not installed)
[✓] VS Code (version 1.94.2)
[✓] Connected device (4 available)
[✓] Network resources
! Doctor found issues in 1 category.

Does this issue also occurs on the stable Flutter branch for you? You are on main which I don't really plan to support.

Do you mean it works on the beta branch or doesn't?

I can't confirm it doesn't work on the beta channel, tested on 3.27.0-0.1.pre and the example app built and ran fine. Feel free to open a new issue if it still doesn't work for you.


Release 0.3.4 on pypi

Can you create a new release on pypi? I'm want to update this for nixpkgs https://search.nixos.org/packages?channel=unstable&show=tocpdf&from=0&size=50&sort=relevance&type=packages&query=tocpdf

Hi,
Thanks for creating the nix package. I have updated the pypi repository to the release 0.3.4.
Sorry for the delay.

Are you sure that you are using the correct hash in the fetchPypi function for Nix. For version 0.3.9, it should be "sha256-f3c81ad362621a7b46cff83a7f5c43cf3f45f7f87a5080b46bd9555ebe3a69ce"


Bali is not a country and is actually in Indonesia

In a helper, the bot says:
Hi there! I'm capable of assisting you in generating polls that can boost collaboration and streamline decision-making through Google Chat™.
Below is an example commands:
/poll - You will need to fill out the topic and answers in the form that will be displayed.
/poll "When should we schedule our team days?" "Monday" "Tuesday" "Wednesday" - to create a poll with autofill
Alternatively, you can create poll by mentioning me with question and answers. e.g @Absolute Poll "Which is the best country to visit" "Indonesia" "Bali"
We anticipate that you'll find our service valuable, and please don't hesitate to get in touch if you have any questions or concerns.

However Bali is not a country and is actually in Indonesia.
Just change it in src/helpers/helper.ts on line 42

Thank you for addressing your concern about the statement regarding Bali not being a country.
As an Indonesian, I'm well aware of this fact. I created that statement primarily for humor among fellow Indonesians and to showcase and promote my country to other nations. However, I acknowledge your feedback and will endeavor to update it with a more accurate and appropriate statement.


Allow for more customization of show action panels

Had a recent need to customize show action for AA resource. I like how there is active_admin_comments helper, which allows to display the admin comments panel. And then there is default_main_content, which displays both the resource properties AND the comment form.
But what if one wished to place a panel between the default panels? Well, I know you can use
attributes_table :attr_a, :attr_b, :etc
OR
attributes_table *default_attribute_table_rows
But why dive into internals or repeat oneself if the default way to list the attributes is good enough? Right?
With these two commits, you can now render main show action panel separately.
show  do
  default_main_content
  panel "X" do
    ...
  end
  active_admin_comments
end

You can still get the default way of doing things:
show do
  default_main_content_with_admin_comments  # too verbose?
end

Note on compatibility:
Unlike its sibling active_admin_comments, default_main_content method isn't publicly documented. This change would only affect those who made an effort to dig into AA internals. Any existing project explicitly calling default_main_content while customizing show action will lose the active_admin_comments panel (if it was enabled). But the same functionality can be restored by calling default_main_content_with_admin_comments now instead. Not a big deal really.

Thanks for the pull request @Swartz.
Instead of changing the default_main_content method, maybe we could just extract https://github.com/gregbell/active_admin/blob/master/lib/active_admin/views/pages/show.rb#L44 to a method called #default_attributes_table? That way nothing changes and you now have access to the method you're looking for.
The idea behind default_main_content is that plugins can easily hook in here to add content to the default show screen (not publicly documented yet).

Hi Greg,
Perhaps I'm not seeing the big picture here.
But default_main_content_with_admin_comments just piggiebacks on default_main_content.
Couldn't a plug-in use either as a hook ?
And FWIW, default_main_content sounds like it's meant for displaying the "main" content of the page (in this case details for a given record). Admin comments seem kind of secondary if enabled at all.
If you think extracting that chunk to just another method is a better design choice for the long run, I'm fine with that. Either way works for me.


Subscribe to the whole  domain

Addressing https://github.com/GoogleChromeLabs/chromium-bidi/issues/353.
Implement subscription to the whole domain, not only specific event. IDK how to avoid using EventNamesList. This approach seems even more ugly: https://www.petermorlion.com/iterating-a-typescript-enum.
@OrKoN  @thiagowfx Any ideas on how to make the solution nicer?

What is your concern with EventNamesList?


Feat/build makefile

Lymui
Totoro is going to review your PR

What does this PR accomplish

[ ] Add a new feature supporting a new color type
[x] Provide a fix to the current project
[ ] Add new test

We will check that

[ ] Make sure to have unit test
[ ] Make sure that any test is passing
[ ] Make sure to respect that when converting a type T to return a type T Rgb

🐷 Thanks for contributing ! 🐷

Pull Request Test Coverage Report for Build 170

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

Totals

Change from base Build 165:
0.0%

Covered Lines:
1139

Relevant Lines:
1148

💛  - Coveralls


It doesn't show all tables correctly

Issue Type: Bug
https://prnt.sc/n3mow9
After i resize the result window not all tables are shown. In this example i run 3 table selects, but only one is shown correctly, one is buggy and the last is invisible
Azure Data Studio version: azuredatastudio 1.5.2 (f74080c96310354bc92211f1826c0fdce78ca2f6, 2019-03-22T06:25:26.627Z)
OS version: Windows_NT x64 10.0.17763

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz (12 x 3192)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: enabledvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabled

Memory (System)
15.94GB (6.96GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions: none

@anthonydresser this looks like more side-effects of the result streaming changes.  What do you think?

This should be resolved by https://github.com/Microsoft/azuredatastudio/commit/c1cb9000a9d54b10a52118ffe7dc1ded7fc8a804 and will be in the May release next week.  @anthonydresser fyi, this is the issue I was mentioning regarding incorrect top value in the HeightMap.


Compatibility with React 18?

I just updated my app to React 18 and now I get an error on DndContext:

Uncaught Error: Maximum update depth exceeded.

It seems that I only have it on sortable multiple containers when I move items between containers. Sometimes it works and sometimes I get the error.
I don't have this problem with React 17, is dnd-kit compatible with React 18?

@dnd-kit is definitely compatible with React 18. The error you're seeing can happen when you use a collision detection algorithm that is quickly switching between two different values because of layout shifts. In that situation, I would recommend using the PointerWithin collision detection algorithm to avoid these types of situations.
I'm going to be closing this issue because there is already a few duplicate issues like this one.

Hello, thank you for your answer.
Do you mean replacing the my custom collision detection algorithm with pointerWithin? Because when I try that, the collisions go completely wild and I still have the error. I'm using pretty much the same collision detection as the example provided on the multiple containers story, except that I have adapted it to my data.

Assuming you copied the custom collision detection strategy in the Multiple Containers example:
const collisionDetectionStrategy: CollisionDetection = useCallback(
  (args) => {
    if (activeId && activeId in items) {
      return closestCenter({
        ...args,
        droppableContainers: args.droppableContainers.filter(
          (container) => container.id in items
        ),
      });
    }

    // Start by finding any intersecting droppable
-   const pointerIntersections = pointerWithin(args);
+   const intersections = args.pointerCoordinates ? pointerWithin(args) : rectIntersection(args);
-   const intersections =
-     pointerIntersections.length > 0
-       ? // If there are droppables intersecting with the pointer, return those
-         pointerIntersections
-       : rectIntersection(args);
    let overId = getFirstCollision(intersections, 'id');

Your fix seems to work so far! Thank you very much. 😄

Assuming you copied the custom collision detection strategy in the Multiple Containers example:
const collisionDetectionStrategy: CollisionDetection = useCallback(
  (args) => {
    if (activeId && activeId in items) {
      return closestCenter({
        ...args,
        droppableContainers: args.droppableContainers.filter(
          (container) => container.id in items
        ),
      });
    }

    // Start by finding any intersecting droppable
-   const pointerIntersections = pointerWithin(args);
+   const intersections = args.pointerCoordinates ? pointerWithin(args) : rectIntersection(args);
-   const intersections =
-     pointerIntersections.length > 0
-       ? // If there are droppables intersecting with the pointer, return those
-         pointerIntersections
-       : rectIntersection(args);
    let overId = getFirstCollision(intersections, 'id');

its still happening unexpectedly. especially when its between two containers. I have one horizontal list on top and a row of vertical lists. the error occurs sometimes when a draggable is near the horizontal .


Deps Update Crash (ecto projections)

While attempting to update all dependencies, I observed an issue where an ecto update was causing tests to fail.
operation :rollback is manually rolling back, which is not supported by Ecto.Multi

Will avoid the update for now and look to try to update later.

Closing as I don't think this is an issue anymore.


WIP: debug, w/dns no ndots config, w/o compiled.wasm

Please provide a description for what this PR is for.
And to help us figure out who should review this PR, please
put an X in all the areas that this PR affects.
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Pull Request Attributes
Please check any characteristics that apply to this pull request.
[ ] Does not have any changes that may affect Istio users.

cc @mandarjog @howardjohn
this is the last variant

@rshriram: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-multicluster-k8s-tests_istio
a2b39734c4db60ba76194972ac13b80bc00dddfe
link
/test integ-multicluster-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@rshriram: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-multicluster-k8s-tests_istio
a2b39734c4db60ba76194972ac13b80bc00dddfe
link
/test integ-multicluster-k8s-tests_istio

integ-distroless-k8s-tests_istio
a2b39734c4db60ba76194972ac13b80bc00dddfe
link
/test integ-distroless-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@rshriram: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-distroless-k8s-tests_istio
a2b39734c4db60ba76194972ac13b80bc00dddfe
link
/test integ-distroless-k8s-tests_istio

integ-multicluster-k8s-tests_istio
177a6af6f03fba5118e988b61f078499dc02f3ec
link
/test integ-multicluster-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@rshriram: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-multicluster-k8s-tests_istio
177a6af6f03fba5118e988b61f078499dc02f3ec
link
/test integ-multicluster-k8s-tests_istio

integ-distroless-k8s-tests_istio
177a6af6f03fba5118e988b61f078499dc02f3ec
link
/test integ-distroless-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@rshriram: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-multicluster-k8s-tests_istio
177a6af6f03fba5118e988b61f078499dc02f3ec
link
/test integ-multicluster-k8s-tests_istio

integ-distroless-k8s-tests_istio
177a6af6f03fba5118e988b61f078499dc02f3ec
link
/test integ-distroless-k8s-tests_istio

integ-pilot-k8s-tests_istio
177a6af6f03fba5118e988b61f078499dc02f3ec
link
/test integ-pilot-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@rshriram: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-multicluster-k8s-tests_istio
177a6af6f03fba5118e988b61f078499dc02f3ec
link
/test integ-multicluster-k8s-tests_istio

integ-distroless-k8s-tests_istio
177a6af6f03fba5118e988b61f078499dc02f3ec
link
/test integ-distroless-k8s-tests_istio

integ-pilot-k8s-tests_istio
177a6af6f03fba5118e988b61f078499dc02f3ec
link
/test integ-pilot-k8s-tests_istio

integ-telemetry-k8s-tests_istio
177a6af6f03fba5118e988b61f078499dc02f3ec
link
/test integ-telemetry-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@rshriram: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-multicluster-k8s-tests_istio
177a6af6f03fba5118e988b61f078499dc02f3ec
link
/test integ-multicluster-k8s-tests_istio

integ-distroless-k8s-tests_istio
177a6af6f03fba5118e988b61f078499dc02f3ec
link
/test integ-distroless-k8s-tests_istio

integ-pilot-k8s-tests_istio
177a6af6f03fba5118e988b61f078499dc02f3ec
link
/test integ-pilot-k8s-tests_istio

integ-telemetry-k8s-tests_istio
177a6af6f03fba5118e988b61f078499dc02f3ec
link
/test integ-telemetry-k8s-tests_istio

integ-security-k8s-tests_istio
177a6af6f03fba5118e988b61f078499dc02f3ec
link
/test integ-security-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@rshriram: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-distroless-k8s-tests_istio
177a6af6f03fba5118e988b61f078499dc02f3ec
link
/test integ-distroless-k8s-tests_istio

integ-pilot-k8s-tests_istio
177a6af6f03fba5118e988b61f078499dc02f3ec
link
/test integ-pilot-k8s-tests_istio

integ-telemetry-k8s-tests_istio
177a6af6f03fba5118e988b61f078499dc02f3ec
link
/test integ-telemetry-k8s-tests_istio

integ-security-k8s-tests_istio
177a6af6f03fba5118e988b61f078499dc02f3ec
link
/test integ-security-k8s-tests_istio

integ-multicluster-k8s-tests_istio
177a6af6f03fba5118e988b61f078499dc02f3ec
link
/test integ-multicluster-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@rshriram: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-distroless-k8s-tests_istio
177a6af6f03fba5118e988b61f078499dc02f3ec
link
/test integ-distroless-k8s-tests_istio

integ-pilot-k8s-tests_istio
177a6af6f03fba5118e988b61f078499dc02f3ec
link
/test integ-pilot-k8s-tests_istio

integ-telemetry-k8s-tests_istio
177a6af6f03fba5118e988b61f078499dc02f3ec
link
/test integ-telemetry-k8s-tests_istio

integ-security-k8s-tests_istio
177a6af6f03fba5118e988b61f078499dc02f3ec
link
/test integ-security-k8s-tests_istio

integ-multicluster-k8s-tests_istio
de49c705d2a6c5219e8b95d813dc978d563be400
link
/test integ-multicluster-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@rshriram: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-pilot-k8s-tests_istio
177a6af6f03fba5118e988b61f078499dc02f3ec
link
/test integ-pilot-k8s-tests_istio

integ-telemetry-k8s-tests_istio
177a6af6f03fba5118e988b61f078499dc02f3ec
link
/test integ-telemetry-k8s-tests_istio

integ-security-k8s-tests_istio
177a6af6f03fba5118e988b61f078499dc02f3ec
link
/test integ-security-k8s-tests_istio

integ-multicluster-k8s-tests_istio
de49c705d2a6c5219e8b95d813dc978d563be400
link
/test integ-multicluster-k8s-tests_istio

integ-distroless-k8s-tests_istio
de49c705d2a6c5219e8b95d813dc978d563be400
link
/test integ-distroless-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@rshriram: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-telemetry-k8s-tests_istio
177a6af6f03fba5118e988b61f078499dc02f3ec
link
/test integ-telemetry-k8s-tests_istio

integ-security-k8s-tests_istio
177a6af6f03fba5118e988b61f078499dc02f3ec
link
/test integ-security-k8s-tests_istio

integ-multicluster-k8s-tests_istio
de49c705d2a6c5219e8b95d813dc978d563be400
link
/test integ-multicluster-k8s-tests_istio

integ-distroless-k8s-tests_istio
de49c705d2a6c5219e8b95d813dc978d563be400
link
/test integ-distroless-k8s-tests_istio

integ-pilot-k8s-tests_istio
de49c705d2a6c5219e8b95d813dc978d563be400
link
/test integ-pilot-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@rshriram: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-security-k8s-tests_istio
177a6af6f03fba5118e988b61f078499dc02f3ec
link
/test integ-security-k8s-tests_istio

integ-multicluster-k8s-tests_istio
de49c705d2a6c5219e8b95d813dc978d563be400
link
/test integ-multicluster-k8s-tests_istio

integ-distroless-k8s-tests_istio
de49c705d2a6c5219e8b95d813dc978d563be400
link
/test integ-distroless-k8s-tests_istio

integ-pilot-k8s-tests_istio
de49c705d2a6c5219e8b95d813dc978d563be400
link
/test integ-pilot-k8s-tests_istio

integ-telemetry-k8s-tests_istio
de49c705d2a6c5219e8b95d813dc978d563be400
link
/test integ-telemetry-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@rshriram: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-security-k8s-tests_istio
177a6af6f03fba5118e988b61f078499dc02f3ec
link
/test integ-security-k8s-tests_istio

integ-multicluster-k8s-tests_istio
de49c705d2a6c5219e8b95d813dc978d563be400
link
/test integ-multicluster-k8s-tests_istio

integ-distroless-k8s-tests_istio
de49c705d2a6c5219e8b95d813dc978d563be400
link
/test integ-distroless-k8s-tests_istio

integ-pilot-k8s-tests_istio
de49c705d2a6c5219e8b95d813dc978d563be400
link
/test integ-pilot-k8s-tests_istio

integ-telemetry-k8s-tests_istio
de49c705d2a6c5219e8b95d813dc978d563be400
link
/test integ-telemetry-k8s-tests_istio

integ-ipv6-k8s-tests_istio
6a5e4ad07c3621eb6708cabfc588f3548a77dd1a
link
/test integ-ipv6-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@rshriram: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-security-k8s-tests_istio
177a6af6f03fba5118e988b61f078499dc02f3ec
link
/test integ-security-k8s-tests_istio

integ-multicluster-k8s-tests_istio
de49c705d2a6c5219e8b95d813dc978d563be400
link
/test integ-multicluster-k8s-tests_istio

integ-pilot-k8s-tests_istio
de49c705d2a6c5219e8b95d813dc978d563be400
link
/test integ-pilot-k8s-tests_istio

integ-telemetry-k8s-tests_istio
de49c705d2a6c5219e8b95d813dc978d563be400
link
/test integ-telemetry-k8s-tests_istio

integ-ipv6-k8s-tests_istio
6a5e4ad07c3621eb6708cabfc588f3548a77dd1a
link
/test integ-ipv6-k8s-tests_istio

integ-distroless-k8s-tests_istio
6a5e4ad07c3621eb6708cabfc588f3548a77dd1a
link
/test integ-distroless-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@rshriram: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-security-k8s-tests_istio
177a6af6f03fba5118e988b61f078499dc02f3ec
link
/test integ-security-k8s-tests_istio

integ-pilot-k8s-tests_istio
de49c705d2a6c5219e8b95d813dc978d563be400
link
/test integ-pilot-k8s-tests_istio

integ-telemetry-k8s-tests_istio
de49c705d2a6c5219e8b95d813dc978d563be400
link
/test integ-telemetry-k8s-tests_istio

integ-ipv6-k8s-tests_istio
6a5e4ad07c3621eb6708cabfc588f3548a77dd1a
link
/test integ-ipv6-k8s-tests_istio

integ-distroless-k8s-tests_istio
6a5e4ad07c3621eb6708cabfc588f3548a77dd1a
link
/test integ-distroless-k8s-tests_istio

integ-multicluster-k8s-tests_istio
6a5e4ad07c3621eb6708cabfc588f3548a77dd1a
link
/test integ-multicluster-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@rshriram: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-security-k8s-tests_istio
177a6af6f03fba5118e988b61f078499dc02f3ec
link
/test integ-security-k8s-tests_istio

integ-telemetry-k8s-tests_istio
de49c705d2a6c5219e8b95d813dc978d563be400
link
/test integ-telemetry-k8s-tests_istio

integ-ipv6-k8s-tests_istio
6a5e4ad07c3621eb6708cabfc588f3548a77dd1a
link
/test integ-ipv6-k8s-tests_istio

integ-distroless-k8s-tests_istio
6a5e4ad07c3621eb6708cabfc588f3548a77dd1a
link
/test integ-distroless-k8s-tests_istio

integ-multicluster-k8s-tests_istio
6a5e4ad07c3621eb6708cabfc588f3548a77dd1a
link
/test integ-multicluster-k8s-tests_istio

integ-pilot-k8s-tests_istio
6a5e4ad07c3621eb6708cabfc588f3548a77dd1a
link
/test integ-pilot-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@rshriram: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-telemetry-k8s-tests_istio
de49c705d2a6c5219e8b95d813dc978d563be400
link
/test integ-telemetry-k8s-tests_istio

integ-ipv6-k8s-tests_istio
6a5e4ad07c3621eb6708cabfc588f3548a77dd1a
link
/test integ-ipv6-k8s-tests_istio

integ-distroless-k8s-tests_istio
6a5e4ad07c3621eb6708cabfc588f3548a77dd1a
link
/test integ-distroless-k8s-tests_istio

integ-multicluster-k8s-tests_istio
6a5e4ad07c3621eb6708cabfc588f3548a77dd1a
link
/test integ-multicluster-k8s-tests_istio

integ-pilot-k8s-tests_istio
6a5e4ad07c3621eb6708cabfc588f3548a77dd1a
link
/test integ-pilot-k8s-tests_istio

integ-security-k8s-tests_istio
6a5e4ad07c3621eb6708cabfc588f3548a77dd1a
link
/test integ-security-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Automatically exit the session

Steps to reproduce
Add-Type -Path C:\Users\Administrator\.nuget\packages\selenium.webdriver\4.0.0-alpha05\lib\net47\WebDriver.dll
[OpenQA.Selenium.Edge.EdgeDriver]::new();

Expected behavior
enter-pssession  xxx
[xxx.xxx...] > xxx
error
[xxx.xxx...] >

Actual behavior
error
ps >

Environment data

ps 7

Close as stale issue. Feel free to continue discussion.

Close as stale issue. Feel free to continue discussion.