Release v0.11.0

Bump master to v0.12.0-pre.  Addresses #2064
TODO:

[x] update CHANGELOG.md

Codecov Report

Merging #2071 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #2071   +/-   ##
=======================================
  Coverage   94.82%   94.82%
=======================================
  Files          81       81
  Lines        5280     5280
  Branches      923      923
=======================================
  Hits         5007     5007
  Misses        249      249
  Partials       24       24

Flag
Coverage Δ

#screenshotter
89.67% <ø> (ø)
:arrow_up:

#test
88.56% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

Codecov Report

Merging #2071 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #2071   +/-   ##
=======================================
  Coverage   94.82%   94.82%
=======================================
  Files          81       81
  Lines        5280     5280
  Branches      923      923
=======================================
  Hits         5007     5007
  Misses        249      249
  Partials       24       24

Flag
Coverage Δ

#screenshotter
89.67% <ø> (ø)
:arrow_up:

#test
88.56% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

@edemaine thanks for the review.  I'll will make those changes before merging.

Thanks @kevinbarabash for putting together this release! It's always fun to see how far we've come.


generalize pre and post ++ and -- operators to arbitrary types

From @bob-carpenter on November 30, 2016 22:29
Summary:
Write new functions:

pre_plus_plus
post_plus_plus
pre_minus_minus
post_minus_minus

or even better, figure out how to implement appropriate operator++ and operator-- functions.
This will support the Stan language issue https://github.com/stan-dev/stan/issues/2152
This should be done only for integers in the language despite it being implemented for floating point in the library.
Description:
The solution is pretty generic:
template <typename T>
inline T& plus_plus_pre(T& x) {
  x = plus(x, 1);
  return x;
}

template <typename T>
inline T& plus_plus_post(T& x) {
  T x_copy = x;
  x = plus(x, 1);
  return x_copy;
}

It might lead to faster code if we specialize for scalars:
inline double& plus_plus_post<double>(double& x) {
  return x++;
}

Current Version:
v2.13.0
Copied from original issue: stan-dev/math#462

fixed with #2175


Add some widget stories for storybook

@sneridagh I've added some more stories. We could avoid the ugly tree navigation Storybook generates if we rename each named export from Default to whatever the navtitle is defined in the story. For example, for the email widget story, if we rename Default to Email, it would generate a single Email entry in the nav, instead of having Email > Default as nav tree. I thought to leave it like it is, with the Default, to encourage adding additional stories.
The Query widget story doesn't work, I'll leave it to be fixed another time. The array and select widgets don't work, but I think you're covering them in another PR.

The selects are fixed in Giulia's PR. Indeed if a story just have one, we could go with a single item in the tree. Specially if the do not bring anything valuable (like the connected, renderer, etc)

I'll merge this and port the fixes from the selects PR.


stv-vub-huisstijl:0.1.0

I am submitting

[x] a new package
[ ] an update for a package

Description: This template is a recreation of the LaTeX template for VUB thesis's. This template will make it easier for students to write their thesis with Typst instead

I have read and followed the submission guidelines and, in particular, I

[x] selected a name that isn't the most obvious or canonical name for what the package does
[x] added a typst.toml file with all required keys
[x] added a README.md with documentation for my package
[x] have chosen a license and added a LICENSE file or linked one in my README.md
[x] tested my package locally on my system and it worked
[x] excluded PDFs or README images, if any, but not the LICENSE

[x] ensured that my package is licensed such that users can use and distribute the contents of its template directory without restriction, after modifying them through normal use.

Thanks :)


Use a lib for handling the CLI implementation for python

I have noticed that you are using clap for the Rust v2 but have not used anything for the Python v2. Maybe do a python v3 that uses click? https://click.palletsprojects.com/en/8.1.x/

Thanks for suggestion. Yes am aware of click. However, we just intent to keep a small demo-scope, and as such expect the build-in argparse library is already quite sufficient.


For multiline events, use the timestamp of the first event and do not add extra newlines

For multiline events, the events can be buffered and the last time stamp is used which can be several seconds off.  Setting use_first_timestamp true fixes this problem.
In Splunk my multiline events had extra newlines.  This was fixed by adding separator ""  This is because fluentd concat separator default is \n.

Are there questions about this request?  I haven't seen activity this week.

No questions as such, I will need to validate it before merge.


AppVeyor for the CLI?

You seem to be doing a Windows build of core in AppVeyor, which is great. Would it be possible to set up a Windows build of the CLI too? I was gearing up to send a PR for safer file replace as discussed earlier and that would work differently on Windows due to differences between the Windows and Unix file system APIs.

Great idea! Definitely want more official Windows support 🎉 .


Adds hopper extraction for the item display block

awesome!! out of curiosity, what is canPlayerUse used for?

It's a required method of the Inventory interface

ah so it's not actually functional here?

ah so it's not actually functional here?

Pretty much no, I think it's used by code that handles locking containers, and thus should always be false for the item display block


This functionality is not implemented in the portable version of this assembly.  You should reference the NuGet package from your main application project in order to reference the platform-specific implementation

Hi @jamesmontemagno
I am getting following error while executing await CrossTextToSpeech.Current.Speak(text);. Am I missing anything?
System.NotImplementedException: This functionality is not implemented in the portable version of this assembly.  You should reference the NuGet package from your main application project in order to reference the platform-specific implementation.
at Plugin.TextToSpeech.CrossTextToSpeech.get_Current () [0x00012]

Please ensure that you install the package into your main applications for ios/android


feat(rpc)!: add support for Google's new RPC-based request mechanism

:tada: Happy to announce the long-awaited release of such stable Googletrans that responds to the new Google's RPC-based request mechanism. This introduces possibly backward-incompatible API changes and have the following changes:

Translator.translate will no longer return some extra data.
confidence is currently not available.
The existing methods and classes such as translate, detect are marked as legacy because they are considered unstable and will be phased out.
This should be a fairly stable version that fixes #234.

I'm planning to publish this PR as Release Candidate to PyPI starting with v4.0.0-rc1. As such use this at your own risk.
>>> __import__('googletrans').Translator().translate('안녕하세요. 반가워요!', dest='zh-cn').__dict__()
{'src': 'ko', 'dest': 'zh-cn', 'origin': '안녕하세요. 반가워요!', 'text': '你好。很高兴见到你！', 'pronunciation': 'Nǐ hǎo. Hěn gāoxìng jiàn dào nǐ!', 'extra_data': {'confidence': None, 'parts': [<googletrans.models.TranslatedPart object at 0x106302e80>, <googletrans.models.TranslatedPart object at 0x106302670>], 'origin_pronunciation': 'annyeonghaseyo. bangawoyo!', 'parsed': [['annyeonghaseyo. bangawoyo!', None, 'ko', [[[0, [[[None, 6]], [True]]], [1, [[[None, 7], [7, 12]], [False, True]]]], 12]], [[[None, 'Nǐ hǎo. Hěn gāoxìng jiàn dào nǐ!', None, None, None, [['你好。', ['你好。', '您好。', '你好']], ['很高兴见到你！', ['很高兴见到你！', '很高兴认识你！'], True]]]], 'zh-cn', 1, 'auto'], 'ko']}, 'parts': [{'text': '你好。', 'candidates': ['你好。', '您好。', '你好']}, {'text': '很高兴见到你！', 'candidates': ['很高兴见到你！', '很高兴认识你！']}]}

>>> __import__('googletrans').Translator().translate('안녕하세요. 반가워요!', dest='en').__dict__()
{'src': 'ko', 'dest': 'en', 'origin': '안녕하세요. 반가워요!', 'text': 'Hello. Nice to meet you!', 'pronunciation': None, 'extra_data': {'confidence': None, 'parts': [<googletrans.models.TranslatedPart object at 0x10632e8b0>, <googletrans.models.TranslatedPart object at 0x10632e0d0>], 'origin_pronunciation': 'annyeonghaseyo. bangawoyo!', 'parsed': [['annyeonghaseyo. bangawoyo!', None, 'ko', [[[0, [[[None, 6]], [True]]], [1, [[[None, 7], [7, 12]], [False, True]]]], 12]], [[[None, None, None, True, None, [['Hello.', ['Hello.', 'Hi.', 'Good morning.']], ['Nice to meet you!', ['Nice to meet you!'], True]]]], 'en', 1, 'auto'], 'ko']}, 'parts': [{'text': 'Hello.', 'candidates': ['Hello.', 'Hi.', 'Good morning.']}, {'text': 'Nice to meet you!', 'candidates': ['Nice to meet you!']}]}

Coverage decreased (-36.6%) to 54.667% when pulling 28b85a807ddbb919df09fa4a8e7cef2fdde9f30c on feature/rpc into 4f7c0798fe6b235164b47d4542536f562795a419 on master.

Thanks for introducing this, I've not had any issues using the new non-bulk translate method on OSX10.15.6 or AmazonLinux1/2, python 3.6-3.8.
It seems however that the bulk operations are more fiddly with the new RPC mechanism. I tried playing around with the raw requests to see whether this would be possible, but with no luck. Have you had any insights into this?

Any timetable on when this can be finished or what needs to be done? Also, would detecting lamguages still be done with this version of the module?

@ssut

Difference between translate_legacy and translate?


Features/VR Ready HTC Vive Typo

Stride uses a single API for every device, with native support for Oculus and HTVC Vive (more devices coming very soon).

Thanks for notifying. Update the master branch. With next website push this is fixed


Added Deploy to heroku button

Simplified the deploy process
Added app.json
ignore #1 mistakenly pulled to master

Tests failed

I was able to successfully deploy with the button, but tell me when you are ready.

You can merger it now. [also i need little help, how do you prevent idle connection on heroku?]

You'll have to use uptimerobot or statuscake and have them ping your project url. Both are free to sign up and use. Set to 5m pings.


cdock.rb: added caveat

Closes #11030.
Pending confirmation.

Should this be applied to #7690 as well?

The reason this wasn’t applied to wd-drive-utilities is it won’t do the fix for you (unlike this and tunnelblick), i.e. it won’t perform the move itself, so it needs a better solution from our side.


Several minors

Hi,
your code (/usr/sbin/renew_letsencrypt_cert.sh has the following bug:
If your domain consists on 4 parts like host.sub.example.com then the line
dns_domain_name="$(echo ${host} | awk -F. '{OFS="."; print $(NF-1), $NF; }')"
will fail and in this case should be
dns_domain_name="$(echo ${host} | awk -F. '{OFS="."; print $(NF-2),$(NF-1), $NF; }')"
So maybe the evaluation should be changed to something more stable.
Also host is evaluated from a fqdn hostname which is not always the case and maybe has to be corrected, because at least kerberos keytabs are often done with fqdn host/....
We don't use a freeipa integrated dns because our DNS environment is more complicated and is not managable by the freeipa one.  We use nsupdate for zones and then your code maybe work with the following (in our case we are using it in this way):
certbot certonly --manual
--preferred-challenges dns
--manual-public-ip-logging-ok
--manual-auth-hook 'echo -e "server your-dns-server\nupdate delete _acme-challenge.${CERTBOT_DOMAIN} TXT\nupdate add _acme-challenge.${CERTBOT_DOMAIN} 320 IN TXT "${CERTBOT_VALIDATION}"\nsend" | nsupdate -v -y"nsupdate-key"'
${domain_args}
--agree-tos
--email "${email}"
--expand
-n
Regards,
Rudi G.

Thanks for the bug report and sorry for the late reply, GitHub notifications were turned off.

I fixed the code to get the proper domain from the host.
Added a more generic nsupdate implementation including a couple of customization hooks.

Authorization can be set using NSUPDATE_KEY_NAME and NSUPDATE_KEY_SECRET or NSUPDATE_KEY_FILE, the authorization hook itself can be customized using AUTH_HOOK.
If you've got time check out the newly created develop branch and let me know what you think, note that this is untested at this time!

These changes are now merged into master, please test at your own leisure and if you still have issues feel free to re-open this issue.


handleSubmit - ????

I feel like the only lacking thing in the documentation involves handleSubmit. How do we wire this into our own form submission handler?

Disregard


Add barcode/scan icons/optimise/improve metadata

Loosely related to #1344.

It's a violation 😞, but it looks sooooooo good.

Oh no! 😭 Is it really? How?

It's a violation 😞, but it looks sooooooo good.

Oh no! 😭 Is it really? How?

Yeah, I'm afraid the 1px wide rectangles aren't something we have in any other icons, and they don't scale well:

Such a shame! Fixed now anyway… @karsa-mistmere @jguddas

not sure scan is the right word

not sure scan is the right word

@jguddas  It’s the existing naming… What else should it be?


yet another frozen graph support

Hey  there,
I took some ideas from #145 and this issue from @natxopedreira to do some changes to the model class in order to support frozen graphs.
I haven't tested everything but it seemed that these changes don't break other stuff.
@serizba what do u think in general about supporting frozen graphs?

hey @serizba,
just bumbing it up just to check whether it makes sense to support this feature in cppflow2. I do understand it s legacy, but can be useful to some ppl :)

Hi @bytosaur
Sorry. I forgot about this. Yeah, it may be a good idea and it may be helpful. I will give it a look!
Thanks a lot for your effort!

Genial!!!
I found really useful to have old model compatibility support.


Allow maximum size boundaries for panels

Similar to minSizes there should be a maxSizes option that will control the maximum width or height of a panel.
These two options should give people incredible flexibility when managing their layout.

Congratulations on the project! Any release forecast for this feature?

how can i start contributing to open source ,if i am looking at these issues for the first time.


Not working with 5.0

Any errors sent by the sever should be printed, don't hide them, that makes the illusion everything works well while it doesn't.
So now I'm trying to use it against 5.0 and I see it's just not compatible.
./bin/elasticdump --limit 2 --type data --input http://xx:9200/$IDX --output http://xx:9200/
Here's what I see with tcpdump (as I said, no errors thrown by the app - BAD)
PUT /_bulk HTTP/1.1
host: xx:9200
content-length: 4863
Connection: close

{"index":{"_type":"xx","_id":"38D3D7AF-0356-4E0B-9AC2-717D245B27C2.1"}}
{ ...doc ...
}
{"index":{"_type":"xx","_id":"8442A3B7-E260-45B4-A926-2DD446195E67.1"}}
{ ...doc ...
}

HTTP/1.1 400 Bad Request
content-type: application/json; charset=UTF-8
content-length: 273

{"error":{"root_cause":[{"type":"action_request_validation_exception","reason":"Validation Failed: 1: index is missing;2: index is missing;"}],"type":"action_request_validation_exception","reason":"Validation Failed: 1: index is missing;2: index is missing;"},"status":400}

Why index missing? What is going on?

@evantahler why was this closed?


Support Runtime + OS context interfaces

https://github.com/getsentry/raven-ruby/commit/328508505fd4c6ce341b907043142a7eb651b58d


Local image processing

Hello!
Can you add processing "local" images ? Copying (relative and absolute paths) and replacing path in file
For example, files in folders:
1\Test.md
1\_d\1.png
_resources\2.png

Content of Test.md:
![](https://pandoc.org/diagram.jpg)

![](_d/1.png)

![](../_resources/2.png)

and command:
markdown_tool.py Test.md -D -d out -p out -O Test2.md

Produces files:
out\diagram.jpg

and file Test2.md
![](out/diagram.jpg)

![](_d/1.png)

![](../_resources/2.png)

Needed:
out\diagram.jpg
out\1.jpg
out\2.jpg

and file:
![](out/diagram.jpg)

![](out/1.png)

![](out/2.png)

Hello!
I am implement processing local images:
parser.add_argument('-l', '--process-local-images', default=False, action='store_true',
                      help='Process local images')

https://www.dropbox.com/s/sgdpwzhnshstcto/ProcessLocalImagesReplaceNameSHA1.zip?dl=1

Hello.
I think this is a useful feature.
However, it will be better if you would make a pull request via github.

I think this is a useful feature. However, it will be better if you would make a pull request via github.
Unfortunately, I have not yet learned how to use git and upload changes :-(

You can:

Use Github web interface to edit files.
Use crossplatform GUI tools, integrated with github, i.e.:

SmartGit.
Atlassian SourceTree.
Github Desktop.
Any of these.

You can read the basics in the official "ProGit" book, translated to the most common languages.

Merged:

https://github.com/artiomn/markdown_articles_tool/commit/d85d76e269046ca14fc3eb301d563b9636602972
https://github.com/artiomn/markdown_articles_tool/commit/4bf55437d21c3d10f266245124abc72d915c5480

Please, use Git next time.


Swift 3

@maail
Hi thanks for the lib. Unfortunately its unusable in a swift 3 project.
Could you make it swift 3 compatible?
thanks

Hi @otymartin , I sent a pull request with this update, let's wait.
See ya.

@joaotocilo nice thanks :)

@joaotocilo nice work. thanks!
@otymartin sorry was going to get to it soon. But glad @joaotocilo did.


Support wazero.Namespace with gojs

Is your feature request related to a problem? Please describe.
I'd like to be able to run multiple wasm modules concurrently and ideally have them share the compilation cache. I noticed that the docs indicate that a cache directory should only be accessed by a single runtime, but that runtime has the concept of wazero.Namespaces to instantiate and execute independent wasm modules without conflict.
I've figured out how to do this with wasi_snapshot_preview1, where I can build the wasi module with a runtime and Instantiate it into multiple namespaces:
var r wazero.Runtime
var config wazero.ModuleConfig
var module wazero.CompiledModule

ns := r.NewNamespace(ctx)
defer ns.Close(ctx) // todo: errcheck

// wasi_snapshot_preview1
if _, err := wasi_snapshot_preview1.NewBuilder(r).Instantiate(ctx, ns); err != nil {
	return err
}
_, err = ns.InstantiateModule(ctx, module, config)

However for gojs, there's only a Run() method which requires a wazero.Runtime:
// gojs
err = gojs.Run(ctx, r, module, config) // can't use a ns

Describe the solution you'd like
gojs to have a similar builder interface, and support instantiating the module into a namespace:
if _, err := gojs.NewBuilder(r).Instantiate(ctx, ns); err != nil {
	return err
}
_, err = ns.InstantiateModule(ctx, module, config)

Describe alternatives you've considered
I currently have a mutex around my usage of  gojs.Run, which isn't great but does the job for now :). Alternatively I could create new runtimes for each gojs call, but not sharing compilation cache is a big downside.
Additional context
Looking at the code for gojs, I think it should be possible to give it an api surface similar to wasi_snapshot_preview1 to allow using it with namespaces? This would entail some breaking changes (or just new APIs?) so I figured I'd open an issue to ask if making gojs support usage like wasi_snapshot_preview1 makes sense before I look at making a PR!

Good idea.
Note: namespace doesn't allow inheriting modules from the runtime, which means you have to instantiate the host functions each time. I think the following change would do the trick. Want to try and raise a PR if appropriate?
diff --git a/imports/go/gojs.go b/imports/go/gojs.go
index 4d5a7eb8..770ae920 100644
--- a/imports/go/gojs.go
+++ b/imports/go/gojs.go
@@ -62,15 +62,19 @@ func WithRoundTripper(ctx context.Context, rt http.RoundTripper) context.Context
 //     Use experimental.WithCompilationCacheDirName to improve performance.
 //   - Both the host and guest module are closed after being run.
 func Run(ctx context.Context, r wazero.Runtime, compiled wazero.CompiledModule, config wazero.ModuleConfig) error {
+       // Use a namespace so that this can be executed multiple times in the same runtime.
+       ns := r.NewNamespace(ctx)
+       defer ns.Close(ctx)
+
        // Instantiate the imports needed by go-compiled wasm.
-       js, err := hostModuleBuilder(r).Instantiate(ctx, r)
+       js, err := hostModuleBuilder(r).Instantiate(ctx, ns)
        if err != nil {
                return err
        }
        defer js.Close(ctx)

        // Instantiate the module compiled by go, noting it has no init function.
-       mod, err := r.InstantiateModule(ctx, compiled, config)
+       mod, err := ns.InstantiateModule(ctx, compiled, config)
        if err != nil {
                return err
        }

another way would be to not use a namespace and instead instantiate the host functions into the runtime. This would lead to name conflicts when instantiating the guest, so a unique name must be supplied per run. The main reason to do this would be to reduce instantiation cost of the host functions which may not matter because in general the overhead is high on gojs. TL;DR; I think the above diff might be the easiest and best way, but there is another.

actually we could just use an atomic number for the module name, so we could hide it..
@robbertvanginkel if this worked without namespaces would you prefer it?
ex. MustInstantiateGoJS, then gojs.Run (which internally dodges conflict by module name)

I think making this work like the other imports (ex wasi or assemblyscript) is the best way out. I'll raise a PR in the next day or two. Thanks for raising the issue!

#940 did indeed fix it for me, thanks and amazing turn around time! 🎉 Having a consistent NewFunctionExporter/Instantiate interface for all the wasi/gojs/assemby/emscripten imports is very helpful.
One thing to note that when I upgraded from 0dde445074fd to 1f7f20ee2fec this morning, compilations seemed to hang indefinitely with compilation cache until I cleared out the cache dir. If its worth looking into I can see if I can make a minimum reproducible example, but since it's an experimental package and things seem to be moving quickly before the 1.0 I'll defer to you if its something worth looking into more. Let me know!

@robbertvanginkel thanks for the feedback quick on how to make things better. we really want to get to 1.0 in feb, so it matters a lot.
So, on the cache dir that's interesting. unless go.mod has a replace directive, it should invalidate each commit  https://github.com/tetratelabs/wazero/blob/7f8e629c653f548a6e43d4ec71d798fba4a72761/internal/version/version.go#L14
If you find something wrong and can repro please open another issue!


Add CLI command for country and state lists

Great idea! Thanks for the wonderful tool.
Would be helpful to add CLI for list of country and states
kovid check puerto rico
kovid state puerto rico

both return ERROR

Please try kovid check "puerto rico"
Is Puerto Rico a state though? Not sure how best it should be treated.

Closing this now then ;)


Custom 'Unity like' Game class

We should think about how we can create a Game class that would implement helpfull functions similar to FixedUpdate/LateUpdate in likely with a custom ScriptComponent.
Discussed here in Discord https://discord.com/channels/500285081265635328/740163288746426368/1152659205094920202

This issue is too vague and broad.
If you want a specific way to run code after a frame has rendered, (aka Unity 'LateUpdate'), then rename this issue to that.
If you want a 'FixedUpdate' to hook into physics updates, then create another issue for that, as it requires a very different implementation.

I agree, the goal was to try and keep track of an issue that kept getting lost in Discord as both were requested multiple times.
I believe the FixedUpdate part may be resolved due to a new event that can be subscribed to thanks to Eideran in the main Stride repo. I personally do not need LateUpdate but if someone would like to expand based on the discord discussion they can.

Always better to note issues from any chats otherwise they just get drowned
and forgotten.
These FOSS 3D engines need TLC.. keep it up..
Only author or admin can rename.. if you can do the honors..
On Sun, 24 Sept 2023, 22:36 Doprez, @.***> wrote:

I agree, the goal was to try and keep track of an issue that kept getting
lost in Discord as both were requested multiple times.
I believe the FixedUpdate part may be resolved due to a new event that can
be subscribed to thanks to Eideran in the main Stride repo
https://github.com/stride3d/stride/pull/1831. I personally do not need
LateUpdate but if someone would like to expand based on the discord
discussion they can.
—
Reply to this email directly, view it on GitHub
https://github.com/stride3d/stride-community-toolkit/issues/31#issuecomment-1732598884,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AANEARGV7ILURNP7IBHW4XTX4BHP3ANCNFSM6AAAAAA43A3YYM
.
You are receiving this because you commented.Message ID:
@.***>


Update to the latest version of gananche when available

The ganache dependency has some known vulnerabilities that have yet to be resolved.
While these vulnerabilities are not considered to be a significant problem given this NPM package is not intended to be used with any public-facing servers, this dependency should still be updated when the known vulnerabilities are addressed.

Ganche is being sunset within the next few months.  We must find an alternate solution. Maybe AnvilJs? https://www.npmjs.com/package/@viem/anvil


address issue with OM working with IaaS providers that don't support …

Address issue https://github.com/pivotal-cf/om/issues/24

Nice!


Respect provide from parentComponent

Instead of replacing parentComponent provide - merge it, so we can provide values in parentComponent section of config
Fixes #1262

Hey @xanf, thanks for picking up another PR 💯. Unfortunately, the 3-4 of the specs are currently failing. Do you have time to take a look at the branch and work through the error message? Cheers.

@JessicaSachs Sure, I'll update this one this week

Hi @xanf! any chance you could take a look at this? :)

I'm facing this same issue :( Is there any progress with this guy?

I don't thnk so. @jdmerinor are you interested in picking this one up by any chance?

Everything is passing locally for me 🤔

Ok, code is fine - just one of the older versions of Vue has some compat issues. Should be an easy fix. I pushed the code rebased on dev.

Ok this is the culprit:
https://github.com/vuejs/vue-test-utils/pull/1301/files#diff-5ff1a4e52323a0203bce1f2f3d29b110R48

Ok so oddly enough this
https://github.com/vuejs/vue-test-utils/pull/1301/files#diff-5ff1a4e52323a0203bce1f2f3d29b110R50
is the problem 🤔

I did it! :partyparrot:


Scaling/size issues of radio buttons with shapes "circle" and "square"

When using canvas.acroForm I get some problems with the shape "circle" compared to shape "square". The circle shape seems to scale differently with different sizes than square shape. Circle also behaves weirdly with all button styles except "circle". See the MWE or attached file:
from reportlab.pdfgen import canvas
from reportlab.lib.pagesizes import letter

c = canvas.Canvas("radios.pdf", pagesize=letter)

sizes = [40, 20, 10]

style = "cross"

c.drawString(30, 650, "Too big at size=40:")
c.acroForm.radio(name="radio1", value="v1", x=30, y=600, size=sizes[0], shape="circle", buttonStyle=style)
c.acroForm.radio(name="radio1", value="v2", x=80, y=600, size=sizes[0], shape="square", buttonStyle=style)

c.drawString(30, 550, "Even at size=20:")
c.acroForm.radio(name="radio2", value="v1", x=30, y=500, size=sizes[1], shape="circle", buttonStyle=style)
c.acroForm.radio(name="radio2", value="v2", x=80, y=500, size=sizes[1], shape="square", buttonStyle=style)

c.drawString(30, 450, "Too small at size=10:")
c.acroForm.radio(name="radio3", value="v1", x=30, y=400, size=sizes[2], shape="circle", buttonStyle=style)
c.acroForm.radio(name="radio3", value="v2", x=80, y=400, size=sizes[2], shape="square", buttonStyle=style)

c.save()

radios.pdf
At size 40, "circle" seems to scale to double the correct size and at size 10 only to half of the correct size. 20 seems to be the sweet spot where everything is working properly. This is (incidentally?) also the base value for size of radio buttons.
Am I missing something here or is this a bug in scaling? If so, how can I fix this?

This repository is only a mirror and not maintained by the reportlab team.
Please describe your issue here if your problem still persists:
https://groups.google.com/g/reportlab-users


(_2 + 0)(1, 2, 3) // returns 1

gets compiled to
(_pos) => {
  return _pos + 0;
})(1, 2, 3));

This is because currently, positional placeholders work as a sorted arg list. So if there's nothing before this positional placeholder it just becomes the lone argument. I can see how this might be unexpected.
It could change so that unused arguments are added to fill gaps. But right now you can start at any number, which kind of allows for both _`0` and _`1` to mean the first argument. ( zero-based vs. one-based indexing ). We'd probably have to pick either 0 or 1 along with this change.

Oh i understand now.
I still think it would be more intuitive if (_`2` + 0)(1, 2, 3) would return 3.

@plexigras Just FYI I've deprecated this package in favor of param.macro which is a little more focused and won't have the positional placeholder feature. I'll close this since I (personally) won't be making anything but critical fixes to this project.
See #10


Probability Initial Page

This PR is the initial work to create the probability experience. It adds the following functionality:

Dice component
Card component (For writing text on a plane)
Physics Engine

I think we can do a little better on tidying up the directory and keeping it clean as a part of this PR.
Dices that are being thrown from the sky start at a random position (where you can see) with a random rotation, which should give us what we need for our experiment.

I'm not entirely convinced by the idea of writing one element tag <a-entity probability> with component probability to build entire probability scene... I think we can have it broken down in the cene.html, it might be easier to read. What do you think?


Search error has fixed url and does not allow for refresh

Upon doing a failed search, the user is returned to a url that looks like this
https://explorer.dcrdata.org/error/.......
When the user does a page refresh to check if the address or hash is now valid, they will always get the same error page regardless of if new data is available.
The expected behavior is for a page refresh to trigger the search again.

/home/chucks/Downloads/dcrdata-address-cache-correct error/error.go

Bug in this, search is often not working on the first attempt, returning back to the same page. Usually works on the second attempt. For the current red highlighting, it does no work for user with javascript disabled, and it also does not clearly state to the user what is happening, "A transaction with id xxx could not be found." For the page that is displaying that error, it should use web sockets to refresh as soon as the transaction does become available. This should be applied to transactions and all other searchable types.

The first attempt bug is probably due to the search occurring before the websocket connection is fully established. I dont know where to put the error message it should show which is why I just went with the red highlight. I can probably try something for the no javascript case like falling back to the url /search.


Add Pro Football Focus

Please review our Contribution Guidelines to ensure your changes abides by it.
Changes should be made to the end of the file.
Review your changes and complete the checklist below.

[x] Company name
[x] Industry
[x] Company location
[x] Company description
[x] How Elixir is used
[x] GitHub / blog links
[ NA] Job listings

Thank you @geofflane!


W-9202379 - Update Description for Unscheduled Disbursements Report

Updating Unscheduled Report description to List of awarded Funding Requests that have available funds to be scheduled for disbursement.
Critical Changes
Changes
Issues Closed
New Metadata
Deleted Metadata
Definition of Done
Refer to Definition of Done to see any additional details for the items below:

[x] Any net new LWC work has JEST test coverage 50% or above
[x] Default Sa11y tests pass for all LWC components
[x] 🔒 Secure both Front-end (LWC) & back-end (Apex) as necessary
[x] 🔑 Grant users access in Permission Sets (Object, Field, Apex Class) as necessary
[ ] Link the pull request and work item by PR comment and Chatter post respectively, e.g. GUS: W-0000000: Work Name
[ ] Make sure that ACs are updated (if any gaps)
[ ] All acceptance criteria have been met

[x] Developer
[ ] Code Reviewer

[x] Pull Request contains draft release notes
[ ] Labels, help text, and customer facing messages are reviewed by Docs
[ ] QE story level testing completed

W-9202379 - Update Description for Unscheduled Disbursements Report


[2.2.x] Don't propagate implicit requiredness when recreating an FK

Fixes #14269

Description
This is a regression in model building where when a foreign key is recreated it will get explicit requireness set on the previous key even though it should not be applied to the re-created key.
Customer Impact
Regression from 2.1, reported by customer, and there isn't a good workaround.
Regression?
Yes, from 2.1.
Risk
Low. Change is small and self-contained to this case.

Please wait until https://github.com/aspnet/AspNetCore-Internal/issues/1610 is resolved.

Approved for 2.2.2
Wait for branch to open.


Add custom def for uint32_t

Looks like this is the only required change!

I ran the tests manually and there were no errors. I noticed that travis and appveyor builds failed but I didn't manage to work out the issue there. But I noticed that travis builds have been failing for a while!

Thank you for the fix and the benchmark results. I see the fix is really simple.


ucx: 1.8.1 -> 1.9.0

Motivation for this change
Regular upgrade:
https://github.com/openucx/ucx/blob/master/NEWS
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg test slurm

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

19 packages marked as broken and skipped:

python27Packages.fipy
python37Packages.arviz
python37Packages.baselines
python37Packages.cntk
python37Packages.dm-sonnet
python37Packages.edward
python37Packages.graph_nets
python37Packages.optuna
python37Packages.pymc3
python37Packages.rl-coach
python37Packages.tensorflow
python37Packages.tensorflow-build
python37Packages.tensorflow-build_1
python37Packages.tensorflow-probability
python37Packages.tensorflowWithCuda
python37Packages.tensorflowWithoutCuda
python37Packages.tensorflow_1
python37Packages.tflearn
python38Packages.cntk

5 packages failed to build:

cntk
openmolcas
python27Packages.cntk
python37Packages.datashader
python38Packages.datashader

63 packages built:

dl-poly-classic-mpi
elmerfem
freecad
getdp
globalarrays
gromacsDoubleMpi
gromacsMpi
haskellPackages.haskell-mpi
hdf5-mpi
highfive-mpi
hpcg
hpl
ior
lammps-mpi
migrate
netcdf-mpi
neuron-full (python27Packages.neuron-mpi)
neuron-mpi
openmpi
paraview
parmetis
precice
python27Packages.mpi4py
python37Packages.dask-gateway
python37Packages.dask-jobqueue
python37Packages.dask-ml
python37Packages.dask-mpi
python37Packages.dask-xgboost
python37Packages.dftfit
python37Packages.distributed
python37Packages.fenics
python37Packages.fipy
python37Packages.h5py-mpi
python37Packages.lammps-cython
python37Packages.mask-rcnn
python37Packages.mpi4py
python37Packages.neuron-mpi
python37Packages.streamz
python37Packages.stumpy
python37Packages.tensorflow_2 (python37Packages.tensorflow-build_2)
python38Packages.dask-gateway
python38Packages.dask-jobqueue
python38Packages.dask-ml
python38Packages.dask-mpi
python38Packages.dask-xgboost
python38Packages.dftfit
python38Packages.distributed
python38Packages.fenics
python38Packages.fipy
python38Packages.h5py-mpi
python38Packages.lammps-cython
python38Packages.mask-rcnn
python38Packages.mpi4py
python38Packages.neuron-mpi
python38Packages.streamz
python38Packages.stumpy
python38Packages.tensorflow_2 (python38Packages.tensorflow-build_2)
quantum-espresso-mpi
raxml-mpi
scalapack
scotch
siesta-mpi
ucx

cntk

Already broken on master:
Invalid openblas directory /nix/store/fl9d5425p24capww1f0z6h4mkxdxj8p1-openblas-0.3.12
builder for '/nix/store/jwrq3c1vw3cip8ns2qvdsb99lnywd8br-CNTK-2.7.drv' failed with exit code 1
error: build of '/nix/store/jwrq3c1vw3cip8ns2qvdsb99lnywd8br-CNTK-2.7.drv' failed

openmolcas

source hash mismatch on master

python27Packages.cntk
python37Packages.datashader
python38Packages.datashader

Still please do not self merge without nixpkgs-review to make sure you are not introducing regressions.

Thanks for double checking but I think in this particular case nixpkgs-review is not necessary. It is only a plugin of openmpi that depends on UCX. I think it sufficient here to check that openmpi works properly. Even though an update of UCX generates a lot of rebuilds it is unlikely that any other package is impacted.
It is good to know though that openmolcas ran into yet another hash mismatch problem. I will take look at that.


[AutoPR trafficmanager/resource-manager] Patch 1

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/3360

(message created by the CI based on PR content)

Codecov Report

Merging #2878 into restapi_auto_trafficmanager/resource-manager will decrease coverage by 0.01%.
The diff coverage is 43.22%.

@@                               Coverage Diff                                @@
##           restapi_auto_trafficmanager/resource-manager    #2878      +/-   ##
================================================================================
- Coverage                                         55.89%   55.88%   -0.02%
================================================================================
  Files                                              7139     7144       +5
  Lines                                            150351   150461     +110
================================================================================
+ Hits                                              84036    84079      +43
- Misses                                            66315    66382      +67

Impacted Files
Coverage Δ

...nager/azure/mgmt/trafficmanager/models/endpoint.py
25% <0%> (-1.67%)
:arrow_down:

...anager/azure/mgmt/trafficmanager/models/profile.py
33.33% <0%> (-3.04%)
:arrow_down:

.../models/traffic_manager_management_client_enums.py
100% <100%> (ø)
:arrow_up:

.../trafficmanager/operations/endpoints_operations.py
21.73% <100%> (ø)
:arrow_up:

...t/trafficmanager/operations/profiles_operations.py
16.77% <100%> (ø)
:arrow_up:

...rafficmanager/traffic_manager_management_client.py
100% <100%> (ø)
:arrow_up:

...nager/azure/mgmt/trafficmanager/models/__init__.py
100% <100%> (ø)
:arrow_up:

...er/operations/geographic_hierarchies_operations.py
48.27% <100%> (ø)
:arrow_up:

...t/trafficmanager/operations/heat_map_operations.py
41.66% <100%> (ø)
:arrow_up:

...rafficmanager/azure/mgmt/trafficmanager/version.py
100% <100%> (ø)
:arrow_up:

... and 13 more

Continue to review full report at Codecov.

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


turbox d845

Is it compatible with turbox d845 som?

We have not tested the board with Turbox D845 but this SOM should be pin-compatible


Cannot add foreign key constraint

I get this error when adding dj-stripe to an existing app with custom user and running the migration.  However, if start with a clean database it runs fine.  This could well be a problem with my setup but posting in case someone else has the same issue.
Django: 1.9.5
Mysql: 5.7.12
Mysql default is ISAM but dj-strip is creating INNODB files

Hi @phoebebright,
Are you using v0.8.0?
On which migration does the failure occur?

If someone else runs into this, let me know and I'll reopen.


Delivery_method filesystem

Is there a way to send messages to the filesystem in eml format?

Yep. Use the file delivery method: https://github.com/mikel/mail/blob/master/lib/mail/network/delivery_methods/file_delivery.rb


Added translation for DE/german

Hello @YuleZ,
thank you for contributing, unfortunately you missed a small, but really important step in the translation guide: PRs should be based against the development branch, not against master like yours is.
The development branch contains the latest iteration of the code (not yet released), so by basing your edit on master you did not notice that someone else already provided the german translation.


[Android] Publish 1.2 packages

Automatically generated task. Any updates to the title and body will be overwritten. Do NOT modify the labels.
Android implementation of #2510

Done!


Issue with EZ1 integration and Shelly 3EM

Hello,
at first thanks for your great work on it. I love to implement my EZ1 to homeassistant
I got a problem when I integrate the Solar-Production in my energy-dashboard.
Until this, the energy-dashboard measure my energy consumption correct.
I am measuring my energy with an Shelly 3EM. The energy input of the solar-production get in on phase C and is directly subtract there an reducing my grid input.
After implementing the Solar-System the energy I consume myself is sum up on this and increase the whole energy consumption.
In that case the solar-energy which I consume myself is count twice.
I already tried to config the energy-dashboard by using sensors or not but it doesn't work.
Do you got an Idea for solving this for me.

Could you provide us with a screenshot of your dashboard config?

as you see in the second one phase C is 0,48kWh - this is already including my self consumption - and at the end everything is thum up and the returning is subtracted again
I also added a Screenshot of my Shelly-Dashboard

I am still struggling to understand the issue. The card in the top right (the flow one) is correct, right? But the one below telling you that you've consumed 0,8kwh isn't, right?
Btw: interesting google searches going on there ;)

:-)) yes google is my helping hand - I am already just a beginner
Yes the pruduction with 3kWH is correct. The down left its correct too. From grid I consumed 2,7kWh an 1,9kWh returned. The one down right is wrong. I consumed 2,7kWh from grid + 0,9kW from Solar.
I hope you understand - my english is not the best...

Sorry - I consumed 2,7kWh + 1,1kWh -> the difference between production 3kWh an returning 1,9kWh

Sorry for the late reply, but I think that this may be a question for the HA forum, as this doesn't seem to be directly linked to this integration. Hope you'll find a solution, but unfortunately your issue goes over my head.


[Bug] iterable__user_campaign duplicate test failing if users have updated their name

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the issue
Hello!
I recently installed the package and am receiving a failure on the iterable__user_campaign object. Failure in test dbt_utils_unique_combination_of_columns_iterable__user_campaign_user_email__campaign_id__experiment_id (models/iterable.yml)
I believe it happens when a user changes their name.  the iterable__events  object references the int_iterable__latest_user object - which correctly returns 1 user per email.  However, since events is incremental, there are records in the events table with both of the user's names (before and after they've updated it).  On its own, events looks correct, but since the iterable__user_campaign object groups with user_full_name in it, I am seeing duplicate records (especially for instances where campaign_id and experiment_id are null.
Let me know what you think.
Thanks,
Brendan
Relevant error log or model output
`Failure in test dbt_utils_unique_combination_of_columns_iterable__user_campaign_user_email__campaign_id__experiment_id (models/iterable.yml)`

Expected behavior
Either the test should include user name as part of the key or user_full_name should be joined after the grouping.
dbt Project configurations
iterable__using_campaign_label_history: false

Package versions

package: fivetran/iterable
version: 0.8.0

What database are you using dbt with?
snowflake
dbt Version
1.3
Additional Context
No response
Are you willing to open a PR to help address this issue?

[ ] Yes.
[ ] Yes, but I will need assistance and will schedule time during our office hours for guidance
[ ] No.

Hi @brendangeisler thanks for opening this issue!
This is actually something we identified as a behavior of the delete_insert incremental strategy within dbt. We came across this same behavior when working on an update to our Fivetran Log dbt package. Here is a callout we have drafted and was curious what your thoughts were

Some of the end models in this package are materialized incrementally. We have chosen insert_overwrite as the default strategy for BigQuery and Databricks databases, as it is only available for these dbt adapters. For Snowflake, Redshift, and Postgres databases, we have chosen delete+insert as the default strategy.
insert_overwrite is our preferred incremental strategy because it will be able to properly handle updates to records that exist outside the immediate incremental window. That is, because it leverages partitions, insert_overwrite will appropriately update existing rows that have been changed upstream instead of inserting duplicates of them--all without requiring a full table scan.
delete+insert is our second-choice as it resembles insert_overwrite but lacks partitions. This strategy works most of the time and appropriately handles incremental loads that do not contain changes to past records. However, if a past record has been updated and is outside of the incremental window, delete+insert will insert a duplicate record. 😱
Because of this, we highly recommend that Snowflake, Redshift, and Postgres users periodically run a --full-refresh to ensure a high level of data quality and remove any possible duplicates.

Would you also be able to confirm that running a --full-refresh does in fact resolve the error you are seeing? If that is the case, then I would recommend periodically running a full refresh on the table to be sure the incremental strategy is able to capture updates like the one you are describing. Unfortunately, this is something that the insert_overwrite strategy is able to capture automatically, but it is not available within Snowflake, Redshift, or Postgres 😢.
Let me know your thoughts!

@brendangeisler I have just added the description above to the README for the package. The idea is that this will allow users who are not using BigQuery or Databricks to understand the limitation and the need for periodic full refreshes of these tables to capture updates outside of the incremental window.
As such, I will close this issue. Please feel free to add any more thoughts to this thread if you have concerns. Thanks!

Hi @fivetran-joemarkiewicz - Somehow missed your original response.  Thanks for the details.  A full refresh did allow the model tests to pass.  I'm still not sure I'm going to add a refresh step to our regular deployments.  I'll do some more brainstorming on my side.  Thanks again for your help.


Crash after filling the CreateChallenge form and submitting

That doesn't happen consistently

That could be because of people clicking twice on the button. But that should be solved by #393


heatmap does not have return_fig parameter

Hi,
the heatmap function treats return_fig as a kwarg parameter and raises "AttributeError: Unknown property return_fig". Does heatmap not actually support returning the figure even though the documentation states that function has this parameter? If so, how do I go about saving my heatmaps?
Thanks.

Hi! Sorry, my bad. That parameter was undocumented, and I added it to the wrong docstring building block.
It’s available in all scatterplots for dimension reductions, like pca, tsne and so on.

To save your heatmaps use the save argument.


MaxListenersExceededWarning: Possible EventEmitter memory leak detected

Expected behavior
Possible EventEmitter memory leak detected should not appear
Actual behavior
getting the below warning message:
MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 targetCreated listeners added. Use emitter.setMaxListeners() to increase limit
Steps to reproduce
Save the below code and run the js file in taiko REPL
const { openBrowser, goto, click, rightClick, reload, doubleClick, write, goBack, press, clear, evaluate, closeBrowser } = require('taiko');
(async () => {
    try {
        await openBrowser();
        //setConfig({ waitForNavigation: false });
        await goto("http://demo.guru99.com/test/simple_context_menu.html");
        await rightClick("right click me",);
        await alert('clicked: edit', async () => await accept());
        await click("Edit");
        await alert('You double clicked me.. Thank You..', async () => await accept());
        await doubleClick("Double-Click Me To See Alert");
        await reload();
        await goto("google.com");
        await write("taiko");
        await click("Google Search");
        await goBack();
        await write("taiko");
        await press("Enter");
        await goBack();
        await write("taiko");
        await clear();
        await evaluate(()=>{return document.title});
    } catch (e) {
        console.error(e);
    } finally {
        await closeBrowser();
    }
})();

Versions
0.7.0 (Chromium:74.0.3723.0)
commit: cc2c1dc

getting the same issue now
Using taiko 0.7.0

Can you please verify if it is fixed with commit version dd6bb6f ?

I noticed this issue in September 30/2020
Version:
PS C:\Users\micro\Documents\Gauge\gauge-tests> taiko -v
Version: 1.0.16 (Chromium: 85.0.4168.0) RELEASE

Can we know why it is needed to call repl() command so many times ?


[documentation_interface] provide reference documentation that describes the external interface (both input and output)

(This is required for lowest level passing for CII.)
The documentation of an external interface explains to an end-user or developer how to use it. This would include its application program interface (API) if the software has one. If it is a library, document the major classes/types and methods/functions that can be called. If it is a web application, define its URL interface (often its REST interface). If it is a command-line interface, document the parameters and options it supports. In many cases it's best if most of this documentation is automatically generated, so that this documentation stays synchronized with the software as it changes, but this isn't required. The project MAY use hypertext links to non-project material as documentation. Documentation MAY be automatically generated (where practical this is often the best way to do so). Documentation of a REST interface may be generated using Swagger/OpenAPI. Code interface documentation MAY be generated using tools such as JSDoc (JavaScript), ESDoc (JavaScript), pydoc (Python), devtools (R), pkgdown (R), and Doxygen (many). Merely having comments in implementation code is not sufficient to satisfy this criterion; there needs to be an easy way to see the information without reading through all the source code. If the project does not produce software, choose "not applicable" (N/A).
(see: https://github.com/coreinfrastructure/best-practices-badge/blob/master/doc/criteria.md#documentation_interface)

See https://github.com/odpi/egeria/issues/1124 for swagger specifically.


Cow-box WebSocketFrame.

Motivation:
WebSocketFrameDecoder makes an allocation due to WebSocketFrame not fitting in a
existential. We should reduce this overhead.
Modifications:
Moved data and extensionData into a cow-box and reorder fields to more efficiently
pack them.
Result:
WebSocketFrame is now 14 bytes, down from 55.

Hey @marlimox, great work! We need to drop the threshold on the allocation counter test now, as it wants us to lower the watermark for allocations so we don’t regress it.

Ah yep.

Thank you for the help! 😄


Process Error, SyntaxError and TypeError gently

Do not display the stack trace for these exceptions, allowing them to be thrown from applications, instead of using the custom CliError.

fixed on 2018-09-18, in 0.4.13


Picking a small subset of channels when creating epochs objects can zero out MAG channels

Like this:
import mne
import numpy as np

data_path = mne.datasets.sample.data_path()
raw_fname = data_path + '/MEG/sample/sample_audvis_filt-0-40_raw.fif'

raw = mne.io.Raw(raw_fname, preload=True)

events = mne.find_events(raw)

epochs = mne.Epochs(raw, events, 1, -0.2, 0.5, picks=[2], preload=True)

assert not np.allclose(epochs._data, np.zeros((72, 1, 106)))

Is this a feature? It has something to do with projections.

Are you sure that the data are not at a scale below the tolerance?
Can you plot the data? Are they actually zero?
On Mon, Apr 18, 2016 at 5:33 PM Teekuningas<EMAIL_ADDRESS>wrote:

Like this:
import mneimport numpy as np
data_path = mne.datasets.sample.data_path()
raw_fname = data_path + '/MEG/sample/sample_audvis_filt-0-40_raw.fif'
raw = mne.io.Raw(raw_fname, preload=True)
events = mne.find_events(raw)
epochs = mne.Epochs(raw, events, 1, -0.2, 0.5, picks=[2], preload=True)
assert not np.allclose(epochs._data, np.zeros((72, 1, 106)))
Is this a feature? It has something to do with projections.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/mne-tools/mne-python/issues/3138

It does have to do with projections, see #2310. Try it with proj=False or better do raw.add_proj([], remove_existing=True) and you should be okay.
On latest master you should actually see a warning about projection being dangerous, do you?

That way I seem to be okay. But what if I wanted that the resulting epochs would be as if I had created the epochs without picks and with projections normally applied, and only afterwards dropped the channels? Is there a better way than this:
proj_raw = raw.copy().apply_proj()
proj_raw.info['projs'] = []
epochs = mne.Epochs(proj_raw, ..., proj=True, preload=True)
del proj_raw

Obviously if I was doing just that, I could do as I said and create without picks and drop channels afterwards, but the reason for using picks was that I'd like that reject parameters would only be taken into consideration on those channels listed in picks-list, as other channels do not really matter for the later analysis.. There might be a better way for this too..?

Could you let me know if this is true about your original code...

On latest master you should actually see a warning about projection being dangerous, do you?

In other words, hopefully you had some warning of danger at least.
Currently what you suggest about overwriting raw.info['projs'] manually is the best way to accomplish what you want.

On latest master you should actually see a warning about projection being dangerous, do you?

The software, that I'm working with, has only 0.11.0 as a dependency at the moment, so I didn't get the warning then, but with the newest master it truly does warn me, once for each projection. : ]
I suppose this can be closed now, right?

GitHub auto-links it to the issue I mentioned above, so we should be able to keep it in mind going forward with that issue. So sure


build(make): introduced aux-modules list

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (6b14f55) to head (e1f3d89).

Additional details and impacted files
@@            Coverage Diff             @@
##              main       #56    +/-   ##
==========================================
  Coverage   100.00%   100.00%
==========================================
  Files           76         5    -71
  Lines         1328       415   -913
==========================================
- Hits          1328       415   -913

Flag
Coverage Δ

gi
?

optional
100.00% <ø> (ø)

result
100.00% <ø> (ø)

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

coverage: 100.0%. remained the same
when pulling e1f3d8939d6fd6f4956106949ebdf56b18af372e on feature/tools-1
into 6b14f5560456f5e2a65152b7d4ff1899d79fe5d1 on main.


Does need invoke startClose() in this function

I have seen issue#580, I think should invoke startClose() in com.alibaba.dubbo.remoting.exchange.support.header.HeaderExchangeServer#close()funciton;

 public void close() {
        doClose();
        server.close();
    }

    public void close(final int timeout) {
        startClose();
        if (timeout > 0) {
            final long max = (long) timeout;
            final long start = System.currentTimeMillis();
            if (getUrl().getParameter(Constants.CHANNEL_SEND_READONLYEVENT_KEY, true)) {
                sendChannelReadOnlyEvent();
            }
            while (HeaderExchangeServer.this.isRunning()
                    && System.currentTimeMillis() - start < max) {
                try {
                    Thread.sleep(10);
                } catch (InterruptedException e) {
                    logger.warn(e.getMessage(), e);
                }
            }
        }
        doClose();
        server.close(timeout);
    }

Hi, would you mind sending a pull request to fix it?

Glad to do it. issue#1709

I think it's unnecessary. You could consider close() will shutdown immediately.


Enable dehibernating sandbox environments from the aio cloudmanager plugin

Is your feature request related to a problem? Please describe.
my sandbox environments go down into hibernation daily, and  once I get to development, I need to start the first, eating away 10 minutes every day.
I would like to send the de-hibernation signals once i open my laptop in the morning - through a script using the aio cloudmanager plugin.
Describe the solution you'd like
I would like to be able to dehibernate my sandbox environments in a script using the aio cloudmanger plugin.
Describe alternatives you've considered
I need to log into cloudmanager each day, choose the right profile and to to the environment, press the dehibernation button and wait forever.
I have tried to use the Call using from the CM-UI, but I did not get a positive response:

Request URL: https://dev-console-ns-team-aem-cm-prd-n108153.ethos14-prod-deu6.dev.adobeaemcloud.com/api/releases/ns-team-aem-cm-prd-n108153/dehibernate/cm-p127553-e1403927

Path: /api/releases/ns-team-aem-cm-prd-n108153/dehibernate/cm-p127553-e1403927

see also: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager-ideas/provide-the-abi[…]dehibernate-aem-cloud-service-sandbox/idi-p/709173

Adobe Support Ticket: E-001393390


Add support for multiple configs

This change allows having array of configurations or a single configuration in xcodebuild-tools.json
UI picker is provided to switch active configuration (workspace/scheme)

Hi Anaton,
Thanks for the PR. Would you mind making some changes and resubmit?

I've made a bit of a mess in the history by rebasing your previous PR. Could you graft your changes into the current master? Sorry for that.

I have no idea how many users are using the extension, but I would rather not break backward compatibility. Could you check for the existing settings and add them as an additional configuration if possible.

I think there's no need for a "configuration" field and "configurationArray". I think just a single array "configurations" might work.

Thanks,
Baruch

Hi @sterin,

I'll do the clean rebase
These changes are backward compatible
This is needed for backward compatibility

I have found couple issues with this PR, I'll reopen it once I have the proper fix

Re-open didn't work because of rebase. Opened new PR https://github.com/sterin/vscode-xcodebuild-tools/pull/6


:seedling: Allow default profile, configurable profile prefix, and configurable credentials suffix

Problem Statement
This tool does not allow you to create a working default profile.
This tool gives warnings on AWS Java SDK (#157).
This tool makes credentials profiles with names that difficult to use (#118).
Different SDKs have conflicting prefix and suffix expectations. https://github.com/oktadeveloper/okta-aws-cli-assume-role/issues/157#issuecomment-409091620
Solution

Support default as a named profile via OKTA_PROFILE=default
Allow configurable profile prefix (Fix #157 with OKTA_PROFILE_PREFIX="")
Allow configurable credentials suffix (Fix #118 with OKTA_CREDENTIALS_SUFFIX="")

Tested on macOS in Fish shell.
Tested on Windows 10 in PowerShell.

@mraible ready to merge.

@mrminecart it will be possible to set the default role with this fix once 1.0.3 is released. https://github.com/oktadeveloper/okta-aws-cli-assume-role/issues/122#issuecomment-391302510
Until then, you could download and build it directly.


for_window matching seems not working

Version: 0.14.0
After send command:
swaymsg -r for_window [class="keepassx2"] kill

Returned:
[
   {
     "success": true
   }
 ]

But nothing happened. Use command swaymsg -r for_window [name="KeePassX"] kill also returned same result but nothing happened.
Still have no time to confirm if it happens on other programs, but I think so.
Find the window using xwininfo:
...
xwininfo: Window id: 0x600003 "Password.kdbx - KeePassX"
...

And then use xprops -id 0x600003:
...
_NET_WM_NAME(UTF8_STRING) = "Password.kdbx - KeePassX"
...
WM_CLASS(STRING) = "keepassx2", "Keepassx2"
...
WM_COMMAND(STRING) = { "keepassx2" }

What do you see in swaymsg -t get_tree? Also provide a debug log.

@SirCmpwn Thanks for providing get_tree. My fault. Seems class names detected by sway is only Keepassx2. Now fixed using class=Keepassx2.


Make README more appealing by adding Socalify element and adding Contributing.md for new contributors

Glimpse

Contributing.md will contain the instruction to make a PR to the project

Yes I would like to word on this
Can I do it?
Please assign it to me
@ProgramingIsTheFuture


example config file for netperf tcp results

Type of change

[ ] Refactor
[ ] New feature
[ ] Bug fix
[ ] Optimization
[x] Documentation Update

Description
Adding new configs for some of the standard data plane metrics for readout testing.
This will help jedi when compiling the week's report
Tested on 4.15 and 4.16

@mohit-sheth commits signed please 🙏🏼

cc: @paigerube14 this is for data-path tests.


mapping multiple entities to same table

Describe what is not working as expected.
when i try to map multiple entities to same table, it gives mapping error!
If you are seeing an exception, include the full exceptions details (message and stack trace).
Exception message:
Stack trace:

Steps to reproduce
Include a complete code listing (or project/solution) that we can run to reproduce the issue.
public class Person
{
public int PersonId { get; set; }
public string FirstName { get; set; }
public string MiddleName { get; set; }
public string LastName { get; set; }
public Address CurrentAddress { get; set; }
public Address PermanentAddress { get; set; }
}
public class PersonId
{
public int PersonId { get; set; }
public string FirstName { get; set; }
public string MiddleName { get; set; }
}
Instead of using separate data context can we still use same db contexzt and map them to the same table?
thus i can load only properties i want and hence have less burden on middle layer to carry around data.
data here could be 200 million, so i want to load only very few columns
Partial code listings, or multiple fragments of code, will slow down our response or cause us to push the issue back to you to provide code to reproduce the issue.
Console.WriteLine("Hello World!");

Further technical details
EF Core version: (found in project.csproj or packages.config)
Database Provider: (e.g. Microsoft.EntityFrameworkCore.SqlServer)
Operating system:
IDE: (e.g. Visual Studio 2017 15.4)

All you need is to create one to one relationship between them and map all the common properties to same columns.
Put following code in your OnModelCreating method and it will only need one table for both.
            modelBuilder.Entity<Person>(
                b =>
                {
                    b.ToTable("Person");
                    b.Property(e => e.PersonId).HasColumnName("PersonId");
                    b.Property(e => e.FirstName).HasColumnName("FirstName");
                    b.Property(e => e.MiddleName).HasColumnName("MiddleName");
                });

            modelBuilder.Entity<PersonSmall>(
                b =>
                {
                    b.ToTable("Person");
                    b.HasKey(e => e.PersonId);
                    b.Property(e => e.PersonId).HasColumnName("PersonId");
                    b.Property(e => e.FirstName).HasColumnName("FirstName");
                    b.Property(e => e.MiddleName).HasColumnName("MiddleName");
                    b.HasOne<Person>().WithOne().HasForeignKey<PersonSmall>(e => e.PersonId);

                });

P.S. I changed PersonId class name to PersonSmall since PersonId class cannot have PersonId property inside. Compilation failure.


produced diags don't show up correctly in viewer

There are several zppy configs in this folder
Their corresponding outputs are here, here, and here
If you look at the aerosol budget component in the viewer, you won't find it (e.g., "ANN"). But it is clearly there if you look at the raw files outside he viewer. This applies to both mvm and model-vs-obs
Another interesting thing is that the viewer layout has changed a bit (see screenshot)

--

This is on my todo list. And thanks for submitting this issue. It is strange that the metrics tables were not linked correctly. This problem was not shown in my recent stand alone e3sm_diags tests for e3sm_unified release. I'm looking at the zppy files to see if there are some config caused this problem.

well, chrysalis and anvil are under maintenance. I will try reproduce after they come back.

thanks for providing more one data point. I tried to run stand alone e3sm_diags to reproduce on Perl-mutter with a testing dataset, with no success. It seems like the htmls that supposed to host those metrics .csv files were not generated in your and Xue's cases. I will try later on chrysalis with the zppy configs provided.

@mahf708 No related to the issue mentioned, just to note that I found that in two of the zppy configuration files: 20230918.v3alpha04.F2010.PI.chrysalis.cfg and 20230918.v3alpha04.F2010.4K.chrysalis. The short_name was not consistent with the casename.

I think I know what is going on. The aerosol_budget and lat_lon sets viewers have a conflict that if the folder generated by aerosol_budget, that containing these budget metrics htmls would be purged by the lat_lon set viewer, if lat_lon viewer is generated after aerosol_budget.
I will try to come up with a fix. But at the time being, the workaround is to always list lat_lon first.
lat_lon first vs  aerosol_budget first.
Example:
sets = 'lat_lon', 'aerosol_aeronet', 'aerosol_budget', 'annual_cycle_zonal_mean', 'cosp_histogram', 'meridional_mean_2d', 'polar', 'zonal_mean_2d', 'zonal_mean_2d_stratosphere', 'zonal_mean_xy',
This will fix the viewer layout change.
I think there was a change in zppy that caused the default sets to order differently in the new version.

Thank you for confirming! I will update the title and keep this issue open.


qcsummary KeyError Fragment Length Mean

I get the following error on a tumor-only WGS sample in variant2 workflow with multiqc on: File "/auto/USER/bcbio/lib/anaconda/lib/python2.7/site-packages/bcbio/pipeline/qcsummary.py", line 76, in pipeline_summary     data["summary"] = _run_qc_tools(work_bam, data)   File "/auto/USER/bcbio/lib/anaconda/lib/python2.7/site-packages/bcbio/pipeline/qcsummary.py", line 132, in _run_qc_tools     cur_metrics = qc_fn(bam_file, data, cur_qc_dir)   File "/auto/USER/bcbio/lib/anaconda/lib/python2.7/site-packages/bcbio/pipeline/qcsummary.py", line 726, in _rnaseq_qualimap     metrics = _parse_metrics(metrics)   File "/auto/USER/bcbio/lib/anaconda/lib/python2.7/site-packages/bcbio/pipeline/qcsummary.py", line 617, in _parse_metrics     out.update({name: float(metrics[name])}) KeyError: 'Fragment Length Mean'

This is development right?
I just fixed this, please update and try again. sorry about that.

Yep, development. I'm running that branch to find bugs, so I know what I'm getting myself into. No reason to apologize and thanks for the fix, Lorena.


CI/CD

Build the project on push to the main branch - only if the tests pass.

Implemented via Github actions

Implemented via Github actions


Use custom contrib button wherever contribution to a project is mentioned

Clock links to contribute to a project if it's complete etc.

This issue was moved to LibCrowds/vue-pybossa-frontend#13


Adding reserved ports quota param, set to 20

Adding reserved ports quota param, set to 20
Signed-off-by: Josh Winters<EMAIL_ADDRESS>

Hey @freynca, if you publicize your CF org membership as suggested by the dreddbot, I can prioritize this story in the next week or so.

@dsabeti Done.


Please get Atom added on steam

It would be nice to be able to grab Atom off of Steam. It would probably have to go through Steam Greenlight, but it would make it easier to get it downloaded and kept up to date for those of us who use Steam anyway.
https://steamcommunity.com/greenlight/

Sorry, but this is one of the weirdest requests I've ever seen. You want Atom to go through the Greenlight process just to make it more convenient for Steam users?

Yep
On Sat, Feb 13, 2016, 4:28 PM Assil Ksiksi<EMAIL_ADDRESS>wrote:

Sorry, but this is one of the weirdest requests I've ever seen. You want
Atom to go through the Greenlight process just to make it more convenient
for Steam users?
—
Reply to this email directly or view it on GitHub
https://github.com/atom/atom/issues/10810#issuecomment-183757938.

We're pretty happy with our current distribution methods. Atom updates itself on Windows and OS X. And we're looking into traditional package managers for Linux and other Unix flavors.
Thanks for the suggestion!


Calling two reducers from action handler

Is there a sensible way to do this?
I'm calling an api endpoint which returns two sets of data which need to be handled by separate reducers, is there a better way to do it than to listen to the RESPONSE action type in both reducers?

Yes, sorry, two handlers, here's what i'm doing atm
// userAction.js
import { createActions } from 'redux-arc'
import normalizeMiddlewareFactory from 'Store/middlewares/normalizeMiddleware'
import { profileBotsSchema } from 'Store/schema'

export const { creators, types } = createActions('user', {
  getBots: {
    url: 'profile/:id',
    method: 'get'
  }
})

// userReducer.js

import { createReducers } from 'redux-arc'
import update from 'immutability-helper'

import { types } from '../actions/userActions'

const INITIAL_STATE = {
  bots: {
    loading: false,
    ids: []
  }
}

const requestBots = state => update(state, {
  bots: {
    loading: { $set: true }
  }
})

const receiveBots = (state, action) => {
  const { profile } = action.payload.entities
  return update(state, {
    bots: {
      loading: { $set: false },
      ids: { $set: profile.bots }
    }
  })
}

const HANDLERS = {
  [types.GET_BOTS.REQUEST]: requestBots,
  [types.GET_BOTS.RESPONSE]: receiveBots,
}

export default createReducers(INITIAL_STATE, HANDLERS)

//botsReducer.js
import { createReducers } from 'redux-arc'
import update from 'immutability-helper'

import { types as userActionTypes } from '../actions/userActions'

const INITIAL_STATE = {
  loading: false,
  entities: [],
  categories: {}
}

const requestBots = state => update(state, {
  loading: { $set: true }
})

const receiveBots = (state, action) => {
  const { bots } = action.payload.entities
  return update(state, {
    oading: { $set: false },
    entities: { $merge: bots }
  })
}

const HANDLERS = {
  [userActionTypes.GET_BOTS.RESPONSE]: receiveBots,
}

export default createReducers(INITIAL_STATE, HANDLERS)

Looking at that i guess it would make more sense to import receiveBots from botsReducer.js and do this from userReducer.js:
import { receiveBots as receiveBotsFromBotsReducer } from './botsReducer'
...
const HANDLERS = {
  [types.GET_BOTS.REQUEST]: requestBots,
  [types.GET_BOTS.RESPONSE]: receiveBots,
  [types.GET_BOTS.RESPONSE]: receiveBotsFromBotsReducer,
}
``

You couldn't do that, because javascript objects don't accept two keys with the same value.
What would happen, is that the second definition would override the first, then only receiveBotsFromBotsReducer would be called when you get the action GET_BOTS_RESPONSE dispatched.
Additionally, your redux tree would not mount the way you are expecting, if you import the botsReducer to use in userReducer, all the data that you plan to keep under store.bots, would now be in store.user
I see the actions as events that happened in the application, as a user interaction or an IO event, and the reducers are responsible to tell whether an action change or not a branch. If two different branches in the store tree should be updated when you get an action GET_BOTS_RESPONSE, there's no problem having two different reducers listening to it.
ps: Perhaps the function createReducers (from Arc) should be renamed to createReducer, since it generates only one reducer, using multiple handlers, could help avoiding confusions about reducers vs handlers.

javascript objects don't accept two keys with the same value
Of course, silly me... 🙄

Having two reducers listening to one action is working well for me

Perhaps the function createReducers (from Arc) should be renamed to createReducer

I thinks that makes sense, createReducers sounds more like it will do something similar to redux's combineReducers


update deploy_doc.yml

Minor fixes in deploy_doc.yml
Checklist:

[ ] Reviewers confirm new code works as expected.
[ ] Tests are passing.
[ ] Coverage does not decrease.
[ ] Documentation is updated.

@Edoardo-Pedicillo what is the motivation of 21ea9d1?

Sorry, I made a mistake


Include workload cluster API CA in the cluster values configmap

Is your feature request related to a problem? Please describe.

The problem is some apps that talk to the Kubernetes API need to read the API CA in order to trust on it (we used self signed certs), and we don't know the have it at hand.
Describe the solution you'd like

The cluster operator adds the CA in the configmap that lives in the cluster namespace so all apps can rely on it when they are deployed
Describe alternatives you've considered

Additional context

Done in cluster-operator 3.11.0 and requested for AWS in https://github.com/giantswarm/releases/pull/855
@pipo02mix Do we need this Azure and KVM? As then we also need this in the legacy branch :(


Libp2p Blog Post

Publish a blog on Libp2p Connections to be published on the IPFS Blog. Work with Emily V on this
** Context**
Resources

Blog Pot with Assets, blog draft: https://www.notion.so/IPFS-Blog-libp2p-connections-ff9e7e88ca0541e3847c4ddcf4e34c2c

Google Doc: https://docs.google.com/document/d/1SPfRuMQI54thX6LqL_64gV75Fa73ODBGdz29_DPCXt4/edit

@wtford

I wrote a 4 paragraph introduction, would like Enol to check it out, then hopefully we can get it published!


Schedule API

Types of changes

[ ] Bugfix
[x] New feature
[ ] Refactoring
[ ] Breaking change (any change that would cause existing functionality to not work as expected)
[ ] Documentation Update
[ ] Other (please describe)

Description

Add ScheduleAPIView based on src/events/views.py:95 : ScheduleView

schedule_html : Indicate latest schedule_html
schedule_day : settings.EVENTS_DAY_NAMES.items()

Document: https://hackmd.io/pio2HdWXRZiMPKXOANe-FQ

Steps to Test This Pull Request

Log in to 'http://<IP_ADDRESS>:8000/admin'
Add test data to events/Schedule
Check 'http://<IP_ADDRESS>:8000/api/events/schedule/' for outcome

Outcome

Codecov Report

Merging #1014 (de6b188) into master (24613dc) will decrease coverage by 0.09%.
The diff coverage is 40.00%.

@@            Coverage Diff             @@
##           master    #1014      +/-   ##
==========================================
- Coverage   70.20%   70.10%   -0.10%
==========================================
  Files          81       81
  Lines        3131     3141      +10
==========================================
+ Hits         2198     2202       +4
- Misses        933      939       +6

Impacted Files
Coverage Δ

src/events/api/urls.py
100.00% <ø> (ø)

src/events/api/views.py
62.50% <40.00%> (-37.50%)
:arrow_down:

Continue to review full report at Codecov.

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


fix(form-field): superfluous whitespace when compiled with bazel

Fixes that the form-field does not render properly when being compiled through Bazel. This is because the whitespace is being preserved due to Bazel not minifying HTML files like we do with Gulp.

Marking as P3 because it is ultimately a prerequisite for building & shipping Material with Bazel.

Shouldn't we just minify the HTML files instead?

Ideally we would, but for this one it's generally an anti-pattern to rely on the minifier to remove the superfluous whitespace if lines are not joined into a single one.
Also I'm not sure if there is even logic that allows us to do that because the resource inlining feature of @angular/compiler-cli does not provide an API to put in the minified files w/ bazel.


Cmdlets not recognized after successful Install-Module on Github Actions

Steps to reproduce
Install-Module -Name CredentialManager -AcceptLicense -AllowClobber -Force -Verbose -Scope CurrentUser
Get-StoredCredential

Expected behavior
I successfully installed the CredentialManager package using the install-module command, but I was unable to execute the Cmdlets in the package
Actual behavior
Install-Module -Name CredentialManager -AcceptLicense -AllowClobber -Force -Verbose -Scope CurrentUser
2020-01-09T09:16:46.5626286Z VERBOSE: Module 'CredentialManager' was installed successfully to path 'C:\Users\runneradmin\Documents\PowerShell\Modules\CredentialManager\2.0'.

Get-StoredCredential
2020-01-09T09:16:47.5886008Z Get-StoredCredential : The term 'Get-StoredCredential' is not recognized as the name of a cmdlet, function, script file, or operable program.
2020-01-09T09:16:47.5886476Z Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

Environment data

Name                           Value
----                           -----
PSVersion                      6.2.3
PSEdition                      Core
GitCommitId                    6.2.3
OS                             Microsoft Windows 10.0.17763
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

This issue appears in the windows-latest environment of Github Actions and does not exist on my own machine

Hi @zhanghongtong
Perhaps this is an issue of the module, not a PowerShell.
https://www.powershellgallery.com/packages/CredentialManager/2.0/Content/CredentialManager.psd1
You can see the use of wildcards for FunctionsToExport and CmdletsToExport in the module manifest. This is not correct usage and often breaks autoloading for modules.
If possible, you have to contact the module author to request a fix.
The workaround is to import the module explicitly after installing it.
Install-Module -Name CredentialManager -AcceptLicense -AllowClobber -Force -Verbose -Scope CurrentUser
Import-Module -Name CredentialManager
Get-StoredCredential

Hi @mkht
Thanks for your reply .
After installing the module, I tried to use Get-Command *-StoredCredential to query the cmdlet, but I didn't find it. It can be used normally on my own machine. Is there any special setting for GitHub actions?
Or is there another way to configure credentials to access Github in PowerShell? I can set it in the GUI, but I don't know how to set it in PowerShell.

This issue has been reproduced on my local machine, so I don't think it's specific to GitHub Actions.
I don't know why it doesn't reproduce on your machine. sorry.
Get-Command * -StoredCredential returns no results because the module was not loaded correctly.
Again, use Import-Module to explicitly import modules. That is a workaround.
PowerShell 6.2.3
Copyright (c) Microsoft Corporation. All rights reserved.

https://aka.ms/pscore6-docs
Type 'help' to get help.

PS C:\Program Files\PowerShell\6> Install-Module -Name CredentialManager -AcceptLicense -AllowClobber -Force -Scope CurrentUser
PS C:\Program Files\PowerShell\6> Get-Command *-StoredCredential
PS C:\Program Files\PowerShell\6> Get-StoredCredential
Get-StoredCredential : The term 'Get-StoredCredential' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ Get-StoredCredential
+ ~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : ObjectNotFound: (Get-StoredCredential:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException

PS C:\Program Files\PowerShell\6> Import-Module -Name CredentialManager
PS C:\Program Files\PowerShell\6> Get-Command *-StoredCredential

CommandType     Name                                               Version    Source
-----------     ----                                               -------    ------
Cmdlet          Get-StoredCredential                               2.0        CredentialManager
Cmdlet          New-StoredCredential                               2.0        CredentialManager
Cmdlet          Remove-StoredCredential                            2.0        CredentialManager

PS C:\Program Files\PowerShell\6> Get-StoredCredential
UserName                                Password
--------                                --------
PersonalAccessToken System.Security.SecureString

Hi @mkht
I just retried it and it worked. Thank you.
But I have a new problem
New-StoredCredential : Argument 'New-StoredCredential' is not recognized as a cmdlet: Could not load type 'System.Web.Security.Membership' from assembly 'System.Web, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.

Maybe this isn't powershell's problem, but if you know what to do, please let me know, thanks again.

@zhanghongtong
The error message indicates that the command cannot be executed because the System.Web.Security.Membership class cannot be found.
Unfortunately, the System.Web.Security.Membership class cannot be used because it is not implemented in .NET Core, which is based on PowerShell Core.
The CredentialManager module you are using is not compatible with PowerShell Core. You'll need to ask the module author for help or consider an alternative.

@mkht Thanks for your reply .
Do you have any ideas for configuring credentials to access github in powershell?
Thanks again.

I want to access my private repositories on github through powershell because I need to pull them when I build projects, but I don't want to enter passwords manually because github ations don't have a GUI interface.

库里面没几个core可以用的,linux mac 更是什么都没有。这个东西连平台和系统版本，软件版本都没有区分。下载下来的东西全都不能用。我都不知道怎么过滤。
find-module PSreadline不会找到关于系统版本和适用范围的任何信息

@zhanghongtong
You can use encrypted secrets to handle sensitive information in your GitHub Actions workflow.
Save the token for accessing the private repository in a secret and assign it to a variable in the PowerShell script to handle it.
It is off topic of this issue and will not be described in detail. See GitHub Actions help.
https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets

On PowerShell 5.x.x "CredentialManager" works perfect but on PowerShell 7.x.x (I have 7.0.3) only partialy... "Get-StoredCredential" command works but "New-StoredCredential" powershell recognize but without any of arguments - so if I press "TAB" I can not see any of arguments like "-Target"...
Do any one had that kind of issue???
PS
I also tried with latest version of PowerShell RC)

If we use just a command "New-StoredCredential" we will have:
"New-StoredCredential: Argument 'New-StoredCredential' is not recognized as a cmdlet: Could not load type 'System.Web.Security.Membership' from assembly 'System.Web, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'."
I had found that probably in Powershell Core module "CredentialManager" is not supported: "Since PowerShell Core is built on .NET Core it wont be possible to use classes from System.Web.dll in PowerShell Core."
So prabably "CredentialManager" module will fully works only on "Desktop" version of Powershell (not "Core")

Hi, I've created a new module forked from the CredentialManager module of Dave, just install TUN.CredentialManager instead of CredentialManager (so call "Install-Module TUN.CredentialManager -Force" ) and you'll get a PowerShell Core compatible version along with more than 512 byte password length support and internal use of secure string instead of storing the clear password (where possible according to cmdlet calls, see new parameters IncludeSecretPassword and ExcludeClearPassword). New website here: github.com/echalone/PowerShell_Credential_Manager


Cannot download images from deviantart

I am using the latest image-picka 0.16.1, on Firefox 115.0.2 (64-bit) running on macOS 12.6.7.
As of yesterday, I cannot seem to easily download images from deviantart.com anymore. Other websites, such as artstation.com and pinterest still work fine.
Steps to reproduce:

go to deviantart.com
open an image
click on the pop-up download button

Expected result: the image should download in the background.
Observed result: Firefox displays a pop-up notification saying "SERVER_BAD_CONTENT", and the download fails.
Workaround: I can work around this issue by right-clicking on the image and selecting "open in a new tab". Image-picka then works on the newly opened image, albeit without the context information to save the image in the right subfolder.
Details:
I've built the latest master branch using npm, and debugged it in Firefox. What seems to happen is that the url of the image is somehow changed, and this results in a bad response from the server.
For example, this image: https://www.deviantart.com/morxx/art/Hellion-489441231
will have an  tag that has a src attribute, as well as a srcset attribute. The srcset attribute has 5 entries, for varying sizes of the image content. Image-picka seems to choose the correct (highest resolution) source image url.
However, instead of the actual url
https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/e535ddb0-54f4-4b05-b632-4e002ee0f15e/d83ef9r-66ed9f23-eae0-4bf7-8994-b9647962cb3e.jpg/v1/fill/w_1240,h_644,q_70,strp/hellion_by_morxx_d83ef9r-pre.jpg?token=eyJ0eXAiOiJKV1QiLCJhbGci...Sia419pj9LdNX54Cnt964jQCc
it instead ends up with a transformed url that looks like this:
https://www.deviantart.com/morxx/art/strp/hellion_by_morxx_d83ef9r-pre.jpg?token=eyJ0eXAiOiJKV1QiLCJhbGc...Sia419pj9LdNX54Cnt964jQCc
So everything appears in order, except for the first part of the url, where
https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/e535ddb0-54f4-4b05-b632-4e002ee0f15e/d83ef9r-66ed9f23-eae0-4bf7-8994-b9647962cb3e.jpg/v1/fill/w_1240,h_644,q_70,strp
is swapped out for
https://www.deviantart.com/morxx/art/strp
I don't know who is responsible for the url swap, I am still debugging this.
Thanks as always for a great tool!
Chris

Confirmed - Picka can't download anything (except some few common images like thumbnails in background, not related to the main content).
But images can be downloaded without issues with PPM and save image as directly in browser.
And I think there is one thing author could expand addon - pictures which failed to be recognized are symbolized with small red rectangle, focused with mouse the link to source appears but there is no way to copy the link to clipboard. It only appears as tooltip (at least in Firefox). It would be good to add option to copy these links. Button "copy urls" doesn't work for the failed images.

https://github.com/eight04/image-picka/blob/9a71160c25788978ba264ad34cf4e5cff24a919d/src/lib/image-util.js#L19
There is a bug when parsing srcset if there is a comma , in the URL. Need a better logic to parse srcset.
https://html.spec.whatwg.org/multipage/images.html#image-candidate-string


P100 missing switch entity but has overheat and signal level entity

Version of the integration
2.9.0
Configuration
Tapo P100 (HW 2.0)
1.2.1 Build 230804 Rel 190922
Describe the bug
P100 switch was working reliably for many months until it automatically updated firmware versions. It then stopped responding in HASS so I removed and tried to re-add, getting the authentication issue #122
I deleted the Tapo integration and reinstall 2.9.0 fresh. I was then able to add the P100 successfully, but it is missing the actual switch entity. It shows the overhead and signal level entity although I'm not sure if they are responding properly.

Well, after waiting 5 mins the switch entity automatically appeared. So patience is just needed!

For those finding the issue and waiting isn't correctign the issue, like myself. Another solution I found to work is to attempt to add the device to a new script as a toggle action from the device's page.

Pressing the plus in the scripts panel prompts for a type of action (toggle). It adds the action as toggle unkown entity. Running the script did toggle the plug and looking at the device again, the integration had added the switch control.


Clarify when using Enhanced Compute with ingestion and computed dataflows in separate workspaces where to apply or enable and disable Enhanced Compute

I've seen multiple posts in the forums related to this and nobody can really get a good answer on it. If anyone can please clarify that would be phenomenal.

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

ID: 71265a0f-32b6-7cf3-7daa-3b523aa556a5
Version Independent ID: da1e7392-ea68-65c7-916e-89e0d9974dc5
Content: Premium features of dataflows - Power BI
Content Source: powerbi-docs/transform-model/dataflows/dataflows-premium-features.md
Service: powerbi
Sub-service: pbi-dataflows
GitHub Login: @davidiseminger
Microsoft Alias: davidi

Thanks for your comment, @cvillegashak.
I've assigned this issue to the doc author for review.
In the meantime, you might find an answer in the Power BI Community.

Thanks for posting – note that we can only answer feedback related to the documentation, and can’t provide direct support or respond feature requests.
Your best venue for getting an answer or feedback on your question is from the community (https://community.powerbi.com) or from support at https://support.powerbi.com. You can also provide feedback using the Give Product Feedback button at the bottom of the article page.


fix: add eventtype for receiving bridge tx

Description
The bridge receive tx on the feed was set to the same type as a regular receive event.
for wallet-chat integration, this means it would show up a chat icon.
Without this separation of events, there would be no normal way to distinct between the two types.

[x] - add event type for receivebridge
[ ] - need to update past bridge events

@sirpy @johnsmith-gooddollar
current fix works only for new events
not sure what the best way would be to update older ones? is that through notifyEvents? somewhere else
Also not entirely sure if there are other places which should know about a receivebridge event


Add sign command, container provenance, split action

Hello!
This PR is mostly experimental. I've merged #91 and #88 and added a commit that splits the action. This way, a user can easily use the action without knowing all the arguments.
CC: @marcofranssen

looks like DCO is unhappy about commit 3aaa124:

Author: Marco Franssen, Committer: Marco Franssen; The sign-off is missing.

:shrug:

We choose to stick with a single action.
Although we didn't test it we are not entirely sure how GitHub will behave if you publish multiple actions from the same repo to the marketplace.
The v0.5.0 release changed the api slightly to add more flexibility. For the signing PR we still need to see how we improve this structure.


De-activate the z / angle / pitch / coordinates fixation when a user closes the camera panel

…closes the camera panel

works well, thanks! Note: I renamed the issue in Jira because the title was a bit misleading. We do not de-activate it directly, but mainly show a snackbar when closing the camera config... And this is implemented as planned, thanks!


improve composability

remove need for k8s-cluster parent group
rename kubernetes/preinstall to kubernetes/common
make kubernetes/common a dep for both node and master
move all kubernetes defaults to kubernetes/common

on debian the package apt-transport-https is required in order to install docker however this package is installed after the role docker.

on centos the user/group kube doesn't exist during the download :
fatal: [node1]: FAILED! => {"changed": false, "failed": true, "gid": 0, "group": "root", "mode": "0644", "msg": "chown failed: failed to look up user kube", "owner": "root", "path": "/tmp/releases/kubernetes/bin/kubelet", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 63201864, "state": "file", "uid": 0}

I just changed two things to get it working:
index e2f5bbd..80fd0b8 100644
--- a/cluster.yml
+++ b/cluster.yml
@@ -1,18 +1,15 @@
 ---
-- hosts: all
+- hosts: etcd
   roles:
     - role: etcd
       tags: etcd

-- hosts: ['kube-master','kube-node']
-  roles:
-    - role: docker
-      tags: docker
-
 - hosts: kube-node
   roles:
     - role: kubernetes/node
       tags: node
+    - role: docker
+      tags: docker
     - role: network_plugin
       tags: network

and copied the dependencie to create the user:
cp -rp roles/kubernetes/common/meta roles/download/

@paulczar is it ok for you to apply the changes i talked about above ?

i saw you worked on this pr recently, i think you're not far from something's working

@paulczar maybe today i'll finish your work because i like it :)

your work has been included in the pr https://github.com/kubespray/kargo/pull/350