[REQUEST] Integrate Wufuc on Windows 7 - 8.1 if running on an unsupported hardware

This is wufuc: https://github.com/zeffy/wufuc
Basically Microsoft sets an artificial limitation on Windows 7 and 8 that blocks some features on newer, or very old processors. Wufuc is designed to fix that problem.
Admittedly this is probably a very niche scenario, and I don't know how easy/legal it is to integrate that program here.

Hi @ptrkhh , thanks for the suggestion. I agree this is a useful fix, however as it's fairly niche and I try to keep Tron as trim as possible, I'm going to hold off including this for now.


feat: imports added by other plugins are also included in the define calls

The babel visitor tend to run in parallel so any one of them adding imports at the "wrong" time.
To avoid this we run the ImportDeclaration visitor again during the exit phase of the program.

LGTM, thx - will release it right now


Calling phantomJS function

Hi, how can i call phantomJS function with mocha-phantomJs ?
let say i want to call
page.open(url, function (status) {
//Page is loaded!
phantom.exit();
});
how i do that in mocha-phantomjs ?
i read there is a callPhantom(), but how i use that ? thanks

Why? What are you trying to do? For a page load, you can just repond to DOMContentLoaded in the browser.

i am trying to do page automation.
like this url http://phantomjs.org/page-automation.html
i am trying to achieve something like this
`
describe("Checkout from merchant", function() {
it("Should return application ID", function(){
==> do some phantomJS page automation
});
});
`
is it possible ?

btw i find another solution. separate between mocha and phantomjs instance
but i just want to know if is it possible to do like my comment description upper.
thanks

This is not the project you want. It is not for externally automating page crawls. Please use mocha-casperjs or (Nightmare.js)[https://github.com/segmentio/nightmare]. I'd recommend the later as it uses the more modern Electron, as phantomjs is far behind, based on QT5 and without maintainers.


CAD-2147: Support additional scripts in structured metadata.

Additional comments per commit.

I should point out that the failing CI here is expected; I'm waiting for Ryan's PR on generalising the tests to fix things.

@redxaxder Please note that in the last commit I changed the CDDL format to match the encoder, because it seemed completely non-obvious to me how to use Coders to represent the suggested format. But perhaps you or @TimSheard know how to do this easily, in which case I'd welcome a commit changing the representation (or just advice as to how to do this). This can either be part of this PR or a follow-up

@redxaxder Please note that in the last commit I changed the CDDL format to match the encoder, because it seemed completely non-obvious to me how to use Coders to represent the suggested format. But perhaps you or @TimSheard know how to do this easily, in which case I'd welcome a commit changing the representation (or just advice as to how to do this). This can either be part of this PR or a follow-up

Your chosen encoding here is actually smaller than the one before. (In the case where there are two kinds of metadata, which is where we are). I think it might we worth talking about longer term plans for this.


Controlling the Items that show up when right clicking on the Icon

VSCode Version:  1.21.1
OS Version: OSX 10.12.6

Steps to Reproduce:

Right click on the VSCode Icon
See the top section of items

How are these items set?  Is it possible to control what shows up here?  I've searched the settings and preference and can't find anything that would allow me to change these.  I can't even seem to find any pattern on WHY items show up here and it's driving me crazy!

@ChuckJonas this list should reflect the entries of the File > Open Recent menu which is basically updated whenever you open a folder or a file (from externally).

Then this is a bug, because mine does not reflect this list in the slightest

I have seen this as well sometimes, but unclear to me how this is possible (maybe the OS can overrule something here?). We are using Electrons APIs  to set the items. I did not file a bug on their end so far because I have no reproducible case yet.


Run tests against PHP 7.3+ and check for cross-version support for PHP 5.4+

Thanks @swissspidy, the proposal makes a lot of sense! We'll need to address the failing tests, but once that gets ironed out I'm good with this.

Thanks @jdpedrie! Not sure why the tests fail on PHP 5.4 though 🤔
I suppose it's because of different versions of packages being used. Any hint appreciated.

Working smoothly now! 🎉

BTW I also might have a small change ready that could help with the PHP 7.4 failures. Basically, it would run tests on that platform using a newer version of PHPUnit.

Looks good to me. Will 7.4snapshot still be available once 7.4 is officially released?

In my experience the snapshot builds on Travis would then just be for the 7.4.x alphas. Because for PHP 8 there is the nightly version.

So once we get to release, we'll need to be sure to update this to 7.4.

Ideally, yes :-)


Schema 2.1

Pull Request Test Coverage Report for Build<PHONE_NUMBER>5
Details

1 of 2 (50.0%)  changed or added relevant lines in 1 file are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage remained the same at 16.223%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

squadron.go
1
2
50.0%

Files with Coverage Reduction
New Missed Lines
%

squadron.go
1
24.04%

Totals

Change from base Build<PHONE_NUMBER>8:
0.0%

Covered Lines:
329

Relevant Lines:
2028

💛  - Coveralls


[plugins.json] Add cocoapods-ybutility

Please add the following entry to the plugins.json file:
{
  "gem": "cocoapods-ybutility",
  "name": "CocoaPods Ybutility",
  "author": "Alexanderwg",
  "url": "https://github.com/Alexanderwanggangwayne/cocoapods-ybutility.git",
  "description": "A longer description of cocoapods-ybutility."
}

iOS端模板组件创建工具

cocoapods插件管理iOS端组件创建工具


Feature/excludedgroups

Hey paket-team,
i really like paket and want to give something back. I tried to implement the feature requested in #1630 because i think it will be a useful extension.

wow cool stuff!

Is there anything i can do to fix the build? I dont think that my changes broke it and the failed test "Paket.IntegrationTests.InstallSpecs.#1592" seems to be a problem in other active pull requests too.

I think it's unrelated.
On May 22, 2016 6:46 PM, "shortsn"<EMAIL_ADDRESS>wrote:

Is there anything i can do to fix the build? I dont think that my changes
broke it and the failed test "Paket.IntegrationTests.InstallSpecs.#1592
https://github.com/fsprojects/Paket/issues/1592" seems to be a problem
in other active pull requests too.
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/fsprojects/Paket/pull/1696#issuecomment-220842590

thanks for this great addition


AsyncAPI spec v3 support in Bundler

Reason/Context
This Issue is used to track changes needed to support AsyncAPI v3. As a code owner, please edit this list of TODO tasks in order to properly track the progress 🙂 Once this issue is closed it means that v3 is now fully supported in this library.
Remaining tasks:

[ ] Update to support v3 structures for bundling

Would be really cool to have this library work out the gate when we release v3, are any of you interested in scheduling a public call specifically to discuss how to enable this?

Sure @jonaslagoni let me read up on spec3 and see what needs to be changed in bundler to support it, Maybe we can discuss about this at the next spec 3.0 meeting

Not sure how much this change affect your logic: https://v3.asyncapi.com/blog/release-notes-3.0.0#unified-referencing-behaviors

@jonaslagoni working on a PR, will create a separate logic for spec 3.0 and add a check for the spec inputted in bundler to either use the current logic or the new one.

I am trying to use the bundle command of the Async API CLI tool v1.4.11. It gives be the error "One of the files you tried to bundle is AsyncAPI v3 format, the bundle command does not support it yet" and refers to this issue #133.
Since this issue is closed, I am confused. Maybe I am in the wrong place looking for v3 support for the bundle command? Or missing something obvious? :)

In case you got redirected here looking for v3 support for the bundle CLI command, please check the following issue: https://github.com/asyncapi/cli/issues/1137


[DO NOT REVIEW][DO NOT MEREG] Add blob type

Wait merge https://github.com/vim-jp/vim-vimlparser/pull/92

@blueyed Hi, I looked test code just a little. But I'm not familier to tox testing. Could you please tell me which file I should fix?

@mattn
Maybe it's better to add a test when using this, e.g. with some new policy for blob types.
Do you have something in mind there maybe already?

Currently, I have something problem to use tox on my PC. Sorry. If someone will do, I want to close this.

Currently, I have something problem to use tox on my PC.

Happy to help there - what is your problem?

Sorry. If someone will do, I want to close this.

I will update vimlparser soon anyway (#318), so this would only add the type, which then also only makes sense when it is used actually (AFAICS).

Sorry, I don't hope that I will be release stopper. If I will have a time to help vint, I make new PR. Thanks.

No worries - this is not blocking any release.. ;)


Fix: Cannot locally test azul-docker-pycharm changes (DataBiosphere/azul#5986)

DataBiosphere/azul#5986

This was merged.


PI5-filter closes #3

Did you really need to create an issue just to submit a PR immediately after? Ignoring that, this won't work, if you want to contribute please read the implementation to understand how a new device is supposed to be added.

It's normal practice in open source projects to refer a PR to an issue. You might want to consider a CONTRIBUTING.md
Apologies for not spotting the lookup earlier. It seemed surprising to me to have 2 closely related objects.

I just added it myself along with updating the regions.


Convert Vision implementation to use gRPC

The Vision protobuf files are now available.

We should switch Vision to using GAX as well as GRPC.


Recollect in NextJS

How does it work in nextJS

That's quite a broad question. What have you tried? Have you read the readme, particularly the section on server rendering?

When using react-recollect in next js I got ReferenceError: window is not defined. It seems like the build contains window object as seen below.

Thanks @linkors. It seems like the bundler is doing this (and the test runner adds window so I didn't spot the problem).
I'll fix and add some tests.

So when can we expect this ???

It's next in the queue, should be released in a week or two.

@sashikn and @linkors this is fixed in the latest release, v4.0.1 https://github.com/davidgilbertson/react-recollect/releases/tag/v4.0.1


Sourcegraph and SublimeText 3

Right now Sourcegraph does not show up in Sublime Text. I know it "did" because I tried it a couple days ago. Afterwards my sublime text setup was totally hosed -- maybe my fault, but it did seem weird. Is it being held back by the Sublime Text maintainers for this reason?

Hey @davmaz , thanks for reporting this - I just double checked on my Sublime Text install, and was able to find it. One mistake I make a lot is forgetting to uninstall it before I can install it again.
Mind double-checking that the package is still not installed? Bummer to hear it didn't work out of the box. If you are able to get it installed again, let us know if it's still not working as expected and we can dig into details.

Hello -
Thanks for writing. I just tried it again and it seems to be working fine. On a side note, is there a way to select the font (or size, actually) that is used when the info is displayed in Chrome?
Nice work!
Dave

From: uforic<EMAIL_ADDRESS>Sent: Thursday, June 16, 2016 19:23
To: sourcegraph/sourcegraph-sublime
Cc<EMAIL_ADDRESS>Mention
Subject: Re: [sourcegraph/sourcegraph-sublime] Sourcegraph and SublimeText 3 (#30)
Hey @davmazhttps://github.com/davmaz , thanks for reporting this - I just double checked on my Sublime Text install, and was able to find it. One mistake I make a lot is forgetting to uninstall it before I can install it again.
Mind double-checking that the package is still not installed? Bummer to hear it didn't work out of the box. If you are able to get it installed again, let us know if it's still not working as expected and we can dig into details.
�
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/sourcegraph/sourcegraph-sublime/issues/30#issuecomment-226641800, or mute the threadhttps://github.com/notifications/unsubscribe/AAgSBt_7uwTR4smv2bcUGDJgyN5b1vakks5qMdrbgaJpZM4I32X9.

Glad to hear that worked. Good call about the text, we are thinking of ways to make that editor feel more natural (larger text would help!). Thoughts on a WebView native app versus a browser window? Will close this out for now.


LDAP, Debug, and Dumping User Details

Hello,
Setting this up in a corporate environment, with Active Directory LDAP. BookStack without LDAP enabled works great. I could simply turn it off, make a couple of account for the users that need access, and be happy. However, I've sunk too much time into LDAP connections with this to just let it go. Maybe I'm just wrong in my assumptions that something is broke.
When enabling ldap, I get the following message:

Note: I took the user out for security purposes.
This is WITH APP_DEBUG=true and LDAP_DUMP_USER_DETAILS=true. Why am I not getting detailed LDAP debug info? On your video for LDAP, you see nice Debug feedback. I see nothing. They are not in the logs presented by "sudo docker logs -f container_name" either.
I have also tried to exec into the container, but there are no logs present in "/var/www/bookstack" anywhere. The logs folder in "/var/www/bookstack/storage/" is also empty. Am I wrong in the assumption that the application does not log in a container?
And this is before even trying to troubleshoot LDAP. I am quite certain everything is correct. I have followed the common docker-compose advice of using a extra "$" in LDAP_USER_FILTER. I know exactly what my LDAP endpoint is, I configure LDAP all the time. My DNs are all solid, got them straight from the attribute editor in AD. Let me know what you think.
relevant sections of docker-compose.yml (details scrubbed):
bookstack:
image: solidnerd/bookstack:latest
depends_on:
- mysql
environment:
- APP_PROXIES=***************
- APP_DEBUG=true
- LDAP_DUMP_USER_DETAILS=true
- DB_HOST=mysql:3306
- DB_DATABASE=***************
- DB_USERNAME=**********
- DB_PASSWORD=***************
- AUTH_METHOD=ldap
- LDAP_SERVER=:389
- LDAP_BASE_DN="CN=BookStack,OU=Users,OU=CH-IT,OU=,OU=,DC=,DC="
- LDAP_DN="CN=bookstack,OU=Service Accounts,DC=****,DC="
- LDAP_PASS="*********"
- LDAP_VERSION=3
- LDAP_THUMBNAIL_ATTRIBUTE=thumbnailPhoto
- LDAP_USER_FILTER=(&(sAMAccountName=$${user}))
Any help would be greatly appreciated. Like I stated before, I have no problem letting this rip without ldap. Just wanted to exhaust all my options before deployment.

Hi @TopCheddar27,

Why am I not getting detailed LDAP debug info? On your video for LDAP, you see nice Debug feedback. I see nothing.

Just an FYI, this project is for a docker image of BookStack, not BookStack itself, so this team don't really have responsibility for the inners works of the LDAP auth, and i'm assuming it was one of my videos that you watched.
BookStack won't dump via that option if it doesn't find anything to dump. I would assuming you're currently not matching against any records in the LDAP system.
If I had to guess at the issue here, it would be the LDAP_BASE_DN value.
It looks very specific right now, and I can't remember if it's an issue if the DN user is not a part of the base DN.
Try moving that up to the OU=,OU=,DC=,DC=" level, at least temporarily, to see if that returns and dumps a match.

Oops. Sorry to the dev (@solidnerd) of this container! Let me know if you would like me to close this, and I can migrate my problem elsewhere.
@ssddanbrown That is the full distinguished name of the Security Group which houses the users. Are you implying that the bookstack service account should be part of the ACL group? That would seem kind of irregular no?
Or are you saying that my security group is too deep down the AD tree, and that could be confusing the parsing of the environment variable? I can certainly just migrate the location of the security group up and give that a try. However it seems a bit odd if explicitly stated.
Note that it seems to be editing the LDAP_BASE_DN a bit weird in the comments. Those are fully specified on my end all the way down the chain.

@TopCheddar27 I don't mean to imply anything about your LDAP setup, or mean to advise moving security groups.
Based on you not experiencing other errors, It implies most config is good, including the user DN and password.
It really just leaves, as far as I can think, the LDAP_BASE_DN and LDAP_USER_FILTER vars as things that would affect finding users, So i was starting with the LDAP_BASE_DN since it looks quite long and could be scoping things in.
My recommendation was just to set the LDAP_BASE_DN sting value itself (Not the LDAP group) to a common high point  up the chain to rule that out as an issue.

@ssddanbrown Oh okay. I think I misinterpreted. I can try that when I touch the server again for testing!

I've flagged this one as a wontfix, as (as mentioned by @ssddanbrown) this is for the Docker image for Bookstack, not Bookstack itself.
However, I'll leave it open for the time being - from the look of things, there's been some good advice on the thread, and it'd be good to be sure there's no issues with the container's LDAP variables.

Hello,
Just getting back to this. Apologies for letting it go stale.
Using the Parent OU and not using a specified group within a OU fixed this issue.


hi gurkirt , long time no see ~ glad to see u again

1st. Im informed by the README.md  that this repository uses anchors from maskrcnn-benchmark, which is different from the clustered & predefined anchors in this repository , but I'm still confused what's the difference between them.  ( i only know that clustered anchors have 1SR & 3AR like yolov3 , predefined anchors have 3SR [128, 256, 512] & 3AR [0.5, 1, 2] like faster rcnn , but maskrcnn-benchmark anchors ? )
2nd. I've been working on your code lately. However, i dont know how to understand the argument named variances in encode & decode function from box_utils.py. can you offer me some reference thx ?
looking forward to your early reply thx~ :-)

box_utils.py is borrowed from SSD pytorch code，U can review SSD code.

Basically anchors are generated on the fly now, everything else is the same, we need to generate them on the fly because  feature size is variable sizes of input images,


raftstore-v2, coprocessor: use snapshot sequence number for cache

What is changed and how it works?

Issue Number: Ref #14570
What's Changed:

We find a read performance regression in internal test, this PR is a quick evaluation for the cop cache impact to read performance in raftstore v2.
In raftstore v2, a snapshot no longer include applied index, so this PR replaces applied index with snapshot sequence number for coprocessor cache.

See https://github.com/tikv/tikv/issues/14570

Test results:
TPCH
This PR
Finished
[Summary] Q1: 0.91s
[Summary] Q10: 0.55s
[Summary] Q11: 0.29s
[Summary] Q12: 0.47s
[Summary] Q13: 0.60s
[Summary] Q14: 0.31s
[Summary] Q15: 1.46s
[Summary] Q16: 0.46s
[Summary] Q17: 1.64s
[Summary] Q18: 11.54s
[Summary] Q19: 1.01s
[Summary] Q2: 3.40s
[Summary] Q20: 0.74s
[Summary] Q21: 1.69s
[Summary] Q22: 0.44s
[Summary] Q3: 3.82s
[Summary] Q4: 1.96s
[Summary] Q5: 10.50s
[Summary] Q6: 0.17s
[Summary] Q7: 1.27s
[Summary] Q8: 1.00s
[Summary] Q9: 15.49s

Master
Finished
[Summary] Q1: 1.52s
[Summary] Q10: 1.15s
[Summary] Q11: 1.90s
[Summary] Q12: 0.96s
[Summary] Q13: 1.95s
[Summary] Q14: 0.87s
[Summary] Q15: 1.49s
[Summary] Q16: 0.93s
[Summary] Q17: 1.69s
[Summary] Q18: 11.23s
[Summary] Q19: 1.42s
[Summary] Q2: 1.14s
[Summary] Q20: 0.95s
[Summary] Q21: 1.75s
[Summary] Q22: 0.76s
[Summary] Q3: 1.02s
[Summary] Q4: 0.77s
[Summary] Q5: 6.88s
[Summary] Q6: 0.63s
[Summary] Q7: 1.51s
[Summary] Q8: 1.41s
[Summary] Q9: 15.77s

Related changes

Need to cherry-pick to the release branch

Check List
Tests

Integration test

Release note
None

Will a prewrite update the snapshot sequence number?

Will a prewrite update the snapshot sequence number?

Yes, it updates both snapshot sequence number and applied index.

/merge


[ENH] sktime API compliance test to loop through tests individually

This PR replaces the current logic in the sktime API compliance test, a bulk run of check_estimator, with  parametrize_with_checks decoration and a run per test.
This allows to report individual failures of tests, and better diagnose memory leaks, such as those reported in https://github.com/felipeangelimvieira/prophetverse/pull/89.
Also removes the test skip.

Ubuntu breaks without logging error message, but tells error code 143.
It seems that test_update_predict_predicted_index breaks Windows. Some weird messages: Windows fatal exception: access violation 🤔

well, maybe my first guess is going to be proven accurate?

maybe turning on verbose mode in the pytest logs helps further diagnose?
Feel free to take over this PR.

You could also try locally to loop through tests_to_run, and see where in the loop it breaks.

well, maybe my first guess is going to be proven accurate?
(from earlier discord discussion)

I have not gone in details, but my prima facie best guess would be:

some weird backend interaction around sth like numpyro
this causes excessive memory usage given the selected test parameters
i.e., sth specific to the estimator

Yes 🎯

maybe turning on verbose mode in the pytest logs helps further diagnose?
Feel free to take over this PR.

Thanks, I will dive deeper into this problem and try to find the source

could the failures perhaps be related to this, similar issue in sktime?
https://github.com/sktime/sktime/issues/6826
Something about the load order of modules - in this specific case, if pandas is loaded before tensorflow, it causes a memory freeze.
FYI @fnhirwa

could the failures perhaps be related to this, similar issue in sktime? sktime/sktime#6826
Something about the load order of modules - in this specific case, if pandas is loaded before tensorflow, it causes a memory freeze.
FYI @fnhirwa

This is not the same problem here, it is a computational resource issue, I just checked locally and the tests start to hang when testing test_predict_time_index A workaround here would be to use one param in get_test_params of ProphetVerse and test for one likelihood parameter as other models should be being tested through Prophet for normal ProphetGamma for gamma and ProphetNegBinomial for negbinomial
This can prevent the hang.

Thank you @fnhirwa! Just got back from vacation and will take a look at what you've suggested

This is not my area of expertise, but I suspect the issue might be related to garbage collection and JAX. I noticed that test_predict_time_index has around 54 parameterizations, and I suspect that something may be hanging after each iteration. I found this discussion on JAX's GitHub repo, where a simple code using device_get causes a memory problem, and NumPyro's SVI class uses device_get during inference.

Possibly also related to jax/issues#17432

This is not my area of expertise, but I suspect the issue might be related to garbage collection and JAX. I noticed that test_predict_time_index has around 54 parameterizations, and I suspect that something may be hanging after each iteration. I found this discussion on JAX's GitHub repo google/jax#15972 where a simple code using device_get causes a memory problem, and NumPyro's SVI class uses device_get during inference.

Sounds strange, will look into this in details 🤞

Since the test runs the inference with non-static observations, seems to be related to pyro-ppl/numpyro#1347
Will also try the suggestions that were given in that issue.

It seems that it is indeed related to memory leak when using Numpyro/JAX. After wrapping the SVI in a function as suggested in pyro-ppl/numpyro#1347, the tests have passed. Now the problem is how long it takes to run all those tests, which is strange since the models are relatively fast with the given test parameters.

Well, so the tests were useful after all...
The runtimes indeed look strange, these are in the order of tests for all estimators on sktime itself.

@fkiraly, I really liked using this decorator. It made it easier to debug where the problem was coming from.
On my MacBook, I detected two tests that are taking more time to finish: test_predict_time_index and test_predict_time_index_with_X. To me, it seems that the cause is a delay numpyro has when starting the first iteration. So, even if we set 1 MCMC sample or 1 optimization step for MAP, it takes about 1 second to execute fit and then some more time to predict, especially with negative binomial and gamma likelihoods. Since these tests have many parameterizations (for example, different FH values and types), these seconds add up, and each parameterization of test_predict_time_index can take about 3 seconds.
To avoid the 5-hour duration of the test, I'm not considering negative binomial and gamma in get_test_params of Prophetverse, since their difference from the normal likelihood is mainly the model attribute, and should not affect API compliance once the normal likelihood is OK.
========================================================================== slowest durations ==========================================================================
553.00s call     tests/sktime/test_sktime_check_estimator.py::test_sktime_api_compliance[ProphetNegBinomial-test_predict_time_index]
313.63s call     tests/sktime/test_sktime_check_estimator.py::test_sktime_api_compliance[ProphetGamma-test_predict_time_index]
291.02s call     tests/sktime/test_sktime_check_estimator.py::test_sktime_api_compliance[ProphetNegBinomial-test_update_predict_predicted_index]
198.98s call     tests/sktime/test_sktime_check_estimator.py::test_sktime_api_compliance[HierarchicalProphet-test_predict_time_index]
153.27s call     tests/sktime/test_sktime_check_estimator.py::test_sktime_api_compliance[ProphetNegBinomial-test_predict_time_index_with_X]
132.41s call     tests/sktime/test_sktime_check_estimator.py::test_sktime_api_compliance[ProphetGamma-test_update_predict_predicted_index]


Is there any support for shortcut view?

This library seems quite easy to use, however, is there any support for key shortcut view like in https://github.com/shpakovski/MASShortcut?
Having a view like this and a callback similar to onKeyShortcutValueChange or something would be great. Right now I have to listen for keyUp/keyDown events explicitly and update the shortcuts. Having the above said callback would make this library even easier to use. Thoughts?

I recently published a package that solves this: https://github.com/sindresorhus/KeyboardShortcuts

@sindresorhus this is superb. I couldn't find any Swift libraries for Global Key Shortcuts that had a ready to use view so I finally converted MASShortcut into a Swift package and used it in my app. I will surely check this out for my next app, thanks for sharing.
P.S: I will update this repo https://github.com/rampatra/MASShortcut with decent documentation (in Swift) later if anyone wants to use it.


Invite User Link

[ ] Create hash
[ ] Add hash to projects table
[ ] Send to user
[ ] When user follows link, match to db
[ ] If it matches, redirect them to project
[ ] Set hash in projects table to null


Optimize quota unit

Fix the problem of #306.
Originally, we can only set quota in bytes unit. This commit add quota unit:K/KB/M/MB/G/GB/T/TB/P/PB for convenience.

close #306


Add support for ingesting large items from remote sources

This is a replacement for  #168

@matthewhanson This now supports s3://, http://, and https:// sources.
@jkeifer The SNS format is now { "href": "s3://blah" }

sorry, accidentally clicked the wrong button.

when retrieving from arbitrary http sources, I worry about very slow retrieval and never-ending streams. This probably isn't as big of a concern here since the people doing ingest have control over what's getting ingested.


check example from course

Recreate results from stata code
https://github.com/bldestavola/TTE-Short-Course

Hi,
I'm trying to understand this package better so I attempted to replicate the analysis from the short course you linked.
datalong <- as.data.frame(haven::read_dta("https://github.com/bldestavola/TTE-Short-Course/raw/main/Data/Practical2_contY_long.dta")
datalong$eligible <- 1

head(datalong)
  id t A    Y    L eligible
1  1 0 0 1.64 0.70        1
2  1 1 0 1.64 1.85        1
3  2 0 1 6.08 2.21        1
4  2 1 0 6.08 3.83        1
5  3 0 1 5.48 1.49        1
6  3 1 1 5.48 2.72        1

then I did
result <- initiators(
  data = datalong,
  id = "id",
  period = "t",
  eligible = "eligible",
  treatment = "A",
  estimand_type = "ITT",
  outcome = "Y",
  model_var = "assigned_treatment",
  outcome_cov = c("L"),
  use_censor_weights = FALSE
)

tidy(result$model)
# A tibble: 7 × 5
  term                estimate std.error statistic p.value
  <chr>                  <dbl>     <dbl>     <dbl>   <dbl>
1 (Intercept)        -2.66e+ 1     4476. -5.94e- 3   0.995
2 assigned_treatment  3.39e-14     4122.  8.23e-18   1
3 trial_period        3.93e-14     5510.  7.13e-18   1
4 I(trial_period^2)  NA              NA  NA         NA
5 followup_time       3.85e-14     5036.  7.64e-18   1
6 I(followup_time^2) NA              NA  NA         NA
7 L                   2.69e-15     1762.  1.53e-18   1

but I have no idea how to interpret this. In the short course they found a treatment effect of around 1.11 for this example.

Hi @krz, I never made progress on this issue because this package does not (yet) implement the models shown in that course. We have so far focused on survival outcomes where time 0 is not well defined, and a sequence of target trials modelling approach. We can do something similar to what is shown in practical 3, but we don't have IPTW.
I'd be happy to try to explore this again.

thanks for the quick response @gravesti .
Would it be possible to replicate the García-Albéniz example in this post using your package?

Yes, this is exactly the kind of analysis we can do.

thank you so much @gravesti , that helped me understand it better. How do I interpret the result, is this a varying effect over time for each period? Can I get an overall treatment effect or hazard ratio?

You can see the cumulative incidence (or survival) curves for each treatment strategy in the preds object.
So you can interpret the results in preds$difference as a risk difference up to each time point, eg the difference in probability of surviving up to time=9.
(Alternatively, you might consider that the odds ratio estimate from the glm could approximate a hazard ratio as in Danaei et al https://journals.sagepub.com/doi/10.1177/0962280211403603)
There is some discussion in our draft manuscript: https://arxiv.org/pdf/2402.12083 see ~p3


Log reliability

Marty says the log is not bullet proof, not sure what that means.

Opening a file should be confirmed, as should closing. Opening twice seems to make a mess. The file itself seems pretty good, but should be well defined as to what it is.

@marty-pmr @bungernut where do we stand on this?

I think only Ryan knows, maybe Marty does... probably not addressed though

From: mwittgen<EMAIL_ADDRESS>Sent: Thursday, May 14, 2020 9:47 PM
To: slaclab/pabv_control<EMAIL_ADDRESS>Cc: Mong, Brian E<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [slaclab/pabv_control] Log reliability (#4)
@marty-pmrhttps://github.com/marty-pmr @bungernuthttps://github.com/bungernut where do we stand on this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/slaclab/pabv_control/issues/4#issuecomment-629023532, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAY3TG2PAAB63UOGRDYWGRTRRTCPPANCNFSM4MQ7IYBQ.

I think this is still open. Not sure whether we need logging - perhaps for debugging???

It should be removed then, the current version crashes. A true login feature might be better implemented on the arduino (not suggesting this). The client GUI as of now is stateless and adding file logging adds a dependency on the Win 10 laptop state. As of now the client could simply run from a USB stick and does not depend on any external  storage state and resources.

I have been using the log files to calibrate the spirometer. There could be ways of doing it without the log files…m
From: mwittgen
Sent: Saturday, May 16, 2020 4:35 PM
To: slaclab/pabv_control<EMAIL_ADDRESS>Cc: Breidenbach, Martin<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [slaclab/pabv_control] Log reliability (#4)
It should be removed then, the current version crashes. A true login feature might be better implemented on the arduino (not suggesting this). The client GUI as of now is stateless and adding file logging adds a dependency on the Win 10 laptop state. As of now the client could simply run from a USB stick and does not depend on any external storage state and resources.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/slaclab/pabv_control/issues/4#issuecomment-629719720, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APB4OBRFGET3ZFTTS2FLGOTRR4PLXANCNFSM4MQ7IYBQ.

Closing this for now. Has been fixed in devel.


A pre processing job is displayed as finished as soon as the first task is done

To reproduce, upload multiple documents. Check the Background Jobs in Project Settings. As soon as the first job is finished, the whole preprocessing job is marked as finished.

actually, the preprocessing job changes from running to finished during the upload.

Hmm, Ahmad and I tried to reproduce this but couldn't. We uploaded multiple docs and looked at the (visual) status indicator in the frontend. It seemed to work well


[WIP] Replace ActsAsArModel with QueryRelation in PglogicalSubscription

Back in https://github.com/ManageIQ/manageiq/pull/11120, the ActsAsArModel stuff was split out into its own gem. Well, the querying/finding part of it anyway.
This is an attempt to actually use it within the current models that are still using ActsAsArModel. As far as I can tell, it affects these five files in core:

app/models/chargeback.rb
app/models/pglogical_subscription.rb
app/models/vim_performance_trend.rb
app/models/live_metric.rb
lib/acts_as_ar_scope.rb

For now, this focuses on just PglogicalSubscription. I'm not sure if vim_performance_trend.rb will be relevant with the pending removal of the vim broker, nor do I remember if live_metric is relevant with the removal of kubernetes.
Cross repo tests at: https://github.com/ManageIQ/manageiq-cross_repo-tests/pull/51

One thing I never completed with QueryRelation was that I thought some of the common methods like your default implementations of search, filter_collection etc, should be in a mixin under QueryRelation.  Maybe this is the opportunity to do that?

@Fryguy Ha, was thinking the same.

@Fryguy got 2 failures left on the validate methods, not sure what's going on there. Could use an extra set of eyeballs.

I'm not sure if vim_performance_trend.rb will be relevant with the pending removal of the vim broker

Those are unrelated... vim_ just happens to be the prefix for legacy reasons, but it has nothing to do with the broker.

Okay, looks good now @djberg96. Can you just do a cross-repo test against the UI and squash all the useless rubocop/typo commits?

Marking as a WIP for now because I want to see if active_hash can do it better.

Closing for now, seems to be too much concern about breakage. May revisit someday.


Feature Request: Publish Recipes on web/Recipe Book ingame

Kinda a purist, I'm not really a fan of JEI and other crowd-half-your-screen item index mods. Not being able to google the recipes for this mod is a little infuriating however. Sure, the vanilla recipe book has mixed reception. But not publishing the recipes, even on the git for the mod? Why?

Lack of time
The mod is in beta, and recipes may change at any moment - keeping them updated on a wiki page is an additional thing to keep track of
Many people find mods like EMI and JEI helpful nonetheless
Once the mod is "complete", a recipe list/wiki will likely be made (though if others would like an online recipe list now, I could look into it)


Invalid data in supplied ASCII files

In the data files in /app/data/ASCII, there are several files that contain account data in S9(10)V99 format. An example would be acctdata.txt. On the mainframe, in EBCDIC, the last byte of this field is x'C0' presenting the sign and the last data half-byte. This is correct, and x'C0' is represented by the character value '{' - opening brace.
However, it looks like this data has been transferred without change to ASCII format, with standard EBCDIC -> ASCII conversion to create the data files in /app/data/ASCII. In these files, since they are ASCII, the '{' character now represents x'7B' changing the context of the data. As an example, in the Micro Focus Enterprise Developer CICS environment in ASCII, the account lookup still works, but all account data is now negative, meaning no bill payments (option 10) can be made.
The solution is to globally change all '{' characters in acctdata.txt to 'À' (A with French grave accent). This  represents x'C0' in US ASCII and the hex data is as expected.
This has been tested successfully with the ACCTDAT VSAM file (created from acctdata.txt) in an Micro Focus Enterprise Developer environment with the ASCII codeset set.
I note that the same '{' characters are also present in in the dispgrp.txt and tcatbal.txt files in the /app/data/ASCII folder, but these have not been changed or tested,

Looking into this

Hi Russell,
Thank you for providing the feedback.
The ASCII data was created mainly to setup initial data for CardDemo application on the Mainframe itself. We recommend you to use the EBCDIC data and take it through the migration process for the target environment.
You could still use the ASCII data with EBCDIC sign character for Zoned Decimal fields in the Micro Focus target environment if the programs are compiled with compiler directive SIGN”EBCDIC”.

Hi Arun, thanks for your response. It makes sense, and is a misunderstanding on my part on the purpose of the supplied ASCII files which I thought were for local (off-platform) usage. I'll close this issue.


[Bug]: With monitoring I can't access specifics schemas with custom queries

Is there an existing issue already for this bug?

[X] I have searched for an existing issue, and could not find anything. I believe this is a new bug.

I have read the troubleshooting guide

[X] I have read the troubleshooting guide and I think this is a new bug.

I am running a supported version of CloudNativePG

[X] I have read the troubleshooting guide and I think this is a new bug.

Contact Details
<EMAIL_ADDRESS>Version
1.24.0
What version of Kubernetes are you using?
1.28
What is your Kubernetes environment?
Other
How did you install the operator?
YAML manifest
What happened?
Hello,
First, my cluster is a self-managed RKE2.
I have tried to add custom queries to collect tables, indexes and schema size.
I have added the following block to add my custom ConfigMap:
...
spec:
  monitoring:
    customQueriesConfigMap:
      - key: easi-pg-queries
        name: easi-pg-queries
      - key: queries
        name: cnpg-default-monitoring
...

And the ConfigMap to add my custom queries:
kind: ConfigMap
metadata:
  name: easi-pg-queries
  namespace: my-namespace
  labels:
    cnpg.io/reload: ""
data:
  easi-pg-queries: |
    easi_pg_tables:
      target_databases:
        - my-database
      query: |
        SELECT current_database() as datname, table_schema, table_name,
          pg_table_size(
            quote_ident(table_schema) || '.' || quote_ident(table_name)
          ),
          pg_indexes_size(
            quote_ident(table_schema) || '.' || quote_ident(table_name)
          )
        FROM information_schema.tables
        ORDER BY 4;
      metrics:
        - datname:
            usage: 'LABEL'
            description: 'Name of the database'
        - table_schema:
            usage: 'LABEL'
            description: 'Name of the schema'
        - table_name:
            usage: 'LABEL'
            description: 'Name of the table'
        - pg_table_size:
            usage: 'GAUGE'
            description: 'Computes the disk space used by the specified table, excluding indexes (but including its TOAST table if any, free space map, and visibility map) in bytes'
        - pg_indexes_size:
            usage: 'GAUGE'
            description: 'Computes the total disk space used by indexes attached to the specified table in bytes'

    easi_pg_schemas:
      target_databases:
        - my-database
      query: |
        SELECT current_database() as datname, table_schema,
          sum(
            pg_total_relation_size(
              quote_ident(table_schema) || '.' || quote_ident(table_name)
            )
          )::bigint AS schema_size
        FROM information_schema.tables
        GROUP BY table_catalog, table_schema
        ORDER BY table_catalog, schema_size;
      metrics:
        - datname:
            usage: 'LABEL'
            description: 'Name of the database'
        - table_schema:
            usage: 'LABEL'
            description: 'Name of the schema'
        - schema_size:
            usage: 'GAUGE'
            description: 'Size of the schema in bytes'

It works when I connect inside the Pod to the database using postgres user as defined in doc.
Here the output:
postgres@my-database-1:/$ psql -d my-database
psql (16.4 (Debian 16.4-1.pgdg110+1))
Type "help" for help.

my-database=# SELECT current_database() as datname, table_schema,
          sum(
            pg_total_relation_size(
              quote_ident(table_schema) || '.' || quote_ident(table_name)
            )
          )::bigint AS schema_size
        FROM information_schema.tables
        GROUP BY table_catalog, table_schema
        ORDER BY table_catalog, schema_size;
 datname |           table_schema            | schema_size
---------+-----------------------------------+-------------
 my-database     | information_schema                |      253952
 my-database     | my-custom-schema-1                |     2531328
 my-database     | pg_catalog                        |    12591104
 my-database     | another-custom-schema-1           |    13811712
 my-database     | and-another-custom-schema-1       |    37052416
(5 rows)

my-database=#

But my metrics in prometheus, I just have information_schema and pg_catalog.
Nothing related to my others schemas my-custom-schema-1 , another-custom-schema-1 and and-another-custom-schema-1.
I have also checked using a direct curl call to :9187/metrics and it contains also contains just information_schema and pg_catalog.
Do you have an idea of what I have forgot ?
Thanks a lot for your help
Cluster resource
apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
  annotations:
    argocd.argoproj.io/sync-wave: '1'
  labels:
    app: my-cluster
    app.kubernetes.io/component: database
    app.kubernetes.io/instance: my-cluster
    app.kubernetes.io/managed-by: Kustomize
    app.kubernetes.io/name: my-cluster
  name: my-cluster
  namespace: my-namespace
spec:
  affinity:
    podAntiAffinityType: preferred
  backup:
    barmanObjectStore:
      data:
        compression: snappy
        encryption: AES256
        jobs: 2
      destinationPath: s3://cloudnative-pg-my-cluster-dev
      endpointURL: https://oos.my-s3.outscale.com
      s3Credentials:
        accessKeyId:
          key: ACCESS_KEY_ID
          name: cloudnative-pg-s3
        secretAccessKey:
          key: ACCESS_SECRET_KEY
          name: cloudnative-pg-s3
      serverName: my-database
      wal:
        compression: snappy
        encryption: AES256
        maxParallel: 8
    retentionPolicy: 90d
  bootstrap:
    initdb:
      dataChecksums: true
      database: my-database
      encoding: UTF8
      import:
        databases:
          - my-database
        source:
          externalCluster: cluster-crunchy
        type: microservice
      localeCType: C
      localeCollate: C
      owner: my-cluster
  enableSuperuserAccess: false
  externalClusters:
    - connectionParameters:
        dbname: my-database
        host: my-cluster-primary.my-cluster-dev.svc
        user: my-cluster
      name: cluster-crunchy
      password:
        key: password
        name: my-cluster-pguser-my-cluster
  imageName: ghcr.io/cloudnative-pg/postgresql:16.4
  instances: 1
  monitoring:
    customQueriesConfigMap:
      - key: easi-pg-queries
        name: easi-pg-queries
      - key: queries
        name: cnpg-default-monitoring
    disableDefaultQueries: false
    enablePodMonitor: true
  postgresGID: 26
  postgresUID: 26
  postgresql:
    parameters:
      archive_mode: 'on'
      archive_timeout: 5min
      dynamic_shared_memory_type: posix
      log_destination: csvlog
      log_directory: /controller/log
      log_filename: postgres
      log_rotation_age: '0'
      log_rotation_size: '0'
      log_truncate_on_rotation: 'false'
      logging_collector: 'on'
      max_parallel_workers: '32'
      max_replication_slots: '32'
      max_worker_processes: '32'
      pgaudit.log: all, -misc
      pgaudit.log_catalog: 'off'
      pgaudit.log_parameter: 'on'
      pgaudit.log_relation: 'on'
      shared_memory_type: mmap
      shared_preload_libraries: ''
      ssl_max_protocol_version: TLSv1.3
      ssl_min_protocol_version: TLSv1.3
      wal_keep_size: 512MB
      wal_receiver_timeout: 5s
      wal_sender_timeout: 5s
    syncReplicaElectionConstraint:
      enabled: false
  primaryUpdateStrategy: unsupervised
  resources:
    limits:
      cpu: '2'
      ephemeral-storage: 1Gi
      memory: 8Gi
    requests:
      cpu: 100m
      ephemeral-storage: '0'
      memory: 128Mi
  storage:
    pvcTemplate:
      accessModes:
        - ReadWriteOnce
      resources:
        requests:
          storage: 20Gi
      storageClassName: gp2-retain-immediate
      volumeMode: Filesystem
  walStorage:
    pvcTemplate:
      accessModes:
        - ReadWriteOnce
      resources:
        requests:
          storage: 20Gi
      storageClassName: gp2-retain-immediate
      volumeMode: Filesystem

Relevant log output
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Is there a way to have DEBUG level log for monitoring ?
I'd like to understand why my others schemas are not displayed output.
Maybe also, I could provide you more logs that could help to fix this problem.
Thanks a lot :)

Hello,
no one to help me ?
Maybe as I say in my previous post, some information to be able to enable debug ?


Hexadecimal numbers are converted as strings

TOML specifies that numbers starting by 0x are hexadecimal, but this package deals with them as strings. For example:
[hextest]
hexvalue=0x10
decvalue=16

gets rendered in JSON as
{
   "hextest": {
      "hexvalue": "0x10",
      "decvalue": 16
   }
}

I think it should be
{
   "hextest": {
      "hexvalue": 16,
      "decvalue": 16
   }
}

Thanks for the comment. Its a good point. There are several types in toml which can only be represented as strings in JSON but in this case it makes more sense to convert into a number I guess.
I will try to change this as soon as I have some time.

What do you think about the following change?
https://github.com/komkom/toml/pull/4

It looks perfect. It will convert octal and binary too. Thank you!


[0.55.3] Draw preview rectangles when in Customize Gameplay

Combo Text isn't shown at all in AutoPlay so you can only adjust it by guesswork, and other elements like the Error Bar or Life Bar don't show their full extent all the time, so getting the width right is an exercise in trial and error. While Customize Gameplay is on, it would be nice if a simple colored rectangle was drawn behind each element so you could see where and how large they were at all times.

Combo Text isn't shown at all in AutoPlay so you can only adjust it by guesswork

Shift + F8.
I agree with the rest of the issue though that this would be a good feature to have.

added as part of https://github.com/etternagame/etterna/pull/349


The Mobile Epic

@PatReynolds @richpomfret
Is it breaking precendent to put an epic inside an epic, i.e. Search experience #227?

Epics within Epics (and even more nesting) is fine!
We don't have this (yet) on FreeBMD2, but we do on other projects.


Add blacklisted identities in Bitergia affiliations file

Feature Request
Description of Problem:
Currently, to blacklist an identity in Bitergia, we need to notify Bitergia Support.
However, it is possible to define blacklist via the bitergia-affiliations.yaml, see https://gitlab.com/Bitergia/c/symphony/support/issues/107 (FINOS internal only) for more info.
The blacklist format is:
- blacklist:
    -<EMAIL_ADDRESS>    - root
    - Generic Account

Proposed solution
We could start with a simple JSON list that defines the blacklist items, defined in the root folder of metadata or in the people/ folder ; at that point, we can edit the bitergia-affiliations.ftl to render out the list, when invoking gen-bitergia-affiliation-data

We are working on a new way to manage identities, this will not implemented. Closing.


ESMBot crashes if using vertical mirroring commands on gifs over a certain combined size and framecount

Describe the bug
A user on one of the servers I self-host ESMbot used the hooh command on a gif and it caused my self-host to crash. I did some experimentation and was able to create a test gif that reliably crashes ESMbot instances,
Presumably this due to the way that the libvips API handles the arrayjoin command in https://github.com/esmBot/esmBot/blob/752d0956d655a22a357ddd75a8861fa6f2dd5b7b/natives/mirror.cc#L38. The same test gif below works fine in the case of horizontal mirroring, and the commands work normally for gifs with a smaller size. The only other thing I can think of is that somehow the actual frame being written to buffer gets out of sequence with the DataSize value when it's written into buffer at https://github.com/esmBot/esmBot/blob/752d0956d655a22a357ddd75a8861fa6f2dd5b7b/natives/mirror.cc#L68. However, I don't believe that's the case because the behavior happens regardless of whether the expanded image in libvips has an even or odd height.
Steps to reproduce

Save the gif below
run /hooh using the gif as an image
Observe the bot crash (or generate a "can't contact image server" message in the case of the Dev instance)

Expected behavior
For it not to crash (like how it doesn't for HaaH or WaaW).
Screenshots
Test gif that generates crash

(The flash is necessary. If it's just all white for all frames, it works fine.)
Self-hosted instance?
Yes
Additional context
This also occurs with the esmBot hosted instances.

Forgot to mention, when it crashes, it segfaults. I don't know if self-hosts dump their stack anywhere. I couldn't find it myself.

Problem def seems to stem from
https://github.com/esmBot/esmBot/blob/752d0956d655a22a357ddd75a8861fa6f2dd5b7b/natives/mirror.cc#L68
out seems to be a correct and valid pointer address but this line isn't raising vips::VError so it might be something on the library's end.

Yeah, this seems like an issue with libvips; would need to try and reproduce it outside of the bot to make sure, though.

Actually, I wonder; does this happen on libvips 8.14? It seems like it could be related to some changes in 8.15, judging from a quick look at the issue tracker (libvips/libvips#3786 and libvips/libvips#3803 might be related).

Recreated the problematic code using pyvips to verify that it isn't just an issue with esmBot's handling:
#!/usr/bin/python3

import sys
import pyvips

original = pyvips.Image.new_from_file(sys.argv[1] + "[n=-1]")
page_height = original.get_page_height()
n_pages = original.get_n_pages()

img = []
for i in range(0, n_pages):
  x = i * page_height
  cropped = original.crop(0, x, original.width, page_height / 2)
  flipped = cropped.flip('vertical')
  img.append(cropped)
  img.append(flipped)

image = pyvips.Image.arrayjoin(img, across=1)
image.set('page-height', page_height - (page_height % 2 if 1 else 0))
image.write_to_file(sys.argv[2])

This also seems to segfault, so it looks like this is, in fact, an issue with libvips. I've reported this as libvips/libvips#3835.

Looks like there's now an open PR to fix this. On current/older versions of libvips, if you're fine with potentially using more memory, you can put VIPS_DISC_THRESHOLD=1g in your .env file to work around the issue.
Closing as fixed.


✨ Implement ignoreFields in server side apply

Summary
Related issue(s)
Fixes https://github.com/open-cluster-management-io/ocm/issues/690

LGTM

/unhold

/lgtm


Search component in the menu navigation in community /experience site

What is missing from the application? Please describe.
Search component in the menu navigation in community /experience site
Describe the solution you'd like
Similar to the aura function
Describe alternatives you've considered
NA
Additional context
https://trailhead.salesforce.com/en/content/learn/projects/communities_theme_layout/custom_search
Similar to the aura app

@ahamed-WK Unsure if I understand the request. Search is not part of this application, but feel free to submit a PR that integrates such an element.


Feat/cache viva request

Added cache for session cookie and my pages methods.
The cache is set to hold the data for 5 min.

Task linked: CU-1yn11r2 Bugg: adaptern tappar anslutning till VIVA regelbundet


Inconsistencies between ezy and fst

Example of disordered data test_data.zip. The two files should be equivalent (the only difference is the order in which the points appear in the file):
from neurom import ezy
from neurom import fst

n = ezy.load_neuron('sample.swc')
n1 = ezy.load_neuron('sample_disordered.swc')

ezy.get('number_of_sections_per_neurite', n)
Out: array([ 5.,  3.])

ezy.get('number_of_sections_per_neurite', n1)
Out: array([ 5.,  3.])

n0 = fst.load_neuron('sample.swc')
n01 = fst.load_neuron('sample_disordered.swc')

Out:
KeyError                                  Traceback (most recent call last)
/home/kanari/bitbucket/NeuronTopology/code/<ipython-input-7-567d250915ee> in <module>()
----> 1 n01 = fst.load_neuron('./neurontopology/test_data/sample_disordered.swc')

/home/kanari/github/Experimental_ready/NeuroM/neurom/fst/_io.pyc in load_neuron(filename)
    113     }
    114     ext = os.path.splitext(filename)[1][1:]
--> 115     rdw = _READERS[ext.lower()](filename)
    116     trees = make_trees(rdw, _NEURITE_ACTION[ext.lower()])
    117     soma = make_soma(rdw.soma_points())

/home/kanari/github/Experimental_ready/NeuroM/neurom/fst/_io.pyc in <lambda>(f)
    103     '''Build section trees from an h5 or swc file'''
    104     _READERS = {
--> 105         'swc': lambda f: SWC.read(f, wrapper=SecDataWrapper),
    106         'h5': lambda f: H5.read(f, remove_duplicates=False, wrapper=SecDataWrapper),
    107         'asc': lambda f: NeurolucidaASC.read(f, remove_duplicates=False, wrapper=SecDataWrapper)

/home/kanari/github/Experimental_ready/NeuroM/neurom/io/swc.pyc in read(filename, wrapper)
    110             data = np.reshape(data, (1, -1))
    111         data = data[:, [SWC.X, SWC.Y, SWC.Z, SWC.R, SWC.TYPE, SWC.ID, SWC.P]]
--> 112         return wrapper(data, 'SWC', None)

/home/kanari/github/Experimental_ready/NeuroM/neurom/fst/_io.pyc in __init__(self, data_block, fmt, sections)
     54         self.data_block = data_block
     55         self.fmt = fmt
---> 56         self.sections = sections if sections is not None else extract_sections(data_block)
     57
     58     def neurite_trunks(self):

/home/kanari/github/Experimental_ready/NeuroM/neurom/fst/_io.pyc in extract_sections(data_block)
    170     for sec in _sections:
    171         if sec.ids:
--> 172             sec.pid = parent_section[sec.ids[0]]
    173
    174     return [s for s in _sections if s.ids]

KeyError: 31

fst.get('number_of_sections_per_neurite', n0)
Out: array([5, 3])

The disordered file fails to load with the fst module!

That doesn't look right! I'll have a look at it.

I think I figured out what is going on. In the disordered sample, there is a section that is being interpreted as two because of the break in IDs. But the first one only has one child, and that confuses the section extraction algorithm. The SWC spec allows this data. The question is whether we need to support it. If yes, then I will need to re-implement the SWC section extraction algorithm.

I should point out that I don't think this will not be trivial, so we need to be sure it is needed.

No, it is not trivial (and this is not urgent as far as I know). I confirmed with the viz-team that this not-order representation is possible and should be allowed. I know it messes up a lot of things but if we choose not to support it we will have to document it clearly (since there is not such restriction in the original swc format, as far as I know). I have an algorithm for this that I am implementing for another tool, so in case we choose to fix this issue, maybe you could use the parts that are relevant to make sections out of the swc structure.

Could you confirm with the viz team that "not-order" means non-consecutive IDs inside of single sections in SWC? Because this kind of thing cannot happen in h5 or .asc, by design.

Ignore my previous message. I just tried the Brion morphology converter with the disordered file, and it converter read it and converted to h5 v1 fine. So Brion is doing the right thing, and neurom.fst is assuming too much.

I think this is related to mixed tree ids rather than mixed IDs inside sections. For example we cannot have (this is my assumption according to the SWC specs, we will have to confirm this) decreasing IDs: 2, 5, 4 but we can have parent ids mixed (as in the file I attached as example).

Also, I will create an equivalent example for h5 format to check similar issues, if this is helpful. In this case, the sections of different trees will be shuffled, but the points within a section will be consecutive.

I really don't think it has to do with moving things around trees. The SWC reading algorithm uses the number of children to find section end-points, and this file has a false section with one child only. But I can test your hypothesis with another file and get back to you.

How can this file have a "false" section since the SWC file does not contain section information? I think this is related with some assumption to form the sections, I am not sure though. Let me know if I can help identify the issue.

I added swc_ordering.zip, where sample_mixed_tree_sections.swc has sections not sorted by tree. The fst module parses this one fine. I will add these files to the test data.

The fake section is due to the code that tries to extract sections from the flat SWC data. I will have to fix it.


Terraform Error: Provider produced inconsistent result after apply

│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to module.data_store.module.dataform-workflow-prod[0].google_service_account.workflow-dataform, provider "module.data_store.provider["registry.terraform.io/hashicorp/google"]" produced an
│ unexpected new value: Root resource was present, but now absent.
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
╵
╷
│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to module.pipelines[0].google_service_account.service_account, provider "provider["registry.terraform.io/hashicorp/google"]" produced an unexpected new value: Root resource was present, but now
│ absent.
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.

Fixed with PR: https://github.com/GoogleCloudPlatform/marketing-analytics-jumpstart/pull/204


FIX ALL GO HELP LINKS

It has been a long long time and still none of the error help links work ex  https://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=16.100.37971.0&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Backup+Server&LinkId=20476
All we get is redirected to the home page. Been like this for eons now. How is this not fixed?

@rothja this might be for someone in your team.

@amommy Hello! I am the manager on the SQL Server documentation team, and it looks like the forward link you're referencing is SQL Server / SMO related. Are you getting to this link from a tool / user-interface / F1 help? I'd have to investigate how these should be hooked into our docs and why it is not working. #assign:rothja

Adding @markingmyname as well, since it looks like this was F1 help on and SMO error. Mark is investigating F1 help links to our docs, so this might be related to his work.

#assign:markingmyname

@amommy
Have you had a chance to review @rothja comment?
We would appreciate it if we could have a point of reference from where you are to where the help article is redirecting you.
Please let us know.
Thank you.

Sorry I just now saw the emails about this.
Links on all, if not most, SSMS help screens do not work, they just go to
homepage. I have also had the same problem in excel, not sure if all the
links or just some.
Thanks for looking into this.
On Thu, Aug 13, 2020 at 10:58 AM Jason Roth<EMAIL_ADDRESS>wrote:

@amommy https://github.com/amommy Hello! I am the manager on the SQL
Server documentation team, and it looks like the forward link you're
referencing is SQL Server / SMO related. Are you getting to this link from
a tool / user-interface / F1 help? I'd have to investigate how these should
be hooked into our docs and why it is not working. #assign:rothja
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/feedback/issues/3007#issuecomment-673529022,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABRAY4E6GQIZG3EJBF5PU3SAP5SRANCNFSM4PW4HJ7A
.

Hi, @amommy
We know that the Help/F1 experience for SSMS is not working as expected for some areas/screens.
As such, we are working on a plan to correct/edit the known miss-redirects for SSMS.
We are also investigating Help/F1 for SSDT and Visual Studio.
However, as for other applications, such as Excel, please visit Excel help & learning.
Thank you.

#please-close


[Run] Search box does not auto focus

ℹ Computer information

PowerToys version: 0.29.3-64x
PowerToy Utility: PowerToys Run
Running PowerToys as Admin: Yes
Windows build number: 1909

📝 Provide detailed reproduction steps (if any)

Enable PowerToys Run if not already enabled
Press key combo to activate PowerToys Run, alt+space

✔ Expected result
It should automatically focus and allow me to start typing instantly without any extra input like selecting the text box with your mouse
❌ Actual result
Ignored my input until I focus the text box by clicking it with my mouse

@notcat
we need some repro steps since in general this is not reproducible beside known scenarios like when an elevated windows has the focus.

@notcat
we need some repro steps since in general this is not reproducible beside known scenarios like when an elevated windows has the focus.

@notcat
we need some repro steps since in general this is not reproducible beside known scenarios like when an elevated windows has the focus.

My shortcut is set to Win+Space to launch PowerToys Run. To reproduce this issue on my PC, for example:

Press Win+Space
Start typing
Input is not captured in PowerToys run, instead, is captured in certain applications instead.

Microsoft Word in background, PowerToys run works as expected.
Google Chrome in the background, input captured in Chrome.

@notcat
we need some repro steps since in general this is not reproducible beside known scenarios like when an elevated windows has the focus.

My shortcut is set to Win+Space to launch PowerToys Run. To reproduce this issue on my PC, for example:

Press Win+Space
Start typing
Input is not captured in PowerToys run, instead, is captured in certain applications instead.

Microsoft Word in background, PowerToys run works as expected.
Google Chrome in the background, input captured in Chrome.

@notcat

Google Chrome in the background, input captured in Chrome.

Is the the regular Chrome or a beta/dev build?
Is Chrome running as a regular user or with administrator privileges?
Do you have any particular extension in Chrome that might be worthy to know?
Can you run the Steps Recorder to generate the repro steps? Steps Recorder is preinstalled in Windows.

@notcat

Google Chrome in the background, input captured in Chrome.

Is the the regular Chrome or a beta/dev build?
Is Chrome running as a regular user or with administrator privileges?
Do you have any particular extension in Chrome that might be worthy to know?
Can you run the Steps Recorder to generate the repro steps? Steps Recorder is preinstalled in Windows.

Regular Chrome install
User with administrative rights, but not elevated
Extensions: AdBlock Plus, Adobe Acrobat, Grammarly, Honey, Amazon Assistant
Issue doesn't seem to occur when Steps Recorder is open - could this be something else is running on the PC sort of "in between" PowerToys and Chrome that Steps Recorder interrupts that allows PowerToys to work?

Note: I am not the original issue opener, I was just experiencing the same issue so thought I'd chip in. May be with @notcat also answering these questions and/or running steps recorder.

Regular Chrome install
User with administrative rights, but not elevated
Extensions: AdBlock Plus, Adobe Acrobat, Grammarly, Honey, Amazon Assistant
Issue doesn't seem to occur when Steps Recorder is open - could this be something else is running on the PC sort of "in between" PowerToys and Chrome that Steps Recorder interrupts that allows PowerToys to work?

Note: I am not the original issue opener, I was just experiencing the same issue so thought I'd chip in. May be with @notcat also answering these questions and/or running steps recorder.

@corriganc

could this be something else is running on the PC sort of "in between" PowerToys and Chrome

Hard to say. Do you have any other tool running in the background that might interfere? Like gaming capturing tool or anything else?
@notcat
can you also try to run Steps Recorder?

@corriganc

could this be something else is running on the PC sort of "in between" PowerToys and Chrome

Hard to say. Do you have any other tool running in the background that might interfere? Like gaming capturing tool or anything else?
@notcat
can you also try to run Steps Recorder?

I also have this problem, but it is pretty random, sometimes it works, somtimes it doesn't. The focus is a problem in general bc if I unfocus from powertoys run it doesn't disappear.

I also have this problem, but it is pretty random, sometimes it works, somtimes it doesn't. The focus is a problem in general bc if I unfocus from powertoys run it doesn't disappear.

I found such case which should be reproducible.
I believe that the problem occurs when taskbar doesn't "return" back focus.
Consider this scenario:

Open notepad
Open start menu by pointing mouse on the left-down corner
Don't use menu itself. Notice that notepad lost focus (greyed)
Close start menu by clicking again on left-down corner
Notice that notepad did not regain focus back.
At this point try hitting Alt+Space and notice that focus isn't set automatically.

But change this scenario by opening/closing menu with Win key instead. You can now observe that notepad does regain it's focus back and that PowerToys Run works properly.
I find myself doing this open/close menu thing often because when I want to search for something I use start menu first and then remember that I have PowerToys Run as a better alternative.
ℹ Computer information

PowerToys version: 0.29.3
PowerToy Utility: PowerToys Run
Running PowerToys as Admin: yes
Windows build number: [run "winver"]
2004 (OS Build 19041.685)

I found such case which should be reproducible.
I believe that the problem occurs when taskbar doesn't "return" back focus.
Consider this scenario:

Open notepad
Open start menu by pointing mouse on the left-down corner
Don't use menu itself. Notice that notepad lost focus (greyed)
Close start menu by clicking again on left-down corner
Notice that notepad did not regain focus back.
At this point try hitting Alt+Space and notice that focus isn't set automatically.

But change this scenario by opening/closing menu with Win key instead. You can now observe that notepad does regain it's focus back and that PowerToys Run works properly.
I find myself doing this open/close menu thing often because when I want to search for something I use start menu first and then remember that I have PowerToys Run as a better alternative.
ℹ Computer information

PowerToys version: 0.29.3
PowerToy Utility: PowerToys Run
Running PowerToys as Admin: yes
Windows build number: [run "winver"]
2004 (OS Build 19041.685)

@PsychoBoy11
thank you for the repro steps, I could reproduce it as well. We will investigate it, but it might be unfixable if the Start menu is holding the focus.

@PsychoBoy11
thank you for the repro steps, I could reproduce it as well. We will investigate it, but it might be unfixable if the Start menu is holding the focus.

To me the run windows is not focused only when PowerToys panel is opened.
If i close the powertoys config window and use the run toy, focus works correctly.

To me the run windows is not focused only when PowerToys panel is opened.
If i close the powertoys config window and use the run toy, focus works correctly.

Having the same issue...  definitely intermittent... any ideas?

From https://github.com/microsoft/PowerToys/issues/9821#issuecomment-787475901

I reproduced this issue and found some detail:

This doesn't always happen.
If you click other window to close the PowerToys Run bar, the next time you open the bar by hotkey, the bar won't be focused.

I guess this issue is caused by this function: MainViewModel.OnHotkey
When hotkey pressed, only the visibility of window changed. May should focus on window when visibility changed to Visibility.Visible.

More or less same issue here, however it is easy to reproduce, as it entirely depends on if the active window being overlayed by PT Run is started with administrative priviliges or not.
So:

open notepad with administrative priviliges, place it centered on desktop
test that input is captured by notepad
activate PT run, validate that the overlay is place on top of notepad
notice that further input is captured by the notepad window, not the PT run overlay
close notepad and PT run

retry steps, with the exceptoin that before the PT run overlay is activated, the focused notepad window is dragged to the side of the desktop, so that the PT Run is not overlapping. In that case, everything works as expected.

*📝 Provide detailed reproduction steps
Click on the start button
Again click on the start button
Open PowerToys Run with shortcut key
❌ Actual result
The focus is not on the PowerToy Run so we can not write a query. we first have to click on the that then we can write. And click outside of the Run box doesn't close it.
This behaviour also happens when PowerToys not running as an admin.

I have the "windows search field" toolbar item activated, clicking on that input box to give it focus, then pressing the shortcut key to open PowerToys Run will also result in having the PT run window open but the focus is still in the search input field:

Confirm the issue still being presented with the latest build that is 0.35. It can be easily reproduced with the steps provided by Bhardvaj - clicking Start button. However, I've experienced this issue (lack of focus in Run) under other circumstances as well. I'll update this comment once I narrow down the exact steps of those other situations where focus is lost.

0.35.0 test:
The problem with focus not set on PT Run when overlayering a window with administrative priviliges is gone - it works as expected now.
The problem with "windows search field" toolbar item persists. PT Run window opens, but focus remains in the search input.

For this issue, i think we need crisp repo steps that reproduces this.  We know due to how start menu / search works and is elevated, we cannot override focus from it if it has focus.  @janrhansen called this out but this is a known limitation.

For this issue, i think we need crisp repo steps that reproduces this. We know due to how start menu / search works and is elevated, we cannot override focus from it if it has focus. @janrhansen called this out but this is a known limitation.

I don't know that there are concrete instructions... it seems to happen intermittently.  It doesn't seem to be while the start menu is up.... it could be more-so after it's closed but to me it honestly seems more like interfering with Chrome possibly, but I have no objective evidence or steps to reproduce.
I've never been able to reproduce it myself back to back...

Im on the latest currently and im having this issue also. It seems to be random though.

Found another instance when this issue occurs and can easily reproduce it with the following steps:

Open Menu Start by either clicking on it or by hitting the Windows key on the keyboard
Open PowerToys Run by pressing the shortcut key which you have defined in the PowerToys settings. Notice the focus is on Menu Start, Search bar to be more specific. Also, notice that PowerToys Run is shown on the screen.
Hit ESC to close Menu Start. PowerToys Run should be still present on the screen without having focus.
Press the PowerToys Run shortcut again. This will close the PowerToys Run field (prompt) on the screen.
Press the same shortcut again, which will launch another (new) PowerToys Run instance.

Notice that this newly opened instance of PowerToys Run still has no focus. Now if you repeat steps 4 and 5, so the third instance of PowerToys Run will be launched, the focus will be set to PowerToys Run.

Another case where PowerToys doesn't have focus can be reproduced with these steps:

Open Windows Notification panel (see picture)
Press the PowerToys Run shortcut to launch its instance. Notice that it opens without having focus.
Close the Windows Notification panel either by clicking on its icon or anywhere on the screen (outside of PowerToys Run).

Notice that even though the Notification Panel is closed, the focus doesn't come back to the PowerToys Run window.

@crutkas sorry for dropping multiple posts, but wanted to keep each 'use-case' separately for easier tracking.
Found another way of reproducing the issue, which I believe is the MOST common for all of the users who experience/reporting this issue. Here are the steps:

Open Windows Menu Start by clicking on its icon with your mouse - this is important!
Close Menu Start either by clicking on it with your mouse or hit the ESC key on the keyboard
Start PowerToys Run by pressing its shortcut.

Notice that PowerToys Run starts without having focus.
Two pretty important caveats here:

This issue doesn't appear when you start and close the Menu Start by hitting the Windows key on your keyboard!
Sometimes the issue doesn't appear even after following the above steps (1-3). However, based on my tests the issue appeared whey more often than not. In case it didn't work the first time, try a couple of times and you should be able to reproduce it.

@crutkas sorry for dropping multiple posts, but wanted to keep each 'use-case' separately for easier tracking.
Found another way of reproducing the issue, which I believe is the MOST common amongst all of the users who experienced/reported this issue. Here are the steps:

Open Windows Menu Start by clicking on its icon with your mouse - this is important!
Close Menu Start either by clicking on it with your mouse or hit the ESC key on the keyboard
Start PowerToys Run by pressing its shortcut.

Notice that PowerToys Run starts without having focus. Oddly enough you can see the '|' blinking inside the PowerToys Run search field, but if you start typing in, nothing will happen.
Two pretty important caveats here:

This issue doesn't appear when you start and close the Menu Start by hitting the Windows key on your keyboard!
Sometimes the issue doesn't appear even after following the above steps (1-3). However, based on my tests the issue was appearing why more often than not. In case it didn't work the first time, try a couple of times and you should be able to reproduce it.

I never touch the windows button with my button and it's happened to me also.
But in my case, I use WIN + SPACE  & remap it to SHIFT (Right) with keyboard manager.
And it seems even though it's pop right away after I press SHIFT (Right). It not on the main window.

rtoys config window and use the run toy, focus

I too see this behavior. I almost gave up on this feature because my first experience was with the settings window open and I thought it just didn't work well.

rtoys config window and use the run toy, focus

I too see this behavior. Unfortunatly I almost gave up on this feature because

Just checked the issue with the latest version of PT (0.41.3) and the issue can still be reproduced with the steps listed in my previous posts.

@crutkas sorry for dropping multiple posts, but wanted to keep each 'use-case' separately for easier tracking.
Found another way of reproducing the issue, which I believe is the MOST common amongst all of the users who experienced/reported this issue. Here are the steps:

Open Windows Menu Start by clicking on its icon with your mouse - this is important!
Close Menu Start either by clicking on it with your mouse or hit the ESC key on the keyboard
Start PowerToys Run by pressing its shortcut.

Notice that PowerToys Run starts without having focus. Oddly enough you can see the '|' blinking inside the PowerToys Run search field, but if you start typing in, nothing will happen.
Two pretty important caveats here:

This issue doesn't appear when you start and close the Menu Start by hitting the Windows key on your keyboard!
Sometimes the issue doesn't appear even after following the above steps (1-3). However, based on my tests the issue was appearing why more often than not. In case it didn't work the first time, try a couple of times and you should be able to reproduce it.

I never touch the windows button with my mouse and it's happened to me also.
But in my case, I use WIN + SPACE & remap it to SHIFT (Right) with keyboard manager.
And it seems, even though it's pops right away after I press SHIFT (Right), it not on the main window.
Is there is a possibility that it's not closed properly the last time I open it?

I'm not really sure if it's my windows or my PowerToys. Sometimes I open any program and it doesn't autofocus.

Update version 0.43.0:
PT run not getting auto focus in the following scenarios:

PT settings window is opened and in focus.
Windows notification center is opened. (Windows 11 build 22000.120)
Windows quick settings panel is opened. (Windows 11 build 22000.120)

Please look into this, without PT Run being focused on open it is unusable to me.
Happens in build 0.43.0.
No matter if it is straight after starting Windows 10 or when I have other applications opened. In 4 out of 5 cases the PT Run search bar doesnt have focus.
I suggest giving there maybe some overcompensated hack in programatic terms of:
Show PT Run window
Focus PT Run window
timeout 10ms - Focus PT Run window
timeout 15ms - Focus PT Run window
Basically whenever PT Run window is opened it needs to be focused. There probably is not scenario when I have open PT Run window and want to have focus elsewhere.
Thus it means it could have non-stop 100ms interval checking whether the opened PT Run windows is focused and if not, focusing it.

@notcat
we need some repro steps since in general this is not reproducible beside known scenarios like when an elevated windows has the focus.

@enricogior : Is this "issue" tracked somewhere ? I understand that it's by design, but I think the design should be changed to match the behavior of the windows start menu : When I'm in an elevated window and hit the "windows" key, it will take focus and allow me to type and search for an app.

@nicolus ,
I believe it shouldn't be possible to fix this, for security reasons. This seems to be the way Windows is designed.
If an external application could steal focus from any system Window at anytime, it would be easy for malware to lock down the computer by always stealing focus.

@nicolus ,
I believe it shouldn't be possible to fix this, for security reasons. This seems to be the way Windows is designed.
If an external application could steal focus from any system Window at anytime, it would be easy for malware to lock down the computer by always stealing focus.

But why other apps like this work ok? Also I am not having any elevated windows. Happens to me after fresh computer restart too. This simply is a bug which needs to get fixed otherwise this app is useless.

@ioma8 what other app with a similar behavior perform after a OS level focus correctly?  Would love to try one out.

@nicolus ,
I believe it shouldn't be possible to fix this, for security reasons. This seems to be the way Windows is designed.
If an external application could steal focus from any system Window at anytime, it would be easy for malware to lock down the computer by always stealing focus.

You see, if you open the start menu by using the Windows key, it always gains focus. This is probably because it's on system level and it would be great to see PT Run working on the same level.

@ioma8 what other app with a similar behavior perform after a OS level focus correctly? Would love to try one out.

Look at the Launchy app. Have basically the same functionality as PT Run. But focuses flawlessly every time.
https://www.launchy.net/download.php#windows

@ioma8 what other app with a similar behavior perform after a OS level focus correctly? Would love to try one out.

Or try out this open-source app with same functionality. Also seems to work ok, contrary to how the PT Run doesnt work.
https://ueli.app/#/download

@ioma8 what other app with a similar behavior perform after a OS level focus correctly? Would love to try one out.

Look at the Launchy app. Have basically the same functionality as PT Run. But focuses flawlessly every time.
https://www.launchy.net/download.php#windows

@ioma8 what other app with a similar behavior perform after a OS level focus correctly? Would love to try one out.

Or try out this open-source app with same functionality. Also seems to work ok, contrary to how the PT Run doesnt work.
https://ueli.app/#/download

Thank you.
You're right. I've given these a try and they seem to work as you've described.
At least one of those is open source so we can take a look into how it's being achieved.

@ioma8 what other app with a similar behavior perform after a OS level focus correctly? Would love to try one out.

Or try out this open-source app with same functionality. Also seems to work ok, contrary to how the PT Run doesnt work.
https://ueli.app/#/download

Tried it out today and I really like it. I feel like the search results (especially finding files/folders and prioritizing programs) are better in PT run but Ueli feels very stable and polished and I didn't have any focus issues.

@ ioma8 que outro aplicativo com comportamento semelhante tem desempenho correto após o foco no nível do sistema operacional? Adoraria experimentar um.

Ou experimente este aplicativo de código aberto com a mesma funcionalidade. Também parece funcionar bem, ao contrário de como o PT Run não funciona.
https://ueli.app/#/download

Experimentei hoje e gostei muito. Eu sinto que os resultados da pesquisa (especialmente encontrar arquivos / pastas e priorizar programas) são melhores na execução do PT, mas Ueli parece muito estável e polido e eu não tive nenhum problema de foco.

I agree, the UELI team apparently managed to solve the autofocus problem.
It works perfectly 100% of the time.

Thanks for all the feedback and tips here.
We've added some code to emulate the same behavior, which is using a registered HotKey instead of a low level keyboard hook.
This won't work for every possible shortcut, though, so we still leave the previous method as a fallback, but this behavior should improve greatly for the supported hotkey combinations.
We expect the fix to be released with the 0.47 release.

Was this fixed? I have this issue every time I start my computer.
The first time I press the hotkeys to run it, the search bar's never focussed; after that, it's okay. By the way, I use ALT + Spacebar as a shortcut.

Was this fixed?

Yes, I had this problem too, but not anymore since the latest update.
You can find a line about the fix in v0.47's changelog.

Yes, I had this problem too, but not anymore since the latest update.
You can find a line about the fix in v0.47's changelog.

Thanks for the answer. Unfortunately, I still have this problem 😓
It's not that big of an issue for me as it only happens once when I boot my computer. But if you need more information or some logs, feel free to ask.

@macarie, might be a different issue than discussed here.
It seems that for you specific issue it is the first time when the computer is booted.
Would you mind opening a different issue so it can be investigated there?
Thank you, in advance.

I'm on 0.47 and just had it. First time I ALT+SPACE it wasn't on focus and made the "wrong key press" sound of windows. I then ALT+SPACE again and this time it was on focus.
Doesn't seem to do it again after the first focus.

Sounds great.

Still a problem in 0.47. Data entry box does not get focus on first use of Alt-Space after a restart.

@ggrinton please file a new issue and provide a “report bug” zip via right clicking on powertoys system tray icon. With as much info as possible. Like all the time, after first time reboot, more info the more we can correlate what the issue is.

Thanks @crutkas.
When I did open a new issue for this at #13178 It was closed and I was advised to add a comment her in this issue. I can repeat #13178, but the text there is still accurate as far as I am concerned.

@ggrinton @crutkas Tracked in #13643 :)

Not resolved in release 0.51

Not resolved in release 0.51.1
PowerToysReport_2021-12-20-15-30-23.zip

Not resolved in release 0.53.1 . On first run after restart, the search box doesn't have focus. After that, it works fine.
PowerToysReport_2022-01-12-11-34-05.zip

I have the same experience. Now IT IS possible to get focus eventually by pressing the keyboard shortcut multiple times (which previously wasn't possible - so part of problem is solved). But often times it focusses only after second or third keypress of the shortcus and not on the first.

Same issue here. It's the only problem that effectively stops me from using the tool.
I can reproduce this each time with:

Click Win key / open Start.
Open PowerToys Run with Alt+Space.
Type anything.
The focus remains in the Start menu.


Repl.Deploy Permission denied

Context
All the steps in the guide work great, the bot stays awake and receives the github deploys.
However, yesterday stopped performing the deploys and also didn't start the bot.
When I checked what happened, it turned out that the ./repl.deploy  file was missing permissions.
I applied them again and it worked wonderfully, a few hours later the permits were missing again.

Console

node v12.16.1
>> ./repl.deploy --standalone node index.js
sh: 1: ./repl.deploy: Permission denied
exit status 126

Hey, this seems like a replit problem more than a repl.deploy problem.
I assume this happens because of replit's snapshot system. It's likely that replit didn't take a snapshot after you changed the file permissions, so it reverted chmod +x and couldn't run it...
Here's what you can try: Change the permissions again, and then open the binary in the GUI editor (you'll see garbage text, just ignore it and close it after a couple of seconds). This should get replit to take a snapshot of the file with changed permissions.
Let me know if that works!

An alternative solution guarenteed to work is just to change your .replit file to
run="chmod +x ./repl.deploy && ./repl.deploy --standalone node index.js"

Right, sorry if I answer late. So, I tried the first method and it seems that works fine!. Anyways if in some hours fail, I will try the second one.  I will notify you!
Thanks for the answer!


CH8: KMelody blocks when the client melody is trying to closeHandle

When the client melody calls closeHandle, the kmelody method will block:
PlaybackState.cpp:
status = KeWaitForMultipleObjects(2, objects, WaitAny, ...
I found stop is never call. So I added in KMelody.cpp::MelodyCreateClose:
NTSTATUS MelodyCreateClose(PDEVICE_OBJECT DeviceObject, PIRP Irp) {
	auto status = STATUS_SUCCESS;
	UCHAR func = IoGetCurrentIrpStackLocation(Irp)->MajorFunction;

	if (func == IRP_MJ_CREATE) {
		//
		// create the "playback" thread (if needed)
		//
		status = g_State->Start(DeviceObject);
	}
	if (func == IRP_MJ_CLOSE) {
		g_State->Stop();
	}

	return CompleteRequest(Irp, status);
}

It solves the issue

Thank you :)


Fix spelling of which

Coverage remained the same at 68.28% when pulling 942a78d582e4fed1f363528b54275a2cc9835fb8 on pgermishuys:grammar-spelling into a3cfcb5fb57a3ae4ae1fca459d32b1c786734061 on exponentially:master.

Thank you


Support sumLabeled in MAL (#10885)

add sumLabeled @MeterFunction for mal multi lable sum downsampling

[ ] If this is non-trivial feature, paste the links/URLs to the design doc.

[ ] Update the documentation to include this new feature.

[x] Tests(including UT, IT, E2E) are added to verify the new feature.

[ ] If it's UI related, attach the screenshots below.

[x] If this pull request closes/resolves/fixes an existing issue, replace the issue number. Closes #10885.

[x] Update the CHANGES log.

Pending on @BFergerson as he had done this once.


Forward

Proposed merge will correct some errors in the existing master branch and bring it into line with the version on the production server

This will not merge cleanly because there are lots of changes in master that have not been incorporated into forward and vice versa. You can see the list of commits that are present in master but not in forward using the command:
git log forward..master

The last common ancestor of the two branches is commit f85cfad: Merge pull request #8 from GlidingWeb/mapfix.
I tried to merge master up into forward on my PC and got more than 70 conflicts.
Are you sure that forward contains all of the latest bug fixes?

Rendered obsolete by pull request #13.


fix flaky test

not sure how this test could run for this long, the expected duration was not calculated right.
i have been frequently seeing this test failure in last few days.

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

Coverage decreased (-0.08%) to 64.927% when pulling 44e8d294dc2d0f6bb9b3459ac916610a1cf9913f on yiminc:fix_flaky_test into 5c456938711756a26f818ae649a8fc648fece531 on uber-go:master.


update member [status] and [game] fail

Hello,
When I use "update presence" I have no worries.
But when I use
            $server = $this_data->discord->guilds->get('id', "idServer");
            $member = $server->members->get('id', "138325157025415169");

The variables are not updated.
$membre
   [status] => dnd
    [game] => Discord\Parts\User\Game Object
        (
            [name] => test
            [url] =>
            [type] => 0
        )

    [nick] => deoxis

presence update
[status] => online
  [game] => Discord\Parts\User\Game Object
      (
          [name] => testa
          [url] =>
          [type] => 0
      )

  [nick] => deoxis

$member->game and $member->status no updated :/

Use this to update presence: http://teamreflex.github.io/DiscordPHP/Discord/Discord.html#method_updatePresence

I do not want to change it but just read it,
With the event "update presence" "status" and "game" are updated but when I read them from the guild it does not update

I do not want to change it but just read it,
With the event "update presence" "status" and "game" are updated but when I read them from the guild it does not update

hello
I still have the problem, how can I solve it ??

@deoxis9001 are you trying see what the bot's current game / presence is?

Will need to look into this some more. I am assuming the problem is when the presense is changed and not updated in the guild?

Fixed earlier today in the develop branch. Still need to do some testing when updating the bot presence.


Date Filters Possible for "ZILLOW/DATA" Dataset?

Hi team,
Is it possible to have date filters possible for the "ZILLOW/DATA" dataset?
This is my code right now:
    data = nasdaqdatalink.get_table(
        "ZILLOW/DATA",
        indicator_id="ZALL",
        region_id="62004",
        paginate=True,
    )

I would like to add an additional filter for the date since there can be many records available.

-- Please reply above this line --
Dear Nasdaq/data-Link-Python,
Thank you for contacting the Nasdaq Data Client Success Team. Your
email is very important to us and we will respond to you within 1 to 2
business days.
To efficiently support your request, please include relevant details
such as the data product/feed you are inquiring about.
Kind regards,
Nasdaq Data Client Success
[1]
Links:
[1] https://www.nasdaq.com/

-- Please reply above this line --
        Hello,

No, there is no date filter applicable for the Zillow/DATA dataset.
What you can do instead is export the data into Excel and apply a
filter to the date column to look for specific time frames.
Please let us know if you have any other questions.
Best,
Rachel
RACHEL FENG
Nasdaq Data Client Success
How would you rate my reply?
Great [1]    Okay [2]    Not Good [3]
Links:
[1]
https://secure.helpscout.net/satisfaction/653428504/record/7139973450/1/
[2]
https://secure.helpscout.net/satisfaction/653428504/record/7139973450/2/
[3]
https://secure.helpscout.net/satisfaction/653428504/record/7139973450/3/
    > On Sun, Oct 8, 2023 at 12:25 PM EDT, Nasdaq/data-Link-Python<EMAIL_ADDRESS>wrote:

WARNING - EXTERNAL EMAIL; EXERCISE CAUTION.
Hi team,
Is it possible to have date filters possible for the "ZILLOW/DATA"
dataset?
This is my code right now:
data = nasdaqdatalink.get_table( "ZILLOW/DATA", indicator_id="ZALL",
region_id="62004", paginate=True, )
I would like to add an additional filter for the date since there can
be many records available.

Reply to this email directly, view it on GitHub [1], or unsubscribe
[2].
You are receiving this because you are subscribed to this
thread.Message ID:
@.***>
Links:
[1] https://github.com/Nasdaq/data-link-python/issues/41
[2]
https://github.com/notifications/unsubscribe-auth/AWYQ64ZASZ6TR7DBFDSXQ33X6LHVLAVCNFSM6AAAAAA5XZGCSKVHI2DSMVQWIX3LMV43ASLTON2WKOZRHEZTCOBZGE3TQNA


Add cairo_pie_output flag to cairo_vm_cli

This also involves:

Fixing serialization of CairoPie to be fully compatible with the python version
Implementing CairoPie::write_zip_file
Adding comparison of cairo pie outputs between python and rust vm
Bonus:
Moved handling of required and exclusive arguments to struct definition using clap derives

Suggestion: maybe just write to a folder instead and use a tiny script for zipping?


Code efficiency

LibListener.py
In lines after:
elif 'ROBOT_LOCAL_CONFIG' in os.environ:
several times
os.environ['ROBOT_LOCAL_CONFIG']
is accessed.
But it would be more efficient to use os.environ['ROBOT_LOCAL_CONFIG'] only once. A separate variable should be used for the path.
And the path should be normalized.
Reference:
https://github.com/test-fullautomation/robotframework-testsuitesmanagement/tree/HolQue/task/documentation_updates_and_fixes

Hello Holger,
I cherry-picked the commit to branch HolQue/task/documentation_updates_and_fixes
Thank you,
Son

Hi Son,
what is the status here?
Thank you,
Thomas


Editor minimap is often disappearing.

VSCode Version: Code 1.13.1 (379d2efb5539b09112c793d3d9a413017d736f89, 2017-06-14T18:18:03.540Z)
OS Version: Linux x64 4.4.0-81-generic
Extensions:

Extension
Author
Version

language-x86-64-assembly
13xforever
2.2.11

armsnippet
artofshell
0.7.0

code-gnu-global
austin
0.2.2

arm
dan-c-underwood
0.1.2

githistory
donjayamanne
0.2.0

python
donjayamanne
0.6.5

gitlens
eamodio
4.2.0

clangcomplete
kube
0.0.6

MagicPython
magicstack
1.0.10

cpptools
ms-vscode
0.12.0

csharp
ms-vscode
1.11.0

vscode-icons
robertohuertasm
7.10.1

python
tht13
0.2.3

Steps to Reproduce:

Enable minimap: Settings -> "editor.minimap.enabled": true
Use the editor. (I use for larger cpp files (~1000 rows)

Confirm.
OS: Linux 4.4.0-81-generic, VSCode: 1.13.1
It didn't happen until 1.13 update.
The problem occurs even with small files and fix(for a while) by window reloading.

100% repro for me: click inside the popup UI created by "peek definition".

Duplicate of #28093