id and name have different behaviours with the range slider when used in a form

import reflex as rx

class FormState(rx.State):
    form_data: dict = {}
    slider_values: list[float] = [20, 80]

    def handle_submit(self, form_data: dict):
        """Handle the form submit."""
        self.form_data = form_data

app = rx.App()

@rx.page()
def index():
    return rx.vstack(
        rx.form(
            rx.vstack(
                rx.slider(
                    default_value=FormState.slider_values,
                    min=0,
                    max=100,
                    step=1,
                    name="slider-1"
                ),
                rx.slider(
                    default_value=FormState.slider_values,
                    min=0,
                    max=100,
                    step=1,
                    id="slider-2"
                ),
                rx.button("Submit", type="submit"),

            ),
            on_submit=FormState.handle_submit,
            reset_on_submit=True,
        ),
        rx.divider(),
        rx.heading("Results"),
        rx.text(FormState.form_data.to_string()),
    )

Looking at the screenshot, using name reports the end value while id reports the start value on submission. The
Also looking at the case with name, the resulting name value in the form data differs from that specified on the component(slider-1 instead of slider-1[]

Hi Elijah,
I'd like to look into this issue. This will be my first contribution, and I'm excited to work on it. It might take me some time to fix, but I'll report my findings as soon as I make progress.
Thank you!

@ramizik let us know if you have any issues - we can also help on Discord


chore(CHANGELOG): remove changelog

We now publish changelogs on github and no longer update the local changelog.

Current coverage is 46.95% (diff: 100%)

Merging #435 into master will not change coverage

@@             master       #435   diff @@
==========================================
  Files            26         26
  Lines          1118       1118
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits            525        525
  Misses          562        562
  Partials         31         31

Powered by Codecov. Last update ac829c0...1196719


Chrisda to Master

Docs Build status updates of commit 6addbb7:
:clock10: Pending: waiting for processors (5 builds ahead of you)
:warning: Docs Build is busy, currently there are 5 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit 6addbb7:
:clock10: Full build: the average full build time is 11 min(s) 47 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 6addbb7:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/docs-conceptual/exchange-online/connect-to-exchange-online-powershell/mfa-connect-to-exchange-online-powershell.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/antispam-antimalware/Disable-HostedContentFilterRule.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/antispam-antimalware/Enable-HostedContentFilterRule.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/antispam-antimalware/Get-HostedContentFilterRule.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/antispam-antimalware/Remove-HostedContentFilterRule.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/antispam-antimalware/Set-HostedContentFilterRule.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit e428d97:
:clock10: Full build: the average full build time is 11 min(s) 48 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit e428d97:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/docs-conceptual/exchange-online/connect-to-exchange-online-powershell/mfa-connect-to-exchange-online-powershell.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/antispam-antimalware/Disable-HostedContentFilterRule.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/antispam-antimalware/Enable-HostedContentFilterRule.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/antispam-antimalware/Get-HostedContentFilterRule.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/antispam-antimalware/Remove-HostedContentFilterRule.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/antispam-antimalware/Set-HostedContentFilterRule.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit fcc7816:
:clock10: Pending: waiting for processors (6 builds ahead of you)
:warning: Docs Build is busy, currently there are 6 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit fcc7816:
:clock10: Full build: the average full build time is 11 min(s) 48 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit fcc7816:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/docs-conceptual/exchange-online/connect-to-exchange-online-powershell/mfa-connect-to-exchange-online-powershell.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/antispam-antimalware/Disable-HostedContentFilterRule.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/antispam-antimalware/Enable-HostedContentFilterRule.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/antispam-antimalware/Get-HostedContentFilterRule.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/antispam-antimalware/Remove-HostedContentFilterRule.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/antispam-antimalware/Set-HostedContentFilterRule.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


error while loading mobileproxy.aar

at org.gradle.internal.execution.steps.IdentityCacheStep.lambda$executeDeferred$1(IdentityCacheStep.java:47)
... 64 more

Caused by: com.android.tools.r8.CompilationFailedException: Compilation failed to complete, origin: /Users/ng/ourapp/mobileproxy/build/.transforms/df48ac59d92bcf85652c00a0b7530c3b/transformed/instrumented_jetified-mobileproxy-runtime.jar:go/Seq$GoRefQueue$1.class
at Version.fakeStackEntry(Version_4.0.52.java:0)
at com.android.tools.r8.internal.vk.a(R8_4.0.52_5a340ca2823c7e792fe09805c75f749b9d398d230bc0518bb54ae9b6b50addbe:75)
.........
com.android.tools.r8.internal.vk.b(R8_4.0.52_5a340ca2823c7e792fe09805c75f749b9d398d230bc0518bb54ae9b6b50addbe:2)
at com.android.tools.r8.D8.run(R8_4.0.52_5a340ca2823c7e792fe09805c75f749b9d398d230bc0518bb54ae9b6b50addbe:11)
at com.android.builder.dexing.D8DexArchiveBuilder.convert(D8DexArchiveBuilder.java:120)
... 153 more
Caused by: java.lang.NullPointerException
And:

Transform mobileproxy.aar (project :mobileproxy) with DexingNoClasspathTransform
AGPBI: {"kind":"error","text":"java.lang.NullPointerException","sources":[{"file":"/Users/ng/ourapp/mobileproxy/mobileproxy/build/.transforms/df48ac59d92bcf85652c00a0b7530c3b/transformed/instrumented_jetified-mobileproxy-runtime.jar"}],"tool":"D8"}

Why NullPointerException ?

This might be caused by incompatible JDK used by gomobile and your Android app. Please make sure you are using JDK 11 when building the app.

yes, the cause is that i have 2 different java version. thanks


Made Contribution.md File

Solved Issue #175

This issue is assigned to someone else, if they don't finish we will accept your PR


Today Facing again some Following Error in subgraph

Mapping aborted at<EMAIL_ADDRESS>line 439, column 6, with message: Call reverted, probably because an assert or require in the contract failed, consider using try_getRoundInfo to handle this in the mapping. wasm backtrace: 0: 0x22a3 - !generated/ProofOfHumanity/ProofOfHumanity/ProofOfHumanity__arbitratorDataListResult#constructor 1: 0x4347 - !generated/ProofOfHumanity/ProofOfHumanity/ProofOfHumanity#getContributions 2: 0x4507 - !src/mapping/requestStatusChange 3: 0x48c4 - !src/mapping/addSubmission 4: 0x4988 - !src/mapping/reapplySubmission in handler addSubmission at block #14892895 (f982d6c844c1e3a4c0132efe28454deb78e1969d0af26a7cf627e968ad20e685)
Error while processing block stream for a subgraph: subgraph QmeTuu1DGmRL4AChBG7HsRsaia5HdSS5GQRtmCNag56H6W has already processed block 12365620; there are most likely two (or more) nodes indexing this subgraph

hey @rajeshbadak1 if this is still valid, please provide a bit more context about the situation and reopen


Active cases have gone negative on 15th June and also on 29th May

No, they have not. Refer to https://github.com/covid19india/covid19india-react/issues/2038#issuecomment-643108673


template file default_isc-dhcp-server

In Debian 9, the config file requires INTERFACESv4= as opposed to INTERFACES=. Could this be added as an option?

In d5495b6b81135e81d055d0f0cebb0ada3600317c INTERFACESv4= was implemented.


ignore .package folder

thanks!

FYI, yolo'ing this type of thing into main because it just doesn't warrant bothering other folks about it


APT whitelist request for libnss3-dev

Duplicate of https://github.com/travis-ci/travis-ci/issues/4485.

Reopening to test the automation.

 This usually means that there has been a commit that resolved this request.
Inparticular, check https://github.com/travis-ci/apt-package-whitelist/commit/8e49b097


Add Strawberry GraphQL implementation

Hi there! @michael-watson suggested me to send a PR with an implementation for Strawberry GraphQL so here we go 😊
I've left a TODO in the code as there's one field that might not be tested, let me know if that's ok, in that case I'll remove the todo or edit it accordingly 😊

Marked this as draft so I don't forget to update the TODO :)

Thanks @patrick91! I just got done testing everything out and updating the master readme. You rock!


community[major]: DeepInfra llm and chat

This PR includes integration of DeepInfra's Inference API with Langchain's LLM and Chat interfaces.

Thank you, sorry for the delay!


Update tag in podspec file due to new tag (v2.x.x) namings

Using react-native-linear-gradient with pods causes error
Podfile:
pod 'BVLinearGradient', :podspec => '../node_modules/react-native-linear-gradient/BVLinearGradient.podspec'

pod install

[!] Error installing BVLinearGradient
[!] /usr/bin/git clone https://github.com/brentvatne/react-native-linear-gradient.git /var/folders/09/mkn71twx2833d_jgfsx0mryh0000gn/T/d20181203-73591-50p7uq --template= --single-branch --depth 1 --branch 2.5.2

Cloning into '/var/folders/09/mkn71twx2833d_jgfsx0mryh0000gn/T/d20181203-73591-50p7uq'...
warning: Could not find remote branch 2.5.2 to clone.
fatal: Remote branch 2.5.2 not found in upstream origin

because tag 2.5.2 can not be found as it does not exist.

my bad — thanks


i18n support

Lots of user-exposed docstrings scattered about the source.  Since Coda is intended for worldwide domination, er. deployment, it would be good to internationalize these.  ocaml-gettext looks promising.
Issue #6045 could be partially addressed simultaneously.

Closing this issue as it is stale for a long time.


Add AntiForgery tokens to some actions that were missing them

Mostly admin routes.
These include

LuceneController
SupportRequestController
SecurityPolicyController
CuratedPackagesController

https://github.com/NuGet/Engineering/issues/638

How did you test this?

Could we have a unit test that verifies that controller actions w/ HttpPost also have ValidateAntiForgeryToken?

@skofman1 I tested all of the endpoints manually and checked that they were all hit.
@chenriksson I like that idea, will add to this PR.

@joelverhagen I moved the code to a shared place by adding a ViewHelpers method and a shared Javascript function.

@chenriksson Finished the test as requested and found two more endpoints with the issue!


after running npm run dev getting this error

{ Error: ENOENT: no such file or directory, open '.env'
at Object.openSync (fs.js:443:3)
at Object.readFileSync (fs.js:343:35)
at Object.config (/Users/sunil/Desktop/new project/nekomy-platform/node_modules/dotenv/lib/main.js:30:37)
at Object. (/Users/sunil/Desktop/new project/nekomy-platform/webpack/webpack.config.js:1:19)
at Module._compile (internal/modules/cjs/loader.js:776:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:690:17) errno: -2, syscall: 'open', code: 'ENOENT', path: '.env' }
Project is running at http://localhost:8080/
webpack output is served from /
Content not from webpack is served from /Users/sunil/Desktop/new project/nekomy-platform
404s will fallback to /index.html
fs.js:128
throw new ERR_INVALID_CALLBACK();
^
TypeError [ERR_INVALID_CALLBACK]: Callback must be a function
at maybeCallback (fs.js:128:9)
at Object.writeFile (fs.js:1163:14)
at VersionFile.writeFile (/Users/sunil/Desktop/new project/nekomy-platform/node_modules/webpack-version-file-plugin/index.js:54:8)
at /Users/sunil/Desktop/new project/nekomy-platform/node_modules/webpack-version-file-plugin/index.js:42:18
at FSReqWrap.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:53:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>dev: webpack-dev-server --config ./webpack/webpack-dev.config.js --watch --colors
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR!      /Users/sunil/.npm/_logs/2020-06-23T11_11_50_796Z-debug.log

Where you able to fix it ?

Unfortunately not.  I think that it is due to the application  code rather than the configuration of plesk.
Thanks
From: Xoagub<EMAIL_ADDRESS>Reply-To: nekomy/nekomy-platform<EMAIL_ADDRESS>Date: Sunday, September 6, 2020 at 2:22 PM
To: nekomy/nekomy-platform<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: Re: [nekomy/nekomy-platform] after running npm run dev getting this error (#44)
Where you able to fix it ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/nekomy/nekomy-platform/issues/44#issuecomment-687861920, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AF6PJXOAAWTH5KAUW6HDRZLSEPHPHANCNFSM4OFSN54Q.

I feel this has to do with the ejs script attempting to update the version number. Since I was trying this out in local, the version was critical to me....so i went and commented out the version update logic :
File to edit: /webpack/webpack.config.js
Line number: 66
The initial version was :
   plugins: [        new WebpackVersionFilePlugin({         packageFile: Path.join(__dirname, '../package.json'),         template: Path.join(__dirname, '../version.ejs'),         outputFile: Path.join(__dirname, '../static/version.json')       }),
I commented out the first array element, post commenting, it was
`
plugins: [
/*new WebpackVersionFilePlugin({
packageFile: Path.join(__dirname, '../package.json'),
template: Path.join(__dirname, '../version.ejs'),
outputFile: Path.join(__dirname, '../static/version.json')
}), */
`
That solved this problem.....

I feel this has to do with the ejs script attempting to update the version number. Since I was trying this out in local, the version was critical to me....so i went and commented out the version update logic :
File to edit: /webpack/webpack.config.js
Line number: 66
The initial version was :
   plugins: [        new WebpackVersionFilePlugin({         packageFile: Path.join(__dirname, '../package.json'),         template: Path.join(__dirname, '../version.ejs'),         outputFile: Path.join(__dirname, '../static/version.json')       }),
I commented out the first array element, post commenting, it was
`
plugins: [
/*new WebpackVersionFilePlugin({
packageFile: Path.join(__dirname, '../package.json'),
template: Path.join(__dirname, '../version.ejs'),
outputFile: Path.join(__dirname, '../static/version.json')
}), */
`
That solved this problem.....


Added Product Order Validation Card

Fixes Issue🛠

Closes #743
Description👨💻
Added Product-Order-Validation-Card in the components cards section
Type of change📄

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)

How this has been tested✅
Tested locally.

Checklist✅

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have added demonstration in the form of GIF/video file
[x] I am an Open Source Contributor

Screenshots/GIF📷
https://github.com/Rakesh9100/Beautiify/assets/155226533/7bc09012-941c-4ad7-8d86-e37694153254

Congrats on getting your PR merged to the repo under GSSOC 2k24 🥳 @Piyushkharapkar


data can't read/update by other peer

code 1 run in codesandbox
https://codesandbox.io/s/agitated-dew-vqekz
code 2 run in local pc
import IPFS from 'ipfs'
import OrbitDB from 'orbit-db'

import Identities from 'orbit-db-identity-provider';

// Create IPFS instance

// For js-ipfs >= 0.38
const ipfs = new IPFS()

ipfs.on('error', (e) => console.error(e))
ipfs.on('ready', async () => {

	const options = { id: 'local-id' }
	const identity = await Identities.createIdentity(options)

	console.dir(identity.toJSON())

	const orbitdb = await OrbitDB.createInstance(ipfs)

	const dbAddress = await orbitdb.determineAddress('hello', 'keyvalue', {
		accessController: {
			write: [
				//orbitdb.identity.publicKey,
				//orbitdb.identity.id,
				'*',
			]}
	})

	console.log(`dbAddress`, dbAddress)

	// Create / Open a database
	const db = await orbitdb.kvstore(dbAddress, {
		accessController: {
			write: [
				//orbitdb.identity.id,
				'*',
			],
		},
	});
	await db.load()

	console.log(db.identity.id)
	console.log(db.identity.publicKey)

	console.dir(db.address.toString())

	// Add an entry
	let hash: string

	hash = await db.get('world')
	console.log('hash', hash)

//	hash = await db.put('world', { updated: Date.now() })
//	console.log('hash', hash)
//
//	hash = await db.get('world')
//	console.log('hash', hash)

	await orbitdb.disconnect()

	await ipfs.stop();
})

dbAddress is same = /orbitdb/zdpuAwasWRQmp6B937QDsm8V9oM3a2N8VAGkGVNctBsGTxgan/hello
but i can't see { updated: 7777777 } when run code 2 at local pc

Hi @bluelovers thanks for opening this issue and thanks for your patience in waiting for this reply.
The two peers will not be able to replicate data if they are not connected, and depending on your version of js-ipfs, they might be swarming via DHT sufficiently enough to automatically connect. One thing you can try is to use a websocket server such as https://github.com/libp2p/js-libp2p-websocket-star-rendezvous. Note there is a public server for development use here: https://ws-star.discovery.libp2p.io/
Once both peers are connected to that then they should be able to share data.

hmm, thx, but how can i use this server in orbit-db?

When you instantiate IPFS, you can include that server as a swarm node. There's an example in our orbit-db-test-utils repo here: https://github.com/orbitdb/orbit-db-test-utils/blob/master/config/browser.js#L69

1 & 2 should is same number, but it not same

It looks close! Can you now confirm that the two peers are connected and swarming together and that they can receive pubsub messages from each other?

https://codesandbox.io/s/agitated-dew-vqekz

still can't get same number

i try use
{
				port: 5001,
				host: 'ipfs.infura.io',
				protocol: 'https',
			}

it still can't read/update same db
run this code multe time
import OrbitDB from 'orbit-db'

import useIPFS from 'use-ipfs';
import ipfsServerList from 'ipfs-server-list';

useIPFS({}, {
	fallbackServer: ipfsServerList['infura.io'].API,
	useFallbackFirst: true,
})
	.then(async (ipfs) => {

		const orbitdb = await OrbitDB.createInstance(ipfs.ipfs, {
			id: '777',
			//offline: true,
			directory: './orbitdb' + String(Math.random()),
		});

		const dbAddress = await orbitdb.determineAddress('hello', 'keyvalue', {
			accessController: {
				write: [
					'*',
				]}
		})
		;

		const db = await orbitdb.kvstore(dbAddress, {
			accessController: {
				write: [
					'*',
				],
			},
		});

		// @ts-ignore
		process.once('SIGINT', async (...argv) => {
			try
			{
				return orbitdb.disconnect()
			}
			catch (e)
			{

			}

		});

		let hash: unknown;

		hash = await db.get('world')
		console.log('hash', hash)

		hash = await db.put('world', { updated: new Date().getSeconds() })
		console.log('hash', hash)

		hash = await db.get('world')
		console.log('hash', hash)

	})
;

Hi,
I'm having the same problem. I've applied some changes after looking at your code, but I've got the same problem.
In my case, I'm using two different browser, same machine. Determine the address and start a keyvalue from it. But nothing shows up in the second.
For reference, I'm loading the database here https://github.com/dlx-lisbon/dlx-ui/blob/master/src/App.tsx#L71 and uploading data here https://github.com/dlx-lisbon/dlx-ui/blob/master/src/NewContent.tsx#L56
But in fact, the replicated event (here https://github.com/dlx-lisbon/dlx-ui/blob/master/src/NewContent.tsx#L52 )never gets called.
What am I doing wrong?

Is this still an issue with the latest OrbitDB version? Closing for now but if problems persist, please re-open this issue or start a new one.


Add management command to cull task queue

Fixes #16

IMHO, cull sounds pretty violent, or is it just me? I'd go with something more neutral like gc or prune.

I do agree, but "cull" is the lingo Django already uses for limiting the number of items in the cache: https://docs.djangoproject.com/en/5.0/topics/cache/#cache-arguments.

Eh, Django uses prune too, for cleaning up migration records from the database: https://docs.djangoproject.com/en/5.0/ref/django-admin/#cmdoption-migrate-prune.


Jenkins requirements and .gitignore

Merged in e1a47f12710756517c2e83273e45d415abf6cc80
Thanks to both!

I changed it a lot before merging so couldn't keep your original commits, sorry about that.
I've added both to CONTRIBUTORS.txt though.


No indication of string type with inlined strings

Version and Platform (required):

Binary Ninja Version: 3.4.4265
OS: macOS
OS Version: 13.3.1
CPU Architecture: M1

Bug Description:
When strings are inlined in any way, there is no indication about the character width, which can lead to confusion:
For example:
rax_15 = sub_140076334(rcx_9, 0x110, "\logs\", 6)
Is defined in the data section as:
wchar16 data_1400d10a0[0x7] = "\\logs\\", 0
This can especially be confusing with outlined memcpy, as the data types are often not defined and the data itself is the only source of information about it:
__builtin_memcpy(dest: var_58, src: "SystemRoot", n: 0x16)
In this case, the string is a wchar16 string, but there is no indication other than by doing the math manually or looking at the assembly to determine this.

Could be duplicate of #3301.


need some simple controls or at least documentation on how to spread the graph out so it's more readable

I just tried this package and the vertices between junctions are too short and snap back into place when I try to drag them.  It would be nice to have something like an "anchor" control that would allow me to pull out a junction so that its leaf nodes do not overlap with those of adjacent junctions.

Short of a control, perhaps you could provide a parameter to specify the length of inter-junction vertices


Adding ChangeInstrument op

Description

The ChangeInstrument allows using the features of another instrument.
Motivation and Context

How Has This Been Tested?

[ ] Pass the test by running: pytest qlib/tests/test_all_pipeline.py under upper directory of qlib.
[x] If you are adding a new feature, test on your own test scripts.

Screenshots of Test Results (if appropriate):

Pipeline test:
Your own tests:

Types of changes

[ ] Fix bugs
[x] Add new feature
[ ] Update documentation

@wan9c9
Please fix the CI

Hi,  @wan9c9
Your implementation is really smart! I think it will benefit a lot of users.
I add several comments just now. It will be great if you can refine it :)

Hi, @wan9c9
I've replied to your questions about the issues.
Looking forward to your reply :).
BTW,  please fix the error reported by CI

@wan9c9  did you encounter any problems when fix the remained issues in the comments?

@you-n-g, sorry for the delays, I'm busy with other stuff and couldn't commit the revision as I also messed up the code. I did wrote some tests, which couldn't pass the test. The test code are show below.
class TestOperatorDataSetting(TestOperatorData):
def test_setting(self):
    def test_case(instruments, queries, note=None):
        if note:
            print(note)
        print(f"checking {instruments} with queries {queries}")
        df = D.features(instruments, queries)
        print(df)
        return df

    test_case(["SH600519"], ["ChangeInstrument('SH000300', $close)"], "get market index close")
    test_case(["SH600519"], ["ChangeInstrument('SH000300', Feature('close')/Ref(Feature('close'),1) -1)"],
              "get market index return with Feature")
    test_case(["SH600519"], ["ChangeInstrument('SH000300', $close/Ref($close,1) -1)"],
              "get market index return with expression")
    test_case(["SH600519"], ["($close/Ref($close,1) -1) - ChangeInstrument('SH000300', $close/Ref($close,1) -1)"],
              "get excess return with expression with beta=1")

    ret = "Feature('close') / Ref(Feature('close'), 1) - 1"
    benchmark = 'SH000300'
    n_period = 252
    marketRet = f"ChangeInstrument(\'{benchmark}\', Feature('close') / Ref(Feature('close'), 1) - 1)"
    marketVar = f"ChangeInstrument(\'{benchmark}\', Var({marketRet}, {n_period}))"
    beta = f"Cov({ret}, {marketRet}, {n_period}) / {marketVar}"
    excess_return = f"{ret} - {beta}*({marketRet})"
    fields = ["Feature('close')", f"ChangeInstrument(\'{benchmark}\', Feature('close'))", ret, marketRet, beta, excess_return]
    test_case(["SH600519"],fields[5:],
              "get market beta and excess_return with estimated beta")

    # All the queries above passed

    """
    the code below did not pass if  the following lines are not added to qlib/utils/__init__.py
    but will pass if added.
    # for ChangeInstrument
    field = re.sub(r"Operators.ChangeInstrument\((\w+),",
                   rf'Operators.ChangeInstrument("\1",', field)
    """

    from qlib.data.dataset.loader import QlibDataLoader
    from qlib.data.ops import Feature, Ref, ChangeInstrument, Var, Cov
    instrument = "SH600519"
    ret = Feature('close') / Ref(Feature('close'), 1) - 1
    benchmark = 'SH000300'
    n_period = 252
    marketRet = ChangeInstrument(benchmark, Feature('close') / Ref(Feature('close'), 1) - 1)
    marketVar = ChangeInstrument(benchmark, Var(marketRet, n_period))
    beta = Cov(ret, marketRet, n_period) / marketVar
    fields = [Feature('close'), ChangeInstrument(benchmark, Feature('close')),
              ret, marketRet,
              beta, ret - beta*marketRet]
    names = ['close', 'marketClose', 'ret', 'marketRet', f"beta_{n_period}","excess_return"]
    data_loader_config = {"feature": (fields,
                                      names
                                      )
                          }
    data_loader = QlibDataLoader(config=data_loader_config)
    df = data_loader.load(instruments=[instrument])#, start_time=start_time)
    print(df)

    #test_case(["SH600519"],fields,
              #"get market beta and excess_return with estimated beta")

if name == "main":
unittest.main()
Could you please take a look?
Thanks!

@wan9c9 I added your test case here and fix a bug. Please merge it
https://github.com/wan9c9/qlib/pull/4wan9c9
Is the problem solved? Do you have other issues when fixing the remain comments in this PR?

@you-n-g, looks like the link https://github.com/wan9c9/qlib/pull/4wan9c9 doesn't work. Can you please send a valid link and I'll double check?  Thanks!

@you-n-g, looks like the link https://github.com/wan9c9/qlib/pull/4wan9c9 doesn't work. Can you please send a valid link and I'll double check? Thanks!

Sorry I mixed your ID and the link.   Here is  the right link https://github.com/wan9c9/qlib/pull/4

@wan9c9  It looks great now!
Thanks for your contribution!


Add a page on Dataframe algebra to the readthedocs documentation

One of the core abstractions in Modin is the implementation of the dataframe algebra, first described here: https://arxiv.org/pdf/2001.00888.pdf
I think it would be really good to put a page in the documentation summarizing the dataframe data model and algebra described there.
Chapter 5 of this thesis describes how the algebra is implemented in Modin, and there are notable differences worth adding to the documentation there: http://www2.eecs.berkeley.edu/Pubs/TechRpts/2021/EECS-2021-193.pdf

Hi Devin! We have a super short description of the algebra here: https://modin.readthedocs.io/en/stable/usage_guide/advanced_usage/index.html#dataframe-algebra, but I'm assuming you'd like to bulk it out with an actual summary of the data model + algebra, right?


Remove bad characters from en.json5

We accidentally ended up with some bad characters in en.json5 during the merger of #504 (earlier today). These characters were added accidentally during a merge conflict resolution.  They were causing e2e test failures in Travis currently: https://travis-ci.org/DSpace/dspace-angular/jobs/612448996#L5424
The error message from Travis is:
Error in SSR, serving for direct CSR. Error details :  { SyntaxError: JSON5: invalid character '<' at 418:1
This is a tiny, obvious PR to fix those parse errors. If Travis approves of this, I'll merge immediately.

Travis approves, merging immediately as this fixes master builds and is an obvious fix.


[BUG] deprecation warnings are missing from .d.ts files

What is the bug?
In index.d.ts, there is no deprecation warning on putTemplate, even though the javascript source does have one.  Based on the lack of warning, I used this function, resulting in an unfortunate outcome.
How can one reproduce the bug?
In an IDE, autocomplete from client.indices. and see putTemplate come up.
What is the expected behavior?
Deprecation warnings would be carried to the .d.ts declarations.  (Would be even better if all the jsdoc was carried over.)
What is your host/environment?
N/A
Do you have any screenshots?
N/A
Do you have any additional context?
N/A

Thanks for bringing it up #645 will take care of this :)


support console.profile/console.profileEnd

Hello,
I'm trying to profile some Node code by profiling my Mocha tests. I am able to attach just fine with mocha --debug-brk and it pauses on the first line, as described.
When I try to profile, however, it locks the tabs and I'm unable to navigate back to Source to continue past the breakpoint.
I thought a decent workaround would be to put console.profile() in my before and console.profileEnd() in my after hooks, but these functions are not available.
Would it be possible for the debugger to fill in those methods and respect them? or is there a workaround to start profiling while on a breakpoint? (discussed as a side issue in #574, but I found no resolution there)
Thanks!

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/28779304-support-console-profile-console-profileend?utm_campaign=plugin&utm_content=tracker%2F195817&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F195817&utm_medium=issues&utm_source=github).

This turned out to work okay, but still not ideal:
before(function (done) {
  // allow time to switch to profiler and start
  setTimeout(done, 2000)
})

after(function () {
  // pause on completion to avoid throwing away the results on process disconnect
  debugger
})

+1 implementing this would be great


add(front):add info (news topflop...) on the home page

Compose the home page with diff informations from crypto sphère and all best indicator.
-Top/Flop 24h
-Market sentiment
-Portfolio?
-News?
-Major cryptos

Add new compoment to the home page : 8f220436209892a40be0f540093d12b738f889bf & deb31f034e6bed75f6a6fe6402d7f31963e2c171

[ ] Trending crypto

[ ] Fear and greed indice

[ ] Top 5 NFT

[ ] --> Need to check CSS responsive


Bootstrap 4 support

Hey, I just found this library and it looks very nice. I would like to ask if there's any plan to support Bootstrap 4 now that's officially released and if you would be interested in collaborating on doing so.

+1


Sending emails in local host

In my website the contactbundle work fine but in local doesn't work i don't know why
i turned off the "Access for less secure apps" in my account gmail but still not working
my parameters.yml :
mailer_transport:  gmail
mailer_host:       ~
mailer_user<EMAIL_ADDRESS>mailer_password:   ****
my config.yml :
swiftmailer:
transport: "%mailer_transport%"
host:      "%mailer_host%"
username:  "%mailer_user%"
password:  "%mailer_password%"
spool:     { type: memory }
#spool:
#type: file
#path: "%kernel.root_dir%/spool"
i don't know the bloc is in my windows 7 or antivirus avast , i'm workin with xampp ??

For others interested; Yes Avast (and other Anti-Virus apps that monitor ports) will block communication unless you enable exceptions for it.

For others interested; Yes Avast (and other Anti-Virus apps that monitor ports) will block communication unless you enable exceptions for it.


pull models by ID for reproducible research

I love how ollama makes it easy to set up scientific experiments with various LLMs. However, one thing that is increasingly important in academia is the ability to reproduce and replicate research. For that, it would be extremely useful to pull a given model by its ID, even if a newer one has been published.
For example: last month I ran an experiment with then zephyr:latest (ID: 1629f2a8a495), but now my colleague can not reproduce my results because zephyr has been updated and zephyr:latest points to a model with ID 03af36d860cc. As far as I know, there is no tag associated with the older model and it can therefore not be pulled. Treating IDs as additional tags could solve this and make ollama a valuable component in a reproducible scientific workflow.

When you use a LLM for an experiment, you can do it with docker and keep both the current Ollama version and the LLM version to reproduce the experiment. Be careful that some new versions of Ollama require new versions of LLM. This makes older LLM incompatible with new Ollama (seen with Falcon LLM).


Refactor/anoncreds revocation move logic

This PR updates the /anoncreds/revocation-registry-definition and /anoncreds/revocation-list endpoints to call corresponding methods on AnonCredsIssuer rather than IssuerRevRegRecord.

Stale and no longer relevant. Closing!


Runtime error - Luna <IP_ADDRESS>

Error when running penCV Example in Luna on Windows

Tested with OpenCV branch newcore and pacakge <IP_ADDRESS>

should work since LunaStudio 1.4


feat: install jupyter in docker images

https://github.com/leptonai/leptonai/actions/runs/9473220208

Actually we need to rebuild base images


I18nContext, reactive t(), locales de/en

[x] I18nContext
[x] Reactive t()
[x] Locales de/en
[ ] Add locales from #123

Close #125

beautiful/schön/美麗的.
Was thinking in #123, we could have on the front page actually show all the scripts simultaneous. At least for the header. And if the user wants to change the language of the rest of the interface they can do so in the bottom bar.

मुझे अच्छा लग रहा है! ACK 8538f8e0a4dc97b5c521730e5c67f1c85e28c6d6


Update SatisfactionSupplyManager

Margrat was missing
Fixed offsets
Added some more stuff

No clue about the struct size since it's part of GameMain, so I didn't touch it.

didn't find anyone using anything other than the member functions


Function constructor has sideeffects?

(function(){
 /** @constructor */var A=function(){}
 new A();
})()

in ADVANCED gets optimized into
new function(){};

and after some research, I got out that
new Function;

does not get optimized further. Why is this so and how can I go arround that?
This really annoys me... :disappointed:

This is what an empty file including a library produces in CC:
(function(){function a(a){this.a=a}var b=window;new b.Date;a.prototype={a:!1};new a(!1);new a(!1);new b.ActiveXObject("Scripting.FileSystemObject")})()

And that is what it produced using another class defining method (.prototype.prop= instead of .prototype={prop:...}):
(function(){function c(){}function d(a){this.a=a}function b(){}var e=window;new e.Date;var a=function(a){this.a=a;a=(new d(0)).b=new c;a.a=a.b=1}.prototype;a.a=0;a.h=a.i=0;a.c=a.f=40;a.b=g;a.l=20;a.j=!1;a.g=0;a=d.prototype;a.a=0;a.h=a.i=a.j=a.l=0;a.b=a.m=a.g=a.f=a.c=a.o=null;a.u=!1;a.s=null;a.v=1;a=c.prototype;a.c=a.f=a.a=a.b=0;a=function(){}.prototype;a.a=a.b=1;a=function(){}.prototype;a.b=a.a=a.c=1;a=function(a){this.a=a}.prototype;a.a=0;a.g=a.f=a.c=0;a.b=1;a=function(){}.prototype;a.a=a.b=a.c=a.f=a.g=a.h=a.i=a.j=0;a.s=a.u=a.m=a.l=a.o=1;a=function(){}.prototype;a.c=a.a=a.b=0;a=function(){}.prototype;a.b=a.c=a.a=null;a=function(a){this.b=a;f[this.a=f.length]=this;new b;new b;new b}.prototype;a.b=0;a.a=0;a.c=a.f=0;a.g=a.i=a.j=!1;a.h=1;var f=[];new b;new b;new e.ActiveXObject("Scripting.FileSystemObject")})()

(1) The first gets compiled to zero bytes for me:
http://closure-compiler.appspot.com/home#code%3D%252F%252F%2520%253D%253DClosureCompiler%253D%253D%250A%252F%252F%2520%2540compilation_level%2520ADVANCED_OPTIMIZATIONS%250A%252F%252F%2520%2540output_file_name%2520default.js%250A%252F%252F%2520%2540formatting%2520pretty_print%252Cprint_input_delimiter%250A%252F%252F%2520%253D%253D%252FClosureCompiler%253D%253D%250A%250A(function()%257B%250A%2520%252F**%2520%2540constructor%2520*%252Fvar%2520A%253Dfunction()%257B%257D%250A%2520new%2520A()%253B%250A%257D)()%250A%250A
(2) The second "new Function" (which is distinctly different from "new function(){}") has side-effection depending on the strings passed.  Distinctly, it can throw a parse error.
(3) I'm not sure what a "empty file including a library" means.  Which library?  What did the original source look like?  Loading a library has side-effects.  If the library is coded in a straightforward way, and lacks side-effects, it should be removed fully.
However, code such as 'new e.ActiveXObject("Scripting.FileSystemObject")' will never be removed because the sideeffects of the ActiveXObject constructor is unknown.

Thank you for your reply.
My code is very big and complicated and there are already many hacks in
order to get a better output. I had to make many things multiple times...
And the most annoying thing for which I still have no solution, is that I
cannot say CC that a specific object/function has no f* sideeffects.
For example, in my project, the only use for window.ActiveXObject is for
filesystem access. So, creating an AcriveXObject for filesystem doesn't
have any sideeffects. I have an externs file where I tried to declare that
but due to this overwrite rule, I cannot redefine AXO, so I renamed it to
__pseudo__ActiveXObject and made a script in a toolchain to replace all
"pseudo" with "".
I hate it when software forbids me to do what I want to do on my pc, so
please add an @overwrite or something, as discussed in other posts.
I think that the content of my library is not important here. (I am even
not allowed to post it because it is a project internal secret!)
I wonder why "new function(){}" now gets optimised to "" – a few days ago,
I got out the same as the input. I will look for that later.

You can certainly change ActiveXObject to have @nosideeffect, you just need to turn off the default externs, and supply your own copy with whatever changes you want.
Otherwise without anything specific there is nothing actionable here.


feat: Introduce Instant Copy Feature

Implement checkbox in the settings tab for instant password copy.
Newly generated passwords are instantly copied if the checkbox is checked.
Users can still manually copy passwords using the copy button.
If auto copy is active, the copy button glows, and the title indicates "Auto Copy is Active."
Enhances user experience by providing flexibility and visual cues.

closes: #17


Content-address gossipsub messages [replacement]

New PR that is based off of v09x and includes an FAQ to explain overriding message-id
Description
Specifies that all gossipsub messages are identified as base64(sha256(message.data)) which prevents duplicate messages (by content) from being received at the application layer.
For our current purposes, there is no need to address messages based on source peer and by content-addressing we can filter unnecessary duplicates before hitting the application layer.
Some examples of where messages could be duplicated:

A validator client connected to multiple beacon nodes publishing duplicate gossip messages
Attestation aggregation strategy where clients partially aggregate attestations and propagate them. Partial aggregates could be duplicated.
Clients re-publishing seen messages.

This closes #1528.

@AgeManning I rebased to v09x and added a question/answer to the FAQ


Organization Avatar not changing

We are unable to change the Organization Logo.  It stays with either the Z or an H while in the App.
With console up, I do get this every time that I try to upload:

This is a desktop app issue; transferring to the appropriate project.


How to test the smart rotate on the smart stack?

Hello,
Thanks a lot for a nice WidgetKit sample project. It's very easy to understand how to implement a widget and its configuration. While I recently have been looking for how to test Smart Rotate, I found your sample code. It supports INInteraction donation, however, the widget has never appeared on a Smart Stack in iOS 14.7.1 with Xcode 12.5.1, notwithstanding donating interactions so mush from the app. Since I can see the Siri Suggestion on Spotlight Search, I think the donation work fine properly.
As far as I see Developer forums, it seems like some developers have the same issue as mine. (I am also going to try to support Widget Suggestions by the way.)
https://developer.apple.com/forums/thread/686136
I really appreciate if you could let me know the solution or some tips regarding the Smart Rotate debugging.
Regards,

Hi, I think I asked some time ago a question on Apple's forum about testing donation and they said there is no way to do that. The only thing you can do (I think) is to check out logs - there appears some information about donations.

@wojciech-kulik
Hi, After asked you the question, I found it easier to use INRelevantShortcut to let the system suggest my widgets. It worked fine anyway. I'll try to implement TimelineEntryRelevance as well. Thanks a lot for your advice!!


Added X share and solved the conflicts of X

solved the #5 PR's conflicts

Summary by CodeRabbit

New Features

Introduced buttons for copying URL and sharing on Twitter.
Added a modal for Twitter sharing.

UI Enhancements

Updated text content and styling within the component for a better user experience.

#98 fix

@FrancescoXX  if you have issues please let me know.

@felixoder , this is not working as intended. When I share the link, it should share a preview; how did you test it?
Also, you made another ?PR,  close the other one if you are using this one rn.
The expected behavior is that by sharing the link, you will see a preview of the post.

also, please remove those buttons, this is not how it is intended to work

Got it


Source Anchor value updates using the Apply Fix method

Hello,
It would be nice to include on this great document information about how the "Apply Fix" method updates source anchor values on orphaned objects. We understand that in scenarios where there is a UPN conflict (Error Type: QuarantinedAttributeValueMustBeUnique), that this health service portal can a) update the source anchor value using the value of the quarantined object and delete the quarantined object. Not sure if we call this scenario a "hard match", but I do think we should include more information about this kind of fix, given how difficult it is to perform immutableID updates manually. (see screenshot). Thank you!

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

ID: f9da4004-10e5-1617-4195-2ca0cde4f18d
Version Independent ID: 76122646-64dc-ce53-3b2e-14e4f4add854
Content: Azure AD Connect Health - Diagnose duplicated attribute synchronization errors
Content Source: articles/active-directory/hybrid/how-to-connect-health-diagnose-sync-errors.md
Service: active-directory
Sub-service: hybrid
GitHub Login: @billmath
Microsoft Alias: billmath

@josuvil
Thanks for your feedback! I've assigned this issue to the author who will investigate and update as appropriate.

@josuvil
Thank you for the feedback.  I have created an internal work item to investigate this further.  This is going to require working with engineering to get additional technical details.  At this point, I am going to go ahead and close this issue and will update it once I have more information.
Thanks!
Bill
#please-close


Web3 payment system and node controller

📚 Context
Running nodes for DApps has infrastructure costs, and transactions costs.
Infrastructure costs are typically charged in USD (or other fiat) by cloud providers.
Transactions costs are charged in the base layer coin, which can be ETH in case of Ethereum mainnet, or other layer-2 networks coin.
Infrastructure costs can be paid through traditional web2 system (credit cards), or web3, using ERC-20.
There are multiple ERC-20 stable coins to choose from if charges must keep a USD value.
A payment system must be designed and deployed to a live network that keep records of funding of DApps.
Those DApps can be deployed on the same network as the payment system, or can be deployed to a different network, like a testnet. Even for testnet DApps, the payment system itself must be running on a live network, because it need to charge real "money".
✔ Solution
Implement smart contracts to handle funding of DApps.
Anyone would be able to create a "vault" with:

the address of the dapp
the chainId of the dapp
the recipient of the funds

Then create an offchain code, the controller, that tracks deposits to the vaults and create a table with the following information:
dapp_address
dapp_chainId
shutdown_date

The shutdown date marks until when the dapp has enough funds to continue working, based on funds deposited and also withdraws taken by the recipient. The value gets updated whenever there is a new deposit, by listening to events of the smart contract.
📈 Subtasks

[ ] implement smart contract for the system
[ ] implement a controller to keep track of dapps funding

🎯 Definition of Done

[ ] have a table with shutdown dates of dapps nodes

PR #44
PR #45

Work in progress in PR #45
There is a simple database with a single table, that holds information of DApps, its machine locations and financial runway.
This database was implemented using prisma, with a sqlite backend.
The sqlite will be stored, by default, in the data dir of the sunodo CLI.
The database access in the application was abstracted using a NodeDatabase typescript interface, so we can switch from prisma to another simpler framework if we feel so.
The launching of DApp nodes will be controlled by "drivers" and the typescript interface NodeDriver.
We have to implement initially a docker or compose provider that uses the rollups-node docker image to launch nodes.
We will implement the possibility of running several dapps in the same machine, with a single container for the following services:

anvil (if private net)
redis
postgres
traefik (router)

Launched nodes for dapps will be routed by a traefik running at http://localhost:8080 so users can access their dapps (graphql, inspect) by appending a path to the URL with the dapp address.

The latest implementation of the controller is a little different from what is describe in the message above.

instead of using a SQL database, the information is held on memory and serialized to a json file if the process ends. This json file is loaded when the controller restarts so it can start from where it stopped (keeping track of the chain block number).

instead of implementing different drivers we decided to focus now on Kubernetes only. The controller simply creates a k8s custom resource for the application, which is used by a Kubernetes operator to create the necessary docker containers for that application.


Add doc entry about security considerations of nodecg-io

Adds a documentation entry about our security considerations and tells users what and what not to expect from nodecg-io regarding handling of the entered configuration and credentials.
For https://github.com/codeoverflow-org/nodecg-io/pull/424

Thank you very much @TimTechDev


Apply template for ListBox ItemsSource

The template function was not being applied to ListBox ItemSource, so it was only rendering correctly if the ItemSource was a collection of item display strings (for any other item type, the ListBox would render the internal string representation of the object rather than the conversion defined by the template function).
In this commit, the ListBox  correctly displays items for templates functions with a string output (perhaps the most common use case?).
However, it does not presently work for a template function with a ListBoxItem output. I've left some commented out code in Controls/ListBox.fs to demonstrate the present limitation. This template renders an internal string representation of the compiled ListBoxItem widget rather than the widget itself. I suspect for a ListBoxItem template to work with ItemSource, we will first need to implement the ItemTemplate property in the parent ItemContol class, but perhaps there is some other way using the exiting the widget helpers that I have overlooked.

Add string template support to the ListBox ItemsSource
Add CollectionBuilder constructor and Yield to ListBox, so that ListBoxItem children can be directly added (similar to ComboBox)
Add ListBox Sample to Gallery

Thanks for the help with this!
When items are added via the constructor (WidgetDataTemplate), it is not quite rendering correctly in my environment (Windows 11 22H2)--there is padding around the inner control and two selectable layers for each item. It renders correctly when the controls are added as children.

Yes we notice that too.  we can fix that in a separate PR 👍🏻


The CentOS of VMware, the host of docker container, can connect mysql of windows, but it can not connect mysql when it is started in the container. How to solve this problem?

CentOS can connect to MySQL service under win with MySQL command, and run VMware under win. CentOS is installed in VMware, and mysql-h <IP_ADDRESS>-uroot-p under CentOS can be connected.

E：This mode doesn't work, "docker network create - D bridge -- subnet = <IP_ADDRESS>/16 -- gateway = <IP_ADDRESS> tars". This is just that IP looks like a subnet, and communication can't be done.
C：这种模式行不通，"docker network create -d bridge --subnet=<IP_ADDRESS>/16 --gateway=<IP_ADDRESS> tars"，这个只是ip看起来是一个子网的，通信做不到。

What is this docker0?

E：The gateway address of the container bridge.
C：容器网桥的网关地址。

Is there any problem with this docker 0 172?

E：No problem. Go to the container, or check the container. Maybe the network is not matched.
C：没问题，进容器看看，或者inspect下容器，可能是网没配对。

#548.txt
Who can help to read this document?

E：Gateway ip<IP_ADDRESS>/8 and container IP <IP_ADDRESS> may have problems.
C：网关IP<IP_ADDRESS>/8，容器IP <IP_ADDRESS>，可能会有问题。

Do you mean doker0?

E：The gateway is <IP_ADDRESS>/16, but the same is not true. You can understand it by entering the container ifconfig.
C：网关是<IP_ADDRESS>/16，不过一样不通，进容器ifconfig就懂了。

After the docker is started, it exits. Can it enter the container?

E：Remove the - d parameter at startup to see the running log, and you will know why you quit.
C：启动的时候去掉-d参数可以看到运行日志，就知道为什么会退出了。

The above MySQL failure is the logs of docker, which is the connect failure.

E：IP is not matched. It is recommended to follow the tutorial.
C：ip没配对，建议跟着教程做。

The tutorial begins with 172. Do you want to keep it the same? It can be changed to 192.168.

E：If you do not have the ability to distribute network, try to modify only the last segment of IP, and the IP network segment should be the same. There is also a bridge network in the tutorial. Don't leave it behind. (see remark Figure)
C：如果没有配网能力的话，尽量只修改IP的最后一段，IP的网段要一样。教程里还有个创建桥接网络的，别落下了。(见备注图)

MySQL in the container can't be connected. Another MySQL service, does the container exit?

E：When starting the container, there will be an automatic framework installation process. If you fail to connect mysql during installation, you will automatically exit.
C：启动容器的时候会有个框架自动安装过程，如果安装的时候连接MySQL失败会自动退出。

Is the IP of the container the same as that of the host when it is started? The container cannot connect to the MySQL of the host, so the container exits. How to locate it?

E：This is the problem of the network. It is recommended to follow the document completely first, and observe it after success. If you need to change Mysql to the host mysql, you don't need to change anything except the environment variables related to MySQL.
C：这个是网络的问题，建议先完全按照文档进行一遍，成功之后观察一下。如果需要更换MySQL为宿主机MySQL的话，除了MySQL 相关的环境变量需要更改，别的都不用动。


Fix downloading of binary (?) files

It looks like our simple tests of downloading string-based contents from an HTTP server are OK, but downloading a binary such as a ZIP archive seems to result in a corrupted downloaded file.
See #28 for a failing test case.

Oops. False alarm. The test suggested in #28 was wrong; now that's fixed, it doesn't error anymore.


Package MicroDrop plugins as conda packages

Motivation
We currently rely on custom code for installing, upgrading and managing MicroDrop plugins and their dependencies. In addition, we cannot support inter-plugin dependencies and have to maintain our own plugin update server.
Sometimes installing a plugin can break a MicroDrop installation either because of the plugin code itself or because of one of its dependencies (e.g., installed via pip).
Advantages

Automatic dependency management
Facilitate rollback #200
Allow us to leverage custom conda channels as plugin update servers

Disadvantages:
Probably the biggest disadvantage is that it would be more difficult to install plugins in a non-conda-based Python environment. It could be done, but we would be giving up a lot of the advantages mentioned above.

Proposed implementation
Plugins stored in Conda environment

New plugins bundled as Conda packages MUST install to:
/share/microdrop/plugins/

Legacy and/or development plugins MAY install to:
/etc/microdrop/plugins/available/

Plugins installed using (1) or (2) linked in the following directory MUST be enabled:
/etc/microdrop/plugins/enabled/

Supporting legacy MicroDrop plugins
Legacy MicroDrop plugins MAY be made available by linking according to (2) above.
TODO

[ ] Create Python API for MicroDrop plugins to:

[ ] Query available plugin packages based on specified Conda channels
[ ] Install plugin package(s) from selected Conda channels
[ ] Uninstall plugin package(s) from selected Conda channels

Remove broken links in <conda prefix>/etc/microdrop/plugins/enabled/

[ ] Update installed plugin package(s) from selected Conda channels
[ ] Enable/disable installed plugin package(s)
[ ] Save restore point after each install operation# Perform installation
....
# Get list of revisions to Conda environment since creation.
revisions_js = ch.conda_exec('list', '--revisions', '--json', verbose=False)
revisions = json.loads(revisions_js)
# Save list of revisions to `<conda prefix>/etc/microdrop/plugins/restore_points/r<revision>.json`
...

[ ] Rollback (i.e., load last revision number from latest <conda prefix>/etc/microdrop/plugins/restore_points/r<revision>.json and run conda install --revision <revision number>)

[ ] Modify the Plugin manager, providing UI to:

[ ] Select Conda channels to search for available MicroDrop plugin packages (default: microdrop-plugins
[ ] List available MicroDrop plugin packages from selected channels    import json
    import conda_helpers as ch

    # Get dictionary of available packages
    pkgs_js = ch.conda_exec('search', '--override-channels', '--json', '-c', 'wheeler-microfluidics', verbose=False)
    # Each key in `pkgs` dictionary corresponds to a package name.
    # Each value in `pkgs` dictionary corresponds to a `list` of dictionaries,
    # each corresponding to an available version of the respective package.
    pkgs = json.loads(pkgs_js)

[ ] Install selected MicroDrop plugin package(s) from list of available packages
[ ] Enable/disable installed plugin package(s)
[ ] Rollback latest plugin package(s) installation


When a shortlink has lots of URLs, they spill over out of the container of the popup, and it should not do this

Hi @nazmulidris! I prepared a fix proposal for this issue in PR #34 , please have a look and let me know what you think :)

@voodoods That's awesome, this is all yours. Please let us know if you have any questions as you explore. You can also ask questions on the contributors discord https://discord.gg/RAbjRr3kds


Some bugs and glitches.

Hello, first of all thank you for creating this awesome package. Great job!
But there are some bugs related to titles which are chopped down. If you check the example web app:
1- When you scroll down (when the small title is visible), and navigate to Apple Store for ex. when you slowly swipe back, 'Welcome' text becomes 'Welcom' until animation ends it becomes 'Welcome'.
This gets fixed if I add fontSize: 20,
appBarTheme: const AppBarTheme(
backgroundColor: Colors.black,
titleTextStyle: TextStyle(fontSize: 20),
),
or inherit: false in title texts text style.
2- It doesn't happen on some routes (weird) like All Shortcuts but this time the large title is cropped while opening that route like (All Shortc...) then becomes All Shortcuts.
3- Or for the previousPageTitle if you write 'Testings' (which isn't stated but must be lower than 12 chars) and start to swipe back it becomes 'Testi...'.
4- Moreover, the title param is Widget? but if you wrap the text widget with sizedbox for ex. you'll get exceptions. If it's not allowed it should take only text widgets.
5- You use MaterialApp but if I try to use CupertinoApp I get some random "Null check operator used on a null value" error. Also I cannot customize on scroll background color (which is different from background color). note: using theme data with copywith and cupertinoOverrideTheme is the solution I guess.
6- But we cannot change the automatic leading icon and its color also the previousPageTitle text style. If we provide a leading widget this will not be animated.
6- There is a little more space in the transition from the large title to the small title compared to the actual iOS transition. Normally, the small title should be visible when the large title disappears completely, but there is a slight difference here.
7- Also Flutters cupertino appbar uses ImageFilter.blur(sigmaX: 10, sigmaY: 10) but you use 20. Which is more aligned with iOS original appbar?
8- How we can change blue primary color theme for the whole app if we continue to use MaterialApp?
9- If we open Apple Contacts example trailing add icon is blue while transiting but becomes white at the end.
It'd be awesome if these can be fixed. Thank you again for the package.

Also I couldn't add RefreshIndicator to my SuperScaffold body. If we add any ListView or grid view we have to make it physics neverscrollable if I want to put it in SuperScaffold body which prevents refresh indicator scrolls also. Can you help?

I'm glad you liked the package @fikretsengul. What makes me even happier is if you thoroughly examine the package and create a bug list. I will review this bug list and provide feedback here again.

@kspo Thank you for your response. I'm refactoring the library by adding nested scroll view feature, separating main.dart into separate classes (to increase performance, readability and maintability), code optimization and adding linting rules. I'll be checking bugs and try to fix them. You can check it from here: https://github.com/fikretsengul/super_cupertino_navigation_bar/tree/dev
Helping about separating 'transitionable_navigation_bar.dart' and reviewing my changes and helping would be awesome.

It seems like you've done a great job. Although I haven't examined your changes thoroughly yet, I noticed a minor correction that I can share with you. Specifically, if you synchronize the parameters in the widgets not during construction but within initState, it will require restarting the application instead of using "hot reload" to see user changes in the Example scenarios. Another matter is regarding the refresh indicator: the refresh method you used with the extended_nested_scroll_view doesn't quite give me the feel of a complete iOS user experience. What I had in mind here was placing the refresh indicator between the large title and the upper app bar. I want this package to make user feel like "I really use IOS App"

I fixed the app bar glitch (I've been using the wrong scrollOffset) and pushed the code.

You're right. I fixed it.
I put that example directly from the easy refresh library to try. There is a customized version now, but there is also a default version of the library for iOS. I will be implementing it during the day. So don't let the current situation confuse you.

I pushed the fix for glitch and the sync issue.

@kspo Can you check and try the dev branch of my fork?
https://github.com/fikretsengul/super_cupertino_navigation_bar/tree/dev
You can cherry pick and merge with your latest update. What's done.

Code refactored, versions upgraded and linting configured.
Fixed the transition gap and effect in the large title animation as on iOS.
Body now supports any kind of widgets column, custom scroll views etc. (Can handle physics, stretch etc.)
Pull-to-refresh support added and designed to mimic iOS style.
The blur effect used for the Appbar has been reduced from 20 to 10, which is Flutter's original value.
Updated normal and expanded heights for appbar with default values for cupertino instead of material.
Missing or incorrectly themed locations have been updated.

What else should be done?

Theme support should be added for the search bar. (for now colors are hard-coded)


Support requesting the finalized deploys via get-deploy in the casper-client

The info_get_deploy RPC on the 1.5.0 node has been enhanced to support requesting the finalized approvals of the deploy via the addition of a new finalized_approvals: bool field in the request which defaults to false if not provided.  The client's corresponding subcommand get-deploy should be extended to support setting this field to true.

Not a technical blocker, but it is a nice to have for consumers.   can be considered for 2.1.0


Elaborate "Requesting access to a VM"

Requesting access to a VM have to be further explained in detail with various practical scenarios. For e.g how a user of a VM without azure portal will request for access. Secondly how to request for access with just a reader role.

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

ID: 25f0758b-8274-d2b5-4702-2c7ca6b0b14a
Version Independent ID: d1215107-abf9-fefd-a63b-b20ec3f7f744
Content: Just in time virtual machine access in Azure Security Center
Content Source: articles/security-center/security-center-just-in-time.md
Service: security-center
Product: unspecified
GitHub Login: @TerryLanfear
Microsoft Alias: terrylan

@ilyas-it83 Thanks for your feedback! We will investigate and update as appropriate.

@ilyas-it83 Please note that the document does have section for Using just in time VM access via PowerShell which can be used to request access without using portal.
Also in this section Requesting access to a VM please check Notes which states -
When a user requests access to a VM, Security Center checks that the user has Role-Based Access Control (RBAC) permissions that provide write access for the VM. If they have write permissions, the request is approved.

Do we need "write" access to the VM? What about "Virtual Machine Administrator Login" or "Virtual Machine Login"?  We want to grant login access but prevent modification.

@pebarrer I am assigning this issue to content author to check and provide further clarification on it in the document.

What RBAC role is required to sufice, "When a user requests access to a VM, Security Center checks that the user has Role-Based Access Control (RBAC) permissions that provide write access for the VM. If they have write permissions, the request is approved..."?

Explain the "write access for the VM" requirement for the VM access request?
Looking at the ARM operations, this is the action giving us the write to the VM rights:
Microsoft.Compute/virtualMachines/write
Is this a minimum needed for the JIT access request? Seems that this is too broad of a privilege to give to a user accessing RDP access to the VM.
If not, specify which ARM action is the minimum for the request access and if any of the current RBAC built-in roles are covering it.
Is this solution intended to enroll regular RDP users in Azure RBAC or is this designed that only specific Azure users can request access on behalf of other (like an operations desk)?

PowerShell command should be simplified, so user can execute it with one step.

Hi @matejskubic Thanks for your feedback, I'll pass it along to the team.

#please-close

After providing a Custom Role with Virtual Machine Contributor Access in addition to the following permissions:
Microsoft.Security/locations/jitNetworkAccessPolicies/read
Microsoft.Security/locations/jitNetworkAccessPolicies/initiate/action
Microsoft.Compute/virtualMachines/read
Azure is asking me to Enable Security Center standard tier on your subscriptions in order to use JIT security with my custom role. However, if I log in as an Owner, I can see my two VMs listed when I select JIT VM Access in the Security Center blade.
What permission am I missing when the VMs won't display in Security Center->JIT VM Access blade?
Thanks for your help.

I've found that you need to assign the "Security Admin" too, though it seems very privileged for a simple request access feature...
(I'm sorry but i don't know the path like you describe with the others)


android Q 接入atxserver2点击屏幕上的元素，没有响应。多次点击还会出现“Rotation updated”

$ adb -s RFCN5038Y8J shell /data/local/tmp/minitouch
open: Permission denied
Unable to open device /dev/input/event4 for inspectionopen: Permission denied
Unable to open device /dev/input/event8 for inspectionopen: Permission denied
Unable to open device /dev/input/event7 for inspectionopen: Permission denied
Unable to open device /dev/input/event9 for inspectionopen: Permission denied
Unable to open device /dev/input/event5 for inspectionopen: Permission denied
Unable to open device /dev/input/event6 for inspectionopen: Permission denied
Unable to open device /dev/input/event1 for inspectionopen: Permission denied
Unable to open device /dev/input/event0 for inspectionopen: Permission denied
Unable to open device /dev/input/event2 for inspectionopen: Permission denied
Unable to open device /dev/input/event10 for inspectionopen: Permission denied
Unable to open device /dev/input/event3 for inspectionUnable to find a suitable touch device
connecting socket: Connection refused

请问解决了吗？

更新下 provider，用新的 minitouch；多次点击那个提示是因为网页默认双击动作是刷新旋转状态


package.json: remove peerDependencies

Fixes gh-548

Hi @Mottie, a good news is that we removed cldr-data as a peer dependency (details in #638). Probably, longer than you expected though. Thanks for bringing it to us.


Take a look to this 3,3V Beetle

Sorry, no issue but wanted to let you know:
http://www.ebay.de/itm/Beetle-Leonardo-ATMEGA32U4-Mini-Development-Board-Arduino-kompatibel-296/321914373613?ssPageName=STRK%3AMEBIDX%3AIT&_trksid=p2057872.m2749.l2649
It is 3,3V ready out of the box ;-)
Cheers!
Keep up the good work

Got one of those boards shipped today.
It shows up as a "Teensy USB Serial (COM24)" in the device manager.
I was able to flash the arduino_wifi_duck.ino sketch to it (COM24, Arduino Leonardo), after fixing a minor problem in codeline 103:
102  if(ExternSerial.available()) { 103   bufferStr = ExternSerial.readStringUntil("END");  // it should be 'END' instead of "END", right? 104 Serial.println(bufferStr);
Upload succeeded and I confirmed the sketch runs. However the device still is detected as "Teensy USB Serial". Shouldn't it be deteced as a keyboard or HID device?
I have not yet wired up the ESP8266 since it was not shipped yet. I am just curious if there is a problem with that Teensy stuff and that it does not show up as a HID
Thanks in advance for helping me here!

For your compile issue, see: https://github.com/spacehuhn/wifi_ducky/issues/24
Yes even after uploading the code it will still (also) be seen as the original device. Otherwise you wouldn't be able to upload any new code anymore. I guess there may be some hacks to remove the USB Serial afterwards, but as I said that would make your device unable to be reprogrammed.
Anywa, nice discovery of a 3.3V version! (but I think it's very expensive, more than twice the price compared to the 5V)

Thank you! Yes, the 3,3V version is a bit more pricey - however it was delivered right next day! I buy the offset in price for this premium. It also makes the whole unit very slim an compact.
Did the solution in #24 solve the issue for you? You mentioned in the end that you would still get the compiler warning? Cheers!

Now I take a closer look at your 3.3V version, it looks exactly the same as my 5V. Tey have both a 3.3V and a 5V connection. Also on your link the information says it's 5V operation.  This is the one I have: https://nl.aliexpress.com/item/Free-shipping-SS-micro-ATMEGA32U4-module-compatible-for-arduino-pro-micro/32660718568.html
I know there is a discussion whether the esp8266 can handle 5V on it's inputs. All I can say is that I never had problems connecting a 3.3V esp and a 5V arduino.
About the Issue #24 it is still giving me a warning like in the open issue, but all seems to be working so I simply ignore it.  It's all just hobby so if it works, it's fine.

Haha! =D ... Yes the Arduino (the CPU) works at 5V. However the big voltage regulator on the backside should be a 3,3V regulator. Have you tried to measure the voltage between that Pin marked with 3,3V and GND? If it is indeed 3,3V (which I assume it is) you should be safe coupling your Arduino and ESP together without an additional regulator ;-)

Here we go! Small, neat and clean ;-)

Perfect - if only there wasn't that #65 problem.

It is named 'Micro SS'


Cross-compile to both Scala 2.10 / 2.11

For now it seems to be compiled only against 2.10 and Spark's default is rather 2.11 now.
Do you wish to migrate to sbt, I can open a PR that way and fix this (+ prepare work for sonatype publication)

Great to see you here Olivier!
@roboxue what do you think?  I have no attachment to mvn, it's a habit we pulled over from Grpn, sbt more typical and has decent mvn support anyway.
@ogirardot I'd go with the PR, but would like Robert's thoughts before a merge.

No attachment to mvn at all.  @ogirardot I'd love to see your sbt version PR!
The pros and cons from my point of view so far are:

The most challenge things right now is supporting multiple spark versions. i.e in Spark 1.6 there is an RDD.getNumPartitions call, while in Spark 1.5 you have to do RDD.partitions.length; I'm not knowledgable enough to figure out how to do that in either maven or sbt. Whichever can solve this library versioning problem will be the winner!
We are not relying on anything in scala 2.11, it simply works with mvn sans cross compile, so I'm currently going with the more mature and familiar one.
There is no cmd line trick in sbt in order to skip tests, (sbt file has to be updated). Thus the modify -> start server dev flow in Intellij is slower. This is a minor "developer experience" blocker IMO. I know you can also change the sbt file first when doing UI work then revert, but it requires human labor to change the sbt file back and forth, (and keep an eye on not to check in the changes). I might be missing some well known tricks here, feel free to point out!


Video Conference Mute still cannot modify even though it's running as administrator

Microsoft PowerToys version
v0.61.1
Running as admin

[ ] Yes

Area(s) with issue?
Video Conference Mute
Steps to reproduce
Video Conference Mute still cannot modify even though it's running as an administrator
log in as a standard user. When running the app as administrator but still get the message "You need to run as administrator to modify these settings".
✔ Expected Behavior
I wish when I already run as an administrator can modify it.
❌ Actual Behavior
No response
Other Software
No response

/bugreport

PowerToysReport_2022-09-01-09-44-53.zip

@jaimecbernando Why are there no logs for the VideoConference utility?

VCM module itself is a driver which is running as local system - an account with limited permission which cannot access the usual log dir, so we log into %TEMP% as PowerToysVideoConference_<arch>.log.

The issue seems to be caused by reading the settings from incorrect location (run by admin -> settings are saved in the wrong dir), so at this point VCM isn't started yet.

IIRC we have the settings issue reported, so it might be a dup


remove reload on change owner

currently the change owner function crashes the react native app and reloads the web page, this is undesired UX

It's already in the roadmap https://github.com/orgs/evoluhq/projects/3

Do you want to implement it? It shouldn't be hard.

i actually already implemented it for an older version let me check if i can do it again as fast


Cache all or nothing

Use case:

index.html -> deadbeef1234567.js
index.html has Cache-Control: no-cache
*.js are cacheable for a long period of time.
index.html is in the main section;

    new OfflinePlugin({
      relativePaths: false,
      publicPath: '/',
      caches: {
        main: ['index.html'],
        additional: ['*.js', '*.png', '*.jpg', '*.woff', '*.eot', '*.svg', '*.ico'],
      },
      excludes: [
        '**/*.map'
      ],
      // Removes warning for about `additional` section usage
      safeToUseOptionalCaches: true,
      AppCache: false,
    })

Upon deploy, old .js-files are removed.
At runtime in the browser, the service worker makes a network request for a .js file despite not having checked index.html for updates.
Had index.html been revalidated (it's in the main section after all), the browser would have known to get the latest versions of the JS files, keeping the old .js files cached like is supposedly the aim of sw.js.
Output

You write:

First load after a deploy may crash only if requests are going directly to the servers, i.e. to the network.

Yes, this is what happens; it's the bug.

With ServiceWorker they are cached and request go to the cache.

That's the intended behaviour which is not displaying.

In your case chunks are requested from the network (console shows it) but index.html seems to be loaded from the SW cache.

Yes.

So, it loads old index.html which points to old scripts which doesn't exist anymore, so server returns HTML and page doesn't work.

Yes.

When you first visit the page after new deploy -- you get an old page loaded from the cache.

No, this is not what happens. I get network requests going out instead of going to the cache.

The new page and its assets are being downloaded in background and that new page will be available for usage only when all tabs of the website will be closed.

Or every 24 hours, yes, and if this was the behaviour, we'd be fine.

Also, since you are using unique file names for each build, it's a good idea to keep your old files on the server and don't delete them.

This seems like a work-around. We'd have to keep all files on the server, forever in that case since we never know how old a version of the JS a client has.

@haf, so, can I have a repro for this?

Well, I gave you one the day I filed, but it's been removed because it broke our site by downloading older file hashes.
We won't be able to try this plugin out for another few months until we've verified it won't break our app again.


Update urllib3 to 1.26.19 and 2.2.2 to fix vulnerability

Update urllib3 to 1.26.19 and 2.2.2 to fix vulnerability.
This PR will close 14 Dependabot alerts.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

If you do not have any objection, I will merge this PR today.


Fixing Nadia.Behaviour.

Based on a current Nadia.Behaviour we have:
@callback edit_message_text(integer | binary, integer, binary, [{atom, any}]) :: {:ok, Message.t()} | {:error, Error.t()}

But actually in code we have
@spec edit_message_text(integer | binary, integer, binary, binary, [{atom, any}]) :: {:ok, Message.t()} | {:error, Error.t()}
  def edit_message_text(chat_id, message_id, inline_message_id, text, options \\ [])

Seems related to #67 spec was fixed, but not a behaviour.
Btw #67 can be closed due to specs have been fixed.

Thanks for the fix!


[Epic] Finalize plugins

I'm going to call this epic closed as we've completed the desired scope for 1.0. I added a Plugins label that we can use to identify plugin-related issues going forward.


Allow subclasses of Symbol

Fixes #123.
@KristianJensen, you can do the following now
import symengine.sympy_compat as symengine

class Wrapper(symengine.Symbol):
    def __new__(cls, name, extra_attribute):
        return symengine.Symbol.__new__(cls, name)

    def __init__(self, name, extra_attribute):
        super(Wrapper, self).__init__(name)
        self.extra_attribute = extra_attribute

# Instantiate the subclass
x = Wrapper("x", extra_attribute=3)
assert x.extra_attribute == 3
two_x = 2 * x
# Check that after arithmetic, same subclass is returned
assert two_x.args[1] is x

That's fantastic. Thank you!

Thanks @isuruf !


Country Report for world(limit N)

As a user, I want to generate a report on the top N populated countries in the world, where N is a value provided by me so that I can quickly find information on the most populated countries in the world.

As a user, I want to generate a report on the top N populated countries in the world, where N is a value provided by me so that I can quickly find information on the most populated countries in the world.


Enable Supermicro deployments

Right now, at least the push button automation parts of JetSki are heavily geared towards Dell nodes and use badfish. Enabling deployments with Supermicro would mean substituting the badfish calls with equivalent ipmitool calls

There is less that you can do with supermicros, AFAICT you can't change boot order without entering the BIOS.     However, we really need supermicro support because a large percentage of the scale lab consists of supermicros (because they were 1/2 price of Dell).
It seems like the automation could tell whether it was dealing with a supermicro or not using the machine type embedded in the host name, for example.   But it's too bad that the ocp4_inventory.json file doesn't have machine type and other metadata embedded in it to make JetSki's job easier.
Also, it always presents 4 NIC ports, but some systems have less than 4 NIC ports, or have different speeds on some of them.  It's hard to tell from the lab's ocp4_inventory.json what those interface names and types are.   For example, there are two different types of 1029u configurations with different interface names, but you can't tell which you are dealing with by looking at the hostname.   I had to install RHEL8 on all the 1029u machines in my reservation to figure out what sub-type they were.

@bengland2  I think once https://github.com/redhat-performance/quads/issues/263 goes into QUADS it shoulde easy to expose that in the inventory file.

sounds promising.  I'd like to have NIC interface metadata and storage device metadata.

Sounds like there was some progress on this from e-mail stream, any updates?

`failed: [f09-h26-b01-5039ms.rdu2.scalelab.redhat.com] (item=f09-h26-b02-5039ms.rdu2.scalelab.redhat.com) => {"ansible_loop_var": "item", "attempts": 20, "changed": true, "cmd": "source /tmp/ansible.ptyl7iyc/.venv/bin/activate\n./src/badfis
h/badfish.py -u user -p password -i config/idrac_interfaces.yml -H mgmt-f09-h26-b02-5039ms.rdu2.scalelab.redhat.com --check-boot\n", "delta": "0:00:01.615184", "end": "2020-09-28 19:48:48.930993", "item": "f09-h26-b02-5039ms.rdu2.scalelab
.redhat.com", "msg": "non-zero return code", "rc": 1, "start": "2020-09-28 19:48:47.315809", "stderr": "- ERROR    - Could not retrieve Bios Boot mode.\n- ERROR    - There was something wrong executing Badfish.", "stderr_lines": ["- ERROR

Could not retrieve Bios Boot mode.", "- ERROR    - There was something wrong executing Badfish."], "stdout": "", "stdout_lines": []}
`
Got this error when using supermicro 5039ms, sensitive info removed.

@mrbojangles3 As we have discussed previously, you need to sub out badfish calls with ipmitool on supermicros afaik.

I was under the impression somehow that with the new idrac work that is vendor dependent jetski would gracefully "fail" to  ipmitool. got my wires crossed.

There is no Redfish entrypoint for checking boot order on SuperMicros.
What is the equivalent ipmitool instruction you would use and what is the output expected.
Would it help to have a more accurate error message from Badfish or is there any other output you would like to see there?


The docs referenced in the 0.5 version are not open to the public

The links for "learn more" under Open Policy Agent and RBAC links to a google document that is not open to the public.
(https://docs.google.com/document/d/1U2XFmah7tYdmC5lWkk3D43VMAAQ0xkBatKmohf90ICA/edit#heading=h.fmlgl8m03gfy) and (https://docs.google.com/document/d/1dKXUEOxrj4TWZKrW7fx_A-nrOdVD4tYolpjgT8DYBTY/edit#)
https://istio.io/about/notes/0.5.html

This is normal for Istio design documents. You can request access and get in without any requirement.
Note that there is currently an outage in the underlying infrastructure which prevents us from granting access to anyone asking. Hopefully, this issue will be resolve in the next few days. Everyone in the queue will be allowed in at that time.


Standard routes for upcoming_httpd

Problem: slight verbosity and lack of composability of upcoming routing primitives with next omni_httpd #550
Example:
create type home_path as
(
    request omni_httpd.http_request
);

create or replace function home_path(omni_httpd.http_request) returns home_path
    language plpgsql as
$$
begin
    if $1.method = 'GET' and $1.path = '/' then
        return row ($1)::home_path;
    end if;
    return null;
end;
$$;

create type product_path as
(
    request    omni_httpd.http_request,
    product_id text
);

create or replace function product_path(omni_httpd.http_request) returns product_path
    language plpgsql as
$$
declare
    product_id int;
begin
    product_id := (regexp_match($1.path, '/product/(\d+)'))[1]::int;
    if product_id is not null and $1.method = 'GET' then
        return row ($1, product_id)::product_path;
    end if;
    return null;
end;

Proposed solution: generate home_path/product_path functions off a standardized pattern
Something like:
make_router(router_name name /* function to create */, router_type name /* type */, route_regexp text default '.*', method text default 'GET', host_regexp text default '.*', ...)

which will create the product_path type of router:
make_router('product_path', 'product_path', route_regexp => '/product/(\d+)')

This bounty is two parts:

Write the make_router function: ($250)
Write a URLPattern to regex converter (see some examples like this one) ($250).

Note that since Postgres' regexps do not support named group captures, so we need to figure out a way to match capture groups to fields in composite types.
It is important to have decent test coverage for both.
For simplicity's sake, PL/pgSQL is probably a great way to implement this.

Bounty size: $250-500
Read more about bounties

@yrashk please review this PR #672


Referencing package.json breaks minification builds like esbuild

This line tries to find the package.json by an absolute path which might not be available if the build is fully minified and tree-shaked during compile time.
https://github.com/ydb-platform/ydb-nodejs-sdk/blob/5b9a68cb6e49344d2013cc82df28a8e17ea405e7/src/version.ts#L7
It should either be referenced in the compile time (macro or otherwise) or not depend on it during runtime

@tsufiev I think this is critical, since it completely blocks usage of sdk for environments with bundled code.

Here is temporary solutions which solves issue in webpack:
           {
                test: /node_modules\/ydb-sdk\/build\/cjs\/version\.js$/,
                loader: 'string-replace-loader',
                options: {
                    search: 'path_1.default.join(getRelTopLevelPath(), \'package.json\')',
                    replace: '\'../../package.json\'',
                },
            },

It seems to be breaking fruther here
https://github.com/ydb-platform/ydb-nodejs-sdk/blob/main/src/ssl-credentials.ts#L7
for the same reason


Add :focus-visible variant

Closes #1766
This PR implements the :focus-visible variant. It is not enabled by default for any utilities.
Detail
The :focus-visible pseudo-class allows authors to provide clearly identifiable focus styles which are visible when a user is likely to need to understand where focus is, but not visible in other cases.
It is defined in the Selectors Level 4 specification along with the :focus-within variant.
Documentation
Browser support is limited, but consumers often use the postcss-focus-visible plugin along with the official polyfill.
If this PR is accepted I will create a follow-on PR for the docs repo.

@austin94 nice work! To cover the two main use cases, it would be cool to support keyboard-focus as an alias for :focus-visible, and mouse-focus as an alias for :focus:not(:focus-visible)
mouse-focus:shadow-none
keyboard-focus:shadow-outline

I would definitely be able to add this if you find it valuable!
The only concern I have is that the :focus-visible spec tries hard to not provide mouse vs keyboard differentiators. Depending on the type of interaction focus-visible styling could be shown by both keyboard and mouse interaction. The most common example is inputs:

Any element which supports keyboard input (such as an input element, or any other element which may trigger a virtual keyboard to be shown on focus if a physical keyboard is not present) should always match :focus-visible when focused.

Based off the spec I'm not sure the mouse-focus and keyboard-focus would be correct 100% of the time.

Good point—probably better for Tailwind to stick to the basic implementation, and rely on community plugins to provide the more opinionated, not-always-accurate APIs

@AlexVipond is there anyone else that I need to add to review this fully?

@austin94 I think the Tailwind team usually reviews a bunch of pull requests all in one go. Not sure when they're planning to do the next batch, as they've been hiring people and working on Tailwind UI lately.
@adamwathan @bradlc any sense of when the next batch of reviews will happen?

Been wanting to add this for a while but held off because of a bug in the polyfill that has since been fixed, so happy to merge this now. Thanks @austin94!


Import database issues OrientDB Server v2.0-M2

When I export my db:
@rid       @class:AppData     data                _allow
#12:27                                   "my data"        #5:2
and Import it with:
import database C:/myDB.export -preserveClusterIDs=true -rebuildIndexes=false
I get:
@rid       @class:AppData     data                _allow
#12:0                                     "my data"        #5:2
So the cluster ID is preserved but the Index was rebuild, is this a bug ? or Am I misunderstanding something ?

I am having the same issue in 2.0.10 using the exact syntax as suggested by lvca above. Still the @RID is being rebuilt (with the exact behavior as described by Bretto.)
Since i have external references from my app to the @RIDs i need them to stay the same after exporting and importing the database.

This problem was never resolved for me either...

I am facing same problem. Is this problem is solved in any version?

+1. Having still the same issue. Is this solved in any version? Just want to keep @rid's when importing...

It is fixed in the release 3.0.0?It will be fixed?

hi,
This is not guaranteed at the storage level, and is done by design.
Regards


macos big sur flutter doctor etc command not response?

Steps to Reproduce

macos big sur
flutter doctor, flutter help etc command not response

how to resolve the problem?

flutter doctor -v:  waiting for another flutter command to release...


Json.net ReferenceLoopHandling setting seems to be ignored

Even though I'm setting SerializerSettings.ReferenceLoopHandling in my Startup class, I'm still getting circular references exceptions in my controllers.
Here's my startup class:
public partial class Startup
    {
        public static void ConfigureMobileApp(IAppBuilder app)
        {

            HttpConfiguration config = new HttpConfiguration();

            new MobileAppConfiguration()
                .UseDefaultConfiguration()
                .ApplyTo(config);

            config.MapHttpAttributeRoutes();

            // Use Entity Framework Code First to create database tables based on your DbContext
            Database.SetInitializer(new MobileServiceInitializer());
            MobileAppSettingsDictionary settings = config.GetMobileAppSettingsProvider().GetMobileAppSettings();

            config.Formatters.JsonFormatter.SerializerSettings.ReferenceLoopHandling = ReferenceLoopHandling.Ignore;

            config.Services.Add(typeof(IExceptionLogger), new AiExceptionLogger());

            if (string.IsNullOrEmpty(settings.HostName))
            {
                app.UseAppServiceAuthentication(new AppServiceAuthenticationOptions
                {
                    // This middleware is intended to be used locally for debugging. By default, HostName will
                    // only have a value when running in an App Service application.
                    SigningKey = ConfigurationManager.AppSettings["SigningKey"],
                    ValidAudiences = new[] { ConfigurationManager.AppSettings["ValidAudience"] },
                    ValidIssuers = new[] { ConfigurationManager.AppSettings["ValidIssuer"] },
                    TokenHandler = config.GetAppServiceTokenHandler()
                });
            }

            app.UseWebApi(config);
        }
    }

Am I missing something?
BTW I also posted this question on StackOverflow.

The settings that you apply at a global level do not get applied to the TableControllers.
See how to configure the Table Controllers documentation.
For example:
new MobileAppConfiguration()
	.UseDefaultConfiguration()
	.WithTableControllerConfigProvider(new MyTableControllerConfigProvider())
	.ApplyTo(config);

public class MyTableControllerConfigProvider : TableControllerConfigProvider
{
	public override void Configure(HttpControllerSettings controllerSettings, HttpControllerDescriptor controllerDescriptor)
	{
		base.Configure(controllerSettings, controllerDescriptor);

		controllerSettings.Formatters.JsonFormatter.SerializerSettings.PreserveReferencesHandling = PreserveReferencesHandling.None;
		controllerSettings.Formatters.JsonFormatter.SerializerSettings.ReferenceLoopHandling = ReferenceLoopHandling.Ignore;
	}
}

@julianonunes Thanks for using Azure Mobile Apps. There were some suggestions on StackOverflow on how to fix those issues. Did you get a chance to look at it?
I'll close this issue for now since its a year old. Feel free to contact us in case you have any question.

I don't remember how the problem was solved, but thank you anyway.


App update means user can't upload previously saved observations

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Install a previous version of the app
Make two observations (probably best with photos/evidence)
Don't upload these observations; save them locally
Update to the latest version of the app
Try to upload two saved observations
See upload animation spinning forever without an actual upload

Expected behavior
Users should not lose the ability to upload data from previous app versions.
Context (please complete the following information):

App version: 0.32.0+88

Additional context
Not sure what the underlying issue is here, but I suspect it might have to do with photos being stored in the local /photoUploads directory. This PR showed me that we needed to change the way we access photos to be able to display them after an app update, but we didn't change the way we access photos for upload.

I have added a fix for this problem for uploading observations with photos. But I have not tested if this also works for sounds. I suspect it will not. So, I am reopening this to remind myself to check obs with sound.

Have tested now and this is indeed still a bug for obs sounds.


Extract book id from filename

fixes https://github.com/sillsdev/serval/issues/375

This change is

Codecov Report
Attention: Patch coverage is 87.15596% with 14 lines in your changes are missing coverage. Please review.

Project coverage is 67.17%. Comparing base (52b732c) to head (5a7f620).

Files
Patch %
Lines

src/SIL.Machine/Corpora/ParatextProjectSettings.cs
73.33%
7 Missing and 5 partials :warning:

src/SIL.Machine/Corpora/UsfmFileTextCorpus.cs
93.75%
1 Missing and 1 partial :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #193      +/-   ##
==========================================
+ Coverage   67.15%   67.17%   +0.02%
==========================================
  Files         441      441
  Lines       34890    34924      +34
  Branches     4672     4685      +13
==========================================
+ Hits        23430    23461      +31
- Misses      10368    10369       +1
- Partials     1092     1094       +2

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

tests/SIL.Machine.Tests/Corpora/ParatextProjectSettingsTests.cs line 72 at r1 (raw file):

        Assert.That(settings.IsBookFileName("PROJ42.SFM", out string bookId), Is.True);
        Assert.That(bookId, Is.EqualTo("MRK"));
    }

Obviously, you know the different types of names and numbers that can occur here.  I do see, however, that there is missing test coverage for the different paths that can be taken with all the "if xyz == 40", etc.  Can you add in the missing test cases, testing the "false" paths more completely?


make the check circle and its color themeable

Please accept this PR to expose two new style attributes in order to be able to change the color of the circle which is used to select an image.
"item.checkCircle.backgroundColor"
"item.checkCircle.borderColor"

the build has an internal server error. This doesn't have anything to do with my changes, correct?


Unable to host in a sub-directory since 1.17

https://github.com/dungeon-revealer/dungeon-revealer/pull/1544 introduced some new URL endpoints that are expressed as absolute URLs (starting with /), such as
https://github.com/dungeon-revealer/dungeon-revealer/blob/bb9fd2d47781fce9e73dc87502b3e7c3c57d9222/server/graphql/modules/map.ts#L526
This unfortunately breaks if dungeon-revealer is being hosted in a sub-directory (e.g., example.com/dnd), since the client ends up trying to request
GET https://example.com/api/map/c3011575-46c8-4e4c-9a20-c39199b32500/map?authorization=

GET https://example.com/api/map/c3011575-46c8-4e4c-9a20-c39199b32500/fog?authorization=&cache_buster=d51452f9-b75a-42a4-9942-713bec74bc3c

Note the lack of /dnd/. This ends up with all maps becoming entirely unavailable for both the DM and players.
I think the fix here is to not encode absolute URLs in those locations, and instead using buildApiUrl from
https://github.com/dungeon-revealer/dungeon-revealer/blob/b4219ebe0451ae1914c72959699d44e149b20929/src/public-url.ts#L20
which correctly takes the base URL into account:
https://github.com/dungeon-revealer/dungeon-revealer/blob/b4219ebe0451ae1914c72959699d44e149b20929/src/public-url.ts#L3-L10

There may also be other instances of this, I'm not sure, but those are the ones I've run into.

@n1ru4l gentle nudge on this :)

I put together a PR that seems to fix the problem over in https://github.com/dungeon-revealer/dungeon-revealer/pull/1620 :tada:


[TASK] Add note to neos project creation

@tbal There is a conflict, please resolve first :)

@mblaschke Fixed :)


Make DepositQueued.depositID start at 0 instead of 1

Original discussion: https://github.com/thehubbleproject/hubble-contracts/pull/636#discussion_r681398634
Problem
Currently, DepositManager.DepositQueued.depositID starts at 1 for its IDs. Most of our other IDs are 0 based indexes (stateID, pubkeyID, etc.)
Solution
Change depositID to be 0 index based (start at 0)

Remember to remove https://github.com/thehubbleproject/hubble-contracts/pull/636/files#diff-ffa6856c7a4dc98609b78103141fa71cf9c9d5e1135962b1f0aad38456f330ebR82 as part of this work.