"The bot is not currently active."

Hello,
I've managed to add Azurabot to my Discord server, grant it the authorizations needed, and am now facing a couple issues.
Here's how my conversations with the bot have been for the past minutes :

Me : !join test_cast (test voice channel)
Me : !play my_station
Azurabot : Starting playback of my_station !
[at this point, no sound, speaker deafened in the voice channel]
Me : !np
Azurabot : The bot is not currently active.
[the bot still appears as active in Discord, no specific error in Docker Log]

Thanks for your help !

What is your station called and what did you put for my_station.

What did you put the AZURACAST_URL as?

I'm running into this exact same problem.  I also noticed that the !leave command is not working at all.  For AZURACAST_URL I used the base url of my installation, i.e. http://radio.example.com.  I have 3 stations that I run from that installation.  When i use the !play example_name it will say "Starting playback of Example Name!"  But no sound is coming out & the speaker is deafened in the voice channel.  I will then get the "The bot is not currently active." message if I try a !np.  If I try to use the !vol command I will get "Join a voice channel before setting the volume.".  !leave or !stop do nothing.  Eventually the bot times out & leaves the channel on its own.

"If I try to use the !vol command I will get "Join a voice channel before setting the volume."
Just to clarify, I'm getting that message even though both I and the bot are still in the voice channel

@RiztyW , the AZURACAST_URL is the base URL of my installation. (since I'm using it via Digital Ocean, i tried both https://[IPv4] and https://myurl.com , each time resetting my Docker using
sudo docker images rmi
To be clear, the bot does return the right name for my radio when I summon it in Discord. It appears to join, just have no sound playing. When I use !np to get the Now Playing, I get the "Join a voice channel before playing music." message
Docker log looks like this :
`...
2020/04/18 14:05:52 INFO: Bot is now running. Press CTRL-C to exit.
2020/04/18 14:06:20 INFO: user sent command 'join'
2020/04/18 14:06:23 INFO: user sent command 'play'
2020/04/18 14:06:31 INFO: Playing URL https://my.url/radio/8000/radio.mp3?1587218776
goroutine 109 [running]:
main.(*Bot).Radio(0xc0000a62c0, 0xc0003b8900, 0x30, 0xc0000fd7a0)
2020/04/18 14:06:33 INFO: Initializing...
2020/04/18 14:06:33 INFO: Bot is opening...
2020/04/18 14:06:33 INFO: Connected!!
2020/04/18 14:06:33 INFO: Guild Create: [guild number]
2020/04/18 14:06:33 INFO: Bot is now running. Press CTRL-C to exit.
2020/04/18 14:06:34 INFO: user sent command 'np'
2020/04/18 14:06:34 INFO: The bot is not in a voice channel.`


Update charged-ieee for Typst 0.12.0

Use #set page(columns: 2) instead of #show: columns.with(2) (but keep #set columns(gutter: ...) before the #set page configuration)
Use multi-column floats for the document title and authors
Use contextual functions (counter(heading).get()) in show rules instead of locate()
Use #set par(spacing: ...)

Thumbnail
The thumbnail will need to be updated due to small 0.12.0 reflows. Let me know the best way to update that.
Version
I bumped charged-ieee to version 0.1.3, not sure if 0.2.0 would have been more appropriate, though the only "breaking change" here is basically to require Typst 0.12.0+. Undone.

We should probably review/merge https://github.com/typst/templates/pull/50 first.
Re thumbnail and version: Best leave that out of this PR. We can update both in a separate version bump commit.

I believe the block.sticky should be used in the heading show rule. Currently, both level 1 and level 2 headings can be widow, as illustrated by the image below.

Good call, thank you.

Something is off with this figure in 0.12 (with or without this PR). The spacing around it is smaller (I think that's just because it's inheriting par spacing now), but also the circle is no longer perfectly centered it seems. Kinda weird.

Typst 0.11.1
Typst 0.12.0

Damn, it looks like circles and squares are just totally broken in 0.12. Something about the logic that enforces them to have fixed aspect ratio makes the visual circle/square shrink but it's bounding box is still large. The fact that nobody noticed this goes to show how many people use circle/square in the first place.

I opened https://github.com/typst/typst/issues/5287. We could have another figure or switch the circle to a fixed radius for now.

That's interesting haha. I'll just switch to a fixed radius then


Improve Blazor template accessibility

Fixes #10786.

The changes here mostly just reflect what we did to improve contrast in the other templates.


What is the license for this extension? MIT or other?

Hi,
The project is licensed under MIT.
I already specified the license on NPM and the package.json, but for clarity, I now also added a LICENSE file to the main repository.
Cheers :)


Bump Xcode to 13.2.1

Signed-off-by: Oscar Bonilla<EMAIL_ADDRESS>

Hi @ob, I tested your branch locally but it said:
	ERROR: Bluepill runtime version 13.2 and compile time version 13.2.1 are mismatched

Hi @ob, I tested your branch locally but it said:
	ERROR: Bluepill runtime version 13.2 and compile time version 13.2.1 are mismatched

The reason:
        if (![[[BPUtils getXcodeRuntimeVersion] substringToIndex:4] isEqualToString:@BP_DEFAULT_XCODE_VERSION]) {
            BP_SET_ERROR(errPtr, @"ERROR: Bluepill runtime version %s and compile time version %s are mismatched\n",
                         [[[BPUtils getXcodeRuntimeVersion] substringToIndex:4] UTF8String], [@BP_DEFAULT_XCODE_VERSION UTF8String]);
            return NO;
        }

We may need 13.2 instead of 13.2.1 in bp/src/BPConstants.h.


Fix chat message nesting

Sorry for the trouble but I found out while using that I messed up the structure of the chat message event and some fields are not nested inside message!

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1685

Relevant Lines:
1820

💛  - Coveralls


Unnecessary strong reference link removed from double linked list in Operation.

Missed out comment address from the pull request: https://github.com/apple/swift-corelibs-foundation/pull/1899#pullrequestreview-203980923
CC: @phausler

The Swift project moved the default branch to main and deleted master branch, so GitHub automatically closed the PR. Please re-create pull request with main branch.
More detail about the branch update - https://forums.swift.org/t/updating-branch-names/40412


M major refactor

Griddle major version
1.10.0
Changes proposed in this pull request
A lot, this is sort of an 'omnibus' PR that includes all of the Griddle refactor stuff I've been working on. Unfortunately its gotten to the point where this stuff makes most sense all being together. This is not meant to be merged, but to be a place to centralize the conversation about the changes I'm proposing and also makes it easier to run them all at once. This branch is currently very active so expect frequent updates. Also, if this is not a good way of approaching these changes please let me know.

Griddle now only uses plugins to build the table. I have moved all of the table code in src/ into src/plugins/core, I have been referring to this stuff as the 'core' plugin. By default this 'core' plugin is used as the baseline to start building Griddle but now you can pass in a prop the is a different baseline plugin. This is a big change to the Griddle component itself, the basic idea though is that there shouldn't be any dependencies on any actual table code when building the plugins, we should just get components, reducers, selectors, actions, and store state from each plugin and layer those on top of each other. My intention is to make Griddle at its core no longer a table library, but a component building framework.

I'm trying to move everything any individual component might depend on to the context. This improves the already great behaviour overriding features Griddle already has since it creates a single point of truth for the props that are mapped into the components.

Selectors are probably the single biggest change I've been working on, and I still have more improvements I want to make here. As has been discussed in this PR selectors are now individually overridable via the use of a special griddleCreateSelector function and composeSelectors utility function. I have added some improvements on that pull request here: griddleCreateSelector now supports 'mixed mode' selector creation where you can use a combination of literal selector function and string selector dependencies. It now also will override every single instance of a selector being defined so imported selectors now automagically get the proper overridden behaviour. Selectors now also have a factory prop on them so you can get individual instances of each selector. The factory also accepts an object that allows you to redefine the dependency selectors for every run of the factory. I have improvements coming soon to allow very easy factory-ified creating of selectors for components that are not rendered just once, rows and cells being the most common use cases.

Actions have also been moved to the context. This object is currently very simple, just all of the actions defined in the plugins. I would like to take a closer look at this and see how overriding should be handled.

Multiple Enhancers can now be applied to a given component.

Why these changes are made
Generally to support improving the plugin and overriding behaviour of Griddle overall. The table we are building has a ton of features which can be mixed and matched and so making the infrastructure really really solid is our primary motivation.
Are there tests?
Testing is ongoing, I have been adding tests for the selector composition utility, and I have updated existing tests to function properly with this refactor.

Related: https://github.com/GriddleGriddle/Griddle/pull/757#issuecomment-338301964


Circular navigation

Please describe the problem you're trying to solve
By circular navigation, I mean when navigating a list with arrow keys, reaching the end and continuing to press the arrow key moves the selection back to the beginning of the list (or vice versa).
Would you be willing to contribute this feature?

[ ] Yes, I'll give it a shot

Describe the solution you'd like
When navigating a list with arrow keys, reaching the end and continuing to press the arrow key moves the selection back to the beginning of the list (or vice versa).
Additional context
No response

Hi there, check out this tip https://yazi-rs.github.io/docs/tips#navigation-wraparound
Closing as already exists.


Optimise lookup of test resources according to prefix

These changes use Arrays.streams to lookup the required test resources instead of maintaining a HashMap.

@slarse After the long discussion above, I think it is ready to merge now.

@algomaster99 Will review tomorrow!

@slarse This PR is not something on priority so it can wait. Rather, enjoy your long weekend :)


Wrong SSH clone URL

Gitea version (or commit ref): 1.3.2
Git version: 1:2.11.0-2ubuntu0.3
Operating system: Ubuntu-1704
Database (use [x]):

[ ] PostgreSQL
[x] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[ ] No
[x] Not relevant

Log gist:

Description
When trying to clone over ssh I get following url:
ssh://git@domain:port/user/repo.git
But the repos are located under
ssh://git@domain:port/home/git/user/repo.git
I did not find an option similar to ROOT_URL for ssh. How can I configure gitea to use a custom directory for clone url over ssh without jailing my user and moving the repo root?
Gitea config
RUN_USER = git
[repository]
ROOT = /home/git
[server]
SSH_DOMAIN       = domain
DISABLE_SSH      = false
SSH_PORT         = 22

The url seems fine. Gitea handles the mapping between the url and the actual location of the repository.
Have you had problems using this url!?

Yep, see this gist please: https://gist.github.com/youwontguess/7df4e19490ac53d589f8cf6b8fd789f6

I think this could be related to this one: https://github.com/go-gitea/gitea/issues/3848. Especially this comment https://github.com/go-gitea/gitea/issues/3848#issuecomment-386772101

pre-receive and update seem to be populated with the default content, if I'm not mistaken (/user/repo/settings/hooks/git)

Did not see your edits.

can use ssh://git@domain:port/home/git/user/repo.git without problems, so permissions are there
I've rerun your points. Nothing changed.
The git user has a login shell and it's working.
I'm not using ssh keys at this point.

@youwontguess Can you provide the log entries during repository cloning?

Thank you @daviian , that was the right hint.
May  8 19:22:59 Ubuntu-1704-zesty-64-minimal sshd[2390]: Authentication refused: bad ownership or modes for directory /home/git/.ssh
Fixed that, now auth via ssh keys is working :)

You are welcome!

I faced same problem, anyone else have a solution.
Git version 280ebcb.
OS: CentOS 7.3
DB: MySQL
Can you reproduce the bug at https://try.gitea.io: No
$ git clone git@example.com:david/c-learning.git
Cloning into 'c-learning'...
fatal: 'david/c-learning.git' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

YES, and more than this. When didn't use port 80(I use port 3000) , the SSH clone link is wrong. The copled link is git@localhost:Exam/Repos.git, but actually it must be ssh://git@hostname:port/Exam/Repos.git

ok sorry for butting in, but i believe i have the same problem. Setup looks like that:
...
[repository]
ROOT = /srv/git/repo/
...
[server]
SSH_DOMAIN = git.domain.org
...

repo name, lets say, is user/example.git
gitea by default generates such link on repo page but to actually access this repo it should be:
git@git.domain.org:/srv/git/repo/user/example.git
as in following pattern
@:/path (same with ssh://... notation


Add source columns to HGHI+Vents data

This set of notebook changes modifies the columns of the HGHI and ventilator merged data to add source information (either 2010 study estimate or 2018 population estimate). This makes it more clear to users the age of the data.
This change is also implemented in the CCM USHSM State-level data.
The data in processed/hghi_state_data_with_vents.geojson is updated.

This data change is the source of the data in #56


Cannot read property 'toLowerCase' of undefined

Exception has occurred: TypeError: Cannot read property 'toLowerCase' of undefined
t c:\Users\alros\repos\Microsoft\vscode-pull-request-github2\media\extension.js:77946:50
at Array.map ()
at PullRequestModel. (c:\Users\alros\repos\Microsoft\vscode-pull-request-github2\media\extension.js:77928:60)
at Generator.next ()
at fulfilled (c:\Users\alros\repos\Microsoft\vscode-pull-request-github2\media\extension.js:77303:58)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:94:5)

Verified in code


Allow overriding the date from the DagRun conf

Fixes

Description

Adds an option to the DagRun conf to let you override the date of a run of a dated provider DAG.
When you manually run a dated DAG, it is always passed in today's date. This option allows you to pass in any arbitrary date you'd like. While I don't necessarily expect this to be used frequently in production, it has come in handy many times for local testing.
Testing Instructions

To trigger a DAG using a date override, select the Trigger DAG w/ config option seen here:

Then pass your chosen date in using a YYYY-MM-DD format like this:
{"date": "2022-04-10"}
Pick a dated DAG, like Europeana:

Try running it normally by enabling the DAG locally and letting a scheduled run start. Verify that it correctly uses the scheduled date.
Try running it manually without a DagRun conf. Verify that it uses today's date.
Try triggering the DAG w/ a config and pass in a different date. Verify the custom date is used. You should see a message in the logs like Using date <date> from dagrun conf.

Notes

The DAG will error if nonsense data or an incorrectly formatted date is passed in.
You can set a date override on any provider DAG, even a non-dated one. In this case it simply won't do anything.

Checklist

[ ] My pull request has a descriptive title (not a vague title like Update index.md).
[ ] My pull request targets the default branch of the repository (main) or a parent feature branch.
[ ] My commit messages follow best practices.
[ ] My code follows the established code style of the repository.
[ ] I added or updated tests for the changes I made (if applicable).
[ ] I added or updated documentation (if applicable).
[ ] I tried running the project locally and verified that there are no visible errors.

Developer Certificate of Origin

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

Finally able to test, works great!


about php 8.1 based fiber support in Workerman

Hi,
As php 8.1 is public few weeks earlier, any plan to support fiber implementation in php 8.1?
https://wiki.php.net/rfc/fibers
please share your inputs
thank you

This month, workman will create a V5 branch and support revoltphp/event-loop which supports fiber.

Awesome Walkor, I wanted to ask if revoltphp's event loop will be supported and not sure about your views, so, posted in generic way.
Thank you for the update and this means, we can use amphp, reactphp libraries even when trying workerman, after revoltphp event loop is integration is made available

I wanted to ask if revoltphp's event loop will be supported

Yes, workerman v5 will supports revoltphp's event loop. So we can use amphp, reactphp libraries in workerman v5.

Can we continue to use PSR-7/PSR-15 libraries of Laminas  (synchronous code) after workerman v5 release?
or do you suggest to move away to PSr-7, PSR-15 libraries of Workerman/AMPHP, ReactPHP etc based on availability?

PHP coroutine framework https://github.com/wind-framework/wind-framework/tree/1.0  1.0-dev is already adapter with revoltphp, it's base on workerman, I'm excited to wait for V5 version that for wind framework.

@xpader, it's nice to know, the ecosystem to grow with more and more options, All the Best :)

This month, workman will create a V5 branch and supports revoltphp/event-loop which supports fiber.

Is v5 production ready? Does it support coroutines in any way?

Workerman v5 branch already supports revoltphp/event-loop which support coroutines.
Workerman v5 not released and trying to wait revoltphp/event-loop's first stable LTS release.

That's good to hear.
I also checked README.md on the v5 branch and couldn't find any additional information on the usage of the event-loop or how to create a coroutine.
If you can create a working example that would be great.

revoltphp/event-loop use EventLoop::getSuspension(); create a fiber coroutine.
We can suspend it or resume it at any time.
In most cases, we do not need to call the coroutine api. Frameworks or components will help us do these things when needed.

Is it possible you could create an example code using workerman v5 and creating a coroutine?
Thank would be really helpful. I can open a different issue if that will be more appropriate :)

<?php
require_once __DIR__ . '/vendor/autoload.php';
use Workerman\Worker;
Worker::$eventLoopClass = 'Workerman\Events\Revolt';
$worker = new Worker('http://<IP_ADDRESS>:12345');
$worker->onMessage = function($connection, $request)
{
    // Synchronous code but asynchronous non blocking execution
    $response = get('http://example.com');
    $connection->send($response);
};

function get($url) {
    static $http;
    $http = $http ?: new Workerman\Http\Client();
    $event_loop = Worker::getEventLoop()->driver();
    // Create fiber
    $suspension = $event_loop->getSuspension();
    $http->get($url, function($response) use ($suspension){
        // Resume fiber
        return $suspension->resume($response);
    });
    // Suspend fiber
    return $suspension->suspend();
}

Worker::runAll();

With fiber, we can write asynchronous non blocking code in synchronous to mode.
When workerman V5  released, worekrman/http-client library will support fiber from the lower layer without users' manual call. At that time, the api is likely to be like this.
<?php
require_once __DIR__ . '/vendor/autoload.php';
use Workerman\Worker;
Worker::$eventLoopClass = 'Workerman\Events\Revolt';
$worker = new Worker('http://<IP_ADDRESS>:12345');
$worker->onMessage = function($connection, $request)
{
    $http = new Workerman\Http\Client();
    $response = $http ->get('http://example.com');
    $connection->send($response);
};

Worker::runAll();

That's great. Thanks for the sample code.
Is there a way to execute for example some heavy image processing code or a database query inside a coroutine? not just network requests.
For example, in Laravel Octane when depending on Swoole, I could create a coroutine in the following syntax.
        [ $var_a, $var_b ] = Octane::concurrently( [
            fn() => $this->heavy_db_function_a( $param ),
            fn() => $this->heavy_db_function_b( $param )
        ] );

Is it possible to run anything inside a coroutine?

At present, revoltphp/event-loop not provide such interface.

I'm new to all of this, but, I just checked https://revolt.run/fibers and guess I can place a database query in a suspend-able function !? 🤔
I did not try that yet, I will try to do so but if I'm looking at this wrong please enlighten me.
Also, as a side note, I am getting version errors when trying to install workerman/http-client with workerman ^5.x-dev so not sure if there's a specific way for installation.
I highly appreciate your rapid responses btw. It means a lot to the community 👍 👏

I am getting version errors when trying to install workerman/http-client with workerman ^5.x-dev so not sure if there's a specific way for installation.

When I install  workerman/http-client I manually changed workerman to ^4.0.
I think when you using db library which support workerman/http-client the codes below are the same effect.
[ $var_a, $var_b ] = Octane::concurrently( [
      fn() => $this->heavy_db_function_a( $param ),
      fn() => $this->heavy_db_function_b( $param )
  ] );

$var_a = $this->heavy_db_function_a( $param );
$var_b = $this->heavy_db_function_b( $param );

In the same process, swoole and fiber not will not really execute code in parallel. From a certain point of view, they are still serial, but they are scheduled to execute other code when encountering IO calls.

In the same process, swoole and fiber not will not really execute code in parallel. From a certain point of view, they are still serial, but they are scheduled to execute other code when encountering IO calls.

Yeah, I kinda get that. The reason I want to use this is because I have a number of heavy IO operations, some independent of each other and could benefit from (virtually) parallel execution.

When I install workerman/http-client I manually changed workerman to ^4.0.

I assumed you can't use revoltphp/event-loop with ^4.0 🤔

I think when you using db library which support revoltphp/event-loop the codes below are the same effect.

No I don't have a db library supporting revolt. I was talking about normal db query execution through any modern orm library. Do I have to have a special db library to do so ?! This is confusing 😕

I assumed you can't use revoltphp/event-loop with ^4.0
Yes, composer info show revolt/event-loop   v0.2.2

No I don't have a db library supporting revolt. I was talking about normal db query execution through any modern orm library. Do I have to have a special db library to do so ?! This is confusing

Finer can not (virtually) parallel execution normal db query through modern orm library. If you want all IO to be executed concurrently through fiber, you need to rewrite all IO clients to support fiber, which is a very arduous task. However, swoole basically realizes all IO concurrent execution through low-level hook. At present, swoole collaboration is the best practice. Workerman v5 will supports swoole too.

What is meant Workerman v5 will supports swoole too ?
I assumed workerman is a replacement for swoole! How can they collaborate?

Swoole is also an event-loop so workerman can use it .

Okay, but, isn't Swoole only working through its own server? Be it http or tcp or whatever implementation you're using!? 🤔

Stable version of revoltphp is released https://twitter.com/revoltphp/status/1588247750038106112?s=20&t=5y2nGmjJej3ufWF2iVs-YA

V5 requires a lot of testing, at least 2 months.

it will be worth it :)


dockerfile: use a non-root user to run decK

let me try this

@digikin , are you working on this?

Attempting to


Update addCustomView.md

Corrected the notes about invalid GUIDs

Since the change directly changes the meaning of the current description. Need feature team to approve.

@miglisic & @chmoncay
Change to addCustomView (Client API reference) directly contradicts current documentation saying it doesn't work.
Current:

This value is never saved and only needs to be unique among the other available views for the lookup. A string for a non-valid GUID will work, for example “00000000-0000-0000-0000-000000000001”. It’s recommended that you use a tool like guidgen.exe to generate a valid GUID.

Proposed:

This value is never saved and only needs to be unique among the other available views for the lookup on the current form. A string for a non-valid GUID will not work, for example “00000000-0000-0000-0000-000000000001” will not work. It’s recommended that you use a tool like guidgen.exe to generate a valid GUID.


Bar doesn't regrow when the window is expanded

When the window shrinks the Menu Bar will collapse some of the menu's but when the window is expanded the menu items do not come back.
Example:
Full Screen

Shrunk screen

Resized screen

Unable to reproduce other than by overriding the menu-bar-button css with flex-grow:1 as mentioned above.
Tweaking the component's internal css cannot be expected not to affect its functionality, so closing this issue.
(Feel free to create a separate ticket about adding a theme variant for stretching menu-bar-buttons.)


Links with fragments don't work in markdown

Concrete example from the Discord....
https://comsci.co.uk/100PcVatFreeBridge#Fundraising <-- goes to a subsection on the page
https://comsci.co.uk/opensource then scroll down to "Back" which links to  /100PcVatFreeBridge#Fundraising, which goes back to the page but does NOT scroll down.
This might be an issue with the browser loading the page too fast (instantly) and then the section isn't ready when "#" is visited. It might also just be a logic issue in Kobweb, see also: https://github.com/varabyte/kobweb/blob/ca0ccea5a257538bc8dc5dde5f74a0caa74654fc/frontend/kobweb-core/src/jsMain/kotlin/com/varabyte/kobweb/navigation/Router.kt#L322
^ Maybe I just need to fire that on a timer instead of instantly?

I can not recreate this bug on 121.0.1 (64-bit) Firefox on Windows it seems. Back takes me to Fundraising with a scroll down

Fixed in 0.15.4

I can not recreate this bug on 121.0.1 (64-bit) Firefox on Windows it seems. Back takes me to Fundraising with a scroll down.

Yeah I believe the author of the site fixed it when the new version of Kobweb was made available to them.


Add marginalise utility for KeyedMvNormal and KeyedMvTDist

Extends the AxisKeys lookup syntax to allow extracting sub-components of MvNormal and MvTDist distributions
julia> KD = KeyedDistribution(MvNormal(ones(3)), [:a, :b, :c]);

julia> KD([:a, :c])
KeyedMvNormal{ZeroMeanDiagNormal{Tuple{Base.OneTo{Int64}}}}(
d: ZeroMeanDiagNormal(
dim: 2
μ: 2-element Zeros{Float64}
Σ: [1.0 0.0; 0.0 1.0]
)

keys: ([:a, :c],)
)

So, with the current version, will we be able to preseve type PDigMat and WoodburyPDMat if they appear in the original distribution? Doesn't look like they are?

So, with the current version, will we be able to preseve type PDigMat and WoodburyPDMat if they appear in the original distribution? Doesn't look like they are?

That's correct, this is a minimum working marginalise method so that I can start deprecating our use of IndexedDistributions.
I think to get what you're asking it'll involve tackling https://github.com/invenia/PDMatsExtras.jl/issues/16 (which we can do)

So, with the current version, will we be able to preseve type PDigMat and WoodburyPDMat if they appear in the original distribution? Doesn't look like they are?

That's correct, this is a minimum working marginalise method so that I can start deprecating our use of IndexedDistributions.
I think to get what you're asking it'll involve tackling invenia/PDMatsExtras.jl#16 (which we can do)

Thanks! Just want to say, it is very important to preserve the exact PDMat in marginalise for our internal use. Many efficient computions we wrote dispatch on the specific PDMat. We don't want things to be converted to dense unnecessarily. (if marginalisation happens inside model training, it may not be whether things can be computed efficiently or not, it would be whether it can run or not)

Thanks! Just want to say, it is very important to preserve the exact PDMat in marginalise for our internal use. Many efficient computions we wrote dispatch on the specific PDMat. We don't want things to be converted to dense unnecessarily. (if marginalisation happens inside model training, it may not be whether things can be computed efficiently or not, it would be whether it can run or not)

Please take a look at  https://github.com/invenia/PDMatsExtras.jl/pull/17 and let me know what you think

From how Array indexing works,
I am pretty sure D(:a) should return a KeyedNormal and D([:a]) should return a KeyedMvNormal
Consider
julia> xs = [ 1 2 3; 10 20 30]
2×3 Matrix{Int64}:
  1   2   3
 10  20  30

julia> xs[1, :]
3-element Vector{Int64}:
 1
 2
 3

julia> xs[[1], :]
1×3 Matrix{Int64}:
 1  2  3

If we don't support KeyedNormalDistribution, and only support the MvNormal,
then I think we should just not support indexing with a non-array.
That way in the future we can add it.

Refactored the code before merging. Lookup now relies on getindex behind the scenes and so will work when the latter can be defined.


Handle UncaughtPromiseRejection events

If a webdriver command isn't properly awaited or promise chained and has an error, it'll throw an UncaughtPromiseRejection event. We should catch these events and log an error telling the user that they likely missed an await somewhere. Bonus points if we can get a stacktrace to the exact line that wasn't awaited.

Actually was able to reproduce this in https://github.com/angular/protractor/pull/5095 and have a better message set.

describe('protractor with typescript typings', () => {
  it('sync works', () => {
    expect(1).toEqual(2);
    expect(3).toEqual(2);
  });

  it('async doesn\'t', async () => {
    expect(1).toEqual(2);
  });
});

config:
import {Config} from 'protractor';

export let config: Config = {
  framework: 'jasmine',
  capabilities: {
    browserName: 'chrome'
  },
  specs: [ 'spec.js' ],
  seleniumAddress: 'http://localhost:4444/wd/hub',
  onPrepare: () => {
    jasmine.getEnv().throwOnExpectationFailure(true);
  },
  // You could set no globals to true to avoid jQuery '$' and protractor '$'
  // collisions on the global namespace.
  noGlobals: true
};

Might be worth investigating before closing this issue.


panic: Index out of range in api/session.go

Reproduction:

Create new Session
Initialize Session
Call session.GetPlayerMap()

It seems that protos.ResponseEnvelope.Returns could at times be an empty slice?
Stacktrace:
panic: runtime error: index out of range

goroutine 1 [running]:
panic(0x414ee0, 0xc82000a0b0)
	/usr/local/go/src/runtime/panic.go:481 +0x3e6
github.com/pkmngo-odi/pogo/api.(*Session).GetPlayerMap(0xc820012550, 0x1, 0x0, 0x0)
	/Users/Moddy/go/src/github.com/pkmngo-odi/pogo/api/session.go:223 +0x47a
main.main()
	/Users/Moddy/go/src/github.com/moddyz/pokemapgo/test.go:49 +0x59b

Hmm, have not been able to reproduce it. But I guess we could safe-guard by checking the length of the byte-slice to not be empty and return an error if it is. Thanks for your feedback.

Thanks for looking at this so quick!


implement Stream::concat_safe

Fixes #450.
I went with an Option here rather than leveraging Default because I see it as more flexible. It is easy to recover the Default behaviour if one wishes via:
s.concat_safe().map(|x| x.unwrap_or(default()))

However, the reverse (recovering the Option behaviour from an implementation using Default) is not so easy.
As soon as we can break the API (with futures 0.2, I'm assuming), we could move concat to use Default instead if we think this will provide additional convenience when used with types like Vec. In this case we might want to choose a different name for concat_safe at this point though, maybe concat_option? Alternatively we could introduce concat_default and make concat_safe the new concat.
Let me know what you think.

IMO I prefer the option provided by @alexcrichton in #450. Switching to Option is less ergonomic and I do not see a common case for using concat when the target type is not Default.
Also, adding 2 to the fn name has been the idiom we have been using for working around backwards compatibility issues.

Fine by me, updated the PR with the changes.

Another thing that I just noticed that we might have the opportunity to address now while introducing a new method is to change the type slightly from:
fn concat2(self) -> Concat2<Self>
    where
        Self: Sized,
        Self::Item: Extend<<<Self as Stream>::Item as IntoIterator>::Item> + IntoIterator + Default

to something like (not sure about the types yet, would need to play through some more use-cases):
fn concat2<T>(self) -> Concat2<Self, T>
    where
        Self: Sized,
        Self::Item: IntoIterator,
        T: Default + Extend<<<Self as Stream>::Item as IntoIterator>::Item>

In theory this should allow for things like concat-ing a Stream<Item=char> into a Future<Item=String>. Let me know if there's interest to support this type of use-case, or whether you think it's overly complicating things.

@alexcrichton Addressed your feedback.

Awesome, thanks @srijs!


[example config] add linux-mysql-error-log.md

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


403 server error when uploading an image to Wagtail

Description
403 server error when uploading an image to Wagtail

@fourthletter  Does this always happens and for all images?

@frjo This started last week. I am able to upload documents and images on test,  but not on OTF's live site.
Live site:

Test site:

I tested to upload an image on OTF live just now and got no errors. Does the issue persist for you?

We are still experiencing this issue on OTF live. I will share a recording with you on Slack.

@fourthletter Was this resolved or still an issue?

@frjo this is still an issue. However, we will be unlikely to use this functionality once we move to the new website.

Sharing my browser's dev console to help pin down the issue:


server.workbooks.download giving 400 Bad Request error

Describe the bug
server.workbooks.download giving 400 Bad Request error
These parts of the below code work, demonstrating successful connection to our Tableau server:

Sign into the Tableau Server
Initiate logging of the script activity
Sign into the Tableau Server
Generate a list of the workbooks
Sign out of the Tableau Server

However this part of the code doesn't work:

Download the workbooks to a specified folder

Versions
Details of your environment, including:

Tableau Server version (or note if using Tableau Online)
Python version
TSC library version

To Reproduce
# Sign into the Tableau Server
import tableauserverclient as TSC
import logging

# Initiate logging of the script activity
logging.basicConfig(format='%(asctime)s - %(name)s - %(levelname)s - %(message)s',
                    filename="tsc.log", level="DEBUG")

# Sign into the Tableau Server
tableau_auth =<EMAIL_ADDRESS>'password', site_id='company')
server = TSC.Server('server_address', use_server_version=True)

# Generate a list of the workbooks
with server.auth.sign_in(tableau_auth):
  all_workbooks_items, pagination_item = server.workbooks.get()
  print([workbook.name for workbook in all_workbooks_items])

# Download the workbooks to a specified folder
with server.auth.sign_in(tableau_auth):
    for workbook in all_workbooks_items:
        file_path = server.workbooks.download(all_workbooks_items[0], filepath=r"C:\Users\user_name\Desktop\download test")
        print("\nDownloaded the file to {0}.".format(file_path))

# Sign out of the Tableau Server
server.auth.sign_out()

Results
NonXMLResponseError: b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n\n<title>400 Bad Request</title>\n\n
Bad Request
\n
Your browser sent a request that this server could not understand.
\n
\n\n'

NOTE: Be careful not to post user names, passwords, auth tokens or any other private or sensitive information.

There are two problems in this code.

you are looping over each workbook in the list all_workbooks_items, but then you download the first workbook in the list every time (all_workbooks_items[0])
The method server.workbooks.download wants the first argument to be the workbook id, but you have passed it an entire workbook item.

Try this replacement code:
# Download the workbooks to a specified folder
with server.auth.sign_in(tableau_auth):
    workbook = all_workbooks_items[0]
    file_path = server.workbooks.download(workbook.id, filepath=r"C:\Users\user_name\Desktop\download test")
    print("\nDownloaded the file to {0}.".format(file_path))

Contributor

Yep, my code was wrong; thank you!


Where is the output bed file?

Hi,
When the command line is coplete, there is no bed file output.
/public2/home/sl_qybio/sl_qybio/software/biosoft/teloscope/build/bin/teloscope -f ../08.polish/polish.final.sort.fa -p TTAGGG -w 1000 -s 1000 > teloscope.txt
how to output bed file?
Best,
Kun

Dear Kun,
I apologize for the delayed response. Please, rerun your code with the latest version and feel free to reopen this issue if you find problems. The -o flag should handle the output paths.
Best,
Jack


feat: add computeCreateAddress helper function in Script

ik forge-std doesn't place a large emphasis on comments, but i think given the amount of magic constants in this code its worth using a commented impl like LibRLP https://github.com/Rari-Capital/solmate/blob/v7/src/utils/LibRLP.sol

ik forge-std doesn't place a large emphasis on comments, but i think given the amount of magic constants in this code its worth using a commented impl like LibRLP https://github.com/Rari-Capital/solmate/blob/v7/src/utils/LibRLP.sol

Nice point, I've updated it to use an impl based on that one, thanks!

@brockelmore would you prefer addressFrom or something else?

computeCreateAddress re @mds1's suggestion

@brockelmore agreed, already changed to that in my last commit ser

lmfao sorry, will merge

just realized this broke solidity 0.6.x compiler version cuz CI was tightly configured to only run for certain contributors :(. @devanonon can you try to fix, sorry

@brockelmore Just realized that too and am on it, no worries :)


Added par support to wash-lib

Feature or Problem
Feat: Move wash par to wash-lib
Release Information
next
Consumer Impact
Internal code refactoring.
No impact to existing functionality
Testing
unit and manual tests
Built on platform(s)

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

Tested on platform(s)

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

Unit Test(s)
NA
Acceptance or Integration
NA
Manual Verification
manually verified

I think I managed to address all the review comments here. Pulling stuff out from the library into the CLI definitely helped in reducing some of the function arguments and also removing the function argument struct for the insert_provider_binary, thus reducing a lot of clutter.


[lazyLoading] Fix partiallly visible elements

To pay more attention to the scroller we want to display 60% of the last picture only. We set slidesToShow=4.6. Without this patch the 4.6 value is used to slice the array which results in the 4 beeing used.
This patch uses the Match.ceil() to fix this.

Thanks


Csharpcomments

Can one of the admins verify this patch?

Hi @BrucePerlerMS, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (bruceper). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, or work for Microsoft Open Technologies, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;

please merge this comments only pull request

@azuresdkci add to whitelist


Problems when using method generics

Bug Report

🔎 Search Terms

🕗 Version & Regression Information

This is a crash
This changed between versions 4.9.4 and _______
This is the behavior in every version I tried, and I reviewed the FAQ for entries about _________
I was unable to test this on prior versions because _______

⏯ Playground Link

Playground link with relevant code
💻 Code

export function paging<T>() {
    type DataType = Array<T & { checked?: boolean }>;

    const list: DataType = [];
    const list2: Array<T & { checked?: boolean }> = [];

    return {
        list,
        list2
    }
}

type Data = { id: number, name: string };

const {list, list2} = paging<Data>();

/*
  const list: DataType
  Alias for: Array<T & {checked?: boolean}>
*/
list.push({id:1,name:'2'});

// const list2: (Data & {checked?: boolean | undefined})[]
list2.push({id:1,name:'2'});

🙁 Actual behavior

Generic type T is not compiled to final type Data
🙂 Expected behavior

I want the type DataType to be reused in the function

Your playground link doesn't work. And I don't see anything wrong in your code, in both cases the type is the same, just a different visual representation.

Occurred in the vue3+ts environment, it should not be a problem with ts

This user00 and user are both the same data, why one will prompt a type error, and the other will not, and if the type is defined directly through <Array<T & {checked?:boolean}>> like user10, it will not prompt a type error . Maybe it's a problem with vue Ref?

Neither of these are type errors. Maybe this has been fixed in the interim? Please open a new issue if you have a clearer description of the problem. Thanks!


SpacesAfterSemicolonFixer - handle for loop.

fix for;
https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/1655

It looks over engineered to me...
Please take a look at: https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/1684

@SpacePossum please take a look at #1684, it is completely different approach


Just kick CI.

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

Project coverage is 89.78%. Comparing base (8c6dc02) to head (efee5df).

Additional details and impacted files

@@           Coverage Diff           @@
##             main     #188   +/-   ##
=======================================
  Coverage   89.78%   89.78%
=======================================
  Files          97       97
  Lines       10825    10825
=======================================
  Hits         9719     9719
  Misses       1106     1106

see 1 file with indirect coverage changes


Allow putting "0-count" cards into a deck

With the recent addition of several spoiled card packs there are now cards in the database that you can't add to a deck. I'd like to be able to add them to discuss future deck ideas with friends.
An easy way to see the cards I'm referring to is to go to the deck builder, select just the future card packs (Calm Over Westeros and later), enable "show unusable cards", and select all the factions and card types. Around half the cards show max quantity 0. Some of them (the plots, it seems) show "deck limit: undefined" if you hover.
This could be a bug report or feature request, either a bug that the limit is 0 on those cards, or a feature request to add a checkbox like "allow adding cards beyond deck limit" (which would make the deck invalid, like having too many plots) if having the limit as 0 internally is important.

Thank you for the bug report. It was an error in the database. I fixed it, so you should soon be able to add them to your decks.

Thanks for the quick response. When should I be able to validate it on the live site? (Issue still seems to be happening today.)

Did you try refreshing the application data, with the link at the bottom of the deckbuilder?

Le 7 avr. 2016 à 18:47, Scot Salmon<EMAIL_ADDRESS>a écrit :
Thanks for the quick response. When should I be able to validate it on the live site? (Issue still seems to be happening today.)
—
You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub

That did it, thanks.


mod_ldap: Use the LDAP API directly to implement the rebind callback

mod_ldap: Use the LDAP API directly to implement the rebind callback
for modern versions of OpenLDAP, avoiding the overhead of the apr-util implementation.

* modules/ldap/util_ldap.c: Define USE_APR_LDAP_REBIND unless a modern version of OpenLDAP is used. (uldap_rebind_proc): New function. (uldap_rebind_init, uldap_rebind_add): Define, using either the callback or the (bad) APR-util versions. (uldap_connection_unbind): Clear the rebind pool to remove rebind references prior to destroying the LDAP *. Omit for !USE_APR_LDAP_REBIND. (uldap_connection_init): Use new wrappers, only create the rebind pool if USE_APR_LDAP_REBIND.

* include/util_ldap.h: Don't include apr_ldap_rebind.h here.

PR: 64414

Merged in 85be5353986d676dd75a424e8d4094128e9a20d9


[docs] Providing additional files on macOS

Hi,
I am trying to bundle a few binaries  built alongside into the target/release, this is my configuration:
{
  // ... redacted
  "bundle": {
    "macOS": {
      "files": {
        "Resources/binary-a": "../../target/release/binary-a",
        "Resources/binary-b`: "../../target/release/binary-b"
      },
      "minimumSystemVersion": "10.13"
    }
  }
}

Please clarify in documentation how to provide a relative path because I don't understand what working directory is being used.
Related PR: https://github.com/tauri-apps/tauri/pull/7798

All configs should always be relative to the path of the tauri.conf.json file.

Thanks for a quick reply. Somehow that assumption didn't hold for me, maybe I had a typo? Nonetheless, after updating to beta.14 and double checking everything it finally worked.


Responsive nav bar header

the bootstrap side menu go hidden in small screen sizes.
and we have the header nav bar but empty.
I thought we can grape the side bar items to it.
If you are agree I can make a pull request for this.
we can add them as a sub menu inside a main item in the header nav

You mean the CrudView sidebar?

I mean the bake src/Template/Bake/Template/index.ctp side bar (tb_sidebar block)
and the layout /src/Template/Layout/examples/dashboard.ctp  (navbar-collapse collapse)
I wonder if that is a part of the plugin, or not.

It's a sample, not really part of the plugin (more than being included). The fact is that people want to use their own markup sometimes but I can totally see this beneficial to the ones sticking to re-using the examples (me included). Go ahead with the PR!

ok


width and height sorting order

Hello,
Just checking if there's a reason behind why sorting width and height goes like this: h-... w-... instead of the width before height

Hey! No real reason, just had to pick one 👍

Hey! No real reason, just had to pick one 👍

and why did you choose a counterintuitive?
for example svg elements has viewbox values: first is width, second is height, and the same as it attributes.
But when I'm looking on my sorted classes each time I have an extreme dislike for this reverse order.
And there's no way to adjust it.


Fix docker doc

Some embedded journal docs slipped in when cherry-picking from master

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/3446/
Test PASSed.

alluxio-bot, merge this please


recursion in native backend

Before https://github.com/abooishaaq/sahl/commit/4b152e79ac5ca539411ba552ce581bc8ed6bff94 fibonacci.sahl and factorial.sahl were segfaulting. Now, fibonacci works fine but factorial does something weird.
fun factorial(n: int) -> int {
    print(n)
    if n == 1 { return 1 }
    let fact_n_1 = factorial(n - 1)
    return n * fact_n_1
}

fun main() {
    print(factorial(5))
}

this outputs
5
4
3
2
1
240

but if we remove the print statement it outputs correctly!!

in x86_64
fun factorial(n: int) -> int {
    print(n)
    if n == 1 { return 1 }
    return n * factorial(n - 1)
}

fun main() {
    print(factorial(15))
}

outputs
15
1

gotta fix this


Change to double-quoted string

With single quotes ('\n'), the str_replace() function won't recognize it as a newline character. It will look for the literal sequence of a backslash followed by n, which I don't think we want.

Sorry about the delay!


Error on running script (unable to restore packages)

Problem
When I run a script file with the following command I get an error as shown below:
$ dotnet script foo.csx
Unable to restore packages from '/home/myuser/.cache/dotnet-script/home/myuser/developer/net5.0/script.csproj'
Make sure that all script files contains valid NuGet references

Details:
/home/myuser/.cache/dotnet-script/home/myuser/developer/net5.0 : dotnet restore "/home/myuser/.cache/dotnet-script/home/myuser/developer/net5.0/script.csproj" -r linux-x64  --configfile "/home/myuser/.nuget/NuGet/NuGet.Config"

The content of the script is as follows:
$ cat foo.csx
Console.WriteLine("hello");

Environment Info
$ dotnet --info
.NET SDK (reflecting any global.json):
 Version:   5.0.100
 Commit:    5044b93829

Runtime Environment:
 OS Name:     ubuntu
 OS Version:  20.04
 OS Platform: Linux
 RID:         ubuntu.20.04-x64
 Base Path:   /snap/dotnet-sdk/105/sdk/5.0.100/

Host (useful for support):
  Version: 5.0.0
  Commit:  cf258a14b7

.NET SDKs installed:
  5.0.100 [/snap/dotnet-sdk/105/sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 5.0.0 [/snap/dotnet-sdk/105/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 5.0.0 [/snap/dotnet-sdk/105/shared/Microsoft.NETCore.App]

To install additional .NET runtimes or SDKs:
  https://aka.ms/dotnet-download

$ dotnet script --version
1.0.1

I am wondering if upgrading .NET Core from 3.x to 5.x and dotnet-script from 0.50.1 to 1.0.1 is somewhat related.
#199 seems relevant but what is different from the issue is that I do not import any packages.

did you try running with --no-cache?
also it might be good to try uninstalling the tool and reinstalling again

@filipw
Thank you for your reply.
I tried both but none of them is working.
$ dotnet script --no-cache hoge.csx
Unable to restore packages from '/home/myuser/.cache/dotnet-script/home/myuser/net5.0/script.csproj'
Make sure that all script files contains valid NuGet references

Details:
/home/myuser/.cache/dotnet-script/home/myuser/net5.0 : dotnet restore "/home/myuser/.cache/dotnet-script/home/myuser/net5.0/script.csproj" -r linux-x64  --configfile "/home/myuser/.nuget/NuGet/NuGet.Config"

$ dotnet tool uninstall -g dotnet-script
Tool 'dotnet-script' (version '1.0.1') was successfully uninstalled.

$ dotnet tool install -g dotnet-script
You can invoke the tool using the following command: dotnet-script
Tool 'dotnet-script' (version '1.0.1') was successfully installed.

$ dotnet script --no-cache hoge.csx
Unable to restore packages from '/home/myuser/.cache/dotnet-script/home/myuser/net5.0/script.csproj'
Make sure that all script files contains valid NuGet references

Details:
/home/myuser/.cache/dotnet-script/home/myuser/net5.0 : dotnet restore "/home/myuser/.cache/dotnet-script/home/myuser/net5.0/script.csproj" -r linux-x64  --configfile "/home/myuser/.nuget/NuGet/NuGet.Config"

Hmm I don't know why but I was able to run scripts after reinstalling .NET via apt-get install instead of snap.
Installation via snap seems to cause other issues such as being unable to run vscode-omnisharp extension...
Anyways thanks for the help! @filipw


Cold/Flu: ODS and data ware house available on ODS production URL

As a user, I want that digital journey production From of Cold/Flu sends data on the ODS production URL and the same store on the production data warehouse instance.
Task:

[x] Enable Cold/Flu related endpoints on ODS production URL
[x] Load ministry list in the production database of data warehouse.
[x] Review data received on this URL saves successfully on the production instance of the data warehouse.

@bhumin-fw - Thanks for writing up this ticket after deployment (plus the estimate :).  I have added the MVP label as these endpoints are needed for testing by the program area. Please bring this one up at tomorrow scrum  - thanks

Sure @MeghanStothers, I'll bring this one in tomorrows standup. - Thanks.

@bhumin-fw

Database deployed to ODS prod, endpoints created
Ministry list data transferred to pod

Please have test for Endpoints on Production https://analytics-api.psa.gov.bc.ca/apiserver/api.rsc/

@mikeshi-bcgov
I'm able to see ministry list and submit worksite and registration.
Added one worksite and 2 registration under that worksite. successfully able to edit worksite and registration.
Please confirm on your end, if every thing looks good or not. Let me know if you notice any bug or error in ODS side log for any requests.

@bhumin-fw
Confirm received in ODS.

@mikeshi-bcgov
In that case I can checked all the task as completed and move it to test column.
is it fine?

@Stella-Archer @MeghanStothers @ayushdamani
ODS endpoints updated to production and ministry list has been load by Mike.
Cold/Flu form is now ready to test on Production environment on Digital Journey.
I have tested add & edit submission.
FYI: I have added one worksite location under ministry "Attorney General". And if you select worksite location "9887 Whalley blvd" then it will populate 2 registrations/clinics detail under that location.

@bhumin-fw
Yes, you can test all scenarios.

@Stella - let us know if/when you're okay to send this link to Heather to test with her team.
As a first step, we'll want to test with on our team on Thursday May 17.

@Stella feel free to send link to Heather for her team to test

I met with Heather this afternoon walk through status and passed on production link. Heather will begin PROD testing and checking access now

Works fantastic Thx All. PO Approved. Closing tix.


UTF8 encoding messy code

Summary

It does not support utf-8 encoding yet?
Expected

When running scripts with Chinese strings, it would come across messy code issues.
For example, the script below.
print("测试中文")

# coding=utf-8
print("测试中文")

The output is:

娴嬭瘯涓枃

Actual

Python Documentation

RustPython (almost) only support utf-8 and ascii. Would you check if your source code is a correct utf-8 file?
Welcome to the magnificent Rust Python 0.3.0 interpreter 😱 🖖
RustPython 3.12.0
Type "help", "copyright", "credits" or "license" for more information.
>>>>> print("测试中文")
测试中文
>>>>>

❯ ./target/debug/rustpython test_utf8_zh.py
测试中文

My Environment

OS：Windows 10 pro 22H2
How to install RustPython

# Install rust
scoop install main/rust
# Install the latest RustPython
cargo install --git https://github.com/RustPython/RustPython

File encoding
I have ensured the encoding of the Python script file is utf8

Other related issue
I have also found the issue in the interactive panel
D:\Desktop
λ RustPython
Welcome to the magnificent Rust Python 0.3.0 interpreter � �
RustPython 3.12.0
Type "help", "copyright", "credits" or "license" for more information.
>>>>> print("测试中文")
娴嬭瘯涓枃
>>>>>

Maybe the codepage is set to something else?

Could you upload your test.py file here? You can drag-and-drop the zipped source code to the comment box.

Maybe your terminal is interpreting the printed bytes as UTF-16 instead of UTF-8.
In [12]: "测试中文".encode("utf-8")
Out[12]: b'\xe6\xb5\x8b\xe8\xaf\x95\xe4\xb8\xad\xe6\x96\x87'

What happens if you execute a simple Rust program printing "测试中文"?

btw, what is the output of locale in your terminal?

It doesn't seem like a bug and the original author doesn't response.
Please feel free to reopen it if the problem is not solved.
Thank you everyone for helping!

Maybe your terminal is interpreting the printed bytes as UTF-16 instead of UTF-8.
In [12]: "测试中文".encode("utf-8")
Out[12]: b'\xe6\xb5\x8b\xe8\xaf\x95\xe4\xb8\xad\xe6\x96\x87'

Yes. The result is the same.

btw, what is the output of locale in your terminal?

I run the command systeminfo and get the result below:
System Locale:             zh-cn;Chinese (China)
Input Locale:              en-us;English (United States)

Could you upload your test.py file here? You can drag-and-drop the zipped source code to the comment box.
test.zip

I have fixed it by changing the locale of my terminal (PowerShell).
The result of the commands:

$OutputEncoding: The value is Unicode (UTF-8). It is used to output to other programs.
[Console]::OutputEncoding: The value is Chinese Simplified (GB2312). It is used to display to the terminal.
[Console]::InputEncoding: The value is Chinese Simplified (GB2312). It is used to input to the terminal.

So, the issue is clear now. [Console]::OutputEncoding  and [Console]::InputEncoding are set uncorrectly.
[Console]::OutputEncoding = New-Object System.Text.UTF8Encoding
[Console]::InputEncoding = New-Object System.Text.UTF8Encoding


Docs: app environments and deployments

Docs on how we work on features and which environments we use.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
3566

Relevant Lines:
9036

💛  - Coveralls

@usame-algan this doc inventorizes environments, how we use them and why we need them.
The hotfix procedure can be added here: https://github.com/safe-global/safe-react/blob/dev/docs/release-procedure.md
That doc currently just says "create a release branch" w/o specifying how. A regular release would be from dev, a hot fix would be from main + cherry-picked commits.


Metadata retrieved is different from Metadata saved

Hi,
When saving I'm specifying an integer and what I get back is:
        "bi:metadata:label:aNumber": [
            {
                "type": "integer",
                "value": "3"
            }
        ],

Note how the actual value is a str and not an int.
It would be nice to:

(preferrably) return the actual data type that was used when saving
provide a method to restore the original data type (otherwise every client has to re-implement restoring the data type)

Hi,
in short, I'm calling the appropriate add_.... methods. Here's the method that wraps this:
def MakeMetainfo(obj=None, properties=None):
    if obj is None:
        obj = Metainfo()
    TYPEMAP = {
        "int": "add_integer",
        "str": "add_string",
        "unicode": "add_string",
        "float": "add_decimal",
        "bool": "add_boolean",
    }
    # labels: {foo: 1, 2, bar: a, b} -- collections.Mapping
    # tags: [one, two, a] -- collections.MutableSequence
    # provider: val -- basestr
    # site: val -- basestr
    for prop in PROPERTIES:
        values = properties[prop]
        if values is not None:
            # labels: {foo: 1, 2, bar: a, b, zord: True, False}
            # collections.Mapping
            if isinstance(values, collections.Mapping):
                for key in values:  # pylint: disable=E1133
                    for elem in values[key]:  # pylint: disable=E1136
                        if isinstance(elem, (basestring, float, int)):
                            meth = TYPEMAP[type(elem).__name__]
                            meth = getattr(obj, meth)
                            meth("bi:metadata:label:" + key, elem)
                        else:
                            obj.add_string("bi:metadata:" + key, str(elem))
            # tags: [one, two, a] -- collections.MutableSequence
            elif isinstance(values, collections.MutableSequence):
                for elem in values:  # pylint: disable=E1133
                    if isinstance(elem, (basestring, float, int)):  # noqa E509
                        meth = TYPEMAP[type(elem).__name__]
                        meth = getattr(obj, meth)
                        meth("bi:metadata:" + prop, elem)
                    else:
                        obj.add_string("bi:metadata:" + prop, str(elem))
            # provider: val -- basestr
            # site: val -- basestr
            elif isinstance(values, (basestring, float, int)):
                obj.add_string("bi:metadata:" + prop, str(values))
    return obj

Aha, I see now.  Here's the gist of it:
import genestack_client

mi = genestack_client.Metainfo()
KEY = 'gs:test'
m.add_integer(KEY, 1)
print(m.get(KEY))

[{'type': 'integer', 'value': '1'}]

And you'd like to have a proper way to get 1 instead of '1' here.  We'll discuss this and get back to you soon.

Exactly.
I think getting back something that I didn't save is a bit surprising. Thanks!

While we are discussing possible API improvement, I'd like to clarify that Metainfo.get() is designed to return an instance of MetainfoValue subclass, not a dict or wrapped value.  To continue my previous example:
>>> mval = mi.get(KEY)[0]
>>> mval
{'type': 'integer', 'value': '1'}
>>> type(mval)
<class 'genestack_client.metainfo_scalar_values.IntegerValue'>
>>> mval.get_int()
1

I personally agree that API is a bit counterintuitive =)

Genestack is switching to a newer REST API, so I don't think genestack-client will have this improved upon, sorry.


Response.OnStarting should throw when response allready started

This would prevent hard to debug issues with callbacks that never ran.

This issue was moved to aspnet/KestrelHttpServer#806


koreader: build from source

This still needs quite a bit of cleanup.  Will undraftify when ready.
Description of changes
Build koreader from source instead of downloading binaries.
Things done

Built on platform(s)

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

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

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

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

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

[ ] Fits CONTRIBUTING.md.

@ofborg eval

Had to disable sdcv (StarDict dictionary), but I got the build to complete.
So basically I need to get lua-Spore and sdcv re-enabled and then I think we're good to go.

Fixed sdcv.  One down, one to go.

Squashed and ready for review here:  #178557


Add template 101-vm-linux-create-with-extension-diagnostic

Add a template which create a VM with Linux Diagnostic Agent (LAD).
LAD is now available in Azure Stack marketplace. After 1910, it will be build-in extension.

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


Installing through snap fails to create symlink

I tried to run the dotnet tool. Ended having to call it like this:
dotnet-sdk.dotnet help
ln: failed to create symbolic link '/var/snap/dotnet-sdk/18/Microsoft.NETCore.App/2.1.0': No such file or directory```

I installed it through snap using the commands in the README on Solus

Issue moved to dotnet/core-setup #4230 via ZenHub


[Feature Request] Conditionally show hide popover

Existing Component
Yes
Component Name
Popover
Description
Is there a way to conditionally show hide popover. because currently referenced element stays within popover component. so if hide it using v-if, it also hides element within it with slot reference.
There can be element outside popover, which can show hide popover conditionally.

sorry.


Code duplication in salt_encrypt/encrypt & salt_decrypt/decrypt

Looks like:

Loop in encrypt_data is similar to the one in salt_encrypt_data (was competed back in May 2021)
Loop in decrypt_data is similar to the one in salt_decrypt_data

so there is a potential to move loops into thier own small functions

Would be closed in the next release 🥳


responsive design changes break this script

the current script is broken because there's no longer a updateAllFilters and ways to clear selections like in the re-responsive codebase.  do you accept PRs?  i can take a crack at fixing it.

..or maybe you already have a fix coming given the metadata has been updated

you fixed these in 1.2 - closing, and thanks!


API Issues

Bug Report
What is the current behavior?
0 results for I am looking for.
What is the expected behavior?
The specific number of the selected criteria.
What steps did you take to get this behavior?
I am trying to obtain the exact number of military spouses, Army, Navy, Marines, etc.
When I searched for military spouses, I left certain criteria as unknown and only specified Military status: spouse. And it gave me 0 results.
Same thing for “army”. I selected military status: veteran and typed “army” on keyword. It gave me 0 results as well.
Additional Info
Operating System
Browser
https://api.operationcode.org/admin/core/profile/?q=spouse&is_mentor__isnull=True&is_volunteer__isnull=True&military_status=veteran
Screenshots

Just pushed an update adding the "Branch of Service" column filterable field.
Django Admin's "unknown" option is definitely a bit misleading.  Instead of ignoring that field for filtering it instead shows rows where that field is null.  Leaving the first option selected (e.g. Is volunteer) will give you the desired result.
Regarding the keyword search, currently it's only looking at the user's email that's associated with the given profile.  Which fields do you think would be beneficial to be included?

Wonderful! I was able to get results for army. I will follow the same
instructions for the rest of the branches.
As far as "Spouse" I followed the same instructions, and I only see 3
profiles. Is that all we have as of now?
Regarding the fields that would be beneficial, I would say adding "Join
Date", as it is one of the things I am looking for in this specific project
I am working on.
Thank you so much for all your help!
Lianis Solla
Operations Coordinator | Operation Code
phone: +34 643.050.969
email<EMAIL_ADDRESS>On Mon, Jun 10, 2019 at 11:22 AM Allen Anthes<EMAIL_ADDRESS>wrote:

Just pushed an update adding the "Branch of Service" column filterable
field.
Django Admin's "unknown" option is definitely a bit misleading. Instead of
ignoring that field for filtering it instead shows rows where that field is
null. Leaving the first option selected (e.g. Is volunteer) will give you
the desired result.
Regarding the keyword search, currently it's only looking at the user's
email that's associated with the given profile. Which fields do you think
would be beneficial to be included?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/OperationCode/back-end/issues/24?email_source=notifications&email_token=AMKESSLBHIJEQFRMKNWDXETPZZWUTA5CNFSM4HWUI362YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXKF7HY#issuecomment-500457375,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMKESSK5JQBSEA5LGGIIOFTPZZWUTANCNFSM4HWUI36Q
.

As far as "Spouse" I followed the same instructions, and I only see 3 profiles. Is that all we have as of now?

I'm seeing 110.  Maybe you had another filter enabled at the same time?

Ah... yes. I had to select "Is mentor". I see the 110 now.
Thank you!
On Mon, Jun 10, 2019 at 11:41 AM Allen Anthes<EMAIL_ADDRESS>wrote:

As far as "Spouse" I followed the same instructions, and I only see 3
profiles. Is that all we have as of now?
I'm seeing 110. Maybe you had another filter enabled at the same time?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/OperationCode/back-end/issues/24?email_source=notifications&email_token=AMKESSPGD7OLREUBO2LNKMTPZZY2RA5CNFSM4HWUI362YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXKHZXI#issuecomment-500464861,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMKESSIUKTIKXILWF2Z6JBDPZZY2RANCNFSM4HWUI36Q
.

@lianis25 Added Created at as well as a from-to filter for it.

Awesome! Thank you!!

Closing this issue.  Feel free to open another one if you find any more missing functionality.

Will do.
Thank you for your help!

Lianis

On Tue, Jun 11, 2019 at 3:15 AM Allen Anthes<EMAIL_ADDRESS>wrote:

Closed #24 https://github.com/OperationCode/back-end/issues/24.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/OperationCode/back-end/issues/24?email_source=notifications&email_token=AMKESSITE4XKBHXINMUFFK3PZ34D5A5CNFSM4HWUI362YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOR42N3CA#event-2402606472,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMKESSLNT35P7AX356DGKNLPZ34D5ANCNFSM4HWUI36Q
.


Add support for Laravel 5.4

Support for the new validator in Laravel 5.4
Closes #68

Is this backwards compatible or is getDisplayableAttribute new in 5.4?

Yesterday I was looking if I found the "getAttribute" method, but I did not find it, but I did see that new method. What happens is that they updated many things in the new validation library. But I tried locally "getDisplayableAttribute" and it worked perfectly. But I guess it would not work with previous versions. If I'm not wrong, "Validation" library was updated a week ago.

@brian2694 I fixed the break for older versions and the tests.
I had to rebase on #70 to make it work, but when all is green I will merge and publish 2.0.8.
Thanks for the PR!


Add /user_details path to router and remove sub-menu items and adjust breadcrumbs

Describe the task
Action Button w/ Icon
For each row on the user table, under the Action column, add a button with "Rewind" icon, when a user clicks on the button, it navigates the users to the path described below.
Path
Add the /user-details/users/{userId}/applications/{applicationId} route to frontend with a placeholder View component.
The path is named with consideration that the page will eventually display User roles and User history

## Sub-menu item removal
Remove any sub menu items that shows up dynamically, such as Add application admin, if a user is under the add application admin page, the Manage permission menu item should be active (highlighted). We could considering changing the route path too, for example, at the moment we have https://fam.nrs.gov.bc.ca/grant-app-admin, there are 2 improvements we can make, 1) match the page name with /add-application-admin, 2) specify layers with manage-permissions/add-application-admin

Adjust breadcrumbs
Our current breadcrumbs display an inactive crumb for the current page, which is redundant and does not align with the FDS design system. Remove current page's "crumb" on all pages

Remove any sub-menu items and adjust breadcrumbs to now show the current page
Acceptance Criteria

[ ] Action button added for each row
[ ] Path added to route the new component
[ ] All sub-menu items should be removed, the parent menu item will be active (highlighted) instead
[ ] Adjust breadcrumbs so the current page is not shown

Additional context

Epic story 1 #1534
Or here

The change of the requirement from previous with "Path" to be /user-details/users/{userId}/applications/{applicationId} does introduce some complexity.
To be fair, It is a good intention. I also had that thought in the past for frontend but didn't get to do frontend much so didn't discover issue facing below. However, currently our frontend does not have this kind of way of path for navigation.
When I tried to implement it as /user-details/users/{userId}/applications/{applicationId} for example, when clicking the history button to navigate to the page with browser address bar as:  /user-details/users/9/applications/2, it works.
But with this, we will need to deal with user manually enter different path or ids. Even when right in the history page and hit browser refresh, the whole "routing" is broken and page is lost.
I also tried to implement routing as query param (instead of path param) /user-details?userId={userId}&applications={applicationId}, this can be routed to the history page, but the query parameter disappear after routing. This seems to be a bug within Vue Router itself.
Both problem currently I didn't find a way to resolve them yet. I think maybe we like to discuss this tomorrow to see which way to go and can create issue ticket to separately deal with it if we think it is complicated.
@craigyu @OlgaLiber2

user summary and history table with simplified data for the version with are working on @ianliuwk1019 @craigyu

Bug issue #1588 created due to a bug seen from this ticket.
@craigyu @OlgaLiber2

As discussed with Craig, the highlight for SideNav on parent item when in the new user details page might need a bit of work and refactoring.
Will leave this requirement out from this ticket and move into either building new history page ticket #1540 or separate itself into individual ticket to deal with.


Dialog support

Our idea of conversion from readable JSX to JSON is working well, and suceeded removing our painfuls in managing messages built on Block Kit. However, there still is an another painfull: Dialog JSON.
https://api.slack.com/dialogs
{
    "callback_id": "ryde-46e2b0",
    "title": "Request a Ride",
    "submit_label": "Request",
    "notify_on_cancel": true,
    "state": "Limo",
    "elements": [
        {
            "type": "text",
            "label": "Pickup Location",
            "name": "loc_origin"
        },
        {
            "type": "text",
            "label": "Dropoff Location",
            "name": "loc_destination"
        }
    ]
}

An additional idea is building JSON for dialog.open API by new <Dialog> component, as like as <Blocks>.
We not yet decide details of interface, but what a wonderful experience if dialog JSON would be written by JSX.
For example, the following conecpt code has structure like HTML <form> element.
<Dialog
  callbackId="ryde-46e2b0"
  title="Request a Ride"
  submitLabel="Request"
  notifyOnCancel={true}
  state="Limo"
>
  Pickup Location
  <input type="text" name="loc_origin" />
  Dropoff Location
  <input type="text" name="loc_destination" />
</Dialog>

Plan for dialog support
Provide another entry point for importing dialog features with better type definitions: @speee-js/jsx-slack/dialog
Take a look these invalid examples:
import JSXSlack, { Blocks, Select, Option } from '@speee-js/jsx-slack'

// Invalid (Raises type error in TypeScript)
console.log(
  <Blocks>
    {/* label prop is not allowed in Block Kit */}
    <Select label="foobar">
      <Option value="foo">foo</Option>
      <Option value="bar">bar</Option>
    </Select>
  </Blocks>
)

import JSXSlack, { Dialog, Select, Option } from '@speee-js/jsx-slack/dialog'

// Invalid (Raises type error in TypeScript)
console.log(
  <Dialog>
    {/* label prop is required in Dialog */}
    <Select>
      <Option value="foo">foo</Option>
      <Option value="bar">bar</Option>
    </Select>
  </Dialog>
)

The output by <Select>-like components for dialog provided by @speee-js/jsx-slack/dialog have some differences from already provided components for Block Kit: label prop, name prop, and so on...
At first glance, only <Option> and <Optgroup> can divert to the dialog and the others have to re-create JSON output for the dialog structure.
As same as components, jsxslack template literal tag also may not detect using which of the kind of component, Block Kit and Dialog. We have to consider providing exclusive tags from @speee-js/jsx-slack/dialog.
Dialog components
As like as Block Kit, we aim to allow writing form components as like as HTML. On the other hands, intrinsic tags would not add because of props difference.

<Dialog>: The parent component of the dialog

<Input type="text">: Text field
<Input type="email">: Text + email subtype
<Input type="number">: Text + number subtype
<Input type="tel">: Text + tel subtype
<Input type="url">: Text + url subtype
<Input type="hidden">: Set JSON value to parent dialog state
<Input type="submit">: Set submit button text to parent dialog
<Textarea>: Textarea
<Select>: Static select for Dialog
<ExternalSelect>: External select for Dialog
<UsersSelect>: Users select for Dialog
<ConversationsSelect>: Conversations select for Dialog
<ChannelsSelect>: Channels select for Dialog
: Not adopted (Use label string prop for each field components)

Slack is planning Block Kit support in dialog in near term.  component may be add with the support of for prop and children if text formatting was available.


arm64/qemu/qemu-a53: Ensure the purity of the defconfig

Configuring...
Building NuttX...
Normalize qemu-a53/nsh
13a14

CONFIG_ARCH_CHIP_QEMU_A53=y
Saving the new configuration file
On branch master
Your branch is up to date with 'origin/master'.

Changes not staged for commit:
(use "git add ..." to update what will be committed)
(use "git restore ..." to discard changes in working directory)
modified:   boards/arm64/qemu/qemu-a53/configs/nsh/defconfig
modified:   boards/arm64/qemu/qemu-a53/configs/nsh_smp/defconfig
Summary
Impact
Testing

Normalize qemu-a53/nsh

This may be my mistake, but what does this mean?

@zhhyu7 @xiaoxiang781216
CONFIG_ARCH_CHIP_QEMU_A53 exists in the output file of make savedefconfig. And also, it's defined in arch/arm64/src/qemu/Kconfig.
#
# Qemu Virt Chip Selection
#
CONFIG_ARCH_CHIP_QEMU_A53=y

Sorry for my wrong change.


[folding] Fold all comments in a file

I'd like to be able to fold all the comments in a file with a shortcut, something like editor.foldAllComments.
This is probably linked to this issue : [folding] language-aware folding #3422
The idea, is to make it easier to transform a file like this :

To this :

To implement what you suggest we would have to get an understanding on what a comment is.
#3422 is the first step for this.


panic-full 12.2 A9 3.3.2

Describe the bug
I was jailbroken and killed the last tab in safari, then the panic-full happened. Happend like maybe the second time since I jailbroke 1 week ago.
more infos:

When trying to jailbreak after crash, the explotiting kernel (1/31) took like 20 seconds instead of like 0.5s.
I restarted my device like an half our before the panic-full.
I always "overwrite" unc0ver with Impactor, no delete beforehand.

Tweaks installed
(all marked as compatible with 12.2)

tweakCompatible

TapVideoConfig

System Info

BrickFix

PullToRespring

WeatherVane

Reprovision

Homegestures

iCleaner Pro (diabled deamons:
airprint,
assistiveTouch,
chinese wifi,
game center,
HelathKit,
HomeKit,
OTA update)

To Reproduce

(to few times happened, no pattern recognized)

Device:

iOS Version: 12.2
iOS Device: iPhone 6s A9
unc0ver Version: 3.3.2

Place an "x" between the brackets if true:

[?] this is a bug others will be able to reproduce
[?] this issue is present with all tweaks uninstalled(except for default packages) or disabled
[?] this issue is present after a rootfs restore
[?] this issue is present on the latest version of unc0ver

Logs
panic-full-2019-07-21-155031.833.ips.log

(since the versions >3.3.2 look like to fix nothing for my device/iOS I guess it will happend even with newest, but I updated today just in case)

Same on 3.3.7 iOS12 A9, but it wasn’t caused by Safari kill and it doesn’t take 20s on first step, I’ll paste log later

Yeah was very expecting to not be a specific issue with safari

I think these issues are in all versions of uncover..i think its more substrate than the jailbreak..& only saurik can fix it & the freezes are random af, trust me lol


Make processArguments() return a unix error code

Implemented an idea behind #21.
The code I've added is duplicated, and I see a possible abstraction that would remove the repetition.
However I think it's a valuable addition already:

Also I've added some happy-path tests to see if it works at all.
@nicklockwood Please let me know if you'd like me to spend some more time for refactoring the duplication.

@nicklockwood Done.


Support for inter-instance stack switching

There is a currently a conceptual error in the implementation, where the chain of active stacks (= continuations + the main stack) is stored per Instance/VMContext.
This means that when a function $f calls an imported function $g, where $f and $g are not part of the same instance, their stack chains are completely separate. For example, it is not possible to suspend to a tag $t in $g and handle this in a resume block in $f (assuming that the underlying modules import and export the tag $t so that it is shared between the two).
This PR rectifies this situation by sharing a single StackChain object between all instances of the same Store. The VMContext then contains merely a pointer to this shared chain, rather than a chain of its own. This fully mirrors how the VMRuntimeLimits are already shared between all instances of a Store.

Did you test this on the baseline implementation? I am thinking it may just have worked because of the use of (global) thread-local state. Though, it should be easy to construct an example with host threads, which causes a segfault. But I suppose we don't care much about such things at this stage.

Regarding the baseline implementation, I assumed that it would just work due to its usage of thread-local state. But I did make sure that the new test is actually executed for both implementations. Crossing threads would require performing a host call and then re-entering wasm. I'm not sure if the current wasmtime API actually allows you to carry a mutable Store across thread boundaries.
I guess that we do not overly care about that, but it's something I've discussed in #109


Reverting the "Report Feedback in VS bits"

Going to re-enable these for 16.8-Preview3. Don't want to block the release on this resulting in a DDRITs perf regression.

@NTaylorMullen was this revert Tactics-approved❔ Actually, did anyone approve it❔


Improving the experience to writing an AI function

Search before asking

[X] I have searched the EvaDB issues and found no similar feature requests.

Description

Column shapes are not used
forward -> execute (as we support non-DL functions as well)
ColumnType.TEXT and NdArrayType.STR -- make this consistent
TEXT(1000) not used?

Use case
No response
Are you willing to submit a PR?

[ ] Yes I'd like to help by submitting a PR!

This is revelant to the #1017.


[Idea]: SMAWK Algorithm implementation

Idea Title
SMAWK Algorithm (Dynamic Programming Optimization) implementation
Idea Description
Add this algo to have more knowledge uncover
Potential Benefits

[X] Improves user experience
[X] Enhances learning
[X] Adds a new feature
[ ] Improves code quality
[X] Other

Implementation Suggestions (Optional)
Assign me this under hacktoberfest and gssoc-ext.

@ajay-dhangar please assign me this issue.


⚠ ClamAV has degraded performance

In 6b09150, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 71 ms

Resolved: ClamAV performance has improved in 6414676 after 11 minutes.


Google "Cesium Sandcastle"

I always get this 404 in the console when I google "Cesium Sandcastle."  Can we work around this?
RequestError: Unable to load gallery/3D.html status: 404

It's sad that Google has cached an invalid URL, and continues to use it as the top search result.  Some possible fixes on our side would be:
(a) Put in a redirect from "3D" to "3D Models" making it impossible to introduce a future demo named "3D".
(b) Actually create a Sandcastle demo named simply "3D".
(c) Show a friendlier demo-not-found error, and preset the catalog of demos.
(d) Hide the demo-not-found error, and redirect to Hello World.

We should be able to purge the URL from Google Webmaster Tools.  Does anyone have access to that?  (we can take offline if someone does have access)

I do have access to Webmaster Tools for cesiumjs.org.  Stop by and we'll take a look...

This appears to be fixed now.  Google has stopped serving the "bad" link, and unfortunately Sandcastle itself is no longer the top result, the demo page and our home page are now the top 2 results  Still that's "good enough" and next time Google re-indexes it should pick up the corrected link.  Several other search engines (Bing, Yahoo, DuckDuckGo) already have the correct link as the top result, without any manual intervention.

FYI this problem is back again.  Top Google result for Cesium Sandcastle is the same broken link as before.  Not sure why previous efforts didn't fix it (or whether it regressed at some later point)

This is fixed locally but still broken on the Cesium website

Looks like the fix included a specific test for if (error.status === 404) and thus only works with 404 errors.  The deployed site is currently returning a 403 and so the fix doesn't apply.
@hpinkos maybe instead of bool notFound we could have a "deferedLoadError" message or something, and handle all errors the way we handle 404s now.

Good idea @emackey!

@rahwang this could be a good one for you.  CC @lilleyse

Confirmed this is fixed


Double shadow flash when moving component list underneath app bar

Scrolling the component list up under the app bar flashes the shadow at the border between the app bar and the component list.
Movie:  https://dl.dropboxusercontent.com/u/316685/RECORDING.mp4

cc @HansMuller

FWIW, this is still happening, using a build from April 4th.

It looks like the bug is in the lerping for the box shadow.


Fixed the error that occurred when fetching the API response for CircuitTermination with a cable connected to CircuitTermination, FrontPort, or RearPort.

Closes: #3179
What's Changed

TODO

[ ] Explanation of Change(s)
[ ] Added change log fragment(s) (for more information see the documentation)
[ ] Attached Screenshots, Payload Example
[ ] Unit, Integration Tests
[ ] Documentation Updates (when adding/changing features)
[ ] Example Plugin Updates (when adding/changing features)
[ ] Outline Remaining Work, Constraints from Design

Might make sense to add the test case in 2.0 even if there's no bug fix needed.

Curious if this is in any way related to #3064?

Curious if this is in any way related to #3064?

My gut feeling is no - I'm guessing that one may be that the cable path logic doesn't recognize a ProviderNetwork as a valid "endpoint" for a path trace?


[DATA] Cumulative deaths incorrect

Which Dataset
https://raw.githubusercontent.com/dsfsi/covid19za/master/data/covid19za_timeline_testing.csv
Error Description
The latest article on sacoronavirus.co.za states that the cumulative deaths is 312 while the above dataset has a figure of 372.
Suggested fixes

Change cumulative deaths in the above dataset to 312.

Thank you. Fixed


Check passed in FHIR server if possible for any needed resources if prefetch expectations are not met

Currently, the patient-greeting service relies on prefetch data from the EHR/entity calling it to be able to respond with a card, otherwise the service returns a 412 status code. While this is technically a valid response, the CDS service should also check the FHIR server (if passed in to the service call from the entity calling upon the service) to see if it can retrieve the necessary data it needs to build its card.
We can first check to see if the data in a possible prefetch field contains all we need to build out the card response, and if the check fails, we can check to see if we can query a passed in FHIR server. We should account for if the FHIR server passed in is an open/secured endpoint by checking the fhirAuthorization field to see if an access token was passed in, which we can use to set in the Authorization header of the FHIR server call for the necessary resources the service needs. Any failures with the FHIR server call or any data needed for the service not being returned by the FHIR server will result in the eventual 412 status code. Otherwise, we can use the data the service fetches to build out the expected card for a response.
Fixes #3

Changes Unknown when pulling c374856df003c82db9844433f5339e2f96236a50 on add-fhir-server-check into ** on master**.

Looks good - thanks @zplata!

Changes Unknown when pulling 9ff5b3e2c29c172de2f4f5793e05f8c64ed5ab54 on add-fhir-server-check into ** on master**.

Changes Unknown when pulling a211ebbf513ebe905115d10c18e5d04a062194a8 on add-fhir-server-check into ** on master**.


add in the put-in location service embed

`

    Powered by paddling.com

`

Instructions here: https://paddling.com/paddle/go-paddling-locations-map-embed


Dependencies on CUDA and GenericTensorNetworks could be package extensions

See https://pkgdocs.julialang.org/v1/creating-packages/#Conditional-loading-of-code-in-packages-(Extensions)
https://github.com/openjournals/joss-reviews/issues/5700

this is non blocking for the review


Auth Update

This PR uses the api_key kwarg from the context store if the litellm model is from openai.
Related to guardrails-ai/validator-hub-ui#9
This will allow users to provide their own credentials when using the hub playground.

This one is a little different from the others because it makes a call to the llm during init instead of just during validate.  This means that the api_key passed to call or parse won't be available yet.  For now, we just kind of ignore that issue since it will still work if the env var is set. I'll look at setting something in advance on the guardrails-api for playground support; if python contexts inherit from parent contexts then we should be ok.


MSID: 91260 Version: 2 DOI: 10.1101/2<IP_ADDRESS>0678

MSID: 91260
Version: 2
Preprint DOI: https://doi.org/10.1101/2<IP_ADDRESS>0678
Step 1. Awaiting reviews
Editorial to post reviews via hypothesis
Useful links:

DocMap: https://data-hub-api.elifesciences.org/enhanced-preprints/docmaps/v2/by-publisher/elife/get-by-manuscript-id?manuscript_id=91260
New model tracking: https://docs.google.com/spreadsheets/d/1_fHaoOy7hjyocptKtVJRijeNpUY4hBS7Ck_aVmx6ZJk/
Reviews on sciety: https://sciety.org/articles/activity/10.1101/2<IP_ADDRESS>0678

For trouble shooting (e.g. no Docmaps available):

DocMap issue addressing: https://miro.com/app/board/uXjVNCwK6EI=/
Explore DataHub DocMaps API: https://lookerstudio.google.com/reporting/4c2f0368-babb-4beb-b5b3-497e7e7b0f08/page/ejphD
Unmatched submissions and preprints: https://lookerstudio.google.com/u/0/reporting/9f86204f-3bf7-477c-9b18-5c5ef141bf69/page/p_gxi57ha93c
Unmatched manuscripts spreadsheet: https://docs.google.com/spreadsheets/d/15QcK8w-ssB7109RQEDtFpJPZ0J5HTGxoHa_2TtpMBbg/edit#gid=1336081641

Step 2. Preview reviewed preprint
Production QC content ahead of publication
Instructions:

QC preview: https://prod--epp.elifesciences.org/previews/91260v2
Update ticket with any problems (add blocked label)
When QC OK, add QC OK label to ticket and add publication date and time to https://docs.google.com/spreadsheets/d/1amAlKvdLcaDp5W8Z8g77NmkwbMF5n_u89ArSqPMO8jg
Move card to next column
(At end of the day post link in #enhanced-preprint and ask for PDF to be generated)

Useful links:

Preprint DOI :  https://doi.org/10.1101/2<IP_ADDRESS>0678
Confirm reviews returned by EPP: https://prod--epp.elifesciences.org/api/reviewed-preprints/91260/v2/reviews
To update the MECA path in the docmap: https://docs.google.com/spreadsheets/d/1mctCQuNFBjSn97Lihy7_vBO6z7-N-oqyLv4clyi6zHg

Step 3: Awaiting search reindex
This step adds the reviewed preprint to the homepage: https://elifesciences.org
The search reindex is triggered once an hour. We need the reviewed preprint to be indexed as the search application serves the journal homepage.
Useful links:

Jenkins pipeline to reindex search can be triggered sooner or monitored here: https://alfred.elifesciences.org/job/process/job/process-reindex-reviewed-preprints/

Step 4: Published! PDF requested
Waiting for PDF to be generated
Useful links:

PDF tracking: https://docs.google.com/spreadsheets/d/106_XeDjmuBae7gexOTNzg60lapeqjl2aRn9DzupGyS8/

Step 5: Introduce PDF to data folder and git repo
Upload PDF to relevent folder in git repo https://github.com/elifesciences/enhanced-preprints-data/
Step 6: Done!

[ ] Kettle is on!

Schematron:
error: This journal reference (id c1) has no article-title element.
error: Ref with id c7 has a year element with the value '1 1997' which contains a digit (or more) but is not a year.
error: Ref with id c40 has a year element with the value '7' which contains a digit (or more) but is not a year.
error: Ref with id c49 has a year element with the value '22' which contains a digit (or more) but is not a year.