[Quest/eCBIS] - Initial sync screen is stuck

V.0.0.9

[ ] The app is taking some time to complete sync (more than 5 minutes from the initial 2 min).
[ ] The sync seems to be stuck on the 'syncing screen'- see video below. This screen is not clearing (I waited for 1 hour).
https://user-images.githubusercontent.com/58034047/177259093-64c7e3a3-5932-466e-ba1b-b27f9abc18c1.mp4

Resolved via a new release  https://github.com/opensrp/fhircore/releases/tag/v0.0.9-ecbis


Problems when upgrading to latest version (3.3.1)

I upgraded notificare version to 3.3.1 and made the corresponding changes in code. I use Android Gradle Plugin version 7.2.2 and Gradle version 7.3.3. Also, compileSdkVersion and targetSdkVersion 31, minSdkVersion 23.
The thing is that when tested in api 28 & 29, devices were registered to notificare, I added tags successfully and sent message successfully through dashboard. But, notification was never received. On all other apis I tested, I got this error:
Unable to get provider re.notifica.NotificareConfigurationProvider: java.lang.IllegalStateException: No platform dependencies have been detected. Please include one of the platform-specific packages.
I have followed everything that is described in the docs regarding implementation, device registration, tags and remote notifications. I know my questions may seem quite general, so what do you need from me (logs etc) in order to help me?
I have used Notificare successfully before, till 2.7.4 version. But with Android Gradle Plugin version 3.5.4 and Gradle version 6.8, compileSdkVersion and targetSdkVersion 28. When I tried to upgrade gradle or sdkVersion, Notificare version 2.7.4 had the same problems (the aforementioned) I face now with version 3.3.1.

Hi @gtsak1 ,
Based on that exception, it seems you are missing the dependency that enables the push capabilities for your given platform.
The base notificare-push dependency enables the push functionality you, as a developer, will use. However, since there are two different push providers — GMS (Google Mobile Services) and HMS (Huawei Mobile Services) — we created two peer dependencies — notificare-push-gms and notificare-push-hms — allowing you to cherry-pick which platforms you want to support.
Once you include those, device registration should integrate with your phone's push provider, allowing you to receive remote notifications.

I have used these dependencies:
def notificare_version = '3.3.1'
implementation "re.notifica:notificare:$notificare_version"
implementation "re.notifica:notificare-push:$notificare_version"
implementation "re.notifica:notificare-push-gms:$notificare_version"
implementation "re.notifica:notificare-push-ui:$notificare_version"
implementation "re.notifica:notificare-push-ui-gms:$notificare_version"
I thing I am not missing something. I am not testing on huawei at the moment, so I did not include hms

We can't reproduce what you're describing.
Can you send us a small sample app that illustrates this problem?

Hi.
I created small sample apps with notificare v.3 and everything worked successfully.
Nevertheless, I did not yet manage to integrate notificare v.3 in the project I am working on, most likely due to conflicts with some other libraries we use. So, I switched back to working version 2.7.0.
I close this issue for now

Hi @hpinhal.
I have managed to integrate successfully notificare v.3 in the project I am working on. Everything works fine when testing on real devices. The only problem that remains is when running the app on some emulators in android studio (not all).
The error is:
Unable to get provider re.notifica.NotificareConfigurationProvider: java.lang.IllegalStateException: No platform dependencies have been detected. Please include one of the platform-specific packages.
Can you reproduce that (for android studio emulators only) or do you want me to send you a sample app? Where should I send it?

Hi @gtsak1,
I'm glad you were able to transition to v3.x!
I've tried testing with two different emulators but still couldn't reproduce.

Pixel 4 API 31 w/ Play Store
Pixel 6 Pro API 31 without Play Store

It would help if you could provide a sample and the exact settings of your emulator. You can upload a zip file in a comment through this channel.

We did some more digging and believe we found the problem you're experiencing.
I've created two emulators with the same API level but different images, as described in the image below.

The first image (without the Google APIs) will experience the exception you described due to the lack of Google APIs. The second image, however, works just fine.
When you select an image for the emulator, you should have a warning (in red) for images without Google APIs.

Make sure you select the most appropriate image — architecture and including Google APIs.

Can you confirm this was your case and that selecting an image with Google APIs works for you?

Yes, that was the problem, thank you! I am ok with this now, but is there a way for all emulators to work with v.3? I ask, because I did not face the same problem with v.2.
In the below image, Nexus 4 Api 30 2 is the working emulator for this case:

I cannot run x86_64 or x86 images on my Apple Silicon MacBook.
The architecture type you're using will differ based on your physical CPU.
However, the key part of my previous comment was regarding the availability of the Google APIs.
If you were using images without the Google APIs with v2, certain features, like remote notifications, couldn't have worked properly. In v3 we split GMS and HMS dependencies from the base feature module and enforced strict availability checks which triggered the exception you reported.

Ok, thanks


Add outbound message error peer::Connection tests

Motivation
In PR #3200, we added some peer::Connection tests, but we didn't test:

the peer_outbound_tx closing
the peer_outbound_tx getting errors

Related Work

#3232
#3234

Hey team! Please add your planning poker estimate with ZenHub @conradoplg @dconnolly @jvff @oxarbitrage @teor2345 @upbqdn

Merged into #3234.


Issue with Query 21 at larger data sets

The way Q21 is written, its runtime grows more than linearly in relationship with the data-size. As a result, it will become increasingly difficult to have a successful completion at large data sets. For a 9 node cluster that we have set up, the run time for Q21 in the power test is 386, 1184 and 9664 seconds respectively for 1TB, 3TB and 10TB. Clearly the trend in runtime increase is more than linear.
This needs to be changed to facilitate completion at 100TB+ data sets.

I obtained


Behaviour of date, number and boolean values in a test/list facet is inconsistent

Version of OpenRefine used (Google Refine 2.6, OpenRefine2.8, an other distribution?):
Tested on OpenRefine 2.8 & 3.0 beta, but suspect the same behaviour is in earlier versions of OR as well
Current behaviour
There are a variety of scenarios - some described here:
Create a 'text facet' on a column that contains date values (i.e. as dates, not strings)
Try selecting rows by clicking the date value in the facet
See that no rows are selected (and in 2.8 at least an additional value appears in the facet)

Create a column containing non-string values and strings that have the same visible value - e.g.:
true -> boolean
"true" -> string

Look at the facet and see the "count" is the number you would expect if you  treated the string and non-string values as being equivalent.
Try selecting the value in the facet - see only the rows containing either the non-string, or only the string values are selected (which set are selected depends on the order of the cells in the project)

This latter behaviour also effects numbers and dates
If you are allowed and are OK with making your data public, it would be awesome if you can include the data causing the issue or a URL pointing to where the data is (if your concerned about keeping your data private, ping us on our mailing list):
Expected Behaviour:
There is a fundamental question here of how date, number and boolean values should be treated in text/list facets. They are currently counted as if they are equivalent to strings, and also if you try to use 'mass edit' they are treated as if they are the same as the equivalent string (e.g. in the example above do an edit from the facet and the boolean true and the string "true" would both be changed in the project.
I think trying to treat objects as equivalent to some strings in this situation is probably a bad idea. I can see two options

Similarly to how timeline/number facets treat other values OR could simply not include the non-string values in the facet and have a checkbox as to whether they are included in the filter or not - see

Similar to how nulls/empty strings are handled in text facets, we could have a bucket facet value for "dates", "numbers", "booleans" which would allow the user to select the set of boolean values but not see counts of true vs false (a further boolean facet would be needed to see that)

Dates, Booleans and Numbers could be included in the facet but as separate values in the facet  - so all boolean true are grouped and counted separately to all string "true"

These are not necessarily exclusive options - we could implement them in combination
These are my views - please make suggestions for other behaviours or indicate which of the 3 I've listed individually or in combination would make most sense to you
@thadguidry @ettorerizza (feel free to ping others to get feedback)

@ostephens You probably need to know this history....
Facets were always designed to be Datatype specific....the exception to the rule was the Text Facet.
That behavior goes way back to pre 1.0 days actually.  And your scenarios I just tested on 2.6 alpha 2
The Datatypes other than Text, those Facets always excluded rows that were not of the given Datatype...so yeah, folks would miss rows of data, and that was expected.  In fact, that's why David added for me the value.type()  I.E., it wasn't a bug, but a design choice to restrict Facet handling, otherwise, as you see, things get unwieldy trying to deal with different Datatypes within one process or operation, its not impossible, but we always thought that folks would like to work in layers, even with deducing the Datatype.  For those folks with less precise needs, the Text Facet worked as it flattened and converted everything toString and presented what you had, even null/blank cells.
In OpenRefine, my opinion would be to continue to keep Facets as being Datatype specific in their handling or evaluation of data except for Text Facet.  Just as we always have.
It may also be better to just add more Datatype Facets to account for various Datatypes or new one's we introduce, for instance my Json Datatype suggestion.
We are definitely missing a real Boolean facet and also the Type evaluation for a Boolean value.type() https://github.com/OpenRefine/OpenRefine/blob/2.6-alpha.2/main/src/com/google/refine/expr/functions/Type.java
Yes, we could enhance Facets to have mini-filters (datatype buttons underneath,etc.) themselves to expose more/less rows by using value.type() against them.  But that kind of UI work, might be better served by focusing first on "the Beast", going to a new UI and separating Front/Backend ops and then making beautiful Facets.  But don't let me stop you from enhancing the current state of things.
Hope that helps ?

Thanks @thadguidry.
I actually like that the Text facet includes non-string values - it is sometimes very convenient (and I don't find the UI on the number and timeline facets that good).
I think my preference is (3) - so actually what we have is a proper 'list' facet - essentially it would work like the current text facet in general, but handle non-string values more intelligently. I'll have a play and maybe post a proposed approach here with some mock ups of how it would work and see if others have views as well.

@ettorerizza a type facet would allow you to filter the data set by type of course, and a type facet seems like a good idea.
However I think we still need to look at the behaviour of the text facet. To “count” four values, and mass edit four values but only select 2 of those values makes no sense to me
I think we need the text/list facet to treat non strings in a consistent way

@ostephens "I think we need the text/list facet to treat non strings in a consistent way"
...and that consistent way is done by tackling "The Beast" , where a column index for Values As Text, is kept and where the Text Facet looks to that column index.
Didn't our current data structure already keep internally or have that kind of index when the Text Facet is built ?  I've forgotten, perhaps its just an index of Objects.  so might need an index of Strings.  but I really thought we were already doing that internally somewhere..."making a copy".  @jackyq2015 might know more.

@thadguidry I'm trying to understand what is the most sensible consistent behaviour here that we should aim for. It seems from what you say, you would like to see the values treated consistently as strings? So if we have data:
[date 20170101T00:00:00Z]
20170101T00:00:00Z

Then this should result in a facet:
20170101T00:00:00Z   (2)

And selecting the value in the facet would filter to both rows. Is that correct? Have I understood your preference for how it should work?

Oh, sorry @ostephens , I read too fast and misunderstood the problem. Indeed, this behavior is inconsistent and dangerous. I had never seen it before, probably because I don't often mix different types in the same column.

@ostephens No, you misunderstood.  Do not do any fancy conversions for the Text Facet.  We never did that before.  When I said that Text Facet was the exception to the rule... I meant that the Text Facet back then would only deal with String Datatypes.  It would actually still display in the Facet, a Datetype and its Count correctly, along with String Datatypes, but the rows would never show if you selected the Date Datatype in that Text Facet...since they were not a Text Datatype.  Also, back in Google Refine 2.0 r1836, it would still show Dates in a column grid as Black and White color, not Green color.   We eventually improved things as time went on.  Here is how it looked and worked in Google Refine 2.0 r1836...

So for the current state we are in now...I would prefer that we have users using different Facets to deal with different data types.  For the Date Datatypes still showing in a Text Facet...I would probably not even show them any longer, we did that back in the day as a convenience.  But it often confused and we dealt with it on the mailing list.
The Text Facet does not have to show every non-Text Datatype value... only String Datatype values, its a TEXT Facet after all.  And I think that is what your asking us.  So my answer is, Change the Text Facet, so that Users can only see String Datatype values.  Then you are left wondering..."but what about non-Text Datatype values" ?  I would say that you show at the top of the Text Facet something like "non Text Rows" and a Count next to it.  And also add more Facets to deal with other Datatypes, like Boolean, etc.
For the future, when we go to a new UI, we can take the same backend code and eventually refactor into a smarter multi-Datatype Facet, similar to how Data Wrangler does, and deal with the "non Text Rows" in a much more elegant fashion in a single Facet dialog.
Ask if anything is unclear from above.  I want to ensure you get the vision here.... I.E.  don't disturb the current Text Facet handling too much...we'll do that later on with more funding and help.

Thanks @thadguidry that's very clear. What you are suggesting:

Change the Text Facet, so that Users can only see String Datatype values.
show at the top of the Text Facet something like "non Text Rows" (like we do with Blank and Null) and a Count next to it

This definitely makes sense to me and was the approach I was trying to describe in my Number 2 above:

Similar to how nulls/empty strings are handled in text facets, we could have a bucket facet value for "dates", "numbers", "booleans" which would allow the user to select the set of boolean values but not see counts of true vs false (a further boolean facet would be needed to see that)

So with this method
[date 20170101T00:00:00Z]
20170101T00:00:00Z

Would give the facet
(dates)  (1)
20170101T00:00:00Z  (1)

I still wonder if there is a role for a mixed type 'list' facet (which is what I was suggesting in (3) above) where
[date 20170101T00:00:00Z]
20170101T00:00:00Z

Would give the facet
[date 20170101T00:00:00Z]  (1)
20170101T00:00:00Z  (1)

but I think you are probably right that we should keep the Text facet as Text, and then if there should be a mixed type List facet we can look at that as a separate issue
Thanks

OR's data type is stored at the cell level instead of the column level. It make some sense considering it deal with messy data where you can not expect the data is normalised as one specific type. But allowing set the data type to one cell looks weird. Imaging you have 1M rows data set, it is not feasible to set it one by one. I would recommend something like "preferred data type"(default to text) to the column and when doing the facet, user doesn't have to think about it should facet by text, Boolean or date.
Grouping the cell by data type also looks weird. User then have to go into each data type and fix them one by one. In another words, cannot see/process the whole facet in just one view.

Thanks for this @jackyq2015. I think the issue of having a data type at column level is different to the question of how to facet on a column which contains a mixed set of data types. It's the latter question that I think we are trying to resolve here.
I understand what you mean when you say

Grouping the cell by data type also looks weird

But I'm not sure we've found an approach yet that doesn't have some downside. Based on the discussion in this issue, I see four choices for dealing with the data of different types in a List face:

Similarly to how timeline/number facets treat other values we could simply not include the dates, booleans, numbers in the facet and have a checkbox as to whether they are included in the filter or not
Similar to how nulls/empty strings are handled in text facets, we could have a bucket facet value for "dates", "numbers", "booleans" which would allow the user to select the set of boolean values but not see counts of true vs false (a further boolean facet would be needed to see that)
Dates, Booleans and Numbers could be included in the facet but as separate values in the facet - so all boolean true are grouped and counted separately to all string "true"
Dates, Booleans and Numbers could be converted to strings for the purposes of faceting and grouped with the equivalent string value

PR #1666 implements (2)
(4) is the closest to the current behaviour, but I think doesn't work well for dates because of the variety of ways a date can be parsed into a string. It could also be a problem for numbers and booleans in some cases, although  Booleans and Numbers are different to dates because:
a) They have native representations in JSON so it is easy to know if we have a Boolean or Number in our facet without any additional information
b) They convert to strings in a more consistent manner than dates (although Numbers can vary depending on whether they are LONGs or INTs)
My instinct is against (4) because it involves switching between data types - which seems to me risky behaviour and likely to lead the user astray.
However, I can probably be persuaded that any of the four approaches described here is the right way to go. I implemented approach (2) in PR #1666 because it seemed to be the approach myself @thadguidry and @ettorerizza all felt was reasonable.
@jackyq2015 which do you think would be the best approach out of the 4 described? Or is there another way of approaching this which I've not described that you would prefer?

Thank you for temporarily fixing this (quoted in #1957 and seen in 3.2 beta) . I am a new user of this tool, was trying to follow the tutorials and came across this problem several times and wrecked my brain questioning myself why i could not follow the lessons. Love this tool by the way...keep up the great work please.


[SDPA-2911] Update Readme

JIRA issue: https://digital-engagement.atlassian.net/browse/SDPA-
Changed

Updated Readme formatting.

Screenshots

@dylankelly any place you think we can add this https://github.com/dpc-sdp/ripple/issues/77 ?


adjust for react-router v4. wip

Promising

is this going to be merged?

Yes, we are working out a few cases not covered here & docs before getting this in


Migrating birthdays to postgresql database

@cjotade is this working as expected? I would like to know that before reviewing and merging :)

not yet, the method to check the birthday in a loop (check_loop_birth) needs to be migrated to postgresql

Now the code is working as expected. So you can review and then merge.


Change Logos

It would be nice if you could swap out the logos with your own in a more simpler manner than having to change them to SVG format

You really dont have to use svgs. Even PNGs are fine. You can refer to https://github.com/iammukeshm/cowin/blob/master/cowin/wwwroot/index.html - Line 61
https://github.com/iammukeshm/cowin/blob/master/cowin/Shared/MainLayout.razor - Line 8
I used a png to replace the logo instead of svgs..I hope this answers your query.

How to change the Browser tab logo?
Cant find the code :(

@Zigimun it's called a favicon.


Need to integrate it with a frontend and expose it to the internet

Hey folks, love what you guys have done! The server and client methodology works well on my local but fails to be deployed onto an IP. I have tried using ngrok, tried using FastAPI but nothing works. I thought by setting the right host-receiver IPs and ports would work directly by using the --recv_host --send_host but somehow it didn't respond. I just need a basic frontend and then expose it but in vain with that too. I am not sure what I am missing so it would be great if I received some quick help.
OS: Windows 11

Hi 👋 We wrote a blog about this: https://huggingface.co/blog/s2s_endpoint

I need to use my own GPU so Inference Endpoints are a no-go. :( Is there a webclient code I can use if I want to run the server and communicate with it through the browser?

For the frontend example about speech-to-speech interactions, maybe you can refer to our released CleanS2S.

Hey folks, love what you guys have done! The server and client methodology works well on my local but fails to be deployed onto an IP. I have tried using ngrok, tried using FastAPI but nothing works. I thought by setting the right host-receiver IPs and ports would work directly by using the --recv_host --send_host but somehow it didn't respond. I just need a basic frontend and then expose it but in vain with that too. I am not sure what I am missing so it would be great if I received some quick help.
OS: Windows 11

For the frontend example about speech-to-speech interactions, maybe you can refer to our released CleanS2S.

Cool implementation but does it support custom huggingface models?

Of course, you can indicate the arbitrary huggingface LLM here

Of course, you can indicate the arbitrary huggingface LLM here

I have some more questions so I will be raising an issue at your repo and then I'll ask relevant questions over there to avoid spam to this repo, hope that is fine

So cool that the guys at CleanS2S managed to get this to work well already! They thank this project in the acknowledgments :)


Hard to use on mobile

It probably wasn't designed for mobile usage but it does work... Kind of. It works but you can only traverse the history by tapping on either edge side of the top bar.
Using Firefox mobile

Actually I'm surprised it works on mobile :).
I want to first make it good for desktop, and then make it passable for mobile.


linking multiple identity provider accounts to single user

It's common that app users may want to use various identity providers (i.e. Google, Twitter, Facebook) to login to same account. It would be valuable feature to handle this case and to support linking multiple identities to one firebase user account. Discussion originally started here #230
here is some general discussion on the problem
http://stackoverflow.com/questions/6666267/architecture-for-merging-multiple-user-accounts-together

@ciekawy This is a great idea and we do plan on supporting it, but it's not on our short term roadmap.
I'll be creating a roadmap within the next week or so and I'll put this on the list of future features.
Thanks for the request!

@davideast is there a workaround so long we could use based on raw Firebase Web?
https://firebase.google.com/docs/auth/web/account-linking
for example firebase.auth().currentUser.link works, but requires a proper credential (well works as in 'exists').

Is this feature available in angularFire2?

@ranjanmadhu No, but it's available in the regular SDK and it works just fine :)

@davideast in the feature of the Auth API, account-linking isn't available...
Will this be in the feature?


Make level check stricter

Pull request
Please confirm that this pull request has done the following:

[x] Tests added (N/A)
[x] Documentation added (where applicable) (N/A)
[x] Example added (either to an existing notebook or as a new notebook, where applicable) (N/A)
[x] Description in CHANGELOG.rst added
[x] #331

Adding to CHANGELOG.rst
Please add a single line in the changelog notes similar to one of the following:
- (`#XX <http://link-to-pr.com>`_) Added feature which does something
- (`#XX <http://link-to-pr.com>`_) Fixed bug identified in (`#XX <http://link-to-issue.com>`_)

Pretty minor but hopefully makes sense @lewisjared

Ignoring codecov


 is not using 'columns' prop, stays at 16

Bug Report
When changing the number of columns on a  to other than sixteen, behavior is still as if the value is sixteen.

I expect three columns filling the width of the grid. It actually looks like this (grid in blue, columns in red).
See also the CodeSandbox demo.

Version
2.0.1 (and all versions back to 0.86 as far as I can see)
Testcase
https://codesandbox.io/s/semantic-ui-react-forked-fs5e1?file=/index.js

Duplicate of #1886.

This behavior is expected, please check following comments as they might be helpful:
https://github.com/Semantic-Org/Semantic-UI-React/issues/1886#issuecomment-317014011
https://github.com/Semantic-Org/Semantic-UI-React/issues/1886#issuecomment-325233848
SUI docs can also clarify how CSS part works:
https://semantic-ui.com/collections/grid.html

@layershifter
Am I not doing exactly as levithomasen says in #1886 in the comment you refer to?

It is not working. My actual target use case is to have column widths 2,3,3,3 (i.e. 11 in total and not equal) but I thought as the very simple example from #1886 was still not working, I'd report that.
https://github.com/Semantic-Org/Semantic-UI-React/issues/1886#issuecomment-325233848

@layershifter
Am I not doing exactly as levithomasen says in #1886 in the comment you refer to?

You're right, that reply contains a wrong snippet. I updated it.

12 | 2 3 3 3
// is equal in percents
12 | 16.6% 25% 25% 25%

And it's not translates well to 16 columns as:

2 will be 12.5%
3 will be 18.75%

(hope that I count it correctly 😸 )
Without custom CSS using 3/4/4/4 will be the closest:
<Grid>
  <Grid.Column width="3" />
  <Grid.Column width="4" />
  <Grid.Column width="4" />
  <Grid.Column width="4" />
</Grid>

However, you can tweak width manually for an exact match:
<Grid>
  <Grid.Column style={{ width: "12.5%" }} />
  <Grid.Column width="4" />
  <Grid.Column width="4" />
  <Grid.Column width="4" />
</Grid>

https://codesandbox.io/s/semantic-ui-react-forked-u2315?file=/index.js

@layershifter thanks for explaining.
So conclusion is that only columns='16' is supported really?
If setting Grid 'columns' to anything other than 16, you cannot use the 'width' property on the columns, but have to either have equal width columns, or style their width manually. Is that correct?
It might be worth a 1-line clarification in the docs
https://react.semantic-ui.com/collections/grid/#variations-column-count


transport is not a constructor

My code:
const winston = require('winston');
winston.log('info', 'Hello!');
const files = new winston.transports.File({ filename: '/var/log/my-test-logs.log' });
winston.add(files);
winston.log('info', 'Hello again!');

Gives me this output/error:
info: Hello!
/Users/localadmin/Workspace/echo-lib-nodejs/node_modules/winston/lib/winston/logger.js:481
  var instance = created ? transport : (new (transport)(options));
                                        ^

TypeError: transport is not a constructor
    at exports.Logger.Logger.add (/Users/localadmin/Workspace/echo-lib-nodejs/node_modules/winston/lib/winston/logger.js:481:41)
    at Object.winston.(anonymous function) [as add] (/Users/localadmin/Workspace/echo-lib-nodejs/node_modules/winston/lib/winston.js:86:34)
    at Object.<anonymous> (/Users/localadmin/Workspace/echo-lib-nodejs/spike2.js:4:9)
    at Module._compile (module.js:624:30)
    at Object.Module._extensions..js (module.js:635:10)
    at Module.load (module.js:545:32)
    at tryModuleLoad (module.js:508:12)
    at Function.Module._load (module.js:500:3)
    at Function.Module.runMain (module.js:665:10)
    at startup (bootstrap_node.js:187:16)

I found a few people having similar issues that were resolved by uninstalling reinstalling winston and other logging modules. I've uninstalled and reinstalled winston, and I have no other log-related modules. Did not work.
Nodejs: v8.6.0
Winston v2.4.0

I believe the issue is your using winston 3.x api syntax with winston 2.4.
Try changing your file transport call to:
winston.add(winston.transports.File, { filename: '/var/log/my-test-logs.log' });

@mempf is correct. To use the 3.0.0-rc simply:
npm i winston@next --save

Expect to have<EMAIL_ADDRESS>out of RC by the end of next week.

Yep that fixed it, thanks.

I used it to determine the DOM was available to locate the #autocomplete field for Google Maps

If you disable the log file in config.json you should be able to get passed it.


AttributeError: 'VAEXperiment' object has no attribute '_lazy_train_dataloader'

command: python run.py --config configs/vae.yaml
Then error messages pop up as the following:
INFO:root:gpu available: True, used: True
INFO:root:VISIBLE GPUS: 0
======= Training VanillaVAE =======
3099it [00:00, 8467848.92it/s]
Using downloaded and verified file: ../../shared/Data/celeba/list_attr_celeba.txt
Using downloaded and verified file: ../../shared/Data/celeba/identity_CelebA.txt
Using downloaded and verified file: ../../shared/Data/celeba/list_bbox_celeba.txt
Using downloaded and verified file: ../../shared/Data/celeba/list_landmarks_align_celeba.txt
Using downloaded and verified file: ../../shared/Data/celeba/list_eval_partition.txt
3099it [00:00, 6145696.50it/s]
Using downloaded and verified file: ../../shared/Data/celeba/list_attr_celeba.txt
Using downloaded and verified file: ../../shared/Data/celeba/identity_CelebA.txt
Using downloaded and verified file: ../../shared/Data/celeba/list_bbox_celeba.txt
Using downloaded and verified file: ../../shared/Data/celeba/list_landmarks_align_celeba.txt
Using downloaded and verified file: ../../shared/Data/celeba/list_eval_partition.txt
Traceback (most recent call last):
File "/home/jbhuang/anaconda3/envs/vae2/lib/python3.7/site-packages/pytorch_lightning/core/decorators.py", line 17, in _get_data_loader
value = getattr(self, attr_name)
File "/home/jbhuang/anaconda3/envs/vae2/lib/python3.7/site-packages/torch/nn/modules/module.py", line 591, in getattr
type(self).name, name))
AttributeError: 'VAEXperiment' object has no attribute '_lazy_train_dataloader'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/jbhuang/MyWork/vae/PyTorch-VAE/utils.py", line 17, in func_wrapper
return pl.data_loader(fn)(self)
File "/home/jbhuang/anaconda3/envs/vae2/lib/python3.7/site-packages/pytorch_lightning/core/decorators.py", line 20, in _get_data_loader
value = fn(self)  # Lazy evaluation, done only once.
File "/home/jbhuang/MyWork/vae/PyTorch-VAE/experiment.py", line 143, in train_dataloader
download=True) #Bill
File "/home/jbhuang/anaconda3/envs/vae2/lib/python3.7/site-packages/torchvision/datasets/celeba.py", line 63, in init
self.download()
File "/home/jbhuang/anaconda3/envs/vae2/lib/python3.7/site-packages/torchvision/datasets/celeba.py", line 117, in download
with zipfile.ZipFile(os.path.join(self.root, self.base_folder, "img_align_celeba.zip"), "r") as f:
File "/home/jbhuang/anaconda3/envs/vae2/lib/python3.7/zipfile.py", line 1258, in init
self._RealGetContents()
File "/home/jbhuang/anaconda3/envs/vae2/lib/python3.7/zipfile.py", line 1325, in _RealGetContents
raise BadZipFile("File is not a zip file")
zipfile.BadZipFile: File is not a zip file
Please help, thank you.

I had seen this happening a few days back when in experiment.py I set download=True
The zip file downloaded by the library (that this project uses) is indeed invalid.
What worked for me was -
a) Go to https://drive.google.com/drive/folders/0B7EVK8r0v71pWEZsZE9oNnFzTm8
b) Go to "img" directory at the above link and download img_align_celeba.zip
c) Go to "Anno" directory at the above link and download all .txt files
d) Go to "Eval" directory at the above link and download the txt file in it
Place all these files (.zip and .txt) at ../../shared/Data/celeba. This path is relative to where you cloned this repo. You should delete the existing files and replace them with the ones I have provided link to.
Hope this helps.

I had seen this happening a few days back when in experiment.py I set download=True
The zip file downloaded by the library (that this project uses) is indeed invalid.
What worked for me was -
a) Go to https://drive.google.com/drive/folders/0B7EVK8r0v71pWEZsZE9oNnFzTm8
b) Go to "img" directory at the above link and download img_align_celeba.zip
c) Go to "Anno" directory at the above link and download all .txt files
d) Go to "Eval" directory at the above link and download the txt file in it
Place all these files (.zip and .txt) at ../../shared/Data/celeba. This path is relative to where you cloned this repo. You should delete the existing files and replace them with the ones I have provided link to.
Hope this helps.

Hi Kapil:
Thank you so much.
It works now!


Response timing

This adds the X-Response-Time header to report how long a request takes. I also noticed the X-Powered-By header was reporting Express. I debated about updating it to Probot, but it is generally considered bad practice to include this header, so I just disabled it entirely.

I'm going to close this in favor of #322, which has to do its own timing.


Add bad command line option errors

Was poking around and picked a (hopefully easy) issue to try and fix, here ya go: https://github.com/sstephenson/bats/issues/245

+1

Created a pull request in bats-core/bats-core: https://github.com/bats-core/bats-core/pull/46


🐛 BUG: Couldn't load prettier or prettier-plugin-astro. Formatting will not work.

Describe the Bug
I am using Yarn berry in my project, which I believe is already supported: https://github.com/withastro/language-tools/issues/370 (and I could install the Astro language server nicely).
However, I'm getting this message/error when I'm opening an .astro file:

Couldn't load prettier or prettier-plugin-astro. Formatting will not work. Please make sure those two packages are installed into your project.

I tried to replicate it in a repository (using Codespaces: https://github.com/imballinst/astro-yarn-berry-pnp), and it seems I am able to replicate the behavior. Do you might have an idea on what I should do, or could you point me out to a documentation that I could use? Thanks! 🙇♂
Steps to Reproduce
With the sample repository:

git clone git@github.com:imballinst/astro-yarn-berry-pnp.git
Open the folder in VS Code
Go to src/layouts/Layout.astro
See notification popping up on bottom right, and we can't quite prettify Astro files

This is despite that prettier is already installed as devDependencies and I have the Prettier SDK already:
"devDependencies": {
  "@astrojs/language-server": "2.3.3",
  "prettier": "3.0.3"
}

In the extension output, I got this:
["ERROR" - 10:05:32 AM] Failed to resolve a parser, skipping file. If you registered a custom file extension, be sure to configure the parser.

Yarn berry is very annoying and has caused so much issues over the years for this project. It's not possible to test correctly in CI for us and no one in the team uses it, so it's very possible there's a regression there.

Thanks for the reply @Princesseuh! I am beginning to think that maybe Prettier in Yarn PnP was never implemented? Looking at this part of that old PR, perhaps this part:
https://github.com/withastro/language-tools/blob/4046fb8cc6ea1c5440928aeb579da05baadd9c32/packages/language-server/src/languageServerPlugin.ts#L73-L75
should be something like this instead (?) not sure.
const prettierRuntimeConfig = workspace.getConfiguration('prettier');
const workspacePrettierPath = runtimeConfig.get<string>('prettierPath');

const rootDir = workspacePrettierPath ?? ctx.env.uriToFileName(ctx.project.rootUri.toString());
const prettier = importPrettier(rootDir);
const prettierPluginPath = getPrettierPluginPath(rootDir);

Because at the moment, it seems as if it will always try to use the Prettier from node_modules (which doesn't exist in Yarn PnP). Other features work perfectly, like the autocorrect, autocompletions, typings, and stuff (apart from very minor Astro global not having proper typing, I assume it's probably related).

FYI, I was able to solve this by explicitly importing the plugin in the prettier config JavaScript module (.prettierrc.mjs):
import * as prettierPluginAstro from "prettier-plugin-astro";

export default {
  plugins: [prettierPluginAstro],
  overrides: [
    {
      files: '*.astro',
      options: {
        parser: 'astro',
      },
    },
  ],
};

The overrides section is just setting the recommended options per the plugin docs. The essential bits are the import and use of that import in the plugins list. Note that I did not apparently have to yarn unplug this plugin to make this work. (However, I did temporarily unplug prettier-plugin-astro while trying to work through this problem before ultimately solving it with an explicit JS import; I attempted to revert this, but it's possible I didn't reset the yarn state completely.)


Toggle File Explorer with a single keybinding

I searched for this and did not see exactly this mentioned elsewhere. It's similar to #3742 but not exactly the same.
I'm coming from Atom, and over there, the keybinding command + \ would open and then close the file explorer (I believe atom called it the tree view).
In code, we have workbench.view.explorer and workbench.files.action.showActiveFileInExplorer but no corresponding close action, and no toggle. There is workbench.action.toggleSidebarVisibility and workbench.action.closeSidebar which let me get:
// keybindings.json
// add new
    {
        "key": "cmd+\\",
        "command": "workbench.action.closeSidebar",
        "when": "explorerViewletVisible && !editorTextFocus"
    },
    {
        "key": "cmd+\\",
        "command": "workbench.files.action.showActiveFileInExplorer",
        "when": "!explorerViewletVisible || editorTextFocus"
    },
    {
        "key": "cmd+\\",
        "command": "workbench.view.explorer",
        "when": "viewContainer.workbench.view.explorer.enabled && !explorerViewletVisible"
    },
// remove old
    {
        "key": "cmd+\\",
        "command": "-workbench.action.splitEditor"
    },
    {
        "key": "cmd+\\",
        "command": "-workbench.action.terminal.split",
        "when": "terminalFocus && terminalProcessSupported || terminalFocus && terminalWebExtensionContributedProfile"
    }

That gets me most of the way there. But it took way too long to figure out, and most people would just give up before they managed it.
My request is that we add a new command workbench.action.toggleExplorer with no default keybinding that does the above:

if the file explorer is closed, open and focus it. Maybe also have a setting to control whether it goes to the active file.
if the file explorer is open, close it. If it had keyboard focus, return that focus to the last location (usually a text editor).

Hello,
I used to think this was an option in VS Code, only to find today that I couldn't get it to work. After doing some digging, I found this article that provides functionality similar to what you've described. Maybe you can use it for now until we find out if your request is accepted?
Hope this helps!

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


Abstract ca root storage

Abstract the storage portion of storing/retrieving the CA cert from k8s secrets in prep for the AKV integration.

Codecov Report

Merging #4655 (a4aeab2) into main (30e5362) will decrease coverage by 0.06%.
The diff coverage is 73.40%.

@@            Coverage Diff             @@
##             main    #4655      +/-   ##
==========================================
- Coverage   68.97%   68.90%   -0.07%
==========================================
  Files         213      220       +7
  Lines       14861    15057     +196
==========================================
+ Hits        10250    10375     +125
- Misses       4558     4627      +69
- Partials       53       55       +2

Flag
Coverage Δ

unittests
68.90% <73.40%> (-0.07%)
:arrow_down:

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

Impacted Files
Coverage Δ

cmd/osm-bootstrap/osm-bootstrap.go
46.07% <0.00%> (+0.47%)
:arrow_up:

cmd/osm-controller/osm-controller.go
15.31% <0.00%> (ø)

pkg/certificate/providers/certmanager/helpers.go
0.00% <ø> (-20.41%)
:arrow_down:

pkg/certificate/providers/types.go
0.00% <ø> (ø)

pkg/certificate/types.go
100.00% <ø> (ø)

pkg/certificate/providers/config.go
71.28% <47.82%> (-1.95%)
:arrow_down:

pkg/certificate/castorage/k8s/k8s.go
78.00% <78.00%> (ø)

pkg/certificate/certificate.go
89.18% <100.00%> (+17.76%)
:arrow_up:

pkg/certificate/providers/tresor/ca.go
63.33% <100.00%> (-6.53%)
:arrow_down:

pkg/ticker/ticker.go
83.33% <0.00%> (-3.85%)
:arrow_down:

... and 12 more

Continue to review full report at Codecov.

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

This pr got bigger than I expected.. I'm going to carve out some pieces for a smaller PR then rebase

PR #4657 has the prerequisite changes

part of #4501


Feat: New HW functionalities

Motivation
Introduce new functionality to nns governance: setDissolveDelay and setNodeProviderAccount
PENDING

[ ] Test that disburse neurons to subaccounts works in NNS Dapp.

Changes

New nns governance canister methods: setDissolveDelay and setNodeProviderAccount.
Move how an account identifier is parse to candid to AccountIdentifier class.

Tests

Tests provided for the new methods.

@peterpeterparker please review
This is new functionality that is now supported by the hardware wallet and needs to be added to the hardware-wallet-cli.
A PR there is also coming.

We do those in the nns-dapp.
Ideally, we should remove the hardwareWallet property from here and just expose the functionality.

@peterpeterparker ready for another review


How to set ASP.NET Core Swagger Middleware to generate swagger JSON with flatten complex parameters for GET methods

NSwag.AspNetCore.SwaggerExtensions.UseSwaggerUi is marked withObsolete attribute. So, I try to follow instruction and change it with AddSwaggerDocument, UseSwagger and UseSwaggerUi3. However, generated swagger document differs from previous one: now complex parameters for GET methods are not flattened. FromQuery attribute could fix this, but I use custom IModelBinder. Any suggestions?

https://github.com/RSuter/NSwag/wiki/Document-Processors-and-Operation-Processors


Bluetooth: Mesh: async cfg client api

support node reset status, TTL status, friend status,
network transmit status, GATT proxy status, beacon status
Signed-off-by: YanBiao Hao<EMAIL_ADDRESS>

support node reset status, TTL status, friend status, network transmit status, GATT proxy status, beacon status
Signed-off-by: YanBiao Hao<EMAIL_ADDRESS>
others will come soon


CI/CD: Remove cuda 9.0, 9.1

Description
Cuda 9.0 and 9.1 lack support for gcc7 host compiler, which is now required by MXNet.
Thus retain only support for Cuda 9.2. An alternative is to build cuda related code with gcc6 and the rest of MXNet with gcc7 or newer, but the added complexity may not be justified.

@mxnet-bot run ci [unix-gpu]

@mxnet-bot run ci [unix-gpu]
stuck after np true_divide

@mxnet-bot run ci [unix-gpu]
stuck after np empty


Remove ArrayBuffer number indices

Standard ArrayBuffer values don't have virtual index properties like arrayBuf[3] = 0x98, but Duktape currently provides them.
For consistency these indices would also need to be removed from plain buffers (which mimic ArrayBuffer instances in 2.x). However, this would make plain buffer handling a little bit awkward: the main goal of using plain buffers over ArrayBuffer and typed arrays (Uint8Array etc) is to save memory; without index properties one is forced to create e.g. a Uint8Array over the plain buffer to get access to the bytes. This is counterproductive to saving memory.
Three options:

Keep virtual number indices for both ArrayBuffers and plain buffers.
Keep virtual number indices for plain buffers but not ArrayBuffers. This would be more in line with standard ArrayBuffer behavior but rather confusing if plain buffers had indices and ArrayBuffers didn't.
Remove the indices from both plain buffers and ArrayBuffers. Most in line with E6 but basically means memory efficient buffer handling is only possible in C.

Hm, this is indeed a dilemma.  Maybe making plain buffers act like an ArrayBuffer isn't really such a great idea...
On the other hand, keeping the indices shouldn't really be an issue.  Since E6 doesn't specify that they have to exist at all, providing them shouldn't a compatibility issue for real world code (as long as they are not enumerable).

Right now I'm keeping the indices but making them non-enumerable.
Making plain buffers behave like ArrayBuffers seems otherwise the best candidate to simplify plain buffer behavior for Ecmascript code; I think it's at least better than the current situation. I'm open to better suggestions however :-) The C API is an easier issue because there's no existing code base or compliance to deal with.

To clarify above: there's of course an existing code base for Duktape/C bindings, but it's not as limiting as the existing Ecmascript codebase. In practice code bases that benefit from using plain buffers instead of ArrayBuffers are very memory starved, and trade-offs for compliance are usually not that big of a deal there.

I guess a reasonable compromise might be to have the index (and other non-standard) properties be enabled by default, and add a compliance option for removing all the non-standard properties. Compliance oriented environments (which quite likely won't need plain buffers) could just avoid using plain buffers and disable the extra properties.

Current state is that the indices are present but non-enumerable. I'm leaving this open but unassigning from 2.0.

This has probably been mentioned but one option is for plain buffers to mimic Uint8Array but lack a .buffer property. They would then have the number indices etc.

That would be in line with Node.js Buffer also being a subclass of Uint8Array.  Conceptually it's a byte array, so that makes a lot of sense.
One thing with that is, if buffer object support is disabled, we now have an "object" which claims to be a Uint8Array without anything that claims to be an ArrayBuffer.  It's maybe a bit weird to have a subtype without the parent type being accounted for.  That's probably not a blocker, but something to think about at least.

Hmm, I'm not sure what you mean: Uint8Arrays don't inherit from ArrayBuffer? The inheritance chain is:
Uint8Array instance -> Uint8Array.prototype -> %TypedArrayPrototype -> Object.prototype

Yeah, you're right.  I guess there's a dependency relation still, but it's not a big deal since in standard Ecmascript you can do new Uint8Array(10) without having an existing ArrayBuffer.  So maybe not so strange after all. :)

Yeah, that's why I said it would lack a .buffer property.
But not sure if it's better to have an ArrayBuffer with non-standard index properties or a non-standard Uint8Array with no .buffer property. Plain buffer behavior is non-standard in any case because it doesn't have a property table, so it's just a matter what causes the least surprises if you decide to use plain buffers in a way which is visible to script code.

For my part, the non-standard Uint8Array seems less surprising.  Standard ArrayBuffer instances don't have index keys, so if you have something that claims to be an ArrayBuffer, I'd find code that indexes it directly to be strange.

I'll make that change - not sure where to put the .allocPlain() and .plainOf() bindings though. Uint8Array.prototype is an odd place at least for '.allocPlain()`. ArrayBuffer would also be odd if plain buffers mimic Uint8Arrays. Uint8Array constructor would be a logical place, but it'd unnecessarily pull in the constructor, the %TypedArray% object etc, just for a few custom calls. Duktape object is a possible place but the methods would then need renaming.

Hm, maybe Buffer.allocPlain()?  Node.js Buffer is itself a subtype of Uint8Array now, so maybe that could work.

Right, but that'd pull in the Buffer binding which would be equally bad as pulling in the ArrayBuffer binding :-/
Note that I'm mainly concerned about the "stripped" low memory case which should minimize object count. When bufferobject support is enabled, Uint8Array constructor would be as good place as any.
There's still the option of just removing the custom buffer calls. Plain buffers could be created from C code; getting the plain buffer underlying a buffer object would also only be possible from C code. Low memory targets eliminating the buffer objects (or rather minimizing them) would then need to create plain buffers exclusively from C code, adding a custom binding if they needed to be created from Ecmascript code.


[BUG] Crash loading TGA

Crash occurs when opening the attached TGA image.
You can use this for testing purposes.
round_grill.zip

This file also.
iron_grill.zip
Both can be used for testing.

And this one too.
euro_frnt_2.zip

All three of these open ok for me. Do you get any stack trace or other clue where it crashes?
I'm trying on a Mac, so I guess it's also possible it's a Windows only issue.
Do they crash every time reliably?

They all fail consistently the same way with vector subscript out of range.

bool TGAInput::open(const std::string& name, ImageSpec& newspec) m_buf is empty_, buf.c[1]_ is 0

This is an assert vs. a crash.  I updated the title.  Release mode works, but the debug build accesses an empty vector field.
Recommend using m_buf.data() instead o_f &m_buf[0]_

I see what's going on. Interesting corner case.
These images lack a thumbnail.
I think that all previous TGA files I've encountered either have a thumbnail, or indicate the lack of thumbnail by having 0 in the "offset to thumbnail" field. These files have a nonzero offset, and a thumbnail record in that offset, but the thumbnail record indicates a 0x0 size.
Fix coming.

Yes, it looks like all the tga files previously in our testsuite have thumbnails.

Proposed fix in #2903


Zorder is wrong when using shaders

Is it a mod compatibility issue?
No
Minecraft version
1.20
Describe the issue
hi, when using this cool mod and a iris shader like the one i am using SEUS PTGI HRR 3 and Vanilla PBR texture pack does the portal view clip through everything and also when holding something in the hand like a sword and looking slightly up do portals get cut through.
here are example images:
with shader and Texture pack:

without a shader still iris:

and straight on the portal with shader Texture pack:

here with shader and default texture pack:

i have no idea on how to fix it but i think it's something to do with shadow maps that iris shader makes that shaders use.
i hope it's helpful in some way

ImmPtl is incompatible with path tracing shaders.

I am going to add PTGI into warning list

is it compatible with optifine? i only have used iris because of it'S intigrated in the launcher i use Prism Launcher

is it compatible with optifine? i only have used iris because of it'S intigrated in the launcher i use Prism Launcher

Immersive Portal is not compatible with Optifine

good to know


Changing voting phase freezes the browser

create an election with e.g. 25 candidates and project it
now change the phase from "Searching for candidates" to "Voting"

result: it takes on my PC 8 seconds until this action is finished. During this time the browser is frozen. On my laptop it takes up to 20 seconds. During my first assembly with OS and my Laptop, OS was even frozen for such a long time that I had to restart the OS server to be able to continue.
Therefore would like to have this fixed for OS 2.1 final.

Tested with PR #3111 : I do not have such issues. It is fast and my browser doesn't freeze. @donovaly Please retest, if you have an OS version with this PR included.

Works also for me. @donovaly Please reopen if this is still a problem for you with 2.1.

Many thanks, now it takes only 3 seconds on my PC, so about 66% boost in speed. I still wonder why it takes that long, but OK, 6 seconds on my laptop is more acceptable than the previous 20 seconds.
Nevertheless during the 3 or 6 seconds my browser (latest Firefox 64 bit) is still frozen.


UserKeyServiceImpl convert function does not support EdDSA Algorithm

#What is this PR for?
See Issue #4
Overview or reasons
Please see Issue #4
Tasks

added a case for the EdDSA algorithm.

Result

I have tested this with a custom authenticator (i.e. one that works on local servers / non https servers) forced to use EdDSA, and confirmed that it works for EdDSA keys.

 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.

LGTM!  Thank you for your contribution!

For merging, could you sign the Contributor License Agreement?

hey there, thanks for your review. I have signed the CLA thru the website the github bot links, but the github bot doesn't seem to recognise/update? When I click on the link now I get "You have agreed to the CLA for line/line-fido2-server". Is there anything I can do to update the bot?

ah whoops! i'd made a commit from another account and had to sign with both. all fixed now


Add idPrefix option

Mirrors the functionality of the classPrefix option.
Sketch exports files with generic names like mask-1 and path-1 that collide if svgs are inlined into the same page.
I've added specs, and since the default value is false it won't change behaviour unless specifically turned on, so I think this PR is pretty safe.

👍

I'm really sorry, I wasn't aware this is on. Overall it looks ok. Thanks for your contribution!


Handle edge case, improve model caching, enhance API, add auto GPU support, add WebUI, add CLI

Hi,
Thank you for releasing MeloTTS!
This PR contains several changes:

Fix an edge-case error: Currently, MeloTTS splits text by sentences. If the sentences are too long, it will throw an error. I resolved this by using an alternate text splitting package that tries to split by sentences if possible, but if not it will split a sentence to avoid an error.
Use cached_path for better caching: Currently, MeloTTS handles caching itself, however this may not work well cross-platform (also may have issues with Windows, however I have not tested this yet). cached_path should handle cross-platform cases better.
Add quiet mode: I added a flag that allows you to suppress most logging by Melo TTS.
Add CLI: This version allows you to use Melo TTS via the CLI. Example: melo "Text to say" output.wav. Documentation has been added to the README.

Supports multiple languages
Supports multiple speakers
Allows loading from file

Add WebUI: I added a WebUI based on the one that powers my unofficial demo. You can run it using the melo-ui CLI tool.
Add progress bar: If you are narrating long text, a progress bar powered by tqdm will appear.
Add auto device: Set the device to auto to automatically use a GPU if available

I also modified the README to note that macOS works since I've tested it.
Thank you!

This is incredibly helpful! We will start reviewing the code

@fakerybakery Hi, please look at the latest version of app.py. I have update the code to make the example text automatically changed with the selected language. Perhaps you can also update the demo on HF.

Thanks! Will update tomorrow- one suggestion: do you think it might be possible to only change the text based on the language if the text in the input is the default text for that language? For example, if someone pasted text in and then changed the language after, it would be erased.

Done!


Issue with understanding

I am currently trying to learn how Graph Neural Networks work, but I am stuck for days with my understanding of this topic. Maybe someone of you can help me out.
I am using Zacharys Karate Club as graph dataset, where it is the goal to perform a node classification to determine which node (person) is loyal to which instructor ( Node 0 or Node 33).
For this purpose I am using the InteractionNetwork module with Linear modules for the node and edge updates. I did assume (and maybe this is where I misunderstood something GNNs) that if I put a sigmoid activation function after the node update, the nodes would have either 0 (loyal to Node 0) or 1 (loyal to Node 1) as values. But I get different double values.
Below is the code that I am using:
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function

import tree
from pyvis.network import Network
from graph_nets import blocks
from graph_nets import graphs
from graph_nets import modules
from graph_nets import utils_np
from graph_nets import utils_tf

import matplotlib.pyplot as plt
import networkx as nx
import numpy as np
import sonnet as snt
import tensorflow as tf
import functools

# making GraphsTuple from karate club dataset
# get dataset from nx
karate_graph = nx.karate_club_graph()
karate_graph_tupel = karate_graph

# getting node informations
# labeling the nodes
nodes = []
for i in range(1,34):
    if i == 1:
        nodes.append(0)
    if i == 33:
        nodes.append(1)
    else:
        nodes.append(-1)
nodes = np.reshape(nodes, (len(nodes), 1))
nodes_float = tf.cast(nodes, dtype=tf.float64)

# getting sender and receiver informations
sender = []
receiver = []
for tupel in karate_graph.edges:
     sender.append(tupel[0])
     receiver.append(tupel[1])

# getting edge informations
# make graph undirected
directed_edges = karate_graph.edges
undirected_edges = [(u, v) for u, v in directed_edges] + [(v, u) for u, v in directed_edges]

karate_graph.edges = undirected_edges

edges = [[0.0] for _ in range(karate_graph.number_of_edges()*2)]

# create GraphTuple from received informations
data_dict = {
    "nodes": nodes_float,
    "edges": edges,
    "senders": sender,
    "receivers": receiver
}

graphs_tuple = utils_np.data_dicts_to_graphs_tuple([data_dict])
graphs_tuple = tree.map_structure(lambda x: tf.constant(x) if x is not None else None, graphs_tuple)

# defining graph network
graph_network = modules.InteractionNetwork(
    node_model_fn=lambda: snt.Sequential([snt.Linear(output_size=1), tf.nn.sigmoid]),
    edge_model_fn=lambda: snt.Sequential([snt.Linear(output_size=1)])
)

# optimizer and loss function
optimizer = tf.keras.optimizers.Adam(learning_rate=0.01)
loss_fn = tf.keras.losses.BinaryCrossentropy(from_logits=True)

# learning loop
for epoch in range(50):
    with tf.GradientTape() as tape:

        output_graph = graph_network(graphs_tuple)

        # Loss for labeled nodes
        labeled_nodes = [0, 33]
        labeled_indices = [i for i in labeled_nodes if graphs_tuple.nodes[i] != -1]
        loss = loss_fn(tf.gather(graphs_tuple.nodes, labeled_indices), tf.gather(output_graph.nodes, labeled_indices))

    # calculate gradient
    gradients = tape.gradient(loss, graph_network.trainable_variables)

    # apply gradient
    optimizer.apply_gradients(zip(gradients, graph_network.trainable_variables))

    # Loss output
    print("Epoch %d | Loss: %.4f" % (epoch, loss.numpy()))

print(output_graph.nodes)
print(output_graph.edges)

This is the output that I get:
Loss-funtion:
Epoch 0 | Loss: 0.6619
Epoch 1 | Loss: 0.6547
Epoch 2 | Loss: 0.6478
Epoch 3 | Loss: 0.6412
Epoch 4 | Loss: 0.6351
Epoch 5 | Loss: 0.6292
Epoch 6 | Loss: 0.6233
Epoch 7 | Loss: 0.6172
Epoch 8 | Loss: 0.6110
Epoch 9 | Loss: 0.6048
Epoch 10 | Loss: 0.5988
Epoch 11 | Loss: 0.5931
Epoch 12 | Loss: 0.5877
Epoch 13 | Loss: 0.5826
Epoch 14 | Loss: 0.5777
Epoch 15 | Loss: 0.5728
Epoch 16 | Loss: 0.5680
Epoch 17 | Loss: 0.5633
Epoch 18 | Loss: 0.5589
Epoch 19 | Loss: 0.5549
Nodes:
 [[0.09280719]
 [0.04476126]
 [0.03025987]
 [0.13695013]
 [0.34953291]
 [0.26353402]
 [0.26353402]
 [0.26353402]
 [0.22878334]
 [0.47378198]
 [0.34953291]
 [0.54787342]
 [0.44657832]
 [0.22878334]
 [0.47378198]
 [0.47378198]
 [0.41969087]
 [0.44657832]
 [0.47378198]
 [0.40082739]
 [0.47378198]
 [0.44657832]
 [0.47378198]
 [0.21003225]
 [0.32505647]
 [0.32505647]
 [0.47378198]
 [0.28533633]
 [0.37482885]
 [0.28533633]
 [0.28533633]
 [0.16495933]
 [0.01520448]
 [0.83080503]], shape=(34, 1), dtype=float64)

I did not mention the edges, because I dont think that they are relevant for this issue and it would be too much information.

Hi! Actually sigmoid is a smooth continuous function, so it is expected that you get floating point numbers.
At train time you use that value as the "mean" parameter of a Bernoulli distribution to maximize log likelihood.
At evaluation time, you can either sample from the Bernoully distribution, or you can use the greede a approach of just rounding to 0 or 1 e.g. sigmoid(output) > 0.5  will return True or False.

Thanks a lot, then it was indeed a misunderstanding from my side. I thought sigmoid would act like a step function..,
This raises now another question:
I did change the value of "unlabeled" nodes to 0.5, because with -1 the nodes had an inclination to be classified with label 0.
I thought that the value of 0.5 could be interpreted as "not sure if loyal to Node 0 or Node 33", but the results are still staying near the value of 0.5, where sometimes Nodes close to Node 0 are above 0.5 and Nodes close to Node 33 below.
Shouldn't in the first message passing layer at least the neighbors be immediately loyal to the labeled Nodes?
My guess is that, since the other neighbors are also labeled with 0.5 that this affects their results.
But how can I fix that, if that's the case?
I really appreciate your help!


Removes localhost entry and error "Something is already running on port [PORT]"

Since upgrading to 1.7.3 kubefwd removes <IP_ADDRESS> localhost from /etc/hosts
Typically my work flow is that I will forward my additional cluster services ie:
sudo kubefwd svc -l "app in (elasticsearch, rabbitmq, redis, mysql)"
But then I would run a microservice locally to develop on which would run on localhost:3000.
However if it removes <IP_ADDRESS> localhost then I will always get this error message
Something is already running on port 3000.
If I manually edit /etc/hosts and add <IP_ADDRESS> localhost then the error message goes away.
Any thoughts on this?  Any work arounds?

@kojuka I have the same development process but don't experience that. It should not be removing the hostname "localhost".
This bug does not reproduce on my end but I can still look at putting a safety net in there. There should never be a need to remove or add "localhost".
Also, when developing locally, if can you will need to bind to <IP_ADDRESS> or any non-<IP_ADDRESS>/24 address. Some people bind to <IP_ADDRESS> and if that is the case you run the risk of port collisions, for example, kubefwd may be bound to <IP_ADDRESS>:3000 and if you try to put a listener on <IP_ADDRESS>:3000 you will get an error.

@cjimti thanks for the quick response.
After your response I thought maybe something weird was going on.  So I started investigating more.
I noticed this line:
2019/03/21 13:41:12 Hostfile management: Original hosts backup already exists at /Users/ken/hosts.original

I deleted /Users/ken/hosts.original and started kubefwd again.
This resolved my issue.  Thanks!

@kojuka I am glad to hear that you are up and running again.
I think this is still a good opportunity for me to continually look for ways harden the /etc/hosts handling. Thanks!


I want to join community

Welcome to openAOD! I have sent an invite to join our organization. We also recommend joining our Discord server : https://discord.gg/wZ83xSJSsN. If you have any questions regarding contributing or anything else feel free to write here or ping me on Discord. Cheers. Have a great day ahead of you!


[DOC] Correct Set Compatibility mode code snippet

What do you want to do?

[x] Request a change to existing documentation

Tell us about your request. Provide a summary of the request and all versions that are affected.
The documentation is wrong for how to enable / disable the compatibility mode.
https://opensearch.org/docs/2.0/clients/agents-and-ingestion-tools/index/
It says you should set it using
PUT _cluster/settings
{
  "persistent": {
    "compatibility": {
      "override_main_response_version": true
    }
  }
}

But that gives a 401 error. The correct version is:
PUT /_cluster/settings
{
  "persistent" : {
    "compatibility.override_main_response_version" : false
  }
}

What other resources are available? Provide links to related issues, POCs, steps for testing, etc.

I only tried this on OS 1.2x version, not 2.0.

@Naarcha-AWS,
May I take this issue?

Hi @tobias-varden,
I am reviewing your issue now. Question, regarding this

But that gives a 401 error. The correct version is:
PUT /_cluster/settings
{
  "persistent" : {
    "compatibility.override_main_response_version" : false
  }
}

Did you meant "compatibility.override_main_response_version" : true or not?

Hi @BigSamu, not sure exactly which version we were on as we are no longer running OpenSearch.
But yes, I meant true

Hi @tobias-varden, Just checked using both versions of OpenSearch and I can confirm that there is no issue. Not sure what were could be the problem.
@Naarcha-AWS, you can close this issue. Documentation is OK.


Fingertip cursor translation/alignment

Overview
Currently, the fingertip cursor rotates to a target surface orientation while approaching touchable UI. It does not translate and is stationary at a location slightly above the fingertip. This only partially matches shell behavior. In the shell, the cursor rotates and translates to the pad of the fingertip while approaching UI. The amount it translates is relative to the perpendicularity of the fingertip's direction and the normal of the surface.
Contained in this PR is functionality that translates the fingertip cursor in relation to touchable UI. See below for behavior comparison:

Current behavior
Suggested behavior

Changes

Fixes: https://github.com/microsoft/MixedRealityToolkit-Unity/issues/6478

/azp run

/azp run


ValueProvider errors to have helpful error messages

Currently errors in value provider of a pipeline do not contain sufficient information. Need to show value provider expression and document in the error log message.
Introducing __str__ method allows for a more readable string representation of ValueProviders
Try and except blocks are added in single_value and many_values methods
updated tests

It's always nice to see additional context in the errors. Looks good to me!


egui_thumbhash Freezing while image loading

Apologies if the issue is with egui not your crate, I'm unsure currently.
I mostly copied the thumbhash example code for my project, and it works mostly and renders the thumbhash before loading the image, but while an image is being loaded the entire app freezes, as if its not loading asynchronously in another thread, any ideas how to fix this?
// Only render images if they are visible (this is basically lazy loading)
let image_size = Vec2::new(width, height);
let image_rect = if ui
    .is_rect_visible(Rect::from_min_size(ui.next_widget_position(), image_size))
{
    let image = egui::Image::new(format!("http://{}/wallpapers/{}", self.host, file_name))
        .show_loading_spinner(false);
    ui.add_sized(
        image_size,
        ThumbhashImage::new(image, &wallpaper.thumbhash).rounding(16.0),
    )
    .rect
} else {
    let (rect, _) = ui.allocate_exact_size(image_size, Sense::hover());
    rect
};

Hi!
I assume your app also freezes when not using the thumbhash image?

On wasm the best thing would be to let the browser load and decode the image via a ImageBitmap and pass it to wgpu via copy_texture_to_texture
In my app I build a custom image loader that loads images on a different thread natively and uses the ImageBitmap in the browser and image loading is really smooth, even if you quickly scroll through a list of high res images. It's not open source but I could add it as a crate to this repo if you're interested.

That's perfect thank you, I just assumed it was freezing while downloading the image but it being while decoding makes a lot of sense and has helped solve this by pushing that to another thread.


build(deps): update go/storage v1.47.0 & go/auth 0.10.2

This likely requires running go mod tidy as well.

TIL. Thanks @BrennaEpp


Update install_plugin.sh

just pulling helm client version instead of both client and tiller version

Fix #36


Load OCIO Config window bug & also a crash and ocio reverting

Describe the bug
In Preferences, OCIO menu, when click "Pick" the Load OCIO Config window appears for a tick then moves behind both the preferences and main mrv2 window. I can then drag both windows aside to see the selection window, but I can't interact with it.
If I press "Okay" on the Preferences window, preferences window will close and the Load OCIO Config window will stay open.
I then can use the Load OCIO Config window as normal, and select the custom .ocio [in the folder copied from Blender 4.1 installation].
Now, when I open Preferences again, I can see new OCIO is selected, but the selections in both the main Color tab the Preferences OCIO Defaults menu have not updated.
If I click Okay at this point. mrv2 crashes, and on open the OCIO Config File has reset.
okay, in the process of writing this and testing I've figured out a work around, but this is not acceptable
If I close mrv2 after selecting the custom OCIO, the program would open then immediately crash when trying to open and EXR, but if I open with the program .exe, it will open properly, the Custom OCIO is retained, and I can go ahead and select my Default color space selections. Close the mrv2 again. And now my EXR files will open properly with the correct color space.
I'm going to be honest, after I got it working now I'm not sure why it was crashing or why EXR's wouldn't open until I opened mrv2 without a file loader.
Expected behavior
I just expect the Load OCIO Config window to behave normally and for selections made there to not revert.
Desktop (please complete the following information):
Windows 10  v10.0.19045 Build 19045
mrv2 v1.1.8
Additional context
Doing this since Blender updated to 4.1 and has utilized a new color space called AGX, I've moved to exporting in that space to support HDR in my renders. So I updated to 1.1.8, from v0.7.1, and tried the same process of copying the entire ocio folder in the blender installation into the mrv2 folder.

I can reproduce the bug.  You can also work around it if you select to use the Native File Chooser  (Window->Preferences->User Interface->File Requester).

Here's a beta of v1.1.9 that should fix the issue:
.exe:
https://mega.nz/file/LD5ywIoC#_XJgv6P9QiPFzEtrP_b57i76Mu-j7iKwHITrbu_iEkk
.zip:
https://mega.nz/file/Xa4g2ITQ#pTm--vyoBxYhC_HBTmm7BylCLl2dLSenOR0iEyJ7ueU


Add distribution through brew cask

I don't know how feasible this might be, but it would be nice to be able to just install a pre-built version of this app app through brew cask. That would require built releases to be stored on github or somewhere else at the very least, but it would be really convenient to not have to pull new code and rebuild it for every update.
How feasible do you think this might be?

I was thinking about that too and also to set up Travis to automatically build them.
I'm not sure how feasible this would be to be honest. I'm really an iOS developer and have no experience distributing OS X builds. I need to read up on it, particularly around the code signing.


Updated Signal.Length parse values from byte to ushort

This PR helps solve issue #18

@EFeru Leaving a comment here as well


File size limit way too small and inaccurate

This page says the limit for uploading a logo is 15kb, when it is actually 10kb.  Why such a small limit?  I could understand 100kb or (maybe) even 25-50kb.  But 10!?  It is nearly impossible to get a decent looking image that is 200x30px into 10kb.  Think about it... ignoring compression for now, if we were talking about a 256 COLOR (8 bit == 1 byte) image , that is an uncompressed size of 6000 bytes (200px * 30px * 1byte/px).  Now, make it 16 bit (crappy, remember the early 90's dithering??) color o it and the raw bitmap size has gone up to 12000 bytes - over the limit (200 * 30 * 2bytes/px).
If we go to 24 bit, it becomes 18000 bytes and 32 bits is 24000 bytes.  Add another byte for transparency (48bit) and you've got a 36,000 byte file (uncompressed).  Unfortunately, at such small dimensions, it is tough to get a file to compress much without losing a lot of the integrity of the image.  This is due to the nature of lossy compression (e.g. JPEG, PNG, etc).  Unfortunately, we have tried every trick in the book to get our 32bit logo below 10,000 bytes and it simply cannot be done without making it essentially unreadable.
Please update the file limit - or permit UPLOADING of files (not just URLs) larger than 10kb and in some other formats would be nice also.
Thanks a lot for listening to my long-winded post!

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

ID: 5f660bc0-58da-cc42-2a8a-f931a9037316
Version Independent ID: be26fcbe-01ba-fe94-969d-ae0e771a0b77
Content: Customize the Office 365 theme for your organization
Content Source: Office365-Admin/setup/customize-your-organization-theme.md
Service: o365-administration
GitHub Login: @twernermsft
Microsoft Alias: twerner

@sietec - Thank you for engaging with the community here for the docs.
I know the product teams are always looking for user feedback and feature requests on how to make Office 365 better. They keep a close tab on user feedback and it would be awesome if you could add your voice in UserVoice.
You might find others have made a similar request that you can add to, or you can open a new one. Let us know here if you do so we can up-vote your request.
Thank you for your contribution to make the docs better! Much appreciated!

Thank you for the response, it is nice that Microsoft is actively monitoring customer feedback. I went ahead and did submit a request on user voice, one already existed so I just upvoted that one.


"Rădoiești", "Rădoiești-Vale" , "Cetatea" and "Rădoiești-Deal" are listed in the drop-down menu

Description:
"Rădoiești", "Rădoiești-Vale" , "Cetatea" and "Rădoiești-Deal" are listed in the drop-down menu alongside its corresponding county and commune, according to the law
Precondition:
The website is up an running.

Step 1
Type "Rădoiești" in the search bar.

Expected results
The location is listed in the drop-down menu as "Comuna Rădoiești, TELEORMAN".

Step 3
Type "Rădoiești-Vale" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Rădoiești-Vale, TELEORMAN (Rădoiești)".

Step 4
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 5
Type "Cetatea" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Cetatea, TELEORMAN (Rădoiești)".

Step 6
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 7
Type "Rădoiești-Deal" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Rădoiești-Deal, TELEORMAN (Rădoiești)".


Evergrowing number of pending requests

Hello,
My number of pending request goes up without end, rendering most functionality of the plugin useless :(
I already asked about this on gitter:
https://gitter.im/TypeStrong/atom-typescript?at=55eb508a24228c321f1ae23d
My increasing pending request number: https://dl.dropboxusercontent.com/u/45541625/2015-09-05-222751_74x37_scrot.png
My installed version of the plugin: 6.0.2
Atom: 1.0.9

My number of pending request goes up without end,

You probably have a tsconfig.json located high up in the directory tree globbing a lot of files ... which is slow

This does not seem to be the case, I have no tsconfig.json in the part
folders. Also the tsconfig atom displays below the editor window is the
right one.
The number of ts files is moderate I think. I reference angular2 which
has a couple of .ts files, but nothing which should cause this lag I
think? I actually only have 2 .ts files. Anything else are angular .ts
files.
~/web_playground/angular_grid_editor (master *) $ find -name "*.ts"| wc -l
377
~/web_playground/angular_grid_editor (master *) $

Visual Studio Code does not have any issue to handle the files either...
On 09/07/2015 01:31 AM, Basarat Ali Syed wrote:

My number of pending request goes up without end,

You probably have a |tsconfig.json| located /high up in the directory
tree/ globbing a /lot of files/ ... which is slow
—
Reply to this email directly or view it on GitHub
https://github.com/TypeStrong/atom-typescript/issues/556#issuecomment-138136902.

Consider getProjectFileDetails was hanging ... can you see if there are any errors in the dev tools console (https://github.com/TypeStrong/atom-typescript/blob/master/CONTRIBUTING.md#workflow)

No. There are no errors in the dev tools. I also tried to change my tsconfig to include:
        "./src/app.ts"

only.
I made a small screencast showing the problem: https://drive.google.com/file/d/0B8JQlPw3d8dCSjZRWHl3UzJoT1E/view?usp=sharing (please ignore the flickering on the lower left, that is my second screen being smaller than my primary one :))

Beyond filesGlob, we do some processing of /// reference tags + node_modules/package.json + node_modules/typescript.main
So try deleting node_modules for a bit? PS: Sorry about this

Hm? I have no node_modules/package.json or node_modules/typescript.main file...
Also node_modules contains my dependencies (angular) and that contains the typescript definitions...
So if I remove node_modules I won't be able to compile due to missing references... right?

Can I get a copy of the repo? This will help me debug faster. Thanks :rose:

See https://drive.google.com/open?id=0B8JQlPw3d8dCd0xZbERCMHRtdmM
I bundeled the node_modules and bower_components, Simply try to edit the src/app.ts

See https://drive.google.com/open?id=0B8JQlPw3d8dCd0xZbERCMHRtdmM
I bundeled the node_modules and bower_compone

Thanks. I just sent an access request :rose: using my gmail account basaratali gmail.com. I don't have permissions to get that file till you grant it :)

Uh... I thought it would be available for everybody... Sorry... Access
granted.
On Sep 11, 2015 01:50, "Basarat Ali Syed"<EMAIL_ADDRESS>wrote:

See https://drive.google.com/open?id=0B8JQlPw3d8dCd0xZbERCMHRtdmM
I bundeled the node_modules and bower_compone
Thanks. I just sent an access request [image: :rose:] using my gmail
account basaratali gmail.com. I don't have permissions to get that file
till you grant it :)
—
Reply to this email directly or view it on GitHub
https://github.com/TypeStrong/atom-typescript/issues/556#issuecomment-139413202
.

The filesGlob was wrong (misspelled). You had the following:
{
    "version": "1.5.0",
    "compilerOptions": {
        "emitDecoratorMetadata": true,
        "experimentalDecorators": true,
        "target": "es5",
        "module": "commonjs",
        "declaration": false,
        "noImplicitAny": false,
        "removeComments": true,
        "noLib": false,
        "outDir": "dist/js/cjs"
    },
    "fileGlobs": [
        "./src/app.ts"
    ]
}

This meant we were looking at all the .ts files in the project (including node_modules and bower). Fix  and everything will work much snappier:
{
    "version": "1.5.0",
    "compilerOptions": {
        "emitDecoratorMetadata": true,
        "experimentalDecorators": true,
        "target": "es5",
        "module": "commonjs",
        "declaration": false,
        "noImplicitAny": false,
        "removeComments": true,
        "noLib": false,
        "outDir": "dist/js/cjs"
    },
    "filesGlob": [
        "./src/**/*.ts"
    ]
}

Sorry for not providing a better detection of this possible user error. :rose:

Haha. Thanks a lot. Will try how it works if i add a few more files as soon
I am home again.
On Sep 11, 2015 06:25, "Basarat Ali Syed"<EMAIL_ADDRESS>wrote:

Closed #556 https://github.com/TypeStrong/atom-typescript/issues/556.
—
Reply to this email directly or view it on GitHub
https://github.com/TypeStrong/atom-typescript/issues/556#event-406718201
.

Hm. How do I now get the compiler to recognize the angular module? I now use
{
    "version": "1.5.0",
    "compilerOptions": {
        "emitDecoratorMetadata": true,
        "experimentalDecorators": true,
        "target": "es5",
        "module": "commonjs",
        "declaration": false,
        "noImplicitAny": false,
        "removeComments": true,
        "noLib": false,
        "outDir": "dist/js/cjs"
    },
    "filesGlob": [
        "./src/**/*.ts",
        "!./node_modules/**/*.ts"
    ],
    "files": [
        "./src/app.ts",
        "./src/listview.ts"
    ]
}

as config file. But with that I get:
Cannot find module 'angular2/angular2'
If i remove the ! before ./node_modules/**/*.ts it works but is slow again. What does the ! do? I am unable to find it in the documentation (https://github.com/TypeStrong/atom-typescript/blob/master/docs/tsconfig.md#filesglob)

The ! means "not".  I'm assuming angular 2 ships with its own d.ts file.  You may wish to explicitly reference that in the filesGlob which should override the directory cancel.

Ah ok... I thought it would be some magic for setting reference but not
project files since so many people seem to use it even though the folder
would not be included in their config anyway... Thanks for clearing me
up. Everything works now!
On 09/12/2015 03:27 PM, Steve Ognibene wrote:

The ! means "not". I'm assuming angular 2 ships with its own d.ts file.
You may wish to explicitly reference that in the filesGlob which should
override the directory cancel.
—
Reply to this email directly or view it on GitHub
https://github.com/TypeStrong/atom-typescript/issues/556#issuecomment-139769037.


[Marker.io] 2 buttons are not configured on customer acquisition and loyalty page

Steps to reproduce:
1)click on "get started" and "book a demo" button present in header
Actual result: they are not configured
Expected result: configure this for all locale.and for this page.

Reported by: vinod<EMAIL_ADDRESS>- Contact via Marker.io
Source URL: https://na13-prezzee.webflow.io/en-us/use-cases/customer-acquisition-and-loyalty
Issue details: Open in Marker.io
Device typedesktopBrowserChrome <IP_ADDRESS>Screen Size1366 x 768OSWindows 10 (10.0.0)Viewport Size1366 x 641Pixel Ratio@1x

🤖 Marker.io bot - This issue was marked as ✅ Resolved in Marker.io


Posibility to have parentSelector on for Popovers like with Modals

I'm using Popovers (well actually filters but they are configurable from popover property) in a right side panel, so I have to use position="overflowBoundaryElement" to have it correctly showing ( it to appear over the panel, not in the panel ).
With this solution, the position is correctly showing but, because the popover dom element is added at the end of the body, the page scrolls to the end, which I would like to avoid.
I experienced exactly the same problem with the modal but in the modal case, there is a property called parentSelector, so injecting the modal in an element always visible (in my case the navbar), avoid the page to scroll and is always keeping the scroll in the same position.
I recorded a little GIF with first opening the filter panel (and having the scroll issue) and then the modal (which is not having this issue because is injected in the navbar).

How could I make the popover to be injected where I want ( I think I'm asking for parentSelector for the popover)
PD: I tried the other 2 options; position="absolute" (having the same issue) and position="relative" (having the popover not visible because the right filtering panel is not 100% width) so just overflowBoundaryElement works for me.

Nice update!!🙏
I would love to see it in next release.
If I have to choose between the options, the 3rd one is the more consistent
for me.
Thanks
On Wed, 4 Jul 2018 at 16:26, Stephen James<EMAIL_ADDRESS>wrote:

Yeah, you'll need overflowBoundaryElement since Panels have a CSS of
overflow-y of auto.
Look into portalMount
https://github.com/salesforce/design-system-react/blob/master/components/utilities/dialog/index.jsx#L153
It used to be available as a prop, but removed 6 months ago. That function
should give the ability to mount the popover to wherever you want in to the
DOM.
I'll get back to you early next week with a proposal. We could:

Add portalMount to each component that uses dialog
Expose Dialog props, although this would make Dialog a public
component.
Align with Modal and use the parentSelector prop.

Adding @Vintik https://github.com/Vintik, since he is working on Dialog
this week.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/salesforce/design-system-react/issues/1440#issuecomment-402494628,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAi1N_jaLPLsx2252Ja6KdzyjACzOJdJks5uDNCogaJpZM4VCgIc
.

--
--
Roberto Vázquez González

Guys, any update on this one?

I can't do this anytime soon. https://github.com/salesforce/design-system-react/milestone/20 is my backlog and the few folks that are kind of enough to help out.
But I'd love to see it pull requested.  Please add:
	/**
	 * Function whose return value is the mount node to insert the Dialog element (such as menu, popover, tooltip) into. The default is `() => document.body`. This will only have an effect if `menuPosition` or `position` is set to `overflowBoundaryElement` in order to create a "portal" or disconnected render tree.
	 */
	parentSelector: PropTypes.func,

to all non-deprecated dialog using elements: Combobox, date-picker, dropdown menu, popover, tooltip.  The prop would be passed through Dialog and into the portal.jsx file.
Something like (I think).
		else if (this.props.parentSelector) {
			element = this.props.parentSelector();
		}

Please add a test that tests to see if the content exists in that node. Popover's onOpen prop should help with that. You should be able to query the saved DOM node from parentSelector within the onOpen event.

Sorry we've been very busy with no time to spend on this issue, but I'll try to get it and generate the solution for it in next couple weeks 🙏


[LIVY-408][RSC] Update Netty version to 4.0.37.Final

Netty version below 4.0.37.Final has some potential security issue (https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-4970), it is fixed in this version. So propose to upgrade Netty to avoid such issue.

Codecov Report

Merging #53 into master will decrease coverage by 3.86%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master      #53      +/-   ##
============================================
- Coverage     70.69%   66.82%   -3.87%
+ Complexity      789      757      -32
============================================
  Files            97       97
  Lines          5384     5287      -97
  Branches        798      793       -5
============================================
- Hits           3806     3533     -273
- Misses         1040     1249     +209
+ Partials        538      505      -33

Impacted Files
Coverage Δ
Complexity Δ

...main/scala/org/apache/livy/server/LivyServer.scala
1.76% <0%> (-35.3%)
2% <0%> (-8%)

...rc/main/scala/org/apache/livy/utils/SparkApp.scala
61.53% <0%> (-19.24%)
1% <0%> (ø)

.../java/org/apache/livy/rsc/driver/SparkEntries.java
41.53% <0%> (-18.74%)
8% <0%> (-2%)

core/src/main/scala/org/apache/livy/Logging.scala
54.54% <0%> (-18.19%)
0% <0%> (ø)

...main/java/org/apache/livy/rsc/ContextLauncher.java
67.67% <0%> (-13.52%)
13% <0%> (-4%)

...ain/scala/org/apache/livy/utils/SparkYarnApp.scala
54.34% <0%> (-10.15%)
29% <0%> (-3%)

.../scala/org/apache/livy/sessions/SessionState.scala
35.55% <0%> (-8.89%)
0% <0%> (ø)

...rg/apache/livy/repl/AbstractSparkInterpreter.scala
51.04% <0%> (-7.7%)
1% <0%> (ø)

...la/org/apache/livy/utils/LineBufferedProcess.scala
71.42% <0%> (-7.15%)
6% <0%> (-1%)

...la/org/apache/livy/utils/SparkProcessBuilder.scala
50.54% <0%> (-6.6%)
11% <0%> (-2%)

... and 31 more

Continue to review full report at Codecov.

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

Merging to master.


ImportError: No module named samples.vsphere.common.sample_base

[x] I am using the latest SDK version
[x] This API is compatible with my vCenter version (You can get the info from 'vcenter_version' in each sample)
[x] I have searched existing issues

Environment

sdk package version:
pyvmomi (<IP_ADDRESS>8.9)
service-identity (17.0.0)
vapi-client-bindings (1.3.1)
vapi-common-client (2.9.0)
vapi-runtime (2.9.0)
vapi-vmc-client (2.9.0)
virtualenv (16.0.0)
vmc-app-python-sdk (<IP_ADDRESS>.0.15184434)
vmc-client-bindings (1.2.0)

python version:
Python 2.7.15rc1

vSphere version:
6.0.0

Operating System/Shell (used to run SDK-based apps):
Ubuntu 18.04.1

Steps or code snippet to reproduce
python tagging_workflow.py --server 'IP' --username 'LOGIN' --password 'PASSWD' --clustername 'MAQ' --categoryname 'Cat' --categorydesc 'category' --tagname 'Tag' -tagdesc 'Tag' -v
Actual behavior
Traceback (most recent call last):
File "tagging_workflow.py", line 26, in
from samples.vsphere.common.sample_base import SampleBase
ImportError: No module named samples.vsphere.common.sample_base
Expected behavior
Execution of the workflow

Just figured out the issue. It was because of my PYTHONPATH environment variable... (Sorry I'm not familiar with Python) setting it to

export PYTHONPATH=.

Solved the problem. But the workflow still doesn't work... Now, it says:
creating a new tag category...
Traceback (most recent call last):
  File "/home/run/vsphere-automation-sdk-python/samples/vsphere/common/sample_base.py", line 79, in run
    attr()  # calling the method
  File "/home/run/vsphere-automation-sdk-python/samples/vsphere/tagging/tagging_workflow.py", line 131, in _execute
    CategoryModel.Cardinality.MULTIPLE)
  File "/home/run/vsphere-automation-sdk-python/samples/vsphere/tagging/tagging_workflow.py", line 179, in create_tag_category
    return self.category_svc.create(create_spec)
  File "/home/run/environments/vmware_sdk/lib/python3.5/site-packages/com/vmware/cis/tagging_client.py", line 392, in create
    'create_spec': create_spec,
  File "/home/run/environments/vmware_sdk/lib/python3.5/site-packages/vmware/vapi/bindings/stub.py", line 317, in _invoke
    return self._api_interface.native_invoke(ctx, _method_name, kwargs)
  File "/home/run/environments/vmware_sdk/lib/python3.5/site-packages/vmware/vapi/bindings/stub.py", line 275, in native_invoke
    self._rest_converter_mode)
com.vmware.vapi.std.errors_client.UnexpectedInput: {messages : [LocalizableMessage(args=['[category_id]', 'com.vmware.cis.tagging.category.create_spec'], default_message="Champs [category_id] inattendus trouvÃ©s dans la structure 'com.vmware.cis.tagging.category.create_spec'.", id='vapi.data.structure.field.unexpected')], data : None}
Traceback (most recent call last):
  File "/home/run/vsphere-automation-sdk-python/samples/vsphere/common/sample_base.py", line 79, in run
    attr()  # calling the method
  File "/home/run/vsphere-automation-sdk-python/samples/vsphere/tagging/tagging_workflow.py", line 131, in _execute
    CategoryModel.Cardinality.MULTIPLE)
  File "/home/run/vsphere-automation-sdk-python/samples/vsphere/tagging/tagging_workflow.py", line 179, in create_tag_category
    return self.category_svc.create(create_spec)
  File "/home/run/environments/vmware_sdk/lib/python3.5/site-packages/com/vmware/cis/tagging_client.py", line 392, in create
    'create_spec': create_spec,
  File "/home/run/environments/vmware_sdk/lib/python3.5/site-packages/vmware/vapi/bindings/stub.py", line 317, in _invoke
    return self._api_interface.native_invoke(ctx, _method_name, kwargs)
  File "/home/run/environments/vmware_sdk/lib/python3.5/site-packages/vmware/vapi/bindings/stub.py", line 275, in native_invoke
    self._rest_converter_mode)
com.vmware.vapi.std.errors_client.UnexpectedInput: {messages : [LocalizableMessage(args=['[category_id]', 'com.vmware.cis.tagging.category.create_spec'], default_message="Champs [category_id] inattendus trouvÃ©s dans la structure 'com.vmware.cis.tagging.category.create_spec'.", id='vapi.data.structure.field.unexpected')], data : None}

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/run/vsphere-automation-sdk-python/samples/vsphere/tagging/tagging_workflow.py", line 216, in <module>
    main()
  File "/home/run/vsphere-automation-sdk-python/samples/vsphere/tagging/tagging_workflow.py", line 211, in main
    tagging_workflow.main()
  File "/home/run/vsphere-automation-sdk-python/samples/vsphere/common/sample_base.py", line 97, in main
    self.run()
  File "/home/run/vsphere-automation-sdk-python/samples/vsphere/common/sample_base.py", line 85, in run
    raise Exception(e)
Exception: {messages : [LocalizableMessage(args=['[category_id]', com.vmware.cis.tagging.category.create_spec'], default_message="Champs [category_id] inattendus trouvÃ©s dans la structure 'com.vmware.cis.tagging.category.create_spec'.", id='vapi.data.structure.field.unexpected')], data : None}
disconnecting the session

@FumbleBe
Does your cluster name, catalog name or description contain non-ascii chars?
Can you check your server log to see if you can get more stacktrace?

Ok, so, managed to find out what was wrong...
Despite the fact that my vcenter was in 6.0.0, and it is suppose to work with this version, it seems that the build was probably too old (3339084).
I update it to build 9313458, and now, it is working...

can you explain to me how i can do that !!


[UT] add unit test for conn_pool.go and tx.go

What would you like to be added:
Why is this needed:
https://github.com/arana-db/arana/blob/master/pkg/runtime/conn_pool.go
https://github.com/arana-db/arana/blob/master/pkg/runtime/tx.go

assign me


Quest NPC appearing as a security guard

There is an NPC with the UC Vanguard questline which is called Hadrian, This NPC I spotted twice in my playthrough once as a security guard and once as a quest NPC.

Details
Quests:
Completed:Supra Et Ultra, Grunt Work, Delivering Devils, Eyewitness,
Current: Friends like these
Game Version
<IP_ADDRESS>
New Game
No
Reproduction Steps
Happens randomly, NPCs may be reused for different purposes but quest NPCs shouldn't

I have seen other NPCs that look similar to Hadrian but never exactly like her. They share the same hair style and have a few similar features, but they are not the same. The game also reuses the same faces for many different NPCs. Bethesda has always done this. For example, in Fallout 4 there are only 2 faces for the 20 or so Diamond City Security Guards that are spawned at any given time. This is not a bug that needs to be fixed.


switch to WCS 7

update to WCS 7

This currently is failing the tests. WCS.from_header() is throwing malloc errors:
julia(71539,0x1181bbe00) malloc: *** error for object 0xffffffffffffffff: pointer being freed was not allocated
julia(71539,0x1181bbe00) malloc: *** set a breakpoint in malloc_error_break to debug

signal (6): Abort trap: 6
in expression starting at none:0
__pthread_kill at /usr/lib/system/libsystem_kernel.dylib (unknown line)
Allocations: 3936464 (Pool: 3935092; Big: 1372); GC: 4
ERROR: Package WCS errored during testing (received signal: 6)

it's possible WCS.to_header() is also broken.
In addition, the header_out length has changed from 17 * 80 to 18 * 80, although I'm not sure if that's intended given the malloc errors, so I haven't changed it.

https://www.atnf.csiro.au/people/mcalabre/WCS/CHANGES

WCSLIB version 7.1 (2020/01/01)
-------------------------------

Changes in the contents of the wcsprm struct necessitated incrementing
the major version number from 6 to 7 (i.e. the ABI changed).

So you have to adapt https://github.com/JuliaAstro/WCS.jl/blob/a5d6f453a1fc7a5d769bd42f14c34ea084260099/src/WCS.jl#L301 to match the new structure

For reference, this is the documentation of wcsprm for v7.7: https://www.atnf.csiro.au/people/mcalabre/WCS/wcslib/structwcsprm.html.  As far as I could see, new fields are aux and m_aux

All tests pass for me with the change I just pushed :slightly_smiling_face:

Thanks for the help @giordano!

We might also want to go to v1.0?  API has been fairly stable for a while now