advanced date filter not updating visuals

Im trying to update some visuals filters based on the value of some slicers,
im using visual.updateFilters(models.FiltersOperations.ReplaceAll, newFilters) I'm iterating over the slices and retrieve the slicer state using getSlicerContextByName function, which works fine for sllicers that use basic filters, but when I try to do the same with a date selector slicer it wont work i can extract the date filter but it does not do anything with that.
any idea on what can be done ?
{
    "filters": [
        {
            "$schema": "http://powerbi.com/product/schema#advanced",
            "target": {
                "table": "Calendar",
                "column": "Fecha"
            },
            "filterType": 0,
            "logicalOperator": "And",
            "conditions": [
                {
                    "operator": "GreaterThanOrEqual",
                    "value": "2023-12-01T06:00:00.000Z"
                },
                {
                    "operator": "LessThan",
                    "value": "2024-02-26T06:00:00.000Z"
                }
            ]
        }
    ],
    "targets": [
        {
            "table": "Calendar",
            "column": "Fecha"
        }
    ]
}

here is the list of filters that are being updated using visual.updateFilters(models.FiltersOperations.ReplaceAll, newFilters)

We followed the steps that were mentioned and were able to reproduce the issue.
Using visual.updateFilters(models.FiltersOperations.ReplaceAll, newFilters) will filter the slicer visual only and not the entire report.  You can use Set Slicer State for the report to get Sliced along with the slicer visual.
Refer Use slicers when embedding a report in Power BI embedded analytics | Microsoft Learn for more information.
You can play with the API here Power BI Playground - Developer Sandbox


feat: add ankitpokhrel/jira-cli

https://github.com/aquaproj/aqua-registry/pull/5753 ankitpokhrel/jira-cli: Feature-rich interactive Jira command line
$ aqua g -i ankitpokhrel/jira-cli

Thanks.

🤔
https://github.com/aquaproj/aqua-registry/blob/633c48b3d59eafc49dee439f6751f23de46fb1eb/pkgs/ankitpokhrel/jira-cli/registry.yaml#L8-L9
INFO[0000] create a proxy file                           aqua_version=1.20.0-4-checksum env=windows/amd64 program=aqua proxy_path="C:\\Users\\runneradmin\\AppData\\Local\\aquaproj-aqua\\bin\\jira"
INFO[0000] create a proxy file                           aqua_version=1.20.0-4-checksum env=windows/amd64 program=aqua proxy_path="C:\\Users\\runneradmin\\AppData\\Local\\aquaproj-aqua\\bat\\jira.bat"
INFO[0000] download and unarchive the package            aqua_version=1.20.0-4-checksum env=windows/amd64 package_name=ankitpokhrel/jira-cli package_version=v1.1.0 program=aqua registry=standard
ERRO[0000] install the package                           aqua_version=1.20.0-4-checksum env=windows/amd64 error="the asset isn't found: jira_1.1.0_windows_x86_64.zip" package_name=ankitpokhrel/jira-cli package_version=v1.1.0 program=aqua registry=standard
FATA[0000] aqua failed                                   aqua_version=1.20.0-4-checksum env=windows/amd64 error="it failed to install some packages" program=aqua
Error: Process completed with exit code 1.

jira_1.1.0_windows_amd64.zip
You have to override replacements for windows.
replacements:
  amd64: amd64

BTW, I don't know why some projects require individuality in asset names...

Sorry...It was a simple misreading.

Ideally, aqua gr generates the correct replacements configuration. https://github.com/aquaproj/aqua/issues/1092

Released. https://github.com/aquaproj/aqua-registry/releases/tag/v3.39.0


Question on ConstantLengthDataset

I found the ConstantLengthDataset  quite confused, because according to classs definition in  trl/trl/trainer/utils.py, why it returns the same input_ids and lables. Does the model automatically distinguish between them? If so, how is the automatic distinguishing implemented? Do anyone know what it happens in this classs definition? Thanks!

Hi @lavine-lmu
Thanks for the issue!
In fact since this class is designed only for xxxForCausalLM models, the labels are automatically shifted by the model when computing the loss, e.g. here for llama: https://github.com/huggingface/transformers/blob/main/src/transformers/models/llama/modeling_llama.py#L1058
Therefore we just have to send labels that are identical to input_ids

@younesbelkada Thanks for clarifying this, it is more clear now.

Thanks @lavine-lmu , feel free to close the issue!


Modified Error Handling During Read/Write Operations

Module now writes/reads to/from all variables before merging upstream errors. This prevents trivial or non-critical errors (such as open thermocouple detection) from interfering with subsequent variable writes/reads.
DCO-1.1-Signed-off-by: Ian Knox<EMAIL_ADDRESS>(github: knoxberry)

Looks Good, Thanks


Default nightwatch e2e test does not work with stable chrome version

Version
3.11.0
Environment info
Environment Info:

  System:
    OS: macOS 10.14.6
    CPU: (4) x64 Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz
  Binaries:
    Node: 8.12.0 - /usr/local/bin/node
    Yarn: 1.13.0 - ~/.yarn/bin/yarn
    npm: 6.4.1 - /usr/local/bin/npm
  Browsers:
    Chrome: 76.0.3809.132
    Firefox: 68.0
    Safari: 12.1.2
  npmPackages:
    @fortawesome/vue-fontawesome: ^0.1.6 => 0.1.6
    @vue/babel-helper-vue-jsx-merge-props:  1.0.0
    @vue/babel-plugin-transform-vue-jsx:  1.0.0
    @vue/babel-preset-app:  3.11.0
    @vue/babel-preset-jsx:  1.1.0
    @vue/babel-sugar-functional-vue:  1.0.0
    @vue/babel-sugar-inject-h:  1.0.0
    @vue/babel-sugar-v-model:  1.0.0
    @vue/babel-sugar-v-on:  1.1.0
    @vue/cli-overlay:  3.11.0
    @vue/cli-plugin-babel: ^3.9.0 => 3.11.0
    @vue/cli-plugin-e2e-nightwatch: ^3.9.0 => 3.11.0
    @vue/cli-plugin-eslint: ^3.9.0 => 3.11.0
    @vue/cli-plugin-typescript: ^3.9.0 => 3.11.0
    @vue/cli-plugin-unit-jest: ^3.9.0 => 3.11.0
    @vue/cli-service: ^3.9.0 => 3.11.0
    @vue/cli-shared-utils:  3.11.0
    @vue/component-compiler-utils:  3.0.0
    @vue/eslint-config-standard: ^4.0.0 => 4.0.0
    @vue/eslint-config-typescript: ^4.0.0 => 4.0.0
    @vue/preload-webpack-plugin:  1.1.1
    @vue/test-utils: 1.0.0-beta.29 => 1.0.0-beta.29
    @vue/web-component-wrapper:  1.2.0
    bootstrap-vue:  2.0.0-rc.28
    eslint-plugin-vue: ^5.0.0 => 5.2.3 (4.7.1)
    jest-serializer-vue:  2.0.2
    portal-vue:  2.1.6
    typescript: ^3.4.3 => 3.6.2
    vue: ^2.6.10 => 2.6.10
    vue-cli-webpack:  1.0.0
    vue-eslint-parser:  5.0.0 (2.0.3)
    vue-functional-data-merge:  3.1.0
    vue-hot-reload-api:  2.3.3
    vue-jest:  3.0.4
    vue-loader:  15.7.1
    vue-router: ^3.0.7 => 3.1.2
    vue-style-loader:  4.1.2
    vue-template-compiler: ^2.6.10 => 2.6.10
    vue-template-es2015-compiler:  1.9.1
    vuedraggable:  2.23.0
    vuex: ^3.1.1 => 3.1.1
  npmGlobalPackages:
    @vue/cli: Not Found

Steps to reproduce
yarn e2e
or
npm e2e
What is expected?
cli demo e2e test runs without issue
What is actually happening?
test fails with following error:
Error retrieving a new session from the selenium server
Connection refused! Is selenium server started?
{ value:
{ message: 'session not created: Chrome version must be between 71 and 75\n  (Driver info: chromedriver=2.46.628411 ...

partial fix for this is included in 4.x

As a work around i added
  selenium: {
    cli_args: {
      'webdriver.chrome.driver': require('chromedriver').path
    }
  }

to my nightwatch.config.js
and used
yarn add --dev chromedriver

to update my chrome driver

same questtion.
hope to resolve

Same problem here...
The workaround from @connoratrug works for me - but I wanted to try the recently-learned yarn selective dependency resolutions, and tried adding
"resolutions": {
    "@vue/cli-plugin-e2e-nightwatch/chromedriver": "77.0.0"
  }

and that works, too.

Can confirm, I'm hitting the same issue, with less steps.
I expected to be able to:
$ vue create app
$ cd app
$ npm run test:e2e

Results in:

><EMAIL_ADDRESS>test:e2e /Users/.../app
> vue-cli-service test:e2e

 INFO  Starting development server...

 WARNING  Compiled with 2 warnings                                                                                12:36:39 PM

 warning

asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets:
  js/chunk-vendors.6dfafbb7.js (266 KiB)

 warning

entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
Entrypoints:
  app (273 KiB)
      js/chunk-vendors.6dfafbb7.js
      css/app.321eb6eb.css
      js/app.6128f8c9.js

  App running at:
  - Local:   http://localhost:8080/
  - Network: http://<IP_ADDRESS>:8080/

  App is served in production mode.
  Note this is for preview or E2E testing only.

Starting selenium server... started - PID:  79631

[Test] Test Suite
=====================

Running:  default e2e tests

Error retrieving a new session from the selenium server

Connection refused! Is selenium server started?
{
  value: {
    message: 'session not created: Chrome version must be between 71 and 75\n' +
      '  (Driver info: chromedriver=2.46.628411 (3324f4c8be9ff2f70a05a30ebc72ffb013e1a71e),platform=Mac OS X 10.13.6 x86_64) (WARNING: The server did not provide any stacktrace information)\n' +
      'Command duration or timeout: 2.06 seconds\n' +
      "Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53'\n" +
      "System info: host: 'MacBook-Pro.local', ip: 'fe80:0:0:0:1021:33fc:9886:a1a7%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.13.6', java.version: '1.8.0_202'\n" +
      'Driver info: driver.version: unknown',
    error: 'session not created'
  },
  status: 33
}

 ERROR  Error: Command failed: /Users/.../app/node_modules/nightwatch/bin/nightwatch --config<EMAIL_ADDRESS>--env chrome
Error: Command failed: /Users/.../app/node_modules/nightwatch/bin/nightwatch --config<EMAIL_ADDRESS>--env chrome
    at makeError (/Users/.../app/node_modules/execa/index.js:174:9)
    at /Users/.../app/node_modules/execa/index.js:278:16
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>test:e2e: `vue-cli-service test:e2e`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>test:e2e script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      /Users/.../.npm/_logs/2019-10-12T10_36_43_907Z-debug.log

Fixed in v4.

Hi.  How would I fix this in an existing project?  I am not able to update chromedriver, selenium webdriver or nightwatch without getting the below message
Error: EPERM: operation not permitted, unlink<EMAIL_ADDRESS>


Removed padding from list items to make text seem vertically middle-alig...

...ned; fixed assets.

@MargeRosen Do you want to have a look at this and merge it? Thanks!

@MargeRosen Can you merge this pull request?

Great! :) No, usually developers delete their own branches.
Thanks!
Nathalie


Model for Display framework

@bhavinbusa I have uploaded updated versions of:

model/ars_ldm.yaml
model/ars_ldm.svg
workfiles/ARS.cmap
workfiles/examples/example.yaml
workfiles/examples/example.json

Changes include in this delivery include:

Moving the definitions of outputs out of the listOfPlannedOutputs into the "outputs" property of the reportingEvent. The outputs defined in the "outputs" property are now referenced by id in the listOfPlannedOutputs
Adding "displays" as a new property of the reportingEvent. This is where the displays are defined.
Adding outputDisplays as a property of each output, which contains an ordered list of references to displays defined in the "displays" property.

There are some comments and questions included in the new parts of the cmap.
I did not implement "displayValues" as an alternative to "text" - I think this needs more discussion and would probably be its own PBI.
Please take a look and let me know if you have any comments, questions or concerns.

Hi Richard, here are my comments:
Moving the definitions of outputs out of the listOfPlannedOutputs into the "outputs" property of the reportingEvent. The outputs defined in the "outputs" property are now referenced by id in the listOfPlannedOutputs
BB Response: Sounds good - this makes perfect sense. "ListOfPlannedOutputs" can server as a Table of Content which is a very first thing one puts together when starting to develop a shell document.
Adding "displays" as a new property of the reportingEvent. This is where the displays are defined.
BB Response: Looks good, I provided an example of multiple displays within an output and where each display has different treatment arms. I wanted to discuss how such scenario can be accommodated in the current model. Does the display link to AnalysisGroup? We can discuss why you have created a "displays" in same level as the "outputs". Doesn't the display come under an output?
Adding outputDisplays as a property of each output, which contains an ordered list of references to displays defined in the "displays" property.
BB Response: Make sense, per my comment above we may just link the "displays" right here and remove it from the ReportingEvent.

Let's work through an example of the "SubSections" "DisplaySubSection" in our meeting tomorrow. Also how can have an attribute "global" title or for that matter any DisplaySectionType text so it could be used across multiple displays and outputs?

Also let's think through how do we link Displays to "AnalysisGroup" and "AnalysisSet" - as per the example shell I provided one display could have multiple sets of Analysis Group and Analysis Set (possibly?)

Moved back to the product backlog because a framework for display should include all of the pieces needed to define a display, which should include the analysis set(s), analysis group(s) and where clause(s).


chore(readme): Sort integrations in case-insensitive alphabetical order.

As a user, I think it's easier to look through the integrations in alphabetical order rather than chronological order in which support was added in catppuccin, especially if you're new to the colorscheme, or wondering, "Does this support my favorite plugins?"

Hmm, something went wrong with this edit; there's a lot more content missing than should be. Aborting and trying again later.


Change license string to IRI

[
 a sh:ValidationResult ;
 sh:resultSeverity sh:Violation ;
 sh:sourceConstraintComponent sh:NodeKindConstraintComponent ;
 sh:sourceShape _:n3036 ;
 sh:focusNode http://ontology.tib.eu/gesah/ ;
 sh:value “https://creativecommons.org/licenses/by/4.0/” ;
 sh:resultPath _:n3037 ;
 sh:resultMessage “The ontology does not specify its license by providing an IRI for the license. The license must be open.”@en ;
 ] .

Currently it's a string, should be an IRI.

Done.


Merge pull request #2 from elixir-lang/master

merge changes

This seems to be an empty pull request. :) Wrong repo?

Oops!


Add CDF for Gaussian Distribution

Here is the Gaussian distribution class.
It contains the PDF function but currently does not have a CDF function.
I would like it contain the CDF too.
I would also like appropriate unittests to be included in the test.py file

Hi, can I work on this?

Sure thing @RimorRes !
There's just one thing though, I'll need you to start working on this from day after tomorrow, because there are certain issues that I need to sort in the codebase, which I'll be doing tomorrow. Thanks :)

Ok, so I should start working on this on the 31st of October?

@RimorRes sure. You can do that, although be sure when you make the PR, you actually refresh the fork to have the latest version of the repo :)

Sure thing!

I finished implementing the CDF for the Gaussian distribution and am currently waiting for your go-ahead.
I'm hoping this PR will count towards my Hacktoberfest objective so I'd like to submit as soon as possible if it's fine by you.

@RimorRes ah, I see.
Right, I understand. In that case, you can open a PR now, and if everything works fine I'll add the hacktoberfest-accepted label immediately. Then I'll get to actually merging it later; that way your PR counts for hacktoberfest while I also get to wait before merging it

@RimorRes Strike my last message, everything is resolved now, so you can go ahead and create the PR right away :)

#38


Broken links in documentation?

I got this email today:

Just wanted to report a broken link in this page:
http://help.exercism.io/getting-started-with-javascript.html
the link should be http://ESLint.org while it's
http://help.exercism.io/ESLint.org.
Actually it seems all 3 of links in this sentence is broken:
The old standard linter for JavaScript is JSLint. However, it is
controversially picky. JSHint is another popular linter. We suggest using
ESLint, which is more customizable than either JSLint or JSHint, and is
well-run.

This documentation has been moved to the exercism.io/languages/javascript page (documentation taken from the ./docs directory in this repository.
Would someone verify that the ./docs links are correct?

Fixed by #138


Update Sablier to v1.1.7

Name/Description
Sablier. We listed a lot of new tokens:
UFI
DANK
DNT
ART
WBAN
NATION
MIST
AURORA
FS
vFOX
COLL
POLK
GTC
XIDR
XSGD
BioFi
ALK
QI
miMATIC
LETSGO
ENS
Type
Update
Compatible Networks
Mainnet
Polygon
BSC
Rinkeby
Code for review
https://github.com/sablierhq/safe-app/releases/tag/v1.1.7
IPFS hash/App URL
https://bafybeibmazjg75eb7gb6s2pff2g6js7jmecko5krcvydn55o3fvyfxpeym.ipfs.infura-ipfs.io/
Desired date
As soon as possible.

It's already available


call effect does not infer the type

Tested with
TS: 3.7.2
typed-redux-saga: 1.0.6
How to reproduce?
import { select, call } from 'typed-redux-saga';

function someApiCall(): number {
	return 1;
}
function someSelect(): number {
	return 1;
}

export function* doStuff() {
	const result = yield* call(someApiCall)

	// variable `result` is still any
	result.lol();

	const selectResult = yield* select(someSelect)

	// gives error as expected
	selectResult.lol();
}

As you can see from the example code the the select effect infers correct type but call does not. Where is the problem? 🤔

@henrikra  Does it work if your API call is modified to return a resolved Promise i.e. return Promise.resolve(1) ?

Nope

Could you formulate this as a dtslist $ExpectType failure in index.test.ts?

I've added the tests and they all work. It could be that this was fixed accidentally by a subsequent change. I'll close this issue for now. @henrikra please reopen or create another issue if this is still an issue.
  // $ExpectType number
  yield* Effects.call(function(): number {
    return 22;
  });

  // $ExpectType number
  yield* Effects.call(() => 22);

  // $ExpectType number
  yield* Effects.call(function(): Promise<number> {
    return Promise.resolve(22);
  });

  // $ExpectType number
  yield* Effects.call(function*(): SagaIterator<number> {
    yield* Effects.take(chan);
    return 22;
  });

I have now tried again with TypeScript 3.9.6 and typed-redux-saga 1.2.0.
Still same issues with the code I have posted in the starting post. select infers correct type but call does not.
Here I hover on result and it is any

And here you can see that selectResult is number as it should

Hi @henrikra
I've just added more tests to confirm that your example infers number as expected. See https://github.com/agiledigital/typed-redux-saga/commit/d33ff9e55a7e3438ccd81012484e6b883bb646c5
Something else must be going on in your case. Maybe it's something else in your imports, maybe it's something in your tsconfig, I don't know. Please do one of the following or I can't help you:

Submit a PR to fix the issue
Submit a PR that demonstrates the issue using dtslist $ExpectType failure, as I asked for here https://github.com/agiledigital/typed-redux-saga/issues/27#issuecomment-632947824
Create a minimal reproduction in another repo so I can see what is really going on

Closing this for now to keep things tidy. @henrikra please reach out if you create a minimal reproduction.


Grab hangs when server sends unexpected TCP RST packet

I'm trying to download larger files using grab. Sometimes it works as expected, but sometimes it's hanging. After debugging, it seems server sends unexpected TCP RST packet when downloading and causing grab to hang. Is it possible to catch TCP RST packet inside grab.(*transfer).copy ?
I know, setting timeout on http client will solve hanging issue, but it's not desirable, since we don't know how long will it take to download file. Also if server sends TCP RST, there's no point waiting for timeout, it would be nice if grab performs fail-fast for us.
Download failed: net/http: request canceled (Client.Timeout exceeded while reading body)
I'm able to simulate server sending unexpected TCP RST packets, so happy to lending a hand if debugging is needed.
Here's the stacktrace when grab is hanging. For ease of read, newlines are inserted between frames.
goroutine 22 [IO wait, 6 minutes]:
internal/poll.runtime_pollWait
/usr/lib/go-1.10/src/runtime/netpoll.go:173 +0x57
internal/poll.(*pollDesc).wait
/usr/lib/go-1.10/src/internal/poll/fd_poll_runtime.go:85 +0x9b
internal/poll.(*pollDesc).waitRead
/usr/lib/go-1.10/src/internal/poll/fd_poll_runtime.go:90 +0x3d
internal/poll.(*FD).Read
/usr/lib/go-1.10/src/internal/poll/fd_unix.go:157 +0x17d
net.(*netFD).Read
/usr/lib/go-1.10/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read
/usr/lib/go-1.10/src/net/net.go:176 +0x6a
crypto/tls.(*block).readFromUntil
/usr/lib/go-1.10/src/crypto/tls/conn.go:493 +0x96
crypto/tls.(*Conn).readRecord
/usr/lib/go-1.10/src/crypto/tls/conn.go:640 +0x1fa
crypto/tls.(*Conn).Read
/usr/lib/go-1.10/src/crypto/tls/conn.go:1156 +0x100
net/http.(*persistConn).Read
/usr/lib/go-1.10/src/net/http/transport.go:1453 +0x136
bufio.(*Reader).Read
/usr/lib/go-1.10/src/bufio/bufio.go:202 +0x12c
io.(*LimitedReader).Read
/usr/lib/go-1.10/src/io/io.go:446 +0x63
net/http.(*body).readLocked
/usr/lib/go-1.10/src/net/http/transfer.go:778 +0x61
net/http.(*body).Read
/usr/lib/go-1.10/src/net/http/transfer.go:770 +0xdd
net/http.(*bodyEOFSignal).Read
/usr/lib/go-1.10/src/net/http/transport.go:2187 +0xdc
github.com/cavaliercoder/grab.(*transfer).copy
/home/bat/go/src/github.com/cavaliercoder/grab/transfer.go:48 +0xf0
github.com/cavaliercoder/grab.(*Client).copyFile
/home/bat/go/src/github.com/cavaliercoder/grab/client.go:457 +0x93
github.com/cavaliercoder/grab.(*Client).(github.com/cavaliercoder/grab.copyFile)-fm
/home/bat/go/src/github.com/cavaliercoder/grab/client.go:88 +0x34
github.com/cavaliercoder/grab.(*Client).run
/home/bat/go/src/github.com/cavaliercoder/grab/client.go:175 +0x6e
created by github.com/cavaliercoder/grab.(*Client).Do
/home/bat/go/src/github.com/cavaliercoder/grab/client.go:88 +0x229

Apologies for late response on this. I'm hoping to solve this ASAP.

I'm able to simulate server sending unexpected TCP RST packets, so happy to lending a hand if debugging is needed.

This would be super helpful, yes please! Do you have a gist or article somewhere to demonstrate this?

I'm struggling to replicate this issue. It seems sending a random RST is harder than hoped. I'm looking at sending raw socket data which seems a step too far. Do you have a code sample?
As I look into this problem, I'm forming the opinion that handling resets should be covered by Go's HTTP reader returning an error: https://golang.org/src/net/http/response.go?#L54
	// The response body is streamed on demand as the Body field
	// is read. If the network connection fails or the server
	// terminates the response, Body.Read calls return an error.

If your program is hanging, I suspect there is a more subtle bug in my error handling or the http package.

Last commit at the time of stack trace: https://github.com/cavaliercoder/grab/tree/2c8601de6d9ac140430fd4c9de28509a0b855af5
And line 48 in transfer.go:
nr, er := c.r.Read(c.b)

@cavaliercoder Sorry for late response. Let me test again with latest commit and get back to you with the result.
I'm using iptables to simulate TCP RST packet.


Wrote Lessons introduction and templated new report sections

Closes #219

I have created the issues for the added sections.


Represent complex types on the fly (reify<Some | Other>())

Split off from https://github.com/rezonant/typescript-rtti/pull/7

You can do this now. Since reflect<T>() now returns ReflectedTypeRef, it is totally valid to do reflect<Some | Other>(). You'll get back a ReflectedUnionTypeRef as expected.


Is there anything wrong in my code thanks for your help

who can help to check the listed codes thanks Please forgiving my poor english

You only need to specify options if they are different from the default. In the case of the html option, you could omit that and just use the controls option like you have.
plyr.setup({
    controls: ["play", "current-time", "duration", "mute", "volume", "captions", "fullscreen"],
});

What's your HTML markup?

i want to make the html different from the default ,but it make an error

the string i take place with the code https://github.com/Selz/plyr/blob/master/controls.md#example-1
Finally the code is

You don't need to use the controls option if you're specifying html, they are mutually exclusive. What have you changed in the HTML and what is the error?

Sorry, the controls docs were out of date. I've just updated. Try the updated code.

The same for me : I try to change the disposition of the html tags in my présentation by using a script "plyr.setup" in my template, but your explanations have no clarity. In fact I want to insert carriage returns before "plyr__controls--left" and "plyr__controls--right" for separate in 3 lines : 1-the progress, 2-the controls and 3-the timing with the sound. Have you a solution ? thanks (from France…)

You don't need line breaks. It's simple HTML. A line break (unless you mean
) means absolutely nothing. Basically it just needs to be a string.
You could use something like this:
http://www.accessify.com/tools-and-wizards/developer-tools/html-javascript-convertor/
and select Build up a string variable that you can use later then use that in your configuration. I could add more information but this is basic JavaScript and HTML knowledge.
If you want, you could use a Hogan template instead.

I think you don't understand the question. :)
1 •
In my template I start with :

2 •
And then I exactly paste your code (I will modify this later on) :
html: ["",
"",
...etc
But your code doesn't work. What to do ?
…/

There were three class names that wrong but they didn't throw an error, just made the controls look weird. I've fixed that now in the example:
https://github.com/Selz/plyr/blob/master/controls.md
I've used those exact controls here:
https://jsfiddle.net/587x93rd/
Seems to work fine for me?


creates project specific logger

fixes #150 by changing to a "project specific logger" in main, rather than calling the default. This prevents setting the underlying dependancy loggers to debug. I have tested locally.
I've also changed the config key from verbose to debug. I feel this more accurately reflects the option. Old configs with verbose = true will still work but elara will silently revert to debug = false. Normally i would think this is dodgy, but in this case I think it is appropriate.
Docs and examples updated.

Nice job!
I am wondering if it will be easy to use the existing function here to set different logging levels without introducing two parameters?
For example, verbose=info representing the loggings will be on INFO level verbose=debug representing the loggings will be on DEBUG level

well spotted! I changed the docs to push people to use either true or false. but it will also support specific levels. But I don't think really need to expose this to anyone.

The logging config change looks fine, although it would be nice to see more evidence of how you tested it locally and what happened.
On a different note - this is a user-facing change. If I'm understanding correctly, it's backwards compatible rather than breaking, but it's still a change that affects the user. As such, I think this is a minor version bump. Just looking at the current version: __version__ = "0.0.0". I think this moves it to "0.1.0".
Now might be a good time to create a CHANGELOG.md too (see here for a template), and to create a GitHub release.

I tested by creating a "verbose" example config then checked to see if the "eroneous" logging is removed in the new branch. I say "locally" because as noted in the #150 behaviour does seem to vary my environment, most likely due to loose dependancies or sketch dev installs 🦡 .
So happy if others want to check.
This PR will silently make all existing state machine configs "quiet", which means we might be hiding weird behaviour on box. But the expectation is that no one will be running debug on a box in any case. Certainly not "unsupervised".
I have added Change log but then removed release note - I do not want the duplication on a project that is entering retirement.

Since also tested on our infra. Merging


Add-ons and Themes links on  "Connect to Community" page don't work

Probably because the link is incorrect:

But I think this page / content is retrieved from concrete5.org, because I can't find the text in the source code.

I think it's because:
urlencode(\Core::getApplicationURL()) doesn't contain index.php and
urlencode($this->urlResolver->resolve(['/'])) could contain index.php.
(https://github.com/concrete5/concrete5/commit/5aafa0324d5b9f83553e265723531850ba398e56#diff-41f818cf292286471cc10d3197dc59fbR321)

I have fixed this – some new marketplace class refactoring wasn't quite right.

Tested and works now as expected 👍


{CI} Migrate fabric bot from portal to config-as-code

Why migrate fabric bot from portal to config-as-code:

As fabric bot team are preparing to move permanently to "Config As Code", they have hidden the save button to disable the capability to update the configuration in portal.
We need to update milestone every month, so we need migrate before 2022-07-05.

What will happen after migration?

The fabricbot.json file in our repo that will always take precedence than config in portal.
All update need to commit in .github/fabricbot.json.

This is a very big JSON. How do we maintain this file in the future? Manually?

This is a very big JSON. How do we maintain this file in the future? Manually?

Yes manually,
Before migration, we maintained hundreds of tasks on the fabric bot portal.
After migrate to config-as-code, we can use the IDE, which actually will be easier to maintain.

Successful migration to config-as-code:
https://github.com/Azure/azure-cli-extensions/issues/5000


+1 531 NPA XXXX

Country/region affected (e.g., "US"): US/Nebraska
Example number(s) affected ("+1<PHONE_NUMBER>"):+1 531 NPA XXXX
The phone number range(s) to which the issue applies ("+1 555 555-XXXX"):+1 531 NPA XXXX
The type of the number(s) ("fixed-line", "mobile", "short code", etc.):
The cost, if applicable ("toll-free", "premium rate", "shared cost"):
Supporting evidence (for example, national numbering plan, announcement from mobile carrier, news article):
http://www.psc.nebraska.gov/telecom/telecom_402_531areacode.html
http://www.allareacodes.com/531

Duplicate of #1527.


Newly discovered issue

I am writing this because I have a newly discovered issue, while reviewing the QCed results with Martin.
In the modality part, it seems that the first and second subjects are applied differently.
Thanks for your support.
Injoong Kim
injoong@triton(14) DMRIprep0.5.7b2/T0008-1-2-10yr$ more T0008-1-2-10yr_combine7_DWI_QCed.nrrd
NRRD0005
This NRRD file was generated by pynrrd
on 2023-03-14 17:08:36(GMT).
Complete NRRD file format specification at:
http://teem.sourceforge.net/nrrd/format.html
type: int16
dimension: 4
space: left-posterior-superior
sizes: 128 128 62 117
space directions: (2,0,0) (0,2,0) (0,0,2) none
kinds: space space space list
endian: little
encoding: gzip
thicknesses: nan nan 2 nan
centerings: cell cell cell ???
space origin: (0,0,0)
measurement frame: (1,0,0) (0,1,0) (0,0,1)
modality:=DWMRI
DWMRI_b-value:=2000.0
DWMRI_gradient_0000:=0.0 0.0 0.0
injoong@triton(15) DMRIprep0.5.7b5/T0009-1-1-10yr$ more T0009-1-1-10yr_combine7_DWI_QCed.nrrd
NRRD0005
This NRRD file was generated by pynrrd
on 2023-03-16 15:47:15(GMT).
Complete NRRD file format specification at:
http://teem.sourceforge.net/nrrd/format.html
type: int16
dimension: 4
space: left-posterior-superior
sizes: 128 128 62 114
space directions: (2,0,0) (0,2,0) (0,0,2) none none
kinds: space space space 3D-symmetric-matrix
endian: little
encoding: gzip
thicknesses: nan nan 2 nan
centerings: cell cell cell ???
space origin: (0,0,0)
measurement frame: (1,0,0) (0,1,0) (0,0,1)
modality:=DTI

If input files are nrrd, it doesn't change modality to preserve source information. While nifti files are loaded (qced) , then those will be tagged with DWMRI as modality for 4d images. Pls check the source files' modality. ($ head <filename.nrrd>)

Sk, the issue is that without the tractography module, the final QCed output nrrd is a DWMRI file (see modality tag as well as the list of gradients in the header). When we enable the tractography module, it writes out the final QCed output as a DTI file (even though it is still a DWI file). Thus, somehow things go wrong when writing the output DWI after the tractography module

The issue is closed with version 0.5.7b9


Version change from 10.1.2 to 10.1.3

Changes

[x] Changed package version to 10.1.3.

Pending release references

#126

Regards.

Codecov Report

Merging #127 (a906dde) into master (9d64433) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #127   +/-   ##
=======================================
  Coverage   92.26%   92.26%
=======================================
  Files         254      254
  Lines        5392     5392
  Branches      871      871
=======================================
  Hits         4975     4975
  Misses        247      247
  Partials      170      170

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


Added definitions for the stm32f072xx chips

All the definitions for the stm32f072xx chips should be added.
Even the less popular ones like the BGA 100 should be correct.
If someone has too much spare time they are invited to spend the same hours reading the datasheets and my added definitions to double check :)
I also fixed some gpio definitions for other classes of the M0 series.
Whilst doing all this I recognized that at least the ADC definitions for the 070xx line are wrong. As this and also the GPIOs are wrong I would strongly recommend to double check the definitions of all peripherals!
Also, considering the different featuresets, the feature flags for this line do not make sense.
What's more is that I saw that some pins have shared AF1 (SPI, I2S) as they share a clock iirc. This makes sense from a HW perspective but I am afraid the HAL as it is cannot handle it.
Also is it right that the UART cannot handle HW FC atm? Will this be added in the future? I don't need this feature, I just wondered.
Best,
Yatekii
Sources:
[0] Datasheet: https://www.st.com/resource/en/datasheet/stm32f072rb.pdf
[1] Family Overview: https://www.st.com/content/st_com/en/products/microcontrollers/stm32-32-bit-arm-cortex-mcus/stm32-mainstream-mcus/stm32f0-series/stm32f0x0-value-line.html?querycriteria=productId=LN1826
[2] Reference Manual (for the clock enables): https://www.st.com/content/ccc/resource/technical/document/reference_manual/c2/f8/8a/f2/18/e6/43/96/DM00031936.pdf/files/DM00031936.pdf/jcr:content/translations/en.DM00031936.pdf

Did as requested.

LGTM, thanks.


Add datalad/git-annex:latest installation method

Closes #75.

Codecov Report

Merging #76 (93e9196) into master (cf81c8b) will decrease coverage by 0.84%.
The diff coverage is 37.93%.

@@            Coverage Diff             @@
##           master      #76      +/-   ##
==========================================
- Coverage   65.77%   64.92%   -0.85%
==========================================
  Files           1        1
  Lines        1049     1112      +63
  Branches      198      208      +10
==========================================
+ Hits          690      722      +32
- Misses        297      327      +30
- Partials       62       63       +1

Impacted Files
Coverage Δ

src/datalad_installer.py
64.92% <37.93%> (-0.85%)
:arrow_down:

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 cf81c8b...93e9196. Read the comment docs.


Drag event on .tab-content not bubbled to .tab

If you try to drag the title of a tab (the .tab-content element), nothing will happen. You have to drag on the margin around .tab-content. I believe the reason is that it's not propagated to the .tab element.
I'm using Firefox 100.0b9 (on Arch)

I see the same bug - will take a look

This is an example using a version publish on npm under an experimental tag https://www.npmjs.com/package/dockview/v/0.0.0-experimental-a7b05cf1-20220509 which should allow dragging of the tab from any postion in Firefox
https://codesandbox.io/s/dockview-firefox-issue-7hsjj8?file=/src/app.tsx
Will most likely publish in the next few days once all is confirmed to work.


duplicate code?

What's the difference between the code in auto-labeller/scibert/sagemaker and aws/pytorchmodel_endpoint? Need to document what each contains and purpose in the readme or docs site, or remove one if it's old code.

It is duplicated functionality. So pytorchmodel_endpoint runs the api on sagemaker. What you are doing is a lambda function  that uses sagemaker. There's several ways of hosting the API either within sagemaker or from lambda (that i know of). Where do you see this code?

https://github.com/nasa-petal/PeTaL-labeller/tree/main/aws/pytorchmodel_endpoint

That can be deleted. we are not using it anymore.

closed in 135fb8bd3d31eec3c7a5773b70861cc0bf3b010a


SAK-42420 Samigo autosubmit checkbox label is not aligned with it's c…

…heckbox

Hello @fostersdesign,
Thanks for the feedback.  Sorry, I had injected the spaces because I saw that that was how many of the radio buttons on that page were formatted.  However, I took a closer look at some of the other checkboxes on the page and copied their styles.  Where the 'samigo-checkbox' class sets the spacing and they use 'col-md-10'.   It seemed that col-md-6 was not wide enough either... if your browser window is not wide enough (not that I even knew about the col-md-x style before you mentioned it, I think when I originally tested with col-md-4, my browser must have been wide enough that I didn't notice).
Anyway, I've committed additional changes for your review, thanks!

Yes, the checkbox is checked when I click the label


zure_PCI_PaaS_Management_Reference_Architecture does not open with LibreOffice, Google Docs or PowerPoint Online

Presentation doesn't open in common non-Microsoft desktop PowerPoint tools.

Closing it as it is not being attended to and I don't want it on my GitHub dashboards


Port and Relative URL in Account Creation

I'm trying to implement a basic ActivityPub compatible server and I want to verify the functionality with AndStatus. Therefore, my test server is running on port 19080 on the host my-host.private. Additionally, all the APIs are running under /rel/. Now, I try to connect to my ActivityPub server and I get following:

Is it possible to achieve this with AndStatus?

@schrieveslaach  I checked current code: for ActivityPub it expects in the<EMAIL_ADDRESS>field text of email pattern. I think it will be quicker for you to setup a server without a need for port and path inside it.
More over, I suspect that OAuth won't work in the non-standart port/path...

@yvolk, thanks for the note. That brings up a follow up question. First, let me explain our testing setup:
We do have a testing setup that is based on PREvant, a service that hosts previews of our Microservice application (you can find an explanation on YouTube). These previews are accessible under http://some.private.host/<Ticket-ID>/<service-name> where Ticket-ID is the Jira-ticket under which we developers make changes to the application and service-name is a service that provides an API/UI. The user has to authenticate against http://some.private.host/<Ticket-ID>/openid which is the URL of an OpenID-Connect server. So I assume that OAuth/OpenID works with relative paths.
Works AndStatus with OpenID or is it limited to OAuth? Do you think that relative URLs could be supported in AndStatus?

BTW: we use node-oidc-provider as our OpenID provider.

AndStatus uses OAuth 2.0 ( with https://github.com/scribejava/scribejava ) only for ActivityPub.
OpenID is not implemented: simply because I didn't encounter this in supported social networks.
So looks like this is the main problem in adapting AndStatus for your solution.
If you could switch to OAuth and provide me access to your server, I will modify AndStatus to work for custom port and path.
We can think about OpenID, but working Java/Android client example code is needed...

@yvolk, thanks for your offer. Unfortunately, I cannot provide access to our application because the ActivityPub server does not exists yet. Anyway, I want to make some testing before Christmas. Do you mind to give me some hints which part of the code could or should be adjusted. Maybe I could identify the necessary changes.
If I understood scribejava and OAuth/OpenID correctly, scribejave should work with both. Have a look here.

Hi @schrieveslaach Please see my notes and I will try start making some changes in a separate branch.

In Troubleshooting turn on VERBOSE logging and make sure it is saved to file + save network level messages to file

switch to "External storage" to be able to see that log files, see on logging here: https://github.com/andstatus/andstatus/issues/225

On pressing "Add account button this method is called:
org.andstatus.app.account.AccountSettingsActivity#onAddAccountClick

in org.andstatus.app.account.AccountSettingsActivity#updateChangedFields the new account is being rebuilt based on the URL that you typed.
Currently org.andstatus.app.account.MyAccount#isUsernameValid stops any further actions

I fixed this in branch: port-and-path-activitypub

next  org.andstatus.app.net.social.Connection#registerClientForAccount works

Social network-level code is around org.andstatus.app.net.social.activitypub.ConnectionActivityPub

Network-level code is around org.andstatus.app.net.http.HttpConnectionOAuth2JavaNet

So I pushed branch port-and-path-activitypub
Quick changes to enable typing Unique username for ActivityPub in the form:  username@some.domain.com:80/rel/path
Currently if I type "AndStatus@pleroma.site:80/users" OAuth (based on Mastodon implementation) still uses URL "pleroma.site:80/api/v1/apps"; (i.e. path is not taken into account)
in the log I see:
12-16 21:57:56.944 V/MyAccount.Builder: Registering client application for AndStatus
12-16 21:57:56.963 D/OAuthClientKeys: Loaded OAuthClientKeysDynamic-17-pleroma.site; No keys
12-16 21:57:56.966 V/HttpConnectionOAuthMast: registerClient; for https://pleroma.site:80/users; URL='https://pleroma.site:80/api/v1/apps'
Try to move further!

@yvolk, thanks for all the pointers. I used them to debug the app and I got some impressions. The parsing of port and path works. Thank you. Now, I'm stuck at the point you mentioned before: "pleroma.site:80/api/v1/apps"
I think that for a generic authentication AndStatus needs to support WebFinger as described here. What's a good place to implement the probing with WebFinger? Is it org.andstatus.app.net.social.activitypub.ConnectionActivityPub?

@schrieveslaach  I don't think that WebFinger support is required for ActivityPub. Long talk on this is here: (you may search that long thread...) https://github.com/andstatus/andstatus/issues/499
The question is: do you really need to tweak OAuth to work in a custom folder? If your real goal is to test code AFTER authentication, I think you will be able to simulate successful OAuth in AndStatus quicker (for testing only...)
Or you can modify ActivityPub OriginType to allow Basic authentication...

@schrieveslaach  In particular, please see this my comment on WebFinger (and below...): https://github.com/andstatus/andstatus/issues/499#issuecomment-462156586

@yvolk, I think, I wasn't clear about what I meant by saying that AndStatus needs to support WebFinger. Let me try again:
At the moment AndStatus tries to obtain a token with the URL pleroma.site:80/api/v1/apps. However, websites that provide an ActivityPub API might use another login mechanism. In my case the website with ActivityPub API is hosted at http://some.private.host/<Ticket-ID>/my-activitypub-service. The user needs to authenticate with OpenID Connect on the website http://some.private.host/<Ticket-ID>/openid but that could be located on a different host, e.g. http://openid.private.host.
With WebFinger the site http://some.private.host/<Ticket-ID>/my-activitypub-service could tell AndStatus that the user uses http://some.private.host/<Ticket-ID>/openid as a login provider (see RFC 7033). Therefore, AndStatus could test following URL:
GET /<Ticket-ID>/my-activitypub-service/.well-known/webfinger?
        resource=acct%3Ahttp%3A%2F%2Fuser%40some.private.host%2F%3CTicket-ID%3E%2Fmy-activitypub-service&
        rel=http%3A%2F%2Fopenid.net%2Fspecs%2Fconnect%2F1.0%2Fissuer
        HTTP/1.1
Host: some.private.host

The ActivityPub server than answers with following:
HTTP/1.1 200 OK
Access-Control-Allow-Origin: *
Content-Type: application/jrd+json

{
  "subject"<EMAIL_ADDRESS>  "links" :
  [
    {
      "rel" : "http://openid.net/specs/connect/1.0/issuer",
      "href" : "http://some.private.host/<Ticket-ID>/openid"
    }
  ]
}

If AndStatus receives that response, it uses the value from href to perform the login. If there is no valid response, AndStatus could fallback to the current implementation.

@schrieveslaach I see, you think that WebFinger service could help us to switch authentication methods and (or) endpoints.
But we have, as I think, more natural way for this: the server could return information on supported authentication methods/endpoints in the Client Registration response.
Please see this comment:  https://github.com/andstatus/andstatus/issues/499#issuecomment-463075969
And another note about WebFinger in ActivityPub: Actor's ID is not required to be WebFingerID, Please see this comment: https://github.com/andstatus/andstatus/issues/499#issuecomment-463896544
So if we would think about further improvement of AndStatus, I suggest to create "register client" endpoint at the root of you site (i.e. at host:port/path-to-site-root/register ), just like in examples, although non-normative, in https://tools.ietf.org/html/rfc7591 and extend response with information on authentication method/URL...


Specify in documentation that individual pools can be individually used w/o external synchronization

In single-threaded context.
Can they? It seems natural. If library internally arranged "good" this property should be externally observable without any additional efforts from development.

Do you mean with or without VMA_ALLOCATOR_CREATE_EXTERNALLY_SYNCHRONIZED_BIT?
By default, functions of this library are thread-safe, synchronized internally, which is described in the documentation.
I am sorry, but I cannot guarantee thread safety when VMA_ALLOCATOR_CREATE_EXTERNALLY_SYNCHRONIZED_BIT is used, even for separate custom pools. There are places in the code other than specific to the pool that need synchronization, like VmaAllocator_T::GetHeapBudgets.


Ability to unit test Go chaincode

Description

Unit testing chaincode is difficult today as there's no standard way to mock the shim.ChaincodeStub object. This is needed by anyone writing a chaincode. This needs code (possibly there's an existing Go framework that could be used) in addition to documentation.

I'm having a go at doing this. I'm making an interface that will let you replace the shim (core/chaincode/shim/chaincode.go) in the unit test environment with a much simpler struct.
I'm going to have to figure out what the security context and event are used for as part of this.

Thanks @brad-gorman! Will assign to you. @JonathanLevi or @adecaro may be good contacts for security questions.

@christo4ferris could you add @brad-gorman to the Hyplerledger organization so I can assign this issue to him?

I've had to change the method signatures where *shim.ChaincodeStub was involved to my new interface shim.ChaincodeStubInterface. This means a lot of files need updating, including any chaincode people have.
I've got a simple chaincode_example02 unit test working though.
Here's the commit on my branch. Feedback is welcome.
https://github.com/brad-gorman/fabric/commit/99c2c75ee31c064188b19c9dffd57f0a473c62b0

I now have ChaincodeStub's RangeQueryState(), InvokeChaincode() and QueryChaincode() working with unittests for examples 2, 3 and 4.
https://github.com/brad-gorman/fabric/commit/7f40fd3fc564bdfddaf57b4e13964c49d3212bb7

I'm stopping work on this until the maintainers make a call on where the interface should be. Personally I feel it should an an interface that the user-written chaincode uses and is tested against - not a struct - even if that means a disruption to chaincode developers.

@brad-gorman I didn't mean to discourage you.   I was just curious.  I don't yet understand the nuance here to have a strong opinion.  To be clear, I am not against this becoming an interface at all.  I was merely questioning whether it had to be done in a way that was disruptive to existing code.  Therefore, let me rephrase my question:
Is there a way that we can get the desirable property of abstracting this into an interface (rather than a struct) that doesn't require chaincode applications to modify their code?  (recompilation requirement is fine, of course).  Even if there isn't, it's not a show-stopper.  I agree with the comments that it's better to get this right now rather than be stuck with a suboptimal design for the foreseeable future.  At the same time, if we can avoid breaking virtually every app out there and still retain the design improvement, that is even better.

The only thing I can think that might work is really, really ugly. We'd need to add a constructor to ChaincodeStub, that populates a new MockStub member. Then every function that ChaincodeStub implements would be modified to look like this:
func (stub *ChaincodeStub) GetState(key string) ([]byte, error) { 	// if we have a MockStub perform the unit test equivalent of the operation 	if stub.mock != nil { 		return stub.mock.GetState(key) 	} 	// perform the real operation 	return handler.handleGetState(key, stub.UUID) }
There is a danger that some new functions may need to be added to the ChaincodeStub to handle unit testing type behaviour. These could then be abused by users during normal operations, outside of unit testing.
I'm not sure why users needing to change their code is an issue. The project is very early on, and I've seen massive architectural changes are being discussed. This is really a simple search and replace. Existing, deployed chaincode will not stop functioning either as it is a standalone binary.

I've got this changeset in Gerrit now: https://gerrit.hyperledger.org/r/#/c/365/
Jenkins fails due to outside things like hyperledger/chaintool and hyperledger/fabric-test-resources which have not been updated yet.


suspicious results from neg_binomial_2_log_glm_lpmf adjoint

Summary:
neg_binomial_2_log_glm_lpmf has suspicious behavior in its partial derivative with respect to alpha.
Description:
I am seeing inconsistent results in the adjoint of alpha when computed with neg_binomial_2_log_lpmf and neg_binomial_2_log_glm_lpmf. The adjoint computed with neg_binomial_2_log_lpmf matches the numeric derivative (computed in unit tests of a different system), so I suspect an issue with neg_binomial_2_log_glm_lpmf. (I may also just be confused; this is my first time descending into the stan math code.)
Reproducible Steps:
$ clang++ --version
clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04 LTS
Release:        18.04
Codename:       bionic

$ make -j2 ./test/unit/math/rev/mat/prob/neg_binomial_2_log_glm_lpmf_test &&
    ./test/unit/math/rev/mat/prob/neg_binomial_2_log_glm_lpmf_test
...
[  PASSED  ] 2 tests.

# Now comment out line 72 in neg_binomial_2_log_glm_lpmf_test.cpp, the
# call to `recover_memory` in glm_matches_neg_binomial_2_log_vars.

$ make -j2 ./test/unit/math/rev/mat/prob/neg_binomial_2_log_glm_lpmf_test &&
    ./test/unit/math/rev/mat/prob/neg_binomial_2_log_glm_lpmf_test
[==========] Running 2 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 2 tests from ProbDistributionsNegBinomial2LogGLM
[ RUN      ] ProbDistributionsNegBinomial2LogGLM.glm_matches_neg_binomial_2_log_doubles
[       OK ] ProbDistributionsNegBinomial2LogGLM.glm_matches_neg_binomial_2_log_doubles (1 ms)
[ RUN      ] ProbDistributionsNegBinomial2LogGLM.glm_matches_neg_binomial_2_log_vars
test/unit/math/rev/mat/prob/neg_binomial_2_log_glm_lpmf_test.cpp:90: Failure
Value of: beta2[i].adj()
  Actual: 61
Expected: beta[i].adj()
Which is: 305
test/unit/math/rev/mat/prob/neg_binomial_2_log_glm_lpmf_test.cpp:90: Failure
Value of: beta2[i].adj()
  Actual: -121.4
Expected: beta[i].adj()
Which is: -607
test/unit/math/rev/mat/prob/neg_binomial_2_log_glm_lpmf_test.cpp:92: Failure
Value of: alpha2.adj()
  Actual: -2
Expected: alpha.adj()
Which is: -9.6000004
...lots more...

# Or, leave the line as it was, but add `double alpha_adj = alpha.adj();`
# between `lp.grad()` and `recover_memory`, then add
# `EXPECT_FLOAT_EQ(alpha_adj, alpha2.adj());` anywhere after `lp2.grad()`.

$ make -j2 ./test/unit/math/rev/mat/prob/neg_binomial_2_log_glm_lpmf_test &&
    ./test/unit/math/rev/mat/prob/neg_binomial_2_log_glm_lpmf_test
[==========] Running 2 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 2 tests from ProbDistributionsNegBinomial2LogGLM
[ RUN      ] ProbDistributionsNegBinomial2LogGLM.glm_matches_neg_binomial_2_log_doubles
[       OK ] ProbDistributionsNegBinomial2LogGLM.glm_matches_neg_binomial_2_log_doubles (0 ms)
[ RUN      ] ProbDistributionsNegBinomial2LogGLM.glm_matches_neg_binomial_2_log_vars
test/unit/math/rev/mat/prob/neg_binomial_2_log_glm_lpmf_test.cpp:93: Failure
Value of: alpha2.adj()
  Actual: -2
Expected: alpha_adj
Which is: -3.2
[  FAILED  ] ProbDistributionsNegBinomial2LogGLM.glm_matches_neg_binomial_2_log_vars (0 ms)
[----------] 2 tests from ProbDistributionsNegBinomial2LogGLM (0 ms total)

[----------] Global test environment tear-down
[==========] 2 tests from 1 test case ran. (1 ms total)
[  PASSED  ] 1 test.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] ProbDistributionsNegBinomial2LogGLM.glm_matches_neg_binomial_2_log_vars

I've repeated the alpha_adj check on macOS 10.13.4 (Apple LLVM version 9.1.0 (clang-9<IP_ADDRESS>)) with the same results.
Additional Information:
My guess is that there is a bug in the neg_binomial_2_log_glm_lpmf gradient code. The glm_matches_neg_binomial_2_log_vars test doesn't find it because it calls recover_memory, then references alpha, etc. (which are invalidated by recover_memory) afterwards in such a way that the adjoints from the neg_binomial_2_log_glm_lpmf are getting compared to themselves, so all the tests pass. Indeed, this patch:
--- a/test/unit/math/rev/mat/prob/neg_binomial_2_log_glm_lpmf_test.cpp
+++ b/test/unit/math/rev/mat/prob/neg_binomial_2_log_glm_lpmf_test.cpp
@@ -84,6 +84,8 @@ TEST(ProbDistributionsNegBinomial2LogGLM, glm_matches_neg_binomial_2_log_vars) {
   var lp2
       = stan::math::neg_binomial_2_log_glm_lpmf(n2, x2, beta2, alpha2, phi2);
   lp2.grad();
+  std::cerr << "alpha.vi_ = " << reinterpret_cast<long>(alpha.vi_)
+            << " alpha2.vi_ = " << reinterpret_cast<long>(alpha2.vi_) << "\n";

   EXPECT_FLOAT_EQ(lp.val(), lp2.val());
   for (size_t i = 0; i < 2; i++) {

leads to this output:
alpha.vi_ = 26002208 alpha2.vi_ = 26002208

Note that alpha and alpha2 are completely independent. Stan is using the arena allocator, so ASan wouldn't catch the use-after-free.
I haven't looked hard enough at neg_binomial_2_log_glm_lpmf.hpp to find the real bug (if any), though.
Current Version:
develop HEAD (cefeb9843181354148ddc74b68c2644533bcfe2e)

Thanks for reporting.  This is still a work-in-progress, so @VMatthijs will have to report back on this one.  I hadn't even realized he was tackling a neg-binomial GLM.

Thanks for spotting this, @madeleineth ! This is fixed by PR https://github.com/stan-dev/math/pull/687 once that gets merged.
Please note that your first suggested way changing the tests does not work. The second suggested way is correct, however.

Closed via #687


feat(astro): support nx v16

Adds support for Nx v16.
BREAKING CHANGE: Drops support for Nx versions lower than 16.0.0.

What it does

Related Issue(s)

Fixes #376

Thank you, @leosvelperez! :)


Prepare step fails with "echo $0 failed" and no details

Q
A

Issue Type
Question

Deployer Version
6.4.3

Local Machine OS
OSX Mojave

Remote Machine OS
Ubuntu 18.04

Description
When running dep deploy development, I get an Exit Code: -1 with basically no details. I've tried setting up my host multiple ways, and copying/pasting the user and hostname have confirmed that my SSH configuration works fine.
host('redacted.ssh.wpengine.net')
    ->stage('development')
    ->set('deploy_path', '/home/wpe-user')
    ->set('user', 'redacted');

Steps to reproduce
I kept it simple and just did a dep init with the common setup, and added my host information.
Content of deploy.php
<?php
namespace Deployer;

require 'recipe/common.php';

// Configuration

set('repository', 'git@github.comredacted.git');
set('git_tty', true); // [Optional] Allocate tty for git on first deployment
set('shared_files', ['.env']);
set('shared_dirs', []);
set('writable_dirs', []);
set('allow_anonymous_stats', false);

// Hosts

host('redacted.ssh.wpengine.net')
    ->stage('development')
    ->set('deploy_path', '/home/wpe-user')
    ->set('user', 'redacted');

desc('Deploy your project');
task(
    'deploy',
    [
    'deploy:prepare',
    'deploy:lock',
    'deploy:release',
    'deploy:update_code',
    'deploy:shared',
    'deploy:writable',
    'deploy:vendors',
    'deploy:clear_paths',
    'deploy:symlink',
    'deploy:unlock',
    'cleanup',
    'success'
    ]
);

// [Optional] if deploy fails automatically unlock.
// after('deploy:failed', 'deploy:unlock');

Output log
☿ dep deploy development -vvv                                                                                05/08/2019 14:04:18 EDT
➤ Executing task deploy:prepare
[redacted] > echo $0
➤ Executing task deploy:failed
• done on [redacted]
✔ Ok [0ms]

In Client.php line 99:

  [Deployer\Exception\RuntimeException (-1)]
  The command "echo $0" failed.

  Exit Code: -1 (Unknown error)

  Host Name: redacted

  ================

Exception trace:
 Deployer\Ssh\Client->run() at phar:///usr/local/bin/dep/src/functions.php:304
 Deployer\run() at phar:///usr/local/bin/dep/recipe/deploy/prepare.php:15
 Deployer\Deployer::Deployer\{closure}() at n/a:n/a
 call_user_func() at phar:///usr/local/bin/dep/src/Task/Task.php:105
 Deployer\Task\Task->run() at phar:///usr/local/bin/dep/src/Executor/SeriesExecutor.php:60
 Deployer\Executor\SeriesExecutor->run() at phar:///usr/local/bin/dep/src/Console/TaskCommand.php:142
 Deployer\Console\TaskCommand->execute() at phar:///usr/local/bin/dep/vendor/symfony/console/Command/Command.php:252
 Symfony\Component\Console\Command\Command->run() at phar:///usr/local/bin/dep/vendor/symfony/console/Application.php:946
 Symfony\Component\Console\Application->doRunCommand() at phar:///usr/local/bin/dep/src/Console/Application.php:133
 Deployer\Console\Application->doRunCommand() at phar:///usr/local/bin/dep/vendor/symfony/console/Application.php:248
 Symfony\Component\Console\Application->doRun() at phar:///usr/local/bin/dep/vendor/symfony/console/Application.php:148
 Symfony\Component\Console\Application->run() at phar:///usr/local/bin/dep/src/Deployer.php:331
 Deployer\Deployer::run() at phar:///usr/local/bin/dep/bin/dep:125
 require() at /usr/local/bin/dep:4

What sh on your server? Try run it by yourself.

Sorry, I'm not quite sure I follow what you mean! Running sh on the server does just seem to load a shell.
I also found an issue here that seemed maybe related that recommending running this command and seeing if an exit code is returned, which it does:
○ echo 'echo $0' | ssh redacted 'bash -s; printf "[exit_code:%s]" $?;'                                                                 05/09/2019 12:15:41 EDT
bash
[exit_code:0]%

@antonmedv I found a PHP script you wrote to help debug SSH connections, but it looks like that is returning expected results as well:
☿ php check.php                                                                                05/09/2019 15:15:57 EDT
1:ssh -o ControlMaster=auto -o ControlPersist=60 -o ControlPath=~/.ssh/deployer_mux_redacted-dev redacted-dev 'bash -s'
1:run 'pwd'
1:/home/wpe-user
1:command returned 0
2:ssh -O check -o ControlMaster=auto -o ControlPersist=60 -o ControlPath=~/.ssh/deployer_mux_redacted-dev redacted-dev 2>&1
2:run ''
2:Master running (pid=30846)
2:command returned 0

Hmmm, this is strange behavior. Can you replace echo $0 with something and try to run it?

@antonmedv Do you mean with the terminal command? If so it still seems to work
○ echo 'ls' | ssh mda-dev 'bash -s; printf "[exit_code:%s]" $?;'                                05/12/2019 09:45:43 EDT
sites
[exit_code:0]%

Otherwise, the echo $0 seems to come from somewhere in the deploy:prepare source code

Yes, and it strange, why it's not working? Try disable ssh multiplexing.

Gah, that was it! I had tried that option but only with true, not false. Thank you very much for the help.


fix(versions): update Activiti/activiti-cloud-dependencies versions into develop

UpdateBot pushed maven dependency: org.activiti.cloud.rb:activiti-cloud-runtime-bundle-dependencies to: 7.1.26

UpdateBot commands:
updatebot push-version --kind maven org.activiti.cloud.rb:activiti-cloud-runtime-bundle-dependencies 7.1.26


Application crashes on scan ISBN book from admin menu

If the ISBN can not be found the application crashes with NPE

Fixed in Nearsoft/nearbooks-android#52.


Add map scale info to live region

see original at: https://github.com/kellyhutchins/a11y-map/issues/10

more details: think information in the ScaleBar would be useful for screen reader users when they first sets focus to the map view and subsequently changes the zoom level.
We could add the text description of the ScaleBar to the aria-live region where we show the moving direction and features inside the focus square.
If we need to make the ScaleBar widget itself accessible, we will probably need a sr-only element to show the text description of the information in ScaleBar. We can then use the aria-live pattern to update the text description when the zoom level changes. There is also a new On Demand Live Regions module that claims to be more reliable than aria-live.

On Demand Live Regions

Is this referring to https://github.com/Heydon/on-demand-live-region?

@Malvoz  we were looking at that but I can see that the repo hasn't been updated in 4 years so I don't think we'd consider using it at this point.  We just need to add logic so scale info is read out


Crash with "Modlist Manager"

Hi, I uninstalled and deleted my "ONI" folder, then reinstalled. With no mods download, I subscribed to you "Modlist manager" and received the following error message.
NullReferenceException: Object reference not set to an instance of an object
KMod.ZipFile.CopyTo (System.String path, System.Collections.Generic.List1[T] extensions) (at <6ab6b57553ed449280aa2485c86e9aab>:0) KMod.Mod.Install () (at <6ab6b57553ed449280aa2485c86e9aab>:0) KMod.Manager.Install (KMod.Mod mod) (at <6ab6b57553ed449280aa2485c86e9aab>:0) KMod.Manager.Subscribe (KMod.Mod mod, System.Object caller) (at <6ab6b57553ed449280aa2485c86e9aab>:0) KMod.Steam.UpdateMods (System.Collections.Generic.IEnumerable1[T] added, System.Collections.Generic.IEnumerable1[T] updated, System.Collections.Generic.IEnumerable1[T] removed, System.Collections.Generic.IEnumerable`1[T] loaded_previews) (at <6ab6b57553ed449280aa2485c86e9aab>:0)
SteamUGCService.Update () (at <6ab6b57553ed449280aa2485c86e9aab>:0)
Build: U43-525812-S
ONI Crash Log.txt

I need the log to work with

My game crashing when i building the cryopod! Link to the log: https://pastebin.com/RTn6hQd0

My game crashing when i building the cryopod! Link to the log: https://pastebin.com/RTn6hQd0

a) that log does not contain any crashes
b) please open a separate issue

Sorry about that. I've included the logs this time. Player.log

so, for some reason the following happens here:
The game tries to load the german localisation file, but fails to acess it since the file seems to be nonexistent (maybe also bc its not on any local drive (?)).
maybe a reinstallation can fix that

(of the mod, so unsubscribe, then resubscribe while the game is running)


[Bug]: Some hotkeys don't work on Firefox on Linux

Steps to reproduce the bug

On Arch Linux with X11 KDE 6.1.2-1 desktop environment using Firefox 127.0.2 in the edit nomenclature task, a lot of the hotkey shortcuts do not work including: alt+d, alt+f, alt+l, alt+n, alt+p, alt+s, alt+b, alt+c
Some of these hotkeys are bound to Firefox functions: alt+d highlights the URL in the location bar. alt+f opens the Firefox file menu. alt+s opens the browser history menu. alt+b opens the Firefox bookmark menu. alt-c, alt-l, alt-n, alt-p don't seem to trigger anything in Firefox.
Other the other shortcuts like alt+h do work.
While writing this bug report, I was momentarily able to trigger both the Firefox and TaxonWorks function calls with some of the above nonfunctioning TW hotkeys but now can't reproduce it. For example, alt+e momentarily both opened the Firefox edit menu and navigated to comprehensive specimen digitization.
This might be a Linux Firefox bug and not a TaxonWorks bug.

Possibly there is a related issue with shortcuts being bound to other functions?
Screenshot

Expected behavior
Ideally if it is possible to override the Firefox hotkeys and bind them to the TaxonWorks functions that might be ideal. At least I don't usually use those alt Firefox keyboard shortcuts. I do use ctrl Firefox shortcuts like ctrl+f, ctrl+l and ctrl+j a lot.
Additional Screenshots
No response
Environment
Sandbox
Sandbox Used
sandbox
Version
bd8bdeb8d
Browser Used
Arch Linux with KDE 6.1.2-1 using Firefox 127.0.2

I also noticed in Firefox that sometimes after triggering an alt shortcut (like alt+o), when hitting the browser back button after triggering the alt+o shortcut, if you click alt again by itself with no other keys pressed it would re-trigger the last called alt+o shortcut. I'm also testing it on Chromium 126.0.6478.126 (Official Build) Arch Linux (64-bit) and it does the same behavior, so maybe it is a TaxonWorks bug.
On Chromium all the shortcuts work except alt+d (highlights URL in location bar), alt+f (opens browser hamburger menu), and these hotkeys all seem to trigger nothing in the browser or TW: alt+l, alt+s, alt+m, alt+c, alt+shift+l. Some of the other shortcuts that do work, sometimes don't work and I'm not sure yet what causes the inconsistent behavior.
Sometimes a bunch of the alt shortcuts stop working until I reload the edit nomenclature page, so it seems to be a conflict between the browser binding shortcuts and TW binding shortcuts.

I found that you can do page-specific Firefox permissions including allowing overriding keyboard shortcuts but most of the shortcuts still don't work and still trigger the Firefox alt menus:

I found an actual workaround that works.
In Firefox about:config set these keys:
ui.key.menuAccessKeyFocuses = false
ui.key.menuAccessKey = 0

That fixes all hotkeys except alt+l and alt+e and this likely TW bug still exists:

I also noticed in Firefox that sometimes after triggering an alt shortcut (like alt+o), when hitting the browser back button after triggering the alt+o shortcut, if you click alt again by itself with no other keys pressed it would re-trigger the last called alt+o shortcut. I'm also testing it on Chromium 126.0.6478.126 (Official Build) Arch Linux (64-bit) and it does the same behavior, so maybe it is a TaxonWorks bug.

alt+e works at the species group level. So it's just alt+l (clone taxon name) that doesn't work after disabling the Firefox alt shortcuts.

I'm going to prevent default behavior for these events

@gdower pushed changes for New taxon name, let me know if it works.

@debpaul helped test this on Windows. The back button alt bug is reproducible on Windows. Almost all of the TW hotkeys work on Windows (except alt+l clone taxon name) but they also almost always also trigger opening the Firefox menus which may discourage use of the hotkeys by Windows users. Although perhaps the solution is to just document the above about:config workaround because the power users that are using hotkeys will probably be comfortable with modifying keys in about:config (unless they routinely use the Firefox alt key shortcuts to access the browser menus).

Did she test it on local env after pull last commit? or sandbox/production?

It was on sandbox

I was able to replicate it on Windows using FF Development edition , but after last commit it seems to work now.

So there's 2 hotkey bugs.

Do you want steps to reproduce the back button alt bug or does what I put above make sense?
After disabling the Firefox alt shortcuts, the only other bug is alt+l not cloning a taxon name.

I'll test the development branch locally.

I will check alt+l

Awesome, you fixed the alt browser back button bug! alt+l doesn't work though.


Using tags expression

Hi Warley,
Are you sure that in wdio.conf.js >> cucumberOpts the parameter "tags" works correctly?
Because in my tests I had to use "tagExpression".

Hi @robsonpolicarpo,
I did the getting started again, and I think you're right.
These are the current settings:
    // If you are using Cucumber you need to specify the location of your step definitions.
    cucumberOpts: {
        require: ['./features/step-definitions'],        // <string[]> (file/dir) require files before executing features
        backtrace: false,   // <boolean> show full backtrace for errors
        requireModule: [],  // <string[]> ("extension:module") require files with the given EXTENSION after requiring MODULE (repeatable)
        dryRun: false,      // <boolean> invoke formatters without executing steps
        failFast: false,    // <boolean> abort the run on first failure
        format: ['pretty'], // <string[]> (type[:path]) specify the output format, optionally supply PATH to redirect formatter output (repeatable)
        colors: true,       // <boolean> disable colors in formatter output
        snippets: true,     // <boolean> hide step definition snippets for pending steps
        source: true,       // <boolean> hide source uris
        profile: [],        // <string[]> (name) specify the profile to use
        strict: false,      // <boolean> fail if there are any undefined or pending steps
        tagExpression: '',  // <string> (expression) only execute the features or scenarios with tags matching the expression
        timeout: 60000,     // <number> timeout for step definitions
        ignoreUndefinedDefinitions: false, // <boolean> Enable this config to treat undefined definitions as warnings.
    },

Sorry for my late answer.


Ducking Spotify/music playesr

I'm trying to make an app similar to Google Maps where some audio should duck Spotify/any music player's output temporarily on Android.
androidAudioFocusGainType: AndroidAudioFocusGainType.gainTransientMayDuck,

but this doesn't work for Spotify, while it does work with my local music player (Poweramp). However, once the audio is ducked, it does not go back to its full volume even after the audio my app plays is complete.
How do I achieve a Google Maps like effect with my audio? I wonder if androidWillPauseWhenDucked has anything to do with it?
I also tried
androidAudioAttributes: const AndroidAudioAttributes(
	usage: AndroidAudioUsage.assistanceNavigationGuidance,
),

but it had the same issues

To allow the music player to return to full volume, do you call audioSession.setActive(false)?
I'm not sure about the Spotify behaviour, do you know if Spotify respects the navigator in Google maps? If so that gives some hope that you can experiment with different options in addition to the one you've set. For example for the audio attributes you could set the content to speech, and you could also set the gain type to transient.

Release 0.1.3 now exposes pretty much all of the AVAudioSession and AudioManager capabilities so if there is a solution to your problem in native code, the corresponding solution should work in this plugin.

I can't advise on how to use Apple's API to the desired effect, however this plugin exposes all of the iOS AVAudioSession APIs pretty much as a mirror image of Apple's API, so if you need help using Apple's API I would suggest searching on StackOverflow for questions relating to AVAudioSession on iOS, and if you do not find the answer you're looking for, you can ask the community on StackOverflow a new question as per your needs.

If your app provides occasional spoken audio, such as in a turn-by-turn navigation app or an exercise app, you should also set the interruptSpokenAudioAndMixWithOthers option.

As I just said, this plugin is a direct mirror of the Apple API. This plugin also provides interruptSpokenAudioAndMixWithOthers and it is defined in the same place in the API. You can just browse this plugin's API documentation and it should be easy enough to find it based on the expected API names.

Note that ducking begins when you activate your app’s audio session and ends when you deactivate the session. If you clear this option, activating your session interrupts other audio sessions.

If you are asking how to use Apple's API, I just said I can't answer that. If you are saying this plugin is missing an API that is necessary to do what you're trying to do, you can make a feature request. or if you're saying this plugin has the API you need, but it's behaviour is different from the underlying Apple API's behaviour, you can report the bug. But I can't advise on how to use Apple's API.

@ryanheise
What is the code to end a session with audio_session?
Just to be sure, is this the correct line: audioSession.setActive(false) ?

audioSession.setActive when on iOS will redirect to AVAudioSession().setActive and you can consult Apple's documentation for what that method does and what its return value is. I can't personally advise you on how to achieve the desired behaviour, but you can either consult Apple's API documentation or ask about Apple's API on StackOverflow.


Move reference

Description
Move reference page. This is possible thanks to the upstream addition of the Playground component that was finally merged (see https://github.com/shuding/nextra/pull/3146, https://github.com/shuding/nextra/pull/3174 for more info).
The normal markdown produced by Move docgen does not create MDX compatible markdown. To solve this, created a client-side AST parser / transpiler for markdown -> mdx.
Also cleaned and refactored many of the components for <MoveReference />, including using useQuery for a useMoveContent hook that refetches when args change instead of useEffect.
UI comes complete with skeleton for loading.
Checklist

Do all Lints pass?

[x] Have you ran pnpm spellcheck?
[x] Have you ran pnpm fmt?
[x] Have you ran pnpm lint?

I don't think all of the compile https://developer-docs-nextra-oaxjiw4ie-aptoslabs.vercel.app/en/build/smart-contracts/move-reference?page=aptos-framework%2Fdoc%2Fobject.md&branch=testnet
Also, I think you left something:

Thanks for pointing those out. I've gone ahead and fixed the objects and the pokemon page, lmk if you find any others with issues.


Only trashed does not exist inside SoftDeletes class

https://github.com/laravel/framework/blob/7d9e7068c49f945385673014d4cba4de28accd5e/src/Illuminate/Database/Eloquent/SoftDeletingTrait.php#L119
In Laravel 5.6 I tried using softDeletes and it did not work because I kept getting onlyTrashed method does not exist in query builder.
So I spent a lot of time to see that SoftDeletesTrait file does not exist but softDeletes does without onlyTrashed method, so I found that SoftDeletesTrait has this method and re-copied it to SoftDeletes class. Now it works but I am wondering why was it removed?

How were you using SoftDeletes? What query caused this error?

https://stackoverflow.com/questions/51725788/get-onlytrashed-does-not-exist-in-query-builder/
I have asked it here with all info..


CIV-1720 Fix Hint Text in Hearing page

Before creating a pull request make sure that:

[x] commit messages are meaningful and follow good commit message guidelines
[x] README and other documentation has been updated / added (if needed)
[x] tests have been updated / new tests has been added (if needed)

Please remove this line and everything above and fill the following sections:
JIRA link (if applicable)
https://tools.hmcts.net/jira/browse/CIV-1720
Related PR
https://github.com/hmcts/civil-general-apps-ccd-definition/pull/105
Change description
Create textarea to populate the hint text in hearing screen
Does this PR introduce a breaking change? (check one with "x")
[x] Yes
[ ] No


Add McDFPy

https://github.com/AlignedCookie88/McDFPy
Doing this when I get home

If I remember 💀💀💀💀

Oops

💀

Thanks


Prefer using gsettings for guake if available

On the latest version of Arch Linux it appears that guake does not respect the options set by dconf but does respect gsettings. Added support for attempting to use gsettings first before trying dconf, and finally gconf.

Thank you!!!


Issue with pagination.

When total record is 0. It gives following calculation error.

I have to set total to 1 inorder to avoid the Error Calculation Start error.

Is this some kind of issue or I am setting pagination flags wrong?

"ERROR calculating start" message removed when there are no results.  Also, when there are no results, the page size select list is disabled.


Don't create nor submit jobs for force-completed/aborted workflows

Besides cleanup/logcollect. This problem still happens from time to time when a workflows moves to completed too quickly (or to aborted-completed).
We need to revisit these two fixes https://github.com/dmwm/WMCore/pull/7763 and https://github.com/dmwm/WMCore/pull/7442

duplicate with #8252


props may begin spinning at unexpected times

Can you please provide more details about this issue:
*** IMPORTANT SAFETY NOTE *** Due to imperfect translation between DJI and Mavlink, props may begin spinning at unexpected times. Always treat props as if they are live. Use Rosetta Drone's "safety" feature, which should prevent the drone from acknowledging unexpected GCS arm or takeoff commands.
Maybe also link the README to this issue or to some further documentation.

ok, I will answer myself.
Rosetta is doing their best to support many different drone models. The developer and user base has not been big enough to get the feeling that the code is 100% safe. That's why we implemented a "Safe Mode" to block commands sent to the drone and added this warning so you don't hurt yourself in case of a bug.
After a lot of testing and bugs fixing, I have never experienced that "props begin spinning at unexpected times", so this is probably just a warning to be carefull, but it's not saying that we are dealing with some kind of indeterminism.
If there is bug, it can be fixed.


Create libp2p-day.md

libp2p Day @ ETH Denver 2024
Can you add this logo to the event?
!

Event added using the Pull request - https://github.com/memser-spaceport/pln-events/pull/428


dbn

I've been using your dbn for my project. I'd like to first appreciate your amazing work. I am trying to develop something like the image shown below

The question I've come across with is
a) I developed separate encoders for two languages and a joint layer using SupervisedDBNClassification()
b) How can I get the weights at each layer
c) How do i do back propagation all together as a single network
Since I am newbie to Tensor flow and Python I dunno how to alter the source code.
Any help would be appreciated.

Hi, thanks for your comments.

How can I get the weights at each layer

Look at BaseTensorFlowModel.to_dict() method. In the second statement weights are saved in a python dict.

How do i do back propagation all together as a single network

Current design does not support network branching.

Since I am newbie to Tensor flow and Python I dunno how to alter the source code.

I suggest you to use other tools for what you want to achieve e.g. Keras, PyTorch etc. They are easy to work with and support complex network architectures out-of-the-box.
Cheers.


config(engine): Refine meta storeConfig(Part1)

What problem does this PR solve?

Issue Number: close #6173
What is changed and how it works?

Add 'Schema' param to 'StoreConfig'
Unify 'StoreConfigParams' to 'StoreConfig'
Extract 'dbutil' pkg to make sql implement for kv client easier

Check List
Tests
Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
 `None`.

/area engine

/status ptal

/cc @amyangfei @CharlesCheung96

/hold

/run-dm-compatibility-test
/run-dm-integration-test
/run-kafka-integration-test
/run-integration-test

/unhold

/merge


fix wrong block tag setting

closes #445
I don't know well about timeseries but I think the same fix should be applied.

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

Comparison is base (467e429) 95.98% compared to head (3e06409) 95.99%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #446      +/-   ##
==========================================
+ Coverage   95.98%   95.99%   +0.01%
==========================================
  Files          77       77
  Lines       32421    32421
==========================================
+ Hits        31119    31123       +4
+ Misses       1110     1108       -2
+ Partials      192      190       -2

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

closes #445
I don't know well about timeseries but I think the same fix should be applied.

Yes, it should be applied as well. LGTM, thanks!


raise version to 10.0.33

coverage: 30.234%. remained the same
when pulling 66ae2fca82fd985fb7c575d883ee7d359446db7f on raise_version_to_10.0.33
into 8a3c12b4f93e8dee61a13628508c32899f58c0dc on main.


[RFR] Polish translation

I hope I didn't screw things up this time :) This translation should be finished contentwise. There might be some errors here and there, but nothing too big. I encourage everyone who speaks Polish to review it.

This is terrific! We'll wait for a review before merging it. :)

Sure thing. I'll re-read it tomorrow morning as well.

@klapec Hey Andrzej. I changed the way we work with partials to reduce the number of moving parts and code duplications. Could you please update your PR?

Done. I've managed to balls it up once again when updating my local branch but I think it's ok after all.

By the way, what do you think of this way of handling partials?

Thanks ;) I think it's a good idea, I like the idea of slicing up the markup in Jekyll whenever possible into partials and reusing them. :+1:

Also: big thanks to @matchabros for helping me ironing out all the errors we managed to catch.

Thank you @klapec for the kind words, you did the majority but glad I could help out when you were in doubt.

@klapec I am very truely sorry to ask you this, but I changed the translation system again for partials... Please accept my apologies. I think I found the best way to handle this at this point: https://github.com/HugoGiraudel/sass-guidelines/issues/96#issue-54613655.
Also, shall @Matchabros appear in the footer for the Polish translation?

Note: footer.content in _data/translation.yml should be in Markdown. I will add a comment in translations.yml to warn against this.

Done: https://github.com/HugoGiraudel/sass-guidelines/commit/c2829e38194b9b13d1e7f7ab95efb39de3b4b3b3.

Done as well :)

Alright! Is it okay to be merged? :)

I think so, yes.

Boom.

Awesome. My first PR ever. Thanks for the opportunity, it was fun!


Getting 'getUserMedia is not implemented in this browser'

Hi,
I'm receiving getUserMedia is not implemented in this browser from the error event when run on iOS chrome and firefox, but not on iOS safari, Android chrome and firefox.
I noticed that in /src/webcam.vue, line 114, you checked if (navigator.mediaDevices.getUserMedia === undefined). Is this correct because navigator.mediaDevices.getUserMedia is a function that requires a constraint param and it returns a promise. reference: https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia

See #39

See #39

Hi, I have read issue #39. It’s running on a valid ssl cert and it’s working on Android mobile browser for both chrome and Firefox but not iOS chrome and Firefox.

To confirm so i can test locally, this doesn't work on an iOS device on either Chrome or Firefox?
Any specific versions you are using so we can narrow this down?

Yes doesn’t work on iOS for both chrome and Firefox. The versions are
79.0.3945.73 and 21.0(16918) for chrome and Firefox respectively.
On Sat, 11 Jan 2020 at 12:02 AM, Vincent Gabriel<EMAIL_ADDRESS>wrote:

To confirm so i can test locally, this doesn't work on an iOS device on
either Chrome or Firefox?
Any specific versions you are using so we can narrow this down?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/VinceG/vue-web-cam/issues/47?email_source=notifications&email_token=ABJ5RC47N3OKZS5CWYQK4BLQ5CLY7A5CNFSM4KFEHYAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIUL5FY#issuecomment-573095575,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABJ5RC6O7Z5XVEGLHBDCUSLQ5CLY7ANCNFSM4KFEHYAA
.

I have the same problem @VinceG. On dev server everything works fine in all browsers but when I deploy with nginx on my raspberry pi in my local network i get the same error "Error: getUserMedia is not implemented in this browser"
Console: navigator.getUserMedia
Output: undefined
Console: navigator.mediaDevices.getUserMedia
Output: function legacyGetUserMediaSupport()
Console: navigator.mediaDevices.getUserMedia()
Output: Promise { : "rejected" }
I tried everything I described on different clients with different browsers and os's.
Do you have an advice?

Solved the problem: getUserMedia is only callable if you running your application on localhost (the browser defines this as secure) OR use SSL at deployment. @VinceG Your code works well! Anyway, SOMETIMES the webcams cannot be listed. I tested Chrome, Firefox and Safari in the latest stable versions. ps: i used exactly your code.
Thank you!

Hi ddv1212,
just to verify that it works for you on an iphone browser?
Best,
Chris
On Thu, Feb 6, 2020 at 8:34 PM ddv1212<EMAIL_ADDRESS>wrote:

Solved the problem: getUserMedia is only callable if you running your
application on localhost (the browser defines this as secure) OR use SSL at
deployment. @VinceG https://github.com/VinceG Your code works well!
Anyway, SOMETIMES the webcams cannot be listed. I tested Chrome, Firefox
and Safari in the latest stable versions. ps: i used exactly your code.
Thank you!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/VinceG/vue-web-cam/issues/47?email_source=notifications&email_token=ABJ5RC6G5LVW5AUW7BKOW63RBP7V3A5CNFSM4KFEHYAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEK7CDPI#issuecomment-582885821,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABJ5RC3W7FFTJKJOYQ4LJMLRBP7V3ANCNFSM4KFEHYAA
.

@helpcodemonkey I don't try it on an iPhone but Safari on latest OSX works well. I will try it from an iPhone the next days.
Regards

Yea it works ok on osx for me too. Hope to hear from you soon.
Best,
Chris
On Wed, 19 Feb 2020 at 9:57 PM, ddv1212<EMAIL_ADDRESS>wrote:

@helpcodemonkey https://github.com/helpcodemonkey I don't try it on an
iPhone but Safari on latest OSX works well. I will try it from an iPhone
the next days.
Regards
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/VinceG/vue-web-cam/issues/47?email_source=notifications&email_token=ABJ5RC3MSC6EWVW2YXFZSNLRDU3ENA5CNFSM4KFEHYAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMH6KAI#issuecomment-588244225,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABJ5RC4RZJVZ674PXOZZZETRDU3ENANCNFSM4KFEHYAA
.

@helpcodemonkey tested it on latest firmware of the iPhone 5s and it works pretty fine!

Do you have a demo site that I can test on?
Best,
Chris
On Thu, 20 Feb 2020 at 12:38 AM, ddv1212<EMAIL_ADDRESS>wrote:

@helpcodemonkey https://github.com/helpcodemonkey tested it on latest
firmware of the iPhone 5s and it works pretty fine!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/VinceG/vue-web-cam/issues/47?email_source=notifications&email_token=ABJ5RC7KCLEBHLDZXSF5UK3RDVOBRA5CNFSM4KFEHYAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMIP2QA#issuecomment-588315968,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABJ5RC7JCTUBMD6UFZM4WO3RDVOBRANCNFSM4KFEHYAA
.

你好
使用 https 协议
客户端浏览器手动指定域名安全
在谷歌输入网址的地方输入
chrome://flags/#unsafely-treat-insecure-origin-as-secure
在里面配置指定域名，然后选择 select 为 enabled 然后重启，就解决问题啦


support genes not mentioned in any project list

first example:  SPI1  for Cory's video (that gene not in the IGAP ~25 genes)

add this as a new textinput widget.  a new entry results in setTargetGene(myTrenaProject)


Select options are not visible on a screenshot

What is your Test Scenario?
Open a select menu and take a screenshot of its content.
What is the Current behavior?
The <select> element is collapsed on the screenshot, the options are not visible.
What is the Expected behavior?
The <select> element is expanded so options are visible on the screenshot.
What is your web application and your TestCafe test code?

Your website URL (or attach your complete example):
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Select</title>
</head>
<body>
    <select>
        <option selected>Choose an option</option>
        <option>One</option>
        <option>Two</option>
        <option>Three</option>
    </select>
</body>
</html>

Your complete test code (or attach your test files):
import { Selector } from 'testcafe';

fixture `select`
    .page `http://localhost:3000/test/select.html`;

test('New Test', async t => {
    await t
        .click(Selector('select'))
        .wait(3000)
        .takeScreenshot('C:/TEMP/111');
});

Your complete test report:

{
  "startTime": "2019-08-02T11:33:45.764Z",
  "endTime": "2019-08-02T11:33:48.179Z",
  "userAgents": [
    "Chrome 75.0.3770 / Windows 10.0.0"
  ],
  "passed": 1,
  "total": 1,
  "skipped": 0,
  "fixtures": [
    {
      "name": "select",
      "path": "C:\\TEMP\\select.testcafe",
      "meta": {},
      "tests": [
        {
          "name": "New Test",
          "meta": {},
          "errs": [],
          "durationMs": 2391,
          "screenshotPath": "C:\\Users\\lindberg.alexey\\TestCafeStudio\\reports\\screenshots\\C\\TEMP\\111",
          "skipped": false
        }
      ]
    }
  ],
  "warnings": []
}

Screenshots:

![111.png](https://user-images.githubusercontent.com/13483856/62368891-9db11380-b536-11e9-94b6-54fc74b99cd8.png)
Steps to Reproduce:

Deploy the attached HTML or choose any webpage with <select>.
Update the fixture page URL and run the test.
Open the screenshot.
Make you sure the options are not visible.

Your Environment details:

testcafe version:                   1.3.0
node.js version:                    v10.15.3
command-line arguments:  run from the TestCafe Studio test runner
browser name and version: Chrome 75
platform and version:          Windows 10

For the team:
Hammerhead overrides <select> dropdown rendering. All additional elements rendered by hammerhead (like a test status bar) are hidden from screenshots.


Troupe Member Initialization

I'm wanting to use an actor that persists records to a database in troupe configuration but can't come up with a way to initialize the actor with its configuration settings.
Right now I send it a Settings message type when it is first created and it configures itself based on the message.  However, if I set up a troupe, that Settings message will only be send to one actor.
Ideas?  I prefer not to have a global "configuration" that is imported my actors.

Hi Kevin,
We handled this by inverting the initialization process:

Create a "settings" actor with a globalName to hold all the settings.
Each troupe member asks the settings actor for settings if it doesn't already have them.

You will need to use the 3.5.0 or later troupe definition, which allows the troupe member to indicate that it is "busy".  Something like the following:
@troupe()
class Worker(ActorTypeDispatcher):
    def receiveMsg_Work(self, message, sender):
        if not hasattr(self, 'settings'):
            self.troupe_work_in_progress = message
            self.send(self.createActor('settings', globalName='SettingsActor'), 'get settings'))
            return
        self.troupe_work_in_progress = False
        ...do work with self.settings...

    def receiveMsg_Settings(self, settings_message, sender)
        self.settings = message
        if self.troupe_work_in_progress:
            self.send(self.myAddress, self.troupe_work_in_progress)

This lets each troupe worker get the settings from the SettingsActor singleton when the worker is first started.
-Kevin

A better update to the above is to allow multiple pending messages to be saved waiting for the settings:
@troupe()
class Worker(ActorTypeDispatcher):
    def receiveMsg_Work(self, message, sender):
        if not hasattr(self, 'settings'):
            self.troupe_work_in_progress = getattr(self, 'troup_work_in_progress', list()).append(message)
            self.send(self.createActor('settings', globalName='SettingsActor'), 'get settings'))
            return
        ...do work with self.settings...

    def receiveMsg_Settings(self, settings_message, sender)
        self.settings = message
        for work in self.troupe_work_in_progress:
            self.send(self.myAddress, work)

Saving multiple messages shouldn't be necessary for a troupe because only one work item should be delivered to the troupe member at a time, but by using the list to save all messages it means that this implementation works in or out of a troupe configuration (e.g. you could comment out or remove the @troupe() line and it would still work just fine).

Hi Kevin,
I saw that you closed this issue.  I'm putting together a set of "recipes" for using Thespian in different configurations and had planned to add the above information, but I'm curious to know if it was helpful or if you solved this a different way?
Regards,
Kevin

Yes, very helpful, thanks.  I didn't implement it exactly the same way but did use a global settings actor for my troupe.


Error pickle saving embeddings

Hi there,
I tried to save embeddings following the approach from this notebook:
openai-cookbook/examples/Recommendation_using_embeddings.ipynb
Error:
return pickle.load(handles.handle)
EOFError: Ran out of input
Here is the code:
set path to embedding cache
embedding_cache_path = "data/my_embeddings_cache.pkl"
load the cache if it exists, and save a copy to disk
try:
embedding_cache = pd.read_pickle(embedding_cache_path)
except FileNotFoundError:
embedding_cache = {}
with open(embedding_cache_path, "wb") as embedding_cache_file:
pickle.dump(embedding_cache, embedding_cache_file)

Cannot reproduce. This error occurs when embedding_cache is None.


Accordion does not even need css trickery:   tags

The HTML <details> and <summary> tags will do just fine.
FAQ Example (can even be nested)

What is 42

The answer.

Where do we come from

There is no answer to that.

3 years, and still not added


Add docker collection to the requirements.yml

Ansible-lint fails because it can´t find the docker collection.
This patch will add it to the requirements.
Closes #297
Signed-off-by: Ramona Beermann<EMAIL_ADDRESS>

recheck

recheck

recheck


Triton

merging into main, to get our main branch up to date so we can add in colossal.

tests wont pass without cuda, merging


Validating 'Type' property in json returns an error

I have a scenario where I need to compare the 'Type' field in json data:
{      "Name": "test",      "Type": "Basic" }
My rule is: (I'm using event as the RuleParameter name property)
event.Type == \"Basic\"
The following error is returned:
Exception while parsing expression event.Type == "Basic" - Expression of type 'Newtonsoft.Json.Linq.JTokenType' expected
Works fine if I compare the Name field. Any suggestions?
Implementation
           var rules = new List<Rule>();
                rules.Add(
                    new Rule()
                    {
                        RuleName = Guid.NewGuid().ToString(),
                        RuleExpressionType = RuleExpressionType.LambdaExpression,
                        Expression = "event.Type == \"Basic\""
                    });

            var workflows = new List<Workflow>()
            {
                new Workflow()
                {
                    WorkflowName = WorkflowName,
                    Rules = rules
                }
            };

           var deserializedPayload = JsonConvert.DeserializeObject("{\r\n  \"Name\": \"test\",\r\n  \"Type\": \"Basic\"\r\n}");
           var input = new RuleParameter("event", deserializedPayload);

           var ruleEngine = new RulesEngine.RulesEngine(workflows.ToArray());

           await ruleEngine.ExecuteAllRulesAsync(WorkflowName, input);

It looks like something to do with 'Type' as some reserved keyword. I will check on it and get back to you

Thanks, there is a workaround if you use event[\"Type\"] == \"Basic\".