Quieter scenes not detected as changed even if pixel-diff is set to 0

I noticed that while testing battle scenes from neptunia RE;Birth 1. FPS drops in scenes while the game is waiting for player's input. There is some minor movements like range glow and a slowly spining circle on character's avatar that have the turn. The game is running at flawless 60fps clearly but trdrop can't see the changes dropping fps even with pixel-diff set to 0 (in tests I saw that the program gets more permissive to change with higher value).
Scene captured using shadowplay at 130mbits to avoid quality loss as much as possible while keeping the 60fps target.
tested using 0.3 alpha build

The reason it thinks it is a frame drop even though pixels are changing might be that it is also falsely perceived as a frame tear. Frames that tear too much (above the set lineDifference limit) are not counted as new frames. Are tears displayed in the graph during that scene? Please try setting the lineDifference to 1 while keeping the pixelDifference 0 and see if that changes anything.

As video buffer capture don't have frame tears even with vsync off, this option is keeped at 100% (line-difference: 100; default is 0.6).
Changing to 1 seems to have the same effect as 100. No tears are detected.

It's hard to tell without having the video to test it with. Could you somehow provide the video so I can check it out? That would be quite helpful. Just a couple of seconds where that particular scene is.

Certainly!
I don't have the original video I detected this anymore but I just captured this one:
https://www.dropbox.com/s/dofhy4xhjcbe25f/trdrop.7z?dl=0
Also in this video the drop is less intensive than the first one but it's still there. I'm sending the video, the output, the config file and the CVS.

Thank you!
I will check it out later when I have some time and hopefully see what the problem is.

i think that shadowplay is causing the problem not teardrop because shadowplay some time use a "VFR" when recording.

Now you can check for yourself with the difference frames option where the white pixels are located.


 This shaded model should be used to construct CLI classloader.

Is there a JIRA for the task that added this?

@jamezp , I logged: https://issues.redhat.com/browse/WFMP-279

@jfdenise Sorry, I meant a WFLY or WFCORE JIRA. From what it looks like org.wildfly.core.wildfly-cli.shaded package which I assume is part of either the WildFly or WildFly Core feature packs. There is no JavaDoc to GalleonFeaturePackRuntime.GalleonPackageRuntime(), but my assumption on reading the code is it will simply return null if not found. Is that correct?
I guess what I didn't know is what org.wildfly.core.wildfly-cli.shaded is, but I'm assuming it must be a package in the feature pack.

@jamezp , I see, The JIRA that introduced this package is: https://issues.redhat.com/browse/WFCORE-7019

Perfect, thank you! I'll give it a test.


feature request: document support multiple version

Is your feature request related to a problem? Please describe.
When user view the document https://www.apolloconfig.com/ , user may be only care about the document match their apollo's version.
For example, when user user's apollo version is 1.5.0, he/she may be confuse when see the feature above 1.5.0
Describe the solution you'd like
When someone use elasticsearch, its official site https://www.elastic.co/guide/en/elasticsearch/reference/7.17/index.html support choose the matched version of document.

Maybe we can add a button version on the top right of site?

and jump to that version's document which mark by the git tag.
Additional context
It's will improve the experience about the document, decrease the user's confuse.

Good idea! I suppose this will also make the documentation more precise and simple, e.g. we don't need to mark this section is for 2.0.0+, this section is for 1.9.0+, etc.


No Supported in IE 11

The issue looks invalid. If it does not work, could you please provide with more details (versions of OS, IE, and IE Web Notifications) and what in particular does not work?

I am using Windows 10 on IE 11 using version 0.9.0 for the notifications
found here: https://ie-web-notifications.github.io/
Landing on the page immediately tells me "Notifications are not available"
On Thu, Nov 3, 2016 at 7:47 AM, ie-web-notifications <
<EMAIL_ADDRESS>wrote:

The issue looks invalid. If it does not work, could you please provide
with more details (versions of OS, IE, and IE Web Notifications) and what
in particular does not work?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ie-web-notifications/ie-web-notifications/issues/2#issuecomment-258163480,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHJnp27CA9oN04Q5LzTDPBQO-gBK4c4xks5q6fPogaJpZM4KgrqY
.

Just in case could you please ensure that IE Web Notifications addon is enabled?

I'm also having problems with it.
From one computer I get the same error: "Notifications are not available"
From the second one, the "request permission" button isn't clickable. Nothing happened when I click on it.

From one computer I get the same error: "Notifications are not available"

Please ensure that the plugin installed and if it still does not work, could you please share the details, what versions of OS and the IE browser are used and whether the plugin is loaded?

From the second one, I added this site. and got PN. But I'm not getting PN for new emails.

I guess PN refers to push notifications. If the notifications work on the web site https://ie-web-notifications.github.io/, then please double check the configuration of the e-mail, maybe one should firstly enable it there and request permission, additionally it can happen that the code of the e-mail interface detects the IE browser and does not even try to use the notification functionality. There is not so much one can do with it.


Need to cleariry whether prompt=select_account is supported or not.

In "Request an authorization code" section of the document, the description of "prompt" parameter says "Indicates the type of user interaction that is required. The only valid values at this time are login, none, and consent.".
However, if we use "prompt=select_account", it actually works.
Can you clarify whether  "prompt=select_account" is actually supported or not.

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

ID: 13b44819-ed7b-84bc-f5d2-2b937029f7df
Version Independent ID: db9f8408-c234-90d0-4817-3516e5fc3ba0
Content: Microsoft identity platform and OAuth 2.0 authorization code flow - Microsoft identity platform
Content Source: articles/active-directory/develop/v2-oauth2-auth-code-flow.md
Service: active-directory
Sub-service: develop
GitHub Login: @hpsin
Microsoft Alias: hirsin

@katz Thank you for your query. . We will have this checked and update the thread.

It is supported, this was an accidental omission. This was fixed in #70901

@hpsin
Unfortunately, the document still says "Indicates the type of user interaction that is required. The only valid values at this time are login, none, and consent."
select_account is somehow missing.

Hm.  @mmacy any idea why the commit above didn't go through?

prompt=select_account is on the page now. Thank you!


Updated breadcrums for Rules pages

Signed-off-by: Amardeepsingh Siglani<EMAIL_ADDRESS>Description
Added "Rules" step as part of the breadcrumbs shown on Create, Edit, Duplicate and Import rule pages. This will make it easier for user to navigate back to the rules page.

Issues Resolved
https://github.com/opensearch-project/security-analytics-dashboards-plugin/issues/139
Check List

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

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Could you rebase your dev branch? A PR was merged earlier today which addresses the Plugin \"securityAnalyticsDashboards\" is only compatible with OpenSearch Dashboards version \"2.4.0\", but used OpenSearch Dashboards version is \"2.4.1\" error that's impacting the cypress test workflow.


⚠ Beulah Revival Network has degraded performance

In 4c3e3bd, Beulah Revival Network (https://beulah.clicki.digital) experienced degraded performance:

HTTP code: 200
Response time: 11904 ms

Resolved: Beulah Revival Network performance has improved in 39e0005.


Looks like the documentation is out of date

The official documentation is inconsistent with the current version of the api, resulting in many examples in the documentation not working properly

it seems so, I follow the tutorial in the docs but it doesn't compile at all


feat: add new opt ls_cmd to buffer provider; small fix to bufnr alignment

What?
This PR adds a new option ls_cmd to the buffer provider.
If ls_cmd is specified, buffer list will be get from the output of :ls
instead of vim.api.nvim_list_bufs(), for example:
require('fzf-lua').buffers({ ls_cmd = 'ls a+' })

will get buffer lists from the output of ls a+ (active buffers with
modification).
Users can use :ls[!] [flags] command with arbitrary flags supported by
nvim, e.g.

{ ls_cmd = 'ls!' } -> get list of "unlisted" buffers
{ ls_cmd = 'ls F' } -> get list of terminal buffers with finished job,
etc.

In addition, if ls_cmd is specified, buffer flags will be grepped directly
from the ls output. In this way, it can show more information than the current implementation, which only has '%' and '#' flags.
This PR also includes a small fix of the alignment issue of buffer numbers: in the function gen_buffer_entry() variable max_bufnr_w is set to 26 + #tostring(max_bufnr), I don't know where the number 26 comes from but seems like it's the length of the ANSI code in the bufnr. However if the user sets the FzfLuaBufNr highlight group to a different color, the ansicode length will be different or not exist at all, and the alignment will look weird:
Before the fix:
When FzfLuaBufNr is linked to 'Normal' (correct):

When FzfLuaBufNr is linked to 'Operator' (wider than normal)

When FzfLuaBufNr is cleared (way too wide):

After fix:
When FzfLuaBufNr is linked to 'Normal':

When FzfLuaBufNr is cleared:

When FzfLuaBufNr is linked to 'Operator'

Why?
I want to use the fzf buffers to completely replace nvim's builtin command :ls/:buffers/:files, but found that it does not support some flags of these commands, see :h :ls. This PR gives us the ability to use those flags with fzf buffer provider.
Another benefit is that we now have a way to get more buffer flags from :ls instead of calculating them on our own to mimic the behavior of :ls
require('fzf-lua').buffers({}) before this PR:

require('fzf-lua').buffers({ ls_cmd = 'ls' }) after this PR:

Actual output of :ls:

Ty @Bekaboo for this!
Unfortunately I'd have to pass on this PR, this is a very rare edgecase and is way too confusing for most users, they have no idea what is a backend or how buffers are listed and which buffers are missing/hidden, I like to try to keep things simple and this isn't for very advanced neovim users. Moreso, I do not wish to maintain this adittional complexity (solve issues, etc).

This PR also includes a small fix of the alignment issue of buffer numbers

If you wish to submit  a separate PR for this fix I'll be glad to accept it.

they have no idea what is a backend

Sorry the backend staff is just from my previous config to switch providers, I prefer calling them backend. It is not related to this issue! Sorry for confusion.

Please consider accepting this patch after reading the changes. It is really not completed at all. Thanks in advance!

they have no idea what is a backend

Sorry the backend staff is just from my previous config to switch providers, I prefer calling them backend. It is not related to this issue! Sorry for confusion.

Even without the backend, I don't wish to support a new provider that adds new markers to the buffers list that create confusion, most users have no idea what these mean or ever looked at the output of :ls a+.
Moreso, this will also have to be ported to work for tabs as well (which also uses the same formatting, I'd prefer to avoid it altogether as you will probable be the only user ever to use this :-)

Feel free to close then. Thanks for your response

Moreso, this will also have to be ported to work for tabs as well

AFAIK :tab does not accept any argument or flags.

Moreso, this will also have to be ported to work for tabs as well

AFAIK :tab does not accept any argument or flags so this has nothing to do with tabs provider?

tabs still uses nvim_list_bufs and the same formatting and buffer markers (#, %), that's what I meant.

tabs still uses nvim_list_bufs and the same formatting and buffer markers (#, %), that's what I meant.

Yes, but this PR does not affect that. Buffer provider still uses nvim_list_bufs() if ls_cmd is not provided. And if it is provided it only affects the buffer provider but not the tab provider, which still uses nvim_list_bufs() regardless how buffer provider behaves.

Yes I understood that but I like to have feature parity between the two (in terms of formatting at least).
In any event, I really appreciate the effort but as I mentioned I would like to avoid having that extra complexity unless absolutely required.

Alright then, but can you check the patch and make the fix to the bufnr alignment logic? It is less than 10 lines of code and I don't want to bother making another PR :)

Alright then, but can you check the patch and make the fix to the bufnr alignment logic? It is less than 10 lines of code and I don't want to bother making another PR :)

Absolutely, I just never want to prevent people from being counted as contributors :-)

@Bekaboo, simpler fix using the already existing utils.ansi_escseq_len (renamed from ansi_col_len):
https://github.com/ibhagwan/fzf-lua/commit/ad892f7787624171074d53c00eda42b952a37c72

Nice, thanks for the fix!


Cartesian chart with the x and y axes crossing in the middle

It seems that the current charts can't do a Cartesian chart with the x and y axis crossing in the middle.
If we can do that, there is no example on the website, so for example a chart like:
https://en.wikipedia.org/wiki/Political_compass
Is hard to make.

We can do that :-D
Take a look at the bottom example for cartesian:
http://d3fc.io/components/chart/cartesianChart.html
This works quite elegantly, the axes are actually series (sounds crazy, but it works). Each axis has a baseline property which positions it with respect to the cross-axis. If a baseline is not set, it 'snaps' to the scale extents.


Unsafe function pointers

During module compilation we're casting memory reference to fat pointers to work around problems with borrow checker (here). It's actually unsafe: when the Compiler struct gets dropped, it causes to drop CodeMemory field in it, which drops Mmap in it, which deallocates the code memory. This results in dangling pointers to the functions.
Some ideas to consider:

Leak the executable memory.
Clone reference with appropriate lifetime using unsafe, so we can cheat on borrow checker this way.
Have a newtype for function references with lifetime shorter than 'static.

CC @sunfishcode

I believe these issues are handled now with the wasmtime crate itself (it internally holds onto all the various allocations as necessary). The internal crates are all documented as pretty unsafe and require pretty deep knowledge of how they work to use them safely, but that's unlikely going to change too too much in the near future, so I'm going to close this as "basically solved at the wasmtime crate layer"


get and find should have a --yaml flag and a --human flag

Currently these commands output YAML by default. However, conceivably, this CLI was meant to be used by humans who aren't usually interested in version_created_at or the database ID. They mainly want to know the value of their password or the name of their password, not the metadata associated with it.
Currently the find command returns this YAML:
jumpbox/0:~$ ./credhub find -p /bosh-ci-evanfarrar/concourse
credentials:
- name: /bosh-ci-evanfarrar/concourse/atc
  version_created_at: 2017-11-09T21:11:09Z
- name: /bosh-ci-evanfarrar/concourse/atc_ca
  version_created_at: 2017-11-09T18:48:03Z
- name: /bosh-ci-evanfarrar/concourse/database_password
  version_created_at: 2017-11-09T18:48:02Z
- name: /bosh-ci-evanfarrar/concourse/database_username
  version_created_at: 2017-11-09T18:48:02Z
- name: /bosh-ci-evanfarrar/concourse/database_name
  version_created_at: 2017-11-09T18:48:02Z
- name: /bosh-ci-evanfarrar/concourse/basic_auth_password
  version_created_at: 2017-11-09T18:48:02Z
- name: /bosh-ci-evanfarrar/concourse/basic_auth_username
  version_created_at: 2017-11-09T18:48:02Z

And the get command returns this YAML:
jumpbox/0:~$ ./credhub get --name `./credhub find -n "basic_auth_username" | grep -e"- name" | cut -d':' -f2`
id: e6f1d764-37a1-4261-86fd-64fb4ce6e02d
name: /bosh-ci-evanfarrar/concourse/basic_auth_username
type: password
value: APASSWORD
version_created_at: 2017-11-09T18:48:02Z

I propose that we make the output human-readable and human-relevant by default, but provide the YAML format as an option. It is arguably a smaller burden for a computer to remember and type an extra flag than it is for a human to do so.
new proposed find output:
jumpbox/0:~$ ./credhub find -p /bosh-ci-evanfarrar/concourse
/bosh-ci-evanfarrar/concourse/atc
/bosh-ci-evanfarrar/concourse/atc_ca
/bosh-ci-evanfarrar/concourse/database_password
/bosh-ci-evanfarrar/concourse/database_username
/bosh-ci-evanfarrar/concourse/database_name
/bosh-ci-evanfarrar/concourse/basic_auth_password
/bosh-ci-evanfarrar/concourse/basic_auth_username

new proposed get output:
jumpbox/0:~$ ./credhub get --name `./credhub find -n "basic_auth_username"`
APASSWORD

A possible migration path:

1.X: introduce --human to output just the value or just the keys delimited by newlines, introduce --yaml flag which does nothing as it is already the default.
2.X: --human now does nothing but print a deprecation warning, as it is the default. --yaml does what the default used to do.
3.x: remove --human

Related: this is an alternative suggestion for #3

An interesting idea. I agree that YAML isn't a great default. I'd like to understand more of the operations you and BBL users are trying to do, like logging into a cf you just deployed or trying to pre-seed a value so it gets used when the deploy occurs, rotating values, etc. Could you tell me more about what you've been using CredHub to do/script in the last few weeks and months?

I bumped up against this when documenting the install process for bbl+my concourse-deployment manifest. Particular. When you are using a file based secret store you kind of rely on the fact that
I documented my experience here:
https://github.com/cloudfoundry/bosh-bootloader/blob/master/docs/concourse-gcp.md
I don't necessarily think this has to be in the credhub CLI: If I could use BOSH interpolate commands to fetch data out of the deployment, I'd be open to that. The main things that attract me to this suggestion are 1) an interface that is easy for me to discover the name of the field I'm looking for when I might not exactly know it by heart (I just knew it had "admin" and "password" so credhub -f | grep would help)  2) output that is pipe-able to make one-liners possible for my documentation

I'd love to see this.  Coming from Vault, I found the credhub find output to be super noisy and hard to read.  @evanfarrar's proposed find output is so much easier to grok.

Closing this in favor of https://github.com/cloudfoundry-incubator/credhub-cli/issues/3, which we will do.


Feature request: Advanced masking (e.g. 0 < pd.Series(x) < 1)

Can there be a way to to do masking that is dependent on more than one boolean?

0 < pd.Series(x) < 1
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-132-06fa1595460a> in <module>()
----> 1 0 < pd.Series(x) < 1

/Users/jespinoz/anaconda/lib/python3.5/site-packages/pandas/core/generic.py in __nonzero__(self)
    890         raise ValueError("The truth value of a {0} is ambiguous. "
    891                          "Use a.empty, a.bool(), a.item(), a.any() or a.all()."
--> 892                          .format(self.__class__.__name__))
    893
    894     __bool__ = __nonzero__

ValueError: The truth value of a Series is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all().

My solution for it is:

As far as I understand, this is impossible due python syntax limitations.
0 < x < 1 is just syntactic sugar for x > 0 and x < 1.  The behavior of and is not overridable, which is in part why pandas and numpy use the bitwise and (&) for masks.

The way to write this would be (pd.Series(x) > 0) & (pd.Series(x) < 1)

The pandas dialect add this extension (and use of and) within .query
see docs here
In [7]: df = pd.DataFrame({'A' : [0, 1, 2]})

In [8]: df
Out[8]:
   A
0  0
1  1
2  2

In [9]: df[(df.A > 0) & (df.A < 2)]
Out[9]:
   A
1  1

In [10]: df.query('0 < A < 2')
Out[10]:
   A
1  1

In [11]: df.query('0 < A & A < 2')
Out[11]:
   A
1  1

In [12]: df.query('0 < A and A < 2')
Out[12]:
   A
1  1

Thanks guys, sorry I didn't know that was already a functionality.  I also didn't know you could use & as well.


I want to delete all history command, but it does not work

I also delete history files, such as
history -c
rm ~/.zsh_history
rm ~/.bash_history

and restart my iterm2, but when I press tab afterssh admin@, the history command come again, amazing, I want to delete all command history, but it appears always when I press tab

That is not history, it's normal autocompletion. After you've deleted your history and reloading the session, you should see that if you run history there are no commands logged.

@mcornella the autocompletion is based on the history command, and if I delete all history command, why the autocompletion can load the history command, and what should I do can completely delete autocompletion history command?

Is there a way that I can delete autocompletion history command from oh-my-zsh?

this is my plugins
plugins=(
  git extract autojump zsh-autosuggestions
)

It seems that zsh-autosuggestions is the culprit, but they use the command history, so history -c should get rid of the suggestions. Make sure to have all terminal windows closed except one before running history -c, then close it and on the next session you shouldn't see any suggestions.


UI: open docs in a new tab

I think a path to accomplishing this would be to change how the markdown is rendered in JsonForm:

Yes, I added a wrapper element of Markdown to do this


[BUG] DeviceUpdateClient API listUpdates() does not catch 403 Http response

Describe the bug
DeviceUpdateClient API listUpdates() does not catch 403 Http response when received.  The http response is returned as the API response instead of an exception. It is expected that the exception is thrown when a error response is received from the server(service).
Exception or Stack Trace
response received:
{"az.sdk.message":"HTTP response","contentLength":"327","statusCode":403,"url":"https://xxxxx.microsoft.com/deviceUpdate/yyyyy/updates?api-version=2022-10-01","durationMs":13,"body":"{"error":{"code":"someerror","message":"some error message related to network access permission. ....................... "}}"}
To Reproduce
Steps to reproduce the behavior:
call the API listUpdates() with server sending 403 error
Expected behavior
A clear and concise description of what you expected to happen.
It is expected that an exception is thrown in case of an error response from the server.
Setup (please complete the following information):

Library/Libraries:com.azure: azure-iot-deviceupdate:1.0.4
Java version: [8]
App Server/Environment: App Service
Frameworks: Ktor

Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[X ] Bug Description Added
[X ] Repro Steps Added
[X ] Setup information Added

@mario-guerra could you please assist in routing this to the service team?

@joshfree, @ronniegeraghty is the PM for IoT, reassigning accordingly.

@ranjith-t Could you please provide a code sample to repro this issue? I tried this with the latest version of azure-iot-deviceupdate (1.0.18) and the request failed with an exception, as expected, when the status code was 403. Also, I noticed that the version used is 1.0.4. Can you please try upgrading to 1.0.18 and check if this issue still exists?
 DeviceUpdateClient client = new DeviceUpdateClientBuilder()
      .endpoint(Configuration.getGlobalConfiguration().get("AZURE_ACCOUNT_ENDPOINT"))
      .instanceId(Configuration.getGlobalConfiguration().get("AZURE_INSTANCE_ID"))
      .credential(new DefaultAzureCredentialBuilder().build())
      .httpLogOptions(new HttpLogOptions().setLogLevel(HttpLogDetailLevel.BASIC))
      .buildClient();
  PagedIterable<BinaryData> binaryData = client.listUpdates(new RequestOptions());
  binaryData.stream().forEach(binaryData1 -> System.out.println(binaryData1.toString()));

Here's the response log:
[main] INFO com.azure.iot.deviceupdate.implementation.DeviceUpdatesImpl$DeviceUpdatesService.listUpdatesSync - {"az.sdk.message":"HTTP response","statusCode":403,"url":"https://<redacted>/deviceUpdate/<redacted>/updates?api-version=2022-10-01","durationMs":980,"content-length":0,"content-length":0}

Exception in thread "main" com.azure.core.exception.HttpResponseException: Status code 403, (empty body)
	at com.azure.core.implementation.http.rest.RestProxyBase.instantiateUnexpectedException(RestProxyBase.java:389)
	at com.azure.core.implementation.http.rest.SyncRestProxy.ensureExpectedStatus(SyncRestProxy.java:128)
	at com.azure.core.implementation.http.rest.SyncRestProxy.handleRestReturnType(SyncRestProxy.java:210)
	at com.azure.core.implementation.http.rest.SyncRestProxy.invoke(SyncRestProxy.java:86)
	at com.azure.core.implementation.http.rest.RestProxyBase.invoke(RestProxyBase.java:125)
	at com.azure.core.http.rest.RestProxy.invoke(RestProxy.java:97)
	at jdk.proxy2/jdk.proxy2.$Proxy3.listUpdatesSync(Unknown Source)
	at com.azure.iot.deviceupdate.implementation.DeviceUpdatesImpl.listUpdatesSinglePage(DeviceUpdatesImpl.java:1014)
	at com.azure.iot.deviceupdate.implementation.DeviceUpdatesImpl.lambda$listUpdates$4(DeviceUpdatesImpl.java:1104)
	at com.azure.core.http.rest.PagedIterable.lambda$new$1(PagedIterable.java:166)
	at com.azure.core.util.paging.ContinuablePagedByIteratorBase.requestPage(ContinuablePagedByIteratorBase.java:104)
	at com.azure.core.util.paging.ContinuablePagedByItemIterable$ContinuablePagedByItemIterator.<init>(ContinuablePagedByItemIterable.java:83)
	at com.azure.core.util.paging.ContinuablePagedByItemIterable.iterator(ContinuablePagedByItemIterable.java:58)
	at java.base/java.lang.Iterable.spliterator(Iterable.java:101)
	at com.azure.core.util.paging.ContinuablePagedIterable.stream(ContinuablePagedIterable.java:85)
	at com.azure.iot.deviceupdate.ListUpdatesSample.main(ListUpdatesSample.java:31)

Upgrade to this version:
<!-- https://mvnrepository.com/artifact/com.azure/azure-iot-deviceupdate -->
<dependency>
    <groupId>com.azure</groupId>
    <artifactId>azure-iot-deviceupdate</artifactId>
    <version>1.0.18</version>
</dependency>


More kubeadm docs

Link from "getting started" to full reference docs
Document how to do "one phase" automation of kubeadm
Document kubeadm env variables.

This change is

I'm going on a journey to London the rest of the week, so can't review it
Reassigning to @errordeveloper
Also cc @kubernetes/sig-cluster-lifecycle

PTAL

Docs LGTM. Waiting on tech review.

Can someone from @kubernetes/sig-cluster-lifecycle give this a review and I can merge it in?

Docs LGTM.

@pires -- can you say "Tech Review LGTM"?

Tech Review LGTM

LGTM, but I can't merge it; it needs a rebase unfortunately

Rebased.  PTAL

Merging then based on earlier LGTMs


PlutusV3 cost model update with 299 items stripped to 251

Description
When submitting cost model update where PlutusV3 cost model has 299 entries (this will be the case in Conway protocol version 10) and the cost model is map (not list), some of the items are stripped.
When printing out the proposal using gov-state, the PlutusV3 is a list of 251 items.
When providing the PlutusV3 cost model items as list, the proposal has correctly 299 items.
Steps to Reproduce

cardano-cli conway governance action create-protocol-parameters-update --testnet --governance-action-deposit 100000000 --deposit-return-stake-verification-key-file test_update_cost_models_addr0_stake.vkey --anchor-url "http://www.pparam-action-dqdd.com" --anchor-data-hash d03fbf098c734ad9671d9b48aec2063b4ba472fd59be8e39102c28fd2f1c848b --cost-model-file cost_models_pv10.json --out-file test_update_cost_models_pparams_update.action

cardano-cli conway transaction build --tx-in "4bdfbea9010a99a1638484cd6b2dfb7a3ccacf89d0ca64113e9756cc94b498ff#0" --proposal-file test_update_cost_models_pparams_update.action --change-address addr_test1qpfpxjqe4568tgyuyfww0utyzqc64pqulp6agaqrugc8pk2hx7an3xfrhlkwwl83lnv0fnm3h6lvztmyhwykt93n9llslgr8wd --witness-override 1 --out-file test_update_cost_models_ci0_iuf_action_tx.body --testnet-magic 42

Additional Context
Tested with cardano node rev 9671e7b6a1b91f5a530722937949b86deafaad43
Cost model, action and transaction: issue_cost_model_stripped.tar.gz

The bug can also be witnessed without doing step 2, thanks to conway governance action view as follows:
> cabal run cardano-cli -- conway governance action view --action-file test_update_cost_models_pparams_update.action --output-json --out-file test_update_cost_models_pparams_update.action.view
> cat test_update_cost_models_pparams_update.action.view | jq '."governance action"."contents".[1]."costModels".PlutusV3 | length'
251

cc @CarlosLopezDeLara

Without too much surprise, this has to do with deserialization of the cost models file. At this point here:
https://github.com/IntersectMBO/cardano-cli/blob/31212c8bf6512b839bdeaf6f7a3784e5fb46f9ea/cardano-cli/src/Cardano/CLI/EraBased/Run/Governance/Actions.hs#L391
The size of the PlutusV3 model is 251, as witnessed when debugging like this:
      Just (Cmd.CostModelsFile alonzoOnwards costModelsFile) -> do
        liftIO $ putStrLn $ "Reading cost models from: " <> unFile costModelsFile
        costModels :: L.CostModels <-
          firstExceptT GovernanceActionsCmdCostModelsError $
            readCostModels costModelsFile
        let x = Map.size $ L.costModelToMap $ snd ((Map.toList $ L.costModelsValid costModels) !! 2)
        liftIO $ putStrLn $ "PlutusV3 cost models size:" <> show x
        pure . addCostModelsToEraBasedProtocolParametersUpdate alonzoOnwards costModels $
          uppNewPParams eraBasedPParams'

New V3 primitves were added in plutus-1.35 which is not integrated in cardano-cli yet. cardano-api-9.3 uses plutus-core-1.32

We should do cost model input validation: https://github.com/IntersectMBO/cardano-cli/issues/928

Resolved by https://github.com/IntersectMBO/cardano-cli/pull/949


Error when loading TFLite model on Android with GPU Delegate

1. System information

OS Platform and Distribution: TFLite conversion on Windows 10 and run models on Android 13
TensorFlow installation: pip package
TensorFlow library: 2.14.0

2. Code
I understand the importance of providing a reproducible code for better troubleshooting. Given the size and complexity of the model, I'm unable to provide a simplified version immediately. However, I am actively working on preparing one to help diagnose the issue more effectively.
In the meantime, if there are any insights, workarounds, how to debug, or known issues that you can infer from the error message I've shared below, it would be immensely helpful.
3. Failure after conversion
Model produces correct results on my PC, but an error occurs when tyring to load it on an Android device.
Any insights or solutions would be greatly appreciated. I'd like to know if there's something I'm missing or if this is a known issue.
5.  Any other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.
I'm currently trying to run a TFLite model on an Android mobile device using the GPU Delegate. While the converted TFLite model works perfectly on my PC, I encounter an error when trying to load it on the mobile device. Here's the error message I received:
Internal error: Failed to apply delegate: Failed to build program executable - Build program failure<source>:69:103: error: expected expression
{half4 second_value = read_imageh(src_tensor_1_image2d, smp_zero, (int2)(((0) * shared_int4_0.w + (())), ((0) * shared_int4_1.x + ((Z)))));
                                                                                ^
error: Compiler frontend failed (error code 63)
Falling back to OpenGL

TfLiteGpuDelegate Init: Batch size mismatch, exp
        at org.tensorflow.lite.NativeInterpreterWrapper.createInterpreter(Native Method)
        at org.tensorflow.lite.NativeInterpreterWrapper.init(NativeInterpreterWrapper.java:110)
  	at org.tensorflow.lite.NativeInterpreterWrapper.<init>(NativeInterpreterWrapper.java:73)
  	at org.tensorflow.lite.NativeInterpreterWrapperExperimental.<init>(NativeInterpreterWrapperExperimental.java:36)
  	at org.tensorflow.lite.Interpreter.<init>(Interpreter.java:232)
  	at com.XXX.ModelHelper.loadModelFromStorage(ModelHelper.kt:171)

While there's no issue loading with TFLite CPU, I encounter the following error during execution. What's weird is that even though I'm feeding the same size of data on both PC and mobile, this error only appears on the mobile.
Shutting down VM
FATAL EXCEPTION: main
Process: com.XXX, PID: 8445
java.lang.IllegalStateException: Internal error: Unexpected failure when preparing tensor allocations: tensorflow/lite/kernels/reshape.cc:92 num_input_elements != num_output_elements (81920 != 1310720)
Node number 995 (RESHAPE) failed to prepare.
	at org.tensorflow.lite.NativeInterpreterWrapper.allocateTensors(Native Method)
	at org.tensorflow.lite.NativeInterpreterWrapper.allocateTensorsIfNeeded(NativeInterpreterWrapper.java:308)
	at org.tensorflow.lite.NativeInterpreterWrapper.run(NativeInterpreterWrapper.java:248)
	at org.tensorflow.lite.InterpreterImpl.runForMultipleInputsOutputs(InterpreterImpl.java:101)
	at org.tensorflow.lite.Interpreter.runForMultipleInputsOutputs(Interpreter.java:95)
	at com.XXX.ModelHelper.runModel(ModelHelper.kt:316)

I have confirmed that the same error occurs on at least two different Android devices (Pixel 7 Pro and Galaxy S20 Exynos).
Thank you for your understanding and assistance. I truly appreciate any guidance you can provide.

Hi @mitsunami
It is hard to say from the error log, I can guess that there is a problem with the input data being passed with android. Please check the input tensor shapes and resize before during inference accordingly. Also, you need to see of the data chunk being passed is of 81920.
Another possibility is if the loaded model in TFLite does not have any defined batch size, converter will take the batch size as 1, and when you evaluate it with the different batch size, you are likely to end up with the problem which you are facing.
Thanks.

Hi @pjpratik
Thank you for your reply, and sorry for my late reply.
I've prepared a reproducible code for the error. Could you please check it out please?
https://colab.research.google.com/gist/mitsunami/fa5cacac520bde7d446441155bbb7479/tensorflow-lite-debugger-colab.ipynb
When you run the code in the above Colab notebook, a TFLite model will be generated. As mentioned, the model can be executed correctly on Colab. However, when trying to load this model on Android with the GPU Delegate option, an error occurs.
To reproduce this, please follow the steps below:

Unzip the Android project ZIP file in the link: https://drive.google.com/file/d/1CvB8NemWQzaY0AaWcQEh1Y-3BeHN2uiS/view?usp=sharing
Copy the TFLite file you generated earlier to the path android_repro\app\src\main\assets.
Build the project using Android Studio, install it on the device, and run it. (This app is a slightly modified version of the StyleTransfer app from tensorflow/examples, designed to reproduce the error.)
After running the app, when you change the Delegate to GPU  and click the Run button, you should be able to see the error message in Android Studio's Logcat.

If you have any questions about the reproduction steps, please let me know.
Regarding the data size you pointed out, I have confirmed that the batch size is fixed to 1 during TFLite conversion. Also, since it's an error during model loading, the input data size should not be an issue here.
Thanks for your support.

Hi @pjpratik
I've sent a reproducible code for the error that I'm facing. If you could check it and provide an update, that would be great.
Thank you!

Hi @mitsunami, I'm looking into this but in the mean time you might want to check if you do any broadcasting in your model, the GPU delegate generally does not handle this case very well currently ex: https://github.com/tensorflow/tensorflow/issues/60043 .

Hi @mitsunami, I was able to run your project on CPU, I tried to change the project to run on GPU by changing MainViewModel:31 from 0 to 1 (which is the constant for the GPU DELEGATE), that didn't seem to reproduce your issue. Can you explain to me how you

change the Delegate to GPU

So that I know we are doing the same thing. Thanks.

Hi @pkgoogle,
Thanks for looking into this.
Please do the following to change the Delegate to GPU:
When the application is launched, the camera is activated. After taking a picture, the attached screen will appear, where you can change the Delegate field circled in red to GPU. Then press the RUN button below.
Please let me know if you any questions. Thanks.

Please note that the app is just a modified version of the existing StyleTransfer app for the purpose of loading the model in question. So if you press RUN, the app itself will work fine, and you should see the error that occurs when loading the model on Logcat in Android Studio. That is the issue I would like you to see.
Thank you.

Got it, I did that and did not run into your same issue, I got some errors but they seem unrelated:

TFLiteXNNPackDelegate seems to be used though, maybe something related to me using an emulator. Can you let me know what API level you are using for your pixel 7 Pro?

I haven't tried it with an emulator, but it might be related to it. I'm away from my PC right now, but I'll check with an emulator on my end later to see if it's same as you.
The API level I'm using should be 33.
Thanks.

Hi @pkgoogle,
I tried with an emulator, but it doesn't reproduce the error. Please use some physical devices. I confirmed that at least the issues occurs with the two phones I've tried (Pixel 7 Pro and Galaxy S21 Exynos).
Thanks.

Hi @arfaian, can you please take a look? Thanks.

Hi @arfaian, do you have any updates on this? If you could help on this, that would be great. Thanks.

I also have same issue here

I also experienced the same issue here.

Same here


add usb hub to each vm

I am working on a project where we need to forward devices into the qemu guest OS. ARM guests already get a USB hub, unfortunately, x86 doesn't. It would be great to add to each x86 vm an xhci usb hub as well. (All other usb related work can then happen through qmp/hmp (at some point it might be cool to have an easy way to find the path of the colima qmp socket, but for now we can just build the path on our own).

@aluedeke Do you have any information on how to use usb forwarding in a qemu guest in lima (qemu 7.0)? Apologies to all if this isn't the best place to ask, and thanks!

@djhardrich checkout https://gist.github.com/aluedeke/37a74364700296d4540d51d937f1b3d9 and let me know if that helps


RuntimeException: Mod qfapi-7.0.6_qsl-6.0.4_fapi-0.85.0_mc-1.20.1.jar" has an invalid quilt.mod.json file!

Yes, so i got the issue that this file got an error by opening with the new Modrinth Launcher. What should i do? I tried downgrading the mod and it doesn't worked either.
stdout.log

Make sure you are using the latest version of quilt loader. I believe you  need 0.19.2 or higher.

I mean i used 1.20 and i tried all quilt versions of it

That's quilt loader 0.17.9. Please update the loader by reinstalling quilt from the installer

it worked in the minecraft and curseforge launcher

bruh, it really needed to be on the newest version, but thx


Activation rollback support

Hopefully never needed, but would be good to support a command to trigger a rollback to a previous version on the Akamai platform, should the worst happen.
At present, the [activate] command will activate the local code to staging | production only. What if a site change has leaked out and needs rolling back quickly? The only way I see this being managed currently is either via native API call or via the UI?

This would be awesome. This would help us finalize our pipelines for Akamai as Code.


Codeforces Scraper

Describe the solution you'd like
is a useful website for beginners to practice DSA problems with varying difficulty. This python script will cover the extraction of required problem statements and their related info and storing them in a PDF file.
I am GSSOC21 participant @kaustubhgupta @avinashkranjan

@iamakkkhil assigned to you. Make sure to implement your findings in the same way as https://github.com/avinashkranjan/Amazing-Python-Scripts/tree/master/Codechef Scrapper but don't copy-paste the whole code like https://github.com/avinashkranjan/Amazing-Python-Scripts/pull/833.


backgroundColor in bottomsheet not working...

I would like ot change the bottom sheet background color an is not working
<BottomSheet isOpen animationDuration={100} style={{backgroundColor:"blue"}}>          <Slider style={{width: "100%", height: 20}} minimumValue={1} maximumValue={100} value={20}  minimumTrackTintColor="green" maximumTrackTintColor="green" thumbTintColor="green"/>          </BottomSheet>

Hi @Lucstay11, you should use wrapperStyle or outerContentStyle or innerContentStyle instead of style based on your needs

Okay and I tried to add a webView but it is not displayed... Have you already tried??

I've never tried to display a webview within the bottom sheet; have you tried to force the width and the height of the webview by setting them through props?

Yes i do this
<View  style={{ flex: 1}}>      <WebView source={{ uri: "https://google.com" }}            javaScriptEnabled={true}           startInLoadingState={true}           injectedJavaScript={jsCode}           />      </View>
but he doesn't work...
I used your project because it is simpler to set up than that of BottomSheet from "@gorhom/bottom-sheet"
(everything worked well with it but not the slide and gesture movements) so I tried yours and it's cool but the webView doesn't work. Can you try your odds please?

Hi @Lucstay11,
have you tried to force te height of the View that wraps the BottomSheet component?
With the following code I see the webview:
import { useRef } from 'react';
import { Text, TouchableOpacity, View } from 'react-native';
import BottomSheet from 'react-native-simple-bottom-sheet'
import WebView from 'react-native-webview';

export default function App() {
  const ref = useRef();

  return (
    <View style={{ backgroundColor: '#dedede', flex: 1 }}>
      <TouchableOpacity
        style={{ marginTop: 50, alignSelf: 'center', padding: 10, backgroundColor: 'green', borderRadius: 10 }}
        onPress={() => ref.current.togglePanel()}
      >
        <Text style={{ color: 'white' }}>Toggle</Text>
      </TouchableOpacity>
      <BottomSheet ref={ref}>
        <View style={{height: 500}}>
          <WebView
            source={{ uri: "https://google.com" }}
            javaScriptEnabled={true}
            startInLoadingState={true}
          />
        </View>
      </BottomSheet>
    </View>
  );
}

https://github.com/StefanoMartella/react-native-simple-bottom-sheet/assets/29805626/a24a4215-b7bb-4306-8b23-444d5609429c

Yes it works now but the webView does not want to put it in flex1 (in 100% width) and I noticed that your bottom sheet is not scrollable for opening/closing it closes directly! (Can you add this scrollable effect like the 1st one in the video)
The first in the video comes from @gorhom/bottom-sheet it is perfect but prevents the gesture and the scrollview!
<BottomSheet ref={ref} isOpen>         <View style={{ height:1000,flex:1}}>         <Weather/>         </View>       </BottomSheet>
https://github.com/StefanoMartella/react-native-simple-bottom-sheet/assets/89875785/fadacab7-895c-404f-9dba-01b31b78bf0f

To make the content to take the whole width you need to remove the paddingHorizontal from the wrapper:

<BottomSheet wrapperStyle={{ paddingHorizontal: 0 }} />

Unfortunately I have no time to add the animation; feel free to contribute to the project 😄


Swagger tag

Hi!
I noticed that tagging the routes does not help sorting them in the UI.
When I describe a swagger spec by hand and I tag them it allow me to group the routes by hand through the tags.

Sorry its taken me a little while to get back to you. Its already in the project, I just forgot to add it to the update readme. There is an example in the project itself https://github.com/glennjones/hapi-swagger/blob/master/bin/test-server.js
Grouping endpoints with tags
Swagger provides a tag object which allows you to group your endpoints in the swagger-ui interface. The name of the tag needs to match path of your endpoints, so in the example below all endpoints with the path /store and /sum will be group together.
let swaggerOptions = {
    info: {
        'title': 'Test API Documentation',
        'version': Pack.version,
    },
    tags: [{
        'name': 'store',
        'description': 'Storing a sum',
        'externalDocs': {
            'description': 'Find out more about storage',
            'url': 'http://example.org'
        }
    }, {
        'name': 'sum',
        'description': 'API of sums',
        'externalDocs': {
            'description': 'Find out more about sums',
            'url': 'http://example.org'
        }
    }]
};

Hope that helps. I will update the readme in the next release a couple of days from now.

That's what i thought.
In the other implementations that i've seen the tags described on the routes are used directly. Allowing you to force the tag of a route instead of using a default value extracted of the route.
I would have liked to use this as some routes don't share the same route but have a common topic on my API.


fix: Close capture session before reconfiguring outputs

What
Not closing capture session before reconfiguring outputs triggers TOO_MANY_OPEN_CAMERAS error on Android when navigating from a screen to another one with different cameras.
This PR is an attempt to fix this. (And closes previous attempt #2157)

Changes

This PR makes a call to captureSession.close during CameraSession.configureOutputs
Tested on

This issue is an Android only one, tested on Pixel 5, Android 14. Using this repro repo: https://github.com/xseignard/black-screen
Related issues

Fixes #2378
Fixes #2240
Fixes #1958
Closes #2157

@mrousavy thanks for your answer, can you try with my repro repo, I'm pretty sur you'll end up with TOO_MANY_OPEN_CAMERAS

Hey - sorry for the radio silence here, but I think this is now obsolete with VisionCamera V4 :)


and, or; allow multiple data arguments

sometimes I like to use these with two arguments. Right now I have to do this.
const isTraversable = (a, b) => or([
  ([a, b]) => is(Array)(a) && is(Array)(b),
  ([a, b]) => is(Object)(a) && is(Object)(b),
])([a, b])

Would like this
const isTraversable = or([
  ([a, b]) => is(Array)(a) && is(Array)(b),
  ([a, b]) => is(Object)(a) && is(Object)(b),
])

At the moment the performance tradeoff of allowing multiple arguments is too much for me to like this idea.

done with https://github.com/a-synchronous/rubico/pull/240


Patient contact clinical site

(This is an extension of issue #5 )
Implement the feature for patients to contact a clinical site when viewing a match result (with a positive match) or answering a pre-screener for a single trial that matched.

Email from: 14th September 2021 17:54

Meanwhile, I re-send below one blocking question to develop F-6-4 (Clinical Sites need to access patient enrollment status).
(Short version: If all the contact between the patient and the clinical site goes through the patient-ssapp, then we have to develop those 2-way "messaging features" from scratch. If the patient supplies an email or phone for clinical site contact, then the patient is no longer anonymous - from that point on. ... But I guess that this last option is unavoidable).

Meeting 2021-09-21:

PDM will implement an extra dialog on contacting the clinical site to ask the patient to confirm the name and email for contact purposes.

The "My Patients" backoffice view (from the Clinical Site app) will not be implemented:

because that would imply that the identity of the patient is established across multiple-trials, and contradicts the "de-identified patient" requirement.
So far each patient application has only a name and email (and possibly phone), and there is no patient identity concept on the database.

ctr-patient/patient-ssapp changes:
Controllers ClinicalTrialAns60InfoController, MatchInfo20Controller, MatchRequestNew60InfoController: When there is a match enable (display) the "CONTACT CLINICAL SITE" button, and handle it.
The button handled should display a modal asking for:
Name: ... filled with the default participant name
Email: ... filled with the default participant email
I authorise the clinical site to use this data (along with my pre-screener answers) for trial contact purposes.
CONTACT

When the "CONTACT" button is pressed, it must call the middleware /ctr-match-service/trialFind using a new method in ctr-patient/ctr-dsu-wizard/services/MatchRequestService.js "apply(data, callback(err))". See REST parameters for data contents.
(It may not be a modal, but at this time seems that a model might be easier to write).
ctr-patient/ctr-dsu-wizard/middleware changes:
Associate a new localhost endpoint /ctr-match-service/apply to call REST /borest/ctrms/apply
ctr-backoffice-backend changes:
POST /borest/ctrms/apply - create a new Application record. The body must contain:
{
    name: "string",
    email: "string",
    matchRequest: "const keySSI string",
    clinicalSite: "UUID string",
    clinicalTrial: "UUID string"
}

GET /borest/ctrial/application?clinicalTrial=UUID - return a paged list of applications for this trial. Use the same paged parameters as in GET /borest/ctrial/clinicaltrial

@pccosta-pdm the name is "undefined undefined"

(also the name and email are supposed to be editable, but for the moment, we may consider leaving this from the target for next tuesday morning).

@pccosta-pdm
the implementation at MatchInfo20Controller.js seems broken.

@pccosta-pdm another error candidate (might not be an error)

contact-clinical-site-button.patientIdentity newValue=  error= SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at ContactClinicalSiteButton.watchPatientIdentity (contact-clinical-site-button.entry.js:31)
    at index-7c719aff.js:1839
    at Array.map (<anonymous>)
    ...

@joaoluis-pdm, issues fixed.
on

contact-clinical-site-button.patientIdentity newValue=  error= SyntaxError: Unexpected end of JSON input
at JSON.parse ()
at ContactClinicalSiteButton.watchPatientIdentity (contact-clinical-site-button.entry.js:31)
at index-7c719aff.js:1839
at Array.map ()
...

it's not a "error" (it's because on the application initialization the initial value is "undefined"), however I put a condition to show the message when the property is set intentionally.

Seems all fixed!

@pccosta-pdm
The "CONTACT CLINICAL SITE" seems to allow contact even if there is no match. That seems a defect.

... as the spec says

When there is a match enable (display) the "CONTACT CLINICAL SITE" button, and handle it.

@pccosta-pdm the check for double-contact  should be done using an internal database that also appears on the dashboard:

Meeting 2021-09-28:
"My Application" -> "My Referrals"

@pccosta-pdm commit d90a0c9 seems to work. Review complete. Thanx!

Multi-site changes handled within #14.
Available on v0.10.3

Meeting 2021-09-28 CTR Weekly: Ask for phone number.

Patient phone number must be filled manually, as it is not part of the patient wallet information.

From the weekly business meetings, there is a request to add a "status" attribute
Adding a "status" attribute will raise the need to define a workflow (what are the possible statuses, and what can be done at each status).
To avoid that, the tech team simply counter-proposes the export of this data to CSV, and let the application processing workflow be external to the software.

Using https://www.npmjs.com/package/mat-table-exporter

Meeting 2022-01-04
On the Clinical Site App, rename wording of "Application" -> to "Referrals".

Meeting 2022-01-04
The Export-to-CSV needs to export the whole table, not only the visible results,  so
b284c85
should do that.


Fixed container creation

This patch corrects the containers (hpx::vector and hpx::unordered_map) to use the new distribution policies to allocate their partitions.

This also fixes #1309: hpx::vector partitions are not easily extendable by applications

@heller: I addressed your comments above


updated toggldesktop (7.3.197)

Thank you for the contribution. It was merged directly as e865324f56f8f2d4b282c13399af5afbee6cd5bd to keep commit history cleaner. Your contribution is still credited to you.


Invalid API Key

I just created an API key on coinbase pro and i'm trying to make simple calls against coinbase pro's sandbox and I keep getting a 400 with "invalid API Key"
Should the key I create on coinbase pro also work against the sandbox api?
Can you provide anymore debug info as to why my key is invalid?
I'm using version 0.8.0 of gdax-node
'use strict'

const Gdax = require('gdax');
const api = 'https://api.pro.coinbase.com'
const sandbox = 'https://api-public.sandbox.pro.coinbase.com'
const KEY = process.env.coinbase_key
const SECRET = process.env.coinbase_secret
const PASSPHRASE = process.env.coinbase_passphrase
// const publicClient = new Gdax.PublicClient()
console.log('key = ', KEY)
console.log('secret = ', SECRET)
console.log('passphrase = ', PASSPHRASE)
const client = new Gdax.AuthenticatedClient(KEY, SECRET, PASSPHRASE, sandbox) // TODO Change this to run against prod

setInterval(start, 1000)

function start () {
  getTickerBook()
  getCoinbaseAccounts()
}

/**
 * Gets book info for ETC-USD
 * @return {Promise} [description]
 */
function getTickerBook () {
  client.getProductTicker('ETC-USD')
    .then(results => {
      console.log('results = ', results)
    })
    .catch(err => {
      console.log('err = ', err)
    })
}

function getCoinbaseAccounts () {
  client.getCoinbaseAccounts()
    .then(results => {
      console.log('coinbase accounts = ', results)
    })
    .catch(err => {
      console.log('err = ', err)
    })
}

Error:
 { Error: HTTP 400 Error: Invalid API Key
    at Request._callback (/Users/tomcaflisch/Sites/crypto-algorithm/node_modules/gdax/lib/clients/public.js:68:15)
    at Request.self.callback (/Users/tomcaflisch/Sites/crypto-algorithm/node_modules/request/request.js:185:22)
    at Request.emit (events.js:180:13)
    at Request.<anonymous> (/Users/tomcaflisch/Sites/crypto-algorithm/node_modules/request/request.js:1161:10)
    at Request.emit (events.js:180:13)
    at IncomingMessage.<anonymous> (/Users/tomcaflisch/Sites/crypto-algorithm/node_modules/request/request.js:1083:12)
    at Object.onceWrapper (events.js:272:13)
    at IncomingMessage.emit (events.js:185:15)
    at endReadableNT (_stream_readable.js:1106:12)
    at process._tickCallback (internal/process/next_tick.js:178:19)
...

I found in the docs where it mentions that I need to create a sandbox api key for the sandbox explicitly


Multi-Terminal Drawer

Implement an inbuilt terminal with basic functionalities.
Showcase tech stack, redirection links, and enable website navigation via simple commands.
Incorporate keyboard commands for terminal start and termination.
Enable multiple terminal-like browser tabs for enhanced usability.

Not working on this currently


Python addition

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: notonamap sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Feature planning: first class Go support

This is a tracking item for First Class Go Support. We'll be tracking the requirements and issues for first class Go support via this item. Feel free to leave comments about features/design patterns.
Function format
TBD
Data Type formats
TBD
Version & Package management
TBD
Testing/CI
TBD
Change log

This issue was opened in response to feature request from one of our customers, see: https://twitter.com/as_w/status/856609059478360064

Hi @tohling ,
Can we change this to First class .exe support as there are many other compiled languages that can support this while still including go, rust c c++ etc. ?
The batch file isn't the biggest issue for exe support but yes it would help.
Fixing these would make my teams life a lot easier :)

We have to pull inputMessage and outputQueueItem coupled with the fact that we only have access to the body and not the headers.
Would it be possible to do this where we can receive the has the full HTTP request and define the full HTTP response also?

Calling the .exe directly with custom arguments instead of a run.bat would probably save a few ms and ram usage

Adding @davidebbo for his insights :)
This would greatly expand your current capabilities also for existing languages.
For example the user could have their own python exe (maybe 3.6)  and have that run their run.py yes they will pull the full http request and deliver the full response a little differently but it opens a lot more room to grow azure functions.
On completing of both of these requests it would be way easier to even refactor your current bindings for node, python etc using the above method internally.


SWARM-365: Added tests for the Generate mojo

Motivation:
This test reproduces the errors caused when you update to Keycloak 1.9.1.Final, as requested in SWARM-321.
It makes easier to debug and fix the issue.
Result:
The code that reproduces SWARM-365  is commented out so the build won't fail. Uncomment it and run the test to reproduce the issue.
@tobias @kenfinnigan @bobmcwhirter can you review this?

This strategy is too brittle. Trying using the maven-invoker-plugin as part of the integration test


Adding Redeem Code endpoint support

per #8
Turned out the redemption is almost identical with the status endpoint, was a bit of copy/paste with slight edits to get this in place.

Pull Request Test Coverage Report for Build 389749721

0 of 10 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-1.2%) to 88.442%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

entitlement_codes.go
0
10
0.0%

Totals

Change from base Build 388235288:
-1.2%

Covered Lines:
681

Relevant Lines:
770

💛  - Coveralls


Fix dynamic_stacking hanging with num_gpus>0

Issue #, if available:
Resolves #4196
Resolves #3870
Description of changes:

Fix dynamic_stacking hanging with num_gpus>0
Refer to the root cause here: https://docs.ray.io/en/latest/ray-core/tasks/nested-tasks.html#yielding-resources-while-blocked

TODO in follow-up PR:

[ ] Identify simpler logic for users to specify GPU resources.
[ ] Improve logging for GPU resource usage.
[ ] Support multi-GPU, ensure the correct GPU is used in each fold model.
[ ] XGBoost currently always uses GPU 1, figure out logic to specify which GPU to use.

Details:
Seems like nested ray jobs don't properly handle num_gpus.
For example:
sub_fit_caller = _ds_ray.remote(max_calls=1)(_sub_fit)
sub_fit_caller.options(num_cpus=num_cpus, num_gpus=1).remote(...)

Inside this _sub_fit call in ray, if we try to launch nested ray jobs, such as using num_gpus=1 to fit a fold model, it will deadlock.
This is because the parent call already reserved the num_gpus=1, and thus there are no more GPU resources available to launch the nested job that requires GPU resources, so it will wait for the parent call to finish and release the GPU resources before the child call starts, which never happens.
However, num_cpus doesn't work like this, and it appears as if the num_cpus value of the parent for some reason is fully ignored by child calls. The parent can have num_cpus=1 and the child can still run with num_cpus=16 without issue.
Output of ray status during dynamic stacking subfit deadlock (parent num_gpus=1, num_cpus=32):
Resources
---------------------------------------------------------------
Usage:
 0.0/32.0 CPU
 1.0/1.0 GPU
 0B/74.92GiB memory
 482.93KiB/36.10GiB object_store_memory

Demands:
 {'CPU': 16.0, 'GPU': 0.5}: 2+ pending tasks/actors

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Previous CI Run
Current CI Run

This is likely related: #3870

Previous CI Run
Current CI Run

nvidia-nvjitlink-cu12==12.4.127
nvidia-nvjitlink-cu12==12.5.40

nvidia-nvjitlink-cu12==12.4.127
nvidia-nvjitlink-cu12==12.5.40


Feature request: Mark email as read before deleting it

It would be usefull if a setting could exist which causes that a to delete email is marked as read before deleting it via the notification on the lock screen or home screen or via the context menu, so that this email does not appear as unread with in other email clients which accessing the same IMAP account.

That option is already available:

Settings
Global Settings
General
Delete marks as read

Duplicate of #591


BRO

Describe your bug here.
game crashes trying to open any menu tab and this appears

Command Prompt/Terminal logs (if existing)
Called from hxcpp::__hxcpp_main
Called from ApplicationMain::main ApplicationMain.hx line 25
Called from ApplicationMain::create ApplicationMain.hx line 130
Called from lime.app.Application::exec lime/app/Application.hx line 150
Called from lime._internal.backend.native.NativeApplication::exec lime/_internal/backend/native/NativeApplication.hx line 146
Called from lime._internal.backend.native.NativeApplication::handleRenderEvent lime/_internal/backend/native/NativeApplication.hx line 370
Called from lime.app._Event_lime_graphics_RenderContext_Void::dispatch lime/_internal/macros/EventMacro.hx line 91
Called from openfl.display.Stage::__onLimeRender openfl/display/Stage.hx line 1950
Called from openfl.display.Stage::__broadcastEvent openfl/display/Stage.hx line 1166
Called from openfl.display.DisplayObject::__dispatch openfl/display/DisplayObject.hx line 1399
Called from openfl.events.EventDispatcher::__dispatchEvent openfl/events/EventDispatcher.hx line 402
Called from flixel.FlxGame::onEnterFrame flixel/FlxGame.hx line 545
Called from flixel.FlxGame::step flixel/FlxGame.hx line 677
Called from flixel.FlxGame::update flixel/FlxGame.hx line 745
Called from flixel.util.FlxTimerManager::update flixel/util/FlxTimer.hx line 285
Called from flixel.util.FlxTimer::onLoopFinished flixel/util/FlxTimer.hx line 195
Called from flixel.effects.FlxFlicker::flickerProgress flixel/effects/FlxFlicker.hx line 171

Are you modding a build from source or with Lua?
Source
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
sound changes and 2 custom achievements, 4 custom credits playstate.hx titlestate.hx main.hx healthicon.hx  a LOT MORE

somehow fixed


in Clusterize.js how to use Dynamic rowspan ? (-_-)

preview

data json

I use rowspan with Clusterize.js, one of the few virtualization libraries it works as expected, but I am not understanding what the issue is.
For yxSignals[0] and yxSignalMessages[0] the rowspan should be infoSize, 107, and the cell content should be displayDeviceName, which looks like the JSON data without '5011', not sure if this is a unicode display issue or not.  What is the HTML of the rows being generated and what were you expecting?

sorry,i use google translate i'm in  china (^_^)  (excuse me)
hi,The final structure to be displayed like this:

rowspan is Dynamically generated based on the return value  (Rely on json's sum and)
in Clusterize.js how to use Dynamic rowspan?

@hevily Based on the preview screenshot and code from your first post, you are trying to calculate the rowspan of the third column.  Based on the response, you construct table rows and append them to an array.  I understand that part.  The part I do not understand is what is not working.  Is the rowspan not calculated correctly?  Is the table displaying in some strange way?  If nothing happens after appending the rows to the array, you probably need to update the Clusterize instance to trigger a redraw.
// Based on https://clusterize.js.org/#usage

// assuming you initialized Clusterize similar to the usage example
var arr = [];
var clusterize = new Clusterize({
  rows: arr,
  scrollId: 'scrollArea',
  contentId: 'contentArea'
});

// after pushing all of the rows, right before that `break;`, you would need something like
clusterize.update(arr);

This is all on a hunch though.  Can you provide a codepen.io or jsfiddle.net example?

demo  here:
http://codepen.io/netsos/pen/xdbrLe
hi, two item
1.scroll fast ,white screen scoll up down  up  down up down
2.some times   Column is not neat

@hevily Ahhhh.  TL;DR increase the rows_in_block setting to at largest rowspan.
Clusterize.js clusters rows to be rendered.  The rowspan is larger than the number rows in the block being displayed.  The default rows_in_block is 50.  If you have a rowspan that is 100 for example, after scrolling past the row 50, the row containing the rowspan is removed from the DOM and the browser becomes very confused.  In your codepen, I set the rows_in_block: 100 and it seems to work fine.  However, if the data changes where the rowspan will be greater than this, it will break again.  As far as I know, this setting cannot be updated after being initialized.

thks, i see(look) my demos to understand (row_in_blok) ^_^
thank you  very much  more .....


Getting the html of the currently active signature of the current user

Version (e.g. 1.0, dev-master): 1.0
PHP version: 7.0
Microsoft Exchange version: 2006
Description of problem:
Hi,
is it possible to get the HTML of MY currently active email signature (set in outlook exchange server).
I want the same email signature, i would get, if i write a new mail in my outlook, to be placed inside my custom Email-Editor-Field using php-ews.
Is this possible? Are there any examples?
I hope you understand my bad english?
Best regards
Daniel

You can use the examples/user/get-configuration.php
This works fine for me.

You can use the examples/user/get-configuration.php
This works fine for me.


enhancement: use ImmutableList explicitly in Plan

Proposed changes
Issue Number: close #xxx
Problem summary
Describe your changes.
Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[x] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[ ] No
[x] No Need

Has document been added or modified:

[ ] Yes
[ ] No
[x] No Need

Does it need to update dependencies:

[ ] Yes
[x] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[x] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 39.6 seconds
load time: 580 seconds
storage size:<PHONE_NUMBER>4 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20221031113739_clickbench_pr_36363.html


Windows 10 Phone Compatibility?

Editing on a Windows 10 mobile phone does not work. Pressing the delete key inserts a red circle symbol.
Even your own Demo page at https://simplemde.com/ does not work on a Windows 10 phone. Yes, I know, who uses Windows Phone anyway!

Don't have a Windows phone, so someone with this device would need to submit a PR that fixes this issue.

By the way, an emulator seems to be available.


upgrade go.mod to flux v2.0.0-rc.1

Fixes #3599

Testing

main + flux 2.0.0-rc.1
upgrade-flux-v2-rc.1 + flux 2.0.0-rc.1
upgrade-flux-v2-rc.1 + flux 0.41.2

main + flux 2.0.0-rc.1

Sources list / sync / suspend / resume
GitRepo details / reconciled objects / events / yaml / sync / suspend / resume
Applications list sync / suspend / resume
Kustomization details / events / graph / yaml / sync / suspend / resume

Conclusion: main is "compatible" with flux 2.0.0-rc.1 and shows v1 CRs in the UI etc fine
upgrade-flux-v2-rc.1 + flux 2.0.0-rc.1
In progress..

Notes: in the yaml view in the UI for gitrepo/kustomization the apiVersion is reported as v1beta2, so we might be querying that version still, rather than v1.

The code here seems to iterate over the available GVKs a bit randomly. https://github.com/weaveworks/weave-gitops/blob/2ab6561a1a42b08e8bd87bc67a54597c0d411da6/core/server/primarykinds.go#L21-L34
I get:
Added kind GitRepositoryList: source.toolkit.fluxcd.io/v1beta2, Kind=GitRepositoryList
Added kind GitRepository: source.toolkit.fluxcd.io/v1, Kind=GitRepository
Added kind GitRepository: source.toolkit.fluxcd.io/v1beta2, Kind=GitRepository
Added kind GitRepositoryList: source.toolkit.fluxcd.io/v1, Kind=GitRepositoryList

So GitRepositoryList would map to v1 and GitRepository would map to v1beta2 in the end. There is this idea of version priority but not sure if there is a helper around in client-go or something https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definition-versioning/#version-priority

Something like this seems to work better
	for _, gv := range scheme.PreferredVersionAllGroups() {
		for kind := range scheme.KnownTypes(gv) {
			gvk := schema.GroupVersionKind{
				Group:   gv.Group,
				Version: gv.Version,
				Kind:    kind,
			}
			kinds.kinds[kind] = gvk
			fmt.Printf("Added kind %+v: %+v\n", kind, gvk)
		}
	}

So our conclusion would be the next release, OSS will drop support for Flux2 v0.41.x. Would that be ok?

So our conclusion would be the next release, OSS will drop support for Flux2 v0.41.x. Would that be ok?

Great question!
So as it stands:

weave-gitops v0.22.0 / main + flux v0.41.2 works
weave-gitops v0.22.0 / main + flux v2.0.0-rc.1 works, it shows both v1 and v1beta2 GitRepositories and Kustomizations in the UI etc.
weave-gitops upgrade-flux-v2-rc.1 + flux v2.0.0-rc.1 works, it shows both v1 and v1beta2 GitRepositories and Kustomizations in the UI etc.
weave-gitops upgrade-flux-v2-rc.1 + flux v0.41.2 will show no matches for kind "GitRepository" in version "source.toolkit.fluxcd.io/v1 everywhere in the UI, requiring you to upgrade (rerun flux bootstrap) to v2.0.0-rc.1

Benefits of dropping support for v0.41.2 right now:

force users to upgrade their flux-runtime already.
?
Other benefits that come to mind?

I only recently understood the full compatibility matrix that we have here. So just double checking that we want to drop support for v0.41.2 now vs waiting for "GA final" etc, cc @JamWils

Note from testing we could include in migration guide:
You cannot get the "correct" apiVersion of a kustomization/gitrepo etc that is stored in git. k8s/our-code will dynamically replace it with whatever you request, so:

weave-gitops main: will always say apiVersion: v1beta1 in the yaml UI views, even if gitrepo.yaml in git says apiVersion: v1
weave-gitops upgrade-flux-v2-rc.1 will always say apiVersion: v1 in the yaml UI views, even if gitrepo.yaml in git says apiVersion: v1beta2

We decided to skip Flux v2.0.0-rc.1 and go with Flux v2.0.0-rc.2 when it's released.

Now upgraded to Flux v2.0.0-rc.2.

@chanwit can we close?


Tell image listeners if they are being called synchronously by the Im…

…ageStream
Image listeners installed in paint handlers need to know whether the listener
is being called during the paint.
Fixes https://github.com/flutter/flutter/issues/4937

@Hixie

@Hixie

This is great. Thanks for fixing this.

Can you add a test to make sure that the original bug is fixed? (#4937)

Added a test.  PTAL.


added step to choose stable or edge version in Cloud autobuilds

What's new

Added step to choose stable or edge version in Cloud autobuilds

Reviewers
@KickingTheTV
Signed-off-by: Victoria Bialas<EMAIL_ADDRESS>

LGTM


goldwarden: 0.2.7 -> 0.2.9

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for goldwarden is: A feature-packed Bitwarden compatible desktop integration
meta.homepage for goldwarden is: https://github.com/quexten/goldwarden
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.2.9 in filename of file in /nix/store/dvwb8bfx2sdk4y947rbikdr47h6pqpif-goldwarden-0.2.9

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
goldwarden

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/dvwb8bfx2sdk4y947rbikdr47h6pqpif-goldwarden-0.2.9 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A goldwarden https://github.com/r-ryantm/nixpkgs/archive/54bda945d515e6f8b77eabd04a63ea7420133824.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/54bda945d515e6f8b77eabd04a63ea7420133824#goldwarden

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/dvwb8bfx2sdk4y947rbikdr47h6pqpif-goldwarden-0.2.9
ls -la /nix/store/dvwb8bfx2sdk4y947rbikdr47h6pqpif-goldwarden-0.2.9/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

goldwarden

Maintainer pings
cc @arthsmn for testing.

@nixpkgs-merge-bot merge


Do you have a plan to support es5?

If you don't, can I PR?
🙏

No plans. You need to transpile with Babel yourself if you want to support ES5.


fix: Show in-progress spinner when creating VM

Issue: https://github.com/runfinch/finch/issues/157
Signed-off-by: Hari Ohm Prasth Rajagopal<EMAIL_ADDRESS>Issue #, if available:
#157
Description of changes:
Show spinner when VM creation is in progress
Testing done:
Ran local tests by building the code using make command and tested it by creating a new VM finch vm init command
INFO[0000] Initializing and starting Finch virtual machine...
⣾VM creation in progress

[x] I've reviewed the guidance in CONTRIBUTING.md

License Acceptance
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

WDYT

Thanks @davidhsingyuchen, I have taken care of the comments.
Regarding the progress: I looked into this code and seems like lima doesn't provide any async updates on the VM creation process. One option is to pipe the stdout from the creation progress to notify user that something is happening, but not sure whether thats the right thing to do. If you have any ideas let me know, happy to work on another PR. Thanks

Regarding the progress: I looked into this code and seems like lima doesn't provide any async updates on the VM creation process. One option is to pipe the stdout from the creation progress to notify user that something is happening, but not sure whether thats the right thing to do. If you have any ideas let me know, happy to work on another PR. Thanks

@hariohmprasath Thanks for the investigation. I think the current form is good enough. We may not want to pipe the stdout from the creation progress as we cannot really control what's being printed out there, and it's sort of implementation details. /cc @ningziwen


Cannot seem to pre-set viewOffset

Whenever I pass a pre-set viewOffset to <LogViewer />, like so:
<LogViewer
      log={log}
      mapboxApiAccessToken={MAPBOX_TOKEN}
      mapStyle={MAP_STYLE}
      car={CAR}
      xvizStyles={XVIZ_STYLE}
      showTooltip={settings.showTooltip}
      viewMode={VIEW_MODE[settings.viewMode]}
      viewOffset={{x: 1, y: 400, bearing: 1}}
/>

... the y setting is ignored until I drag the viewport, while bearing is picked up and reflected before I do anything.
This happens to me when running either apps in test/apps/viewer/ and examples/getting-started/.
All I can find to cause this, is the overwriting of offset.x and offset.y in core/src/utils/viewport.js :
https://github.com/uber/streetscape.gl/blob/6a3549eba1ff122fe2135c87d576ac4dbe6ee255/modules/core/src/utils/viewport.js#L117-L124
Streetscape.gl 1.0.0 - 1.0.2.

I've debugged the block of code I'm citing above and it's not the cause, in such that the offset.x and offset.y are retained past that block. A console.log reveals the values that I'm passing with viewOffset, yet the viewport only reflects offset on drag.

Fixed if I pass width and height properties with our initialViewState to match the viewport, e.g. window.innerHeight, window.innerWidth.

Fixed if I pass width and height properties with our initialViewState to match the viewport, e.g. window.innerHeight, window.innerWidth.

Thanks


Test Request: Kong Gateway EE version <IP_ADDRESS>-r1

What component needs testing with KIC?
Kong Gateway EE
Container image
kong/kong-gateway-dev:<IP_ADDRESS>-rc1
Additional information
No response

Seems not started. Since tomorrow would be end of this week and Christmas his around. Let's speed up.

Created an issue for flaky TestValidationWebhook/should_fail_the_validation_if_the_secret_in_ConfigPatches_of_KongClusterPlugin_generates_invalid_configuration: https://github.com/Kong/kubernetes-ingress-controller/issues/5375


support openresty xxx_by_lua_block syntax

https://github.com/openresty/lua-nginx-module
this is only a demo code and proposal about lexing the lua block, do you have any suggestions?

Hey @virusdefender  appreciate your contribution!
It seem that it will stop parsing at first closing curly bracket } in lua.
And tests does not do any assertion, can you please fix?

It seem that it will stop parsing at first closing curly bracket } in lua.

I updated the test case, it seems there is no problem.
This pr is only a workaround and it's used to show my idea to solve this problem.
It's not fully tested, maybe it should not be merged.
the full support is not easy, according to the openresty source code https://github.com/openresty/lua-nginx-module/blob/1c1bcfeb9276c6dfc9b038a6fa779e7e4b605bc9/src/ngx_http_lua_directive.c#L1344

@virusdefender any update with this?


Adding more subclasses of the energy unit

Description of the issue
The list of possible units for energy is not complete. Now we have the following units:

electronvolt
joule
kilowatt-hour
slug
watt-hour

I would use mostly PJ and TWh to annotate my result data. Let's include these or even more units in between.
Ideas of solution
We can use the definition of kilowatt-hour as a sample for similar classes:
An energy unit which is equal to 1,000 watt-hours.
Workflow checklist

[ ] I discussed the issue with someone else than me before working on a solution
[ ] I already read the latest version of the workflow for this repository
[ ] The goal of this ontology is clear to me

I am aware that

[ ] every entry in the ontology should have a definition
[ ] classes should arise from concepts rather than from words

If we decide to add those multiples of existing units, I suggest that we include the whole series of multiples:

kJ, MJ, GJ, TJ, PJ, EJ
MWh, GWh, TWh, PWh

@OpenEnergyPlatform/oeo-general-expert-formal-ontology : Any objections against adding those unit multiples?

Where would we add those additional energy classes? In the physical module as energy units are physical units?

Yes, sure. The existing classes are also already in the physical module.

No, they are not implemented in the physical module, but in the uo-import-module. But they show up in the physical module as they are imported there.

The physical module is a good place for these units. Adding multiples should also be no problem, since they are already included for other unit types, e.g. information unit.
I also like the idea to use the definition of kilowatt-hour An energy unit which is equal to 1,000 watt-hours. as a template for the other definitions. Additionally we could use the has_exact_synonym to include the abbreviations of units.

Okay, then I think we have a solution. @Vera-IER , will you implement?

Yes.


Dashboard left sidebar areas should expand to center

While the center is reserved for moving events, when clicking on "Datasets" or "Tool Contributions" or "Admin" in the left sidebar, this should expand a view of the selected item into the center (and remove the events there).
Ex:

[ ] /dashboard/admin
[ ] /dashboard/datasets
[ ] /dashboard/tools
[ ] /dashboard/publications
[ ] /dashboard/favorites/variables
[ ] /dashboard/favorites/tools
[ ] /dashboard/badges
[ ] /dashboard/dauas or /dashboard/submissions

Will be done in release focusing on dashboard improvements

The admin interface was overhauled in v38.


scroll to top

Add scroll to top button on every page that takes user directly to top.
@Aasthajain123 @avinashkranjan please assign this to me.

@chetan-rns can you please review my pr.


Routing messages from downstream devices needs better explanation

The documentation is very lacking around "Routing messages from downstream devices".  In my case and I would think it most cases, we're using IoT Edge as a Transparent Gateway because we have lots of devices that are passing there data through the IoT Edge.
In my case there is not very much explanation around the "Routing" rules as mentioned above. For example, what does "WHERE NOT IS_DEFINED($connectionModuleId)" get explained.
I understand that IoT Hub treats Modules and Devices as unique identifiers, but is that what is going on here?
I would think many use cases (or the majority) have to do with lots of "Downstream Devices" sending their messages to the IoT Edge device, not just a simulator module that is running inside the IoT Edge device.
Please add better documentation or more thorough documentation showing how "Downstream Devices" fit into and pass their messages through the IoT Edge when acting in Transparent Gateway mode.
Thanks,
Chris

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

ID: 71acc49c-a23e-493f-c3f5-4ec46846616c
Version Independent ID: bd3abb8d-1b48-0efd-f6a4-1b3f7a12c039
Content: Create a transparent gateway with Azure IoT Edge - Linux
Content Source: articles/iot-edge/how-to-create-transparent-gateway-linux.md
Service: iot-edge
GitHub Login: @kgremban
Microsoft Alias: kgremban

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

Hi @chrislangston, thanks for the feedback. We've been talking about writing an article or more information along these lines, so it's good to hear from the community that this would be useful. Do you have specific scenarios that you're trying to accomplish, so I can get an idea of what kind of info would be helpful as we plan for the new documentation?

Hi Kelly  @kgremban .  Thanks for responding.
On the page in question I mentioned that there could be more explanation around the routing rules that might better explain what WHERE NOT IS_DEFINED() is actually doing.
There is a futher link that states "Refer to the module composition articule..." for more info.
The link that is referenced requires the user have to scroll more than half way down the page to where it talks about the "Condition" and the explanation of routing from "Leaf Devices"
https://docs.microsoft.com/en-us/azure/iot-edge/module-composition#condition
This page states "An example that is specific to IoT Edge is when you want to filter for messages that arrived at a gateway device from a leaf device. Messages that come from modules contain a system property called connectionModuleId. So if you want to route messages from leaf devices directly to IoT Hub, use the following route to exclude module messages:"
Using that paragraph on the aforementioned page would have been helpful.
Thanks,
Chris

@chrislangston or @langman66 (I'm not sure which account you prefer) have you had a chance to look at the changes to the article, to see if this issue is resolved or if more information needs to be included?

Hi Kelly @kgremban   Thanks for following up.  Great job on updating the article!


Cookbook replaces all existing users in a group

Cookbook version
5.4.0
Chef-client version
14.7.17
Platform Details
AIX, RHEL
Scenario:
Create Users and add to an existing group
Steps to Reproduce:
Standard Create process referencing an existing group
Expected Result:
User is created and appended as a user in the existing group
Actual Result:
New user completely replaces existing users in the group

apologies, it dawned on me that I was perhaps misunderstanding how this all worked. there is no issue here aside form general ignorance.


Clair scanner reports multiple high priority vulnaribilities

4.5-beta6 images have multiple vulnerabilities according to quay.
Most of these should be fixed in OCP build, lets focus on OKD-specific bits first

FYI: RC shows even more vulnerable images. 63 in total vs 45 on beta6.

i was told the OKD and OCP images are the same, so this problem should be fixed once RedHat releases new images right?

/remove-lifecycle stale

The CSO (Container Security Operator) still reports a lot of CVEs on 4.5.0-0.okd-2020-10-15-235428. OCP 4.5.15 on the other hand is fine.
For example check the cluster-node-tuning-operator (quay.io/openshift/okd-content@sha256:6b4bf0926816c18a607b5c57933c2d3a4af7d2a497a096b67c9fe892d2333be4)
https://quay.io/repository/openshift/okd-content/manifest/sha256:6b4bf0926816c18a607b5c57933c2d3a4af7d2a497a096b67c9fe892d2333be4?tab=vulnerabilities

Any news why that happens?

The images mostly seem to be built of this image here:
registry.svc.ci.openshift.org/openshift/origin-v4.0:base
In former discussions I understood from @vrutkovs that the plan is to use UBI base images because they are built regularly. This should also fix the CVE problem.

Here is the discussion about what happened and how it will be resolved for OKD 4.6 (++):
https://kubernetes.slack.com/archives/C6BRQSH2S/p1604218274392100

It seems that the CVEs are still present in 4.6.0-0.okd-2020-12-12-135354. Did i miss something?
e.g. openshift-cluster-node-tuning-operator:
https://quay.io/repository/openshift/okd-content/manifest/sha256:5a66e66d72720bd6434ba69d1da6793dd7ac13ebb41e8abac29ae464358a200c?tab=vulnerabilities

It seems that the CVEs are still present in 4.6.0-0.okd-2020-12-12-135354. Did i miss something?
e.g. openshift-cluster-node-tuning-operator:
https://quay.io/repository/openshift/okd-content/manifest/sha256:5a66e66d72720bd6434ba69d1da6793dd7ac13ebb41e8abac29ae464358a200c?tab=vulnerabilities


[feat] Rewrite Network graph

Checklist

[ ]  I am not using Home Assistant. Or: a developer has told me to come here.
[X] I have checked the troubleshooting section and my problem is not described there.
[X] I have read the changelog and my problem is not mentioned there.

Deploy method
Docker
Zwavejs2Mqtt version
6.13.0
ZwaveJS version
9.5.0
Describe the bug
I've been running jwavejs2mqtt for about a month now. The nodes in my graph are not connected. My mailbox sensor seems to be missing about half the messages so I'm wondering what it's connected to.

To Reproduce
unknown
Expected behavior
Connected lines between nodes
Additional context
I'm using the Zooz 700 Series Z-Wave Plus S2 USB Stick ZST10 700 with firmware "ZW_SerialAPI_Controller_7_17_2_406_ZGM130S_REGION_US.gbl"
Also, health checks seem to timeout.

Please do a node dump

cc @AlCalzone any known bug with Zooz 700?

nodes_dump.json.zip

I think this is just the general incorrectness of the neighbor info used to draw the map. @robertsLando Didn't you want to implement the live network map based on statistics? 😇

Didn't you want to implement the live network map based on statistics? innocent

Hehe I really wish to have the time, I still have to find a good package to do it

From @AlCalzone sketch

Just for info I started worlking on this, follow the PR here: #3098


[T2A2][T16-A1] Yip Bing You

Ready for Review.

Good attempt to use advanced javadoc features, but I don't think {@link #NAME} et al. work as intended.
"Remove usage of Varargs" commit belongs under T2A3.
For the "Edit code to use String in generic ArrayList" commit, the lines ArrayList was never generic.
Hint: Using auto-format can help save time in formatting, and make sure your code is properly formatted.
Good effort in applying concepts learnt in module. Keep experimenting and learning!


[FEA] Add user profiling tool support for Databricks AWS platform

As a Databricks AWS customer, I would like to run the user tools profiling command to debug and profile my Spark applications.
### Tasks
- [ ] https://github.com/NVIDIA/spark-rapids-tools/issues/394
- [ ] https://github.com/NVIDIA/spark-rapids-tools/issues/399

Proposal
Assumptions
No DBFS paths

users store the eventlogs on S3
remote storage of the output of the wrapper is also S3

Prerequisites

install databricks-CLI
configure the databricks-CLI (token, workspace, profile)
install and configure aws-CLI (aws_access_key_id, aws_secret_access_key)

Running

command to run

spark_rapids_user_tools databricks-aws qualification \
         --profile=<my-db-profile> \
         --cpu_cluster=<my-cluster_name> \
         --gpu_cluster=<my-cluster_name> \
         --remote_folder=<S3://> \
         --eventlogs <S3://>,<S3://>,<S3://>

Required  options:

cpu_cluster
eventlogs required if the S3 path cannot be pulled from the cluster properties

The wrapper will download the dependencies "spark-jars, aws-sdk-jar, java-sdk-aws-bundle-jar"

@cindyyuanjiang is this feature complete for the current scope?

@cindyyuanjiang is this feature complete for the current scope?

Yes, I will close this issue. Thanks!


issue with cloud-provider-specifics.md

Trying to integrate with aws but get the following error.
12/19/2017 11:09:10 AMtime="2017-12-19T18:09:10Z" level=error msg="error listing backups" error="rpc error: code = Unknown desc = BucketRegionError: incorrect region, the bucket is not in 'us-west-2' region\n\tstatus code: 301, request id: , host id: " logSource="pkg/controller/backup_sync_controller.go:75"

Anything obvious excluded from the steps that I am missing?

@fayazg have you created an S3 bucket in us-west-2 to store backups, and plugged the name into the ark config object? Our scripts don't do that for you.

Got it, thanks Steve.

No problem. I'll close this issue for now but if anything else comes up feel free to file a new one or reach out on slack (#ark-dr under the kubernetes org)


Removed line that incorrectly sets @record

https://bugzilla.redhat.com/show_bug.cgi?id=1218441

This line was probably added for debugging and not removed in #2724.

verified fix.


⚠ Bofrost.at has degraded performance

In 4c43858, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2358 ms

Resolved: Bofrost.at performance has improved in c47354c.


I am trying for editor

When I drag the element from copy behavior then dropped element should be HTML element and I have to change the content of each dropped elements and store updated content in an array of objects with drag n drop support?
Please reply?

Use getChildPayload property to set the data for dragged item, get this data in the onDrop callback and than you can update the array or any kind of data you have

Hello Kutlu, It's resolved actually issue was with my setState now I am able to update new content to that specific index object,
Please correct me if I am wrong or there is any standard and advance way to do this.
BTW Thank you so much for providing wonderful stuff. YOU ROCK!

Hey @pravingkd6 thanks!
No there is no any other special way of doing this. This is the way how it supposed to be handled.
You can see example codes in the demo.
Cheers!


nav working for metro extract

made nav as MapzeNav, exposed reflectUserState function as global
made fetching-data happens later than all scripts (This is going to make nav react slightly slower than before. hopefully we can make it slightly faster soon with metro-extract update 🌹 )

@migurski yesss


Updating VMWare pre-requisites to include important note

@ahadas - rather than a note, I thought it would be best to include at the very top of this section.
I hope this is ok.

Arik approved in Slack


Set bbox for osm file

I wonder if it's possible with pyosmium to set the bounding box of a PBF when creating one with e.g. SimpleWriter (similar to osmium extract --set-bounds?
I might just be overlooking smth in the documentation.
osmium.io.Reader(fp).header().set('boxes', '(0,0,1,1)') or osmium.io.Reader(fp).header().set('data.bbox', '(0,0,1,1)') didn't work (I guess just the header options are settable? It's a little confusing that bbox is part of the header in that case..).

Hi,
I'm interested  in the problem as well.
I need to complete the code to search only a specific bbox:
osm_super_file = osm.io.Reader(self.osm_path, osm.osm.osm_entity_bits.WAY)
osm.apply(osm_super_file, simpleHandler())
Do you have any solution?

Writing the bounding box is a different function add_box() in osmium. This is now exposed. I've also added an optional parameter to the SimpleWriter constructor, where you can hand in your custom header.
For an example for custom headers with the SimpleWriter, see https://github.com/osmcode/pyosmium/blob/9643d148cb996a3e5588bf9d8ee9d75ffe2b2b36/test/test_writer.py#L195-L216
For an example of using it with w Writer object, see https://github.com/osmcode/pyosmium/blob/9643d148cb996a3e5588bf9d8ee9d75ffe2b2b36/src/osmium/replication/server.py#L203-L225


pyspark arguments issue

run pyspark with arguments
spec:
  command:
  - "test.py"
  arguments:
  - "1"
  - "2"
  - "3"

what i got in driver is test.py 1,2,3, not test.py 1 2 3 as i expected. And in Driver Env, I found related env
    - name: PYSPARK_APP_ARGS
      value: 1,2,3

@dharmeshkakadia would you please help on this issue?

Can you provide driver log?

@u2takey see https://github.com/apache/spark/blob/master/resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/k8s/features/bindings/PythonDriverFeatureStep.scala#L36.

++ id -u
+ myuid=0
++ id -g
+ mygid=0
+ set +e
++ getent passwd 0
+ uidentry=root:x:0:0:root:/root:/bin/bash
+ set -e
+ '[' -z root:x:0:0:root:/root:/bin/bash ']'
+ SPARK_K8S_CMD=driver-py
+ case "$SPARK_K8S_CMD" in
+ shift 1
+ SPARK_CLASSPATH=':/opt/spark/jars/*'
+ env
+ grep SPARK_JAVA_OPT_
+ sort -t_ -k4 -n
+ sed 's/[^=]*=\(.*\)/\1/g'
+ readarray -t SPARK_EXECUTOR_JAVA_OPTS
+ '[' -n '' ']'
+ '[' -n '' ']'
+ PYSPARK_ARGS=
+ '[' -n 1,label,binary_classification,/data/adult.data,/data/adult.test ']'
+ PYSPARK_ARGS=1,label,binary_classification,/data/adult.data,/data/adult.test
+ '[' 3 == 2 ']'
+ '[' 3 == 3 ']'
++ python3 -V
+ pyv3='Python 3.5.2'
+ export PYTHON_VERSION=3.5.2
+ PYTHON_VERSION=3.5.2
+ export PYSPARK_PYTHON=python3
+ PYSPARK_PYTHON=python3
+ export PYSPARK_DRIVER_PYTHON=python3
+ PYSPARK_DRIVER_PYTHON=python3
+ case "$SPARK_K8S_CMD" in
+ CMD=("$SPARK_HOME/bin/spark-submit" --conf "spark.driver.bindAddress=$SPARK_DRIVER_BIND_ADDRESS" --deploy-mode client "$@" $PYSPARK_PRIMARY $PYSPARK_ARGS)
+ exec /sbin/tini -s -- /opt/spark/bin/spark-submit --conf spark.driver.bindAddress=<IP_ADDRESS> --deploy-mode client --properties-file /opt/spark/conf/spark.properties --class org.apache.spark.deploy.PythonRunner /home/user/auto-ml/test/test_binary_classification.py 1,label,binary_classification,/data/adult.data,/data/adult.test

@liyinan926  i have noticed this line, what confused me is : why add an env here and why not just append args like https://github.com/apache/spark/pull/21092/files#diff-63df38faebcaf7ada03405541ffd6a07R37 ?

@ifilonenko.

Ah, I can make this .mkString(" ") That is a very good catch as the PythonRunner merely slices the args not splits it by ",". The same goes for RRunner. I will modify this :) Thanks!

@ifilonenko Thanks for your reply, but why not just append args use kubernetesConf.roleSpecificConf.appArgs? My concern is: if there is " " in args (for example  file.py add people 'San Zhang ') , will this fix still valid?

This is because the entrypoint is unique with the way that the PythonRunner and RRunner is written. I will update with " "

file.py add people 'San Zhang '

@ifilonenko Thanks for your reply, but why not just append args use kubernetesConf.roleSpecificConf.appArgs? My concern is: if there is " " in args (for example file.py add people 'San Zhang ') , will this fix still valid?

@u2takey following up on this concern, how can we pass an argument with space?


Yeah makes sense to pull it to a separate function and use the same formatting everywhere summaries like this are shown. (In a new PR.)

Yeah makes sense to pull it to a separate function and use the same formatting everywhere summaries like this are shown. (In a new PR.)
Originally posted by @fson in https://github.com/expo/eas-cli/pull/146#discussion_r548248386

moved to linear


fix: evaluateOnNewDocument doc comment

This PR is to fix a line of comment.
Thank you for this awesome product.

Thanks! Included in https://github.com/puppeteer/puppeteer/pull/8906