Two breaks in a while loop cause error.

fn two_breaks(mut a: f32, mut b: f32) {
    let mut i = 0;
    while i < 10 {
        if a < 3.0 {
            break;
        }
        if b < 5.0 {
            break;
        }
        a += 1.0;
        b += 1.0;
        i += 1;
    }
}

Compiling wgpu-example-runner v0.1.0 (/home/dvc/implicit/marching_rays/runner)
error: failed to run custom build command for `wgpu-example-runner v0.1.0 (/home/dvc/implicit/marching_rays/runner)`

Caused by:
  process didn't exit successfully: `/home/dvc/implicit/marching_rays/target/debug/build/wgpu-example-runner-fbbe94bc606d1aa7/build-script-build` (exit code: 1)
  --- stderr
     Compiling wgpu-example-shader v0.1.0 (/home/dvc/implicit/marching_rays/shader)
  error: invalid cfg
    |
    = note: spirv-val failed
    = note: module "/home/dvc/implicit/marching_rays/target/spirv-unknown-unknown/release/deps/wgpu_example_shader.spv"

  error: aborting due to previous error

  error: could not compile `wgpu-example-shader`

  To learn more, run the command again with --verbose.
  Error: BuildFailed

Also hitting:
error: checked sub is not supported yet
    |
    = note: Stack:
            ray_march
            main_fs
            Unnamed function ID %94

and
error: OpSwitch before structurizer is done
     --> /home/dvc/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/option.rs:408:13
      |
  408 |             Some(x) => x,
      |             ^^^^^^^

giving up this experiment for now...

Assigning @VZout for the double-break bit of this. Switch support is tracked in https://github.com/EmbarkStudios/rust-gpu/issues/97. The checked sub issue is probably part of https://github.com/EmbarkStudios/rust-gpu/issues/81 (and is generally just part of all the TODO things that need to get fixed in the compiler)

This is fixed in the PR I'll open in a few minutes. Also introduces continue

I tried again, now I'm getting:
failed to run custom build command for `wgpu-example-runner v0.1.0 (/home/dvc/implicit/marching_rays/runner)`

Caused by:
  process didn't exit successfully: `/home/dvc/implicit/marching_rays/target/debug/build/wgpu-example-runner-f8cbc045210e45d7/build-script-build` (exit code: 1)
  --- stderr
     Compiling wgpu-example-shader v0.1.0 (/home/dvc/implicit/marching_rays/shader)
  error: invalid cfg:0:0 - block <ID>  exits the selection headed by <ID> , but not via a structured exit
    %133 = OpLabel

    |
    = note: spirv-val failed
    = note: module "/home/dvc/implicit/marching_rays/target/spirv-unknown-unknown/release/deps/wgpu_example_shader.spv"

  error: aborting due to previous error

  error: could not compile `wgpu-example-shader`

  To learn more, run the command again with --verbose.
  Error: BuildFailed

The two_breaks function succeeds compilation for me. Can you post updated code, if it's failing on something else?

A version of the two_breaks func is also inside our test suite:
#[test]
fn cf_while_if_break_if_break() {
    val(r#"
#[allow(unused_attributes)]
#[spirv(fragment)]
pub fn main(i: Input<i32>) {
    let mut a = 0;
    while i.load() < 10 {
        if i.load() == 0 {
            break;
        }
        if i.load() == 1 {
            break;
        }
    }
}
"#);
}

Only happens when a random let binding is introduced. Below are two separate test cases resulting in two different errors:
fn test(a: Vec3) -> Vec3 {
    let mut step = 0;
    while step < 32 {
        let current_position = 10;
        if a.x() < 0.0 {
            break;
        }
        if a.y() < 0.0 {
            break;
        }
        step += 1;
    }
    Vec3::default()
}

fn test(a: Vec3) -> Vec3 {
    let mut step = 0;
    while step < 32 {
        let current_position = 10;
        if a.x() < 0.0 || a.y() < 0.0 {
            break;
        }
        step += 1;
    }
    Vec3::default()
}

Just don't want to spam your issues with errors that are due to "not implemented yet", so maybe I'll give it another try after #97 is closed.

@dvc94ch Please do file new issues if you have encountered things that haven't been implemented. It is helpful for us to track their progress.

Tested it with the first test.
without the unused variable this is the cfg: The breaks nicely jump to the merge block.

However when you add the useless variable it inserts a empty (only branches to the merge block) block

In the last case the inner loop invades the selection construct of the first if statement.
Working on a fix!


Set the default content languages

You'll need to run the following command, at least once, after having installed irfi and run the migrations:
$ ideascube config set content local-languages "['fr', 'kg', 'kn', 'lua', 'sw']"

Done in 0d0ffcfc1a631459d376edf81ab775826b60f77e


Setting date at the right with multicalendar

This is more a question than a bug...
I created a datepicker with the following issues:
<Datepicker multi-calendars multi-calendars-solo class="flex-1" format="dd/MM/yyyy" v-model="rangeDate"
:enable-time-picker="false" range auto-apply :partial-range="true"
placeholder="add a range of dates" text-input
:preset-ranges="presetRanges" @update:model-value="getOverviewhse()"
:min-date="new Date(new Date().setFullYear(new Date().getFullYear() - 5))" :max-date="new Date()"
prevent-min-max-navigation>
<template #yearly="{ label, range, presetDateRange }">
<span @click="presetDateRange(range)">{{ label }}

The problem is that I want today's date to always be on the right and the previous month on the left to avoid what appears in the image  that the right calendar is disabled. How can I do it?
In other words, for example, in the month of May, it should be on the left, and the month of June should be on the right...

You can achieve this with start-date and focus-start-date props. Take a look at this example.


docs(website): fix issue 4246

This PR fixes the incorrect example in http://www.protractortest.org/#/api?view=webdriver.WebElement.prototype.getCssValue and is related to https://github.com/angular/protractor/issues/4246

@heathkit
Tnx for merging, who will release a new version of the website with this fix in it? Is this done automatically?


Admin dashboard

In admin dashboard

User table (blocking, make admin etc)
Unverified posts (add review)
View user dashboard of certain user
Blocked posts


FlatProjection: Return FlatPoint instances relative to the reference point

This is a rebased, cleaned up and slightly modified version of #12
The main advantage is that now the FlatPoint instances are relative to the reference point of the FlatProjection
This is a breaking change since the constructor API of FlatProjection changed.
Closes #12

Please, use latlon order as per ISO 6709 . I've made this mistake and wasted some time debugging it.

I am using XY order, which corresponds to lonlat 🤷♂

Alternatively you could write code like this:
FlatProjection::new(P{ lat: a, lon: b});
FlatProjection::new(P{ lon: c, lat: d});

It will be a bit more verbose, but will prevent any potential mistakes. We have encountered a similar problem with the aead crate (see the Payload type).

yeah, I was considering something like that. might be worth it. 👍


Playback fails with "This title is not available to watch instantly. Please try another title."

Bug report
Your Environment

Netflix add-on version: 0.15.8
Operating system version/name: Recalbox for Rockpro64 190603 (mrfixit) (Buildroot 2018.02.03 (kernel: Linux 4.4.180) , Kodi 18.0-Alpha 3
Device model:  Rockpro64 RK3399

Used Operating system:

[ ] Android
[ ] iOS
[x ] Linux (kind of)
[ ] OSX
[ ] Raspberry-Pi
[ ] Windows

Describe the bug
When attempting to view a netflix stream, the wheel spins for a while before displaying "This title is not available to watch instantly. Please try another title."
Log: https://pastebin.com/wvW0daCs
Expected behavior
Video begins to play
Actual behavior
Video does not play. Error is presented.
Steps to reproduce the behavior

Install addon from repo
Login to Netflix
Attempt to view stream

Possible fix
Debug log
The debug log can be found here: https://pastebin.com/wvW0daCs
Additional context or screenshots (if appropriate)
Installation

[ ] I'm using other Netflix Repo
[ ] I'm using a different source <

Other information
Screenshots

is often due to the fact that the quality playback settings in the settings of the netflix site have been changed, try to put the settings to "Auto".
if it continues to do so, try the expert settings of addon to enable VP9 profile

Hi,
Tried changing playback quality to 'Auto' and received the same error. Then tried enabling VP9 too, no change.
Thanks

in the addon expert settings try also do disable DolbyDigital
Press OK to save settings,
reopen expert settings and try Reset ESN

check also if in your country netflix is not in trouble:
https://help.netflix.com/en/is-netflix-down

Thanks for that. Disabled DD & reset ESN, no change.
Netflix is working in web browser with no issues + no reported issues in my country.

you have already tried to switch to oher profiles? incuded kids?

Just tried it then. Same result.

if you don't use VPN or Proxies that can create problems
i don't have any other solution at the moment

you can also try to delete two files (with Kodi closed):
in: ~/.kodi/userdata/addon_data/plugin.video.netflix
one like: "COOKIE_" .........with a series of characters
one: msl_data.json

Done, same result.
I will post a new log later today if that helps.
I did notice a missing dependency- script.module.win_inet._pton
Would that contribute to this issue?

it is a component for windows doesn't seem to have any relationship with the addon,
so you are using a very old and unstable version of kodi
it would be appropriate to update kodi to the current version
to have all components up to date

Hello Castagnal,
I'm sorry but I have the same issue here...
Mac OS
Leia 18.4 (up to date)
Netflix 0.15.8
Log is here
Thanks !

you have tried to disable HEVC profile in expert settings?

I just did - same result.
I tried to enable VP9 too, same result.

have you set a manual ESN?

No...
Do I have to ? On Mac OS ?

please provide a new log

OK

Here it is.
(sorry, too big for pastebin)

lenght is not a problem, but for next times use service like hastebin:
https://paste.kodi.tv/tocakonahu.kodi
parts are still missing in the log and this is making me suspicious..
Are you playing video through a widget of an skin?
Are you playing video from your library without ever opening the add-on?

Answers are no and no...
I’m using the Pellucid skin (since always and it’s been working not too bad)
I’ll try without the skin and will tell you

I just tried with Estuary : same result.

the log?

Here

Wait ! I tested on a more recent macbook, and everything works fine...
With Leia 18.4, Netflix 0.15.8 and same Mac OS
So the problem must be mine.
Sorry for that... I'll search what's going on by my side.
Thanks for your help !

plugin.video.netflix_0.15.8_20191111.zip
can you test with this?

I had a problem to install it.
I refused saying I needed a dependancy "Script module future"
After a quick search I found it on the web, installed it.
Then I could install your Netflix Add-on.
But 1st bug :
When I enter the mail of the account it makes an ASCI mistake.
Then when I try to launch it I have a Add-on Signal Call Time Out error
See Log here.

Sorry here
plugin.video.netflix_0.15.8_20191112.zip

Hi !
Sorry but I won’t be home for a few days, I’ll let you know as soon as I can... Thanks !

Hello,
I just tried your last test (20191112) : same error...

Hello, some fresh news :
I just tried a "from scratch" installation, by renaming my "Kodi" folder in my library, install just your plugin : it works perfectly. So the bug seems definitely to come from my configuration (which is a bit complicated).
For now let me do my tests and don't worry about my problem, I'm sure I'll come in a few days to tell  you the bug is located (I hope)
Thanks for your help !!

good, perhaps reconfiguring a little at a time as it was before you will probably find the problem

@generalks suggest you to try to reinstall all with latest Kodi build
and install Netflix addon but the Daily build, link on main page
module.win_inet._pton should only be needed on Windows

Hello,
Well I keep my good'old 18.4 version, because it's a custom version with some modifications in the ways it handles the video upscaling.
And it was definitely my old installation that was corrupted (too many tests/installations/unsinstalls of addons probably...).
With this sane reinstall, everything works fine.
Thanks again for your help CastagnalT !

I've got exactly the same error on Libreelec
It started when I was running 15.3, out of the blue. I upgraded to 15.8 and the error persists
Here is my log  https://paste.kodi.tv/ajijexubus.kodi.
I've tried intalling 15.9 and 15.10, but there is an error about script.module.future, which stops it from updating. The log for that is https://paste.kodi.tv/acowedudar.kodi
I'll try the version of 15.8 you posted in the comment above

Managed to install script module future so updated to 15.10, but still same playback error

Hello, some fresh news :
I just tried a "from scratch" installation, by renaming my "Kodi" folder in my library, install just your plugin : it works perfectly. So the bug seems definitely to come from my configuration (which is a bit complicated).
For now let me do my tests and don't worry about my problem, I'm sure I'll come in a few days to tell you the bug is located (I hope)
Thanks for your help !!

Can you elaborate on what you did here? It sounds like that's what I need to do too

Got it!!
My Libreelec wasn't set to auto update all addons.
I enabled it and all of a sudden a whole lot of different updates came flooding in, then it prompted me to download a new version of widevine. Then it worked!

closed for inactivity of author

I've got the same problem since last friday in my nvidia shield but the official netflix app doesn't work either, same error.


Add support for requirements files, constraints, and overrides in uv run

Closes https://github.com/astral-sh/uv/issues/4824.

Terrifyingly easy to add. I want to add some more test coverage and I'm sure there are some niche behaviors I need to explore.

Also closes https://github.com/astral-sh/uv/issues/4824.

We don't accept --override foo==1.0.0 in the pip API -- is it necessary to support here? It seems fine to me to be consistent with the pip API on those.

Or, at least, we definitely don't need to support that to start IMO. And if we want to support it, we should probably support it in the pip API too.

Yeah I don't think that's in scope for this pull request, just want to nail down the plan so we can make sure it's coherent.

I think I'd be ok with --requirements, --overrides, and --constraints (with the short options too) -- it just feels the most intuitive coming from the other APIs. --with-* is also ok, but we'd probably end up wanting aliases for the shorter versions?

@zanieb - I'm happy to finish this PR if we can get consensus on the names, no trouble.

@charliermarsh I am comfortable finishing it up this week

As discussed I'll take this over and try to get it merged today.

Note that we're using plural --constraints, --requirements and --overrides here to make room for the singular interface in the future. However, this differs from the uv pip interface which uses singular names to refer to files.

We decided to narrow the scope to requirements files for now. Constraints and overrides require that we resolve alongside the base environment, diff the result, and install any changes into the ephemeral environment. Which is doable, but a lot more complex.

Thanks for taking this over!


Snapshots?

Does zboxfs support snapshots?
Our application involves user media which can very easily become corrupt (e.g device removed during write), and the ability to roll back to a previous snapshot would be hugely beneficial.

It doesn't support snapshot at this moment, but if more people are interested, I will put it in the next feature list.

Definitely snapshots would be great


fix: Increase minimal chrono version to avoid RUSTSEC-2020-0159 vulnerability

https://rustsec.org/advisories/RUSTSEC-2020-0159.html

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


Add a new output option, workerPublicPath

Presently, Webpack assumes that the worker.js script is located in the same location as the publicPath. The application I work on does not work like that, the worker script and the rest of the script files are located at two separate domains in order to satisfy the Same Origin worker requirement.
Webpack has a feature for making the publicPath a function, unfortunately it is a fairly obscure feature and I can't track down where it applies in the codebase. AFAIK it only applies in AssetGenerator.js to generate the hashes.
There was some work in #14680 to support Cross origin worker loading, however this is unrelated to this change. This PR will not solve cross origin workers. In fact the worker public path option has to be located at the same origin. In our app, the publicPath is a CDN domain, and the worker public path is the same-origin domain.

What kind of change does this PR introduce?
Adds in a new output option for the Worker script that tells Webpack where to expect the worker script to be.

Did you add tests for your changes?
Done

Does this PR introduce a breaking change?
No

What needs to be documented once your changes are merged?
New option. Documentation is already in the comments.

We should have a config test for this and add a snapshot to capture the value.

PTAL, added in a config test as well as a stats test

p.s. did not mean to remove the review from @alexander-akait , not sure why it removed it

Added back @alexander-akait to reviewers.

Apologies for the lack of recent updates. There is something with the changes that breaks some tests. I was looking into that last week but got sidetracked by some critical tasks that are still ongoing. Intend to get back and fix those tests by this week.

@TheLarkInn PTAL, build is green
@sokra too, addressed your comment

I think we need to run yarn special-lint-fix here
https://github.com/webpack/webpack/blob/4ba225225b1348c8776ca5b5fe53468519413bc0/package.json#L158

I think we need to run yarn special-lint-fix here
https://github.com/webpack/webpack/blob/4ba225225b1348c8776ca5b5fe53468519413bc0/package.json#L158

@thomastay will you do the following to fix tests.

@thomastay sorry for ping, can you do it, because we are planning to do release soon, so you will see this improvement soon :smile:

Hi, I was on vacation the past 2 weeks, will look into this this week

@thomastay Sorry for pinging you, looks like we have an old jest bug with newlines and spaces (yeah, we are planning to update jest in near future), can you fix it

README.md

README.md


Do not merge: Python release validation PR

This PR is being used to trigger validation tests.

Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

It will help us expedite review of your Pull Request if you tag someone (e.g. @username) to look at it.


Hardcap on group creation. #158

Created group limit configurable through config.yml
Yellow text shows when a player creates their last group.
Red text shows when a player tries to create more than the group limit.

Can one of the admins verify this patch?  Type 'ok to test' to test.

Can you remove all your .class files and dependency reduced pom


Stop text from moving on hover

This is feature requested by issue  #6, will be implemented soon and status will be tracked here.

2c6367a6aff6320f9437cbe2646fb98b89106578 implemented this feature


Expand native tests to include VHD/VMDK

Add VHD/VMDK support to the QEMU native compose/boot test.
Signed-off-by: Major Hayden<EMAIL_ADDRESS>

This one also adds compose log gathering to the jobs.


Add support for termsrv.dll version 10.0.15014.1000

Thanks.

termsrv.zip

x64 offsets not changed.

15014 not working for me. Windows 10 Pro Insider. What can i do? tried to uninstall and reinstall back a few times


Penny clone (Arduino-ESP32 based)

Finally got my hands on "Penny" last weekend, here is a result: https://www.youtube.com/watch?v=iT2JZWRhM9s
ESP32 dev board a lil-bit wider for original design but it's OK. Will fork project and publish my changes soon, after "polishing" code (I hope so).
P.S. By the way, we've already met on habr. I already received PCBs but not CPUs (from ali, for original design). But I'm thinking about adopt RPi Zero W (got a couple for the sale price, $5 each).

Nice job! Personally I'd like to work on the quality of the movements; right now my code produces a rough jerky pace. Ultrasonic sensors can fail to detect foam blocks, as it absorbs sound. I'd suggest to try with regular card boxes. Keep me updated please!

Ultrasonic sensors can fail to detect foam blocks
Thanks, I didn't know that (just picked some of foam specimens I brought from work, for my children), will try today different kind of blocks (children's plastic cubes).

Dmitry (btw, I'm Sergey), could you redesign frame for a little? Make a middle gap wider, legs longer and motor fixtures higher (to provide more space to fit RPi Zero and probably use 4 AA battery holder or RC battery)? Also, have you resolved issue with walking on the hardwood floor (or any other smooth surface)? My "Penny" walks nice on a carpet but fails on hardwood floor. Might be, rubber "shoes" will solve the problem but I need an idea where to get 'em.

Different sensors have their flaws, for example, infrared-based:

cannot work outdoors (blinded by the sun)
fail to see mirror / glass / black objects
whereas ultrasonic-based:
work outdoors to some extent, handle mirrors, but fail to see cloth
must face the walls more or less orthogonally. If the angle is small enough (almost parallel to a wall), the sound bounces off the wall without returning to the receiver.

Note that I have mounted two sensors in order to detect whether the bot has to turn right or left to avoid the obstacle. The repository contains source google sketchup files, those are really easy to adjust to suit your needs.
As for the socks, for the moment I did nothing, but I am all about low budget. The possibilites are:

bits of rubber hose (check this photo of my quadruped)
dip it into liquid rubber / silicone rubber

I have mounted two sensors in order to detect whether the bot has to turn right or left to avoid the obstacle.

Yeah, that smart. I ordered a few IR-sensors on ali, as you recommended (that was my mistake but I tried to fit in $10 budget - eBay prices from US sellers are higher 3-4 times) but they haven't arrived yet.

The repository contains source google sketchup files, those are really easy to adjust to suit your needs.

I do have 0 experience working with google sketchup, but the main problem - I don't have 3D printer (probably, need to purchase good one, as an "entertainment" device). From my understanding, any frame changes (even a simple scaling) will require a test printing, to be sure what everything is OK. Guy from my work, Nelson, printed (for $8) my current Penny parts for me but I can't ask him (especially now, we're mostly working from home) to make a test prints.


FI-865: Configure ESLint and Prettier, and enable TypeScript strict mode

FI-865: This PR configures ESLint and Prettier and enables TypeScript strict mode to catch more potential bugs and to improve code quality.

Does the linter run on travis as well?  It would be good if it did.  We could set it up as a parallel job similar to how it is done for the reference-server (see here for an example in the reference-server)

Does the linter run on travis as well? It would be good if it did. We could set it up as a parallel job similar to how it is done for the reference-server (see here for an example in the reference-server)

I just noticed the part about about setting it up as a parallel job, so right now the tests are running after the linting, but I think the linting is fast enough that it shouldn't make a huge difference

Does the linter run on travis as well? It would be good if it did. We could set it up as a parallel job similar to how it is done for the reference-server (see here for an example in the reference-server)

I just noticed the part about about setting it up as a parallel job, so right now the tests are running after the linting, but I think the linting is fast enough that it shouldn't make a huge difference

I didn't notice npm run lint in the job log before, but now I see it.  Mostly just wanted to make sure it was running and it looks like it is!

Just kidding.  Figured out the error and I think we should update the README now.
Right now the README says:
Run the validator wrapper: docker run -p 8080:80 infernocommunity/fhir-validator-wrapper:latest
This is mapping the wrong port though and it should be 8080:4567.  We also should be using fhir-validator-service to get the recent features needed.
@jason-crowley lets change the README to say:
Run the validator wrapper: docker run -p 8080:4567 infernocommunity/fhir-validator-service:latest


Remove test step from precommit

will do next week. got sucked into a local installation rabbit hole today :)


Fix the issue of automatic shutdown of Obsidian Vault

I found that the automatic shutdown of vault was caused by file deletion and overwrite issues. I have tried to fix this problem, but I am not sure if these changes will cause other errors. Currently, I have not found any other issues that may be caused.
The explanation of the problem is here #1306

this is an unsafe change, we need to remove and re-add to resolve the symlink to a real file for git


[Feature Request] remove_dir_all update for vuln

Is your feature request related to a problem? Please describe.
Vuln reported at https://github.com/temporalio/sdk-python/issues/54. Ref https://github.com/advisories/GHSA-mc8h-8q98-g5hr.
Dependency Hierarchy:

temporal-sdk-core-api-0.1.0 (Root Library)

temporal-client-0.1.0

temporal-sdk-core-protos-0.1.0

tonic-build-0.8.2.crate

prost-build-0.11.1.crate

tempfile-3.3.0.crate

:x: remove_dir_all-0.5.3.crate (Vulnerable Library)

(may have already been fixed since last Python release, sorry if so, I did not check)

Fixed in https://github.com/temporalio/sdk-python/pull/307


FormSelect - Design System

Prerequisites

FormSelect element will have the .dcx-formselect class name
FormSelect element will have .dcx-formselect--[variant] class name for all possible variants

Overview
Possible states:

Default
Disabled
Filled
Focus

Variants:

Default
Floating - floating label, similar to material

We need to define tokens for all the combinations between states and variants:

default
disabled
filled
focus
default-floating
disabled-floating
filled-floating
focus-floating

Keeping in mind we have the elements:

Label -> formcontrol_label
Select -> formcontrol
Hint -> formcontrol_hint
Error Message -> formcontrol_error

Storybook
Create the pages for:

Playground
Default
Floating
AccessibleTheme
DarkTheme
MaterialTheme

On each MDX page make examples for:

Default
With hint
With error
With hint and error
With value

Token definition
Considerations:

Create src/design-system/tokens.json file to store all Design Tokens in JSON format
Define all styles in src/design-system/formselect.css
Create new CSS file in src/design-system/index.css that bundles all components CSS for Design System to work

Possible tokens:

color-outline-formcontrol
color-outline-formcontrol-floating
color-text-formcontrol_label
color-text-formcontrol_label-floating
color-text-formcontrol_label-floating-filled
etc.

Follow the naming pattern:
[token_category]-[element]-[variant]-[state]

F.e. for color-text-formcontrol_label-floating-filled we have:

catgory: color-text
element: formcontrol_label
variant: floating
state: filled

Please follow these steps to create your branch:
git checkout release/0.8
git pull
git checkout -b 'feature/ds'

closed by https://github.com/Capgemini/dcx-react-library/pull/421


Try to fix links and author

Let's see if this actually works...

Self-merging now since it fixes broken links (and updates the author).


Drop postgresql < 9.5 references

only 9.5 is supported now, no point in keeping references and workarounds for older versions :).

for completeness, also related: ManageIQ/manageiq-graphql#61 ManageIQ/manageiq-consumption#143 ManageIQ/manageiq-schema#292


zip: fix build with GCC 14

The default -O3 lead to a miscompilation.
Note: I will add more GCC 14 fixes to this PR as I find them.
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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/)
25.05 Release Notes (or backporting 24.11 and 25.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

[x] Fits CONTRIBUTING.md.

I’d actually like to merge this pretty promptly as I’ve had a few things blocked on OpenJDK builds. But it’s kind of awful that we’re just downgrading the compilation to sweep some UB further under the rug – can you add a comment that -O3 exposes undefined behaviour with GCC 14, that it manifested in a broken openjdk8 build, and a TODO to at least pretend that someone will investigate this properly one day? Because it’s always possible that GCC 15 starts exposing it at -O2…

So... I was apparently foolish enough to assume that "no more of the new warnings" = "fixed zip package".
This fix is still not enough. I will investigate further.
There is no maintained fork of zip, right?

There is no maintained fork of zip, right?

Afaik, no. Same goes for unzip.

Gentoo has More Patches that might be worth trying: https://gitweb.gentoo.org/repo/gentoo.git/tree/app-arch/zip/files

The same error occurs at -O0, and the Gentoo patches do not help.

Wouldn't just dropping the optimization flag work?

Wouldn't just dropping the optimization flag work?

That would be equivalent to -O0, right? Though it looks a bit cleaner.

I've pushed an alternative approach where we use GCC 13 instead. Not very nice but it works

Not sure I feel good about this – if it’s GCC 14 miscompiling the code then we’re in trouble and can expect other issues throughout the tree. OTOH if it’s UB in zip then pinning an old compiler doesn’t seem very sustainable. But maybe it’s the best solution for now…

I just found https://bugzilla.redhat.com/show_bug.cgi?id=2165653 and will try their patch later. But it doesn't really match our problem.

Nevermind, we already include that patch.

So I just found another patch: https://sources.debian.org/data/main/z/zip/3.0-14/debian/patches/12-fix-build-with-gcc-14.patch
(please advise where I can get that reproducibly, I can't seem to find it in the Debian Salsa)
Which I want to try out. I was comparing the build logs, and this patch removes some differences.


intellisense doesn't include the completion I want

Steps to Reproduce:

type git checkout -- . and press enter
:bug: intellisense completion was added for the argument instead of running the command

I have a pretty strong muscle memory to run that command, so now I need to remember to press escape before pressing enter

this is bad enough that I've turned the feature off, I can't even use git status

one change that would make this much less painful: ctrl+z should undo the auto-complete change as a single action (as is the case with the text editor).
I press enter really quickly, after typing what I want, and if auto-complete provides something I didn't want, ctrl+z will undo one character at a time.

Well powershell does support ctrl+z itself. We may be able to undo everything, or nearly everything by using bracketed paste mode, since you can paste something and undo it fine.

Just tried with Posh-Git and while the commands (checkout) and aliases (co in mine) work, it still doesn't suggest . after checkout:

(TabExpansion2 -inputScript "git co " -cursorColumn 7).CompletionMatches doesn't show files/folders so we couldn't use that. Maybe using the current completion call, but also providing ., .., etc. when there are only ProviderContainer and ProviderItem entries?
~/dev/Tyriar/xterm.js [tyriar/vscode_213174 ≡]> (TabExpansion2 -inputScript "git co ." -cursorColumn 8).CompletionMatches

CompletionText           ListItemText                  ResultType ToolTip
--------------           ------------                  ---------- -------
./.devcontainer          .devcontainer          ProviderContainer /Users/tyriar/dev/Tyriar/xterm.js/.devcontainer
./.editorconfig          .editorconfig               ProviderItem /Users/tyriar/dev/Tyriar/xterm.js/.editorconfig
./.eslintrc.json         .eslintrc.json              ProviderItem /Users/tyriar/dev/Tyriar/xterm.js/.eslintrc.json
./.eslintrc.json.typings .eslintrc.json.typings      ProviderItem /Users/tyriar/dev/Tyriar/xterm.js/.eslintrc.json.typings
./.git                   .git                   ProviderContainer /Users/tyriar/dev/Tyriar/xterm.js/.git
./.gitattributes         .gitattributes              ProviderItem /Users/tyriar/dev/Tyriar/xterm.js/.gitattributes
./.github                .github                ProviderContainer /Users/tyriar/dev/Tyriar/xterm.js/.github
./.gitignore             .gitignore                  ProviderItem /Users/tyriar/dev/Tyriar/xterm.js/.gitignore
./.gitmodules            .gitmodules                 ProviderItem /Users/tyriar/dev/Tyriar/xterm.js/.gitmodules
./.mailmap               .mailmap                    ProviderItem /Users/tyriar/dev/Tyriar/xterm.js/.mailmap
./.mocha.env             .mocha.env                  ProviderItem /Users/tyriar/dev/Tyriar/xterm.js/.mocha.env
./.mocharc.yml           .mocharc.yml                ProviderItem /Users/tyriar/dev/Tyriar/xterm.js/.mocharc.yml
./.npmignore             .npmignore                  ProviderItem /Users/tyriar/dev/Tyriar/xterm.js/.npmignore
./.npmrc                 .npmrc                      ProviderItem /Users/tyriar/dev/Tyriar/xterm.js/.npmrc
./.nvmrc                 .nvmrc                      ProviderItem /Users/tyriar/dev/Tyriar/xterm.js/.nvmrc
./.vscode                .vscode                ProviderContainer /Users/tyriar/dev/Tyriar/xterm.js/.vscode

Looks promising 👀


Update openapi.yaml

What/Why/How?
Reference
Testing
Screenshots (optional)
Check yourself

[ ] Code is linted
[ ] Tested
[ ] All new/updated code is covered with tests

Security

[ ] Security impact of change has been considered
[ ] Code follows company security practices and guidelines

add modifed file


CDSR-817 Customising  Enter MRN/Dupilcate MRN pages to have better user interaction

Introduces 2 new forms with different content

LGTM


feat: multi-stage output

What does this PR do?
Use new @oclif/multi-stage-output for

project delete source
project deploy start
project deploy resume
project deploy validate
project deploy report
project retrieve start

What issues does this PR fix or reference?
[skip-validate-pr]

QA Notes

✅ : quickly played with various options, prior testing already done by Vivek & co

@WillieRuemmele
Is there any way to suppress such very verbose output stats, maybe by providing some option?
Because when we are running metadata validation or deploy in our CI/CD system, it creates tremendously long log of job execution with ~200,000 stats records in it.
And it is really hard to open it in a browser - takes a lot of time to load, then scroll through zillions of stats records to inspect results.
Am I just missing the point of this feature? I just want my concise logs back.

@avesolovksyy - please post your findings and opinions here


Enter Totals (instead of tapping) (Enhancement Request)

Hello,
The library consortium I work for has several institutions testing out Suma, and our testers are finding that having to tap for each count is very time consuming.  We'd like to request an enhancement that would enable a user in the client to either:
a) Select a number (e.g., 5, 10, 15) in addition to single taps OR
b) Type in a number (e.g., 23) in addition to single taps
This would save a huge amount of time when gathering data.
Thanks so much for developing Suma!  It is totally awesome.  If this enhancement isn't possible in the near future, I may have some time over the summer to work on this and will submit a pull request.  Thanks for considering this request!
Lauren

Hi Lauren!
Thanks for reaching out about Suma. This is a good idea and something we are hoping to address in an upcoming new version of the Suma data collection client. In the meantime, you can add the query string ?multiCount=true to the URL of your current Suma data collection client to expose a "hidden" input field for capturing multiple counts at once. This was implement a few months ago and might require an update to the Suma client if it hasn't been updated in a while.
Hope this helps!
Thanks,
Bret

Thanks @bretdavidson! Just a quick heads up to anyone else looking to implement this hidden feature to  ensure that you're running at least v2.13.1.


Bug: LiveObjectService#persist returns empty object

I'm using the Redisson Live Objects 3.13.2 and I have the following object:
@Getter
@ToString
@Builder
@AllArgsConstructor
@NoArgsConstructor
@REntity
public class ReporterObject {
    @RId
    private long id;
    private long rId;
    @RIndex
    @Setter
    private long sId;
    @Setter
    private boolean ac;
    @RIndex
    @Setter
    private Long parId;
    private int type;
    private Long pId;
    @Setter
    private ReporterObject parent; // can be null
    @Setter
    private int n_a = 0;
}

Expected behavior
LiveObjectService#delete removes the object immediately and LiveObjectService#persist returns a full object.
Actual behavior
So I have two problems:

When I do this operation(to override the current object):

liveObjectService.delete(ReporterObject.class, reporterObject.getRId());
return liveObjectService.persist(reporterObject);

I sometimes get java.lang.IllegalArgumentException: This REntity already exists. although I'm performing a deletion beforehand. I can get it even if the cache is totally empty before then.

Sometimes after the persist operation supposedly succeed, what I receive is an empty object so when I try to get any field(for example call ReporterObject#getParent a NullPointerException is  being thrown, and when I debug it I see an empty object or not "fully full" object:

. In this example I only have sId and type but no id , no rId, no ac etc. As I stated, If I try to getAc() a NullPointerException is thrown. Of course it's not limited to this fields only. Sometimes it's other fields that are missing. Sometimes I get a fully empty object like this one:

Steps to reproduce or test case
I guess use the same object as me.
It might be important to know that I'm inserting those object concurrently(different objects though - no two objects with the same id at the same time).
Redis version
6.0.5
Redisson version
3.13.2
Redisson configuration
Used this code to config it:
Config config = new Config();
        config.useSingleServer()
                .setAddress("redis://server:6379")
                .setClientName("client")
                .setPassword("password")
                    .setConnectionMinimumIdleSize(400)
                .setConnectionPoolSize(10_000)
                .setRetryAttempts(500)
                .setRetryInterval(100);
        return Redisson.create(config);

Hope you can help! Thanks

Fixed! Thanks for report


Three undefined names

flake8 testing of https://github.com/msracver/Flow-Guided-Feature-Aggregation on Python 2.7.13
$ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
./lib/bbox/setup_linux.py:46:48: F821 undefined name 'CUDA'
            self.set_executable('compiler_so', CUDA['nvcc'])
                                               ^

./lib/nms/seq_nms.py:50:26: F821 undefined name 'areas2'
                areas1 = areas2
                         ^

./lib/rpn/rpn.py:72:39: F821 undefined name 'get_pair_image'
    imgs, ref_imgs, eq_flags, roidb = get_pair_image(roidb, cfg)
                                      ^

Thanks for this! And these undefined names will not affect results.

F821 undefined name 'CUDA':  because 'bbox' does not have 'cu' files, this line does not work
F821 undefined name 'areas2':  working as designed
F821 undefined name 'get_pair_image': just fixed and this function will not be used by FGFA, but still thx!


API to Connect to Certain Reader

The only issue left with our SumUp integration is that the tablet loses the Bluetooth connection to the reader sporadically. To quickly re-connect in such cases it would be very helpful to have an API that allows to connect to a certain reader identified by its serial number.
Can this be made available, please?
Thanks for considering!
Ole

Hi Legolas108,
Thank you for your message. Did you implement the prepareForCheckout option https://github.com/sumup/sumup-android-sdk#3-prepare-the-sumup-card-terminal-in-advance
This feature can help you to reconnect before the normal step during the checkout process.
Many thanks,

Hi All
We find the prepare for checkout really helps - but there are times where the card reader (following a successful transaction) gets a bluetooth connection stuck (the bluetooth Icon remains on the card reader screen) - when that happens the prepare for checkout doesn't help as the reader is still pre-occupied with the previous transaction.
Did anyone find a workaround to this issue?

@JullianSU Thanks much for your good advice. Yes, we have implemented the prepareForCheckout call, but it doesn't allow to connect to a specific reader. All you can do is ask for resetting the Bluetooth configuration by calling clearCardTerminalSettings(), but afaik you cannot even trigger the Bluetooth reader scanning process from the API except by initiating a new transaction.
For a complete, automatic reset of a connection to a certain reader it would be very helpful to have a call available that allows to connect to a specific reader identified by its serial number. It saves the checkout staff from spending time and hassle going through the scanning and re-connecting process because it's not always connecting smoothly.
Thanks for considering!
@rasson We haven't had your problem (yet). Sometimes the only thing that gets things working again (especially with Bluetooth issues) is a complete reboot of POS computer and tablet. Fortunately that takes only a minute.

Having the possibility to connect to certain reader is very vital. Hope this will be added soon.

Apparently there's a new release due in 2 weeks, hopefully that will clear up the last of the bluetooth connection issues

Any updates on this?
As @PiotrWicher said it's a critical feature that we need :(

Digging a bit on the aar file... there is a class file that caught my attention "AirUsbDiscoveryController.class" maybe you guys can dig a bit more since I'm kinda new on Android development.

Any news on this?

:?

any update about this issue?

any update, and can I help?


--splinter-make-screenshot-on-failure=false has no effect

Running py.test with "--splinter-make-screenshot-on-failure=false" will also make screenshots. It seems that this command line option has no effect.
Python: 3.4.4
pytest-splinter: 1.4.6

thanks, try the latest version


Add QQ music support for lyric retrieval

foo_qqmusiclyricssource.zip
I've decompiled the dlls of the QQ lyric finder for LyricShowPanel3 if it helps provide the necessary information needed for lyric retrieval. I was going to to merge it myself, but it's structured too differently  for me to convert it 1:1 for openlyrics. With QQ support I can finally remove LyricShow3 altogether.

hi, @snowbie what tool you used to "decompile" my dlls? i think this decompilation contains no human readable code.
for qq lyrics implementation just look here qqmusic_plus.js

hi, @snowbie what tool you used to "decompile" my dlls? i think this decompilation contains no human readable code.
for qq lyrics implementation just look here qqmusic_plus.js

ah, those were by you? Apologies. I had difficulty finding the source because I had originally grabbed the foobar component off of a forum, and googling never led me to the github page.
The software is strictly for decompiling dlls to c, so evidently that's where the problem lies as your plugin was written in js.
While I never thought the code itself would be usable, I assumed whatever pieces of code that called certain hex values could've viable.

Indeed that decompilation is not helpful. Points for effort though :)
Support for QQMusic has been on my TODO list for ages, it's just a matter of having the time and motivation to put in the work.
Having a reference is super helpful though, thanks @veksha! I had previously resorted to checking wireshark traces in an effort to reverse-engineer existing plugins >_<


[VideoConferenceMute] VCM do not respect Windows DPI scaling

Microsoft PowerToys version
0.49.0
Running as admin

[X] Yes

Area(s) with issue?
Video Conference Mute
Steps to reproduce
As @void-mian, @gleib says in https://github.com/microsoft/PowerToys/issues/13221#issuecomment-954691365, VCM does not respect Windows DPI scale.
✔ Expected Behavior
VCM respects the DPI scale.
❌ Actual Behavior
VCM does not respect the DPI scale. Become too small in high-resolution monitors.
Other Software
No response

Can confirm - the VCM control is very tiny in comparison:

Seems like what's happening in #13221.
Should implement this as a #hotfix if there is a v0.49.2.

cc: @jaimecbernardo

This is raw win32.
It's not an easy fix, unless we disable dpi awareness for it and accept the blurriness from the OS auto-scaling.
Ideally, this would be ported to WinUI3 when it's out for win32 apps.

@yuyoyuppe , That's accurate, right?

Perhaps the blurriness would be better if it's this small.

I would say that blurriness will be ok for VCM's toolbar for me.

@jaimecbernardo that's sounds accurate!

It might be simple to move it to a separate thread from the runner (which is dpi aware) and disable dpi awareness for that thread and run a message loop from there.

In the long run, we'll port VCM UI to .svg/winui 3.

also see https://github.com/microsoft/PowerToys/issues/6246#issuecomment-956172259

I was really worried about that small window popping up on my screen without me knowing what it actually was :'D

I see this issue is still open.... 😊 (VCM nog respecting high DPI scaling)

Same issue here - some sort of way to adjust scaling would be a godsend.

It has been 9 months since it was first reported and most of the components have transferred to WinUI3. Any update on this issue?

so....? When will this problem be solved?

Confirm this is still an issue:
On Windows monitor resolution 3840x2400 at Scale 225%:

The toolbar is too small almost not readable:

while on resolution 1920x1080 at Scale 100% it is ok to read:

Thanks for the feedback but VCM is moving to maintenance only in the 0.67 timeframe. Our team will only directly address critical bugs, security and accessibility issues.
We'll accept community PRs for enhancements.

This is an accessibility issue...

@crutkas what's the right way to get this properly classified as the accessibility issue that it is?

Reopening and handling this.

Reopening and handling this.

Sorry for borrowing the thread but could this be the cause of issue that makes the VCM overlay not staying in the selected position when changing monitors/dpi scaling?

Confirming this is fixed for me. Thx much!

Fixed in 0.69 which was released in the start of April 2023.


AttributeError: module 'torchaudio._internal.module_utils' has no attribute 'requires_sox'

🐛 Describe the bug
I am trying to import torchaudio.
The bug "AttributeError: module 'torchaudio._internal.module_utils' has no attribute 'requires_sox'" occurs
My code
import torch
import torchaudio

matplotlib.rcParams["figure.figsize"] = [16.0, 4.8]

torch.random.manual_seed(0)
device = "cuda" if torch.cuda.is_available() else "cpu"

print(torch.__version__)
print(torchaudio.__version__)
print(device)

Traceback
AttributeError                            Traceback (most recent call last)
/tmp/ipykernel_129825/1558347532.py in <module>
      1 import torch
----> 2 import torchaudio
      3
      4 matplotlib.rcParams["figure.figsize"] = [16.0, 4.8]
      5

~/anaconda3/envs/comp3340/lib/python3.7/site-packages/torchaudio/__init__.py in <module>
      1 from . import extension
      2 from torchaudio._internal import module_utils as _mod_utils
----> 3 from torchaudio import (
      4     compliance,
      5     datasets,

~/anaconda3/envs/comp3340/lib/python3.7/site-packages/torchaudio/transforms/__init__.py in <module>
----> 1 from ._multi_channel import MVDR, PSD, RTFMVDR, SoudenMVDR
      2 from ._transforms import (
      3     AmplitudeToDB,
      4     ComputeDeltas,
      5     Fade,

~/anaconda3/envs/comp3340/lib/python3.7/site-packages/torchaudio/transforms/_multi_channel.py in <module>
      6 import torch
      7 from torch import Tensor
----> 8 from torchaudio import functional as F
      9
     10

~/anaconda3/envs/comp3340/lib/python3.7/site-packages/torchaudio/functional/__init__.py in <module>
     23     vad,
     24 )
---> 25 from .functional import (
     26     amplitude_to_DB,
     27     apply_beamforming,

~/anaconda3/envs/comp3340/lib/python3.7/site-packages/torchaudio/functional/functional.py in <module>
   1266
   1267
-> 1268 @_mod_utils.requires_sox()
   1269 def apply_codec(
   1270     waveform: Tensor,

I have use it in my another code, but same result
The method I have tried:
1.Reinstall pytorch
2. Update torchaudio
But it doesn't work
Versions
Collecting environment information...
PyTorch version: 1.7.1
Is debug build: False
CUDA used to build PyTorch: 10.1
ROCM used to build PyTorch: N/A
OS: Ubuntu 22.04.1 LTS (x86_64)
GCC version: (Ubuntu 11.2.0-19ubuntu1) 11.2.0
Clang version: Could not collect
CMake version: Could not collect
Libc version: glibc-2.10
Python version: 3.7.7 (default, Mar 26 2020, 15:48:22)  [GCC 7.3.0] (64-bit runtime)
Python platform: Linux-5.15.0-50-generic-x86_64-with-debian-bookworm-sid
Is CUDA available: False
CUDA runtime version: No CUDA
CUDA_MODULE_LOADING set to: N/A
GPU models and configuration: No CUDA
Nvidia driver version: No CUDA
cuDNN version: No CUDA
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True
Versions of relevant libraries:
[pip3] numpy==1.19.2
[pip3] pytorch-lightning==1.3.6
[pip3] pytorch-tabnet==3.0.0
[pip3] torch==1.13.0
[pip3] torchaudio==0.13.0
[pip3] torchmetrics==0.5.0
[pip3] torchvision==0.8.2
[pip3] transformer-pytorch==0.0.1
[conda] _pytorch_select           0.1                       cpu_0    anaconda
[conda] blas                      1.0                         mkl
[conda] cudatoolkit               10.1.243             h6bb024c_0    anaconda
[conda] libmklml                  2019.0.5             h06a4308_0    anaconda
[conda] mkl                       2020.2                      256    anaconda
[conda] mkl-service               2.3.0            py37he8ac12f_0
[conda] mkl_fft                   1.0.6            py37h7dd41cf_0    anaconda
[conda] mkl_random                1.1.1            py37h0573a6f_0    anaconda
[conda] numpy                     1.19.2           py37h54aff64_0
[conda] numpy-base                1.19.2           py37hfa32c7d_0
[conda] pytorch                   1.7.1           py3.7_cuda10.1.243_cudnn7.6.3_0    pytorch
[conda] pytorch-lightning         1.3.6                    pypi_0    pypi
[conda] pytorch-tabnet            3.0.0                    pypi_0    pypi
[conda] torch                     1.13.0                   pypi_0    pypi
[conda] torchaudio                0.13.0                   pypi_0    pypi
[conda] torchmetrics              0.5.0                    pypi_0    pypi
[conda] torchvision               0.4.0                    pypi_0    pypi
[conda] transformer-pytorch       0.0.1                    pypi_0    pypi

Hi @Justinfungi, what does print(torch.__version__) print out? Seems the environment has both pytorch 1.7.1 and torch 1.13.0 installed, along with torchaudio 0.13.0.
On my end, I don't seem to be able to reproduce this error. Could you try reinstalling torch and torchaudio on a fresh environment and trying again? Either conda install pytorch torchaudio -c pytorch or pip install torch torchaudio should work.

This happens in notebooks when users update torchaudio and attempt to re-import it without restarting the notebook kernel.
https://github.com/pytorch/audio/issues/1632


checkpoints not found!

Seems like the file is hosted on Amazon but access to it has been disabled. Returning an error if you try to download the checkpoints folder. "All access to this object has been disabled"

There you are
https://myshell-public-repo-host.s3.amazonaws.com/openvoice/checkpoints_v2_0417.zip

And for V1
https://huggingface.co/camenduru/OpenVoice/resolve/main/checkpoints_1226.zip

I am facing the same issue. @erictoman the second link works, but not the first.

Where are the checkpoints supposed to go? I do not see a 'checkpoints' folder like the docs say.


Investigate Lessons Learnt from Lego Train Project

[x] Check for layering ideas
[x] Check for supported devices types
[x] Check for legacy / old device compatibility

Source Code (MIT licensed)

No layering ideas, some more train focused devices and mixed EV3 etc support.
LWP Protocol implementation is very partial.
Source Code is not well organized, making a best practice analysis on layering and device compatibility challenging (do not know what is compatibility or library implementation detail).


Bug: Cannot insert the value NULL into column

Bug Description
I am writing a quick&dirty method to import data from one instance of the database to another (same schema), but an exception is raised by target.BulkMergeAsync.
I am sure that there are no NULL values for Users_ID in the source data (see also the check below), but I am still getting the "Cannot insert the value NULL into column 'Users_ID'" error.
Exception Message:
Microsoft.Data.SqlClient.SqlException: 'Cannot insert the value NULL into column 'Users_ID', table 'dbo.Users'; column does not allow nulls. UPDATE fails. The statement has been terminated.'
This exception was originally thrown at this call stack:
    Microsoft.Data.SqlClient.SqlConnection.OnError(Microsoft.Data.SqlClient.SqlException, bool, System.Action<System.Action>) in SqlConnection.cs
    Microsoft.Data.SqlClient.SqlInternalConnection.OnError(Microsoft.Data.SqlClient.SqlException, bool, System.Action<System.Action>) in SqlInternalConnection.cs
    Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(Microsoft.Data.SqlClient.TdsParserStateObject, bool, bool) in TdsParser.cs
    Microsoft.Data.SqlClient.TdsParser.TryRun(Microsoft.Data.SqlClient.RunBehavior, Microsoft.Data.SqlClient.SqlCommand, Microsoft.Data.SqlClient.SqlDataReader, Microsoft.Data.SqlClient.BulkCopySimpleResultSet, Microsoft.Data.SqlClient.TdsParserStateObject, out bool) in TdsParser.cs
    Microsoft.Data.SqlClient.SqlCommand.InternalEndExecuteNonQuery(System.IAsyncResult, string, bool) in SqlCommand.cs
    Microsoft.Data.SqlClient.SqlCommand.EndExecuteNonQueryInternal(System.IAsyncResult) in SqlCommand.cs
    Microsoft.Data.SqlClient.SqlCommand.EndExecuteNonQueryAsync(System.IAsyncResult) in SqlCommand.cs
    [External Code]

Code:
var count = 0;
            var users = new List<User>();

            if (string.IsNullOrEmpty(sourceconnectionstring) || string.IsNullOrEmpty(targetconnectionstring))
            {
                throw new ArgumentException("sourceconnectionstring and targeconnectionstring must be valid connection strings");
            }

            using (var source = new SqlConnection(sourceconnectionstring))
            {
                users = (await source.QueryAllAsync<User>().ConfigureAwait(false)).ToList();
            }

            if (users.Count > 0 && users.All(i => i.Users_ID != null))
            {
                using (var target = new SqlConnection(targetconnectionstring))
                {
                    count = await target.BulkMergeAsync(users, qualifiers: p => new { p.Users_ID }, hints: SqlServerTableHints.TabLock, bulkCopyTimeout: 0).ConfigureAwait(false);
                }
            }

            return count;

Schema and Model:
Please share to us the schema of the table (not actual) that could help us replicate the issue if necessary.

[Table("[dbo].Users")]
    public class User
    {
        public int Users_ID { get; set; }

        public string Users_USERNAME { get; set; }

        public string Users_PASSWORD { get; set; }

        public string Users_NAME { get; set; }

        public string Users_SURNAME { get; set; }

        public string Users_MAIL { get; set; }

        public string Users_EXTENSION { get; set; }

        public int Users_SITE_ID { get; set; }

        public bool Users_EXTERNAL { get; set; }
    }

Library Version:
RepoDb version="1.12.9"
RepoDb.MySql version="1.1.5"
RepoDb.SqlServer version="1.1.5-beta1"
RepoDb.SqlServer.BulkOperations version="1.1.6-beta1"
targetFramework="net48"

I had a look at the SQL code generated by MergeAllAsync, would it be possible that the qualifier (Users_ID) is not populated correctly?

It might be that the script you showed is for Merge not MergeAll. The MergeAll should accept batch scripts unless you pass single entry on the IEnumerable<T>.
Question: Does the operation MergeAll is failing as well?
The original issue is on the BulkMerge and I think it might be on the post-sql script that we do execute after bulk-inserting into the intermediary table.

That's what the tracer captured for:

So yes, it's failing for both BulkMergeAsync and MergeAllAsync. It's weird, because I am using merge operations from RepoDB in scenarios that are much more complex.
It is failing for the same reason also with:
USE [Test]
GO

/****** Object:  Table [dbo].[RNLookup_User]    Script Date: 23/11/2021 10:04:18 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

CREATE TABLE [dbo].[UserLookup](
	[id] [int] NOT NULL,
	[rn_user_id] [int] NOT NULL,
	[tl_user_id] [int] NOT NULL,
	[status] [bit] NOT NULL,
	[comment] [varchar](max) NULL
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO

 [Table("[dbo].UserLookup")]
    public class UserLookup
    {
        [Map("id")]
        public int Id { get; set; }

        [Map("rn_user_id")]
        public int InternalUserID{ get; set; }

        [Map("tl_user_id")]
        public int ExternalUserID{ get; set; }

        [Map("status")]
        public bool Status { get; set; }
    }

The BulkMerge will create such script of the data of the users argument is only 1. The one you showed is correct then.
In relation to the issue, this is very a unique one which we never experience yet. Can we ask you to remove the qualifiers and test if it is still failing? (See below)
count = await connection.MergeAllAsync(users, hints: <YourHints>, trace: <YourTracer>, transaction: <YourTransaction>, cancellationToken: <YourCancellationToken>);

By default, the library knows that the Users_Id column is the one to be used for qualifier as it is defined as the PRIMARY KEY CLUSTERED.
I am trying to eliminate different scenarios, and thanks for reporting this issue.

I removed the qualifier:

This is the SQL code generated by MergeAllAsync:

And this is the error message:

The only reference to Users_ID in both  the WHEN NOT MATCHED THEN and WHEN MATCHED branches is:
OUTPUT INSERTED.[Users_ID] AS [Id],
@__RepoDb_OrderColumn_0 AS [OrderColumn];
So is it possible that no value is actually passed for Users_ID (hence it's seen as "NULL")?

I think, the cause of the problem here was because of the column projection problem (elimination). The column Users_ID is not an identity but that has been eliminated by RepoDB on the insertion. That is completely a bug on this regards.
I could not see why the library removed the Users_ID on the insertable fields (see here) since it is not an identity one. The code says, it is not removing it, but we need to investigate it.

Thank you for your support, as always!
Take your time, because actually it looks like a bug, Users_ID should be among the fields inserted/updated by the merge methods. You might want to try to reproduce the issue on your side.
I also tried by replacing the logic based on merge with a direct updates+inserts, despite the fact that Users_ID is available:

I am still getting an error on INSERT:

Microsoft.Data.SqlClient.SqlException: 'Cannot insert the value NULL into column 'Users_ID', table 'dbo.Users'; column does not allow nulls. INSERT fails. The statement has been terminated.'
So I enabled tracing via  await target.InsertAsync(u, trace: LogFactory.CreateTracer()); and this is what I can see:
"INSERT INTO [dbo].[Users] ( [Users_USERNAME], [Users_PASSWORD], [Users_NAME], [Users_SURNAME], [Users_MAIL], [Users_EXTENSION], [Users_SITE_ID], [Users_EXTERNAL]) VALUES ( @Users_USERNAME, @Users_PASSWORD, @Users_NAME, @Users_SURNAME, @Users_MAIL, @Users_EXTENSION, @Users_SITE_ID, @Users_EXTERNAL ) ; SELECT CONVERT(INT, SCOPE_IDENTITY()) AS [Result] ;"

It's not clear why the parameters are null, while it's trying to insert a valid record (with Users_ID = 1089, as shown above).
NOTE: I commented out await target.UpdateAsync(u); because it works (check the screenshot above).

Thank you for your support, as always!
Take your time, because actually it looks like a bug, Users_ID should be among the fields inserted/updated by the merge methods. You might want to try to reproduce the issue on your side.
I also tried by replacing the logic based on merge with a direct updates+inserts, despite the fact that Users_ID is available:

I am still getting an error on INSERT:

Microsoft.Data.SqlClient.SqlException: 'Cannot insert the value NULL into column 'Users_ID', table 'dbo.Users'; column does not allow nulls. INSERT fails. The statement has been terminated.'
So I enabled tracing via  await target.InsertAsync(u, trace: LogFactory.CreateTracer()); and this is what I can see:
"INSERT INTO [dbo].[Users] ( [Users_USERNAME], [Users_PASSWORD], [Users_NAME], [Users_SURNAME], [Users_MAIL], [Users_EXTENSION], [Users_SITE_ID], [Users_EXTERNAL]) VALUES ( @Users_USERNAME, @Users_PASSWORD, @Users_NAME, @Users_SURNAME, @Users_MAIL, @Users_EXTENSION, @Users_SITE_ID, @Users_EXTERNAL ) ; SELECT CONVERT(INT, SCOPE_IDENTITY()) AS [Result] ;"

It's not clear why the parameters are null, while it's trying to insert a valid record (with Users_ID = 1089, as shown above).
NOTE: I commented out await target.UpdateAsync(u); because it works (check the screenshot above).
I also tried with    await target.InsertAsync(entity: u, trace: LogFactory.CreateTracer());, same outcome.

Exactly, that's what I am trying to say earlier. When I tried to skim the code earlier (via GH), it is not eliminating the PK (only the Identity column). I do not why in your case the Users_ID is being eliminated from the insertable fields even though it is not tagged as an identity column. This needs an investigation on our side.
In relation to the log.Parameter, it is not always a collection. It can be any of the following (ParameterValue, TEntity, Dictionary<string, object>, ExpandoObject, dynamic and/or the equivalent IEnumerables) depends on the passed parameter. The reason why it is null in your case is because you type cast it to ICollection where the parameter is not a collection, but instead, a single instance of an object (.NET CLR Type).

Thank you Mike,
I was confirming that USERS_ID is actually missing from the INSERT statement (and also from MergeAllAsync/BulkMergeAsync), exactly as you were suggesting earlier. On the other hand "await target.UpdateAsync(u);" is working as expected.
Let me know if you should need any details from my side during your investigation!
I will change the tracer class to support more types for log.Parameter.

The information is enough for us to proceed with the fix. We will provide an update to you soon.

@nandaccio Could you create a small test project based on your example that reproduces the error?

@nandaccio yes, of course

Thanks Sergei,
I just sent an e-mail to Michael because I can't find your e-mail address.

Thank you,
I don't know if might be useful to know, but I tested it on Windows 10 20H2 (build 19042.1348) and SQL Server v11.0.7507.2.
The project targets .NET Framework 4.7.2 (after being "downgraded" from .NET Framework 4.8).
Can you reproduce this issue on your end after re-creating the DB tables using the attached script (RepoDBTest\Tables.sql)?

This is the SQL statement generated by  await target.InsertAsync(entity: u, trace: SimpleLogFactory.CreateTracer()) :
RepoDB statement: INSERT INTO [dbo].[Users] ( [Users_USERNAME], [Users_PASSWORD], [Users_NAME], [Users_SURNAME], [Users_MAIL], [Users_EXTENSION], [Users_SITE_ID], [Users_EXTERNAL], [Users_USERTYPE_ID], [Users_WEEKLY_GROSS_HOURS], [Users_Status], [Users_Reg_Date], [Users_Notes], [Users_PRIMARY_DEPARTMENT_ID], [Users_FirstWeekDay], [Users_GCSDebug], [Users_LastLogon], [Users_GEMS], [Users_Localcode], [Users_LastLogon_app], [Users_GROSS_IsCalculated], [Users_LastPswMod] ) VALUES ( @Users_USERNAME, @Users_PASSWORD, @Users_NAME, @Users_SURNAME, @Users_MAIL, @Users_EXTENSION, @Users_SITE_ID, @Users_EXTERNAL, @Users_USERTYPE_ID, @Users_WEEKLY_GROSS_HOURS, @Users_Status, @Users_Reg_Date, @Users_Notes, @Users_PRIMARY_DEPARTMENT_ID, @Users_FirstWeekDay, @Users_GCSDebug, @Users_LastLogon, @Users_GEMS, @Users_Localcode, @Users_LastLogon_app, @Users_GROSS_IsCalculated, @Users_LastPswMod ) ; SELECT CONVERT(INT, SCOPE_IDENTITY()) AS [Result] ;

@SergerGood - are you currently working on this? Otherwise, I am now open to start working on this.

@mikependon I tried looking at the attached example. But I can't reproduce even on the specified SQL server version.
I noticed that in the attached example the field Users_ID is nullable. Maybe it has something to do with this
public int? Users_ID { get; set; }

Thanks @SergerGood. Interesting! I also tried to explore the code (here) and it is really not eliminating the PK (Users_Id). The code is only eliminating the identity. But no worries, I will look into this by deep code debugging.

Maybe it has something to do with this public int? Users_ID { get; set; }

That should not the cause of the issue, it was declared as int and I changed it to int? only because (during the initial troubleshooting phase) I added the "  if (users.Count > 0 && users.All(i => i.Users_ID != null))" check. This check is completely redundant, because Users_ID is never null and reverting to public int Users_ID { get; set; } does not help anyway.

The code is only eliminating the identity. But no worries, I will look into this by deep code debugging.

I re-compiled the RepoDB libraries from source by embedding the debug symbols and during the week-end I found out how RepoDB sees those fields:
https://github.com/mikependon/RepoDB/issues/987#issuecomment-982428131
select * FROM INFORMATION_SCHEMA.COLUMNS where TABLE_SCHEMA = 'dbo' and TABLE_NAME = 'Users';
FROM INFORMATION_SCHEMA.COLUMNS.xlsx
SELECT *
	                FROM INFORMATION_SCHEMA.KEY_COLUMN_USAGE KCU,
					INFORMATION_SCHEMA.COLUMNS C
	                LEFT JOIN INFORMATION_SCHEMA.TABLE_CONSTRAINTS TC
		                ON TC.TABLE_SCHEMA = C.TABLE_SCHEMA
		                AND TC.TABLE_NAME = C.TABLE_NAME
		                AND TC.CONSTRAINT_NAME = CONSTRAINT_NAME
	                WHERE KCU.TABLE_SCHEMA = C.TABLE_SCHEMA
		                AND KCU.TABLE_NAME = C.TABLE_NAME
		                AND KCU.COLUMN_NAME = C.COLUMN_NAME
		                AND TC.CONSTRAINT_TYPE = 'PRIMARY KEY'
						AND C.TABLE_SCHEMA = 'dbo' and C.TABLE_NAME = 'Users';

PK.xlsx
This is what happens in GetAsyncInternal:

but "soon after" the Users_ID field is gone:

@nandaccio - interesting why the Users_ID is an identity field. We need to investigate this. We are happy if you could contribute a PR to this.

I found the root cause of this issue: DB schemas were supposed to be fully aligned, but it seems that there are slight differences.
I ran the "SELECT C.COLUMN_NAME AS ColumnName , CONVERT(BIT, COALESCE(TC.is_primary, 0)) AS IsPrimary , CONVERT(BIT, COALESCE(TMP.is_identity, 1)) AS IsIdentity <...omittted...>" query on both environments and I discovered that:
Environment 1:

Environment 2:

It looks like GetAsyncInternal was invoked only once, so I added:
           // IdentityCache.Flush();
            DbFieldCache.Flush();
            PropertyCache.Flush();

Between reading and writing, that solved the issue!
Note: IdentityCache.Flush(); would not change the faulty behaviour, both flushing both DbFieldCache and PropertyCache worked. Not sure if having both calls is redundant.

We are now simulating this, but we are that you have found the root cause of the problem from your side. It sounds to us that this is not an issue on the library then.
Pertaining to the cache objects you mentioned, IdentityCache would help if you are to refresh the already cached identity of the model. It (together with PrimaryCache) would definitely affect the SQL generation. The possible reason why flushing the IdentityCache does not help on your side was because you have not defined an identity mapping and/or Identity attribute from the model, plus, you do not have an identity from the table. So flushing it with your case does not really affect the behaviour of the operations.
Flishing both the DbFieldCache and PropertyCache has a bigger extent of effect as it would regenerate the hashcode of the objects that entirely affect the SQL command texts building and parameters passing.
Hope this helps explain!

Exactly, it is not an issue of the library.
RepoDB is behaving as expected, considering that USERS_ID is an identity in Environment#1 , but not in Environment#2.
Considering that source schema and destination schema are very similar,  but not completely identical (see the identity "qualifier") it is a very peculiar scenario.
On other hand, there might be similar scenarios where the same object is used by different connections to databases (hence they might have differences in identity/primary keys), in that case are there any other solutions to avoid conflicts between slightly different DB schemas associated to the same model?
In my case, flushing the DbField/Property caches after reading the source data allows me to write the corresponding data to the destination schema without exceptions because the fields are read again, as expected, so RepoDB is using the correct schema and it is able to generate the correct statements.
PS. Thank you for the explanation!

Thanks for helping us identifying the root cause. We will not make any further action on this.
For the model that is being used for multiple database providers, it is recommended to flush the caches (like what you did with your scenario). However, this solution will not work if the data type of the source and destination is not coerce(able) for the same property/field. This is only recommendable to the users that does not really like to create a separate model for source and destination RDBMS.

Thank you, I closed this issue as the problem is not caused by RepoDB and flushing the cache(s) makes everything works as expected.


feat: add webhook for telegram messages

Problem
Added webhook to handle telegram messages - for now, the bot will respond to /start and respond with a "hello"
Features:

Added a BotModule and BotUpdate to handle the Start command on Telegram

Improvements:

Details ...

Bug Fixes:

Details ...

Before & After Screenshots
BEFORE:
[insert screenshot here]
AFTER:
[insert screenshot here]
Tests
What tests should be run to confirm functionality?
Deploy Notes
Notes regarding deployment of the contained body of work. These should note any
new dependencies, new scripts, etc.
New environment variables:
New scripts:

script : script details

New dependencies:

TelegrafModule: to process the data (in this case "/start" input by the user) before sending an output
@ConfigModule

New dev dependencies:

@orangekjc or @alexanderleegs - could you help @kathleenkhy to work through rebasing this PR please? Thanks =)


allow passing a string to the ready configuration block in prometheus exporter

We have different "firehose block versions" of an app running at the same time. I would be great if the ready status in the prometheus exporter could say which version was running.
Eg
# HELP ready readiness of an app. 1 if ready, 0 otherwise
# TYPE ready gauge
ready{app="firehose", block-version="v3"} 0

Where this might be configured as common-reporting-block-version: v3.
This is just for reporting, firehose doesn't do anything with it otherwise.

Closing in favour of: https://github.com/streamingfast/firehose-core/issues/5


Fully parse OSCAL for the metanorma-plugin-oscal gem

We need to create a metanorma-plugin-oscal gem that allows generation of two documents:

https://github.com/metanorma/iso-27002/tree/main/sources

The ISO 27002 document includes controls in OSCAL YAML format. We need to use this gem to parse that OSCAL YAML content, and then create metanorma-plugin-oscal that allows generation of OSCAL content inside the Metanorma document.

https://github.com/metanorma/mn-samples-nist/pull/76

This contains the NIST SP 800-53rev4 document generated from OSCAL YAML. We need to use this gem to again, parse the OSCAL content, and then create metanorma-plugin-oscal that allows generation of OSCAL content inside the Metanorma document.

@kwkwan please help describe the Metanorma commands we need to implement this for @HassanAkbar . Thanks.

Hi @HassanAkbar , you may use get_all_controls and find_object_by_id methods to assist your work.

@ronaldtse I'm not clear about this task. Is there something to be done in this repo or should I start working on metanorma-plugin-oscal?


Question PLZ help

i search a lot but i didnt find any setup for access to my insta account and connect to this bot like user and pass ,
and all link in discretion is Error 404
any one can help plzzzzz

Read the documentation. It's simple to use, just follow the steps.
Em 21 de nov de 2017 15:06, "edwardium"<EMAIL_ADDRESS>escreveu:
i search a lot but i didnt find any setup for access to my insta account
and connect to this bot like user and pass ,
and all link in discretion is Error 404
any one can help plzzzzz
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/instagrambot/instabot/issues/401, or mute the thread
https://github.com/notifications/unsubscribe-auth/Af_t7xlxg4lFIoTRQZWbY7DdXEy5kaS8ks5s4wMFgaJpZM4QmLkv
.

first tnx for answering me
i cant see any documentation , its nothing there .
also this link that you put not valid there is error [ Whoops! That unsubscribe link isn't valid for your account.]

i have no idea bot this morning i on pc and i try again and no more Error 404 every thing fix .
tnx again for your help


Feature Request: add a property on Gauge to display logarithmic value and scale

Feature Request: add a property on Gauge to display logarithmic value and scale

This is an example with our old tool:

Well I did such an implementation in a former swing library which was not that easy to implement. At the moment I'm hesitating to start it because it will really take some time to get it right (esp. with support for features like scale direction clockwise/counter-clockwise.

I understand.
I hope to be able to contribute in some of my requests as soon as I'll have integrated Medusa on my application.


Always on top mini window.

Add a an always on top floating window with drag and drop feature that can be accessed from anywhere in the system to provide quick file edits

Files is not a file editor, while it may make sense to have a preview pane I don't think this specific
feature request fits in to an app like Files.
Something like this falls more in to apps like Quick Pad and other other editing apps.


Scrollbar accessibility: consider leaving them normal size by default

I might be an edge case, but I have to click and drag scrollbars because I can't physically use a scroll wheel (or gesture). Water's styles sets the width to 10px in Chrome and Webkit and thin in Firefox, which makes it somewhat difficult to interact with.
I would recommend leaving the width of the scrollbar whatever the browser default is.

I also prefer if they could be left alone. i like my mac os scrollbar as the way they are... auto hidden by default. and also good looking so they don't need to be changed.

Im intrested in working on this issue. could you please assign this issue to me?


Fix a small document issue

Summary
This fixes a documentation issue as attached below.
(main branch)

https://docs.quantum.ibm.com/api/qiskit/transpiler_plugins#writing-plugins
(this PR)

Details and comments

Pull Request Test Coverage Report for Build<PHONE_NUMBER>2
Details

0 of 0   changed or added relevant lines in 0 files are covered.
15 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.01%) to 88.806%

Files with Coverage Reduction
New Missed Lines
%

crates/qasm2/src/lex.rs
3
92.73%

crates/qasm2/src/parse.rs
12
97.15%

Totals

Change from base Build<PHONE_NUMBER>4:
-0.01%

Covered Lines:
77802

Relevant Lines:
87609

💛  - Coveralls


Logout frontend functionality

Make program track the last selected city.
send last selected city information to the backend on logout or page close.
Make login toggle to last selected city.

Closed by merge of pr #50


How/where can uploads or dataset organisation be tested?

Zenodo or ORCID operate "copies" of their services to allow users to test API access etc. How do we handle this?
Can/should testing be done in a "playgroud" dataverse collection in the repository itself? ...or will there be a separate test-dataverse installation under its own url?

A test Dataverse instance will be prepared soon.
Theoretically, we also can create a "playground" area ("dataverse collection") within a current instance - since Dataverse 6.2 is possible to use different PID types for different "dataverse collections" (only 1 type of PID for 1 "dataverse collection" is possible). So, for "playground" area we can have some test PID. It sounds well, but it has also a drawback - all test datasets can be visible on the main page (via visibility settings or via direct "publication" via test PID), so we will have a mix of real and test datasets, what is not so optimal.
That's why priority is a separate instance for tests, which can be also used for teaching courses of NFDI4Cat.

Great to hear. I think it is important that people can try without worrying. A separate instance should work perfectly for this.

A demo repository is ready to use:

https://demo-repository.nfdi4cat.org
Please read a documentation at first

Here you can find prepared training materials: https://demo-repository.nfdi4cat.org/dataverse/nfdi4cat-training-materials

a guideline provides an introduction to the repo4cat repository and describes the most important working moments with the repository (what is also applicable to the demo repository).
collected exercises will help you to get to know Dataverse step by step and then to play with the repository on your own - from creation of own dataverses/datasets to communication with Dataverse using API requests.


Fix crash in vkGetMTLCommandQueueMVK()

Calls to vkGetMTLCommandQueueMVK() returned garbage because MVKQueue* cannot be cast from VkQueue, use MVKQueue::getMVKQueue() instead.

Thanks for finding this, and submitting the fix!


Support Conda-style packaging?

It might be nice to support Conda-style packaging directly. I don't know too much about Conda, so some questions that will need to be answered:

Does Conda have any notion of abi3 compatibility, or a way to signal which Python version a package is abi3 compatible with?
Does Conda's normal package tooling include the .abi3. infix on shared objects?

To the best of my knowledge:

Not officially, but it can be "implemented" with some workarounds. We can also work on conda to make it happen. See https://github.com/conda-forge/conda-forge.github.io/issues/1865.
conda ultimately relies on whatever building tool you use under the hood (setuptools, etc), so it shouldn't be a problem.


Update base.html.twig

1. Why is this change necessary?
There was a missing translation key for the lang attribute
2. What does this change do, exactly?
Use the app context lang instead of translating it
3. Describe each step to reproduce the issue or behaviour.
Load any page, take a look at the missing translations

Thanks @thaasch,
i've imported your PR to our internal system, it wil hopefully get merged soon.

thanks for your contribution @thaasch :+1: :tada: :blue_heart:


scipy.linalg.lstsq() residual's help text is a lil strange

The help text states " If rank of matrix a is < N or > M this is an empty array." This is misleading because rank(A) <= min(N,M). In other words, " > M" part should at least be removed.

Hey, I am new to Scipy and would like to contribute. I'd like to take this up.
Doc :
If rank of matrix a is < N or > M, or 'gelsy' is used, this is an empty array.
I think it should be N > M
N > M => the system is no longer an overdetermined one.
This would make the docs consistent with the code.

I think this is unnecessarily complicated for a simple function like this. Couldn't we just say "when the solution is unique or gelsy is used" ?
Also could you please place a whitespace between lapack driver and : such that str, optional becomes italicised in the docstring?

I think it's equally good to put it in terms of M and N. However, I'll make the changes if need be. Do let me know.
Added space between lapack_driver and :

N > M => the system is no longer an overdetermined one
N >= M
Though, upon skimming the code online, it might simply be easier to say when 'residues' is NOT empty:

Old: If rank of matrix a is < N or > M, or 'gelsy' is used, this is an empty array.
New: residues is non-empty only when rank(a) == N

@imranfanaswala  , I think that is a good way to go about it. If the collaborators give a green signal, I'll incorporate the changes required.
Old: If rank of matrix a is < N or > M, or 'gelsy' is used, this is an empty array.
New: Residues is a non-empty array iff rank(a) == N. Residues is always an empty array if 'gelsy' is used.


DOC: update pytest plugin documentation

improved on the code documentation for clarity
updated the README

Closes #96

Looks a definite improvement! The draft status means you're adding more things to the PR @Sheila-nk ?

Hey @ev-br 👋
I have marked it ready for review. I don't think there is much else I can add for now.
I will update it as we progress.

Looks great to me, too. Thank you Sheila!


Use most recent version of DSE (6.8.36)

Updates DSE to latest released version 6.8.36

Replaced by https://github.com/k8ssandra/cass-operator/pull/568


Question in meta phase: Why  Generate the labels of support and query ?

thanks for your very enlightening work. However I found a spot that quiet confusing to me in your code, I describe it as follows:
in the pytorch version, the MetaTrainer, line 115-120, 132-138, 182-187 , you  generate the labels for support and query, so the class index is in order. But   in sampling, the index of the class is scrambled. why not use the actual class index?

Thanks for your interest in our work.
We will not shuffle the order of classes during task sampling. During base learning, we update the model with all the samples in one batch, so we don't need to shuffle the samples.

thank you for your quick reply. but I still confused about it. in CategoriesSampler, the class is random select in each task ,such as [43,5,63,19,58], but when generate the labels, it will becom [0,1,2,3,4]. the class index is not equal to the real class index.

During meta-learning, we're doing a 5-class classification task. So the labels for the classes range from 0 to 4.
As we use F.cross_entropy to compute the loss, we cannot set the ground truth for a 5-dim vector as [43,5,63,19,58].
https://github.com/yaoyao-liu/meta-transfer-learning/blob/d4ab548fe4258bab8e1549c8e1c9be175d52afe1/pytorch/trainer/meta.py#L153
You may check the PyTorch source code here for the details of F.cross_entropy.

thank you, I got it


--version not pulling from the correct package.json

Seems to pull from the package.json in the cwd instead of the install path. May be windows only.

Published 1.3.3

Published 1.3.3


ASB-1012: Check Exam Timetable Date Before Allowing Access

:tada: This PR is included in version 2.7.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 2.6.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


fix: remove embedfield omitempty

Remove omitempty from Name/value since the Discord API requires both to be submitted.
https://discord.com/developers/docs/resources/channel#embed-object

Fixes: #726

May require additional PRs on other structs against the API to cleanup/remove unnecessary omitempty occurrences.


Add S3 support for INTELLIGENT_TIERING, GLACIER and DEEP_ARCHIVE storage

Add S3 support for INTELLIGENT_TIERING, GLACIER and DEEP_ARCHIVE storage classes

Add INTELLIGENT_TIERING, GLACIER and DEEP_ARCHIVE as valid storage
classes for objects
Add ObjectNotInActiveTierError error on PUT object copy for GLACIER
and DEEP_ARCHIVE storage class objects

Resolves: #2349

Coverage increased (+0.06%) to 93.156% when pulling b7884ef9034d79a496e832c4564cd6de6a5d4f75 on bkovacki:add_new_s3_storage_classes into 9b535a7c75bc4b07abe87d7e1410d7336fbd843b on spulec:master.

Looks great; thank you!


Fixed Http methods enum to match http-parser one

Some wrong http methods used as http-parser's http methods enumeration was updated some time ago.

thanks.


Revert "Revert "Update sources.csv""

Reverts Lissy93/portainer-templates#16
Since https://github.com/Lissy93/portainer-templates/pull/49 passively skips bad templates, I believe the original addition can be restored.
Output from the make command:

@Lissy93


AAR file issue

Direct local .aar file dependencies are not supported when building an AAR. The resulting AAR would be broken because the classes and Android resources from any local .aar file dependencies would not be packaged in the resulting AAR. Previous versions of the Android Gradle Plugin produce broken AARs in this case too (despite not throwing this error). The following direct local .aar file dependencies of the :flutter_curl project caused this error: E:\curl_demo_new\build\flutter_curl\libs\curl.aar.
I am getting this error while running the project. I have added plugin directly in pubspec.yaml.

Could you post the Flutter & Gradle versions?
This seems like an issue with new Gradle plugin. I will try to reproduce it with your setup.

Sure
classpath 'com.android.tools.build:gradle:4.1.0'

Hello, can it be possible to solve this issue in the latest Gradle version?

To make it work temporarily you will have to downgrade to:
classpath 'com.android.tools.build:gradle:3.5.0'
and
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-all.zip

Yes, I managed with the same but I also have to use  tag in AndroidManifest.xml, and it is not allowed in this Gradle version.

@UjjawalPanchal I have fixed this in the new version. Try to upgrade to "0.1.1" and see if that works.

@ajinasokan  Thank you for the quick update, I will try that.


how to pipe the feed stream

I am trying to just do a simple pipe to process.stdout stream.
GTT.Factories.GDAX.FeedFactory(logger, products).then(function (feed) {
feed.pipe(process.stdout);
});
What am I doing wrong, I receive error: The websocket feed to wss://ws-feed.gdax.com  has reported an error. If necessary, we will reconnect. after every update received from gdax.

That won't work because stdout expects a buffer or string stream and GTT streams are all objectMode streams. So you need to first pipe it to a transform stream that converts everything back to strings.
But I think you're hitting a different issue, since you should be getting something akin to an expected Buffer or String error.
So possibly your products array isn't well-formed? If you post your full code, I can try and reporduce.


How to export two tables with relationships, using the query builder, headings and mapping?

How to add a selection from another table with a similar structure?
public function query()     {		          return SmsReg::query()->with(['salons','actions']);     }

Please fill in the issue template.

You could build a query with a join as to return a single set of rows with the SmsReg, Salons and Actions combined... pass that to a FromQuery Export class.

Join is indeed the way I'd go about it as well, however if you prefer the eager loaded approach, you'll have to use the WithMapping concern and map to the specific structure you want.


ERROR (theano.sandbox.gpuarray): Could not initialize pygpu……

When I want to try to implement other projects with this method, but some  environmental problems have been bothering me for a long time.
My environment is built according to what you said. And theano=0.8.0, pygpu=0.7.6, but when I try import theano, it always give an error “ERROR (theano.sandbox.gpuarray): Could not initialize pygpu, support disabled”, could you plz give some ideal?
Look forward to your reply~

Solve the problem by using developer version Theano.

Solve the problem by using developer version Theano.

Hi, I met many problems about the version of the Theano, pygpu, numpy, etc.
Can you tell me thses specific version of yours?

Hi, you can follow this page http://www.deeplearning.net/software/theano/install_ubuntu.html http://www.deeplearning.net/software/theano/install_ubuntu.html, and there shows the development version of Theano:
Bleeding-Edge Installation (recommended)
Install the latest, bleeding-edge, development version of Theano with:
 pip install <--user> <--no-deps> git+https://github.com/Theano/Theano.git#egg=Theano
Any argument between <...> is optional.
Use sudo for a root installation.
Use user for a user installation without admin rights. It will install Theano in your local site-packages.
Use no-deps when you don’t want the dependencies of Theano to be installed through pip. This is important when they have already been installed as system packages.
If you encountered any trouble, head to the Troubleshooting http://www.deeplearning.net/software/theano/troubleshooting.html#troubleshooting page.

在 2019年8月13日，下午3:12，ypzuo<EMAIL_ADDRESS>写道：
Solve the problem by using developer version Theano.
Hi, I met many problems about the version of the Theano, pygpu, numpy, etc.
Can you tell me thses specific version of yours?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/chrischoy/3D-R2N2/issues/45?email_source=notifications&email_token=ADSU4MNB4YFT6LJQWH7PIFTQEJNF3A5CNFSM4HMXZ6UKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4EYLEI#issuecomment-520717713, or mute the thread https://github.com/notifications/unsubscribe-auth/ADSU4MOWMKRLANNIN545PDTQEJNF3ANCNFSM4HMXZ6UA.

@xxdiablo thank you!