[bug] [performance] @recipe macro using image allocates many times more memory than the individual image plots

When you create a recipe and @time the produced function, It allocates more memory than the individual plots in the recipe.
MyImage
Here is a simple test case, where I wrap the Image plot in MyImage:
using Makie
using Images

@recipe(MyImage) do scene
    Attributes()
end

function Makie.plot!(
    ims::MyImage{<:Tuple{<:AbstractArray{<:Colorant}}})

    image!(ims, ims[1])
    return ims
end

Using the original Image
julia> @time image(img[:,:,1])
  0.032395 seconds (46.04 k allocations: 38.614 MiB, 36.75% gc time)

and the resulting function from the recipe
julia> @time myimage(img[:,:,1])
  1.120143 seconds (25.21 M allocations: 1.444 GiB, 63.09% gc time)

MyScatter
The ratio between the wrapped and original allocated memory is not the same for different plotting function, but it exists for them also.
julia> x = rand(Point2, 100000);

And the same wrapping in the recipe:
@recipe(MyScatter) do scene
    Attributes()
end

function Makie.plot!(
    scat::MyScatter{<:Tuple{Any}})

    scatter!(scat, scat[1])
    return scat
end

Using the original Scatter
julia> @time scatter(x)
  0.050758 seconds (1.75 M allocations: 54.679 MiB, 30.36% gc time)

and the wrapped MyScatter
julia> @time myscatter(x)
  0.085370 seconds (2.64 M allocations: 81.918 MiB, 40.18% gc time)

A lot of the time in myimage is likely spent in compilation.  Using BenchmarkTools.jl's @benchmark macro (this basically runs a bunch of iterations of a given command, and provides statistical data on them) after running each recipe once to compile them,
julia> @benchmark image($(rand(RGBAf, 10, 10)))
BenchmarkTools.Trial: 685 samples with 1 evaluation.
 Range (min … max):  6.740 ms … 14.305 ms  ┊ GC (min … max): 0.00% … 40.80%
 Time  (median):     6.975 ms              ┊ GC (median):    0.00%
 Time  (mean ± σ):   7.295 ms ±  1.204 ms  ┊ GC (mean ± σ):  2.44% ±  7.24%

  ▃█
  ███▅▄▆▄▃▃▂▂▁▂▂▁▂▁▂▂▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▂▂▂▂ ▂
  6.74 ms        Histogram: frequency by time        13.9 ms <

 Memory estimate: 3.08 MiB, allocs estimate: 50792.

julia> @benchmark myimage($(rand(RGBAf, 10, 10)))
BenchmarkTools.Trial: 610 samples with 1 evaluation.
 Range (min … max):  7.413 ms … 16.019 ms  ┊ GC (min … max): 0.00% … 39.44%
 Time  (median):     7.850 ms              ┊ GC (median):    0.00%
 Time  (mean ± σ):   8.206 ms ±  1.314 ms  ┊ GC (mean ± σ):  2.32% ±  7.13%

  █▄
  ███▆▆▆▇▅▄▃▃▃▃▃▃▂▃▂▁▂▂▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▂▂▂▂▂▁▂▂ ▃
  7.41 ms        Histogram: frequency by time        15.2 ms <

 Memory estimate: 3.23 MiB, allocs estimate: 52956.

We can see that although the myimage times are slightly higher (~0.7ms) than the image times, this is pretty much expected, since you are constructing only 1 Plot object in image, but 2 in myimage.
Similarly, benchmarking myscatter,
julia> @benchmark scatter($x)
BenchmarkTools.Trial: 117 samples with 1 evaluation.
 Range (min … max):  38.886 ms … 46.822 ms  ┊ GC (min … max): 0.00% … 13.79%
 Time  (median):     41.580 ms              ┊ GC (median):    0.00%
 Time  (mean ± σ):   42.745 ms ±  3.345 ms  ┊ GC (mean ± σ):  6.95% ±  6.54%

  ▂▄▇ ▃█▂                                            ▃▅▃▇▇▂
  ███████▃▅▃▁▁▁▁▃▁▁▁▁▁▃▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▃▃██████▅▇ ▃
  38.9 ms         Histogram: frequency by time        46.7 ms <

 Memory estimate: 49.46 MiB, allocs estimate: 1561001.

BenchmarkTools.Trial: 64 samples with 1 evaluation.
 Range (min … max):  73.045 ms … 80.994 ms  ┊ GC (min … max): 0.00% … 7.09%
 Time  (median):     79.468 ms              ┊ GC (median):    7.59%
 Time  (mean ± σ):   78.293 ms ±  2.696 ms  ┊ GC (mean ± σ):  6.03% ± 3.32%

                                                █ ▃▂▃
  ▅▇▅▅▇▅▁▁▁▁▁▁▁▁▁▁▄▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▇▇█▇███▅▅▄▄▅▅▄▅ ▁
  73 ms           Histogram: frequency by time          81 ms <

 Memory estimate: 76.62 MiB, allocs estimate: 2454485.

This is a significant difference, and I'm not quite sure why.  Will do more tests and get back to you on that.
Also, if you want to measure time to display, you should time display(myplot(...)); what we are timing right now is simply the construction of the plot object.

A lot of the time in myimage is likely spent in compilation.

I am afraid that this is not the case... You see, I ran the command before to avoid compilation time polluting the output of @time. And also for the record, @time also states the portion of time used for compilation:
julia> @time myscatter(x)
  0.248897 seconds (2.80 M allocations: 89.877 MiB, 31.90% gc time, 39.17% compilation time)

Using BenchmarkTools.jl's @benchmark macro (this basically runs a bunch of iterations of a given command, and provides statistical data on them)
I am aware of BenchmarkTools.jl but I think that memory allocation, unlike execution time, is fully deterministic (am I not right?).

You know, I am only concerned with the allocations, since they are most probably the cause of the additional time spent in execution.

We can see that although the myimage times are slightly higher (~0.7ms) than the image times, this is pretty much expected, since you are constructing only 1 Plot object in image, but 2 in myimage.
And about the image... That there are 2 plots instead of one is true. It does not explain this though, I am afraid. In that case, there would be a set amount of allocation added to any size of argument (right?). Not happening here....
I get the same result when trying with 10×10 random pixels.

julia> @time image(rand(RGB, (10,10)))
  0.012163 seconds (40.35 k allocations: 2.251 MiB)

julia> @time myimage(rand(RGB, (10,10)))
  0.012382 seconds (42.88 k allocations: 2.420 MiB)

But when the size of the data is larger... It is a completely different story.
julia> @time image(rand(RGB, (1024,1024)))
  0.054724 seconds (45.74 k allocations: 50.599 MiB, 45.58% gc time)

julia> @time myimage(rand(RGB, (1024,1024)))
  2.019710 seconds (25.21 M allocations: 1.456 GiB, 69.21% gc time)

Therefore, I deduce that the difference in allocation memory is somehow proportional to the data size (Am I right in deducing this?). I can make a graph, co that we know how many times more are data points allocated in in the recipe.
Can you, please, try it yourself, so that it is clear that this does not happen only for me? (@asinghvi17) Thanks :)

This is definitely an interesting result!  I have an exam tomorrow but will definitely investigate this over the weekend.
It would be great if you could make that kind of graph, it would definitely help us to understand what the scaling looks like.

It would be great if you could make that kind of graph,
Will do. Also later though. I agree that it could help clear things out, in particular if it is in linear relation (that would look like the data to be passed and copied over several times.) Good luck with your exam!

Here is the graph of allocations made with and without the recipe

Some interesting points:

The recipe plot does not allocate more memory than ordinary Scatter with few data points... This is very counterintuitive (since as you already mentioned there are two plots stored in the recipe and only one in the ordinary). Really don't know why this is happening...
The coefficient of the linear relation is not a whole number, which would imply that the issue is not in copying over data or something similar.

Here is in addition a graph, when I elementwise delete the initial value (the one with a plot of an empty array of points). It is (as expected) fully linear with the coefficient 1.5470773633167723.

@asinghvi17 Do you know of anybody among the Makie developers who can help make the first point clear and shine some more light on, why this would be happening?

The second point makes me think that the problem is not with the datapoints but rather with some kind of inner attribute that is defined for every point. Maybe if I do a similar graph for the image recipe, it will give a lead on what exactly...

another issue with unexpected big memory allocations related to image: https://github.com/JuliaPlots/Makie.jl/issues/1692

Closed by https://github.com/MakieOrg/Makie.jl/pull/2770


.toLowerCase is slow

According to this http://jsperf.com/regex-vs-tolowercase toLowerCase is slow.
My test consist on doing 1000 multi each containing 100 sadd (real use-case for me).
Replacing toLowerCase with regexp increase performance by 5%, removing possibility of uppercase (using === string with no uppercase alternative) increase performance by 10%. Is there any good reason for allowing different case for functions ? When people use redis most of the time performance is critical.

In order to better support this project and its new group of collaborators under a new org we are trying to clean up and close issues older than 6 months. Your issue may have been fixed since the issue was open, however, if you are still experiencing a problem please re-open this issue and we will label it accordingly.

Reopened as the issue is still present but going to be fixed soon


StyleAligned Workflow

Hi there,
I've skimmed through the available nodes and I don't think the necessary ones are there. Essentially:

Style Aligned for ComfyUI https://github.com/jasonphillips/styl...
Prompt Batch Scheduler - https://github.com/FizzleDorf/ComfyUI...
Global Seed - https://github.com/ltdrdata/ComfyUI-I...

Each of them are required to make this work (Example workflow). Replicate does have a style aligned API from lucataco, but it's somewhat limited in that we can't really pick the checkpoint nor add any pre-conditioning such as IP Adapters.
Thank you !

Does Style Align offer anything better than Style Transfer from IPAdapters?
FizzNodes and ImpactPack custom nodes are already available.

Thanks for the reply !
Great good to know – as for Style Align I've found it to be incredibly more consistent in terms of actual style transfer , without any bleeding from the composition. I use it for pretty much anything consistency-related now.
On that note, Latent Vision published few days ago a new weight type for IPAdapter that supposedly singles out efficiently the unet block responsible for style transfer to avoid bleeding. Haven't tried it yet, I'll update this here to see if it's on par with style align performance asap.

For reference –
This is the image used for style transfer:

I used the prompt illustration of a basket of cherry tomatoes, cut-out on white background for both.
Here is the result using IP Adapter with precise style transfer

Here using Style Aligned :

While Style Align bleeds a bit of the reference image messiness, I find the resulting style much more aligned (whimsical, lighthearted ..) – The composition itself could then be improved with prompt weights and / or controlnets on top.

Any news ?


Custom authentication header on authEndpoint

Problem
Planning to add custom authentication header on authEndpoint at old server.
Previously in pusher-js/react-native, it is possible to add custom header through initialization, or subcribing:
new Pusher (<pusher-key>, {
  authEndpoint: <auth-endpoint>,
  auth: {
    headers: {
      Authorization: <your-token-key>,
      // Other headers
    }
  },
})

Through the documentation and brief code reading, it seems that it is not possible to achieve this, but i may be wrong, please educate me.
Expectation
Support on custom headers on authEndpoint.

yeah , that is  true
this library not have complete feather and we must using old version instead

Any updates on this issue? pusher-js will soon no longer support react-native and my application makes use of the authEndpoint with custom headers from that lib, so without this feature on pusher-websocket-react-native I cant proceed with the migration

@fbenevides any update about that?

@fbenevides Any updates on this issue?
This feature is essential for us to continue using the pusher, otherwise we will have to look for new solutions.

This is also a huge blocker for our organization adopting Pusher throughout our platforms.
Sending custom headers and parameters is necessary for us and using pusher-js is not an option since React Native support is deprecated and soon will be dropped.

Any chance that this is going to be implemented in near future? We also require this

Are there any options to add headers with authorization? Perhaps someone has found a solution.
This is really important for our project

Are there any new updates?
We really need this feature. Let me know if anyone found a solution

Same here - my implementation in expo/react-native no longer works with the latest pusher-js version due the the react-native depreciation. I'm trying to implement this repo but cannot since we require additional headers/data parameters for our auth endpoint.

@fbenevides Any updates on this issue?
This feature is essential for us to continue using the pusher, otherwise we will have to look for new solutions.

I 100% agree with this.  It also appears to be lacking the newer authentication/authorization flow that the current JS client supports.  For this specific header issue, I believe you could use the onAuthorizer functionality as opposed to the authEndpoint to create your own request with your own headers as opposed to relying on the request generated by the library but that isn't necessarily the right answer.

I 100% agree with this. It also appears to be lacking the newer authentication/authorization flow that the current JS client supports. For this specific header issue, I believe you could use the onAuthorizer functionality as opposed to the authEndpoint to create your own request with your own headers as opposed to relying on the request generated by the library but that isn't necessarily the right answer.

@akenger how do i use the onAthorizer to pride header params to my endpoint please i need your help. 🙏🏽

@tdammy92 the onAuthorizer is an async function that can be used in place of the exiting authEndpoint.  You can use any request library to generate the request to your backend and send the socketId and channelName and any necessary additional headers.  Just be sure you ALWAYS return a response that has an "auth" property or it will crash the library.
You can do something like (this is just pseudo code):
const onAuthorizer = async (socketId, channelName) => {
    const header = {whatever your header is}
    const request = new Request()
   ......
   request.header = header;
   try {
     const result = await request.post()

     return {
       auth: result.auth
     }
  catch (e) {
    return {
     auth: 'an error occcured'
   }
 }

}

One word of caution is that there are some definite gaps and issues using the custom onAuthorizer.  I filed an issue here:
https://github.com/pusher/pusher-websocket-react-native/issues/51
Good luck!

@akenger thx you, i try o the real project and this works

In the my case this is works with laravel back-end:

need a create custom POST method what send next data to server {"socket_id": "138304.6187673", "private-changel.105"} (in the my case this is 'api/broadcasting/auth')

After on the response from server we recived next :
{
"auth": "ee82d5a0b8270e46fd90:3aa7564d78752f3dffe3dc04f1efc4cb3c65bc5ade6649c22059fc8dca432399"
}

and return this response in the you custom onAuthorizer method

after, just put u custom onAuthorizer method to pusher.init(...., onAuthorizer)

and congratulations !!!)))

@akenger thx you, i try on the real project and this works
In the my case this is works with laravel back-end:
NOTE: wsConnectAuth this is simple post request to server with headers {Authorization: "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9...."}

need a create custom POST method what send next data to server {"socket_id": "138304.6187673", "private-changel.105"} (in the my case this is 'api/broadcasting/auth')
After on the response from server we recived next :
{
"auth": "ee82d5a0b8270e46fd90:3aa7564d78752f3dffe3dc04f1efc4cb3c65bc5ade6649c22059fc8dca432399"
}
and return this response in the you custom onAuthorizer method
after, just put u custom onAuthorizer method to pusher.init(...., onAuthorizer)

and congratulations !!!)))

@seriklav  Thanks man.  🙏🙏

@akenger thx you, i try on the real project and this works
In the my case this is works with laravel back-end:
NOTE: wsConnectAuth this is simple post request to server with headers {Authorization: "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9...."}

need a create custom POST method what send next data to server {"socket_id": "138304.6187673", "private-changel.105"} (in the my case this is 'api/broadcasting/auth')
After on the response from server we recived next :
{
"auth": "ee82d5a0b8270e46fd90:3aa7564d78752f3dffe3dc04f1efc4cb3c65bc5ade6649c22059fc8dca432399"
}
and return this response in the you custom onAuthorizer method
after, just put u custom onAuthorizer method to pusher.init(...., onAuthorizer)

and congratulations !!!)))

@seriklav and @tdammy92 be careful of that return false in the catch.  That will crash your app if it gets there.  You should return { auth: 'An error occured' } or something.  If the authorizer doesn't return an object with an auth key in it, it will blow up.

@akenger thx you, i try on the real project and this works
In the my case this is works with laravel back-end:
NOTE: wsConnectAuth this is simple post request to server with headers {Authorization: "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9...."}

need a create custom POST method what send next data to server {"socket_id": "138304.6187673", "private-changel.105"} (in the my case this is 'api/broadcasting/auth')
After on the response from server we recived next :
{
"auth": "ee82d5a0b8270e46fd90:3aa7564d78752f3dffe3dc04f1efc4cb3c65bc5ade6649c22059fc8dca432399"
}
and return this response in the you custom onAuthorizer method
after, just put u custom onAuthorizer method to pusher.init(...., onAuthorizer)

and congratulations !!!)))

@seriklav and @tdammy92 be careful of that return false in the catch. That will crash your app if it gets there. You should return { auth: 'An error occured' } or something. If the authorizer doesn't return an object with an auth key in it, it will blow up.

Thank you very much, I couldn't figure out why my app crashed!)))

As mentioned in https://github.com/pusher/pusher-websocket-react-native/issues/40#issuecomment-1322408009, this is possible to achieve using the onAuthorizer function.
There aren't any current plans to enhance the library to support custom headers on the authEndpoint request and so the above approach should be used instead.


Add env override

Hello, @bcatherall! This is your first Pull Request that will be reviewed by Ebert, an automatic Code Review service. It will leave comments on this diff with potential issues and style violations found in the code as you push new commits. You can also see all the issues found on this Pull Request on its review page. Please check our documentation for more information.

Ebert has finished reviewing this Pull Request and has found:

1 possible new issue (including those that may have been commented here).
4 fixed issues! 🎉

You can see more details about this review at https://ebertapp.io/github/romul/newrelic.ex/pulls/8.


WebAssembly

Hot new thing that may enable calling Go from R
https://github.com/dirkschumacher/polyglotr
And within the browser:
https://medium.zenika.com/go-1-11-webassembly-for-the-gophers-ae4bb8b1ee03

https://tinygo.org/getting-started/using-docker/


Remove superfluous quotes from config path

Using -config="path" will make the application try to open paths with the quotes included which is not what is expected.
main.go:89: ERROR: failed to load config file "/etc/oauth2_proxy.cfg" - open "/etc/oauth2_proxy.cfg": no such file or directory

@bluecmd you may want to fetch upstream and repush, I suspect your build will be fixed by #249


chore: update .gitignore

node_modules is a folder, not a file.

Please can you merge this pull request.

It's already present on https://github.com/github/blob/master/Node.gitignore.

@shauryaaher I think @erickzhao means to copy the contents of https://github.com/github/gitignore/blob/master/Node.gitignore into https://github.com/shauryaaher/electron-quick-start/blob/master/.gitignore ?

Fine. Got it.


oauth2ms: init at 2021-07-09

Description of changes
This tool can be used to fetch oauth2 tokens from the Microsoft identity endpoint. Additionally, it can encode the token in the XOAUTH2 format to be used as authentication in IMAP mail servers. Example configuration for Emacs is provided by the upstream project.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Can this be merged please? It works fine.

Rebased to nixos-unstable and moved to pkgs/by-name.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/2795


Practice Ammunition Tech

About the PR
Adds a practice ammunition technology and recipes for science to unlock.
Tier 1 for 2000 points.
Includes all the basic types of rounds in practice form but also practice disablers and laser rifles.
Why / Balance
A very niche tech, but it's good for people who want to create ranges or actually use practice gear for teachings. There wasn't a way to get any of these before unless mapped so that handles that as well.
Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame.

Changelog
:cl:

add: Science can now research practice ammunition for security.

I honestly thought these were roundstart in the seclathe. I’m fine with them being a research though.

Oh wait this wasn't merged yet


[Bug] The latest version of Python file icon is not displayed

The latest version of Python file icon is not displayed

same issue with Dart files icons

Seems to be related to #2428

Closing as duplicate of #2428.


Allow suppression of generic response type for multiple content types

When an operation returns multiple content types the return type is
removed which result in a generic java.lang.Object return type. While
this might be useful for operations which return completely different
responses it isn't useful for cases where there is effectively one
response structure.
By allowing the suppression of the generic response type for multiple
content types both the current behaviour is supported by default and the
alternative behaviour can be enabled with a property.

Hi, thanks for your contribution. Can you please add a test for your changes?

I will look into making the tests, but i must say i do not fully understand how the current tests are structured. Do you want a new project under src/it for those tests or do you want me to add them to an existing project?

I will look into making the tests, but i must say i do not fully understand how the current tests are structured. Do you want a new project under src/it for those tests or do you want me to add them to an existing project?

I think it makes sense to add a a new project.

I'll add a test.

I've fixed 2 issues with #61.
@auke- can you provide an example OpenAPI spec where the codegen still fails to generate useful code?

This is indeed an improvement, useGenericResponse is now also working as expected.
I do have two 3rd party OpenAPI specs of which one can be handled with your fix (it contains multiple content types for the same structure) but the other one defines an error response as 'default' (next to the normal '200' response). This might be non-standard or unusual, i don't know, but it results in HttpResponse instead of HttpResponse. The 'native' java generator does generate something with  for this kind of spec.

Default responses are used to declare global errors: https://swagger.io/docs/specification/describing-responses/#default
With #62 i've added a testcase and fix for this.
@auke- is this fix solving your second issue? If yes i would prepare a release.

Yes, it works as expected. Thanks!

2.1.1 is available in central.


tags contains '.' can't run image

curl <IP_ADDRESS>:5000/v2/config-server/tags/list
{"name":"config-server","tags":["1.0-SNAPSHOT.1"]}

[root@localhost ~]# docker run -d -p 8888:8888 -v /var/log --name config-server_1 <IP_ADDRESS>:5000/config-server:1.0-SNAPSHOT.1
Unable to find image '<IP_ADDRESS>:5000/config-server:1.0-SNAPSHOT.1' locally
1.0-SNAPSHOT.1: Pulling from config-server
3c7065a8b8c7: Verifying Checksum
b76e19be38bf: Pulling fs layer
64371401b7b9: Pulling fs layer
42231d88741e: Pulling fs layer
c976086d11eb: Pulling fs layer
eeb71257171d: Pulling fs layer
f0c84fc8795d: Pulling fs layer
003e364e3e3c: Pulling fs layer
f8c1e77e997a: Pulling fs layer
d5e66209edc3: Pulling fs layer
2ab5cd4cb836: Pulling fs layer
e1de26a6a073: Pulling fs layer
c81babb54f64: Pulling fs layer
Pulling repository <IP_ADDRESS>:5000/config-server
Error: image config-server:1.0-SNAPSHOT.1 not found

Hi!
Please read this important information about creating issues.
If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
This is an automated, informational response.
Thank you.
For more information about reporting issues, see https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
uname -a:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

Could you add some more information? Is this only if the tag ends with .1? For example, are you able to pull/run the official ubuntu:14.04 and ubuntu:14.04.1 images?
Does this only happen on your own registry, or also on images on docker hub? If only on your own registry, what version of the registry are you using, and how is it set up?
Also, please provide the information that @GordonTheTurtle asked above.

Status: Downloaded newer image for ubuntu:14.04.1
It's ok.only my registry got error?
curl <IP_ADDRESS>:5000/v2/config-server/tags/list
{"name":"config-server","tags":["1.0-SNAPSHOT.1"]}

curl <IP_ADDRESS>:5000/v2/_catalog
{"repositories":["config-server","eureka-server","user-api-provider","user-service-provider"]}

docker pull <IP_ADDRESS>:5000/config-server:1.0-SNAPSHOT.1
1.0-SNAPSHOT.1: Pulling from config-server
3c7065a8b8c7: Verifying Checksum
b76e19be38bf: Verifying Checksum
64371401b7b9: Pulling fs layer
42231d88741e: Pulling fs layer
c976086d11eb: Pulling fs layer
eeb71257171d: Pulling fs layer
f0c84fc8795d: Pulling fs layer
003e364e3e3c: Pulling fs layer
f8c1e77e997a: Pulling fs layer
d5e66209edc3: Pulling fs layer
2ab5cd4cb836: Pulling fs layer
e1de26a6a073: Pulling fs layer
c81babb54f64: Pulling fs layer
Pulling repository <IP_ADDRESS>:5000/config-server
Error: image config-server:1.0-SNAPSHOT.1 not found

this bug in registry 2, when upgrade to 2.2.1,it's ok. thank you!

@Dreampie thanks! I'll close this issue then, good to hear it's resolved for you!


Use new references API, update TF provider

Current dependencies on/for this PR:

main

PR #3   👈

This stack of pull requests is managed by Graphite.


Digital Ocean VPS connection problem

Hi,
I can't open http://<IP_ADDRESS>:3000/
It's stucking like this.

My UIconfig.js file
const CONFIG = {
headless: true,
api: {
host: '<IP_ADDRESS>',
port: 3000,
},
ui: {
ssl: false,
host: '<IP_ADDRESS>',
port: 3000,
path: '/'
},
adapter: 'sqlite'
}
if(typeof window === 'undefined')
module.exports = CONFIG;
else
window.CONFIG = CONFIG;

help please

api host: '<IP_ADDRESS>'
api port: 3000

ui host: '<IP_ADDRESS>'
ui port: 443
And you need install nginx
All it s explain here: https://gekko.wizb.it/docs/installation/installing_gekko_on_a_server.html
If your port 443 just change 443 by an other number in the UIconfig.js and in the nginx config ...

You did not open port 3000 in your firewall, hence you can't access the GUI/API directly.
Furthermore it's not a good idea to make Gekko directly accessable on a public server.  You'll have to open port 80 (and 443 when using TLS/SSL) in the firewall. Otherwise you won't get anywhere.
If you don't know how to set this up, Gekko might not be the right tool for you.


Test a Spring MVC Thymeleaf View @Controller POST Endpoint

Blog post you are referring to
https://gitlab.com/mimLau/nurselink-web-client/-/blob/develop/src/test/java/com/lau/nurselink/webclient/webapp/controllers/AppHistoryStatusControllerTest.java
https://gitlab.com/mimLau/nurselink-web-client/-/blob/develop/src/main/java/com/lau/nurselink/webclient/webapp/controllers/AppHistoryStatusController.java
Your Question
Hi, here is my question :
In the first link you will find AppHistoryStatusControllerTest class where I want to test a Post mapping endpoint. I mocked appHistoryStatusServiceMock, and return an appHistoryStatus, but at controller side (AppHistoryStatusController class), appHistoryStatus was null. I tried to put appHistoryStatus in a jsonRequest, but still null. I added at controller side @RequestBody before the argument, the test successed but when I launched my application, the mapping was not working anymore, and I had this message error "Content type 'application/x-www-form-urlencoded;charset=UTF-8' not supported".
Thank you !!
Context (Environment, Dependency Versions, Framework)

 Java 11, spring boot, Windows 11, Thymeleaf

In the class test, I did my mockMvc.perform as following :
mockMvc.perform(post("/application/status/add")
.contentType(MediaType.APPLICATION_FORM_URLENCODED)
.param("appStatus.statusName", appHistoryStatus.getAppStatus().getStatusName())
.param("application.id", String.valueOf(app.getId()))
.sessionAttr("appHistoryStatus", new AppHistoryStatusBean()))
.andExpect(status().isFound())
.andExpect(view().name("redirect:/institution/jobs/applications/job/" + app.getJob().getId()));
}
And in my controller, I added @ModelAttribute("appHistoryStatus") :
@PostMapping(value="/application/status/add")
public String addAppHistoryStatus(@ModelAttribute("appHistoryStatus") AppHistoryStatusBean appHistoryStatus) {
    appHistoryStatusService.addAppHistoryStatus(appHistoryStatus);
    ApplicationBean app = applicationService.getAppById(appHistoryStatus.getApplication().getId());

    return "redirect:/institution/jobs/applications/job/" + app.getJob().getId();
}

That's great that you found a solution by yourself @mimLau - I'm going to close the issue 👍


Fix startup when no .torrent are present in download folder

Due to bash's wildcard expansion, if the download folder did not contained any .torrent files upon start, the path given to aria2 won't point to any files.
Fixed that behavior with shopt -s dotglob nullglob. If there is no files, now an empty string will be passed to aria instead of a broken path.

excellent

@anthonyraymond This is good!! You figured it out 💃


MGMT-18183: Add AMQP queues infrastructure

Add AMQP queues infrastrcture to pkg.
It includes simplified interface for consuming and producing queues payload
/cc @hexfusion

Please fix lint issues


Visual bug: on medium-sized windows, some of our tables can stretch and overflow their container, making the last few columns unreachable

Example, on the providers page:

Some suggestions on how to handle it from UXD devs:

The attached PR helps this, but at the end of the day there are simply too many columns to fit all at once in horizontal fashion when the viewport reaches certain sizes. We could either hide some less important columns when there isn't enough room or set an earlier breakpoint as mentioned in the attached thread. I suppose we could also consider moving some of this column data into compound expandable cells. Are any of these columns less critical to be in view at all times?

@vconzola see above. we should consider adjusting the columns of the VMware providers page in particular. Marking this issue as needs-design for followup.

Why does the Endpoint column not truncate like the other columns. Fixing that would be my first choice. Also, it looks like an earlier breakpoint auto-hides the navigation. That's a good option too. If we do both of those things can we avoid f-ing with any of the other columns?  It ridiculous that a design system for enterprise apps can't handle a table with seven columns because of the asinine font size and spacing rules.

Yeah, that's what the compact table variant is for which we could also try here, but it still has the font size issue. I like the look, but it definitely isn't as flexible as it should be

I updated that PR to set these tables into "compact" mode, and also found another table with needed the truncation treatment - definitely looking better IMO. I can look into adjusting the various breakpoints, but it can have cascading effects so maybe I'll do that in a dedicated PR to make reviewing easier. Let me know if you see any issues!

@seanforyou23 @mturley I agree it looks better in compact mode, but I don't understand how making that change eliminates the problem of the table overrunning the edge of the card? I thought compact tables just had reduced row heights. Do they do something to horizontal spacing as well?

I think there is less horizontal spacing between columns as well, yeah. The problem is just that the table's minimum width is dictated by the minimum widths of its columns, and that minimum is greater than the width of the breakpoint where the UI switches to mobile layout. We could widen that breakpoint but then we'll get mobile layout more often when the UI otherwise works fine at those medium window sizes.
So to reduce that minimum table width we can try a combination of reducing horizontal spacing (if compact mode does that) and/or moving columns to an expandable row body and/or making certain columns only appear at certain screen sizes.

Yep, exactly. Was just trying to trim every pixel I reasonably could before making bigger layout/IA/content changes.


Question: How is the authState set in AuthService before TaskService needs it?

I hope posting questions here is an Ok thing to do. I am trying to learn and using this as an example. :)
Let's say a user refreshes the /tasks route. How is it ensured that the authState in the AuthService is set before the TaskService's constructor tries to use the authState.id when building the database path string?
I am building a similar app and when I refresh the constructor for my TaskService runs, tries to build a database path with the authService.id which at the time is null. Then some time passes and the firebaseAuth subscribe function in the AuthService fires and updates the authState. I would like to make sure that TaskServies doesn' try and build the database path string before the authState is set in the AuthService. I can't figure out how this app is accomplishing this; can anyone help?
I may not have explained this well so if more detail or clarification is needed I'll be happy to try again.

I have the same question. Please let me know if you find out

The auth guards take care of this. In this case, the unauth-guard.

Thanks for that. Hopefully you're able to help here.  I copied your implementation of the AuthGuard to my project and have a service similar to your task service that performs the following operation:
@Injectable()
export class EmailService {

  private emails: FirebaseListObservable<Email[]>;
  private emailUserPath: string;

  constructor(private af: AngularFire, private authService: AuthService) {
    this.emailUserPath = `/emails/${authService.id}`;
    console.log(this.emailUserPath)
  }

The console.log(this.emailUserPath) yields /emails/ only as the ${authService.id} is not yet set
with the following routing module:
import { NgModule }             from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { InboxComponent }      from './inbox/inbox.component';
import { ComposeComponent }      from './compose/compose.component';
import { EmailDetailComponent }      from './email-detail/email-detail.component';
import { UserSearchComponent }      from './user-search/user-search.component';
import {AuthGuard} from "./auth/auth-guard";

const routes: Routes = [
  { path: '', redirectTo: '/inbox', pathMatch: 'full', canActivate: [AuthGuard] },
  { path: 'inbox',  component: InboxComponent, canActivate: [AuthGuard] },
  { path: 'compose',  component: ComposeComponent },
  { path: 'search',  component: UserSearchComponent },
  { path: 'email/:id',  component: EmailDetailComponent }
];
@NgModule({
  imports: [ RouterModule.forRoot(routes) ],
  providers: [AuthGuard],
  exports: [ RouterModule ]
})
export class AppRoutingModule {}

Isn't it a bad practice? What happens if the user signs out and then signs in with a different account? If I'm right, the TaskService constructor is called once in the app workflow, so the auth.id that was set won't change.

Hi @andresespinosapc — to keep the example simple the app reloads the page when the user signs out. In a more complete app the auth id could be retrieved from a store and cleared when the user signs out.

Ok, thanks. Do you know if it's better to do what you say or just subscribe to auth$ when I want to get the user id?

Subscribing to auth$ can certainly work.

What do you think of using the APP_INITIALIZER provider ?
Angular won't load your application before it resolve the promise you define.
    {
      provide: APP_INITIALIZER,
      useFactory: (appService: AppService) => ()=>appService.init(),
      multi: true
    }


Databases link

Links to databases are outdated here and at Bioinformatics toolkit. Should be changed to http://ftp.tuebingen.mpg.de/ebio/protevo/toolkit/databases/plmblast_dbs/

@Darius-Kazlauskas Thank you for bringing this to our attention. We will fix this as soon as possible.


Replaced gcov with LLVM coverage tool

LLVM code coverage instrumentation provides Source-based coverage. Source-based coverage provides more accurate coverage data (as it operates on AST and preprocessor information directly) at the expense of slower execution.
There is likely more work to be done before this is ready to be merged. I wanted to submit this to show my progress.

Coverage decreased (-56.5%) to 2.209% when pulling 99b3b85ad599c775234a81ee8b29657d848e7412 on nick-cd:llvm-coverage into 6896c7d296c0aaca9289ff138470b5a9011611ad on newsboat:master.

It looks like only rust/libnewsboat/tests/utf8_to_locale_transliterates_characters_unsupported_by_the_locale_encoding.rs test ran, because the coverage for everything else is down to zero. I suspect this is related to this note in the Rust Unstable Book:

Since there may be more than one test binary, apply %m in the filename pattern. This generates unique names for each test binary. (Otherwise, each executed test binary would overwrite the coverage results from the previous binary.)

Can you try that please? ;)
Also curious what's up with C++. It is completely gone from the coverage report, but I don't see a reason why. Even if its coverage was overwritten by Rust, we should still see the files. Perhaps grcov's --ignore rules have to be adjusted somehow? I'd start by removing them and seeing what happens.

Ah, awesome! Rust coverage is now 94.76%, which is close enough to 95.84% that we have on the master branch — I'll take that!
Regarding C++: I still think it's worthwhile to fiddle with --ignore flags, but in addition to that — what does --binary-path do? Perhaps we need --binary-path ./test/ as well? The C++ test suite is compiled to ./test/test.

I took a closer look at the reports and found a few things worth looking into:

functions that are only tested through doctests (i.e. using a comment before the function) all have zero coverage: see here, here, or here. I don't know where their binaries are put. Perhaps they're stored separately from other tests?
there are two integration tests that didn't appear to run at all: this one and this one.

Hey @nick-cd, how it's going? :wave: Not trying to hurry you up, just checking in to see if there's something I can do to help here.

Hey sorry again for the silence. I've just been backed up with school work (midterm week for me :worried:) and haven't been working on this as much. But I believe I had some luck in pinpointing the issue.
Regarding the rust integration tests, the tests themselves are not actually being ignored, rather LLVM runs into an issue creating the profraw file for those tests specifically. After looking into it for some time I believe I understand the underlying problem.
LLVM creates a new profraw file after every test in the current working directory. In these tests, we change the current working directory to a short-lived temporary directory. After the test is complete, the current working directory is a non-existent directory. Since that directory is non-existent, when the test completes and LLVM creates the profraw file, the operation fails. It's  a slippery slope from here. grcov does not see that the file was indeed covered in our tests inadvertently causing coveralls to seemingly neglect the inclusion of this information.

I've just been backed up with school work (midterm week for me :worried:)

Please don't get kicked out of school because of Newsboat! :)

LLVM creates a new profraw file after every test in the current working directory. In these tests, we change the current working directory to a short-lived temporary directory. After the test is complete, the current working directory is a non-existent directory. Since that directory is non-existent, when LLVM creates the profraw file, the operation fails.

Ah! Makes sense. I guess we didn't have this problem with our previous code-coverage approach because it opened the profraw file before running the tests?
I think we should change those tests to follow the same approach as our C++ tests follow: create a temporary object that chdirs into the temporary directory, and when that object is automatically dropped at the end of the test, it should chdir back into the original directory. C++ tests do this because they all run in a single process, and so each test takes care to preserve the environment. Rust tests don't do this because: 1) the ones in mod tests are unit-tests which don't change the environment; 2) the ones in tests/ subdirectories contain one test per executable, so there is no point restoring the environment — it's going to be torn down shortly when the executable finishes running. Now it makes sense to do in Rust what we do in C++.
The relevant C++ helpers are here and here. Should be easy enough to write similar ones in Rust and use them in integration tests; I can do that for you if you aren't interested.
I'll make sure not to bother you about this PR for at least a couple weeks, you've got your hands full already. Best of luck with your mid-term!

JFYI, I think you must rebase onto master to pull in https://github.com/newsboat/newsboat/pull/1511, otherwise the Coveralls job will install a newer Rust Nightlly and C++ tests will segfault.

@nick-cd, so what's the status of this? Looks like the Rust coverage works fine, and the only remaining problem is to get C++ coverage back?
Not trying to hurry you up; just want to see if you need someone to brainstorm solutions with, or something like that.

Hey, I have just been stuck on this issue.
The rust tests aren't exactly complete. If you take a look at the coverage of my last commit, the last line is simply not included in the test coverage. I been thinking about this problem for quite some time and I still have no coherent explanation as to why that line is skipped.
For C++, I had forgotten to respond to your suggestions/questions:

Regarding C++: I still think it's worthwhile to fiddle with --ignore flags

Unfortunately, I had no luck with trying this. Removing --ignore flags seemingly had no effect on the output.
At one point, I had attempted to move to contents of the ./test/test into ./target/debug/deps/ — no luck with that either.

what does --binary-path do?

the --binary-path is required to instruct grcov to do source-based coverage

Perhaps we need --binary-path ./test/ as well? The C++ test suite is compiled to ./test/test.

grcov forbids mentioning the --binary-path option more than once. I recall attempting to do this and grcov exited with an error.
I've been trying to research more about grcov and see what other people have done in other projects. However, all of them seem to do source-based coverage on exclusively rust code. There were no projects (at least from what I found) using grcov on a hybrid project similar to Newsboat.
So I'm stumped. I'm not sure how to proceed with this task.

If you take a look at the coverage of my last commit, the last line is simply not included in the test coverage.

Hmm, it shows no source at all:

Yet the last build of this PR does have the source code, and I do see the problem there. It's puzzling, but it's obvious from the code that this line was executed if a test passed; so I'm not worried about this at all.

I had attempted to move to contents of the ./test/test into ./target/debug/deps/ — no luck with that either.

Perhaps *.profraw files have to be reside next to the binary, i.e. they should be moved too?
Alternative approach: abandon Rust tests for now, and target grcov at C++ tests. Make sure that works. Then think how to unify the two :) We could, for example, invoke grcov twice to collect Rust and C++ coverage separately into two different lcov files, then use lcov to merge them, and that's what will be submitted to Coveralls. Maybe coverallsapp/github-action will do the merge for us if it finds multiple lcov files, I don't know. (In fact, this approach should be more robust than moving test binaries and profraw files around.)
Thanks for the ton of work you did here already! Don't hesitate to drop this if you've lost interest, though; it'd be a pity but it's not worth burning yourself out over this ;)

Thanks for the ton of work you did here already! Don't hesitate to drop this if you've lost interest, though; it'd be a pity but it's not worth burning yourself out over this ;)

Thanks for the kind words!
Unfortunately, I think I have to drop this. This task is much more challenging (at least for me) than I originally anticipated. Sorry to disappoint.

You didn't disappoint at all! The task is indeed thornier than anticipated. Despite that, you worked out all the kinks in Rust coverage, that's half the task already. I'm pretty sure that the remaining problems with C++ will be easier to solve thanks to all the things you tried and discovered while working on the Rust part. And I'm pretty sure your changes will be the base for the PR that finally resolves this, so you'll also get credit for all that you've done here ;)


incorrect text

in the text, it reads "For the five-minute period illustrated," (under assessing database utilizatoin pattern).
But the graph does not show a 5 minutes period.
the X axis shows either 60 seconds, or 60 minutes (I believe, it's the latter)

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

ID: 954fdc5f-1572-c6a5-eb19-22e890b1174f
Version Independent ID: b5776cca-f233-4c34-a649-9a61324a2edd
Content: Manage multiple SQL databases with elastic pools- Azure
Content Source: articles/sql-database/sql-database-elastic-pool.md
Service: sql-database
Sub-service: elastic-pools
GitHub Login: @oslake
Microsoft Alias: moslake

@eyast Thank you for the feedback.
Could you please point me to the graph where you are seeing a discrepency so that I can check this for you. The graphs in the example illustrate the DTU at a 5 minute interval.

@eyast Its been a while we heard back from you on this. We will proceed to close this issue now.
If there are further questions regarding this matter, please comment and we will gladly continue the discussion.


search function to select relevant literature is not working!

Describe the bug
A clear and concise description of what the bug is.
What happened? And what did you expect to happen?
search function to select relevant literature is not working!
To Reproduce
Steps to reproduce the problem:
try searchin for any word when prompted for selecting relevant literature...you get an error: failed to load search results.
Screenshots
If applicable, add screenshots to help explain your problem.
see attached screen shot!
Version information

OS: [e.g. Windows]
ASReview version [e.g. 0.6.2]

Additional context
Add any other c

ontext about the problem here.

Can you share what you see on the command line? And would you mind sharing the dataset?

Hi I found the issue!!
It's because this file had in the first row "Article Title" instead of the required one "Title"….when I changed it, it worked!
Thanks for your efforts anyway!
From: Jonathan de Bruin @.>
Sent: יום ב 28 מרץ 2022 21:02
To: asreview/asreview @.>
Cc: Jafarsab22 @.>; Author @.>
Subject: Re: [asreview/asreview] search function to select relevant literature is not working! (Issue #1017)
Can you share what you see on the command line? And would you mind sharing the dataset?
—
Reply to this email directly, view it on GitHub https://github.com/asreview/asreview/issues/1017#issuecomment-1080971522 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AP3DJYXZLNUFXD74O6HTOKLVCHX23ANCNFSM5R3CBANQ .


Restart jobs terminates current running jobs

When I restart jobs, they kill any current jobs running and does not finish, leaving a locked job in the database.
I am restarting the jobs on production so it will refresh the updated code on push. I see that this already happens on development. Is there not a way to do that on production as well?

I have the same problem.
Is there any way to detect that the process that reserved the job is dead, and unlock the job? I'm wondering if its possible to use the pid on the locked_by column...

I spent a good amount of time sorting through the source code to find where it terminates the jobs and keep coming up short. I imagine that it wouldn't be difficult to just update the record in the database to remove the locked_ columns, which is ultimately the real issue I believe.

Normally terminating DJ waits for the job to finish, however daemons has a tendency to get impatient and force kills the process after a certain amount of time. This has the potential to cause a number of issues and is not ideal. Unfortunately, DJ can't automatically immediately unlock the job as nothing can definitively confirm what to unlock. DJ processes can be run on multiple servers to help load balance large workloads, so simply checking live processes isn't enough. Now I did say "immediately" for a reason. After max_run_time has expired, the job is considered unlocked and available regardless of what the locked_by column says.

@albus522 so I see the default max_run_time is 4.hours. Are you saying that after the allotted time, the job will reload the code and restart it, even if the process has been terminated?

Yes. The job will be picked up by any running work at that time.

For the record, I found this useful plugin:
https://github.com/salsify/delayed_job_heartbeat_plugin
Each worker will update a heartbeat table, so it works for distributed setups. If a worker dies, it will unlock the job after a short time (configurable). So far, so good :smiley:


Full test logs on failures

Helps debug flaky JDK 8 tests on Travis.

LGTM

Ok, got some logs: https://github.com/j2objc-contrib/j2objc-gradle/issues/374


Add table jumpcloud_windows_program

References
https://docs.jumpcloud.com/api/2.0/index.html#tag/System-Insights/operation/systeminsights_list_programs

I am not sure if it is just me, but I can't get this to work well. The error is in the image and it only happens when I run this for Windows. It works well for MacOS.

Hi @oaulicino, sorry I'm unable to reproduce this error. Could you please run the following curl command and provide the output? This will give me an idea about the install_date that is causing the error.
curl --request GET \
  --url 'https://console.jumpcloud.com/api/v2/systeminsights/programs?skip=0&limit=10' \
  --header 'x-api-key: REPLACE_KEY_VALUE' \
  --header 'x-org-id: SOME_STRING_VALUE'

Hey Subhajit, here you go:
[{"name":"IIS Express Application Compatibility Database for
x64","version":"","install_location":"","install_source":"","language":"","publisher":"","uninstall_string":"%windir%\system32\sdbinst.exe
-u
"C:\WINDOWS\AppPatch\CustomSDB\{08274920-8908-45c2-9258-8ad67ff77b09}.sdb"","install_date":"","identifying_number":"","system_id":"61fad67d914bac1b90dbfe92","collection_time":"2023-02-19T15:57:50.532Z"},{"name":"Python
3.10.5 Executables
(64-bit)","version":"3.10.5150.0","install_location":"","install_source":"C:\ProgramData\Package
Cache\{0FE1250F-6DD6-4948-B211-741B7CDBB335}v3.10.5150.0\","language":"1033","publisher":"Python
Software Foundation","uninstall_string":"MsiExec.exe
/I{0FE1250F-6DD6-4948-B211-741B7CDBB335}","install_date":"20220725","identifying_number":"{0FE1250F-6DD6-4948-B211-741B7CDBB335}","system_id":"61fad67d914bac1b90dbfe92","collection_time":"2023-02-19T15:57:50.532Z"},{"name":"Notepad++
(64-bit
x64)","version":"8.3.3","install_location":"","install_source":"","language":"","publisher":"Notepad++
Team","uninstall_string":""C:\Program
Files\Notepad++\uninstall.exe"","install_date":"","identifying_number":"","system_id":"61fad67d914bac1b90dbfe92","collection_time":"2023-02-19T15:57:50.532Z"},{"name":"IIS
10.0
Express","version":"10.0.06027","install_location":"","install_source":"C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.VisualStudio.IISExpress.Msi,version=17.1.32112.364,chip=x64\","language":"1033","publisher":"Microsoft
Corporation","uninstall_string":"MsiExec.exe
/X{028D4B22-B70B-447E-9B80-8E3E98CB2667}","install_date":"20220404","identifying_number":"{028D4B22-B70B-447E-9B80-8E3E98CB2667}","system_id":"61fad67d914bac1b90dbfe92","collection_time":"2023-02-19T15:57:50.532Z"},{"name":"Microsoft
.NET Runtime - 6.0.5
(x64)","version":"48.23.40665","install_location":"","install_source":"C:\ProgramData\Package
Cache\{089A177D-98AE-4195-A115-D3C45613B875}v48.23.40665\","language":"1033","publisher":"Microsoft
Corporation","uninstall_string":"MsiExec.exe
/X{089A177D-98AE-4195-A115-D3C45613B875}","install_date":"20220527","identifying_number":"{089A177D-98AE-4195-A115-D3C45613B875}","system_id":"61fad67d914bac1b90dbfe92","collection_time":"2023-02-19T15:57:50.532Z"},{"name":"Microsoft
.NET AppHost Pack - 6.0.3
(x64)","version":"48.15.37625","install_location":"","install_source":"C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.NetCore.AppHostPack.<IP_ADDRESS>.3.x64,version=17.1.32228.430,chip=x64\","language":"1033","publisher":"Microsoft
Corporation","uninstall_string":"MsiExec.exe
/X{0E342FF4-6ED0-4A90-8241-286A8FF6C89B}","install_date":"20220404","identifying_number":"{0E342FF4-6ED0-4A90-8241-286A8FF6C89B}","system_id":"61fad67d914bac1b90dbfe92","collection_time":"2023-02-19T15:57:50.532Z"},{"name":"JumpCloud
Remote
Assist","version":"0.19.0","install_location":"","install_source":"","language":"","publisher":"JumpCloud","uninstall_string":""C:\Program
Files\JumpCloud Remote Assist\Uninstall JumpCloud Remote Assist.exe"
/allusers","install_date":"","identifying_number":"","system_id":"61fad67d914bac1b90dbfe92","collection_time":"2023-02-19T15:57:50.532Z"},{"name":"HP
Documentation","version":"<IP_ADDRESS>","install_location":"","install_source":"","language":"","publisher":"HP
Inc.","uninstall_string":"CMD /C "C:\Program
Files\HP\Documentation\Doc_Uninstall.cmd"","install_date":"","identifying_number":"","system_id":"61fad67d914bac1b90dbfe92","collection_time":"2023-02-19T15:57:50.532Z"},{"name":"Microsoft
Visual C++ 2013 x64 Additional Runtime -
12.0.40664","version":"12.0.40664","install_location":"","install_source":"C:\ProgramData\Package
Cache\{010792BA-551A-3AC0-A7EF-0FAB4156C382}v12.0.40664\packages\vcRuntimeAdditional_amd64\","language":"1033","publisher":"Microsoft
Corporation","uninstall_string":"MsiExec.exe
/X{010792BA-551A-3AC0-A7EF-0FAB4156C382}","install_date":"20220202","identifying_number":"{010792BA-551A-3AC0-A7EF-0FAB4156C382}","system_id":"61fad67d914bac1b90dbfe92","collection_time":"2023-02-19T15:57:50.532Z"},{"name":"Microsoft
.NET 6.0 Templates 6.0.203
(x64)","version":"24.5.59963","install_location":"","install_source":"C:\ProgramData\Package
Cache\{1266D47E-431A-4C2F-80E6-8AA23286AC23}v24.5.59963\","language":"1033","publisher":"Microsoft
Corporation","uninstall_string":"MsiExec.exe
/I{1266D47E-431A-4C2F-80E6-8AA23286AC23}","install_date":"20220527","identifying_number":"{1266D47E-431A-4C2F-80E6-8AA23286AC23}","system_id":"61fad67d914bac1b90dbfe92","collection_time":"2023-02-19T15:57:50.532Z"}]
%
Best regards,
Otto Aulicino, C|CISO, CISSP, CISM, CISA, CCSP
Mobile: +1<PHONE_NUMBER>
http://www.linkedin.com/in/ottoaulicino
On Mon, Feb 20, 2023 at 2:51 AM Subhajit Mondal @.***>
wrote:

Hi @oaulicino https://github.com/oaulicino, sorry I'm unable to
reproduce this error. Could you please run the following curl command and
provide the output? This will give me an idea about the install_date that
is causing the error.
curl --request GET
--url 'https://console.jumpcloud.com/api/v2/systeminsights/programs?skip=0&limit=10'
--header 'x-api-key: REPLACE_KEY_VALUE'
--header 'x-org-id: SOME_STRING_VALUE'
—
Reply to this email directly, view it on GitHub
https://github.com/turbot/steampipe-plugin-jumpcloud/issues/12#issuecomment-1436495254,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHQOQHDXGJRMWSCTRA3GTTTWYMO7RANCNFSM6AAAAAAUX6B4VE
.
You are receiving this because you were mentioned.Message ID:
@.***>

and just to make sure you know, when I run the steampipe query, I am
getting different results with each attempt, even if it is a second apart.
It seems unreliable at the moment.
Best regards,
Otto Aulicino, C|CISO, CISSP, CISM, CISA, CCSP
Mobile: +1<PHONE_NUMBER>
http://www.linkedin.com/in/ottoaulicino
On Tue, Feb 21, 2023 at 9:47 AM Otto Aulicino @.***>
wrote:

Hey Subhajit, here you go:
[{"name":"IIS Express Application Compatibility Database for
x64","version":"","install_location":"","install_source":"","language":"","publisher":"","uninstall_string":"%windir%\system32\sdbinst.exe
-u
"C:\WINDOWS\AppPatch\CustomSDB\{08274920-8908-45c2-9258-8ad67ff77b09}.sdb"","install_date":"","identifying_number":"","system_id":"61fad67d914bac1b90dbfe92","collection_time":"2023-02-19T15:57:50.532Z"},{"name":"Python
3.10.5 Executables
(64-bit)","version":"3.10.5150.0","install_location":"","install_source":"C:\ProgramData\Package
Cache\{0FE1250F-6DD6-4948-B211-741B7CDBB335}v3.10.5150.0\","language":"1033","publisher":"Python
Software Foundation","uninstall_string":"MsiExec.exe
/I{0FE1250F-6DD6-4948-B211-741B7CDBB335}","install_date":"20220725","identifying_number":"{0FE1250F-6DD6-4948-B211-741B7CDBB335}","system_id":"61fad67d914bac1b90dbfe92","collection_time":"2023-02-19T15:57:50.532Z"},{"name":"Notepad++
(64-bit
x64)","version":"8.3.3","install_location":"","install_source":"","language":"","publisher":"Notepad++
Team","uninstall_string":""C:\Program
Files\Notepad++\uninstall.exe"","install_date":"","identifying_number":"","system_id":"61fad67d914bac1b90dbfe92","collection_time":"2023-02-19T15:57:50.532Z"},{"name":"IIS
10.0
Express","version":"10.0.06027","install_location":"","install_source":"C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.VisualStudio.IISExpress.Msi,version=17.1.32112.364,chip=x64\","language":"1033","publisher":"Microsoft
Corporation","uninstall_string":"MsiExec.exe
/X{028D4B22-B70B-447E-9B80-8E3E98CB2667}","install_date":"20220404","identifying_number":"{028D4B22-B70B-447E-9B80-8E3E98CB2667}","system_id":"61fad67d914bac1b90dbfe92","collection_time":"2023-02-19T15:57:50.532Z"},{"name":"Microsoft
.NET Runtime - 6.0.5
(x64)","version":"48.23.40665","install_location":"","install_source":"C:\ProgramData\Package
Cache\{089A177D-98AE-4195-A115-D3C45613B875}v48.23.40665\","language":"1033","publisher":"Microsoft
Corporation","uninstall_string":"MsiExec.exe
/X{089A177D-98AE-4195-A115-D3C45613B875}","install_date":"20220527","identifying_number":"{089A177D-98AE-4195-A115-D3C45613B875}","system_id":"61fad67d914bac1b90dbfe92","collection_time":"2023-02-19T15:57:50.532Z"},{"name":"Microsoft
.NET AppHost Pack - 6.0.3
(x64)","version":"48.15.37625","install_location":"","install_source":"C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.NetCore.AppHostPack.<IP_ADDRESS>.3.x64,version=17.1.32228.430,chip=x64\","language":"1033","publisher":"Microsoft
Corporation","uninstall_string":"MsiExec.exe
/X{0E342FF4-6ED0-4A90-8241-286A8FF6C89B}","install_date":"20220404","identifying_number":"{0E342FF4-6ED0-4A90-8241-286A8FF6C89B}","system_id":"61fad67d914bac1b90dbfe92","collection_time":"2023-02-19T15:57:50.532Z"},{"name":"JumpCloud
Remote
Assist","version":"0.19.0","install_location":"","install_source":"","language":"","publisher":"JumpCloud","uninstall_string":""C:\Program
Files\JumpCloud Remote Assist\Uninstall JumpCloud Remote Assist.exe"
/allusers","install_date":"","identifying_number":"","system_id":"61fad67d914bac1b90dbfe92","collection_time":"2023-02-19T15:57:50.532Z"},{"name":"HP
Documentation","version":"<IP_ADDRESS>","install_location":"","install_source":"","language":"","publisher":"HP
Inc.","uninstall_string":"CMD /C "C:\Program
Files\HP\Documentation\Doc_Uninstall.cmd"","install_date":"","identifying_number":"","system_id":"61fad67d914bac1b90dbfe92","collection_time":"2023-02-19T15:57:50.532Z"},{"name":"Microsoft
Visual C++ 2013 x64 Additional Runtime -
12.0.40664","version":"12.0.40664","install_location":"","install_source":"C:\ProgramData\Package
Cache\{010792BA-551A-3AC0-A7EF-0FAB4156C382}v12.0.40664\packages\vcRuntimeAdditional_amd64\","language":"1033","publisher":"Microsoft
Corporation","uninstall_string":"MsiExec.exe
/X{010792BA-551A-3AC0-A7EF-0FAB4156C382}","install_date":"20220202","identifying_number":"{010792BA-551A-3AC0-A7EF-0FAB4156C382}","system_id":"61fad67d914bac1b90dbfe92","collection_time":"2023-02-19T15:57:50.532Z"},{"name":"Microsoft
.NET 6.0 Templates 6.0.203
(x64)","version":"24.5.59963","install_location":"","install_source":"C:\ProgramData\Package
Cache\{1266D47E-431A-4C2F-80E6-8AA23286AC23}v24.5.59963\","language":"1033","publisher":"Microsoft
Corporation","uninstall_string":"MsiExec.exe
/I{1266D47E-431A-4C2F-80E6-8AA23286AC23}","install_date":"20220527","identifying_number":"{1266D47E-431A-4C2F-80E6-8AA23286AC23}","system_id":"61fad67d914bac1b90dbfe92","collection_time":"2023-02-19T15:57:50.532Z"}]
%
Best regards,
Otto Aulicino, C|CISO, CISSP, CISM, CISA, CCSP
Mobile: +1<PHONE_NUMBER>
http://www.linkedin.com/in/ottoaulicino
On Mon, Feb 20, 2023 at 2:51 AM Subhajit Mondal @.***>
wrote:

Hi @oaulicino https://github.com/oaulicino, sorry I'm unable to
reproduce this error. Could you please run the following curl command and
provide the output? This will give me an idea about the install_date
that is causing the error.
curl --request GET
--url 'https://console.jumpcloud.com/api/v2/systeminsights/programs?skip=0&limit=10'
--header 'x-api-key: REPLACE_KEY_VALUE'
--header 'x-org-id: SOME_STRING_VALUE'
—
Reply to this email directly, view it on GitHub
https://github.com/turbot/steampipe-plugin-jumpcloud/issues/12#issuecomment-1436495254,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHQOQHDXGJRMWSCTRA3GTTTWYMO7RANCNFSM6AAAAAAUX6B4VE
.
You are receiving this because you were mentioned.Message ID:
@.***>

Yes, same error, not necessarily the same output of the steampipe query.
For some reason the query will output different values every time.
Best regards,
Otto Aulicino, C|CISO, CISSP, CISM, CISA, CCSP
Mobile: +1<PHONE_NUMBER>
http://www.linkedin.com/in/ottoaulicino
On Wed, Feb 22, 2023 at 11:03 AM Subhajit Mondal @.***>
wrote:

Thanks, @oaulicino https://github.com/oaulicino, for the information. I
will try to reproduce the error with the above details.
One more question: Is it the same error you get in every attempt?
—
Reply to this email directly, view it on GitHub
https://github.com/turbot/steampipe-plugin-jumpcloud/issues/12#issuecomment-1440313441,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHQOQHCDSM75FBFNL2O4PBLWYY2FDANCNFSM6AAAAAAUX6B4VE
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hi @oaulicino, sorry for the inconvenience. The previous curl command I shared will return only the first 10 items. I suspect that you have more than 10 programs installed on your device, and some programs might have the install_date value in a different format that caused the above error.
Could you please run the below script and share the response? The below script will gather the whole list for you.
#!/bin/bash

skip="0"
page="1"

while true; do

  # Call the API
  output=$(curl -s -H "x-api-key: REPLACE_KEY_VALUE" -H "x-org-id: SOME_STRING_VALUE" "https://console.jumpcloud.com/api/v2/systeminsights/programs?skip=$skip&limit=10")

  # Return if the API returns empty data
  if [ "$output" == "[]" ]; then
    break
  fi

  # Print the output
  echo -e "\nPage >>> ${page}\n"
  echo $output

  # Skip the items that are already processed
  skip=$((skip + 10))

  # Increment the page number
  page=$((page+1))
done

There you go.
Best regards,
Otto Aulicino, C|CISO, CISSP, CISM, CISA, CCSP
Mobile: +1<PHONE_NUMBER>
http://www.linkedin.com/in/ottoaulicino
On Thu, Feb 23, 2023 at 9:46 AM Subhajit Mondal @.***>
wrote:

Hi @oaulicino https://github.com/oaulicino, sorry for the
inconvenience. The previous curl command I shared will return only the
first 10 items. I suspect that you have more than 10 programs installed on
your device, and some programs might have the install_date value in a
different format that caused the above error.
Could you please run the below script and share the response? The below
script will gather the whole list for you.
#!/bin/bash
skip="0"
page="1"
while true; do
Call the API
output=$(curl -s -H "x-api-key: REPLACE_KEY_VALUE" -H "x-org-id: SOME_STRING_VALUE" "https://console.jumpcloud.com/api/v2/systeminsights/programs?skip=$skip&limit=10")
Return if the API returns empty data
if [ "$output" == "[]" ]; then
break
fi
Print the output
echo -e "\nPage >>> ${page}\n"
echo $output
Skip the items that are already processed
skip=$((skip + 10))
Increment the page number
page=$((page+1))done
—
Reply to this email directly, view it on GitHub
https://github.com/turbot/steampipe-plugin-jumpcloud/issues/12#issuecomment-1441915882,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHQOQHBXBGX3SDXS2AOSCNDWY5Z4RANCNFSM6AAAAAAUX6B4VE
.
You are receiving this because you were mentioned.Message ID:
@.***>

Sorry @oaulicino, I think you have missed adding the result in the above thread.

I was replying directly via email, and attached a file, but it did not go through it seems. Here you go.
output.txt.zip


proposing variables of .md file

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Proposing a variable file

Hi,
Thanks for this pull request (PR).
Unfortunately, we are marking this PR invalid for hacktoberfest. We believe it does not follow the recommended guidelines:

Quality Standards
In line with Hacktoberfest value #2 (Quantity is fun, Quality is key), we have provided examples of the quality standards we encourage. This applies mainly to beginners.

PRs that are automated e.g. scripted opening PRs to remove whitespace / optimize images.
PRs that are disruptive e.g. taking someone else's branch/commits and making a PR.
PRs that are regarded by a project maintainer as a hindrance vs. helping.
Something that's clearly an attempt to simply +1 your PR count for October.

Learn more at https://hacktoberfest.digitalocean.com/details


Change All Create button that have drop-down to just Create.

Create button with 2 options is going away.  Since we have a Edit as YAML button on the bottom of the form for all resources, there is no need to have another create as YAML.  It should just be create, the form comes up and if they want to use YAML, then they can click on Edit as YAML.

Fixed


Fix devstack job in ci.opensuse.org

Previous commit allowed the devstack jobs to use some jenkins
plugins to store and report the test results.
However, there were several mistakes, mainly for rushing things :(.
The junitxml dependency has to be added to the VM were devstack is
running. Also, the if block to check for the file subunit can be avoided
since we want to fail the build if it doesn't exist.
Signed-off-by: aojeagarcia<EMAIL_ADDRESS>

@dirkmueller the patch is not merged yet https://review.openstack.org/#/c/605983/ and it will cause the devstack job with ipv6 to fail.
I can submit another PR to empty the field once it's merged if you don't mind


limit shard count min/max

Codecov Report
Patch coverage: 57.14% and project coverage change: -0.67 :warning:

Comparison is base (5c9efba) 96.04% compared to head (f6c1e74) 95.38%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main       #9      +/-   ##
==========================================
- Coverage   96.04%   95.38%   -0.67%
==========================================
  Files          12       12
  Lines        1163     1169       +6
==========================================
- Hits         1117     1115       -2
- Misses         32       37       +5
- Partials       14       17       +3

Impacted Files
Coverage Δ

internal/store.go
97.60% <57.14%> (-0.78%)
:arrow_down:

... and 1 file with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


cannot integrate JabbR with MVC Application

I have two Projects; MVC 4 and JabbR (WebForms). I'm doing integration release, so I added JabbR as a reference in my MVC 4 Project. And I wrote batch file to copy all marckups to my project and bring the configurations, everything is great till now.
Now, I tried to run the app. But signalr/hubs is not available. i'm using IIS 8. Cannot detect the problem!!! Why!?
I also checked the FAQ in https://github.com/SignalR/SignalR/wiki/Faq
Nothing happend?!?!?! :( please help

I have same problem. I need to implement JabbR in my MVC application like chat module. Is it possible to integration like facebook chat.
Thanks and Regards
Vishal Kiri

We have Jabbr integrated into our MVC app.   We have it done through iframe.  Works good and been working for several years.

can you please provide me some of code.
thanks and regards
vishal kiri
Sent from my Mi phone
On Jordan<EMAIL_ADDRESS>22 Jun 2017 5:48 p.m. wrote:
We have Jabbr integrated into our MVC app. We have it done through iframe. Works good and been working for several years.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/JabbR/JabbR/issues/599#issuecomment-310363222, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AQAICkdLYA1XUqHWvWYYsR3IAnw5jNs6ks5sGluqgaJpZM4ANjg8.

Code to what?   Jabbr is the code.  You need to pull that down via GIT, and get it deployed somewhere.  We have ours deployed to Azure.
Then on our ASP.NET, MVC, Angular website we surface it through a URL.  See below.  We pass a token from our web app to our jabbr app that helps with Auth.   BUt you should be able to get going with a few basics steps.

Thanks for your quick reply.
I have my own chat ui and I need to implement Jabbr. I think it's work with iframe. I need to implement with Iframe.
Sent from my Mi phone
On Jordan<EMAIL_ADDRESS>22 Jun 2017 6:48 p.m. wrote:
Code to what? Jabbr is the code. You need to pull that down via GIT, and get it deployed somewhere. We have ours deployed to Azure.
Then on our ASP.NET, MVC, Angular website we surface it through a URL. See below. We pass a token from our web app to our jabbr app that helps with Auth. BUt you should be able to get going with a few basics steps.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/JabbR/JabbR/issues/599#issuecomment-310377406, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AQAICvLmx7lq-qZ5mgX_025kIzJ-hzfSks5sGmm7gaJpZM4ANjg8.


VersionTolerant serialization of abstract class fails to compile

When I specify VersionTolerant abstract classes and make them members of other classes, the code fails to compile.
Here is a minimal example:
[MemoryPackable(GenerateType.VersionTolerant, SerializeLayout.Sequential)]
[MemoryPackUnion(0,typeof(FooDerived))]
public abstract partial class FooAbstract
{
}

[MemoryPackable(GenerateType.VersionTolerant, SerializeLayout.Sequential)]
public partial class FooDerived : FooAbstract
{
}

[MemoryPackable(GenerateType.VersionTolerant, SerializeLayout.Sequential)]
public partial class Bar
{
    public FooAbstract foo;
}

This gives errors:
0>Bar.MemoryPackFormatter.g.cs(70,24): Error CS0311 : The type 'FooAbstract' cannot be used as type parameter 'T' in the generic type or method 'MemoryPackWriter<ReusableLinkedArrayBufferWriter>.WritePackable<T>(scoped in T?)'. There is no implicit reference conversion from 'FooAbstract' to 'MemoryPack.IMemoryPackable<FooAbstract>'.
0>Bar.MemoryPackFormatter.g.cs(124,78): Error CS0311 : The type 'FooAbstract' cannot be used as type parameter 'T' in the generic type or method 'MemoryPackReader.ReadPackable<T>()'. There is no implicit reference conversion from 'FooAbstract' to 'MemoryPack.IMemoryPackable<FooAbstract>'.
0>Bar.MemoryPackFormatter.g.cs(133,44): Error CS0311 : The type 'FooAbstract' cannot be used as type parameter 'T' in the generic type or method 'MemoryPackReader.ReadPackable<T>(scoped ref T?)'. There is no implicit reference conversion from 'FooAbstract' to 'MemoryPack.IMemoryPackable<FooAbstract>'.
0>Bar.MemoryPackFormatter.g.cs(157,40): Error CS0311 : The type 'FooAbstract' cannot be used as type parameter 'T' in the generic type or method 'MemoryPackReader.ReadPackable<T>(scoped ref T?)'. There is no implicit reference conversion from 'FooAbstract' to 'MemoryPack.IMemoryPackable<FooAbstract>'.

Full example code here: https://pastebin.com/p4eEUi6w
Looking at the generated code, the FooAbstract partial is declared like this:
partial class FooAbstract : IMemoryPackFormatterRegister

I'm not sure if this intentional, or if it should also be including  IMemoryPackable like the other classes.
My abstract classes do contain the occasional variable, so they would benefit from VersionTolerant.

Hello. Thanks for the report.
After checking, it seems that the problem is that you have specified GenerateType.VersionTolerant for the FooAbstract type that specifies Union.
The abstract class specifying Union is not itself serialized. So GenerateType.VersionTolerant must be specified for each subclass.
The following will probably work.
[MemoryPackable]
[MemoryPackUnion(0, typeof(FooDerived))]
public abstract partial class FooAbstract.
{
}

In #233, I added an analyzer to detect this mis-specification.
Please let me know if there are any problems. Thanks.


How to delete a Project administrator?

I am a Project administrator, recently I add another guy as Project administrator too.
How can I remove him/her from Project administrators list?

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

ID: c9927339-4cf7-8da4-1177-d5b3978684f9
Version Independent ID: 1b9217f1-0506-1033-2ce4-2f335af9f32f
Content: Troubleshoot adding administrators to projects and project collections - Azure DevOps Services
Content Source: docs/organizations/accounts/faq-add-administrators.md
Product: devops
Technology: devops-accounts
GitHub Login: @chcomley
Microsoft Alias: chcomley

Hi @Cherishty, You should be able to select the Remove link per the attached screenshot. After a few seconds, select the refresh button, and then the name should be removed.

Please let us know if you have any further questions. Thank you!

It works! Thanks for your help 👍


Feature request: support git commit -a

I've noticed a couple of people logging bugs saying "git commit" is not working and getting "nothing to commit" errors due to not updating git index with git-add before hand.
would it not make sense to add a "Git Commit Update" command to run "git commit -a" which is the functionality people are looking for ?

See #201. Add all and commit does something similar as well. The issues about nothing to commit seem to come from a lack of understanding of how git works


Fix logger output in debug builds

Seems that perhaps we were relying on undefined behavior, and the
behavior has changed in newer compilers. (Unclear cause.)
The result is that in debug mode, the expression
endltype(f) == endltype(std::endl) always returns false,
even when the modifier passed in is in fact std::endl.
As a result, in debug mode, we never flush the stream.
This fix is to ignore which modifier is being passed in, and
always flush the stream as though it's std::endl. In practice,
it's likely to be endl most of the time, so the performance hit
from flushing more often should not be too bad.

@ylow Thanks, that's a good point. I added a comment explaining why we flush on all stream modifiers now, and added the output of clang --version.


[Docs] Advanced Installation section

Current State:
Users that desire to control the version of Meshery that they deploy don't have a guide for how to so so.
Desired State:
The docs should have an Advanced Installation section, containing an expansion of the following:
Users can control the specific container image (version) of Meshery that they would like to run by editing their local ~/.meshery/meshery.yaml file.
In the line with the meshery container image, instead of leaving the implicit :latest tag behind image: layer5/meshery, users will instead identify a specific image tag like so:
version: '3'
services:
  meshery:
    image: layer5/meshery:eeeb528f8c6ac59ff5d435a857ff68d00046cf0e
    labels:
      - "com.centurylinklabs.watchtower.enable=true

Contributor Resources

Meshery documentation site
Meshery documentation source
Instructions for contributing to documentation

@NupurThakur27, do you think you'll come around to this issue soon? @nikita15p is asking about Meshery's configuration in this area.

@NupurThakur27, do you think you'll come around to this issue soon? @nikita15p is asking about Meshery's configuration in this area.

Just made the PR, it slipped my mind before.


APIM PermissionDenied

PermissionDenied
when i do PTU benchmarking, the requests succeed for the first 2 secs, no failures, then i continuously got following error, did anyone see this problem before?:

From screenshot it looks like no requests actually succeeded. Check that you have the correct deployment name and you've set OPENAI_API_KEY environment variable correctly.
You could also try using curl directly to see if you got the correct setup. You can follow this example.

Closing this as irrelevant. Please reach out to Azure support for similar issues.


DandyLand :: service_id is None

Hi !
I installed requirements
I installed websockets (no more missing websockets module message)
No error displayed when starting comfyUI, dandy is properly imported as a custom node.
But the nodes are not displayed properly (missing fields, missing inputs)

And using some of your test workflows, I get this error :
DandyLand :: service_id is None
abort abort abort
Exception
Traceback (most recent call last):
  File "/Users/lalala/pinokio/api/comfyui.git/app/custom_nodes/dandy-master/dandynodes.py", line 44, in execute
    return self.run(**kwargs)
  File "/Users/lalala/pinokio/api/comfyui.git/app/custom_nodes/dandy-master/dandyland.py", line 47, in run
    abort_abort_abort()
  File "/Users/lalala/pinokio/api/comfyui.git/app/custom_nodes/dandy-master/constants.py", line 97, in abort_abort_abort
    raise comfy.model_management.InterruptProcessingException
comfy.model_management.InterruptProcessingException
abort abort abort
Processing interrupted
Prompt executed in 0.06 seconds

Any idea ?
Thanks,
MacOs Sonoma, comfyUI installed with Pinokio,

Ok so the node isn't connecting to the websocket, and when you run the prompt it doesn't have service id yet. Each node will have a websocket connection, i'm betting something is failing in the javascript creating the nodes, they look all wrong so they aren't set up completely.
Are there any errors in the Javascript console?
Which browser are you using? I haven't tried on macos or safari. (installing in a VM now, i'll try it out)
Are there any errors in the terminal when comfyui starts up?
I'm wondering about that path name, the dandy folder is called 'dandy-master' on your system. i'm wondering if comfy is sharing the web stuff under http://localhost.xxxx/dandy-master/stuff.js.. if it's doing that none of the javascript will be found, everything is looking for code at http:/localhost:xxxx/dandy/
as a first thing to try, i'd rename dandy-master to dandy.
but i'm wondering, is it Pinokio that does this? or did you just name it that?

Hi, thanks for your answer !
I'm confused about not having the idea to open javascript console before...
:-/
My first attempt to install dandy was to unzip dandy_master.zip and install requirements. So I didn't rename the folder.
Strange thing, renaming the folder "dandy" seems to break my comfyUI. No more custom nodes, even comfyUI manager is not appearing anymore, so I guess there's a conflict somewhere...
Reinstalling dandy using git clone properly named the "dandy" folder, but didn't fixed the conflict.
But I have so many custom nodes installed that the problem is definitely on my side.
Then I reinstalled a fresh comfyUI from scratch (no pinokio).
After installing websockets and matplotlib, (and comfyUi manager), everything seems to work fine now.
I'll let you know if I can find whitch custom node conflicts with dandy.
Combining javascript with stable diffusion is pretty exciting. Thanks for sharing !

@laurentVeliscek I experienced the same with conflicts on a couple of nodes. I deactivated pythongosssss and mixlabs nodes, and it fixed the errors.

Thank you for discovering these, and thanks for bearing with me, i will investigate these extensions.


Update readme: Add leap-by-word plugin link

I meant to updated the other PR but it closed automatically when I synced the fork: https://github.com/ggandor/leap.nvim/pull/195

@ggandor hello György, can I get some feedback on this PR? I rather merge it or close it than leave it open, thanks.

Hi! Well, short answer: https://github.com/ggandor/leap.nvim/pull/150#issuecomment-1544111298. IMO, the very point of a Leap-like plugin is that "a single universal motion type can be used in all ... situations", to quote the readme, emphasis mine.
That said, if I generalize the concept, this is basically "EasyMotion meets Leap", where we filter the targets with a manual input pattern first. Or, from another perspective, a bidirectional Flit call, filtered to word beginnings (\< + {char}). If we'd have a pattern_transformer parameter for leap(), a callback that gets the input pattern as argument, and returns an altered one, then we could simply use Flit for this. I'm closing this now, but I will keep thinking about the above enhancement. The cost of it would be practically zero in the codebase itself, but TBH I don't see really compelling use cases yet. Thanks though!

@ggandor it is correct that this customization could be described as a "bidirectional flit that matches a pattern for the first letter of words".
I don't think this customization would benefit from appending it to the current flit functionality, its purpose is simpler than flit and it doesn't intend to be parametrized, as that would increase complexity of the code. I don't think the customization benefits from sharing code with the flit codebase.
It is its own little customization, similar to the leap-to-line customization, but complex enough that it makes sense to put it in its own repo and not as a copy-paste sample.
Just because it seems similar to flit in functionality, does not mean that it is similar to flit in the user experience. It also communicates the wrong idea if it is just a parameter to the flit package. The idea here isn't to offer yet more customization to the user, the idea here is to offer a single way of moving around. The rigidity of its single feature is itself part of the design.
The similarity in functionality is a rational and logical description of the feature, but the subtle difference creates a very different mindset to movement.
E.g. I use my customization but I do not use flit nor leap keybinds.


Conditional request handling makes output caching difficult

Describe the problem
SvelteKit has built-in support for conditional request handling, to provide a "304 Not Modified" response if the client already has the resource requested. This is great, and can save bandwidth and reduce TTLB.
However, if you want to use output caching (either in-memory or via Redis or Memcached) in order to avoid the complete render + data-access part and improve TTFB, it is a little awkward to work around.
Unless you remove the if-none-match header and re-create how it is handled after the resolve(event) call the response you get may have already been turned into a "304 Not Modified" response, denying the ability to cache it. On a site with mostly static content and lots of repeat visitors, this might negatively affect cache-hit ratios.
Also, because the handling of it is done inside of resolve(event), if you have a cached response to return, you now miss out on sending the "304 Not Modified" response (unless you have re-created the code, in your own handle method).
Describe the proposed solution
If the conditional handling was after the hooks handle call it would be more straight-forward to return a cached response and also have that response be evaluated.
Alternatives considered
Using a custom server with the node-adapter and some caching middleware, but it may be something that non-node deploys would benefit from too.
Importance
nice to have
Additional Information
Removing the http header and re-implementing the conditional handling works, but feels kludgy.

If the conditional handling was after the hooks handle call it would be more straight-forward to return a cached response and also have that response be evaluated.

To be clear, you're saying that you want to add some caching logic in your handle hook, so you want resolve(event) to return a non-304 response but then turn the return value from handle into a 304 if appropriate? That makes sense, yeah

I didn't closely read the part about memcached, etc. but in general it would make sense to me that etag handling should happen after handle since handle may change the response. While I suppose this would be a change in behavior, I would classify it as a bug fix more than a breaking change.

Yeah it's borderline. I figured I'd include it anyway since it should be a nice quick fix


Publish APK on Github?

Hi Niels,
Screenshots look intriguing :) Would you mind publishing the .apk here at Github (for the folks without Playstore access)? Best place would probably be the releases page – but even if it were inside the repo itself it would at least be accessible :)
Thanks in advance!

I've added the APK to the releases page!

Boink! That found me below the table. Fast response, thanks! Unfortunately the release page says: "There aren’t any releases here"?

Sorry! Forgot to publish.

Ah! Yeah, a "draft" can only be seen by team members :) Thanks!


Update Gradle settings to build using JDK17.

@ddtobiasz @jedfonner as requested.
Resulting JAR file is identical to the previous one - still worth validating in an environment.

Amazing, thanks so much!
Question - are we going to be able to release this to customers who are currently still running Java 8.  Or we need to bump the version to a new major version and let customers know not to move to the new major version until they're using Java 17?

@jedfonner based on the fact that Marco said the JAR is identical, and based on the comments in this thread (and specifically this comment) I think this will run on Java 8+.
We can spin up a ci site on an older version of Appian to be sure, but first @marcoamador did you do a sha of the JAR to confirm identicalness?

@ddtobiasz good point. I checked file byte size but actually missed that the .class file for ImageStorageClientApi.java is larger on JDK17, so the compiler does produce different code. Worth checking how the new jar behaves on Java 8.

I'm guessing if I spin up a ci site on like 22.1 it will be Java 8?

According to the docs for options.release, it sets the --release javac target, which means it will use that version for compiling. So I think this means it won't work on java 8 but we should definitely test.

Cool.  Just for my own education since I'm a gradle noob, I see the options.release is now set to 8, but where does it specify building on JDK 17?

Cool. Just for my own education since I'm a gradle noob, I see the options.release is now set to 8, but where does it specify building on JDK 17?

It doesn't, that's the issue. That you always have to set at IDE level, I believe.

Cool. Just for my own education since I'm a gradle noob, I see the options.release is now set to 8, but where does it specify building on JDK 17?

It doesn't, that's the issue. That you always have to set at IDE level, I believe.

But, @jedfonner if your gradle version in the IDE is too low, it will fail, since the build depends on higher versions. I'm not sure if 17 is actually the minimum, but 8 doesn't work.


Bad URL encoding in markdown pattern generated URLs

This appears to be a bug as far as I can tell. There is a related issue here https://github.com/informatics-isi-edu/cirm-project/issues/87.
We have a column that has the following annotation:
"markdown_pattern": "[{{Experiment ID}}](/chaise/record/#1/Microscopy:Experiment/ID={{#encode}}{{Experiment ID}}{{/encode}})"

The data value for the Experiment ID column includes a special character & in it. The URL that gets generated from the above annotation has been HTML encoded and has & in it.
Unless I'm mistaken, from what I can tell the annotation looks correct from looking at the wiki for this.
https://github.com/informatics-isi-edu/ermrestjs/wiki/Template-and-Markdown-Guide#encoding-variables-for-url-manipulation

No.. If you don't want to have url encoded, you need to use {{{}}} for your
experiment id.
On Thu, Feb 2, 2017 at 4:35 PM, robes<EMAIL_ADDRESS>wrote:

This appears to be a bug as far as I can tell. There is a related issue
here informatics-isi-edu/cirm-project#87
https://github.com/informatics-isi-edu/cirm-project/issues/87.
We have a column that has the following annotation:
"markdown_pattern": "[{{Experiment ID}}](/chaise/record/#1/Microscopy:Experiment/ID={{#encode}}{{Experiment ID}}{{/encode}})"
The data value for the Experiment ID column includes a special character &
in it. The URL that gets generated from the above annotation has been HTML
encoded and has & in it.
Unless I'm mistaken, from what I can tell the annotation looks correct
from looking at the wiki for this.
https://github.com/informatics-isi-edu/ermrestjs/
wiki/Template-and-Markdown-Guide#encoding-variables-for-url-manipulation
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/informatics-isi-edu/ermrestjs/issues/338, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAZUDOBc4yBL2DnZWrzPy1E1Qn8gQzhxks5rYnZEgaJpZM4L10qS
.[image: Web Bug from
https://github.com/notifications/beacon/AAZUDB6JvvtNtFo7kaf-1oUrHfblApXBks5rYnZEgaJpZM4L10qS.gif]
{"api_version":"1.0","publisher":{"api_key":"
05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":
{"external_key":"github/informatics-isi-edu/ermrestjs"
,"title":"informatics-isi-edu/ermrestjs","subtitle":"GitHub
repository","main_image_url":"https://cloud.githubusercontent.com/assets/
143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","
avatar_image_url":"https://cloud.githubusercontent.com/
assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png
","action":{"name":"Open in GitHub","url":"https://github.
com/informatics-isi-edu/ermrestjs"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"Bad
URL encoding in markdown pattern generated URLs (#338)"}],"action":{"name":"View
Issue","url":"https://github.com/informatics-isi-edu/ermrestjs/issues/338
"}}}

I do want it to be URL encoded. Instead, it is getting HTML encoded.

There should be three braces, not two, surrounding the column name:
...{{#encode}}{{{Experiment ID}}}{{/encode}}
the two braces mode is a feature of Mustache templates that make sense
when building HTML from templates but never really makes sense the
way we use templates to build markdown strings.

So the examples and documentation on the wiki are incorrect? Or am I reading them wrong, because the wiki shows an example specifically of building an URL and shows just 2 curly brackets rather than 3.

According to Karl, we should never use 2 braces.. IN fact, there is a task
to automatically convert 2 braces to 3 automatically, but we never get
there...
So maybe we should just update the document.
On Thu, Feb 2, 2017 at 4:42 PM, robes<EMAIL_ADDRESS>wrote:

So the examples and documentation on the wiki are incorrect? Or am I
reading them wrong, because the wiki shows an example specifically of
building an URL and shows just 2 curly brackets rather than 3.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/informatics-isi-edu/ermrestjs/issues/338#issuecomment-277131834,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAZUDFPNx4qM4uTdOsfinSKC8W5y8H6Sks5rYngTgaJpZM4L10qS
.[image: Web Bug from
https://github.com/notifications/beacon/AAZUDMM5DjQ_xsNVCSenWH9HHdzuQiA7ks5rYngTgaJpZM4L10qS.gif]
{"api_version":"1.0","publisher":{"api_key":"
05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":
{"external_key":"github/informatics-isi-edu/ermrestjs"
,"title":"informatics-isi-edu/ermrestjs","subtitle":"GitHub
repository","main_image_url":"https://cloud.githubusercontent.com/assets/
143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","
avatar_image_url":"https://cloud.githubusercontent.com/
assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png
","action":{"name":"Open in GitHub","url":"https://github.
com/informatics-isi-edu/ermrestjs"}},"updates":{"
snippets":[{"icon":"PERSON","message":"@robes in #338: So the examples
and documentation on the wiki are incorrect? Or am I reading them wrong,
because the wiki shows an example specifically of building an URL and shows
just 2 curly brackets rather than 3."}],"action":{"name":"View
Issue","url":"https://github.com/informatics-isi-edu/ermrestjs/issues/338#
issuecomment-277131834"}}}

I repeat: you should NEVER use the two-brace mode.  That means HTML
escaping, which never makes sense since we are not producing HTML. The
three-brace mode turns off this HTML escaping.
I wish we could turn off this part of Mustache in our system, but when
I asked it seemed like this would be invasive.
To have correct templates, you should ALWAYS use triple braces on
column names and then wrap with either the encode or escape blocks
to transform that into either URL-encoded or Markdown-escaped text.
karl

If an example builds a URL with two-brace expansions, that is wrong.

seems this is a documentation bug not an implementation bug. #339 opened.