Label missing on Input for Modal Clip

Describe the issue
Thanks for fixing the ADA Issues with the inputs. I have one more in the clip modal
/packages/MdEditor/layouts/Modals/Clip.tsx

Here is a possible fix, but please adjust, if necessary:
line 201:
        <label
          for={`${editorId}_clip_label`}
          style={{ display: 'none' }}
          aria-label={ult.value.imgTitleItem?.upload}
        ></label>
        <input
          id={`${editorId}_clip_label`}
          ref={uploadRef}
          accept="image/*"
          type="file"
          multiple={false}
          style={{ display: 'none' }}
        />

Procedure version
4.21.0
Reproduction link
No response

Okay, I'll find the time to check it again. I've been quite busy lately.

Basic attributes have been added in version 4.21.1, including those for menus.


Link from Build details page to look at test failures passes the wrong query parameter

The link passes the query as the tq parameter in the url, but the test page now reads the q parameter for the query.

See the test failure at the bottom of https://runfo.azurewebsites.net/view/build/?number=1082912 as an example.

Yep missed that.


Strange Substitution Issue

In the latest Marko versions and in some cases and words in templates are replaced with && symbols.
For this template:
We're young.

    You and me are friends and teammates.

The following *.marko.js file will be generated:
out.w('We\'re\' \'young.
You && me are friends && teammates.

You '

Necessary Conditions

You should use marko-layout module.
You should have unpaired ' symbol in your template.

There are probably other conditions, when this issue happens, but I know only one set of conditions.
Minimal project
Here I prepared a minimal project that will help to reproduce this issue:
https://github.com/schetnikovich/marko-substitution-poltergeist
Reasons
I don't know actual reason of this problem, but for the end user this is because of ' symbol, that
makes all subsequent and words be replaced by && symbol.
If you'll "close" single quotes, i.e. We'are' young - everything will be correct.
Workaround
Replace all single quotes with the following:
$("'")

New version of marko published with fix<EMAIL_ADDRESS>Thanks for setting up the project to reproduce the problem and thank you for brining this problem to our attention!

Thank you very much for so quick fix! Issue disappeared.


Does it work with React Native ?

Hello,
Is it compatible with React Native?
Thank you

React Native isn't ReactJS


Add pr number scripts

Options:

CI check + manual call of this script
Trigger action instead of merge (e.g. @NeonBot merge)


refact(style): change styled-components to css-modules

Pull Request Test Coverage Report for Build 1640

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.9%) to 74.269%

Totals

Change from base Build 1639:
-0.9%

Covered Lines:
117

Relevant Lines:
149

💛  - Coveralls


SystemError: Exception occurred: cannot access local variable 'pid' where it is not associated with a value"

Version: 0.7.0rc
Reproducible
{
"jobID": "14e8fedb-1717-4b56-a76e-9d6eb8866f3b",
"processID": "run_known_wse",
"result": {
"err": "SystemError: Exception occurred: cannot access local variable 'pid' where it is not associated with a value",
"tb": "Traceback (most recent call last):\n  File "D:\Users\abdul.siddiqui\venvs\ripple1d_0_7_0rc2\Lib\site-packages\ripple1d\ops/endpoints.py", line 62, in \u003Cmodule\u003E\n    r = execute_endpoint(sys.argv[1], sys.argv[2])\n        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File "D:\Users\abdul.siddiqui\venvs\ripple1d_0_7_0rc2\Lib\site-packages\ripple1d\ops/endpoints.py", line 41, in execute_endpoint\n    return func_lookupfunc\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File "D:\Users\abdul.siddiqui\venvs\ripple1d_0_7_0rc2\Lib\site-packages\ripple1d\ops\ras_run.py", line 313, in run_known_wse\n    return {f"{nwm_rm.model_name}_{plan_suffix}": {"kwse": known_water_surface_elevations.tolist()}, "pid": pid}\n                                                                                ^^^\nUnboundLocalError: cannot access local variable 'pid' where it is not associated with a value\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n  File "D:\Users\abdul.siddiqui\venvs\ripple1d_0_7_0rc2\Lib\site-packages\ripple1d\ops/endpoints.py", line 65, in \u003Cmodule\u003E\n    raise SystemError(f"Exception occurred: {e}")\nSystemError: Exception occurred: cannot access local variable 'pid' where it is not associated with a value\n",
"val": null
},
"status": "failed",
"updated": "2024-11-07 13:03:09"
}
{
"62614e0a-30e7-4f1c-b1bf-387573f701ee": {
"accept_time": "2024-11-07 12:53:51",
"dismiss_time": null,
"finish_duration_minutes": 0.0499997287988663,
"finish_time": "2024-11-07 12:53:55",
"func_kwargs": "{"submodel_directory": "D:\\collections\\ble_08040203_UpperSaline\\submodels\\21919993", "plan_suffix": "kwse", "min_elevation": 580.7, "max_elevation": 594.0, "depth_increment": 1, "ras_version": "631", "write_depth_grids": true}",
"func_name": "run_known_wse",
"huey_status": "complete",
"ogc_status": "failed",
"start_time": "2024-11-07 12:53:52",
"status_time": "2024-11-07 12:53:55"
}
}

21919993.zip

@sclaw Can this be closed?


Can no longer download from Xhamster - Extractor is unable to extract title

Can't download any video from xhamster any more. See output:
youtube-dl --verbose xhamster.com/movies/3433906/i_need_not_my_step_brothers_help.html
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'--verbose', u'xhamster.com/movies/3433906/i_need_not_my_step_brothers_help.html']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.09.22
[debug] Python version 2.7.9 - Linux-3.19.0-26-generic-x86_64-with-Ubuntu-15.04-vivid
[debug] exe versions: avconv 11.2-6, avprobe 11.2-6, ffmpeg information, ffprobe information
[debug] Proxy map: {}
WARNING: The url doesn't specify the protocol, trying with http
[XHamster] 3433906: Downloading webpage
ERROR: Unable to extract title; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 660, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 287, in extract
return self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/xhamster.py", line 66, in _real_extract
title = self._html_search_regex(r'(?P.+?) - xHamster.com', webpage, 'title')
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 590, in _html_search_regex
res = self._search_regex(pattern, string, name, default, fatal, flags, group)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 581, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract title; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Duplicate of #6944.
This is already fixed in master and will be incorporated in the next version of youtube-dl.

Ah, sorry for the duplicate. I can confirm that issue is resolved in the master branch.

Sorry for the duplicate. I can confirm that the issue is resolved in the master branch.


Other notes on diesel cafe

I've spent way too much time there...

There's a password and account you can use for free. Never had that issue with IPFS, either?

Never had that issue with IPFS, either?

IPFS generates a lot of background network traffic.

Weird! That must be a new thing! Cool though.


topic_stack: Simplify num_reviews a bit

Reviews in this chain:
└https://github.com/Skydio/revup/pull/166 topic_stack: Simplify num_reviews a bit

#
head
base
diff
date
summary

0
800db14d
df295937
diff
Mar 13 12:00 PM
1 file changed, 7 insertions(+), 8 deletions(-)


TypeError thrown when creating / loading markets

Tried to create a new binary market and the UI throws two errors:
load-markets-info.js:17: ERROR loadMarketsInfo() Object {error: "0x", message: "no response or bad input"}
load-markets-info.js:17: ERROR loadMarketsInfo() TypeError: marketIDs.forEach is not a function

So far I have only observed this while creating a market.

Seems to happen every time I create a market (have only tried binary markets so far).  Only happens once.  After the initial error(s), the create market + generate order book process continues.

PR #717 resolves this bug -- closing.


Unable to resolve build file: XCBCore.BuildFile

Describe the bug
A clear and concise description of what the bug is.
error build: Unable to resolve build file: XCBCore.BuildFile (The workspace has a reference to a missing target with GUID 'PACKAGE-TARGET:CGDK')
To Reproduce
Steps to reproduce the behavior:
Xcode build
Desktop (please complete the following information):

OS: macOS 13.0 Beta (22A5331f)

Version of Tokamak: 0.11.0

Smartphone (please complete the following information):

Device: iPhone 13 Pro
OS: iOS 16

Additional context
Version 14.0 beta 5 (14A5294e)

Are you targeted WebAssembly? If so, you should probably build with Carton.


Fix dynamic framework instructions

In our docs we say Drag Realm-dynamic.framework & Realm-dynamic-simulator.framework from the ios/ directory... but Realm-dynamic and Realm-dynamic-simulator.framework is no where to be found based on the folder structure mentioned above. I know JP said these instructions will be fixed when the new Swift api's launch. This will be needed for the Obj-c api's even once the RealmSwift api is released

This is closed by https://github.com/realm/realm.io/pull/452, I believe.


Wrong link in GitHub documentation page

Hi,
the link to the zend-test package is wrong on the documentation collection page on GitHub:
https://zendframework.github.io/
The Link behind "Test" actually links to the GitHub page of zend-text.

The problem is already reported.
See: zendframework/zendframework.github.io#1


Display initial command line prompt

When I run svg-term --command='echo "test"' --at 2000 > test.svg the image only contains:
test

Is there a way to change it so it displays the whole interaction?
$ echo "test"
test

We inherit the behavior of asciinema rec -c <cmd> here.
I like the suggestion but think this should be done in asciinema.
cc @sickill


Fix NRE instead of suppressing and prevent invalid instances of GitCommit

Should I update NEXT.md for this?

Should I update NEXT.md for this?

Yes, please.
And if you could explain a little more the consequences of this fix (in the commit message and here), that would be great!
Because the changes seems good but I fail to understand what behavior that exactly changes...

@pmiossec Oh, I'm so sorry I lost track of this!
The program was throwing NullReferenceException and then swallowing it. You can run the tests against the original code to see this. This was a poor debugging experience because it made the debugger stop during normal execution.
A NullReferenceException should be treated as unrecoverable. By covering it up (catching it), the program makes it very hard to see and fix the root cause.
The program was failing with NullReferenceException way too late. The interesting context was lost by the time the poisoned GitCommit instance (the one with a null Commit inside) blew up. Instead, I made GitCommit itself guarantee that you cannot create such a poisoned instance. If you try, the program blows up much sooner, closer to the root of the problem.


[SUPPORT]Merge cow partitioned files manually

Describe the problem you faced
Because of this issue https://github.com/apache/hudi/issues/4190, there're some partitions contain lots of small files(about 1k files).
And I want to merge those files, I've tried Flink SQL insert overwrite to merge files but failed:
insert overwrite tableA partition(log_date='2021-12-02') select * from tableA where log_date='2021-12-02';

[INFO] Submitting SQL update statement to the cluster...
[ERROR] Could not execute SQL statement. Reason:
org.apache.flink.table.api.ValidationException: Column types of query result and sink for registered table 'hive_catalog.xxx.tableA' do not match.
Cause: Different number of columns.

Query schema: [distinct_id: STRING, ..., EXPR$26: STRING NOT NULL, log_date: STRING]
Sink schema:  [distinct_id: STRING, ..., log_date: STRING]

That might be Flink SQL issue, but I wonder is there any solution to merge hudi small files manually, hudi-cli or some code to trigger merging?
Like Hive CONCATENATE.
To Reproduce
Steps to reproduce the behavior:
No
Expected behavior
Some hudi-cli features to manually manage exist tables, small files get merged.
Environment Description

Hudi version : 0.10.0

Spark version : NA

Hive version : 2.1.1

Hadoop version : 3.0

Storage (HDFS/S3/GCS..) : HDFS

Running on Docker? (yes/no) : no

Flink: 1.13.2

@danny0405 @leesf : can you loop in someone to take into this.
But in general, you can try to use Clustering with hudi to stitch lot of small files into larger ones.

Yes, we can use clustering first then bootstrap the table with flink streaming. The clustering feature is on the way for flink side ~

Closing the issue. Feel free to re-open or raise a new one if you need any more assistant. thanks!


Async validation on inputs on field change

I need to implement an input, that validates itself as the user types.
The input will not lose focus throughout the typing process, which means that shouldAsyncValidate will not work for this as it is called after the blur event.
Looking at the library, I could probably pass the asyncValidate function to the createOnChange similarly to the blur after function if some flag prop is passed.
Am I looking in the right direction, or am I completely wrong?
Is there perhaps an easier way to implement this?

I'll stick with asyncValidate for now

@kerneldemon how did you end up implementing this?

+1 for onChange async validation would be great. Any update on this?

@ManyStylez this can be done within your field component. Just wrap onChange* and trigger your validation rules.
According to this SO question, it's the same as the DOM input event

@gustavohenke how to trigger validation rules? i cannot found it in docs.

You really want to fire off an ajax request on every keystroke? 😮
You can do this manually with onChange and then dispatch a STOP_ASYNC_VALIDATION action with the errors for that field. Optionally, you could also dispatch a START_ASYNC_VALIDATION action to update the asyncValidating flag.

@erikras thanks for your reply,
when user do sign up a new account, we will validate the account is taken or not, right?
blur is good, but user have to left the input box many time , i dont think that is good.

@erikras @geminiyellow I had a similar requirement for a search based page, similar to the way google search works with suggested terms.

Does anyone see any obvious problem with calling asyncValidate from the onChange event?
<Field
   placeholder="my-amazing-username"
   name="username"
   component={renderField}
   onChange={() => asyncValidate()}
   type="text" />

I know I should debounce it appropriately, but how does this hold up as a general idea?

any obvious problem with calling asyncValidate from the onChange event?

Hmm. One I see is that at that point in time, the values have yet to be updated by the onChange event. I suppose that makes sense. I see that I can pass a field name and value to asyncValidate, but that doesn't appear in the documentation for that method, which makes me think that that's a private API that's leaking out — is it safe / allowable to call that?

I guess another problem is that the async validation will be fired regardless of if the sync validation has failed. This is handled correctly by the built-in async handling...


Automatically enable DuckDB execution when DuckDB-only functions are used

Since #86 we disable duckdb.execution by default, because existing
queries might fail in DuckDB. However, if people use a DuckDB-only
function such as read_parquet there's no reason to try running it in
Postgres, because it only works when run in DuckDB.
This starts enabling DuckDB execution for queries automatically when
such a function is used. And also adds test coverage in general for
read_csv and read_parquet.

@mkaruza I realized the initial version of this PR would conflict with your #99 PR, since you're changing the argument types there. Keeping these argument types in sync seems like it could get annoying and also not very readable. So instead I changed the code a bit to not need the argument types.


Updated to 2.0.1

Updated sections of the playbook to CIS 2.0.1 spec
Outlined sections that are not implemented
Exception: section 1.1 was done by Hao and is currently being reviewed by Florian

sorry, I have done the whole section 1. it is in review.


why not gpu?i have a nvida

2024-11-23 15:24:20.441 - INFO - separator - No hardware acceleration could be configured, running in CPU mode
~$ nvidia-smi
Sat Nov 23 15:27:11 2024
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 550.120                Driver Version: 550.120        CUDA Version: 12.4     |

Please refer to this issue: https://github.com/Eddycrack864/UVR5-UI/issues/13
You probably downloaded the v1.5.1 release and installed it but did not update using the installer. That version doesn't have the patch to fix that problem yet, imma publish a new update


Provide Cleanup Guidance around closing websockets

Originally reported in #1655, and moved here so we've got an issue tracking the ask.

As there's not a single BotFrameworkAdapter but one for every WebSocket connection, it would also mean the new SkillHandler as well as ChannelServiceRoutes have to exist multiple times, which results in every conversation/connection resulting in a different endpoint via the SkillHandler (skillEndpoint.register(server, '/api/skills');).
Which currently is not easy to cleanup as the WebSocket does not seem to expose a disconnected event. This would result in a memory leak.

This is work we plan on shipping as part of R8, which ships ~March 15.

Giving feedback on the linked ticket:
The setup is basically a combination of the two samples:

https://github.com/microsoft/BotBuilder-Samples/blob/master/experimental/directline-speech/javascript_nodejs/02.echo-bot/index.js
https://github.com/microsoft/BotBuilder-Samples/blob/master/samples/javascript_nodejs/80.skills-simple-bot-to-bot/simple-root-bot/index.js

server.on('upgrade', async (req, socket, head) => {
    // Create an adapter scoped to this WebSocket connection to allow storing session data.
    const streamingAdapter = new BotFrameworkAdapter(adapterSettings);
    // Set onTurnError for the BotFrameworkAdapter created for each connection.
    streamingAdapter.onTurnError = onTurnErrorHandler;

    await streamingAdapter.useWebSocket(req, socket, head, async (context) => {
        // After connecting via WebSocket, run this logic for every request sent over
        // the WebSocket connection.
        await myBot.run(context);
    });
});

combined with (both top-level)
// Create and initialize the skill classes
const authConfig = new AuthenticationConfiguration([], allowedSkillsClaimsValidator);
const handler = new SkillHandler(adapter, bot, conversationIdFactory, credentialProvider, authConfig);
const skillEndpoint = new ChannelServiceRoutes(handler);
skillEndpoint.register(server, '/api/skills');

Would not work, as SkillHandler requires access to the adapter, which is only created on connection -> ChannelServiceRoutes and registration with the server would have to be inside the websocket connection handler as well, so requires a different endpoint all the time.

From another thread:
This is a problem that occurs when custom adapters that abstract http request-reply protocols are combined with Skills that use the Bot Framework http based "inline proactive" protocol where replies are returned to a caller by initiating a new secondary http call in the opposite direction.
Examples of custom adapter that abstract underlying http request-reply are the Amazon Alexa and the Google Home adapters.
As the front end protocol is request-reply when the call is forwarded to another party (as is the case with a Skill) it makes sense to do this as a request-reply call with its intrinsic network affinity, rather than splitting the call into what would be separate http calls initiated in opposite directions.
The proposal is to add a value of RequestReply to the DeliveryMode field of an Activity that indicates that parties that need to forward the Activity should do so with a conventional http request and then expect any reply Activities on that request's reply.
Alternative designs considered include making the Activity the value of an InvokeActivity which already has this network binding by default. However, this design has the disadvantage of requiring more code further up the stack, particularly around making it so the extra nesting is hidden from the application layer. Overall using the DeliveryMode is the simpler design.

Blocked until Big Rocks closed on the path forward.

The design discussion(S) around this close today, so we should be unblocked tomorrow (Feb 26).


Remove UI setup from travis build

Can you clarify what this ticket is doing? Can't reconcile the ticket name and the commit contents... Also you haven't added it to a milestone.

There was one ansible playbook which setup everything. This includes compiling UI elements and necessary environment for compilation. But this is not necessary for travis build because there is no check for UI elements in the travis. Therefore, new playbook is created for travis build which does not include installation of the UI related packages.

@alexanderdean I think comment, which you made in ticket #100, is applicable for this ticket too. Therefore, commit for this ticket is merged with commit for ticket #102

Fair!

Descheduled


init of neural network

Dear Author,
Thanks for sharing the excellent work on reproducing reinforcement learning algorithms. I notice that you use  init_ = lambda m: init(m, nn.init.orthogonal_, lambda x: nn.init.constant_(x, 0)) to initialize neural networks and I find it makes neural networks much more stable. However, I don't understand the underlying theory of this trick, could you have an explanation or give some related papers?
Thanks.

I've also realized, if I don't use this init method, a2c doesn't improve, and I'm also curious the reason behind it. I'd also be happy to learn more about this, if someone can explain, thank you.

Looking forward to an explanation too!

I am looking forward to an explanation as well!


deployment is not failing in case of a badRequest returned by the ARM deployment

the badRequest error code when deploying resources doesn't end the deployemnt until it's timeout.
Below is one example of this kind of failure.
{
  "code": "DeploymentFailed",
  "message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.",
  "details": [
    {
      "code": "BadRequest",
      "message": "{\r\n  \"error\": {\r\n    \"code\": \"PrincipalNotFound\",\r\n    \"message\": \"Principal e14268ae62cb4d108c0fe58f2a2b669f does not exist in the directory 72f988bf-86f1-41af-91ab-2d7cd011db47.\"\r\n  }\r\n}"
    }
  ]
}

fixed by #372


Langevin solving and annealing policy

Aim
Documenting heuristics and metrics to adjust Continuous Annealed Langevin annealing policy, stepsize, and solver, in the context of cosmological initial field reconstruction.
Here $z$ is a $64^3$ initial field mesh, $x_0$ is the observed mesh of same size, cosmology is fixed, and we solve for
$$dz = \nabla \log p_{s(t)}(z,x_0)dt + \sqrt{2}dB$$
between time t0=0 and t1, with stepsize dt (potentially adaptive). $s$ is the annealing policy that defines the unnoising of the likelihood, i.e. $s(t)$ is the noise level at time $t$ and $\log p_{s}(z,x_0) = \log p(z) + \log \mathcal N(x_0\mid f(z), \sigma_{\text{obs}}^2 + s^2)$ in the case of a Gaussian likelihood.
Basis

When unnoising is too fast, power spectrum as a metric shows a convergence of the sampled initial field to the wrong small scales. This happens whether noise is linearly or by-step decreasing.

https://github.com/hsimonfroy/montecosmo/assets/85559558/475f6b84-5d87-4a98-88bc-445047fbc708

By slowing unnoising, one can reconstruct high scales first, then as noise decrease falling in the supposedly right mode for small scales. This however involve a huger amount of computation (600,000 steps $\simeq$ 1h).

https://github.com/hsimonfroy/montecosmo/assets/85559558/bb82b38c-518e-47a6-a672-a5217b231f78
Cases

What can be a good metric to assess chain convergence (for a given noise level)?

Pk for scale dependency and RMSE/$\sigma$ for the rest.

Heuristic to chose at which noise level to start, and how long the decreasing?

This problem can in practice be loosely coupled to the choice of step size. If the decreasing is fast with a not so small dt, steps can be too huge.
Choosing a relevant initial field starting point, to sample in the right mode already, can help taking less "time". Moreover, no need to start at high noise because the chain will leave it.

Heuristic to chose stepsize and solver.

Use PID controller?
Run MALA and adjust stepsize by aiming for some acceptance rate?

Super! so, two things:

At a given noise level, have you checked what was the optimal step size?  Can you see that it changes as a function of temperature? And/or does this follow a rough scaling law as a function of temperature?
One naive way that I can think of to measure this is instead of running a pure Langevin, running a MALA algorithm and checking what's the step size  that gives you a good acceptance rate, like 0.7. Then we can look at whether we can optimize each temperature stage.

Second, how long does it take (wall clock time) for your second chain to reach the end?  It looks like you are running a 64^3 model, right?

(third thing) we can talk again on Tuesday about strategies to speed up the noise level transition. Remember we talked about linearizing the operator and following an ODE update to transition between noise levels.

As a bonus, some experiment of spectrum convergence where the prior and likelihood do not agree. This means we sample first $x_0$ from some fixed cosmology and biases $(\Omega_0, b_0)$, but instead of targeting posterior $$p(z \mid x_0, \Omega_0, b_0)  \propto p(x_0 | z, \Omega_0, b_0) p(z \mid \Omega_0)$$
we target $$p(z \mid x_0, \Omega_1, b_0)  \propto p(x_0 | z, \Omega_1, b_0) p(z \mid \Omega_1)$$, where $\Omega_1$ is a different cosmology. So intuitively, prior/cosmology drives $z$ to the $\Omega_1$-compatible spectrum $P(\Omega_1)$, whereas the likelihood/observation drives it towards some more $x_0$-compatible spectrum $P(\Omega_0)$.
Therefore, this is a misspecification test, where the fiducial cosmology as been misspecified. Should we be able to still recover the initial field that generated the observations? Let's see.
https://github.com/hsimonfroy/montecosmo/assets/85559558/763fe42d-0dbf-47c0-ad47-0b648b912141

$x_0$ seems to constraint more $z$ on higher scales.
Lower scales are driven by the imposed (and wrong) cosmology.

I tested several diffrax solvers on several stepsizes dt between 2*1e-4 and 5*1e-4 with noise level at 0, so in the stepsize range where the spectrum goes from converging to true one to not. I wanted to see if a higher order method could provide a better higher stepsize so faster sampling vs. smaller error so true convergence  tradeoff.
Tested solver are 1st order Euler, 2nd order Heun and EulerHeun, and "Algebraically reversible 2nd order"  ReversibleHeun that I skip in the rest because it doesn't seem to work well.
Basically, I see almost no differences between samplers, except 2nd order methods require twice more evaluations, e.g. for dt=5*1e-4

However, PID stepsize controller can be used with 2nd order methods as they provide error estimation. And by doing so, it decreases a lot the number of step required at higher noise levels, while still decreasing stepsize to about the same values  that I had found previously for low noise levels. See the different numbers of steps required for 3 different noise levels!

(Only last numbers of steps are plotted correctly)

$s=3 \rightarrow n_{\text{step}} \approx 2,500$
$s=1 \rightarrow n_{\text{step}} \approx 14,000$
$s=0 \rightarrow n_{\text{step}} \approx 25,000$

Since this involves 2nd order Heun method, multiply $n_{\text{step}}$ by $2$ for the number of score evaluations. So a lot less overkill than 600,000 Euler steps with constant and (necessarily) small stepsize.

Of course, when running multiple chains, they do not end at the same time since stepsize is adapted individually. But number of steps are roughly the same so far.

Annealing of Variance
Previous analysis does not hold anymore if likelihood variance or prior variance is itself inferred. This would be typically the case in cosmology where we for instance have
p(x \mid \delta_L, \sigma_8)  = \mathcal N (x \mid A\delta_L, \Sigma)\; \mathcal N(\delta_L \mid 0, \sigma_8 I ) \; \mathcal N(\sigma_8 \mid \mu_{\sigma_8}, C_{\sigma_8})

This would lead to


Usage example

Very nice addon to c# for ListenBrainz!
Do you have example of usage for this API?
There is non in the readme or the project.

That's a good point, I'll look at either adding some to the README or in the IntelliSense comments.
Short version:

you can set a few defaults statically on the ListenBrainz objects
you create a new ListenBrainz instance

this requires setting a valid user agent (used by the LB site for rate limiting); there's a few constructor forms to help with that

you call methods corresponding to the LB web API endpoints (async or non-async)

only one endpoint has been added so far

rate limiting should be handled automatically by the library based on info returned by LB

So:
var lb = new ListenBrainz("test", "1.0", "mailto:name@domain.com");
var li = lb.LatestImport("theUser");
// rate limit info should be available in lb.RateLimitInfo at this point
Console.WriteLine($"Latest import by user {li.User} was on {li.Timestamp}.");

Yeah, samples would be helpful here :) thanks!
Where can i see which members are returned to the li object?

IntelliSense should tell you that. The LatestImport method returns an ILatestImport interface; these are all in the Interfaces namespace.

I see, i checked it out.
Actually, i am sure i understand what this API can be used for if i can only get User name and latest import date.
I thought i can get the some actual data like which tracks/artists were listened to by the user.

It was just the first API endpoint I hooked up. The MusicBrainz project does have the full API, this one is just starting. I don't use LB myself, so I haven't really had much reason to do much work on it.

Just noting that this is now at 1.0 release, and has the full set of current endpoints.
Documentation is still limited to IntelliSense for now.


Respect the scan devices option for new devices

Fixes #1820
The prompt to install MobiFlight on a compatible device will now be shown only if the "Scan for compatible boards" setting is enabled.

Nice simple change! I like it.


CameraDevice failed to read preview image

2022-08-15 10:11:39.342 28908 29189 Error NatML CameraDevice 1 failed to read preview image
2022-08-15 10:11:39.373 28908 29189 Warn NdkImageReader Unable to acquire a lockedBuffer, very likely client tries to lock more than maxImages buffers
and Screen freezes after some minutes.

This has been improved in NatDevice 1.2.4. Fundamentally, what happens is that Unity's frame time is likely very high, and so camera images being sent to Unity take a long time before they are used and released. This delay backs up the native camera image queue, eventually filling and blocking it.
I recommend adding checks to ensure that MoveNet is only being run on devices that can sustain a reasonable frame rate.


Prerender Physics!

Hello! I was trying to bring up my FPS by doing the physics calculations with CANNON BEFORE doing the rendering.
Somehow, when I do the calc before rendering (saving the body's positions and quaternions frame-per-frame in an object), the model I'm using still goes through the floor as if collisions weren't activated. It only goes partly through since the object is using the last body position as a final position. The rendered scene does NOT have a CANNON.World instantiated, it is merely a Three.js scene.
However, in another scene I do the exact same thing and the collision works fine. Here comes the problem: I compared the positions and quaternions frame by frame and they are exactly the same.
Do you have any idea why this might be? Can a body's position and quaternion field sometimes not accurately display where it actually is?

Hi,
Cool approach to the problem !
It sounds like something fishy is going on in your code. Can you tell me how you store and restore the positions and quaternions?

@schteppe Hello! I'm sorry for bothering you with this, I was saving the positions incorrectly, so nevermind!
On a semirelated note, is there any way I can change a body's center of mass without an offset? I want to change the CoM but if I apply an offset to the body it makes the object pass through other objects in some parts of the mesh.

Oh, and thanks by the way :)

No problemo :)
To move the CM you put an offset on each shape when you add them. Say you want the CM more to the right.. Then move all shapes to the left. There are currently no other ways of doing this.


add additional config to fpm lwrp

Added an attribute to the fpm_pool LWRP to add additional config to the fpm pool config.

Looks like a solid imporvement! Thanks @willejs
I will do my best to get at new release (1.7.0) out by the end of the week

Cheers, I may make a few more PRs as i move this towards production. We have been using priest-jim's fork, which was better in some ways.

How can I use this properly?
php_fpm_pool "default" do   additional_config = {     'php_admin_value[upload_max_filesize]' => '20M',     'test' => 'is not present in pool config'   }   action :install end
Won't sadly work, is there something wrong with my recipe?

@Vincentv92 are you using the correct cookbook version?

@Vincentv92 Resource properties are methods not attributes. Since it's being passed as a hash, as well, you won't need curly brackets (in newer Ruby).
php_fpm_pool "default" do
  additional_config(
    'php_admin_value[upload_max_filesize]': '20M',
    'test': 'is not present in pool config'
  )
  action :install
end

@ThatGerber Good to know I can use this syntax as well, in this notation it doesn't change a thing sadly
@willejs I did a fresh clone and installation (so I assume I use the latest version 1.9) is there a way of enforcing this in my recipe?


nilaway panic: interface conversion / send on closed channel

Here's the full trace:
$ nilaway ./...
panic: interface conversion: types.Object is *types.Var, not *types.Func [recovered]
	panic: send on closed channel

goroutine 172328 [running]:
go.uber.org/nilaway/assertion/function.analyzeFunc.func1()
	/home/user/.gvm/pkgsets/go1.20/global/pkg/mod/go.uber.org/nilaway@v0.0.0-20231031155528-970a3b8379e3/assertion/function/analyzer.go:457 +0x11e
panic({0x7972e0, 0xc1a7b6e210})
	/home/user/.gvm/gos/go1.20/src/runtime/panic.go:884 +0x213
go.uber.org/nilaway/assertion/function/assertiontree.exprAsAssignmentConsumer.func3({0x878f68, 0xc071ea71c0})
	/home/user/.gvm/pkgsets/go1.20/global/pkg/mod/go.uber.org/nilaway@v0.0.0-20231031155528-970a3b8379e3/assertion/function/assertiontree/backprop_util.go:487 +0x955
go.uber.org/nilaway/assertion/function/assertiontree.exprAsAssignmentConsumer(0xc0e871b500, {0x878650?, 0xc071ea4900}, {0x0?, 0x0})
	/home/user/.gvm/pkgsets/go1.20/global/pkg/mod/go.uber.org/nilaway@v0.0.0-20231031155528-970a3b8379e3/assertion/function/assertiontree/backprop_util.go:593 +0x679
go.uber.org/nilaway/assertion/function/assertiontree.backpropAcrossSend(0x878650?, 0xc071ea4900)
	/home/user/.gvm/pkgsets/go1.20/global/pkg/mod/go.uber.org/nilaway@v0.0.0-20231031155528-970a3b8379e3/assertion/function/assertiontree/backprop.go:126 +0xb3
go.uber.org/nilaway/assertion/function/assertiontree.backpropAcrossNode(0x0?, {0x878650?, 0xc071ea4900?})
	/home/user/.gvm/pkgsets/go1.20/global/pkg/mod/go.uber.org/nilaway@v0.0.0-20231031155528-970a3b8379e3/assertion/function/assertiontree/backprop.go:76 +0x12f
go.uber.org/nilaway/assertion/function/assertiontree.backpropAcrossBlock(0xc0e871b500, 0xc0e6ae8d80)
	/home/user/.gvm/pkgsets/go1.20/global/pkg/mod/go.uber.org/nilaway@v0.0.0-20231031155528-970a3b8379e3/assertion/function/assertiontree/backprop.go:42 +0x9a
go.uber.org/nilaway/assertion/function/assertiontree.BackpropAcrossFunc({0x879e20, 0xc19991d410}, 0x466fee?, 0xc071ea49c0, {0xc071ea49c0, 0x0, 0xc07f7b08f0, 0xc19991d710, 0xc19991d6e0, 0xc19991d3e0, ...}, ...)
	/home/user/.gvm/pkgsets/go1.20/global/pkg/mod/go.uber.org/nilaway@v0.0.0-20231031155528-970a3b8379e3/assertion/function/assertiontree/backprop.go:857 +0x8de
go.uber.org/nilaway/assertion/function.analyzeFunc({0x879e20?, 0xc19991d410?}, 0xc07f7b08f0, 0xc071ea49c0, {0xc071ea49c0, 0x0, 0xc07f7b08f0, 0xc19991d710, 0xc19991d6e0, 0xc19991d3e0, ...}, ...)
	/home/user/.gvm/pkgsets/go1.20/global/pkg/mod/go.uber.org/nilaway@v0.0.0-20231031155528-970a3b8379e3/assertion/function/analyzer.go:463 +0x11e
created by go.uber.org/nilaway/assertion/function.run
	/home/user/.gvm/pkgsets/go1.20/global/pkg/mod/go.uber.org/nilaway@v0.0.0-20231031155528-970a3b8379e3/assertion/function/analyzer.go:208 +0x11ca

Thanks for the report!
NilAway in general should never panic (we have panic recovery handler at the entry point to convert the panic to diagnostics for debugging purposes, but we should never panic).
We have a fix for panic: send on closed channel and I'll create a PR shortly.
Meanwhile, it would be interesting to know what code triggered the panic:
interface conversion: types.Object is *types.Var, not *types.Func

If possible, would you mind sharing a code piece? it would help us fix the real root cause :)


Is there a carousel infinite loop?

HI, this plugin is amazing, but I was wondering if there is a carousel infinite loop function.
I want to go back to the first slide without seeing all slides in between.
thanks!

No there is not. Sorry.


Fix "Edit option below a comment is not fully visible on mobile"

Fixes #1036
fixing comment full visibility on mobile by adding new css params to CommentFooter .
Changes:

Changes on ; busy/src/client/components/CommentFooter/CommentFooter.lss

Adding new Class ;
&__bullet_br:after {
    content: "\2022";
    font-size: 14px;
    margin: 0 8px;
	display: block;
	visibility: hidden;
	line-height: 0.5;

	@media only screen and (min-width: 468px){
		display: unset;
		visibility: unset;
		line-height: 0.5;
    }
  }

Changes on ; busy/src/client/styles/modules/variables.less

Adding variable for mobile size ;
@very-small: ~"only screen and (min-width: 468px)";

Changes on ; busy/src/client/components/CommentFooter/Buttons.js

implement the new class ;
line 225 : <span className="CommentFooter__bullet_br" />

@bonustrack need deploy on this / how do i deploy this on heroku lol

some comments / but looks fine for me, I'll let @bonustrack or @Sekhmet do the final approval.

btw @Sekhmet and @bonustrack this is the same as this PR - https://github.com/busyorg/busy/pull/1166
From another contributor, but in the other PR, it doesn't work for me, this one looks fine for me though, what do you guys think?


alpine vulnerabilities is empty?

I am running clair docker version quay.io/coreos/clair:v2.0.0
I can find stuff from debian/centos/ubuntu namespaces. However, alpine namespace vulnerabilities is empty? Log file says that it is fetched?
{"Event":"running database migrations","Level":"info","Location":"pgsql.go:216","Time":"2017-05-31 09:03:26.503951"}
{"Event":"database migration ran successfully","Level":"info","Location":"pgsql.go:223","Time":"2017-05-31 09:03:27.660945"}
{"Event":"starting health API","Level":"info","Location":"api.go:85","Time":"2017-05-31 09:03:27.661554","port":6061}
{"Event":"starting main API","Level":"info","Location":"api.go:52","Time":"2017-05-31 09:03:27.661448","port":6060}
{"Event":"updater service started","Level":"info","Location":"updater.go:80","Time":"2017-05-31 09:03:27.662360","lock identifier":"569b805a-9386-451a-963b-81a5526f4a0c"}
{"Event":"sender configured","Level":"info","Location":"notifier.go:66","Time":"2017-05-31 09:03:27.663202","sender name":"webhook"}
{"Event":"notifier service started","Level":"info","Location":"notifier.go:82","Time":"2017-05-31 09:03:27.663282","lock identifier":"24a0d644-5ed5-44d3-bcfb-ee7255be2bf3"}
{"Event":"updating vulnerabilities","Level":"info","Location":"updater.go:167","Time":"2017-05-31 09:03:27.670521"}
{"Event":"fetching vulnerability updates","Level":"info","Location":"updater.go:213","Time":"2017-05-31 09:03:27.670596"}
{"Event":"Start fetching vulnerabilities","Level":"info","Location":"ubuntu.go:88","Time":"2017-05-31 09:03:27.670701","package":"Ubuntu"}
{"Event":"Start fetching vulnerabilities","Level":"info","Location":"debian.go:63","Time":"2017-05-31 09:03:27.671019","package":"Debian"}
{"Event":"Start fetching vulnerabilities","Level":"info","Location":"oracle.go:119","Time":"2017-05-31 09:03:27.671100","package":"Oracle Linux"}
{"Event":"Start fetching vulnerabilities","Level":"info","Location":"rhel.go:92","Time":"2017-05-31 09:03:27.671187","package":"RHEL"}
{"Event":"Start fetching vulnerabilities","Level":"info","Location":"alpine.go:52","Time":"2017-05-31 09:03:27.671285","package":"Alpine"}
{"Event":"finished fetching","Level":"info","Location":"updater.go:227","Time":"2017-05-31 09:03:29.893982","updater name":"rhel"}
{"Event":"finished fetching","Level":"info","Location":"updater.go:227","Time":"2017-05-31 09:03:35.194735","updater name":"alpine"}
{"Event":"finished fetching","Level":"info","Location":"updater.go:227","Time":"2017-05-31 09:03:39.099859","updater name":"debian"}
{"Event":"Handled HTTP request","Level":"info","Location":"router.go:57","Time":"2017-05-31 09:03:48.338003","elapsed time":84300544,"method":"GET","remote addr":"<IP_ADDRESS>:41766","request uri":"/v1/namespaces/alpine:3.5.0/vulnerabilities?limit=100","status":"200"}
{"Event":"Handled HTTP request","Level":"info","Location":"router.go:57","Time":"2017-05-31 09:03:57.252972","elapsed time":1343642,"method":"GET","remote addr":"<IP_ADDRESS>:41892","request uri":"/v1/namespaces","status":"200"}
{"Event":"Handled HTTP request","Level":"info","Location":"router.go:57","Time":"2017-05-31 09:04:10.840364","elapsed time":109488,"method":"GET","remote addr":"<IP_ADDRESS>:48622","request uri":"/v1/namespaces/alpine:3.4.6/vulnerabilities","status":"400"}
{"Event":"Handled HTTP request","Level":"info","Location":"router.go:57","Time":"2017-05-31 09:04:14.558453","elapsed time":82852423,"method":"GET","remote addr":"<IP_ADDRESS>:42128","request uri":"/v1/namespaces/alpine:3.4.6/vulnerabilities?limit=100","status":"200"}
{"Event":"Handled HTTP request","Level":"info","Location":"router.go:57","Time":"2017-05-31 09:04:17.810441","elapsed time":1196130,"method":"GET","remote addr":"<IP_ADDRESS>:48726","request uri":"/v1/namespaces","status":"200"}
{"Event":"Handled HTTP request","Level":"info","Location":"router.go:57","Time":"2017-05-31 09:04:38.194043","elapsed time":126534357,"method":"GET","remote addr":"<IP_ADDRESS>:42458","request uri":"/v1/namespaces/centos:7/vulnerabilities?limit=10","status":"200"}
{"Event":"Handled HTTP request","Level":"info","Location":"router.go:57","Time":"2017-05-31 09:04:43.434636","elapsed time":1292704,"method":"GET","remote addr":"<IP_ADDRESS>:49076","request uri":"/v1/namespaces","status":"200"}
{"Event":"Handled HTTP request","Level":"info","Location":"router.go:57","Time":"2017-05-31 09:04:53.507397","elapsed time":1852816,"method":"GET","remote addr":"<IP_ADDRESS>:42672","request uri":"/v1/namespaces/alpine/vulnerabilities?limit=10","status":"404"}
{"Event":"Handled HTTP request","Level":"info","Location":"router.go:57","Time":"2017-05-31 09:05:01.635929","elapsed time":69408252,"method":"GET","remote addr":"<IP_ADDRESS>:42786","request uri":"/v1/namespaces/alpine:3.5.0/vulnerabilities?limit=10","status":"200"}
{"Event":"Handled HTTP request","Level":"info","Location":"router.go:57","Time":"2017-05-31 09:05:07.641759","elapsed time":90434150,"method":"GET","remote addr":"<IP_ADDRESS>:49418","request uri":"/v1/namespaces/alpine:3.4.6/vulnerabilities?limit=10","status":"200"}
{"Event":"Handled HTTP request","Level":"info","Location":"router.go:57","Time":"2017-05-31 09:05:12.764114","elapsed time":69985652,"method":"GET","remote addr":"<IP_ADDRESS>:42940","request uri":"/v1/namespaces/alpine:3.5.2/vulnerabilities?limit=10","status":"200"}
(ahtaaja-api)  ahtaaja-api [master●●] % curl https://clair.foobar.com/v1/namespaces/alpine:3.5.2/vulnerabilities\?limit\=10
{"Vulnerabilities":null}

alpine files can be found in /tmp/
/go/src/github.com/coreos/clair # cat /tmp/alpine-secdb834302531/v3.5/main.yaml |wc -l
428

Ok, I found the problem
My all alpine images are returning namespace like following

hmm, actually it might be that there was something weird in database because I upgraded this from clair v1 to clair v2. Now with empty database it works.


A scientist can discover gene functions from within cellxgene

As a scientist who has discovered a gene of interest using cellxgene, I want to understand what that gene does without having to leave the cellxgene application
REQ: I can view a short summary of the gene, when it is available.
REQ: I can view any synonyms of the gene, when synonyms exist.
REQ: I can view the tissues in which this gene is known to be expressed
See Also:
Significant discussion of candidate APIs to provide the above information: chanzuckerberg/cellxgene#96

Closing as a duplicate of https://app.zenhub.com/workspaces/single-cell-5e2a191dad828d52cc78b028/issues/chanzuckerberg/single-cell-explorer/274


⚠ SceneTime has degraded performance

In 1f52492, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 2302 ms

Resolved: SceneTime performance has improved in 9581078 after 6 minutes.


Updating installation script by adding user variable expansion

[ ] All tests passed. If this feature is not already covered by the tests, I added new tests.
[ ] All static analysis checks passed.
[ ] This pull request is on the dev branch.
[ ] I used gofmt for formatting the code before submitting the pull request.

I have read the CLA Document and I hereby sign the CLA


API can't find lyrics, but CLI can

I want to expand on the issue I am seeing with the API that I mentioned here: https://github.com/moehmeni/syncedlyrics/issues/35
I ran another test today, command line versus python API.
$ syncedlyrics  -v "Faster Pussycat Don't Change that song"
DEBUG:syncedlyrics:Looking for an LRC on Lrclib
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): lrclib.net:443
DEBUG:urllib3.connectionpool:https://lrclib.net:443 "GET /api/search?q=Faster+Pussycat+Don%27t+Change+that+song HTTP/1.1" 200 17527
DEBUG:urllib3.connectionpool:https://lrclib.net:443 "GET /api/get/2102747 HTTP/1.1" 200 3743
INFO:syncedlyrics:synced-lyrics found for "Faster Pussycat Don't Change that song" on Lrclib

The lyrics for the song are then dumped to stdout.
Now, if I run this python code:
import syncedlyrics

providers = ["NetEase", "LrcLib", "Musixmatch"]

lrc = syncedlyrics.search("Faster Pussycat Don't Change That Song", allow_plain_format=True, save_path="test.lrc", providers=providers)
print(lrc)

No lyrics.
After some more debugging, I found that using "providers" causes the issue.

I was out of date, I think.  Sorry for the false alarm!


how can the input be a dense input in c api

Thanks for participating in the XGBoost community! We use https://discuss.xgboost.ai for any general usage questions and discussions. The issue tracker is used for actionable items such as feature proposals discussion, roadmaps, and bug tracking.  You are always welcomed to post on the forum first :)
Issues that are inactive for a period of time may get closed. We adopt this policy so that we won't lose track of actionable issues that may fall at the bottom of the pile. Feel free to reopen a new one if you feel there is an additional problem that needs attention when an old one gets closed.
For bug reports, to help the developer act on the issues, please include a description of your environment, preferably a minimum script to reproduce the problem.
For feature proposals, list clear, small actionable items so we can track the progress of the change.

Are the two structure the sparse input?(xgboost::SparseBatch  and xgboost::io::DataMatrix)

I train a model in python sklearn using dense input(libsvm data.toarray()).Then I predict the result in python with dense input.The result is different from the prediction in c with both SparseBatch and DataMatrix input.But the prediction in c is the same as the prediction in python with sparse input.So I get the conclusion that the c api inputs (xgboost::SparseBatch and xgboost::io::DataMatrix) are sparse. Is this right?How can I get the dense input in c ? I train the model in python sklearn with both sparse input and dense input.But the dense input has higher accuracy.So I need to know How can I get the dense input in c?Thank you

C:
std::string test_path = "2_output_vaild.fea.com.1";//libsvm
data = xgboost::io::LoadDataMatrix(test_path.c_str(),  silent != 0, use_buffer != 0, loadsplit);
m_learner.Predict(*data, 0, &preds, 0,0);
python:
X_train,Y_train = load_svmlight_file(f_path)
X_train = X_train.toarray()         // The result is the same if this row is deleted,If this row exists,the result is different.
for x in X_train:
self.clf._le = LabelEncoder().fit(['label0', 'label1','label2', 'label3'])
prob_pos = self.clf.predict_proba(x)

The C++ codebase uses sparse format to store data. So dense inputs will need to be converted to sparse (CSR) layout.


slow request times

I'm getting slow request times.
This happens when I reference the remote db in mongolab (I'm from Argentina so there might be a bit of lag).
But when I reference the local mongodb instance, there's no lag.
Does that mean that no matter the request, the db is being hit? Is this on purpose, by accident, or am I doing something wrong (which I hope)?

I'm not able to instruct you on how to appropriately reproduce this at this moment. Maybe adding a setTimeout to the right middleware that's doing the mongo requests, but I'm not sure which one is.
Thanks for reading!

Nevermind, it's ok that I'm getting such high latency, my internet connection is bad, and I'm pretty far away from the db. I see this project is using mongo as a session store, which I wasn't taking into account.


⚠ Processors has degraded performance

In b8858e2, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 96 ms

Resolved: Processors performance has improved in 6a44ef3.


updating

Docs Build status updates of commit f72789a:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

.openpublishing.publish.config.json
:x:Error

Details

Line 117: [Error] Restore nuget package W:\i0ps-s\.optemp\dependentPackages\opbuild.templates.azurecli\packages.config in folder:W:\i0ps-s\.optemp\packages failed, possibly due to transient errors from nuget servers. Please retry building your content. If the issue still happens, open a ticket in https://SiteHelp and include the build report and the following error message for our team to troubleshoot: Errors in packages.config projects     Unable to find version '1.81.1' of package 'opbuild.templates.azurecli'.       C:\Users\ContainerAdministrator\.nuget\packages\: Package 'opbuild.templates.azurecli.1.81.1' is not found on source 'C:\Users\ContainerAdministrator\.nuget\packages\'.       https://www.myget.org/F/op/api/v2: Package 'opbuild.templates.azurecli.1.81.1' is not found on source 'https://www.myget.org/F/op/api/v2'.

.openpublishing.publish.config.json

Line 289: [Error] Restore of dependent packages failed. Please check your .openpublishing.publish.config.json?on the configuration of the dependent packages or ask for help?in Docs Support teams channel. Please also include the following error code for our team to troubleshoot: 1

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit f72789a:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

.openpublishing.publish.config.json
:x:Error

Details

Line 117: [Error] Restore nuget package W:\lmvt-s\.optemp\dependentPackages\opbuild.templates.azurecli\packages.config in folder:W:\lmvt-s\.optemp\packages failed, possibly due to transient errors from nuget servers. Please retry building your content. If the issue still happens, open a ticket in https://SiteHelp and include the build report and the following error message for our team to troubleshoot: Errors in packages.config projects     Unable to find version '1.81.1' of package 'opbuild.templates.azurecli'.       C:\Users\ContainerAdministrator\.nuget\packages\: Package 'opbuild.templates.azurecli.1.81.1' is not found on source 'C:\Users\ContainerAdministrator\.nuget\packages\'.       https://www.myget.org/F/op/api/v2: Package 'opbuild.templates.azurecli.1.81.1' is not found on source 'https://www.myget.org/F/op/api/v2'.

.openpublishing.publish.config.json

Line 289: [Error] Restore of dependent packages failed. Please check your .openpublishing.publish.config.json?on the configuration of the dependent packages or ask for help?in Docs Support teams channel. Please also include the following error code for our team to troubleshoot: 1

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit f72789a:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

.openpublishing.publish.config.json
:x:Error

Details

Line 117: [Error] Restore nuget package W:\t2yr-s\.optemp\dependentPackages\opbuild.templates.azurecli\packages.config in folder:W:\t2yr-s\.optemp\packages failed, possibly due to transient errors from nuget servers. Please retry building your content. If the issue still happens, open a ticket in https://SiteHelp and include the build report and the following error message for our team to troubleshoot: Errors in packages.config projects     Unable to find version '1.81.1' of package 'opbuild.templates.azurecli'.       C:\Users\ContainerAdministrator\.nuget\packages\: Package 'opbuild.templates.azurecli.1.81.1' is not found on source 'C:\Users\ContainerAdministrator\.nuget\packages\'.       https://www.myget.org/F/op/api/v2: Package 'opbuild.templates.azurecli.1.81.1' is not found on source 'https://www.myget.org/F/op/api/v2'.

.openpublishing.publish.config.json

Line 289: [Error] Restore of dependent packages failed. Please check your .openpublishing.publish.config.json?on the configuration of the dependent packages or ask for help?in Docs Support teams channel. Please also include the following error code for our team to troubleshoot: 1

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit f72789a:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

.openpublishing.publish.config.json
:x:Error

Details

Line 117: [Error] Restore nuget package W:\e0xw-s\.optemp\dependentPackages\opbuild.templates.azurecli\packages.config in folder:W:\e0xw-s\.optemp\packages failed, possibly due to transient errors from nuget servers. Please retry building your content. If the issue still happens, open a ticket in https://SiteHelp and include the build report and the following error message for our team to troubleshoot: Errors in packages.config projects     Unable to find version '1.81.1' of package 'opbuild.templates.azurecli'.       C:\Users\ContainerAdministrator\.nuget\packages\: Package 'opbuild.templates.azurecli.1.81.1' is not found on source 'C:\Users\ContainerAdministrator\.nuget\packages\'.       https://www.myget.org/F/op/api/v2: Package 'opbuild.templates.azurecli.1.81.1' is not found on source 'https://www.myget.org/F/op/api/v2'.

.openpublishing.publish.config.json

Line 289: [Error] Restore of dependent packages failed. Please check your .openpublishing.publish.config.json?on the configuration of the dependent packages or ask for help?in Docs Support teams channel. Please also include the following error code for our team to troubleshoot: 1

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit f72789a:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

azureadps-2.0-preview/AzureAD/Get-AzureADMSGroup.md
:white_check_mark:Succeeded

azureadps-2.0-preview/AzureAD/New-AzureADMSGroup.md
:white_check_mark:Succeeded

azureadps-2.0-preview/AzureAD/Set-AzureADMSGroup.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


chore: rename credential to client

BREAKING CHANGE:  Renames the credential field on the ADCResponse to client.  Previous code like this:
const res = await auth.getApplicationDefault();
const client = res.credential;

Now will look like this:
const res = await auth.getApplicationDefault();
const client = res.client;

Resolves #298.

Codecov Report

Merging #306 into next will not change coverage.
The diff coverage is 94.73%.

@@           Coverage Diff           @@
##             next     #306   +/-   ##
=======================================
  Coverage   95.32%   95.32%
=======================================
  Files          14       14
  Lines         898      898
  Branches      187      187
=======================================
  Hits          856      856
  Misses         42       42

Impacted Files
Coverage Δ

src/auth/googleauth.ts
97.21% <94.73%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


RACK wiki pages sometimes open with incorrect titles

The  element for the "RACK Predefined Queries" wiki page is "RACK CLI" - this means that the title of a browser tab displaying this page is misleading.
There may be other examples of Wiki pages with incorrect titles - I've not checked exhaustively.

Upon further investigation,  it would appear that GitHub is occasionally opening Wiki pages with an incorrect <title> element - however, this doesn't seem to happen consistently.
It may have something to do with whether I open the page directly or in a new tab, or it may be to do with the page from which I open the wiki page, but it has happened at least twice to two different Wiki pages.
If I can reproduce the problem, I will add a note to this issue.


Blog index styling

READY FOR REVIEW
Note: I've merged off of #61 on the hope that that will reduce the number merge conflicts (will obviously deal with any merge conflicts if they do come up)
Styling is based loosely on a simplified version of Torchbox's blog for lack of my own imagination

[x] Style tags
[x] Style columns
[x] Style blog items
[x] Try and reduce the amount of verbosity I'm using in the CSS

Slight issue here that we don't currently - that I can see - get a list of tags to return outside of the individual blog object on the index page. The loop that is currently in the template doesn't return anything, and I can't see how it would do. @daaray am I being really daft and missing something? Happy to make the changes to the BlogIndexPage model if the isn't already there but might do as a different PR since it feels quite different from the styling.

So I think this is ready for review.
Various different viewports

Some questions:
I've rather stubbornly not put the images as background elements in divs. That would be easier to style, but is semantically wrong and would mean we couldn't use <picture> elements. Since we're not using <picture> elements anywhere though I'm totally open to someone suggesting that we should just make them background images as a slightly more pragmatic way of dealing with them. Thoughts?
I've not dealt with edge cases where there are an uneven number of blog items. That feels like a nice to have, and something I'd be happy to wheel back to, but not something I feel needs to be dealt with in this PR?
I've used flexbox, and though I haven't tested, I doubt this will play well with a non-flexbox browser. I don't think that's necessary. Looking at caniuse it has 86% coverage. Do you guys think that's okay?
Probably something for an issue/ other PR but tags feel a little sub-optimal at the moment insomuch as we lose reference to all the other tags and lose reference to the index page title and intro. I wonder whether we should call a specific tag template page that's slightly simpler than the design blog one?

+1 on Flexbox.
I have an uneven number of posts and it doesn't look weird - just stops where it stops. All good.

tags feel a little sub-optimal at the moment insomuch as we lose reference to all the other tags and lose reference to the index page title and intro.

Let's feel it out and do a separate PR if needed.

Since you branched off #61, we should be able to close that one without merging if this one is merged right?

Yes, exactly right @shacker. #61 can be closed. The comment I left on it (e.g. whether we want to have the square image etc.) can be picked up later in a different issue/PR.


iOS TLS 1.3 - Security protocol is not supported.

I receive an error when using:
WatsonTcpClient(host,port,path,password,TlsVersion.Tls13);
System.PlatformNotSupportedException: The requested security protocol is not supported.
Testing on iOS 17.3.1 (not AOT)

Sorry for the delay @hitchhiker thank you for letting us know.  This is, unfortunately, something that would require an update on Microsoft's side; not something we can do anything about.


Add self reported degree requirements list

Students can add their enrolled courses to their Degree Requirements list. This is so that the student can keep track of their own degree requirements and track their progress.
This work is exploratory and may not be added if it either doesn't make sense or isn't accomplishable.

Closed as duplicate of #235


Azure IoT Edge OPC publisher Module Not sending the defined parameters

Hi Team,
We are using IoT Edge OPC publisher Module to publish the data from our OPC server to IoT hub. Initially it was sending the data with the below schema.

And Now its not updated to as per the below one.

The difference between both of the schema is ApplicationUri  and EndpointUrl
We have multiple OPC servers and we are segregating the data based on OPC servers in Azure Stream Analytics Jobs. Since this was updated, our data segregation is gets affected and none of the data is getting processed by our Job.
Thanks in advance for your support.

@A-DavidJeyapaul, that's right, we fixed a regression in 2.8.2 related to the EdnpointUrl that leads to this behavior. If you need the ApplicationUri, you can get that adding a cli argument: --FullFeaturedMessage=true (--fm=true). This will add the application uri to the message as well. more details on the telemetry payload here.

Thanks for your support @cristipogacean and apologize for delayed response.


Addition and subtraction overflow and out of bound array access

The spec specifies that if the runtime "panics", the block is considered invalid. However, in real life, we need to properly return errors. In the specs, assert can be easily turned into errors. However, there're several cases where addition/subtraction can overflow (such as deposit counting), and array access can be out of bound (such as merkle proof validation) for invalid states/blocks. It would be great to add additional assert in the spec to clearly document them.

I wouldn't be opposed to all unhandled exceptions being thrown by an explicit assert :) Fuzz testing can help detect lingering implicit exceptions.

I'll list IndexError exceptions found by my fuzzer here:
process_proposer_slashing:
proposer = state.validator_registry[proposer_slashing.proposer_index]

process_voluntary_exit:
validator = state.validator_registry[exit.validator_index]

process_attestation:
  File "/home/jhg/eth-2019/x/eth2.0-fuzzing/files/fuzzers/block/pythonlib/eth2spec/phase0/spec.py", line 1211, in process_attestation
    parent_crosslink = state.current_crosslinks[data.crosslink.shard]
  File "/home/jhg/eth-2019/x/eth2.0-fuzzing/files/fuzzers/block/pythonlib/eth2spec/utils/ssz/ssz_typing.py", line 269, in __getitem__
    return self.items[key]
IndexError: cannot fit 'int' into an index-sized integer

Closing. These additional asserts won't make it into the near-frozen spec.
pyspec/SSZ-typing do throw for under and overflows so at least this isn't blindly happening in the spec anymore


Update Jenkinsfile to use external library

I’ll work out why this is failing tests a bit later and get it merged.

I’ll work out why this is failing tests a bit later and get it merged.

I pressed rebuild, it passed.


fix resolver crash when parent class has undeclared type parameters

resolveTypeMember should return false if there was an error and true otherwise.  We were not correctly returning false in all cases.
Motivation

Fixes #3107
Test plan

See included automated tests.

We have a policy of testing changes to Sorbet against Stripe's codebase before
merging them. I've kicked off a test run for the current PR.  When the build
finishes, I'll share with you whether or how it failed. Thanks!
Stripe employees can see the build result here:
→ https://go/builds/bui_IH9HfoMN0dz5wY

@elliottt and I spent some time this afternoon poking at this, and discovered that the crash seems to have resolved itself (pun mostly intended) in the time between this PR being submitted and now.  We agreed that closing the PR was appropriate, both because it was fixed and because dealing with __STDLIB_INTERNAL stuff when you're not actually in the stdlib seemed a little weird.


CacheAsBitmap on resolution > 1

cacheAsBitmap not apply resolution when generate RenderTexture
For devices with resolution > 1 this is produce a pixelation.
Expected Behavior
CacheAsBItmap save pixel density for cached elements
Current Behavior
cacheAsBitmap reduce resolution for texture
Possible Solution
Put resolution property from renderer to render texture
https://github.com/pixijs/pixi.js/blob/dev/packages/mixin-cache-as-bitmap/src/index.ts#L209

Environment

pixi.js version:  >5.0.0
Browser & Version: all
Running Example: https://www.pixiplayground.com/#/edit/9fx2o5h41xntmYvbVd-Ed

Hi, Maybe I helped you a little bit - https://www.pixiplayground.com/#/edit/9fx2o5h41xntmYvbVd-Ed

cacheAsBitmap I believe considers PIXI.settings.RESOLUTION when creating the RenderTexture.

@bigtimebuddy  renderer resolution and settings Resolution is not same.
settings resolution is default resolution, but a lot of people pass resolution to rendered and forget about it.
Anyway a cacheAsBitmap should has certain behaviour.

Is there a case for PIXI.settings.RESOLUTION being updated if resolution option is passed on to renderer constructor? Is there any time where them being different is a good thing?

I think the case for RESOLUTION being independent is for optimization. Say you set your max resolution with the Renderer (eg 2), but setting RESOLUTION (eg 1) will allow you to default use a resolution with lower memory impact. CacheAsBitmap will use 1 instead of 2 which may be desirable in some cases. I think the cacheAsBitmap API stinks because you cannot control resolution locally.

@eXponenta do you want to weigh-in on the PR?


Requiring Show a for better error message or not

Which is better?

We could use recover-rtti: https://hackage.haskell.org/package/recover-rtti

Because such case is little, I'm going to not add Show a constraint nor use recover-rtti.


feat: Pass PR number to the getPullChanges

Hi all 👋
In our CI, we are running our job on every push. This means we are relying on passing the PR number via pr-number variable. I have noticed, this was not respected in the getPullChanges method, so I added it. I also added some tests for the functionality added. Let me know if I missed something obvious!
Thank you 🤝

@davelosert Any chance I can get this reviewed?

@davelosert Perfect! Yeah I was unsure about the dist part. Thanks 🤝

Amazing, this works already! Thank you @davelosert


I found that sometimes the ngclipboard will produce the same ID

Hi!
If I have multiple different elements those binding the ngclipboard in the same page, the ngclipboard sometimes will produce same ID.
Just like ' id="ngclipboard1450668315091" ' appear two times in my program.

Hi,
Maybe #5 will solve it.
 Maybe use jsfiddle or something. That way you could test it with the proposed change.

#5 solved it :) Thank you guys


'--retention' parameter - 'outdir' folder tree is cleaned up BUT not 'html-outdir' folder tree

          Re-

In fact I think I understand.
In many places in the pgBadger perl code, the HTML generated files' destination folder is specified as:
my $dest_dir = $html_outdir || $outdir;

which basically means:
if html-outdir is specified in params then it takes this folder as destination for HTML files
and if it is not defined then it takes outdir.
The problem (and definitely a BUG) with the '--retention' folder/file deletion code is that it does not handle BOTH outdir and html-outdir.
The code only manages outdir.
In your case (your command line) you only specify outdir and NOT html-outdir.
This means your HTML files are in the outdir folder tree as well as the binary files.
And this is why:
1/ your HTML files gets deleted
2/ and because you specify '--noclean' then the binary files do not get deleted
--> this means that in your case, simply removing the '--noclean' param will solve your issue: you won't need the extra schedule task to delete the .bin files AND the HTML files gets deleted
In my case (with outdir AND html-outdir params) the current code is missing the part that processes the html-outdir folder tree exactly the same way as the outdir folder tree.
I'll declare a bug.
Hope this explanation helps.
And hopefully @darold will confirm this.
Regards.
Originally posted by @bbourgier in https://github.com/darold/pgbadger/issues/749#issuecomment-1528084370

Hi,
Just to tell you I have made a simple test.
I have simply duplicated this part:
# Clear storage when a retention is specified in incremental mode
if ( $outdir && $retention && ($saved_last_line{datetime} || $pgb_saved_last_line{datetime}) )
{
...
}

and replaced all the $outdir occurences by $html_outdir
This works well at cleaning the HTML reports part.
EXCEPT ONE THING
It does not clean-up Monthly Reports.
This is the only thing slightly different to add to the $html_outdir clean-up code.
See screenshot after adding the code:

Regards.

Good catch, commit 0e5c7d5 should solve this issue. Please give it a try and let me know.

Good catch, commit 0e5c7d5 should solve this issue. Please give it a try and let me know.

Hi,
1/
The fix you did changes the clean-up code to clean the $html_outdir folder tree if it is specified in the command line INSTEAD OF the $outdir.
At the moment, with your fix, the html-outdir is cleaned-up BUT not the outdir anymore.
From what I understand:
The '--retention' parameter purpose is to trigger clean-up on
HTML files (html-outdir)
AND
Binary files (outdir)  EXCEPT if the --noclean param is specified in the command line
Am I wrong?
This is why I was inferring that the code shall do the clean-up on BOTH folder trees (outdir AND html-outdir).
2/
And an additional issue I was mentionning in my comment:
The code you posted does the clean-up on the HTML folder tree (html-outdir) BUT I still have the MONTHLY REPORT files remaining (not deleted) and the year/month folder where they stand are not deleted either.
For instance:

I still have:
2022
-- 10 -- index.html
-- 11 -- index.html
-- 12 -- index.html
whereas they should have been deleted as well.
Regards

For 1/ you are right, commit a1bb778 will process both output directories.
About 2/ yes, this is a separate fix that I will be done later today.

Hi @darold
Starting from commit a1bb778 I have modified the cleanup code so that it works well on outdir and html-outdir AND it is simplified AND it works for monthly reports.
The logic I applied is similar to the one before
EXCEPT for the case where there is NO 'noclean' and NO 'retention' flags specified.
In this case, the current code was doing BIN cleanup for the previous month and older, even if it was run on the 1st of the month.
I have put in place a more coherent strategy (as far as I believe it is):
do BIN cleanup by simulating a retention period of 5 weeks, which is about 1 month sliding window.
So the sum-up of the strategy is:
###
### Explanation:
###
### Logic for the BINARY storage ($outdir) SHOULD be:
### If ('noclean')
###   do nothing (keep everything)
### If (NO 'noclean') and (NO 'retention'):
###   use an arbitrary retention duration of: 5 weeks
###   remove BINARY files older than LAST_PARSED_MONTH-retention
###   DO NOT CHECK for HTML file existence as OLD HTML files may be deleted by external tools
###     which may lead to BINARY files NEVER deleted
### If (NO 'noclean') and ('retention'):
###   remove BINARY files older than LAST_PARSED_MONTH-retention
###   DO NOT CHECK for HTML file existence as OLD HTML files may be deleted by external tools
###     which may lead to BINARY files NEVER deleted
###
### Logic for the HTML storage ($html_outdir || $outdir) SHOULD be:
### DO NOT check 'noclean' as this flag is dedicated to BINARY files
### If (NO 'retention'):
###   do nothing (keep everything)
### If ('retention'):
###   remove HTML folders/files older than LAST_PARSED_MONTH-retention (= y/m/d):
###   days older than d in y/m/d
###   months older than m in y/m/d
###   years older than y in y/m/d
###

And I have done extensive tests on the following cases:
(NO 'noclean') and (NO 'retention') and (outdir+html-outdir)
(NO 'noclean') and (NO 'retention') and (outdir only)
(NO 'noclean') and ('retention') and (outdir+html-outdir)
(NO 'noclean') and ('retention') and (outdir only)
('noclean') and (NO 'retention') and (outdir+html-outdir)
('noclean') and (NO 'retention') and (outdir only)
('noclean') and ('retention') and (outdir+html-outdir)
('noclean') and ('retention') and (outdir only)

ALL the tests passed OK
I can provide you with command lines and debug outputs.
So my question now is:
how can I commit (or provide you) with my changes?
(again this is a modification of:
a1bb778
and the modifications are limited to the cleanup code)
Thks in advance.


[backport] Avoid compile error in old GCC (CentOS6)

Backport of #1506

[automatic post] Jenkins, test this please.

Jenkins CI test (for commit c44070e4e1b2c13d120bd175eb35e936098f035e, target branch v4) succeeded!

LGTM!


Updated Azure Portal Framework related Firewall rules

Updated Azure Portal Framework related Firewall rules based on https://portal.azure.com/selfhelp and actual testing.

According to this website https://portal.azure.com/selfhelp
{
	"browserInfo": {
		"success": true,
		"details": {
			"browserName": "Microsoft Edge Chromium",
			"OSName": "Windows",
			"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36 Edg/<IP_ADDRESS>"
		}
	},
	"fetchManifest": {
		"success": true,
		"status": 200,
		"statusText": "",
		"details": "Manifest was successfully retrieved with a status of 200. Cosmos DB is available."
	},
	"clientSideDependencyEndpoints": {
		"success": true,
		"details": [
			{
				"name": "Hosting Service: https://ms.hosting.portal.azure.net/",
				"uri": "https://ms.hosting.portal.azure.net/api/ping",
				"status": 200,
				"statusText": ""
			},
			{
				"name": "Hosting Service: https://hosting-ms.portal.azure.net/",
				"uri": "https://hosting-ms.portal.azure.net/api/ping",
				"status": 200,
				"statusText": ""
			},
			{
				"name": "Hosting Service: https://hosting-ms.portal.azure.net/",
				"uri": "https://hosting-ms.portal.azure.net/api/ping",
				"status": 200,
				"statusText": ""
			},
			{
				"name": "Third Party Hosting Service",
				"uri": "https://hosting.partners.azure.net/api/ping",
				"status": 200,
				"statusText": ""
			},
			{
				"name": "Hosting Service: https://hosting.portal.azure.net/",
				"uri": "https://hosting.portal.azure.net/api/ping",
				"status": 200,
				"statusText": ""
			},
			{
				"name": "Hosting Service: https://hosting.portal.azure.net/",
				"uri": "https://hosting.portal.azure.net/api/ping",
				"status": 200,
				"statusText": ""
			},
			{
				"name": "Azure Resource Manager",
				"uri": "https://management.azure.com/healthcheck?api-version=2014-04-01",
				"status": 200,
				"statusText": ""
			},
			{
				"name": "React View",
				"uri": "https://reactblade.portal.azure.net/api/ping",
				"status": 204,
				"statusText": ""
			}
		]
	},
	"serviceHealthEndpoints": {
		"success": true,
		"details": [
			{
				"name": "Azure Resource Manager",
				"uri": "https://management.azure.com/healthcheck?api-version=2014-04-01",
				"status": 200,
				"statusText": "OK"
			},
			{
				"name": "Microsoft Graph",
				"uri": "https://graph.microsoft.com/v1.0/$metadata",
				"status": 200,
				"statusText": "OK"
			},
			{
				"name": "Azure Active Directory",
				"uri": "https://login.microsoftonline.com/",
				"status": 200,
				"statusText": "OK"
			},
			{
				"name": "Insights",
				"uri": "https://insights1.exp.azure.com/",
				"status": 200,
				"statusText": "OK"
			},
			{
				"name": "Graph",
				"uri": "https://graph.windows.net/v1.0/$metadata",
				"status": 200,
				"statusText": "OK"
			},
			{
				"name": "Azure Email Orchestration",
				"uri": "https://nam.comms.azure.net/",
				"status": 200,
				"statusText": "OK"
			}
		]
	},
	"loadIFrame": {
		"success": true,
		"details": "Loading an iframe was successful."
	},
	"localStorage": {
		"success": true,
		"details": "Read/write to storage was successful."
	},
	"sessionStorage": {
		"success": true,
		"details": "Read/write to storage was successful."
	},
	"webWorkers": {
		"success": true,
		"details": "All web workers responded successfully."
	},
	"cookiePersistence": {
		"success": true,
		"details": "Cookies were received by server and not stripped during request."
	},
	"requestBodyPersistence": {
		"success": true,
		"details": "Request body was not stripped while making a POST request to the server."
	}
}

@jnhs
Can you review the proposed changes?
Important: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team


Support vendor extensions

I was going to write a minimal PR for doing this, but I wasn't sure how your test setup works in order to write a minimal test for this
Also I only care about doing this at the top level (to support x-groupTag with reDoc as a front-end template).
Basically, I inserted the below block right after the definition of data in base.py (~line 145)
        # Support extension properties in the top level config
        top_level_extension_options = get_vendor_extension_fields(self.config)
        if extension_options:
            data.update(top_level_extension_options)

and added the below block to utils.py
def get_vendor_extension_fields(mapping):
    return {key: value for key, value in mapping.items() if key.startswith('x-')}

@DanCardin
The test setup is very simple, you write an application under /examples folder and the app will run in travis so you can write a function test_swag to test anything you want.
Look the exemple: https://github.com/rochacbruno/flasgger/blob/master/examples/colors.py#L76
I like the idea, so if you can send a PR would be very nice.


[common]: appVersion available as optional value

What this PR does:
Adds optional value "appVersion" to override "Chart.AppVersion" in label "app.kubernetes.io/version"
Notes for Reviewer:
Checklist:

[X] Pull Request title in format [chart]: Changed Something
[X] Updated documentation in the  README.md.gotmpl file and executed helm-docs
[X] Chart Version bumped
[X] All commits are signed-off

Thank you @gnaex,
the adjustments look good, but it looks like one commit is not yet correctly verified. Can you please correct this?

Thank you @gnaex, the adjustments look good, but it looks like one commit is not yet correctly verified. Can you please correct this?

Thank you

Thank you @gnaex, the adjustments look good, but it looks like one commit is not yet correctly verified. Can you please correct this?

Thank you @wthhub it should be signed now.


How much energy/battery power does ControlPlane use?

In Activity Monitor, it looks like ControlPlane's average energy impact is about 0.02-0.05, which is extremely low. Is this really its energy impact, or the energy impact for the preferences "app?" Is there any daemon or background process which ControlPlane uses which causes more energy to be needed? Just curious.

Depends on the number of and what kinds of evidence sources you have enabled. Many of them run on a loop and do work which is why you see the energy impact you do.

I just use one. Maybe that's why the battery usage is low. Too low...


docker service requires a TTY option

Output of docker version:
Client:
 Version:      1.12.0
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   8eab29e
 Built:
 OS/Arch:      linux/amd64

Server:
 Version:      1.12.0
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   8eab29e
 Built:
 OS/Arch:      linux/amd64

Output of docker info:
Containers: 53
 Running: 0
 Paused: 0
 Stopped: 53
Images: 13
Server Version: 1.12.0
Storage Driver: devicemapper
 Pool Name: docker-253:0-1032817-pool
 Pool Blocksize: 65.54 kB
 Base Device Size: 10.74 GB
 Backing Filesystem: xfs
 Data file: /dev/loop0
 Metadata file: /dev/loop1
 Data Space Used: 1.458 GB
 Data Space Total: 107.4 GB
 Data Space Available: 37.56 GB
 Metadata Space Used: 6.697 MB
 Metadata Space Total: 2.147 GB
 Metadata Space Available: 2.141 GB
 Thin Pool Minimum Free Space: 10.74 GB
 Udev Sync Supported: true
 Deferred Removal Enabled: false
 Deferred Deletion Enabled: false
 Deferred Deleted Device Count: 0
 Data loop file: /var/lib/docker/devicemapper/devicemapper/data
 WARNING: Usage of loopback devices is strongly discouraged for production use. Use `--storage-opt dm.thinpooldev` to specify a custom block storage device.
 Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
 Library Version: 1.02.107-RHEL7 (2015-10-14)
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local nimble
 Network: null bridge host overlay
Swarm: active
 NodeID: 8857oygvwnu30na829rdb7y2j
 Is Manager: true
 ClusterID: cbxpmne2d14dzvgnfwuh9w65i
 Managers: 3
 Nodes: 3
 Orchestration:
  Task History Retention Limit: 5
 Raft:
  Snapshot interval: 10000
  Heartbeat tick: 1
  Election tick: 3
 Dispatcher:
  Heartbeat period: 5 seconds
 CA configuration:
  Expiry duration: 3 months
 Node Address: <IP_ADDRESS>
Runtimes: runc
Default Runtime: runc
Security Options: seccomp
Kernel Version: 3.10.0-327.el7.x86_64
Operating System: CentOS Linux 7 (Core)
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 489.4 MiB
Name: ping
ID: CYLJ:J4E3:LVIE:FVPH:BW2Z:FHQU:6DLC:7QT7:O4NO:GEFC:Q6LU:WESM
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Insecure Registries:
 <IP_ADDRESS>/8

Additional environment details (AWS, VirtualBox, physical, etc.):
Vagrant on VMware Fusion
Steps to reproduce the issue:

Run any image that requires a TTY as a "docker service" (I've been using jenserat/samba-publicshare)
Watch it fail indefinitely

Describe the results you received:
smbd dies
Describe the results you expected:
smbd dies unless there's a TTY
Additional information you deem important (e.g. issue happens only occasionally):
Please add a -t flag to "docker service create"

Related: #25303.

Filed docker/swarmkit#1370 and docker/engine-api#364.

I'm looking into a couple of ways to support services that require a tty at the runtime level instead of allocating one in the daemon.  I have your example working but looking at getting checkpoint and restore to work with it as one of the big benefits for not having tty's in the service is to allow advanced features in the future.

@drajen @crosbymichael Were you able to find a workaround?

Sorry for the lag.
I think it is safe to add tty support to swarm and it does not directly hurt portability.  I don't have a better alternative at this point and adding this to swarm has the lowest impact on other aspects of the system.
+1 for adding tty support.

Created a PR #28076 for --tty in service create.


WIP: examples: adds an agent storing keys on TPMs

This relies on APIs I'd like to add into tss-esapi crate
TODO:

[ ] plug tokio graceful shutdown, it currently leaks objects in the TPM.

I like the idea and where this is going. I've been thinking about the same with a couple of different design decisions:
I'd use create_primary with NIST-P256 curve and a static set of parameters on start (e.g. static unique value). That'd guarantee that the TPM-backed key is always the same and the key generation via EC is fast enough not to notice anyway. That'd remove the need to store any state making the code a bit cleaner.

I'd use create_primary with NIST-P256 curve and a static set of parameters on start (e.g. static unique value). That'd guarantee that the TPM-backed key is always the same and the key generation via EC is fast enough not to notice anyway. That'd remove the need to store any state making the code a bit cleaner.

Yeaaah, but then I need a completely different abstraction over in tss-esapi. (I want to demo the use of a signer).


how to obtain the center point coordinates

Hi, thanks for your excellent work.
I am wondering how can I obtain the center point coordinates of the 3d bounding boxes?
Many thanks

just draw a line between vertex 0 and 6 and choose the half point
def plot_center_point(im, obj3d, camera, frame):     cv_im = im.copy()     center = [obj3d.vertices[0]*0.5 + obj3d.vertices[6]*(1-0.5)]     uv, d = camera.project_vertices(np.asarray(center), frame)     cv2.circle(cv_im, (uv[0][0],uv[1][0]), 10, (255,0,0), -1)     return cv_im


Interrupt transaction

Good day :)
How can we interrupt a long running transaction? My use case is that a transaction that's running longer than X milliseconds needs to be killed. Seems like the functionality is available on the database:
Interrupt A Long-Running Query
https://www.sqlite.org/c3ref/interrupt.html
And based on some SO answer, the interface is available in the sqlite3 Python library, as conn.interrupt():
https://stackoverflow.com/questions/43240496/python-sqlite3-how-to-quickly-and-cleanly-interrupt-long-running-query-with-e
The docs for better-sqlite3 do not cover this feature, and indeed the API doesn't seem to be available.
Any ideas on how to get this done?
Thank you in advance, and be well.

Given that the API of better-sqlite3 is synchronous, how would an interript API on your end be used? Would you spawn a second thread that calls sqlite3_interrupt after a given time if the main thread didn't tell you that it's done? In this case you could also reverse your logic and have the long running transaction in a worker thread and kill the worker thread after a timeout. I'm doing something similar using https://github.com/piscinajs/piscina but maybe that's not the cleanest approach.

That's a very good point, I'll be thinking of this approach, however I still feel this is not quite correct for our use case, and I'll elaborate on it.
The core of our code is very much synchronous, so much that we are using the Transaction as a mutex, so no client can use the database at the same time.
This is working well for us, and the only missing requirement is to cap the time a client can keep a lock of the database. Having a separate thread to interrupt sqlite, as you imagined, is what we envision.

How about a timeout  option to db.transaction(), or db.transaction()(), that internally uses sqlite3_interrupt and throws?

@spazmodius I personally would prefer a more generic approach, so that use-cases such as hitting a button (think DB Browser for SQLite) can cancel a transaction as well

Heh, right.  Even my suggestion would require using a timer that doesn't depend on the event loop 😕

You can't send a database connection from one thread to another using Node.js worker threads, so how would you invoke the interrupt function from another thread?

I'm also looking for a way to interrupt long running select statements, same use case as OP. I've tried launching the queries in their own worker thread and terminating the thread, but the thread doesn't exit immediately and the query still runs to completion.
Progress handlers seem like a powerful solution - but for a simple solution, why not a query timeout parameter on the connection or on individual queries, similar to the options.timeout for waiting on a locked db?

Are you calling worker.terminate() from the parent

Yes, but in nodejs, it might be the case that nodejs is failing to terminate properly - ref https://github.com/nodejs/help/issues/3332

How would that be implemented?

I'm not sure on the details, but I'm not necessarily looking to interrupt the query arbitrarily, rather my requirement would be satisified by having the get/all return an error where the query was taking longer than X ms. Similar to how an error is returned if it takes longer than X ms to connect to the db. I guess this would be handled in the C/C++ rather than in the JS.

That sounds unrelated, it's about child processes spawned inside worker threads.

Thank you. I'm not sure of the reason, but the worker thread is only terminating when the query has completed.

That's a feature of SQLite that better-sqlite3 exposes

Agreed, sqlite provides a different way to terminate queries, but better-sqlite3 has options on how to provide this functionality. One way would be to use time-out parameters - it couldn't just hand them direct to sqlite, but I guess would need to run a watchdog thread alongside the query. It's one option I'm suggesting, but I'd be happy with any way to reliably terminate a long-running query.


[FEATURE]: Object websocket sync module.

Describe the solution you'd like
To develop a built-in module and external JS library for creating for cross-websocket object (state) synchronisation.
The idea is to the ability to define a state under a proxy, that all changes to that object, are resolved into "commits", each commit will then be applied in order to either side, using WebSocket for the live state change, and the Proxy API for being able to listen for and watch the changes. Additionally some form of fall-back storage solution, whether it gets written to the database, or something else.
Additional context
Add any other context or screenshots about the feature request here.
Possibly using something like: https://github.com/DistributedObjectProtocol/dop

Removed from release, as this is something I want to look at for another release instead.


Improve documentation of :required option for cast_embed and cast_assoc

Nuance what 'required' actually means for one-style and many-style embeds/assocs.
This came from the confusion that one could think that it's enough to have an empty array for has/embeds_many to satisfy the required validation. But when enabling this option it actually has to be an array with at least one element.

:green_heart: :blue_heart: :purple_heart: :yellow_heart: :heart:


spatial kernel weight (spatial lag variable) calculated with NAN

Hi,
I am following your data borrowing tutorial to calculate the spatial lag variable('price') with Gaussian kernel weight , it succeeded in find all the closest kW.neighbors but some rows did not get kW.weights, thus not all of the rows got the lag variable(price).
None of  the rows of  the  coordinates geometries or price columns are  nan or zero. So I am not sure what went wrong.
error are as follows:
/Users/xxx/miniconda3/lib/python3.6/site-packages/libpysal/weights/distance.py:645: RuntimeWarning: invalid value encountered in true_divide
  zi = np.array([dict(list(zip(ni, di)))[nid] for nid in nids]) / bw[i]
/Users/xxx/miniconda3/lib/python3.6/site-packages/libpysal/weights/weights.py:171: UserWarning: The weights matrix is not fully connected. There are 796 components
  warnings.warn("The weights matrix is not fully connected. There are %d components" % self.n_components)
/Users/xxx/miniconda3/lib/python3.6/site-packages/libpysal/weights/weights.py:171: UserWarning: The weights matrix is not fully connected. There are 796 components
  warnings.warn("The weights matrix is not fully connected. There are %d components" % self.n_components)

Here's the code:
lag_vars=['price']
kW = lp.weights.Kernel.from_dataframe(df.loc[:,lag_vars+['geometry']], fixed=False, function='gaussian', k=10)
kW = fill_diagonal(kW, 0)
kW.transform = 'r'
WX = lp.weights.lag_spatial(kW, df.loc[:,lag_vars])
WXtable = pd.DataFrame(WX, columns=['lag_{}'.format(name) for name in lag_vars])
fd_lag = pd.concat((df,WXtable),axis=1)

Hmm... not really sure what you mean. I've run exactly your code with df=listings in the data borrowing notebook and everything works fine. Are you using a different df?
Also, a bit odd to use the df.loc[:,columns] construct? I'd just use df[columns] unless you're actually slicing on an index & column simultaneously.

Yes, sorry I didn't mention that  I am using my own dataset.
I figure out eventually when I have a fixed bandwidth, I will always have all the  weights calculated
but if the bandwidth is adaptive or endogenous adaptive, it is not promising to get all the  weights  due to the The weights matrix is not fully connected  error with the k increases the number of non calculated weights(NAN)  will decrease. is there a way  to get a suitable k=n

Thanks for the prompt response. Can you please post the data so I can try to replicate what you're seeing?

but if the bandwidth is adaptive or endogenous adaptive, it is not promising to get all the weights due to the the weights matrix is not fully connected error.

That is a warning, and it shouldn't affect the ability of lag_spatial(W,X) to return valid results. The warning is telling you that the graph of observations is disconnected, and that there are other fully-connected subgraphs. But, in each of those graphs, the spatial lag exists, so the warning shouldn't affect what you're seeing.
it's hard for me to explore your issue without data. In general, no we don't offer a way to compute the minimum connected KNN graph, but would welcome contributions that implement that. That said, a solution to that might not solve your problem.

 Thank you for the data! this is excellent.
As I suspected, this is due to coincident points, not graph disconnection.
n_unique_points = len(set(map(tuple, data[['longitude', 'latitude']].values)))
assert n_unique_points == len(data) # fails!

What's happening in your case is that the adaptive bandwidth is zero for some site. It's zero because there are at least k observations at that site, so we don't have to leave the site to borrow any data. When the adaptive bandwidth is zero for a site, the standardization returns nan from a divide by zero, since bw[i] == 0. This is that first warning in your warning stack.
The "k" you're looking for is not the one that connects the graph. Rather, it's the smallest k where the kth neighbor of every site is not co-located at that site.
I'm real sorry the weights construction stuff has this issue, as it's hit me and some colleagues in the past, to. We've simply not had the time to resolve it. As a stopgap, you can:

replace any nan in kW.weights with kW.sparse.max(),
Use a bigger k so that you're always leaving the site to borrow data,
Add a very small bit of noise to the point's latitude and longitude.

We'll try to fix this when we can, but upvote that issue and it'll be easier to get dedicated attention.

replace any nan in kW.weights with kW.sparse.max()
will throw errors because there are nan in the matrix
So I did something like this np.nanmax(kW.sparse.toarray()), but I'm not sure if the sum of the all the weights should be 1, if the sum of the max value is  larger than one, then the final lag variable will be larger.

What about an average weighting number for coincident points by using 1/k so that the sum weights of the k neighbours should be 1 ?

I'm not sure if the sum of all the weights should be 1
Do not do the row-standardized transform until after you do the substitution. If you do the w.transform = 'r' afterwards, there will be no issue.

what about...
this is exactly what will happen with the advice I gave you if you do the transformation after the replacement. Think of the row-standardization w.transform = 'r' as the final step in the workflow, before computing the lag. Anything you do to the weights should happen before you row-standardize.