PowerToys shortcuts don't work

Fancy Zones doesn't work when dragging window with Shift.
Also pressing Win+R doesn't open PT Run as configured.
I think this is a regression since latest update.
ℹ Computer information

Windows build number: [run "winver"]: 19041.388
PowerToys version: 0.20.1
PowerToy module: FancyZones, PT Run.

📝 Provide detailed reproduction steps (if any)
Tried restarting machine and issue persists.
✔ Expected result

Win+R should launch PT Run
Dragging with Shift doesn't place windows in FancyZones

📷 Screenshots

Do you run PT under admin?

I do.

Have this issue too with Window Key + Space. Infuriating. Can you guys please learn how to use automated testing?

hi @weitzhandler, sorry for the delay, does this problem persist in non admin mode? wondering if its the same issue as #5839

Why don’t you just push a fix to that and see?
Not using in admin mode is not an option.
On Aug 19, 2020, 11:58 AM -0400, sakariya<EMAIL_ADDRESS>wrote:
hi @weitzhandlerhttps://github.com/weitzhandler, sorry for the delay, does this problem persist in non admin mode? wondering if its the same issue as #5839https://github.com/microsoft/PowerToys/issues/5839
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/PowerToys/issues/5864#issuecomment-676512956, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALRHQ3NHAGQYAEX4GLZSGN3SBPZB5ANCNFSM4P26R6QA.

@bwt615, things are complex and trying to resolve things appropriately.  We have a great idea for solving the elevated window problem.
At end of the day, we try to do shell experiences without the same low level access shell has :)

As mentioned still open
On Aug 20, 2020, 5:57 PM -0400, Clint Rutkas<EMAIL_ADDRESS>wrote:
@bwt615https://github.com/bwt615, things are complex and trying to resolve things appropriately. We have a great idea for solving the elevated window problem.
At end of the day, we try to do shell experiences without the same low level access shell has :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/PowerToys/issues/5864#issuecomment-677927448, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALRHQ3PNJERTBIVHKMCL2WTSBWL6DANCNFSM4P26R6QA.

@enricogior this feels like multiple bugs.  PT run and FZ are totally different subsystems and even exe's.

hi @weitzhandler, sorry for the delay, does this problem persist in non admin mode? wondering if its the same issue as #5839

It's not steady. The bug occurs also in non-admin mode, but after a restart of the app, issue is gone, then after another restart it's back again. It feels like restarting the app toggles a setting responsible for capturing that shortcut.

@weitzhandler
are you running 0.21.1?

are you running 0.21.1?

Yes.

@weitzhandler
in non-admin mode it may not work because there might be an elevated application in the foreground.
When that happens, the Win + ? (or Win + Shift + ?) should work.
Next time the Shortcut Guide doesn't show up long pressing the Win key can you please try using Win + ??
Thanks.

I'm using PT in admin mode, as stated here.

@weitzhandler
Win + ? (or Win + Shift + ?) also works in admin mode. So if it happens that the ShoirtcutGuide doesn't appear when running in admin mode, try those shortcut as well.

⊞+R doesn't work, while ⊞+Shift+? does.

@weitzhandler
Win + R?
I listed both Win + ? and Win + Shift + ? because it depends on the keyboard, in reality there is only one of the two.
Let us know if it works for you when the long press Win doesn't.

Win + R?

This is what I set up to launch PT Run, see my original post.

Let us know if it works for you when the long press Win doesn't.

The long press works well.

@weitzhandler
OK, sorry for the confusion, I was replying to a different issue as well and mixed the two.
For the Win + R we are working on https://github.com/microsoft/PowerToys/issues/6060 that will impact the code that is currently failing for you when invoking PR Run.
FZ not working with Shift is happening at the same time when the PT Run shortcut is not working?

FZ not working with Shift is happening at the same time when the PT Run shortcut is not working?

Forget it. I must have reset my FZ settings and zones and misfigured it as a problem. Please just disregard the FZ issue.

@weitzhandler
OK.

Thanks for your diligence @enricogior!


Add: support for api_server_authorized_ip_ranges

See: #93

Fixes:
Changes proposed in the pull request:
Support the IP ranges to allow for incoming traffic to the server nodes. (documentation)

This is a duplicate of https://github.com/Azure/terraform-azurerm-aks/pull/109


Crash after attempting to scan 22m copper ore patch.

I do what the image has told me. If you need any more information, I will do my best to provide.

This is another of the bugs that will be resolved by #180


record collection "tracks" not verifying correctly?

I run the test cases, get the appropriate output for the variable 'collection', but the checker says something is wrong.  Is this a bug?  Perhaps related to the recent fix?  Thanks.

@df6000 It would be really nice if you could share your code with the community in
Most probably, your code might have some bugs.
Better to first verify with the community before filing an issue.
Thanks for caring :heartpulse:

@abhisekp :+1:


Add discoverURI function

I'm using Dex whose root path starts at /dex:
$ curl http://<IP_ADDRESS>:5556/dex/.well-known/openid-configuration
{
  "issuer": "http://<IP_ADDRESS>:5556/dex",
  "authorization_endpoint": "http://<IP_ADDRESS>:5556/dex/auth",
  "token_endpoint": "http://<IP_ADDRESS>:5556/dex/token",
  "jwks_uri": "http://<IP_ADDRESS>:5556/dex/keys",
  "userinfo_endpoint": "http://<IP_ADDRESS>:5556/dex/userinfo",
  "response_types_supported": [
    "code"
  ],

Therefore the current discover function is incompatible. To avoid any trivial bikeshedding on prefixes, I just expose discoverURI because I know the full URI that I want to discover from.

Sure, one moment.

Pushed!

Bump!

Merging so that I can open follow-up PRs. But cut a release at your own pace.

Sorry Chris, I hadn't realized you have admin privileges on the repo. Let me know if you still need to me to release. I see you have some other fixes in the pipeline!


docs: add npm badges

:tada: This PR is included in version 1.0.6 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Add Token Reauthorization

Description:
DO NOT MERGE THIS YET AS I AM TESTING IT WITH HOME ASSISTANT TO MAKE SURE THAT IT HOLDS UP AFTER 24 HOURS, WHICH IT SHOULD...WILL POST HERE TO CONFIRM RESULTS
This pull request adds the ability to "refresh" the auth token when the old token expires.  It does not check the token (as that would involve making an extra request), it simply attempts to get a new token if the current one appears to have expired, then retries the initial request.  So far this works beautifully.
Related issue (if applicable): fixes #23
Checklist:

[x] Local tests with tox run successfully PR cannot be meged unless tests pass
[x] If user-facing functionality changed, README.rst updated
[ ] Tests added to verify new code works

Hound appears to have been happy.
I will confirm later today whether or not everything is "good to go".

Coverage decreased (-2.3%) to 97.685% when pulling 7a3ba3ae0393f5cb704be62b3388dd1390875d4f on tySwift93:development into b0cb3dda37ba51cf268112f7732ed38bd21fd9eb on fronzbot:master.

Coverage decreased (-2.3%) to 97.685% when pulling 5099d0e67e41f3da033ad450f6658658cc551852 on tySwift93:development into b0cb3dda37ba51cf268112f7732ed38bd21fd9eb on fronzbot:master.

Coverage decreased (-2.3%) to 97.685% when pulling 5099d0e67e41f3da033ad450f6658658cc551852 on tySwift93:development into b0cb3dda37ba51cf268112f7732ed38bd21fd9eb on fronzbot:master.

Coverage decreased (-2.3%) to 97.685% when pulling 5099d0e67e41f3da033ad450f6658658cc551852 on tySwift93:development into b0cb3dda37ba51cf268112f7732ed38bd21fd9eb on fronzbot:master.

Coverage decreased (-2.3%) to 97.685% when pulling abea28ef007148a49c894b8119bbc7fb50d6fcd7 on tySwift93:development into b0cb3dda37ba51cf268112f7732ed38bd21fd9eb on fronzbot:master.

Coverage decreased (-2.3%) to 97.685% when pulling ab684f64ff1a1a2f8850fbfd45942b177f9ab085 on tySwift93:development into b0cb3dda37ba51cf268112f7732ed38bd21fd9eb on fronzbot:master.

Coverage decreased (-2.3%) to 97.685% when pulling ab684f64ff1a1a2f8850fbfd45942b177f9ab085 on tySwift93:development into b0cb3dda37ba51cf268112f7732ed38bd21fd9eb on fronzbot:master.

Coverage decreased (-2.3%) to 97.685% when pulling ab684f64ff1a1a2f8850fbfd45942b177f9ab085 on tySwift93:development into b0cb3dda37ba51cf268112f7732ed38bd21fd9eb on fronzbot:master.

Coverage decreased (-2.3%) to 97.685% when pulling eb41b4285ed649d56128c54f681636d1a6a49d42 on tySwift93:development into b0cb3dda37ba51cf268112f7732ed38bd21fd9eb on fronzbot:master.

Coverage decreased (-2.3%) to 97.685% when pulling b23fe8319b08a6cc6672cefeef64c8ee06dc5a01 on tySwift93:development into b0cb3dda37ba51cf268112f7732ed38bd21fd9eb on fronzbot:master.

Can you add the two tests? I don't really have the time right now, and you seem much more equipped to write tests in Python! Let me know...
If not, it might take me awhile to get to this.

Everything is perfect so far. Just giving it one more 24 hour cycle. Will let you know by tomorrow.

This is good to go.  Feel free to add the tests before merging!

Can you please also make a pull request to HA?


It might be nice if our final image didn't say CREATED in 292 years ago.

We can make each layer reproducible but the final tar can still have a different creation date with the same image-id?

Shouldn't we only be zero-ing this out when the builds are reproducible
with a fixed digest base image?
On Fri, Jun 1, 2018 at 12:56 PM Qingyang Chen<EMAIL_ADDRESS>wrote:

We can make each layer reproducible but the final tar can still have a
different creation date with the same image-id?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/GoogleContainerTools/jib/issues/341, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AHf5HblPFfs668nnoAUf6axauKerZBCpks5t4XJFgaJpZM4UXA7a
.

Currently, we aren't actually zero-ing this out for the image, but rather just not setting a creation time (https://github.com/opencontainers/image-spec/blob/master/config.md#properties), which somehow causes Docker to say 292 years ago. For builds, we don't vary any of our build logic based on what the base image is so all the application layers and container config are reproducible.


How to connect to multiple ports?

I want to connect to multiple asynchronous ports. I could not find the python documentation for this library.

Just call .connect or .bind more than once on a socket.
Use pydoc nanomsg to read the documentation.


Add functions

getMapSpawn(map,zone) {zone is optional}
getPokemonEV(pokemonName,effort) {effort is optional}

This is one small step for man, one giant leap towards being able to do literally anything with PROShine. You sure you don't want to add a function to brush your teeth for you too? ;)
In all seriousness though, I'd like to suggest adding some sort of function to check if a particular map is "good" for training a particular EV in. Just a thought I had while reading through some of this.
Also, the parts where it says "zone = zone or nil" and "effort = effort or nil" are unnecessary since optional parameters are already nil when no parameter is passed.


Expected start of the object '{' but had'EOF' instead at path: $

Describe the bug?
The function OidcConfiguration.internalPerformRequest causes a JsonDecodingException.
At line 113 of NetworkUtils.kt the value of body.readUtf8() is a non-empty string.

Suddenly at line 114 of NetworkUtils.kt the value of body.readUtf8() is now an empty string.

The empty string causes responseHandler(body) at line 114 to return an exception.

What is expected to happen?
There should not be a JsonDecodingException.
What is the actual behavior?
There is a JsonDecodingException.
Reproduction Steps?
Please see above
Additional Information?
No response
SDK Version and Artifact(s) used.
com.okta.kotlin:bom:1.1.2
com.okta.kotlin:oauth2
com.okta.kotlin:auth-foundation
com.okta.kotlin:auth-foundation-bootstrap
com.okta.kotlin:web-authentication-ui
com.okta.kotlin:legacy-token-migration
Build Information
No response

I believe this is expected behavior. See: https://javadoc.io/doc/com.squareup.okio/okio/1.17.5/okio/BufferedSource.html#readUtf8--
readUtf8 removes all bytes from the body, based on the documentation. That's the reason that calling body.readUtf8() the second time returns empty string.


IE11 Support

WIP
Adds polyfills and a babel-fied version of blacklight.js locally to support IE11. Also closes an svg path element. Not certain this covers all the ills, but is a good start.
Would definitely want to remove this local override when migrating to webpacker and proper transpiling.

What problem is this fixing?

What problem is this fixing?

@jhu-alistair Blacklight ships with javascript that IE11 does not support, examples: arrow functions, array.from, and let variables. This PR adds a local blacklight.js file with javascript transpiled and polyfilled that IE11 can handle.
Basically, you'd get IE11 support going down this route.

@jhu-alistair Blacklight ships with javascript that IE11 does not support, examples: arrow functions, array.from, and let variables. This PR adds a local blacklight.js file with javascript transpiled and polyfilled that IE11 can handle.
Basically, you'd get IE11 support going down this route.

I'll make a note about this so we don't forget is it needs to be removed when we transition to webpacker or that it might need updated if we update blacklight again before that.

I'll make a note about this so we don't forget is it needs to be removed when we transition to webpacker or that it might need updated if we update blacklight again before that.


Iterating through biome names to hook into custom plugin

Hello,
I have released a plugin that triggers an action when a player enters a new vanilla biome, and lists those biomes in a GUI for easy management of those actions.
One of my users uses your plugin, and so I'd like to add in support for OTG.
Is there a way for me to easily gain a list of all enabled biomes and their associated IDs so that I can list them in my plugin's GUI and then listen as players move from one biome to another?
You can see my plugin here, for reference: https://www.spigotmc.org/resources/musicalbiomes-pro-for-mcjukebox-50-off-sale.53350/

Hey @stifflered, thanks for the feedback and sorry for the late response. Unfortunately, I don't know of any event for when players discover a new biome, OTG doesn't implement one either. To fetch the biomes: Unlike other plugins/mods, OTG registers biomes at world creation, not at app start, so if you query the biome registry after world creation / load you should be able to find them.


⚠ ClamAV has degraded performance

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

HTTP code: 200
Response time: 431 ms

Resolved: ClamAV performance has improved in d52979b.


Bitbucket upgrade

Upgrade to Bitbucket 5.4.0
Add ttf-dejavu for Captcha support per: https://confluence.atlassian.com/bitbucketserverkb/captcha-image-doesn-t-render-779171210.html

Hello Firefishy! Seems you have forgotten to update the release script and readme? Can you commit them please?

Whoops sorry, corrected now.

Great work as always!


Footer abnormal movement in notification

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
In the notification section while switching from read->unread or vice-versa the footer moves depending on the message count's presence.
Screencast from 01-07-2024 06:14:42 PM.webm
Steps To Reproduce
For better bug reproduction make sure you have at least one read/unread notification.
notification->switch between unread to read
Expected Behavior
The footer needs to stick to the bottom of the page irrespective of the page we are on.
Screenshots
No response
Device Information [optional]
- OS:
- Browser:
- version:

Additional context
No response
Are you working on this issue?
No

@Malavi1 shall I take this up if @tanmoysrt approves this.
Thank you

@Malavi1 please can you assign these issue to me I want to work on these issue

Issue verified.
Assigning @GaganMeshram123 for his first contrubtion in CircuitVerse

@tanmoysrt  thanks for assigning the issue

Hii @tanmoysrt
Certainly! , I will begin working on the message section and notification features. I will keep you updated on the progress and share my approach soon.

hii @tanmoysrt I am stuck at that problem and not able to understand what tto do .

Hi, @GaganMeshram123
Could you please elaborate the issue that your facing!

Hi, @GaganMeshram123 are you working on this issue? Hi,@Malavi1 Can I work on this issue if Gagan is not working?

Hey @tanmoysrt @Malavi1 I have fixed this issue. Could you please assign me this. I can raise a pr as soon as you assign this to me.
Video reflecting change

Before
After

https://github.com/CircuitVerse/CircuitVerse/assets/97349505/c9f10207-a490-4c55-a1eb-7e3c75127ccf

https://github.com/CircuitVerse/CircuitVerse/assets/97349505/0bdd3740-6840-4cf6-85ba-089c0c731cf4

Hi @GaganMeshram123 any update ??

@tanmoysrt Ya  I am confused at one code I will update you soon

@tanmoysrt  actually I am trying to make the changes but in the documentation section where i can make the changes? this is the problem I am facing

Is there anyone working on this issue, if not can i get this issue?

hello @Malavi1 , i got the the issue why the footer is moving because you did not FIX its position, can you please assign this issue to me i will resolve this issue .....thankyou

Hey @tanmoysrt, I noticed this issue still hasn't been fixed. I have figured the solution and I would request you to assign me this issue and let me make my first contribution.

Hey this would my first contribution I would like to work on this issue if you could assign it to me.

Hi @RajiaRani if you make the footer position as fixed it will effect all the remaining pages including home as well.
So, come up with another solution for this.
Thank You


Feature/112 image upload

Summary
Implented the image upload function in the mural form. Thanks a lot for @tedspare 's help on styling!
Test Plan
Manually
Related Issues
Which issues does this PR resolve/work on?
#112

For reference:


calibration selection fix for the variation of tango devices' model numbers

calibration selection fix for the variation of tango devices' model numbers
There's multiple model number for tango devices.
Zenfone AR
ASUS_A002
ASUS_A002A
Phab 2 Pro
PB2-690Y
PB2-690M
PB2-690N

Thank you!


Should not get “Required module not found” error when importing a file ignored within .flowconfig

My project’s .flowconfig ignores a few folders, including core/bundles/:
[ignore]
<PROJECT_ROOT>/core/\(bin\|bundles\|transpilation\)/.*
# other entries…

I am ignoring these files because because they will never have types in them, and I think ignoring them will increase the speed of Flow’s type-checking by telling Flow that it doesn’t need to watch them.
I recently added an import within a Flow-typed file of a file within this ignored directory:
// @flow

import {LRUMap} from '../../../../bundles/lru_map';
// the path resolves to core/bundles/lru_map

// … some code that uses LRUMap …

I am sure that the relative path '../../../../bundles/lru_map' is correct. The file can run and use LRUMap without errors, and the ESLint rule import/no-unresolved doesn’t give any warnings about that path, while it does if I remove or add any ../.
Current behavior
Flow gives me a “Required module not found” error:
core/tests/scripts/utils/caching/TestLRUMap.js:5
  5: import {LRUMap} from '../../../../bundles/lru_map';
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../../../../bundles/lru_map. Required module not found

Found 1 error

This is confusing because there really is a module at that path. It was hard to figure out why Flow couldn’t find it.
Expected behavior
I expect one of two things to happen instead of Flow showing this error:

Flow should report no error for this line, because it can see that the file does exist. Of course, since the imported file has no type annotations, it won’t put any type constraints on how I use LRUMap, but I’m okay with that.
This solution seems ideal to me; I don’t see any reason I shouldn’t be able to tell Flow to not watch a file while also importing it within Flow-typed code. And the docs for .flowconfig [ignore] say this is to determine “which files to read and watch for changes”, not to list files that Flow should not be able to see at all.

Flow could report a more specific error for this case with a less confusing message. The message could be something like “Can’t import module that is configured to be ignored”. Ideally the message would also explain why this is the case and what to do instead, either in the message or by linking to a documentation page.

Workaround
Currently my workaround is to add a $FlowFixMe suppress_comment above the import line:
// $FlowFixMe
import {LRUMap} from '../../../../bundles/lru_map';

Related issues
The authors of these issues and questions encountered this problem too:

The Stack Overflow question ‘“Required module not found” for module that exists in node_modules’
#3924 “Why is NPM module not found?”
#2092 “How to use declarations to avoid "required module not found" errors?”

You should be using module_mapper in addition and giving all your ignored modules the any type.

@nmn Are you talking about module.name_mapper? I think I see how I could use it as an alternative workaround, by writing UntypedModule.js that contains let value: any; export default value;, and then using module.name_mapper to rewrite all imports within my bundles/ to that same file. Thanks for pointing that out.
But it's still a workaround, and Flow should improve what it does in situations like this. At the very least, the error message shouldn't imply that the imported module doesn't exist (as I described in option 2).

FWIW, this can also happen if you forget to include a sibling or parent folder in the [include] section of your config, and try to import something from outside of your project root.

There is [untyped] section which takes list of regexp similar to [ignore] but treat those modules as any.
This probably can be closed.
/cc @vkurchatkin


Api not currently working

Hi i try to use your API,
but only "http://chess-api-chess.herokuapp.com/api/v1/scoreboard?" is currently working,
not "http://chess-api-chess.herokuapp.com/api/v1/chess/one"  nor "/two"

me too. i want use this api


Resolving dependencies...  (201.9 s)

cmd performs poetry install to always resolve dependencies
Updating dependencies
Resolving dependencies...  (201.9 s)

Did you check for any connectivity issues? Is your connection to pypi alright?

Agree, that it seems more like a connection issue.


add notebook for NER using Functions

Summary
Add Named Entity Recognition (NER) notebook to enrich text using function-calling.
Motivation
Hello, @simonpfish! Following up on #771 - I've incorporated the suggestions from the rubric. The PR now includes function-calling and an actionable task post-NER. Please let me know if there are any further improvements needed. Thank you!

For new content
When contributing new content, read through our contribution guidelines, and mark the following action items as completed:

[X] I have added a new entry in registry.yaml so that my content renders on the cookbook website.
[X] I have conducted a self-review of my content based on the c:
[X] Relevance: This content is related to building with OpenAI technlogies and is useful to others.
[X] Uniqueness: I have searched for related examples in the OpenAI Cookbook, and verified that my content offers new insights or unique information compared to existing documentation.
[X] Spelling and Grammar: I have checked for spelling or grammatical mistakes.
[X] Clarity: I have done a final read-through and verified that my submission is well-organized and easy to understand.
[X] Correctness: The information I include is correct and all of my code executes successfully.
[X] Completeness: I have explained everything fully, including all necessary references and citations.

We will rate each of these areas on a scale from 1 to 4, and will only accept contributions that score 3 or higher on all areas. Refer to our contributions guidelines for more details.

Hi @dcarpintero! I'll take a look at this next week

At a quick glance this looks quite good and like a decent improvement over #771, thank you for all the effort!

Thank you for your contribution! This is a fun and useful example.


[BUG] TimeSeriesForestClassifier not working with multiple outputs.

Describe the bug
The TimeSeriesForestClassifier (TSFC) documentation suggests that the model should work with a multilabel/multioutput problem. When I try to run it this way, however, the training process seems to complete fine, but at inference time I get a ValueError from numpy saying that it cannot broadcast size (N,1) to (N,). For example, when I try to predict on a set with 8 possible classes (with the classes for each sample represented as a multi-hot vector) I get an error.
To Reproduce

# these sets have shapes (22317, 4)  (7440, 4) (22317, 8)  (7440, 8)
X_tr, X_ts, y_tr, y_ts = train_test_split(data, labels)

pipe = Pipeline([
    ('concat', ColumnConcatenator()),
    ('classify', TimeSeriesForestClassifier(n_estimators=100, n_jobs=n_jobs))
    ])
pipe.fit(X_tr, y_tr.values)
result = pipe.score(X_ts, y_ts.values) # this line is the problem

Expected behavior
The model to output a score in this case, or a set of probability vectors when python predict_proba()  is called.
Additional context
Ultimately I am trying to solve a multitask problem here. Any help is very much appreciated.
Versions

System:
    python: 3.8.2 (tags/v3.8.2:7b3ab59, Feb 25 2020, 23:03:10) [MSC v.1916 64 bit (AMD64)]
executable: c:\users\steven.belcher\dev\redberry\snorkel_env\scripts\python.exe
   machine: Windows-10-10.0.18362-SP0
Python dependencies:
pip: 20.2.4
setuptools: 41.2.0
sklearn: 0.23.2
numpy: 1.18.5
scipy: 1.5.3
Cython: 0.29.21
pandas: 1.1.3
matplotlib: 3.3.2
joblib: 0.17.0
numba: 0.51.2
pmdarima: None
tsfresh: 0.17.0

Thanks @Stevellen for opening the issue, it's possible that this is a bug, I don't think we have a test for it and may have broken the support for multilabel classification when extending sklearn.
Do you have some toy data to work with? Would you be interested in looking into this?

@mloning Sure, I could have a look at it sometime this weekend.

Have the same issue. fit() function does not throw any errors. However, calling .predict() function returns a single array of shape (N,), where N is the number of labels, instead of (m, N), where m is the amount of data being predicted.

Since the .predict() only returns a single array at a time, my workaround at the moment is inserting my data into the predict() function one by one in a for loop and count accuracy manually. So, my code to calculate the accuracy is something like:
# X_te is X test data, and Y_te is Y test data

total = 0
for i in range(len(X_te)):
  pred = model2.predict(np.array((X_te[i], )))
  total += 1 if accuracy_score(pred, Y_te[i]) == 1.0 else 0

print(total/len(X_te))

if I understand it, you are trying to do multi-class classification, i.e. predict multiple target variables with a single classifier? If so, this capability is not (yet?) supported by sktime. We should throw a more meaningful error if it is attempted though

hi, in the refactor and error is thrown if y is not one dimensional. There are no medium term plans to make classifiers compatible for multi-label classification, so given little activity  on this, I will close this issue


timestamp parameter added to the last property

my origin code was like this:
<script src="../../framework/jquery/dist/jquery.js" type="text/javascript"></script>

after grunt cache task:
<script src="../../framework/jquery/dist/jquery.js" type="text/javascript?t=107fbe95"></script>

fixed


Add E2E tests for hub side template indentation

This is testing functionality added in:
https://github.com/open-cluster-management/governance-policy-propagator/commit/d0d1645714ebc3e5a198b431eed5a8f8ba3ea12d
The first commit grants the service account read access to everything to match the GRC helm chart configuration. This is required for testing hub side templates which lookup secrets.

/lgtm


Add --help and --version argument to CLI

Is your feature request related to a problem? Please describe.
Currently there seems to be no way to determine the version of the mzmine command line interface. Would be cool to have these pretty standard arguments.
Describe the solution you'd like
Add parameters. MZmine should print the version / help and exit with exit code 0.
Additional context
I noticed this, because for the bioconda recipe we use a simple call to MZmine as test. Since this exits with a non-zero exit code extra measures are needed. That is we call (MZmine --help || true) |& grep "Starting MZmine {{ version }}" .. could be easier :)

See the PR this should work right?

Excellent


Cannot use a plugin that doesn't require configuration

Welcome!

[X] Yes, I've searched similar issues on GitHub and didn't find any.
[X] Yes, I've searched similar issues on the Traefik community forum and didn't find any.

What did you do?
I'm trying to load a plugin that doesn't require any configuration
In the traefik configuration file I have to declare something like below to bypass:
  middlewares:
    dummy_plugin:
      plugin:
        dummy_plugin:
          key: value

What did you see instead?
With the configuration
  middlewares:
    dummy_plugin:
      plugin:
        dummy_plugin: {}

plugin: missing plugin configuration: dummy_plugin
What version of Traefik are you using?
from v2.5 to latest
What is your environment & configuration?
http:
  routers:
    whoami:
      middlewares:
        - dummy_plugin
      entrypoints:
        - http
      service: whoami
      rule: Host(`domain.com`)

  services:
    whoami:
      loadBalancer:
        servers:
          - url: http://whoami
        passHostHeader: false

  middlewares:
    dummy_plugin:
      plugin:
        esi: {}

Add more configuration information here.
If applicable, please paste the log output in DEBUG level
No response

Thank you! 🙏

Closed by #9338.


Group images in lightroom

I'd like to group images inside the lightroom with a prev/next image inner a defined image gallery.
Can you add this option?

https://github.com/jsor/lity/issues/11
But think this is a great option. Lity is much lighter and a great lib. It would be a great function to add even if there is other offering it. Nobody does it with such a small footprint.


GraphQL API for participating in a run

Add graphql APIs for participating and removing participation in a run:
type Mutation {
    ...
    addRunParticipant(runID: String!, userID: [String!]!): String!
    removeRunParticipant(runID: String!, userID: String!): String!
}

Follow existing pattern for add and remove playbook member.
Add and remove participation should follow the permissions for viewing a run. Note that this means participation means nothing in terms of permissions. It's only a virtual barrier to access.

[ ] create graphql mutations with current leave/participate behavior (still channel members)
[ ] store and service functions to handle add/remove members
[ ] connect graphql to new service functions
[ ] clean channel checks when joining

@crspeller I changed the addRunParticipant to support multiple users in one shot.

@trilopin Should it be symmetric then with removeRunParticipant also taking multiple users?

@trilopin Should it be symmetric then with removeRunParticipant also taking multiple users?

UI interaction does not justify it, but we can create a mutation that accepts multiple removals too if you see value in the symmetry.


Make post's feature image max-width: 100%

Before the image scaled to the browser's width, leading to your image being scaled out too much, making it look crappy.

looks good 👍


High CPU Usage on Raspberry Pi Master

Describe the bug
Higher than expected CPU usage from k3s server.
To Reproduce
Download K3S on a Raspberry Pi 3 and disable traefik and the svmlb. Use MetalLB instead.
Expected behavior
Less CPU usage with few pods running on master.
Screenshots

That isn't realy high cpu usage


Fixing ARM compilation errors for new code. See ebfull/pcap@02e45121b.

This fixes a problem with some architecture-dependent types. The errors can be produced by compiling on an ARM processor (e.g. Raspberry Pi).
There was an earlier commit that fixed this issue, but a later change introduced a regression.

Thanks!


Creating PVC from rbd snapshots

Describe the feature you'd like to have
We have snapshots in ceph cluster (pool/image@snap1).
Maybe you can add functional when provisioner will clone image from this snapshot, create PV with this image and bound it to PVC.
Commands at ceph cluster:
rbd clone pool/image@snap1 pool/image-clone
It will be good, if it will work with encryption.
What is the value to the end user? (why is it a priority?)
We can set which snapshot we can use at pvc, for example:
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
   name: "pvc-name"
   labels:
     image: "image"
     snapshot: "snap1"
 spec:
   accessModes:
     - ReadWriteOnce
   resources:
     requests:
       storage: 10G
   storageClassName: csi-rbd-sc

How will we know we have a good solution? (acceptance criteria)

PVC was create from rbd snapshot
PVC have same data as at snapshot in ceph cluster(pool/image@snap1)

Hi @kuhar2007 , ceph-csi currently supports the functionality of cloning from snapshots

@Yuggupta27 You didn't understood me, it's documentation how to clone from VolumeSnapshot, but I wrote about cloning from rbd snapshot. It's different things, because we have already snapshots in ceph and we don't need create new Snapshot at k8s, just only create PVC

@kuhar2007 Take a look at https://github.com/ceph/ceph-csi/blob/devel/docs/static-pvc.md if that serves your purpose.
Ceph-csi created volumes/snapshots have unique id composed of versionEncodedHex, clusterIDLength, ci.ClusterID,		poolIDEncodedHex, ci.ObjectUUID which is stored and used by CSI. Therefore, we cannot directly use image from ceph other than as a static pv with limited functionality.

It could be cool if you will support snapshots on the static PVC.

Ceph-csi created volumes/snapshots have unique id composed of versionEncodedHex, clusterIDLength, ci.ClusterID, poolIDEncodedHex, ci.ObjectUUID which is stored and used by CSI. Therefore, we cannot directly use image from ceph other than as a static pv with limited functionality.

The reason we cannot support snapshots is the same as above. We can only support static PVC creation, deletion, mount and unmount.

Current snapshots don't have good usability.
If I create one snapshot I can use it only at one namespace, but if I need restore pvc from one snapshot at different namespaces (10 or more) with encrypted data?
My current steps will be:
1 - Create new clean pvc and pod at each namespaces
2 - Upload needed data to each pvc at each namespaces
3 - Create snapshot from this pvc at each namespaces
4 - And now I can restore pvc from snapshot at each namespaces
I think it's too difficult, we have a lot steps, we have a lot of unnecessary actions.
If we'll get solution when we can use in PVC data about rbd snapshot - we remove actions about uploads, about copy same data to different namespaces, we'll get one rbd snapshot with data which we can use at each namespaces without additional actions.
We have already use this schema at old rbd-provioner, but it don't support encryption.

Maybe somebody can tell more easy steps for my aims.


Selectively check TLS client cert based on domain or route

Description
In a "web context", we would like to check the TLS client certificate for some requests, but for other requests to the same envoyproxy, no client certificate is needed. The distinction could be based on domain or path (routing) level. We've tried different ways to achieve that goal, but have not succeeded so far.
Things we've considered:

As far as we understand from the docs, a listener address has to be unique (e.g. <IP_ADDRESS>:443 in our case), which means we have to solve the problem from within the same listener(?)
Seems like the tls_context definition is for the whole filter chain, so it's unclear how to make a distinction between requests that need checking the client cert and others that do not
according to https://github.com/envoyproxy/envoy/issues/5920 it seems that you cannot have multiple envoy.http_connection_manager filters "in a row" where any of them can match

Is it possible and how? Help greatly appreciated.

Simplified config:
static_resources:
  listeners:
  - address:
      socket_address:
        address: <IP_ADDRESS>
        port_value: 443
    #listener_filters:
    #- name: "envoy.listener.tls_inspector"
    #  config: {}
    filter_chains:
      filters:
      - name: envoy.http_connection_manager
        config:
          stat_prefix: ingress_http
          forward_client_cert_details: ALWAYS_FORWARD_ONLY
          route_config:
            name: local_route
            virtual_hosts:
            - name: x
              domains: ["domain.com"]
              routes:
              - match:
                  prefix: "/api"
                route:
                  cluster: api
          http_filters:
          - name: envoy.router
      tls_context:
        #require_client_certificate: true
        common_tls_context:
          tls_certificates:
            certificate_chain: { "filename": "/etc/envoy/certs/cert_bundle.crt" }
            private_key: { "filename": "/etc/envoy/certs/priv.key" }
          validation_context:
            verify_certificate_spki: "<value>"
  clusters:
  - name: api
    connect_timeout: 0.25s
    type: strict_dns
    lb_policy: round_robin
    hosts:
      - socket_address: { address: api, port_value: 3333 }
  - name: web
    connect_timeout: 0.25s
    type: strict_dns
    lb_policy: round_robin
    hosts:
      - socket_address: { address: web, port_value: 3334 }

How to extend this config with a route or a domain for the cluster web where requests must not be checked for client certificate?

Maybe you can use the RBAC filter to enforce that only requests with valid certs are allowed to x.domain.com? The RBAC filter has a pretty flexible API: https://github.com/envoyproxy/envoy/blob/034b23e956e2381105c605e0d851a7ea6c0ca849/api/envoy/config/rbac/v2alpha/rbac.proto#L60
You can configure it simply as a HTTP filter in your http connection manager before the envoy.router filter.

I've found the solution, it's actually all in the FAQ on how to setup SNI. A listener can have multiple filter_chain_match (in my case one for each domain).
Thanks anyway, and closing.

Another gotcha that had me stumped is that the 'fingerprint_sha256' digests must be lowercase, and not colon-delimited.  e.g.
{
    "certificates": [
        {
          "fingerprint_sha256": "1b7d42ef0025ad89c1c911d6c10d7e86a4cb7c5863b2980abcbad1895f8b5314"
        }
    ]
}


Support new Scout version.

Thanks for your contribution! 🎉
We need to keep compatibility with Scout 3 for now, like we did in the this PR for the macro extension: https://github.com/algolia/laravel-scout-algolia-macros/pull/14/files

@julienbourdeau Ofcourse, I upped the version to adhere to this. But since there are no breaking changes this is fine too :)
Do you want me to update this PR or will you fix it?

All good, Thanks for your first contrib! Feel free to open any new PR ;)


Move qier222.yesplaymusic 0.3.5 to qier222.YesPlayMusic 0.3.5

Microsoft Reviewers: Open in CodeFlow

[Policy] Reset Labels


WIP: New Remove-ClusterSharedVolumeFromAffinityRule commands

PR Summary
Documenting new Remove-ClusterSharedVolumeFromAffinityRule commands.

PR Checklist

[X] Descriptive Title: This PR's title is a synopsis of the changes it proposes.
[x] Summary: This PR's summary describes the scope and intent of the change.
[x] Contributor's Guide: I have read the contributors guide.
[x] Style: This PR adheres to the style guide.

Consolidated into #3552


[WIP] Styling with rustfmt

This is an example, how our code base would be reformatted if we applied rustfmt, with a configuration as close to the new styleguide as possible. This isn't meant to be merge but a discussion proposal.
I'd also like to address to following, when taking into consideration whether we want to move forward with this:

Every time rustfmt gets updated the CI will break
While that used to be true, there are a few things that have changed recently, which make me believe this isn't going to be as much of a problem in the future:

fmt has moved into an RFC process and released new-features behind a flag first as with the proper release process, which I believe to go much slower, too
as we need that flag set though, we have a rather complete configuration file with all options set to their current default, thus changing defaults would not effect us
you can now pin to a specific fmt version, thus if this really becomes an issue, we could pin to the current version and make intended formatting upgrades only when we want to

Comparing this to the styleguide:

Indent levels should be greater than 5 only in exceptional circumstances and certainly no greater than 8. If they are greater than 5, then consider using let or auxiliary functions in order to strip out complex inline expressions.

Can't be addressed with rustfmt, but maybe with clippy? I am very fond of this and would really like to have a tool ensuring we adhere to it!

Lines should be longer than 80 characters long only in exceptional circumstances and certainly no longer than 120. For this purpose, tabs are considered 4 characters wide.

This goes for a max_width of 100 with tabs and tabs considered 4 chars. Intentionally longer lines could be marked for rustfmt to ignore but that hasn't been done.

where is indented, and its items are indented one further

This isn't a configuration option at the moment, however the indentation-rules around where provided within the current version are coming pretty close imho

Blocks should not be used unnecessarily.

This has been deactivated here, however the "unnecessary" is another thing for clippy I guess....

Is there any chance, that a new version of this pull request could be getting merged? I would be willing, to work on this.

It's a year later and I just did a bit of digging on this. With a couple couple config tweaks, rustfmt gets close to satisfying the style guide.
Here is an example config that attempts to encode the formatting rules in the style guide.
The config above sets two options, both of which are part of stable rustfmt.
There are two cases where rustfmt conflicts with the style guide.

where clauses
explicit return statements

Examples of both cases are provided in the gist.


Increase project reference count even when the opened file is referenced by it but not its root

Fixes #8523

👍


operator: bind necessary policy flags

There was a bug where the operator was reporting policies containing ICMP fields as invalid, even though they were accepted by the daemon. It turns out that because option.Config.EnableICMPRules is populated by vp.GetBool(), it's not enough just to initialize it to the default value. We must bind that command-line argument as well.
Fixes: #35214
Fixes a bug where the operator incorrectly flagged CiliumNetworkPolicies containing ICMP rules as invalid.

/test

/test


GSD Request

--- GSD JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from v4.2 to before v4.14.258",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=a25691c1f9674090fb66586cf4c5d60d3efdf339",
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=3899700ddacbf7aaafadf44464fff3ff0d4e3307"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "a25691c1f9674090fb66586cf4c5d60d3efdf339",
      "note": "introduced"
    },
    {
      "type": "commit",
      "value": "3899700ddacbf7aaafadf44464fff3ff0d4e3307",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "iio: accel: kxcjk-1013: Fix possible memory leak in probe and remove\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v4.14.258 by commit 3899700ddacbf7aaafadf44464fff3ff0d4e3307, it was introduced in version v4.2 by commit a25691c1f9674090fb66586cf4c5d60d3efdf339. For more details please see the references link."
}
--- GSD JSON ---

This issue has been assigned GSD-2021-1002405


Update ppp and DG

Codecov Report

Merging #221 (a1a7c0c) into master (03a808f) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #221   +/-   ##
=========================================
  Coverage     58.13%   58.13%
  Complexity      690      690
=========================================
  Files           120      120
  Lines          2907     2907
  Branches        347      347
=========================================
  Hits           1690     1690
  Misses         1093     1093
  Partials        124      124

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 03a808f...a1a7c0c. Read the comment docs.


Building docker image of Rasa failed with MacBook Air M1

Rasa version:
2.8.1
Rasa SDK version (if used & relevant):
NA
Rasa X version (if used & relevant):
NA
Python version:
Python 3.8.2
Operating system (windows, osx, ...):
macOS 11.4 (Apple M1)
Issue:
Building docker image failed with macOS 11.4 (Apple M1). Docker version 20.10.7, build f0df350.
Error (including full traceback):
(venv) moyun@192 rasa % make build-docker
export IMAGE_NAME=rasa && \
        docker buildx use default && \
        docker buildx bake -f docker/docker-bake.hcl base && \
        docker buildx bake -f docker/docker-bake.hcl base-poetry && \
        docker buildx bake -f docker/docker-bake.hcl base-builder && \
        docker buildx bake -f docker/docker-bake.hcl default
[+] Building 4.4s (11/11) FINISHED
 => [internal] load build definition from Dockerfile.base                                                                                0.0s
 => => transferring dockerfile: 792B                                                                                0.0s
 => [internal] load .dockerignore                                                                                0.0s
 => => transferring context: 34B                                                                                0.0s
 => [internal] load metadata for docker.io/library/ubuntu:20.04                                                                                4.3s
 => [auth] library/ubuntu:pull token for registry-1.docker.io                                                                                0.0s
 => [1/5] FROM docker.io/library/ubuntu:20.04@sha256:b3e2e47d016c08b3396b5ebe06ab0b711c34e7f37b98c9d37abe794b71cea0a2                                                                                0.0s
 => CACHED [2/5] RUN apt-get update -qq &&   apt-get install -y --no-install-recommends   python3   python3-venv   python3-pip   python3-dev   libpq-dev   curl   && apt-get autoremove -y                                         0.0s
 => CACHED [3/5] RUN apt-get update && apt-get dist-upgrade -y --no-install-recommends                                                                                0.0s
 => CACHED [4/5] RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 100    && update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 100                                                              0.0s
 => CACHED [5/5] RUN useradd -rm -d /app -s /sbin/nologin -g root -u 1001 rasa && groupadd -g 1001 rasa                                                                                0.0s
 => exporting to image                                                                                0.0s
 => => exporting layers                                                                                0.0s
 => => writing image sha256:f86a981ce65875efab385e6fdf9ab304279dc0ec1ca8246005c189b1648a5d9c                                                                                0.0s
 => => naming to docker.io/library/rasa:base-localdev                                                                                0.0s
 => exporting cache                                                                                0.0s
 => => preparing build cache for export                                                                                0.0s
[+] Building 4.5s (4/4) FINISHED
 => [internal] load build definition from Dockerfile.base-poetry                                                                                0.0s
 => => transferring dockerfile: 351B                                                                                0.0s
 => [internal] load .dockerignore                                                                                0.0s
 => => transferring context: 34B                                                                                0.0s
 => ERROR [internal] load metadata for docker.io/library/rasa:base-localdev                                                                                4.4s
 => [auth] library/rasa:pull token for registry-1.docker.io                                                                                0.0s
------
 > [internal] load metadata for docker.io/library/rasa:base-localdev:
------
error: failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0: failed to create LLB definition: pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed
make: *** [build-docker] Error 1

Command or request that led to error:
make build-docker

Content of configuration file (config.yml) (if relevant):
NA

Content of domain file (domain.yml) (if relevant):
NA

Thanks for the issue, @alopez will get back to you about it soon!
You may find help in the docs and the forum, too 🤗

In general the new M1 chips have issues with Tensorflow and Docker.
Can you confirm that you can;

Run basic Python based docker containers locally?
Run a Tensorflow container locally?

I think we're getting closer on this issue. Updates on this forum thread

I tried building 3.0.1 to see how far I would get.
h5py
The first issue I ran into was with the h5py module on the M1. This workaround worked for me but it looks like poetry has no equivalent to the pip --no-binary option.  I was able to generate a pip requirements.txt, then added the --no-binary option to three lines in the file and the pip based install got me past the h5py failure.
brew install hdf5
export HDF5_DIR=/opt/homebrew/Cellar/hdf5/1.12.0_4
poetry export --without-hashes --format requirements.txt --output requirements.txt
# cached-property==1.5.2 --no-binary=h5py
# h5py==3.1.0 --no-binary=h5py
# numpy==1.19.5 --no-binary=h5py
python -m pip install --force-reinstall -r requirements.txt

numpy / spacy
The next issue was numpy. Version 1.19.5 does not run on the M1 but 1.21 does work. There's a lengthy discussion about using earlier numpy release and spacy here but I have not tried this. Unfortunately, 1.21 is not supported with TensorFlow 2.6 (but it is supported under 2.7).

I managed to create an ARM-compatible Rasa Docker Image, and documented the steps here: https://github.com/khalo-sa/rasa-apple-silicon


LSP server crashing on invalid syntax

Steps To Reproduce
With VS Code closed, run ./scripts/run-vscode-extension . to start an Extension Development Host window.
Create a new file foo.ts and type some invalid syntax: function {"oops"}
Results
LSP server crashes. From the Rome Output panel:
Fatal error occurred: DiagnosticsError: Corrupt AST

[Info  - 1:20:06 PM] Connection to server got closed. Server will restart.

Probably need a catchDiagnostics somewhere in LSPServer.

I think we'd need to wrap the call to runner.run() in the watchFilesFromArgs callback and then maybe add an onError handler to WatchEvents.
Although, I'm not sure why the errors are getting that far. I'll try to figure out why they aren't being handled earlier. Ideally, syntax errors in a single file wouldn't disrupt the lint run and LSP diagnostics for any other files that changed at the same time (like when checking out a new branch).

I’m pretty sure that’s it’s the auto formatting that’s causing it (the requestWorkerFormat call in LSPServer) I’m confident the linter already handles this (there’s a catchDiagnositcs somewhere in WorkerAPI#lint).

I saw the catchDiagnostics in WorkerAPI#lint which is why I was confused that it wasn't already handled. The server was crashing as I typed though, not when I saved, which is why I thought it was lint-related. When I have a moment later, I'll try wrapping the format call and see if that fixes it.

It looks like the errors are happening on LintRunner#runGraph
Is it reasonable to catch diagnostics in WorkerAPI#analyzeDependencies and return {…UNKNOWN_ANALYZE_DEPENDENCIES_RESULT, diagnostics} when they're caught?

Yup, that should be good.


Add another tool_integration_tests subshard for Windows

The longest Windows tool_integration_tests shard is timing out:
https://ci.chromium.org/ui/p/flutter/builders/prod/Windows tool_integration_tests_1_4/172/overview
https://ci.chromium.org/ui/p/flutter/builders/prod/Windows tool_integration_tests_1_4/173/overview
Adding another shard...

Actually, does it work to only add the shard to Windows or should Mac and Linux also get another one (they don't appear to be close to the timeout yet)?


Device.StartTimer vs System.Threading.Timer

What's a benefits or drawbacks of using Device.StartTimer vs System.Threading.Timer? Both are firing on background threads, both are cross-platform and netstandard2 compatible. System.Threading. Timer has a bonus points of being non-Xamarin specific.
What should I use and when? I think it worth at least mentioning there

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

ID: e81aa61e-e932-f169-b7ed-83cecfd6702d
Version Independent ID: 08d4698a-1d94-e4c3-bf87-9f1a73892a67
Content: Xamarin.Forms Device Class - Xamarin
Content Source: docs/xamarin-forms/platform/device.md
Product: xamarin
Technology: xamarin-forms
GitHub Login: @davidbritch
Microsoft Alias: dabritch

Hi @leotsarev
Use either.
Device.StartTimer was implemented long before .NET Standard came along, and in those days the Timer class was unavailable to PCL projects. Now that the Timer class is available, there's no advantage/need to use Device.StartTimer. But that API won't vanish,  because there will be older projects that still rely on it.
I'll make an update to the Device doc.


Cache a few things to speed up canvas rendering.

Caching a few values and a scratch surface can give us some nice wins, particularly for rendering a zoomed in canvas.
Original

Method
Mean
Error
StdDev
Allocated

RenderOneToOne
2.159 ms
0.0388 ms
0.0363 ms
242 B

RenderManyOneToOne
9.597 ms
0.1060 ms
0.0940 ms
824 B

RenderZoomIn
42.322 ms
0.2513 ms
0.2350 ms
29,294 B

RenderManyZoomIn
404.774 ms
3.2200 ms
3.0120 ms
29,600 B

RenderZoomOut
8.205 ms
0.1055 ms
0.0987 ms
272 B

RenderManyZoomOut
76.499 ms
0.7711 ms
0.7213 ms
1,574 B

PR

Method
Mean
Error
StdDev
Allocated

RenderOneToOne
2.144 ms
0.0155 ms
0.0145 ms
250 B

RenderManyOneToOne
9.529 ms
0.0866 ms
0.0810 ms
832 B

RenderZoomIn
22.584 ms
0.1647 ms
0.1460 ms
28,358 B

RenderManyZoomIn
123.765 ms
0.7484 ms
0.7001 ms
29,637 B

RenderZoomOut
8.179 ms
0.0824 ms
0.0771 ms
280 B

RenderManyZoomOut
65.336 ms
0.3871 ms
0.3432 ms
983 B

This is great, thanks!!

Thinking about this more, I wonder if the zoom in/out drawing could be done purely in Cairo by setting up a suitable transform for the source surface? The filtering behaviour would probably be different, but this could make it easy to draw straight onto the final surface with the layer's opacity / blend mode

I was wondering about that, especially for 'Zoom Out'.
I think 'Zoom In' is a bit trickier because most zoom functions apply a smoothing algorithm, and we want our 'Zoom In' to just show big, chunky pixels instead of being smoothed.

Looking through the Cairo docs, it looks like that might be doable by setting up the "fast" or "nearest" filter for the source surface pattern

I've got this mostly working, I'll upload a PR for it shortly!


Fixed usability issues on submission intake form and other proponent pages

Description
Hid location coordinate helper texts when proponent selects the street address radio button.
Removed the field checkProvincialPermits and all references from the frontend and app.
Added back button to the My drafts and submissions page for proponents.
Removed spatial file upload accordion and "added" it to the upload file section in the housing tab.
Changed back button on intake form to go back to drafts and submissions if the proponent clicked into a draft and left it to take you back to housing if it's a new form.
Stopped the intake form from autosaving when changing tabs on a blank intake form
This will help with the usability of the application for proponents.
PADS-280
Types of changes

Bug fix (non-breaking change which fixes an issue)

Breaking change (fix or feature that would cause existing functionality to change)
Checklist

[x] I have read the CONTRIBUTING doc
[x] I have checked that unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)

Further comments

on the "my drafts and previous entries page" the "Back to Housing" button should go above the page title, below the top menu bar. Also, on the submitted/ saved draft enquiries, the back button should be changed to "back to my drafts and previous entries." Thank you!


Follow HTML standards for query string List

Discussed in https://github.com/developmentseed/titiler/discussions/349

Originally posted by vincentsarago July 28, 2021
ref: https://github.com/developmentseed/titiler/pull/347, https://github.com/developmentseed/titiler/pull/262#issuecomment-792863831
Problem description
Historically we choose to allow passing list values (bidx, bands, assets) as comma delimited value encoded in string (e.g bidx=1,2,3), which is then decoded to list https://github.com/developmentseed/titiler/blob/1879706478834f5e7cc565950f4e389ef073ced4/src/titiler/core/titiler/core/dependencies.py#L89-L101
This works fine BUT is not standard.
Breaking change
this will be a breaking change but I feel it's better to follow standard.

In next titiler version (0.4) we will update all the dependencies to follow HTML standards
When list is required, the use will have to pass the argument multiple times: indexes=1&indexes=2&indexes=3 (before it was bidx=1,2,3
Open Question
In new rio-tiler (3.0) we need asset_expression and asset_indexes to be dictionaries (e.g asset_expression={"asset1": "b1*2"} . Sadly there is no standard ways to represent dictionaries/object in query strings, and starlette don't support it.
I'm quite fond of the mydict[mykey]=value notation (e.g asset_expression[asset1]=b1*2)
ref: https://blog.shalvah.me/posts/fun-stuff-representing-arrays-and-objects-in-query-strings


I cannot import mongo inside my Class Ressource

How can make a config file that is shared between other classes in my project so I can use
customers = mongo.db.Customers
mongo connection each time I need to
It used to word just fine when they were all in the same file
app = Flask(name)
api = Api(app)
"""Config.py"""
app.config['MONGO_DBNAME'] = 'webAPI'
mongo = PyMongo(app, config_prefix='MONGO')
but now I have a pbm when I call : mongo.db. ... inside another class
and when I import mongo from the config.py file ( a seperate file I created )  inside that class I receive the error
from config import mongo >>  ImportError: cannot import name 'mongo'

https://stackoverflow.com/questions/49425623/flask-rest-api-config-in-seperate-file
stackoverflow issue

Can you show me the complete code for config.py and the separate file?
Also if you could show me the complete command you're running and full output including the error message.
What operating system & version of Python are you using?

Closing this for inactivity. If you are still having the problem, please re-open and show the complete code for config.py so that we can help you figure out where the issue is.


[SPARK-8114][SQL] Remove some wildcard import on TestSQLContext._

I kept some of the sql import there to avoid changing too many lines.

Merged build triggered.

Merged build started.

Test build #34225 has started for   PR 6661 at commit 443f6e8.

Test build #34225 has finished for   PR 6661 at commit 443f6e8.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
  case class DoubleData(a: java.lang.Double, b: java.lang.Double)
  case class NullDoubles(a: java.lang.Double)

Merged build finished. Test FAILed.

Merged build triggered.

Merged build started.

Test build #34226 has started for   PR 6661 at commit 8f6b642.

Test build #34226 has finished for   PR 6661 at commit 8f6b642.

This patch fails MiMa tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Merged build triggered.

Merged build started.

Test build #34230 has started for   PR 6661 at commit 73b5365.

Test build #34230 has finished for   PR 6661 at commit 73b5365.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Merged build triggered.

Merged build started.

Test build #34237 has started for   PR 6661 at commit de9d491.

Test build #34237 has finished for   PR 6661 at commit de9d491.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Merged build triggered.

Merged build started.

Test build #34246 has started for   PR 6661 at commit c265347.

Test build #34246 has finished for   PR 6661 at commit c265347.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.


Composer name doesn't match required css path

When installing via composer the project name, as taken from the composer file, is silverstripe-data-object-version-viewer, however the yml file is trying to require css as: 'data_object_version_viewer/css/styles.css'.
I'm not sure whether it would be better to change the css path, or rename the project in composer to match the shorter module name. For now, I've been including the correct css in my own project.

Thanks @adrexia and sorry for the delay. I've updated the css path in config.yml.

Thanks!


license should be a valid SPDX license expression

This is the warning I get while installing this module:
npm WARN package.json<EMAIL_ADDRESS>license should be a valid SPDX license expression

This is either coming from a dev dependency (jshint) or from another module. But we don't use logs-reader-ui or any other (prod) dependencies.


the spoof worked but didn't solve my problem

Hi
I have a problem accessing Zoom chat on my MacBook Air. I use it mostly for work meetings but a few of my coworkers I know including myself, get an error code 1132 preventing access.  A quick google and it appears to be a pretty widespread problem, rumoured to be a hardware ban, with solutions ranging from factory reset to spoofing MAC address. Nothing has worked for me so wondering if you know another way around this?  If it's not something you can help with don't worry, my Zoom account works on my iPhone, it's just not that practical for long meetings.
thanks!
J

Hey,
I would be flabbergasted if8 ZOOM uses MAC addresses to ban users. Where have you read that?
Are you using a VPN? My gut feeling is ZOOM would target specific people using their IPs rather than MACs (although everything is possible).
If they do ban people using their MACs, spoofing would probably not work as they could read the hardware MAC using commands such as networksetup -listallhardwareports | awk -v RS= '/en0/{print $NF}' that do not require admin privileges.
Hope this helps.
Best,
Sun

Hey,
I would be flabbergasted if ZOOM uses MAC addresses to ban users. Where have you read that?
Are you using a VPN? My gut feeling is ZOOM would target specific people using their IPs rather than MACs (although everything is possible).
If they do ban people using their MACs, spoofing would probably not work as they could read the hardware MAC address using commands such as networksetup -listallhardwareports | awk -v RS= '/en0/{print $NF}' that do not require admin privileges.
MAC spoofing is only effective against external threats.
Hope this helps.
Best,
Sun

Thanks for replying.
I think it was someone on Reddit who claimed MAC spoofing worked and others have had success with a factory reset.
I assumed it wasn't an IP ban as the issue is exclusive to my laptop - my other devices using the same Zoom account and WiFi network are unaffected.
I'll keep looking and learning as I get to the bottom of this!

I see no reason why a factory reset would fix MAC spoofing - the MAC address is embedded in the hardware, not the OS, so a factory reset would only reset to the same MAC address. I smell BS in whoever made that Reddit post.

Sorry misunderstanding.
To fix the Zoom error, some have said a factory reset worked for them and
someone else said MAC spoofing worked. I’ve tried both but neither have
been successful.
On Thu, 10 Sep 2020 at 20:18, Alex Anderson<EMAIL_ADDRESS>wrote:

I see no reason why a factory reset would fix MAC spoofing - the MAC
address is embedded in the hardware, not the OS, so a factory reset would
only reset to the same MAC address. I smell BS in whoever made that Reddit
post.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/sunknudsen/privacy-guides/issues/3#issuecomment-690652880,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQ35NAJHXQDQX3O5S5R5SPDSFERAJANCNFSM4QYZOT4Q
.

Hey @Frengers156. Can I close this issue?

Hi
Yes that's fine and I managed to solve it with a zoom override app.
Thanks for your time and for replying to me!
J
On Sun, 27 Sep 2020 at 14:28, Sun Knudsen<EMAIL_ADDRESS>wrote:

Hey @Frengers156 https://github.com/Frengers156. Can I close this issue?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sunknudsen/privacy-guides/issues/3#issuecomment-699635699,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQ35NAMTP3F4YTJWURXFJC3SH44XZANCNFSM4QYZOT4Q
.

Pleasure. Feel free to share how you solved your issue in this thread. Have a nice day!


Discussion: dynamic/responsive layout

Thinking about things like security cameras - I might not want the camera feed live all the time, but want it to pop open when a motion event is detected. That might be done by:

drawing a new layer over the top
allowing it to switch between templates (you'd have a standard template with no camera feed, and another template that has maybe just the clock and the camera feed on it which shows for 20 seconds after a motion event, then goes back to the standard one)
allow the rows to be dynamically resized - set the camera's row in the template to 0 height, then adjust it to some large fraction for a while after an event, then make it small again

Where else might such dynamic, short-term popups be useful?

The garage door was left open
Bluetooth BBQ thermometers (notify that the brisket has reached temperature, or the fire has gone out)
Amber alerts, tornado warnings, and other government-issued notices
calendar event reminders

I'm planning on implementing alerts that will either take up the whole screen or appear more like a popup. This would effectively hide whatever's behind it. The default alert will just be a red bar at the top with text.
I like the idea of resizing rows to temporarily give emphasis to one component because you might still be able to see everything else, but I think this would require more work to pull off than just an overlay. Maybe something to consider after we have basic alerts and a working camera component.


Memory Reduction && Test supergroup

After the recent changes on symmetry modules, the speed of supergroup is likely to become slower due to the visit of t/k subgroup data. Needs to bring the speed back.
On the bright side, the memory usage is less.
import psutil
import os

def print_memory_usage():
    process = psutil.Process(os.getpid())
    mem_info = process.memory_info()
    print(f"Memory usage: {mem_info.rss / 1024 ** 2:.2f} MB")  # RSS is the Resident Set Size

if __name__ == "__main__":
    print_memory_usage()
    from pyxtal.symmetry import Group
    print_memory_usage()
    g = Group(4, quick=True)
    print_memory_usage()
    g = Group(227)
    print_memory_usage()

    from pyxtal import pyxtal
    xtal = pyxtal()
    xtal.from_spg_wps_rep(194, ['2c', '2b'], [2.46, 6.70])
    print_memory_usage()

    xtal.subgroup_once()
    print_memory_usage()

Memory usage: 15.17 MB
Memory usage: 292.17 MB
Memory usage: 292.20 MB
Memory usage: 297.22 MB
Memory usage: 298.00 MB
Memory usage: 308.62 MB

The old results are
qzhu8@MAC ~/GitHub/PyXtal master $ python 0.py
Memory usage: 15.02 MB
Memory usage: 424.39 MB
Memory usage: 424.39 MB
Memory usage: 426.28 MB
Memory usage: 426.86 MB

commit 07d63b30a7019e1af5a92e0cb99ae6d5a9c5088e
$ python test_supergroup.py
----------------------------------------------------------------------
Ran 9 tests in 47.220s

commit 85aa6ae7d6a827a50b849cb73b69ddabffb81a2c
qzhu8@MAC ~/GitHub/PyXtal master $ python test_supergroup.py
----------------------------------------------------------------------
Ran 9 tests in 14.752s

Todo: Avoid the instance of Group

path_to_general_wp()
search_supergroup_paths()
search_subgroup_paths()


Where is the deploy button

There is no deploy button in the page.

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

ID: 42f5f6b4-e65b-eacd-10e4-a72c44375d96
Version Independent ID: e39819f6-d71e-c586-7a16-a5cd4ae28ca3
Content: Demand Forecasting for Shipping and Distribution - Azure Solution Ideas
Content Source: docs/solution-ideas/articles/demand-forecasting-for-shipping-and-distribution.md
Service: architecture-center
Sub-service: solution-idea
GitHub Login: @adamboeglin
Microsoft Alias: pnp

Thanks for reporting - this issue is under review.  This is a Microsoft Internal DevOps Bug ID AB#

@behramkhan Thank you for your feedback! We will review and provide an update as appropriate.


⚠ Bofrost.de has degraded performance

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

HTTP code: 200
Response time: 959 ms

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


feat(data): recommendation list data function that takes in a list of anime id

What feature does this satisfy?
Describe the feature

[x] MAL anime name list based recommendation list data function

Additional context
Recommended/suggested endpoints (please modify as you see fit when working on the issue):

N/A

Blocked by:

N/A

We are unable to find an api that would query anime name instead of id. Hence we are switching to id

userEmail (so we can put their recdata in the db), and the other is the array of ids

Added functions for both logged in users and non-logged in users


Add backup command

Added minimum backup commands based on @lexsulzer 's https://github.com/dataspects/mediawiki-cli/tree/canasta/manage-snapshots-canasta

init
view
take-snapshot
restore

Yes, indeed - it looks like people have complained about gofmt's strange spacing for a long time, but it's what the developers want:
https://github.com/golang/go/issues/12720
Given that, I think we should stick with gofmt's output.


rbd: use conventional naming style for errors

A recent PR added new error values that were similar to the existing
naming convention but were not the normal go convention. Change all the
errors to match typical convention but leave the older names as aliases
such that older code will continue to work (for now).

@nixpanic  please take a look, this touches some of your recent changes.

I will rebase #124 on top of this, and rename new errors/constants to not have the Rbd-prefix.

There are a few consts that have the unneeded Rbd-prefix too. Shall we rename those as well?

I think we can consider it, but probably in a later PR. This was partially driven by my work adding linting with revive, and trying to remove some of the less-common error patterns we have in this code. There are a lot more non-error constants that use RbdXXX naming style and I am not sure how agressive we should be about those.

@nixpanic tests updated. PTAL


[c++] Corner-case bug in extend-enumeration logic

Repros here (with #2895)
https://github.com/single-cell-data/TileDB-SOMA/pull/2895#issuecomment-2289574667
and here (without #2895)
https://github.com/single-cell-data/TileDB-SOMA/pull/2895#issuecomment-2289574667

Re-opening until #2920 is resolved


Reword question for number of suppliers

change 'How many suppliers/specialists you want to evaluate' to 'How many suppliers/specialists will be evaluated' so the question makes sense in the opportunity page and is consistent with how we asked questions elsewhere.

👍


Server crash

Crash when creating Fluid Cow spawner (Stoneblock 2)
crash
log

What fluid name u want spawn?

Try 1.1.19 version.

Closed. In code: fixed. Not tested because TS not send any answer.


fix: always show selected fee on FeeRate screen

Description
It is possible that selected fee might be above maximum, we should still show it, because it is already has been selected by the user.
Linked Issues/Tasks
closes #1896
Type of change
Bug fix
Tests
No test

Is it not more confusing to show one of the three non-custom options that are all invalid for current tx context but still hide the other two invalid options?

Agree, let's gray them out


Add a hits per second graph to Dashboard

Add a graph that displays the average number of requests per seconds for each requests, for each log frames.

@Liard-Thomas , this graphs already exists as responses per sec, no ?


Squeezebox players are incorrectly named when detected

Home Assistant release (hass --version):
0.31.1
Python release (python3 --version):
Python 3.4.2
Component/platform:
Media_Player - Squeezebox
Description of problem:
If the players are named anything with a space in, they are detected only as the last word in the name (e.g. "Dining Room" becomes "Room")
Expected:
A player, named "Something With Spaces In" is detected as "Something With Spaces In" instead of "In".
Problem-relevant configuration.yaml entries and steps to reproduce:
configuration.yaml
media_player: !include_dir_list config/media_player/

config/media_player/squeezebox.yaml
---
platform: squeezebox
host: <IP_ADDRESS>
name: "Logitech Media Server"

Additional info:
This is a regression, previous code did not have this issue.

duplicate of https://github.com/home-assistant/home-assistant/issues/4019 - right?


Download link to Creator kit not found

There is a Download the Creator kit link on: https://learn.microsoft.com/en-us/power-platform/guidance/creator-kit/overview

the link goes to: https://github.com/microsoft/powercat-creator-kit/releases/download/CreatorKit-November2022/CreatorKitCore_1.0.20221205.2_managed.zip but results in:

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

ID: 6b74154c-ce00-1e30-0806-9d9a1d5923ea
Version Independent ID: 6b74154c-ce00-1e30-0806-9d9a1d5923ea
Content: Creator Kit - overview (preview) - Power Platform
Content Source: power-platform/guidance/creator-kit/overview.md
Service: power-platform
Sub-service: guidance
GitHub Login: @denisem-msft
Microsoft Alias: demora

Thanks for your comment, @m3ngi3. This issue has been assigned to the doc author for review.

Fixed.


add collected.count and collected.max

Adds a collected.count and a collected.max condition that return the amount of pets captured and the max available to capture respectively.
This adds more of the functionality that was asked for on tdbattlescripts to manage capturing. It lets you figure out how many pets you have captured and then go from there. I'm not entirely sure why someone would want collected.max since this is only really useful for wild pet capture, but I included it for completeness.
Example:
if [enemy.collected.count < 3]
   ...
endif

I'm still hoping to figure out how to implement self.collected.quality.min or similar, but it's currently looking like that will require scanning the entire pet journal, which I'm hoping to avoid.

Can you please add a changelog entry for this?

@bloerwald Do you have any comments on the non-existability of these selectors (ie https://github.com/DengSir/tdBattlePetScript/issues/26)? As this is a global selector, I think this selector will always exist so is probably not a concern.

@WanderingFox API docs would also be nice for this! 😄

@bloerwald Do you have any comments on the non-existability of these selectors (ie DengSir/tdBattlePetScript#26)? As this is a global selector, I think this selector will always exist so is probably not a concern.

Yes, it will probably break if the pet can't be found, i.e. if select(2, C_PetJournal.FindPetIDByName(name)) = nil.

Also have a think about how these should act against pets that you cant actually obtain (ie elite pets, trainer pets - basically anything that isn't wild). I would like collected.max to return 3 for wild pets, 1 for unique pets and 0 for unobtainable pets.

Made the suggested changes to catch nil pets, and added an obtainable check which forces the values to 0 if the pet is unobtainable.
@axc450 the docs are in the open issue ( #3 )

Looks great! Thanks!
@bloerwald Any further comments?

Looks fine to me, but I only looked at the code. Ship it!


Add an option to fine the project by skill or name

Describe  feature .
Frontend

Show dropdown to choose to find by name of skill (refer to the image below)

Backend

Search for the projects based on the option selected. If skill is selected then search project my skills and if the name is selected then search the projects on the basis of name

Screenshot

I'd like to work on this issue.

I'd like to work on this issue.

You can start working on it.

@ShwetKhatri2001 are you working on this one, bro?

Yes, I will complete it by today


type-level representation of modules?

Hi,
It looks like you've addressed this in #12, but I'm having trouble using it. For example,
julia> macro foo()
       m = __module__
       @show m, typeof(m)
       t = expr2typelevel(m)
       @show t, typeof(t)
       m2 = interpret(t)
       @show m2
       :(($m,$t))
       end
@foo (macro with 1 method)

julia> m,t = @foo
(m, typeof(m)) = (Main, Module)
(t, typeof(t)) = (Main, DataType)
m2 = 1
(Main, Main)

I would expect m2==m, but instead it's being turned into an Int. What am I doing wrong?

Oh, use to_type and from_type instead of expr2typelevel and interpret.
In fact interpret is not total, it's the default implementation of to_type, but when there're complex rules like for Module or String, it'll get incorrect answer.

Oh, of course! I'll try that, thank you :)

It works!!
julia> m = @model begin
       x ~ Normal()
       end;

julia> Soss.getmodule(m)
Main


Webfaction Django issue serving .well-known dir Apache

Hi,
the way I setup my django projects on webfaction leaves me with all static data served under:
mydomain.com/static
This did not work with our script. I found a workaround on stackoverflow:
Just added this to the apache config:
Alias /.well-known/ /home/user/webapps/XXXXX/website/static/.well-known/
<Directory /home/user/webapps/XXXXX/website/static/.well-known/>
Require all granted</Directory>

So all my django static assets are still available under /static/, and only for letsencrypt.
Thank you for this will-in-wi

I will also set it to close, however if anyone encounters the same problem they can check closed issues (I did, however most of the titles where not self explanatory)

This is great, thanks! I added a link to this ticket in https://github.com/will-in-wi/letsencrypt-webfaction/wiki/Django


Added example on how to pass variables to templates

Just a simple example on how to pass variables do templates :)

Thanks!

Yay :)


Breaks with vtk-9.1.0: no member named 'GetPointer' in 'vtkCellArray'

Describe the bug
/disk-samsung/freebsd-ports/graphics/visit/work/visit-3.2.1/src/avt/IVP/avtCellLocator.C:69:38: error: no member named 'GetPointer' in 'vtkCellArray'
        cellIdxPtr = ug->GetCells()->GetPointer();
                     ~~~~~~~~~~~~~~  ^
1 error generated.

Desktop

OS and version: FreeBSD 13
VisIt Version: 3.2.1

VisIt 3.2.1 requires VTK 8.1.0, since the API between VTK 8.1.0 and 9.1.0 changed. We have a branch where we are porting to VTK 9.1.0 and this issue is resolved there.

The vtk-8.1.0 requirement makes visit a lot more difficult to port.
We only have vtk-8.2.0 and vtk-9.1.0 in FreeBSD ports.
Re-introducing a long-obsolete vtk-8.1.0 just for one port is a difficult choice.

Sorry for the inconvenience this may be causing.  Moving VisIt to a newer version of VTK is no small task with many issues to be worked out.

This issue is resolved in the port-to VTK 9 branch.


How do i solve that? i already have python

I have the same problem with 3.12.1

@DaviJh Disable python and python3 in Microsoft App Execution Aliases (Manage App Execution Aliases) it disable the shortcut that try to open Microsoft Store.

Install from python.org, not from Windows store + Use terminal instructions solved this issue for me.

As I posted in mentioned issue, I believe you run into the
Python Version
Python 3.x.x
does not exist

because you are not dragging the save over the convert.cmd file. The file is not saying Python does not exist.
As for Windows aliases, that solution is if the file returns "Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings". Using terminal version of instructions should fix both of these errors.

@DaviJh Disable python and python3 in Microsoft App Execution Aliases (Manage App Execution Aliases) it disable the shortcut that try to open Microsoft Store.

Legend! This fixed it for me.


Dummy commit used for testing integration functionality

Working code but PR is used only for testing

Comment
multiline

sadf
asdf
asdf
asdf
asdf
asdf

dsdf
dfg
dsfg
sdfg
sdfg
sdfg
sdfg
sdfg
sdfg

sadf
sadf
adfg
dsfg
dsfg
fgh
fdgh
dfg
adfg
dfg

sdf

@andrius-k testing the mentions!!!


Migrate to Yara-X

Closes #122
Blocked by #121

todo: CI

todo: CI

https://github.com/vipyrsec/dragonfly-client-rs/pull/127


[BUG]: Cyan ball auto merge

Description of the bug
Occasionally, when a differently colored ball is launched at a stationary cyan ball, the balls will immediately merge instead of the launched ball getting knocked back while its color changes to cyan.
Steps To Reproduce

Launch a different colored ball at a stationary cyan ball with the color change effect.

Expected Result: The stationary ball changes color and gets knocked back
Actual Result: The stationary ball changes color and merges immediately with the cyan ball without having a chance to get knocked back first
Additional Information
#81 #87

I think this only occurs if the balls touch twice, as I've tried to reproduce the bug several times but it only occurred once. I'll keep looking at it though!


feat: add rpc-get-xpub method

Try out Leather build 5fbb877 — Extension build, Test report, Storybook, Chromatic

Clone of xpub pr

Adding link to original PR here for ref: https://github.com/leather-wallet/extension/pull/4958

This is a new API, and not additional functionality for getAddresses, correct?
Let's capture in the APIs database in Notion and design an approval UX for this particular request, since I agree we need to indicate clearly what it means to the user.


Use http.Header instead of custom type

Get rid of @TODO and custom Header type.

Actually that was only todo in the source-code and now it's gone :sunglasses:

Oops. I merged #1212 before this which created a conflict here. Sync up and we can merge it!

Thank you @wendigo! :tada:


Is there a way to programatically figure out which predicate failed?

Hi!
First of all, thanks for the great gem! I hope AciverRecord will die one day(it's dying hard...).
I'd like to know, s there a way to programatically figure out which predicate failed?
Result of validation looks like this:
{ :email => ["email must be filled"] }

Basically, it's the same of ActiveModel::Errors#messages returns: attribute and human readable messages.
The use case where it is not enough: http API, where every type of validation error may result into different code.
I am developing JSON API, and it would be greate  to give to API consumers ability to distinguish between different validation failure, because they may want to handle it in different way.
In general, result in such format would be enough:
{
  :email => {
    :filled => "email must be filled"
  }
}

Thanks!

Not sure if I want to kill anything with my projects but I'd be happy to see people using this gem instead of AR's validations ;)
Anyhow, you have access to all violated rules via schema.(input).failures. Let me know if that works for you.

Thanks for the quick reply!)
Ah, sorry, I've mislookeed, that there was .messages call at the end in the example.
So, yes, it works as I wanted it to be! It returns result, as vanguard does :)
Here is just example, if somebody will have the same issue:
require 'dry-validation'

class Schema < Dry::Validation::Schema
  key(:email) { |email| email.filled? }

  key(:age) do |age|
    age.int? & age.gt?(18)
  end
end

schema = Schema.new
result = schema.call(email: '', age: 19) # without .messages

p result
# => #<Dry::Validation::Schema::Result params={:email=>"", :age=>19} messages={:email=>[["email must be filled"], ""]}>

p result
[#<Dry::Validation::Rule::Result::Value success?=false input="" rule=#<Dry::Validation::Rule::Value name=:email predicate=#<Dry::Validation::Predicate id=:filled?>>>

P.S.
Unfortunately I don't use the gem yet, but I want to give it a try! The idea is really brialiant.
Thanks!

If I'm not wrong, currently the way to access given predicate for an error is:
error = schema.call(input).errors.first
puts error.result.rule.predicate.id

So it is possible to reach to it, but I'm not sure if along the way our old pal Demeter would survive to a heart attack :D
But more than about judge Demeter health I'm worried about relating predicates with error messages, because, as far as I have deduced, there is no straight way.
Now, the output of result.messages is:
{ attribute: [message_1, message_2] }

Would you consider changing it to:
{ attribute: { predicate_1 => message_1, predicate_2 => message_2 } }

If so, with some time, I could try a pull request if it is not trivial for one of the maintainers.

Current messages structure is optimized for displaying error messages in the UI, including predicates there would complicate things. We can introduce another error message structure for cases where people need to know which predicate failed.

And what about introducing a way of getting the error message from a Dry::Validation::Error instance? That way one could iterate over the array of errors and for each one get its predicate and its message, building the JSON response structure as needed. What do you think about it?

We already have an API for that, it's ErrorCompiler, you can create your own and that's all. Validation::Error is sort-of private

Oh, I didn't know about that. Sorry for the noise, then. I'll check that.
Many thanks.

no worries, it's not even documented yet


[Doc] optimize sum/retention/hll

What type of PR is this：

[ ] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[x] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #
Problem Summary(Required) ：

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[ ] I have checked the version labels which the pr will be auto backported to target branch

[x] 3.0
[x] 2.5
[x] 2.4
[x] 2.3

run starrocks_admit_test

run starrocks_be_unittest

run starrocks_be_unittest

@Mergifyio backport branch-2.5

@Mergifyio backport branch-2.4

@Mergifyio backport branch-2.3


Create page of list of all data sets and all models and allow for download of all datasets and models in a zipped bundle

add “Data” link in between “Tutorial” and “Contribute”. This button takes user to master list of all data, with links for downloading. Create master list data page (and model page). Each line has link to metadata and download. Remove download button from dropdown on main page, only including info button. Metadata page now has download button.

Done. Closing.


Enhance commit format args, specify release

This commit expands several aspects of the extension

The ability to control the precision of the commit SHA, moving from 40 to 8 characters by default
The ability to control the precision of the commit message, moving from 40 to 80 characters by default
The ability to specify the release tag to calculate changes from, defaulting to latest if none provided

In addition, the README has been updated to reflect the new output and updated usage info.

Going to merge this despite the warnings brought up in the workflow as these aren't harmful and will do them in a subsequent review.


List an environment's deployments

It is possible to list deployments, and also retrieve a build log if a remoteid is returned with retrievable logs
$ lagoon list deployments -p high-cotton -e master
REMOTEID	NAME   	STATUS  	CREATED            	STARTED            	COMPLETED
        	build-2	failed  	2018-10-07 23:02:41	2018-10-07 23:03:41	2018-10-07 23:20:41
        	build-1	complete	2018-10-07 23:02:41	2018-10-07 23:03:41	2018-10-07 23:20:41
        	build-1	complete	2018-10-07 23:02:41	2018-10-07 23:03:41	2018-10-07 23:20:41

And then retrieving the log if available
$ lagoon get deployment -R 6b4f1b7f-f6ca-11e9-b31e-08002762d03d
Agent pid 32
Identity added: /home/.ssh/key<EMAIL_ADDRESS>+ set -eo pipefail
+ set -o noglob
...SNIP...
++ let COUNTER=COUNTER+1
+++ cat .lagoon.yml
+++ shyaml keys tasks.post-rollout.1
++ '[' -n '' ']'


Update package.json to include the repository

Hi there!
This change adds the repository property to your package.json file(s). Having this available provides a number of benefits to security tooling. For example, it allows for greater trust by checking for signed commits, contributors to a release and validating history with the project. It also allows for comparison between the source code and the published artifact in order to detect attacks on authors during the publication process.
We validate that we're making a PR against the correct repository by comparing the metadata for the published artifact on npmjs.com against the metadata in the package.json file in the repository.
This change is provided by a team at Microsoft -- we're happy to answer any questions you may have. (Members of this team include @s-tuli, @iarna, @v-rr, @v-jiepeng, @v-zhzhou and @v-gjy). If you would prefer that we not make these sorts of PRs to projects you maintain, please just say. If you'd like to learn more about what we're doing here, we've prepared a document talking about both this project and some of our other activities around supply chain security here: microsoft/Secure-Supply-Chain
This PR provides repository metadata for the following packages:

docz
docz-core
docz-rollup
docz-utils
gatsby-theme-docz
rehype-docz
remark-docz

hey, that issue is actually solved in 2.3.3-alpha.0, try to use this new upcoming patch to see if it solves the problem or not. Either way, thank you for contributing! (:


[MGDOBR-1299] Increase Test Case Coverage of Shard Operator core

MGDOBR-1299 Increase Test Case Coverage of Shard Operator core
PR owner checklist
Please make sure that your PR meets the following requirements:

[ x ] Your code is properly formatted according to this configuration.
Run mvn clean verify -DskipTests so that imports are correctly set.
[ x ] Your commit messages are clear and reference the JIRA issue e.g: "[MGDOBR-XXX] - $clear_explanation_of_what_you_did"
[ x ] The layers in the kustomize folder have been updated accordingly.
[ x ] All new functionality is tested
[ x ] Pull Request title is properly formatted: MGDOBR-XYZ Subject
[ x ] Pull Request contains link to the JIRA issue
[ x ] Pull Request contains link to any dependent or related Pull Request
[ x ] Pull Request contains description of the issue
[ x ] Pull Request does not include fixes for issues other than the main ticket

PR reviewer(s) checklist

[ x ] Check if code and Github action workflows have been modified and if the modification is safe
[ x ] If the modification is safe, add the safe to test label

How to trigger pipelines and use the bots:

Run the end to end pipeline
Annotate the pull request with the label: safe to test. If you want to run the pipeline again, remove and add it again.

Rebase the pull request
Comment with: /rebase.

Deploy BOT
Comment with `/deploy <dev,stable> when the PR has been merged to deploy to a target environment.

@rpancham
FYI I have updated PR title to match the "usual" pattern "[MDGOBR-X] Description"


Config file / tasks setting for restocking items (no capture-mode)

Short Description
I would like to see an example config that was written for just stocking up on items. When i´m using the bot with the PokemonGo-Map config file (config.json.map.example) i quickly run out of Razz Berries and Greatballs because my map simply shows too much pokemon. So the bot uses more items than it can get from the pokestops because it´s constantly jumping to every capturing opportunity.
How can i disable all the catching tasks, so that the bot only goes from pokestop to pokestop collecting items (maybe for a certain time or until the items are filled up again)? Do i have to just delete the parts from the config json with "catch", "release" and "vips"? Or do i have to add a specific value (bool?) to the "type": "CatchVisiblePokemon" and "type": "CatchLuredPokemon"?
Is it possible to specify a task to skip catching alltogether when the items (balls and razz berries) get under a certain threshold?
Possible solution
Maybe just delete "type": "CatchVisiblePokemon" and "type": "CatchLuredPokemon" from the tasks section in the config file.
How it would help others
It would help counteracting failed captures of rare pokemon if you don´t have the necessary amount of items to retry a throw.

Interesting, I have the opposite "problem", I discard more Pokeballs than I can catch Pokemon, but yes. Just delete the "CatchVisiblePokemon" and "CatchLuredPokemon" workers form the config and the bot should just go to the stops.


Implements fetching file sets for delta streaming using datasets

This should make streaming against tables with very busy/large logs
much more performant.  The current implementation of streaming works
very well if the stream is close to current.  However if it falls
very far behind, many json files will need to be downloaded to the
driver and processed to build the files in the next micro batch
This also pushes partition filtering ahead of the checks against
maxFilesPerTrigger and maxBytesPerTrigger.  This will make these
parameters much more useful when streaming against a table with a
where clause which only selects a very small subset of a large table
I was not able to layer in two checks which are present in the
existing implementation, breaking delta protocol changes and breaking
schema changes.  Those checks are currently implemented as side
effects in a filtering step.
They could probably be re-implemented with a bit more work
This feature is moved behind the option: datasetForDeltaStreaming

Hi @hiloboy0119 - any thoughts or concerns based on the feedback provided?  Thanks!

@hiloboy0119 we will close this PR due to inactivity but please do not hesitate to re-open to follow up.  Thanks!