FHIR Search using Reference Behavior working in unexpected ways

Describe the bug
Reference Search Behavior working in unexpected ways
To Reproduce
Steps to reproduce the behavior:

Create a Patient

curl --location --request POST 'https://localhost:9443/fhir-server/api/v4/Patient' \
--header 'Authorization: Basic CHANGEME' \
--header 'Content-Type: application/json' \
--data-raw '{
  "resourceType": "Patient",
  "managingOrganization": {
       "reference": "Organization/1",
        "display": "Demo Org"
  },
  "contact": [
    {
      "relationship": [
        {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/v2-0131",
              "code": "E"
            }
          ]
        }
      ],
      "organization": {
        "reference": "Organization/1",
        "display": "Demo Org"
      }
    }
  ],
  "text": {
    "status": "generated",
    "div": "
\n      \n
\n        \n
\n          \n
\n            \n            Name	\n            \n            Peter James \n              Chalmers ("Jim")\n            	\n          \n
\n          \n
\n            \n            Address	\n            \n            534 Erewhon, Pleasantville, Vic, 3999	\n          \n
\n          \n
\n            \n            Contacts	\n            \n            Home: unknown. Work: (03) 5555 6473	\n          \n
\n          \n
\n            \n            Id	\n            \n            MRN: 12345 (Acme Healthcare)	\n          \n
\n        \n
\n      \n
    \n    \n
"
  },
  "identifier": [
    {
      "use": "usual",
      "type": {
        "coding": [
          {
            "system": "http://hl7.org/fhir/v2/0203",
            "code": "MR"
          }
        ]
      },
      "system": "urn:oid:<IP_ADDRESS>.5<IP_ADDRESS>",
      "value": "12345",
      "period": {
        "start": "2001-05-06"
      },
      "assigner": {
        "display": "Acme Healthcare"
      }
    }
  ],
  "active": true,
  "name": [
    {
      "use": "official",
      "family": "Chalmers",
      "given": [
        "Peter",
        "James"
      ]
    },
    {
      "use": "usual",
      "given": [
        "Jim"
      ]
    }
  ],
  "telecom": [
    {
      "use": "home"
    },
    {
      "system": "phone",
      "value": "(03) 5555 6473",
      "use": "work"
    }
  ],
  "gender": "male",
  "birthDate": "1974-12-25",
  "_birthDate": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime",
        "valueDateTime": "1974-12-25T14:35:45-05:00"
      }
    ]
  },
  "deceasedBoolean": false,
  "address": [
    {
      "use": "home",
      "type": "both",
      "line": [
        "534 Erewhon St"
      ],
      "city": "PleasantVille",
      "district": "Rainbow",
      "state": "Vic",
      "postalCode": "3999",
      "period": {
        "start": "1974-12-25"
      }
    }
  ],
  "extension": [
    {
        "url": "http://com.ibm.fhir.sample/favorite-mlb",
        "valueString": "RedSox"
    },
    {
        "url": "http://com.ibm.fhir.sample/favorite-nfl",
        "valueString": "bad-bad"
    }
  ]
}'

Call curl --location --request GET 'https://localhost:9443/fhir-server/api/v4/Patient?organization=https://localhost:9443/fhir-server/api/v4/Organization/1' \ --header 'Authorization: Basic CHANGEME' \ --header 'Content-Type: application/json'

It should return the Patient, however due to a limited regular expression it returns nothing.
Expected behavior
It should return the Patient.
Additional context
n/a

was this bug introduced with the fix for #300?  or were there parts of this that were wrong prior to that fix as well?  just asking for clarity reasons in the 4.4.1 release notes....if it was introduced in the fix for #300 then I don't think we need to mention the bug in our release notes at all...will just mention the new support introduced.

I introduced this bug with #300


Update tests

Existing tests had some repetition and wrong grouping. Thus, some changes were introduced to ease reading tests and using autodux:

Refactor the original test "dux" into createCounterDux and use it where possible.
Group tests by the module under test (slice, actions, reducer, etc.)
Remove duplicated tests.
Add tests for cases when autodux is called without an argument. These tests may help to consider edge cases during further evolution of autodux.
Add test for initial.

Due to changes in tests grouping, it is easier to start code review looking at the actual source of test.js rather than the diff.

Looks like we're just waiting on the throw change now, right?

@ericelliott, yep. The update is coming soon. 🙂

Additional changes:

Add handling of missing or wrong slice value.
Fix reducer returned from createAction and used for the whole slice. It now works for primitive values and not just objects.
Create module for error strings (errors.js).
Remove irrelevant test cases.
Regroup some of test cases.


Different nonexistence values in hpd_temps and starcryo_temps

It looks like hpd_temps uses None to signal that a thermometer doesn't exist, while starcryo_temps uses nan. I'd like to standardize on one (I prefer None) but I don't understand this code or what might be relying on these values. @gitj Thoughts?

I prefer nan because when asking for multiple times, an array is returned, and an array of None's will be an object array which is not a good thing here. I went ahead and pushed this change.


Make console logger more consistent

This pull request includes several updates to the ConsoleLogger class in src/plugins/loggers/ConsoleLogger/index.ts to enhance logging functionality and readability. The most important changes include importing the RCode utility, improving error logging, and modifying the log message format.
Enhancements to logging functionality:

src/plugins/loggers/ConsoleLogger/index.ts: Imported RCode from ../../../common/core/utils to provide more descriptive error codes in log messages.
src/plugins/loggers/ConsoleLogger/index.ts: Updated the register method to log errors using RCode descriptions when DNS responses contain errors.
src/plugins/loggers/ConsoleLogger/index.ts: Changed the register method to use this.debug instead of console.log for logging DNS response details.
src/plugins/loggers/ConsoleLogger/index.ts: Modified the handler method to use this.debug instead of console.log for logging DNS request details.

Improvements to log message format:

src/plugins/loggers/ConsoleLogger/index.ts: Adjusted the format method to add a tab character after the log level for better readability.

Closing this PR as we're adding another PR to move the ConsoleLogger in a different direction

Closing this PR as we're adding another PR to move the ConsoleLogger in a different direction


[CLI] Add command completions for sozo, katana

https://docs.rs/clap_complete/latest/clap_complete/

i can take this up

generating completion file using a subcommand is a common practice right? for e.g. sozo generate-completion shell-name

yes


Declutter ManagedGroup

This PR tries to declutter the various functions of ManagedGroup. The code is simply copied from mod.rs to smaller files. There are no code changes.

lgtm
Let's make sure we coordinate with #500 to avoid bit rot either way.

Do you want to wait until #500 has landed, or do you want to rebase #500 in this PR?

Do you want to wait until #500 has landed, or do you want to rebase #500 in this PR?

We got a couple more changes in #500 now
 openmls/src/group/managed_group/errors.rs             |   4 +-
 openmls/src/group/managed_group/mod.rs                | 152 +++++++++++++++++++++++++++------------------
 openmls/src/group/managed_group/test_managed_group.rs | 179 +++++++++++++++++++++++++++++++----------------------
 3 files changed, 199 insertions(+), 136 deletions(-)

Maybe do a first pass on #500, then we see how long it will take to land. Rebasing it on top of this is certainly doable and not too much work.


Highcharts.exporting.USE_TITLE_FOR_FILENAME broken with CSV and XLS

I'm using this for exporting.filename and it works great for JPG, PNG and PDF however for CSV and XLS the filename is function (options, chartOptions) {-    var title = this.title - this.title.textStr.replace(- -g, '-').toLowerCase() - 'chart';-    return title;-  }.csv

Fwiw, and I realize this is probably a bit late, but I have a fix for this issue in this unmerged PR:
https://github.com/A----/highcharts-export-clientside/pull/26


gogs V.9.0 windows service fails to run

We DO NOT take questions or config/deploy problems on GitHub, please use our forum: https://discuss.gogs.io
Please take a moment to search that an issue doesn't already exist.
For bug reports, please give the relevant info:

Gogs version (or commit ref): .9.0
Git version:
Operating system: Windows 7
Database:

[ ] PostgreSQL
[ ] MySQL
[ X ] SQLite

Can you reproduce the bug at http://try.gogs.io:

[ ] Yes
[ X] No
[ ] Not relevant

Log gist:

When starting go git as a service on windows 7, it fails with

I was running the previous version without issue .8.43. It seems to be something in the binary itself. I tried an inplace replacement of the exe and i received the error.
I then tried a new setup and received the same error message.
Windows event viewer has no information other than "The gogs service terminated unexpectedly." This happens to all versions of the windows release, 32 bit and 64 bit
...

Make sure the user the service is running as has permission on the folders used (logs etc).
Also make sure the binPath is 'C:\path\to\gogs.exe web --config C:\path\to\app.ini' or something similar.

Hi, please always check Gogs log, nothing else help debug.
Close by

We DO NOT take questions or config/deploy problems on GitHub, please use our forum: https://discuss.gogs.io


build: add labels in the csv

Signed-off-by: Nitin Goyal<EMAIL_ADDRESS>Bug: https://bugzilla.redhat.com/show_bug.cgi?id=2118972
full_version label is added in the DS build pipeline if and only if we have some labels defined in the CSV. currently, LVMO CSV does not hold any labels. The PR does add few labels into the CSV.

/retest

/cherry-pick release-4.12


Add tool for migrating from local deep storage/Derby metadata

This PR adds a new tool under services meant to assist with the following use case:
Users sometimes begin evaluating Druid with a simple deployment that uses local deep storage and Derby. After using the evaluation deployment for some time and ingesting some segments, they wish to move to MySQL or PostgreSQL and/or use a different deep storage, while keeping their old segments and ingestion setup.
This tool exports the contents of the following Druid tables:

segments
rules
config
datasource
supervisors

These tables are chosen since they contain non-transient (like task locks), non-historical entities (like task logs), as the tool is intended for migrations where the user shuts the entire cluster down.
The tool also allows users to specify a new S3 bucket/key, HDFS path, or new local filesystem path, and the entries from the segments table will be rewritten with new load specs. This is to assist with deep storage migration.
Currently only migration from local deep storage combined with Derby metadata is supported (the use case described above), the tool could be later expanded to handle other use cases.

@jihoonson

Also I tested the command in the doc, it emitted the below error. Would you check it please?

I fixed this, I had simplified the example command too much and left out -Ddruid.extensions.loadList=[], thanks


error: no matching package named atty found (required by cargo)

Look at https://github.com/meta-rust/meta-rust/issues/224
DEBUG: Executing shell function do_compile
NOTE: cargo = /wr/sandbox/prodrigu/cases/balenaOS/balena-edison/build/tmp/work/x86_64-linux/cargo-native/0.25.0-r0/cargo-0.24.0-x86_64-unknown-linux-gnu/cargo/bin/cargo
NOTE: rustc =
NOTE: /wr/sandbox/prodrigu/cases/balenaOS/balena-edison/build/tmp/work/x86_64-linux/cargo-native/0.25.0-r0/cargo-0.24.0-x86_64-unknown-linux-gnu/cargo/bin/cargo build -v --target x86_64-linux --release
error: no matching package named atty found (required by cargo)
location searched: registry https://github.com/rust-lang/crates.io-index
version required: = 0.2.11
WARNING: /wr/sandbox/prodrigu/cases/balenaOS/balena-edison/build/tmp/work/x86_64-linux/cargo-native/0.25.0-r0/temp/run.do_compile.141829:1 exit 101 from '"/wr/sandbox/prodrigu/cases/balenaOS/balena-edison/ build/tmp/work/x86_64-linux/cargo-native/0.25.0-r0/cargo-0.24.0-x86_64-unknown-linux-gnu/cargo/bin/cargo" build -v --target x86_64-linux --release "$@"'
ERROR: Function failed: do_compile (log file is located at /wr/sandbox/prodrigu/cases/balenaOS/balena-edison/build/tmp/work/x86_64-linux/cargo-native/0.25.0-r0/temp/log.do_compile.141829)

I have the exact same problem building balenaOs for raspberry Pi.

@paroque28 did you eventually make it go past this problem? Or is it still an issue for you?
Are you seeing this in a new build or on an existing incremental build?

This was fixed for @siredmar by using an OS distro and version supported by Poky. So considering this and the lack of reply, will close this issue here


Maximum sequence length

Hi,
When using the likelihood functionality of AbLang, I'm noticing an upper limit of sequence length that it will still process (somewhere < 150 residues).
Breaking example:
heavy_ablang = ablang.pretrained("heavy", device="cpu")
heavy_ablang.freeze()
likelihoods = heavy_ablang("HASTA"*40, mode='likelihood')

On CPU I get the following error:
IndexError: index out of range in self
On GPU I get cryptic CUDA errors which bork the GPU until kernel restart.
Is there an known upper limit for sequence length?
Thanks!

That's perfect, thank you! :)

sorry to cut in at this issue, but I am wondering why you choose 768 as inp_dim length? Does this has some relation with ESM?


[docs] Demo VirtualElementPopper crashes

[ ] I have searched for similar issues in this repository and believe that this is not a duplicate.

Steps to Reproduce

Visit https://mui.com/material-ui/react-popper/#virtual-element
??
demo VirtualElementPopper crashes

Your Environment

Tech
Version

MUI
v5.10.9

Netlify deploy
https://634559a4d8e9450008ca12e0--material-ui-docs.netlify.app

Browser
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36

Duplicate of #32106


Demos not loading

Demos links like https://spite.github.io/FaceMeshFaceGeometry/examples/mask/index.html seem no longer work because the tfhub site hosting the model json seems to no longer be around https://tfhub.dev/tensorflow/tfjs-model/blazeface/1/default/1/model.json?tfjs-format=file seems

Are you sure? it seems to be working here...

hmm, you're right https://updownradar.com/status/tfhub.dev
maybe it's broken or blocked from my ISP 😢


Support GLPK use in backfill corrections container

At the moment, backfill corrections can't run in the docker container without a Gurobi license, provided via params.json. If license info isn't provided or if the user requests it, we want the process to be able to use GLPK instead. Which optimizer to use should be available as a setting in params.

Using GLPK to fit models also isn't much/any slower than gurobi, so if licensing becomes a problem in the future, it is not a big deal to switch. The intuition here is that gurobi is (apparently) optimized to fit "big"/"complex" models quickly but that those optimizations don't necessarily apply well to all or perhaps some types of smaller problems.

Most of this is already set up, that is we have a params$lp_solver setting that is properly passed around to functions as needed. However, we don't gracefully handle cases when gurobi is requested but can't be used (e.g. license info is invalid). In those cases, we get Training failed for cache/20200221_20200122_changehc_covid_state_lambda0.1_count_ak_lag1_tau0.01.model, for example, and cascading errors like Error in integer(n) : invalid 'length' argument.


[BUG] UI doesn't look user friendly

The table section for the invoice entry is overflowing out of the container and the headings in the table is not filling the full width.
I would like to work on to fix these,
Please assign this issue to me

Yea sure!


Support for vue3

@alandecastros Please try to install yarn add vue-unicons@next. Repo for Vue 3 there.


Fix alert tests alerting the duty officer

Codecov Report

Merging #494 into master will increase coverage by 0.15%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #494      +/-   ##
==========================================
+ Coverage    81.5%   81.66%   +0.15%
==========================================
  Files          38       38
  Lines        2666     2672       +6
  Branches      161      161
==========================================
+ Hits         2173     2182       +9
+ Misses        442      440       -2
+ Partials       51       50       -1

Impacted Files
Coverage Δ

cabot/cabotapp/views.py
72.96% <100%> (+0.31%)
:arrow_up:

cabot/cabotapp/models.py
74.77% <0%> (+0.53%)
:arrow_up:

Continue to review full report at Codecov.

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


Handle nonce overflow in ockam_secure_channel

In ockam_secure_channel, when the nonce overflows we begin returning an error: https://github.com/ockam-network/ockam/blob/develop/implementations/rust/ockam/ockam_channel/src/secure_channel_worker.rs#L142-L144. I don't think anything handles this error higher up (it's not specific enough to really be handled in that way).
Instead, this should rekey, so that you can send more than u16::MAX messages.

I was re-reading the noise paper again today and they recommend not resetting n across rekeys so we may have to send the full 8-byte nonce over the wire.

Note that rekey only updates the cipherstate’s k value, it doesn’t reset the cipherstate’s n value, so applications performing rekey must still perform a new handshake if sending 264 or more transport messages.

Vault.aead_aes_gcm_encrypt(vault, k1, (:math.pow(2, 64) - 1), <<>>, <<0::size(256)>>)

This didn't work from elixir.

REKEY(k): Returns a new 32-byte cipher key as a pseudorandom function of k. If this function is not specifically defined for some set of cipher functions, then it defaults to returning the first 32 bytes from ENCRYPT(k, maxnonce, zerolen, zeros), where maxnonce equals 264-1, zerolen is a zero-length byte sequence, and zeros is a sequence of 32 bytes filled with zeros.

I'm not 100% sure this explains what you're seeing, but FWIW we also seem to have an issue that the Erlang bindings don't check the size of nonce is within the range of a uint16_t before passing them to a function that takes a u16, (c header, rust definition). C will silently truncate an unsigned int passed to a function that accepts a uint16_t like this.
We should fix this, and audit the FFI interface for other similar issues, but I think it's not related per-se to the issue. I am not 100% sure this is responsible for what you describe, though.

https://github.com/build-trust/ockam/pull/4756 adds periodically rekeys to secure channel,  plus fixes the error when encrypting with nonces > 2^16 from elixir.
To exhaust the nonce space,  now the channel need to go over 2^64-1  messages,  so while the issue of how to graceful handle that failure remains, it's a much lesser concern

Fixed by https://github.com/build-trust/ockam/pull/6774


New exchange: Gate.io

Can you add Gate.io exchange?
API here: https://gate.io/api2

@mazertwo, looks like we can ;)

Bter recommend to withdraw all funds from them to gate.io with same login and pass. I think, gate.io is the new bter :)

@mazertwo they do it all the time.. In fact it's so often, that I'm going to send them a suggestion to create an API for migrating the API next time...

Done! ;)


Refacto & some new things

First, thanks a lot for sharing this ! :+1:
It inspired me to use rofi some more :)
General refacto :

wrap in functions to use local variables
integrate confirmation into main script
use recommended safe syntax for variables (shellcheck)
#/usr/bin/env bash to make sure the correct bash in used
escaped common binaries (such as cat) to ensure unaliased usage
(eg: if cat has an alias on top of it, using \cat will use the basic cat instead. Many people alias their cat for colors or other things.)

New things :

new option unsafe : makes yes focused by default
new option message : you can supply a custom string instead of the default "Confirm ?"
supplied a sample tasks.json file with various examples

Hey @pmachart this looks great! I don't know a lot about bash, so I appreciate this. I'll take a look and let you know if there's any comments, otherwise I'll merge this right in.
Thanks!

Hey @pmachart this looks great! I don't know a lot about bash, so I appreciate this. I'll take a look and let you know if there's any comments, otherwise I'll merge this right in.

Hey !
Glad you like it. Thanks for taking the time to look at this !
I answered your comments. Don't hesitate to ask anything !


Skywalking Oap server Storage to elasticSearch-6.* failed

Recently We upgrade skywalking from 8.1.0 to 8.3.0 . Then we found problems , when we used 8.3.0 storage to elasticSearch .it current exception like this :

this is stack info :

During this time, we began to deal with this problem .
finally , We used arthas to find the problem !!!
When storing to es , we print the logs as you see in the image below , it really is too length

Then we started to analyze the id , we find the really long part like this

It repeat once more ,but that is not an important problem !!!
The real problem is that when we decode this string , it is all of us oap server nodes' ip .
We deploy on k8s , so we have many pods to run the oap server node , and then current this problem .
thanks

Why this ID is so long? There is a length control mechanism, do your team change some of them?


have problem with building with mingw.

I meet with problem when I trying to build with mingw, do you have tutorials which can show me how to build with mingw step by step?

Basically you should use MSYS2 and MinGW-w64.
You also need to make sure you have the dependancies available.
Is there a reason you are not using the pre-built binaries for Windows?
These were built with MSYS2+MinGW-w64.


The initial execution of a Python file is slow again

Need to investigate why this is happening again.

@joyceerhl has something changed that can explain this. I saw this especially when debugging and @alexr00 saw it as well during testing. See https://github.com/microsoft/vscode/issues/167399#issuecomment-1330608483

Here is a network trace when starting a debugging session.

Interesting is that every file fetch takes again between 100-250 ms although I preload the workspace content using the loadWorkspaceContents

A second run in the same session is more or less instant.

I tried the same under Google Chrome after clearing all browser data and here debugging was instant with the followinh network trace:

I was able to repro exactly what Alex saw in Edge, i.e. running a file is fast and debugging right after is very slow on the first try, but subsequently debugging is fast. I even ran Developer: Reset User Data which is a VS Code command that wipes all extension data and IndexedDB contents, but debugging continued to be fast afterwards, which is a bit mysterious.

@joyceerhl the difference might be that when debugging a lot more Python library files need to be pulled from GitHub than compared to running a Python file. However, I have no explanation why pulling the files needed for debugging should be slow since I assume they should be cached as well (they come from the same GitHub repository).

I tried various things today to reproduce this but wasn't able to do so. I will keep logging enabled for my testing in case I see this again so that we know more why this could have happened.

For some reason after refreshing the page I got a slow run and debug.
Trace from the Python WASM extension
[Info - 4:03:10 PM] Workspace content loaded successful.
[Info - 4:03:10 PM] python.wasm cached successful.

And here the trace of the remote repository channel
trace-30.txt
Ignore the timestamp difference. I think remote repositories uses UTC and I use local time which is UTC+1.

What is interesting about the trace is that all stat calls are fast but all readFile calls to vscode-vfs://github/dbaeumer/python-3.11.0rc are slow (e.g. they take >= 300ms)
@joyceerhl Could it be that some throttling happens. If this can happen even in the load workspace content case could we fin that out in the response header and log it as well.

Do you happen to have the GitHub Repositories log as well? That log above is for Remote Repositories, and I'm interested in whether we are fulfilling the reads from the tar or from network.

@joyceerhl here are the two outputs from a slow debug session in the web
remote-repository.txt
github-repositories.txt
The vscode-vfs://github/microsoft/vscode-python-web-wasm repository actually contains the Python wasm file and library code. The vscode-vfs://github/dbaeumer/python-sample contain the sample code.
The content of the vscode-vfs://github/microsoft/vscode-python-web-wasm changes quite frequently since it contains the extension code and the Python WASM and libs. I saw in the trace some sort of merge conflict stuff. Could this cause the slowdown?

Yeah, the github-repositories.txt log suggests that this is what happens:

We load the sample code, this is not loaded from a tar
We load the vscode-python-web-wasm repository via the loadWorkspaceContents API, i.e. download tar and extract it[2022-12-05 10:27:40:426] [  190] TarPit.getTar(github/microsoft/vscode-python-web-wasm/087c5ef9e56b42245ad47a8b38df764c4d7798ee): Not found • Getting .tar from disk took 46 ms • Getting .tar from network...
[2022-12-05 10:27:40:448] [  191] GitHub.ensureAuthenticated
[2022-12-05 10:27:40:448] [  191] GitHub.ensureAuthenticated took 0 ms
[2022-12-05 10:27:40:462] [  186] [GITHUB] GET /repos/{owner}/{repo}/git/blobs/{file_sha} took 291 ms
[2022-12-05 10:27:40:462] [  185] getFileContentsRetrieved sorter.py from web took 292 ms
[2022-12-05 10:27:40:477] [  183] [GITHUB] GET /repos/{owner}/{repo}/git/blobs/{file_sha} took 310 ms
[2022-12-05 10:27:40:477] [  182] getFileContentsRetrieved hello.py from web took 311 ms
[2022-12-05 10:27:40:482] [  175] [GITHUB] GET /repos/{owner}/{repo}/git/blobs/{file_sha} took 325 ms
[2022-12-05 10:27:40:483] [  174] getFileContentsRetrieved debug.py from web took 326 ms
[2022-12-05 10:27:40:488] [  179] [GITHUB] GET /repos/{owner}/{repo}/git/blobs/{file_sha} took 328 ms
[2022-12-05 10:27:40:494] [  178] getFileContentsRetrieved endless.py from web took 334 ms
[2022-12-05 10:27:41:551] [  190] TarPit.getTar(github/microsoft/vscode-python-web-wasm/087c5ef9e56b42245ad47a8b38df764c4d7798ee) Getting .tar from network took 1124 ms • Unzipping .tar...
[2022-12-05 10:27:42:033] [  190] TarPit.getTar(github/microsoft/vscode-python-web-wasm/087c5ef9e56b42245ad47a8b38df764c4d7798ee)Finished getting tar took 1653 ms (Unzipping .tar took 482 ms)
[2022-12-05 10:27:42:033] Cleaning up search cache...
[2022-12-05 10:27:42:033] [  190] TarPit.getTar(github/microsoft/vscode-python-web-wasm/087c5ef9e56b42245ad47a8b38df764c4d7798ee) took 0 ms • Got .tar from network
[2022-12-05 10:27:42:035] Sucessfully wrote tarball to disk in 1655ms

We then realize that we're actually 1 commit behind and perform a fast forward[2022-12-05 10:28:05:466] [  208] GitHub.getAheadBehindState(vscode-vfs://github/microsoft/vscode-python-web-wasm, base=087c5ef9e56b42245ad47a8b38df764c4d7798ee, head=f973023d19ba8201f0ed452c3c6556c82624d005) took 631 ms • 1 commits behind
[2022-12-05 10:28:05:466] [  206] GitHub.fetch(vscode-vfs://github/microsoft/vscode-python-web-wasm, force=true, to=undefined) took 941 ms (Fetching upstream changes took 632 ms) • Changes detected; 1 commits behind
[2022-12-05 10:28:05:467] Fast forward to f973023d19ba8201f0ed452c3c6556c82624d005; rootUri=vscode-vfs://github/microsoft/vscode-python-web-wasm

This invalidates the cached tar and all subsequent requests again go to network and do not benefit from caching

@joyceerhl is there anything I can do here?

Do you anticipate the vscode-python-web-wasm repo to change frequently? If it will remain mostly untouched, users are unlikely to run into this scenario (in the short run).
Nevertheless, this exposes a problem that if a repository has been fast forwarded, not only do users potentially get unlucky with poor performance, but consumers of loadWorkspaceContents may also continue to read files greedily under the assumption that the reads are coming out of the tar, which could cause us to exhaust GH API rate limits or potentially offer up stale files for anycode language server references depending on how anycode handles file change events today (cc @jrieken). I can think of at least three different ways to address this, the first one would not require adoption from anycode or vscode-python-web-wasm and the other two would:

Change the behavior of loadWorkspaceContents such that we automatically re-run loadWorkspaceContents for any repository uri that it has been invoked on before if the repository gets synced

This lets us avoid exposing more information on the extension API surface but could be unexpected/unintuitive

Expose an extension API event onDidSyncRepository which fires when the repository is synced and the tar is invalidated. vscode-python-web-wasm and anycode would then subscribe to this event and re-invoke loadWorkspaceContents when the event fires

This requires exposing and adopting a new extension API which hardens the requirement to run all these extensions in the same extension host

Consumers of loadWorkspaceContents to pass in the specific SHA they are interested in (i.e. make it explicit which version of the tar we're fetching)

This doesn't seem like a great option for consumers who must now know what the latest SHA is

Actually,  vscode-python-web-wasm will change frequently since it host currently both the default python installation and the extension code. We could move the default python installation into another repository but that would look strange from a repository point of view.
I am actually for option (ii). I do for example load the wasm file into shared memory (and cache it there) so that I don't need to copy it into the worker on every run. Since a sync can happen at any time I would need to drop the WASM file again and reload it into shared memory. For that I would need the event.

@dbaeumer is copying the wasm file into shared memory still beneficial if we have shared array buffers and cross origin isolation enabled (I assume so but just want to confirm)? If it is then I'd propose to add
readonly onDidSyncRepository: Event<{ repositoryUri: vscode.Uri }>;

Actually, RemoteHub implements watch and onDidChangeFile, so I think a fourth option is for your extension to call vscode.workspace.createFileSystemWatcher on the relevant repository URI and subscribe to FileSystemWatcher.onDidChange.

@joyceerhl I think it depends on how we handle these buffers now in memory. To my understanding VS Code's FS API still uses no shared buffers  (@jrieken need to clarify). As a result the extension still profits from copying the WASM into shared memory since it avoid copying it into the worker over and over again.

We have no GA for shared memory yet

Listening now to the event in version 0.9.0


How to Configure deploy widget ( Udeploy Collector issue)

Hi,
I am unable to see anything in deploy widget of Hygieia .
I imported the SSL cert and was able to run collector successfully. But I donot see proper data in hygieia.  Below are api output and screen shots attached.
I see only application name rest are empty. Below are results
https://<IP_ADDRESS>:8443/rest/deploy/application
[{"id":"8db06d0d-874f-4338-9903-b3de34f2de05","securityResourceId":"35981c95-7851-4636-921b-938e5b2435ad","name":"Sample_App_Deploy","description":"","created":1483992118553,"enforceCompleteSnapshots":false,"active":true,"tags":[],"deleted":false,"user":"admin"}]

https://<IP_ADDRESS>:8443/rest/deploy/application/8db06d0d-874f-4338-9903-b3de34f2de05/environments/false
[{"security":{"Create Environments":true,"Create Environments From Template":true,"Delete":true,"write":true,"Edit Basic Settings":true,"execute":true,"Execute on Environments":true,"Manage Approval Processes":true,"Manage Base Resources":true,"Manage Properties":true,"Manage Teams":true,"read":true,"View Environments":true},"id":"71a8834b-0036-4e27-a57e-d8b9339fb325","securityResourceId":"a9e0a5f3-7ec3-4061-9d4d-2dceec475140","name":"Test_Env","description":"","color":"#00B2EF","requireApprovals":false,"noSelfApprovals":false,"lockSnapshots":false,"calendarId":"5326a8cf-30e5-42c5-ab2b-600c8b44f54e","active":true,"deleted":false,"cleanupDaysToKeep":0,"cleanupCountToKeep":0,"enableProcessHistoryCleanup":false,"useSystemDefaultDays":true,"historyCleanupDaysToKeep":365,"conditions":[]}]

https://<IP_ADDRESS>:8443/rest/deploy/environment/71a8834b-0036-4e27-a57e-d8b9339fb325/resources
[{"security":{"Create Resources":true,"Delete":true,"write":true,"Edit Basic Settings":true,"Manage Children":true,"Manage Impersonation":true,"Manage Properties":true,"Manage Teams":true,"Map to Environments":true,"read":true,"View Resources":true},"id":"6659ade4-9915-4a36-a71a-bf2810e58dc5","securityResourceId":"17118bda-f1c9-4645-a2ed-d3cf7838bc14","name":"Sample_App_Deploy","path":"/Sample_App_Deploy","active":true,"description":"","inheritTeam":false,"discoveryFailed":false,"prototype":false,"impersonationPassword":"****","impersonationUseSudo":false,"impersonationForce":false,"hasAgent":false,"tags":[],"resource":{"id":"17118bda-f1c9-4645-a2ed-d3cf7838bc14"},"versions":[],"hasChildren":true,"isRoot":true}]

https://<IP_ADDRESS>:8443/rest/deploy/environment/71a8834b-0036-4e27-a57e-d8b9339fb325/noncompliantResources
[ ]

@shilpsl1  - I see the rest call is success returning environment details. Check if collector task is insert/updating values into MongoDB.

I see in DB that Sample_App_Deploy entry is present

db.collectors.find()
{ "_id" : ObjectId("585af60a0b2f38094d7800c3"), "_class" : "com.capitalone.dashboard.model.Collector", "name" : "Product", "collectorType" : "Product", "enabled" : true, "online" : true, "lastExecuted" : NumberLong(0) }
{ "_id" : ObjectId("5873e83c0b2f38726da5a067"), "_class" : "com.capitalone.dashboard.model.UDeployCollector", "udeployServers" : [ "https://<IP_ADDRESS>:8443" ], "niceNames" : [ ], "name" : "UDeploy", "collectorType" : "Deployment", "enabled" : true, "online" : true, "lastExecuted" : NumberLong("1484169300192") }

db.components.find()
{ "_id" : ObjectId("587002500b2f387f4f0aee71"), "_class" : "com.capitalone.dashboard.model.Component", "name" : "DevOps", "collectorItems" : { "Deployment" : [ { "_id" : ObjectId("587533e00b2f3858c0d4410c"), "description" : "Sample_App_Deploy", "enabled" : true, "pushed" : false, "collectorId" : ObjectId("5873e83c0b2f38726da5a067"), "lastUpdated" : NumberLong(0), "options" : { "applicationId" : "8db06d0d-874f-4338-9903-b3de34f2de05", "applicationName" : "Sample_App_Deploy", "instanceUrl" : "https://<IP_ADDRESS>:8443" } } ] } }
{ "_id" : ObjectId("5873e8170b2f384502062b19"), "_class" : "com.capitalone.dashboard.model.Component", "name" : "DevOps Dash", "collectorItems" : { "Product" : [ { "_id" : ObjectId("587002500b2f387f4f0aee73"), "description" : "DevOps Dashboard", "enabled" : true, "pushed" : false, "collectorId" : ObjectId("585af60a0b2f38094d7800c3"), "lastUpdated" : NumberLong(0), "options" : { "dashboardId" : "587002500b2f387f4f0aee72" } } ] } }

@shilpsl1  - how about --- db.getCollection('environment_components').find({})

It does not show any output. Empty

@shilpsl1  - UDeploy collector is not updating env info into MongoDB. Check properties for db user and pwd are valid and test connection. Follow https://github.com/capitalone/Hygieia/blob/master/collectors/deploy/udeploy/README.md for sample properties. if issues is not resolved,please attach complete UDeploy Collector log.

Thanks for the reply...
DB connection works fine.. Please check the attached log file, property file and jar file which I have tried.
I have tried running all possibilities as shown below,
cd Hygieia-master/collectors/deploy/udeploy/target
java -jar udeploy-deployment-collector-2.0.4-SNAPSHOT.jar --spring.config.name=application –spring.config.location=application.properties
java -jar udeploy-collector-0.1.1.jar --spring.config.name=application –spring.config.location=application.properties
application.properties.txt
deploycollector-2017-01-12.0.log.txt
udeploy-collector-0.1.1.jar.zip

@shilpsl1 - Is Sample_app_Deploy actually deployed? which browser is used?

Not sure if this helps but I am experiencing similar behavior.  I am running my UDeploy Collector through a debugger and noticing that environment variable in UDeployCollectorTask.java is being populated properly wiht my environment "dev".   But compList and combinedDataList are of size 0.   The calls to the uDeploy rest api for my environment seem to be working fine.
Looking in mongo I see  my applicationName being populated in the collector_items, but I don't see anything related to environments being populated anywhere in the db.

Am I missing any step ??? I am not sure what is going wrong ...

I have been facing similar problem. I have my api and uDeploy collector running but i dont see any output on the Deploy widget.
2017-01-17 14:54:59,998 INFO  c.c.d.collector.CollectorTask - Running Collector: UDeploy
2017-01-17 14:55:00,000 INFO  c.c.d.collector.CollectorTask - -----------------------------------
2017-01-17 14:55:00,001 INFO  c.c.d.collector.CollectorTask - http://mycompanyud:8080
2017-01-17 14:55:00,001 INFO  c.c.d.collector.CollectorTask - -----------------------------------
2017-01-17 14:55:00,029 INFO  c.c.d.collector.CollectorTask - All apps                2        0s
2017-01-17 14:55:00,035 INFO  c.c.d.collector.CollectorTask - New apps                0        0s
2017-01-17 14:55:00,090 INFO  c.c.d.collector.CollectorTask -  XLR-Test                        0s
2017-01-17 14:55:00,091 INFO  c.c.d.collector.CollectorTask - Finished                         0s
Mongo DB values:
collectors

db.collectors.find()
{ "_id" : ObjectId("587e657810f90506d0a9af6c"), "_class" : "com.capitalone.dashboard.model.UDeployCollector", "udeployServers" : [ "http://mycompanyud:8080" ], "niceNames" : [ ]
, "name" : "UDeploy", "collectorType" : "Deployment", "enabled" : true, "online" : true, "lastExecuted" : NumberLong("1484683200099") }

collector_items

db.collector_items.find()
{ "_id" : ObjectId("587e657810f90506d0a9af6e"), "_class" : "com.capitalone.dashboard.model.UDeployApplication", "description" : "XLR-Test", "enabled" : true, "pushed" : false, "col
lectorId" : ObjectId("587e657810f90506d0a9af6c"), "lastUpdated" : NumberLong(0), "options" : { "applicationId" : "e8f239f7-c8d1-445d-bfb5-90e01aa13c2e", "applicationName" : "XLR-Te
st", "instanceUrl" : "http://mycompanyud:8080" } }

I have also attahced the json output for application, environment false and resources. The noncompliant resource is null.

@shilpsl1 /@shouebs
Any luck/progress on this issue? I also see the same behavior with the UDeploy collector. I was about to start debugging/troubleshooting the issue, but wanted to check if you have found a solution.

@spyndi
Tried all possibility, nothing seems to work so far ..

@spyndi @shilpsl1 when was the last time you ran the deployment job in UCD?

I try daily, even yesterday made a deployment to check whether it works.
UCD Version which i am using -  6.2.1.

@tabladrum, same here, there was a deployment yesterday. the version of the UCD is 6.2.2.

@tabladrum @shilpsl1 @spyndi
Is there any progress on this issue ? Did anyone get it working ?

we had a call and found that i was using 6.2.1 version of UCD. It is working fine with UCD version 6.1.
May be some issue with 6.2 and above version of UCD.
@shouebs  what version of UCD are you using ?

@shilpsl1  Thanks for the update. I am using 6.2.2 .  Do you have any information if the issue with 6.2 will be fixed ?

@shouebs
May be @tabladrum has to answer this... He said he would check and come back to me this week on this issue. But I did hear anything so far from him ....

@shilpsl1 Thanks.
@tabladrum Please keep us posted if there is any progress with fixing the issue with UCD version 6.2 and above.

@shilpsl1 @tabladrum
FYI - We are also using UCD 6.2.1 version and running into the same issue as reported above.
@tabladrum - I was doing some debugging of the UDeploy collector code and may have some additional data for troubleshooting.
I see that the method "getLowestLevelChildren" in DefaultUDeployClient class is returning a null JSONArray and hence the subsequent calls in the stack is not collecting any data for the widget.
`private JSONArray getLowestLevelChildren(JSONObject topParent, JSONArray returnArray) {
JSONArray jsonChildren = (JSONArray) topParent.get("children");
    if (jsonChildren != null && jsonChildren.size() > 0) {
        for (Object child : jsonChildren) {
            if (!hasChildren((JSONObject) child)) {
                returnArray.add(child);
            } else {
                getLowestLevelChildren((JSONObject) child, returnArray);
            }
        }
    }
    return returnArray;
}`

The input JSONObject to this method is -
{"parent":{"inheritTeam":false,"active":true,"description":"Test - Application","prototype":false,"tags":[],"impersonationForce":false,"path":"/test-103831","security":{"Delete":false,"Manage Impersonation":false,"Manage Teams":false,"Edit Basic Settings":false,"read":false,"Map to Environments":false,"View Resources":false,"write":false,"Manage Children":false,"Create Resources":false,"Manage Properties":false},"hasAgent":false,"name":"test-103831","impersonationPassword":"","securityResourceId":"d346ec32-9622-4364-92d2-4938617ca6bc","id":"f3c72817-394e-48f5-8e4a-f314816a61f6","impersonationUseSudo":false,"discoveryFailed":false},"isRoot":true,"inheritTeam":true,"resource":{"id":"c0d838a4-fe9a-4533-a0b1-33c87629a701"},"hasChildren":true,"active":true,"description":"CIT2","type":"subresource","prototype":false,"tags":[],"impersonationForce":false,"path":"/test-103831/CIT2","security":{"Delete":false,"Manage Impersonation":false,"Manage Teams":false,"Edit Basic Settings":false,"read":true,"Map to Environments":false,"View Resources":true,"write":false,"Manage Children":false,"Create Resources":false,"Manage Properties":false},"hasAgent":false,"versions":[],"name":"CIT2","impersonationPassword":"","securityResourceId":"c0d838a4-fe9a-4533-a0b1-33c87629a701","id":"301b972c-668e-4b9a-a0b0-4c9814889b40","impersonationUseSudo":false,"discoveryFailed":false}
In short, I don't see a "children" node or tag in this JSON construct. I wonder if there is an API change between UCD 6.1.x and 6.2.x is the root cause of this issue.
BTW, the "getLowestLevelChildren" method is being called from "getEnvironmentResourceStatusData" method and I see a comment about some "new logic" that was introduced on Dec16/2015. Please check.
If you would like me to step through the code via. Webex let me know, we can schedule some time.

Sure we can have a call if @tabladrum is available.

@tabladrum
Were you able to review this thread? I would like to understand the action plan on this UDeploy collector issue. I can assist (if needed) to fix this issue.
Thank you

Hi,
Anyone has any update regarding this.
I even downgraded the UCD to  <IP_ADDRESS> even then I am not getting any dashboard view :(
Please let me know if anyone has go solution. Thank you!!!

@spyndi @tabladrum
In DefaultUDeployClient getLowestLevelChildren needs to be changed to handle the 6.2 .  It might be a new api call to Udeploy to get the children based on "hasChildren": true . It needs to be backward compatible with 6.1 also.
The mapping we are looking for is for each childObject:
version
fileName
The images below show the actual uDeploy widget. The rows in the uDeploy widget are links for the various environments. The images for each link when you click on it is also shown.

@satishc1
Are the above screen shots for 6.2 or 6.1 udeploy?
what does  It needs to be backward compatible with 6.1 also mean ?

@shilpsl1: @spyndi and we are collaborating to update the collector and make it compatible to both 6.2 and 6.1. Stay tuned.

That's great!!! Thank you :+1:

Hello all - just curious if anyone knows how soon there might be an update to the collector to make it compatible to both 6.2 and 6.1 uDeploy? Any info on that much appreciated.

Hi tabladrum,
We are trying to connect and get the data from IBM UrbanCode Deploy tool(version <IP_ADDRESS>.830952) via Hygieia code. we are able to get the application detail from configuration widget from dropdown. Once hit the save button from widget,In UCD not showing up in Hygieia Dashboard.
Could you please help us out.
FYI,
Please find the image url

@jlk1975 - I have started working on updating Hygieia uDeploy collector to use uDeploy API 6.2.x. Because of other priorities/delays on my side, the work/fix is still in progress.
I'm targeting the fix to be ready for testing by end of this month. (03/31). Let's touch base next week.

@gokulknewt  - You are running into the same issue that is documented in this issue/thread. The Hygieia uDeploy collector needs to be updated to work with uDeploy version 6.2.x.

@spyndi - Thank you very much for the response and for working towards a resolution!

Thanks lot team for your support.Once done kindly let us know.

@spyndi - Hi, just checking in with you to see if the updates to the Hygieia uDeploy collector to use uDeploy API 6.2.x might be ready for testing anytime soon? Thanks again for all your work on this!

We are ready for testing.Once update its done please let us know.

Hi spyndi,
Is there any update on UCD  version(6.2.2) code migration?Could you please let us know once if its done..
Regards,
Gokul k

@spyndi , For UCD 6.2.2 migration Is there any update?

@spyndi Any update on this issue regarding UCD version 6.2.2 ?

@spyndi I am too facing the same issue. Is there any update?
Thanks,
Satheesh. B

@jlk1975 @gokulknewt @dhivaharNewt @Satheesh-b
An update,
There is quite a lot of changes with 6.2 API, so it's getting a little challenging with incorporating these changes in the existing collector and back porting with 6.1 implementation . I have collected some data points for discussion with @satishc1  and @tabladrum, to make sure it fulfills the existing UI flow and requirement.  Will be reviewing with them shortly.
Has anyone looked into UDeploy 6.2 API? I would like to brainstorm some thoughts/ideas on the implementation.
Thank you.

@satishc1 @tabladrum
Satish/Topo,
Are you available for a conference call to review the UDeploy 6.2 API findings and also to validate the implementation?
Thank you.

@spyndi
Any update? Will there be any improvement ?
Thanks,
Satheesh. B

@tabladrum
is there any update on this?

@Spyndi, Have you done the code migration for UCD 6.2.2? Kindly let me know

@spyndi,
I've been looking at UCD 6.2.1 API but I don't see anything obvious and "elegant" that would return inventory and compliance information.
The only thing I found that is close to what we need is ApplicationProcessRequest resource, it returns the deployment information containing deployment status, component version and environment, but the problem is in getting ApplicationProcessRequest ID in the first place. I couldn't find a way to get it.
Did anyone find better solution? Please share your idea(s).
Thanks,
Victor

@tabladrum @spyndi
is there any update on this?

@gokulknewt @git4giri @vvigreen981
Sorry, just got back from my vacation. I don't have any additional updates on the progress.
I'm finding it bit challenging to retrofit UDeploy 6.2.2 API to accommodate the existing Hygieia Udeploy Collector code/process flow. It appears, we may need to completely re-design/re-engineer the Udeploy collector to support Udeploy API 6.2.2.
I have also reached out to Topo @tabladrum  and Satish @satishc1 for some directions as they are the original authors on this collector.
Victor - It looks like you also reviewed the 6.2.2 API.
Thank you.

@spyndi Are you able to fix this issue? Is there any update? Please keep us posted.

Looking forward to this update, we are also running version <IP_ADDRESS>.912589 and having the same issue.  Thank you so much for making this available!

Hi folks,
Finally got some time to push the change for Urban Code collector. It works with version 6.2.*. Haven't tested the old versions but I thing it's not compatible.

@vvigreen981 any idea when the changes would be available in the master ?

@shouebs the changes were made into his fork due to lack of fallback compatibility, therefore I don't think it'll be available on master any time soon.

I will take a look and see I can merge (functionally) the two

Hi @tabladrum @spyndi Any update on this issue.
Can you please post the fix here.
We are using 2.0.4 release.
Thanks. Waiting for your response.

@vvigreen981 @tabladrum Please merge your code for this UCD fix. We are stuck on this issue.

@vvigreen981 @tabladrum Any update on release of Udeploy fix for v6.2.x. We are stuck on this and Udeploy is the primary tool in our tool stack. We are unable to showcase pipeline view as well.

@tabladrum Hi Topo, We are also awaiting for this UCD collector fix for v6.2.x . Could you please let us know, when can we expect this?

any news on this issue i am facing it as well

@mohitsinghal83 as soon as it the branch has been updated


Sharded sweeps: softmax, sinh, relu_max and relu_min

#11512
Ticket
Link to Github Issue
Problem description
In sweep tests for sharded ops we add:

softamx
sinh
relu_max
relu_min

What's changed
Added new sweep tests
Pass rates for new sweeps:
sweeps/eltwise/unary/sinh/sinh_sharded.py: 65 fail, 317 pass (82.98%).
sweeps/eltwise/unary/softmax/softmax_sharded.py: 382 fail, 0 pass (0%).
sweeps/eltwise/unary/relu_max/relu_max_sharded.py: 65 fail, 317 pass (82.98%).
sweeps/eltwise/unary/relu_min/relu_min_sharded.py: 65 fail, 317 pass (82.98%).
Checklist

[X] Post commit CI passes
[X] Sweep tests pass

Please run the 4 new tests through the sweeps pipeline before merge.

Done


ChartControl - any ideas on how to duplicate the github activity grid?

@hugoabernier
Category
[x] Enhancement
[ ] Bug
[x] Question
Expected / Desired Behavior / Question
Does anyone have a good idea on how to make something like the github activity chart?

I did see this post which shows in theory how to do it.  Maybe I will give it a try.
https://bitsofco.de/github-contribution-graph-css-grid/

I did see this post which shows in theory how to do it.  Maybe I will give it a try.
https://bitsofco.de/github-contribution-graph-css-grid/

@mikezimm I don't think we have such an ability in the library.
As you have correctly mentioned, you can do this with external libs and code examples.
Closing the issue as not related to the PnP controls.


chore: cache Windows containerd v1.7.17

What type of PR is this?
/kind feature

What this PR does / why we need it:
cache Windows containerd v1.7.17
Which issue(s) this PR fixes:

Fixes #
Requirements:

[x] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests
[ ] tested upgrade from previous version

Special notes for your reviewer:
Release note:
none

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2627

Relevant Lines:
3458

💛  - Coveralls


com.apple.installer.pagecontroller error -1.

I have installed rc2, when i get latest package .NET Core SDK Installer (Preview 2) to install, but gets the error
The operation couldn’t be completed. (com.apple.installer.pagecontroller error -1.)
Couldn't open "dotnet-dev-osx-x<IP_ADDRESS>-preview2-003121.pkg".

my system is OSX EI Captain 10.11.5

@lukywong can you please move this issue to dotnet/cli if it still repros? This is a much better place for it. Thanks!


Develop

Made several changes, including:

Moved system-configs to separate repo
Standardised output style
Included method to use a cached version of the tool
Included method to test the local version of a tool
plus other things

I have performed testing. However, I know the nuances of things. Would be good for someone else to test the new qcr script, as well as the tools themselves before merging develop with master branch.

@DasGuna, @Timothy-Morris, @esplinj, @andrewluiqut - are any of you able to run some tests, please?
To test, you will need to clone this repo, switch to the develop branch and invoke the tool using ./qcr

@jmount1992 Just a few comments from my test:

The --list option fails as an unrecognised option (note that -l works as intended). The -h and --help, as well as -c and --use-cached work as intended.
Services function: calling update requests you to run new to create config. New fails to create new config in home directory (permission denied). Running as sudo installs at /home/root/.qcr instead of /home/$USER/.qcr. Running update afterwards then fails.
Services function: running current-user fails to find user (could be a result of above). No info on how to follow up error.
Code templates: currently failing using the tool (note that this was failing outside this develop branch merge, so just a general note)

Thanks @DasGuna will look into the issues.
Are you running code_templates or code-templates? If running code-templates can you give a dump of the output please?

Running ./qcr code-templates results in:
[ERROR] No command matched 'code-templates'.

Please make a call that matches one of the following available commands:
	code_templates
	create_tag
	latex_templates
	services
	system_configs
	system_configs install
	system_configs sync
	system_configs track
	update

Running ./qcr code_templates results:
/dev/fd/63: line 7: syntax error near unexpected token `newline'
/dev/fd/63: line 7: `<!DOCTYPE html>'

@DasGuna are you on the develop branch? I ran a test and definitely is code-templates for the tool. However, I hadn't updated the code_templates to code-templates in the actual code templates repo itself. That probably doesn't make sense

Service functions issues should now have been remedied


slider modules don't scroll well

I have "pulseaudio/slider" and "backlight/slider" modules, both support scrolling, even though it's not documented in the man pages (waybar-pulseaudio-slider, waybar-backlight-slider).
The scroll is buggy, it only works in one direction, and it's flickery, compared to the much better scroll provided in the pulseaudio and backlight modules. It would be great to turn it off or make it better.
DETAILS
I have tried disabling natural scroll, isolating a slider module so it's not nested inside other elements, changing "on-scroll-..." behavior, none of this worked, meaning it's probably an issue in the module itself, hope it helps!

yes, this has been an issue after the recent update so i had to downgrade it


Is it really a burrito?

@michaelnetworx makes a good case that this is really a tortilla, and @andysnell mentions that the concept is good for any wrapper. So two options for naming:

http-burrito
http-tortilla

Or just keep it the same. Use the comments below for voting, and the thread to weigh in.

http-burrito

http-tortilla

tortilla

http sounds insecure

if we keep this lightweight, I vote for tortilla... if we add a bunch of features then I'll go with burrito 😄

Burrito is just more fun to say, and more tangible.

Agree burrito more fun to say and there is an emoji.

if we keep this lightweight, I vote for tortilla... if we add a bunch of features then I'll go with burrito

@mchamplain this should only ever be the traits needed for wrapping. If we publish our own internal request / response (that uses this), it'll be another package.

Burrito is just more fun to say, and more tangible.

Well, should we release the request / response code @josephlavin put together, it could be http-burrito as it uses http-tortilla.

I vote for burrito. It will forever cause hostility about the inaccuracy of the metaphor and launch this library to git viral levels as a consequence. Reddit debates will be built on this.

@jackdpeterson makes some good points (but didn't actually vote).

Well, 2 days in we're at a 50 / 50 split (if we count @jackdpeterson's :rocket:):

So I'm torn on what to do:

I'm casting my vote for tortilla, with hopes that we also open source our wrapped request with the much catchier http-burrito.


function generate_data

I'm using latest pyod version on pypi.  How to generate simulated data where x-axis is time?  Thank you.

Unfortunately, there is not time series data generation functionality yet...you are welcome to try out the TS data here: http://odds.cs.stonybrook.edu/#table1

This function seems to be there now: https://pyod.readthedocs.io/en/latest/pyod.utils.html#pyod.utils.data.generate_data


Replacing a gx-lock vendored dep with a symlink causes gx install to panic

Specifically, here:
https://github.com/whyrusleeping/gx/blob/89338e509426d2895f20086685cf4c77d64cc5df/gxutil/get.go#L74
We should skip this as this is the replacement for gx-go link.

@travisperson could you look into this?

Okay, so this in this case we have something like $VENDOR/github.com/foo/bar pointing to $GO_PATH/src/github.com/foo/bar.
Are you saying we should just ignore it? After a lock-install I think we probably want to always be in the same consistent state, which would mean correcting any symlinks that are not pointing to the correct location.
Would doing this be to abrasive to current workflows?

After reading the comment that references this issue it sounds like we do not want to correct these symlinks.
This panic is in place for changes to the ref in the lock file. This is what the panic references when it says not handling dep changes yet, it saying we are not handling updating lock dependencies when they change. To handle them, we would simply update the symlink to point to the new ref.
The issue we will face here is that we need to distinguish between previous runs of lock-install and user linking for development.

After reading the comment that references this issue it sounds like we do not want to correct these symlinks.

You're right, there are two ways to think about this:

We want to correct this and, more than that, import the affected packages into gx.
We don't want to correct this, just move on and build (because we're trying to emulate "gx-go link").

Maybe there's some way to indicate this? That is, some kind of gx-link.json file with a list of linked packages? That would depend on #216.

Having a gx-link.json file would be a quick and easy solution to this. I think it would have to be list of all the linked package hashes.
During the install we would simply ignore any dependency with a ref listed.
gx link would call out to the language implementation, and update the gx-link.json file recording that it is linked.

Just removing that panic isn't going to help at all to get that PR through without gx link / gx-go link working right?
Linking is a lot more complicated than just trying to establish a link from vendor to the package in gopath. If a package (lib-c) being linked has a transitive dependency (lib-a, through lib-b, a dep of lib-c), which is also a direct dependency of the main project, we also have to link the middle package (lib-b) to make sure that we are using the same lib-a everywhere.
Here is an example GOPATH setup: QmWB541fYhBMVXDJAeeufAnMxPMMzybP3mMQ812hJNKQqk
You can ipfs get that and set it as your GOPATH, and then build / run prog1 and prog2
Inside there are three library packages (lib-a, lib-b, lib-c)
lib-c depends on lib-b, which depends on lib-a
example.com/user/lib-{a,b,c} export Name which is an uppercase character of the library name, concat'd with it's dependency (lib-c, Name == "C" + b.Name)
prog1 and prog2 has a .vendor (this would be where packages are cached) which contains copies of lib-{a,b,c} which export Name with a lowercase character.
prog1 has vendor links of (absolute here for clarity, they are relative in the object)

lib-c => $GOPATH/src/example.com/user/lib-c
lib-b => $GOPATH/src/example.com/user/prog1/.vendor/lib-b
lib-a => $GOPATH/src/example.com/user/prog1/.vendor/lib-a

prog2

lib-c => $GOPATH/src/example.com/user/lib-c
lib-a => $GOPATH/src/example.com/user/prog1/.vendor/lib-a

Both prog1 and prog2 print c.Name, a.Name
prog1 produces Cba a
prog2 produces CBA a
I'm worried that without properly handling this kind of issue we will run into all sorts of strange behavior.

What's the status of this?

Hey, sorry for the lack of updates. I've been working on something I think we will work, or at least get close.
It basically does this:

Link the desired package in
Get all imports for the package
Remove stdlib imports
Remove any import for which an exact link already exists
Remove any import for which a link exists, which is a parent package of the import
If the import is a parent itself of an already linked package, remove the child link
Link remaining imports
Repeat from step (1) for all imports at step (6).

I have a feeling though that this is missing something. I thought about trying to only link "base" packages, (eg: github.com/foo/bar), but that has a lot of issues itself.

hearhahh


Events picture gallery

From @kyyberi on October 17, 2015 5:12
As member of community I want to see pictures from events. Each picture must have license information. One option is to attach CC-BY-SA license to all and inform users before uploading that it will be applied to all content.
Copied from original issue: APIOps/portal#23

This issue was moved to APIOps/apiops-meetup#7


NullReferenceException: Object reference not set to an instance of an object  at Scp914_Controller.CmdSetupPickup (System.String label, Int32 result, Vector3 pos) [0x00000] in :0

NullReferenceException: Object reference not set to an instance of an object
  at Scp914_Controller.CmdSetupPickup (System.String label, Int32 result, Vector3 pos) [0x00000] in <filename unknown>:0
  at Scp914_Controller.InvokeCmdCmdSetupPickup (UnityEngine.Networking.NetworkBehaviour obj, UnityEngine.Networking.NetworkReader reader) [0x00000] in <filename unknown>:0
  at UnityEngine.Networking.NetworkIdentity.HandleCommand (Int32 cmdHash, UnityEngine.Networking.NetworkReader reader) [0x00000] in <filename unknown>:0
  at UnityEngine.Networking.NetworkServer.OnCommandMessage (UnityEngine.Networking.NetworkMessage netMsg) [0x00000] in <filename unknown>:0
  at UnityEngine.Networking.NetworkConnection.HandleReader (UnityEngine.Networking.NetworkReader reader, Int32 receivedSize, Int32 channelId) [0x00000] in <filename unknown>:0
  at UnityEngine.Networking.NetworkConnection.HandleBytes (System.Byte[] buffer, Int32 receivedSize, Int32 channelId) [0x00000] in <filename unknown>:0
  at UnityEngine.Networking.NetworkConnection.TransportReceive (System.Byte[] bytes, Int32 numBytes, Int32 channelId) [0x00000] in <filename unknown>:0
  at UnityEngine.Networking.NetworkServer.OnData (UnityEngine.Networking.NetworkConnection conn, Int32 receivedSize, Int32 channelId) [0x00000] in <filename unknown>:0
  at UnityEngine.Networking.NetworkServer+ServerSimpleWrapper.OnData (UnityEngine.Networking.NetworkConnection conn, Int32 receivedSize, Int32 channelId) [0x00000] in <filename unknown>:0
  at UnityEngine.Networking.NetworkServerSimple.HandleData (Int32 connectionId, Int32 channelId, Int32 receivedSize, Byte error) [0x00000] in <filename unknown>:0
  at UnityEngine.Networking.NetworkServerSimple.Update () [0x00000] in <filename unknown>:0
  at UnityEngine.Networking.NetworkServer.InternalUpdate () [0x00000] in <filename unknown>:0
  at UnityEngine.Networking.NetworkServer.Update () [0x00000] in <filename unknown>:0
  at UnityEngine.Networking.NetworkIdentity.UNetStaticUpdate () [0x00000] in <filename unknown>:0

== STACKTRACK STATS ==
Times seen: 1
Last reported: 2018-02-12 14:30:26.730580


Added some jsdoc

Modified [description]

Thanks for this. You appear to have moved the Arcade Physics const file into the webgl folder by mistake though. Please move it back again :)

There was an error