Keypoint transformation while doing fliplr

Thank you guys for the great work! your efforts are appreciated.
I wanted to do some transformation on an image and transform a keypoint with the same transformation. so I used
        seq = iaa.Sequential([
            iaa.Fliplr(0.5), # horizontal flips
            iaa.Affine(
                rotate=10,
                scale={"x": (0.8, 1.2), "y": (0.8, 1.2)},
            ) # rotate by exactly 10deg and scale to 50-70%, affects keypoints
        ])

          kps = KeypointsOnImage([
              Keypoint(x=center[0], y=center[1])
          ], shape=img.shape)

          img, kps = seq(image=img, keypoints=kps)
          center[0] = kps.keypoints[0].x
          center[1] = kps.keypoints[0].y

But I noticed that there are some problems with the Fliplr,  the x component is not transformed by the flipping. I expect the new x should be  img width - old x. I see the x doesn't change and the transformation(Rotation and scale) works fine without the flipping.

Anyone solved this?

I've also observed something similar in imgaug == 0.4.0. Curious if there's been a solution to this?


Is it possible to generate a strategy for Oracle?

As I have seen, your code uses CTE and this strategy can be used for Postgres.
But, can we make a generic strategy, which, is irrespective of whichever database, it can ultimately avoid creating temporary tables.
As, I am facing some permission issue with Oracle and not able to create temporary tables.

Of course, yes. I think it's a very good idea. Can you contribute with this development?

would love to. I shall update you once I come up with some design/idea on how to solve this.


⚠ GitLab Server has degraded performance

In 08523aa, GitLab Server (https://gitlab01.its-telekom.eu) experienced degraded performance:

HTTP code: 200
Response time: 14095 ms

Resolved: GitLab Server performance has improved in 8b3f567.


Install issue 2.0.1 -> collect static fails to create directories

Environment

Nautobot version (Docker tag too if applicable): 2.0.1
Python version: 3.10.12
Database platform, version: postgres
Middleware(s):none

Steps to Reproduce

New installation of nautobot
Following instructions at https://blog.networktocode.com/post/installing-nautobot/
Issue command nautobot-server collectstatic

Expected Behavior
Expected directories to be created and static files to be collected

Error occurred
nautobot@server:~$ nautobot-server collectstatic
16:21:56.992 ERROR   nautobot.core.apps :
Error in link construction for Notes: Reverse for 'note_list' not found. 'note_list' is not a valid view function or pattern name.
Traceback (most recent call last):
File "/opt/nautobot/bin/nautobot-server", line 8, in
sys.exit(main())
File "/opt/nautobot/lib/python3.10/site-packages/nautobot/core/cli/init.py", line 54, in main
run_app(
File "/opt/nautobot/lib/python3.10/site-packages/nautobot/core/runner/runner.py", line 297, in run_app
management.execute_from_command_line([runner_name, command] + command_args)
File "/opt/nautobot/lib/python3.10/site-packages/django/core/management/init.py", line 419, in execute_from_command_line
utility.execute()
File "/opt/nautobot/lib/python3.10/site-packages/django/core/management/init.py", line 413, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/opt/nautobot/lib/python3.10/site-packages/django/core/management/base.py", line 354, in run_from_argv
self.execute(*args, **cmd_options)
File "/opt/nautobot/lib/python3.10/site-packages/django/core/management/base.py", line 398, in execute
output = self.handle(*args, **options)
File "/opt/nautobot/lib/python3.10/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 187, in handle
collected = self.collect()
File "/opt/nautobot/lib/python3.10/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 105, in collect
for path, storage in finder.list(self.ignore_patterns):
File "/opt/nautobot/lib/python3.10/site-packages/django/contrib/staticfiles/finders.py", line 130, in list
for path in utils.get_files(storage, ignore_patterns):
File "/opt/nautobot/lib/python3.10/site-packages/django/contrib/staticfiles/utils.py", line 23, in get_files
directories, files = storage.listdir(location)
File "/opt/nautobot/lib/python3.10/site-packages/django/core/files/storage.py", line 330, in listdir
for entry in os.scandir(path):
FileNotFoundError: [Errno 2] No such file or directory: '/opt/nautobot/ui/build/static'
As a workaround, I manually created /opt/nautobot/ui/build/static and re-ran collectstatic

Temporary workaround:
If you create that structure yourself (assuming you have the config dir mapped in your docker container) and restart nautobot it works
I use volume mapping/opt/nautobot/config:/opt/nautobot in my docker file and created the full path /opt/nautobot/config/ui/build/static

Confirmed that works, and was my work around as well.
On Sat, Nov 4, 2023 at 11:03 AM Bart Smeding @.***>
wrote:

Temporary workaround:
If you create that structure yourself (assuming you have the config dir
mapped in your docker container) and restart nautobot it works
I use volume mapping/opt/nautobot/config:/opt/nautobot in my docker file
and created the full path /opt/nautobot/config/ui/build/static
—
Reply to this email directly, view it on GitHub
https://github.com/nautobot/nautobot/issues/4620#issuecomment-1793484006,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZ4D7ZKM5RRVDJGLDDMDPVDYCZRLZAVCNFSM6AAAAAA5XA7RPGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJTGQ4DIMBQGY
.
You are receiving this because you authored the thread.Message ID:
@.***>

O yeah see now in you're last line, sorry overlooked

No worries.  I just figured someone would update the script to create the
path
On Sat, Nov 4, 2023 at 11:06 AM Bart Smeding @.***>
wrote:

O yeah see now in you're last line, sorry overlooked
—
Reply to this email directly, view it on GitHub
https://github.com/nautobot/nautobot/issues/4620#issuecomment-1793484650,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZ4D7ZLAKMZEAUWB42KYUZLYCZRX7AVCNFSM6AAAAAA5XA7RPGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJTGQ4DINRVGA
.
You are receiving this because you authored the thread.Message ID:
@.***>

@lampwins is the fix here to:

[ ] Update the blog post with 2.x installation instructions?
[ ] Update collectstatic to create any necessary directories? (This would have to be vendored from django)

Let's update the blog


[BUG] Eldritch Heritage Arcane Bond Bug

Attach a Bug Report
https://github.com/WittleWolfie/CharacterOptionsPlus#reporting-problems
Describe the bug
Using the Eldritch Heritage - Arcane Feat, to gain Arcane Bond, tried to restore the spell, it didn't work, giving the error "Out of resources: BloodlineArcaneItemBondResource
Steps to reproduce the behavior:

Give Nenio the Eldritch Heritage Feat, Select the Arcane Bond
Expend a Spell
Attempt to restore spell using the Arcane Bond feature

Expected behavior
Spell resoted
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Yes, Cantrips are also showing the Arcane bond as available
Additional mods:
Added Feats
Auto Mount
Bubble Buffs
Bubble Tweaks
Dark Codex
Enhanced Inventory
Finnean Tweaks
Fix Alignment Shifts
Kineticist Elements Expanded
Levelable Aivu
Madison's Metagaming
Martial Excellence
Medium Class
Microscopic Content Expansion
Miscellaneous Tweaks and Fixes
Mod Menu
More Bulk Sell
Phoenix's Cantrips, More Cantrips
Multiple Archetypes
Mystical Mayhem
Mythic Arcanist
Phoenix's Cantrips
WOTR Resource Unification Mod
Respec Mod
Spellbook Merge
Spell Pouch
TTT Base
TTT Core
TTT Mythic Rework
Toggleable Throwable Weapons
Tome of the Firebird
Toybox
VA2
Weapon Focus Plus
AC (Homebrew Archetypes)
AC Testing Grounds (Homebrew Archetypes)
Homebrew Archetypes
Ninja Class

Manual_27_Gwerm_s_Mansion__18_Arodus__VIII__4715__01_03_05.zip

Unable to repro. The way the code implementation works this is exactly the ability granted by the Arcane Bloodline (i.e. unchanged). Given it works in my setup this looks like another mod is breaking it.
The next step if you can is to try acquiring Arcane Bloodline normally and see if you run into the same issue. If so it's just another mod; otherwise there could be a mod conflict though that would be very odd.

Given that this is probably a conflict w/ another mod I'm going to close out for now. If you can determine that it's a mod conflict with COP + Mod (i.e. Arcane Bloodline works w/ Mod enabled, COP enabled, but not both) please re-open.


Add some basic instruction on how to run airrohr-mqtt with systemd

This PR provides an example file for a configuration of a systemd user.unit and adds some instructions in the manual on how to use it.

Cool, thanks! Could you squash the commits into a single one? Otherwise it looks good :+1:


Module build failed: Error: Couldn't find preset "es2015" relative to directory

Just installed vue-timepick and i got this error when i tried to use it in the component
Module build failed: Error: Couldn't find preset "es2015" relative to directory "/node_modules/vue2-timepicker"     at /node_modules/babel-core/lib/transformation/file/options/option-manager.js:293:19     at Array.map (native)     at OptionManager.resolvePresets (node_modules/babel-core/lib/transformation/file/options/option-manager.js:275:20)     at OptionManager.mergePresets (/node_modules/babel-core/lib/transformation/file/options/option-manager.js:264:10)     at OptionManager.mergeOptions (/node_modules/babel-core/lib/transformation/file/options/option-manager.js:249:14)     at OptionManager.init (node_modules/babel-core/lib/transformation/file/options/option-manager.js:368:12)     at File.initOptions (/node_modules/babel-core/lib/transformation/file/index.js:212:65)     at new File (/home/martin/git/dean-frontend/node_modules/babel-core/lib/transformation/file/index.js:135:24)     at Pipeline.transform (node_modules/babel-core/lib/transformation/pipeline.js:46:16)     at transpile (node_modules/babel-loader/lib/index.js:46:20)     at Object.module.exports (node_modules/babel-loader/lib/index.js:163:20)
I fixed the issue by installing this package. To fix it could be added as a dependency to the package.
npm install  babel-preset-es2015 --save

In a Laravel project of mine I had a similar issue where I had to install the transform-runtime babel plugin and some other stuff, this command did it for me:
yarn add babel-plugin-transform-runtime babel-preset-es2015 babel-preset-stage-2 --dev
For npm this would look something like this: npm install --save-dev babel-plugin-transform-runtime babel-preset-es2015 babel-preset-stage-2

I also have this question

It's no useful for me:npm install babel-preset-es2015 --save

:npm install babel-preset-es2015 --save-dev work for me

Closing this with the new release v0.2.0 [#66]

Related to #15


feat: added test to update required service

GitHub Issue: #
Proposed Changes

[x] Bug fix
[x] Feature
[ ] Code style update (formatting)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build or CI related changes
[ ] Documentation content changes
[ ] Other, please describe:

Description

Added some test for the update required service, and fixed a bug that was caused by having two subscription to the changes made by the firebase remote config, where only one was getting updated.
Impact on version

[ ] Major

The template structure was changed.

[x] Minor

New functionalities were added.

[ ] Patch

A bug in behavior was fixed.
Documentation was changed.

PR Checklist
Always applicable
No matter your changes, these checks always apply.

[x] Your conventional commits are aligned with the Impact on version section.
[x] Updated CHANGELOG.md.

Use the latest Major.Minor.X header if you do a Patch change.
Create a new Major.Minor.X header if you do a Minor or Major change.
If you create a new header, it aligns with the Impact on version section and matches what is generated in the build pipeline.

[ ] Documentation files were updated according with the changes.
[x] Images about the template are referenced from the wiki and added as images in this git.
[x] TODO comments are hints for next steps for users of the template and not planned work.

Contextual
Based on your changes these checks may not apply.

[x] Automated tests for the changes have been added/updated.
[x] Tested on all relevant platforms

Other information

Internal Issue (If applicable):

I could wait until the functional test are added, but I think this is enough? What do you think, @jeanplevesque


Let's remove outdated @babel/plugin-proposal-xxx in modern build?

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Summary 💡
In a word, some @babel/plugin-proposal-xxx in babel.config.js maybe outdated and should be removed.
Docs said "the modern folder targets the latest released versions of evergreen browsers".
However I found the rest property (like const { a, ...others } = obj) in modern build is also transpiled to use babel's polyfill (_objectWithoutProperties(xxx)). See modern/Accordion in unpkg.
This's because of:
https://github.com/mui/material-ui/blob/9f5ae34c2454b600347417bf3d6037d1390df9d0/babel.config.js#L65-L70
In babel's docs of object-rest-spread plugin, "This plugin is included in @babel/preset-env, in ES2018". So I try to remove these line of code, the output is satisfied, without polyfill. And other builds, like stable, node and legacy, was not changed.
Examples 🌈
No response
Motivation 🔦
Smaller bundle size & better performance on modern platform.

This will be a small change, should I take a PR?
I think this change is still follow our compatibility promise, so no breaking changes happen.

These code was written 3 years ago, at that time these syntaxes were still in the proposal stage.


Solved problems adding new attributes to user . #1509

Mainly problem was types of User was not defined it was a typescript error and  due to this User coming from nextauth can have various roles and id but i have not made them mandatory by using

interface and roles defined
Made changes in next.auth.ts file
These problem mostly arise from typescript

I have made changes in #1509 only problem was types of User was not defined so that was causing typescript linting error


Ivor/create new journal saving

Description

Related Issue

How Has This Been Tested?

Checklist

[ ] All automated tests have been passed locally (unit / e2e / linter / coverage)
[ ] New unit and E2E tests have been added to address the changes made
[ ] Manual testing has been performed according to the provided instructions
[ ] Code follows team's coding style, convention and standards
[ ] Documentation has been updated to reflect relevant changes (if applicable)

Screenshots (if applicable):

made this on accident is the exact same, you can just delete it or merge it lol

mistake making this


"Сontacting the merchant to update your shipping address" error message when trying to pay with PayPal

Description
Customers are not able to place an order: they try to pay with PayPal and get this error: "Сontacting the merchant to update your shipping address". Some payments may successfully go through and appear in PayPal accounts, but orders won't be placed in Ecwid stores.

Screenshots or videos that show the issue

http://take.ms/AwE4Q

Steps to reproduce

Open https://store15436277.ecwid.com/, add a product to the shopping bag and proceed to checkout;
Click the "Pay with PayPal" button;
Fill in the payment form and pay.

What happens:

The session is successfully created, but

POST https://www.paypal.com/webapps/xoonboarding/api/checkout/EC-4U117753FY9470635/session/create returns 200

The authorization request is successful and

POST https://www.paypal.com/webapps/xoonboarding/api/checkout/EC-4U117753FY9470635/session/authorize returns 200 too

Then, a charge occurs, but customers are not redirected to the store

Affected browsers
It can be reproduced in any browser.

Hey @UnaEcwid,
Could you please post your integration code?

We are seeing exactly the same issue with checkout.js 4.0.228, started today.

We've identified the issue and are rolling out a fix. Thanks for your patience, guys.

I've checked - it's working correctly now, thanks!


Panic for nightly when using use_local_storage

This may be because of an unsupported branch
In my toplevel App component I do
let (token, set_token, _) = use_local_storage::<String, StringCodec>("token");
When running the app with leptos watch I get
thread 'main' panicked at /home/glenn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/leptos_reactive-0.5.6/src/runtime.rs:1010:10:
tried to create a signal in a runtime that has been disposed: RuntimeDisposed(RuntimeId(4294967295v1))

For example:
leptos = { git = "https://github.com/dgsantana/leptos", branch="axum_7", features = ["nightly"] }
leptos_axum = { git = "https://github.com/dgsantana/leptos", branch="axum_7", optional = true }
leptos_meta = { git = "https://github.com/dgsantana/leptos", branch="axum_7", features = ["nightly"] }
leptos_router = { git = "https://github.com/dgsantana/leptos", branch="axum_7", features = ["nightly"] }
leptos-use = "0.9.0"

This issue doesn't include a complete reproduction and is about a function from a community library not maintained in this repo and a fork of this library maintained by someone else. Hard for me to know how I could be useful here, You might consider opening an issue in leptos-use that includes a full reproduction.


[CSS] Add more grid breakpoints after Extra Large

Summary
Screens can be pretty large nowadays. Old Bootstrap grid system with the largest breakpoint stopping at >= 1200px is not enough. I'd suggest adding more breakpoints after XL up to 4k and maybe even few more to cover future resolutions.

What is the change? Add more breakpoints for larger screens
Why should it go in Clarity? To let people fine-tune layouts >= 1200px by using grid classes and not going into writing media queries.
Does this change impact existing behaviors? No.
If this change introduces a new behavior, is this behavior accessible? Yes.

Use case
It will allow me to set form controls and other components widths using the grid, without having too wide components on large screens, or without writing media queries in CSS and breaking consistency.
Workarounds
I guess extra breakpoints can be added if you compile Clarity scss in your project, but doing so only to get breakpoints is an overkill IMO.

@colinreedmiller

+1  Would at minimum like to see an XXL breakpoint @ ~1600px, just so large displays (i.e. TV monitors) can utilize space better than the averaged laptop resolution.

This item should be little more priority as most of application now using 1600px+ resolution and we can see so much white space for app.
same value for grid column don't work for app 1200px and 1900px

Applications can define extra options in their own CSS (without compiling Clarity), so nobody is blocked by Clarity.
There is a workaround available for this issue, and we recommend using it for Clarity Angular. We would consider a contribution to address this issue if someone is able to work out a solution. As we build Clarity Core implementations, we expect that this issue won’t be an issue or will be configurable on the application side. To help us clean up our backlog, we are going to close this with a functional workaround available and suggest you follow updates for Clarity Core for enhancements that can support your use case with Clarity Core components.

Applications can define extra options in their own CSS (without compiling Clarity), so nobody is blocked by Clarity.
There is a workaround available for this issue, and we recommend using it for Clarity Angular. We would consider a contribution to address this issue if someone is able to work out a solution. As we build Clarity Core implementations, we expect that this issue won’t be an issue or will be configurable on the application side. To help us clean up our backlog, we are going to close this with a functional workaround available and suggest you follow updates for Clarity Core for enhancements that can support your use case with Clarity Core components.


BUG: data frame plot hangs when logx True and some x are zero

In [1]: import pandas as pd
In [2]: import matplotlib.pyplot as plt
In [3]: import numpy as np
In [8]: pandas.version.version
Out[8]: '0.14.1'
In [9]: x = [1,0]
In [10]: y= [2,3]
In [11]: df = pd.DataFrame()
In [12]: df['x'] = x
In [13]: df['y'] = y
In [14]: df
Out[14]:
   x  y
0  1  2
1  0  3
In [15]: df.plot('x', 'y', kind = 'scatter')
Out[15]: <matplotlib.axes.AxesSubplot at 0x10d366590>
In [16]: plt.show() # this works
In [17]: df.plot('x', 'y', logx = True, kind = 'scatter')
Out[17]: <matplotlib.axes.AxesSubplot at 0x10d39bf10>
In [18]: plt.show() # hangs forever

closing as stale. pls reopen if still an issue.


Improve cancellation support

I think that improved cancellation support is needed for the async/await compatible classes this library provides (like IAsyncAction and others, or resumable_io and others.)
Right now, we may have the following "task":
class Some
{
  IAsyncAction keep_alive_task;

  IAsyncAction keep_alive()
  {
    auto cancelled = co_await get_cancellation_token;
    while (!cancelled())
    {
      co_await 10min;
      // do some work
    }
  }
public:
  Some()
  {
    keep_alive_task = keep_alive();
  }

  ~Some()
  {
    keep_alive_task.Cancel();
    try {
      keep_alive_task.get();  // will block for as much as 10 minutes
    } catch(...) {}
  }
};

Currently, we have no way of cancelling that pending timer and will have to wait in Some::~Some until it fires.
While it is possible to create a version of cancellable timer (which I successfully did in my project), this all does not compose well. That is, there is no "connection" between outer cancellation and inner cancellation.
It would be nice to incorporate some solid cancellation support, for example, like in Concurrency Runtime with its cancellation sources, its tokens and subscriptions.
Are there any thoughts or future plans on improving cancellation support?

Yes, we plan to support deeper cancellation support particularly for things like I/O cancellation where a ReadFile or equivalent may be blocked indefinitely.

Are you talking about modified resumable_io class with cancellation support (which I also created for my project), or about a way to associate outer cancellation with an inner one, possibly several levels deep? Like in my example, when I call IAsyncAction::Cancel on keep_alive_task, inner timer (or I/O in your example) are automatically cancelled?

There are two different modes or issues related to cancellation. The first is the cancellation of nested awaitable WinRT types for which we must work within the bounds of the cancellation statement machine through the ABI. The second is the cancellation of objects scheduled to the thread pool. Each of the thread pool objects support cancellation to varying degrees and I/O presents specific challenges since the I/O operation itself needs to be canceled along with the thread pool object that is waiting for its completion. The two need to be coordinated to avoid a leak.

Yeah, I understand. It's wonderful that this is being addressed. Keep up a good work!


DAP UI integration?

I'm not exactly sure how hex editors work. Is this a compiled view or can this also be dynamic view? Is there a way to connect to dap-ui and view the editor update the memory in real time?
Like a floating window, but in neovim:

Ref: Video from 22:16 https://youtu.be/T4CjOB0y9nI?feature=shared

Such an interesting usecase!
AFAIK DAP clients (the debugger underneath) attaches to a running process and changes live memory values.
I'm unsure if this is the correct way to implement this but I think developing this feature require 2 essential parts:

a method to reliably read the memory of the DAP-attached-process
a performant way to re-read said memory everytime DAP UI changes a value

And I'm unsure on how to go about the 1st part

For the first part,
I think nvim-dap has not yet integrated this: https://github.com/mfussenegger/nvim-dap/issues/331.
However vimspector has something similar (Although this does not show the memory addressed the same way...)

Hmm I see
Is this a codelldb only feature or are there other DAP adapters that provide something similar?

I don't think this such a feature is specific to lldb, but as of now it has been implemented in vimspector for lldb.
Cpp-tools is the other one that I know of, they have merged something like this directly into vscode as well.

hmm, as interesting as it is.
I don't have the knowledge to implement such capability into the plugin.
I'll say it's out of scope however a PR or a working draft would be a good starting point and are welcome.


BMMC data for RNA and ATAC translation

Thank you very much for sharing. I found that some data was not sorted during the reproduction process. How do you handle the sorting of these data such as BMMC data how to sort？Can you provide a tutorial on sorting peaks

Thanks for your suggestion! We have already provided the codes for sorting peaks in
BioX-NKU/scButterfly_source/experiment/RNA_ATAC/cross_validation_by_cell/run_model.py.

Thank you very much for your reply. While reproducing your tutorial using scbuterfly-C, I encountered UserWarning: Make sure the registered product expression in andata contains normalized count data. I have changed several datasets and the issue persists. Have you ever encountered this problem?I hope to receive your reply. Thank you very much

I'm sorry I have no idea about this warning. Could you provide more information about the warning, such as a screenshot? Would scButterfly-B/T produce a similar warning? It may be related to the use of MultiVI in scButterfly-C.

I found it to be a MultiVi issue, the other two models do not have this problem

adata_gene.X=adata_gene.layers['counts']
adata_protein.X=adata_protein.layers['counts'] I am not sure if the data you are using is normalized or not. If the data X is normalized, I suggest adding this sentence to ensure successful operation

Thanks for your suggestion. The data we used for MultiVI is all the raw counts data but with the genes/peaks filter consistent with scButterfly. However, MultiVI seems to have a rather strict detection for the data distribution.

Yes, I found that using data X directly is indeed normalized and cannot run. I can use raw data, where layers ['counts'] are the raw data. I hope this suggestion will be more user-friendly for reproduction.

Thank you very much! I will soon add this tip to the readme part.


feat: add mail component

Because

we want users to be able to fetch mail and send mail through vdp

This commit

build mail component with send and read mail

e2e test
read email test

send email test


sync: do will_wake check in MultiWakerRegistration.

Thanks @Dirbaio, this resolved the issue for me. Now works with SUBS=2 which matches the number of PubSubChannel.subscriber() calls.

bors r+


Error while having callbackscripts in the filepath

Which version and edition of Flyway are you using?
If this is not the latest version, can you reproduce the issue with the latest one as well?
(Many bugs are fixed in newer releases and upgrading will often resolve the issue)
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
Which database are you using (type & version)?
Which operating system are you using?
What did you do?
(Please include the content causing the issue, any relevant configuration settings, the SQL statement that failed (if relevant) and the command you ran.)
What did you expect to see?
What did you see instead?

I am seeing the below exceptions while adding a callback script on the file path.
Flyway Enterprise Edition (trial) 5.2.4 by Boxfuse licensed to Dell until 2019-04-04
ERROR: Your 30 day limited Flyway trial license has expired and is no longer valid. You must upgrade to a full Flyway Enterprise Edition license immediately to keep on using this software.
Database: jdbc:oracle:thin:@My database URL (Oracle 12.1)
Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
at org.flywaydb.core.internal.database.oracle.pro.SQLPlusDefineSqlStatement.(SQLPlusDefineSqlStatement.java:34)
at org.flywaydb.core.internal.database.oracle.OracleSqlStatementBuilder.getSqlStatement(OracleSqlStatementBuilder.java:191)
at org.flywaydb.core.internal.sqlscript.SqlScript.addStatement(SqlScript.java:152)
at org.flywaydb.core.internal.sqlscript.SqlScript.extractStatements(SqlScript.java:138)
at org.flywaydb.core.internal.sqlscript.SqlScript.(SqlScript.java:86)
at org.flywaydb.core.internal.callback.SqlScriptCallbackFactory.(SqlScriptCallbackFactory.java:87)
at org.flywaydb.core.Flyway.prepareCallbacks(Flyway.java:1808)
at org.flywaydb.core.Flyway.execute(Flyway.java:1705)
at org.flywaydb.core.Flyway.repair(Flyway.java:1566)
at org.flywaydb.commandline.Main.executeOperation(Main.java:174)
at org.flywaydb.commandline.Main.main(Main.java:108)
Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 11 more
Flyway Enterprise Edition (trial) 5.2.4 by Boxfuse licensed to Dell until 2019-04-04
ERROR: Your 30 day limited Flyway trial license has expired and is no longer valid. You must upgrade to a full Flyway Enterprise Edition license immediately to keep on using this software.
Database: jdbc:oracle:thin:@My datbase URL (Oracle 12.1)
Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
at org.flywaydb.core.internal.database.oracle.pro.SQLPlusDefineSqlStatement.(SQLPlusDefineSqlStatement.java:34)
at org.flywaydb.core.internal.database.oracle.OracleSqlStatementBuilder.getSqlStatement(OracleSqlStatementBuilder.java:191)
at org.flywaydb.core.internal.sqlscript.SqlScript.addStatement(SqlScript.java:152)
at org.flywaydb.core.internal.sqlscript.SqlScript.extractStatements(SqlScript.java:138)
at org.flywaydb.core.internal.sqlscript.SqlScript.(SqlScript.java:86)
at org.flywaydb.core.internal.callback.SqlScriptCallbackFactory.(SqlScriptCallbackFactory.java:87)
at org.flywaydb.core.Flyway.prepareCallbacks(Flyway.java:1808)
at org.flywaydb.core.Flyway.execute(Flyway.java:1705)
at org.flywaydb.core.Flyway.migrate(Flyway.java:1356)
at org.flywaydb.commandline.Main.executeOperation(Main.java:161)
at org.flywaydb.commandline.Main.main(Main.java:108)
Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 11 more
Flyway Enterprise Edition (trial) 5.2.4 by Boxfuse licensed to Dell until 2019-04-04
ERROR: Your 30 day limited Flyway trial license has expired and is no longer valid. You must upgrade to a full Flyway Enterprise Edition license immediately to keep on using this software.
Database: jdbc:oracle:thin:@Mydatabase url (Oracle 12.1)
Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
at org.flywaydb.core.internal.database.oracle.pro.SQLPlusDefineSqlStatement.(SQLPlusDefineSqlStatement.java:34)
at org.flywaydb.core.internal.database.oracle.OracleSqlStatementBuilder.getSqlStatement(OracleSqlStatementBuilder.java:191)
at org.flywaydb.core.internal.sqlscript.SqlScript.addStatement(SqlScript.java:152)
at org.flywaydb.core.internal.sqlscript.SqlScript.extractStatements(SqlScript.java:138)
at org.flywaydb.core.internal.sqlscript.SqlScript.(SqlScript.java:86)
at org.flywaydb.core.internal.callback.SqlScriptCallbackFactory.(SqlScriptCallbackFactory.java:87)
at org.flywaydb.core.Flyway.prepareCallbacks(Flyway.java:1808)
at org.flywaydb.core.Flyway.execute(Flyway.java:1705)
at org.flywaydb.core.Flyway.info(Flyway.java:1521)
at org.flywaydb.commandline.Main.executeOperation(Main.java:167)
at org.flywaydb.commandline.Main.main(Main.java:108)
Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 11 more

Thanks for reporting. Arrgh! It appears a SLF4J dependency inadvertently sneaked into the SQLPlusDefineSqlStatement class. Fixed.

Possible workarounds:

Do not use DEFINE statement (may not be possible)
Add SLF4J to the jars directory of your Flyway installation (probably the best choice)

I added the jar slf4j-api-1.7.26.jar, which in turn needed another dependency slf4j-simple-1.7.2.jar.
Now the callbacks are working fine.


chore: Added Discord-Bot

Related Issue #1942

Description
Hello @priyankarpal ,
Here is a project called discord bot using python with listen the cmds with the . and run the functionality.
skip, play, run, next

Screenshots

Screenshot -

Done you can merge it now.

@priyankarpal pleaes give me the labels as per level.
btw than you for merging.

@priyankarpal pleaes give me the labels as per level. btw than you for merging.

We are not providing any labels for project additions as they are not associated with solving any issues.( according to gssoc23 rules)


Add MSI Installer

I have some experience configuring wix v4 from a tutorial that I am working on: https://github.com/JPHutchins/python-distribution-example/tree/main/distribution/windows
TODO:

[ ] see what is most common for other Rust projects
[ ]  list the required features - e.g. option to start in tray on windows startup?
[ ]  consensus for framework

This feature belongs to the milestone "winget / microsoft store".

BTW, it seems like this application has a nice design for simplicity which is that persisted state is owned by USBIPD-win, not this application.  Which makes the portable work great!  I noticed on the roadmap some thoughts about configs ... definitely the MSI makes that doable - it means that config files are saved under the AppData folder.  Configs would not be lost when the application is updated (via winget, manual MSI run, or Microsoft Store).
Would be good to confirm that this is a requirement in the long run.

I see this https://github.com/volks73/cargo-wix.  But my gut feeling is that the abstraction may more problems than it solves.  WiX is already an abstraction, why not use it directly?

Here's an MSI build. Related to #8 , opt-level is 0.
WSL USB Manager.zip

If this is something you'd like to implement, I'm all for it. As I've said in another issue, sadly I don't have the time to work on this anymore, mostly because I switched to Fedora Linux and I don't need this app anymore. I'll still try to make some time for reviewing and merging PRs, so if you want you can go ahead and create a PR for this.


[WIP][Review] Reproduce high io task exec/wait case in count(1) case

Why I'm doing:
What I'm doing:
Fixes #issue
What type of PR is this:

[ ] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[x] Yes, this PR will result in a change in behavior.
[ ] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

[ ] This is a backport pr

Bugfix cherry-pick branch check:

[ ] I have checked the version labels which the pr will be auto-backported to the target branch

[ ] 3.2
[ ] 3.1
[ ] 3.0
[ ] 2.5

I've tested this pr with following SQL
And if concurrent query number is 1, the profile is like

__MAX_OF_IOTaskExecTime: 10s798ms
__MAX_OF_IOTaskWaitTime: 2s173ms

And if concurrent number to 8, the we can see io task wait time increases.

__MAX_OF_IOTaskExecTime: 21s935ms
__MAX_OF_IOTaskWaitTime: 25s748ms

If set to 16, this profile will be like

__MAX_OF_IOTaskExecTime: 27s889ms
__MAX_OF_IOTaskWaitTime: 38s691ms

I've made up a case that

force orc scanner to sleep 1min in do_open
run query on orc table
meanwhile, run above query in concurrent = 8.

This case is very extreme,  but it can show that some query maybe make io task wait time very long.

__MAX_OF_IOTaskExecTime: 13s478ms
__MAX_OF_IOTaskWaitTime: 5m49s

right now it's quite expensive to detect file format of a table.
in practice there will be only 1 format for a single table, but there could also be a case that multiple formats co-exist.
And to be accurate enough, we have to list files, and it's quite expensive now.

right now it's quite expensive to detect file format of a table.
in practice there will be only 1 format for a single table, but there could also be a case that multiple formats co-exist.
And to be accurate enough, we have to list files, and it's quite expensive now.

each partition's file format must be the same, we already know it in FE. I think we don't need to do additional list files operations.


Sample data is called addressbook.json

To change to ailurus.json

Turns out have to delete preferences.json. It was loading old user preferences


Arch-in-arch container not getting IPv4 after system upgrade

Required information

Distribution: Arch linux
Distribution version:  5.4.25.a-2-hardened
LXC/LXD version

[joachim@aether ~]$ lxd --version
3.22
[joachim@aether ~]$ lxc --version
3.22

The output of "lxc info":

config: {}
api_extensions:
- storage_zfs_remove_snapshots
- container_host_shutdown_timeout
- container_stop_priority
- container_syscall_filtering
- auth_pki
- container_last_used_at
- etag
- patch
- usb_devices
- https_allowed_credentials
- image_compression_algorithm
- directory_manipulation
- container_cpu_time
- storage_zfs_use_refquota
- storage_lvm_mount_options
- network
- profile_usedby
- container_push
- container_exec_recording
- certificate_update
- container_exec_signal_handling
- gpu_devices
- container_image_properties
- migration_progress
- id_map
- network_firewall_filtering
- network_routes
- storage
- file_delete
- file_append
- network_dhcp_expiry
- storage_lvm_vg_rename
- storage_lvm_thinpool_rename
- network_vlan
- image_create_aliases
- container_stateless_copy
- container_only_migration
- storage_zfs_clone_copy
- unix_device_rename
- storage_lvm_use_thinpool
- storage_rsync_bwlimit
- network_vxlan_interface
- storage_btrfs_mount_options
- entity_description
- image_force_refresh
- storage_lvm_lv_resizing
- id_map_base
- file_symlinks
- container_push_target
- network_vlan_physical
- storage_images_delete
- container_edit_metadata
- container_snapshot_stateful_migration
- storage_driver_ceph
- storage_ceph_user_name
- resource_limits
- storage_volatile_initial_source
- storage_ceph_force_osd_reuse
- storage_block_filesystem_btrfs
- resources
- kernel_limits
- storage_api_volume_rename
- macaroon_authentication
- network_sriov
- console
- restrict_devlxd
- migration_pre_copy
- infiniband
- maas_network
- devlxd_events
- proxy
- network_dhcp_gateway
- file_get_symlink
- network_leases
- unix_device_hotplug
- storage_api_local_volume_handling
- operation_description
- clustering
- event_lifecycle
- storage_api_remote_volume_handling
- nvidia_runtime
- container_mount_propagation
- container_backup
- devlxd_images
- container_local_cross_pool_handling
- proxy_unix
- proxy_udp
- clustering_join
- proxy_tcp_udp_multi_port_handling
- network_state
- proxy_unix_dac_properties
- container_protection_delete
- unix_priv_drop
- pprof_http
- proxy_haproxy_protocol
- network_hwaddr
- proxy_nat
- network_nat_order
- container_full
- candid_authentication
- backup_compression
- candid_config
- nvidia_runtime_config
- storage_api_volume_snapshots
- storage_unmapped
- projects
- candid_config_key
- network_vxlan_ttl
- container_incremental_copy
- usb_optional_vendorid
- snapshot_scheduling
- container_copy_project
- clustering_server_address
- clustering_image_replication
- container_protection_shift
- snapshot_expiry
- container_backup_override_pool
- snapshot_expiry_creation
- network_leases_location
- resources_cpu_socket
- resources_gpu
- resources_numa
- kernel_features
- id_map_current
- event_location
- storage_api_remote_volume_snapshots
- network_nat_address
- container_nic_routes
- rbac
- cluster_internal_copy
- seccomp_notify
- lxc_features
- container_nic_ipvlan
- network_vlan_sriov
- storage_cephfs
- container_nic_ipfilter
- resources_v2
- container_exec_user_group_cwd
- container_syscall_intercept
- container_disk_shift
- storage_shifted
- resources_infiniband
- daemon_storage
- instances
- image_types
- resources_disk_sata
- clustering_roles
- images_expiry
- resources_network_firmware
- backup_compression_algorithm
- ceph_data_pool_name
- container_syscall_intercept_mount
- compression_squashfs
- container_raw_mount
- container_nic_routed
- container_syscall_intercept_mount_fuse
- container_disk_ceph
- virtual-machines
- image_profiles
- clustering_architecture
- resources_disk_id
- storage_lvm_stripes
- vm_boot_priority
- unix_hotplug_devices
- api_filtering
- instance_nic_network
- clustering_sizing
- firewall_driver
- projects_limits
- container_syscall_intercept_hugetlbfs
- limits_hugepages
api_status: stable
api_version: "1.0"
auth: trusted
public: false
auth_methods:
- tls
environment:
  addresses: []
  architectures:
  - x86_64
  - i686
  certificate: |
    -----BEGIN CERTIFICATE-----
    MIIFUzCCAzugAwIBAgIRAIc3EeihS2w4U6Gn3fNBXdcwDQYJKoZIhvcNAQELBQAw
...    c+TGnm0MAQJRU7eVVpJUgEAkvq4kePxJyp49wdqBotcigLQLU3MpRHt3jmBymqqq
    gCp0aBzk9604ObzmKI+x/sRUgKiN6VOAcEsac+/00M6XWvo7PPAV00NTYbCSoCAi
    -----END CERTIFICATE-----
  certificate_fingerprint: a526d17f320be26be458eb.....51ccec8516eee6e6a2d0dfbe3
  driver: lxc
  driver_version: 3.2.1
  firewall: xtables
  kernel: Linux
  kernel_architecture: x86_64
  kernel_features:
    netnsid_getifaddrs: "true"
    seccomp_listener: "true"
    seccomp_listener_continue: "false"
    shiftfs: "false"
    uevent_injection: "true"
    unpriv_fscaps: "true"
  kernel_version: 5.4.25.a-2-hardened
  lxc_features:
    cgroup2: "false"
    mount_injection_file: "true"
    network_gateway_device_route: "true"
    network_ipvlan: "true"
    network_l2proxy: "true"
    network_phys_macvlan_mtu: "true"
    network_veth_router: "true"
    seccomp_notify: "true"
  project: default
  server: lxd
  server_clustered: false
  server_name: aether
  server_pid: 385
  server_version: "3.22"
  storage: btrfs
  storage_version: "5.4"

Issue description
I upgraded one of my containers ('matrix', arch). After the upgrade, no ipv4 address was assigned. I remembered I had this problem previously (see issue https://github.com/lxc/lxd/issues/4071), but the suggested solution did not work anymore.
As it concerned a system version problem at the time, I upgrade my host system as well. This did not alleviate the problem. Existing other containers are getting their ipv4 as expected. New containers, launched with:
 lxc launch images:archlinux/current/amd64 testarchprivileged -c security.privileged=true
 lxc launch images:archlinux/current/amd64 testarchunprivileged
... are getting an ipv4 too. Slightly at a loss where to look for differences between the containers now. Systemd-networkd seems to behave similarly, systemd-networkd-wait-online.service is in a failed state though (probably expected in this scenario?). Any ideas?
Information to attach

[ ] Any relevant kernel output (dmesg)
Nothing out of the ordinary at first glance.
[ ] Container log (lxc info NAME --show-log)

Name: matrix
Location: none
Remote: unix://
Architecture: x86_64
Created: 2017/12/19 19:26 UTC
Status: Running
Type: container
Profiles: default
Pid: 1477
Ips:
  eth0:	inet6	fd42:55b4:3fbf:1fde:216:3eff:fe65:1c98	veth34266fe9
  eth0:	inet6	fe80::216:3eff:fe65:1c98	veth34266fe9
  lo:	inet	<IP_ADDRESS>
  lo:	inet6	::1
Resources:
  Processes: 19
  Disk usage:
    root: -1B
  CPU usage:
    CPU usage (in seconds): 6
  Memory usage:
    Memory (current): 188.65MB
  Network usage:
    lo:
      Bytes received: 0B
      Bytes sent: 0B
      Packets received: 0
      Packets sent: 0
    eth0:
      Bytes received: 96.46kB
      Bytes sent: 1.73kB
      Packets received: 966
      Packets sent: 20
Snapshots:
  preupgrade (taken at 2019/09/07 07:26 UTC) (stateless)
  beforecoturn (taken at 2020/03/15 11:57 UTC) (stateless)
  coturnworking (taken at 2020/03/15 17:32 UTC) (stateless)

Log:

lxc matrix<PHONE_NUMBER>3234.978 WARN     initutils - initutils.c:setproctitle:341 - Invalid argument - Failed to set cmdline
lxc matrix<PHONE_NUMBER>3234.339 WARN     cgfsng - cgroups/cgfsng.c:chowmod:1525 - No such file or directory - Failed to chown(/sys/fs/cgroup/unified//lxc.payload/matrix/memory.oom.group, 65536, 0)

[ ] Container configuration (lxc config show NAME --expanded)

architecture: x86_64
config:
  image.architecture: amd64
  image.description: Archlinux current amd64 (20171218_01:27)
  image.os: Archlinux
  image.release: current
  image.serial: "20171218_01:27"
  limits.memory: 300MB
  security.syscalls.blacklist: keyctl errno 38
  volatile.base_image: df30f7d6afd76ded58b3d1cd69bf2446c02110d93fccad1556f8368a3376a5f7
  volatile.eth0.host_name: veth34266fe9
  volatile.eth0.hwaddr: 00:16:3e:65:1c:98
  volatile.eth0.name: eth0
  volatile.idmap.base: "0"
  volatile.idmap.current: '[{"Isuid":true,"Isgid":false,"Hostid":1000000,"Nsid":0,"Maprange":65536},{"Isuid":false,"Isgid":true,"Hostid":1000000,"Nsid":0,"Maprange":65536}]'
  volatile.idmap.next: '[{"Isuid":true,"Isgid":false,"Hostid":1000000,"Nsid":0,"Maprange":65536},{"Isuid":false,"Isgid":true,"Hostid":1000000,"Nsid":0,"Maprange":65536}]'
  volatile.last_state.idmap: '[{"Isuid":true,"Isgid":false,"Hostid":1000000,"Nsid":0,"Maprange":65536},{"Isuid":false,"Isgid":true,"Hostid":1000000,"Nsid":0,"Maprange":65536}]'
  volatile.last_state.power: RUNNING
devices:
  eth0:
    nictype: bridged
    parent: lxdbr0
    type: nic
  root:
    path: /
    pool: default
    type: disk
ephemeral: false
profiles:
- default
stateful: false
description: ""

[ ] Main daemon log (at /var/log/lxd/lxd.log or /var/snap/lxd/common/lxd/logs/lxd.log)
Nothing on the container, except starting and start message.

Some additional information from within the container:
[root@matrix ~]# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet <IP_ADDRESS>/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
16: eth0@if17: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 00:16:3e:65:1c:98 brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet6 fd42:55b4:3fbf:1fde:216:3eff:fe65:1c98/64 scope global dynamic mngtmpaddr
       valid_lft 3175sec preferred_lft 3175sec
    inet6 fe80::216:3eff:fe65:1c98/64 scope link
       valid_lft forever preferred_lft forever

[root@matrix ~]# dhcpcd -4
dev: loaded udev
no valid interfaces found
no interfaces have a carrier
forked to background, child pid 130

[root@matrix ~]# systemctl | grep failed
● sys-kernel-config.mount              loaded failed     failed    Kernel Configuration File System
● sys-kernel-tracing.mount             loaded failed     failed    Kernel Trace File System
● systemd-networkd-wait-online.service loaded failed     failed    Wait for Network to be Configured
● systemd-journald-audit.socket        loaded failed     failed    Journal Audit Socket

[root@matrix ~]# ps fauxww
USER         PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         105  0.0  1.2   7348  3752 ?        Ss   11:25   0:00 bash
root         142  0.0  0.9   8668  2924 ?        R+   11:29   0:00  \_ ps fauxww
root           1  0.0  3.8  22636 11144 ?        Ss   10:32   0:00 /sbin/init
root          45  0.0  4.9  37664 14632 ?        Ss   10:32   0:00 /usr/lib/systemd/systemd-journald
root          50  0.0  0.3  78072  1128 ?        Ss   10:32   0:00 /usr/bin/lvmetad -f
root          54  0.0  2.9  30924  8624 ?        Ss   10:32   0:00 /usr/lib/systemd/systemd-udevd
systemd+      57  0.0  2.4  17900  7136 ?        Ss   10:32   0:00 /usr/lib/systemd/systemd-networkd
dbus          62  0.0  1.4   6612  4236 ?        Ss   10:32   0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
root          63  0.0  2.4  17632  7040 ?        Ss   10:32   0:00 /usr/lib/systemd/systemd-homed
root          64  0.0  2.3  17260  6856 ?        Ss   10:32   0:00 /usr/lib/systemd/systemd-logind
systemd+      66  0.0  5.5  27324 16188 ?        Ss   10:32   0:00 /usr/lib/systemd/systemd-resolved
root          69  0.0  0.7   5416  2076 console  Ss+  10:32   0:00 /sbin/agetty -o -p -- \u --noclear --keep-baud console 115200,38400,9600 linux

It's most likely the systemd-networkd regression hitting you.
Newer images ship a built-in workaround but there's nothing we can do to automatically fix existing containers that get updated.
Create /etc/systemd/system/systemd-networkd.service.d/lxc.conf containing:
[Service]
BindReadOnlyPaths=/sys

Then reboot your container and network should come back up.

To confirm: creating this file in the container helped me. Thanks Stéphane!


AgentStatusWatcher silently dying

It happened twice in vocms0250 this morning. The process gets killed by something
Component:AgentStatusWatcher Not Running
and logs become quiet, of course
2018-09-03 10:24:33,839:139914991240960:INFO:AgentStatusPoller:WMBS data collected in: 10 secs
2018-09-03 10:24:34,421:139914991240960:INFO:AgentStatusPoller:Local WorkQueue data collected in: 0 secs
2018-09-03 10:24:35,250:139914991240960:INFO:BaseWorkerThread:AgentStatusPoller took 28.950 secs to execute

and nothing else

And I found it in /var/log/messages
Sep  3 10:26:36 vocms0250 kernel: [ pid ]   uid  tgid total_vm      rss nr_ptes swapents oom_score_adj name
Sep  3 10:26:36 vocms0250 kernel: [1736467] 31961 1736467  1195986  1063830    2144        0             0 python
Sep  3 10:26:36 vocms0250 kernel: Out of memory: Kill process 1736467 (python) score 70 or sacrifice child
Sep  3 10:26:36 vocms0250 kernel: Killed process 1736467 (python) total-vm:4783944kB, anon-rss:4255316kB, file-rss:4kB, shmem-rss:0kB
Sep  3 10:26:47 vocms0250 systemd: Started Session 26457 of user cmst1.


Add LUFA as submodule

Resolves #4.
This PR has been tested to compile the DualSerial example on both Arduino IDE 1.8.3 and the VSCode Arduino extension.
To try it out, pull this PR, and use $ git submodule init; git submodule update to clone LUFA. After that compilation should just work like it did before.

Don't pull this in for now! I can't seem to figure out how to compile a sketch properly that is not in the examples directory!

Ok, I resolved the issue, it had nothing to do with this PR. It seems safe to pull. Sorry for the confusion.

Hm, wouldn't that cause macros to be defined that would indicate the device to be both a Device and a Host, even if it was just either? To me the fact that LUFA doesn't have an "include everything" header indicates that this sort of behaviour would not be supported.
In any case, I don't think this influences this particular PR, it would be a separate enhancement to discuss.

the Host specific codes are basically for XMEGA mcus.
do we have XMAGArduinos? no, at least not for the past 10 years, and probably wouldn't happen in the next 10 years, either.
but I agree that would become a separated topic.
your commit is probably exactly what I would do if i got to do it myself, thanks in advance.

LUFA.c.inc is a bit different.
Arduino IDE doesn't compile individual .c / .cpp files inside a library directory (at least it wasn't by the time this lib is published), so I had to make some sort of an "amalgamation" to make it compile, and this file cannot end in "normal valid" source code extension.
that's why there is a LUFA.c in the example just to #include <LUFA.c.inc>.

you forgot to add yourself as a contributor to the "Credits" section in README.md.
:-P

Oh that's very interesting, good to know!

you forgot to add yourself as a contributor to the "Credits" section in README.md.

Whoops :D


"Could not get version from api server"

Hello!
Could you tell me please, what am I doing wrong?
I have 2 node cluster on CentOS 7 where kubernetes has been deployed via kubespray.
[root@node1 ~]# kubectl --version
Kubernetes v1.8.3+coreos.0
[root@node2 ~]# kubelet --version
Kubernetes v1.9.3

When I try to deploy operator, I get:
[root@node1 ~]# kubectl create -f https://raw.githubusercontent.com/upmc-enterprises/elasticsearch-operator/master/example/controller.yaml -n operator
serviceaccount "elasticsearch-operator" created
clusterrole "elasticsearch-operator" created
clusterrolebinding "elasticsearch-operator" created
deployment "elasticsearch-operator" created
[root@node1 ~]# kubectl get po -n operator
NAME                                      READY     STATUS    RESTARTS   AGE
elasticsearch-operator-6f6f9c455f-lnffz   0/1       Running   2          1m
[root@node1 ~]# kubectl logs -f elasticsearch-operator-6f6f9c455f-lnffz -n operator
time="2018-02-18T18:57:12Z" level=info msg="elasticsearch operator starting up!"
time="2018-02-18T18:57:12Z" level=info msg="Using Variables:"
time="2018-02-18T18:57:12Z" level=info msg="   baseImage: upmcenterprises/docker-elasticsearch-kubernetes:5.3.1"
time="2018-02-18T18:57:12Z" level=info msg="Using InCluster k8s config"
time="2018-02-18T18:57:42Z" level=error msg="Could not get version from api server:Get https://<IP_ADDRESS>:443/version: dial tcp <IP_ADDRESS>:443: i/o timeout"
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0xeb934b]

goroutine 1 [running]:
github.com/upmc-enterprises/elasticsearch-operator/pkg/k8sutil.newKubeClient(0x0, 0x0, 0xc4203aab40, 0xc4203bbd08, 0x6c0207, 0xc42007
c268, 0x0, 0x0, 0xc4203bbd50, 0x6c05de, ...)
        /Users/stevesloka/godev/src/github.com/upmc-enterprises/elasticsearch-operator/pkg/k8sutil/k8sutil.go:149 +0x1ab
github.com/upmc-enterprises/elasticsearch-operator/pkg/k8sutil.New(0x0, 0x0, 0x10f5dcb, 0x15, 0x1, 0x4dbea3, 0xc4202d9030)
        /Users/stevesloka/godev/src/github.com/upmc-enterprises/elasticsearch-operator/pkg/k8sutil/k8sutil.go:88 +0x4d
main.Main(0xecb393)
        /Users/stevesloka/godev/src/github.com/upmc-enterprises/elasticsearch-operator/cmd/operator/main.go:78 +0x1ad
main.main()
        /Users/stevesloka/godev/src/github.com/upmc-enterprises/elasticsearch-operator/cmd/operator/main.go:144 +0x22

One thing is weird that your nodes have different versions. Also, looks like node02 cannot talk to API server, is that the node the operator deployed to?

Thank you!
It was actually a version issue.


Bipartite matching?

Is it possible to do bipartite matching, or sampling without replacement? I know this handles multiple matches using weights, but is it possible to have a 1:1 match only? Would setting method='min' and nmatches=1 be comparable? Thanks!
https://www.statisticshowto.com/propensity-score-matching/#:~:text=Bipartite designs are more common%2C

Currently, there are no strict restrictions in the code for sampling without replacement. Setting method='min' and nmatches=1 can approximate sampling without replacement. I will try to add code that strictly enforces sampling without replacement during the matching process.

@griffincorriher  The new version has been released, and you can try it out by using pip install pysmatch==0.5. The match method now includes a new parameter replacement to determine whether replacement is necessary during matching. Here is an example of how to use it in Python code:
m.match(method="min", nmatches=1, threshold=0.0001, replacement=False)

If you encounter any issues after trying it, please contact me promptly. Thank you for your suggestions.

Awesome! I am starting the project next week and hope to test it out. I appreciate the quick response and implementation!


{% raw %} plz

File: engine/extend/index.md (and others) CC: @mstanleyjones
01:25:31     Liquid Warning: Liquid syntax error (line 179): [:dot, "."] is not a valid expression in "{{.ImageName}}" in engine/deprecated.md
01:25:31     Liquid Warning: Liquid syntax error (line 179): [:dot, "."] is not a valid expression in "{{.Name}}" in engine/deprecated.md
01:25:31     Liquid Warning: Liquid syntax error (line 179): [:dot, "."] is not a valid expression in "{{.ID}}" in engine/deprecated.md
01:25:41     Liquid Warning: Liquid syntax error (line 156): [:dot, "."] is not a valid expression in "{{.ID}}" in engine/extend/index.md
01:25:41     Liquid Warning: Liquid syntax error (line 156): [:dot, "."] is not a valid expression in "{{.Status}}" in engine/extend/index.md
01:25:41     Liquid Warning: Liquid syntax error (line 156): [:dot, "."] is not a valid expression in "{{.Names}}" in engine/extend/index.md
01:25:41     Liquid Warning: Liquid syntax error (line 156): [:dot, "."] is not a valid expression in "{{.Command}}" in engine/extend/index.md
01:26:20     Liquid Warning: Liquid syntax error (line 283): Expected end_of_string but found id in "{{ TAR STREAM }}" in engine/extend/plugins_graphdriver.md
01:26:20     Liquid Warning: Liquid syntax error (line 326): Expected end_of_string but found id in "{{ TAR STREAM }}" in engine/extend/plugins_graphdriver.md

Already filed in docker repo.

On Feb 16, 2017, at 5:53 PM, John Mulhausen<EMAIL_ADDRESS>wrote:
File: engine/extend/index.md (and others) CC: @mstanleyjones
01:25:31     Liquid Warning: Liquid syntax error (line 179): [:dot, "."] is not a valid expression in "{{.ImageName}}" in engine/deprecated.md
01:25:31     Liquid Warning: Liquid syntax error (line 179): [:dot, "."] is not a valid expression in "{{.Name}}" in engine/deprecated.md
01:25:31     Liquid Warning: Liquid syntax error (line 179): [:dot, "."] is not a valid expression in "{{.ID}}" in engine/deprecated.md
01:25:41     Liquid Warning: Liquid syntax error (line 156): [:dot, "."] is not a valid expression in "{{.ID}}" in engine/extend/index.md
01:25:41     Liquid Warning: Liquid syntax error (line 156): [:dot, "."] is not a valid expression in "{{.Status}}" in engine/extend/index.md
01:25:41     Liquid Warning: Liquid syntax error (line 156): [:dot, "."] is not a valid expression in "{{.Names}}" in engine/extend/index.md
01:25:41     Liquid Warning: Liquid syntax error (line 156): [:dot, "."] is not a valid expression in "{{.Command}}" in engine/extend/index.md
01:26:20     Liquid Warning: Liquid syntax error (line 283): Expected end_of_string but found id in "{{ TAR STREAM }}" in engine/extend/plugins_graphdriver.md
01:26:20     Liquid Warning: Liquid syntax error (line 326): Expected end_of_string but found id in "{{ TAR STREAM }}" in engine/extend/plugins_graphdriver.md
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

CLosing this oldie


v0.2.1 - completion of major updates using AMLPBaseline

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/23456
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.2.1 -m "<description of version>" 717edb4167f60d2197a0e609c48722c5f9fe9795
git push origin v0.2.1


fix: default config

Describe Your Changes
-TODO: unit tests
Fixes Issues

Closes #
Closes #

Self Checklist

[ ] Added relevant comments, esp in complex areas
[ ] Updated docs (for bug fixes / features)
[ ] Created issues for follow-up changes or refactoring needed

Merged into https://github.com/janhq/cortex.cpp/pull/1334


fix: 💫 update crates

Description
Update dependencies.
Type of change

[X] Dependency update

How Has This Been Tested?

[ ] cargo test run with all tests passing

Checklist:

[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have made corresponding changes to the documentation
[X] My changes generate no new warnings
[X] I have added tests that prove my fix is effective or that my feature works
[X] New and existing unit tests pass locally with my changes
[X] Any dependent changes have been merged and published in downstream modules

Current dependencies on/for this PR:

main

PR #3

PR #4   👈

This comment was auto-generated by Graphite.

@rodneylab started a stack merge that includes this pull request via Graphite.

@rodneylab merged this pull request with Graphite.


[SUGGESTION] berny procedure engine specification change

Is your feature request related to a problem? Please describe.
The BernyProcedure currently gets the compute engine to use from the keywords dictionary used to define keywords for the optimization procedure. I think it would be cleaner to get the engine value from the specification of the compute model instead. This would keep all keywords related to the compute engine in one dictionary, and all keywords related to the optimization in the other keywords dictionary.
The way it currently is
water = Molecule.from_data("pubchem:water")

input_spec = QCInputSpecification(
    driver="gradient",
    model={"method": "b3lyp", "basis": "6-31g"},
    # Keywords for compute engine
    keywords={"psi4keyword": "psi4value"},
)

opt_input = OptimizationInput(
    initial_molecule=water,
    input_specification=input_spec,
    protocols={"trajectory": "all"},
    # Define compute engine and keywords for pyberny
    # This seems an odd combination of keywords
    keywords={"program": "psi4", "bernykeyword": "bernyvalue"},
)

qcng.compute_procedure(opt_input, 'berny')

Then this line gets the "program" keyword to get a compute engine.
Describe the solution you'd like
water = Molecule.from_data("pubchem:water")

input_spec = QCInputSpecification(
    driver="gradient",
    model={"method": "b3lyp", "basis": "6-31g"},
    # QC program and its associated keywords kept together
    keywords={"program": "psi4", "psi4keyword": "psi4value"},
)

opt_input = OptimizationInput(
    initial_molecule=water,
    input_specification=input_spec,
    protocols={"trajectory": "all"},
    # Don't mix the program definition with keywords specific to the optimizer
    keywords={"bernykeyword1": "bernyvalue1"},
)

qcng.compute_procedure(opt_input, 'berny')

Change this line as follows:
Current:
program = input_data["keywords"].pop("program")

Desired:
program = comput["keywords"].pop("program")

Since geometric uses a different (internal) mechanism for accessing compute engines, this change would only affect the BernyProcedure

Actually, perhaps the confusion (for me) around where the "program" is defined would be better addressed by this proposal instead, which seeks to improve a few of the issues I came across while implementing various procedures. https://github.com/MolSSI/QCElemental/issues/264


Publish-Module to internally hosted server returns 404

I have setup a NuGet server to host custom PowerShell modules in our office.  I used this page to guide me: https://docs.microsoft.com/en-us/nuget/hosting-packages/nuget-server
When I run:
Publish-Module -Name MyModule -NuGetApiKey MyAPIKey -Repository pwsh
I get the following error.

Publish-PSArtifactUtility : Failed to publish module 'MyModule': 'Failed to process request. 'Not Found'.
The remote server returned an error: (404) Not Found..
'.
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\<IP_ADDRESS>\PSModule.psm1:1244 char:17

            Publish-PSArtifactUtility -PSModuleInfo $moduleInfo `

            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : InvalidOperation: (:) [Write-Error], WriteErrorException
FullyQualifiedErrorId : FailedToPublishTheModule,Publish-PSArtifactUtility

Using Fiddler, I can see there are 3 HTTP calls that are made when I execute Publish-Module:

GET - 200 - http://pwsh.mydomain.net/NuGet/nuget/FindPackagesById()?id='MyModule'&$skip=0&$top=40'&$skip=0&$top=40
GET - 200 - http://pwsh.mydomain.net/NuGet/nuget/Packages
PUT - 404 - http://pwsh.mydomain.net/NuGet/nuget/Packages/

I have left the appSettings/packagesPath value blank, but I have also tried to use the absolute path.  Both return the same result, 404.
The size of the module is 74.0 KB.
My web.config includes:
<handlers>       <remove name="WebDAV" /> </handlers>
and
<modules runAllManagedModulesForAllRequests="true">       <remove name="WebDAVModule" />     </modules>
as well as
<requestFiltering>         <requestLimits maxAllowedContentLength="31457280" />       </requestFiltering>
It also is programmed to accept all verbs (not that I'm getting 405):
<add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
I have registered the NuGet PS Repository using the following code:
$params = @{
name = "pwsh"
SourceLocation = "http://pwsh.mydomain.net/NuGet/nuget"
PublishLocation = "http://pwsh.mydomain.net/NuGet/nuget/Packages"
InstallationPolicy = 'Trusted'
}
and
Register-PSRepository @params
Please help!!

Nevermind....  it was the params
Should have been:
$params = @{
name = "pwsh"
SourceLocation = "http://pwsh.mydomain.net/NuGet/nuget"
PublishLocation = "http://pwsh.mydomain.net/NuGet/nuget"
InstallationPolicy = 'Trusted'
}

Nevermind....  it was the params
Should have been:
$params = @{
name = "pwsh"
SourceLocation = "http://pwsh.mydomain.net/NuGet/nuget"
PublishLocation = "http://pwsh.mydomain.net/NuGet/nuget"
InstallationPolicy = 'Trusted'
}


How to Play videos in Blazor way?

Thanks to the Blazor team and the community. Its looks amazing. Looking forwarding the see how Blazor will change the web development market.
I have a question, How do I play a video using HTML5 video, I can able to bind the src by using the property @VideoUrl, but to play need to call the load() and play() method. I can able to do this using Javascript inside Blazor,

<video >
        <source src="@VideoUrl" type="video/mp4">
</video>

window.playVideo = function (url) {
            var video = document.getElementById('video');
            var mp4 = document.getElementById('mp4');
            mp4.src = url;
            video.load();
            video.play();
        }

Is there any way I can play in the Blazor way.
Thank you.

Thanks for contacting us, @sukeshchand.
You can do anything possible through JavaScript by doing JSInterop. If you want to invoke that functionality from your Blazor App through C#, you will need to write the interop code. Here is the guidance for doing that: https://docs.microsoft.com/en-us/aspnet/core/blazor/javascript-interop?view=aspnetcore-3.0


Not a bug, but the link to examples is broken 😱

Describe the bug (required)
If I click on the examples link on npm, it redirects me to a 404 not found.
Steps To Reproduce (required)
Steps to reproduce the behaviour:

Go to react table npm page
Scroll down to Documentation
Click on examples

Expected behaviour (Recommended)
The examples of documentation should be available.
Screenshots

We're now using the new documentation website.


fs errors when generating

I tried to generate a new project for @testing-library, but there are some fs errors. I think it's failing to copy files to the current directory before moving them, but I'm not sure why. Could there have been breaking changes in Yeoman since?
~ → mkdir example
~ → cd example
~/example → npx -p yo -p generator-kcd-oss -c 'yo kcd-oss'
? What do you want to name your module? example
? Should people install this as one of their devDependencies? Yes
? What's the project description?
node:events:491
      throw er; // Unhandled 'error' event
      ^

Error: ENOENT: no such file or directory, scandir '/Users/nick/example/gitattributes'
    at Object.readdirSync (node:fs:1450:3)
    at exports.readdir (/usr/local/lib/node_modules/generator-kcd-oss/node_modules/@mrmlnc/readdir-enhanced/lib/sync/fs.js:18:20)
    at Object.safeCall [as safe] (/usr/local/lib/node_modules/generator-kcd-oss/node_modules/@mrmlnc/readdir-enhanced/lib/call.js:24:8)
    at DirectoryReader.readNextDirectory (/usr/local/lib/node_modules/generator-kcd-oss/node_modules/@mrmlnc/readdir-enhanced/lib/directory-reader.js:78:10)
    at DirectoryReader.stream._read (/usr/local/lib/node_modules/generator-kcd-oss/node_modules/@mrmlnc/readdir-enhanced/lib/directory-reader.js:57:18)
    at Readable.read (node:internal/streams/readable:496:12)
    at readdirSync (/usr/local/lib/node_modules/generator-kcd-oss/node_modules/@mrmlnc/readdir-enhanced/lib/sync/index.js:27:21)
    at Function.readdirSyncStat (/usr/local/lib/node_modules/generator-kcd-oss/node_modules/@mrmlnc/readdir-enhanced/lib/index.js:34:10)
    at ReaderSync.dynamicApi (/usr/local/lib/node_modules/generator-kcd-oss/node_modules/fast-glob/out/providers/reader-sync.js:64:24)
    at ReaderSync.api (/usr/local/lib/node_modules/generator-kcd-oss/node_modules/fast-glob/out/providers/reader-sync.js:56:25)
Emitted 'error' event on Readable instance at:
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  errno: -2,
  syscall: 'scandir',
  code: 'ENOENT',
  path: '/Users/nick/example/gitattributes'
}

Node.js v18.7.0
~/example → yo doctor

Yeoman Doctor
Running sanity checks on your system

✔ No .bowerrc file in home directory
✔ Global configuration file is valid
✔ NODE_PATH matches the npm root
✔ No .yo-rc.json file in home directory
✔ Node.js version
✔ npm version
✔ yo version

Everything looks all right!

Rats. No idea. I haven't used this in a long time and don't have time to look into it right now 😬

No worries, hopefully another contributor may have ideas.


Module Error on Load

Occurs immediately on loading any scene with this module enabled.

This is from an old chat card where the flag doesn't exist anymore and the module is picking it up. Are you actually having an issue or just don't like the red?

Just saw the issue pop and didn't know if it was causing issues at the time (cleared most of the lag and such by disabling all the beautiful animation modules).
Thanks for the explanation!

Sure thing! I'll see if I can get rid of the red in this next release.

I haven't noticed this in any of my games, so I believe it's fixed now! :)


Dataset query returned no results

Hi,
I'm struggling since yesterday to setup a new project.  I Faced the Google authentication problem and followed the advice given in issue 86.
But even after that, my dashboard were empty, I did some research and after some time I have found that my querys were returning no results.
I see no particular errors in logs and workers are successfully triggered when I send Mock data

It's been some hours now and I'm drying out of ideas, would you have any guess on what's happening ?

Do you have rows in four_keys.events_raw?    When you look at the Scheduled Queries tab, do you see 3 scheduled queries for incidents, changes, and deployments?

Yes to all, I have the 3 scheduled queries for incident, changes and deployment

I also see that I have rows in the four_keys.events_raw

Are they still empty?  Are they all empty or is it just the incidents table?

If it's only the incidents table, it was probably fixed by https://github.com/GoogleCloudPlatform/fourkeys/pull/151.   Could you try re-running the data generator?  https://github.com/GoogleCloudPlatform/fourkeys#generating-mock-data

I checked this morning and yes it seems that the mock data finally showed up

I understand that those scheduled query are responsible to send the data every 24h ? So there was maybe no problem in the end. Sorry for the inconvenience !

No problem!  We're going to transition to views which will be more real time. Glad it's working!


Fix #2762

Description of changes
Summarize the changes made by this PR.

Improvements & Bug fixes

Switch to chunking for metadata query to allow very large queries to the database without throwing sqlite3.OperationalError: too many SQL variables

Test plan
How are these changes tested?

[ ] Tests pass locally with pytest for python, yarn test for js, cargo test for rust

Documentation Changes
Are all docstrings for user-facing APIs updated if required? Do we need to make documentation changes in the docs repository?

yes

Closes #2762

@codetheweb can you take a look here?


LibreOffice documents type support

I'm thinking about adjusting ACCEPTABLE_CONTENT_TYPES to support the native LibreOffice documents as well. Why did you add support for generating previews only from MicrosftOffice documents when you are using LibreOffice under the hood anyway?

Our customers don’t use LibreOffice very heavily. PR welcome.

thx, as a quick hack since ACCEPTABLE_CONTENT_TYPES  hasn't been frozen I did smth like that:
# config/initializers/office_previewer.rb
# Adjust OfficePreviewer to support LibreOffice documents as well
ActiveStorage::Previewer::OfficePreviewer::ACCEPTABLE_CONTENT_TYPES.concat(
  [
    "application/vnd.oasis.opendocument.text", # odt
    "application/vnd.oasis.opendocument.graphics", # odg
    "application/vnd.oasis.opendocument.presentation", # odp
    "application/vnd.oasis.opendocument.spreadsheet", # ods
    "application/vnd.oasis.opendocument.chart", # odc
    "application/vnd.oasis.opendocument.image", # odi
  ],
)

Think that these are most used but any from this list should work as well: https://github.com/LibreOffice/core/blob/master/sysui/desktop/solaris/mime.types
When I find enough strength to generate all the sample files for test purpose will open a PR ;)


Fix rendering driver in Copy System Info for the Compatibility rendering method

Fix #79391

I don't think this is the right fix. Reading the code above, it looks like driver_name is always set to GLOBAL_GET("rendering/rendering_device/driver"). However, when using the GL_Compatibility backend, the driver name should come from GLOBAL_GET("rendering/gl_compatibility/driver").
Right now force setting the driver name works becuase there is only one driver for the GL Compatibility backend, but soon we will have 2 backends on many platforms, so we should fix this properly

Thanks!


drivers: Changed return statement in function get_timeout()

According to the Coverity issue 188890 (github issue 10705)
Fix for overflowed or truncated value  count-1U used as return value.
I decided to use a saturating subtract to avoid a vulnerability.
It will always return 0 or bigger value according to the conditions.
Now if count value is 0, function will return 0, not -1 as before.
Signed-off-by: Masalski Maksim<EMAIL_ADDRESS>

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@bc362fa). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master   #13597   +/-   ##
=========================================
  Coverage          ?   52.45%
=========================================
  Files             ?      322
  Lines             ?    46592
  Branches          ?    10768
=========================================
  Hits              ?    24441
  Misses            ?    17247
  Partials          ?     4904

Continue to review full report at Codecov.

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


implement flake8 setup

Overview
This PR implements a basic flake8 check in travis, with some overrides (see setup.cfg), as well as fixes flake8 errors across the codebase.
Related Issue / Discussion
Additional Information

line length is 120 characters
top of file import warnings are ignored
code in tests/ is excluded

Contribution Agreement
(as per https://github.com/geopython/pywps/blob/master/CONTRIBUTING.rst#contributions-and-licensing)

[ ] I'd like to contribute [feature X|bugfix Y|docs|something else] to PyWPS. I confirm that my contributions to PyWPS will be compatible with the PyWPS license guidelines at the time of contribution.
[x] I have already previously agreed to the PyWPS Contributions and Licensing Guidelines

Coverage decreased (-1.0%) to 75.573% when pulling 6c498c229cdf42450ab09db02e81212974b81e88 on tomkralidis:flake8 into 45326f7a5ecd1fa044f3c5fcb0a29adcb196b889 on geopython:master.

Coverage decreased (-0.1%) to 76.432% when pulling 2fdbb694f180bc7037c801cb7a975dd9fdec6e33 on tomkralidis:flake8 into 45326f7a5ecd1fa044f3c5fcb0a29adcb196b889 on geopython:master.

Coverage decreased (-0.1%) to 76.432% when pulling 2fdbb694f180bc7037c801cb7a975dd9fdec6e33 on tomkralidis:flake8 into 45326f7a5ecd1fa044f3c5fcb0a29adcb196b889 on geopython:master.


implement array_equal()

closes #3125

have made all the changes. And all the tests are passing.
Can you take a look, please? @asi1024

@rushabh-v Could you check that broadcasts are not allowed?

Added that test. Can you review it again, please? @asi1024

I've just checked whether Numpy and CuPy results same or not for the broadcast case, because numpy.array_equal also doesn't allow broadcasts.

Jenkins, test this please.

Jenkins CI test (for commit 1eae082250b0aaffab50c8396cadc5aaef5a56ef, target branch master) succeeded!

LGTM. Thanks for your PR!


Minimize Subdirectory TOMLs

I am not sure if getting_started_julia/Project.toml is needed, but I know that it is excessive.
Consider getting rid of it and running coverage to check if things work?  Consider adding packages to the main Project if it is something small and innocuous or lets discuss if it is not.

@jlperla For the initial setup, I just added a copy of QELAP to every subdirectory with a lecture that depended on it.
You're right that this doesn't make sense here. This can be removed.


✨ display location name on a weather tile

Category

Feature

Fixes #1182
Overview

Adds an option to be able to show the city on weather tile.

Issue Number (if applicable)

Related issue: #1182

Screenshot (if applicable)

Thanks again @ishaanparlikar!

Hi @ajnart
I have pushed the same changes. Please have a look.

It seems to be clipping on mobile. Can you fix that ? Maybe you need to raise it a little bit
On Fri, Jul 21, 2023 at 02:33, Ishan Parlikar @.***(mailto:On Fri, Jul 21, 2023 at 02:33, Ishan Parlikar < wrote:

Hi @.***(https://github.com/ajnart)
I have pushed the same changes. Please have a look.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

@ishaanparlikar have you seen my remarks ?

Yes I have. I will push my changes by tomorrow.

I can take a look at it if you'd like 😄

I can take a look at it if you'd like smile

@ajnart  I am facing some issues. if the tile is small then it is clipping to bottom. Not respecting the padding. Any idea on how to tackle it?

I can take a look at it if you'd like smile

@ajnart I am facing some issues. if the tile is small then it is clipping to bottom. Not respecting the padding. Any idea on how to tackle it?

I’m not so sure. Maybe try reducing the size of icons for weather in general ? The tile will become scrollable if it becomes too tall

I can take a look at it if you'd like smile

@ajnart I am facing some issues. if the tile is small then it is clipping to bottom. Not respecting the padding. Any idea on how to tackle it?

I’m not so sure. Maybe try reducing the size of icons for weather in general ? The tile will become scrollable if it becomes too tall

I have pushed my changes in same branch. Can you check and verify if it looks okay. I have reduced the icon size if it is too small.

Sorry I forgot to answer. There is still too much padding for me to accept, I wanted to try and fix it myself

Okay I managed to do it :D I'll merge now ! Thanks a lot for your contribution @ishaanparlikar ! <3


Add PopupMenu id_mouse_entered/exited signals

Adds signals to PopupMenu to emit once mouse enters/exits menu item, so events and sounds can be atached to user hovering over menu items

Production edit: This closes https://github.com/godotengine/godot-proposals/issues/1977.

so events and sounds can be atached to user hovering over menu items

This will be useful for https://github.com/godotengine/godot-proposals/issues/1472#issuecomment-1667582145 :slightly_smiling_face:

You need to register these signals under PopupMenu::_bind_methods


WIP: (firefox) extend package to integrate the installer command-line options

Description
integrated command-line installer options to be used as package parameters. See  https://firefox-source-docs.mozilla.org/browser/installer/windows/installer/FullConfig.html#command-line-options
Related Issue: #1409
Motivation and Context
This change allows to use package parameter for the installer options, not just the locale.
The use of =  instead of : in the package parameters is due to the locale using it this way already. This could be changed but would probably consist a breaking change in some use cases.
This is my first PR. Happy to learn what could be inproved.
How Has this Been Tested?
Test by locally building and installing the Firefox package.
I don't know how to test the automated package build process.
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Migrated package (a package has been migrated from another repository)

Checklist:

[x] My code follows the code style of this repository.
[x] My change requires a change to documentation (this usually means the notes in the description of a package).
[x] I have updated the documentation accordingly (this usually means the notes in the description of a package).
[ ] All files are up to date with the latest Contributing Guidelines
[x] The added/modified package passed install/uninstall in the chocolatey test environment.
[x] The changes only affect a single package (not including meta package).

:white_check_mark: Package verification completed without issues. PR is now pending human review

:white_check_mark: Package verification completed without issues. PR is now pending human review

I'm still working on the changes...

:white_check_mark: Package verification completed without issues. PR is now pending human review

:white_check_mark: Package verification completed without issues. PR is now pending human review

:white_check_mark: Package verification completed without issues. PR is now pending human review

@majkinetor we just pushed the finalized package. Could you please review and test again. Thanks!

We started using this package in production. Everything is working fine. Would be nice to have it merged soon. Thanks for all your help @majkinetor and @sbaerlocher

:white_check_mark: Package verification completed without issues. PR is now pending human review

@majkinetor thanks for the constructive feedback. It's implemented now and upgraded to FF 74.0. Feel free to merge it. :)


fix in pow method

Fix for issue #17

version 0.3.8 exceeds this merge request. For more info show issue #17.
Thank you.


[Bug]: Multiple recursive division problems

What happened?
I fixed a few problems that will be found in v1.2.3 but these still occur:

Clicking on "complete algorithm" in the algorithm controller doesn't work.
Going back and forth between iterations can skip divisions and leaves unpainted sections (screenshot 1).
Sometimes it is missing the last node in a painted division. In screenshot 2 the node I marked with blue is missing in the maze I created.
The second to last iteration also throws an error (see error further down)

This algorithm is one of the messiest ones I wrote. It may be a good idea to just rewrite it and could then also be implemented recursively as the name suggests which then only shows the .
Reproduction steps
Not needed.
Version
1.2.2
What browser did you use?
Chrome, Firefox
Screenshots (optional)

Console Logs (optional)
simulation.service.ts:91 ERROR TypeError: Cannot read properties of undefined (reading 'xEnd')
    at RecursiveDivision.nextStep (recursive-division.ts:149:30)
    at _AlgorithmService.getNextStep (algorithm.service.ts:265:34)
    at _SimulationService.stepForward (simulation.service.ts:121:41)
    at simulation.service.ts:92:28
    at timer (zone.js:1716:37)
    at _ZoneDelegate.invokeTask (zone.js:398:33)
    at core.mjs:15428:55
    at AsyncStackTaggingZoneSpec.onInvokeTask (core.mjs:15428:36)
    at _ZoneDelegate.invokeTask (zone.js:397:38)
    at Object.onInvokeTask (core.mjs:15730:33)

You need to look into code analysis tools to help find issues.  The CodeScene VS Code extension can be quick way to help pinpoint problem areas.  There are other tools like Code Climate that you can intergrate with your repo that can also find code smells.

You need to look into code analysis tools to help find issues. The CodeScene VS Code extension can be a quick way to help pinpoint problem areas. There are other tools like Code Climate that you can intergrate with your repo that can also find code smells.

Thank you. Currently I only rely on open source projects for all the tools I use to work on my projects but I admit something like you mentioned would certainly help. 👍
I'll most likely fix the problems I described above for the next release unless someone wants to work on this. The next release will also have quite a few bug fixes in itself.

Check this list for more tools.


Add WalletConnect in Stellar environment

This works, but may conflict with WalletConnect Ethereum.
Todo:
[ ] Add default choice is refugees if wallet is STellar
[ ] Add proper logout for WalletConnect connections —> clear walletconnect cookies?

@Riglanto I believe this can be closed as your walletconnect fix was done in other branch, right?


How do you send network data via networked instance?

Do you use it as a proxy and send the data via http proxy over certain port? I don't really get how to use it as networked instance. (And would love to try it out.)
Thanks.

@kurtcoke cloudscan.py provides an example implementation for how to use the client library that is included in the framework.
We plan to release a couple of additional clients (besides cloudscan) in the near future including a milter server that can be integrated with a mail relay, and an ICAP server that can be integrated with a proxy server. These will obviously make laikaboss more immediately useful. If you write a laikaboss client for any other system (like a passive NIDS) please feel free to share it back.

Cool I don't really get how to use it yet. Where can I get the docs from the blackhat workshop on Laikaboss? Thanks.

@kurtcoke what is your email?  I don't have write permission to this repo so I can't attach the pdf

also, the slides don't really explain how to invoke it, so I can explain here!

open two different terminals of your laikaboss directory
use one to run "laikad.py".  This is your server
Use cloudscan.py as your client, and then you can run it normally and watch the GET/POST etc commands on the server side as well.

@cfossace I get that part I just dont get how you can run it as a proxy and have all your traffic pass through it? Does that make sense?


Stuck in Model

I'm on a server with Pehkui and Custom Player Models. I decided to mess with the Custom Player Models stuff, and now I am stuck in a model and unable to exit it. This wouldn't be too much of an issue if it didn't make it so I couldn't fit into the spaces I should be able to fit into (I am a smaller size that can fit into one block tall spaces). How do I stop using the model?

It fixed itself when I died


build infrastructure resources for FlyBase_NetAct base

Yesterday, I spent some time trying to figure out why the function wasn't responding after switching the database. After a lot of debugging and running various tests, I discovered that the function was hitting a timeout before completing the database query, causing the connection to drop. I then increased the timeout from the default 1 minute to 5 minutes. As a result, the function finally returned the data. Essentially, the function was working, but it was grappling with a serious performance issue.
Today, while attempting to pinpoint the root cause of this function bottleneck, I conducted more tests and debugging, finding that the problem lay with Redis. It was taking an absurd amount of time to establish a connection. Upon further investigation, I realized it was attempting the request with SSL enabled, even though the connection wasn't secure. Strangely, this didn't throw an immediate error, but it led to a significant delay in establishing the connection.  However, there still remained over a 3-second delay in returning the response, which wasn't normal when compared to the time AtomDB takes to retrieve values from the same database.
After more debugging, I finally identified the issue. Even with the variables DAS_USE_CACHED_NODES, DAS_USE_CACHED_LINK_TYPES, and DAS_USE_CACHED_NODE_TYPES configured, their values weren't updating. I later discovered the reason: these variables load at the time of importing the handler file, while the environment loading occurs afterward. As a temporary fix, I directly added the variables to the das-function.yaml file, which resulted in the correct timing for the response.
I'm planning a modification in AtomDB to eliminate the need for configuration in YAML, but for now, it's working as expected.


VF_AUTOADDPROP by default?

Hi,
I was just wondering, are there any reasons why VF_AUTOADDPROP flag is not ticked by default?
It doesn't break anything, and it is JavaScript-compatible.
I think it can be switched on manually, but this introduces a lot of boilerplate.
So my question is, can it be made on by default, or at least can we have a separate build configuration where it is default?

Good question.  It is definitely easier with this is on by default.  I was initially thinking that it is a weakness in JS (ie not safe)...  May be a one time setting in your app would be a good solution?

One time setting is definitely OK with me, but the app in question is developed by many people, so it would be nice if it was supported in some way by how the library itself is compiled.
So that I could say: ok guys, please take this library and compile it with these flags.
Hence I propose a separate cmake option, like this:
cmake -DAUTOADDPROP ..

What do you say?

Yeah that might be ok
I just don't know enough cmake to do that.  If you want to do that it will be great :)
Btw. We might need another cmake config for c++ 11.  Alex's change adds the c++11 compiler flag. Would be better to wrap that in a setting.
(mobile)
On Dec 19, 2015, at 1:55 AM, Andrei Markeev <notifications<EMAIL_ADDRESS>wrote:
One time setting is definitely OK with me, but the app in question is developed by many people, so it would be nice if it was supported in some way by how the library itself is compiled.
So that I could say: ok guys, please take this library and compile it with these flags.
Hence I propose a separate cmake option, like this:
cmake -DAUTOADDPROP ..
What do you say?

Reply to this email directly or view it on GitHubhttps://github.com/YasserAsmi/jvar/issues/14#issuecomment-165965703.

Sure, I can do that! And I will review changes from Alex and will make sure that there are no conflicts.


Added documentation for mirroring feature

Based on the proposal which can be found here  and the implementation found here I have added documentation for the mirroring feature. Thanks, @aciidb0mb3r

Closing due to inactivity, feel free to update and reopen.


wav2lip sam

For everyone who want to use wav2lip sam. You should pull newest code and then train again the issue typo mentioned: https://github.com/primepake/wav2lip_288x288/issues/127#issue-2155578379

For everyone who want to use wav2lip sam. You should pull newest code and then train again the issue typo mentioned: #127 (comment)

I have a question, at the beginning are the values of sync, dw, percep, fake, and real 0.0 like this or not?
Step 683 | L1: 0.09317 | Vgg: 0.3026 | SW: 0.03 | Sync: 0.0 | DW: 0.0 | Percep: 0.0 | Fake: 0.0, Real: 0.0 | Load: 0.008834, Train: 1.229
or have their values changed from the beginning?


Restore renders downstream cluster unusable if this one resides in a non-fleet-default namespace

Rancher Server Setup

Rancher version: 2.9.1
Installation option (Docker install/Helm Chart): helm, 104.0.1+up5.0.1
Kubernetes Version and Engine: v1.28.12, rke1

Describe the bug
Creating a provisioning.v2 cluster (e.g., via gitops) in a namespace different than fleet-default, creating a backup, pruning any Rancher resources and then restoring leads to said cluster being in an irrecoverably (?) state:

Rkecontrolplane was already initialized but no etcd machines exist that have plans, indicating the etcd plane has been entirely replaced. Restoration from etcd snapshot is required.

To Reproduce
Steps to reproduce the behavior:

Create a cluster not residing in the fleet-default namespace and let it be provisioned using CAPI
Create a backup
Cleanup any Rancher resources: kubectl apply -f https://raw.githubusercontent.com/rancher/rancher-cleanup/main/deploy/rancher-cleanup.yaml; note that this will delete the machine-plan secret, even-though it resides in a non-Rancher-default namespace
Restore from the backup created in 2. above
Observe the error that the downstream cluster's system agent (which is working just fine) is no longer able to connect to upstream; after investigation this stems due to the -machine-plan$ secret not residing in the fleet-default namespace.

A possible fix, which is tough to maintain over time until #487 gets a thing, is to broaden the backup of the machine-plan by creating a new ResourceSet and enhancing the existing one by the following:
- apiVersion: v1
  kindsRegexp: ^secrets$
  namespaceRegexp: "^.*"
  resourceNameRegexp: machine-plan$|rke-state$|machine-state$|machine-driver-secret$|machine-provision$|^harvesterconfig|^registryconfig-auth

This way, the important machine-plan secret is part of the backup and gets restored, thus the downstream cluster system agent can connect just fine.
Expected behavior

machine-plan secrets are essential and should be backed up independent of the namespace they reside in

Note: I'd be happy to contribute a PR, I just don't know whether the namespaceRegexp: "^.*" might be too generic in your taste, albeit the resource selectors are still quite specific

hey @hwo-wd - I don't need the secret itself, but can you provide me with a YAML representation of the situation you are encountering here? Having a bit more context could be very helpful here to get us up to speed without replication.
Also if you are a paying Rancher subscriber, please open a support case and provide your Support Engineer reference to this issue. They can create an internal issue to mirror it and which can help expedite the investigation and resolution of issues like this. As your Support Engineer can securely collect more specific details and provide them to us.

Thanks for coming back to me, Dan.
Sorry for being unclear, I'll to elaborate my situation a bit more:
I have a setup using flux cd to create a new cluster from scratch: basically I'm creating two custom resources: (1) provisioning.cattle.io/Cluster and (2) rke-machine-config.cattle.io/VmwarevsphereConfig which makes Rancher kicking in and provisioning the cluster. The thing is, in order to support multiple clusters, I'm provisioning each cluster in it's own namespace, thus allowing for easy separation w/o having to deal with naming conflicts etc. (since ServiceAccounts etc. come into play, too)
From what I've seen it's not possible to have a separate namespace per cluster via the UI: there is no namespace selector and each cluster gets implicitly provisioned in fleet-default.
Anyway, everything is working nicely, until it comes to backup scenario: the essential secrets, shown in the following screen shots are NOT backed up by the default ResourceSet since they don't reside in fleet-default, but e.g. in namespace spongebob instead; the fix is easy enough: #575 and makes the restore procedure working like a charm.

@hwo-wd - I think that for the time being you should feel comfortable making modifications to your Rancher Backups ResourceSet to work around this difficulty. Editing this is acceptable for workarounds of this nature and when users seek to backup resources not created directly by Rancher. So this falls under a little bit of both given your use case with flux.
Our team will triage the issue further and likely investigate it as part of our on going effort to audit and improve fleet related integrations. While the fix you propose seems easy enough, for other users it could have unintended affects.


Add Canvas under Layout tab

Add Canvas control under TestApplication, shows how to add children and also shows Panel background brush.


Should we unique c_void?

There is core and std c_void type: https://doc.rust-lang.org/nightly/core/ffi/enum.c_void.html
Could we replace that in
https://github.com/retep998/winapi-rs/blob/02f3e37da9ae921aa87196ba3d58c49311504ca0/src/lib.rs#L34-L37

If you're asking whether winapi could use c_void from core, that will happen in winapi 0.4.
Otherwise, I'm not sure what you're asking.

Thanks. I opened https://github.com/rust-lang/rust/issues/65922 because people
cannot use std::ffi::c_void before Rust 1.30.0

#771