Initial support for trainset

This is initial support for trainset, using configuration settings as suggested by Gausie in Discord.
lastFoodDropped is missing tracking of actual food dropped due to a lack of knowledge around criteria of acquisition, and the codebase.

What's the criteria for food dropping? End of fight? Tradeable & Discardable? Non-Conditional? Copyable monster? (Requires spading)
Where should the code for tracking of said food drops be?
How would we avoid the property being set when undesired, such as multiple food dropping
Should this property be set when trainset is unavailable?
What should the default property be? -1? Empty?

There's a possibility the property may need to be added in a future PR.
There's also other concerns with this PR, such as

Are the trainset piece names acceptable?
Should we replace lastTrainsetConfiguration with trainsetConfigurableAt which predicts a future turn? trainsetPosition + 40
Should the FightRequest look at what trainset piece we've hit to determine if something has gone wrong with tracking?
Should we attempt to parse trainset position while the configuration is in cooldown? This requires pixel parsing I believe, not sure how it would behave in mobile mode.
Should we include trainset pieces that need url manipulation to reach? (Only the 10th piece qualifies as far as I'm aware)
Are we missing tests?
Should the lastTrainsetConfiguration when inaccuracy is detected, always be a higher number? Such as jumping trainsetPosition from 20 to 60 and lastTrainsetConfiguration from 20 to 22. Currently it may change lastTrainsetConfiguration from 20 to -10 if need be while leaving trainsetPosition untouched.

Note:
There is a bug in trainset in which during configuration cooldown, accessible mode is not accessible and instead shows a blank screen. Which means we cannot use it to determine what station the train is at, and can't parse the dropdowns to view our current station.

* Are the trainset piece names acceptable?

Sure

* Should we replace `lastTrainsetConfiguration` with `trainsetConfigurableAt` which predicts a future turn? `trainsetPosition + 40`

No

* Should the FightRequest look at what trainset piece we've hit to determine if something has gone wrong with tracking?

Yes

* Should we attempt to parse trainset position while the configuration is in cooldown? This requires pixel parsing I believe, not sure how it would behave in mobile mode.

It's not pixel parsing really - on the kol end it will be coded with a certai coordinate per current position. So we need to reverse engineer and encode that map and then use it.

* Should we include trainset pieces that need url manipulation to reach? (Only the 10th piece qualifies as far as I'm aware)

Does it do anything? Can you include it in your track?

* Are we missing tests?

Is there any coverage missing for your changes?

* Should the `lastTrainsetConfiguration` when inaccuracy is detected, always be a higher number? Such as jumping `trainsetPosition` from 20 to 60 and `lastTrainsetConfiguration` from 20 to 22. Currently it may change `lastTrainsetConfiguration` from 20 to -10 if need be while leaving `trainsetPosition` untouched.

I think anything that gets it into a working state is fine when we are trying to recover from bad state info.

Note: There is a bug in trainset in which during configuration cooldown, accessible mode is not accessible and instead shows a blank screen. Which means we cannot use it to determine what station the train is at, and can't parse the dropdowns to view our current station.

Why do we care about accessibility mode? Just parse the main page

Can you also add the configuration choice to walkaway-able choices?


NotImplementedError: Can't perform this operation for unregistered loader type

Thank you for the very intresting book !
I get error while trying to execute code from Chapter 5 - "Putting it all together"
installed jinja2-2.10
I try to execute http://localhost:8000/ in browser and get following error
(temp_messenger) C:\Users\user\Envs\temp_messenger>nameko run temp_messenger.service --config config.yaml
starting services: message_service, web_server
Connected to amqp://guest:@<IP_ADDRESS>:5672//
Connected to amqp://guest:@<IP_ADDRESS>:5672//
error handling worker <WorkerContext [web_server.home] at 0x146e6affcc0>: Can't perform this opera
tion for unregistered loader type
Traceback (most recent call last):
File "c:\users\user\envs\temp_messenger\lib\site-packages\nameko\containers.py", line 388, in _ru
n_worker
result = method(*worker_ctx.args, **worker_ctx.kwargs)
File ".\temp_messenger\service.py", line 16, in home
rendered_template = self.jinja.render_home(messages)
File ".\temp_messenger\dependencies\jinja2.py", line 28, in render_home
template = self.template_env.get_template('home.html')
File "c:\users\user\envs\temp_messenger\lib\site-packages\jinja2\environment.py", line 830, in ge
t_template
return self._load_template(name, self.make_globals(globals))
File "c:\users\user\envs\temp_messenger\lib\site-packages\jinja2\environment.py", line 804, in l
oad_template
template = self.loader.load(self, name, globals)
File "c:\users\user\envs\temp_messenger\lib\site-packages\jinja2\loaders.py", line 113, in load
source, filename, uptodate = self.get_source(environment, name)
File "c:\users\user\envs\temp_messenger\lib\site-packages\jinja2\loaders.py", line 234, in get_so
urce
if not self.provider.has_resource(p):
File "c:\users\user\envs\temp_messenger\lib\site-packages\pkg_resources_init.py", line 1399,
in has_resource
return self._has(self.fn(self.module_path, resource_name))
File "c:\users\user\envs\temp_messenger\lib\site-packages\pkg_resources_init.py", line 1452,
in _has
"Can't perform this operation for unregistered loader type"
NotImplementedError: Can't perform this operation for unregistered loader type
<IP_ADDRESS> - - [23/Oct/2018 10:03:19] "GET / HTTP/1.1" 500 246 1.074965

code here : https://github.com/toren77/Python-Programming-Blueprints-Ch5-code/tree/master/temp_messenger

I solved the problem by adding init.py under temp_messenger folder
see reference :

Hi @toren77
Thank you so much for the feedback and for reporting the issue. I will make sure to add the __init__.py file here in the repository.
Best Regards,
//Daniel


v0.3 - Remove serverless-nextjs-router dependency

Convert the demo apps to use express or the Next.js server with the Lambda layer for connecting to a TCP port

Replaces #249
Replaces #247
Replaces #7
Replaces #31

This dependency has been removed


Multiple validation groups and new error callback functionality

I've added two new features and one minor change that you may be interested in. Sorry the pull request is a bit of a mess -- I didn't plan to merge it back in at first. I've added some comments in the "Files changed" section to point things out. Feel free to take what you'd like and leave the rest!
Changes:

Support for multiple validation groups
This allows you to selectively validate different sets of rules at different times. Use the following syntax:
validator="[complete-group: [requiredSubmit], save-group: [number]]"
This feature opens up some interesting possibilities and adds a lot of flexibility. For example, my current     project allows an in-progress page to be saved regardless of missing "required" fields, but when the page is completed the "required" fields do need to be filled in.
The changes for this feature are in directive.coffee and directiveSpec.coffee.

New rule definition error block behavior
Rules that define a function for their error block are handled a bit differently. Previously, the framework would display the string if the error block was a string, and would simply call the function if it was a function. Now,  functions are expected to return a string, which is then displayed like a static string would have been. This allows error messages to show dynamic text based on data elsewhere on the page.
The changes for this feature are in provider.coffee and providerSpec.coffee.

Updated karma config to not rely on symlinks
The symlinks in test/lib/ used by karma-ng1.2.config.coffee don't work when I pull the project down. Perhaps because I'm on Windows? This way seems more straightforward anyway.

+1


Vaccum Cleaner

Just playing with an Alfawise X5 Vaccum Cleaner who run with SmartLife app.
Wifi fw : 2.1.8
MCU fw : 1.0.0
Get DSP give :
sudo python3 get_dps.py <IP_ADDRESS> 012005742c3ae840f6f6

Plug State Information:
{'dps': {'14': 100, '26': '5', '1': True, '11': 0, '25': True, '27': '1', '28': False}, 'devId': '012005742c3ae840f6f6'}

Plug DPS List:
1;25;28

As Lib is made for Plug DPS are wrong, no worry for this
Battery is DPS 14 : Batt % remaining
States is DPS 27 where value are :

0 for Sleep mode,
25 for Searching Home,
2 for spot Mode,
1 for "normal working mode"
5 for charging

Charging "@home" is DPS 1 "True" for charging or "False" for out of base
Hopping this can help, ask for more detail

@deennoo that's awesome 👍 . Thanks for sharing. Its worth adding your findings to https://github.com/clach04/python-tuya/wiki/DeviceSchemas


Using CrossEntropyLoss in the output layer

I am trying to use the CrossEntropyLoss() layer as an output, and get an error saying it needs 2 inputs. (data and label). But when I instead use SoftmaxOutput, I only need to provide the data, and the label is provided via the training iterator. Is there a way I can use the cross entropy loss with only providing data?
Minimum reproducible example
depth = 3
data = mx.sym.Variable('data')
# layer 1 is as defined
net = mx.sym.FullyConnected(data=data,name='fc1',num_hidden=64)
net = mx.sym.Activation(data=net,name='ac1',act_type="relu")
net = mx.sym.Dropout(data=net,name='dl1',p=0.1)
# remaining hidden layers
for layer in xrange(2,depth+1):
	net = mx.sym.FullyConnected(data=net,name='fc'+str(layer),num_hidden=64)
	net = mx.sym.Activation(data=net,name='ac'+str(layer),act_type="relu")
	net = mx.sym.Dropout(data=net,name='dl'+str(layer),p=0.1)
# output layer
net = mx.sym.FullyConnected(data=net,name='fcout',num_hidden=10)
net = mx.sym.SoftmaxOutput(data=net,name='softmax')
#net = rt.CrossEntropyLoss(data=net)
return net

uncommenting the second-last line above (and commenting the line above it) gives me the error

@nikrao , there is no CrossEntropyLoss symbol in MXNet, mx.sym.SoftmaxOutput() implements the cross entropy loss, see here.

Hi Jeidong,
but this is only in the backward pass right? What if I only want it in a
feedforward network?
On Mon, Apr 24, 2017 at 6:16 PM, Jiedong Hao<EMAIL_ADDRESS>wrote:

@nikrao https://github.com/nikrao , there is no CrossEntropyLoss symbol
in MXNet, mx.sym.SoftmaxOutput() implements the cross entropy loss, see
here http://mxnet.io/api/python/symbol.html#mxnet.symbol.SoftmaxOutput.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dmlc/mxnet/issues/5900#issuecomment-296864096, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ASlOLNoz1yeFA0jildzslc_-lgKrsk1Qks5rzUlfgaJpZM4NCPg3
.

@nikrao , what do you mean by "I only want it in a feedforward network"? I don't get it.

sorry for the confusion. I mean the following:
I just have a simple feedforward NN, with, say 1 hidden layer. I guess I'm
confused with the page saying: "In the backward pass, the logit loss, also
called cross-entroy loss, is added" .
Does this mean that while training, this is actually the cross entropy loss
that we are trying to minimize in the objective function?
thanks
On Mon, Apr 24, 2017 at 6:44 PM, Jiedong Hao<EMAIL_ADDRESS>wrote:

@nikrao https://github.com/nikrao , what do you mean by "I only want it
in a feedforward network"? I don't get it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dmlc/mxnet/issues/5900#issuecomment-296867886, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ASlOLLBoCyqLzKreSbgljpsBogIW8Ea4ks5rzU_kgaJpZM4NCPg3
.

@nikrao , yes, according to the documentation, in forward pass, this layers only computes the softmax output of previous layer (i.e., a normalized probability distribution).
During training, the cross entropy loss is computed by combining this info and the ground truth label info.
See here for a complete example on how to train a feedforward or CNN  on the minist dataset using mx.sym.SoftmaxOutput

I checked this out, and this seems to be doing some funky version of softmax cross entropy, and not the traditional binary cross entropy. I am interested in the multilabel problem , so this will notwork. I have to define a new loss and add it in as referenced in other issues.
I will try it an open a separate issue if that does not work


Update json-schema and transform versions

Not a critical change, as the modules don't really depend on json-schema or transform, but updating it just in case.

rerun


fix: broken spacings in save artwrork modal and SWA flow

Description
This PR comes as a follow-up to the QA session:

iOS
Android

PR Checklist

[x] I have tested my changes on iOS and Android.
[ ] I hid my changes behind a feature flag, or they don't need one.
[ ] I have included screenshots or videos, or I have not changed the UI.
[ ] I have added tests, or my changes don't require any.
[ ] I added an app state migration, or my changes do not require one.
[ ] I have documented any follow-up work that this PR will require, or it does not require any.
[ ] I have added a changelog entry below, or my changes do not require one.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

Fix spacings on Sell tab, SWA flow, save modal - mounir

iOS user-facing changes

Android user-facing changes

Dev changes

Need help with something? Have a look at our docs, or get in touch with us.

Thanks for the quick review @gkartalis

cc @rajsam003


Sometimes Parse web html error!

Hello,
It's called:
case XCDYouTubeRequestTypeWatchPage:
[self handleWebPageWithHTMLString:responseString];
Please help to check this error:
*** Assertion failure in -[XCDYouTubeClient getVideoWithIdentifier:cookies:customPatterns:completionHandler:], XCDYouTubeClient.m:69
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Both video and error can not be nil if the operation was not canceled.'
Thank you,

anybody can help this issue?

Same crash


Documentation: Update oc CLI installation instructions

https://docs.okd.io/latest/cli_reference/openshift_cli/getting-started-cli.html
Not sure what the "official" way to install the oc and installer binaries is, but this section of the docs mentions having an active OKD subscription and using subscription manager to installer the oc rpm, which isn't correct.

Correct, we don't make RPMs. Instead OKD should have a section to download oc from mirror.openshift.com


[STYLE CHANGE]

Description:
In social media section if hover on icon then it change it color.
Reason for Change:
This is not so much interactive.
Current Styling:
If we hover on social media icon it nothing to change in style
Proposed Styling:
Change the color on different icon when hover on icon.

Priority Level (optional):

[ ] Low
[x] Medium
[ ] High

Timeline (optional):
I can implement it within 2 days.

please assign me this issue


Clearing LinkCache on key change

Clearing the branch link cache on a  new key Branch key

Hmm, the iOS SDK is not clearing the Link Cache (probably should be). However, I noticed it is clearing the queue, which is not being done here. Does that need to occur as well?

:+1:

Added changes to clear pending server request on key change.

:+1:


DTMF A isn't working.

I was setting up HamVOIP and reached the DTMF testing stage of Asterisk.  All DTMF codes work as expected except the letter A.
I saw issue 85 (closed) where something went wrong with 6.
https://github.com/egzumer/uv-k5-firmware-custom/issues/85
It was suggested to try the DTMF decoding app:
https://play.google.com/store/apps/details?id=com.arcoirislabs.dtmfencdec.app&pcampaignid=web_share
The app successfully decoded all DTMF codes except A.
Radio:  Quansheng UV-K5
Firmware: 2.1.27
Behavior was repeated on a 2nd Quansheng UV-K5
Update: after mucking around with position of uv-k5 speaker near phone, app has picked up the letter A a few times.
Asterisk still refuses to detect it but detects all others fine.

You say "Firmware: 2.1.27". What do you mean? This is the original stock firmware not my firmware, in that case I have nothing to do with this.
DTMF codes are all verified and are exactly what they should be like. Last issue fixed regarding DTMFs was that some/all codes were transmitted too quiet.
@AsciiWolf you mentioned this issue. Initially I confused it with something else. What problem do you have here?

Oops! I did not notice what firmware version the author of this ticket mentioned. I personally did not test this, but if it does not happen with the Egzumer firmware, there is nothing to fix and this ticket can be closed and/or ignored. :-)

My bad on the firmware as I had a 2nd radio here at the time.  I have firmware EGZUMER 502300b.
I'm using the radio to interface with Asterisk 1.4.23 (running under HamVOIP image).  It decodes every DTMF sent but cannot pick up the 'A'.

I did all the tests before to make sure that it is all hunky dory with DTMF tones so I don't see what may be the issue. Read through #85. There is a description of all steps to diagnose what is the issue. Use other radio that works and compare what is the difference. You can also record the audio and share here so I can compare.


fix the bug of only one vertical image layout

This reverts commit 344352977d1bd24cd6ef28e0c92c77f1bf430349.

This does not work.
See #46


Small batchsize

When bs=32 and epoch>40, an error may occurs at "loss = criterion(**loss_args)" : RuntimeError: stack expects a non-empty TensorList

Thanks for pointing this out! Could you tell me what loss/mining method you used?

Thanks for your replay. The loss function is MultiSim.
--

Can you give me the full error message? I think its due to the semihard masking in the MultiSim loss which is not able to retrieve valid candidates in a small batch, but I just want to make sure. If that's the case I should be able to fix it quite easily.

Sorry, the error message has been delete.

Besides, have you test XBM~(Cross-Batch Memory for Embedding Learning) using this code? I introduce  XBM in your framework, but the improvements on MS loss is very limited.

Then I assume its the masking that's causing the issue here - you can try and increase the loss_multisimilarity_margin parameter  to avoid generating instance-free masks or use larger batchsize - I'll try to include some catch mechanism.

*mistakenly closed

Then I assume its the masking that's causing the issue here - you can try and increase the loss_multisimilarity_margin parameter to avoid generating instance-free masks or use larger batchsize - I'll try to include some catch mechanism.

ok, thanks.

Besides, have you test XBM~(Cross-Batch Memory for Embedding Learning) using this code? I introduce XBM in your framework, but the improvements on MS loss is very limited.

I know the XBM paper, but I haven't tested it with this framework specifically - Have you tested it with the constrastive loss and resnet?

Besides, have you test XBM~(Cross-Batch Memory for Embedding Learning) using this code? I introduce XBM in your framework, but the improvements on MS loss is very limited.

I know the XBM paper, but I haven't tested it with this framework specifically - Have you tested it with the constrastive loss and resnet?

I have tested XBN with constrastive loss on SOP data, but the result is poor.

I'm closing this for now, feel free to open another issue if anything similar re-occurs :).


Roadmap: Task 1c: Parameterize notebook workflows

Parameterize Jupyter-notebook workflows, to allow parameter sweeps to be automated and allow Jupyter notebooks to be used as components in larger workflows.

Note I found from a few months back: As part of this work, should be able to collect notebook outputs into a per-run directory, to keep each run distinct (given that the EarthSim workflows typically aren't encapsulated within the notebook itself, so copying the notebook isn't sufficient to have a copy of that run). We've previously done similar things using Lancet.

Was this accomplished using Lancet 0.9.0? I know we got a demo, is there an example in the earthsim docs?


Use pep8 for python code

I hardly ever see the style 'functionName ()' being used in Python and it would be cool if this library could follow the PEP8 standard for python code. So it becomes 'functionName()'. There is a library called flake8 that can lint the code and run during a Travis build to catch mistakes.
If you like this idea, I can work on a pull request.

Hi, @thijstriemstra ! I think it would be awesome if it could show us mistakes. So, if you can do it – go ahead, please ) I will then alter the transpiler to include all missed cases. Thx!

Cool, started working on it in #106, will let you known when it's ready.


Remove httpx maximum version check

Hey @ramnes, thank you for this great work.
I'm opening this PR to remove the maximum version of httpx so we don't have conflicts with projects using your library & httpx.
What do you think?
Have a nice day

Just took a look at the changelog and it shouldn't be a problem, yes. Thanks!


docker image does not start

Version
0.0.98
Description
docker image does not start
To Reproduce

Clone repo
docker compose -f docker-compose.server.yml up

binance-bot    | {"name":"binance-api","version":"0.0.98","hostname":"7547c8d8395b","pid":25,"level":30,"NODE_ENV":"production","msg":"API logger loaded","time":"2024-08-19T04:34:34.119Z","v":0}
binance-bot    |   error : Error: Missing migration file:<PHONE_NUMBER>480-add-multiple-tradingviews.js
binance-bot    | Error: Missing migration file:<PHONE_NUMBER>480-add-multiple-tradingviews.js
binance-bot    |     at /srv/node_modules/migrate/lib/load-migrations.js:57:44
binance-bot    |     at Array.forEach ()
binance-bot    |     at /srv/node_modules/migrate/lib/load-migrations.js:55:44
binance-bot    |     at FSReqCallback.oncomplete (fs.js:180:23)
Expected Behaviours
Image is starting successfully

This resolved a problem
$ docker-compose -f docker-compose.server.yml down -v $ docker-compose -f docker-compose.server.yml pull $ docker-compose -f docker-compose.server.yml up -d

to fix your trouble check this solution click
maybe this will solve your problem.


Remove NPM_TOKEN from .npmrc

.npmrc should be kept though!

This was fixed in https://github.com/thinknimble/tn-spa-bootstrapper/pull/129


add wrapping for long text documents to text highlighting component in RAI dashboard for text

Description
During testing it was found that large documents don't display well in the RAI text dashboard because there is no wrapping.  This PR adds text wrapping to the text highlighting component to resolve this issue for long text documents and adds a test with a long text document.
I also refactored part of applications.ts file into a new file applicationInterfaces.ts as the applications.ts file was over 300 lines after adding the additional test case to the test app.
Before, without wrapping:

After, with wrapping:

Checklist

[x] I have added screenshots above for all UI changes.
[x] I have added e2e tests for all UI changes.
[ ] Documentation was updated if it was needed.

Codecov Report

Merging #1643 (c43a2d1) into main (39c2a20) will increase coverage by 7.86%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1643      +/-   ##
==========================================
+ Coverage   89.01%   96.87%   +7.86%
==========================================
  Files         105       12      -93
  Lines        5489      160    -5329
==========================================
- Hits         4886      155    -4731
+ Misses        603        5     -598

Flag
Coverage Δ

unittests
96.87% <ø> (+7.86%)
:arrow_up:

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

Impacted Files
Coverage Δ

...ai/responsibleai/_tools/causal/causal_constants.py

erroranalysis/erroranalysis/__init__.py

raiwidgets/raiwidgets/fairness_dashboard.py

..._flask/environments/credentialed_vm_environment.py

...leai/responsibleai/databalanceanalysis/__init__.py

raiwidgets/raiwidgets/constants.py

responsibleai/responsibleai/__version__.py

erroranalysis/erroranalysis/_internal/constants.py

rai_core_flask/rai_core_flask/flask_helper.py

...bleai/responsibleai/_tools/causal/causal_config.py

... and 83 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Added all eda scripts and images

I forgot to mention this but I also added new eda diagrams in the eda jupyter notebook, I still have to write a small paragraph for each diagram

I think it would have been better structure wise to have functions for plot creations and then call them in main. But it is just my opinion, @Arushi282 will that complicate the task for you ? If yes, that is okay to have It this way, but I guess some comments throughout will be needed, as well as assert statements to check that the input is of correct type something like     assert isinstance(train_df_viz, pd.DataFrame, "The input is not a dataframe") or for instance that the second column name is equal to the one we are expecting so to make sure that we are getting the right data frame.
.

I think it would have been better structure wise to have functions for plot creations and then call them in main. But it is just my opinion, @Arushi282 will that complicate the task for you ? If yes, that is okay to have It this way, but I guess some comments throughout will be needed, as well as assert statements to check that the input is of correct type something like assert isinstance(train_df_viz, pd.DataFrame, "The input is not a dataframe") or for instance that the second column name is equal to the one we are expecting so to make sure that we are getting the right data frame. .

I will add comments on what my code is doing, thanks lianna!

Okay so I made all the changes necessary, Additionally I added all my written analysis in the Rmd report only, and also wrote some analysis in the eda jupyter notebook


[stable/prometheus] Make pod annotations configurable for PodSecurityPolicy

Signed-off-by: Ludovic Cavajani<EMAIL_ADDRESS>
What this PR does / why we need it:
Redo of the previous PR where I messed up things... This will make the pod annotation configurable when using PSP
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md

/ok-to-test
/lgtm


From a task, copying the field's value from its parent User Story

Hi,
I understand it's possible to copy a value from a work item into itself but is it possible to copy the value from a parent, like a task inheriting the value of a custom fielfds from its Parent User Story ?
I guess not but just in case I didn't see where the magic happens...
Thank you

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

ID: 4107b23a-ba0a-5a1b-b689-072717cfe8ec
Version Independent ID: 1ed09ce9-be9b-6146-9cb8-a2a50e12a3c2
Content: Add a custom rule to a work item type - Azure DevOps Services
Content Source: docs/organizations/settings/work/custom-rules.md
Product: devops
Technology: devops-agile
GitHub Login: @KathrynEE
Microsoft Alias: kaelli

@rsbaa - Thank you for your inquiry. The scenario you describe isn't supported at this time.

I think we should re-open this as a new feature request in the next release of Azure DevOps Web.

Yes, this would be a nice function: Copy (Access) a field from the parent item. E.g. to overtake a funding number.
It reduces the need to write Azure functions.


Handle 16 bit PNG files in sRGB color space

16-bit PNG files with sRGB color space turned out too bright (unless they had a gAMA chunk) when imported to Godot.
This change tells libpng to assume 16-bit files without gAMA or sRGB chunks are in sRGB color space rather than linear, unless the p_force_linear flag is set by load_image. Default to sRGB seems more consistent with other image viewers and file browsers (at least on Linux)
Fixes #37220

Thanks!

Cherry-picked for 3.2.3.


Best practice to deal with network

Hi,
I'd like to ask what the best way to deal with network configuration is. Looked like the new cluster really ties with a new network configuration (vcn, subnet, and so on.) What happens if I want to create two more clusters on the same network? What if we want to add more subnets so that other team can use them quickly? What if I want to destroy the very first cluster (which also provisioned the VCN for the rest)?
To be specific, what is the design decision that almost enforces (by default) users to create new network resources (https://github.com/oracle-terraform-modules/terraform-oci-oke/tree/main/modules) while what they really mean is to create new k8s cluster?
Please fix me if I've missed something.
Thanks a lot.

This is the default one: https://github.com/oracle-terraform-modules/terraform-oci-oke/blob/main/docs/topology.adoc#default-deployment
but I don't think that's suitable for most production setup. In a production setup, we really want to separate Network code with K8s code, and so on. We also want to have multiple k8s clusters on the same subnets.

Hi,
First of all, sorry for the delay in replying to you.
This module is designed as a self-contained module with sensible defaults. So, it will create the required network infrastructure based on your preferred topology .
We do recognize however that 1 size does not fit all and that users may have different requirements. We had an attempt in the past of trying to enable the reuse of an existing VCN. However, the effort was too big then - perhaps because Terraform itself was at that time.
We've recently had a few requests about re-using VCN and subnets. We'll look into this in the near future. Unfortunately, I cannot promise a date. Your ideas and suggestions are most welcome though.
1 customer I worked with took the approach of splitting the entire module into individual ones. It gives them maximum flexibility, particularly with regards to reuse. However, they now have the responsibility to manually track changes in this module and apply them. The customer has the technical skills and time to do this in order to meet non-functional objectives. In this case, they were ok with the trade-off.
Please evaluate carefully before going down this path.
hth.

Hi @hyder,
Thanks for your feedback.
I hope to see the new feature soon. And we don't think that we have enough resources to maintain our in-house terraform code as the customer you mentioned. Thanks for your suggestion though.

You're welcome

Hello,
Currently, this OKE Terraform module is far from usable is real life. Okay, you have got all in one, where you can't turn off not needed components. OCI is an enterprise-focused cloud, most cases networking is split from other teams and in different blast radiuses.  If we look on your competitors, like AWS and/or GCP, then their Kubernetes modules contain only deployment for GKE or EKS, not whole other things. If you need it, then include as examples.
Another approach would be to update the submodule for OKE, to make it compliant for Terraform registry. To be recognized as standalone submodule (to be valid)
I know there is quick start modules, that solve network problems, but there are very basic in other terms.


Exploring Unnecessary Conditionals: Details

What is the context of this PR?
#3016....  Added two new params that were missing in _macro_options.md
How to review this PR
Check that params declared in the component are present in _macro_options.md
Checklist
This needs to be completed by the person raising the PR.

[x] I have selected the correct Assignee
[x] I have linked the correct Issue

Closed it as changes are not required


Add GBT

Adding GBT - Highly configurable prompt builder for Bash, ZSH and PowerShell written in Go

Excellent ! Thank you !


Peter/ntier ra update

@telmosampaio

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/reference-architectures/virtual-machines-linux/n-tier.md
:white_check_mark:Succeeded
View

docs/reference-architectures/virtual-machines-windows/n-tier.md
:white_check_mark:Succeeded
View

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.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/reference-architectures/virtual-machines-linux/n-tier.md
:white_check_mark:Succeeded
View

docs/reference-architectures/virtual-machines-windows/n-tier.md
:white_check_mark:Succeeded
View

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.

@telmosampaio


Layout changes

This PR introduces changes to the layout, and some other related changes:

Bring the layout closer to that of the live site.
Make some small changes to highlighting.
Make better use of material-ui theming

I am going to self-approve and merge this, since there is some pressure to get this out there quickly. Feel free to review and offer feedback.


dts: bindings: vendor-prefixes: fix UP Bridge the Gap typo

s/brige/bridge/

Not sure why this is even in the tree? There are no in-tree users of this vendor-prefix in DTS. Is this strictly for boards/up-bridge-the-gap/*?

True. I'm actually happy it's there as I use it for the board catalog, but you're right there's no "real" user.
I guess one day we may want to actually enforce having model and compatible in boards' devicetrees? https://github.com/zephyrproject-rtos/zephyr/blob/1484cd30a6a007d43761d09eb4d0d4d6ce701d06/boards/weact/usb2canfdv1/usb2canfdv1.dts#L14 because in that sense, the up boards are already "virtually" users of the prefix?

Oh, now that's interesting... https://github.com/zephyrproject-rtos/zephyr/blob/main/boards%2Fup-bridge-the-gap%2Fup_squared%2Fup_squared.dts#L17
Maybe it's the wrong vendor for these boards in the end :shrug:


[test/plugin] fast-fail and reliablity

Please answer these questions before submitting pull request

Why submit this pull request?

[ ] Bug fix

[x] New feature provided

[ ] Improve performance

Related issues

make plugin-test framework reliable and fast-fail

/run agent-plugin-test-3

/run agent-plugin-test-3

/run agent-plugin-test-3

/run agent-plugin-test-2

/run agent-plugin-test-3


duplicate code for sequence_runtime_check

@JymBone5
I notice that sequence_runtime_check() appears as a duplicate in both sequencecreator.py, and yamlcheck.py.  I suggest moving most of the calculations out of the GUI code from the logic code.  So the GUI should refer to yamlcheck.sequence_runtime_check().
Thank you

I have made some progress on this.


!cd is not changing pwd...

iPython @ 4.0.0-dev
See here:

+1

node can't change pwd, its not an issue


docs: fix the instructions for executing the simple nodejs server

These are the instructions i had to follow to get the first example to run

gotcha...i'll follow up on why i initially had issues

cool definitely let me know!


add organization profile/README.md

See Unidata's organization profile for an example and documentation here. I'm glad to draft this in a week or two if we'd like something like this. Provides an overview of the project on our organization page.

Just attempting to re-up this! It would be great to get something simple put together that at a minimum just provides easy links to the portal as well as the other Pythia-related GitHub organizations (https://github.com/ProjectPythiaCookbooks, https://github.com/ProjectPythiaTutorials, ... ?)

This would also be one place to address the communication barrier issues described in https://github.com/ProjectPythia/projectpythia.github.io/issues/267 and https://github.com/ProjectPythia/projectpythia.github.io/discussions/260


OpenID May need claim or Role?

I don't see it as one you listed for supported OIDC providers, but I am using Authentik.  I have it connected, and it calls Authentik as it should and returning from the authentication flow back to the app, it says there's a login failure.

I also changed the report IP from the one you list to my FQDN so not sure why that isn't showing (I use Cloudflare Tunnels to point to it).
Authentik shows these as the respective URL's (with redactions)

How I have it set in the hub:

I'll look into this but probably won't be able to get to it for at least a few days.
Just to confirm, does the user you're logging in as have a record in the PocketBase users table already with the same email and / or username?

Just my user which matches the same email address.

@henrygd @Node815 I can solve this issue. His user api url is wrong, it should be /userinfo/ but he is using the app url

@MFYDev Thanks!  Marking this as closed.  I was thrown with the

This is now resolved!

Perfect, thanks @MFYDev :+1:


Develop a resource that converts an existing client.pem setup to one capable of MTLS

As a Chef administrator
I would like a way to programmatically setup nodes to use MTLS
so that I can migrate existing systems to MTLS using Chef

Currently, we have the ability to enable cert validation on the Infra Server and we have the ability to use the cert chain on the client, but we don't have a way to get existing clients setup for MTLS communication. We need to provide users with the tools in chef recipes to setup the x509 cert/pem files given their existing client.pem and a CA cert.
Potential Look / Feel
This should be considered a high level idea. Change what you need.
chef_client_mtls_cert_migration 'setup node mtls certs' do
  ca_cert 'ABC123_I_AM_CERT_STRING'
end

Requirements

Resource is marked sensitive to prevent logs from containing the cert contents
takes ca cert either as string or as path on disk
has a property for specifying the client.pem location which defaults to the right location based on OS as determined by chef-config
Outputs cert and key to the default location

this seems fine.  the resource name is a mouthful, but i see the general sense of it.  chef_client_mtls_conversion is the only thing i can come up with as an alternative that maintains it in the chef_client_* "namespace" of resource prefixes.

The name should be part of that "change what you need" comment. If someone has some magical name I'm for it.


Render static HTML without extensions

Hey!
Thank you for working on static site generator for Elixir. I've just started playing with it and noticed that dev server does not render index.html files for directories (e.g. http://localhost:4123, http://localhost:4123/readme/, http://localhost:4123/readme, etc.). This PR improves that by introducing a simple plug that runs before Plug.Static.
Btw. do you plan to introduce live-reloading with custom watchers (e.g. to support Tailwind)?

Hey,
The dev server was hastily written and it definitely needs some love. Thank you for adding these changes to improve it!

do you plan to introduce live-reloading with custom watchers (e.g. to support Tailwind)?

Eventually! Life has gotten in the way, but I'd very much like to finish the small features I left undone and add live-reloading to the dev server.

It wasn't obvious to me what's the default port (it has changed since 0.2.0 version)

I'm glad you pointed this out because it was not intended! I checked the commit history and saw that the port change came attached to an unrelated commit and it was not supposed to change (4123 is a weird number).
I'll change the port number back to 4000 in an upcoming commit.

How much work left? Do you need any help?

Helping me get there is a sure way to get it done sooner so thank you for offering! :)
Phoenix has pretty good hot-reloading as far as I know, we could probably use the same logic, but I don't know if it's a matter of copy pasting some modules or if it needs a lot of hammering to adapt to Griffin. If we can copy most of it, great, no point in reinventing the wheel. Otherwise we'll write it from scratch but it'll take longer.
If you're wanting to take this on I think a good starting point is Phoenix's Endpoint folder. Even if you don't intend to copy it it's probably a good resource to learn how they do it before writing something from scratch. Let me know how to best support you in implementing this!

Just realised Github now requires manual approval for tests to run on pull requests. I approved and looks like there are some small issues with formatting: just run mix format and push the changes over to this branch so I can merge it in :)
Again, big thanks for helping out!

Just realised Github now requires manual approval for tests to run on pull requests. I approved and looks like there are some small issues with formatting: just run mix format and push the changes over to this branch so I can merge it in :)
Again, big thanks for helping out!

My pleassure to help. I'm playing with Elixir on a side so contributing to the project it's great opportunity learning opportunity for me.
I've formated all the files.

Phoenix has pretty good hot-reloading as far as I know, we could probably use the same logic, but I don't know if it's a matter of copy pasting some modules or if it needs a lot of hammering to adapt to Griffin. If we can copy most of it, great, no point in reinventing the wheel. Otherwise we'll write it from scratch but it'll take longer.
If you're wanting to take this on I think a good starting point is Phoenix's Endpoint folder. Even if you don't intend to copy it it's probably a good resource to learn how they do it before writing something from scratch. Let me know how to best support you in implementing this!

Thanks for all the hints. I will take a look and see what I can come up with.

Thanks and congrats on your first (maybe) Elixir pull request merge!  🎉 ✨ 🎆


Toggle table of contents (or other menu items)

Thank you for frogmouth, it's awesome!
At the moment a set of shortcuts are allowed, say ctrl-t/n/b/l to show specific items of the menu: would it be possible to make such keymaps toggle rather than just open? Practically speaking, if I use ctrl-t to quickly show the table of content, I would expect to be able to quickly hide it back again without moving the hands from the keys (instead of having to use ctrl-n to toggle-hide the whole menu)

Originally an action within one of those panes would auto-close the navigation sidebar; so selecting a file from the bookmarks would auto-close and get you back to reading. That got changed just before release. I was wanting to make that behaviour optionally available again. My thinking being, Ctrl+N toggles the navigation open and closed, the others are about getting you to the specific pane (so auto-open-and-focus) and selecting something would close if you had that open switched on.
But, yeah, I can also see the value in making them all toggles. I'll keep it in mind when I come to tidying this up.
And thanks for your kind words, glad you're enjoying it. :-)

so selecting a file from the bookmarks would auto-close and get you back to reading.

this would only work for the bookmarks (or history), specifically: for the table of contents after selecting a certain part of the README I want to skip to, the left panel is still open.
Obviously this is just nitpicking, mentioning it in case some other users want to refer to this too :)

Not nitpicking at all! It's useful to know different people's preferences, habits, expectations and muscle memory!


Remove experimental equalise_cubes

Follow-up on #3527, and remove the iris.experimental.equalise_cubes module, akin to #3523.
Target this for the 3.1.0 release.

Closes #3342

Now, when this function becomes a 'regular member of iris', would it be possible to have it returning the attributes ( etc) that had to be removed to equalise the cubes?

Hey @larsbarring,
Good to hear from you. I'm assuming that this is because you want to reattach some of the metadata that was removed?

Yes, either reattaching as for example with tracking_id, or just to know what is not consistent when I expected it to be.
Lars

Thanks @larsbarring, much appreciated.
My head is in the space of considering how to make iris more lenient and customisable for users, particularly when performing such operations as this, as well as concatenation, merging, arithmetic and equality.
You should probably also be aware of https://github.com/SciTools/iris/issues/3325 which intends to address the issue of iris being opinionated about what attributes it cares about.
Anyways, I appreciated the unnecessary hoops that users are forced to jump through, so your use case here is valuable, thanks for taking the time to feedback 😃


Add support for 'youtube' field

@giltho, we also started to publish videos that present our work. A corresponding BibTeX field, that contains the youtube ID would make it trivial to embed a youtube video for a given paper.

fixed by 653c898

Perfect. I tested it and it works as expected.


Readiness / Liveness Probe failed in EKS >= 1.27

If you deploy sealed-secrets-web after deploying sealed-secrets in EKS 1.27, it will not run because the readiness/liveness probe is not connected as follows.
Looking at the code, it seems that sealed-secrets-web is not running properly because it is probably not connected to sealed-secrets.

As a result of my testing, 1.25 and 1.26 are properly connected to sealed-secrets and sealed-secrets-web listens to port 8080.

Hi @bobbykim-nsuslab
Can you please provide logs of the sealed-secrets-web pod?

Log as below :
2023/11/13 11:12:57 Connection to sealed secrets with (Namespace: sealed-secrets / ServiceName: sealed-secrets)

And I thought there might be a relationship between the kuberntes version and sealed-secrets, but now even in 1.25 and 1.26, the readiness probe's connection refused occurs in sealed-secrets-web.

sealed-secrets and sealed-secrets-web are deployed in sealed-secrets namespace

when I deploy sealed-secrets-web image as ricoberger chart image, it work
ealed-secrets-web-57b4c9654b-sj6l8 Starting "Sealed Secrets" Web Interface (version=2.4.0, branch=HEAD, revision=4b3da5aa32dc26f3108b3f38bf5473e45206d
ealed-secrets-web-57b4c9654b-sj6l8 Build context (go=go1.16.7, user=runner, date=20210822-15:16:02)
ealed-secrets-web-57b4c9654b-sj6l8 Listening on :8080

What versions of the helm chart and image are you using?
@bobbykim-nsuslab In your screen shot I see an image version 1.0.7  where does this come from?

annotations:
category: DeveloperTools
apiVersion: v2
appVersion: v0.23.0
description: Helm chart for the sealed-secrets controller.
home: https://github.com/bitnami-labs/sealed-secrets
icon: https://bitnami.com/assets/stacks/sealed-secrets/img/sealed-secrets-stack-220x234.png
keywords:

secrets
sealed-secrets
kubeVersion: '>=1.16.0-0'
maintainers:
name: Bitnami
url: https://github.com/bitnami-labs/sealed-secrets
name: sealed-secrets
type: application
version: 2.11.0

apiVersion: v2
appVersion: v3.1.3
description: A web interface for Sealed Secrets by Bitnami.
home: https://github.com/bakito/sealed-secrets-web
icon: https://raw.githubusercontent.com/bakito/sealed-secrets-web/master/assets/logo.png
maintainers:

name: bakito
url: https://github.com/bakito
name: sealed-secrets-web
version: 3.1.3

Are any Network Policies in Place that prevent the k8s api from accessing the service in the sealed secrets namespace.
I don't have k8s 1.28 available. 1.27 works fine in e2e tests.

kubectl get networkPolicy -n ca43-sealed-secrets
No resources found in ca43-sealed-secrets namespace.
`
image:
--  Repository to use
repository: xxxx/bakito/sealed-secrets-web
#repository: xxx/ricoberger/sealed-secrets-web
#tag: 2.4.0
-- Overrides the image tag (default is the chart appVersion)
resources:
limits:
cpu: 100m
memory: 128Mi
requests:
cpu: 100m
memory: 128Mi
sealedSecrets:
-- Namespace of the sealed secrets service
namespace: ca43-sealed-secrets
-- Name of the sealed secrets service
serviceName: sealed-secrets-tst-blue-se
ingress:
enabled: true
className: "nginx"
annotations:
nginx.ingress.kubernetes.io/limit-rpm: "180"
hosts:
- paths:
- path: /
pathType: Prefix
host: sxxxxx
deployment:
env:
sealedSecretsControllerNamespace: ca43-sealed-secrets
#sealedSecretsControllerName: sealed-secrets-tst-blue-se-7c458cfcf-xhpk7
`
If i comment all
deployment:
-- Readiness Probes
readinessProbe:
failureThreshold: 3
# periodSeconds: 5
# successThreshold: 1
# timeoutSeconds: 10
# initialDelaySeconds: 30
httpGet:
path: /_health
port: http
-- Liveness Probes
livenessProbe:
failureThreshold: 3
# periodSeconds: 10
# successThreshold: 1
# timeoutSeconds: 10
# initialDelaySeconds: 15
httpGet:
path: /_health
port: http
Apps  go green, but nothing happend at ingress or log in the pod.
Any other idea where to check...
Im doing it to make developer happy, kubeseal for me it is ok :)

I managed to extend the e2e test to run on multiple k8s versions.
https://github.com/bakito/sealed-secrets-web/actions/runs/6852837207
Here all works.
Hard to tell what the issues on your clusters might be.

Hey guys, my 2 cents here.
I had the very same issue (I mean, very same symptoms) on a public cloud provider, while same chart/version on an on-premise installation had no trouble at all.
The problem was that I had a firewall rule blocking the communication from k8s masters to sealed-secret port (actually, the cloud provider had it by default, only allowing 443 and 10250).
Would you mind to check if k8s API server (k8s master nodes) are able to reach service/pod IP at desired port (8080 by default) ?
Kr.

Yes, maybe i need to check, but it is not clear what is doing the binary in the pod of sealed-secret-web. What endpoint are try to consume in the readiness and liveness probe, because the svc used as input is part of the same ns and no network policy, do you have any reference to the code of the binary or more verbose log to understand what is doing that health check, maybe can help to understand what is happening inside my connection, im using cilium .

Hey,
In my case, was not an issue caused by sealed-secet-web binary, but by the cloud provider itself, which configures enable-aggregator-routing by default. This makes the masters to bypass the service and communicate straight to the POD (instead doing so by kube-proxy) and so, firewall doing its job not allowing port 8080
When sealed-secrets-web asks (to kubernetes svc) for the sealed-secret service, k8s API server tries to reach pod:port and gets a timeout. This leaves sealed-secret-web hanging for the reply, until the probes eagerly kill it.
In my case, what gave me more clues, was to completely remove the probes. This allowed sealed-secret-web to reach timeout on its call, and then did show more logs about issues fetching cert at sealed-secret service.
You may do that test too.
Also, check api-server logs on cloudwatch, they may show something
good luck :)

Hey,
In my case, was not an issue caused by sealed-secet-web binary, but by the cloud provider itself, which configures enable-aggregator-routing by default. This makes the masters to bypass the service and communicate straight to the POD (instead doing so by kube-proxy) and so, firewall doing its job not allowing port 8080
When sealed-secrets-web asks (to kubernetes svc) for the sealed-secret service, k8s API server tries to reach pod:port and gets a timeout. This leaves sealed-secret-web hanging for the reply, until the probes eagerly kill it.
In my case, what gave me more clues, was to completely remove the probes. This allowed sealed-secret-web to reach timeout on its call, and then did show more logs about issues fetching cert at sealed-secret service.
You may do that test too. Also, check api-server logs on cloudwatch, they may show something
good luck :)

thanks, yes i will give a try, in my case i do not have kube-proxy . First time having this issues, i am able to apply any sealedSecret with kubectl, but  trying to understand if the health check is related also with the availability of sealed-secret-web to fetch public certificated from svc of sealed secret. No idea how is performing  the request, maybe i need to replicate that query manually inside the pod or something like that. Also no idea why pod need to use kube-api if in the definition im pointing directly to svc of sealed secret. So many stuff to test.. Just asking.. what happen after i have it working, because im installing it because i want a more friendly way for developers to seal their secrets...not sure if it is necessary to use any OIDC .. not sure how is working the webapp

What versions of the helm chart and image are you using?
@bobbykim-nsuslab In your screen shot I see an image version 1.0.7 where does this come from?

What versions of the helm chart and image are you using?
@bobbykim-nsuslab In your screen shot I see an image version 1.0.7 where does this come from?

I rebuilded and push on our private repository.
I install a helm chart using bakito/sealed-secrets-web. log as below:
  Containers:
  sealed-secrets-web:
    Container ID:  containerd://a8750cd31aad19d3baf9849a4c87a3638c44d1e5dc4234da0b6610d618a404f7
    Image:         ghcr.io/bakito/sealed-secrets-web:v3.1.3
    Image ID:      ghcr.io/bakito/sealed-secrets-web@sha256:451837252ce5e868cc7f1cee4ae483fc20ae0174261b8ed3d5f6f4d8413f0545
    Port:          8080/TCP
    Host Port:     0/TCP
    Args:
      --sealed-secrets-service-namespace=sealed-secrets
      --sealed-secrets-service-name=sealed-secrets
    State:          Waiting
      Reason:       CrashLoopBackOff
    Last State:     Terminated
      Reason:       Error
      Exit Code:    143
      Started:      Tue, 14 Nov 2023 10:00:25 +0900
      Finished:     Tue, 14 Nov 2023 10:00:54 +0900
    Ready:          False
    Restart Count:  6
    Liveness:       http-get http://:http/_health delay=0s timeout=1s period=10s #success=1 #failure=3
    Readiness:      http-get http://:http/_health delay=0s timeout=1s period=10s #success=1 #failure=3
    Environment:    <none>
    Mounts:
      /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-q82fn (ro)
Conditions:
  Type              Status
  Initialized       True
  Ready             False
  ContainersReady   False
  PodScheduled      True
Volumes:
  kube-api-access-q82fn:
    Type:                    Projected (a volume that contains injected data from multiple sources)
    TokenExpirationSeconds:  3607
    ConfigMapName:           kube-root-ca.crt
    ConfigMapOptional:       <nil>
    DownwardAPI:             true
QoS Class:                   BestEffort
Node-Selectors:              <none>
Tolerations:                 node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
                             node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
Events:
  Type     Reason     Age                     From               Message
  ----     ------     ----                    ----               -------
  Normal   Scheduled  5m34s                   default-scheduler  Successfully assigned sealed-secrets/sealed-secrets-web-79b87c5665-6dfw2 to ip-192-168-32-135.ap-northeast-2.compute.internal
  Normal   Pulled     5m4s (x2 over 5m33s)    kubelet            Container image "ghcr.io/bakito/sealed-secrets-web:v3.1.3" already present on machine
  Normal   Created    5m4s (x2 over 5m33s)    kubelet            Created container sealed-secrets-web
  Normal   Killing    5m4s                    kubelet            Container sealed-secrets-web failed liveness probe, will be restarted
  Normal   Started    5m3s (x2 over 5m33s)    kubelet            Started container sealed-secrets-web
  Warning  Unhealthy  4m34s (x12 over 5m33s)  kubelet            Readiness probe failed: Get "http://<IP_ADDRESS>:8080/_health": dial tcp <IP_ADDRESS>:8080: connect: connection refused
  Warning  Unhealthy  4m34s (x6 over 5m24s)   kubelet            Liveness probe failed: Get "http://<IP_ADDRESS>:8080/_health": dial tcp <IP_ADDRESS>:8080: connect: connection refused
  Warning  BackOff    23s (x11 over 3m4s)     kubelet            Back-off restarting failed container

I managed to extend the e2e test to run on multiple k8s versions. https://github.com/bakito/sealed-secrets-web/actions/runs/6852837207
Here all works.
Hard to tell what the issues on your clusters might be.

I just did some test, removed health_chec
2023/11/14 08:16:59 Connection to sealed secrets with (Namespace: ca43-sealed-secrets / ServiceName: sealed-secrets-tst-blue-se)2023/11/14 08:17:29 Setup sealer: cannot fetch certificate: error trying to reach service: dial tcp <IP_ADDRESS>:8080: i/o timeout
So i guess it is related with that service..
kubectl get svc -n ca43-sealed-secrets
NAME                             TYPE        CLUSTER-IP      EXTERNAL-IP   PORT(S)    AGE
sealed-secrets-tst-blue-se       ClusterIP   <IP_ADDRESS>   <none>        8080/TCP   98d
sealed-secrets-web-tst-blue-se   ClusterIP   <IP_ADDRESS>    <none>        5080/TCP   17h

also changed the port just in case..
Can you update the helm chart to get that functionality ?
Not sure where comes that ip in port 8080
 kubectl get pod -n ca43-sealed-secrets -o wide
NAME                                              READY   STATUS    RESTARTS      AGE     IP              NODE                              NOMINATED NODE   READINESS GATES
sealed-secrets-tst-blue-se-7c458cfcf-xhpk7        1/1     Running   0             61d     <IP_ADDRESS>   xxx   <none>           <none>
sealed-secrets-web-tst-blue-se-5498dfd978-zlsbc   0/1     Error     4 (97s ago)   4m27s   <IP_ADDRESS>   xxx   <none>           <none>

and the issue is related with the endpoint of sealed secret, no idea why is blocked
kubectl get endpoints -n ca43-sealed-secrets
NAME                             ENDPOINTS            AGE
sealed-secrets-tst-blue-se       <IP_ADDRESS>:8080   38s
sealed-secrets-web-tst-blue-se                        89s

i saw a bug  for fetching secret but looks old, but i do not have sealed-secrets in kube-system,
so @bakito  i guess it is working fine your solution, i need to fix from my side.
Regards
Rino

Hey,
In my case, was not an issue caused by sealed-secet-web binary, but by the cloud provider itself, which configures enable-aggregator-routing by default. This makes the masters to bypass the service and communicate straight to the POD (instead doing so by kube-proxy) and so, firewall doing its job not allowing port 8080
When sealed-secrets-web asks (to kubernetes svc) for the sealed-secret service, k8s API server tries to reach pod:port and gets a timeout. This leaves sealed-secret-web hanging for the reply, until the probes eagerly kill it.
In my case, what gave me more clues, was to completely remove the probes. This allowed sealed-secret-web to reach timeout on its call, and then did show more logs about issues fetching cert at sealed-secret service.
You may do that test too. Also, check api-server logs on cloudwatch, they may show something
good luck :)

I saw this from kubeseal, so i guess it is using kubeseal the kube-api to reach it, so now it is more clear.. so i guess sealed-secret-webs it is also using it
xx~/repos/azuredevops/vcs-k8s-core-services$ kubeseal --fetch-cert -v 10000 --controller-name sealed-secrets-tst-blue --controller-namespace ca43-sealed-secrets
I1114 11:04:53.963521 1365445 loader.go:373] Config loaded from file:  /xx/tst-blue-se-admin.yaml
I1114 11:04:53.964187 1365445 round_trippers.go:466] curl -v -XGET  -H "Accept: application/x-pem-file, */*" -H "User-Agent: kubeseal/v0.0.0 (linux/amd64) kubernetes/$Format" 'https://apiserver.xx:6443/api/v1/namespaces/ca43-sealed-secrets/services/sealed-secrets-tst-blue'
I1114 11:04:53.965330 1365445 round_trippers.go:495] HTTP Trace: DNS Lookup for apiserver.xx resolved to [{<IP_ADDRESS> }]
I1114 11:04:53.999798 1365445 round_trippers.go:510] HTTP Trace: Dial to tcp:<IP_ADDRESS>:6443 succeed
I1114 11:04:54.078084 1365445 round_trippers.go:553] GET https://apiserver.xx:6443/api/v1/namespaces/ca43-sealed-secrets/services/sealed-secrets-tst-blue 404 Not Found in 113 milliseconds
I1114 11:04:54.078108 1365445 round_trippers.go:570] HTTP Statistics: DNSLookup 1 ms Dial 34 ms TLSHandshake 41 ms ServerProcessing 36 ms Duration 113 ms
I1114 11:04:54.078125 1365445 round_trippers.go:577] Response Headers:
I1114 11:04:54.078136 1365445 round_trippers.go:580]     X-Kubernetes-Pf-Flowschema-Uid: 1be80338-af35-4704-9e35-f6b677195c12
I1114 11:04:54.078146 1365445 round_trippers.go:580]     X-Kubernetes-Pf-Prioritylevel-Uid: 16ae5c5c-d5f0-4bb0-a55c-5ac26eac1fda
I1114 11:04:54.078156 1365445 round_trippers.go:580]     Content-Length: 222
I1114 11:04:54.078163 1365445 round_trippers.go:580]     Date: Tue, 14 Nov 2023 10:04:54 GMT
I1114 11:04:54.078172 1365445 round_trippers.go:580]     Audit-Id: 58bb163a-8ff1-4579-a13e-4a668ad2dd8e
I1114 11:04:54.078182 1365445 round_trippers.go:580]     Cache-Control: no-cache, private
I1114 11:04:54.078191 1365445 round_trippers.go:580]     Content-Type: application/json
I1114 11:04:54.078224 1365445 request.go:1188] Response Body: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"services \"sealed-secrets-tst-blue\" not found","reason":"NotFound","details":{"name":"sealed-secrets-tst-blue","kind":"services"},"code":404}
error: cannot get sealed secret service: services "sealed-secrets-tst-blue" not found.
Please, use the flag --controller-name and --controller-namespace to set up the name and namespace of the sealed secrets controller

i have something to check and fix :)

sealed secrets web is using the api of sealed secrets via it's service to seal / unseal the secrets. Hence it needs to be able to connect to this service. Service information (sealedSecrets.serviceName, sealedSecrets.namespace) can be configured in the helm chart. See https://artifacthub.io/packages/helm/bakito/sealed-secrets-web

Yes, im using internal service but still having same issue like kubeseal reaching the kube-apiserver.
deployment:

  env:
    sealedSecretsControllerNamespace: ca43-sealed-secrets
    sealedSecretsControllerName: sealed-secrets-tst-blue-se

sealedSecrets:
  # -- Namespace of the sealed secrets service
  namespace: ca43-sealed-secrets
  # -- Name of the sealed secrets service
  serviceName: sealed-secrets-tst-blue-se

kubectl get svc -n ca43-sealed-secrets
NAME                             TYPE        CLUSTER-IP      EXTERNAL-IP   PORT(S)    AGE
sealed-secrets-tst-blue-se       ClusterIP   <IP_ADDRESS>   <none>        8080/TCP   98d
sealed-secrets-web-tst-blue-se   ClusterIP   <IP_ADDRESS>    <none>        5080/TCP   20h

$ kubectl get endpoints -n ca43-sealed-secrets
NAME                             ENDPOINTS            AGE
sealed-secrets-tst-blue-se       <IP_ADDRESS>:8080   135m
sealed-secrets-web-tst-blue-se                        136m

but pod still having issue
2023/11/14 10:40:50 Connection to sealed secrets with (Namespace: ca43-sealed-secrets / ServiceName: sealed-secrets-tst-blue-se)2023/11/14 10:41:20 Setup sealer: cannot fetch certificate: error trying to reach service: dial tcp <IP_ADDRESS>:8080: i/o timeout

So for me the binary for sealed-secrets-web it is using kube-apiserver instead of internal api of sealed-secrets, i do not have any issue with sealed-secrets, im able to seal everything..
Looks like or binary is using api from outsiude or i have another issue.. but no networkpolicy at all from my side.
Regards
Rino

@bakito Im just enable ingress to fetch the certificate,
but not sure how i need to add the correct value for env
flag provided but not defined: -sealed-secrets-cert-url https://ss.xxx/v1/cert.pemUsage of /opt/go/sealed-secrets-web:  -config string    	Define the config file

what was the fix for this? @bobbykim-nsuslab i am also having this issue on eks 1.28


[Feature][Connector-V2-Hive] Add parquet file format support to Hive Sink

Purpose of this pull request

Check list

[ ] Code changed are covered with tests, or it does not need tests for reason:
[ ] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/incubator-seatunnel/tree/dev/docs

Is it ok to just declare parquet in config? Has the rest of the work been done?

Hi @EricJoy2048 PTAL.

Is it ok to just declare parquet in config? Has the rest of the work been done?

yup,We have implemented the PARQUET file whiter of the File type


[WIP]: Split dns resolver implementation for main thread and filter

For an explanation of how to fill out the fields, please see the relevant section
in PULL_REQUESTS.md
Commit Message: This is part of the effort to remove C++ exception from data plane by adding assertion that the code is executed in main thread when an exception is caught.(#14320) Currently we can't add main thread assertion because dns resolver is used in both main thread and dns filter. This pr split the implementation for main thread and filter so that we can add main thread assertion to the exception catching code in core codebase.
Additional Description:
Risk Level: low
Testing: modify dns filter test to reflect the new change
Docs Changes:none
Release Notes:none
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Deprecated:]
[Optional API Considerations:]

/assign-from @envoyproxy/first-pass-reviewers

I think @chaoqin-li1123 meant for this to be a draft to share with me.

/wait-any

I plan to change the error propagation and not to use C++ exception here, int the code path I only find two places that might throw, the getAddressWithPort() function, we can change it to return nullptr upon failure.

I plan to change the error propagation and not to use C++ exception here, int the code path I only find two places that might throw, the getAddressWithPort() function, we can change this function to return nullptr upon failure. WDYT? @mattklein123

I'm not sure. I think this may be much more complicated as I think callbacks can kick off more configuration loads, etc. I'm not sure if these things can throw or not. We can give it a shot, as it certainly would be optimal to remove any throwing from the callbacks.

I plan to change the error propagation and not to use C++ exception here, int the code path I only find two places that might throw, the getAddressWithPort() function, we can change this function to return nullptr upon failure. WDYT? @mattklein123

I'm not sure. I think this may be much more complicated as I think callbacks can kick off more configuration loads, etc. I'm not sure if these things can throw or not. We can give it a shot, as it certainly would be optimal to remove any throwing from the callbacks.

let's give it a shot.

Closed this pull request as the try catch can be removed by refactoring the constructor of Ipv4Instance and Ipv6instance to be not throw.(#16122)


Extern section is partially missing symbols, has gaps

Version and Platform (required):

Binary Ninja Version: 4.2.5794
OS: macOS 14 Sonoma, M2

Bug Description:
While glancing through a Binary, I noticed there were some tokens that should've been extern rewrites instead holding only addresses.

Upon further inspection, it appears that there are entirely missing externs. While the symbol seems present, it appears a DataVariable was not defined.

Binary:
Calculator.armv7.iOS6.zip

Need someone to have a closer look to decide what is actually going wrong

I bet there is an edge case were we're not creating the extern data variables for the extern section.

I've figured out what the bug is here. The item before is a structure of a given size this is causing us to delete the data variable afterward because it overlaps. Looks like we need some additional special casing.


Please add a license file

I'd like to add this to awesome-zsh-plugins, but it doesn't have a license file.
Please add a license file - if you don't have one in mind,  I recommend using choosealicense.com to help choose an appropriate one.
Thanks!

@unixorn thanks for adding me to that list and for the reminder to add a license! That's done.

@unixorn Since there's already an aws-vault plugin on that list, let me rename this one to make it clearer what the difference is.

You don't need to rename if you don't want to, I have a standard for dealing with duplicate names
- [fooo (authora)](https://github/authora/foo) - blah
- [fooo (authorb)](https://github/authorb/foo-zsh) - blah

If you do decide to rename though, it's better to rename the repository in settings instead of deleting it and recreating it with a new name. If you rename the repo, github will redirect people automagically to the new name, otherwise links just break.
Let me know what you decide either in a comment here or by filing a PR against the list.


CoreDNS Blog - remove the mention to survey

The Survey for feedback on CoreDNS is about to close.
Removing the corresponding chapter I added with that PR : https://github.com/kubernetes/website/pull/9731

/cc @neolit123 @kbarnard10

/approve
/lgtm

/approve

/approve


Merged PHP7 and PHP5 code

This is the first step to merge the PHP5 and PHP7 code to ease the maintaining. I've tested it locally on 5.6 and 7.1.
The next step is to separate some of version-specific functions back to different files to make it more readable.

This still needs some fixes for PHP 5. I will review the changes and fix this.
@hnw from what I see, Travis CI marked my build as passed even when all tests were skipped.

This should also fix #30

The support of PHP 5.6 was ended the 19 Jan 2017.
The security support end the 31 Dec 2018.
I think that it is a bad idea to merge the 5 & 7.

@hnw Can you review this again?

Ping @hnw :)


Add export space link to documentation

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


add XSLT 3.0 support #9

add XSLT 3.0 support
add unit test for XSLT 3.0 support
fail test suite if compilation error
fix relative path

I added XSLT 3.0 support by using the patch provided in https://github.com/expath/xspec/pull/74 by @cmarchand. However, I only amended the following part in generate-xspec-tests.xsl:
<stylesheet version="{( @xslt-version, '2.0' )[1]}" exclude-result-prefixes="pkg impl">

and did not remove other parts of the code as suggested in the pull request submitted to the main XSpec project.
I added a unit test that checks support for XSLT 3.0 by using an XPath 3.0 instruction (namely let). I also fixed a relative path in a unit test and make the test suite fail should a compilation error occur.


Replace catalyst with shadcn-ui

If a specific project grows, one can add back catalyst for better accessibility.
Right now, I am replacing all the catalyst components used by django-base with shadcn components. The current rough spot is forms.
Once complete, I'll merge to gavel. Use v0 and blocks to generate that UI. Holding off merging to ion until after the holidays. Maybe I should merge and test but not deploy.

Current status: Updated this repo, but playwright is failing.

Current status: ready to merge to ion once holiday cards are done. but we'll need to update fedora at the same time.


generate random fund_id if not defined

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 4 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.002%) to 2.067%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

vitup/src/config/static_data.rs
0
4
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.002%

Covered Lines:
86

Relevant Lines:
4161

💛  - Coveralls


fix for styling issue on dropDown component and added small class for buttons component

fixes #58

+1

+1


Add colour contrast test

Test that all organisation colours have a contrast ratio of 4.5 or greater against white. Error when contrast too low.

Protects against poor colour choices in future
Use sass-color-helpers to provide contrast function
https://github.com/voxpelli/sass-color-helpers
Only include colour helpers when in dev, don't package with gem
Store sass test in same directory as generated sass test file
Confirms that all current colours have good contrast ratio
Confirms that old DEFRA colour was poor contrast ratio

Fixes #316
Example failing test:
https://travis-ci.org/alphagov/govuk_frontend_toolkit/builds/193155272
Error: Contrast ratio for department-for-environment-food-rural-affairs too low.
#00a33b on #fff has a contrast of: 3.3. Must be higher than 4.5 for WCAG AA support
        on line 10 of spec/stylesheets/_colour_contrast_spec.scss
        from line 18 of ./spec/stylesheets/test.scss

cc @robinwhittleton @nickcolley @edwardhorsford
Thanks to @voxpelli for making this easy!

This is really cool! Thanks @fofr!

hey @fofr this is a great idea. can we also run the contrast test against black/text colour to make sure the colour is suitable for links

Talking with @accessiblewebuk he points out that if you're going to use colour alone to indicate a link, it should have 3:1 against text colour.

If you indicate link text by colour alone then it needs to contrast with the other text by at least 3:1 - the real difficulty is that both texts need to contrast with the background by at least 4.5:1
see https://www.w3.org/TR/2016/NOTE-WCAG20-TECHS-20161007/G183

You can get around the "indicating by colour alone" by making the link text bold compared to surrounding text and/or underlining it.

@accessiblewebuk true but text styles like bold and underline can be contextually inappropriate in things like long, nested navigation pages etc (which GOV.UK has quite a lot of)
as we're implementing something that gives hard yes/no for accessibility it would be good to make sure it is actually accessible for those use-cases

@markhurrell Good call on the other colours we use. I think that'd be a separate PR.

@edwardhorsford @markhurrell @accessiblewebuk Want to raise an issue discussing how to do link-colour contrast checking? It's an interesting point – I'm sure some of these organisation colours, used for links, don't have a 3:1 ratio with black.

@markhurrell You could do it as a warn rather than error so that it doesn't give a hard no.

@markhurrell - do you have some examples of different use cases? Navigation normally has other contextual information like it is in a list, or in blocks. The 3.1 is mainly to do with text links embedded in body copy. I don't know the maths but there are probably only a very narrow range of combinations of three colours that work (text, link text and background).

Looks good to me 👍


Define moduli functions that are safe for the user and well documented

I think we should make the moduli functions m.G, m.Ga, m.J, etc internal and create user-friendly methods to access them, except internally in Rheos where efficiency matters.
Proposal:

If m::RheoModel

relaxmod(m,t) --> m.G(t)
relaxmod(m,a) --> Ja(m)(t)
relaxmod(m) returns a function calling m.G or _Ga(m) depending on the type of its input:
relaxmod(m) = x -> relaxmod(m,x)

If m::RheoModelClass

relaxmod(m, t; kwa...)
relaxmod(m, a ; kwa...)
relaxmod(m; kwa...)
Other moduli:   creepmod(), dynamicmod()  --> complex array by default, storagemod and lossmod for real and imaginary parts.
I think we need longer and explicit names since symbols G and J may clash with other libs and user codes.
I also propose to rename the FW functions into something less user friendly (e.g. m._G and _Ga() ) to show that these are designed as internal functions.
The test functions would only use the user level functions so that we don't need to export _Ga and _Ja.
So far in the doc we haven't used these functions much.

I agree this is nice, but worth considering, if in the (very) long term, the functionwrappers library issue is not resolved and we decide go down the keyword arguments route for moduli we may not need these? (if there main advantage is being able to call using keyword arguments for parameters)

Thanks Louis.
Regardless of the function wrapper issue, I think it is not really in the spirit of julia to have something that looks like an OO member function, so I'd keep the functions above as the documented approach. This also protects us from making changes that would break user code when we resolve the function wrapper situation one way or another. Since the moduli function would take keyword arguments already, it would make it even easier. Do you agree Louis?

Yes that makes sense, so if we do eventually go KW route the above functions can simply be a thin wrapper on top of them. Eitherway, I like the plan! The less OO methods lookalike the better :+1:

Great, we got a plan then! I'll deal with it in the next few days I think. We have a new dev branch, so I'll be there.

Working on this, I realised that I am not naming properly J. The creep modulus should be 1/J, and obviously have the unit of a pressure! It seems that J should be called creep compliance (or compliance function, but I don't like that name as it makes no reference to creep...).

Are we OK to rename creepmod as creepcomp?
Do we have a need for a function creepmod that returns 1/J? My guess is no.

I often use creep modulus/compliance interchangebly, didn't even consider it, but yes seems like the right move to use creepcomp instead of creepmod!
https://www.oxfordreference.com/view/10.1093/acref/9780198832102.001.0001/acref-9780198832102-e-1193?rskey=Z5oDSc&result=19

OK, thanks. done.


getting this error when trying to install bpy

C:\Users\Hamender Kumar>pip install bpy==1.2.2
Collecting bpy==1.2.2
Downloading https://files.pythonhosted.org/packages/92/86/de6e0d9e57fcdac81089f4fb8cebc8e17f62718d2b26e57fade5fe344055/bpy-1.2.2.tar.gz
ERROR: Command errored out with exit status 1:
command: 'c:\users\hamender kumar\appdata\local\programs\python\python38\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Hamender Kumar\AppData\Local\Temp\pip-install-z8dzem3t\bpy\setup.py'"'"'; file='"'"'C:\Users\Hamender Kumar\AppData\Local\Temp\pip-install-z8dzem3t\bpy\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\Hamender Kumar\AppData\Local\Temp\pip-install-z8dzem3t\bpy\pip-egg-info'
cwd: C:\Users\Hamender Kumar\AppData\Local\Temp\pip-install-z8dzem3t\bpy
Complete output (164 lines):
Traceback (most recent call last):
File "c:\users\hamender kumar\appdata\local\programs\python\python38\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "c:\users\hamender kumar\appdata\local\programs\python\python38\lib\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "c:\users\hamender kumar\appdata\local\programs\python\python38\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "c:\users\hamender kumar\appdata\local\programs\python\python38\lib\site-packages\setuptools\command\bdist_egg.py", line 172, in run
cmd = self.call_command('install_lib', warn_dir=0)
File "c:\users\hamender kumar\appdata\local\programs\python\python38\lib\site-packages\setuptools\command\bdist_egg.py", line 158, in call_command
self.run_command(cmdname)
File "c:\users\hamender kumar\appdata\local\programs\python\python38\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "c:\users\hamender kumar\appdata\local\programs\python\python38\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "c:\users\hamender kumar\appdata\local\programs\python\python38\lib\site-packages\setuptools\command\install_lib.py", line 11, in run
self.build()
File "c:\users\hamender kumar\appdata\local\programs\python\python38\lib\distutils\command\install_lib.py", line 105, in build
self.run_command('build_py')
File "c:\users\hamender kumar\appdata\local\programs\python\python38\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "c:\users\hamender kumar\appdata\local\programs\python\python38\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "c:\users\hamender kumar\appdata\local\programs\python\python38\lib\site-packages\setuptools\command\build_py.py", line 52, in run
self.build_packages()
File "c:\users\hamender kumar\appdata\local\programs\python\python38\lib\distutils\command\build_py.py", line 372, in build_packages
self.build_module(module, module_file, package)
File "c:\users\hamender kumar\appdata\local\programs\python\python38\lib\site-packages\setuptools\command\build_py.py", line 74, in build_module
outfile, copied = orig.build_py.build_module(self, module, module_file,
File "c:\users\hamender kumar\appdata\local\programs\python\python38\lib\distutils\command\build_py.py", line 342, in build_module
self.mkpath(dir)
File "c:\users\hamender kumar\appdata\local\programs\python\python38\lib\distutils\cmd.py", line 338, in mkpath
dir_util.mkpath(name, mode, dry_run=self.dry_run)
File "c:\users\hamender kumar\appdata\local\programs\python\python38\lib\distutils\dir_util.py", line 70, in mkpath
os.mkdir(head, mode)
File "c:\users\hamender kumar\appdata\local\programs\python\python38\lib\site-packages\setuptools\sandbox.py", line 310, in wrap
path = self._remap_input(name, path, *args, **kw)
File "c:\users\hamender kumar\appdata\local\programs\python\python38\lib\site-packages\setuptools\sandbox.py", line 452, in _remap_input
self._violation(operation, os.path.realpath(path), *args, **kw)
File "c:\users\hamender kumar\appdata\local\programs\python\python38\lib\site-packages\setuptools\sandbox.py", line 407, in _violation
raise SandboxViolation(operation, args, kw)
setuptools.sandbox.SandboxViolation: SandboxViolation: mkdir('C:\Users\HAMEND~1\AppData\Local\Temp\easy_install-48niitrn\svn-0.3.46\build', 511) {}
The package setup script has attempted to modify files on your system
that are not within the EasyInstall build area, and has been aborted.

This package cannot be safely installed by EasyInstall, and may not
support alternate installation locations even if you run its setup
script by hand.  Please inform the package's author and the EasyInstall
maintainers to find out if a fix or workaround is available.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "c:\users\hamender kumar\appdata\local\programs\python\python38\lib\site-packages\setuptools\sandbox.py", line 154, in save_modules
    yield saved
  File "c:\users\hamender kumar\appdata\local\programs\python\python38\lib\site-packages\setuptools\sandbox.py", line 195, in setup_context
    yield
  File "c:\users\hamender kumar\appdata\local\programs\python\python38\lib\site-packages\setuptools\sandbox.py", line 250, in run_setup
    _execfile(setup_script, ns)
  File "c:\users\hamender kumar\appdata\local\programs\python\python38\lib\site-packages\setuptools\sandbox.py", line 45, in _execfile
    exec(code, globals, locals)
  File "C:\Users\HAMEND~1\AppData\Local\Temp\easy_install-48niitrn\svn-0.3.46\setup.py", line 14, in <module>
    import sys
  File "c:\users\hamender kumar\appdata\local\programs\python\python38\lib\site-packages\setuptools\__init__.py", line 145, in setup
    return distutils.core.setup(**attrs)
  File "c:\users\hamender kumar\appdata\local\programs\python\python38\lib\distutils\core.py", line 163, in setup
    raise SystemExit("error: " + str(msg))
SystemExit: error: SandboxViolation: mkdir('C:\\Users\\HAMEND~1\\AppData\\Local\\Temp\\easy_install-48niitrn\\svn-0.3.46\\build', 511) {}

The package setup script has attempted to modify files on your system
that are not within the EasyInstall build area, and has been aborted.

This package cannot be safely installed by EasyInstall, and may not
support alternate installation locations even if you run its setup
script by hand.  Please inform the package's author and the EasyInstall
maintainers to find out if a fix or workaround is available.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "c:\users\hamender kumar\appdata\local\programs\python\python38\lib\site-packages\setuptools\command\easy_install.py", line 1144, in run_setup
    run_setup(setup_script, args)
  File "c:\users\hamender kumar\appdata\local\programs\python\python38\lib\site-packages\setuptools\sandbox.py", line 253, in run_setup
    raise
  File "c:\users\hamender kumar\appdata\local\programs\python\python38\lib\contextlib.py", line 131, in __exit__
    self.gen.throw(type, value, traceback)
  File "c:\users\hamender kumar\appdata\local\programs\python\python38\lib\site-packages\setuptools\sandbox.py", line 195, in setup_context
    yield
  File "c:\users\hamender kumar\appdata\local\programs\python\python38\lib\contextlib.py", line 131, in __exit__
    self.gen.throw(type, value, traceback)
  File "c:\users\hamender kumar\appdata\local\programs\python\python38\lib\site-packages\setuptools\sandbox.py", line 166, in save_modules
    saved_exc.resume()
  File "c:\users\hamender kumar\appdata\local\programs\python\python38\lib\site-packages\setuptools\sandbox.py", line 141, in resume
    six.reraise(type, exc, self._tb)
  File "c:\users\hamender kumar\appdata\local\programs\python\python38\lib\site-packages\setuptools\_vendor\six.py", line 685, in reraise
    raise value.with_traceback(tb)
  File "c:\users\hamender kumar\appdata\local\programs\python\python38\lib\site-packages\setuptools\sandbox.py", line 154, in save_modules
    yield saved
  File "c:\users\hamender kumar\appdata\local\programs\python\python38\lib\site-packages\setuptools\sandbox.py", line 195, in setup_context
    yield
  File "c:\users\hamender kumar\appdata\local\programs\python\python38\lib\site-packages\setuptools\sandbox.py", line 250, in run_setup
    _execfile(setup_script, ns)
  File "c:\users\hamender kumar\appdata\local\programs\python\python38\lib\site-packages\setuptools\sandbox.py", line 45, in _execfile
    exec(code, globals, locals)
  File "C:\Users\HAMEND~1\AppData\Local\Temp\easy_install-48niitrn\svn-0.3.46\setup.py", line 14, in <module>
    import sys
  File "c:\users\hamender kumar\appdata\local\programs\python\python38\lib\site-packages\setuptools\__init__.py", line 145, in setup
    return distutils.core.setup(**attrs)
  File "c:\users\hamender kumar\appdata\local\programs\python\python38\lib\distutils\core.py", line 163, in setup
    raise SystemExit("error: " + str(msg))
SystemExit: error: SandboxViolation: mkdir('C:\\Users\\HAMEND~1\\AppData\\Local\\Temp\\easy_install-48niitrn\\svn-0.3.46\\build', 511) {}

The package setup script has attempted to modify files on your system
that are not within the EasyInstall build area, and has been aborted.

This package cannot be safely installed by EasyInstall, and may not
support alternate installation locations even if you run its setup
script by hand.  Please inform the package's author and the EasyInstall
maintainers to find out if a fix or workaround is available.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Users\Hamender Kumar\AppData\Local\Temp\pip-install-z8dzem3t\bpy\setup.py", line 404, in <module>
    setup(name='bpy',
  File "c:\users\hamender kumar\appdata\local\programs\python\python38\lib\site-packages\setuptools\__init__.py", line 144, in setup
    _install_setup_requires(attrs)
  File "c:\users\hamender kumar\appdata\local\programs\python\python38\lib\site-packages\setuptools\__init__.py", line 139, in _install_setup_requires
    dist.fetch_build_eggs(dist.setup_requires)
  File "c:\users\hamender kumar\appdata\local\programs\python\python38\lib\site-packages\setuptools\dist.py", line 716, in fetch_build_eggs
    resolved_dists = pkg_resources.working_set.resolve(
  File "c:\users\hamender kumar\appdata\local\programs\python\python38\lib\site-packages\pkg_resources\__init__.py", line 780, in resolve
    dist = best[req.key] = env.best_match(
  File "c:\users\hamender kumar\appdata\local\programs\python\python38\lib\site-packages\pkg_resources\__init__.py", line 1065, in best_match
    return self.obtain(req, installer)
  File "c:\users\hamender kumar\appdata\local\programs\python\python38\lib\site-packages\pkg_resources\__init__.py", line 1077, in obtain
    return installer(requirement)
  File "c:\users\hamender kumar\appdata\local\programs\python\python38\lib\site-packages\setuptools\dist.py", line 786, in fetch_build_egg
    return cmd.easy_install(req)
  File "c:\users\hamender kumar\appdata\local\programs\python\python38\lib\site-packages\setuptools\command\easy_install.py", line 679, in easy_install
    return self.install_item(spec, dist.location, tmpdir, deps)
  File "c:\users\hamender kumar\appdata\local\programs\python\python38\lib\site-packages\setuptools\command\easy_install.py", line 705, in install_item
    dists = self.install_eggs(spec, download, tmpdir)
  File "c:\users\hamender kumar\appdata\local\programs\python\python38\lib\site-packages\setuptools\command\easy_install.py", line 890, in install_eggs
    return self.build_and_install(setup_script, setup_base)
  File "c:\users\hamender kumar\appdata\local\programs\python\python38\lib\site-packages\setuptools\command\easy_install.py", line 1158, in build_and_install
    self.run_setup(setup_script, setup_base, args)
  File "c:\users\hamender kumar\appdata\local\programs\python\python38\lib\site-packages\setuptools\command\easy_install.py", line 1146, in run_setup
    raise DistutilsError("Setup script exited with %s" % (v.args[0],))
distutils.errors.DistutilsError: Setup script exited with error: SandboxViolation: mkdir('C:\\Users\\HAMEND~1\\AppData\\Local\\Temp\\easy_install-48niitrn\\svn-0.3.46\\build', 511) {}

The package setup script has attempted to modify files on your system
that are not within the EasyInstall build area, and has been aborted.

This package cannot be safely installed by EasyInstall, and may not
support alternate installation locations even if you run its setup
script by hand.  Please inform the package's author and the EasyInstall
maintainers to find out if a fix or workaround is available.

----------------------------------------

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output

Thanks for the report, but this isn't the place for it. This tracker is only for issues with the software that runs pypi.org itself. It cannot help with packages distributed from there. You'll need to contact the maintainers of the package you're trying to install.
Based on the project page at https://pypi.org/project/bpy/ you can contact them at https://github.com/TylerGubala/blenderpy


[build-script] Make libdispatch available to TestFoundation and XCTest tests if built

What's in this pull request?
We currently working on enabling libdispatch to be used by Foundation and installed into the toolchain. When this happens, the downstream dependencies also need access to libdispatch at build time (before its installed into the toolchain). This has been enabled already for Foundation, XCTest and Swift PM, but also needs to be done for TestFoundation and the XCTest function tests.
Resolved bug number: (SR-)
N/A

Before merging this pull request to apple/swift repository:

[ ] Test pull request on Swift continuous integration.

Triggering Swift CI
The swift-ci is triggered by writing a comment on this PR addressed to the GitHub user @swift-ci. Different tests will run depending on the specific comment that you use. The currently available comments are:
Smoke Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please smoke test
    All supported platforms     | @swift-ci Please smoke test and merge
    OS X platform               | @swift-ci Please smoke test OS X platform
    Linux platform              | @swift-ci Please smoke test Linux platform

Validation Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please test
    All supported platforms     | @swift-ci Please test and merge
    OS X platform               | @swift-ci Please test OS X platform
    OS X platform               | @swift-ci Please benchmark
    Linux platform              | @swift-ci Please test Linux platform

Lint Testing
    Language     | Comment
    ------------ | -------------
    Python       | @swift-ci Please Python lint

Note: Only members of the Apple organization can trigger swift-ci.

@swift-ci please test

This looks good to me, passes tests, and is a fairly small change to the build system -- going to go ahead and merge it without waiting for any further input. 🙇


Causes ModuleNotFoundError error in PyCharm

Steps to recreate:

Create a project (Proj1) in PyCharm with a new venv.  Create module and script (temp.t1.py) that creates a method
Create another project (Proj2) in PyCharm and attach it using the same venv as Proj1.
Create a script in Proj2 that imports the method
Run method and confirm that it works
Enable EnvFile in Configurations and rerun to see:

    from temp.t1 import print_hello
ModuleNotFoundError: No module named 'temp'

This error is new as of today
PyCharm 2023.1.4 (Professional Edition)

I believe I'm also seeing this error, though not in as concisely tested a module: the behavior which I am seeing is that when EnvFile is enabled, python seems to lose awareness of the project source roots.  The configured source roots are visible in os.environ['PYTHONPATH'] and sys.path, but do not seem to be traversed by Python when looking for modules (ModuleNotFoundError).  Disabling/unchecking EnvFile resolves this issue (but doesn't allow the convenient import of envfile variables)