BFS traversal Algorithm using python

#PR1
BFS Level order Traversal of Binary Tree in Python . Mentioned instructions have been followed.

Good work, please mention issue number #2 in the PR description.


Can't go back to edit previous field after filling it and changing fields

Ionic version:
[ ] 2.x
[ x ] 3.x
[ ] 4.x
I'm submitting a ...
[ x ] bug report
[ ] feature request
Current behavior:
On some devices, after selecting a text input field, filling it with text, and then proceeding to the next input field, i can't type anymore in the first field, it wont even let me select the field by tapping on it
Expected behavior:
It should be able to go back to the previous fields without problems
Steps to reproduce:
Create project and in a page put 2 text input fields, fill the first one, then fill the second one, and after that try to go back to the first one
Other information:
Happens when testing on some android devices, like Moto G5
Ionic info:
cli packages: (/myApp/node_modules)
@ionic/cli-utils  : 1.19.0
ionic (Ionic CLI) : 3.19.0

global packages:
cordova (Cordova CLI) : 7.1.0

local packages:
@ionic/app-scripts : 1.3.12
Cordova Platforms  : android 6.3.0
Ionic Framework    : ionic-angular 3.5.0

System:
Android SDK Tools : 25.2.5
Node              : v8.7.0
npm               : 5.5.1
OS                : Linux 4.4

Environment Variables:
ANDROID_HOME : /opt/android-sdk-linux

Misc:
backend : pro

Hello! Thank you for opening an issue with us! I am closing this issue because it is a duplicate of Issue #13587. Please track that issue for further updates. Also please comment on that issue with any new information you may have to share.
At this time, this all evidence points to this being a bug in certain versions of Chrome.
Thank you for using Ionic


Extension produces error on install using MacOS

When installing your extension v0.15.0 on MacOS I received the following error. It does appear that the extension was installed per the CLI message and I can see it in the VSCode extensions list.
➜  ~ code --install-extension pkl-vscode-0.15.0.vsix
Installing extensions...
(node:25132) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `Electron --trace-deprecation ...` to show where the warning was created)
Extension 'pkl-vscode-0.15.0.vsix' was successfully installed.

System information:
➜  ~ system_profiler SPSoftwareDataType SPHardwareDataType
Software:

    System Software Overview:

      System Version: macOS 14.2.1 (23C71)
      Kernel Version: Darwin 23.2.0
      Boot Volume: Macintosh HD
      Boot Mode: Normal
      Secure Virtual Memory: Enabled
      System Integrity Protection: Enabled
      Time since boot: 2 days, 22 hours, 24 minutes

Hardware:

    Hardware Overview:

      Model Name: MacBook Air
      Model Identifier: Mac14,2
      Model Number: Z15S000D1LL/A
      Chip: Apple M2
      Total Number of Cores: 8 (4 performance and 4 efficiency)
      Memory: 16 GB
      System Firmware Version: 10151.61.4
      OS Loader Version: 10151.61.4
      Activation Lock Status: Enabled

Thank you for the report. This is a deprecation warning, rather than an error. It needs addressing, but it's not broken/error.

Thank you for digging that up, @redeux. We are working on submitting to the marketplace. (I'll keep this issue open to track that submission)

Sounds good. If there's anything I can do to help please let me now. Not necessarily with getting the extension into the marketplace because I assume Apple would need to handle that internally, but if there are other roadmap items or issues, I'm happy to lend a hand with the project.

Well, if you fancy writing an LSP... jk
Keep an eye on the Issues. I'm hoping to put a bunch of "Help Wanted" issues out soon. Most of those will be somewhat larger items. That said; this is open source now. If there is anything you see that you feel comfortable with, hop on it! Also, keep using it and file new issues for anything that irks you.


fix selector specificity display for :lang and similar pseudo selectors

https://drafts.csswg.org/selectors/#specificity-rules

A few pseudo-classes provide “evaluation contexts” for other selectors, and so have their specificity defined specially:

With this change only those selectors with an evaluation context will have their child nodes counted.

Thanks @romainmenke !


Fix security issue SNYK-JAVA-COMGITHUBJNR-1570422 by upgrading jnr-unixsocket

Snyk scan for my service reports the following vulnerability:
  ✗ Use After Free [High Severity][https://snyk.io/vuln/SNYK-JAVA-COMGITHUBJNR-1570422] in<EMAIL_ADDRESS>    introduced by<EMAIL_ADDRESS>><EMAIL_ADDRESS>><EMAIL_ADDRESS>><EMAIL_ADDRESS>><EMAIL_ADDRESS>and 2 other path(s)
  This issue was fixed in versions: 3.1.8

Address this issue by upgrading jnr-unixsocket to v0.38.15 that in turn depends on jnr-posix v3.1.14.

Thank you! We are aware of this issue, but unfortunately we can not update jnr-unixsocket version because it drops Java 7 support.
The good news is that java-dogstatsd-client is not affected by this vulnerability, as jnr-unixsocket does not use the affected function of jnr-posix.
We are looking into ways to improve the situation, but simply upgrading the dependency is not possible, so I'm going to close this.

Thanks 👍
Does an issue for this exist, so I could get subscribe and notified when this gets resolved?


Скласти таймлайн

Скласти список всіх (важливих) життєвих подій, визначних дат, досягнень, періодів, що дали приємний і неприємний досвід, тощо. В цьому конкретному випадку довгих списків не буває, натомість бувають погано згорнуті, тому пакуємо сюди все підряд, а про “лишні” події можна буде промовчати пізніше. Список повинен бути систематизованим і посортованим в такий спосіб, щоб читач швидко зрозумів “паттерн” і міг легко орієнтуватись в просторі і часі цього резюме.

Personal achievements:
In 1995, I finished school with a gold medal.
In 2000, I graduated from V.N. Karazin Kharkiv National University at the Faculty of Economics, majoring in "Finance and Credit" with a red diploma.
Professional moments:
In 2000, I started working at PJSC REAL BANK as an Economist in the Department of Planning and Economic Management. During her work, she became the senior economist of the department, performed the duties of the head of the department. She was awarded a certificate and a valuable gift from the Chairman of the Board of the bank for her hard work.
In 2016, I started working at JSC COMMERCIAL BANK PRIVATBANK as an Operator of the Client Support Department of the Head Office / Consultant. During her work, she became a Level 3 Operator of the GOLD Head Office Customer Support Department / Consultant. She received diplomas and awards for achieving high performance at work and as the best consultant of the month and quarter.
In 2019, she started working at JSC BANK GRANT as an Economist of the Analysis and Planning Department. During her work, she became the chief economist of the department, performed the duties of the head of the department.
Personal life events and emotional experiences:
Marriage, birth of a daughter.
Death of a husband.
A meeting with a loved one.
Change of field of activity.
Education and development:
Studied at V.N. Karazin Kharkiv National University at the Faculty of Economics, majoring in "Finance and Credit".
Studied at GoIT Coding Academy on the FullStack Developer course.
At the moment, I am additionally studying at IT Brains on the FullStack Developer course.


Avoid creating a Docker layer containing the compressed model file.

Download and delete the compressed model file in the same layer to avoid an (often oversized) additional Docker layer.

Effects
max-speech-to-text-converter-origin    latest              d3bb192f611c        36 minutes ago      4.59GB
max-speech-to-text-converter           latest              7297ee867d26        About an hour ago   2.87GB


[UI] Send toaster informational notification upon save of design

Notes for Reviewers
Send toaster informational notification upon saving of design
This PR fixes #8465
Signed commits

[x] Yes, I signed my commits.

@Chadha93  i just finished implementing support for sending toast messages into notificationcenter .  i will talk about it in detail after the meeting :)


Got Error "Unable to deploy to the target 'abc' as the target is offline"

Hey Guys,
Got error during deployment of the pipeline on azure VM(server 2016)
“Unable to deploy to the target ‘abc’ as the target is offline.”
I have restarted the VSTS agent on VM but got again same error.
whenever I tried to install a new agent got the below error.
System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
—> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host…
I have updated Azure DevOps Services to require TLS 1.2 (Updated).
But not able to install and run the old deployment pool.
Thanks

Got Error "Unable to deploy to the target 'abc' as the target is offline" #3835

Hi @SudeshSharma please see similar ticket  for reference.
Could you please share the agent logs to take a look?

@anatolybolshakov
Agent_20220515-154612-utc.log

In my case, the services hadn't started or had stopped on the VM.


Unpkg CDN Version is down

The<EMAIL_ADDRESS>is down.
This broke our software using your package via a CDN.
The error code is 520 in Cloudflare.

If I'm understanding correctly, Unpkg had an outage? If so, there's nothing for mitt, nor any package, to do or fix.
Part of the risk of relying on a CDN is that service could go down at any time without warning. If that risk is too great, you can always self-host your dependencies.


optional namespace override

specifically thinking about the utils.utils issue pytti had. might already sort of be a thing with the option to specify the package name?

probably implementable via https://docs.python.org/3/library/pkgutil.html

having actually used the "env" functionality, I no longer think this is necessary. anything that might cause a namespace collision can just be installed into a subenv.
Close after example added to readme.


Error handling around multiple execution

#182 @AndreSayreMSFT
This change fixed issues around multiple execution in such scenarios:

Start debugging while REPL is executing
Try to execute one script from editor or sln windows while VS is already debugging another

looks good :)


Postgresql support

How should I implement PostgreSQL? The directives for MySQL do not work successfully for PostgreSQL.
best regards

Could you be a bit clearer with your question?
I use this project template with PostgreSQL and it works just fine.
First delete the existing migrations if any
uninstall the sql server efcore providers
and install PostgreSQL efcore providers
Re-run the migrations for the identity and infrastructure projects.


Allow for periods and dates as time steps in the simulation.

This PR allows to use periods or dates as time periods. See the docstring for an explanation.
Furthermore, the PR includes

a new theme for the docs.
a tutorial notebook

@janosg Merge?


Fix test for radian/degree barrel slot theta angle

Fix test for radian/degree barrel slot theta angle

Please solve the conflicts


add proxy support

added proxy dialers in gomap_scan.go and gomap_syn_scan.go

hi I'm checking for length of proxy string because string cannot be set to nil -- https://stackoverflow.com/a/18595217/5502033

So absolutely, strings can't be nil, but you can easily do this with a pointer, which I believe would be more optimal in this case.
package main

import (
        "fmt"
)

func main() {
        var proxyvar *string
        proxypath := "SomeProxyPath"
        proxyvar = &proxypath

        if proxyvar != nil {
                fmt.Println("Not Nil")
        } else {
                fmt.Println("Is Nil")
        }
}

hi I'm checking for length of proxy string because string cannot be set to nil -- https://stackoverflow.com/a/18595217/5502033

So absolutely, strings can't be nil, but you can easily do this with a pointer, which I believe would be more optimal in this case.
package main

import (
        "fmt"
)

func main() {
        var proxyvar *string
        proxypath := "SomeProxyPath"
        proxyvar = &proxypath

        if proxyvar != nil {
                fmt.Println("Not Nil")
        } else {
                fmt.Println("Is Nil")
        }
}

hey thanks for advice man! I've made the adjustments accordingly. Do take another look - https://github.com/JustinTimperio/gomap/pull/13/commits/623cbde78a513d5f987005566f3640d508edc68a

Sorry for the delay. So this looks good overall but I think as these options grow, a struct would be a much better fit for passing all these vars through the functions.
It also dawns on me that this will break all the downstream tools that use this. Since we are adding a new mandatory option to the two top-level scanning functions we are going to break all the function calls that historically don't have the proxy.

Sorry for the delay. So this looks good overall but I think as these options grow, a struct would be a much better fit for passing all these vars through the functions.
It also dawns on me that this will break all the downstream tools that use this. Since we are adding a new mandatory option to the two top-level scanning functions we are going to break all the function calls that historically don't have the proxy.
Maybe we need to move this to a new branch then I can do a new version and let people use the legacy one..... I'll need to do some digging into this as I know of other projects dealing with this problem in a variety of ways. Ideally, we would do a major version bump from 1.0 to 2.0 but that should include more than this.

Oh yeah what you said make sense. Then why don't you create a proxy branch first so that this PR can be merged into there? I'll add in the struct to support proxy, it would be up to you to decide how to support legacy function calls then. :) After you figure a way, you can merge the proxy branch into the master branch then.
No hurry, but I'm just glad to contribute to this project.

Hey @cogitoergosumsw, hope you are doing well. I've opened up a branch for us to work out of. I'm also looking for a co-maintainer on this project so after you make some commits and get comfortable working with the codebase perhaps thats something to consider. I would like to make this a full nmap replacement but it will require a lot of work from a lot of contributors to make that happen.

Hey @cogitoergosumsw, hope you are doing well. I've opened up a branch for us to work out of. I'm also looking for a co-maintainer on this project so after you make some commits and get comfortable working with the codebase perhaps thats something to consider. I would like to make this a full nmap replacement but it will require a lot of work from a lot of contributors to make that happen.

Oh thanks man! I think it's a good initiative to create something like nmap in Go. Yeah sure, I can help out to the best of my abilities. But I cannot promise any sort of full commitment for now.
I added a ScanOption struct to support proxy. Do take a look - https://github.com/JustinTimperio/gomap/pull/13/commits/daa9ee1db0c816e94eeb23ac1f260912f7a784b2 :)

Looks good but I actually meant consolidating all our options in the struct. I'll push an update and show you what I mean.


SoulSigns page (display all sealed NFTs + minted NFTs)

https://api.studio.thegraph.com/query/24825/sign-eco/0.0.2/graphql
query MyQuery {
  signatureNFTs {
    id
    uri
    createdAtTimestamp
    steward {
      id
    }
  }
  signatureFunds {
    id
    uri
    signedAmount
    steward {
      id
    }
  }
}

I'm not sure we can fit three rows of signature nfts and have the sealed nfts visible, does this design work instead?  @andytudhope @angelagilhotra
https://www.figma.com/file/wrr3qGMckBffSdWTgCfvr0/SoulSign?node-id=0%3A1

That is perfect, thank you @Malayvasa :pray: Let's make it happen.


Theme colors not working when dealing with underscores in file or directory names

Anytime a filename or directory name is displayed that contains an underscore, the background for the underscore and the character directly after it change to black. Is this normal behavior and if not, can we get it fixed to display correctly? I have attached an image of how it looks in my instance running Pop OS 22.04 LTS

Nevermind. I changed fonts and upon a UI reload, the issue seems to be gone now. Closing the issue


Feature/image upload

This adds support for uploading profile picture and profile banner from the profile edit screen. No progress bar is shown for the uploads.


Fix column pruning for select symbols for correlated subqueries

Summary of the changes / Why this improves CrateDB
This fixes the column pruning for select symbols in correlated subqueries
Fixes https://github.com/crate/crate/issues/16124
Checklist

[x] Added an entry in the latest docs/appendices/release-notes/<x.y.0>.rst for user facing changes
[x] Updated documentation & sql_features table for user facing changes
[x] Touched code is covered by tests
[x] CLA is signed
[x] This does not contain breaking changes, or if it does:

It is released within a major release
It is recorded in the latest docs/appendices/release-notes/<x.y.0>.rst
It was marked as deprecated in an earlier release if possible
You've thought about the consequences and other components are adapted
(E.g. AdminUI)

@mfussenegger I found an approach, by simply removing the caching of outputs and generating them ad-hoc. Because the input plan is pruned, the outputs will be pruned as well. I think this is good enough for a backport to fix the regression. I would like to do a follow-up on the adressing that SymbolVisitors.intersection always provides the references from the outputs to fix the issue with Rename and ScopedSymbols.

retest this please
Unrelated test failure
io.crate.types.ObjectTypeTest.test_lucene_reference_resolver_round_trip


Sass outputting error "file to import not found or unreadable"

When using gulp or gulp watch with the default sass task, sometimes, errors like this appear:
[gulp] Finished 'css' after 11 ms
[gulp] Starting 'sass'...
Error in plugin 'sass'
Message:
    wp-content\themes\example\assets\dev\scss\main.scss
  11:9  file to import not found or unreadable: components/widgets/events
Current dir:
[gulp] Finished 'sass' after 66 ms

The files in question do exist, and are readable. This seems to be some sort of intermittent issue.

A temporary workaround is to use gulp-ruby-sass (Ruby Sass) instead of gulp-sass (libsass):
npm install --save-dev gulp-ruby-sass

And then edit your gulpfile.js, placing the following code into your assets callback:
delete this.tasks.sass;

// use gulp-ruby-sass instead
this.tasks.rubySass = function() {
	var config = this.config,
		gulp = this.gulp;

	gulp.task('ruby-sass', function() {
		//return gulp.src(config.sass.src)

		// ruby sass does not support the glob syntax
		return rubySass(assetsDir + 'scss/')

			// compile Sass to CSS
			//.pipe(sass().on('error', sass.logError))

			.on('error', function(err) {
				console.error(err.message);
			})

			// move to the output directory
			.pipe(gulp.dest(config.sass.dest));
	});

	this.watches.push({
		watch: config.sass.src,
		task: 'ruby-sass'
	});
};

It looks like this is a known issue with gulp-sass and some text editors which delete and overwrite files instead of saving directly to them. See issue #235 on gulp-sass. It's not clear why this issue only occurs with gulp-sass and not gulp-ruby-sass. A solution for Sublime Text 3 is to enable atomic saves, as mentioned in the aforementioned issue.


dockerize waltz

Building and dockerize Waltz for running Waltz with PostgreSQL as a database so it can be run within any environment.
By default, the image will try to update DB and run Waltz with default parameters.
In case you want to specify given actions and/or change DB parameters you can change docker's CMD with run or update and pass corresponding env variables as shown in the example below.

Not 100% up to speed with docker etc so will give this a spin over the next day or two but from what I've seen this looks like a fantastic contribution.
Adding some people who will be very interested:
@mcleo-d @JWoodland-Scott  @kamransaleem

This looks awesome, thanks for the contribution!
Not 100% up to speed with docker etc so will give this a spin over the next day or two but from what I've seen this looks like a fantastic contribution.
Adding some people who will be very interested: @mcleo-d @JWoodland-Scott @kamransaleem

Thank you, @davidwatkins73!

Hi @ljubon,  just wanted to say thanks again for the PR.  Did a test release build and it looks like it's working well.
Learning new things by following along with what you've done!

Hi @davidwatkins73, now that this PR is merged, do you have an estimate of when the next release will happen?
We are very eager to get our hands on an officially-built stable release of the Waltz Docker image 😄

The next release is scheduled for the 25th of January.   I can push out an
interim build earlier if required.
On Wed, Jan 12, 2022 at 11:28 AM Jonathan Giannuzzi <
@.***> wrote:

Hi @davidwatkins73 https://github.com/davidwatkins73, now that this PR
is merged, do you have an estimate of when the next release will happen?
We are very eager to get our hands on an officially-built stable release
of the Waltz Docker image 😄
—
Reply to this email directly, view it on GitHub
https://github.com/finos/waltz/pull/5801#issuecomment-1010943541, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEM2PLSO6YL2XQYPZNTB5LUVVQWTANCNFSM5KQPRRTA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hi @ljubon 👋🏻
I'm James McLeod, FINOS Director of Community, who works with David and the Deutsche Bank team to help maintain the Waltz project from a FINOS and Linux Foundation perspective.
I've noticed that you haven't signed a CLA and would like to ask if you can follow the Please click here to be authorized link in the GitHub warning below ...
https://github.com/finos/waltz/pull/5801#issuecomment-998889363

On Thursday 13th January the Waltz team is having their monthly online project meeting and it would be awesome if you could join us. Please find the agenda and call details below.
https://github.com/finos/waltz/issues/5813
Thank you so much for your awesome contribution and let me know if you need help signing the CLA.
Kind regards,
James 🚀

Hi @mcleo-d! 👋🏻
Sorry for not signing this earlier, I just got email confirmation that it's signed... so the status should be updated here soon.
Thanks for including me in your monthly meeting, as it's today 😅   I really can't promise to be there but I'll do my best!


New init() function

You can't choose a specific file to store database (must be json.sqlite)
Adds new init() function that allows you to choose the sqlite file path for the database.
If init() function is not called, json.sqlite is used.

Indeed, this function should be called after require :

const db = require('quick.db');
db.init('./mydb.sqlite');

Make it auto run inside the code itself

What do you mean ? how does user set sqlite dbname ?


Create MapTile Class

Need to create MapTile Class then generate map tiles from that class
mapTile should have an initial tile description, subsequent tile description, the ability to add or take items from the tile, and a method of linking to N,S,E,W, Tiles or actions

Basic MapTile classes created in module called tabge_map.py. Merged in merge request #9


update package name in examples...

I speculate this is a fork of nedb you had to publish on your own in a different name.
so - the name in the docs is still nedb... :P

WTF? build fail? I only updated the README...


CFA link 404s

The CFA link, in "Controlled folder access. It can stop ransomware from encrypting files and holding the files for ransom." 404s

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

ID: b3640220-fd9e-74e2-2c54-d01b7e68a76d
Version Independent ID: e4c3923e-88e4-93b7-b717-2b91ec838ad9
Content: Ransomware
Content Source: windows/security/threat-protection/intelligence/ransomware-malware.md
Product: w10
Technology: windows
GitHub Login: @levinec
Microsoft Alias: ellevin

@sundhaug92  - Thank you for submitting feedback.
I will get this issue over to the Win10 ITPro writing team for investigation.
Thank you for reporting and making the docs better. Much appreciated.
I made a note to request the team to update this when the work is complete.

I recently helped on a project to update some exploit guard related links. This may be a problem with the redirects that are currently set.

I updated the link in this topic directly to the topic here: https://docs.microsoft.com/en-us/windows/security/threat-protection/microsoft-defender-atp/controlled-folders. PR submitted, should be live in a day or two.

I updated the link in this topic to the correct destination: https://docs.microsoft.com/en-us/windows/security/threat-protection/microsoft-defender-atp/controlled-folders. Plus, there's a second PR addressing the redirect issue. Thanks @martyav . Should show up in a day or two


fix entry links attributes writing to file #135

fixes #135

@lkiesow My feeds are missing attributes as well. Are you going to approve this?


add logic to have the scorecard created pod wait till all the contain…

…ers are in a Running status
Description of the change:
after the scorecard creates the scorecard pod (some controller container + scorecard
proxy container), then wait for both the containers to go into a Running status
before proceeding to check the proxy logs.
Motivation for the change:
Closes #1918

thanks Joe, I'll update the code with the suggested refactoring you commented on.

/test e2e-aws-go

/pr

/test pr


Dependency resolution difference between vitest and vite

Describe the bug
When using Material UI, we have the option to exchange the css-in-js solution from emotion to styled-components by basically aliasing the styled-components wrapper onto the emotion wrapper.
This works perfectly fine in vite (see step 2 in the stackblitz repro below) but when using the same setup with vitest (see step 3) it crashes because it cannot resolve the peer-dependency to @emotion/styled. This peer-dependency is technically not needed because styled-components and @mui/styled-engine-sc serve as replacements but vitest is unhappy about it.
I can work around this issue by installing @emotion/styled as dev dependency but that is probably not an ideal solution.
Reproduction

https://stackblitz.com/edit/vitejs-vite-pxpnnv
Run npm start => the app starts and the styled-components CSS works
Run npm run test => the test crashes with a dependency resolution problem:

 FAIL  src/Foo/foo.test.tsx [ src/Foo/foo.test.tsx ]
Error: Cannot find module '@emotion/styled'
Require stack:
-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>
System Info
System:
    OS: macOS 12.4
    CPU: (10) arm64 Apple M1 Max
    Memory: 3.31 GB / 64.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 16.15.1 - ~/.nvm/versions/node/v16.15.1/bin/node
    npm: 8.11.0 - ~/.nvm/versions/node/v16.15.1/bin/npm
  Browsers:
    Chrome: 103.0.5060.53
    Firefox: 99.0
    Safari: 15.5
  npmPackages:
    vite: ^2.9.9 => 2.9.13
    vitest: latest => 0.16.0

Used Package Manager
npm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

You will need to install it, or use deps.inline for problematic dependencies: https://vitest.dev/config/#deps
You should expect some level of differences, because Vite runs your code in browser, but Vitest runs your code in Node. Stack you see tells me that Native Node resolution kicks in. If you don't want this behaviour, use test.deps.inline or ssr.noExternal.

Thanks

Hi @dennisMeeQ , could share your solution? I tried to add @emotion/styed to test.deps.inline but it is not working.
export default defineConfig({
  plugins: [react(), tsconfigPaths()],
  test: {
    environment: 'jsdom',
    globals: true,
    setupFiles: './test/vitest.setup.ts',
    deps: {
      inline: [
        '@emotion/styled'
      ],
    },
  },
});

Hmm, quite some time ago. But iirc the solution in the end was to simply live with the workaround described in my original description: Install @emotion/styled as dev dependency

I'd really prefer to not include another styled library into the app as a workaround. With all this, any other suggestions?

Try enabling deps.experimentalOptimizer.

Is there perhaps some combination of things I can enable that you might know of?

I think the best way is to follow Vite's recommendation about SSR aliases (which is what is being used here, unless experimentalOptimizer is enabled): https://vitejs.dev/config/shared-options.html#resolve-alias

@sheremet-va ahh. I did not put it together that this was SSR. I'll look into that, but styled-components seems to not work with SSR per MUI's docs: https://mui.com/material-ui/guides/styled-engine/#how-to-switch-to-styled-components
Also the node_module aliases suggested in the https://vitejs.dev/guide/ssr.html#ssr-externals won't apply here as we're using npm.
I'll tinker some more and if I can't find another solution, seems like we'll just have to install @emotion/styled as a devDependency and call it a day for now.
Thank you for your assistance!


'Detail' view

Feature idea/suggestion. It would be great to be able to switch the watched list to something like a 'detail view', giving access to some additional metadata on the one page.
Would be particularly useful for shows/series where users are more likely to have left something in 'watching' state and are deciding what to pick up again (and where they are up to in that show), without needing to click into each item to see more detail about its status.
The ability to view and sort by details such as:

Date added
Date last modified
Completion status (for shows- what was the latest season marked finished/watching? And eventually which episode - somewhat related to issue #42 )

Hi @Contrillion-2, thank you for the suggestions!
The ideas are great, when I have some time I will definitely look into this.
Would you prefer a table view with extra detail or the same grid but adding the extra metadata below posters?
Sorting/filtering should be implemented (button to right of nav) for those currently, is there something missing with how it is now?

Probably the critical part imo would be the ability to see the progress of in-progress shows, so if it were visible in the grid view that would accomplish it. The table view might be a separate issue, now that I think of it.
To illustrate, if I want to find where I'm up to in a show currently, I could filter the list by 'watching' and 'held', but I would then need to go into a show in the list, and click through each season one by one until I found the one I last marked completed/watching (to be fair it is usually at the top of the activity log!). But it would be good to see this in less clicks with something like "Watching Season 8" (and eventually "last watched S08E05") at-a-glance in the main watched list view.
And yes, to clarify, sorting and filtering is fine and works quite well now, I guess that comment was more directed at a table view scenario.

@Contrillion-2 Got a simple design working for a detailed poster, is this along the lines of what you envisioned?

any feedback is appeciate . me think look ugly but also nice

Appreciate you taking the time to do a mockup! Yes, that looks good. Maybe the dates can go, for the poster view, leaving just the 'Season 2' and rating/status icons. Otherwise may be a bit too cluttered.

I agree with you calling the mockup ugly and disappointing. Anyways, I revised the design and made the displayed fields configurable with a new menu.

I'll look to finish it tonight or tomorrow and release it for you to try.

Sorry that took a while to get done @Contrillion-2, released in v1.31. Feel free to open another issue if you have any other problems.
Thanks again!


thead overriding colgroup

Hello, I think there is a problem with the code that create the header for a table.
If inside that table tag I have a colgroup (that should be before any thead or tr or tbody, as specified here http://www.w3schools.com/tags/tag_colgroup.asp) the thead is simply prepended in the table, therefore it overrides the colgroup.
The issue is at line 97 of src/scripts/ngTableController.js
I think that it should check before if there is a colgroup tag.
Let me know about this.

As you can see I made a fix for this problem, I have a pending Pull Request

I would also love to see this capability.  Safari seems to have trouble recognizing the colgroup when it comes after the thead in the DOM order

I think I will fork the project to implements many features and fix many bugs shown in the issues. If only I can find some time


Allow multi-packet response in the "hello world" HTTP server at https://docs.raku.org/type/IO::Socket::Async

In relation with https://github.com/rakudo/rakudo/issues/4628, the HTTP server simple example from https://docs.raku.org/type/IO::Socket::Async transmits only a packet (65535 chars) to the client. Can be used another more whenever to transmit all the packets to the client if the response has more than 65535 chars:
react {
    whenever IO::Socket::Async.listen('<IP_ADDRESS>', 3333) -> $conn {
        whenever $conn.Supply.lines -> $line {
            my $http_message = qq:heredoc/END/;
HTTP/1.1 200 OK
Content-Type: text/html; charset=UTF-8
Content-Encoding: UTF-8

Hello World!

{ $line }

END
            whenever $conn.print: $http_message -> $x { $conn.close; }
        }
    }
    CATCH {
        default {
            say .^name, ': ', .Str;
            say "handled in $?LINE";
        }
    }

Do you think this would help the reader to understand the concept better?

I think that anyone who tests the example with the idea of using it in production will lose interest in it when finds that the example silently fails to transfer beyond a single packet.

Anyway forget my proposal server code example because fails with a web browser client throwing a Cannot write to a closed socket. I will investigate a solution that can run with any http client.

@ramiroencinas  - any update on this? Would love to get the improved example code.

Hopefully fixed with @voldenet 's PR.


VR doesnt work when I publicly host

People on the internet can access my SandCastle scene on the public internet, but they cannot enter into VR.
Repro steps:

npm run start
Update router's port forwarding settings to expose port 1234 to the public internet
Update inbound firewall settings to allow connections to port 1234
Browse to your public ip and the port exposed by your router in step 2

EXPECTED:
Sandcastle app loads and you can enter VR
ACTUAL:
SandCastle app loads but cannot enter VR

since WebXR can only work on https connections with valid SSL certificates, there is no trivial first-party solution to this problem that doesn't require the user to issue one. While webpack-dev-server does offer https serving, its autogenerated certs aren't trusted by chrome.
The path of least resistance seems to me to use something like ngrok to create temporary secure https tunnels to localHost. While I believe including ngrok in Sandcastle would be out of scope for the project (it's a big package, not everyone will need to test networked components), I've added a note/mini-tutorial on the wiki.
Thanks for flagging!


Ability to ask wpt-pr-bot to merge on all-green

It would be nice to be able to say "@wpt-pr-bot please merge" or something, and have the bot merge when all statuses are green. Sometimes reviews happen quickly but one must wait for the status checks to be green, and it's likely to not happen at all or much later.

@foolip, @gsnedders, @Hexcles, @jdm, @jgraham, @plehegar, @sideshowbarker, @thejohnjansen, @tobie, @youennf thoughts?

Good idea! IIUC "all statuses" in "when all statuses are green" also include the review bits (i.e. the bot shouldn't auto grant review approvals).
Perhaps something like @wpt-pr-bot auto-merge.
One question is whether the bot should use squash-merge or rebase-merge (or to expose this option to users).

It would be nice to be able to say "@wpt-pr-bot please merge" or something, and have the bot merge when all statuses are green.

yeah that would be handy

One question is whether the bot should use squash-merge or rebase-merge (or to expose this option to users).

I think a rebase-merge is better — for one thing because (for better or worse) wpt conventions/norms/culture don’t require squashing, and for another because unless somebody is manually (re)writing the commit message that goes in for the squashed commits, we end up with an (IMHO) uglier, longer-but-not-really-unified commit message. It’s better in that case to just have each commit message with its corresponding diff (that is, as we get from a rebase-merge).

If this is to be implemented via git (as opposed to an HTTP request to the GitHub.com API), then we could rebase with --autosquash. That would allow contributors to express more advanced merging instructions using git's built-in functionality.

I would be OK with only supporting rebase and merge; usually when I want this it's a simple PR with a single commit.

I'd like this feature, but would probably avoid it if I was not sure about what the resulting commit message would be, since I like elaborate commit messages. If we had to pick one default, I think I'd have to say "squash and merge" since one ugly commit is better than a long chain of commits never intended to be merged individually.
Or, it could just refuse to do anything if there's more than 1 commit.

Supporting changing the commit message seems nice, actually. Ok how about this

if a commit message is provided, squash
else, if more than one commit, squash
else, rebase

Squashing for just a single commit is fine too, it'll just append (#XYZ) to the first line, which is kind of handy.

Supporting changing the commit message seems nice, actually. Ok how about this

if a commit message is provided, squash
else, if more than one commit, squash
else, rebase

Sounds good to me

That strategy seems to mean you always end up with a single commit. That seems very harmful; over squashing can lose information about the reason for various changes that the author has tried hard to preserve.
In general people should be encouraged to write good commit messages in the first place and not rely on rewriting them during squash (and it should be acceptable to not approve the PR until the commit message is good).
The simplest solution is just to require that the person writing the message chose the right action by saying either wpt-pr-bot:rebase-merge or wpt-pr-bot:squash-merge. There are probably cleverer solutions but I would much prefer forcing people to be explicit than having a bad heuristic.
Also note that there is a security issue here; you have to be sure that only the right people are able to issue squash commands (but! there is a path here to having far fewer people with write access to the repo if you also made wpt-pr-bot able to upgrade reviews from users with read access to approval then it would be possible to implement per-directory review and commit permissions by proxying all actions through the bot).


Read from slaves with replication

Hi,
I'm planning to use ioredis with redis-connect for a distributed express application with consistent sessions.
My doubt, after reading the docs, I've assumed the following:

Clustering is not needed for session storage, the data won't be enough big.
The majority of the operations will be reads in order to transform cookies into a req.session.

having the following nodes:

Node A master (with a known ip).
Node B slave (replica) of A (localhost).
Node C slave (replica) of A (other node, unknown ip).

I can not perform write operations to B, even if I set slave-read-only to no, the updates won't propagate, I need to write to A, so...
var Redis = require('ioredis');
var redis = new Redis('a-ip', port);

redis.set('foo', 'bar');
redis.get('foo', function (err, result) {
  console.log(result);
});

The ideal behavior would be, I am node B, I open a session, so I go A and set it, then the client comes in again, and I have to identify the cookie, so I read from B (localhost). Is this possible?

What you want is read-write splitting, which is already supported by Redis Cluster (new Redis.Cluster()). However, given your setup, I think you even don't need it since the dataset is relatively small (that the whole dataset can be held by one node) and the performance of Redis is very good when all your commands are simply GET & SET.

which is already supported by Redis Cluster

Isn't a Redis cluster only for sharded data?
I too, have this use case of non-sharded data that's replicated where I want writes to the master and reads to the closest instance. I'm not quite sure how to do that (mongodb does this natively and that's what I'm looking into doing).

Read-write splitting is only implemented in Cluster mode currently. The support of it for standalone Redis or Sentinel is not here yet but pr is welcome.
It shouldn't be hard to do the same thing for Sentinel. You can refer to https://github.com/luin/ioredis/blob/master/lib/cluster/index.js#L427-L433 for how to detecting whether a command is readonly (that can be sent to slaves) or not. Then override Redis#sendCommand or just write a wrapper for it to send every command to different Redis instance.

There is no pipeline implemented in cluster setup in many redis clients. We decided to use sentinels and replications with sharding and scaling reads with this setup would be really awesome.

@luin I have a doubt regarding the override of Redis#sendCommand. Should it pick a random node? But how to know the available nodes? Wouldn't this have a performance impact.

@nodo Refresh available nodes periodically with INFO command and pick a slave randomly or via a config function.

Thanks @luin. Probably I am missing something, but with INFO I can get only private IP of the replicas which is not always useful. Also, INFO should be called periodically to keep the information up-to-date. What do  you think?

@nodo The information about slave addresses from INFO is related with your setup, the IP will not be private if your bind the slaves to the current interface.
Yes, INFO may be called every second or so.

Thanks for your comment @luin.
I am not sure if this could be a general solution. For instance, when using Elasticache it is not possible to bind the slaves to the interface. I believe this is the case with docker as well.
Do you think this is a good enough solution anyway?

@luni,
Isn't read write splitting supported now ? If I'm reading the docs correct, I can use two redis connection with sentinels and do r/w splitting.
var redis_ro = new Redis({   sentinels: [{ host: '<IP_ADDRESS>', port: 26379 }, { host: '<IP_ADDRESS>', port: 26380 }],   name: 'mymaster',   role: 'slave' }); var redis = new Redis({   sentinels: [{ host: '<IP_ADDRESS>', port: 26379 }, { host: '<IP_ADDRESS>', port: 26380 }],   name: 'mymaster' });
Then I'm able to do different calls like this:
redis.set('foo', 'bar'); redis_ro.get('foo');
Or am I missing something?

@toredash It depends on what you think is read-write splitting. The discussions above consider "read-write splitting" as an automatic way to send different commands to different nodes via ONE Redis instance. Your example works, while developers have to do the splitting themselves.

is read-write splitting supported currently ?

@dev-drprasad That's supported in the cluster mode. Otherwise, you may refer to @toredash 's approach.

Any update for read-write splitting with sentinel?

any update on this matter ?  I'm trying to use a specific slave for reads from 2 slaves and master for the writes  . is the answer still the same , use 2 different instance of the client ?


Malformed EC xref in GO:0016412

xref: EC:<IP_ADDRESS>)
Note trailing bracket.

didn't see this one. Done.


Add warning in plot() command for missing Graphviz installation

The current code gives an error when Graphviz is not installed. It would be interesting to have a warning instead suggesting the installation of the software.

I see that the package is not actively maintained. Closing the issue.


Expected a value of type "EntityController" but get one of type "EntityController"

The error saying that It's expecting Type (i.e EntityController) but got one of same type(i.e, EntityController) , It's really wired for me.
**Reproduction code
I user Initali app bindings with the bellow code
Get.put(EntityController());
and I did accessed it with the follow code inside websocket connection, which will receive data for every 5 minutes
Get.find<EntityController>().updateTrending(json);

Here is the error
Error: Expected a value of type 'EntityController' (in package:sadhuapp/core/controller/entity_controller.dart), but got one of type 'EntityController' (in package:sadhuapp/core/controller/entity_controller.dart)
Flutter Version:
Flutter 2.3.0-24.0.pre
Getx Version:
4.1.4
Describe on which device you found the bug:
Chrome

Sorry, but the error described is not framework related. It's a problem with language-level Types caused by either class duplication or an error in the IDE.
As the error is unrelated and cannot be reproduced, I am closing this

Finally found the issue, It's because Flutter hot reload, If you close and run angain the error won't appear, Hope this will help someone. :).


Calculate G_FLOPs

Hi, could you share your code to calculate the GFLOPs. I try to use get_flops.py from mmdet3d to calculate, however, it doesn't work.

You should provide a dummy_metas for forward_dummy in https://github.com/zhiqi-li/BEVFormer/blob/master/projects/mmdet3d_plugin/bevformer/detectors/bevformer.py#L140.

Hello, thank for your work, but i want to know what the input_shape is,
or which command do you run?
can you show it for me?
thx


action to run pytest base

Hi @acheong08 ...
here is a PR which add a new github action "tests" (to run manually in actions tab)
for now, the only test present is simple ;-)
but in the future, you could integrate the action in your deploy workflow ...
to be sure that you release something which work ootb

btw, I could write real tests on your objects ...
But currently, the only thing which seems to work is the ImageQuery ;-(

Will try to write real tests and see if it works


Appium not identifying slider in UWP windows application

We have UWP application, we are automating it using appium. Application has a left navigation slider which is not getting identified by appium. I tried inspecting the slider using appium desktop, entire window is getting selected, not selecting the slider. Tried using inspect, same issue there also. The UWP application is developed using Xamarin. Please let me know how to solve this
I am beginner in appium & UWP automation. Any help is greatly appreciated

Why do u want to use slider, APPIUM has auto scroll feature so it will automatically scroll to find the element.

Slider i mean to say tab, that has many elements. On clicking the element opens a editor dialog. Appium is not identifying the tab, so not able to click on the element.

Is inspect able to identify the tab

No, inspect also not identify the tab

Then Appium will not work, it works only on the elements identified by inspect.

Anyother alternate solution?

Ask your development team to give and id for the tab so that inspect is able to find the tab.

ok thank you, i will check with them

Have you tried to use Win App Driver UI Recorder to inspect the same element?

Yeah, I tried, but WinAppDriver UI Recorder is getting hanged when used for our UWP app


Default behavior of recalculate() method changed

I've changed the default behavior of the recalculate() method. Now it treats the input as an origin/source. The "reversed" option was renamed to "input is destination" and it's behavior is opposite.
I've decided on a minor change in terminology. The point where path starts will be referred to as "origin" (previously we called it source) and the point where path ends will be referred to as "destination" (previously we called it target). It is a bit more clear now.
recalculate_for_target* methods are now deprecated, as they can easily be replicated with recalculate() method with appropriate optional arguments. They will be removed in upcoming commits once they are fully removed from examples and tests (I tried my best to remove them already).
upcoming features:
"terminate at" -> point_ids option for recalculate()
gives the method an option to terminate mapping once it reaches one of specified points. This will allow us to use DijkstraMap for regular pathfinding, like Astar.

Nice, Its for the best, its gonna be clearer to have this one method with this name


Chart doesn't reflect dataset

Hi, I am trying to use react native graph however in my opinion something is wrong with this library.
Please take a look at the chart. It doesn't look like the dataset. Do you agree with me?
 const numberArray: Array<number> = [0, 20, 100, 0, 100, 100, 10, 0];   const graphPoints: GraphPoint[] = numberArray.map((x, index) => {     return {       value: x,       date: new Date( new Date(2000, 0, 1).getTime() + 1000 * 60 * 60 * 24 * index ),     };   });

@mrousavy am i doing anything wrong?

Hi, I am trying to use react native graph however in my opinion something is wrong with this library.
Please take a look at the chart. It doesn't look like the dataset. Do you agree with me?
 const numberArray: Array<number> = [0, 20, 100, 0, 100, 100, 10, 0]; const graphPoints: GraphPoint[] = numberArray.map((x, index) => { return { value: x, date: new Date( new Date(2000, 0, 1).getTime() + 1000 * 60 * 60 * 24 * index ), }; });

@mrousavy am i doing anything wrong?

Same here, the values are correct for me but the graph will show a line that is increasing even though the value shows dips....

yeah, it's working bad. What a pity

I ran into this issue as well. I think this issue arises when your dataset skips date ranges, or if the datetime is not in UTC. In my usage, I had a list of objects reflecting a count per day. However, for days without any values they were skipped, causing the chart to not match the data.
After ensuring that all days were present in the list, even with a count of 0, that resolved this issue. I also had to update all of the dates to be in UTC.
Hopefully that helps others experiencing this?

This issue still occurs, Look at the input data below
const defaultData: GraphPoint[] = [
{ date: new Date(2000, 0, 1), value: 0 },
{ date: new Date(2000, 0, 2), value: 1 },
{ date: new Date(2000, 0, 3), value: 0.4 },
{ date: new Date(2000, 0, 4), value: 0.2 },
{ date: new Date(2000, 0, 5), value: 0.8 },
{ date: new Date(2000, 0, 6), value: 0.6 },
{ date: new Date(2000, 0, 7), value: 0.4 },
{ date: new Date(2000, 0, 8), value: 0.7 },
{ date: new Date(2000, 0, 9), value: 0.5 },
{ date: new Date(2000, 0, 10), value: 1 },
{ date: new Date(2000, 0, 11), value: 0.9 },
{ date: new Date(2000, 0, 12), value: 0.6 },
];
results in this image

where you can see the first peak is the value 1 and the last peak is also 1 (verified by consolelog) but they are not at the same height
the max point should be 1 whicH appears twice so there should be two peaks at the same height one at the start and one near the end but the one at the end is almost double the first one

Yea this is the chart smoothing I built. It sacrifices accuracy for better visuals, we can add a prop to disable that smoothing to present accurate data for such extreme values. If someone submits a PR for that prop I can gladly review & merge that :)

Yea this is the chart smoothing I built. It sacrifices accuracy for better visuals, we can add a prop to disable that smoothing to present accurate data for such extreme values. If someone submits a PR for that prop I can gladly review & merge that :)

@mrousavy i'm gonna add this over the weekend.

muchos gracias senor

We'll soon merge a PR that adds a disableSmoothing prop to <LineGraph />, which let's you disable the smoothing logic that @mrousavy mentioned.
This will remove any inaccuracies with the dataset. A new NPM version should be out soon!
Closing this issue for now. If something doesn't work, let me know.

@chrispader the current PR still doesn't solve the issues
Multiple data points on same day and also if there is a break with the dates on data does not show correctly

@chrispader any updates on this?


support to execute tasks on k8s pods

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
Airflow version 1.10 introduces Kubernetes Executor and Kubernetes Operator, allowing new Pods to be created for each task to process, and the newly created Pod will be cleaned up after execution, and each task can be specified with a different Docker image for processing
Airflow 1.10 版本引入了 Kubernetes Executor 和 Kubernetes Operator 允许为每一个任务创建新的 Pod 来处理，而执行完之后新创建的 Pod 会被清理掉，并且每一个任务都可以指定不同的 Docker image 来处理
Should DolphinScheduler also support this way to perform tasks?
DolphinScheduler 是否应该也支持这种方式来执行任务?
Use case
No response
Related issues
No response
Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Duplicated with #5648

Close since duplicated with #6503


Direct login with google or linkedin

What does this PR do?

removes regular login page
uses new /login/wizeline and /login/linkedin routes in the homepage
on auth.server.tsx exports a getAuthenticator function that allows setting the connection option to login directly with google or LinkedIn

TODO: improve the UI
Where should the reviewer start?

review the individual commits

How should this be manually tested?
Any background context you want to provide?

depends on #235

What are the relevant tickets?

Screenshots

Questions

Checklist

[ ] I added the necessary documentation, if appropriate.
[ ] I added tests to prove that my fix is effective or my feature works.
[ ] I reviewed existing Pull Requests before submitting mine.

there is also a bug with the redirect, when you log in with linkedin it sends you to /projects instead of /intershipProjects

there is also a bug with the redirect, when you log in with linkedin it sends you to /projects instead of /intershipProjects

also noticed this

there is also a bug with the redirect, when you log in with linkedin it sends you to /projects instead of /intershipProjects

Ah yes! This probably can also be changed, in a similar fashion to what I'm doing for the connection option, or something similar.
Same for @AxelUZ comments.
@CarlosMilano , @AxelUZ do you want to take ownership of this PR?

there is also a bug with the redirect, when you log in with linkedin it sends you to /projects instead of /intershipProjects

Ah yes! This probably can also be changed, in a similar fashion to what I'm doing for the connection option, or something similar.
Same for @AxelUZ comments.
@CarlosMilano , @AxelUZ do you want to take ownership of this PR?

Sure, I will add it to my ticket and start working on it. 👍


chore: use release-please action

test releases with release-please action

/gcbrun

/gcbrun

/gcbrun


mypy pyi-file is required.

I've found that the library contains no pyi-file.
Is it will be added to mypy repository that described in Stub files?
I think a template can be obtained from official mypy repository fractions.pyi

Why do we need this? Current package already has type annotations for pure-Python version
https://github.com/lycantropos/cfractions/blob/22ede26a22786f5480174e2306414ff38f7c7b77/cfractions/__init__.py#L22-L349
and PyCharm for example is able to process them.

Steps to reproduce:

install mypy: python -m pip install mypy
install cfractions: python -m pip install cfractions==1.4.0
run "C:\Users\USER_NAME\AppData\Local\Programs\Python\Python39\Scripts\dmypy" run --timeout 7200 -- --no-color-output --namespace-packages "D:\src\test2.py"

output:
D:\src\test2.py:1: error: Skipping analyzing "cfractions": found module but no type hints or library stubs
D:\src\test2.py:1: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
Found 1 error in 1 file (checked 1 source file)

test2.py content is:
from cfractions import Fraction

number = Fraction(12)

If change from cfractions import Fraction to from fractions import Fraction then no issues.

Fixed by adding interface files into distribution, available from version 2.0.0


(WIP) Fix widths in GUEST_CHECK_PADDR

@mato It seems like I'm still getting some warnings because of size_t vs. unsigned long long.  E.g.,:
warning: format specifies type 'unsigned long long' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
    GUEST_CHECK_PADDR(wr->data, GUEST_SIZE, wr->len);
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~

If I use the %zu for the size_t, as you suggested in https://github.com/Solo5/solo5/pull/116, the warnings go away.  Is there a reason we can't use %zu?
#define GUEST_CHECK_PADDR(p, l, sz) \
    {                                                                          \
        uint64_t __e;                                                          \
        if ((p >= l) || add_overflow(p, sz, __e) || (__e >= l))                \
            errx(1, "%s:%d: Invalid guest access: "                            \
                "paddr=0x%" PRIx64 "sz=%zu",                          \
                    __FILE__, __LINE__, p, sz);                                \
    }


dvt: correction in spelling in dvt doc

Corrects Obol Network spelling in dvt document.

Thanks @dB2510!


[Service Connector] az spring connection: Add support for az sping-cloud renaming

Related command

Description

az spring-cloud will be renamed as az spring. https://github.com/Azure/azure-cli-extensions/pull/4770
This pr adds a new command group az spring connection to support SC for the migration, and the az spring-cloud connection command group will be deprecated along with az spring-cloud.
Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change
[Component Name 2] az command b: Add some customer-facing feature

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] The PR title and description has followed the guideline in Submitting Pull Requests.

[x] I adhere to the Command Guidelines.

[x] I adhere to the Error Handling Guidelines.

Service Connector

@kairu-ms Hi kai, please help review and complete the pr/

/azp run


Lazy Getter + NetBeans = Error parsing file

When using NetBeans 8.2 with Maven + Lombok with the following code
@Getter(lazy = true)
private final String calculated = doCalculate();
private String doCalculate()
{
return this.toString();
}
NetBeans show red ! with "Error parsing file" in Projects view
Also there's (classname).java.err in NB's cache directory with:
ERROR:30:variable calculated is already defined in class lombok_test.LombokTestBean
ERROR:29:cannot find symbol\n  symbol\d   method get()\n  location\d variable calculated of type java.lang.String
Is it because NB sees both "String calculated" and "AtomicReference calculated"?
If so, could you change it so that generated field is called something like "AtomicReference calculatedRef"?

Can you add the whole file that produces this problem? I can't understand what or where is your AtomicReference calculated.

@victorwss
calculated is cached from this example
@Lilianne-Blaze

Is it because NB sees both "String calculated" and "AtomicReference calculated"?

The original field should be replaced by the AtomicReference and this normally works, at least I can't recall any issue concerning this.

If so, could you change it so that generated field is called something like "AtomicReference calculatedRef"?

This would surely be wrong. The original field must be simply removed and this works for me. I don't work myself on lombok, but the project maintainers would surely need more details like the used java version and possibly other interfering annotation processors.

package com.example.lomboklazygetandnb;
@lombok.extern.java.Log
public class LombokLazyGetAndNB
{
private static final String NETBEANS = "8.2 patch 2";
private static final String JAVA = "1.8.0_172 x64";
private static final String WINDOWS = "Windows 10 Pro x64";
private static final String NB_SETTINGS = "turn off Compile on Save";
// when set to true NB shows red ! with "Error parsing file." in Projects view
// when set to false it doesn't
@lombok.Getter(lazy = true)
private final String calculated = initCalculated();
private String initCalculated()
{
return "! " + new java.util.Date() + " !! " + Math.random();
}
public static void main(String[] args)
{
System.err.println("main...");
LombokLazyGetAndNB instance = new LombokLazyGetAndNB();
System.out.println("calculated = " + instance.getCalculated());

}
}

Hi, this issue still exists with lombok-1.18.18 and Netbeans-12.3. I compile a sample project that reproduces this here: https://github.com/totakura/nb-lombok-lazy-getter

I also opened a bug report on Netbeans: https://issues.apache.org/jira/browse/NETBEANS-5512


Adding proper validation to the space path

Space path name requires validation:

Application name must contain only letters (uppercase and lowercase), numbers, hyphens, underscores.
It can not start and end with hyphens, spaces or underscores.
It should be minimum 4 characters long.
It should be maximum 63 characters long.
It should start with a forward slash.

Can one of the admins verify this patch?

Thanks


Fix broken grid layout when unicode characters are used

When filenames contain emoji, Japanese, Chinese, or etc., grid layout will be broken. So, please use unicode-width crate to count each filename's width.

Hi @kkk669,
Thanks for the PR. Could you add some tests in order in order to validate you changes please?

@Peltoche Sure. You can test by the following steps.

@Peltoche Thanks. I understand. I’ll write some tests code in a few days.

I added tests to check get_visible_width.

Top! Thanks!


create a usermods.xml dummy file

during init checks if usermods.xml exists and if not creates an empty file as "placeholder". Thus, we don't have to ship it ;)

can we close this @ArtiVlasov ?

closed since outdated ;)


Create the "Invite player" function

Description

The invite player function should be added to game actions
The function should allow the creator of a game invite other player into the game using the player username
It should take in the game Id and the player username and invite the player to the game
Only the game creator can invite players to join that particular game
The invited player will need to accept the invitation to be fully part of the game

Action Items

Create the invite player function
Create the corresponding test cases for the invite player function

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
I am a blockchain developer , and i have experience in html, react , css, javascript , typescript, cario and solidity.
How I plan on tackling this issue
To solve this issue i will create an invite player function that allows only the game creator to invite others using game Id and player Username. Next i will ensure the invited player can accept the invitation.I will proceed to write corresponding test cases to verify functionality, especially checking creator permissions.

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
hello @princeib please can i work on this issue
How I plan on tackling this issue
Steps to Implement the Invite Player Function
Define the invitePlayer Function:
Parameters: gameId, playerUsername.
Check Permissions:
Verify that the user is the game creator.
Send Invitation:
If authorized, send an invitation to playerUsername and mark it as pending.
Player Acceptance:
Implement functionality for the invited player to accept the invitation.
Create Test Cases:
Ensure:
Only the creator can invite players.
Invitations are sent correctly.
Invited players can accept.
Proper error handling for unauthorized access.
Testing:
Run test cases to confirm functionality.

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
hello @prince can i hop on this issue
How I plan on tackling this issue
Invite Player Function:
Check if the game exists by gameId.
Ensure the current user is the game creator.
Verify if the player exists by playerUsername.
Ensure the player is not already invited or part of the game.
Add the player to the invitedPlayers array and save the game.
Test Cases:
Game not found: Ensure the function throws an error if the game doesn't exist.
Unauthorized user: Verify that only the game creator can invite players.
Player already in game: Check that the function throws an error if the player is already in the game or invited.
Successful invitation: Confirm the function invites the player if all conditions are met.

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
Having studied computer science, with almost 5 years of work experience I have a lot of expertise with TypeScript and Cairo, which gives me a solid basis in frontend integration and smart contract development. My experience with these technologies enables me to effectively handle any essential off-chain components as well as the on-chain logic needed for the invite player function.
How I plan on tackling this issue
I would first look at the current game structure to figure out the best integration point for the invite process before implementing the "Invite player" function. Comprehending the current player management system and game state representation is necessary for this. Next, I would create the invite_player function, which would add the invited player to an invitation list for that particular game, confirm the caller's legitimacy as the game producer, and check their eligibility. I would schedule the logic for accepting invitations and the events required for monitoring them concurrently. Frontend integration would be taken into consideration to offer a smooth user experience, and testing would cover a range of scenarios to guarantee robustness. I would keep thorough records all along the way to make maintenance easier in the future and to help users.

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
Hi, I’m Jose Mario from Costa Rica. With over 15 years of full-stack development experience, I am actively involved with Dojo Coding and am currently expanding my expertise in Rust, Cairo, and Solidity.
How I plan on tackling this issue
Create the "invite_player" function in the game_actions.cairo

Add a function invite_player that takes in game_id and player_username.
Ensure only the game creator can invite players by checking the caller's address against the game.creator.
Use a mapping (invitations_map) to store and check whether a player has already been invited.
If the player has not been invited, mark them as invited.

Implement the invite_player function logic

Retrieve the caller's address using get_caller_address().
Read the game from games_map to check the creator's address.
Check if the player has already been invited using invitations_map.
Write to invitations_map to mark the player as invited if all checks pass.

Tests

Ensure the game creator can successfully invite a player.
Verify that non-creators cannot invite players.
Ensure the function prevents re-inviting the same player.

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
I have experience in software development and have worked with applications based on object-oriented programming. I have trained at DOJO CODING, where I have practiced the Cairo and TypeScript languages. This has allowed me to understand the importance of user roles in games, differentiating between creators and players. Additionally, I have skills in writing and executing test cases to ensure that the functionalities are robust and error-free.
How I plan on tackling this issue
To tackle the issue of implementing the "invite player" function, I’d start by really understanding what’s needed. It’s crucial that only the game creator can send out invitations, so that has to be clear from the get-go.
Next, I’d design the invitePlayer(gameId, username) function. This function would need to check that the person trying to send the invite is indeed the game creator. It should also verify whether the username provided is valid and if the player exists in our database. Once everything checks out, the function would send the invitation and update the game state to reflect that an invitation has been sent—whether it's pending, accepted, or declined.
When it comes to implementation, I’d use appropriate data structures to manage the relationships between games and players, making sure to handle any unexpected situations, like trying to invite someone who’s already in the game or who doesn’t exist.
I’d also think about the user interface. I want it to be easy for the game creator to send invites, so I’d design a simple screen where they can enter the player’s username and send the invite, displaying clear success or error messages.
I wouldn’t forget about testing, either. It’s essential to ensure the function works correctly, so I’d write several tests to cover different scenarios: when an invite is successfully sent, when a user tries to invite without permission, and when the invited player doesn’t exist.
Finally, I’d document everything so that any other developer can understand how the function works and what it does.
With this approach, I can make sure that the "invite player" function is effective and integrates smoothly into the game.

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
My name is Collins Ikechukwu. I'm a full stack blockchain developer developer.
How I plan on tackling this issue
I will:
Add the invitePlayer(gameId, playerUsername) function to the game actions.
Ensure only the game creator can invite players by checking the creator’s ID.
Implement logic for the invited player to accept the invitation.
Write test cases to cover successful invites, invalid invites (non-creator attempts), and player invitation acceptance.

Hello @princeibs I'm a fronyend and a blockchain developer. I will love to work on this

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
I have worked extensively on designing functions to manage user roles, permissions, and interactions. This involved building secure mechanisms for access control, ensuring only authorized users could execute specific actions—similar to the requirements of this task. I plan to diversify my expertise and this issue seems fit to me, and I am well-equipped to develop this feature with precision and ensure robust handling of user interactions.
How I plan on tackling this issue
I plan on to develop the invite player function to ensure only the game creator can send invitations by verifying the game ID and player username, implement logic for the invited player to accept or decline, and create comprehensive test cases to validate functionality, including scenarios for invitation handling and user authorization.


Dynamic change image resource to glTF files

Thanks this awesome project.
I am new to 3D model rendering with glTF file in Android app, and  I just have a question but not sure if it is suitable to ask questions here, so If it is not suitable, you can remove my issue immediately.
My question is:  Is there a way to dynamic change baseColorTexture or normalTexture resource images?
Below is my testing model

The skin resource (baseColorTexture) image is like:

and I want to change baseColorTexture to this image on runtime:

My question is similar with #2891 , but he only change baseColorFactor on runtime but I want to change png resource files
I find this API in MaterialInstance, but I can’t find how to use this for glTF files. I only find some sample for .mat file.

public void setParameter(@NonNull String name,
@NonNull Texture texture, @NonNull TextureSampler sampler)

Can you give me some example or hint for this?  Thanks a lot.

You can change those values at runtime indeed. The source material will show you all the names to use.


My contribution

Fix to  Issue #
===============================

===============================
Checklist

[yes ] I read the contributing guidelines
[ yes] I structured my project as stated in the contributing guidelines
[ yes] My project uses dependencies
[yes ] I starred the repo
[ definetly] I had fun contributing!

Hi @theadeyemiolayinka, please review and accept my PR. Thank you!

Project reviewed and merged.
Thank you @elsa-linu
Feel free to add more projects.

Sure, Thanks a lot @theadeyemiolayinka :)


Slide-Specific Transitions produce weird hybrid transition effects

I have a presentation that is set to use the default 'slide' transition. Within that, I want two slides that have no transition effect between them.
My assumption was that the '@transition[none]' override controls one transition. However, it appears to control half of the two transitions either side of the slide that has the override.
This means that:

going from the slide before to the overridden slide produces an effect where the first slide  contents slide away and the overridden slide contents just appear. Not the desired effect.
going from the overridden slide to the next slide, the overridden slide contents vanish and the next slide contents slide in.

If I set the override on TWO consecutive slides, I get the desired effect between them.
Demo here: https://gitpitch.com/joachim-n/git-pitch-demo/master

I will need to look into this further when time permits but here is a suggestion that you can try out and let me know how it goes:
When specifying your custom transitions for individual slides you can set both an in and an out transition for the slide. For example:
@transition[none slide]

Another example:
@transition[none none]

You may be able to get the transition behavior you want for all of your slides by using an appropriate combination of custom and default transition settings.
If no combination gives you want you need, you might want to consider setting the global transition setting to none.

Specifying the in and out transition is working great - just what I was after!
That could really do to be added to the docs -- https://gitpitch.com/docs/markdown-features/shortcuts#set-slide-specific-transition doesn't mention that at all.

Glad it gave you what you needed. Good suggestions on updating the docs too. This is really a reveal.js feature but I will add a note to my own docs to help people discover the feature.
Before we close this issue thread, do you mind sharing a snippet of your updated PITCHME.md on the thread, a snippet that demonstrates how you are now setting your transitions.  Thanks.

I've noticed something similar, if you have an image as a background at the top level, and turn off transitions if you navigate down to a vertical slide, the image will transision off the top of the page.
Is that expected behavior?
Example:
---?image=assets/example.jpg
# Top Level slide
@transition[none none]
+++
@transition[none none]
# Vertical slide

@DesHorsley if I understand correctly what you are describing it is because background image transitions are distinct from the standard slide transitions.
If you want to disable transitions for background images try setting the transition query parameter on the background image delimiter to none. For example:
---?image=assets/example.jpg&transition=none
# Top Level slide
@transition[none none]
+++
@transition[none none]
# Vertical slide

If you try it out let me know if it is addressing the issue you mentioned.

Right on the money again, thanks @gitpitch fantastic support.

To address the gap in the docs identified on this thread I have just updated the transition shortcut syntax docs to reflect the use of custom slide-in and slide-out transitions on individual slides.


Link is not defined error in React

I was trying to set up a react application with https://github.com/phenomic/phenomic/blob/master/packages/preset-react-app/docs/getting-started/3.md. When I created component BlogPostContainer I am getting an error saying
ReferenceError: Link is not defined
BlogPost

My package.json
{
  "private": true,
  "devDependencies": {
    "@phenomic/cli": "^1.0.0-alpha.10",
    "@phenomic/core": "^1.0.0-alpha.10",
    "@phenomic/preset-react-app": "^1.0.0-alpha.10",
    "react": "^16.0.0",
    "react-dom": "^16.0.0",
    "react-router": "^3.2.0"
  },
  "phenomic": {
    "presets": [
      "@phenomic/preset-react-app"
    ]
  },
  "scripts": {
   "start": "phenomic start",
   "build": "phenomic build"
 }
}

I think react and react-dom is 16 now.

Got it, in the tutorial we forgot to require it.
So in App.js:
import { Router, Route, browserHistory } from "react-router";
will become:
import { Router, Route, browserHistory, Link } from "react-router";


MCA is broken, can't call init

using the provided example code:
In [1]: import prince

In [2]: mca = prince.MCA(
   ...:      n_components=2,
   ...:      n_iter=3,
   ...:      copy=True,
   ...:      engine='auto',
   ...:      random_state=42)
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-2-1a9495ebebd9> in <module>()
      4      copy=True,
      5      engine='auto',
----> 6      random_state=42)

TypeError: __init__() got an unexpected keyword argument 'engine'

In [3]:

also tried other argument combos with init, and they all fail.

I'm on it.

Alas I'm not able to reproduce this error. Are you using Python 3? What version of prince are you using?

Oops I didn't notice that prince was not compatible with Python 2.  I was
testing with 2.7 and installed via pip. I can tell you the exact version of
prince in a few hours.
On Sun, May 20, 2018 at 12:57 PM Max Halford<EMAIL_ADDRESS>wrote:

Alas I'm not able to reproduce this error. Are you using Python 3? What
version of prince are you using?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/MaxHalford/prince/issues/21#issuecomment-390495902,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADMROKJZdznWfiEOuE6L4xp5PjApy6sMks5t0aBugaJpZM4UGIhV
.


annotation mode resize from corner has stopped working in version 2.6.1

can't drag little black box to resize selection

I've pushed a fix for this in the development branch, I hope that's okay
Could you please double check?

I've pushed a fix for this in the development branch, I hope that's okay
Could you please double check?

worked for me
can move this to done with new release, although can also wait for someone else to confirm it's working for them.

worked for me
can move this to done with new release, although can also wait for someone else to confirm it's working for them.


ARM runner has been stuck for multiple days

This CI job is running for days https://github.com/msys2-arm/msys2-autobuild/actions/runs/6508662089
@jeremyd2019

It managed to hang up right as I was leaving on a long weekend trip, and I didn't notice until I got back.  I wanted to get a fresh runner going anyway, for the latest Windows Updates, but was waiting until I got back to try to avoid any issues while I was gone :grin:.  New runner is going now

Could you setup a remote access for @lazka, So he could cancel jobs and clean them just in case (like this one).

@jeremyd2019 Would you like to check if this CI job is stuck again https://github.com/msys2-arm/msys2-autobuild/actions/runs/6570301888 ?

@jeremyd2019 https://github.com/msys2-arm/msys2-autobuild/actions/runs/6714121489/job/18246869719

@jeremyd2019 likely stuck https://github.com/msys2-arm/msys2-autobuild/actions/runs/6980352526/job/18995436393

I've been ruminating on the idea of some sort of 'watchdog' to detect and kill stuck pacman processes automatically, but I haven't settled on the best language/technology to do so.  It seems like python would be most convenient since autobuild is already python, I could put a background thread like I did to try polling the token, but I'm not familiar with process querying/killing modules.
What I've got so far is a cygwin commands to get the cygwin pid of the process I want to kill (what I really want is the child pacman process, this gets the newest pacman process older than 1800 seconds)
pgrep -xn -O 1800 pacman

coupled with the script I already had (because when stuck in this state cygwin kill is not sufficient)
https://github.com/jeremyd2019/winautoconfig/blob/master/msys2-runner-setup/setupscripts/wkill.sh

It would be a bit clear if the reason of such CI failure is explained.

lost power, so any lack of runner in the near future will be due to that

@jeremyd2019 https://github.com/msys2-arm/msys2-autobuild/actions/runs/7355161710

@jeremyd2019 https://github.com/msys2-arm/msys2-autobuild/actions/runs/7862352714

stuck again https://github.com/msys2-arm/msys2-autobuild/actions/runs/8401152114

unstuck it.  the powershell variant in https://github.com/git-for-windows/git-for-windows-automation/pull/61#issuecomment-2014464189 was intriguing, it seems like it could be close to being turned into a 'watchdog', would just need to also query CreationDate field to see any pacman processes that have been running a long time (like a half hour? or hour?), and then arrange for it to run continuously (scheduled task?).  Of course, I'd much rather get whatever bug is causing this fixed...

https://github.com/msys2-arm/msys2-autobuild/actions/runs/8938789079/job/24553638109

stuck again

There's a stuck job now, but it doesn't seem to be the runner this time.  Probably something on Github's end.

stuck again.

stuck again https://github.com/msys2-arm/msys2-autobuild/actions/runs/9336436265

stuck again https://github.com/msys2-arm/msys2-autobuild/actions/runs/9739288128

This seems to be a different issue.  I think maybe the machine rebooted.

stuck again https://github.com/msys2-arm/msys2-autobuild/actions/runs/10108768753

stuck again!

"echo: write error: No space left on device"

What?!?  I deleted some of the cruft under %USERPROFILE% (go, .cargo mainly) and increased some free space.  Will try to build rust again

Is #76 related?
Otherwise, try good old WinDirStat :)

https://github.com/msys2-arm/msys2-autobuild/actions/runs/10539907589

https://github.com/msys2-arm/msys2-autobuild/actions/runs/11418583395/job/31772208187

https://github.com/msys2-arm/msys2-autobuild/actions/runs/11418583395/job/31772208187

seems to have gotten unstuck and errored out after some hours.
Unrelated note: Runner groups are now available for everyone it seems. Not that it makes much difference with the current setup with a separate org, but good to know: https://github.blog/changelog/2024-10-17-actions-runner-groups-now-available-for-organizations-on-free-plan/

seems to have gotten unstuck and errored out after some hours. (or anyone poked at it?)

Unrelated note: Runner groups are now available for everyone it seems. Not that it makes much difference with the current setup with a separate org, but good to know: https://github.blog/changelog/2024-10-17-actions-runner-groups-now-available-for-organizations-on-free-plan/

Yeah, I could do away with the extra labels to differentiate between autobuild and CI instances and enforce it with runner groups instead, presumably.

https://github.com/msys2-arm/msys2-autobuild/actions/runs/11604120891

Is it stuck again? This time with checking keyring... as the last line in the log:
https://github.com/msys2-arm/msys2-autobuild/actions/runs/11729327900/job/32674802852#step:11:507

yep, killed

Unrelated note: Runner groups are now available for everyone it seems. Not that it makes much difference with the current setup with a separate org, but good to know: https://github.blog/changelog/2024-10-17-actions-runner-groups-now-available-for-organizations-on-free-plan/

I set up runner groups in the msys2-arm org, and set the windows-arm64-autobuild group to only allow msys2-arm/msys2-autobuild repository and msys2-arm/msys2-autobuild/.github/workflows/build.yml@main workflow.  However, it looks like specifying a runner group works differently in the yaml:
runs-on:
  group: windows-arm64-autobuild

instead of
runs-on: ['Windows', 'ARM64', 'autobuild']

so I don't know how that would work out in the matrix...

I killed dirmngr and keyboxd processes, and deleted ~/.gnupg, hopefully will make it happier.  I'm clearing all the failed builds and am starting a build.

Looks like it happened again.  Killed pacman and dirmngr/keyboxd again.

Hmm, wasn't there a gnupg update recently?

yeah, it aligns with the update.. sadly

It looks like the runner is stuck again. This time checking package integrity... is the last line in the log.

During setup-msys2... that's different...


Move common parts example apps to -common

Problem
Current example apps share a lot of code for the top-level - platform-agnostic - behavior
Moving forward maintenance will become harder, code is already diverging on some points (fi QRCode printing)
Proposed Solution
Moving common parts to the common code directory of the example.
Some parts, recurring in all examples, could even be globally common for all example applications - for example LEDWidget
Main differences seen so far in main startup/timer use.
Identified communalities:

Lock-App
** BoltLockManager.cpp
** ZclCallbacks.cpp
** AppTask.cpp

Lighting-app
** LightingManager.cpp
** ZclCallbacks.cpp
** AppTask.cpp

Overall
** LEDWidget.cpp
** ButtonHandler.cpp

Before starting on this issue, feedback is required from other example maintainers on feasibility and alignment
This change will simplify maintenance, but also align content of the applications.
Feature differentiation might be slightly more difficult.
From the contributors:
@Damian-Nordic
@jmartinez-silabs , @jepenven-silabs
@doru91

Hi,
It can be done but we would need absraction code for the gpio, led api, timers, etc.
We use FreeRTOS timers and I think nordic use something else now with NRFConnect. I am not sure for other manufacturer.
There are also hardware considerations. For example, nordic Dev kits have 4 push buttons and 4 LEDs they can use while ours(silabs dev kit) only have two. We have an onboard LCD for thr QR code and nordic use an external one.
Personally, I think it is ok to have code duplicated for some of this because it's example code and not Chip application related. Also It is easier for outside users to clone the repo and use the example for the dev kit they have and navigate the code and API relative to the manufacturer platform they use without an abstraction layer on top.
For the ZclCallbacks.cpp that should be straight foward and easy to move to common lock-app/common lighting-app

@vivien-apple thoughts about this given the tree now?

@vivien-apple thoughts about this given the tree now?

I guess this issue is mostly, out of my scope. It is related to sharing more code into some examples that are really application specific.
Personally, based on the answer from @jmartinez-silabs I would say that it can be closed  at the moment. It can be reopened if someone really believe this is important.


Sometimes it works, sometimes not.

Thanks for raising your issue here! 🙂
Before you submit the issue however, we'd like you to consider the follow points.

We like to use the issue tracker for confirmed issues.
If you're stuck with SFML, please use the forum to get help.

Subject of the issue
Sometimes it crash while opengl context creation, sometimes not, sometimes it isn't displaying anything, sometimes it does. I guess it's a problem with opengl context creation.
Your environment

Ubuntu 18.04 64 bits and windows7 pro 64 bits.
2.5.
g++4.9
-std=c++14

Steps to reproduce
It's difficult to provide a minimal code to reproduce the problem because I haven't problems with a minimal code, the problem comes when I create multiple windows and I add them into a class by example (crash at the opengl context creation), or when I create RenderTexture into a class.
Sometimes I can't draw to them because the opengl context is not valid.
I looked into opengl context creation with SFML and the code is very weird.
To solve those problems I tried to encode my own window module with a simple opengl context creation as explained here for context with windows :
https://www.khronos.org/opengl/wiki/Tutorial:_OpenGL_3.0_Context_Creation_(GLX)
And here for contexts without windows :
https://sidvind.com/wiki/Opengl/windowless
Without transcient contexts, shared contexts and glx initialization functions with globalInit.
But it doesn't solve anything because it's not compatible with the SFML graphic module, it even fails to create the frame buffer object, and the max texture size returned is only 250x250.
I tried other libs but it doens't seems there is one which is compatible with the SFML graphic module (I had to code it again for displaying 3D vertices)
And it seems we can't include <X11/xlib.h> otherwise there are conflits with SFML enums. (None, Status and BadRequest), forward declarations doesn't works too because declaring XVisualInfo gets me a compilation error. (conflict definition of the struct, previously defined in X11)
And on windows it doens't display shadows and lights.
And when I use simple variables (without copying it) instead of pointers to the render textures and shaders on linux, it doesn't display shadows.
Sometimes it works, sometimes not. I don't use opengl outside of SFML, so the opengl contexts should be correctly activated but it's not always the case.
I really don't know what to do.
Expected behavior
Create valid opengl contexts.
Actual behavior
The opengl contexts created are not valid.

Please use the forum for such questions. 🙂
Sounds like you aren't handling the activation of the context, see also: https://www.sfml-dev.org/tutorials/2.5/window-opengl.php#managing-opengl-contexts


PP-8696: Remove unneeded stages from Jenkinsfile

Given Jenkins doesn't do deployment anymore, these stages aren't needed.

Given Jenkins doesn't do deployment anymore, these stages aren't needed.


Z-depth for Datatemplates

Since the Z-depth has to currently be set in the code-behind, it makes it very difficult to set for Datatemplated elements since they cannot be accessed by their name. Maybe being able to set it directly in the XAML would be good?

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

ID: 1e564c0e-575e-516c-ff48-bd01656e9801
Version Independent ID: eb4fafc4-66aa-5de1-0a58-2816919fe25c
Content: Z-depth and shadow for UWP apps - Windows UWP applications
Content Source: windows-apps-src/design/layout/depth-shadow.md
Product: uwp
Technology: design
GitHub Login: @knicholasa
Microsoft Alias: nichola

Hi there, thanks for the feedback! Would you mind opening a new issue in the WinUI GitHub with this feedback?

@thejimmyj57 , could you please opening a new issue in the WinUI GitHub with this feedback?

@knicholasa @chigy yep il do that right now


When registering user resource template and workspace service template is not found exception not clear

Describe the bug
When try and register a user resource template, but the workspace service template does not exist the error message is not clear.
TEMPLATE_DOES_NOT_EXIST = "Could not retrieve the 'current' template with this name"
need to add
WORKSPACE_SERVICE_TEMPLATE_DOES_NOT_EXIST = "Could not retrieve the workspace service template specified"

Hi @marrobi, here we need to replace the current error message with the new one. right?


Add Favicon

Added new favicon & updated doczrc to display it. Closes #4.

Oh no! It looks like I made a mistake and this is actually the best way to add a favicon: https://www.docz.site/docs/add-favicon-and-metadata
I can merge this branch here with the favicon and take it from here, if you'd like.
We can also merge this branch and, if you'd like, you can create a new PR that implements something like https://www.docz.site/docs/add-favicon-and-metadata

LOL Damnit, I knew it wasn't going to be perfect! It might be better for you to take it from here, since I don't have much experience with docz and sadly I don't have a lot of time to dedicate to learning it right now (even though it looks fun!).

Awesome. Thanks for all your help! I truly appreciate it!


Rank Resumes Based on Job Postings

Objective: Rank resumes in comparison to the job posting.
Tasks:

Develop a scoring system that ranks resumes based on keyword matches, contextual relevance, and overall fit.
Use a weighted scoring algorithm to compare resumes to job postings.
Implement the ranking logic and integrate it into the existing pipeline.

Estimated Time: 3 days

1. Develop a Scoring System
Objective: Create a method to score resumes based on how well they match the job postings.
Tasks:
Define a scoring algorithm that considers keyword matches, contextual relevance, and other important factors.
Assign weights to different components (e.g., skills, experience, education) based on their importance.
2. Implement the Ranking Logic
Objective: Integrate the scoring system into the existing pipeline.
Tasks:
Write a function that takes a resume and a job posting as input and returns a score.
Sort and rank resumes based on their scores.
3. Test and Validate
Objective: Ensure the ranking system works correctly and provides meaningful results.
Tasks:
Test the ranking logic with various resumes and job postings.
Validate the results by comparing them with manual assessments.


Handle non-mercator projections in viewer

Either disable viewers or support non-mercator projections...

Example of OL3 viewer with custom grid: https://github.com/pka/t-rex/blob/master/examples/usergrid.html


I got "404" error page when I click the hyperLink

When I click the HyperLink in the page "https://github.com/aitos-io/BoAT-X-Framework/tree/release-v2.1.10/docs/en-us", "404" error page would come out.
The HyperLinks are at the bottom of page which is the part of document readme.md.
You can click "BoAT User Guide", and get what I mean.

This problem is caused by the path format. To ensure that links within BoAT-X documentations are available, this cannot be modified.


I'm using react-modal-login npm package where only social buttons are there ,I can't really get how to add our custom form of username,email,password.can you clearly explain?ty

@pavan-aeturi have a look at loginInputs, registerInputs and recoverPasswordInputs props that allows you to pass an array of the inputs.

ty it helped

Hi, I tried using these props but I haven't figured out how. Can you help me ?


Add ability to handle multiple GET/POST parameters with the same name

As it stands, if scotty receives two parameters with the same name, it will choose the one which was specified last. Most libraries group the values together in a list if the parameter's name occurs more than once.

I remember a pull request regarding this. did it ever get merged in?


Adding a caret in a batch command argument won't work

The following "^1.1" will end up as "1.1" in a batch script's variable because ^ is the escape character...

This will be fixed in the next release. Note that this doesn't work in powershell yet, but I will deal with this when adding powershell support in #28.


Add math, figures formatting for Ch02

Closes #29

@hollasch thanks for the extra pass! I'll keep your notes in mind for the next commits. Had to rebase everything over master to get this merged.


proposal: add copylocks-esque vet rule for sync.Map

go vet currently checks if a lock type is passed by value (or otherwise copied). We should have a similar rule for 1.9's new sync.Map, which has similar constraints.

(I'm working on this)

cc @campoy this is the thing you mentioned in your talk today. Managed to write a patch! 😄

This should still be discussed as a proposal. That said, I don't understand why the existing copylock check doesn't already handle this--sync.Map contains a Mutex field, and copylocks should notice that that is getting copied and complain.

Oh, I'm not arguing against discussing it as a proposal, just wanted to tell francesc I finished it.
The existing check already handles this, yes. But that depends on an implementation detail of sync.Map which may change at some point. It seemed like folks wanted a separate check for this.

#8005 was about extending vet, which we decided at the time (March 2016) not to do. If you are worried about sync.Map "falling out" of the vet check, you could add a test in cmd/vet. But we probably still don't want to change vet's semantics just for this.

Works. I'm new to this, can I just push to the same branch or should I start a new one and close the old gerrit review (if possible)?

@Manishearth Probably better to start a new one if that is easy.

Done, https://go-review.googlesource.com/#/c/go/+/59690/


Add Metadata to replace the functionality of displaying information by previous string ID.

Still WIP, PR submitted only for CI running


fix(memory-leak): Resetting app after 8 hours

:tada: This PR is included in version 1.4.20 :tada:
Your semantic-release bot :package::rocket: