vulnz cache incompatible with nvdDatafeedUrl in 9.0.2

Describe the bug
I'm probably going a bit above and beyond what one is supposed to do here. But I am running a local NVD mirror database for our build servers, which is updated through the dependency-check-maven plugin like this:
            <plugin>
                <groupId>org.owasp</groupId>
                <artifactId>dependency-check-maven</artifactId>
                <version>${dependency-check-maven.version}</version>
                <configuration>
                    <nvdApiKey>${nvd.apiKey}</nvdApiKey>
                    <nvdValidForHours>23</nvdValidForHours>

                    <databaseDriverName>${db.driver}</databaseDriverName>
                    <connectionString>${db.url}</connectionString>
                    <databaseUser>${db.username}</databaseUser>
                    <databasePassword>${db.password}</databasePassword>
                    <dataDirectory>${project.basedir}/dependency-check-data/</dataDirectory>
                </configuration>
                <dependencies>
                    <dependency>
                        <groupId>org.postgresql</groupId>
                        <artifactId>postgresql</artifactId>
                        <version>${postgresql.version}</version>
                    </dependency>
                </dependencies>
            </plugin>

I have set up the PostgreSQL schema with the 5.4 schema version from here and the updates run fine.
I also needed something easier to consume for our developers (the database isn't reachable from outside our clusters), so I also created a JSON based data cache using vulnz as outlined in the README, using the latest vulnz 5.0.3. This also works well.
Now I thought that I could get around having to pull in updates twice by first updating the vulnz cache and then using that to update the database by adding <nvdDatafeedUrl>http://vulnz-server/cache/nvdcve-{0}.json.gz</nvdDatafeedUrl>  to the DB update job in Maven.
Unfortunately, this caused the Maven job to barf with the following exception:
NullPointerException: Cannot invoke "java.time.temporal.TemporalAccessor.query(java.time.temporal.TemporalQuery)" because "temporal" is null

Is there maybe still an incompatibility between the data streams somewhere?
Version of dependency-check used
The problem occurs using version 9.0.2 of the maven plugin and 5.0.3 of the vulnz cli.
Log file
log.txt

Oh, forgot to mention: The  works as expected when I don't go against the PostgreSQL DB. So maybe the 5.4 schema is missing something?

Ah, nevermind. I guess this is exactly it: https://github.com/jeremylong/DependencyCheck/commit/d76d08d4425acb9c92ea1f5317240ab40864e4a1

This could occur if you are switching back and forth from using the API vs a datafeed
(I don't intend to switch back and forth, but the DB was created via the API and then switched to the datafeed)


Admin features

Is your feature request related to a problem? Please describe.
Adding new page for admin messages for notifying users, adding last interaction for users and check if something is running (ex. heuristics..).
Describe the solution you'd like
Admin dashboard:
Admin messages page: create new page, where the user can create new admin messages, archive them manually with an archive reason, and see the data for those messages (who and when created the message, who and when archived the messages, type of the message and if the message is still active or not). Add the automatically archiving of the messages.
Extending users page: add field in the users page that is displaying the last interaction of the user. Add filter than can display the active users in the last X minutes (or/and a button for showing all active users).
Check if something is running page: add new page that shows which processes are still running (ex heuristics...) and show more data about those.
Platform:
Implement websocket notifications on refinery, workflow and gates and add the active messages on the platform. The messages should be removed once the archive date is not valid.

Front-end planning:

Admin messages page:

Create new page and add suitable routing(15min)
Add modal for creating new message (text,timestamp) + validations - 30minutes
Add modal for archiving message and storing the reason for it - 30 minutes
Display data into table for admin messages - 1h 30 min
Add queries (get all) and mutations(new admin message and archive message) - 1h
Automatically archiving messages - 1h - 2h
UI fixes - 30 minutes

Extend users page:

Add field last interaction in the table and add icon if the user is not active in longer time - 30 min
Add filter which displays active users in the last X minutes - 1h
Button show all active users?  - 1h
UI fixes - 30 minutes

Check if something is running

Create new page and add suitable routing(15min)
Display data for those processes (not sure which fields) - 2h
UI fixes - 30 minutes

Implement messages in the platform

Add active messages in refinery, gates, platform - 2h
Websocker notificatications - 2h

Testing: 2h
PR comments: 2h - 3h
Implementation: 15h - 16h
Testing: 2h
PR: 4h - 5h
SUM:  21h - 23h

Backend Planning

Admin messages
Concept 1h
Implementing Model/BO/Controller/Api 2 h
Testing and Fixing 1 h

Active User
Concept 1h
Implementing Model/BO/Controller/Api 1 h
Testing and Fixing 1 h

Check what is Running
Concept 1h
Writing SQL 1-2 h
Implementing Model/BO/Controller/Api 1 h
Testing and Fixing 1 h

Round about 12 hours in total
Description admin messages:
Can be created and archived. Active messages can be read by all users, all messages (incl. archived) can be read by kern admins. We want to have a strict history of our messages, that's why we don't allow update of the text. We want to store the id if someone manually archived a message. Messages get checked on read if they should get archived. Frontend gets notified by WebSocket if a message was archived or created.

Acceptance Tests:
Admin Message:

When creating a new admin message it should be correctly displayed for all users on the platform and in the admin dashboard.
When a message is archived it should be removed for users and displayed as archived on the platform
After time runs out a message should be removed automatically.

Last Active:

If a user interacts with the app the timestamp of the last interaction should be displayed in admin dashboard
If a user interacts with the app in the last X minutes it should be displayed in admin dashboard if queried with X as minutes.

Running:

All running tasks should be displayed on admin dashboard for all projects
If a new task gets started it should be added on admin dashboard
If a task finishes it should be removed on admin dashboard
4.All running tasks should be displayed in refinery for a specific project.


fix various sum related warnings/errors for noncompounded returns, closes #19

Thanks @grzesir!

No problem. I can deploy sooner if you think it's something important. Otherwise planning another release in 2-3 weeks

@grzesir No rush, I've patched locally and can wait for the next release to update from pypi.

Ok sounds good. Will release it with our other updated in a few weeks.
We're planning an upgrade that will include the strategy parameters in the
tearsheet from lumibot backtests
Robert Grzesik<PHONE_NUMBER>
On Thu, Mar 21, 2024 at 3:13 PM Kartik Subbarao @.***>
wrote:

@grzesir https://github.com/grzesir No rush, I've patched locally and
can wait for the next release to update from pypi.
—
Reply to this email directly, view it on GitHub
https://github.com/Lumiwealth/quantstats_lumi/pull/20#issuecomment-2013388568,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIYQK6ATBOJCXWNC6DK4MDYZMWL5AVCNFSM6AAAAABENJQR5WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJTGM4DQNJWHA
.
You are receiving this because you were mentioned.Message ID:
@.***>


"New Result" score can be set to ridiculous numbers

Describe the bug
just a really minor bug
The Score for applying a new result can be set to<PHONE_NUMBER>854775295 and -9223372036854775295, while numbers larger resp. smaller return "bad request". In addition to that " Successful" field is unchecked for numbers until 99,9999999999999928945726423989989(...) and is checked for 100,000000000000007105(...)
As the score is a percentage value I think a byte or short should suffice instead of a long or whatever this datatype is or one could just restrict the input size to 3 digits. I also think the percentage value should not be able to take negative values as it could affect other scores (was not able to test the latter assumption as there is only one exercise that passed the deadline).
Screenshots

Thanks for the report.
From what I see on your screen shots, the score is very high (it should be between 0 and 100). This should not be the case because we calculate the score this way (simplified):
long score = maxTestScore > 0 ? successfulTestScore / maxTestScore * 100 : 0;

I have not seen a similar issue, so I wonder what the setup of the exercise is. Have you defined weights or set tests to only run after the due date?

It's about the following exercises:
testcourse: https://artemis.ase.in.tum.de/#/overview/40/exercises/723
regular course: https://artemis.ase.in.tum.de/#/overview/37/exercises/733
I don't know if you can directly access them, they are from PGdP courses.
The exercise gives 2 points
There was one test before the due date that gave one point i.e. 50% if passed and graded
After the due date a "hidden" test was executed and gave another point i.e. 100% if passed, but ungraded
After that tutors manually reviewed the submissions and could set a "new result" with a feedback that was graded

regular course results:

test course results:

Fixed in 3.8.7


Issue with the imported data for some stations

Getting the following error for Chetwynd 51 Street, Quesnel Kinchant St MAML, and Vancouver International Airport #2:

This error is generated when the dailyData chunk is run in index.Rmd. Some investigating is needed, starting with looking at the hourly data that is imported for these stations.
Note that ENV doesn't validate Metro Van data, so Vancouver International Airport #2 could be excluded here, but I expect a fix for the other two stations will also fix for this one.

Hi Donna, all these stations do not have any 2022 data - which is likely the reason behind the error.


create a single global config instance

Reviewer: @jonathanKingston
Asana:
Description
Moving configuration to a single global obj assigned to the device
Steps to test

@jonathanKingston this is what we talked about previously - it's just moving all global config into a single place, and then making it accessible to the device.
This will make future changes easier too (like more feature flags etc)
CC: @GioSensation


feature add UNSET_VARIABLE statement to set back variables

Proposed changes
bp #27552

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run external

run feut

run buildall


Build of dependencies failing consistently on bytecode target

Since Wednesday the 7th, between 16:00 and 17:00 UTC, all builds on bytecode started to fail.
I traced it to ocaml-multicore/lockfree#34 which pulls in (recursively) many new dependencies, some of which cannot build on bytecode (containers).

Could you file an issue on lockfree (or containers) with a summary of steps to reproduce?
That way we help keep the good ecosystem karma :smile:

That was indeed in the pipeline :smile:
Now opened in https://github.com/c-cube/ocaml-containers/pull/421


AVRO-2445: Stop Avoiding Context Manager Tests

Great work @kojiromike
Maybe we should also set the Python 2.7 classifier explicitly in the setup.py.


Powertoyrun confirm

Summary of the Pull Request
Adds new feature #12293
What is this about:
Request was made to have a confirmation dialog used for system commands such as shutdown, log off, sleep, hibernate,and restart.
What is include in the PR:
Changes 2 about 10 files to include a setting in the settings screen to enable/disable this feature.
How does someone test / validate:
Build and start this version of powertoys.  Go to the settings screen and select PowerToys Run in the left column,  Now scroll all the say down and click on Windows System Commands.  Turn on the option "Confirm System Actions".  Press the key combination that opens PowerToy Run - ALT + SPACE by default.  Type in a system command such as "Shut Down'.  Verify that you get a confirmation dialog.  Try telling it "No", verify nothing happens.  Launch the PowerToy again, Type a System command again, but this time click "Yes" and veryify that the operation completes as expected.  Repeat the process for each of "Shut Down", "Sleep", "Hibernate", "Lock", and "Log Out"
Next, go back to the settings and turn off the option to confirm system commands.  Verify that they all work as expected with no confirmation box.
Quality Checklist

[x] Linked issue: #12293
[ ] Communication: I've discussed this with core contributors in the issue.
[x] Tests: All pass, no new tests added
[x] Installer: No Changes required to installer
[X] Localization: No changes that need to be localized
[ ] Docs: Added/ updated
[ ] Binaries: Any new files are added to WXS / YML

[x] No new binaries
[ ] YML for signing for new binaries
[ ] WXS for installer for new binaries

Contributor License Agreement (CLA)
A CLA must be signed. If not, go over here and sign the CLA.

@chrisharris333
Can you rebase it on the current master? It contains changes from https://github.com/microsoft/PowerToys/pull/12394

For example, this option shouldn't be under Windows Walker plugin

@mykhailopylyp - this compiles now, but I am still not able to get the "Confirm system actions" setting back on the settings screen.  Could really use some more direction.  Thank you.

@chrisharris333
Delete %localappdata%\Microsoft\PowerToys\PowerToys Run\settings.json in order to test it.
I created an issue to fix it https://github.com/microsoft/PowerToys/issues/12483.

Thank you very much for all of your assistance.

@mykhailopylyp Somewhere between your approval and my thank you comment, I somehow committed a change.  This was not intentional.  Before I screw anything up further, can you help me back out that one commit?

@mykhailopylyp Please disregard my last, I figured out how to undo it.  PR is back to the state you approved it in.  Thanks again, sorry for all the trouble.


⚠ T:Riza Api has degraded performance

In 49c0e24, T:Riza Api (https://api.triza.dev/v1/checkuptime) experienced degraded performance:

HTTP code: 404
Response time: 8852 ms

Resolved: T:Riza Api performance has improved in b5660b8.


todo --configure

If there's no configuration file, offer to help create one:

Basically interactive with questions/answers.
"Where are your calendars?"
"Would you like to show date and times, or just date?"
etc.

Save show the configuration file, and confirm save/not save.

I'd like to postpone creating more config wizards until there's proper support from vdirsyncer to discover calendars. Khal probes the non-public API of vdirsyncer for this, which is nasty.

Actually, my intention was for users to provide the exact value that ends up in the config file, not do some super-smart discovery.

I see, I suppose that doesn't have to be postponed.

Hello, I am new and would like to work on this one!
According to what I interpret, changes ought to be made here in a manner such that instead of raising a ConfigurationException, we would have to call a function which would indeed ask for input and then would write those preferences to the custom_path.
Also, is it justified if we ask user to run this command as superuser if in case there were permission problems while writing the file?

Hello @zebak12, glad to hear that!

we would have to call a function

Instead of directly launching the configuration wizard if no config exists, I would prefer it if we create a new command in cli.py (todo configure). In the "config not found" error message we can then tell people to run that command.

(For ex: I didin't define TODOMAN_CONFIG and therefore, it used XDG_CONFIG_DIRS by default, hence I had to use sudo while writing the configuration file)

I don't think it's justified. XDG_CONFIG_DIR should be within your homefolder, and you should have write permissions for that. Something else is wrong if you have to use sudo. Where did you create the config file in the end?

To compliment a bit what @untitaker said:

I'd change the messages here and here to hint users that they can run todo configure.
Following on your exact scenario, we could also have todo configure --location, that prints an exists:

The path of an existing file is one was found.
The path to the default configuration file if none exists (relative to xdg.BaseDirectory.xdg_config_dirs[0].

Yes, configure should be a separate command.

Regarding your sudo issue, can you run:
 python -c "import xdg.BaseDirectory; print(xdg.BaseDirectory.xdg_config_dirs)"

The first of these two is the one you should use (the second will be read if none is present, but is system-wide instead of user-wide, and not recommended).

Regarding your sudo issue, can you run:
python -c "import xdg.BaseDirectory; print(xdg.BaseDirectory.xdg_config_dirs)"

Oh!
Just got that! Thanks :tada:

Regarding your sudo issue, can you run:
python -c "import xdg.BaseDirectory; print(xdg.BaseDirectory.xdg_config_dirs)"

Oh! Just got that :tada:
Thanks :)

Great! Let me know if you have further questions moving forward.

Hi, I have thought of some decorators for the configure function:
@click.command()
@click.option("--location",
              help='Stores where configuration file is present')
@click.option("--show",
              help="Choose whether to show date/time both or date only")
@click.option("--path",
              help="It contains where all your calendar files are presenet")
@click.option("--date_format",
              help="The date format used both for displaying dates, and "
                    "parsing input dates. If this option is not specified "
                    "the ISO-8601 (%Y-%m-%d) format is used.")
@click.option("--color",
              help="By default todoman disables colored output if stdout is"
                    " not a TTY (value auto). Set to never to disable colored"
                    " output entirely, or always to enable it regardless. This"
                    " can be overridden with the --color option.")
@click.option("--default_list",
              help="The default list for adding a todo."
                    "If you do not specify this option, you must use "
                    "the --list / -l option every time you add a todo.")
@click.option("--default_due",
              help="The default difference (in hours) between new todo’s "
                    "due date and creation date. If not specified, the "
                    "value is 24."
                    "If set to 0, the due date for new todos will not be set.")
@click.pass_context
def configure(ctx, location, path, show, date_format, color, default_list, default_due):
    # Do something here
    pass

Am I on the right track (Isn't it too large) ?
Thank You

I'd rather have interactive questions (instead of cli flags) for configure.
Something like:
> What is the name of you default list?
[wait for user input here]

etc. I think this is a it quite unlike the rest of what we have implemented already and more wizard-like.

Oh! Thanks!
Yeah! That would be much more intuitive.

BTW, prompting can be done with http://click.pocoo.org/6/options/#prompting

Why was this closed? I just installed todoman and a function like that would be very useful indeed.

It hasn't been closed -- it's just that nobody's picked this up or had time to work on it so far.

Ahh sorry, thought this issue was closed with #300

Hi I have written a config wizard for my CLI tool which prompts the user for parameters one at a time using a click wrapper.
The CLI tool uses toml as the configuration format and the wizard relies on that, but it could be rewritten to work with ini so as not to add any dependencies to todoman.
Would the todoman maintainers have time to review such PR?

Hi I have written a config wizard for my CLI tool which prompts the user for parameters one at a time using a click wrapper.
The CLI tool uses toml as the configuration format and the wizard relies on that, but it could be rewritten to work with ini so as not to add any dependencies to todoman.
Would the todoman maintainers have time to review such PR?

Yup, PRs for this are welcome.

@WhyNotHugo, would it be more preferable if I separated the wizard into a separate module or fully merged the code into todoman? The wizard code is already fully covered by tests, and I utilize that code in my project. So the second approach would result in less new code in todoman.

I think integrating it into a new module inside todoman makes sense the most.
Can you share what you already have? Maybe seeing the existing code can help get a clearer vision of what would work best.

Sure. Some background:
Confluence poster is a tool to post Confluence pages that are written on the local system through a text editor. Config-wise the poster may have a global config in XDG_CONFIG_HOME and config in the working directory. There could be multiple pages in one directory posted to multiple places, so the config wizard allows generating additional sections for pages. The page logic is handled by functions with 'page' in the name, so those would be irrelevant to todoman.
Confluence poster also allows storing password in the config (which is not recommended, but still is an option), so there is additional logic to handle hidden parameters.
The way I implemented the wizard is I declare an iterable of DialogParameter objects or strings which are prompted in a row, optionally with default values fed from the existing config.
This is the bag of helper functions, and this is the function that provides interactive wizard. Typer is a wrapper around click mostly focused on using parameters for command options instead of decorators, so rewriting the internals to click would be pretty fast.
Sample run:
/tmp/new_home > XDG_CONFIG_HOME="/tmp/new_home" confluence_poster create-config --home-only
Starting confluence_poster
Starting config wizard.
This wizard will guide you through creating the configuration files.
Please provide a value for author.
Comment: If the page was not updated by the username specified here, throw an error.
If this setting is omitted - username from auth section is used for checks
This parameter is optional. Press [Enter] to skip it. []: Username
Please provide a value for auth.confluence_url.
Comment: URL of confluence instance: https://localhost
Please provide a value for auth.username.
Comment: Username for authentication in Confluence: username
Please provide a value for auth.password.
Comment: Password for authentication. May be supplied through runtime option or environment
This parameter is optional. Press [Enter] to skip it.
This parameter is marked as sensitive, input is hidden:
Please provide a value for auth.is_cloud.
Comment: Whether the confluence instance is a cloud one: no
Config to be saved:
author = "Username"

[auth]
confluence_url = "https://localhost"
username = "username"
is_cloud = false

Would you like to save it as /tmp/new_home/confluence_poster/config.toml? The wizard will create all missing parent directories [Y/n]: y
Saving config as /tmp/new_home/confluence_poster/config.toml
Since a sensitive parameter was passed - saving the config file with 600 permissions.
--home-only specified, not attempting to create any more configs.

/tmp/new_home > cat confluence_poster/config.toml
author = "Username"

[auth]
confluence_url = "https://localhost"
username = "username"
is_cloud = false


Handling external deletion of the resources in the clusterresources group

Issue 572
Added:

handling of the external deletion of the resources on Instaclustr
fixed external changes for VPC peering resources when Instaclustr API returns a list of subnets in a different order

closes #572
Want a bit of help
I want to hear your opinion about the added state field which indicates the state of the resource on Instaclustr. Maybe changing it to something like instaclustrResourceState will be better. Because some resources also have their status codes like AWS VPC peering. So it looks a bit weird when there is the following status:
status:
  state: CREATED
  statusCode: deleted

The field state indicates that the resource is created on Instaclustr, but statusCode: deleted indicates that the VPC peering is deleted on AWS.
So, what do you think?

I agree with your statment, we should rename "state" to "instaclustrResourceState"

I want to hear your opinion about the added state field which indicates the state of the resource on Instaclustr. Maybe changing it to something like instaclustrResourceState will be better.

The source of truth is the Instaclustr Console. So whatever the state/status of the Instaclustr resource is, it should be directly reflected on the k8s state field without any deviation. For now, I don't see a good reason to create a new field or give a new name to the existing state field of the resource.

Because some resources also have their status codes like AWS VPC peering. So it looks a bit weird when there is the following status:
status:
  state: CREATED
  statusCode: deleted

The field state indicates that the resource is created on Instaclustr, but statusCode: deleted indicates that the VPC peering is deleted on AWS.

In this example, I suggest you maintain consistency between the state and statusCode fields, or, even better, you can consider using only the state field to represent the statusCode.


SDCard support?

Hello, this is a nice project, I wonder if there is a plan to add SD card r/w support?
https://www.bilibili.com/video/BV1gH4y1m7ty/?vd_source=1af828ff5df4e67b0feb279fa0ee5cbf
I saw a video that using link cable to connect a sd card, it will be really useful for some hb to read external data.

Hey! No plans for SD card via Link Port, sorry. But you may want to check out gba-flashcartio, a library that allows reading the SD card in a flash cartridge (EverDrive GBA and EZ Flash Omega).

Hey! No plans for SD card via Link Port, sorry. But you may want to check out gba-flashcartio, a library that allows reading the SD card in a flash cartridge (EverDrive GBA and EZ Flash Omega).

I just want to write a lib for bootleg carts, they can be reflash now, but don't have external storage.
I'm not very good at embedding systems, but is the  LinkSPI in your project, theoretically, can direct connect to sd card, and I just need to write sd specific lib myself?
And is there any doc how to connect a SPI device via linkport?

I'm not very good at embedding systems, but is the  LinkSPI in your project, theoretically, can direct connect to sd card, and I just need to write sd specific lib myself?

Yes, LinkSPI can help you, but keep in mind that you might need to set some registers to use the SD card in SPI mode 3 (CPOL=1, CPHA=1) which is what GBA hardware uses.

And is there any doc how to connect a SPI device via linkport?

This example illustrates how to connect a Link Cable to a Raspberry Pi's SPI pins:
https://github.com/afska/gba-remote-play?tab=readme-ov-file#normal-mode--spi

I'm closing this issue as it doesn't involve coding on the gba-link-connection side, but feel free to continue commenting here if you have more questions and I'll try to answer them!


Game 24;c++

Gamen24bc++

@anushkaGurjar Can you explain more about the purpose of this PR?

Closing for inactive.


Upgrade protobuf version to 3.7.1.

This will fix the currently failing regen PRs.

Could we move a bit higher to 3.7.1?
I think artman was just updated to use 3.7.1
On Fri, Mar 29, 2019, 7:02 AM kolea2<EMAIL_ADDRESS>wrote:

@kolea2 https://github.com/kolea2 requested review from
@googleapis/yoshi-java on: #4819
https://github.com/googleapis/google-cloud-java/pull/4819 Upgrade
protobuf version to 3.7.0. as a code owner.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/googleapis/google-cloud-java/pull/4819#event-2239327571,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AD1Ksp7Jv3wpOcWIixE6bVs6BmWjFLfmks5vbhzkgaJpZM4cSdSd
.

Oops, there is a 3.7.1 version, but looks like not for protobuf-java: https://search.maven.org/artifact/com.google.protobuf/protobuf-java/3.7.0/bundle

oh good call


[INTEGRATION][AIRFLOW] fix issue with using Airflow integration when extra dependencies are missing

Problem
Currently, Airflow integration can't be used unless all extra dependencies for registered extractors are installed. This is particularly impractical in situation when neither Google BigQuery nor Great Expectations are used by Airflow deployment.
Closes: #438
Solution
As a solution import errors are suppressed when extractors are registered into openlineage.airflow.extractors._extractors and openlineage.airflow.extractors._patchers. This will prevent startup import failure and eliminate extractors with missing dependencies.
Checklist

[x] You've signed-off your work
[x] Your pull request title follows our guidelines
[ ] Your changes are accompanied by tests (if relevant)
[x] Your change contains a small diff and is self-contained
[ ] You've updated any relevant documentation (if relevant)
[x] You've updated the CHANGELOG.md with details about your change under the "Unreleased" section (if relevant, depending on the change, this may not be necessary)
[ ] You've versioned the core OpenLineage model or facets according to SchemaVer (if relevant)

@lukaszlaszko those changes make tests pass:
https://github.com/OpenLineage/OpenLineage/commit/31dff9a4574076fe6aaba9ba4f8565fa4036f10e

Closed in https://github.com/OpenLineage/OpenLineage/pull/454


Array Objects

Hello,
I noticed that in the most recent commit, things like MaybeObject and ArrayObject were removed in favor of Composed. I was originally trying to return an array of Users with ArrayObject and have since updated to Composed, but either way I have not been able to get it compiling. Would it be possible to include an example that implements the following query?
type Query {
  ...
  allUsers: [User!]!
  ...
}

I tried looking at the morpheus documentation as well, but it looks quite different from the patterns used here. I'm new so I'm sure I'm missing something but any help would be appreciated!

Hello everyone
You are right @bradsherman I have had the same problem, luckily I have found some solutions and examples. Not easy tho.
I'm gonna make a pull request adding a allUsers endpoint to the API, as an example, but I'm gonna try to explain it on here too. I'm no expert on haskell neither morpheus so Maybe "not be the best implementation"
Detailed implementation:

Add the new endpoint to the schema.graphql file. Exactly as you have done:

type Query {
  ...
  allUsers: [User!]!
  ...
}

Add the new query and queryResolver to the list

queryResolver = Query
  { ...
  , allUsers = allUsersResolver
  ...
}

Add the implementation of the queryResolver: Notice that it uses runSelect combined with userSelect to get the [DB.User] and then you traverse (traverse :: (Traversable t, Applicative f) => (a -> f b) -> t a -> f (t b)) it with userResolver those three functions exists in the code base or the Prelude.

-------------------------------------------------------------------------------
allUsersResolver :: GraphQL o => Composed o [] User
allUsersResolver = do
  res :: [DB.User] <- runSelect userSelect
  traverse userResolver res

And that's it*: If you try it with the graphiql you will have a list of users as a result.
(http://localhost:8080/graphiql)

query {
  allUsers {
    name,
  }
}

*Except maybe that's not it. It's posible that stack, cabal or docker has not notices the changes to the schema.graphql and therefore has not added the new endpoint, types and everything is failing. In that case try to relaunch the building process and start from scratch. I have stopped the dockers and I have eliminated them with docker stop and docker rm, but i have done other things to, I'm not sure witch of that things have worked. And some of that things are very slow.

This are the documentation, solutions and examples I have found:

An example of code with morpheus-graphql where implements some solutions with Composed

Same example with the scheme.graphql part

Hope it will help you.

thank you for the detailed explanation @Pacific01! Those examples are exactly what I needed. I was unaware of the traverse function, works like a charm after using that.

I completely blow my mind when I saw it. Even if I learn about it a couple of days ago I would never have thought of using it. It is difficult to see when a type applies or not. In this case my first try was with fmap something like fmap userResolver users but it didn't work.
I'm glad you like it and it works.

Yes, because userResolver is still within Monad/Applicative so we'll need traverse or mapM.
Thanks @Pacific01. PR merged.
Feel free to close the issue if this nolonger troubles you @bradsherman

closing the issue, thanks all for the help.


len() should return >= 0

Error :
__len__() should return >= 0

Is given when testing specific resolutions

This is current engine and while resolutions like 512x1024,512x512,768,768 works
Resolutions like 768x684 doesn't
Changing the resolutions to be mod 32 doesnt seem to help

change the resolutions to be mod 64 works

change the resolutions to be mod 64 works

Fails on 512x512 generations, which is 2^9.
The issue is that models generated in v0.2.0 of this extension with a defined optimal or max text-length other than 75 will throw this error.


As Volunteer - audit

Hi, the below evernote link is the complete site audit:
https://www.evernote.com/l/AlW75QQg3WRJvJ7N1jZgmivTYjzIjG8xkHw
All Proposals (所有專案):

icons are not showing up; what are the icons for? amount of people? why are there 2 numbers?

show event date (range)

Show Proposal (瀏覽專案):

be more specific - consider including the following:

contact person name and information
date and time of the event
goals/procedures/responsibilities/what we are trying to solve for the event (descriptions, needs, locations, etc)
“learn more” links about the organization or problem

My Attending Proposals (已參與的專案):

填寫您的資料: after signing up for an event: is it necessary to fill out extra information? I wouldn’t know if I didn’t click on the link. Prompt users with a notification to fill out information if the event has extra forms.
leave event option does not work: brings me to editing the proposal

go to event show and click on leave option
have leave option at this page and a confirmation

On the "所有專案" page, I will fix the missing icons issue.
The first icon is number of members in the project. The second icon is number of processes in the project. The process is also called "crowdsourcing process" which is launch in the project by manager.

The date on this page means the created date.

The missing icon issue was fixed.


Make Get-DbaDefaultPath skip Azure SQLDB Instances

Type of Change

[ ] Bug fix (non-breaking change, fixes #)
[x] New feature (non-breaking change, adds functionality)
[ ] Breaking change (effects multiple commands or functionality)
[ ] Ran manual Pester test and has passed (`.\tests\manual.pester.ps1)
[ ] Adding code coverage to existing functionality
[ ] Pester test is included
[ ] Nunit test is included
[ ] Documentation
[ ] Build system

Purpose
Experienced an issue with Install-DbaMaintenanceSolution on Azure SQLDB, issue was due to allcommands implementation of Get-DbaDefaultPath. Azure SQLDB does not return paths so there are errors.

This makes the errors go away.
Approach
Implemented a check on $server.EngineEdition to find if the target is SqlDatabase and to not perform checks if true. This will still work with Managed Instance as that returns paths that can be parsed by the function.
Learning
Tested revised function against Local SQL Server, Managed Instance, and Azure SQLDB manually.

yessss, looks fab. thank you! 🌮 🌯


Add sample entry to index.json

Pull Request Title
Description
Please include a summary of the change or the feature being introduced. Include relevant motivation and context. List any dependencies that are required for this change.

[ ] This change requires a documentation update
[x] I have made corresponding changes to the documentation

Related Issue(s)
This PR addresses issue #X
Screenshots
If relevant, please add screenshots.
Notes
Please add any relevant notes if necessary.


Update desktop-directquery-about.md

Typo fix - 'Tf' to 'If'

@PowershellScripts : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@PowershellScripts : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Looks good; thanks for the typo fix @PowershellScripts.

Looks good; thanks for the typo fix @PowershellScripts.


Installation failed

Hi. I can't install a latest version of todoist.
The fail says that package needed gconf2, that depends on gconf-service, that depends on libappindicator1 that depends on gconf2 :)
$ uname -a

Linux xepozz-notebook 5.4.0-47-generic #51~18.04.1-Ubuntu SMP Sat Sep 5 14:35:50 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

$ lsb_release -a

No LSB modules are available.
Distributor ID:	elementary
Description:	elementary OS 5.1.7 Hera
Release:	5.1.7
Codename:	hera

hey @xepozz,
As far as I know dpkg doesn't install dependencies automatically.
To install all the deps you must run sudo apt-get -f install (or sudo apt -f install).  Dpkg will kind of let apt manager know about what deps should be installed.
Again, I'm not sure, but probably you don't need to run dpkg -i Todoist... again and it will be installed with apt -f install.
Let me know if that apt command worked for you

I've tried to manually install missed dependencies with usage apt. It doesn't work.

I've tried to manually install missed dependencies with usage apt. It doesn't work.

Try sudo apt install -f just after dpkg:

I've installed todoist from Snap.


ECONRESET

Hello,
I have been using python-binance for over a year now and I have never had problems so far
Since 2 weeks i constantly keep getting this error at random times (the bot runs 24/7)

Same issue started happening to me yesterday.  Did you figure out a resolution?

No, it still happens randomly. Now I have 1 bot thats running 35 hours no problems, and 1 other bot had this error again after 4 hours... They both run on the same machine, on the same code. I have no idea why this happens


ncdns: 2020-11-22 -> 2021-07-18

Motivation for this change
Mainly switching to buildGoModule
Things done

Built on platform(s)

[x] x86_64-linux (NixOS)
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[x] Tested via ncdns.tests
[x] Tested compilation of all packages that depend on this change
[x] Tested execution of all binary files
21.11 Release Notes (or backporting 21.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.

Result of nixpkgs-review pr 137137 at 77bc057a run on x86_64-linux 1

1 package built successfully:

ncdns

1 suggestion:

warning: patch-phase
patchPhase should not be overridden, use postPatch instead.
 Thanks for looking at this!


Impl template override from config

Need a way to override a vodka application's template on a per instance basis
Probably best done by adding a configuration attribute.

fixed in 8d4caf2


[TextLayer] Only measure the width of the text, in _layoutText, for multi-char text divs

For performance reasons single-char text divs aren't being scaled, as outlined in a comment in appendText. Hence it doesn't seem necessary, or even a good idea, to unconditionally measuring the width of the text in _layoutText.

/botio test

Looks good!


Better error messages from connection failures in MSAL

Building upon #22003, this PR introduces better error messages displayed to the user when failures happen due to a connection attempt.  The MSAL-specific error message is displayed to the user rather than a generic message.  This PR plus #22003 fixes #21660.
Also fix a small typo in an error message I noticed.
Old behavior:

New behavior:

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

1 of 22 (4.55%)  changed or added relevant lines in 4 files are covered.
57 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.01%) to 41.962%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/sql/workbench/services/connection/browser/connectionWidget.ts
0
1
0.0%

extensions/azurecore/src/account-provider/auths/azureAuth.ts
0
3
0.0%

src/sql/workbench/services/accountManagement/browser/accountManagementService.ts
1
7
14.29%

extensions/azurecore/src/account-provider/azureAccountProvider.ts
0
11
0.0%

Files with Coverage Reduction
New Missed Lines
%

extensions/sql-bindings/src/common/azureFunctionsUtils.ts
1
80.65%

src/sql/workbench/services/accountManagement/browser/accountManagementService.ts
56
41.69%

Totals

Change from base Build<PHONE_NUMBER>:
-0.01%

Covered Lines:
28763

Relevant Lines:
63644

💛  - Coveralls


errors with TypeScript

versions :

react-dropzone-uploader: 2.10.1
typescript: 3.0.3
awesome-typescript-loader : 5.2.1

  ERROR in [at-loader] ./node_modules/react-dropzone-uploader/dist/Layout.tsx:27:8
      TS2339: Property 'propTypes' does not exist on type '(props: ILayoutProps) => Element'.

  ERROR in [at-loader] ./node_modules/react-dropzone-uploader/dist/Input.tsx:49:7
      TS2339: Property 'propTypes' does not exist on type '(props: IInputProps) => Element'.

  ERROR in [at-loader] ./node_modules/react-dropzone-uploader/dist/SubmitButton.tsx:26:14
      TS2339: Property 'propTypes' does not exist on type '(props: ISubmitButtonProps) => Element'.

  ERROR in [at-loader] ./node_modules/react-dropzone-uploader/dist/Dropzone.tsx:281:28
      TS2349: Cannot invoke an expression whose type lacks a call signature. Type '((event: ChangeEvent<HTMLInputElement> | DragEvent<HTMLElement>) => (File | DataTransferItem)[]) | ((event: DragEvent<HTMLElement>) => DataTransferItem[] | Promise<DataTransferItem[]>)' has no compatible call signatures.

  ERROR in [at-loader] ./node_modules/react-dropzone-uploader/dist/Dropzone.tsx:289:27
      TS2349: Cannot invoke an expression whose type lacks a call signature. Type '((event: ChangeEvent<HTMLInputElement> | DragEvent<HTMLElement>) => (File | DataTransferItem)[]) | ((event: DragEvent<HTMLElement>) => DataTransferItem[] | Promise<DataTransferItem[]>)' has no compatible call signatures.

  ERROR in [at-loader] ./node_modules/react-dropzone-uploader/dist/Dropzone.tsx:319:19
      TS2339: Property 'status' does not exist on type '{}'.

  ERROR in [at-loader] ./node_modules/react-dropzone-uploader/dist/Dropzone.tsx:629:13
      TS2339: Property 'className' does not exist on type '{}'.

  ERROR in [at-loader] ./node_modules/react-dropzone-uploader/dist/Dropzone.tsx:651:11
      TS2339: Property 'className' does not exist on type '{}'.

  ERROR in [at-loader] ./node_modules/react-dropzone-uploader/dist/Dropzone.tsx:673:11
      TS2339: Property 'className' does not exist on type '{}'.

  ERROR in [at-loader] ./node_modules/react-dropzone-uploader/dist/Dropzone.tsx:702:9
      TS2339: Property 'input' does not exist on type '{}'.

import code :
import Dropzone, { IDropzoneProps, ILayoutProps } from 'react-dropzone-uploader'
import 'react-dropzone-uploader/dist/styles.css'

Try upgrading typescript, I wasn't getting any errors with the latest version of the compiler.
The problem is in package.json, where types points to dist/Dropzone.tsx instead of the .d.ts file.


Removing sexually related objects

About the PR

Removes a lot of sex pins and some sort of maid-catgirl thing
Media

[ ] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

:cl:

remove: Sexual stuff; this is not an ERP server

We have already added middle eastern localization to hippie

Some of these I agree with, some of these I do not.
Nyanify is the same as catbeasting, maid is funny and no cumbrains will dissuade me of that and cat ears should remain in the code simply due to the fact that they always were there. We aren't an ERP server, if anyone uses these to ERP they just get banned.
Keep it to only the pins.

Not as a syndicate item.


Update templates to use npm rather than bower.

Visual Studio has npm installed as an external tool, but does not put it on the path. I added an MSBuild warning for when npm is not found. Users can then either install npm, or do a manual package update from within Visual Studio (which will cause MSBuild to skip the NpmInstall target).

Fixes #1013


update poetry lock nump simpleinference

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

Project coverage is 68.60%. Comparing base (b341700) to head (35aa3ff).
Report is 2 commits behind head on main.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

:exclamation:  There is a different number of reports uploaded between BASE (b341700) and HEAD (35aa3ff). Click for more details.
HEAD has 1 upload less than BASE
| Flag | BASE (b341700) | HEAD (35aa3ff) |
|------|------|------|
||2|1|

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #283      +/-   ##
==========================================
- Coverage   77.54%   68.60%   -8.94%
==========================================
  Files          35       35
  Lines        2507     2507
==========================================
- Hits         1944     1720     -224
- Misses        563      787     +224

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


Refactor and Fix Jalali issues

I have removed some formatting functions as they were unnecessary and replaced them with format. Also, I have updated my custom utils and updated the examples

Oh, I apologize for inconvenience, but in the replace-moment PR we have discussed and realized that it would be more consistent for users to let them override any displayed strings via extending utils, so may you revert back all displayed methods.
I`m planning to create separate page about customization displayed string in the docs.
Thank you! :)

@dmtrKovalenko I couldn't find the discussion 😅 Can you give me a link?
Also, I don't think it's a god idea to have both a format function and some format specific functions. this duality can lead to serious bugs. As you said yourself, the implementors can parse the format string and act accordingly as I did here. But having the both is a maintenance headache. We should either remove the format method entirely, or solely use it for formatting. I am strongly against having both ways. we should pick one of the two.
cc @cherniavskii

@alitaheri I think this https://github.com/dmtrKovalenko/material-ui-pickers/pull/218#issuecomment-365604881 is a discussion @dmtrKovalenko is talking about. From that point of view, it makes sense.
That being said, I'd rather prefer single format function, since it's less code to maintain and in that case date utils library is responsible for those functions.
It's a bit harder to override displayed strings in this case, but it's still possible.

@alitaheri  I think mapping strings is not really good idea. Because if somebody will need to defenetly override something it would make a "bad code" something like
if (formatString === 'mm')
  return date.format('dd')

It`s also bad from the maintenance prospective, because it would be hard to know that additional using of format would not break anything.
Now just a format prop is using to display custom formatted dates in the textfield and we should leave it. And for all other displayed dates (in headers and so on) we should create a method with cusom formatting. But I think it would be more convenient to have an ability globally override displayed strings in pickers if it needs for someone.

@cherniavskii At first I was skeptical, but after giving it some thought, I realized it was the ideal solution to replace all formatting functions with a unified function. It's future proof.

@alitaheri
Also maybe you should use class syntax to extend the prop, instead of reimplementing functions?
It would be better to just inherit not changing functions by the jalali-utils?

@dmtrKovalenko Almost all date utilities understand the standard formatting, besides, it's really rare for someone to want to change the current behavior of the date picker. also, if someone is worried about future changes breaking their code, they can use regexp matching.
It is also very rare for someone to want to change the format string. The reason I did it was because of the limitations of the library I was using, the format string is a global standard and almost every library understands it. I believe we won't see another person trying to change the format string.

Also maybe you should use class syntax to extend the utils

What good would that do? the utils class isn't instantiated anywhere, and extending a class does not inherit the static methods. It would only pollute the prototype chain.

@alitaheri
We would need to create them not static to make localization works for date-fns. 😭

@dmtrKovalenko It doesn't matter at all you know. the utils should only have some methods on it. doesn't matter if it's an instance, plain object, function, or class constructor. Implementation has nothing to do with the API. as long as it works. and this is working just fine. I would suggest putting our ideas to vote and see what the community thinks. But in the end it's your call, on both formatting methods and class syntax.
P.S. If I want to use the class syntax I'll need a transpiler too, I wanted to keep things simple, so I just used es5.

@alexander-morozov
I have considered inheritance as a way to let users just override needed functionality. It may be used for localization or some other purpose. You always can do inheritance based on prototypes, but thus you will not need to implement for example setDays and other methods.

@dmtrKovalenko ok I can change it into a class.

@dmtrKovalenko is class the only way to override some methods? Isn't it possible with simple object? Adding transpiler to jaali utils sounds like a real overkill

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Inheritance_and_the_prototype_chain
It can be done easily with native javascript prototype

@alitaheri maybe adding material-ui-pickers to peerDependencies will solve the problem?

@alitaheri
You can add pickers to the peer dependency (And you should do that, because jalali-utils are useless without pickers)
Then you will need to import jalali utils relatively ('/utils/moment-utils') extend current pickers and just override the methods you need to override all functions instead of the same like these
utils.isAfterDay = function isAfterDay(date, value) {
  return date.isAfter(value, 'day');
}

utils.isBeforeDay = function isBeforeDay(date, value) {
  return date.isBefore(value, 'day');
}

static methods can be overriden like
import utils from '...'
utils.getDisplayedHeaderText = ...

But firstly we need to redo current functionality to instance classes. Because we need to integrate localization for date-fns, and its just only one way to perform it, because we need to pass locale string to each function.

I'm really uncomfortable with these ideas. This really isn't a complex matter.
About the formatting functions:
Almost every library understands the standard formats. And:

The most widespread civil calendar and de facto international standard is the Gregorian calendar. Though that calendar is associated with the Catholic Church and the papacy, it has been adopted, as a matter of convenience, by many secular and non-Christian countries although some countries use other calendars.

From wikipedia.
I think it's over-engineering what I previously did with the formatting functions. I regret it, a single format methods is way better in terms of maintenance. The utils implementors should simply write future proof matching regexps.
Imaging having to update 10 utils library simply because we want to add a new display string. But with a single format function it may never come to that. Besides, all the utils will become useless because that missing function will definitely break a lot of code (ReferenceError). with single format function, however, it might rarely display wrong value. Only in case the utils library was implemented poorly.
A single format function is enough really, all those useless functions are really unnecessary.
About depending on the main library:
Since it's a direct dependency, (That means this library will not work without relying on the main lib) I cannot add it as a peer dependency. that will defeat the purpose.
Peer Dependencies mean: this library is useless without it's peer. Not that it won't work without it.
besides, aren't we going to put the utils in different repositories eventually?
Another point is dependency graph. If I rely both on moment and moment-utils, their version should always match, otherwise we'll end up with 2 different installation with will break localization. Remember? moment defines locale globally too, so that's alarming!
I'm strongly against, relying on anything other than moment-jalaali. It's not a good idea to rely on another library only to bring a few functions over. It's nothing more than few lines of code. but the overhead of maintaining dependency graph is exhausting. I can refer you to the troubles react libraries have with react dependency when a major version is released. moment is like react, there shouldn't be more that one installation, or things will break.

@alitaheri I agree with you in the case of format implementation, but what if somebody need to completely override displayed format in the picker.
Example - somebody needs to display days with leading zeros? The code he would need to write
if (formatString === 'd') {
  return format(date, 'DD')
}

This looks awful) Maybe then we need to integrate custom formatting strings passed with for each formatting value

@dmtrKovalenko I see your point 👍 👍 👍 alright.
I'll keep the display functions, but I still better not inherit from the moment-utils. because if I do, moment-jalaali and material-ui-pickers should always have compatible moment dependency. Is that alright?

@dmtrKovalenko @cherniavskii This is ready to merge. please have a look.

@dmtrKovalenko All done. Have another look, please.

Looks good :) Thank you


Scala Hadoop Enrich: re-compose enrichments sent as multiple arguments

This isn't a great approach - it's better to double-down on the DynamoDB approach as that is portable to Kinesis...


Ensure that 401 and 403 delay before responding with any information

Move the response code to a closure, and delay it if responding to a 401 or 403 error
Resolve #95

This is a continuation of #96

It was easier to just create this branch and update.
I am unsure how to fix my devel branch.

This looks great.  Yours needs an empty line after the subject line and the 72 character line limit imposed. So it should be:
Ensure 401 and 403 delay before initiating response

- Move the response code to a closure, and delay it if responding to a
  401 or 403 error
- Resolve #95

I tweaked the subject line a bit just to make it a little more concise.

No problem. I updated.

Alright. This is all set to go. I'm going to try merging this in a new way, per @dandv's suggestion on #89. Bear with me for a sec.

The latest version has been published. Just a heads up.


Impossible to convert vhdx file in raw format during create-windows-online-cloud-image.ps1 process

Hi,
I try to generate windows 11 Pro image for openstack platform.
I already tried to generate a qcow2 image with create-windows-online-cloud-image.ps1 script but the server creation with this image failed in openstack. (too many attempts)
Now, I try to generate a raw file with the create-windows-online-cloud-image.ps1 script, but at the end process, it fails too
18/12/2023 15:10:06 - Could not retrieve VM runtime logs
18/12/2023 15:10:07 - Could not retrieve VM runtime logs
18/12/2023 15:10:08 - Could not retrieve VM runtime logs
18/12/2023 15:10:09 - Could not retrieve VM runtime logs
18/12/2023 15:10:10 - Could not retrieve VM runtime logs
18/12/2023 15:10:11 - Shrinking VHD to minimum size
18/12/2023 15:10:11 - Initial VHD size is: 30 GB
18/12/2023 15:10:17 - Current partition size: 29.998046875 GB
18/12/2023 15:10:17 - New partition size: 21 GB
18/12/2023 15:10:17 - Size increased:<PHONE_NUMBER>4
18/12/2023 15:10:19 - Final disk size: 21.001953125 GB
18/12/2023 15:10:22 - Converting VHD to RAW
18/12/2023 15:10:22 - Convert Virtual Disk: C:\Users\micka\windows-openstack-imaging-tools\Windows_11_Pro_23H2.vhdx...
18/12/2023 15:10:22 - Converting virtual disk image from C:\Users\micka\windows-openstack-imaging-tools\Windows_11_Pro_23H2.vhdx to C:\Users\micka\windows-openstack-imaging-tools\Windows_11_Pro_23H2.raw...
AVERTISSEMENT : Failed to run: C:\Users\micka\windows-openstack-imaging-tools\bin\qemu-img.exe convert -O raw C:\Users\micka\windows-openstack-imaging-tools\Windows_11_Pro_23H2.vhdx C:\Users\micka\windows-openstack-imaging-tools\Windows_11_Pro_23H2.raw
AVERTISSEMENT : Failed to run: C:\Users\micka\windows-openstack-imaging-tools\bin\qemu-img.exe convert -O raw C:\Users\micka\windows-openstack-imaging-tools\Windows_11_Pro_23H2.vhdx C:\Users\micka\windows-openstack-imaging-tools\Windows_11_Pro_23H2.raw
AVERTISSEMENT : Failed to run: C:\Users\micka\windows-openstack-imaging-tools\bin\qemu-img.exe convert -O raw C:\Users\micka\windows-openstack-imaging-tools\Windows_11_Pro_23H2.vhdx C:\Users\micka\windows-openstack-imaging-tools\Windows_11_Pro_23H2.raw
18/12/2023 15:10:35 - Failed to run: C:\Users\micka\windows-openstack-imaging-tools\bin\qemu-img.exe convert -O raw C:\Users\micka\windows-openstack-imaging-tools\Windows_11_Pro_23H2.vhdx C:\Users\micka\windows-openstack-imaging-tools\Windows_11_Pro_23H2.raw
Failed to run: C:\Users\micka\windows-openstack-imaging-tools\bin\qemu-img.exe convert -O raw C:\Users\micka\windows-openstack-imaging-tools\Windows_11_Pro_23H2.vhdx C:\Users\micka\windows-openstack-imaging-tools\Windows_11_Pro_23H2.raw
Au caractère C:\Users\micka\windows-openstack-imaging-tools\WinImageBuilder.psm1:1068 : 13
+             Throw ("Failed to run: " + ($Command -Join " "))
+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (Failed to run: ...11_Pro_23H2.raw:String) [], RuntimeException
    + FullyQualifiedErrorId : Failed to run: C:\Users\micka\windows-openstack-imaging-tools\bin\qemu-img.exe convert -O raw C:\Users\micka\windows-openstack-imaging-tools\Windows_11_Pro_23H2.vhdx C:\Users\micka\windows-openstack-imaging-tools\Windows_11_Pro_23H2.raw

Thanks for the help

When I try to execute the qemu-img convert command manually :
error while writing sector 0: Input/output error

Hello,
You should still have C:\Users\micka\windows-openstack-imaging-tools\Windows_11_Pro_23H2.vhdx.
If you need to convert it to .raw file, make sure you have enough free space, as the raw image type needs its exact size free: Final disk size: 21.001953125 GB

Thank you very much, I will try to upload it to openstack and create instance with it.

It seems to work well ! But I can't connect to the instance, I don't find the good password for admin account.
I tried the password in UnattendTemplate.xml file and config file.

Hello,
I think this blog post might give some clarity on how the password part works: https://cloudbase.it/openstack-windows-admin-password/
Thanks.

Thanks a lot again, the nova get-password works like a charm.


I couldn't seem to include the exclude this file

When I added either:
-x, --blacklistedPatternsFilename
With
node --max-old-space-size=6000 --no-deprecation purple-a11y/cli.js -u https://www.whitehouse.gov -c 2 -s same-domain -p 50  -a none --blacklistedPatternsFilename ./pa-gTracker-exclude-medicare.csv -k "Random<EMAIL_ADDRESS>It gave me the hel page.

Would you be able to elaborate :)

I'm going to close this for now as I am having difficulties with the new script.  I will re-open if I can repeat this.


Auth::attempt

Laravel Version: 5.4
PHP Version:5.6
Database Driver & Version:

Description:
Auth::attempt() always return false
Steps To Reproduce:

Please show me your LoginController.

@masterwto ]there every thing i wish to help me

I do think why you are using MD5 hashing.
Use inbuilt laravel hashing.
You no need to pass hashed password to Auth:: attempt method.
https://laravel.com/docs/5.4/hashing

i used hash and give me false too !!!!!!!!!!!!

@mustafaabduljalil Your users table should store password as bcrypt($password) instead of md5(password).
 USE bcrypt OR PBKDF!

@masterwto i wanr auth account by name not id

@mustafaabduljalil
You may then auth your account with
Auth::attemp(['name' => $name, 'password' => $password]);

why not use email instead of name ? :D
i want email because i will use it in another table :D

...
It's up to you.

i did everthing u said but not work too :(

when i use Hash::make(password) created password in database is different if i print it when i login
example if i enter password 123456 laravel put in database $2y$10$DcutrliGf//wzVwfcd9kjutWw0p.AcYjJTqKt72qrGgq7luf63bYe
if i login and print password he print another string is this ok ?

Bcrypt uses a random string as initial salt. Different salt causes different password hashes.

aha u mean at the end after he decrypt that return original password right ??

When
$password = bcrypt('secret')
$password = bcrypt('secret', $password)

i use Hash::make it's working good :)

I'm sorry but I don't have a facebook account.......

no problem :D but really thank u


WebSocketException when trying to connect to lavalink

Hello!
Encountered this exception after updating nyxx and nyxx_lavalink to version 3.x.x
Whenever the client tries to connect it throws this:
[2022-01-24 02:52:05.036827] [INFO] [Lavalink] [Node 1] Trying to connect to lavalink (2/5)
[2022-01-24 02:52:05.039550] [WARNING] [Lavalink] [Node 1] Error while trying to connect to lavalink; WebSocketException: Connection to 'http://<IP_ADDRESS>:2333# was not upgraded to websocket
[2022-01-24 02:52:05.039572] [WARNING] [Lavalink] [Node 1] Failed to connect to lavalink, retrying

And hence lavalink throws this:
2022-01-24 02:52:05.500 ERROR 39839 --- [  XNIO-1 task-1] l.server.io.HandshakeInterceptorImpl     : Authentication failed from /<IP_ADDRESS>:43452
2022-01-24 02:52:10.859 ERROR 39839 --- [  XNIO-1 task-2] l.server.io.HandshakeInterceptorImpl     : Authentication failed from /<IP_ADDRESS>:43536

Never encountered this problem before updating nyxx.
IP, port and password match for sure as I'm loading NodeOptions() options right from the application.yml
netstat -tulpn | grep LISTEN shows that lavalink is running normally:
tcp6       0      0 <IP_ADDRESS>:2333          :::*                    LISTEN      43987/java
application.yml:
server:
  port: 2333
  address: <IP_ADDRESS>
lavalink:
  server:
    password: 'secret'
    sources:
      youtube: true
      bandcamp: true
      soundcloud: true
      twitch: true
      vimeo: true
      mixer: true
      http: true
      local: false

os: ubuntu 20.04 lts, kernel 5.4.0-96-generic
dart: 2.15.1
nyxx: 3.2.4
nyxx_lavalink: 3.0.1
Can this be some internal problem or, perhaps, I'm doing something wrong?

\cc @AlvaroMS25

Are you sure the password is correct? It seems that it's not

@Sintient closing due inactivity. Please reopen issue if you encounter problem again


control-service: expose alerting metrics for execution cleanup job

why: The new execution API introduced a periodically running job
which cleans up older executions, and makes sure the executions
stored in the database do not increase over a certain threshold.
As a user I need metrics to monitor the status of the cleanup job,
if I had cleanup failures, or how many executions were deleted.
what: Exposed execution cleanup metrics which include information
about the job name, job team if the deletion of unwanted executions
was successful and number of deleted executions per data job.
testing: added unit tests. Started a locally running tpcs and made sure
metrics are exposed. Output format in a comment below.
Signed-off-by: Momchil Zhivkov<EMAIL_ADDRESS>

How are those metrics going to be used? Can you write example PromQL queries that show some monitoring use-case so we are sure the data model (metrics name, tags, values) is correct? Before we jump into implementation first thing we need to make sure that the data model works.

We can have an offline chat to discuss the rationale about my suggestions.

How are those metrics going to be used? Can you write example PromQL queries that show some monitoring use-case so we are sure the data model (metrics name, tags, values) is correct? Before we jump into implementation first thing we need to make sure that the data model works.

In the latest changes we have a Counter which counts the invocations of the cleanup job. We can create a metric based on invocation rate in a limited amount of time for example over 24h. This way if there are no invocations that means the cleanup job is not being executed.
In the latest changes we have a gauge that has a value for failed or successful cleanups of data job executions. We can create a metric based on failed execution cleanups.
In the latest changes we have a gauge that has a value for the number of deleted executions per data job. This is optional but we can create an alert based on individual data jobs that we know for a fact should have deletions over a fixed number of time.


Problems Inconsistent

Type: Bug
Sometimes when filter active "Show active file only" its doesnt show any problem on the tab but still number on top of icon.
Sometimes problem keep showing on file that doesnt exist(closed already)
VS Code version: Code 1.76.2 (ee2b180d582a7f601fa6ecfdad8d9fd269ab1884, 2023-03-14T17:55:54.936Z)
OS version: Windows_NT x64 10.0.22621
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz (8 x 1992)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
undefined

Memory (System)
15.82GB (5.15GB free)

Process Argv
--crash-reporter-id 7f762620-6841-4b50-a708-f26ba5286bf4

Screen Reader
no

VM
0%

Extensions (18)

Extension
Author (truncated)
Version

Bookmarks
ale
13.3.1

linehighlightbookmarkvscode
bal
1.0.2

vscode-tailwindcss
bra
0.9.9

indented-block-highlighting
byi
1.0.7

npm-intellisense
chr
1.4.4

macos-modern-theme
dav
2.3.18

vscode-eslint
dba
2.4.0

gitlens
eam
13.4.0

prettier-vscode
esb
9.10.4

auto-rename-tag
for
0.1.10

copilot
Git
1.78.9758

vscode-dimmer-block
ima
2.2.0

RelativePath
jak
1.5.0

regionfolder
map
1.0.21

material-icon-theme
PKi
4.25.0

vscode-css-peek
pra
4.2.0

santacodes-region-viewer
San
1.1.1

region-marker
txa
1.2.1

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vsclangdc:30486549
c4g48928:30535728
dsvsc012:30540252
pynewvextcfv2:30681851
azure-dev_surveyone:30548225
pyindex848:30662994
nodejswelcome1cf:30587006
282f8724:30602487
pyind779:30671433
89544117:30613380
pythonsymbol12:30671437
a9j8j154:30646983
vsccsb:30677849
functionswalk:30687959
pythonms35:30686772

Sometimes when filter active "Show active file only" its doesnt show any problem on the tab but still number on top of icon.

Number badge represents all problems, not the number of filtered problems.

Sometimes problem keep showing on file that doesnt exist(closed already)

Can you please provide steps to repro?

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


The given range isn't in document

Steps to reproduce:

Open contrib panel
Add one symbol to first contrib name
Remove first contrib

Fixed

whoops wrong issue

This happens if we try to recover the selection on an just deleted surface.

Two issues with different priorities are involved here:

Surface disposal is broken (critical)
Selection is not invalidated if the containing context has been deleted

Fixed the first issue via https://github.com/substance/substance/pull/1071/commits/f51ad882585b12d6e38c4da5f653ced3dc8df22a


LCFS - Prod environment setup

LCFS prod quota increase has bee approved
ClamAV has been deployed on prod
TFRS prod still keeps https://lowcarbonfuels.gov.bc.ca
LCFS prod will use https://lcfs-prod.apps.silver.devops.gov.bc.ca
Prod release:

Expose the LCFS prod url https://lcfs-prod.apps.silver.devops.gov.bc.ca - Ready to be exposed
Create network policies to allow the LCFS Backend to access TFRS Backend - Done
Data migration from TFRS prod to LCFS prod - Pending
SSO Keycloak BCeID and IDIR integration - Pending

LCFS Prod environment is up and running
Need to backup and secrets in Vault

Backup secret on Vault has been done


Fix path for windows platfrom

Hi,
When running the "getting started" on windows platform, there is an error with path to sqlite database. So I add one line to fix it.

Coverage decreased (-0.2%) to 80.968% when pulling fcf5494f53f3e006b9dab553d5cbdd970f79f557 on tienhv:master into 04f3e3bc8f989185c3d39f7545ff5347a91e6a44 on airbnb:master.


Typo in error message for add buyer

Instead of b/ADDRESS, should be b/BUDGET

add: Adds a property's details to the application. Parameters: n/NAME p/PHONE a/ADDRESS s/ASKING_PRICE t/TYPE


Fix vault bugs for upgrade from Tarmak 0.5.4

Signed-off-by: Mattias Gees<EMAIL_ADDRESS>
What this PR does / why we need it:
When I was doing the upgrade test from Taramk 0.5.4 to Tarmak 0.6.1, I was running into a few problems.
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:
Release note:

Fix upgrade problems with Vault

/test verify quick

This has been replaced by #766 #767 #768
Thanks @MattiasGees, maybe double check if you are happy with my changes


Avoid relative urls in the .gitmodules file

This change makes it easier for new contributors to contribute to coda.
After I forked coda and did git submodule init && git submodule update --recursive, I had a failure:
ERROR: Repository not found.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@github.com:rahulmutt/async_kernel'  ...

It turns out that the submodule urls are defined relatively so I had to fork all the submodules in order to make it work.
This PR updates .gitmodules to use absolute instead of relative urls so that contributors don't have to fork unnecessarily.
Checklist:

[ ] Tests were added for the new behavior
[ ] All tests pass (CI will check this if you didn't)
[ ] Serialized types are in stable-versioned modules
[ ] Does this close issues? No

Thanks! I'll look at the build failures in the morning. It's failing because there are secrets that aren't available to builds that aren't from the codaprotocol/coda repo. Which they shouldn't be, but it should fail gracefully in this case.


Audio of the speaker gets overboosted

The local audio track gets duplicated for the participant with the focus.

Fixed by #418


Draft: PoC for OIDC implementation

I'm working on adding first-class OIDC support:
const client = new OidcClient({
  // The base URI of your OIDC server
  server: process.env.OIDC_PROVIDER_URL,
  // OAuth2/OIDC client id
  clientId: process.env.OIDC_CLIENT_ID,
})

export const oauthFetchWrapper = new OAuth2Fetch({
  client,
  useIdToken: true,
  //...
})

Related to issues #67 & #68

I realized a few other things were missing that I didn't want to implement myself (ID token deserialization, user storage, ..)
so I ended up pivoting to oidc-client-ts :tipping_hand_man: (although it's less modern and so on :sweat_smile:

I thought about it - this branch works fine... so it could still be merged as a starting point :thinking:
But at your discretion, dear maintainers - and thx anyways :)

Hi @tennox ,
It's tricky. Some people requested adding a few more properties (like idToken), which I get, but the question then becomes: how much of OIDC do we implement?
If we do a little, feature requests will continue to roll in. If we do the whole thing, a major issue is that we would need a JWT implementation and this library becomes a lot larger.
So the only 2 ways forward I see are:

Define a very strict useful subset that gets added here, based on some criteria (not sure what!) that ensures that the library stays lean.
Instead of adding openid features here, create a separate package specifically for OpenID Connect features.

so yeah im not really sure what to do with this, but I do really appreciate the work. You could publish this code as your own package and make my library a dependency maybe?

Hey @evert ,
I see.
I think this lib convinced me by being lean and small, so I think adding a lot doesn't help.
In general, as I said, I ended up using the other lib that is made for oidc, because there was more things it did for me - so I I'm not very invested into this decision about this lib 🤔
My take on it is that it could be really useful that, if you only need Auth, and no JWat/userinfo stuff, maybe having this lib supporting that (and only that, as a clear scope) would be a good thing - but izlt's a made-up example, so the realistic scenarios are rather small I think.
So I guess I'll close this and the lib stays with it's current focus.?
Maybe a hint in the readme about this?
"This library focuses on OAuth2 only. If you need OIDC support, check out e.g. oidc-client-ts" or smth like that 🤔
In any case - thanks for your work & responsiveness ♥


Help getting Calendar info for conf rooms?

Howdy,
I'm new to using this API and somewhat to EWS as well. I'm trying to gather a report for conference room calendars.  I see the example of the code on how to gather details for a calendar, but how would I do that for many calendars and export the data to a report?
Thanx to all in advance!
S.J

Hi S.J,
did you manage to get the calendar info of the conf rooms?
Greetings
Lugo


Initialization of opimization paper

Creating proposal for initial structure and workflow setups etc. for planned optimization paper

just a question, how are we planning to do that  (I'm fine with both options)
a) direct integration into lebedigital as a usecase
b) separate integration that requires the lebedigital package to be installed as external package, but has all the rest separated?
c) starting with a) and planning to move to b) (in particular when there are no more substantial changes in the computations (when the focus is on the actual writing)

I assumed a) but I am open for suggestions. I am not sure how b) would look like. what do you mean with "separate integration"?

Then I would suggest a) or c), if at some point we fell it necessary.
My reason to keep it in the repository (for now), is that we are still working on the code, making testing and integrating new changes easier.
I am not sure what the advantage of the seperate repo would be.

The advantage of a separate repo is only that we do not clutter the original repo with things that are not relevant and in addition the second repo does not necessarily has to be public (e.g. before publishing the paper).


Issue/cleanup config node removal

Started updating the config node cli to allow removing config-nodes by ID.
Unfortunately when implementing the unit tests for this, this showed a number of problems in the code, so I guess a real fix for this will requite a bit larger refactoring of the code in general.

any updates？

This will be replaced by my general refactoring of the clis.

This PR is superceded by this one: https://github.com/apache/iotdb/pull/13194

Then I will close this pr


Authentication window not opening in browser[BUG]

Describe the bug
1.34 version has been installed on Windows Server 2019 Standard VM. When authentication process started, the authentication window in the default browser (chrome) doesn't come up.
This issue doesn't come up on the company laptop only on VMs specifically in the 1.34 version.
To Reproduce
Authenticating after upgrade
Expected behavior
1.33.1 version was re-installed where the issue didn't come up. Authentication was successful.

Hi @GenAcc119 I'm marking this issue with needs-author-feedback,  can you please provide a code sample that reproduces the error you're seeing and also share the list of Java SDK jars and version numbers?

The issue occurs right after the new version is installed.

The "plug" icon doesn't react.
Can you give me instructions where I can find the list of Java SDK jars and version numbers please?
Thank you!

Sorry for not being clear.  The version 1.33 that is mentioned in the issue, what is the name of that package?  Is that the version of Azure Storage Explorer?


Travis CI: Exclude more extensions from Coveralls

There's probably more that can be excluded.

Coverage remained the same at 83.208% when pulling 6834a5d47546a23b727f869dee6bd597e48f94c7 on EwoutH:patch-23 into 52f0bd7fc460e3f3a137d5b48ddfc075bbc78649 on xiph:master.


call_get_managed_object doesn't work

running the following code:
from dbus_next.aio import MessageBus
from dbus_next import BusType, Message
import asyncio

loop = asyncio.get_event_loop()

async def main():
    bus = await MessageBus(bus_type=BusType.SYSTEM).connect()

    introspection = await bus.introspect('org.bluez', '/org/bluez')
    db =  bus.get_proxy_object('org.bluez', '/org/freedesktop/DBus', introspection.default())
    object_manager = db.get_interface('org.freedesktop.DBus.ObjectManager')

    objects = await object_manager.call_get_managed_objects()
    await loop.create_future()

loop.run_until_complete(main())

generates a signature error: dbus_next.errors.DBusError: Method "GetManagedObjects" with signature "" on interface "org.freedesktop.DBus.ObjectManager" doesn't exist
Am I calling this incorrectly?

Hi,
BlueZ Object Manager is on the root node only. You need to introspect and get proxy object of "/".
Try this:
introspection = await bus.introspect('org.bluez', '/')
db = bus.get_proxy_object('org.bluez', '/', introspection)
object_manager = db.get_interface('org.freedesktop.DBus.ObjectManager')

Does it advertise the interface and method on the path /org/bluez and say there's no method? That seems like a mistake on the server.


How can I send a route-action from component instead of template

In few words I would like to invoke the action from my component.js instead of helper usage. Is it possible?

You can pass the action to your component like this:
{{my-component myAction=(route-action 'action-name')}}
and inside your my-component.js do this this.get('myAction')()

What @urbany said

We noticed using the latest version that you can use the route-action helper directly in the component template and it will look for the action on the current active route then bubble (so you don't have to even set it as a property on the component context). It feels funny though, like it breaks the explicit connection of DDAU. Should this be documented in any way or is there a way to have the library enforce that you are calling the helper in a controller context?

I've noticed this as well. I was definitely under the impression that route-action was only accessible on route templates.

I've noticed this as well. I was definitely under the impression that route-action was only accessible on route templates.

That's funny, I think I always used it inside components.

@urbany should I open a new issue to at the very least get this behavior documented?

This is unintended behavior. It does work, but it's not supported and shouldn't be relied on


Zone Highlight Color picker does not fill fields correctly

Environment
Windows build number: Version 10.0.18985.1
PowerToys version: 0.11.0
PowerToy module for which you are reporting the bug (if applicable): FancyZones

Steps to reproduce

Open options of PowerToys
Go to FancyZones, scroll down to "Zone Highlight Color"
Pick a color where either the red, the green or the blue component is zero

Expected behavior
The red,green and blue fields are filled with the correct values.

Actual behavior
The component with 0 as value has an empty textbox.

Screenshots

Great catch!  Thanks for the bug report


VSTest should be able to find prerelease versions of Visual Studio

Required Information
Entering this information will route you directly to the right team and expedite traction.
Question, Bug, or Feature?
Type: Feature
Enter Task Name: VSTest@2
Issue Description
Our build agents have a preview version of Visual Studio installed. The VSTest task cannot detect vstest.console.exe. It fails with the error "Visual Studio 2015 is not found. Try again with a version that exists on your build agent machine.".
We have worked around this by specifying vstestLocation, but it would be less brittle if we could avoid this.
The VSTest task uses vswhere to find Visual Studio installations. vswhere supports a -prerelease flag which will include preview versions of Visual Studio in its search. The VSTest task should consider passing this flag to vswhere. If not by default, then perhaps the user could opt-in with something like vsTestVersion: 'latestprerelease'.

This is still an issue in the latest version of the VSTest task.
I would be happy to help contribute a fix here, but I would need some feedback from the task maintainers about whether -prerelease should be included by default or as an opt-in option.


Conditional logging

I would like to specify, based on the response or request, when to log the body:
ResponseLogger.httpApp(logHeaders = true, logBody = (res: Response[IO]) => !res.status.isSuccessful)(app)

Possibly should be included in this issue thread #1503 ?

My workaround: https://gist.github.com/soujiro32167/7dd43d11484b56d65555e3f2ddf8d392

Potentially a breaking change, so let's evaluate before 1.0.


Multiple AAD Group Using Same Name

Hello Team,
Please be informed that I can Create Multiple AAD Group using the Same Display Name.
Consider the Name of the AAD Group = AM-Test-100
The AAD Group "AM-Test-100" was created successfully from Azure Portal.
Next time, I tried to create AAD Group with the same name "AM-Test-100" from Azure Portal, it displays "GROUP NAME NOT AVAILABLE".
This is the expected behavior.
Now, I tried to create AAD Group with the Same Name "AM-Test-100" not using Azure Portal but this time using Az CLI.
Below is the command:-
az ad group create --display-name AM-Test-100 --mail-nickname AM-Test-100
The command executes successfully.
As Observed from Azure Portal, now we have 2 AAD Groups with Same Name "AM-Test-100" but with different Object IDs.
Question 1 - Is this an expected behavior or a bug ?
Now, I Execute the same command like above, changing only the "mail-nickname" -
az ad group create --display-name AM-Test-100 --mail-nickname AM-Test-100-01
The command executes successfully.
As Observed from Azure Portal, now we have 3 AAD Groups with Same Name "AM-Test-100" but with different Object IDs.
Question 2 - Is this an expected behavior or a bug ?
Note: "mail-nickname" is not displayed over Azure Portal.
Awaiting for your response.
Many Thanks
Regards, Arindam Mitra

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

ID: 34960494-f5eb-4144-b508-0573f7382e40
Version Independent ID: 0c7138d1-9849-0b71-8e76-22d0116ff663
Content: az ad group
Content Source: latest/docs-ref-autogen/ad/group.yml
Service: active-directory
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

@jiasli for awareness

Hello @yonzhan @jiasli
Please let me know if I my understanding is wrong ?
Many Thanks
Regards, Arindam Mitra

Hello @yonzhan @jiasli
If time permits, please update
Awaiting for your response!!!
Many Thanks
Regards,
Arindam Mitra

Hello @yonzhan @jiasli
If time permits, please update
Awaiting for your response!!!
Many Thanks
Regards,
Arindam Mitra

Hello @yonzhan @jiasli
If time permits, please update
Awaiting for your response!!!
Many Thanks
Regards,
Arindam Mitra

Hello @yonzhan @jiasli
If time permits, please update
Awaiting for your response!!!
Many Thanks
Regards,
Arindam Mitra

Hello @yonzhan @jiasli
Any update Please!!!
Many Thanks
Best Regards, Arindam Mitra

Hello @yonzhan
/cc: @jiasli
I see you have added a feature request.
Could you please share a direct link.
Also, If you can confirm if this is a bug.
Many Thanks
Regards, Arindam Mitra

Hello @yonzhan
/cc: @jiasli
Please update when you find time
Many Thanks
Regards, Arindam Mitra

Hello @yonzhan
/cc: @jiasli
Any update please ?
Many Thanks
Regards, Arindam Mitra

Hello @yonzhan
/cc: @jiasli
Please update when you find time
Many Thanks
Regards, Arindam Mitra

Hello @yonzhan
/cc: @jiasli
Please update !!!
Many Thanks
Regards, Arindam Mitra

Hello @yonzhan
/cc: @jiasli
Request for an update please.
Many Thanks
Regards, Arindam Mitra

Hello @yonzhan
/cc: @jiasli
Request for an update please when time permits.
Many Thanks
Regards, Arindam Mitra

Hello @yonzhan
/cc: @jiasli
Request for an update please when you find time.
Many Thanks
Regards, Arindam Mitra

Hi @arindam0310018, apologize for the delay as I was fully occupied with other high-priority tasks. Also, since this issue is not a bug, it falls out of my radar.
Azure CLI is merely a REST client of Microsoft Graph API. The behavior of allowing creating multiple groups with the same displayName is from Microsoft Graph API Create group: https://learn.microsoft.com/en-us/graph/api/group-post-groups?view=graph-rest-1.0&tabs=http
If you are concerned with such behavior, you may reach out to Azure support: https://azure.microsoft.com/en-us/support
Thanks for your understanding.

Hello @jiasli
Thank you for your kind reply.
I see your point.
I CANNOT create AAD group from Azure Portal using the same display name, but I CAN created multiple AAD Group with same display name using AZCLI (my modifying just the "Nick name" Parameter).
2 Questions more -

Does this mean that I should open another Issue in Github with AZCLI/MS Graph API Team or should I directly report this to Azure Support team as you have mentioned above ? The Reason I ask is the fact that I can create multiple AAD Group with same display name from AZCLI which still appears to be as bug. Yes, Offcourse, this is not happening from Portal but definitely from AZCLI.

I can only create multiple AAD Groups with Same Display name by altering the the Nickname Parameter in the AZCLI command. Below is the command:-

az ad group create --display-name AM-Test-100 --mail-nickname AM-Test-100
az ad group create --display-name AM-Test-100 --mail-nickname AM-Test-100-01
az ad group create --display-name AM-Test-100 --mail-nickname AM-Test-100-02
You see from above, that I can create 3 or more AAD Groups with Same Display name "AM-Test-100" by just altering the nickname parameter.
However, I cannot see the value of the Nickname in Azure Portal against the group. Is this expected ? If Yes, a little explanation would be helpful.
Many Thanks
regards, Arindam Mitra

Hello @jiasli
Appreciate an update from your side when you find time.
Many Thanks
Regards, Arindam Mitra

Hello @jiasli
Kindly update when you find time.
Many Thanks
Regards, Arindam Mitra


Add MLP to teacher instead of student

Freeze teacher
add mlp on top
train teacher again with this new mlp (for CLIP just do contrastive learning for a bit)
distill this new teacher + MLP into student

One big problem with continuing from distilled models of different sizes is that usually the bare models have different output embedding dimensionalities. For example CLIP L/14 outputs 768 and H/14 outputs 1024. What we currently do is take the student (H/14) and add an MLP on top to bring it down to the teachers (L/14) embedding space. But this is problematic because when you want to continue with contrastive fine-tuning you need to take that MLP off and exposes the true outputs of the student model which are not contrastively useful. This means for the first few (potential few hundred/thousand) steps the model needs to learn this property which might knock it out of it's good distilled initialization since those weights are not frozen.
A potential alternative would be to freeze the teacher model and add the MLP on top of it, then train the teacher contrastively just so the MLP finds some trivial solution to make the teacher output larger dimensional that are contrastively useful. This should be much simpler since the only trainable weights are inside the MLP. That way when we start distilling the teacher into the student we no longer need to take off anything after training since it's output embedding is already contrastively useful. This means contrastive fine tuning should continue more smoothly.


cmd/compile: casting byte to an int8 with a constant value greater than 127 throws an error

What version of Go are you using (go version)?
go version go1.11 darwin/amd64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/jack/Library/Caches/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/jack/Development/Go"
GOPROXY=""
GORACE=""
GOROOT="/usr/local/Cellar/go/1.11/libexec"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.11/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/67/bwpvphcn1kx4xjjzhvxtt6yw0000gn/T/go-build917588304=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?
Tried running the following code;
package main

import "fmt"

func main() {
	fmt.Printf("value: %d\n", int8(byte(200)))
}

What did you expect to see?
value: -56

What did you see instead?
./main.go:6:30: constant 200 overflows int8

The following code seems to work fine, so there's something odd going on when using a constant value in byte(...);
package main

import "fmt"

func main() {
	i := 200
	fmt.Printf("value: %d\n", int8(byte(i)))
}

It works correctly. This behavior is defined in the language specification.

overflows are allowed at run time, but not at compile time.

See https://blog.golang.org/constants


Create an export functionality for single API backend configuration

To be able to import single  API backend configurations to Apinf, the configurations need to be first exported from an existing API backend. The exporting solutions should adhere to API Umbrella configuration format.
Definition of done

[ ] Document fields and structure of API Umbrella configuration format to API Umbrella project repository.
[ ] Create function to export a single API backend to API Umbrella format.
[ ] Create Export API button to catalogue UI.

Keep Nick informed on the design plans.

Basically, apiUmbrella allows to export all the APIs created at once and to one file. Here is the example of fresh API configurations export. I also modified config file export for easier understanding of API configuration structure at apiUmbrella site. Here is single API config example. (This config file can also be used for testing #344)
The approach is to generate JSON document on a client-side, the document will contain API backend configurations. Once document is generated, using FileSaver.js meteor package, user will be able to download it after clicking on Export Configurations button.
There is also possibility for "bonus" functionality - to allow user to choose apiConfig file format/extension of file to be exported (for example YAML or JSON)


Xpath example 3 has a hanging bracket

The XPath expression /[local-name=()="file"] and namespace-uri()="http://contoso.com"/[local-name()]="location" and namespace-uri()=""] has an additional right bracket that does not apply to a left one.

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

ID: 03aa9e88-7fa0-56ab-f794-58f0c37b6d7a
Version Independent ID: 25c5ef5c-6ba4-f5ff-f94b-8f2818ec2feb
Content: Reference for functions in Workflow Definition Language - Azure Logic Apps and Microsoft Flow
Content Source: articles/logic-apps/workflow-definition-language-functions-reference.md
Service: logic-apps
GitHub Login: @ecfan
Microsoft Alias: estfan

Hi @lucashuet93 Thank you for reporting this issue! We will review and make any necessary changes.

@lucashuet93 Thanks for catching that! We have raised a PR to fix it.