text:
[Improvement] Please help to check if we need update permission in manifest.json to use chrome storage.

@duc-q Please help to check if we need update permission in manifest.json to use chrome storage.
LGTM for now, in future we may need to consider to store state in memory as the article (https://auth0.com/blog/secure-browser-storage-the-facts/)
Originally posted by @djhahe in https://github.com/CasperDash/casperdash-client/issues/113#issuecomment-1211011219

@gaupoit
This ticket can be closed

authors: duc-q gaupoit

repo: CasperDash/casperdash-client


text:
Indentation and javascript issues in index.html

Description
Check console for JS errors.

Similar JS issues in about.html and contact.html

I'm claiming for this issue. Waiting for your approval.

source: gharchive/issue

repo: Catalyst-IN/OpenSourceEvents-Frontend

license: MIT

license_type: permissive

license_source: github-api


text:
🛑 Nextcloud is down

In d629928, Nextcloud (https://nextcloud.hiripple.com) was down:

HTTP code: 530
Response time: 113 ms

Resolved: Nextcloud is back up in 1c8f03d after 42 minutes.

repo: CelestialRipple/ripplelog


text:
🛑 MyNas is down

In 7ba1d30, MyNas (https://unraid.hiripple.com) was down:

HTTP code: 502
Response time: 461 ms

Resolved: MyNas is back up in 8249f22 after 10 minutes.


text:
🛑 HomeAssistant is down

In ef986b4, HomeAssistant (https://ha.hiripple.com) was down:

HTTP code: 530
Response time: 60 ms

Resolved: HomeAssistant is back up in e0b6c49 after 27 minutes.


text:
numeric OTP token input

improved on-screen keyboard support (for mobile)

Coverage remained the same at 84.381% when pulling dcb39652a8e27c6448dd195578ec396f199676c7 on radicallyopensecurity:numeric-otp into 3d8c2f6c3a61d5e2ea5e599ffe4aebc2d8c6f0e1 on CentauriSolutions:master.

source: gharchive/pull-request

authors: coveralls gronke

repo: CentauriSolutions/EyeDP


text:
Create an MSBuild SDK for Yardarm projects

Motivation
Allow the creation of projects that dynamically build Yardarm SDKs as
part of an MSBuild pipeline with other projects.
Modifications

Combine Yardarm.Build.Tasks with the new SDK project to generate a
single NuGet package.
Define the SDK props and targets file
Add a test project and include in CI build

Results
Yardarm projects support NuGet restore, build, pack, multi-targeting,
loading in Visual Studio, etc. The SDK may be packaged and uploaded to
NuGet for easy reference.

/merge

repo: CenterEdge/Yardarm


text:
No results when searching for user with same name as contributor on a project

Steps

Go to a project on which you have admin access on production
Go to the Sharing tab
Press Add to add a contributor
In the modal, search for Casey Rollins
Confirm that three users appear

Select the account for Casey with the pink avatar and add to project to exit the modal

On the Sharing tab, after confirming that Casey is now a contributor, click the x to remove her from the project

Confirm that Casey is now removed as a contributor
Press Add to add another contributor
Search for Casey Rollins
Again, confirm that three users appear
Select the account for Casey with the picture (as avatar) and add to project to exit the modal

Confirm that Casey with the picture avatar is added as a contributor to the project

On the Sharing tab, press Add again to add another contributor
Press recent collaborators and confirm that Casey with the pink avatar appears in this list

Now, search for Casey Rollins

Expected
I expect that the other two Casey Rollins accounts (pink avatar and green avatar) would appear in the search results, since neither of those accounts are added as contributors on the project.
Actual
No search results appear when searching for Casey Rollins:

I am guessing that this is because we omit search results for users who are already contributors on the project, and it seems like maybe we are only indexing those results by name and not by user id? This can become problematic if we have two distinct users with the same name that want to be added to the same project. As current functionality stands, this is not possible via contributor search.

I got this.

Thanks

Fixed by https://github.com/CenterForOpenScience/osf.io/commit/a05f0aca6cbcf25b8301f039e022c1f770cd0eb5

authors: Johnetordoff caileyfitz lbanner sloria


text:
Folder upload

There currently does not appear to be any way to directly upload a folder to OSF.  This makes it impractical to use OSF to store any dataset that consists of many files in a nested folder structure.
One workaround suggested in issue #6204 is to upload the data to dropbox, link the dropbox account to the OSF project, and then copy the folder across to OSF storage.  However, drag and dropping folders in the OSF files page from a linked dropbox to OSF storage moves rather than copies the folder, removing it from dropbox.  I have not found any way of copying rather than moving from dropbox to OSF storage.  This method therefore is not practical for large datasets that you do not want to remove from your dropbox.
Please consider implementing either direct folder upload or an option to copy rather than move data among storage providers.

Hi, Thomas,
If you hold down the option/alt key when you drag the folder, you should see a green plus on the cursor. This indicates you'll be copying the folder rather than moving it. Please let me know if that doesn't work for you.

Hi Brian,
Thanks for your prompt response.  Following your suggestion I have tried holding down alt when dragging the folder.  This works sometimes but the behaviour seems to be somewhat unpredictable (at least in Firefox on Windows 10), in that I have sometimes had folders copy when not holding down alt, and sometimes had them not copy when holding it down.  I have tried extensively to pin down what is causing the variablility but have not worked it out.
In Chrome the behaviour seems more deterministic, but does appear to depend on the order in which you perform the alt-drag sequence, with copy happening if you press alt before starting to drag, but move happening if you press alt after dragging but before releasing the mouse button.  This is different from windows folder moving/copying behaviour where all that matters is whether the key is down at the time of releasing the mouse button.
Also, on my system in both Firefox and Chrome  the cursor changes are pretty subtle, with a tiny black plus symbol appearing next to the cursor when it will copy, but no color change.
Overall, the current behaviour is not very intuitive and I think there is quite a risk that people will acidentally move files when they want to copy them.  If this happens with a large dataset it is pretty frustrating, particularly if, as happened to me last night, the move fails half way through leaving half the data in dropbox and the other half on OSF.
One simple way of making this behaviour safer for the user would be to add a dialog when subjects move data between different storage systems asking them to confirm whether they want to remove the data from the system they are moving it from.

Hi, Thomas,
Thank you for the feedback. We are preparing a major overhaul of the files system, and this will be very useful for informing our design decisions. I believe the proper behavior of the new system will be to copy between locations by default, and require a key press in order to move.

Note that the commandline python tool osfclient now supports recursive folder copying:
https://pypi.org/project/osfclient/

This would save me a lot of time and headache. Also seems like a pretty basic feature for a data storage repository. Alternative I have been using is to just upload a .zip file.

+1 -- my coauthors and I discovered the same problem with Dataverse and we were planning to use OSF instead, but this is a bit of a problem. I uploaded everything from GitHub via integration but if that repo goes down, what happens to the files?

Update - it appears there's also an R package that handles this use-case:

https://search.r-project.org/CRAN/refmans/osfr/html/osf_upload.html
https://github.com/ropensci/osfr

The lack of directory upload support is frustrating. It doesn't seem reasonable to have to install and set up a commandline tool or link to a file provider just to upload a directory.

Hi there, any update on this?

+1 for this feature, very surprised this isn't already possible.

Note that the commandline python tool osfclient supports recursive folder copying: https://pypi.org/project/osfclient/

Thanks for this, osfclient works a treat for me.

authors: ThomasAkam brianjgeiger dr-JT helmingstay mortonne paddy-r setgree


text:
TSV file columns not rendering on website

Hi,
I have a bunch of tab-delimited tsv files in an OSF project. Most of them render correctly on the website, but for 2 files the separate column values are being squished into a single column. I have checked the downloaded files and the delimiters are correct. I've also checked that web browser/versions are not causing the problem.
Here are the 2 files with the incorrect display:

Here is an example of another tsv displaying correctly:

I'd appreciate any suggestions for how to fix this!

@felliott looks like an issue for the MFR repo.

Hi - I wanted to follow-up on this issue, was there any resolution? thanks!

Hello maintainers - I'm having the same issue with one of my osf projects with TSV files. Some files are rendered as expected while others have a single cell per row. Is there any quick fix or solution to this issue? Thank you!

authors: Arshitha Johnetordoff marisalim


text:
[ENG-4034] adapt NotableEmailDomain model

Purpose

Changes

QA Notes
Please make verification statements inspired by your code and what your code touches.

Verify
Verify

What are the areas of risk?
Any concerns/considerations/questions that development raised?
Documentation

Side Effects

Ticket

Please rename the auto migration with a descriptive name (this is a thing I'd like to start doing that we haven't always done in the past). Other than that, my only thoughts is merging this with the PR to add the DomainReference model so that we can limit our migration count.

Close in favor of #10063

authors: adlius jwalz


text:
[CAM-4358] Improve KB article with error codes, detailed description, causes and solution

updated error codes in api doc

@EfrenRey  could you please review this?

@AnthonyHakim , @lyzalou , who can review and merge in this repo?

@gsanchezu sorry you may have missed it... @srveit is no longer with the organization.

authors: gsanchezu juanmorra lyzalou

repo: CenturyLinkCloud/APIDocs


text:
Suggestion: avoid forcing defauld parameters order

In the official implementation, defauld parameters are not required to be used after all positionals, I wonder if it would be possible to make jrsonnet behave the same?
Only removing the check in crates/jsonnet-parser/src/lib.rs (line 62) seems to enable this behaviour without regression, what do you think @CertainLach?

Was just coming to file this issue :). Here's a simple program that the official jsonnet happily works with, but that jrsonnet fails on:
local x(
  foo = "foo",
  bar,
) = {
  foo: foo,
  bar: bar,
};

x(bar="bar")

$ jsonnet foo.jsonnet
{
   "bar": "bar",
   "foo": "foo"
}

$ jrsonnet foo.jsonnet
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `true`,
 right: `false`: defauld parameters should be used after all positionals', crates/jrsonnet-parser/src/lib.rs:65:21
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Aborted (core dumped)

I wrongly assumed that this limitation is not only applies to args, and for args it is even handled correctly:
https://github.com/CertainLach/jrsonnet/blob/master/crates/jrsonnet-parser/src/lib.rs#L87
For params this limitation should be removed

authors: CertainLach LorisFriedel nicklan

repo: CertainLach/jrsonnet


text:
🛑 SGI COMPLIANCE is down

In 985022e, SGI COMPLIANCE (https://sgicompliance.com/) was down:

HTTP code: 403
Response time: 557 ms

Resolved: SGI COMPLIANCE is back up in 249577b after 15 minutes.

repo: Certania/status-website


text:
cesium particle system frame rate drops sharply after losing focus and returning

Hi,cesium teams,
I found a bug.When you lose focus and come back, the more particles you emit per unit of time, the more you drop the frame.

Thanks for the report @engineerhe! I believe this is already being tracked in https://github.com/CesiumGS/cesium/issues/9266. I'm going to close this issue to keep the discussion in the original issue. Thanks!

authors: engineerhe ggetz

repo: CesiumGS/cesium

license_source: bigquery


text:
Fix for Node 14 Gulp Build issue

Fixes #8864 by passing the minify argument as a string to fs.writeFileSync

Thanks for the pull request @LuminousPath!

:x: Missing CLA.

Please send in a Contributor License Agreement (CLA) and comment back here to let us know to check this!

:grey_question: CHANGES.md was not updated.

If this change updates the public API in any way, please add a bullet point to CHANGES.md.

:grey_question: Unit tests were not updated.

Make sure you've updated tests to reflect your changes, added tests for any new code, and ran the code coverage tool.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.
[ ] Works (or fails gracefully) in IE11.

Thanks @LuminousPath, even with a small change like this we need a CLA to accept the code. It's up to you if you want to contribute as an individual or on behalf of a company. See Contributor License Agreement for links to the web forms.
If you can't sign a CLA for whatever reason, I'm happy to make this change on your behalf (since it's tiny), but we can't add you to Contributors.md without the CLA.  So just let us know either way.
Thanks again.

No problem, I had to have a little back-and-forth with my business team but it looks like everything's in order. I've signed the CLA for my company, Navagis, so I think I should be good to go now.

Thanks @LuminousPath ! Can confirm we've received your corporate CLA.

Thanks @LuminousPath!

authors: LuminousPath OmarShehata cesium-concierge mramato


text:
Debug fptree

Enable malloc memory allocation

Mining Fp tree proves difficult, fp tree generation consumes alot of memory. Will need to test this on a server perhaps


text:
Incorrect distinct itemset count

The distinct itemset count is equal to the total frequent itemset count. This issue persists preventing the proper analysis of the classical Apriori algorithm.

Issue fixed!


text:
Hello, what is the pytorch and cuda environment of RTPB?

Hello, what is the pytorch and cuda environment of RTPB? I can't compile successfully while running python setup.py build develop, my environment is pytorch 1.12 and cuda11.3 @ChCh1999

My environment is PyTorch 1.10 and cuda11.1. Please provide more detail about your problem so I can determine what happened to you.


text:
Fix lodestar unit test compilation errors

Currently our unit tests in lodestar are excluded from compilation (that's why IDEs are complaining) because it has too many compilation errors (after switching strict flag).
This issue includes following tasks:

include test directory in tsconfig
fix all compilation errors in tests
create tsconfig.build.json

this should extend default tsconfig but exclude test directory (rootDir: src) so we don't compile test files into release build

fix package.json to use this tsconfig.build.json for generating production builds
apply this to other packages

unstale

repo: ChainSafe/lodestar


text:
Add example github action

I'm interested in experimenting with github actions, perhaps to create nightly releases or other things.
This is a simple example to get us started. If we have a .github/main.workflow file, then we can use github's gui in the Actions tab of the repo

831
@chainsafe/ssz:   148 passing (91ms)
832
@chainsafe/ssz: /home/travis/build/ChainSafe/lodestar/packages/ssz/node_modules/nyc/node_modules/istanbul-reports/lib/lcovonly/index.js:52
833
@chainsafe/ssz:             line = meta.loc.start.line,
834
@chainsafe/ssz:                         ^
835
@chainsafe/ssz: TypeError: Cannot read property 'loc' of undefined
836
@chainsafe/ssz:     at /home/travis/build/ChainSafe/lodestar/packages/ssz/node_modules/nyc/node_modules/istanbul-reports/lib/lcovonly/index.js:52:25
837
@chainsafe/ssz:     at Array.forEach (<anonymous>)
838
@chainsafe/ssz:     at LcovOnlyReport.onDetail (/home/travis/build/ChainSafe/lodestar/packages/ssz/node_modules/nyc/node_modules/istanbul-reports/lib/lcovonly/index.js:49:27)
839
@chainsafe/ssz:     at LcovReport.(anonymous function) [as onDetail] (/home/travis/build/ChainSafe/lodestar/packages/ssz/node_modules/nyc/node_modules/istanbul-reports/lib/lcov/index.js:21:24)
840
@chainsafe/ssz:     at Visitor.(anonymous function) [as onDetail] (/home/travis/build/ChainSafe/lodestar/packages/ssz/node_modules/nyc/node_modules/istanbul-lib-report/lib/tree.js:34:30)
841
@chainsafe/ssz:     at ReportNode.Node.visit (/home/travis/build/ChainSafe/lodestar/packages/ssz/node_modules/nyc/node_modules/istanbul-lib-report/lib/tree.js:121:17)
842
@chainsafe/ssz:     at /home/travis/build/ChainSafe/lodestar/packages/ssz/node_modules/nyc/node_modules/istanbul-lib-report/lib/tree.js:114:23
843
@chainsafe/ssz:     at Array.forEach (<anonymous>)
844
@chainsafe/ssz:     at visitChildren (/home/travis/build/ChainSafe/lodestar/packages/ssz/node_modules/nyc/node_modules/istanbul-lib-report/lib/tree.js:113:32)
845
@chainsafe/ssz:     at ReportNode.Node.visit (/home/travis/build/ChainSafe/lodestar/packages/ssz/node_modules/nyc/node_modules/istanbul-lib-report/lib/tree.js:124:5)
846
@chainsafe/ssz: error Command failed with exit code 1.
847
@chainsafe/ssz: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
848
lerna ERR! yarn run test:unit exited 1 in '@chainsafe/ssz'
849
The command "lerna run test:unit && lerna run coverage" exited with 1.

@mpetrunic  uh oh, its still happening :(

@wemeetagain did you create branch from latest master. If yes, did ssz add some directory not excluded in nyc?

like scripts :stuck_out_tongue:

authors: mpetrunic wemeetagain


text:
test: migrate cli unit/e2e tests to vitest

Motivation
Consolidate the testing frameworks and migrate to vitest.
Description
Migrate cli unit/e2e tests to vitest.
Steps to test or reproduce

Run all tests

:tada: This PR is included in v1.14.0 :tada:

authors: nazarhussain wemeetagain


text:
"DDOS" someone needs to be educated

This is by far the most hilarious title i've ever seen, dont even get me started with how i found this. (You just randomly friend requested me and said "IS THIS THE ZEROPOINT, CAN WE REMAKE KREW AGAIN, but the answer is no." Dont get but hurt over it.) second of all just looking at this code alongside with the title, the description, and proxies provided. This is a DNS over Proxy Amplification attack, one machine using multiple proxies to amplify an attack towards a single target.
What do you need 5000 threads opened at the same time lmao. 250-1000 should be able todo the trick. Unless you're buying out a server just for that 😆.
Hey atleast i can provide you some tips to help you find your next vps
A: Have you tried digital ocean (first month is free on them)
B: Have you tried google cloud (they give you 300 bucks to try with them)
C: Have you ever tried your local collocation (oh yeah they even accept a pc just like yours if your paying enough)
D: have you tried aws (they give you 100 dollars to use there services)
Here are the few suggestions i can give you.
Unless you want advice, start up a forum related to something popular on reddit, buy a vps, transfer your forum to that vps, and get google adword on that forum. Make big bucks, then sell your users information to openai, they payouts are big.

ask epic games, they can help
after implementing rocket league and fortnite into krew, you will get a battle pass and v bucks into krew
now add the travis scott skin and nadia and your game will be back
https://github.com/ChandlerAx/MultiplexDDoS/assets/80939925/622cbf95-abd9-4c48-a3ad-8aedd46c1120

This is by far the most hilarious title i've ever seen, dont even get me started with how i found this. (You just randomly friend requested me and said "IS THIS THE ZEROPOINT, CAN WE REMAKE KREW AGAIN, but the answer is no." Dont get but hurt over it.) second of all just looking at this code alongside with the title, the description, and proxies provided. This is a DNS over Proxy Amplification attack, one machine using multiple proxies to amplify an attack towards a single target.
What do you need 5000 threads opened at the same time lmao. 250-1000 should be able todo the trick. Unless you're buying out a server just for that 😆.
Hey atleast i can provide you some tips to help you find your next vps
A: Have you tried digital ocean (first month is free on them) B: Have you tried google cloud (they give you 300 bucks to try with them) C: Have you ever tried your local collocation (oh yeah they even accept a pc just like yours if your paying enough) D: have you tried aws (they give you 100 dollars to use there services)
Here are the few suggestions i can give you.
Unless you want advice, start up a forum related to something popular on reddit, buy a vps, transfer your forum to that vps, and get google adword on that forum. Make big bucks, then sell your users information to openai, they payouts are big.

I have developed a swift and straightforward script for testing purposes. While it currently serves its intended function efficiently, there is potential for expansion with additional methods, including the integration of exploits. However, due to time constraints, I am unable to dedicate resources to such enhancements at present. Additionally, I conducted testing on a system utilizing 16 CPU threads, demonstrating a capability to handle up to 10 million requests per second.
, Extra note: good purposes, no damage done here

authors: ChandlerAx TheRandomGuy98 ZEROPOINTBRUH

repo: ChandlerAx/MultiplexDDoS


text:
Failed to load Weights part II

Sorry for the late reply,
I re-cloned the repository with the update of the files and it still does not work. It does retrieve correctly the test/test.csv file, so I do not think this issue is related to correctly writting the path. However, I include a screenshot of my structure just in case:

Thank you for your help,
María José

Sorry for late response, I'm quite busy recently.
Could you paste error message so I might figure out what goes wrong, Thanks!
Regards,
Max

These are all the commands that I have been executing:

I get this error while it is executing the last one:

It does not go anywhere from there, but if I stop the execution it gives this error:
Fail to load weights, please modify path in parser.py --load_weights
Load csv file successfully
Beginning predicting......
KeyboardInterrupt                         Traceback (most recent call last)
/content/TrackNet-Badminton-Tracking-tensorflow2/predict.py in ()
112
113         start = time.time()
--> 114         y_pred = model.predict(img_input, batch_size=BATCH_SIZE)
115         end = time.time()
116         time_list.append(end-start)
6 frames
/usr/local/lib/python3.7/dist-packages/tensorflow/python/keras/engine/training.py in predict(self, x, batch_size, verbose, steps, callbacks, max_queue_size, workers, use_multiprocessing)
1627           for step in data_handler.steps():
1628             callbacks.on_predict_batch_begin(step)
-> 1629             tmp_batch_outputs = self.predict_function(iterator)
1630             if data_handler.should_sync:
1631               context.async_wait()
/usr/local/lib/python3.7/dist-packages/tensorflow/python/eager/def_function.py in call(self, *args, **kwds)
826     tracing_count = self.experimental_get_tracing_count()
827     with trace.Trace(self._name) as tm:
--> 828       result = self._call(*args, **kwds)
829       compiler = "xla" if self._experimental_compile else "nonXla"
830       new_tracing_count = self.experimental_get_tracing_count()
/usr/local/lib/python3.7/dist-packages/tensorflow/python/eager/def_function.py in _call(self, *args, **kwds)
853       # In this case we have created variables on the first call, so we run the
854       # defunned version which is guaranteed to never create variables.
--> 855       return self._stateless_fn(*args, **kwds)  # pylint: disable=not-callable
856     elif self._stateful_fn is not None:
857       # Release the lock early so that multiple threads can perform the call
/usr/local/lib/python3.7/dist-packages/tensorflow/python/eager/function.py in call(self, *args, **kwargs)
2941        filtered_flat_args) = self._maybe_define_function(args, kwargs)
2942     return graph_function._call_flat(
-> 2943         filtered_flat_args, captured_inputs=graph_function.captured_inputs)  # pylint: disable=protected-access
2944
2945   @property
/usr/local/lib/python3.7/dist-packages/tensorflow/python/eager/function.py in _call_flat(self, args, captured_inputs, cancellation_manager)
1917       # No tape is watching; skip to running the function.
1918       return self._build_call_outputs(self._inference_function.call(
-> 1919           ctx, args, cancellation_manager=cancellation_manager))
1920     forward_backward = self._select_forward_and_backward_functions(
1921         args,
/usr/local/lib/python3.7/dist-packages/tensorflow/python/eager/function.py in call(self, ctx, args, cancellation_manager)
558               inputs=args,
559               attrs=attrs,
--> 560               ctx=ctx)
561         else:
562           outputs = execute.execute_with_cancellation(
/usr/local/lib/python3.7/dist-packages/tensorflow/python/eager/execute.py in quick_execute(op_name, num_outputs, inputs, attrs, ctx, name)
58     ctx.ensure_initialized()
59     tensors = pywrap_tfe.TFE_Py_Execute(ctx._handle, device_name, op_name,
---> 60                                         inputs, attrs, num_outputs)
61   except core._NotOkStatusException as e:
62     if name is not None:
KeyboardInterrupt:
Thank you for your time,
María

The weights are missing the pb file/are not in the proper format. They may have been to large to upload to github. Any chance you have the complete pretrained weights?

I re-cloned the repository with the update of the files and it still does not work. It does retrieve correctly the test/test.csv file, so I do not think this issue is related to correctly writting the path. However, I include a screenshot of my structure just in case:

I have met some similar question, I can't "python predict.py "
Traceback (most recent call last):   File "/user/TrackNet-Badminton-Tracking-tensorflow2-main/predict.py", line 125, in <module>     tp, tn, fp1, fp2, fn = confusion(y_pred, y_true, tol)   File "/user/TrackNet-Badminton-Tracking-tensorflow2-main/utils.py", line 189, in confusion     _, contours, _ = cv2.findContours(h_pred[0].copy(), cv2.RETR_EXTERNAL, cv2.CHAIN_APPROX_SIMPLE) ValueError: not enough values to unpack (expected 3, got 2)
I do't why become this problem, my --video_path and --label_path is correct.

我使用文件更新重新克隆了存储库，但它仍然无法正常工作。它确实正确检索了 test/test.csv 文件，所以我认为这个问题与正确写入路径无关。但是，为了以防万一，我包含了我的结构的屏幕截图：

我遇到了一些类似的问题，我不能“python predict.py”
Traceback (most recent call last): File "/user/TrackNet-Badminton-Tracking-tensorflow2-main/predict.py", line 125, in <module> tp, tn, fp1, fp2, fn = confusion(y_pred, y_true, tol) File "/user/TrackNet-Badminton-Tracking-tensorflow2-main/utils.py", line 189, in confusion _, contours, _ = cv2.findContours(h_pred[0].copy(), cv2.RETR_EXTERNAL, cv2.CHAIN_APPROX_SIMPLE) ValueError: not enough values to unpack (expected 3, got 2)
我不为什么会成为这个问题，我的 --video_path 和 --label_path 是正确的。

You need to change the output of cv2.findContours, because it has changed.
_, contours, _ = cv2.findContours(h_pred[0].copy(), cv2.RETR_EXTERNAL
to
contours, _ = cv2.findContours(h_pred[0].copy(), cv2.RETR_EXTERNAL
BTW, can I communicate with you personally? cause I am working on it right now. My wechat is FrancoYeung_

authors: Chang-Chia-Chi YuJiZhe eddymina francoyeung maroacc


text:
Vickel: Watch exceptional[\W_]+home[\W_]+builders(?!.com(?<=exceptionalhomebuilders.com))

Vickel requests the watch of the watch_keyword exceptional[\W_]*+home[\W_]*+builders(?!\.com(?<=exceptionalhomebuilders\.com)). See the MS search here and the Stack Exchange search in text, in URLs, and in code.

exceptional[\W_]*+home[\W_]*+builders(?!\.com(?<=exceptionalhomebuilders\.com)) has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Nick in Charcoal HQ

authors: SmokeDetector metasmoke

repo: Charcoal-SE/SmokeDetector


text:
Cow: Watch automatedemailwarmup.com

Cow requests the watch of the watch_keyword automatedemailwarmup\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

automatedemailwarmup\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


text:
ppwater: Watch (?i)kala(\s*)jadu(?-i:).*

ppwater requests the watch of the watch_keyword (?i)kala(\s*)jadu(?-i:).*. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

(?i)kala(\s*)jadu(?-i:).* has been seen in 7 true positives, 0 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


text:
VLAZ: Watch xpressolube.com

VLAZ requests the watch of the watch_keyword xpressolube\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

xpressolube\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


text:
Jesse: Watch airportbnb.fo

Jesse requests the watch of the watch_keyword airportbnb\.fo. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

airportbnb\.fo has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by cigien in Charcoal HQ


text:
Jesse: Watch safalta.com

Jesse requests the watch of the watch_keyword safalta\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

safalta\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


text:
Jesse: Blacklist +971523788684

Jesse requests the blacklist of the number +971523788684. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

Approved by Jeff Schaller in Charcoal HQ


text:
Problem Description
当前的清除聊天按钮，仅仅只是去掉上下文关联， 聊天记录还是会保存在对话框，看起来比较乱。
Solution Description
方案1. 增加一个清除聊天记录的按钮
方案2. 给当前清除聊天按钮增加一个配置项，用户可以选择其功能是清除上下文还是清除所有聊天记录
Alternatives Considered
No response
Additional Context
No response

Hi, thanks for you feedback. There is no plan to add a button to clear the chat history data inside the chat window

repo: ChatGPTNextWeb/ChatGPT-Next-Web


text:
Export sync config

Export and Import Sync Configuration as Compressed String
Overview
This PR introduces a feature to export sync configurations as compressed strings, automatically copy them to the clipboard, and provide an import function to apply these configurations. This enhancement facilitates easy cross-platform synchronization of cloud data settings.
Implementation Details

Added export and import buttons in the cloud data section of the settings interface
Implemented compression of current sync configurations into string format
Integrated clipboard functionality for automatic copying of exported strings
Added import functionality to parse compressed strings and update sync configurations
Implemented pop-up notifications for export, copy, and import operation statuses

Motivation
This feature improves user experience by simplifying configuration transfer between devices or platforms, allowing users to easily share or backup settings without manual copying and eliminating transcription error risks.
Usage and Screenshots
Exporting Configuration

Figure 1: Export Sync Configuration Process

Navigate to the Cloud Data section
Click the "Configure" button
Enter sync configuration and confirm
Click the "Export" button that appears
Configuration is automatically copied to clipboard
Success message: "Sync configuration copied to clipboard"
(Failure message: "Sync configuration export failed. Please try again")

Importing Configuration

Figure 2: Import Sync Configuration Process

Navigate to the Cloud Data section on target device/platform
Click the "Import" button
Paste the copied string into the "Import Sync Configuration" window
Click "Confirm" to import
Success message: "Sync configuration imported successfully"
(Failure message: "Sync configuration import failed. Please check the configuration string")
Click sync button to complete data synchronization

Testing

Export Configuration:

Follow export steps and verify success message
Confirm compressed string in a text editor

Import Configuration:

Follow import steps on another device/browser
Verify correct application of imported settings
Confirm sync settings update as expected

Related Issues

Fixes #4892 - "能否将云端同步的参数加入环境变量，每次换一个设备就要重新填一次，很麻烦。"
(Can cloud sync parameters be added to environment variables? It's inconvenient to refill every time on a new device.)
Resolves #3760 - "[help]云同步和自定义接口有办法写在docker配置里么？"
([help] Is there a way to write cloud synchronization and custom interface in docker configuration?)

Additional Notes

Compressed string ensures compactness and excludes sensitive data
Error handling implemented for invalid import strings

This PR targets the main branch. Please advise if it should be directed elsewhere.
Feedback and improvement suggestions are welcome. Thank you for your review!

Summary by CodeRabbit

New Features

Added the ability to import and export synchronization configurations via a new modal in the settings.

Localization

Added Chinese and English translations for import/export sync configurations, including success and failure messages.

UI Enhancements

Introduced new icons and style adjustments for the import/export feature.

Dependencies

Updated dependencies to include the pako library for handling data compression.

@KILL4M let me answer you question in my comit here:

https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/commit/9b0a7050556bed8d0289aeb9686299c1608b5f3f#commitcomment-143742302

Answer

You're good. For outsider, it's normal. Because Vercel deployment requires some level of internal team access.
Let me review it after this. I'm not internal team tho, but I can still help you review it.
2 options:
a. simple: just report issue, engage in discussion, report security vuln, or made a PR and let the maintianer or reviewer decide wether it's helpful or not.
b. takes time: before engage in any open source activity, always read the contributing guideline, security document, license, code of conduct and any rules  that have been set by the internal team of that open source project and you'll get anythin you need in those documents.

Welcome to open source, I recommend to active engaging in open source activity after your main job is done perfectly. Don't make this a main job, no one paying you for living... except donation.
I recommend you to not opening a discussion in some of the merged commit like this. There's better option like discussions tab, or inside the PR or issue you're active on. My first thought when my commit got commented is, "what's wrong with my merged single line commit? I need to rush to my desktop ASAP and fix it", thanks God it's just some questions not some disastrous thingy.

@KILL4M I found out you're spamming some merged commit just to ask questions, email is better way to spam people tho (cause there's filtering function there 😅), please don't do that.
This https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web project is an open source non profit project. I even not expecting them to care about this project much, because they should care more about their food on the table. Which tech industry currently in trouble especially in Mainland China which the most of the maintainer team geographically located. Please have patience or just work on your fork, like everyone in open source community does. Or you can financially support the maintainer if you think this is important and urgent matter so they can have time to focus on your problem while their bills paid.
If it's in my open source project, I might temporarily ban you for the spam. That's how bad it is spamming in another people's merged commit.


text:
Fix UI freeze when loading recent messages

The SignalVector classes hold a vector and notify observers whenever items are inserted and deleted. Collection settings ("Commands", "Ignores",...) use SignalVectors. Accessing items can currently only be done from the ui thread. Message parsing requires this information ("Ignored users", "Highlights", etc.) thus requiring the entire parsing process to take place in the gui thread. This causes ui-freezing when loading lots of messages.
Requirements for SignalVector design:

Support both ordered and non-ordered collection.
Support inserting/deleting with index and
Fire a delayed event after elements changed (delayedItemsChanged).
New: Read the items concurrently.
SignalVector::getVector() is currently called in ~40 places.

Not constraints:

Items are almost never edited.
Access to elements is always to iterate through the elements, never index access. (however items are added and removed by index)

Proposed solutions:

Using a read-write lock.

:+1: Writing is rare so actual locks are infrequent.
:-1: Requires a guard object to access the elements similar to UniqueAccess.hpp. (Makes accessing elements more verbose)
:-1: Prone to locks. (e.g. reading items in the item inserted signal)

Using a rw-lock with custom class for iteration.
- Add class VectorContent which uses read-write lock and is iterable.
- Holds a std::shared_ptr to the data.

Has begin and end functions to allow iterating on the contents.
:+1: As in 1) writing is rare so actual locks are infrequent.
:-1: Prone to locks. (e.g. reading items in the item inserted signal)

Supply different vector object for read-only access in a shared_ptr to avoid copying.
- :-1: Also requires a guard object. Easy to miss-use when iterating.
- ❗ simply calling for (auto&& items : *vec.items) ... where .items returns a shared_ptr<vector&> would be a safety issue since the shared_ptr itself may not be materialized as a temporary. Only the vector& is required to be materialized.

Using single linked lists.
- items() returns a list of all items which is the exact current state. (UI thread only)
- iterateItems() const returns a list which may be changed while accessing. (e.g. elements in front or after the current item may be added/removed)
- :+1: No guard object.
- :+1: No locks.

NotificationController contains some dogshit code that uses indices to remove items.
Saving in every Controller requires a vector.


text:
Improve docs/supplemental files for plugins

While trying to add docs for plugins on the wiki, I noticed some issues in the plugin docs:

The JSON schema didn't allow $schema as a key.
The TypeScript types contained the wrong event type.
register_callback wasn't documented at all.
No Lua metadata for plugins was present. LuaLS seems to be the most common language server.

Would be cool if the docs/plugin-meta.lua file could be auto-generated since it's a bit of a duplicate of LuaAPI.hpp

I can work on that. In the mean time this PR is a good step towards that.


text:
Unable to place an order

Every time I try to place an order, following the example provided, I get the following error following the call to the check_order method:
1 validation error for CheckingWrapper
data.freeSpaceNew
Field required [type=missing, input_value={'confirmationId': '7b2b3...ExAnteReportLink': True}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.6/v/missing
For all intents and purposes, I would like to point out that I am trying to place an order on leveraged products.

Facing the same issue here. I am trying to place a GTC order in MARKET price to an ETF product. But note that, I am testing this order placement while the market is closed.
PS: What to pass as the product_id in the Order object ? Is it the vwd_id or just the id of a product?

Hello there,
I have just published a new version.
The field "freeSpaceNew" is now optional.
Let me know if you still have the issue.
Thanks

Thank you for this responsiveness. This fix solved my problem perfectly.

authors: Chavithra lstumme rahulbera

repo: Chavithra/degiro-connector


text:
Typo on the kics/docs/integrations_ghactions.md page (output-path, should be output_path)

The code for the KICS Github action with Sarif file upload has a typo
it says
[...]

name: KICS Github Action
id: kics
uses: Checkmarx/kics-github-action@v1.0
with:
path: terraform/
output-path: 'results.sarif'

But should be

name: KICS Github Action
id: kics
uses: Checkmarx/kics-github-action@v1.0
with:
path: terraform/
output_path: 'results.sarif'

Pse change the hyphen in output-path to an underscore, i. e. output_path

Thank you for your feedback @juegge I'll take care of that.

authors: juegge rogeriopeixotocx

repo: Checkmarx/kics


text:
update documentation

Proposed Changes

Documentation update

I submit this contribution under the Apache-2.0 license.

 Maybe we could change the display order to make the getting started to appear first. Let me know what you think

@kaplanlior , what do you think about this propose?


text:
Edward interface not starting

Hi,
when running the phoenics.recommend() method, a FileNotFoundError occurs. The file ./.sctratch/sampling_results.pkl is not found which means that the edwards_interface.py has not produced it. I tried to change backend to tensorflow but there is a problem with tenosrflow_probability (version 0.9.0) I do not know which version fits to tensorflow 1.4.0 or 1.4.1
This is the traceback:

FileNotFoundError                         Traceback (most recent call last)
 in
----> 1 params = phoenics.recommend(observations = observations)
2 print (params)
/usr/local/lib/python3.6/dist-packages/phoenics/phoenics.py in recommend(self, observations, as_array)
99                         obs_params, obs_objs = self.obs_processor.process(observations)
100
--> 101                         self.bayesian_network.sample(obs_params, obs_objs)
102                         self.bayesian_network.build_kernels()
103                         sampling_param_values   = self.bayesian_network.sampling_param_values
/usr/local/lib/python3.6/dist-packages/phoenics/BayesianNetwork/bayesian_network.py in sample(self, obs_params, obs_objs, num_epochs)
101
102                 # pick up
--> 103                 with open(results_file, 'rb') as content:
104                         results_dict = pickle.loads(content.read())
105                 self.trace_kernels = results_dict['trace_kernels']
FileNotFoundError: [Errno 2] No such file or directory: './.scratch/sampling_results.pkl'

Dear larryluer,
Thank you for your message and for reaching out.
I tried to reproduce the error you reported but I could not reproduce it. Can you please describe how you set up the environment, and detail the step-by-step procedure you followed for the installation of Phoenics?
The steps I executed are the following:
git clone https://github.com/ChemOS-Inc/phoenics.git
cd phoenics
python3.6 -m venv venv # virtual environment created with Python3.6
source venv/bin/activate
pip install -r requirements.txt
python setup.py install #or 'pip install phoenics' if you don't need to edit the source code
pip install edward==1.3.5
pip install tensorflow==1.4.1
cd examples/optimization_sequential
python optimize_branin.py

Note that with this fresh installation I can run the example provided in the repository.
Also, please note that the edward backend requires Python 3.6 and will not work with Python 3.7.
Looking forward to your response.
Cheers,
Roberto

Dear Roberto,
I followed your strategy, and it works. Thank you! One more question: How do I control the number of parameter sets per batch? The general setting "boosted" expects a Boolean, not an Integer.
Thanks again!
Larry

Dear Larry,
Excellent! I am glad it is working. Thank you for using this software.
To control the number of generated parameters per batch, please tune the option batches in the section general of the config.json file.
Please find below an example:
{
	"general": {
		"batches": 2,
		"parallel": true,
		"boosted":  false,
		"backend": "edward"
	},
	"parameters": [
		{"name": "x", "type": "continuous", "low": -5.0, "high": 10.0, "size": 1},
		{"name": "y", "type": "continuous", "low":  0.0, "high": 15.0, "size": 1}
	],
	"objectives": [
		{"name": "branin", "goal": "minimize"}
	]
}

With this aforementioned config.json, Phoenics generates two pairs of parameters, with one parameter biased towards exploration and the other towards exploitation per pair.
Please note that by default batches is set to 1, and, thus, Pheonics generates only one pair of parameters.
Regarding boosted, you are correct: it expects a Boolean and not an Integer.
I hope this answers your questions.
Thank you again for using Phoenics!
Cheers,
Roberto

Thanks for the explanation. However, I need one batch with more then two predictions. I would like to control the number of parameters per batch so that lambda is varied from -1 to 1 in smaller steps. In the earlier version (from aspuru guzik github), there was the parameter "batch_size". Setting this to 5, gave predictions for lambda = [-1, -0.5, 0, 0.5, 1]. In the new version, this setting has no effect. Setting "batches" to 6 always yields 12 predictions, no matter how I set "batch_size", and I cannot associate them with a corresponding lambda value to know which one is for exploration and which one for exploitation.
Thanks very much for your help!
Larry

Dear Larry,
In order to change the number of predictions per batch you need to use the sampling_strategies option. The default value is 2.
I hope this answers your questions.
Cheers,
Roberto

Great, it works perfectly. Many thanks!
Larry

authors: larryluer tassoneroberto

repo: ChemOS-Inc/phoenics


text:
[Request] Add a direct launch feature

I was wondering if you could a direct launch feature. Clicking on the program and it just opens Melvor directly with the scripts loaded.
Could also add a small popup when it says scripts are ready to be updated.

I think the best way to achieve this functionality is to just launch Melvor Idle directly. You do not need to launch through M3 once you have set up your mods, they will automatically be injected when you launch the game regardless of method used.

authors: ChaseStrackbein SkilledAlpaca

repo: CherryMace/melvor-mod-manager


text:
Update tsconfig.json

Update tsconfig.json

[x] Fix 1 : Make some research on tsconfig file
[x] Fix 2 : IF NEEDED, add some rules to it

See if you can update your ts configuration. Here is an example:
{
	"compilerOptions": {
		/* Visit https://aka.ms/tsconfig.json to read more about this file */

		/* Basic Options */
		// "incremental": true,                         /* Enable incremental compilation */
		"target": "es5" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */,
		"lib": ["dom", "dom.iterable", "esnext"],
		"module": "esnext",
		/* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */
		// "lib": [],                                   /* Specify library files to be included in the compilation. */
		"allowJs": true,
		/* Allow javascript files to be compiled. */
		// "checkJs": true,                             /* Report errors in .js files. */
		"jsx": "react-jsx" /* Specify JSX code generation: 'preserve', 'react-native', 'react', 'react-jsx' or 'react-jsxdev'. */,
		// "declaration": true,                         /* Generates corresponding '.d.ts' file. */
		// "declarationMap": true,                      /* Generates a sourcemap for each corresponding '.d.ts' file. */
		// "sourceMap": true,                           /* Generates corresponding '.map' file. */
		// "outFile": "./",                             /* Concatenate and emit output to single file. */
		// "outDir": "./",                              /* Redirect output structure to the directory. */
		// "rootDir": "./",                             /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
		// "composite": true,                           /* Enable project compilation */
		// "tsBuildInfoFile": "./",                     /* Specify file to store incremental compilation information */
		// "removeComments": true,                      /* Do not emit comments to output. */
		"noEmit": true /* Do not emit outputs. */,
		// "importHelpers": true,                       /* Import emit helpers from 'tslib'. */
		"downlevelIteration": true /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */,
		"isolatedModules": true /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */,
		"resolveJsonModule": true,

		/* Strict Type-Checking Options */
		"strict": true,
		/* Enable all strict type-checking options. */
		// "noImplicitAny": true,                       /* Raise error on expressions and declarations with an implied 'any' type. */
		// "strictNullChecks": true,                    /* Enable strict null checks. */
		// "strictFunctionTypes": true,                 /* Enable strict checking of function types. */
		// "strictBindCallApply": true,                 /* Enable strict 'bind', 'call', and 'apply' methods on functions. */
		// "strictPropertyInitialization": true,        /* Enable strict checking of property initialization in classes. */
		// "noImplicitThis": true,                      /* Raise error on 'this' expressions with an implied 'any' type. */
		// "alwaysStrict": true,                        /* Parse in strict mode and emit "use strict" for each source file. */

		/* Additional Checks */
		// "noUnusedLocals": true,                      /* Report errors on unused locals. */
		// "noUnusedParameters": true,                  /* Report errors on unused parameters. */
		// "noImplicitReturns": true,                   /* Report error when not all code paths in function return a value. */
		"noFallthroughCasesInSwitch": true /* Report errors for fallthrough cases in switch statement. */,
		// "noUncheckedIndexedAccess": true,            /* Include 'undefined' in index signature results */
		// "noPropertyAccessFromIndexSignature": true,  /* Require undeclared properties from index signatures to use element accesses. */

		/* Module Resolution Options */
		"moduleResolution": "node",
		/* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */
		"baseUrl": "src",
		/* Base directory to resolve non-absolute module names. */

		// "paths": {},                                 /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */
		// "rootDirs": [],                              /* List of root folders whose combined content represents the structure of the project at runtime. */
		// "typeRoots": [],                             /* List of folders to include type definitions from. */
		// "types": [],                                 /* Type declaration files to be included in compilation. */
		"allowSyntheticDefaultImports": true /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */,
		"esModuleInterop": true,
		/* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
		// "preserveSymlinks": true,                    /* Do not resolve the real path of symlinks. */
		// "allowUmdGlobalAccess": true,                /* Allow accessing UMD globals from modules. */

		/* Source Map Options */
		// "sourceRoot": "",                            /* Specify the location where debugger should locate TypeScript files instead of source locations. */
		// "mapRoot": "",                               /* Specify the location where debugger should locate map files instead of generated locations. */
		// "inlineSourceMap": true,                     /* Emit a single file with source maps instead of having a separate file. */
		// "inlineSources": true,                       /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */

		/* Experimental Options */
		// "experimentalDecorators": true,              /* Enables experimental support for ES7 decorators. */
		// "emitDecoratorMetadata": true,               /* Enables experimental support for emitting type metadata for decorators. */

		/* Advanced Options */
		"skipLibCheck": true,
		/* Skip type checking of declaration files. */
		"forceConsistentCasingInFileNames": true
		/* Disallow inconsistently-cased references to the same file. */
	},
	"include": ["src"]
}

"strict" : true is added in tsconfig.json and all files are updated to be compliant.

authors: Chi-Iroh Mael-RABOT

repo: Chi-Iroh/HubSpot-API


text:
fatal Error when trying to make more than 1 plot

Using  bladebit_cuda.exe 3.1.0-rc2, When using this string it stops after the first plot, and gives the fatal Error .   bladebit_cuda -f  -c  -n 3  --compress 7 cudaplot --disk-128 -t1 F:\nvme\  E:\plots\ --check 100 --check-threshold 0.8   If I take off the --check 100 --check-threshold 0.8  from the end it makes all 3 plots.

Try moving the check commands directly after cudaplot.

Here is the string you suggested, putting the check right behind cudaplot
C:\bb_rc2>.\bladebit_cuda.exe -t 16 -f ffffff  -c cccccc -n 2 -z 7 cudaplot check 100 check-threshold0.8 F:\nvme\
So this is run with 256gb of system ram, if I remove the check staements it completes the plots.

With the help from Ronski, he debuged the string I had copied from Discord, which didn't have a space before the 0.8.
C:\bb_rc2>.\bladebit_cuda.exe -t 16 -f fffff -c ccccc -n 2 -z 7 cudaplot --check 100 --check-threshold 0.8 g:\plots\
This made two plots, with the check
Thank You Ronski!!!

Thanks again Ronski

authors: Drhicom Ron-ski

repo: Chia-Network/bladebit


text:
feat: implement theme changing feature to propagate changes to child apps

This PR introduces a theme-changing feature in the parent application, enabling theme changes to be propagated and reflected across all child apps.
Changes

Implemented a mechanism to broadcast theme changes from the parent app to child apps using window events.
Updated the parent app to handle and apply theme changes dynamically.
Ensured that child apps correctly receive and apply theme changes from the parent app.

Thank you for your feedback! @wwills2
I have implemented a new flow for changing colors using theme.js, so the color-changing component is no longer necessary. Additionally, I have used arrow functions for consistency as told. I appreciate you pointing this out. Please let me know if there are any other concerns or suggestions.

Hello @wwills2,
Changes have been implemented and pushed.

I have created HeaderBranding component, It'll pick the svg from CustomHeaderBrandinng.svg if its there.
As there was no static theme in this repository. So, It will only set the theme from theme.json if it exist. I fixed the one place that wasn't checking that theme state have theme or not.

Note: Couldn't remove /public folder because it have files that are already being used by project. Additionally, I just put the custom theme and svgs for structure and names reference in future.  Files I created aren't effecting anything. theme.json have default colors, and svgs are same as they were. If you delete the files I created, It wont effect anything.

The /public folder directly places files in the server root, which means the only way to test the implemented feature was by placing the necessary files in this directory.

The /public folder directly places files in the server root, which means the only way to test the implemented feature was by placing the necessary files in this directory.

this is true, but when the software is deployed if custom icons and/or colors are desired, the deploying entity will provide them. we do not want the files to ship with the software. they do not need to be deleted locally, they just need to be un-versioned by git so that they are not part of the code base on github.

repo: Chia-Network/core-registry-ui


text:
Directive Middleware is Singleton but captures FieldDelegate in constructor resulting in the wrong field being resolved on subsequent requests

Is there an existing issue for this?

[X] I have searched the existing issues

Product
Hot Chocolate
Describe the bug
I am in the process of upgrading to HC 12->13. I have some validation middleware that is registered by using a fluent directive. The way directives are registered/declared/used has changed  in HC13 and I have updated the directive as described in https://www.youtube.com/watch?v=egyO7rZOoMI
The difference between that example and the code below is the use of Use<Middleware> vs an inline lambda.
The issue I encountered is the wrong field mutation being resolved and the payload failing to be cast to the expected type.
Steps to reproduce
With a schema declared like this

descriptor.Field("updateThing")
    .Type<NonNullType<ThingGraphType>>()
    .Argument("payload", arg => arg.Type<NonNullType<ThingUpdatePayloadType>>())
    .Resolve(
        async ctx =>
        {
              var input = ctx.ArgumentValue<ThingUpdatePayload>("payload");

              return await ctx.Service<IThingService>().Update(input, ctx.RequestAborted);
        })
    .Directive<ValidateInputDirective>();

descriptor.Field("updateWidget")
    .Type<NonNullType<WidgetGraphType>>()
    .Argument("payload", arg => arg.Type<NonNullType<WidgetUpdatePayloadType>>())
    .Resolve(
        async ctx =>
        {
              var input = ctx.ArgumentValue<WidgetUpdatePayload>("payload");

              return await ctx.Service<IWidgetService>().Update(input, ctx.RequestAborted);
        })
    .Directive<ValidateInputDirective>();

I declare the directive and the middleware like this
[DirectiveType("validateInput",DirectiveLocation.FieldDefinition)]
[ValidateInputDirectiveMiddleware]
public class ValidateInputDirective { }

public class ValidateInputDirectiveMiddlewareAttribute : DirectiveTypeDescriptorAttribute
{
    protected override void OnConfigure(IDescriptorContext context, IDirectiveTypeDescriptor descriptor, Type type)
         => descriptor.Use<ValidateInputMiddleware>();
}

The middleware is declared like this

public class ValidateInputMiddleware
{
  private readonly FieldDelegate _next;

  public ValidateInputMiddleware(FieldDelegate next)
  {
      _next = next;
  }

  public async ValueTask InvokeAsync(IMiddlewareContext context)
  {
      await _next(context);
  }
}

if i call the first mutation updateThing then the second mutation updateWidget i get this error
{
	"errors": [
		{
			"message": "Unable to convert the value of the argument `payload` to `WidgetUpdatePayload`. Check if the requested type is correct or register a custom type converter.",
			"locations": [
				{
					"line": 3,
					"column": 5
				}
			],
			"path": [
				"updateWidget"
			],
			"extensions": {
				"fieldName": "updateWidget",
				"argumentName": "payload",
				"requestedType": "WidgetUpdatePayload"
			}
		}
	]
}

This is because the middleware is singleton and has captured the field delegate on the first execution meaning on the second request it is invoking the incorrect mutation and the cast inside the ctx.ArgumentValue<WidgetUpdatePayload>("payload"); fails.
As a work around I updated the directive middleware from
protected override void OnConfigure(IDescriptorContext context, IDirectiveTypeDescriptor descriptor, Type type)
     => descriptor.Use<ValidateInputMiddleware>();

to this inline lambda which solves the issue.
protected override void OnConfigure(IDescriptorContext context, IDirectiveTypeDescriptor descriptor, Type type)
    => descriptor.Use((next, _)
        => async ctx
            => await new ValidateInputMiddleware(next).InvokeAsync(ctx));

Searching the hotchocolate code base for example of other middleware I have found they all follow the pattern of injecting the FieldDelegate in the constructor. This suggests that the problem may be in the way the fluent directive is processed internally as I suspect most use cases for it would be via an attribute in rather than the fluent descriptor.
We are in the process of "modernising" the code base toward using implicit binding and attributes but this is a long road for us. The work around above will do in the short term but I feel this is a reasonable serious footgun that took me a long time to isolate and find the cause. Even describing this issue to my colleagues was difficult until I found the cause. A possible worse case could be that two mutations share an input type and ArgumentValue returns successfully and continues to execute the wrong mutation. Because the middleware is singleton it depends which field is executed first for which will fail which can make this issue appear transient if one of the fields is not commonly used.
Relevant log output
No response
Additional Context?
No response
Version
13.5.1

furthermore if I swap out the directive with a use middleware like this i get a singleton middleware per field, and this does some very weird things to my database access which i haven't diagnosed yet.
descriptor.Field("updateWidget")
    .Type<NonNullType<WidgetGraphType>>()
    .Argument("payload", arg => arg.Type<NonNullType<WidgetUpdatePayloadType>>())
    .Resolve(
        async ctx =>
        {
              var input = ctx.ArgumentValue<WidgetUpdatePayload>("payload");

              return await ctx.Service<IWidgetService>().Update(input, ctx.RequestAborted);
        })
+    .Use<ValidateInputMiddleware >();
-    .Directive<ValidateInputDirective>();

i believe the issue might be this:
https://github.com/ChilliCream/graphql-platform/blob/037594643d7b379dd366ee70ef977152858fbb8a/src/HotChocolate/Core/src/Types/Resolvers/DirectiveClassMiddlewareFactory.cs#L114-L118
not caching the instance created by Activate means the constructor is called with the correct FieldDelegate
         var sync = new object();
         MiddlewareFactory<TMiddleware, IServiceProvider, FieldDelegate>? activate = null;
         ClassQueryDelegate<TMiddleware, IMiddlewareContext>? invoke = null;
-        TMiddleware? instance = null;

         return (next, directive) =>
         {
...
             return context =>
             {
-                instance ??= activate(context.Services, next);
+                var instance = activate(context.Services, next);
                 return invoke(context, instance);
             };
         };

As a side note, what happens if the middleware implements IDisposable, would that ever get called?

Middleware in HotChocolate is singleton. If you have disposable state it should be used within the middleware. The middleware itself should not hold state. If this were different and you have a middleware on multiple fields it would allocate constantly.

But the only way of passing the next delegate is via the constructor.
So the Use<> in the directive is a complete trap as there is no way it can work unless you only use a directive on one field.
For directive middleware you must use the inline lambda notation only.
Can the Use method be removed?

This is a bug ... I focused on your fix and oversaw the issue ... the middleware must be cached in the first delegate ... this is analogue to the field middleware factory.

authors: michaelstaib williamdenton

repo: ChilliCream/graphql-platform


text:
[UseFiltering] type or namespace not found in most recent 10.3 packages

Describe the bug
The recently added feature [UseFiltering] attribute is not resolving with latest rc.0 packages on nuget see documentation
To Reproduce
install Hotchocolate 10.3-rc.0
add [UseFiltering] to property or type
build
Expected behavior
Type should be found in rc quality release
Desktop (please complete the following information):

OS: Windows
Version [e.g. 10.3-rc.0]

Additional context
Not sure if documentation was released early and package isn't up yet , or the package is broken
according to release notes this should be in 10.3.0-preview.3 and later

Hi,
yes we found that issue and it will be fixed in the rc.1 build.

authors: clmcgrath michaelstaib

repo: ChilliCream/hotchocolate


text:
Changes Add(IExecutionResult) to AddResult for Snapshot tests

Renames Snapshot Add extension method to AddResult

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

@michaelstaib @PascalSenn swapping the SnapshotExtensions.Add calls to snapshot.AddResult using method chaining, Rider has applied this not just to this usage but all situations where the static method call can be swapped. Should I wind this back?

authors: CLAassistant matt-psaltis


text:
Unable to run Epic Games

I previously mentioned in this issue that I couldn't get anything from Epic Games to run.  In addition to validating Proton and Steam Runtimes, I checked ProtonDB and system requirements for everything I've tried.  It doesn't matter, everything I've tried from Epic Games just won't run, and I don't know what else to try, hence my post.
Some games, like Cave Story+, don't bring up any error and just go back to the Steam Big Picture interface.  Others, like Absolute Drift, display a runtime error.  Yet others, like Sonic Mania, display "Unable to initialise Epic services."  This is with or without Proton parameters (i.e. "PROTON_USE_WINED3D=1 %command%") and regardless of Proton version used.
In looking for information, I found this article which says this OS uses Legendary to run Epic Games.  Is that accurate?  Should arguments in Legendary be used where one can input parameters for Proton?  Sorry if this doesn't make sense; the more I try to find a solution the more confused I get.
I also came across this article about a tool for running Epic games on Linux; not sure if of use, but adding anyway.  I hope someone has some advice or a fix.  Thank you for reading.

Sorry to hear you are having trouble.
I was able to install and run the following EGS games successfully just now:

Absolute Drift
Horizon Chase Turbo
AER Memories of Old
Enter the Gungeon
Creature in the Well

The following games did not work for me:

Sonic Mania
Cave Story+

Not every game will work, but you should be able to at least play some games.
We do use Legendary to manage EGS games. Heroic also uses Legendary but isn't something we can use with ChimeraOS due to being targeted for couch gaming.
My questions for you:

What GPU are you using?
Are you able to run any Steam games with Proton 5.13?
What is the runtime error that Absolute Drift displays?

Thank you for your response and your continued work on this project.  I took pictures of the error I received from running "Absolute Drift" and uploaded here because imgur was giving me issues.
This is the error I receive when trying to run "Absolute Drift" from Epic Games on ChimeraOS.  Proton versions tried include 4.11, 5.13, and 6.3.
This is the result of clicking "Yes" from the above image.  If "No" is selected, then the game exits back to the main interface.
After trying to open one of the files shown in the above image, this is the error I got.
I realize I may not be of much help as the only games I have on my Epic account are the ones they've given away for free.  On top of that, I've intentionally tested games that don't take too long to download and are on the lower end of hardware requirements.  It's hard to troubleshoot, however, when "Rocket League" is as unresponsive as "Cave Story"  🤷♀
To answer your other questions:

GPU is Intel Integrated Graphics (my CPU/GPU is on the lower end of minimum listed specs for the OS, but with 12GB of RAM can run a variety of games very well)
The majority of games I run using Proton I do so with either 5.13 or 6.3

Please let me know if you have any other questions or suggestions I should try.  Thanks again.

From that error, it looks like Absolute Drift is launching correctly, but your hardware does not support the required graphics features.
Not sure why the PROTON_USE_WINED3D=1 does not help.

Why are you trying to run a Linux native game through proton is a little beyond me but have you tried Proton 4.11? The only protondb report seems to be using that one.

Why are you trying to run a Linux native game through proton is a little beyond me but have you tried Proton 4.11? The only protondb report seems to be using that one.

It is an Epic Games Store game, so there is only a Windows version available.

I have "Absolute Drift" on both Epic and GOG (giveaways) but it's the Windows version on both.  I also get the same errors regardless of which version I try.  My system meets the requirements, so still not sure.  Also, most Epic games that I've tried just exit back to the system interface rather than give an error, so that's even harder to troubleshoot.

Which Intel processor do you have? Older ones do not support the full set of Vulkan features required to run Proton. I suspect this is the problem in your case. Windows system requirements will not necessarily represent what you need to run the same game on Linux.

Sorry for the delayed response; been busy with things.  I'm not sure of the exact processor but know it's a core i5 running at 3.4 GHz.  The PC is definitely older (think it came out 4-5 years ago), but I'm not complaining because it was free.  Most Windows games I play with this require "PROTON_USE_WINED3D" to run, but they run well with it.

Can you try this:
Open ~/.config/steamos-compositor-plus and add the following line:
export PROTON_USE_WINED3D=1
Then restart the computer.
That should enable the option globally.
On Sun., Jul. 25, 2021, 14:03 chimera-os-fan, @.***>
wrote:

Sorry for the delayed response; been busy with things. I'm not sure of the
exact processor but know it's a core i5 running at 3.4 GHz. The PC is
definitely older (think it came out 4-5 years ago), but I'm not complaining
because it was free. Most Windows games I play with this require
"PROTON_USE_WINED3D" to run, but they run well with it.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ChimeraOS/chimeraos/issues/239#issuecomment-886237581,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIWMWBYCLS22NMD7HSTLA3TZRGW3ANCNFSM47NDG5LA
.

Sorry for not replying sooner, but it's going to be a few days before I can let you know how this turned out.
I turned on the PC yesterday after not having used it for a week and let it auto-update.  Then, when it restarted, it looked like everything had reset to defaults.  Default video resolution, login screen, everything at first glance looked like it had been wiped.
Strangely, the wifi password was saved, so something was still there, but upon logging back in to Steam, nothing seems installed anymore.  Every game I tried looking at said it needed to be installed. As my internet isn't great, I haven't gotten around to reinstalling games, and part of me wonders if I should reinstall the OS.
I'll let you know once I've tried your suggestion.  Thank you.

So, I ended up reinstalling the OS again.  Fresh install, set-up preferences and such, and then followed through on your last suggestion.
Success.
I can finally play games from Epic, and more games from GOG, after adding the line to ~/.config/steamos-compositor-plus (yay!).  For whatever reason, entering "PROTON_USE_WINED3D=1" on an individual game's launch option works for Steam games, but apparently is ignored on Epic and GOG entries.
Here are Epic games I got working as of now:

Absolute Drift (Epic and GOG)
Horizon Chase Turbo
Creature In The Well
Bridge Constructor: Walking Dead
Hell Is Other Demons
Minit
Overcooked 2

These still don't work:

Cave Story +
Sonic Mania
Among Us
Sludge Life

Thanks again for all your work on this project.

authors: Samsagax alkazar chimera-os-fan

repo: ChimeraOS/chimeraos


text:
Fix AYANEO AIR audio-phase-fix

Proper left/right audio and phase with this fix. Fixes bug where two left channels are created, missing right channel audio.

In case it matters, I have the Air Pro 5825U.

Hmm, this seems to break the fix on my AIR by making it right channel only.

We'll see if there is any negative affect during the testing image phase of development.

authors: pastaq scapeghost

repo: ChimeraOS/device-quirks


text:
Enhance Global Supplier Payments for E-Commerce via Payouts

E-commerce businesses dealing with international suppliers require efficient payment methods and Integrating Chimoney can streamline global supplier payments.
Idea Flow:

[ ] Develop an e-commerce supplier payment system integrated with Chimoney's 'Payout Chimoney' endpoint.
[ ] Allow businesses to manage supplier information, invoices, and payments.
[ ] Offer multi-currency support for supplier transactions.
[ ] Implement automated payment scheduling and reminders.
[ ] Provide suppliers with a portal to track payment status and history.

Hey @phyleria I would like to work on this issue.

@phyleria I have sent you a PR. Kindly review it and merge it under hacktoberfest label.

authors: itssiddhantjain phyleria

repo: Chimoney/chimoney-community-projects


text:
总览页面中强制停止点击无效

环境如下：
系统：Mac 13.1
浏览器：Safari浏览器 版本16.2
安装软件版本：v0.46.3 (ChineseSubFinder)
问题：
总览-强制停止，点击无效、无法弹出确认窗口
浏览器换成 Chrome 正常使用。问题应该是 Safari 适配上

方便在 safari 点击停止的时候，看看 F12 的网络通信吗？

修复了，下次发版会加上。应该是safari浏览器自己的BUG，我的建议是，别用safari
#quasarframework/quasar/issues/14779

authors: LoadingMx allanpk716 iMyon

repo: ChineseSubFinder/ChineseSubFinder


text:
Activity

Added activity DataBase

Do not merge, in progress

Tested and safe to merge.

repo: ChiragKalra/FitApp


text:
Can't not open or view any cs file

Both 8.1 and 8.2 of NetBeans

After confirming, the Editor opens and quickly closes.

The problem is, that I'm working on the lexer for syntax highlighting. I could comment the stuff out, who produces the error and can make it on a feature branch, but without having syntax highlighting, you only have plain text.

I added basic syntax highlighting in release 0.0.0.3: https://github.com/Chris2011/CSharp-for-netbeans/releases/tag/0.0.0.3 Please test and if everything ok, then close the ticket. :)
Thx for reporting.

It is ok

license: mit


text:
O&O Shutup 10 error on tweaks page

Describe the bug
A clear and concise description of what the bug is.
When running tweaks and having run OO Shutup it errors out with attached screenshot
To Reproduce
Steps to reproduce the behavior:

Go to 'your tool'
Click on 'tweaks'
Scroll down to 'OO shutup'
Send it, and see error

Expected behavior
A clear and concise description of what you expected to happen.
Clearly, its supposed to work. lol
Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Shoutout to all the youtube people!

Was able to reproduce, but running the tweak again seems to work.

When I got the error message it happened repeatedly even running the tweaks again. Maybe the location of the config file has some availability issues, or something has changed upstream and isn't reflected in the script.

authors: J-eremy SavannahHoward hwalker928

repo: ChrisTitusTech/winutil


text:
Evaluate Kestra automation platform

Kestra is an open-source, event-driven orchestrator that simplifies data operations and improves collaboration between engineers and business users. It is a scalable platform that can be used to create, run, schedule, and monitor millions of complex pipelines.

The first test using docker was successful, now I'm going to test Kubernetes deployment. Once that is completed, I can start deploying the first demo environment on Kubernetes.

repo: ChristianLempa/homelab


text:
Made home button in the nav bar responsive

PR Description 📜
Made home button in the nav bar responsive
Fixes #376

Mark the task you have completed ✅

[x ] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[x ] I have performed a self-review of my own code or work.
[x ] I have commented my code, particularly in hard-to-understand areas.
[ x] My changes generates no new warnings.
[x ] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[ ] I have added screenshot for review.

## Add your screenshots(Optional) 📸

Thank you soo much for contributing to our repository 💗

@ayush-t02  please review the pull request soon so that i can work with the other pull request in your repo

there is a conflict with index.html, please look into it

also, do not make a PR until the issue is assigned to you.

@ayush-t02 i have made the chagnes please look into it

Add a demo video

Add a demo video

yes

https://github.com/ChromeGaming/Dot-Box/assets/143107589/fa7a24bc-9484-414f-b368-d81c0920e269

what video is this? what have you changed in the website?  add a demo of that

what video is this? what have you changed in the website? add a demo of that

Yes

what video is this? what have you changed in the website? add a demo of that

Yes sorry It was by mistake

https://github.com/ChromeGaming/Dot-Box/assets/143107589/c27c7061-1778-42a4-9833-2726089b0e97
Previously when we press home button its not starting from first so i made the change for that

@ayush-t02 Now You can see the video

I will merge this PR as an exception but do not create a PR till the issue has been assigned to you, assignment takes time. Moreover, dont create PR just for the sake of points as this PR is almost insignificant.

repo: ChromeGaming/Dot-Box


text:
Audio fixed

PR Description 📜
Index page sound fixed. It will now request access before autoplaying music.
Without permission it wasn't working as chrome and many other browser restricts autoplay without interaction.
Fixes #731

Mark the task you have completed ✅

[x] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[x] I have added screenshot for review.

## Add your screenshots(Optional) 📸

Thank you soo much for contributing to our repository 💗

resolve conflicts

@ayush-t02 Resolved!


text:
Review

Sviluppo

[ ] client
[X] server

Ho sviluppato

Inserimento post
Visualizzazione post
Inserimento risposta
Visualizzazione risposta

Devo ancora sviluppare

Fissare post
Certificazione profilo
Visualizzazione post tramite tag
Visualizzazione avvisi (bacheca a.)
Inserimento avvisi (bacheca a.)
Modifica voto (rating)

Problemi incontrati
Sto avendo qualche problema con il fissaggio del post, per ridurre il numero di costrutti "if" avevo deciso di farlo tramite una query ma penso di dover cambiare approccio dato che non mi sta portando a nulla di concreto, inoltre vorrei avere alcune delucidazioni sull'upload dei file.

Allora tu in particolare necessiti prima di un merge sul master in maniera tale da poter lavorare su una versiona più aggiornata del sistama. Quindi appena puoi fai una pull request dopodichè revisiona il tuo codice in base agli aggiornamenti fatti. Per quanto riguarda l'upload dei file puoi chiedere anche a @fonzSJ

authors: CiccioTecchio davide-bottiglieri

repo: CiccioTecchio/SharErasmus


text:
getChildren not working

options = {
getChildren: (node:TreeNode) => {
return request('/api/children/' + node.id);
}
}
this option not working what is  'request' anyone can send a example

@afsalcodehack
Here is the example for getChildren
JS

//Options for tree configuration
  customTemplateStringOptions: ITreeOptions = {
    // displayField: 'subTitle',
    isExpandedField: 'expanded',
    idField: 'uuid',
    getChildren: this.getChildren.bind(this),
    actionMapping,
    nodeHeight: 23,
    allowDrag: (node) => {
      // console.log('allowDrag?');
      return true;
    },
    allowDrop: (node) => {
      // console.log('allowDrop?');
      return true;
    }
  }

//load next node as asynchronous
asyncChildren = [
    {
      name: 'child2.1',
      subTitle: 'new and improved'
    }, {
      name: 'child2.2',
      subTitle: 'new and improved2'
    }
  ];

//Method to load children
  getChildren(node:TreeNode) {
    return new Promise((resolve, reject) => {
      setTimeout(() => resolve(this.asyncChildren.map((c) => {
        return Object.assign({}, c, {
          hasChildren: node.level < 5
        });
      })), 0);
    });
  }

HTML
<tree-root   #tree
      [nodes]="nodes"
      [options]="customTemplateStringOptions"
      [focused]="true"
      (event)="onEvent($event)"
      (initialized)="onInitialized(tree)">
      <ng-template #treeNodeTemplate let-node>
        {{ node.data.name }}
        {{ childrenCount(node) }}
      </ng-template>
      <ng-template #loadingTemplate>Loading, please hold....</ng-template>
    </tree-root>

What issue you are facing?

@AbhiThakare https://angular2-tree.readme.io/docs/async-data-1 here is written that the return type can be also the value itself. I am also able to get the values, pass them, but the data isn't rendered on the tree.
Here is how my function looks like:
getChildren: (node: TreeNode) => {
      const name = node.data.name; /* The index name */
      this.locationService.getChildrenLocations(name, 0, 10)
        .pipe(takeUntil(this.destroy$))
        .subscribe(
          (result: any) => {
            const childLocations = [...result.data.location.pagedChildren.items];
            childLocations.forEach( (location, index) => {
              childLocations[index] = this.parseLocationObject(location);
            });
            return childLocations;
          }, error => {
            console.log(error.message);
          });
    }

authors: AbhiThakare Cloud9Clone afsalcodehack

repo: CirclonGroup/angular-tree-component


text:
Mention discord and gitter link in the readme explicitly

Update the discord and gitter link in the readme explicitly, perhaps under the section of 'talk to us at' or 'circuitverse community'.
I am working on it.

@agarwalrounak This was an issue related to #183 and has been resolved in the pr #221

You can add the discord link in the about page if you want

repo: CircuitVerse/CircuitVerse


text:
Use updated CV assets and show CV logo on splash screen.

In this Pull Request, I have updated CircuitVerse logo in App Drawer and used the same logo to show in Splash Screen.
Screenshots
Splash Screen
Before -> After

App Drawer
Before -> After

Pull Request Test Coverage Report for Build 364323197

4 of 4 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 51.086%

Totals

Change from base Build 290057509:
0.0%

Covered Lines:
1952

Relevant Lines:
3821

💛  - Coveralls

@nitin10s can u please have look here.

@Nitish145 @nitin10s the reviewed changes have been made on the pull request.

authors: Nitish145 coveralls manjotsidhu

repo: CircuitVerse/mobile-app


text:
Traefik Tag

They dont seem to be working ( according to the traefik site, these should work ):
traefik.backend=foo: assign the application to foo backend
traefik.portIndex=1: register port by index in the application's ports array. Useful when the application exposes multiple ports.
traefik.port=80: register the explicit application port value. Cannot be used alongside traefik.portIndex.
traefik.protocol=https: override the default http protocol
traefik.weight=10: assign this weight to the application
traefik.enable=false: disable this application in Træfɪk
traefik.frontend.rule=Host:test.traefik.io: override the default frontend rule (Default: Host:{containerName}.{domain}).
traefik.frontend.passHostHeader=true: forward client Host header to the backend.
traefik.frontend.entryPoints=http,https: assign this frontend to entry points http and https. Overrides defaultEntryPoints.
traefik.domain=traefik.localhost: override the default domain
I tried traefik.domain with no luck...

Ansible version (ansible --version): 1.9.6
Python version (python --version): 2.7.5
Git commit hash or branch:  master
Cloud Environment: Digital Ocean
Terraform version (terraform version): 0.6.14

Your marathon file should look something like this, with labels a top-level key.
"labels": {
    "traefik.frontend.rule": "Host",
    "traefik.frontend.value": "test.traefik.io"
},

To debug add this to /etc/traefik/traefik.toml on both edge nodes
logLevel = "DEBUG"
traefikLogsFile = "/var/log/traefik/traefik.log"
then
sudo systemctl stop traefik (can take a minute)
sudo systemctl start traefik
tail -f /var/log/traefik/traefik.log
watch for errors as you test hitting frontend entrypoints
Can you post your marathon file?

Seems i misunderstood what those were for, i applied those labels you mentioned and it works now!
Thanks!

authors: distributorofpain kbroughton

repo: CiscoCloud/mantl


text:
Glusterfs link not reachable

Hi,
I'm trying to install cluster on OpenStack and stuck here:
TASK: [glusterfs | enable community repo] *************************************
failed: [control-02] => {"failed": true}
msg: Failed to connect to download.gluster.org:443.
failed: [control-03] => {"failed": true}
msg: Failed to connect to download.gluster.org:443.
failed: [control-01] => {"failed": true}
msg: Failed to connect to download.gluster.org:443.

$ curl download.gluster.org:443
curl: (7) Failed to connect to 2001:4801:7824:104:be76:4eff:fe10:23d8: Network is unreachable

$ sudo telnet download.gluster.org 443
Trying 23.253.208.221...
telnet: connect to address 23.253.208.221: Connection refused
Trying 2001:4801:7824:104:be76:4eff:fe10:23d8...
telnet: connect to address 2001:4801:7824:104:be76:4eff:fe10:23d8: Network is unreachable

I've take link from here: https://github.com/CiscoCloud/microservices-infrastructure/blob/master/roles/glusterfs/tasks/main.yml#L5
but seems it's not accessible.
$ wget https://download.gluster.org/pub/gluster/glusterfs/3.7/3.7.3/CentOS/glusterfs-epel.repo
--2015-10-21 15:35:06--  https://download.gluster.org/pub/gluster/glusterfs/3.7/3.7.3/CentOS/glusterfs-epel.repo
Resolving download.gluster.org (download.gluster.org)... 23.253.208.221, 2001:4801:7824:104:be76:4eff:fe10:23d8
Connecting to download.gluster.org (download.gluster.org)|23.253.208.221|:443... failed: Connection refused.
Connecting to download.gluster.org (download.gluster.org)|2001:4801:7824:104:be76:4eff:fe10:23d8|:443... failed: Network is unreachable.

Is link / version correct?

it's http/https issue:
works: http://download.gluster.org/pub/gluster/glusterfs/3.7/3.7.3/CentOS/glusterfs-epel.repo
doesn't work: https://download.gluster.org/pub/gluster/glusterfs/3.7/3.7.3/CentOS/glusterfs-epel.repo

@AndriiOmelianenko can you submit a pull request?

@stevendborrelli yes, definitely:
https://github.com/CiscoCloud/microservices-infrastructure/pull/747

@AndriiOmelianenko are you still having issues with the https link? it is valid and has been used for a while. I am wondering if it was a transient issue.

@ryane @AndriiOmelianenko well, by now it's working again. I've also noticed a period of 1-2 weeks in which host download.gluster.org didn't respond to TCP/443. I guess by now the issue can be closed.

ok, thanks, if this pops up again we'll revisit

authors: AndriiOmelianenko corebug ryane stevendborrelli

repo: CiscoCloud/microservices-infrastructure


text:
Generate trajectory

Summary

This PR addresses Jira ticket CISLUNAR-307

For a given trajectory, the UKF requires camera measurements including angular size and angular separation (in radians) which can be retrieved from running Dr. Muhlberger's opnav-sim on the same trajectory. The given trajectory with the resulting camera measurements serves as the truth trajectory which can be passed into the UKF for testing purposes.

Previously we've had trajectories such as C1_discretized and 6_Hours used for UKF testing in Spring 2020. The camera measurements for these trajectories were measured in pixels, which since December 2021 have been replaced in favor of radians (though some references to pixels remain). Additionally, the Spring 2020 trajectories' units do not correspond to the opnav-sim's units. Lastly, the trajectory themselves are split into 4 different CSVs.

In this PR I've added a trajectory generation program inside the OpticalNavigation/tests directory. This program takes in a trajectory (such as C1_discretized), pre-processess it for the opnav-sim, runs it through the opnav-sim, processes the output JSON from the sim, and lastly post-processes the trajectory to create a final, UKF ready trajectory. This trajectory is very similar to the original trajectory, except there's an added time column and the newly added camera measurements are in radians.

Running the trajectory through opnav-sim required adding some argument parsing functionality in the sim, which I've also added. This addition preserves the current behavior of opnav-sim as much as possible and it does not rely on the trajectory generation program. For just using the sim, the user can provide a trajectory name along with a "-g" flag to indicate whether or not to generate images. The sim will take in the trajectory and output the results in side the data directory. The -g flag was added for performance considerations when creating trajectories for the UKF.

Testing

I've added a test at the end of the program. This function takes in the c1_discretized trajectory and compares the output of trajectory generation CSV with the original trajectory CSV. Users can also substitute their own trajectory and compare the results as a sanity check.

Testing for camera measurements across pixels and radians is not done here. We assumed that validation of the opnav-sim was sufficient to ensure the camera measurement values are correct.

This program has also been used to recreate the Spring 2020 UKF experiments with success. Experiments for further UKF testing are in progress and may be submitted in a future PR.

Notes

I've moved the angular_separation function from test_ukf_functions.py (created by Emerald, Tanya, Tyler, Rohit) into the trajectory generation file. The idea was that since their file is a unit test and will be using trajectory generation, and the function is used by both files, it should be moved to either a third file or the trajectory generation file.

The arg parser for the opnav-sim might not be necessary at all. Its not needed for trajectory generation and if its not needed for non-UKF related usage I can remove it. But the newly added parameters to the opnav-sim function will be necessary for trajectory generation.

*Formatting was not handled in the commits

Comments

[x] Add an x between the brackets if you commented your code well!

Might also help to add some sort of progress bar to the opnav sim based on the timestamp we're currently evaluating. Not necessary, but just a though on how to provide some feedback for the user

repo: Cislunar-Explorers/FlightSoftware


text:
Create pa_spc.py

Summary
Issue: #107
Replace "ISSUE_NUMBER" with the number of your issue so that GitHub will link this pull request with the issue and make review easier.
Checklist
All checks are run in GitHub Actions. You'll be able to see the results of the checks at the bottom of the pull request page after it's been opened, and you can click on any of the specific checks listed to see the output of each step and debug failures.

[ ] Tests are implemented
[ ] All tests are passing
[ ] Style checks run (see documentation for more details)
[ ] Style checks are passing
[ ] Code comments from template removed

Questions
Include any questions you have about what you're working on.

Looks like this is against the wrong repo, closing

authors: maxachis pjsier

repo: City-Bureau/city-scrapers-template


text:
CI: test with unoptimized docker image that the deployment works

This PR is for testing use and should be optimized!

Codecov Report

:exclamation: No coverage uploaded for pull request base (HH-220-fix-docker-config@9071caa). Click here to learn what that means.
The diff coverage is n/a.

@@                     Coverage Diff                     @@
##             HH-220-fix-docker-config      #20   +/-   ##
===========================================================
  Coverage                            ?   66.78%
===========================================================
  Files                               ?      120
  Lines                               ?     2827
  Branches                            ?      574
===========================================================
  Hits                                ?     1888
  Misses                              ?      934
  Partials                            ?        5

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

authors: codecov-commenter nikomakela


text:
wrapper: improve NeoAddress check resilience

it would give an unfriendly error when supplying a value that was not a UInt160 or str object

Coverage increased (+2.6%) to 82.11% when pulling 256b03e52d8ce860e1915174553a64845c968bb9 on validate-address into 402feb673618d37977937a2a166265ce9788dbbb on master.

authors: coveralls ixje

repo: CityOfZion/neo-mamba


text:
⚠ Bofrost.be has degraded performance

In 526720b, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1387 ms

Resolved: Bofrost.be performance has improved in 67825bd.

repo: Ckal/Uptime


text:
⚠ Bofrost.de has degraded performance

In ed42bc1, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1754 ms

Resolved: Bofrost.de performance has improved in e5be7ae.


text:
⚠ Bofrost.be has degraded performance

In c2977e3, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1441 ms

Resolved: Bofrost.be performance has improved in d096f96.


text:
⚠ Bofrost.de has degraded performance

In 4ea56a5, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1141 ms

Resolved: Bofrost.de performance has improved in 29e84e5.


text:
⚠ Bofrost.de has degraded performance

In 12f9f2f, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1687 ms

Resolved: Bofrost.de performance has improved in c6d2f79.


text:
⚠ Bofrost.de has degraded performance

In 50c5cb4, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1754 ms

Resolved: Bofrost.de performance has improved in 6d8d618 after 13 minutes.


text:
⚠ Bofrost.lu has degraded performance

In 742e429, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1088 ms

Resolved: Bofrost.lu performance has improved in b794ff1 after 6 minutes.


text:
⚠ Bofrost.lu has degraded performance

In 171be16, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 820 ms

Resolved: Bofrost.lu performance has improved in d16e577 after 6 minutes.


text:
⚠ Bofrost.es has degraded performance

In adad54e, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1486 ms

Resolved: Bofrost.es performance has improved in 96545b6 after 6 minutes.


text:
⚠ Bofrost.es has degraded performance

In 9e7bcfc, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1576 ms

Resolved: Bofrost.es performance has improved in 33f1700 after 6 minutes.


text:
⚠ Bofrost.es has degraded performance

In b21edb9, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1498 ms

Resolved: Bofrost.es performance has improved in 8d250cf after 9 minutes.


text:
⚠ Bofrost.lu has degraded performance

In 450b7b6, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 894 ms

Resolved: Bofrost.lu performance has improved in 7245ef6 after 6 minutes.


text:
⚠ Bofrost.fr has degraded performance

In d7ffa69, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 827 ms

Resolved: Bofrost.fr performance has improved in efc907e after 7 minutes.


text:
⚠ Bofrost.at has degraded performance

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

HTTP code: 200
Response time: 1716 ms

Resolved: Bofrost.at performance has improved in a3a65a9 after 6 minutes.


text:
⚠ Bofrost.lu has degraded performance

In 46ecba8, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1272 ms

Resolved: Bofrost.lu performance has improved in 23fcc77 after 9 minutes.


text:
⚠ Bofrost.de has degraded performance

In 1dd1bae, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1607 ms

Resolved: Bofrost.de performance has improved in 87f2561 after 6 minutes.


text:
⚠ Bofrost.de has degraded performance

In b44e8b7, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1170 ms

Resolved: Bofrost.de performance has improved in ace20de after 9 minutes.


text:
⚠ Bofrost.de has degraded performance

In 2c7c414, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1696 ms

Resolved: Bofrost.de performance has improved in ff5e1ef after 42 minutes.


text:
⚠ Bofrost.be has degraded performance

In 274d228, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 2537 ms

Resolved: Bofrost.be performance has improved in 164e679 after 1 hour, 21 minutes.


text:
⚠ Bofrost.lu has degraded performance

In 88353f4, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 2365 ms

Resolved: Bofrost.lu performance has improved in e200f7a after 39 minutes.


text:
⚠ Bofrost.fr has degraded performance

In 85a4ad4, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1269 ms

Resolved: Bofrost.fr performance has improved in 28fee77 after 19 minutes.


text:
⚠ Bofrost.de has degraded performance

In a06996d, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1165 ms

Resolved: Bofrost.de performance has improved in 9cde297 after 6 minutes.


text:
⚠ Bofrost.lu has degraded performance

In ee95dcb, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 2802 ms

Resolved: Bofrost.lu performance has improved in 2adbcef after 6 minutes.