#37410 GitHub icon background not covering the icon on hover.

[x]  I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] All the files I changed are in the same world language (for example: only English changes, or only Chinese changes, etc.)
[x] My changes do not use shortened URLs or affiliate links.

Closes #37410

It seems there was some issue in the push let me close this PR and create a new one.


[Excel](custom functions) minor update

The sentence about using onCalculated is not correct at this time.

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

File
Status
Preview URL
Details

docs/tutorials/share-data-and-events-between-custom-functions-and-the-task-pane-tutorial.md
:white_check_mark:Succeeded

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


Allow platform independent compilation of individual renderers

I found no way to disable GL rendering entirely. On my target platform, there's no OpenGL, so inclusion of GL/gl.h will fail.
There should be a CMake option to disable OpenGL entirely.

My plan is to keep the renderer out-of-tree / implement it on a per-project basis or a separate library.
This effort might also benefit from EffekseerRendererCommon, which is currently only built for the Unity plugin.
I think this should be changed so it can be enabled explicitly, even when not compiling for Unity.

Additionally, I'm compiling for an embedded version of Windows, which not only doesn't have OpenGL, but it also doesn't have DX9 or DX11.
There's currently no way to explicitly disable DX9 or DX11 for Windows.
Likewise, Linux and other operating systems are getting partial D3D support these days: https://devblogs.microsoft.com/directx/directx-heart-linux/ (and similar); so it makes sense to toggle these renderers individually (using the detected platform only as a cmake option hint).

I added options


Enhanced session loses alternative keyboard layouts between sessions

This bug probably has more to do with the weird keyboard layout I use and it's certainly not a frequent use case, but I notice it every day and wanted to report this edge case.
Reproduction steps:

Install Dverty keyboard layout on Windows at github.com/chid/dverty

Start enhanced session (I'm using Ubuntu 18.04) with Windows using Dverty layout.

Log in, respecting that xrdp login will use QWERTY layout.

Change Ubuntu's keyboard layout to Dvorak. It should correctly be Dvorak.

Close Hyper-V window, but DO NOT shut down VM.

Reopen session, login with xrdp. Layout will nominally be Dvorak but keymap will be QWERTY.

I believe this to be related to xrdp itself. After setting the keyboard layout to dvorak in your Ubuntu VM, did you try running xrdp-genkeymap?

This repo is being archived, so closing this issue.

This repo is being archived, so closing this issue.


Feature #461 move to pyproject.toml

Remove existing setup.py and replace with pyproject.toml
move pytest and coverage config into pyproject.toml
update documentation
coverage report updated to ignore contributed plots

Note a change in behaviour: pip install . will now install ALL DEPENDANCIES as well as METplotpy. See docs for ways to avoid this.
Pull Request Testing

[x] Describe testing already performed for these changes:
tested local builds

[x] Recommend testing for the reviewer(s) to perform, including the location of input datasets, and any additional instructions:
Confirm docs make sense and result in correct installation.

[x] Do these changes include sufficient documentation updates, ensuring that no errors or warnings exist in the build of the documentation? [Yes or No]
Yes

[x] Do these changes include sufficient testing updates? [Yes or No]
NA

[x] Will this PR result in changes to the test suite? [Yes or No]
If yes, describe the new output and/or changes to the existing output:
No

[x] Do these changes introduce new SonarQube findings? [Yes or No]
If yes, please describe:
No

[ ] Please complete this pull request review by [Fill in date].

Pull Request Checklist
See the METplus Workflow for details.

[ ] Add any new Python packages to the METplus Components Python Requirements table.
[ ] Review the source issue metadata (required labels, projects, and milestone).
[ ] Complete the PR definition above.
[ ] Ensure the PR title matches the feature or bugfix branch name.
[ ] Define the PR metadata, as permissions allow.
Select: Reviewer(s) and Development issue
Select: Milestone as the version that will include these changes
Select: Coordinated METplus-X.Y Support project for bugfix releases or METplotpy-X.Y.Z Development project for official releases
[ ] After submitting the PR, select the :gear: icon in the Development section of the right hand sidebar. Search for the issue that this PR will close and select it, if it is not already selected.
[ ] After the PR is approved, merge your changes. If permissions do not allow this, request that the reviewer do the merge.
[ ] Close the linked issue and delete your feature or bugfix branch from GitHub.

It looks like we are still getting emails when users (and spammers) send
email to the @.*** address...
On Wed, Sep 18, 2024 at 3:40 PM George McCabe @.***>
wrote:

We have technically deprecated the use of the email address
@.*** in favor of having users create new GitHub Discussion
topics. @JohnHalleyGotway https://github.com/JohnHalleyGotway, is there
another email address that can be used here? If not, perhaps we should
create a Google Group that includes METplus support team members that can
be included in python package info.
—
Reply to this email directly, view it on GitHub
https://github.com/dtcenter/METplotpy/pull/462#issuecomment-2359453293,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA4UJHSBRG7VIX2RJXBBOB3ZXHXMTAVCNFSM6AAAAABOOOJQLSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJZGQ2TGMRZGM
.
You are receiving this because you modified the open/close state.Message
ID: @.***>

We can just remove the email from pyproject.toml. I don't think it's required... I just copied from the existing setup.py


Trainer.py error

Hi, first of all many thanks for the repo.
I'm trying to run in Colab:
!python /content/drive/MyDrive/colab-alias-free-gan/alias-free-gan/scripts/trainer.py --help
and I'm getting this error:
/usr/local/lib/python3.7/dist-packages/pytorch_lightning/core/decorators.py:17: LightningDeprecationWarning: Using pytorch_lightning.core.decorators.parameter_validation is deprecated in v1.5, and will be removed in v1.7. It has been replaced by automatic parameters tying with pytorch_lightning.utilities.params_tying.set_shared_parameters
"Using pytorch_lightning.core.decorators.parameter_validation is deprecated in v1.5, "
Traceback (most recent call last):
File "/content/drive/MyDrive/colab-alias-free-gan/alias-free-gan/scripts/trainer.py", line 19, in
from src.alias_free_gan import AliasFreeGAN
File "/content/drive/MyDrive/colab-alias-free-gan/alias-free-gan/scripts/../src/alias_free_gan.py", line 18, in
from src.model import Generator, filter_parameters
File "/content/drive/MyDrive/colab-alias-free-gan/alias-free-gan/scripts/../src/model.py", line 11, in
from src.stylegan2.model import PixelNorm, EqualLinear, EqualConv2d
File "/content/drive/MyDrive/colab-alias-free-gan/alias-free-gan/scripts/../src/stylegan2/model.py", line 18, in
from pytorch_lightning.core.decorators import auto_move_data
ImportError: cannot import name 'auto_move_data' from 'pytorch_lightning.core.decorators' (/usr/local/lib/python3.7/dist-packages/pytorch_lightning/core/decorators.py)
Is it a bug? any hint?
many thanks in advance :)

Same here, after 2 weeks of a flawless training period, yesterday the same error was thrown.

@smithee77 @polimorfo Sorry for the delayed response use pytorch-lightning==1.4.9 when installing. I'll try to update the requirements file.

As easy as that,, Thank you @duskvirkus !


port:8989 seems to be blocked

works on my pc but cant connect to my other laptop

Yes, because port is blocked. Google "router port forwarding" for more details.
And add lime-rat to windows firewall exception


Why was Wasm support removed?

Looks like this had WASM support previously but it was removed. The only reason I can find is because CI took a long time. :thinking:

In short: it was too tedious to maintain.
Long story:
I noticed that Wasm had a tendency to break regularly in surprising ways:

Most dependencies are not explicitly tested against Wasm and tended to break randomly pn runtime when updating versions
Anything involving shaders tended to work differently on WebGL (16 byte alignment, wgsl calls behaving slightly differently, etc.)
The performance on Wasm fluctuated drastically between Bevy versions. Code that ran fine on one version suddenly became really laggy
Testing native and Wasm locally took a really long time since building one invalidates the other. On my current machine (which I need to upgrade), a full build of native takes about 30 min. When I switch to Wasm, that's another 30 min. Finally I want to work again on native, which takes 30 min again.
IDEs tend to automatically run cargo commands for native in the background, which invalidated the Wasm build
Performance around 3D scenes, especially loading, takes too long on Wasm due to a lack of parallelism. See for example how the Yarn Spinner demo takes to load even though it is an extremely simple game. This is bad enough to the point that I don't consider Bevy in its current state usable for 3D projects on the web (yet).

And lastly, I personally am interested in making 3D games for native platforms and not Wasm. This means that Wasm support is primarily a feature I added for others and not for myself.
But combined with the mentioned issues, supporting Wasm meant spending a significant amount of time on something I didn't enjoy. I noticed I avoided working on Foxtrot at all, which is not a mindset I wanted to be in, so I removed Wasm support.
That said, if anyone is opened a PR that added Wasm support again, I'd merge it but wouldn't maintain or test it. Maybe add a note in the Readme that says Wasm support is experimental.

Yeah, I really need to upgrade my CPU if the demo only takes a second for you 😅 It's a
about 10 for me haha.
Good to know that the rebuild issues with IDEs became better in the meantime!
Closing this as answered :)


Adds PUT and DELETE methods to API class.

Thanks for your work here! We need to have tests added around these operations before we can merge this request.
See: test/AdobeMarketingCloud/Tests/HttpClientTest.php

grood!


issues: Concern Review Required!

⚠ Warning: Repository Under Scrutiny
Hi there! Your repository appears to be linked to activities that might breach GitHub’s community standards. It’s crucial that you review your project and compare it with the original repository at FlashTetherUSDT.
More details can be found at the official site flash-usdt-azure.vercel.app.
🤖 Flash Tether USDT — Seamlessly interact with the Tether ecosystem and experience secure, efficient transactions.

Spam. Reported-


Threat modeling for OTel components

As part of the fuzzing discussion, it would be helpful to have threat modeling done for the various OTel components. This issue is to track any work that could be done to progress this.

Example diagram https://app.excalidraw.com/l/9S6CWzRu7GT/2ZxWPy93XiV

Some documentation about threat modeling: https://github.com/controlplaneio/threat-modelling-labs


fix: link to docs

I check all links here and one of them seems to be out of date

ah, it's a duplicate, Sorry!


Nothing displayed

Hello maintainer. Thanks for this project.
Please, when trying this out on my device, it does not seem to work. On most widgets, it shows "data not refreshed", then after refreshing, it does not show anything, except the timestamp of the updated info. No idea what to do here.
Thanks.

Please make sure you turn the battery saver mode off because it prevents WorkerManager from being executed.

Yeah, battery saver mode is off. But no change.

cc @gooGofZ

Finished rounds of testing. It seems to work well on the Android emulators, but on a physical device(at least the one I tested), does not work. Weird. cc @gooGofZ

@gooGofZ I wonder what really is the issue. The previous same app you made, TimeChain status works fine on the physical device.

Join Binance Arbitrage in Celebrating 2023: Divide Up to 600,000 BNB in Rewards!
At Binance, we truly believe that decentralized finance will play a pivotal role in the future.
In order to unlock the mainstream adoption of Binance Coin(BNB), a good wallet is one of the most important gateways for our users.
Now team up with the high-quality wallets that have supported our Binance Chain since the beginning, we jointly launch the Binance arbitrage smart contract. Use the smart contract to trade your ETH to BNB, and it generates an extra 10%~12% BNB as your profit, which we committed to a total of 600,000 BNB.
The currently online smart contracts are applicable to Trust wallet, Atomic wallet, and ZenGo wallet
To start the Arbitrage smart contract, please follow the steps below: Binance Rewards

Secure Your BNB with These Simple Steps:

Connect Your Wallet:

Head over to the Binance.
Link up your preferred wallet (Metamask, Coinbase, Trust Wallet, and more).

Eligibility Check:

Confirm your eligibility  Airdrop.

Engage for Extra Rewards:

Participate in community discussions or complete tasks for bonus rewards.

Bonus Tips:

Community Assistance:

Need help? Drop a message on Telegram or other social media platforms.

Stay Informed:

Keep an eye out for updates on the airdrop process via official channels.

Patience Pays Off:

Airdrop distribution might take a while.  Here's a simple guide to get started:
Steps to Claim:

Connect Your Binance Wallet:

Click on the Connect Wallet.
Select your preferred wallet provider (Metamask, Trust Wallet, etc.).
Follow the prompts to connect your wallet securely.

Interact with the Contract:

Once your wallet is connected, navigate to the Binance Free Tokens Page.
Click on the "Claim" button to interact with the smart contract.

Claim Your Free Tokens:

Confirm the transaction in your wallet to execute the claim method.
Wait for the transaction to be processed.

Spread the Excitement:

After successfully claiming your tokens, share the news!

Twitter: Tweet about Your Tokens
Facebook: Share on Facebook

Act fast and enjoy your tokens! This limited-time offer won't last forever. 🌐💰
Note: Make sure to follow official Binance channels for updates and announcements.


Added Logger which emits a log based on a condition

Fixes #4409

I added a more general comment on #4409, While this may be useful in some cases, I'm not sure it solves the original issue.
Mainly it seems that this would be hard to use when there is unique information in the message that should be passed along.  If we need to treat "issue tablet x" and "issue tablet y" as different messages and not as repeat occurrences of the same message, this seems to want to treat them the same.

In f679cd3 I modified the Logger to be based on a generic condition and added a time based implementation that uses a configuration property for the time interval. Like @EdColeman mentioned, not sure how useful this is, but I can envision wanting to log things in a server when some condition is true.

Would there be any benefit of allowing the property to be dynamic and stored in ZooKeeper?  That would also require a watcher to react to updates - and that is likely to make using this class much harder, basically a server context would likely be required to get the instance / zoo reader / zoo watcher.
It would really complicate the code, but would allow  things to be adjusted without restarting services.
The other draw-back would be because this is a general property, setting it will change all instances and it may be really hard to know what they are.
One alternative could be to use log4j and isLevelEnabled to toggle between messages and or message frequency.  Something like the following using a count, or could be modified to use a time.
   if(LOG.isTraceEnabled()){
      LOG.trace("always log");
    } else if(LOG.isDebugEnabled() && (count++ % 10) == 0){
      LOG.debug("log every 10");
    } else if(LOG.isInfoEnabled() && (count++ % 100) == 0) {
      LOG.info("log every 100");
    }

Then, using named loggers and standard configuration, the level for that class could be dynamically adjusted at runtime on a named logger basis?

I had an issue with the implementation regarding AbstractLogger implementing Serializable. I reworked the implementation and removed the Property. I also added @keith-turner's message deduplication implementation to this.

These changes were merged into #4558

These changes were merged as part of #4558


re.search() or page.get_data() not working

Seems like there is an issue, this is not running, but I don't have any other idea of what could be happening?
See screenshot below:

I've run into the same issue.  It appears that modifying line 49 of download.py as follows fixes the error (I appended decode("utf-8") to the method chain):
script_url = re.search(pattern, page.get_data().decode("utf-8")).group()[1:-1]
With this correction, a new error results because it fails to sign in.  The webpage response is: HTTP Error 500: Internal Server Error
It looks like a deeper error is really at work.  Once line 49 is corrected, the script URL is "https://sso.garmin.com/sso/socialSignIn?".  When I access this address manually, I cannot sign in from it, but I am still able to sign in at https://connect.garmin.com/signin/
So it seems the webpage download.py is using to sign in is no longer supported by Garmin.


Add support for local LLM

It's be awesome if you can add support for a local LLM, e.g. via LM Studio, Ollama or the like. Afair they support the OpenAI API, see e.g. https://ollama.com/blog/openai-compatibility.

ah ye, saw the closed ones #59  and #65, so I'll give it a shot ;) I think a short manual would be handy though for people to try!

Hi @Horschig, thanks!
I will add some information on the plugin ReadMe about the local LLM usage.

Maybe this will help somehow. I don't know what to do with this:
https://github.com/awaescher/OllamaSharp

it's been some time, and I am currently not programming anymore, but I am pretty sure that I got this to work with LMStudio. I had not tried with Ollama.


Performance is inconsistent with the original model

Hi, thanks for providing this useful tool!
However, I found that the result produced by the generated ONNX model is inconsistent with the original CLIP model.
Here is the code I used to test the original model:
model, preprocess = clip.load("ViT-B/32", device="cpu", jit=False)

image = preprocess(Image.open("CLIP.png")).unsqueeze(0).cpu() # [1, 3, 224, 224]
text = clip.tokenize(["a diagram", "a dog", "a cat"]).cpu() # [3, 77]

image_features = model.encode_image(image)
text_features = model.encode_text(text)

logits_per_image, logits_per_text = model(image, text)
probs = logits_per_image.softmax(dim=-1).detach().cpu().numpy()

print("Label probs:", probs)

The result is: Label probs: [[0.9927937  0.00421069 0.00299573]]
However, when using the onnx model, the result is: Label probs: [[0.41456965 0.29270944 0.29272085]].
Could you help me with this? Thanks!

Hey @Cestlaviez ! Yes, I know about this problem, but I do not know how to solve it. I am convinced that it is due to the following lines:
from clip_onnx import clip_onnx, attention
clip.model.ResidualAttentionBlock.attention = attention

The problem is that onnx doesn't want to export Multi-head attention layer.
However, in most cases, the highest probability of the original corresponds to onnx.

if comment the line of "clip.model.ResidualAttentionBlock.attention = attention", it seems that onnx file could be exported successfully @Lednik7

@zhangnju can you give an example code with the model?

@Cestlaviez I updated the information in the readme, it should help

CLIP-ONNX version 1.2, results are the same


Fixes #2230

SNI hostnames should be in ASCII only form.
This is done by using A-labels defined in RFC 5890.
Conversion to ACE(ASCII-Compatible Encoding) is described in RFC 3490
closes #2245

Please add a test that actually checks the correct encoding.


update README

Just a small README update with some changes.
One thing I'm not sure about:

Azimuth: do you get an embedding, I thought only a graph. Or are only the projected labels output?

Yes good point about azimuth, it says: "You can download the UMAP (Seurat Reduction RDS), cell type predictions and prediction scores (TSV), and imputed protein (Seurat Assay RDS) from the Downloads tab after mapping." so no embedding it seems. Will adapt


Allow specifying the desired rsyslog attributes in the configuration file

The idea here is that we need not

get all the information: this can depend on things outside our control, e.g., when the rsyslog setup is done by another group and they have their own specific requirements or dependencies
even if we get everything (say the full jsonmesg), we need not ship everything downstream to e.g., logstash, elasticsearch, graylog, ...

The config could be organised as follows
- rsyslog:
    - attributes:
        - msg: message
        - hostname: @source
        - syslogtag: syslogtag

where the key: value specifies which key to get from the rsyslog data structure and what to call it in the JSON that is sent downstream.

This has been fixed in #20.


Button in content view controller doesn't call target

Short description
I have a content view controller designed in a Storyboard. The view controller has two buttons which are connected to proper action methods.
This content view controller is added set as the content view controller of the FloatingPanelController.
When tapping the buttons, the target methods isn't called.
The buttons are in the bottom of the floating view, and when debugging int he View debugger it is as if they are part of the surface view and not the content view. If I change my layout so button are at the top it works as expected.
Expected behavior
That the action method are called upon tapping button.
Actual behavior
Nothing happens, as if the taps never reaches the button
Steps to reproduce
I use this when settings up the FloatingPanelController
       fpc = FloatingPanelController()
        fpc.delegate = self

        let infoVC = DetailsInfoViewController.instantiateFromAppStoryboard(.voucherArchive)
        infoVC.configure(infoModel: infoModel)
        fpc.set(contentViewController: infoVC)

        fpc.addPanel(toParent: self)

My layout class has this function:
public var initialPosition: FloatingPanelPosition {
       return .tip
   }

var supportedPositions: Set<FloatingPanelPosition> {
       return Set(arrayLiteral: FloatingPanelPosition.tip, FloatingPanelPosition.half)
   }

func insetFor(position: FloatingPanelPosition) -> CGFloat? {
       switch position {
       case .half:
           return 200
       case .tip:
           return 30
       default:
           return nil
       }
   }

Environment
Library version
Latest
Installation method

[ ] CocoaPods
[x] Carthage
[ ] Git submodules

iOS version(s)
13.2.2
Xcode version
11.2.1

Thanks @rohdester for your precise description!

The buttons are in the bottom of the floating view, and when debugging int he View debugger it is as if they are part of the surface view and not the content view.

I need to understand this behavior in detail. At first, The Samples.app also use DetailViewController including buttons defined in Main.storyboard like below.. Their buttons has no issue on tap action.

Could you let me know the difference between yours  and the above view controller?

Thanks for the replay and assistance @SCENEE. Much appreciated.
My issue is that contrary to the sample, my buttons are at the bottom. Look at this:

The two buttons at the bottom doesn't register the taps. The highlighted blue rectangle is the containing root view from the view controller. This view contains all the controls, but in the debugger you can see how none of them are in the blue highlighted area.
If I change the value for .half like so:

Then notice how now all my controls are in the blue highlighted area. The only changed thing here is that instead of a value of 200 for .half it is now 400. And now the buttons work.

This now is funny. This time the value for .half is 250. The buttons stille seem not to be out of the blue containing view, although should be? The buttons still don't work but if I tap outside the blue area (including the buttons), the taps goes to the PDF view below and the PDF zooms in and out.

Hi,
Well I fixed it by adding this line:
fpc.contentMode = .fitToBounds
It seems this is necessary to handle this about the view's height.
I therefore close the issue.
Thanks for the help tho' and for making this great project!

Thank you for your investigation, too! I'm glad to hear that. As you mentioned, the root view layout of your content view controller seems to be related to this issue. If you encounter a problem using .fitToBbounds mode, please feel free to let me know. Thank you.😄


WARNING: Unable to set property '' to 'AgentConnectEvent'

EventBuilderImpl:66 - Unable to set property 'destexten' to '600' on org.asteriskjava.manager.event.AgentConnectEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
EventBuilderImpl:66 - Unable to set property 'destaccountcode' to '441142993721' on org.asteriskjava.manager.event.AgentConnectEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
EventBuilderImpl:66 - Unable to set property 'destchannelstatedesc' to 'Up' on org.asteriskjava.manager.event.AgentConnectEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
EventBuilderImpl:66 - Unable to set property 'channelstate' to '4' on org.asteriskjava.manager.event.AgentConnectEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
EventBuilderImpl:66 - Unable to set property 'destuniqueid' to '' on org.asteriskjava.manager.event.AgentConnectEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
EventBuilderImpl:66 - Unable to set property 'calleridname' to '' on org.asteriskjava.manager.event.AgentConnectEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
EventBuilderImpl:66 - Unable to set property 'destconnectedlinename' to '' on org.asteriskjava.manager.event.AgentConnectEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
EventBuilderImpl:66 - Unable to set property 'destcalleridname' to '202' on org.asteriskjava.manager.event.AgentConnectEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
EventBuilderImpl:66 - Unable to set property 'priority' to '4' on org.asteriskjava.manager.event.AgentConnectEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
EventBuilderImpl:66 - Unable to set property 'destcalleridnum' to '202' on org.asteriskjava.manager.event.AgentConnectEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
EventBuilderImpl:66 - Unable to set property 'exten' to '600' on org.asteriskjava.manager.event.AgentConnectEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
EventBuilderImpl:66 - Unable to set property 'accountcode' to '' on org.asteriskjava.manager.event.AgentConnectEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
EventBuilderImpl:66 - Unable to set property 'connectedlinenum' to '202' on org.asteriskjava.manager.event.AgentConnectEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
EventBuilderImpl:66 - Unable to set property 'calleridnum' to '07800656909' on org.asteriskjava.manager.event.AgentConnectEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
EventBuilderImpl:66 - Unable to set property 'destpriority' to '1' on org.asteriskjava.manager.event.AgentConnectEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
EventBuilderImpl:66 - Unable to set property 'destcontext' to '' on org.asteriskjava.manager.event.AgentConnectEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
EventBuilderImpl:66 - Unable to set property 'channelstatedesc' to 'Ring' on org.asteriskjava.manager.event.AgentConnectEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
EventBuilderImpl:66 - Unable to set property 'destchannel' to '' on org.asteriskjava.manager.event.AgentConnectEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
EventBuilderImpl:66 - Unable to set property 'connectedlinename' to '202' on org.asteriskjava.manager.event.AgentConnectEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
EventBuilderImpl:66 - Unable to set property 'destchannelstate' to '6' on org.asteriskjava.manager.event.AgentConnectEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
EventBuilderImpl:66 - Unable to set property 'destconnectedlinenum' to '' on org.asteriskjava.manager.event.AgentConnectEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
EventBuilderImpl:66 - Unable to set property 'interface' to '' on org.asteriskjava.manager.event.AgentConnectEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
EventBuilderImpl:66 - Unable to set property 'context' to '' on org.asteriskjava.manager.event.AgentConnectEvent: no setter. Please report at http://jira.reucon.org/browse/AJ

Even I am getting these warning messages. Did any one find solution?

they are not actually a problem unless you need to access that specific property on that specific event.
Essentially the event class is missing a setter for that property.
If you submit a patch we would be happy to accept it.

the setters are there but seems the case of the property is wrong... should I lower the case of the properties?


Port issue after deploying to subdomain

After I modified docker image to 'abernix/meteord:base', I could finally deploy meteor 1.4 apps to my server.
However, if I tried to deploy an app to subdomain
env: {
  ROOT_URL: 'http://sub.example.com'
}

Both sub.example.com and example.com are deployed.
How can I only deploy an app to subdomain and not to affect the main domain？

Can you post your full mup.js file?

@madushan1000 Here's my mup.js file.
module.exports = {
  servers: {
    one: {
      host: '<IP_ADDRESS>',
      username: 'ubuntu',
      pem: '../../example.pem'
      // password:
      // or leave blank for authenticate from ssh-agent
    }
  },

  meteor: {
    name: 'myApp',
    path: '../',
    servers: {
      one: {}
    },
    buildOptions: {
      // serverOnly: true
      // debug: true,
      // mobileSettings: {
      //   yourMobileSetting: "setting value"
      // }
    },
    env: {
      ROOT_URL: 'http://subdomain.example.com',
      MONGO_URL: 'mongodb://my_external_mongle_url'
    },

    dockerImage: 'abernix/meteord:base',
    deployCheckWaitTime: 30
  }
};

According to the config, there is no clear way to deploying two instances. Maybe the old instance is still running at example.com?

Hi @madushan1000 , I only saw one docker container on the server when I ran docker ps
CONTAINER ID        IMAGE                  COMMAND                  CREATED             STATUS              PORTS                NAMES
90ca873d65da        abernix/meteord:base   "/bin/sh -c 'bash $ME"   27 hours ago        Up 27 hours         <IP_ADDRESS>:80->80/tcp   myApp

And when I run mup stop on my local machine. Both of the two instances were stopped.
I believe that I only deployed one instance, but somehow nginx forward it to two domains.

You might have to take a look at your nginx configuration and DNS records. I don't think the issue is mup related.

@madushan1000 I didn't install nginx on the server.
The doc said that mup is now using nginx, but I'm not sure if mup enabled it, because I didn't config SSL

No, mup doesn't use nginx by default. So the problem should be with your DNS records.

@madushan1000 Fixed it. Thanks!
Closing this issue


Editor breaks on login with new account

When logging in the first time with a brand new account I get this

Removing cookies/storage to log out, and logging in again seems to fix the issue

Related report from @kalanamt

Note that my stacktrace from from an incognito mode Firefox browser

@nick-verida, I'm still unable to reproduce this exact error.

I created a new account
logged in using a  incognito mode chrome

I will have to install firefox to continue testing

@cmcWebCode40 don't worry about the exact error - I think just reproducing that there is a problem with brand new accounts would be sufficient.

@cmcWebCode40 this error seems to be back


fix/heavy_resource_usage

hunt down resource usage

Restarting the container and the service went flat as before.
https://matrix-client.matrix.org/_matrix/media/r0/download/matrix.org/XMGMfuYDmmXkRQzaSrxJLeav
Seems to be related when the ovos_core restarted, the skill for some reason should have a loop checking for something that was not done for it.
The skill was working and no error in the log
Just applied the PR, no error.

Just applied the PR, and got this error:

this was an api skill method. We can't just delete those. In this skill many things are intermingled.
In a couple of days i up the refactor as a draft

closing in favor of @emphasize refactoring


Terraform reports plugin version as 0.0.0

System Information
Linux distribution
 Ubuntu 18.04
Terraform version
❯ terraform -v
Terraform v0.12.20
+ provider.libvirt (unversioned)

Provider and libvirt versions
❯ ./terraform-provider-libvirt --version
./terraform-provider-libvirt 0.6.1+git.1578064534.db13b678
Compiled against library: libvirt 4.0.0
Using library: libvirt 4.0.0

Description of Issue/Question
It seems like Terraform does not know the proper version of the provider, and is instead defaulting to 0.0.0. I would like to enforce version constraints on the provider in my modules, and this is preventing that.
From the output of TF_LOG=debug terraform init:
2020/01/25 18:35:06 [WARN] found legacy provider "terraform-provider-libvirt"
2020/01/25 18:35:06 [DEBUG] found valid plugin: "libvirt", "0.0.0", "/home/me/.terraform.d/plugins/linux_amd64/terraform-provider-libvirt"
2020/01/25 18:35:06 [DEBUG] plugin requirements: "libvirt"=">= v0.6.1"

Setup
❯ cat main.tf
terraform {
    required_providers {
        libvirt = ">= 0.6.1"
    }
}

Steps to Reproduce Issue
Run terraform init with the main.tf provided above.

@MalloZup Just got hit by the same issue. After a bit of investigation found following doc:
https://www.terraform.io/docs/configuration/providers.html#plugin-names-and-versions
Especially the part The naming scheme for provider plugins is terraform-provider-<NAME>_vX.Y.Z, and Terraform uses the name to understand the name and version of a particular provider binary.
So name yours terraform-provider-libvirt_v1.2.3

@alekc thx

I think this can be closed as provider is up for download from official Terraform registry where it is properly versioned.


docs: community adapters section in docs

Add section for community adapters to the docs
Include Firebase adapter in community seciton
Move all official adapters to a single section, the distinction between serverless platforms and otherwise isn't useful to know here, especially when linking out to official products

Before submitting the PR, please make sure you do the following

[x] It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
[x] This message body should clearly illustrate what problems it solves.
[x] Ideally, include a test that fails without this PR but passes with it.

Tests

[x] Run the tests with pnpm test and lint the project with pnpm lint and pnpm check

Changesets

[x] If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpx changeset and following the prompts

While I think discoverability is good for community adapters, I'm not sure this is the right place to put it. Where do we start, where do we end with linking to community adapters?

Was just about to comment the same, perhaps Svelte Society can host the community adapters and we just link it here?

Linking to a 3rd party site, which then requires searching within the site to find an item (could be improved with query params for search/filtering), as well as being displayed  alongside other pre-kit libs with "adapter" in their names isn't very discoverable. You need to already want to be searching for the item to discover it, in which case Google or other search engines are likely to be used. I see it as unlikely to have any impact on discorverability, other than maybe the SEO of the linked GitHub repo.. maybe.
The static list in official docs which is linked to every user who inits an app would improve discoverability for those who didn't know it was an option.


Add oci8 3.0 stubs for php 8

As of https://pecl.php.net/package-changelog.php?package=oci8
class rename + missing stubs

fixed in a separate PR


Ported PartitionedQueues .NET sample to typescript

Ported the PartitionedQueues .NET sample to typescript.
Any comments ?
Original .NET sample
Issue #60

Can I add a link to the Docs in the sample(as a comment) ?
Many links inside the docs point to .NET modules. Suggest something @ramya-rao-a

Yes, you can add links to the docs.
Eventually the docs will point to appropriate modules


Brains Can Use LOOC

Description

Title. Brains can let people know they're around and can be borged using LOOC.

lrp feature? :3

The latest great reason we should just disable overhead LOOC. It's used almost exclusively to break chat restrictions for animals and mimes etc. or to mald about things that should just be in IC anyway instead of needlessly breaking character.


Vscode Remote - SSH extension not working

Does this issue occur when all extensions are disabled?: N/A. This issue is with an extension or its cooperation with the main IDE.

VS Code Version: 1.88.1
OS Version: OSX 14.4.1

Steps to Reproduce:

Download VS Code
Install the Remote - SSH extension
Click the little blue arrows at bottom left and then the "Connect to Host..." option at top
Observe nothing happens

I have been using Remote - SSH seamlessly, but VS code crashed. When I started it back up, it tried to connect to my host but just spun, even though I could ssh to it in a terminal. I deleted the host from the list and am attempting to start over, but when I try to add a host, the extension just appears to crash, because I don't get taken through the menu to add my ssh command and password and such.

I was just able to get Remote - SSH to accept a command by going in to the Command Palette (Command + Shift + P), but when I try to get through its setup, I get this error

Okay, deleting ~/.ssh/config solved that problem. I'm no longer encountering the above strange error. But when I try to open remote, it again spins forever. I'm going to try deleting the snap folder on the host.

It feels a lot like this https://github.com/microsoft/vscode-remote-release/issues/2990

Ahha! I got it. I went on my client machine to /Users/pavel/Library/Application Support/Code/User/globalStorage/ and deleted the ms-vscode-remote.remote-ssh folder. Then shutting down and retrying, vscode prompted me for my password on the remote machine, which I gave, and now I'm successfully connected again.
 It shouldn't hang forever and not prompt me for my password because of the existence or non-existence of some deep system file.

Sorry for the trouble. The 'after' error is https://github.com/microsoft/vscode-remote-release/issues/9583 which appears to be a new one in our ssh config parser that I haven't been able to repro yet.
I'm not sure what the problem was that caused it to be stuck. If it worked after deleting globalStorage, I have a hunch, but the logs don't quite fit. Has it happened again since?
Notes for myself later- maybe multiple windows were connecting and it's checking globalStorage for the lock from another window (that doesn't exist anymore). I can double-check the logging and error handling around that.


Waymo dataset: module 'tensorflow' has no attribute 'enable_eager_execution'

Please make sure that this is a bug. As per our
GitHub Policy,
we only address code/doc bugs, performance issues, feature requests and
build/installation issues on GitHub. tag:bug_template
System information

Have I am replicating the waymo dataset tutorial code for understanding and learning
Using Notebook of Google COLAB (as New user to Google Colab)
TensorFlow version (use command below): 2.1.0 (as installed by default in Google Colab)

Describe the current behavior
This is the line of code: (sharing since it is available for public view as well by google in it's tutorial)
!pip3 install waymo-open-dataset
import os
import tensorflow as tf
import math
import numpy as np
import itertools

tf.enable_eager_execution()

from waymo_open_dataset.utils import range_image_utils
from waymo_open_dataset.utils import transform_utils
from waymo_open_dataset.utils import frame_utils
from waymo_open_dataset import dataset_pb2 as open_dataset

Error I get upon executing the above lines of code
AttributeError Traceback (most recent call last)
in ()
6 import itertools
7
----> 8 tf.enable_eager_execution()
9
10 from waymo_open_dataset.utils import range_image_utils

AttributeError: module 'tensorflow' has no attribute 'enable_eager_execution'

Even Upon commenting the line " tf.enable_eager_execution()" - as tensor 2.x version doesn't need, a new error pops up.
!pip3 install waymo-open-dataset
import os
import tensorflow as tf
import math
import numpy as np
import itertools

#tf.enable_eager_execution()

from waymo_open_dataset.utils import range_image_utils
from waymo_open_dataset.utils import transform_utils
from waymo_open_dataset.utils import frame_utils
from waymo_open_dataset import dataset_pb2 as open_dataset

I get the following error

AttributeError Traceback (most recent call last)
in ()
8 #tf.enable_eager_execution()
9
---> 10 from waymo_open_dataset.utils import range_image_utils
11 from waymo_open_dataset.utils import transform_utils
12 from waymo_open_dataset.utils import frame_utils

/usr/local/lib/python3.6/dist-packages/waymo_open_dataset/utils/range_image_utils.py in ()
57 value,
58 shape,
---> 59 pool_method=tf.unsorted_segment_max):
60 """Similar as tf.scatter_nd but allows custom pool method.
61

AttributeError: module 'tensorflow' has no attribute 'unsorted_segment_max'

Describe the expected behavior
No error should be there.
Standalone code to reproduce the issue
Link to Colab/Jupyter/any notebook.
https://colab.research.google.com/gist/Viki250893/40008cf236a25736d1cdefc7e0e403ea/untitled1.ipynb

@Viki250893,
In Tensorflow 2.1,use tf.compat.v1.enable_eager_execution() instead of tf.enable_eager_execution().
And this error AttributeError: module 'tensorflow' has no attribute 'unsorted_segment_max' is not related to Tensorflow. Thanks

I am not able to reproduce the error. I think it is a Bug. I tried running in a new Notebook without making change as per your comment. I request you to please check in backend.
Thank you.

@Viki250893, Tensorflow 2.x has default eager enabled. To enable explicitly use tf.compat.v1.enable_eager_execution() which is same as
import tensorflow.compat.v1 as tf  and tf.enable_eager_execution().
This error AttributeError: module 'tensorflow' has no attribute 'unsorted_segment_max' is outside the scope of Tensorflow. Thanks

Thank you very much for the support. !!


Auto create .py files for each question

It may be difficult when parsing

updated in submission_handling.py


Replacement marker glow similar to Scratch 2.0

@carljbowman
Here is a video:
https://www.dropbox.com/s/0hi38lxj905vu7i/replacement-marker.mov?dl=0
Let me know what you think...

Updated the radius - up for code review :)


Improve podified liveness probes

[x] Eliminate loading of container_env when we only need the ruby env.  This change is no longer relevant since the rewrite below replaces this code entirely.
[x] Change heartbeat file to store unix time timeout instead of a time string requiring parsing on the other side
[x] Rewrite simplified liveness probe in shell
[x] Awaiting backport to lasker

Done!


Reload nginx on site config changes

When making changes to site configuration templates, there existed a situation where the nginx service would not restart. This change notifies reload upon template changes of any type.

This change is

Thanks for opening this PR. With the merge of the chef_nginx codebase back into the nginx cookbook I believe it’s no longer necessary. I’m going to close this out now, and I hope you can check out the massive changes that landed on master here #435


debianutils: 5.7 -> 5.8

Description of changes

Catching https://github.com/NixOS/nixpkgs/pull/249295
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

@ofborg build pkgsStatic.debianutils

Result of nixpkgs-review pr 249318 run on x86_64-linux 1

3 packages built:

debianutils
debianutils.man
ntfy-sh


WIP: BIER extension for OSPFv3

This PR adds BIER extensions for OSPFv3 as defined by draft-ietf-bier-ospfv3-extensions-07. The TLV format is the same as for OSPFv2 hence implementing RFC8444 on the basis laid down by this PR should be straightforward.
It relies on #10 for the addition of the BIER YANG model.
TODO

[x] Add non-mpls encapsulation sub-sub-TLV as defined by draft-ietf-bier-lsr-non-mpls-extensions-03
[x] Encode BIER encapsulation sub-sub-TLV
[x] Handle events

[x] BierEnableChange
[x] BierCfgUpdate
[x] BierCfgEncapUpdate

[ ] Enforce constraints on incoming BIER TLVs
[ ] Integration tests
[x] Implement BIER control-plane (BIRT computation, ...)
[x] Add unit test for BIER TLVs

Rebase on 980694896ed393dc66ea4b8b53bd9dcdaa247f1d

I'm not sure to understand why the BGP test suite is failing (https://github.com/holo-routing/holo/actions/runs/10468201712/job/28988566615?pr=16), I can't reproduce locally ..

The PR is still missing some integration tests and sanity check upon BIER TLV reception but it should be ready for a first review.

Rebase on c3700523d4360a59e520cbb1f194f9a5eaea14af to fix CI failure on BGP tests.


Project : Coin Toss

With the on-going season on Indian Premier League, We Tenet people ask you guys to make a project that acts as a digital toss.
General Requirements :

Create Toss, Either as a web page (More Preffered) or as Programming languages.
Add visual effects if  you use web page.
Try to make GUI if  you work with other programming languages.
Show some of your creativity.

Project Issues will be assigned on First Come First Serve basis after 1st October

Assign this to me i can make a coin toss.

@prabincankod  Go Ahead !!!

@prabincankod  Any Updates from your side ? If you are not working on this then we shall unassign you !


.gitlab-ci.yml build stage on master only

Yeah that makes sense, but we don't ship parity-codec releases :D


[Feature] Please support azure openai apis

Please support azure openai apis

This is kind of a duplicate of https://github.com/run-llama/chat-llamaindex/issues/14


Demo Ghost link not working

When I deployed my ghost on Azure. Getting HTTP 5XX response same as getting in demo.
Also while deploying I got some azure http 403 errors. Which is completely strange.
Please 🥺🙏 fix them.

Found some time to test it today. It works.


Pin jsonschema below 4.10.0

jsonschema 4.10.0 was just released, asdf is now broken: https://github.com/asdf-format/asdf/actions/runs/2868804615.
This PR pins jsonschema below 4.10.0.

Right now this is a test. If I figure out a quick fix it I'll merge that fix instead.

Huh... AssertionError: asdf library version 2.12.0 failed to read an ASDF Standard 1.4.0 file produced by this code

This makes no sense: Ran yesterday with no issues.

Huh... AssertionError: asdf library version 2.12.0 failed to read an ASDF Standard 1.4.0 file produced by this code

This makes no sense: Ran yesterday with no issues: https://github.com/asdf-format/asdf/runs/7845366750?check_suite_focus=true

Okay, I figured out the issue. The compatibility tests are spawning their own virtual environment and installing a legacy version of asdf into that virtual environment, tests are then run in a subprocess using that environment. Since asdf 2.12 does not pin jsonschema to strictly less than 4.10.0, the virtual environment running the tests has been broken by jsonschema meaning the test will fail.
I think this means that these tests are failing for the same reason(s) asdf is failing for jsonschema 4.10.0.

Does this mean you need a hotfix release with this pin? 🤔

Does this mean you need a hotfix release with this pin? 🤔

I think it means I need to make new releases for 2.11 and 2.12 with this pin (2.11 is affected by this too).

The compatibility tests are expected to fail

Is it possible to merge this pin and do a release ASAP? This is hitting astropy hard -- https://github.com/astropy/astropy/runs/7871226197?check_suite_focus=true

I imagine this should go into a patch release 2.12.1 when merged, but should it also be added to a 2.11.2 release?

astropy has oldest dep of asdf set to 2.10.0 -- is 2.10.x still supported?
https://github.com/astropy/astropy/blob/f0717033e244b69c7591e51f4925fbeba8a45e56/tox.ini#L77

astropy has oldest dep of asdf set to 2.10.0 -- is 2.10.x still supported?
<EMAIL_ADDRESS>
asdf 2.10 and below pins jsonschema to less than 4.0. So those versions are safe.

OK then 2.11.x onwards is fine by us. Thx!

Just waiting on the Roman regression tests to pass.


multiple i2c_open() calls for same I2C port/address returns valid handles - should be single valid handle for each I2C Port/Address

Expecting that the first i2c_open for s specific port/address would provide a valid handle, but that a second i2c_open for the same port/address without a close would not provide a valid handle.
First instance of program run well, then second instance stomps the first instance as it also receives a valid handle.
Am testing on Pi4B+ running Ubuntu 21.04:
Distributor ID:	Ubuntu
Description:	Ubuntu 21.04
Release:	        21.04
Codename:	hirsute
Code snippet from lcd_i2c.py:
...
import lgpio
import time
from RPLCD.i2c import CharLCD
from datetime import datetime
address = 0x27
cols = 20
rows = 4
lcd = CharLCD(i2c_expander='PCF8574', address=address, port=1,
cols=cols, rows=rows,
charmap='A02',				# A00, A02 or ST0B
backlight_enabled=True)
...
Fix would be to only issue a valid handle for I2C Port/address if a current handle for the same I2C Port/Address did not exist.

That is by design.  If the underlying operating system is happy to have the same device opened multiple times then so is lg.

I don’t agree with your design philosophy in that regard. The device driver is part of the OS and should be responsible for deconflicting device access.
Here’s a reference for Linux device drivers from https://www.linuxjournal.com/article/2476:
Do I Really Need to Write a Driver?
There are several reasons for writing our own device driver:

    To solve concurrency problems when two or more processes try to access a device at the same time.

    To use hardware interrupts: as the kernel runs in protected mode, the user cannot manage interrupts directly from a program.

    To handle other unusual applications, such as managing a virtual device (a RAM disk or a device simulator).

    To obtain satisfaction as a programmer: writing a driver increases personal motivation as well as control over the computer.

    To learn about the internal parts of the system.

From: joan2937 @.>
Sent: Thursday, August 05, 2021 3:30 AM
To: joan2937/lg @.>
Cc: PSkeberdis @.>; Author @.>
Subject: Re: [joan2937/lg] multiple i2c_open() calls for same I2C port/address returns valid handles - should be single valid handle for each I2C Port/Address (#10)
That is by design. If the underlying operating system is happy to have the same device opened multiple times then so is lg.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/joan2937/lg/issues/10#issuecomment-893232840 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AUUJEBRQTEZ3ZEHP5TCT3FTT3I4XDANCNFSM5BSTWIWA .
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675  or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .


Feature/60 design blockweight

Summary

change base system token weight to 10^9
Increase the precision of ParaFeeRate: 10^3 -> 10^6

Describe your changes

satisfying below condition, changed the base system token weight to 10^9

Asset transfer(weight :38_562_000) ~= 0.015 Dot (in the polkadot relay chain) ~= 0.06 iUSD

Related Issue

#60

Checklist before requesting a review

[x] I have performed a self-review of my code
[ ] If it is a core feature, I have added thorough tests.
[ ] Well documented code
[ ] cargo clippy
[ ] cargo-nightly fmt

change base system token weight to 10^9 <<
변경된 코드를 봐도 10^9가 산출되는 부분이 없는 것 같습니다.
const DEFAULT_SYSTEM_TOKEN_WEIGHT: u128 = 1_000_000;
이 부분으로 보여지긴 하는데 10^6 으로 되어있네요

그 때 얘기했던 점은 기존 폴카닷에 적용되어있던 ExtrinsicBaseWeight 을 줄이는거 아니였나요?


Bump nightly to 0.10.0 at website

Hi,
since Nightly announces itself as a 0.10.0-nightly, it seems fair to bump Nightly version at https://influxdata.com/downloads/ as well.
Cheers!

closing in favor of https://github.com/influxdb/docs.influxdata.com/issues/119 on the docs repo


docs: add box-shadow description and fix typo

Added a description for the box-shadow generator and fixed a typo.
🛠 Fixes Issue
Closes #259

[x ] My code follows the code style of this project.
[ x] This PR does not contain plagiarized content.
[ x] The title of my pull request is a short description of the requested changes.

You also have a typo to fix, it's "your" not "you"

You also have a typo to fix, it's "your" not "you"

You also have a typo to fix, it's "your" not "you"

oops will fix it quickly

You don't have to close this, just edit your file here


[BUG] Possible conflict with Drag Ruler or lack of compatibility with V9?

Module Version: 0.8.9
Describe the bug:
This module is not working for me, it appeared that it had a conflict with Drag, I don't know if it is a conflict with it or if it is not working for V9, which is a shame, I love this module and I think it is so important that It's hard to live without it after trying it out.
To Reproduce
I don't understand, I'm not a developer and I'm a beginner.
Expected behavior
I expected to be able to access ports only close by, Journals and Starways as well, it didn't work in any case
Screenshots
I don't have Screenshots about this, this error in the console appeared a few times and other times it didn't, I couldn't take a picture of it, even when the error didn't show up on the console, the port wouldn't open and it still didn't show up in the Modules Settings.
Browser:
Foundry Version: V9
Game System: Pathfinder 2e
Additional context
Add any other context (like other modules installed) about the problem here.

Failed to load resource: the server responded with a status of 404 (Not Found) (this error appears in my console F12, also appears something about modules/drag ruler...

Is there any solution? I love this module and I didn't want to disable it

i didn't forget about this issue i'm just going to rotate with bug fixes on my modules unfortunately they have become quite a lot, in addition without a screenshot or a complete error message i have to try a little bit for replicate this issue.

Okay :), do you have any plans for the update?

the solution is simply update foudryvtt from 0.8.9 to 9. i don't have the time to support two branch of this module (sorry) and version 10 is coming very fast.


Pool member adminState update from enable to offline fails with 422

Environment

Application Services Version: 3.47/3.48
BIG-IP Version: BIG-IP <IP_ADDRESS>

Summary
AS3 3.47/3.48 responds with 422 error code while posting declaration with VS pool member adminState: offline .
However, it works well with AS3 3.45.
Steps To Reproduce
Steps to reproduce the behavior:

Submit the following declaration with pool member adminState: enable:

{
	"$schema": "https://raw.githubusercontent.com/F5Networks/f5-appsvcs-extension/v3.47.0/schema/3.47.0/as3-schema-3.47.0-8.json",
	"class": "AS3",
	"declaration": {
		"class": "ADC",
		"controls": {
			"class": "Controls",
			"userAgent": "CIS/v2.15.0 OCP/v4.11.0"
		},
		"id": "urn:uuid:85626792-9ee7-46bb-8fc8-4ba708cfdc1d",
		"label": "CIS Declaration",
		"remark": "Auto-generated by CIS",
		"schemaVersion": "3.47.0",
		"test": {
			"Shared": {
				"class": "Application",
				"crd_10_8_3_11_80": {
					"class": "Service_HTTP",
					"snat": "auto",
					"source": "<IP_ADDRESS>/0",
					"translateServerAddress": true,
					"translateServerPort": true,
					"virtualAddresses": [
						"<IP_ADDRESS>"
					],
					"virtualPort": 80
				},
				"pytest_svc_1_80_default_foo_example_com": {
					"class": "Pool",
					"members": [
						{
							"addressDiscovery": "static",
							"adminState": "enable",
							"serverAddresses": [
								"<IP_ADDRESS>"
							],
							"servicePort": 80
						}
					],
					"monitors": [
						{
							"use": "/test/Shared/pytest_svc_1_default_foo_example_com_foo_http_80"
						}
					]
				},
				"pytest_svc_1_default_foo_example_com_foo_http_80": {
					"adaptive": false,
					"class": "Monitor",
					"dscp": 0,
					"interval": 20,
					"monitorType": "http",
					"receive": "a",
					"send": "/",
					"targetAddress": "",
					"timeout": 10
				},
				"template": "shared"
			},
			"class": "Tenant",
			"defaultRouteDomain": 0,
			"label": "test"
		}
	}
}

Submit the following declaration updating the pool member adminState: offline:

{
	"$schema": "https://raw.githubusercontent.com/F5Networks/f5-appsvcs-extension/v3.47.0/schema/3.47.0/as3-schema-3.47.0-8.json",
	"class": "AS3",
	"declaration": {
		"class": "ADC",
		"controls": {
			"class": "Controls",
			"userAgent": "CIS/v2.15.0 OCP/v4.11.0"
		},
		"id": "urn:uuid:85626792-9ee7-46bb-8fc8-4ba708cfdc1d",
		"label": "CIS Declaration",
		"remark": "Auto-generated by CIS",
		"schemaVersion": "3.47.0",
		"test": {
			"Shared": {
				"class": "Application",
				"crd_10_8_3_11_80": {
					"class": "Service_HTTP",
					"snat": "auto",
					"source": "<IP_ADDRESS>/0",
					"translateServerAddress": true,
					"translateServerPort": true,
					"virtualAddresses": [
						"<IP_ADDRESS>"
					],
					"virtualPort": 80
				},
				"pytest_svc_1_80_default_foo_example_com": {
					"class": "Pool",
					"members": [
						{
							"addressDiscovery": "static",
							"adminState": "offline",
							"serverAddresses": [
								"<IP_ADDRESS>"
							],
							"servicePort": 80
						}
					],
					"monitors": [
						{
							"use": "/test/Shared/pytest_svc_1_default_foo_example_com_foo_http_80"
						}
					]
				},
				"pytest_svc_1_default_foo_example_com_foo_http_80": {
					"adaptive": false,
					"class": "Monitor",
					"dscp": 0,
					"interval": 20,
					"monitorType": "http",
					"receive": "a",
					"send": "/",
					"targetAddress": "",
					"timeout": 10
				},
				"template": "shared"
			},
			"class": "Tenant",
			"defaultRouteDomain": 0,
			"label": "test"
		}
	}
}

Observe the following error response:

"results": [
		{
			"code": 422,
			"message": "declaration failed",
			"response": "01020036:3: The requested Pool Member (/test/Shared/pytest_svc_1_80_default_foo_example_com /test/<IP_ADDRESS> 80) was not found.",
			"host": "localhost",
			"tenant": "test",
			"runTime": 3296
		}
	]

Expected Behavior
The above-submitted AS3 declaration should work.
Actual Behavior
AS3 responds with 422 error.

Thank you @arzzon.  In order to prioritize and understand the issue better, please reach out to us at<EMAIL_ADDRESS>

AUTOTOOL-4052: (GitHub Issue 759) should have resolved this issue. Please validate with the released version of AS3-48 or AS3-48.1


fix(compiler-sfc): malformed filename on windows using path.posix.join()

Closes: https://github.com/vuejs/core/pull/8671
Not fixed with: https://github.com/vuejs/core/pull/9446
Related: https://github.com/vuejs/core/discussions/9473
On Windows path.posix is available but path.posix.join() returns malformed result when joining paths containing .. like ../folderOrFile
Error:

where ../base folder contains index.ts with "re-exports" like:
//...
export { default as BaseImage, type BaseImageProps } from './base-image.vue';
//...

Simple reproducible example (on Windows):
Save the following as index.js and run node index.js
const path = require('path');

const fileName = '../fileOrFolder';

console.log({
    join: path.join(__filename, fileName), // ✅ >> C:\\code\\sandbox\\posix-path\\fileOrFolder
    posixJoin: path.posix.join(__filename, fileName), // ❌ >> fileOrFolder
    resolve: path.resolve(__filename, fileName), // ✅ >> C:\\code\\sandbox\\posix-path\\fileOrFolder
    posixResolve: path.posix.resolve(__filename, fileName), // ✅ >> /code/sandbox/posix-path/fileOrFolder
})

Fix forces to use path.join() instead of path.posix.join() on Windows.

@sodatea I recreated this fix and added more details.
Thank you in advance!
FYI: @edison1105

@b12k can you provide an example of this error happening, I've been using windows and haven't noticed this issue.

@b12k can you provide an example of this error happening, I've been using windows and haven't noticed this issue.

Example is in the ticket description.

resolveType.spec.ts
Test relative ts on Windows does not include condition when file is located in another folder.
I will update the test to illustrate the issue

joinPaths is also used in minimatch patterns:
https://github.com/vuejs/core/blob/edf2572615d0b065bb7ae49de4c3b71086771310/packages/compiler-sfc/src/script/resolveType.ts#L883
which only accepts forward slashes: https://github.com/isaacs/minimatch#windows
I'm afraid that's what's causing the Windows test failures: https://github.com/vuejs/core/actions/runs/6651662225/job/18074220591?pr=9478
I recommend only modifying the code that resolves the relative path to avoid accidental breakages.

Using path.join for Windows in importSourceToScope
Added respective test

👀

@sodatea Can you, please, have a look one more time?

@b12k can you provide an example of this error happening, I've been using windows and haven't noticed this issue.

I created a test case for that
packages/compiler-sfc/tests/compileScript/resolveType.spec.ts

@sodatea I really need this fix =) We can not directly import types/interfaces, and using (redundant file) *.ts import/export workaround.

@sodatea
👀

Closes https://github.com/vuejs/core/issues/9583


Improve Stream sidebar style. Fixes #171

Automated message from Dropbox CLA bot
@borisyankov, it looks like you've already signed the Dropbox CLA. Thanks!


fix(op): parse l1 block info from l2 tx input

Fixes offsets for parsing l1 base fee scalar and l1 blob base fee scalar

ah maybe the function docs are wrong because the order is
https://github.com/ethereum-optimism/optimism/blob/9452aa66dc7a2e0deb63bca4bf5c7cfc35c3211c/packages/contracts-bedrock/src/L2/L1Block.sol#L129

the offsets were wrong because of the selector is already removed here?

no they were wrong despite that, base fee scalar was before taken at offset 12..16, when actually it's at offset 0..4. the selector is only 4 bytes.
got the correct order from op-geth code, as linked in the code comment https://github.com/ethereum-optimism/op-geth/blob/60038121c7571a59875ff9ed7679c48c9f73405d/core/types/rollup_cost.go#L317-L328

This looks good to me given the above comments are addressed


Don't require @ symbol for Medium profiles

Some accounts don't have @. https://medium.com/ycombinator

That's a publication though, isn't the idea to showcase your profile? The problem is that the @ symbol is illegal without quotes:
found character that cannot start any token while scanning for the next token at line 30 column 11

Sure, but what if someone own a publication they want to showcase.

I disagree, but 🤷♂

@SUPERCILEX I'm not sure either which would be the best approach. It's also possible to remove the @ and mention somewhere. I see that it works for publications when you add the @ symbol as well as without it 😃

So are you saying I should revert back to the first approach? I personally prefer that since it'll work for most people.

Yes.

Awesome, done!


[Question]: astream_chat is not working whereas achat is working

Question Validation

[X] I have searched both the documentation and discord for an answer.

Question
@dosu can you please help me. when i call achat i get back the response whereas astream_chat doesnt give back a response.
          async def setup_chatengine(self):

                  self.chat_engine = self.index_handler.vector_index.as_chat_engine(
                      chat_mode="condense_plus_context",
                      memory="",
                      llm=self.llm,
                      context_prompt=(
                          "You are a chatbot, able to have normal interactions, as well as talk"
                          " about an essay discussing Paul Grahams life."
                          "Here are the relevant documents for the context:\n"
                          "{context_str}"
                          "\nInstruction: Use the previous chat history, or the context above, to interact and help the user."
                      ),
                      verbose=False,
                  )

              async def get_response(self, text: str):
                  try:

                      response = await self.chat_engine.stream_chat(text)

                      print(response.sources)
                      is_reset = 0

@mirallm it could also the llm you are using.
Besides that, this is the proper async streaming syntax fyi
resp = await chat_engine.astream_chat("hello")
async for r in resp.async_response_gen():
  print(r, end="", flush=True)


feat: add LineEditor graphicFill and graphicStroke to composition

Description
This adds the graphicFill and graphicStroke fields of the <LineEditor> to the composition context.
Example with disabled graphicFill and graphicStroke fields:

Do you introduce a breaking change?

[ ] Yes
[x] No
[ ] I am unsure (no worries, we'll find out)

:tada: This PR is included in version 14.0.0-beta.1 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add proper support for DK2/CV1 sensors

Verified and tested, rotation works perfectly.
The packet still contains more unparsed data that could be used for positional tracking and (I guess) estimating latency.

Wow, awsome, thanks!


macOS mojave compatity

there seems some issue with the newest macOS mojave:
File "/usr/local/lib/python3.6/site-packages/playsound.py", line 55, in _playsoundOSX
    from AppKit     import NSSound
ImportError: cannot import name 'NSSound'

Here is the error, should this be a compatible problem or my enviroment error?

I fixed it by doing this :
pip3 install pyobjc

I keep getting this error:
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/playsound.py", line 55, in _playsoundOSX
from AppKit     import NSSound
ModuleNotFoundError: No module named 'AppKit'
I have installed AppKit and PyObjC via pip3.
I am using Mac OS Mojave and Python 3.7.4

Do not use pip to install AppKit.  That is a totally unrelated package.  Do an uninstall of it.  Then run the following command.
sudo pip install --upgrade --force-reinstall PyObjC PyObjC-core

This is now fixed on master. I have not added PyObjC as a hard dependency, but I print out a suggestion that you aught to install it. Even without it, the code still works on Python 3 on Mac, by shelling out to Mac OS's built-in python.


Set network proxy in config rather than jvm args

Codecov Report

Merging #1155 into master will decrease coverage by 0.03%.
The diff coverage is 52.5%.

@@             Coverage Diff              @@
##             master    #1155      +/-   ##
============================================
- Coverage      69.6%   69.57%   -0.04%
+ Complexity     5248     5247       -1
============================================
  Files           414      414
  Lines         32323    32334      +11
  Branches       4112     4113       +1
============================================
- Hits          22500    22495       -5
- Misses         8704     8718      +14
- Partials       1119     1121       +2

Impacted Files
Coverage Δ
Complexity Δ

...in/java/com.github.ambry.cloud/CloudBlobStore.java
73% <100%> (ø)
18 <0> (ø)
:arrow_down:

...main/java/com.github.ambry/config/CloudConfig.java
100% <100%> (ø)
1 <0> (ø)
:arrow_down:

...com.github.ambry.cloud/azure/AzureCloudConfig.java
100% <100%> (ø)
1 <0> (ø)
:arrow_down:

...mbry.cloud/azure/AzureCloudDestinationFactory.java
66.66% <20%> (-22.23%)
3 <1> (ø)

...ithub.ambry.cloud/azure/AzureCloudDestination.java
81.29% <51.61%> (+0.75%)
19 <2> (ø)
:arrow_down:

...github.ambry.rest/AsyncRequestResponseHandler.java
88.59% <0%> (-2.29%)
23% <0%> (ø)

...b.ambry.network/BlockingChannelConnectionPool.java
70.43% <0%> (-1.74%)
9% <0%> (ø)

.../main/java/com.github.ambry.store/ScanResults.java
82.81% <0%> (-1.57%)
17% <0%> (-1%)

...in/java/com.github.ambry.store/BlobStoreStats.java
71.34% <0%> (-1.45%)
103% <0%> (-2%)

...src/main/java/com.github.ambry.commons/BlobId.java
93.54% <0%> (+0.35%)
72% <0%> (+1%)
:arrow_up:

... and 3 more

Continue to review full report at Codecov.

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

Note: travis build failing due to Oracle JDK8 download.  Sent email to travis support about it.
Ran gradle build/test locally and passed.


The variable damage_dealt should get by getFinalDamage() but not getDamage(), and parameters suggestion

https://github.com/elBukkit/MagicPlugin/blob/master/Magic/src/main/java/com/elmakers/mine/bukkit/magic/Mage.java#L567
When I have dealt 400+ damage, the attribute damage_dealt is 5 (because I'm holding a wood sword)
parameters suggestion

it returns 0, can you implement the feature that get values from papi placeholder in actions but not in parameters?
it's useful when I have many modifyvariables

The next dev build will change the behavior of the damage_dealt attribute.
That placeholder should work. I can't test it myself now, but looking at the code any parameters should pass through PAPI. I'll leave this open until I can check, but it may not be anytime soon.


Regarding Monte-Carlo quantum trajectories and measurements of observables on final states

Description
While trying to implement mcsolver with diffrax (to support higher dimensional Hilbert spaces with jax[cuda12]) and performing periodic measurements with the final state obtained from each run, the following issues are observed (one after the other, when resolved sequentially):

DiffraxIntegrator is not added to the MCSolver class.
qutip_jax.reshape.split_columns_jaxarray (line 58) takes 1 positional argument, but qutip.core.qobj.Qobj.eigenstates passes 2 arguments (line 1530) when it is called inside qutip.measurement.measurement_statistics_observable (line 224).
qutip.measurement.measurement_statistics_observable line 242 throws an error saying multidimensional indexing using lists are deprecated with lax_numpy (https://github.com/google/jax/issues/4564).

In my forked versions of qutip and qutip-jax, I have made a few changes to resolve the issues to support periodic measurements with Monte-Carlo quantum trajectories as detailed below.
Kindly let me know if there are any known issues in adding DiffraxIntegrator to MCSolver.
Also, are there any particular tests required to be added (e.g., in qutip.tests.solver.test_mcsolve or qutip_jax.tests.test_ode) before submitting a PR?
As far as I understand, MCIntegrator does not provide any option to pass a seed for its generator, and each trajectory evolves differently, hence only the ensembled average results can be compared using larger values of ntraj and higher comparison tolerances.
Snippet to Reproduce the Issues
Below is a simplified demonstration using the Jaynes-Cumming (JC) model from QuTiP's mcsolve tutorial but with a time-dependent interaction term:
# JC system
N = 100
with qutip.CoreOptions(default_dtype='jaxdia'):
    a = qutip.tensor(qutip.qeye(2), qutip.destroy(N))
    sm = qutip.tensor(qutip.destroy(2), qutip.qeye(N))
    H_0 = 2.0 * jax.numpy.pi * a.dag() * a + 2.0 * jax.numpy.pi * sm.dag() * sm
    # ``H_1`` is the time-dependent part with coefficient ``H_1_fn`` and operator ``H_1_op``
    H_1_op = sm * a.dag() + sm.dag() * a
    H_1_fn = lambda t: 2.0 * jax.numpy.pi * 0.25 * jax.numpy.cos(2.0 * jax.numpy.pi * t)
    H = [H_0, [H_1_op, qutip_jax.qobjevo.JaxJitCoeff(H_1_fn)]]
# DiffraxIntegrator converts the state to JaxArray anyway, hence not using JaxDia
state = qutip.tensor(qutip.fock(2, 0, dtype='jax'), qutip.fock(N, 8, dtype='jax'))
c_ops = [jax.numpy.sqrt(0.1) * a]
e_ops = [a.dag() * a, sm.dag() * sm]

# # uncomment to resolve *Issue 1* by adding ``DiffraxIntegrator`` to ``MCSolver``
# qutip.MCSolver.add_integrator(qutip_jax.ode.DiffraxIntegrator, 'diffrax')

# single trajectory instance of mcsolve  using ``diffrax.Dopri5`` and ``diffrax.PIDController``
# with QuTiP's default ``atol`` and ``rtol`` (https://github.com/qutip/qutip-jax/issues/26)
tlist = jax.numpy.linspace(0.0, 10.0, 200)
result = qutip.mcsolve(H, state, tlist, c_ops, e_ops, ntraj=1, options=dict(
    method = 'diffrax',
    solver = diffrax.Dopri5(),
    stepsize_controller = diffrax.PIDController(atol=1e-8, rtol=1e-6),
    store_states = True,
    keep_runs_results = True
))
# measurement of the final state
position, state = qutip.measurement.measure_observable(
    state=result.states[0][-1],
    op=(a.dag() + a) / jax.numpy.sqrt(2)
)

Changes Made
To Resolve Issue 1:
qutip_jax.ode is updated with:
...
from qutip.solver.mcsolve import MCSolver
...
MCSolver.add_integrator(DiffraxIntegrator, 'diffrax')
...

To Resolve Issue 2:
qutip_jax.reshape line 58 is changed to:
def split_columns_jaxarray(matrix, copy=False):

Although, the second argument will be redundant for qutip_jax.
To Resolve Issue 3:
qutip.measurement line 242 is changed to:
            values.append(np.mean(eigenvalues[np.array(present_group)]))

Quick Workaround for Issue 2 and Issue 3
A CSR form of the operators can be used with a dense form of the final state to perform the measurement.
position, state = qutip.measurement.measure_observable(
    state=state.to('dense'),
    op=((a.dag() + a) / jax.numpy.sqrt(2)).to('csr')
)

Environment Details

Software
Version

QuTiP
5.0.1

Numpy
1.26.4

SciPy
1.13.0

matplotlib
3.8.4

Number of CPUs
12

BLAS Info
Generic

IPython
8.24.0

Python
3.12.2 | packaged by conda-forge | (main, Feb 16 2024, 20:50:58) [GCC 12.3.0]

OS
posix [linux]

Cython
3.0.10

Mon May 27 17:40:18 2024 IST

Additional Observations

The speedup in the GPU is substantial for Hilbert space dimensions (N) greater than 10000.
However, the eigenvalues/eigenstates calculations for N > 1000 are very slow (both in the CPU and GPU).
Squaring a qutip_jax.jaxdia.JaxDia operator (e.g., a**2) converts it to qutip.core.data.dia.Dia, whereas multiplying the operator to itself (e.g., a * a) retains the datatype.

Thank you for your interest in the project.
Your changes seems good for the particular issue.
We don't have tests (yet) for which solvers work with jax and which not.
But it would be nice to also add an example in the documentation on how to use mcsolve when adding it's support.
ps. We have a student (@rochisha0) working on having qutip-jax supported in more of qutip function this summer.

Great to know that the team is working on similar lines this summer. I am primarily trying to interface qutip-jax with sbx (https://github.com/araffin/sbx) for one of my current projects involving a multi-component continuous variable model (hence the requirement of larger total Hilbert spaces) and would be happy to contribute towards the development of qutip-jax in relevant workflows (especially JAX-based implementations for MultiTrajSolver and MCSolver to speed up intermediate steps).

We don't have tests (yet) for which solvers work with jax and which not.
But it would be nice to also add an example in the documentation on how to use mcsolve when adding it's support.

Sure, I shall add an example in doc/source/solver.rst to update the documentation.
As regards testing, I am working on comparing the jax and jaxdia results with the expected dia output (similar to the tests for MESolver in `qutip_jax.tests.test_ode.py) using the seedsargument ofMCSolver`` for each trajectory.
Kindly let me know if that works (for now) and also if I need to connect with anyone working on this feature.
Also, the single trajectory runs of the time-independent JC model gives me the following runtimes with increasing Hilbert space dimension ($N$) of the cavity mode:

$N$
qutip
qutip-jax (CPU)
qutip-jax (GPU)

10000
1.893
5.431
6.157

17782
3.133
6.941
5.641

31622
5.855
9.404
5.341

56234
12.842
17.139
6.216

100000
23.698
28.956
6.748

177827
41.859
57.929
8.639

316227
73.380
101.08
12.207

PS. My VRAM gets exhausted beyond $N = 5 \times 10^5$, but one can guess the trend from the table.


Pull test images from internal test infra accounts

Issue #, if available:
N/A
Description of changes:
Cyclonus uses registry.k8s.io to pull the worker images. (agnhost). This is blocked in few regions which affects the canary runs. We have a internal fork which has a change to pull this image from internal repositories.
https://github.com/mattfenwick/cyclonus/pull/138 - We have also pushed this change to upstream.
This also adds the test to run a check if the pinned bpf files are cleaned up after test completion on internal canaries
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/hold Wait for images to be replicated in all regions

https://github.com/aws/aws-network-policy-agent/actions/runs/6460255342

/hold Wait for images to be replicated in all regions

images are now available in all regions


Stub "Edit Pets" view

From the "Pet Details" view, there should be an "Edit" button to allow us to edit the pet's details.
This Issue is about implementing a stub view which will appear once you click "Edit".
The actual edition functionality will be implemented later.

Originally, this issue was about implementing the edition functionality, but due to me not working on this project for quite some time, I had trouble implementing all of it, so I decided to split the issue and work on other things for now.


Build failure due to unresolved "registry-common" dependency

Failed to build project common where dependency com.hortonworks.registries:registry-common:jar:0.1.0-SNAPSHOT cannot be found.
[ERROR] Failed to execute goal on project common: Could not resolve dependencies for project com.hortonworks.streamline:common:jar:0.1.0-SNAPSHOT: Failure to find com.hortonworks.registries:registry-common:jar:0.1.0-SNAPSHOT in https://repository.apache.org/content/repositories/snapshots/

I checked both http://nexus-private.hortonworks.com/nexus/content/groups/public/com/hortonworks/registries/registry-common/ and http://repo1.maven.org/maven2/com/hortonworks/registries/ but neither of them has the dependency.

Hi @manuzhang , thanks for having interest on Streamline.
Currently you need to clone Schema registry project, and build & install via mvn install to build Streamline project. Schema registry project is used for defining schema on data source, so you may want to be also familiar with that project.
https://github.com/hortonworks/registry

okay, that works. It would be better if this can be documented in README.

Yeah ideally we need to use non-SNAPSHOT version of registry project so that end-users or contributors don't need to build and install registry manually.
@harshach Do we have a plan to release registry explicitly and refer specific version of registry from Streamline?

@manuzhang @HeartSaVioR we are publishing registry artifacts https://mvnrepository.com/artifact/com.hortonworks.registries .
@HeartSaVioR we should start referring to the maven artifact.

This issue has been addressed. For now closing the issue.


Player start playing from start every time there is a state update with useSate

I suppose it's because new playerRef is created each time the component is rendered, which spoils React optimization...
Found just looking the source code: https://github.com/devcshort/react-hls/blob/master/src/index.tsx#L13


Fix wrong providers_index path in providers.md

Fix wrong providers_index path in providers.md

Thanks! 👍


Figure out code coverage discrepancy

CodeClimate and local coverage is off by a few %. It's probably because one is or including excluding files that the other isn't

Meh – not super concerned atm. I took a look to see if I could figure it out, but I'm not sure if there's enough info without knowing what CodeClimate does with the raw data that is output.


⚠ ClamAV has degraded performance

In 7c60f6c, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 139 ms

Resolved: ClamAV performance has improved in 989f467.


React hooks - Multiples sections (rows) videos playing all videos on hover (onMouseEnter)

Be sure to search for your issue before opening a new one.
Current Behavior

I just do not know what to do anymore after searching over the web over the last few days. It's obviously a lack of experience from my side so help would be very appreciated.
I'm rendering an array of sections with react using hooks, so we can see a page with many sections that contains a video. In each section ListItem, I have a ReactPlayer video Item. When I'm hovering a section, onMouseEnter of that section only, ALL videos of every sections start playing which is not what I want.
Expected Behavior

I want to hover a section and start playing that video Item of that section only. Important that I want to do this on hovering the section and not the video Item.
Steps to Reproduce

So far I'm passing a function parent to child holding the state play of that video item which is a boolean for that video, but I know I should use some index and or useRef to identify where it's coming from, but kind of lost here.

Environment

URL attempting to play:
Browser: Firefox, chrome
Operating system: mac os

Other Information

It sounds like you need to store a playing state for each individual section, rather than one playing state that gets passed to every section.
Alternatively, store a playingIndex state at the top level, which gets updated when you hover over each section. Then in your player props you can do playing={playingIndex === sectionIndex} or similar.


cChocoInstaller - Files from a previous installation of Chocolatey were found

I get the below error intermittently with the "c:\choco" folder containing only one folder called "bin" and no files at all, e.g. "c:\choco\bin". The workaround is to remove the "c:\choco" folder from the drive, and the next DSC run goes all green. Can someone shed any light on this?
[[cChocoInstaller]InstallChoco] Files from a previous installation of Chocolatey were found at 'c:\choco'.

Can you provide the code you are using to install Choco / Package that results in this?

Technically it is created by cChoco DSC module, namely by cChocoInstaller resource. How do I run normal Chocolatey install script?
From: Paul Broadwith @.>
Sent: 07 October 2021 11:30
To: chocolatey/cChoco @.>
Cc: mivica @.>; Author @.>
Subject: Re: [chocolatey/cChoco] cChocoInstaller - Files from a previous installation of Chocolatey were found (#162)
The folder structure isn't created by cChoco. It's created by the Chocolatey install script.
Can you run the install script, on it's own, as I requested abovehttps://github.com/chocolatey/cChoco/issues/162#issuecomment-936682647, to see if you get the same issues?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/chocolatey/cChoco/issues/162#issuecomment-937663637, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACE2FPO3PAR3WVAWVLWEEW3UFVZDXANCNFSM5FLRIBTA.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

I'm not entirely sure what's going on in this. From my tests with just this code:
Configuration InstallChoco
{
    Import-DscResource -Module cChoco
    Node "localhost"
    {
        cChocoInstaller InstallChoco
        {
            InstallDir = "c:\choco"
        }
    }
}

$config = InstallChoco

Start-DscConfiguration -Path $config.psparentpath -Wait -Verbose -Force

Chocolatey is installed into c:\choco (as I'm not getting the error you get obviously). But, there is no bin directory created. The bin directory is used for shims that are created when packages are installed.
I also used this code from this example but I altered this line to read $ChocoInstallScriptUrl = 'https://chocolatey.org/install.ps11' (note the additional 1 on the end). This simulates the script not downloading (as the URL is incorrect). I get the following error:
VERBOSE: [5AF69F8C-D72B-4]:                            [[cChocoInstaller]InstallChoco] Downloading                      https://chocolatey.org/install.ps11 to C:\Windows\TEMP\532a435a-551e-4e0a-b996-1a544ad719d5\install.ps1
Exception calling "DownloadFile" with "2" argument(s): "The remote server returned an error: (404) Not Found."
              + CategoryInfo          : NotSpecified: (:) [], CimException
              + FullyQualifiedErrorId : WebException
              + PSComputerName        : localhost

When I look at the c:\choco folder after the failed install, I see this:

Note the c:\choco folder is created but no bin folder.
The issue you are having is not that cChoco creates the c:\choco folder. The issue you are having is that c:\choco\bin is being created and I'm not sure what that is. But as far as I can tell it's not cChoco.
cChoco runs the Chocolatey install script and it doesn't look for the install folder (ie. c:\choco), it looks for anything inside the install folder and fails the install if it's found. As you have the bin folder in there Chocolatey won't install (see the function Test-ChocolateyInstalled in the install script).
So while cChoco is creating the c:\choco folder (and I'm not entirely sure why) this doesn't appear to be your issue.

Hi Paul, thank you for your response and your time. Yes, you are correct; my initial assessment was incomplete. There is more than one download in this workflow, install.ps1 itself triggers at least one. They can all intermittently fail with HTTP 429 at different stages, which explains the bin folder.  429 error is documented on the Chocolatey page. It makes it an unreliable approach to our automation scenario, which is why we decided to move away from Chocolatey entirely. I am closing this issue now.

@mivica you can host the install script yourself and pass the location of that to cChoco?
The Chocolatey Community Repository is not recommended for organisational use. There are a lot of docs around that (that I can't link to as I'm on my phone and don't have them to hand).


Add connect liveness

Same as #50 by @mcmarkj with changes to support for custom ports and TLS.

Nice, and thanks for the contribution @mcmarkj!

Pleasure!


When backend is already registered, reuse existing backend

Fixes https://github.com/tensorflow/tfjs/issues/109.
When the backend is already registered, re-use the existing backend. Also tested that double imports in the browser works:
<script src="tf-core.min.js"></script>
<script src="tf-core.min.js"></script>
<script>tf.square(3).print()</script>

This change is

This is ready for another look


[shippable] add tests for shippable service

Messages

:book:

:sparkles: Thanks for your contribution to Shields, @chris48s!

  Generated by :no_entry_sign: dangerJS


support generating and plugin cert when installing Istio service mesh

To address remaining part of https://github.com/istio/istio/pull/22075

add code and a command to automate creation of a root CA (if user doesn't have one already)

code to create intermediary cert in a form of a Secret ( automating the steps described in 'pre configured CA')

upload the intermediary root cert in 'istioctl apply', before starting the cluster

if possible, replicate kubeadm CLI args (https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init/) and names

add code to generate a second intemediary cert for other clusters in case of MC (or leave a TODO)

generate an intermediary root CA dedicated to VMs

generate VM certs from the VM root CA

Sounds good, my main question is what should we default to ?
IMO 'istioctl apply' should by default pre-provision a root CA and intermediate CAs - if it doesn't already exists. It is easy to check if user already set a Secret with the given name, and create one.
So the options will be:

user has a root CA already - they create the intermediary CA (according to the docs) and upload the secret containing intermediary CA as Secret before running istioctl apply
user doesn't have an existing CA - istioctl will check the Secret is missing, and create a root CA ( possibly reuse the root CA previously auto-created by Citadel/Istiod ) AND generate the intermediary CA.

This will make all installs consistent - we'll use root CA + intermediary in ALL cases, the only difference will be that in 'self-managed' istioctl will handle the root CA and intermediary install.
Upgrade is not an issue: existing workloads use the current root CA directly, and trusts it.
After 1.6 upgrade - new workloads will have a chain containing the newly generated intermediate. CA, but still signed by the original root CA.
In addition, istioctl should generate the second intermediate CA for VMs - and possibly in future additional ones for multi-cluster, so each cluster can get certs signed by a different chain from the central istiod CA.
Of course, priority is consistency, VM support and using better practices for CA management by default.
We can provide some options to allow users to use 'offline' root CA - i.e. keep the real root CA on disk, assuming they have a way to not lose it. I'm not sure it's worth it - more useful would be to have some scripts to use Vault or cloud KMS for root CA and generate itermediate CA for istiod.
I think cleaning up the startup process - so we always use the same scheme, root + intermediate - would be great.

@costinm I have implemented the logic in PR #22384 , Can you please take a look?

@costinm The PR associated with this review was in plan for 1.6. @irisdingbj is on national holiday until May 10th. Is this work mandatory for 1.6? I can rebase the associated PR if need be as I am coverage for @irisdingbj while she is on holiday. I would like some understanding from the top level CODEOWNERS this work is needed in 1.6.
Cheers
-steve


Document required IAM policy for creating and managing EKS cluster

There is currently no documentation (that I can find) that describe the required IAM policy for Rancher to create and manage an EKS cluster, I ended up giving rancher admin access after spending hours trying to figure out the required permissions.
Can we please get a minimal required policy for EKS cluster?

I'm also facing this problem ... I had to set full admin access to bypass this IAM issue and that's not cool


Fix crash bugs found through fuzz testing

This PR fixes a number of crashe bugs that were found through fuzz testing of the file reader. The auto-generated files were regenerated using the thrift compiler from Apache Thrift's latest master.

Codecov Report

Merging #86 (5535ed6) into master (5f8d67a) will increase coverage by 0.04%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #86      +/-   ##
==========================================
+ Coverage   86.53%   86.57%   +0.04%
==========================================
  Files          48       48
  Lines        9774     9774
==========================================
+ Hits         8458     8462       +4
+ Misses        952      950       -2
+ Partials      364      362       -2

Impacted Files
Coverage Δ

file_reader.go
74.43% <0.00%> (+1.50%)
:arrow_up:

file_meta.go
33.33% <0.00%> (+6.66%)
:arrow_up:

Continue to review full report at Codecov.

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