ModuleNotFoundError: No module named 'lovasz'

pip install lovasz
ERROR: Could not find a version that satisfies the requirement lovasz (from versions: none)
ERROR: No matching distribution found for lovasz
Note: you may need to restart the kernel to use updated packages.
Please let me know the solution to this.

Simply install the repo using git clone $REPO_URL$ and then pip install -e . while you are already inside the cloned directory.


Add Cascade delete to event_data

Addition of cascading delete functionality to ensure that all data related to a specific period is correctly removed.
Update of database schemas and necessary migration scripts.
Discussion : https://github.com/umami-software/umami/discussions/2789

PRs are usually made against the dev branch. You are doing it against the master branch directly, if I am not mistaken, despite it being the default branch you should change your PR against dev.


Fix build issue - '<EMAIL_ADDRESS>is not in the npm registery

@ensdomains/ensjs is not used anymore and its sub dependency @ensdomains/address-encoder is removed from npm so uninstalled ensjs from hub

but works fine in local 😴 Lets wait ⌚


Fix windows samba mount.

Add right permisions on windows smb2 mount.
Add smb3 option for users, that want to create smb share manually and only once.

@michael-molchanov looks like the only difference between smb2 and smb3 option that you propose are the two triggers to create/delete the share upon vagrant up/destroy.
I'd rather have a flag for this in vagrant.yml (e.g. smb2_auto: true/false).


[9.x] Artisan model:show command

This PR introduces a new model:show command that displays information for a model. It combines information from the database alongside information from Eloquent to give you a complete overview of your model.

Not only does it show columns from the database, but it also displays "virtual" attributes - I.e. accessors/attributes that don't have a matching column in the database (See first_name and last_name in the screenshot).
The column type information depends on the database. For example, PostgreSQL doesn't have unsigned information and SQLite doesn't have bigints or column lengths.

Postgres Example

SQLite example

The Default column will look for any defaults you have defined in the $attributes key of your model, before falling back to any defaults specified in the database.
It also conveniently displays model relationships, including those defined in traits.
There is also a handy --json flag that will return everything as JSON, which I could imagine useful for tools like https://github.com/barryvdh/laravel-ide-helper, https://github.com/nunomaduro/larastan, and https://laravelshift.com.

JSON Example
{
  "class": "App\\Models\\User",
  "database": "mysql",
  "table": "users",
  "attributes": [
    {
      "name": "id",
      "type": "bigint unsigned",
      "nullable": true,
      "default": "increments",
      "fillable": false,
      "hidden": false,
      "appended": null,
      "cast": "int"
    },
    {
      "name": "name",
      "type": "string(255)",
      "nullable": true,
      "default": "Jess",
      "fillable": true,
      "hidden": false,
      "appended": null,
      "cast": null
    },
    {
      "name": "email",
      "type": "string(255)",
      "nullable": true,
      "default": null,
      "fillable": true,
      "hidden": false,
      "appended": null,
      "cast": null
    },
    {
      "name": "email_verified_at",
      "type": "datetime",
      "nullable": false,
      "default": null,
      "fillable": false,
      "hidden": false,
      "appended": null,
      "cast": "datetime"
    },
    {
      "name": "password",
      "type": "string(255)",
      "nullable": true,
      "default": null,
      "fillable": true,
      "hidden": true,
      "appended": null,
      "cast": null
    },
    {
      "name": "remember_token",
      "type": "string(100)",
      "nullable": false,
      "default": null,
      "fillable": false,
      "hidden": true,
      "appended": null,
      "cast": null
    },
    {
      "name": "created_at",
      "type": "datetime",
      "nullable": false,
      "default": null,
      "fillable": false,
      "hidden": false,
      "appended": null,
      "cast": "date"
    },
    {
      "name": "updated_at",
      "type": "datetime",
      "nullable": false,
      "default": null,
      "fillable": false,
      "hidden": false,
      "appended": null,
      "cast": "datetime"
    },
    {
      "name": "foo",
      "type": "string(255)",
      "nullable": true,
      "default": "a default",
      "fillable": false,
      "hidden": false,
      "appended": null,
      "cast": "App\\Casts\\CustomCast"
    },
    {
      "name": "bar",
      "type": "string(255)",
      "nullable": true,
      "default": null,
      "fillable": false,
      "hidden": false,
      "appended": null,
      "cast": "Accessor"
    },
    {
      "name": "baz",
      "type": "string(255)",
      "nullable": true,
      "default": null,
      "fillable": false,
      "hidden": false,
      "appended": null,
      "cast": "Attribute"
    },
    {
      "name": "team_id",
      "type": "bigint unsigned",
      "nullable": true,
      "default": null,
      "fillable": false,
      "hidden": false,
      "appended": null,
      "cast": null
    },
    {
      "name": "first_name",
      "type": null,
      "nullable": null,
      "default": null,
      "fillable": false,
      "hidden": false,
      "appended": true,
      "cast": "Accessor"
    },
    {
      "name": "last_name",
      "type": null,
      "nullable": null,
      "default": null,
      "fillable": false,
      "hidden": false,
      "appended": false,
      "cast": "Attribute"
    }
  ],
  "relations": [
    {
      "name": "tokens",
      "type": "MorphMany",
      "related": "Laravel\\Sanctum\\PersonalAccessToken"
    },
    {
      "name": "notifications",
      "type": "MorphMany",
      "related": "Illuminate\\Notifications\\DatabaseNotification"
    }
  ]
}

The results do depend on the current state of the database, so any changes made outside of a migration will be reflected here, but any changes from not-run migrations will not.
I'd also like to acknowledge https://github.com/barryvdh/laravel-ide-helper for some of the logic around finding attributes and relationships.
I'm open to suggestions for other useful information to display here. I've already considered indexes and table/column comments, but they take up a bit too much space. If there is enough demand, we could look at adding show:model {model} {attribute} to display extra information for a specific attribute,

That's awesome to have! I see myself all the time running to the database to check some model information, especially when you jump from project to project. Great job! 😃

Looks great!
It would be useful if it also shows indexes that each column has (unique, primary, foreign key). I'm working on a big project where some columns are missing important indexes (sometimes even primary keys). This command could make it easier to find those missing indexes.
Maybe the command could even display a yellow warning banner:

Warning
This table has no primary key index

I suggest php artisan model:list User and php artisan model:list (with no args) will loop through all the psr-4 paths of the composer.json and show a list of all the Model classes with some basic information.

@jessarcher @taylorotwell
Yes, It is a great feature to have, but it will be very rare to use the command. I am afraid you push some feature which is not used widely. Instead, if you are able to ship it as an official Laravel package, it would be super-efficient to expand it later as well.

@jessarcher I've put this pull request on draft, so you can review my suggestion to the layout: https://github.com/laravel/framework/pull/43170.

Very nice work! 👍
I think it could be worthwile to refactor the column/relation finding logic to it’s own class that the command would use. This way, others can also make use of the gathered information.
It could also be cool to somehow let a model append custom information to the output.

A suggestion , add this info as doc inside each model (like laravel-ide-helper does).
whenever migration occurs or manually using the command (model:show) update it in the models.
So we can reduce checking each time by manually querying a command.

Great work! @jessarcher  👏🏻

This looks awesome, thank you @jessarcher!


Update release suites for deb releases.

Neither of the colcon packages has ever been released into non-LTS Ubuntu versions. So I am not sure these three should be added - especially since no ROS version targets any of these distributions.

I think it's reasonable to say that colcon is as necessary for building ROS 2 from source on a platform as rosdep or rosinstall_generator. It makes sense to me that if we're providing those tools on these platforms we ought to provide colcon as well.

Since cosmic is already EOL I would rather not add it.
Regarding disco and eoan in my personal opinion it doesn't make sense to add them. The support window for each is just so short (9 months) that I don't think the overhead of adding new non-LTS distros to every package and removing them again when they become EOL is justified for the very limited user base of these distros. (This means every three months the list of suites needs to be touched assuming we don't want to keep EOL platforms in the list).
In the past we have not even created apt repos for these new non-LTS distros by the time they were already EOLed. Therefore I would argue those should rather use the available PIP packages instead.

I don't think the overhead of adding new non-LTS distros to every package and removing them again when they become EOL is justified for the very limited user base of these distros. (This means every three months the list of suites needs to be touched assuming we don't want to keep EOL platforms in the list).

If others disagree on this and want these platforms be added I would like to get a commitment that someone will also take on the extra effort every three months to update the suites accordingly.

I don't think the overhead of adding new non-LTS distros to every package and removing them again when they become EOL is justified for the very limited user base of these distros.

I agree with you. But when I raised that as an argument for not creating ROS repos for the non-LTS releases at all it was dismissed since there may be users who want the tools on those releases. So my question is what makes colcon different from any of the other packages required to produce ROS?

So my question is what makes colcon different from any of the other packages required to produce ROS?

colcon is living outside of ROS and I am kind of the only person from the ROS team working on / maintaining it. Therefore I am looking to keep the overhead as low as possible.

But when I raised that as an argument for not creating ROS repos for the non-LTS releases at all it was dismissed since there may be users who want the tools on those releases.

We could revisit the policy for ROS packages. But that would need to be posted to the community for feedback. Releasing into every distro when it becomes available was simply what we did until recently (when every Ubuntu distro also had a ROS distro targeting it). With the larger gap between Melodic and Noetic it is the first time the case that Ubuntu 18.10 - 19.10 aren't targeted by any ROS 1 distro.

Came from #253 and was redirected here.
As a user it's more convenient to have the apt packages to benefit from updates more easily. While being less convenient using pip is totally fine as well.
My only preference would be to get out of the current state as it is confusing that packages are available but too outdated to be able to build ROS 2. So either pip and purging the repos from the python3-colcon-* or releasing them in non-LTS distros.

From a technical point of view it seems that if adding the new distros is done for all ROS packages anyway, it should be minimal overhead to have a script that updates ROS and colcon files and releases them

colcon is living outside of ROS and I am kind of the only person from the ROS team working on / maintaining it. Therefore I am looking to keep the overhead as low as possible.

This is reasonable. As much as I would like to join you in colcon maintenance in order to deliver it on other platforms, I don't have my head above water to meet that commitment. I'll close these PRs and remove the included colcon packages from the repositories.

The colcon packages imported during the creation of the cosmic, disco, and eoan bootstrap repositories have been removed and that has been propagated out to all the ROS repositories.


Produce a Glossary of Terms

Produce a glossary of commonly used, domain specific terms such as flyscanning. Useful place to start is the flyscanning explanation here: https://github.com/bluesky/ophyd-async/pull/113
Due to differences in terminology across facilities, some wrangling may be required to get a consistent view of the collaboration (I regret that we may have to redefine some things at Diamond using American English).

to do: Move the fly-scanning document from ophyd-async into the cookbook. see ophyd-async 113.

what is the user for this documentation?
I closed this as now there is 'a glossary' and if needed it's easy to add new terms to it if the need arises.
The other approach would be to intentionally try to create a comprehensive encyclopedia.
all depends on who is the user: support engineers, core bluesky devs, potential adopters in other facilities?
The idea of having yet another place for docs where everything is kept up to date has an upkeep effort cost, so I assume the use case is very necessary.


run BDD test failed

The image is docker.pkg.github.com/trustbloc/edge-service/did-rest:0.1.4-snapshot-6cf746e
when i run the bdd test, got this error below:

Scenario Outline: Holder APIs                                                                                # features/holder_e2e_api.feature:13
Given Holder Profile "" is created with DID "", privateKey "", keyID "", signatureHolder "", uniRegistrar '', didMethod "", signatureType "" and keyType "" # holder_steps.go:107 -> *Steps
And Holder profile "" can be retrieved with DID "" and signatureType ""                                                                                # holder_steps.go:170 -> *Steps
Then Holder "" generates presentation for the VC received from the Government                                                                                # holder_steps.go:203 -> *Steps
Examples:
| profile                  | did                                                      | privateKey                                                                               | keyID                                                                                | signatureHolder | uniRegistrar                                                                                | didMethod     | signatureType        | keyType |
| holder_unireg_ed25519_pv |                                                          |                                                                                |                                                                                | ProofValue      | {"driverURL":"http://uni-registrar-web:9080/1.0/register?driverId=driver-did-method-rest"}                                                              		 | did:trustbloc | Ed25519Signature2018 | Ed25519 |
expected status code 201 but got status code 400 with response body {"errMessage":"failed to create did doc from uni-registrar: failure from uniregistrar failed to create did doc : failed to get endpoints: discovery: getting consortium: consortium config data should be a JWS"}
instead
--- Failed steps:
Scenario Outline: Holder APIs # features/holder_e2e_api.feature:13
Given Holder Profile "holder_unireg_ed25519_pv" is created with DID "", privateKey "", keyID "", signatureHolder "ProofValue", uniRegistrar '{"driverURL":"http://uni-registrar-web:9080/1.0/register?driverId=driver-did-method-rest"}                                                              		', didMethod "did:trustbloc", signatureType "Ed25519Signature2018" and keyType "Ed25519" # features/holder_e2e_api.feature:14
Error: expected status code 201 but got status code 400 with response body {"errMessage":"failed to create did doc from uni-registrar: failure from uniregistrar failed to create did doc : failed to get endpoints: discovery: getting consortium: consortium config data should be a JWS"}
instead
8 scenarios (7 passed, 1 failed)
3 steps (1 failed, 2 skipped)
2m37.042299923s
Randomized with seed:<PHONE_NUMBER>134875000
testing: warning: no tests to run
PASS

I got this use program parameter of --test.run holder_rest， and when i uncomment it，get the same error info

@cyberwave I didn't manage to reproduce your errors exactly but instead I got this:
expected status code 201 but got status code 400 with response body {"errMessage":"failed to create did doc from uni-registrar: Post http://uni-registrar-web:9080/1.0/register?driverId=driver-did-method-rest: dial tcp <IP_ADDRESS>:9080: connect: connection refused"}

Can you provide the exact steps your doing to run these tests? The code/scripts should have no changes and you should be running make bdd-test

@cyberwave I didn't manage to reproduce your errors exactly but instead I got this:
expected status code 201 but got status code 400 with response body {"errMessage":"failed to create did doc from uni-registrar: Post http://uni-registrar-web:9080/1.0/register?driverId=driver-did-method-rest: dial tcp <IP_ADDRESS>:9080: connect: connection refused"}

Can you provide the exact steps you're doing to run these tests? The code/scripts should have no changes and you should be running make bdd-test.

I'm sorry about this, my test env gone away. I use the tag of the image of did-rest is 0.1.4-snapshot-6cf746e but it depends on image are use docker tag to make out tag to suite image need. And last day i use the tag of v0.1.3 and the env are gone.
the time a meet a new error: the container of uni-resolver-web up and down soon, when use docker logs -f uni-resolver-web get the error of:

[ERROR] Error executing Maven.
[ERROR] The specified user settings file does not exist: /opt/uni-resolver-java/settings.xml

in my dir of edge-servcice/test/bdd/fixtures/universalresolver，all the files below:

.env
config.json
docker-compose.yml
run-uni-resolver-web.sh

and i cann't found the settings.xml
current tag is v0.1.3

@cyberwave can you try again from HEAD in master?

This is an old issue - BDD tests are passing now. Please open the issue if it still fails.


Whisper defaults to CPU instead of utilizing Nvidia GPU on Windows 11

A warning upon first running the whisper model clued me in to it not using hardware acceleration:

UserWarning: FP16 is not supported on CPU; using FP32 instead

All I had to do in order to enable CUDA support was first uninstall Torch:
python -m pip3 uninstall torch
And reinstall with this command:
pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121
Confirm that CUDA is available in Python by running:
import torch
torch.cuda.is_available()
monkeyplug/whisper should now correctly use your GPU to significantly speed up operations. A youtube video with a runtime of 10:42 took 13 minutes and 42 seconds to process on my CPU with the medium.en model. After successfully enabling CUDA support, that same video took 3 minutes and 13 seconds to process on an RTX 3070. With noticeable accuracy over the default base.en.
I caught several warning messages that were raised during a job (might be related to generating timestamps?), but they don't seem to affect the operation at all:

C:\Users\username\AppData\Local\Programs\Python\Python312\Lib\site-packages\whisper\timing.py:42: UserWarning: Failed to launch Triton kernels, likely due to missing CUDA toolkit; falling back to a slower median kernel implementation...
warnings.warn(
C:\Users\username\AppData\Local\Programs\Python\Python312\Lib\site-packages\whisper\timing.py:146: UserWarning: Failed to launch Triton kernels, likely due to missing CUDA toolkit; falling back to a slower DTW implementation...
warnings.warn(
C:\Users\username\AppData\Local\Programs\Python\Python312\Lib\site-packages\whisper\timing.py:42: UserWarning: Failed to launch Triton kernels, likely due to missing CUDA toolkit; falling back to a slower median kernel implementation...`
warnings.warn(
C:\Users\username\AppData\Local\Programs\Python\Python312\Lib\site-packages\whisper\timing.py:146: UserWarning: Failed to launch Triton kernels, likely due to missing CUDA toolkit; falling back to a slower DTW implementation...
warnings.warn(

Noticed that #3 might be in the works, which might help, but I thought it could be wise/helpful to share my findings regardless in the meantime.
PS: Whisper really is another tier of accuracy and is much appreciated.

Interesting, on my Linux machine it was using the GPU right out of the gate just with pip install openai-whisper without any other steps on my end (double-checked with nvidia-smi during processing).

Oh and If it helps, this is a fresh install of Windows 11 and I actually used that very same command to install whisper following Python 3.12. Strange indeed.

Are you still having this issue any, I tried your steps and mine persisted.

Right now I don't have access to a Windows machine with a GPU, so I don't have any way to confirm or look into this.

Are you still having this issue any, I tried your steps and mine persisted.

Sorry to hear. It's been working just fine ever since. Could you provide more info about your setup? Operating system, whether you tried torch.cuda.is_available(), what it returns, any error messages you might've seen, etc.

Windows 11, getting the exact same error messages as you get in your original one. I'm currently just using a separate whisper program instead so no big deal, and yes torch returns true.

For windows, I had to install an Nvidia triton windows compiler build from here : https://huggingface.co/madbuda/triton-windows-builds
Command:
pip install https://huggingface.co/madbuda/triton-windows-builds/resolve/main/triton-3.0.0-cp312-cp312-win_amd64.whl
If you have CUDA 12.6 or higher, this bugfix needs to be applied also.
https://github.com/triton-lang/triton/pull/4588/files (see the changed files tabs and note the added and removed lines)
For me, the file I had to edit was located in
C:\Users\User.conda\envs\monkeyplug_312\Lib\site-packages\triton\backends\nvidia\compiler.py
After this and doing the pytorch CUDA re-install, it worked for Windows.
Thanks for creating this and I hope this info can help someone.


Update Privacy Services Manager to 1.7.2

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


Link Lint Checker

Motivation
Add link checker to CI

Closed by https://github.com/FuelLabs/sway-standards/pull/103


Add a shorthand "--xip" to wamrc

A shorthand of "--enalbe-indirect-mode --disable-llvm-intrinsics"

Could you also update the document: https://github.com/bytecodealliance/wasm-micro-runtime/blob/main/doc/xip.md

OK


gen-baitjs: Fix false positive workflow run

Description and Reproduction Sample
The follwoing run should have failed: https://github.com/tiabeast/bait/actions/runs/4941810231/jobs/8834792208
Current Behavior
Cloning into '/home/runner/.bait/baitjs'...
/bin/sh: 1: Syntax error: Unterminated quoted string
error: cannot pull with rebase: Your index contains uncommitted changes.
error: please commit or stash them.
Everything up-to-date
(node:1805) [DEP014[7](https://github.com/tiabeast/bait/actions/runs/4941810231/jobs/8834792208#step:5:8)] DeprecationWarning: In future versions of Node.js, fs.rmdir(path, { recursive: true }) will be removed. Use fs.rm(path, { recursive: true }) instead
(Use `node --trace-deprecation ...` to show where the warning was created)

And exit with code 0.
Expected Behavior
Exit with code 1 (--> fail).
Possible Solution and Additional Information
No response
Environment details (bait doctor)
no response

Seems to be fixed with 45818a7691687c3719fbd9ce688d2dfd6bf51564


License is unclear

Can the license of this project be clarified? (Personally I'm hoping it's something compatible with either GPLv2 or GPLv3; I don't really care much beyond that.)

Thanks, much appreciated!


ENH Implement new stage coordinates metadata

The current one is wrong. There has been a fix in the new SDK but it needs an extra function wrapped.

This leaves Lim_GetStageCoordinates, Lim_SetStageAlignment, Lim_GetAlignmentPoints unimplemented.

Hi Casper,
I'm not sure if this is the right place to post but I have implemented in a project which I'm working on and wanted to provide that code.
In the ND2SDK.py file, I've added:
Lim_GetStageCoordinates = nd2.Lim_GetStageCoordinates Lim_GetStageCoordinates.argtypes = [LIMFILEHANDLE, LIMUINT, POINTER(LIMUINT),POINTER(LIMUINT),POINTER(LIMUINT), POINTER(c_double),POINTER(c_double),POINTER(c_double),LIMBOOL] Lim_GetStageCoordinates.restype = LIMRESULT
And in nd2reader.py:
  _stagex = h.c_double(.0)         _stagey = h.c_double(.0)         _stagez = h.c_double(.0)         h.Lim_GetStageCoordinates(self._handle, h.LIMUINT(int(1)), h.LIMUINT(int(i)), h.c_ulong(attr.uiWidth >> 1), h.c_ulong(attr.uiHeight >> 1), _stagex,_stagey,_stagez,h.LIMBOOL(bool(1)))         metadata = {                     'stage_coords': {'x': _stagex.value, 'y': _stagey.value, 'z': _stagez.value}}


fix deps/build.jl

Codecov Report

Merging #48 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #48   +/-   ##
=======================================
  Coverage   94.63%   94.63%
=======================================
  Files           7        7
  Lines         671      671
=======================================
  Hits          635      635
  Misses         36       36

Continue to review full report at Codecov.

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


[SPARK-39324][CORE] Log ExecutorDecommission as INFO level in TaskSchedulerImpl

What changes were proposed in this pull request?
This PR aims to log ExecutorDecommission as INFO level in TaskSchedulerImpl in Apache Spark 3.4.
Why are the changes needed?
Like the other modules, TaskSchedulerImpl had better log the decommission as INFO level instead of ERROR.
22/05/28 01:25:28 INFO KubernetesClusterSchedulerBackend: Decommission executors: 8
22/05/28 01:25:28 INFO KubernetesClusterSchedulerBackend: Notify executor 8 to decommissioning.
22/05/28 01:25:28 INFO BlockManagerMasterEndpoint: Mark BlockManagers (BlockManagerId(8, <IP_ADDRESS>, 43353, None)) as being decommissioning.
22/05/28 01:25:29 ERROR TaskSchedulerImpl: Lost executor 8 on <IP_ADDRESS>: Executor decommission.
22/05/28 01:25:29 INFO ExecutorMonitor: Executor 8 is removed. Remove reason statistics: ...
22/05/28 01:25:29 INFO DAGScheduler: Executor lost: 8 (epoch 7)
22/05/28 01:25:29 INFO BlockManagerMasterEndpoint: Trying to remove executor 8 from BlockManagerMaster.
22/05/28 01:25:29 INFO BlockManagerMasterEndpoint: Removing block manager BlockManagerId(8, <IP_ADDRESS>, 43353, None)
22/05/28 01:25:29 INFO BlockManagerMaster: Removed 8 successfully in removeExecutor
22/05/28 01:25:29 INFO DAGScheduler: Shuffle files lost for executor: 8 (epoch 7)
22/05/28 01:25:34 INFO BlockManagerMaster: Removal of executor 8 requested
22/05/28 01:25:34 INFO BlockManagerMasterEndpoint: Trying to remove executor 8 from BlockManagerMaster.
22/05/28 01:25:34 INFO KubernetesClusterSchedulerBackend$KubernetesDriverEndpoint: Asked to remove non-existent executor 8

Does this PR introduce any user-facing change?
No. This is a change on log level.
How was this patch tested?
Pass the CIs.

Thank you so much, @wangyum . Merged to master.


Text inside stack's positioned wrapped in Backdrop Filter "bleeds out" if not wrapped in material widget

Disclaimer
I'm not an english native. My english possibly messy.
Story
So I want to make a column of text (as a "header"), on top of a background image, while also blurring the background.
That's why, I use a stack, and then position my "header" on top, left, right at 0. Then a weird thing happen, I expect the "header" to have a same height as the content (which is a column), but, it turns out the entire screen got blurred, while still leaving the column neat.
Incorrect screenshot:
https://imgur.com/a/CmsJwKE
That being said, luckily I found out that I need to wrap each text widgets (i have 2 texts, and i need to wrap both of them, more on code snippet) inside a material widget (with transparent color). After that, the blurred area is now correct.
Correct screenshot:
https://imgur.com/a/hqPgnTq
Code snippet
@override
  Widget build(BuildContext context) {
    return new Scaffold(
        body: new SizedBox.expand(
            child: new Stack(children: <Widget>[
      ...
      ...
      new Positioned(
          top: 0.0,
          left: 0.0,
          right: 0.0,
          child: new BackdropFilter(
              filter: new ui.ImageFilter.blur(sigmaX: 5.0, sigmaY: 5.0),
              child: new Container(
                  color: Colors.transparent,
                  child: new Column(
                      crossAxisAlignment: CrossAxisAlignment.center,
                      children: <Widget>[
                        new Container(height: 72.0),
                        new Material(
                          color: Colors.transparent,
                          child: new Container(
                              padding: new EdgeInsets.all(16.0),
                              decoration: new BoxDecoration(
                                  border: new Border.all(
                                      color: Colors.white.withOpacity(0.8),
                                      width: 3.0)),
                              child: new Text("BANDUNG",
                                  textScaleFactor: 0.8,
                                  style: new TextStyle(
                                      letterSpacing: 4.0,
                                      fontWeight: FontWeight.w700,
                                      color: Colors.white.withOpacity(0.8),
                                      fontSize: Theme
                                          .of(context)
                                          .textTheme
                                          .display1
                                          .fontSize))),
                        ),
                        new Padding(padding: new EdgeInsets.only(top: 32.0)),
                        new Material(
                          color: Colors.transparent,
                          child: new Padding(
                            padding:
                                const EdgeInsets.symmetric(horizontal: 16.0),
                            child: new Text(
                                "Kota yang merupakan ibukota Jawa Barat ini terkenal dengan wisata kuliner, belanja, dan alamnya.",
                                style: new TextStyle(
                                    color: Colors.white.withOpacity(0.8),
                                    fontSize: Theme
                                        .of(context)
                                        .textTheme
                                        .body1
                                        .fontSize),
                                textAlign: TextAlign.center,
                                textScaleFactor: 1.1),
                          ),
                        ),
                        new Padding(padding: new EdgeInsets.only(top: 16.0)),
                        new Row(
                            mainAxisAlignment: MainAxisAlignment.center,
                            children: [
                              new Flexible(
                                  child: new Container(
                                      decoration: new BoxDecoration(
                                          color: Colors.white.withOpacity(0.8),
                                          borderRadius:
                                              new BorderRadius.circular(2.0)),
                                      padding: new EdgeInsets.symmetric(
                                          horizontal: 16.0),
                                      width: 75.0,
                                      height: 1.0))
                            ]),
                        new TabBar(
                            indicatorColor: Colors.white,
                            indicatorWeight: 3.0,
                            isScrollable: true,
                            controller: _tabController,
                            tabs: <Tab>[
                              new Tab(text: "Kuliner"),
                              new Tab(text: "Belanja"),
                              new Tab(text: "Wisata"),
                              new Tab(text: "Blog")
                            ])
                      ])))),
    ...
    ])));
  }

How to reproduce the error
Just delete at least 1 material widget in above snippet.
Flutter Run
No irregularity
Flutter Analyze
No irregularity
Flutter Doctor
[√] Flutter (Channel beta, v0.2.8, on Microsoft Windows [Version 10.0.16299.371], locale en-US)
• Flutter version 0.2.8 at M:\Work\flutter
• Framework revision b397406561 (2 weeks ago), 2018-04-02 13:53:20 -0700
• Engine revision c903c217a1
• Dart version 2.0.0-dev.43.0.flutter-52afcba357
[√] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at M:\Work\Android\sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-27, build-tools 27.0.3
• ANDROID_HOME = M:\Work\Android\sdk
• Java binary at: M:\Work\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)
• All Android licenses accepted.
[√] Android Studio (version 3.1)
• Android Studio at M:\Work\Android\Android Studio
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)
[!] IntelliJ IDEA Community Edition (version 2017.3)
• IntelliJ at M:\Work\JetBrains\IntelliJ IDEA Community Edition 2017.3.2
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
• For information about installing plugins, see
https://flutter.io/intellij-setup/#installing-the-plugins
[√] Connected devices (1 available)
• SM N750 • xxx.xxx.xxx.x:xxxx • android-arm • Android 5.1.1 (API 22)
! Doctor found issues in 1 category.

For more information about diagnosing and reporting Flutter bugs, please see https://flutter.io/bug-reports/.

Related #10302
Skia issue at https://bugs.chromium.org/p/skia/issues/detail?id=6753

Seems to be fixed. Can this be closed?


Tbasic support for time spend of tikets and follow-ups

Adding basic support for tracking spend time on tickets.

Codecov Report

Merging #717 into develop will decrease coverage by <.01%.
The diff coverage is 72.22%.

@@             Coverage Diff             @@
##           develop     #717      +/-   ##
===========================================
- Coverage    69.58%   69.57%   -0.01%
===========================================
  Files           42       42
  Lines         4083     4099      +16
  Branches       500      504       +4
===========================================
+ Hits          2841     2852      +11
- Misses        1099     1102       +3
- Partials       143      145       +2

Impacted Files
Coverage Δ

helpdesk/views/staff.py
44.39% <ø> (ø)
:arrow_up:

helpdesk/models.py
79.24% <71.42%> (-0.23%)
:arrow_down:

helpdesk/admin.py
85.45% <75%> (-1.34%)
:arrow_down:

Continue to review full report at Codecov.

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

Codecov Report

Merging #717 into develop will decrease coverage by <.01%.
The diff coverage is 72.22%.

@@             Coverage Diff             @@
##           develop     #717      +/-   ##
===========================================
- Coverage    69.58%   69.57%   -0.01%
===========================================
  Files           42       42
  Lines         4083     4099      +16
  Branches       500      504       +4
===========================================
+ Hits          2841     2852      +11
- Misses        1099     1102       +3
- Partials       143      145       +2

Impacted Files
Coverage Δ

helpdesk/views/staff.py
44.39% <ø> (ø)
:arrow_up:

helpdesk/models.py
79.24% <71.42%> (-0.23%)
:arrow_down:

helpdesk/admin.py
85.45% <75%> (-1.34%)
:arrow_down:

Continue to review full report at Codecov.

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

Codecov Report

Merging #717 into develop will decrease coverage by <.01%.
The diff coverage is 72.22%.

@@             Coverage Diff             @@
##           develop     #717      +/-   ##
===========================================
- Coverage    69.58%   69.57%   -0.01%
===========================================
  Files           42       42
  Lines         4083     4099      +16
  Branches       500      504       +4
===========================================
+ Hits          2841     2852      +11
- Misses        1099     1102       +3
- Partials       143      145       +2

Impacted Files
Coverage Δ

helpdesk/views/staff.py
44.39% <ø> (ø)
:arrow_up:

helpdesk/models.py
79.24% <71.42%> (-0.23%)
:arrow_down:

helpdesk/admin.py
85.45% <75%> (-1.34%)
:arrow_down:

Continue to review full report at Codecov.

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

Linguistically would have been better to use the phrase "Time spent" rather than "Time spend" but other than that it is a pretty simple change.

will continue on this pr, and will fix this, thanks for pointing me at it

Sounds good! I agree "time spent" sounds better to me. Let me know when you're ready for a review and pull.

I have 2 issues:

I'm probably not able to implement any reasonable reports right now
Not sure, how to render proper time i the list of tickets. Serializer seems to support DurationField but the result is number of seconds (no really readable).

Otherwise, I do not have much to be added right now.

I've added also dedicated_time attribute to the Queue model.
@gwasser: what needs to be fixed in order to get this pull request merged?

Looks good to me! Just make sure all the tests pass and add some new ones for new features. Make sure you fit the PEP8 style guide too, that looks to be the reason it didn't pass tests yet. Once the tests are all good I'll merge it in. Thanks!

@gwasser I've added some new tests and hope, it looks ok now.


Add support for RealPLKSR DySample

https://github.com/muslll/neosr/blob/master/neosr/archs/realplksr_arch.py

Seconding this :)

Will add support for it it when I have some downtime


Sorting by last introduced date

A column with the most recent date that a browser shipped a feature would be useful to understand recent changes on the platform for features that aren't yet Baseline. web-features burndowns has a lastIntroducedDate which shows the concept. It's a bit like a "last modified" date and is the same as the Baseline low date for Baseline features.
If this date was published with web-features, could it be added as a column to webstatus.dev?

Ignore my questions. I read the full e-mail thread.

lastIntroducedDate, which is the last time any browser shipped support. After all browsers support a feature, it's the same as the Baseline date

This clears everything up. Do you have an ETA of when this would land in web-features? That will help us plan when to adopt it.

I don't have an ETA no, I just filed https://github.com/web-platform-dx/web-features/issues/1311 and haven't discussed it with @ddbeck previously. We'll discuss and I'll report back here with what to expect.

https://github.com/web-platform-dx/web-features/pull/1514 would also make it much easier to compute this date from only web-features. (Currently you would also need BCD to get the dates.)


winbox: fix startup of the application

Hello,
I can't run Winbox with the current state of things:
$ NIXPKGS_ALLOW_UNFREE=1 nix shell .#winbox --impure
$ winbox
/nix/store/i9zwsxk7x6962rih4xzvhqgdq37d6blq-winbox-3.37/bin/winbox: line 11: 388601 Segmentation fault      (core dumped) /nix/store/jg8ahqq8lpbsyqdqvwqvfpcrvsq4cih4-wine-wow-7.20-staging/bin/wine /nix/store/1p1jv36pgbl3ga8lvrbkkw0ff3vszw8b-winbox64.exe "$@"

With this PR:
$ NIXPKGS_ALLOW_UNFREE=1 nix shell .#winbox --impure
$ winbox
creating Window Class routeros_null
creating Window Class routeros_connect
DPI=96
EMS=13
ERROR: bad bmp format id=2329
biPlanes=1, biBitCount=1, biCompression=0
ERROR: bad bmp format id=3329
biPlanes=1, biBitCount=1, biCompression=0
creating Window Class routeros_dbl_canvas
rescaleDPI starting-dpi=96, zoom=0 result=96
 discovery started
rescaning
connecting to <IP_ADDRESS>
connecting to <IP_ADDRESS>
connecting to <IP_ADDRESS>
connecting to <IP_ADDRESS>
connecting to <IP_ADDRESS>
connecting to <IP_ADDRESS>
loadConfig C:\users\devlin\AppData\Roaming\Mikrotik\Winbox\Addresses.cdb
ConnectWindow::destroyed
App::saveAllSettings
App::saveAllSettings done
saving settings to .\viw318f.tmp... for C:\users\devlin\AppData\Roaming\Mikrotik\Winbox\settings.cfg.viw
settings saved
exiting
WARNING: deleting font h=0xa0a0174
~Discovery
discovery stopped

The app works without any troubles.
Description of changes

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.

And while you're at it, would you mind changing
https://github.com/NixOS/nixpkgs/blob/1aab5c848e649f0f766f9722091bc450cae3e4e3/pkgs/tools/admin/winbox/default.nix#L20
to fetchurl (if (wine.meta.mainProgram == "wine64") then and dropping use64 entirely both in the package and in all-packages.nix? It's probably cleaner that way ^^

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


Designing the different stores and columns to support the agglayer first iteration of the Pessimistic proof

Description
The goal of this ticket is to define what kind of stores and columns we want.

Small footprint for the mandatory data
Clusterize data per epoch as much as possible

Acceptance

[ ] Having a design that reflect the needs we have for the Pessimistic proofs

This ticket is done based on the discussion #201


Update web-app access to Key vault to use the new recomended key vault RBAC access

Could you update this web-app example to use the new recomended key vault access mamagement method that uses Azure RBAC roles like "Key Vault Secrets User", instead of the of legacy access policy based access ?
(see https://learn.microsoft.com/en-us/azure/key-vault/general/rbac-access-policy)

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

ID: 62a379da-fb2c-03ae-aa9b-a1575b79ab80
Version Independent ID: 7a484171-a742-bf00-4f31-369b8a31910a
Content: Tutorial - Use Azure Key Vault with an Azure web app in .NET
Content Source: articles/key-vault/general/tutorial-net-create-vault-azure-web-app.md
Service: key-vault
Sub-service: general
GitHub Login: @msmbaldwin
Microsoft Alias: mbaldwin

@pierrejeandev
Thanks for your feedback! We will investigate and update as appropriate.

@msmbaldwin, hope you are doing well.  Do you or your team still own Key Vault & Azure Web App?  I get pinged once in a while for help on it since I think it was included in a mass edit of metadata I helped with once, but I don't know this topic subject.  The .NET specific instruction is pretty much limited to "dotnet new web" and "dotnet run".

@wadepickett
Thank you for your response.

@pierrejeandev
Thank you for bringing this to our attention.
I've delegated this to content author @msmbaldwin, who will review it and offer their insightful opinions.


Please add Live Demo Option in Readme

Please add Live Demo Option in Readme

Hello @sheezu900
Yes, thank you for your review.


python311Packages.chart-studio: 5.20.0 -> 5.22.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python311Packages.chart-studio is: Utilities for interfacing with Plotly's Chart Studio service
meta.homepage for python311Packages.chart-studio is: https://github.com/plotly/plotly.py/tree/master/packages/python/chart-studio
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 5.21.0 in filename of file in /nix/store/3r36m7n509hnpp1yjr97kcs0j00whhk1-python3.11-chart-studio-5.21.0

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

3 total rebuild path(s)

3 package rebuild(s)

First fifty rebuilds by attrpath

python311Packages.chart-studio
python311Packages.cufflinks

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/3r36m7n509hnpp1yjr97kcs0j00whhk1-python3.11-chart-studio-5.21.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

Or:
nix build github:r-ryantm/nixpkgs/7a32a9f463a4c79b21927eba99142fa417c441e4#python311Packages.chart-studio

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/3r36m7n509hnpp1yjr97kcs0j00whhk1-python3.11-chart-studio-5.21.0
ls -la /nix/store/3r36m7n509hnpp1yjr97kcs0j00whhk1-python3.11-chart-studio-5.21.0/bin

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

4 packages built:

python311Packages.chart-studio
python311Packages.chart-studio.dist
python311Packages.cufflinks
python311Packages.cufflinks.dist

Maintainer pings
cc @jonringer for testing.

@ofborg eval


Local variable 'transaction' referenced before assignment

Following error occured when executing a buy on Bittrex while live trading:
Command:
order_target_percent(asset=asset, target=1, limit_price=price * 1.0001)

Traceback:
Traceback (most recent call last):
  File "/home/ubuntu/my_algo.py", line 290, in <module>
    simulate_orders=False)
  File "/home/ubuntu/anaconda3/envs/catalyst/lib/python2.7/site-packages/catalyst/utils/run_algo.py", line 551, in run_algorithm
    stats_output=stats_output
  File "/home/ubuntu/anaconda3/envs/catalyst/lib/python2.7/site-packages/catalyst/utils/run_algo.py", line 330, in _run
    overwrite_sim_params=False,
  File "/home/ubuntu/anaconda3/envs/catalyst/lib/python2.7/site-packages/catalyst/exchange/exchange_algorithm.py", line 297, in run
    data, overwrite_sim_params
  File "/home/ubuntu/anaconda3/envs/catalyst/lib/python2.7/site-packages/catalyst/algorithm.py", line 724, in run
    for perf in self.get_generator():
  File "/home/ubuntu/anaconda3/envs/catalyst/lib/python2.7/site-packages/catalyst/gens/tradesimulation.py", line 224, in transform
    for capital_change_packet in every_bar(dt):
  File "/home/ubuntu/anaconda3/envs/catalyst/lib/python2.7/site-packages/catalyst/gens/tradesimulation.py", line 122, in every_bar
    blotter.get_transactions(current_data)
  File "/home/ubuntu/anaconda3/envs/catalyst/lib/python2.7/site-packages/catalyst/exchange/exchange_blotter.py", line 271, in get_transactions
    cleanup=lambda: log.warn(
  File "/home/ubuntu/anaconda3/envs/catalyst/lib/python2.7/site-packages/redo/__init__.py", line 162, in retry
    return action(*args, **kwargs)
  File "/home/ubuntu/anaconda3/envs/catalyst/lib/python2.7/site-packages/catalyst/exchange/exchange_blotter.py", line 252, in get_exchange_transactions
    for order, txn in self.check_open_orders():
  File "/home/ubuntu/anaconda3/envs/catalyst/lib/python2.7/site-packages/catalyst/exchange/exchange_blotter.py", line 211, in check_open_orders
    transactions = exchange.process_order(order)
  File "/home/ubuntu/anaconda3/envs/catalyst/lib/python2.7/site-packages/catalyst/exchange/ccxt/ccxt_exchange.py", line 898, in process_order
    return self._process_order_fallback(order)
  File "/home/ubuntu/anaconda3/envs/catalyst/lib/python2.7/site-packages/catalyst/exchange/ccxt/ccxt_exchange.py", line 893, in _process_order_fallback
    return [transaction]
UnboundLocalError: local variable 'transaction' referenced before assignment

this change was added already to the develop branch.


It will not work api level<17 ?

It is giving exception here for api level. i think you  should give this method only in api level>=17.
Please check here: manager.isDestroyed()
You can write like this to avoid the problem:
if(Build.VERSION.SDK_INT >= VERSION_CODES.JELLY_BEAN_MR2){
}else{
}

Here we use the FragmentManager in "android.support.v4.app", the compiler has no warning, I think it's compatible with the  platforms prior to Android 3.0.


Which version of the MvcReportViewer is compatible with Microsoft SQL Server Reporting Services Version 10.50.6000.34 now?

Ilich (and all) --
Please help.
I was able to browse the directory where my reports are stored on the server, using a web browser.
At the report listing page, directory browsing, at the bottom of the page it said the following...
Microsoft SQL Server Reporting Services Version 10.50.6000.34
...so does that help me to know which version of the MvcReportViewer will work for my reports?
Please advise.
Thanks.
-- Mark Kamoski

It seems that you are using SQL Server 2008 R2. I developed my MvcReportViewer using SQL Server 2012. This is the reason of using Report Viewer 11.0. I thought it has to be backward compatible, but it does not seem so. I'd recommend to take the source code, change Microsoft.ReportViewer.WebForms, Version=<IP_ADDRESS> to be Version=<IP_ADDRESS> and build. Then try the library in the application. I think it will work.
If it still does not work then try to build simple reporting application using ASP.NET Web Forms. If it works then you will have an idea what to fix in MvcReportViewer. If it does not work than you have to ask your DBA/IT Support to check what is going on with SSRS installation.

Ilich (and all) --
It turns out that the root cause was the dreaded "MissingMethodException Method not found: 'Boolean Microsoft.ReportingServices.Common.DateTimeUtil.TryParseDateTime" for all of my woes, or so it seems to me and I found a simple (but somewhat hack) way of getting past it.
It seems to me that there was some kind of version incompatibility issue, and I do not know exactly what is on the server, and I do not have control of what is on the server.
But the MissingMethodException issue was only expressed on reports that had DateTime parameters, hence the underlying call to TryParseDateTime. So, all I did was convert my parameters with data-type DateTime to be data-type text. I know it is a workaround and kind of a hack, but I used it anyway and it worked beautifully. The downside is that I do not get the nice popup calendar inputs on the report toolbar when it renders, but that is OK. Sure, if they put a non-date value in the textbox then the report will say something like "cannot convert input to valid date time" but it would have said that anyway if the user put in junk.
So problem solved, all is well, and thanks so much for all your help.
Thanks.
-- Mark Kamoski


exui doesn't escape HTML tags in user input.

It properly escapes output from the LLM, and the LLM does receive the tokens properly as best I can tell. However, when the UI renders the user input, HTML tags are not escaped and can lead to potential weirdness.
Examples:
Inputting :

Inputting have:

I can see why it might be nice to have user input text render as html, but might lead to strange or unexpected behavior.

The text is actually rendered as markdown using marked.js. It would be kind of involved to try to decide which HTML tags to escape, especially since some language models may use HTML in their outputs. marked.js correctly handles literal text inside backticks, like `<html>`. So I'm a little unsure how much complexity this calls for?

Okay, so I think it should be addressed with the latest commit. User input will now be rendered without HTML formatting while the bot can still output formatted responses.

Thanks!


Update flame_rive to rive 0.8.1 (now Rive supports raster graphics)

Currently flame_rive is working with rive 0.7.30 and it would be necessary to update to 0.8.1 to be able to support raster graphics.

This should not be marked as a bug, I'll relabel this to enhancement.


Finish split to Extensions + optional roles

Fixes https://github.com/aspnet/Identity/issues/1269 and https://github.com/aspnet/Identity/issues/1253
Support for:
services.AddIdentityCore<TUser()
   .AddRoles<TRole>()
   .AddEntityFrameworkStores<TContext>()

@ajcvickers @blowdart @divega
Actually landed ok, I needed to expose a few more EFCore types
UserOnlyStore (naming?) which is a IUserStore that implements everything except the roles ones. And a few IdentityDbContext class overloads that omit the role related entities.
Existing tests all pass, and I added a few variations on running with only users enabled.  I still need to add a varation that runs with users + roles via the new builder APIs, and also a variation that runs against a DbContext that doesn't derive from identityDbContext.

f555a26b4a554f73eea70b4b34fca823fab9a643


[WIP] Build with meson

Since I'm a VS2017 user, I also made sure to get it compiling with VS2017.
This is just an initial pass. I think it's a useful comparison with #88, as I think meson is far simpler and easy to read compared to CMake.

You'll also notice that the versions update every build, as opposed to every run of CMake, like in #88.

Could you separate the source changes out from the new build system?

I'm closing this PR in favour of using CMake (sorry).
However, I'd appreciate the VS2017 fixes in a separate PR.

np! I'll see if I can do the thing.


Add Support for Multiple Languages and Community Translation

Title
Add Multi-Language Support and Community Translation Contributions
Description
To improve accessibility and inclusiveness, we aim to add support for multiple languages in our app. We will provide a structure that allows the community to contribute translations, making it easier to support a diverse user base.
Requirements
Language Files

Create localization files: Use formats such as JSON, XML, or similar for each supported language. These files should include all user-facing text elements in the app.

Language Selection

Implement a feature: Add an option in the app settings to allow users to select their preferred language from a list of supported languages.

Dynamic Language Switching

Enable dynamic switching: Ensure users can switch languages without restarting the app.

Default Language

Set a default language: Base this on the device's language settings or a predetermined default if no selection is made.

Community Contributions

Host translation files: Keep translation files in the repository and allow community contributions via pull requests.
Provide guidelines: Offer clear guidelines and templates for contributors to follow when adding new translations.

Testing

Verify translations: Ensure that all translations are correctly implemented, and check for issues with text rendering or layout in different languages.

Acceptance Criteria

Localization files are available for each supported language.
Users can select their preferred language from the app settings.
The app displays the selected language immediately or after a restart, depending on the implementation.
Community contributions for translations are integrated through pull requests.
All text elements are properly translated and formatted across various screen sizes and orientations.

Additional Notes

Utilize standard localization frameworks or libraries to streamline the translation process.
Ensure that any third-party libraries or services used in the app also support the selected languages.
Provide contributors with a guideline document that explains the structure of localization files and how to submit translations.

I have created an app_setting for languages with default value of EN. There are some implementation left to make it looking nice in UI and saving/changing into the database.

Setting and UI fixed.
In app_settings this is now created;
| lang | Language | EN | 3 | LI
(key, label, value, group and type)
In SettingsDialog.kt there is a translation map where we can add languages with language code like this:
val predefinedLang = mapOf(
"English" to "EN"
)
That way we are saving the Codes to the database but showing the user the Labels. When new translations have been done we simply add the language+code in that list and it will be available to choose and save to the database. Then we can use this setting to get correct language-files for the user.

Fixed!


Python version of jrun does not parse GAVs as expected

With no prior existing ~/.jrun folder:
$ python jrun net.imagej:imagej:2.0.0-rc-67
INFO 2018-09-25 16:47:47,780: Failed to bootstrap the artifact.
INFO 2018-09-25 16:47:47,781:
INFO 2018-09-25 16:47:47,781: Possible solutions:
INFO 2018-09-25 16:47:47,781: * Double check the endpoint for correctness (https://search.maven.org/).
INFO 2018-09-25 16:47:47,781: * Add needed repositories to ~/.jrunrc [repositories] block (see README).
INFO 2018-09-25 16:47:47,781: * Try with an explicit version number (release metadata might be wrong).

ERROR 2018-09-25 16:47:47,781: Error in ('/usr/local/bin/mvn', '-B', '-f', '/Users/curtis/.jrun/net/imagej/net.imagej/imagej/pom.xml', 'dependency:resolve'): Command '('/usr/local/bin/mvn', '-B', '-f', '/Users/curtis/.jrun/net/imagej/net.imagej/imagej/pom.xml', 'dependency:resolve')' returned non-zero exit status 1.

The issue appears to stem from the generated pom.xml:
$ xmllint --format /Users/curtis/.jrun/net/imagej/net.imagej/imagej/pom.xml
<?xml version="1.0"?>
<project>
	<modelVersion>4.0.0</modelVersion>
	<groupId>net.imagej-BOOTSTRAPPER</groupId>
	<artifactId>net.imagej-BOOTSTRAPPER</artifactId>
	<version>0</version>
	<dependencyManagement>
		<dependencies/>
	</dependencyManagement>
	<dependencies>
		<dependency>
			<groupId>net.imagej</groupId>
			<artifactId>net.imagej</artifactId>
			<version>imagej</version>
		</dependency>
	</dependencies>
	<repositories>
		<repository>
			<id>imagej.public</id>
			<url>https://maven.imagej.net/content/groups/public</url>
		</repository>
		<repository>
			<id>jitpack</id>
			<url>https://jitpack.io</url>
		</repository>
	</repositories>
</project>

Of particular note is the <dependencies> block, which lists net.imagej:net.imagej:imagej as the artifact, rather than the requested net.imagej:imagej:2.0.0-rc-67.

@hanslovsky I invited you as a collaborator, so that issues like this can be assigned to you directly, if you are willing.

I cannot reproduce:
$ rm -rf ~/.jrun
$ python jrun net.imagej:imagej:2.0.0-rc-67
log4j:WARN No appenders could be found for logger (org.bushe.swing.event.EventService).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.

$ ls ~/.jrun/net/imagej/imagej/2.0.0-rc-67 -d
/home/hanslovskyp/.jrun/net/imagej/imagej/2.0.0-rc-67

Maybe it is an OSX issue (assuming you are trying on OSX). I will try Windows, as well.

Yes, I'm on macOS. I'll do some quick debugging to gather some more details.

Can you run jrun with the -v and -vv flags, and share the output? The bootstrap pom gets populated with the right G:A:V for me.

Just tested on Windows and I was able to run imagej-2.0.0-rc-67

OK, I believe the problem is this line in my .jrunrc:
imagej = net.imagej:imagej

This is one of the example shortcuts given in the README.
I think what's happening is that the imagej artifactId is being expanded to net.imagej:imagej, so the original net.imagej:imagej:2.0.0-rc-67 becomes net.imagej:net.imagej:imagej:2.0.0-rc-67. The shell script does not suffer from this behavior because IIRC, it only does shortcut expansion at the beginning of a particular GAV coordinate.

:+1: I can restrict to only a single round of expansion.

I can restrict to only a single round of expansion.

The problem isn't multiple passes though, is it? Only that for the string net.imagej:imagej:2.0.0-rc-67, the imagej = net.imagej:imagej shortcut is being applied once? I didn't dig all the way down to be certain, but from my investigation, it looked like the shortcut was being applied to each component of the endpoint, particularly the artifactId, rather than only matches at the beginning of the entire endpoint string. Did I misunderstand?

Yes, you are correct. the shortcut expansion is applied to each component of a coordinate. If it is to be applied to the first component only, the fix will be easy. Something like this should do it:
def expand_coordinate(coordinate, shortcuts={}):
    split = coordinate.split(':')
    return [shortcuts[split[0]] if split in shortcuts else split[0]] + split[1:]

@hanslovsky I think that will be consistent with the behavior described in the README: "Shortcuts are substituted verbatim from the beginning of the endpoint, single-pass in the order they are defined."

Yes, my proposed fix would not handle multiple/nested shortcuts. Instead it would replace the first occurrence and return immediately like a bash alias. Adding support for nested aliases would not be hard. My only worry is that understanding why an endpoint is invalid becomes harder for users.

I changed expand_coordinate:
def expand_coordinate(coordinate, shortcuts={}):
    was_changed = True
    while was_changed:
        matched_shortcut = False
        for shortcut, replacement in shortcuts.items():
            if coordinate.startswith(shortcut):
                _logger.debug("Replacing %s with %s in %s.", shortcut, replacement, coordinate)
                coordinate = coordinate.replace(shortcut, replacement)
                matched_shortcut = True
        was_changed = matched_shortcut

With ~/.jrunrc:
[shortcuts]
nij = net.imagej
imagej = nij:imagej

imagej:2.0.0-rc-67 gets expanded to net.imagej:imagej:2.0.0-rc-67
net.imagej:imagej:2.0.0-rc-67 gets expanded to net.imagej:imagej:2.0.0-rc-67 (stays the same)

I am happy with this but I have one more question: Should every shortcut be applied once at the most for each coordiante? I.e. if, in a single call to expand_coordinate, a coordinate is matched, it cannot applied a second time? This would prevent recursive shortcuts.


chore: set proper fetchPolicy type

the tests are passing but they should not pass. there is an issue both with the test (@Extheoisah: test should fail here because the user already exist) and from the code

the tests are passing but they should not pass. there is an issue both with the test (@Extheoisah: test should fail here because the user already exist) and from the code

You're correct. I'll fix it. We should check if the username exists in the contacts. If it does exist, no need to check for the modal in the test but if not, we should check for the modal.


Avoid duplicating linting settings

The two differ slightly at the moment. We should just ask pre-commit to run its checks.

PR #265 will need to be merged to fix the build


Extra code for guide

Adding optional extra code in guides for common exercise test configurations.
PD: First PR :smile:

Fixes #147

Looks ok. Plese have a look at my comments, do a rebase - schema.db may have conflicts, just discard changes and run rake db:migrate again, and comment. Then I will merge it


add ansible 2.9.20 to requirements.txt

since ansible in version 2.9.20 is a requirement to run the playbooks
(and is even checked in the preflight playbook), it should be part of
the requirements.txt

Signed-off-by: Jan Klare<EMAIL_ADDRESS>

resolved in release 22.01.  https://github.com/intel/container-experience-kits/releases/tag/v22.01


SplitChunks async node tests hang forever

There are some reasons that webpack-test/configCases/split-chunks/runtime-chunk-foo hangs

webpack-test/configCases/split-chunks/runtime-chunk-async-node
webpack-test/configCases/split-chunks/runtime-chunk-node
webpack-test/configCases/split-chunks/runtime-chunk-node-13130

@JSerFeng  is this solved?


Qubit identities get swapped

Informations

Qiskit version: v0.33.1
Python version: v3.8
Operating system: On IBM-Q's cloud, in Firefox 91.4.1 on macOS 10.15.7

What is the current behavior?
Qubit identities get swapped at the end of a circuit, in the absence of measurements, due to the transpiler. See here: https://quantumcomputing.stackexchange.com/questions/23458/qubit-identities-get-swapped-in-ibm-qiskit
Steps to reproduce the problem
The code at the above link reproduces it.
What is the expected behavior?
The circuit should not swap qubit identities. It should perform a circuit equivalent to the intended circuit. A good solution should scale well to repeating the same circuit many times before measurement, and to many qubits.
Suggested solutions
Find the place in the transpiler code where this occurs, i.e. where the circuit is simplified by moving some work into swapped measurements, and ensure this does not happen when no measurements are present. Preferably it should also not happen when a barrier is present before measurement.

I think you've misunderstood:

In particular, the code you give does not seem to correspond to the images; the circuit seems to be permuting (0, 1, 2) to (2, 0, 1), but the image looks like a single swap of logical qubits 0 and 2.)

This is exactly the bug I'm reporting! I am inputting a circuit equivalent to a permutation, but the transpiler is changing it to a single swap. The way it is doing this relies on measurements. In my first bug-free example it performs measurements out of order, which in combination with the gates is equivalent to a permutation. In my second buggy example no measurements are present, but it assumes they are present and does the same thing. This, as you point out, does not correspond to the intended circuit.
(I did try layout_method="trivial" out of curiosity, it does not fix this bug. But good point that my code wasn't a full reproducer, I've fixed this. I do realize santiago does not have a (0, 2) connection, that's a precondition for the transpiler to perform the mistaken optimization that causes this bug.)

Ok, I thought that was a mistake, because can't reproduce the behaviour you're describing using your code on either Santiago or Lima after 100,000 different seeds. I reliably always get both swaps if a barrier is there, and no operations at all if not (which is expected).  You said that it's seed-dependent - could you provide a seed which shows the behaviour in your link?

The problem is not the barrier. It's that absence of measurement creates an incorrect circuit. Have you tried not including a measurement before transpiling?
In my use case, I'd like to transpile a circuit without measurement, then repeat it, then measure at the end. This is often important to get the most gate-efficient circuit. But this sans-measurement bug makes this impossible.
Here's code to show the bug more clearly:
`from qiskit.compiler import transpile
from qiskit import QuantumCircuit, IBMQ
provider = IBMQ.load_account()
lima = provider.get_backend('ibmq_lima')
n_q = 3
qc_foo = QuantumCircuit(n_q, n_q)
qubit_list = [0,1,2]
qc_foo.swap(0,1)
qc_foo.swap(0,2)
qc_foo.barrier()
qc_foo.measure(qubit_list, qubit_list)
qc_foo_trans = transpile(qc_foo, backend=lima, optimization_level=3
, initial_layout=qubit_list, seed_transpiler=101)
repeat circuit, each iteration is incorrect due to transpiler
qubit_list_trans = [0,1,2,3,4]
qc_foo_trans.compose(qc_foo_trans, qubit_list_trans, inplace=True)
qc_foo_trans.draw()`
The output shows an incorrect transpilation repeated twice. Do you know of a way to get a correct transpilation repeated twice? While only having to transpile a single repetition, to ensure decent results for larger circuits?

Hi @jakelishman , do you have any updates on this? Did my last clarification make sense?

Thanks for the thorough reply. I now understand that transpile is not meant to operate on circuit components but only the final circuit. However I would strongly suggest someone add a warning in Qiskit to this effect when the user tries to transpile a circuit with no measurement on sparse topology, which I think triggers the qubit reordering. This is surely attempted all the time for quantum simulation, Grover's search, etc. where a step is repeated many times. There are likely many users suffering from this, perhaps not realizing it.
Thanks again!


hwloc: 2.7.1 -> 2.8.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/hwloc/versions.
meta.description for hwloc is: "Portable abstraction of hierarchical architectures for high-performance computing"
meta.homepage for hwloc is: "https://www.open-mpi.org/projects/hwloc/"
meta.changelog for hwloc is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2.8.0 with grep in /nix/store/vg29mhvk9svpl8iwfqrgrrv9gww072ri-hwloc-2.8.0
found 2.8.0 in filename of file in /nix/store/vg29mhvk9svpl8iwfqrgrrv9gww072ri-hwloc-2.8.0

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

244 total rebuild path(s)

244 package rebuild(s)

First fifty rebuilds by attrpath
EBTKS
apacheHttpdPackages.mod_tile
apacheHttpdPackages_2_4.mod_tile
bicgl
bicpl
cdo
cloudcompare
cntk
conglomerate
cp2k
crystfel
crystfel-headless
dl-poly-classic-mpi
eccodes
elmerfem
elpa
ezminc
febio
freecad
gdal
gdal_2
getdp
globalarrays
gmt
gnudatalanguage
gplates
gpt2tc
grass
gromacs
gromacsCudaMpi
gromacsDouble
gromacsDoubleMpi
gromacsMpi
haskellPackages.haskell-mpi
haskellPackages.mpi-hs
haskellPackages.mpi-hs-binary
haskellPackages.mpi-hs-cereal
haskellPackages.mpi-hs-store
hdf5-mpi
highfive-mpi
hp2p
hpcg
hpl
hpx
hwloc
inormalize
ior
lammps-mpi
libLAS
libminc

Instructions to test this update (click to expand)

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

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

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

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review took longer than 45m and timed out

Maintainer pings
cc @fpletz @markuskowa for testing.

@GrahamcOfBorg test slurm

https://raw.githubusercontent.com/open-mpi/hwloc/v2.8/NEWS


Documentation site is offline

What version of the module is the issue happening on? Does the issue happen on latest version?

N/A, but 0.27.0;  doesn't the NPM documentation advise starting with 1.0?

What platform and Node.js version? (For example Node.js 6.11.2 on Mac OS X)

N/A, but Node.js 10.15.3 on Mac OS X

Sample source code or steps to reproduce

attempt to view documentation
(Write description of your issue here, stack traces from errors and code that reproduces the issue are helpful)
I hate to bother you because you've been so great in the past, but the documentation site seems to be offline. :(

Hello,
The repository was moved so the github pages to old url need to be updated.
Please use http://cvent.github.io/lounge/ to view the documentation.
On Sat., Jul. 13, 2019, 5:18 p.m. waffledonkey<EMAIL_ADDRESS>wrote:

What version of the module is the issue happening on? Does the
issue happen on latest version?

N/A, but 0.27.0; doesn't the NPM documentation
https://docs.npmjs.com/about-semantic-versioning advise starting with
1.0?

What platform and Node.js version? (For example Node.js 6.11.2 on
Mac OS X)

N/A, but Node.js 10.15.3 on Mac OS X

Sample source code or steps to reproduce

attempt to view documentation http://bojand.github.io/lounge
(Write description of your issue here, stack traces from errors and code
that reproduces the issue are helpful)
I hate to bother you because you've been so great in the past, but the
documentation site seems to be offline. :(
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/cvent/lounge/issues/185?email_source=notifications&email_token=AAP4CTB5HFV5AIF553XEUE3P7IZ75A5CNFSM4IDBVMC2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G7BPU4A,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAP4CTFWDNSIEAVAFU2RJSLP7IZ75ANCNFSM4IDBVMCQ
.

You continue to impress.  Thank you!

On Jul 13, 2019, at 1:28 PM, Bojan<EMAIL_ADDRESS>wrote:
Hello,
The repository was moved so the github pages to old url need to be updated.
Please use http://cvent.github.io/lounge/ to view the documentation.
On Sat., Jul. 13, 2019, 5:18 p.m. waffledonkey<EMAIL_ADDRESS>wrote:

What version of the module is the issue happening on? Does the
issue happen on latest version?

N/A, but 0.27.0; doesn't the NPM documentation
https://docs.npmjs.com/about-semantic-versioning advise starting with
1.0?

What platform and Node.js version? (For example Node.js 6.11.2 on
Mac OS X)

N/A, but Node.js 10.15.3 on Mac OS X

Sample source code or steps to reproduce

attempt to view documentation http://bojand.github.io/lounge
(Write description of your issue here, stack traces from errors and code
that reproduces the issue are helpful)
I hate to bother you because you've been so great in the past, but the
documentation site seems to be offline. :(
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/cvent/lounge/issues/185?email_source=notifications&email_token=AAP4CTB5HFV5AIF553XEUE3P7IZ75A5CNFSM4IDBVMC2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G7BPU4A,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAP4CTFWDNSIEAVAFU2RJSLP7IZ75ANCNFSM4IDBVMCQ
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/cvent/lounge/issues/185?email_source=notifications&email_token=ADAP7HRA2M6VSSI4GOEO5PLP7I3FXA5CNFSM4IDBVMC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZ3Y2NQ#issuecomment-511151414, or mute the thread https://github.com/notifications/unsubscribe-auth/ADAP7HWU6XIRTQLVIVXHLX3P7I3FXANCNFSM4IDBVMCQ.


ci: only run chromatic on push build

Close to in favor of https://github.com/Hongbo-Miao/hongbomiao.com/pull/206


Push of Spring app fails

I'm getting a strange issue when pushing the PetClinic app.
  https://github.com/paketo-buildpacks/maven
  Build Configuration:
    $BP_MAVEN_BUILD_ARGUMENTS  -Dmaven.test.skip=true package  the arguments to pass to Maven
    $BP_MAVEN_BUILT_ARTIFACT   target/*.[jw]ar                 the built application artifact explicitly.  Supersedes $BP_MAVEN_BUILT_MODULE
    $BP_MAVEN_BUILT_MODULE                                     the module to find application artifact in
    Creating cache directory /home/cnb/.m2
  Compiled Application: Contributing to layer
    Executing mvnw --batch-mode -Dmaven.test.skip=true package
unable to invoke layer creator
unable to contribute application layer
error running build
unable to start PTY
fork/exec /workspace/source/app/mvnw: no such file or directory
ERROR: failed to build: exit status 1```

I'm not sure what to do with `unable to invoke layer creator`

https://github.com/spring-projects/spring-petclinic is the source I'm trying to push (unmodified)

Oddly enough this is also an issue with the sample maven app that paketo ships.

Deleting mvnw and mvnw.cmd fixes it.
Might be a similar issue to: https://github.com/paketo-buildpacks/maven/issues/6 ?
I won't close until we can pull in a buildpack that actually fixes the issue

Is there a buildpack that works? Would #455 be a workaround for this?

Oddly enough, I think it's possibly a permissioning issue on mvnw.
The whole mvnw thing is newer than when I was using Java day to day so I don't know how needed it is. Maybe we could just document the oddity for now?

I don't have docker installed so I can't test with pack directly to see differences

This is an issue with the buildpack itself and has been verified by more users than myself: https://github.com/paketo-buildpacks/maven/issues/70

Moving back to Icebox until they are done fixing it upstream.


Trouble in running 'demo.py'

from seg_utils import seg_utils as seg
ModuleNotFoundError: No module named 'seg_utils'
I have no idea about the model named 'seg_utils'. What does it indicate?

I had the same problem, but it didn't affect the outcome

For windows user, save the following code as install_windows.bat and put it in your KittiSeg folder, then run it as admin.
Also please make sure you initialized all your submodules with git submodule update --init --recursive
del %~dp0\incl\evaluation
del %~dp0\incl\seg_utils
del %~dp0\incl\tensorflow_fcn
del %~dp0\incl\tensorvision
mklink /D %~dp0\incl\evaluation %~dp0\submodules\evaluation
mklink /D %~dp0\incl\seg_utils %~dp0\submodules\evaluation\kitti_devkit
mklink /D %~dp0\incl\tensorflow_fcn %~dp0\submodules\tensorflow-fcn
mklink /D %~dp0\incl\tensorvision %~dp0\submodules\TensorVision\tensorvision
echo ok
pause
image
It will create the symbolic links for you

Hi,@smallboy201613
How can i  initialized all  submodules with git submodule update --init --recursive  in windows?


HHH-18987 - Support discovery of META-INF/orm.xml while bootstrapping

HHH-18987 - Support discovery of META-INF/orm.xml while bootstrapping
https://hibernate.atlassian.net/browse/HHH-18987

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license
and can be relicensed under the terms of the LGPL v2.1 license in the future at the maintainers' discretion.
For more information on licensing, please check here.

Please pick changes as you see fit from my PR that attempts to solve this issue as well.

Closing in favor of https://github.com/hibernate/hibernate-orm/pull/9505


event_notification has no effect

Hi,
I installed the event_notifications plugin in our Redmine installation (v2.5.1), and then enabled it in the administrative plugin interface.  However, nothing else happened.  The users do not see any extra checkboxes, and nothing was enabled.  Is there some customization I must do to the plugin to allow something to actually happen?
David

I do not have the redmine_send_emails plugin and I do have the same issue.  I do have a lot of other plugin however... Any other plugin you know of that might create this problem or any receipe to do in order to verify who is the culprit in this plugin interference?
Thanks

@BRUTEF0RCE
In the admin settings, Have you checked all the mail notification settings ?


Take mocha config from truffle.json

If present in truffle.json, the contents of the 'mocha' key will be
used as the arguments passed to new Mocha(). This is
useful for e.g. using a different test reporter in CI.

Good call. Thanks!


Include availability headers

The code can theoretically generate into projects that support < iOS 16, so we should include the appropriate availability headers.

Currently these aren't needed actually. We use some iOS 16 only API (RegexBuilder) so


Fetch all entries to transform

Fixes #82.

@TimBeyer I'll add some tests after lunch.

LGTM although at some point we will change the code to not have all entries in memory at once.
@zcei I think we can merge this.

@connor-baer Thanks for the PR we'll release a next version soon


Recycling Validators

Hello, I've noticed some validators hold their state across REST-based requests.
I think they should be discarded per request. I have done this.
This PR intends to resolve #621.
Please review and hopefully merge.
Thanks.
-t
Changes:

redpen-server/src/main/java/cc/redpen/server/api/RedPenResource.java: Requesting isolated RedPenService instances.
redpen-server/src/main/java/cc/redpen/server/api/RedPenService.java: Clearing cache upon request of isolated instances.
redpen-server/src/test/java/cc/redpen/server/api/RedPenServiceTest.java: Adding test case.

Coverage remained the same at 89.959% when pulling 029418a33b3d883e23729d574813942b41aed149 on isolate-rest-runs into 701ab4f5bdf1a3881423470e970c05fab2523cca on master.

Coverage decreased (-0.09%) to 89.864% when pulling 39fe400eba3438a00197fb63a4f1f06867f859e5 on isolate-rest-runs into 701ab4f5bdf1a3881423470e970c05fab2523cca on master.

Coverage decreased (-0.09%) to 89.864% when pulling 39fe400eba3438a00197fb63a4f1f06867f859e5 on isolate-rest-runs into 701ab4f5bdf1a3881423470e970c05fab2523cca on master.

Hi I would like to fix this issue without adding new interface to Validator. For now, creating and removing all the validator instance is a simple solution.

Recycling is a bit too much solution now. I made another pull request just fixing #621. I think this clear could be used in the future improvement thanks!


Remote logging to multiple servers should specify multiple queues

When logging via TCP or relp to multiple remote servers, there has to be a different queue setup for every remote. Especially the queue.file must be different.
Otherwise the logs could be lost when just one server is reachable.

#302


Using cancellationToken returns UnsupportedMediaType

HI,
I have exiting ASP .Net core project targeting netcoreapp 2.1.
I have taken dependency on latest Aspnetcore versioning package - "Microsoft.AspNetCore.Mvc.Versioning" Version="3.1.5" />.
Added  to the startup
services.AddApiVersioning(options =>
            {
                options.ReportApiVersions = true;
                options.AssumeDefaultVersionWhenUnspecified = true;
            });

I added a new controller
 [Route("v{version:apiVersion}/api/[controller]")]
    [ApiController]
    [ApiVersion("2.0")]
    public class TestController : ControllerBase
    {
        // GET v2.0/api/test
        [HttpGet]
        public IActionResult GetTest(CancellationToken cancellationToken)
        {
            return Ok(200);
        }
    }

I get "UnsupportedMediaType" error when I try to reach this controller with a valid URL. When I  remove "CancellationToken" from the controller it works fine.
Any ideas on what might be going wrong here? I also tried by upgrading my project to netCoreapp 2.2 but still the same result.

Hmm... I've never seen this before. I personally use CancellationToken all the time. There is a special model binder provided by ASP.NET Core out of the box that wires this up. API Versioning does not muck with that. I wasn't able to repro this. Do you happen to have the simplest repro you can share? That will make investigating the issue much faster. Thanks.

It can be related to https://github.com/aspnet/AspNetCore/issues/4396

Thanks for the responses.
It appears that I needed to add SetCompatibilityVersion(AspNetCore.Mvc.CompatibilityVersion.Version_2_2) when adding services.AddMvc() in the startup. Before using Aspnet-api-versioning library there was no need for me to decorate my controllers with [ApiController] attribute. They were just inherited from ControllerBase class and everything was working as expected. But for versioning library to work correctly I had to add [ApiController] attribute and it triggered something that was not able to resolve CancellationToken. Setting the compatibility version fixed my issue.

Ah ... yes. I'm glad you got that ironed out.
There was a behavioral change back in the initial 3.0 timeframe I believe it was. There is a convention mechanism to disambiguate API controllers from UI controllers. Previously this was no so easy way to do that. There were a number of people hosting both together and were frustrated by the versioning policies applied onto UI controllers.
Unfortunately, the side effect is that API-only controller projects who were not using the new API Conventions (e.g. [ApiController]) feature occasionally found things stopped working. There was no perfect answer to this issue beyond calling it out in the release notes.
The policy is defined by the IApiControllerFilter service. You can extend or replace the default policy to suite your needs.


Remove unnecessary withCredentials from EventSource

Remove unnecessary withCredentials from EventSource. This should only be used for CORS, not for authentication.
I removed functionality, adjusted some tests and removed tests that explicitly was testing for this.
Checklist

[ ] Did you add a JIRA issue in a commit message or as part of the branch name?
[ ] Did you add new unit tests?
[ ] Did you add new integration tests?
[ ] If this is a regression, did you write a test to catch this in the future?

Code looks good to me. Feel free to merge once verified against a cluster.

Verified on a cluster.


Added json Standard Module to Support Django 1.7+

At Django 1.7 django.utils.simplejson was removed in favor of the json standard library.
https://docs.djangoproject.com/en/1.8/internals/deprecation/

Thanks :)


Add shebang support (#!)

To use tengo as scripting language in the terminal, support for shebang (#!) would be beneficial.
Additional question, what is the proposed file extension for tengo files?

I think file extension is .tengo as shown in cli documentation

If the goal is simply to support shebang, it should be implemented in Tengo CLI as a special case, rather than a language-wide comment syntax. Tengo CLI can simply ignore the first line of .tengo file if it starts with #!. (https://github.com/d5/tengo/pull/263#issuecomment-605391943)

I can add shebang support if no one is currently working on it. Please let me know.

No one's working on this as far as I know.

Scanning and skipping BOM bytes and #! till the \n char with a function can do this job from cmd/tengo/main.go using inputData. In addition, I think program needs to change the current working directory using inputFile in case file import exists, right? Do I miss anything?

Yeah, maybe we should add a proper handling of BOM, but I think it should be a separate PR.
We can simply check if the beginning of the first line is #!. If so, we can simply trim it.
Not sure what you want to change with import path?

Tengo modules can have file imports with relative paths, if we don't change the current working dir, can compiler find the imported modules? AFAIK compiler just takes the file name not the path. os.Chdir() call with file's dirname would be enough, I think.

Yeah. We're using ioutil.ReadFile to read the files (in tengo main and file module reading code), which will take care of relative path. So... I think we should leave it as is unless we have some edge cases found?

If we do not change the current working dir, a tengo script must use absolute paths to import another module. Also, if a script wants to create a file it may unintentionally create the file where tengo executable is, not in script's dir. I will later create an issue for this after shebang support.


docs: rework readme to cover all features

@OskarStark i know that's just a lot of text, but if you have time to review that'll be awesome - otherwise we can also just merge since it's better than what we have right now


WIP: Refactor

breaking changes included

removed -d --target-dir option. use -o option
some function signatures in pget package

update goreleaser
update actions

https://github.com/Code-Hex/pget/issues/36


Add support for reading AutoDock dlg files

Closed due to some buggy codes related to pose number are found.


S3 v1beta1 sse-s3 encryption error

I face issue while enabling SSE-S3 encryption for S3 bucket with the latest S3 API
I believe something to do with the following:
This is just the behavior of the S3. When a bucket does not have an encryption, S3 will return a 4x4 HTTP status code back which will always be propagated as an exception in boto3.
i believe somewhere in the controller logic, there is GET API call to check whether the existing bucket has encryption configuration turned on, and if this is new bucket. it could potentially throw the HTTP 4x4 as response as this is S3 API behavior
https://github.com/boto/boto3/issues/1899
When I apply s3 encryption, snippet of the spec:
spec:
          forProvider:
            acl: "private"
            locationConstraint: "us-west-1"
            serverSideEncryptionConfiguration:
              rules:
                - applyServerSideEncryptionByDefault:
                    sseAlgorithm: AES256

I have reconcile error as follows:
conditions:
  - lastTransitionTime: "2020-10-13T15:01:10Z"
    reason: Creating
    status: "False"
    type: Ready
  - lastTransitionTime: "2020-10-13T15:07:47Z"
    message: "observe failed: cannot get Bucket encryption configuration: ServerSideEncry
ptionConfigurationNotFoundError:
      The server side encryption configuration was not found\n\tstatus code: 404,
      request id: 6F36C163756424A7, host id: UwOOkZWVPUzpeZdPbM7jYCc976ewDe4LLuNu3bUSC3qf
TQDu513hUPo8wzFOOlilzDu+P16Wa6Q="
    reason: ReconcileError
    status: "False"
    type: Synced

Crossplane version: v0.13.0
This is the second similar error when i tried after the tagging (#379), the error looks pretty similar

@muvaf I'm not sure how much you have done for this, but I have a PR ready for review that fixes this

@krishchow Awesome! I haven't really started yet.

@muvaf - cool! #381 has been opened :tada:

Hi @krishchow @muvaf
Thanks for the swift closure of this item. tested and works well