Whole Block Outline

Ideally (for me), the function name & parameters, or the object name would be included in the block highlight.
In an object, this would make all of the blocks butt up against one another, which is undesirable, so maybe if the last line of the block (aka the closing bracket/brace/etc.) gets missed out:
------------------------
objectProperty: {      |
  someProp: "hello",   |
------------------------
},

Or only gets highlights the brace character (plus padding) and then connects to the rest of the block:
------------------------
objectProperty: {      |
  someProp: "hello",   |
    --------------------
},  |
----

Is this possible with the current features? If not, is this a feature you'd consider supporting?

Hello, I guess this is the duplicate issue of this one:
https://github.com/leodevbro/vscode-blockman/issues/45
In short:
So, you would like to make the rectangle cover not just the child area, but also the parent area, right?
Like this, right? Basically you prefer "Parent style", right?

At first glance the "Parent style" seems good and natural, but I think it's not natural and I think it's very bad, because:
1] I think the rectangles should be as small as possible, so it will be easier for  your eyes to focus.
2] I think covering the parent area is very unnecessary and redundant because child rectangle already helps our eyes to quickly/easily find the parent area, yeah, the parent area is always just above and below the child rectangle, right? Do you think your eyes need even more help to quickly find the parent code?
3] In the image above, the code is simple, but there are many edge cases when it is confusing to determine what area is the parent area, for example here:

what is the parent area?
export class DogAttribute {
or with the decorator
@ObjectType()
export class DogAttribute {

?
Some people will say first one is the parent, some people will prefer the second option to be considered as parent, and this will quickly become a philosophical issue, and there will be so many settings/config required to satisfy each person's preference.
Also, here:

what is the parent area? this code?
fetch("example.com")
?
I don't think so, maybe I'm wrong, but it does not seem a parent to me. For me it seems like a pre-operation.
So, maybe the parent is:
.then(() => ({
?
I don't think so either, and it looks very unnatural to me:

Again, maybe I am wrong, so, feel free to continue this discussion with your opinions.


Setting powerShellExePath crashes on extension load

System Details

Vim or NeoVim?: NeoVim
Version of Vim (run vim --version) or NeoVim (run nvim --version): v0.4.0-259-g9b4383261
Version of coc-powershell (in Vim or NeoVim: :CocList extensions coc-powershell): 0.0.19
Operating System: Windows 10 1903
PowerShell version (in PowerShell: $PSVersionTable): 7.0.0-preview.2

Issue Description
Adding config option powershell.powerShellExePath in CocConfig causes extension to crash on load.
Expected Behaviour
The specified PowerShell executable is used.
Actual Behaviour
Receive error message on extension load:
[coc.nvim] Error on active extension coc-powershell: TypeError: Cannot read property 'powerShellExePath' of undefined

thanks @TylerLeonhardt !


LSP: Progress report is sometimes off.

This is on PR #93.

Sometimes the progress report is not shown immediately after the proof task is initiated.
Sometimes the progress retains step count from previous runs (e.g. 60 of 1 obligation are remaining, or smth).

Seems to be fixed.


Improve web popminer front-end

Confirmation

[X] I have checked for similar issues.

Problem
We need to move to a properly styled and less bare bones web front end.
Suggested solution
New front end has been designed, needs to be implimented.
Additional Information
No response

This was done a while ago.  Can close.


Logging toggable via env setting

Logging should be toggable via an .env setting, e.g. APP_ENABLELOG(boolean).

Resolved.


🐛 [flutterfire_ui] Auth: Profile screen does not rebuild after email verification status changes.

Email auth has a "waiting for email" with a spinner on the profile screen.
Expected behaviour:

background app
go to emamil, click on verify, observe success message, background email
Return to app from recents menu
Observe waiting and profile vanish

Actual behaviour:
Signing out and signing back in causes it to vanish.
Note: I'm on flutter UI  flutterfire_ui: 0.4.0+5 because 0.4.1 seems to require flutter 3.

@neiljaywarner
Is this happening on Android or iOS ?
Does the same behavior occur using plugin's example too ?

Plugins example required many files but authgate code cones from docs.
I didn't try ios
....sent from my phone
On Mon, May 16, 2022, 5:39 AM darshankawar @.***> wrote:

@neiljaywarner https://github.com/neiljaywarner
Is this happening on Android or iOS ?
Does the same behavior occur using plugin's example too ?
—
Reply to this email directly, view it on GitHub
https://github.com/firebase/flutterfire/issues/8683#issuecomment-1127507940,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAXBGYKJNKIXCHNRKQJN7CLVKIQWFANCNFSM5V4UWZBA
.
You are receiving this because you were mentioned.Message ID:
@.***>

I've made this "Waiting for email verification" screen myself. I discovered that this is an issue with Firebase Auth, the authStateChanges() stream does not fire when the emailVerified flag gets changed on your Firebase Auth profile. Same for FirebaseAuth.instance.userChanges() and FirebaseAuth.instance.idTokenChanges(): none of the FIrebaseAuth streams get fired when the emailVerified flag gets changed.
My solution was to create a looping timer (e.g. every 10 seconds) and call "FirebaseAuth.instance.currentUser?.reload();", for example:
@override   void initState() {     super.initState();     _timer = Timer.periodic(const Duration(seconds: 10), (timer) {       FirebaseAuth.instance.currentUser?.reload();     });   }
Make sure you define Timer _timer in your statefulwidget and don't forget to cancel the timer when the e-mail has been verified.
By forcing the ...currentUser?.reload() method, the FirebaseAuth.instance.userChanges() stream will get triggered and the User object you get back from that stream will have an up-to-date emailVerified boolean. E.g. this will work: user?.emailVerified == true

@BrutalCoding
Thanks for the update. Can you open a new issue mentioning all these details so that we can track and address it properly and possibly link this issue to it as a reference, because per your comment / findings, the issue probably lies in firebase_auth and may not be specific to flutterfire_ui plugin since it seems to leverage the auth implementation.

I also agree with this issue.
You should be able to check the emailVerified status with reload() .

@BrutalCoding Thanks for the update. Can you open a new issue mentioning all these details so that we can track and address it properly and possibly link this issue to it as a reference, because per your comment / findings, the issue probably lies in firebase_auth and may not be specific to flutterfire_ui plugin since it seems to leverage the auth implementation.

Thanks for the suggestion, I have opened a new issue here https://github.com/firebase/flutterfire/issues/8777 and described in more detail the issue and reproducible steps.
I personally think that its not only Flutter's firebase_auth package that is affected by this, but it might be a widespread issue with all Firebase Auth SDK's. The reason I say this is because Firebase Auth for JavaScript faces the same issue: https://firebase.google.com/docs/reference/js/v8/firebase.auth.Auth#onauthstatechanged

I wanted to bring some attention to more issues related to the ProfileScreen not rebuilding with #9682. Maybe it is related.

fixed in #9343


FAVICON!

I added favicons to all the examples. Congrats to underscorefunk on the new logo!

Wonderful, thanks!


CI_KEY

I can't find CI_KEY documentation. Is it a license key?
Do we have to buy separate license for CI?
If I rarely use DCM locally, mostly it's running on push CI, can I use same key?

@romanr hi, this action is for DCM Teams which has a CI license key included.
If you still have questions regarding the license, please reach out in our Discord or via email.


Feature/accessibility map

Prototype of accessibility maps rasterizer. Rasterizer Python script is fully working, but integration into Typescript code and running it in browser is still to be implemented. The rest of the implementation should be completed.
Commits are also to be rebased and squashed.
Tested with RTL data.

We will revisit this, linked this PR in the original issue.


Revert part of enum changes

Adding this method definition doesn't seem necessary as it exists on the metaclass already. With this change, all the tests still pass, and all the new enum errors in the spark repo disappear again!

I think it might actually be true for all methods...?


Add kotlin directory to main and test sources as default

In kotlin module we can use sources with path src/main/kotlin, but in android-library module only src/main/java available out of the box. We can add kotlin directory to sourceSet for each android-library. We just need add it to androidLibraryFeatureDefinition fun.

#91

#91


Make RealmScreen more similar to the Electron app.

Add a header above the URL input and add a link to create a new organization underneath. Also make some changes to placeholders and button text. See discussion here: https://goo.gl/QCZgLY.
Also, add style props to WebLink to help design the new RealmScreen.
Screenshot:

Fix #1709.

Now we have reworked on RealmScreen, so we can close this.
Thanks! @skunkmb for the contribution, great work 🎉  :)


[FEATURE] ExpansionTile title height and space between title and leading widgets

Use case
ExpansionTile is a very powerful and important widget in many applications, however it has very limited customization. we want to be able to change expansionTile height and spaces as indicated in the image :
Before :

After (smaller heights and spaces between leading and title widgets) 👍

this is simply a column containing 3 expansionTiles and one ListTile like so:
Column(
      children: <Widget>[
        ExpansionTile(
          leading: Icon(Icons.laptop),
          title: Text('Company management',
              style: TextStyle(
                height: 1,
                // color: Colors.white,
              )),
        ),
        Divider(
          thickness: 1,
          height: 0,
          indent: 20,
          endIndent: 0,
          // color: Colors.white30,
        ),
        ExpansionTile(
          title: Text('Service management',
              style: TextStyle(
                height: 1,
                // color: Colors.white,
              )),
          leading: Icon(Icons.settings),
        ),
        Divider(
          thickness: 1,
          height: 0,
          indent: 20,
          endIndent: 0,
          // color: Colors.white30,
        ),
        ExpansionTile(
          title: Text('Clients management',
              style: TextStyle(
                height: 1,
                // color: Colors.white,
              )),
          leading: Icon(Icons.move_to_inbox),
        ),
        Divider(
          thickness: 1,
          height: 0,
          indent: 20,
          endIndent: 0,
          // color: Colors.white30,
        ),
        ListTile(
          leading: Icon(Icons.computer),
          title: Text('Dispatch system',
              style: TextStyle(
                height: 1,
                // color: Colors.white,
              )),
        ),
      ],
    )

Proposal
We understand that you want the overall view of expansionTile widget to comply with Material Design standards, which is amazing 👌 but still, we need to have the freedom to customize the widget as we see suitable for our application.
My regards,
Rami

CC @shihaohong

@AyushBherwani1998 do you have time to take a look at this proposal since you experience with ExpansionTile? I'll happily review a PR if you want to take a look into this :)

Sure @shihaohong . I'm happy to look into this :)

@shihaohong Regarding the proposal, we have already a tilePadding property in the master branch which can be used to increase the height of the ExpansionTile.
For having the padding between the leading and title of the ExpansionTile we will need to add a new property in the ListTile and then expose that property in ExpansionTile since internally it uses ListTile.
Also, instead of adding a new property and exposing it later for adding the padding between leading and title users can simply wrap the leading widget inside the Padding widget to get the desired output.
For Example:
ExpansionTile(
  leading: Padding(
    padding: EdgeInsets.only(right: 24),
    child: Icon(Icons.add),
  ),
  title: Text("Hello"),
)

Output

WDYT of making the changes in the ListTile for having a new property? Should I proceed to have a look at the ListTile implementation and first land a PR for that?

Based on your analysis, it seems like everything that's being asked in the proposal seems possible. @ramioooz, Is there a particular use case that you're not able to achieve with the current API?

Hello @shihaohong and @AyushBherwani1998
Thank you so much for your reply,
We actually need to explicitly reduce (not increase) the height of expansionTile. We tried to place it inside a SizedBox and give that a height of something like 30. but it turns out to miss some pixels from the render.
We also want to reduce (not increase) the space between leading widget and title widget of expansionTile
Thank you

Hey @ramioooz, Thank you for clarifying that.
@shihaohong having a look at the implementation of ListTile we can expose the visualDensity property to control the compactness of the ExpansionTile. WDYT?

It might not be as simple as that, since visual density controls the padding of a few different sections of ListTile, while not granting fine-grained control over reducing the tile's padding.
@ramioooz Could you take a look into using visual density in ListTile and see if that allows you to achieve the configuration you want? If not, maybe some specifics on what kind of look you are hoping to go for.
Based on a cursory glance at the ListTile code, it doesn't look like it will be a clean API to simply expose the hard-coded padding values such as this one. From a user's point of view, you will suddenly have to grapple with multiple types of padding properties to get what you want, so we will need to think about this carefully.

@ramioooz It might even be a possibility to just fork the code for ListTile and manually update the hard-coded padding values to get the reduction you want. I know that this poses its own problems, such as keeping the rest of the code updated with new changes to ListTile, but that's an option to consider in the short run.

Hey @shihaohong ,
I updated my first comment, added another picture to give you more specifics about the look we desire.
I took a quick look over expansion_tile.dart and list_tile.dart. I found out that the widgets are so rigid and need a serious re-construction from the ground up in order to make it customizable and flexy.
Yes, I can fork the code and do my own alternations, and maybe make a package out of it and publish it so that anyone can use it, but I'de rather have you guys consider doing it and maybe include it in the SDK upcoming update.
Thanks

@ramioooz I took another look at the code for ListTile and I'm starting to feel like it wouldn't be possible without introducing a pretty big breaking change. A lot of the preexisting parameters for ListTile and its subclasses are already depended on by users, and the only reasonable way to alter ListTile to be as flexible as you want would be to introduce massive breaking changes to these implementations (for example, defaulting the ListTiles to have absolutely no padding, and introducing padding through a default padding size that adheres to the material spec).
Based on your screenshot, it looks different enough from a ListTile (or ExpansionTile) that I would simply recommend just creating a custom widget for your use case (which you could do by forking the ExpansionTile code like I mentioned before).
I explicitly wrote a section on the API docs for ListTile a while ago to demonstrate different ways to construct a variety of widgets because a ListTile can only be so flexible before it devolves into a Row with multiple items in them, at which point, creating a unique Material library becomes less useful for users.
I will close this issue for now, since I do not think there is a reasonable way forward. I hope my explanation made sense!

@ramioooz you may want to give this package a try. Not perfect but it allows you to create more compact expansion tiles.

@shihaohong tilePadding only shrink down the left and right not top and bottom:

 ExpansionTile(
                  tilePadding: EdgeInsets.symmetric(vertical: 0),
                  childrenPadding: EdgeInsets.all(0),

@jinfagang Could you file a new issue with a reproducible sample? Also, the output of flutter doctor -v would be helpful as well. cc/ @AyushBherwani1998

Hey @jinfagang,
The tilePadding is working as intended. ExpansionTile internally uses a ListTile whose height is defined as per Material Guidelines. The extra space that you have when applying 0 padding is the normal height of ListTile. In general you can't use tilePadding to reduce the height but only increase it.

@AyushBherwani1998 what should I do if I want make it less?

I think thisss issue is also intend to be less the height not more

The only I can suggest now is to make a custom widget. You can fork the code, and instead of ListTile use a Row inside ExpansionTile for more controls.

@shihaohong  Any ideas? This definitely can be easily done inside flutter...

For anyone still struggling with this, here's how I managed to eliminate all padding:
ListTileTheme(
    minVerticalPadding: 0,
    child: ExpansionTile(
        tilePadding: EdgeInsets.zero,
        minTileHeight: 0,
        ...
    ),
),

To remove the horizontal padding, setting the tilePadding in the ExpansionTile to zero is enough.
To remove the vertical padding, you have to set both the minVerticalPadding in the ListTileTheme and the minTileHeight in the ExpansionTile to zero.
This is pretty hopeless, but it works.


Join-able roles selected with reactions

NEW suggestion (April 8th)
Add a /rank list, /rank add, /rank remove, etc. to add join-able roles, /rank list would show the first 18 roles with a reaction linked to each of them, then 2 more reactions would serve to change pages (if there were more than 18 roles), when the user that used the command selects a role by clicking on the reaction the message would get edited/deleted, and it would only count for the user that used the command.
Alternatively there could be a /rank permanent-list that would work the same way but it would work for every user (without the page changing part, it should select the page instead (/rank permanent-list 1 for page 1)).
OLD suggestion
It could be a command to add roles to a join-able list, and then a /rank list command to show each 20 of them in a message with a reaction linked to get them, and when the user select one it gets the role and the messages gets deleted/edited, it would only count the user that used the command.

You could allow anyone to do it, thus less spam.

I don't think i'll do it with reactions, reason being that i'll have to store and track each of those messages for tracking reactions, and that's a lot of events to even just check, each message that gets reactions on each server. i like the idea, and it sounds novel, but i don't think it'd work out.
I'll probably do just the standard /join, /leave, /add rank, /remove rank

done, just not with reactions


Update qos_output_queue_counters_test.go

Can you explain why rename queue names?
Please also mention that why vendor specific workarounds are needed? Is there any bug to track the workaround?

At least part of the problem really stems from a deficiency in the OC-QoS model. Silicon One ASIC's, similar to many others in the industry, have a concept called a 'traffic-class' which also exists in many other asics. This traffic-class is a numeric identifier.
In IOS XR's configuration model, this traffic class has a tight coupling to a specific priority value in the case of strict priority schedulers.
The missing traffic-class equivalent has been a long-standing concern for this model, however it now appears to be getting addressed through the introduction of queue-identifiers in pull 772 for OC-QoS.
The way that this missing functionality is addressed seems to be varying across implementors. In XR we are allocating the traffic-class in the order they appear in config to satisfy the ordering requirements of the scheduling model. In order to get this to show up properly via OC, we are using queue names that are defined lexically ordered according to the desired scheduling policy.
Alternatives that implementors may use could include fixed queue names with an out of band association, or magic fixed queue names. Each approach has downsides.
We expect this ordering issue to be addressed after the merge of PR772.
Separately, QoS scheduling models are likely to vary across hardware platforms, and should be expected to change according to the asic/os implementation even when OC is used.

Operationally I'd like to keep the queue names the same. But we can use CLI
commands to map the traffic class identifiers to the open config queue
names.
The OC model solution for this specific scenario will be merged soon.
On Thu, Feb 16, 2023, 8:07 AM Aaron Millisor @.***>
wrote:

Can you explain why rename queue names?
Please also mention that why vendor specific workarounds are needed? Is
there any bug to track the workaround?
At least part of the problem really stems from a deficiency in the OC-QoS
model. Silicon One ASIC's, similar to many others in the industry, have a
concept called a 'traffic-class' which also exists in many other asics.
This traffic-class is a numeric identifier.
In IOS XR's configuration model, this traffic class has a tight coupling
to a specific priority value in the case of strict priority schedulers
https://www.cisco.com/c/en/us/td/docs/iosxr/cisco8000/qos/70x/configuration/guide/b-qos-cg-8k-70x/traffic_management_overview.html#concept_izx_bhw_m3b
.
The missing traffic-class equivalent has been a long-standing concern for
this model, however it now appears to be getting addressed through the
introduction of queue-identifiers in pull 772 for OC-QoS
https://github.com/openconfig/public/pull/772.
The way that this missing functionality is addressed seems to be varying
across implementors. In XR we are allocating the traffic-class in the order
they appear in config to satisfy the ordering requirements of the
scheduling model. In order to get this to show up properly via OC, we are
using queue names that are defined lexically ordered according to the
desired scheduling policy.
Alternatives that implementors may use could include fixed queue names
with an out of band association, or magic fixed queue names. Each approach
has downsides.
We expect this ordering issue to be addressed after the merge of PR772.
Separately, QoS scheduling models are likely to vary across hardware
platforms, and should be expected to change according to the asic/os
implementation even when OC is used.
—
Reply to this email directly, view it on GitHub
https://github.com/openconfig/featureprofiles/pull/1131#issuecomment-1433330155,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABMCGM7TUFSPGC22BGDORDDWXZGEHANCNFSM6AAAAAAU5JJMMU
.
You are receiving this because your review was requested.Message ID:
@.***>

Internal test result: b/269634520

/gcbrun

Does the test pass in your test bed with this PR?

Internal test result: b/269634520

We (Sean, Viktor, Cisco team and I) had a discussion (b/268403096#comment9). Viktor has filed bugs to track the explanation of Cisco implementation, and we decided to move forward with this PR.


Split core functions from two apps: HA addon & standalone docker + merge latest devs from tesla_ble_mqtt_docker

Structure has been changed to externalise core functions in a separate repo https://github.com/tesla-local-control/tesla_ble_mqtt_core/
It uses submodules to push the code to two repos:

Standalone docker: https://github.com/tesla-local-control/tesla_ble_mqtt_docker. It contains all the docker specific files: docker-compose, Dockerfile, INSTALL
HA Addon: https://github.com/tesla-local-control/tesla-local-control-addon. It contains all the HA specific files: DOCS, Dockerfile, config.yaml

Latest devs from these two repos have also been included:

Support for up to 3 VINs
File structure rework
Externalize color logging functions

For contributors:

Unclear why both = and == works w/ sh
I think = is assigning a new variable so always tests as true
It should be == for comparison of course

When building the docker image from the Dockerfile using Portainer, I get an error about /app/run.sh not having the right permissions. I had this when I did my original repo, it is caused by the scripts not being marked as executable in GitHub. @raphmur Can you run git update-index --chmod=-x  run.sh etc on the files, commit and push? I can do it if you wish

Ok wildo in ~1hr
Chmodding in the Dockerfile is not working ?

Chmod in Dockerfile might work I am out so can't try it. From memory there isn't a CHMOD in the Dockerfile as it is. Might be a better way to do it as it's more visible and won't get missed when we add new scripts

I run this RUN chmod a+x /app/run.sh in the dockerfile (for the addon).
Ran the command, but the files are already executable.

Note I also had this kind of issues, but due to line endings... But if you go only through Github and Unix, it should be ok. However, if you Git Clone to Windows, then copy paste the files on Unix, you will have unexplained issues. --> Force LF line endings in your editor before building the image (only if you transit files through windows)
And the COPY command in Dockerfile is not super intuitive:
COPY app /app/ --> Copies content of app in directory /app/
COPY app /app --> Copies content of app into something that depends on the existing structure.
See: https://chatgpt.com/share/61a56418-c343-4b71-b785-e6fc4579d093

Anyway, to be sure, if you want the content of app into the folder /app in the container, use COPY app /app/
Worth a try?

See original:

Core:

I have found not having 'Executable File' makes the docker container not run. This is despite having +x linux permisssions locally. I also recall having to change something in the script to get it to commit. It's not intuitive so I'm going to try doing CHMOD in the Dockerfile instead. I'll let you know
I'm using Linux command line so no issues with end of line conversions in Windows.

yeah indeed... done

FYI exec mod isn't required on files that are sourced, they are considered "libraries".
Only the one that are run directly /path/.... /file or ./file/ needs it.
If calling a script like this bash file , that too would not require exec mod.

#4 ready for merge

Unclear why both = and == works w/ sh
I think = is assigning a new variable so always tests as true
It should be == for comparison of course

That's what I thought too but ... not quite true, at least not sh(ash) and bash.
# test=test
# [ $test = "test" ] && echo yes || echo no
yes
# test=test1
# [ $test = "test" ] && echo yes || echo no
no

Note I also had this kind of issues, but due to line endings... But if you go only through Github and Unix, it should be ok. However, if you Git Clone to Windows, then copy paste the files on Unix, you will have unexplained issues. --> Force LF line endings in your editor before building the image (only if you transit files through windows)

dos2unix  removes - in-place - the inappropriate chars.

Just merged #4 - now merging this one to main 🤞  We should be fine.


Made Responsive Image Slide

Related Issue

pictures were not responsive

Closes: #854
Describe the changes you've made
changed the height, width display and organised in a better manner
Describe if there is any unusual behaviour of your code(Write NA if there isn't)
NA
Checklist:

[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have made corresponding changes to the documentation.
[x] New and existing unit tests pass locally with my changes.

Screenshots

@agamjotsingh18 any updates?

@agamjotsingh18 any updates?

Yes sir, I updated it

@agamjotsingh18 i am unable to see any updation in this PR?
or you opened a fresh PR?

@agamjotsingh18 Any updates?


quick accent shows only on desktop 1 no matter whats selected

Microsoft PowerToys version
0.62.1
Running as admin

[X] Yes

Area(s) with issue?
Quick Accent
Steps to reproduce
go to a desktop that is not desktop 1 and do an action that enables quick accent (key + modifier to enable)
✔ Expected Behavior
see the gui on current desktop
❌ Actual Behavior
gui is on first desktop instead
Other Software
No response

/bugreport

At least you see the GUI. If I'm on my second monitor, I don't get the GUI at all: #20298

Please provide the resolution of your primary and secondery desktop. Thanks!

On my system the primary is 4K—3840x2160, secondary is 1920x1080.

@donlaci and @damienleroy is this fixed now?

It's fixed on my machine! The selector appears on any of my three monitors,
4K, 2K and 1080p, depending on in which one it was instantiated.
On Mon, Oct 31, 2022 at 7:06 PM Jay @.***> wrote:

@donlaci https://github.com/donlaci and @damienleroy
https://github.com/damienleroy is this fixed now?
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/PowerToys/issues/21059#issuecomment-1297836000,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB4QO5OSAT76PGLTTLFFHT3WGBNGXANCNFSM6AAAAAAQ54HP54
.
You are receiving this because you commented.Message ID:
@.***>

This MR may fix the issue.


what technology does this middle-ware use to communicate with the client?

what technology does this middle-ware use to communicate with the browser client?
websocket?
everntsource?

EventSource.
We did recently consider switching to websockets because they're more widely used and supported on internet explorer - but because express doesn't do anything with websockets, they don't work seamlessly as middleware on only a certain path.


Copy role from victory label so fixLabelOverlap works

Fixes #509

@gurglet Thank you for this fix :)


Add an appropriate README

Whoops, sorry. I wasn't paying enough attention to my own PR's, please completely ignore this!


Bumping odo version to v3.0.0-alpha1

Signed-off-by: Mohammed Zeeshan Ahmed<EMAIL_ADDRESS>

/approve
/lgtm


Extend .gitignore

Is there anything else worth adding right now?

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

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 72.569%

Totals

Change from base Build<PHONE_NUMBER>9:
0.0%

Covered Lines:
168

Relevant Lines:
230

💛  - Coveralls


Failed to compile smart contracts with zksolc: Compilation failed with "[]\n".

Component
Forge
Have you ensured that all of these are up to date?

[X] Foundry
[X] Foundryup

What version of Foundry are you on?
forge 0.2.0 (0e33b3e 2023-07-26T00:25:53.387063000Z)
What command(s) is the bug in?
zkforge zkb
Operating System
macOS (Apple Silicon)
Describe the bug
There will be generated an error when using zkforge zkb if you define all errors in one separate file named xErrors.sol.  the output detail is:
Failed to compile smart contracts with zksolc: Compilation failed with "[]\n". Using compiler: "/abc/.zksync/zksolc-macosx-arm64-v1.3.11", with args "/abc/xErrors.sol" ["--standard-json", "--solc", "/abc/.svm/0.8.17/solc-0.8.17"]

Can you try again to see if this issue is still a problem? @magj2006
We've made improvements since then. Thanks!


Remove log on Octokit::NotFound

It looks scary even though it's often totally fine.

@jekyllbot: merge


Issues starting container

No matter what combination of configuration options I try, I can't get the container to start.
Using the docker-compose file in the repository I tried to get certificates for my cloudflare domain.
First I tried to create the composer file myself, but after not getting it to launch I used the composer file in the repository with the same result.
my domains.conf file has one line in it with the correct domain ofcourse:
*.mydomain.com mydomain.com
When looking at the logs of the container I see one line repeated over and over:
standard_init_linux.go:211: exec user process caused "exec format error"
then the container restarts and gives me the same error and no further information.
How can I debug this better or what causes this error?

Just going to post one last comment here on how I did it to help anyone else with the same issue:
Clone the git repository and change the dockerfile so it says at the top:
FROM arm32v7/python:3.8-alpine3.11
Afterwards you can build on a raspberry pi. Unfortunately my pi (3) ran out of memory in the building process so I had to build the image on an ubuntu machine. Since you can't normally build ARM images on non-ARM machines I had to follow this guide to do that:
https://matchboxdorry.gitbooks.io/matchboxblog/content/blogs/build_and_run_arm_images.html
For some reason this did not work on Ubuntu 19.10 and I had to go to a 18.04 machine.
Building process took a while but afterwards I could package my image, transfer it to my pi and load it up.

Hi! For future readers, please take a look at my fork. It's an automated multiarch build of this image supporting amd64, arm64 and armhf (armv7).
An up-to-date version of the upstream source code is fetched, built and released in my Docker Hub daily (automated via Travis CI).
You just have to replace every adferrand/letsencrypt-dns occurrence with patrickpissurno/rpi-docker-letsencrypt-dns.
Give it a try!

Good initiative! I will soon publish a major refactoring of the Docker, that will require some modifications on your side (but making it even simpler I think). Once done, would you like to submit a PR of your work on my repo?

Aaaand I answered to fast. Did not see that you already submitted the PR ^^

Yeah, I'm quite interested in bringing arm support to the mainline image.
I'd like to discuss how we can do that, but I think it'd be more appropriate if we did that in the PR itself #77 (just to make the discussion more visible for other contributors).

Wow, took me longer to find this issue than I'm comfortably with telling.
New to Docker so everything takes a bit longer than I initially think it will.
Anyway, I too wanted to run this on a Raspberry Pi (4B, arm7).
The fork by @patrickpissurno is for docker-letsencrypt-dns, not dnsrobocert, does that matter? I think it is automatically migrated even though the upstream is renamed?


migrate this repository into AnySoftKeyboard main repo

There is no need for this repo to be standalone, it can be integrated with the main app repo.

done


Passing entire context to pagination.html

Hello Eric,
Passing the entire context to the template makes one's life a lot easier if the template's output needs to change based on the current context.
Hope you find this patch useful.
Cheers!
Julien

yes, this is what I would have expected for the pagination template.
The 'changed' context is also not documented, so need to read the source to figure out what is going on


Instakill Notes Problem

Describe your bug here.
I downloaded the instakill note but if i open a song, it doesn't kill and the image is not the same as the image i did, i am using 0.6.2
Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
no

No todos los archivos son compatible con algunas versiones

Custom notes work fine, this is either something you broke or the script is just too old

No todos los archivos son compatible con algunas versiones

i don't understand this language

Custom notes work fine, this is either something you broke or the script is just too old

maybe you're right :(

i don't understand this language

Then translate

Close the issue, or at least show the script and the name of your texture to see what's wrong


Open new tab if we're auto-closing the only open tab

Let session expire
Close all other tabs except expiration tab
Click "Begin Focusing"/"Begin Break" button
Notice all windows are now gone
We should open a new, blank tab in this case

Nobody has mentioned this or offered support, so I'm closing this. If you're interested, please comment.


Support for anisotropic data.

rebased
This:

Adds spacing and origin arguments to specify the position and scale of a volume.
Update things accordingly: everything lives in "scene-coordinates" now.
Updates the slicer_with_1_plus_2_views.py example to include one view with downsampled data.

Todo:

[ ] Look into flipping axii?

Thanks @almarklein ! Looks good to me. With this PR I think it's now possible to adapt https://github.com/plotly/dash-sample-apps/blob/master/apps/dash-covid-xray/app.py to use the slicer (the data are indeed anisotropic). Would you like to try it or would you prefer someone else to adapt the app so that you focus on development? As you wish, both are fine.

Yeah, I think adapting that example would be a really nice exercise to see how the API holds up, so I think I'll have a go myself!


using SHC remote-hbase connection issue

I have connected to local-hbase using SHC successfully.
--->Initiating client connection, connectString=localhost:2181 sessionTimeout=90000 watcher=hconnection-0x2dea42d10x0, quorum=localhost:2181, baseZNode=/hbase
But i faced several problems while connecting to remote hbase.
By reffering several documents, i came to know that we should place hbase-site.xml in 'spark-configuration' folder. so i placed hbase-site.xml.
hbase-site.xml

hbase.zookeeper.property.clientPort
2181

hbase.zookeeper.quorum
xxxxxxx

zookeeper.znode.parent
/hbase

hbase.cluster.distributed
true

--->18/02/14 20:10:49 INFO ZooKeeper: Initiating client connection, connectString=xxxxxxx:2181 sessionTimeout=90000 watcher=hconnection-0x2dea42d10x0, quorum=xxxxxxx:2181 , baseZNode=/hbase
--->18/02/14 20:10:49 INFO ClientCnxn: Opening socket connection to server xxxxxxx/xxxxxxx:2181 . Will not attempt to authenticate using SASL (unknown error)
--->18/02/14 20:10:49 INFO ClientCnxn: Socket connection established to xxxxxxx/xxxxxxx:2181, initiating session
--->18/02/14 20:10:49 INFO ClientCnxn: Session establishment complete on server <IP_ADDRESS>/<IP_ADDRESS>:2181, sessionid = 0x1616a01989b5a32, negotiated timeout = 60000
It is showing connectString=xxxxxxx/xxxxxxx:2181 ,but not able to write my df to hbase.
So by refering some of documents. I came to know that my zookeeper is searching for something else
I have edited my hosts file and placed 'xxxxxxx' in it.
so now it is able to create the table, but not able to load the data .
My log is as follows::
--->18/02/14 20:10:49 INFO ZooKeeper: Initiating client connection, connectString=xxxxxxx:2181 sessionTimeout=90000 watcher=hconnection-0x2dea42d10x0, quorum=xxxxxxx:2181, baseZNode=/hbase
18/02/14 20:10:49 INFO ClientCnxn: Opening socket connection to server xxxxxxx/xxxxxxx:2181. Will not attempt to authenticate using SASL (unknown error)
18/02/14 20:10:49 INFO ClientCnxn: Socket connection established to xxxxxxx/xxxxxxx:2181, initiating session
18/02/14 20:10:49 INFO ClientCnxn: Session establishment complete on server xxxxxxx/xxxxxxx:2181, sessionid = 0x1616a01989b5a32, negotiated timeout = 60000
18/02/14 20:10:51 INFO BlockManagerInfo: Removed broadcast_1_piece0 on 10.1.10.XM:40295 in memory (size: 2.1 KB, free: 366.2 MB)
18/02/14 20:10:51 INFO BlockManagerInfo: Removed broadcast_1_piece0 on slaveXS.msr.com:42570 in memory (size: 2.1 KB, free: 366.3 MB)
18/02/14 20:10:51 INFO BlockManagerInfo: Removed broadcast_4_piece0 on 10.1.10.XM:40295 in memory (size: 42.0 KB, free: 366.3 MB)
18/02/14 20:10:51 INFO BlockManagerInfo: Removed broadcast_4_piece0 on slaveXS.msr.com:36856 in memory (size: 42.0 KB, free: 366.3 MB)
18/02/14 20:10:51 INFO BlockManagerInfo: Removed broadcast_5_piece0 on 10.1.10.XM:40295 in memory (size: 5.4 KB, free: 366.3 MB)
18/02/14 20:10:51 INFO BlockManagerInfo: Removed broadcast_5_piece0 on slaveXS.msr.com:36856 in memory (size: 5.4 KB, free: 366.3 MB)
18/02/14 20:10:51 INFO BlockManagerInfo: Removed broadcast_0_piece0 on 10.1.10.XM:40295 in memory (size: 30.6 KB, free: 366.3 MB)
18/02/14 20:10:51 INFO BlockManagerInfo: Removed broadcast_0_piece0 on slaveXS.msr.com:42570 in memory (size: 30.6 KB, free: 366.3 MB)
18/02/14 20:10:51 INFO ContextCleaner: Cleaned accumulator 98
18/02/14 20:10:51 INFO ContextCleaner: Cleaned accumulator 97
18/02/14 20:10:51 INFO ContextCleaner: Cleaned accumulator 99
-->18/02/14 20:10:56 INFO HBaseAdmin: Created Test_Table
18/02/14 20:10:56 INFO FileSourceStrategy: Pruning directories with:
18/02/14 20:10:56 INFO FileSourceStrategy: Post-Scan Filters:
18/02/14 20:10:56 INFO FileSourceStrategy: Output Data Schema: struct<serial_no: string, medallion: string, report_time: string, hack_license: string, vendor_id: string ... 13 more fields>
18/02/14 20:10:56 INFO FileSourceStrategy: Pushed Filters:
18/02/14 20:10:56 INFO MemoryStore: Block broadcast_6 stored as values in memory (estimated size 417.1 KB, free 365.9 MB)
18/02/14 20:10:56 INFO MemoryStore: Block broadcast_6_piece0 stored as bytes in memory (estimated size 42.0 KB, free 365.9 MB)
18/02/14 20:10:56 INFO BlockManagerInfo: Added broadcast_6_piece0 in memory on <IP_ADDRESS>:40295 (size: 42.0 KB, free: 366.3 MB)
18/02/14 20:10:56 INFO SparkContext: Created broadcast 6 from save at NativeMethodAccessorImpl.java:0
18/02/14 20:10:56 INFO FileSourceScanExec: Planning scan with bin packing, max size: 4194304 bytes, open cost is considered as scanning 4194304 bytes.
18/02/14 20:10:56 INFO SparkContext: Starting job: save at NativeMethodAccessorImpl.java:0
18/02/14 20:10:56 INFO DAGScheduler: Got job 3 (save at NativeMethodAccessorImpl.java:0) with 1 output partitions
18/02/14 20:10:56 INFO DAGScheduler: Final stage: ResultStage 3 (save at NativeMethodAccessorImpl.java:0)
18/02/14 20:10:56 INFO DAGScheduler: Parents of final stage: List()
18/02/14 20:10:56 INFO DAGScheduler: Missing parents: List()
18/02/14 20:10:56 INFO DAGScheduler: Submitting ResultStage 3 (MapPartitionsRDD[14] at save at NativeMethodAccessorImpl.java:0), which has no missing parents
18/02/14 20:10:57 INFO MemoryStore: Block broadcast_7 stored as values in memory (estimated size 215.0 KB, free 365.6 MB)
18/02/14 20:10:57 INFO MemoryStore: Block broadcast_7_piece0 stored as bytes in memory (estimated size 81.8 KB, free 365.6 MB)
18/02/14 20:10:57 INFO BlockManagerInfo: Added broadcast_7_piece0 in memory on <IP_ADDRESS>:40295 (size: 81.8 KB, free: 366.2 MB)
18/02/14 20:10:57 INFO SparkContext: Created broadcast 7 from broadcast at DAGScheduler.scala:996
18/02/14 20:10:57 INFO DAGScheduler: Submitting 1 missing tasks from ResultStage 3 (MapPartitionsRDD[14] at save at NativeMethodAccessorImpl.java:0)
18/02/14 20:10:57 INFO YarnScheduler: Adding task set 3.0 with 1 tasks
18/02/14 20:10:57 INFO TaskSetManager: Starting task 0.0 in stage 3.0 (TID 3, slave214.msr.com, executor 2, partition 0, RACK_LOCAL, 6538 bytes)
18/02/14 20:10:57 INFO BlockManagerInfo: Added broadcast_7_piece0 in memory on slave214.msr.com:42570 (size: 81.8 KB, free: 366.2 MB)
18/02/14 20:10:59 INFO BlockManagerInfo: Added broadcast_6_piece0 in memory on slave214.msr.com:42570 (size: 42.0 KB, free: 366.2 MB)
The job is not terminated ,but still it is running for hours.
Job is not throwing any errors and exceptions.
And it is not loading the data into the created 'Test_Table'.
What might be the cause ?
Can anyone help me please.......
Thanking in advance...

It seems the application hung at "BlockManagerInfo: Added broadcast_6_piece0 in memory on slave214.msr.com:4257". Could you check if the spark application (aka. the application user) has the right to write data into hbase table? Did you try to create tables in hbase shell? Just want to confirm if your hbase worked correctly.

Hi,
Let us consider two clusters A and B.
I am running my job in cluster B.
I want to load dataframe  to cluster A 's  hbase .
My HBase in cluster A is working fine. I have created a table and also kept data in it.
My cluster A's user is root.
My cluster B's user is test1.
I used by 'root' user of cluster A to create table in it. It worked fine.
And then i have granted test1 user of cluster B ,to  have 'RWXCA' permissions in cluster A
By using following command
--> grant 'test1', 'RWXCA'
Now my job in cluster B with username 'test1' is able to create table in cluster A's hbase.
how can i give permissions to the user 'test1' of cluster B to write data into table of cluster A's hbase

Just want to clarify. In HBase shell, could you write data into table of cluster A's hbase as the user 'test1' of cluster B?

yes, i am able to write data into table of cluster A's hbase , using user 'test1' of Cluster B

@weiqingy
18/02/14 17:07:48 INFO ZooKeeper: Initiating client connection, connectString=<IP_ADDRESS>:2181 sessionTimeout=90000 watcher=hconnection-0x72f7bfdf0x0, quorum=<IP_ADDRESS>:2181, baseZNode=/hbase
18/02/14 17:07:48 INFO ClientCnxn: Opening socket connection to server <IP_ADDRESS>/<IP_ADDRESS>:2181. Will not attempt to authenticate using SASL (unknown error)
18/02/14 17:07:48 INFO ClientCnxn: Socket connection established to <IP_ADDRESS>/<IP_ADDRESS>:2181, initiating session
18/02/14 17:07:48 INFO ClientCnxn: Session establishment complete on server <IP_ADDRESS>/<IP_ADDRESS>:2181, sessionid = 0x1611b8e22980194, negotiated timeout = 40000
18/02/14 17:07:48 INFO TableOutputFormat: Created table instance for default:10trip_test
18/02/14 17:07:48 INFO FileScanRDD: Reading File path: hdfs://<IP_ADDRESS>:8020/lekya/tripdata_sample.csv, range: 0-640, partition values: [empty row]
18/02/14 17:07:48 INFO CodeGenerator: Code generated in 39.177424 ms
18/02/14 17:07:48 INFO TorrentBroadcast: Started reading broadcast variable 6
18/02/14 17:07:48 INFO MemoryStore: Block broadcast_6_piece0 stored as bytes in memory (estimated size 42.0 KB, free 366.0 MB)
18/02/14 17:07:48 INFO TorrentBroadcast: Reading broadcast variable 6 took 34 ms
18/02/14 17:07:48 INFO MemoryStore: Block broadcast_6 stored as values in memory (estimated size 508.8 KB, free 365.5 MB)
18/02/14 17:44:41 ERROR AsyncProcess: Failed to get region location
org.apache.hadoop.hbase.client.RetriesExhaustedException: Failed after attempts=36, exceptions:
Wed Feb 14 17:44:41 IST 2018, null, java.net.SocketTimeoutException: callTimeout=60000, callDuration=68685: row '10trip_test,1,99999999999999' on table 'hbase:meta' at region=hbase:meta,,1.1588230740, hostname=sandbox.hortonworks.com,16020,1518603386098, seqNum=0
at org.apache.hadoop.hbase.client.RpcRetryingCallerWithReadReplicas.throwEnrichedException(RpcRetryingCallerWithReadReplicas.java:271)
at org.apache.hadoop.hbase.client.ScannerCallableWithReplicas.call(ScannerCallableWithReplicas.java:195)
at org.apache.hadoop.hbase.client.ScannerCallableWithReplicas.call(ScannerCallableWithReplicas.java:59)
at org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithoutRetries(RpcRetryingCaller.java:200)
at org.apache.hadoop.hbase.client.ClientSmallReversedScanner.loadCache(ClientSmallReversedScanner.java:211)
at org.apache.hadoop.hbase.client.ClientSmallReversedScanner.next(ClientSmallReversedScanner.java:185)
at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.locateRegionInMeta(ConnectionManager.java:1249)
at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.locateRegion(ConnectionManager.java:1155)
at org.apache.hadoop.hbase.client.AsyncProcess.submit(AsyncProcess.java:370)
at org.apache.hadoop.hbase.client.AsyncProcess.submit(AsyncProcess.java:321)
at org.apache.hadoop.hbase.client.BufferedMutatorImpl.backgroundFlushCommits(BufferedMutatorImpl.java:206)
at org.apache.hadoop.hbase.client.BufferedMutatorImpl.close(BufferedMutatorImpl.java:158)
at org.apache.hadoop.hbase.mapreduce.TableOutputFormat$TableRecordWriter.close(TableOutputFormat.java:111)
at org.apache.spark.rdd.PairRDDFunctions$$anonfun$saveAsNewAPIHadoopDataset$1$$anonfun$12$$anonfun$apply$5.apply$mcV$sp(PairRDDFunctions.scala:1131)
at org.apache.spark.util.Utils$.tryWithSafeFinallyAndFailureCallbacks(Utils.scala:1359)
at org.apache.spark.rdd.PairRDDFunctions$$anonfun$saveAsNewAPIHadoopDataset$1$$anonfun$12.apply(PairRDDFunctions.scala:1131)
at org.apache.spark.rdd.PairRDDFunctions$$anonfun$saveAsNewAPIHadoopDataset$1$$anonfun$12.apply(PairRDDFunctions.scala:1102)
at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:87)
at org.apache.spark.scheduler.Task.run(Task.scala:99)
at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:322)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Caused by: java.net.SocketTimeoutException: callTimeout=60000, callDuration=68685: row '10trip_test,1,99999999999999' on table 'hbase:meta' at region=hbase:meta,,1.1588230740, hostname=sandbox.hortonworks.com,16020,1518603386098, seqNum=0
at org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithRetries(RpcRetryingCaller.java:159)
at org.apache.hadoop.hbase.client.ResultBoundedCompletionService$QueueingFuture.run(ResultBoundedCompletionService.java:64)
... 3 more
Caused by: java.net.UnknownHostException: unknown host: sandbox.hortonworks.com
at org.apache.hadoop.hbase.ipc.RpcClientImpl$Connection.(RpcClientImpl.java:316)
at org.apache.hadoop.hbase.ipc.RpcClientImpl.createConnection(RpcClientImpl.java:130)
at org.apache.hadoop.hbase.ipc.RpcClientImpl.getConnection(RpcClientImpl.java:1326)
at org.apache.hadoop.hbase.ipc.RpcClientImpl.call(RpcClientImpl.java:1204)
at org.apache.hadoop.hbase.ipc.AbstractRpcClient.callBlockingMethod(AbstractRpcClient.java:213)
at org.apache.hadoop.hbase.ipc.AbstractRpcClient$BlockingRpcChannelImplementation.callBlockingMethod(AbstractRpcClient.java:287)
at org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$BlockingStub.scan(ClientProtos.java:32831)
at org.apache.hadoop.hbase.client.ClientSmallScanner$SmallScannerCallable.call(ClientSmallScanner.java:201)
at org.apache.hadoop.hbase.client.ClientSmallScanner$SmallScannerCallable.call(ClientSmallScanner.java:180)
at org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithoutRetries(RpcRetryingCaller.java:200)
at org.apache.hadoop.hbase.client.ScannerCallableWithReplicas$RetryingRPC.call(ScannerCallableWithReplicas.java:346)
at org.apache.hadoop.hbase.client.ScannerCallableWithReplicas$RetryingRPC.call(ScannerCallableWithReplicas.java:320)
at org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithRetries(RpcRetryingCaller.java:126)
... 4 more
This might be the problem.
What can i do to slove this??

Actually i am used master as yarn-client. The problem is due to my yarn resources problem.
I changed my master to local and performed the job.It has been executed successfully.


Add code-based documentation

Now that I've added tooling with documentation generation. Any code comments will get bubbled up and automatically compiled in the repo's github pages.
This issue is to do an initial pass of documenting the actors available in the repository.

@zachmccleaf and/ or @dylanjustice - either of you interested in taking this on given your previous involvement in the repository?

@all-contributors please add @wintondeshong for code, documentation and maintenance

@all-contributors please add @zachmccleaf for code

@wintondeshong Can do!


loadfont changes input path format

loading custom font with loadFont function,
I pass vazir.fnt but loadfunction is looking for vazir.png file!

load custom font
Current Behavior
load font path arg is gets changed.
Failure Information (for bugs)
(node:47432) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, open 'E:\projects\jim-halpert\font.png'

Steps to Reproduce
 const Jimp = require('jimp')
 const path =require('path')
  let fPath = path.resolve(__dirname,'vazir.fnt')
  console.log("fPath", fPath)
  let font = await Jimp.loadFont(fPath);

IF YOUR ISSUE DEPENDS ON A PARTICULAR IMAGE BE SURE TO INCLUDE THIS AS WELL. WE CAN'T REPORDUCE IF WE DON'T HAVE YOUR IMAGE

step 1
step 2
you get it... -->

Screenshots

Context

Jimp Version<EMAIL_ADDRESS>Operating System: windows 10
Node version: 12.16.0

(node:47432) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, open 'E:\projects\jim-halpert\font.png'

fnt files need a png file to work, always comes with 1 or more png files.


BetterMC Plus Example

Adding example for Better MC Plus on 1.16.5
Removed duplicate of ATM7 generic.

Resolves Issue #1620


[BUG] AppAuthentication + EF Update-Database -- The type initializer for 'System.Data.SqlClient.SqlAuthenticationProviderManager' threw an exception.

Describe the bug
We just started using the version 1.2.0 of AppAuthentication, as written about here. We were previously using 1.0.3, without using the access token method. Our QA/Prod database is in Azure, but our development environments use local SQL.
When using a connection string like <add name="ConnectionString" connectionString="Data Source=localhost;Initial Catalog=Database;Integrated Security=SSPI;Column Encryption Setting=Enabled;MultipleActiveResultSets=true" providerName="System.Data.SqlClient" />
And calling EF Update-Database, we get an exception and are unable to proceed with updating the database.
Exception or Stack Trace
System.TypeInitializationException: The type initializer for 'System.Data.SqlClient.SqlAuthenticationProviderManager' threw an exception. ---> System.ArgumentException: Failed to instantiate an authentication provider with type 'Microsoft.Azure.Services.AppAuthentication.SqlAppAuthenticationProvider, Microsoft.Azure.Services.AppAuthentication' for 'ActiveDirectoryInteractive'. ---> System.TypeLoadException: Could not load type 'Microsoft.Azure.Services.AppAuthentication.SqlAppAuthenticationProvider' from assembly 'Microsoft.Azure.Services.AppAuthentication'.
at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName, ObjectHandleOnStack type)
at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName)
at System.RuntimeType.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark)
at System.Type.GetType(String typeName, Boolean throwOnError)
at System.Data.SqlClient.SqlAuthenticationProviderManager..ctor(SqlAuthenticationProviderConfigurationSection configSection)
--- End of inner exception stack trace ---
at System.Data.SqlClient.SqlAuthenticationProviderManager..ctor(SqlAuthenticationProviderConfigurationSection configSection)
at System.Data.SqlClient.SqlAuthenticationProviderManager..cctor()
--- End of inner exception stack trace ---
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)    at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource1 retry, DbConnectionOptions userOptions)    at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource1 retry)    at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.b__36(DbConnection t, DbConnectionInterceptionContext c)
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action2 operation, TInterceptionContext interceptionContext, Action3 executing, Action3 executed)
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext)
at System.Data.Entity.SqlServer.SqlProviderServices.<>c__DisplayClass33.b__32()
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass1.b__0()
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func1 operation)    at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute(Action operation)    at System.Data.Entity.SqlServer.SqlProviderServices.UsingConnection(DbConnection sqlConnection, Action1 act)
at System.Data.Entity.SqlServer.SqlProviderServices.UsingMasterConnection(DbConnection sqlConnection, Action1 act)    at System.Data.Entity.SqlServer.SqlProviderServices.CreateDatabaseFromScript(Nullable1 commandTimeout, DbConnection sqlConnection, String createDatabaseScript)
at System.Data.Entity.SqlServer.SqlProviderServices.DbCreateDatabase(DbConnection connection, Nullable1 commandTimeout, StoreItemCollection storeItemCollection)    at System.Data.Entity.Core.Common.DbProviderServices.CreateDatabase(DbConnection connection, Nullable1 commandTimeout, StoreItemCollection storeItemCollection)
at System.Data.Entity.Core.Objects.ObjectContext.CreateDatabase()
at System.Data.Entity.Migrations.Utilities.DatabaseCreator.Create(DbConnection connection)
at System.Data.Entity.Migrations.DbMigrator.EnsureDatabaseExists(Action mustSucceedToKeepDatabase)
at System.Data.Entity.Migrations.Infrastructure.MigratorBase.EnsureDatabaseExists(Action mustSucceedToKeepDatabase)
at System.Data.Entity.Migrations.DbMigrator.Update(String targetMigration)
at System.Data.Entity.Migrations.Infrastructure.MigratorBase.Update(String targetMigration)
at System.Data.Entity.Migrations.Design.ToolingFacade.UpdateRunner.RunCore()
at System.Data.Entity.Migrations.Design.ToolingFacade.BaseRunner.Run()
The type initializer for 'System.Data.SqlClient.SqlAuthenticationProviderManager' threw an exception.
To Reproduce
I'm not sure I have minimal repro steps. I feel like the issue might be that the SqlAuthenticationProviders list doesn't allow for a local database, only an Azure one. But that's just me guessing at the problem!
Code Snippet
Package Manager Console, EF Update-Database
Expected behavior
I expect that the Update-Database command proceeds to run EF migrations without error.
Setup (please complete the following information):

OS: Windows 10
IDE : Visual Studio 2017
Version of the Library used 1.2.0

Additional context
I've attempted to change the connection string to use Authentication=Active Directory Interactive and using AzureCLI and the Azure connection string, but it doesn't help. What does help is removing the SqlAuthenticationProviders section from web.config, however, we want this section in the web.config so DevOps can use MSI.
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[X ] Bug Description Added
[ ?] Repro Steps Added
[X ] Setup information Added

Thanks for this feedback. I have routed to the appropriate team for follow-up.

Any word on this?

Very sorry to pester, but I'm wondering if this is the correct place to report issues? Does anyone want to talk about this problem? It continues to be an issue for my team that I don't love that we have to work around.

This appears to be fixed in the 1.3.1. Wish there had been some communication, but I'm happy enough.


When I join a server it crashes

http://pastebin.com/Ht3ksgV3

java.lang.NoClassDefFoundError: org/newdawn/slick/UnicodeFont
You need to add Slick.jar into the clientname.jar file


adis16497: add sensor model autodetection

The sensor comes in three variants with different gyro measurement ranges. This patch allows auto-detection of the model at startup and sets the scale factor associated with the particular model.

Needs a test on HW.

@dagar Ready for merge after review.


Package Should Publish its Service File

It would be great if this package could publish it's service files. This way we could configure the client with specific configurations we might want to use.

@GLStephen would you be willing to submit a PR for this?

I can definitely look into it.


Create storage examples for object versioning.

We want an example that queries the versioning status of an object, and example that resets it (with PatchObjectMetadata) and an example that sets object versioning.
Basically we want the examples from here:
https://cloud.google.com/storage/docs/using-object-versioning
but using the C++ client library. A good inspiration would be the event based hold examples:
https://github.com/googleapis/google-cloud-cpp/blob/52b8e180b617452e088bd1ecfd162041a2391465/google/cloud/storage/examples/storage_object_samples.cc#L1256

Does enabling/disabling versioning apply only to buckets or also to objects? From my reading of the docs (and looking at gsutil) it looks like you set that on the bucket. So that should go into storage_bucket_samples.cc, right?
Then I would imagine the rest of the samples there go into sample_object_samples.cc.

Making good progress on this, but I wanted to point out two things: you can't POST object?generation=2 (similar issue to the slashes issue). It is probably not worth fixing, though.
# Doing object?generation=2
object-1552300758-9901.txt%3Fgeneration%3D2
# Doing gcs::Generation{2}
object-1552300758-9901.txt?generation=2

Secondly, not sure if this is a problem on my end or a bug in how DeleteObject handles versions:
  run_example ./storage_object_samples insert-object \
      "${bucket_name}" "${object_name}" "a-string-to-serve-as-object-media"
  # Create an archived version of our object.
  run_example ./storage_object_samples insert-object \
      "${bucket_name}" "${object_name}" "a-string-to-serve-as-object-media"
  run_example ./storage_object_samples delete-versioned-object \
      "${bucket_name}" "${object_name}" "2"
  run_example ./storage_bucket_samples disable-object-versioning \
      "${bucket_name}"
  run_example ./storage_object_samples delete-object \
     "${bucket_name}" "${object_name}"

Where delete-version-object just passes gcs::Generation to DeleteObject. I would expect that the second delete should succeed but it doesn't.

The problem seems to be that the precondition is failing because the generation doesn't match:
('self.generation ', 2)
('For ', {1: <gcs_object.GcsObjectVersion object at 0x7fa4c994eb90>, 2: <gcs_object.GcsObjectVersion object at 0x7fa4c9991f10>})
('Debug: before revisions ', {1: <gcs_object.GcsObjectVersion object at 0x7fa4c994eb90>, 2: <gcs_object.GcsObjectVersion object at 0x7fa4c9991f10>})
('Debug: after revisions ', {1: <gcs_object.GcsObjectVersion object at 0x7fa4c994eb90>})
<IP_ADDRESS> - - [11/Mar/2019:12:54:40 +0000] "DELETE /storage/v1/b/fake-bucket-1552308878-4682/o/object-1552308880-7701.txt?generation=2 HTTP/1.1" 200 2 "-" "gcs-c++/v0.6.0+a422b631 ex Clang 6.0.0 libcurl/7.60.0 OpenSSL/1.1.0g zlib/1.2.11 c-ares/1.14.0"
('self.generation ', 2)
('For ', {1: <gcs_object.GcsObjectVersion object at 0x7fa4c994eb90>})
Precondition failed
<IP_ADDRESS> - - [11/Mar/2019:12:54:40 +0000] "DELETE /storage/v1/b/fake-bucket-1552308878-4682/o/object-1552308880-7701.txt?generation=1 HTTP/1.1" 404 36 "-" "gcs-c++/v0.6.0+a422b631 ex Clang 6.0.0 libcurl/7.60.0 OpenSSL/1.1.0g zlib/1.2.11 c-ares/1.14.0"

you can't POST object?generation=2 (similar issue to the slashes issue). It is probably not worth fixing, though.

That is a fundamental feature of GCS.  You cannot change the contents of an existing object (where objects are identified by bucket + name + generation).  You can only POST and create a new generation of an object.
If you name an object with a name that contains query parameters then I think escaping the query parameters is the right behavior.

Where delete-version-object just passes gcs::Generation to DeleteObject. I would expect that the second delete should succeed but it doesn't.

I expect that the testbench lost track of the "latest" object version, I will try to take a look.

That is a fundamental feature of GCS. You cannot change the contents of an existing object (where objects are identified by bucket + name + generation). You can only POST and create a new generation of an object.

I misspoke. I went back and typed "POST" when I was actually talking about DELETE'ing. I'm aware that when you insert a new object, it creates a new generation.


Set HTTP/SOCKS5 proxy on WhatsApp?

Can I set HTTP/SOCKS5 proxy on WhatsApp?

It doesn't seem to work even locally!

The client doesn't support HTTP or SOCKS proxies. SOCKS "may" come in the future, but it's presently not supported today. You need a straight TCP proxy (which is what we've provided in this repository). Any further client problems, feel free to open a support ticket through WhatsApp, these issues are specific to the proxy itself. Thanks!


Can´t upload image fetched from CameraRoll

Hey there!
I am using React Natives Camera Roll to get my photos. When i upload this to my server from iOS device everything is fine. On Android this won´t work. Is there something additional i have to do, beside adding permissions maybe?
This is how my image looks like before i send it to the server:
 'content://media/external/images/media/142'

First of all how did you upload your image on iOS ?
Then content://media/external/images/media/142 is an URI so you need to use a module that support URI for upload or you need to use the file in base64

@yfuks i am using react-native-fileupload to upload my images to server. Doing this with my iOS device works just fine, but not when i am trying to do the same with my Android device

Since this is not related to this module i close.

@yfuks maybe we should provide a little helper method on the Android side to get the url from a uri. This isn't the first time someone has had trouble with it.
Something like...
ImagePickerManager.getUrl(response.uri)
Thoughts?

in my case using image-picker in android, the uri responded is same like 'content://xxxx'. to upload this file, my approach is here:
  var formdata = new FormData();
  formdata.append('image', {type: 'image/jpeg', name: 'anything.jpg', uri});
  var xhr = new XMLHttpRequest();
  xhr.open('POST', 'http://my.com/api');
  xhr.onload = () => {
     //process server api response here
  }
  xhr.send(formdata);

hopes that help u:D

@marcshilling sorry for the late response !
Yes it could help some people even if i'm sure they could do what they want with the URI ! :)
Great example @kiliwalk !
I will do it soon. Sorry for the lack of attention recently :yum:

Hi, Im trying to upload an image as @kiliwalk posted the example, and I believe it is uploading to the server...
But everytime I do it the server is returning:
[image] => Array
        (
            [name] => anything.jpg
            [type] =>
            [tmp_name] =>
            [error] => 1
            [size] => 0
        )

Does anyone know what's going on? And how I can fix it?
Thanks!

@esganzerla do you solved the problem? now I am using XMLHttpRequest to upload image with progress, but it get as what you mentioned above.


capture(cdc): integrate P2P with server & capture

What problem does this PR solve?

Prepares basic dependencies for the peer-messaging based scheduler to work.

What is changed and how it works?

Uses pkg/tcpserver to listen to the port.
Runs the gRPC server.
Runs the MessageServer.
Maintains the MessageServer, MessageRouter and ServerWrapper in Capture.
Injects MessageServer and MessageRouter into context so that the Owner and Processor can depend on them.
Calls SetOnCaptureAdded and SetOnCaptureRemoved on the global state reactor so that the MessageRouter can be informed of capture membership changes.

Check List
Tests

Unit test
Integration test

Release note
None

/run-integration-tests

/run-integration-tests

/run-leak-tests

Codecov Report

Merging #3932 (b2b02d7) into master (3873d39) will decrease coverage by 1.8573%.
The diff coverage is 51.3972%.

Flag
Coverage Δ

cdc
58.2043% <54.1009%> (-0.0323%)
:arrow_down:

dm
52.6683% <46.7391%> (-3.3663%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.
@@               Coverage Diff                @@
##             master      #3932        +/-   ##
================================================
- Coverage   57.0741%   55.2168%   -1.8574%
================================================
  Files           478        485         +7
  Lines         56551      59203      +2652
================================================
+ Hits          32276      32690       +414
- Misses        20978      23196      +2218
- Partials       3297       3317        +20

/run-integration-tests

/run-integration-tests

/run-verify

/run-integration-tests

/run-leak-tests

/run-integration-tests

/merge

/run-leak-tests

/run-kafka-integration-test

/run-integration-tests

/run-dm-integration-test

/run-dm-integration-test

/run-dm-integration-test

test failed due to https://github.com/pingcap/tiflow/issues/4029

/run-leak-tests
/run-verify


Fixed #24581 -- Added an exception when ManyToManyField._get_m2m_attr() fails to match

This fixes https://code.djangoproject.com/ticket/24581

Re: testing, if it's difficult to trigger indirectly, how about calling the private method with an invalid attr?
Please follow the commit message guidelines from the patch review checklist. Thanks!

@timgraham: unfortunately it only fails when called on an invalid relationship, it works properly when you ask for an invalid attribute of a valid relationship.

@timgraham I've added a test case that explicitly creates a broken relation.

In case you didn't notice, some tests are failing.

I did! I apologize for the delay but work has prevented me from picking this during the week.

Closing due to inactivity.


[Guided Setup Stage 2] Auto-completed task reverts to incompleted

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: v1.4.71-0
Reproducible in staging?: Y
Reproducible in production?:
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://www.expensify.com/_devportal/tools/logSearch/#sort=asc&size=10000&query=request_id%3A"881a6306dadc4164-LHR" AND timestamp%3A[2024-05-10T00%3A00 TO 2024-05-11T23%3A59]
requestID: 881a6306dadc4164-LHR
Expensify/Expensify Issue URL:
Issue reported by: @anmurali
Slack conversation: https://expensify.slack.com/archives/C036QM0SLJK/p1715349235994939?thread_ts=1715336603.190319&cid=C036QM0SLJK
Action Performed:

Sign-up as a new user on NewDot
Choose "Manage my team's expenses" as the onboarding intent
Complete the rest of the flow
Observe the "create workspace" task appears completed (it's strike'd through)
Wait a couple of seconds
Observe the "Create workspace" task now appears incomplete (the strikethrough is reverted)

Expected Result:
We create a workspace when you choose the "Manage my team's expenses" intent, so the "Create workspace" task should remain completed.
Actual Result:
The task completes and then reverts. If you sign out and back in, it appears completed again.
Note: The CompleteTask command that's triggered after CompleteGuidedSetup looks good in the logs, so the working theory is that it's something to do with a pusher event reverting it.
Workaround:
Yes, you can sign-out and sign-in again to see the task completed again. It defeats the point though with infinite sessions
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
https://github.com/Expensify/App/assets/16232057/242eb752-a5a2-4015-b6f0-18e587430e26

Add any screenshot/video evidence

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~0115549a3f259c426f
Upwork Job ID:<PHONE_NUMBER>370433024
Last Price Increase: 2024-05-10

PR is up, still needs more testing

PR is ready for a review

@mountiny Do we need a C+ review for this issue?

@DylanDylann This is a backend issue so no, I will remove your assignment


Fixing ATS issue with iOS 9.

This PR fixes the following issue:
https://github.com/omefire/cordova-plugin-livereload/issues/27

We're releasing iOS 3.9.2 soon - this should ideally not be needed by your code to be done.


fix(docs landing): make docs landing responsive

Changes

Arrange doc landing cards in a column layout whenever the row runs out of space

Preview
Live Preview: https://col-fix-docs.firebaseapp.com/docs/ts/latest/
Before

After

@naomiblack

merged and live!


Unit tests

I think is a good thing to increase the code coverage, isn't it ?
What do you think guys to open an tread only for this ?

100% on the roadmap, that I will improve here on the issues, coverage is low and very fake right now, since acceptance tests are increasing the coverage by 30% or more.
Priority number one the following weeks, feel free to send some PR's if you want/can.
Thanks


Test failures on i386 architecture

The tests fail in an i386 environment. The failures are reproducible:
https://salsa.debian.org/ruby-team/ruby-dry-logic/-/jobs/2211364
https://salsa.debian.org/ruby-team/ruby-dry-logic/-/jobs/2211361
Failures:
  1) Dry::Logic::Predicates#size? with value size is less than n behaves like a failing predicate is expected to equal false
     Failure/Error: expect(predicate.call(*args)).to be(false)
       expected false
            got true
     Shared Example Group: "a failing predicate" called from ./spec/unit/predicates/size_spec.rb:48
     # ./spec/shared/predicates.rb:56:in `block (3 levels) in <top (required)>'
     # ./spec/shared/predicates.rb:55:in `each'
     # ./spec/shared/predicates.rb:55:in `block (2 levels) in <top (required)>'
  2) Dry::Logic::Predicates#size? when value size is greater than n behaves like a failing predicate is expected to equal false
     Failure/Error: expect(predicate.call(*args)).to be(false)
       expected false
            got true
     Shared Example Group: "a failing predicate" called from ./spec/unit/predicates/size_spec.rb:34
     # ./spec/shared/predicates.rb:56:in `block (3 levels) in <top (required)>'
     # ./spec/shared/predicates.rb:55:in `each'
     # ./spec/shared/predicates.rb:55:in `block (2 levels) in <top (required)>'
  3) Dry::Logic::Predicates#size? when value size is equal to n behaves like a passing predicate is expected to equal true
     Got 2 failures:
     Shared Example Group: "a passing predicate" called from ./spec/unit/predicates/size_spec.rb:20
     3.1) Failure/Error: expect(predicate.call(*args)).to be(true)
            expected true
                 got false
          # ./spec/shared/predicates.rb:46:in `block (3 levels) in <top (required)>'
          # ./spec/shared/predicates.rb:45:in `each'
          # ./spec/shared/predicates.rb:45:in `block (2 levels) in <top (required)>'
     3.2) Failure/Error: expect(predicate.call(*args)).to be(true)
            expected true
                 got false
          # ./spec/shared/predicates.rb:46:in `block (3 levels) in <top (required)>'
          # ./spec/shared/predicates.rb:45:in `each'
          # ./spec/shared/predicates.rb:45:in `block (2 levels) in <top (required)>'
  4) Dry::Logic::Predicates#min_size? when value size is greater than n behaves like a passing predicate is expected to equal true
     Failure/Error: expect(predicate.call(*args)).to be(true)
       expected true
            got false
     Shared Example Group: "a passing predicate" called from ./spec/unit/predicates/min_size_spec.rb:20
     # ./spec/shared/predicates.rb:46:in `block (3 levels) in <top (required)>'
     # ./spec/shared/predicates.rb:45:in `each'
     # ./spec/shared/predicates.rb:45:in `block (2 levels) in <top (required)>'
  5) Dry::Logic::Predicates#min_size? when value size is equal to n behaves like a passing predicate is expected to equal true
     Failure/Error: expect(predicate.call(*args)).to be(true)
       expected true
            got false
     Shared Example Group: "a passing predicate" called from ./spec/unit/predicates/min_size_spec.rb:34
     # ./spec/shared/predicates.rb:46:in `block (3 levels) in <top (required)>'
     # ./spec/shared/predicates.rb:45:in `each'
     # ./spec/shared/predicates.rb:45:in `block (2 levels) in <top (required)>'
  6) Dry::Logic::Predicates#max_size? with value size is greater than n behaves like a failing predicate is expected to equal false
     Failure/Error: expect(predicate.call(*args)).to be(false)
       expected false
            got true
     Shared Example Group: "a failing predicate" called from ./spec/unit/predicates/max_size_spec.rb:48
     # ./spec/shared/predicates.rb:56:in `block (3 levels) in <top (required)>'
     # ./spec/shared/predicates.rb:55:in `each'
     # ./spec/shared/predicates.rb:55:in `block (2 levels) in <top (required)>'
Finished in 0.32758 seconds (files took 0.42136 seconds to load)
399 examples, 6 failures

Not sure what to do about it, this doesn't bring much clarity on why this happens

Do you have a suggestion on how we could provide useful debugging information? I'll run it inside our i386 machines and see i fI can reproduce it.

I've created an i386 environment on my machine, cloned the project, ran bundler and then rake spec and I see the same errors. I'd therefor expect that you should be able to reproduce those issues within an i386 environment as well. Ruby version is 2.7.

Right, this is actually a but in tests, they use the size? predicate improperly (by passing an integer instead of a collection or a string). Integer#size returns different values depending on the architecture so here we are...

@dleidert this should do it, thanks for the report

Looks good. The build succeeds now.


New Documents to add

By-Law 1 - Elections.docx
CCSS Constitution (Mar 2016).docx
By-Law 2 – Endorsements and Sponsorships.docx
By-Law 4 - Executive Transition.docx
By-Law 3 - Standing Committees.docx

CSSS Budget 2016-17.docx


[ENH] Clip outliers in FD and SPIKES group plots

This will allow to see the distribution while removing outliers
that force the range shown in the scatterplot.
Fixes #313

How does it look?
I would be careful clipping outliers since outliers are probably what everyone is looking for in those graphs.

https://1333-54756129-gh.circle-artifacts.com/1/home/ubuntu/scratch/out/reports/bold_group.html
It only clips the FD and the SPIKES (num). If we see it works well, we can include the DUMMY (trs).

I have to say I find this misleading. You really have to know that clipping might happen and check all of the extreme data points to see how much of an outlier it really was.

It is. The only real solution to these problems would be implementing
zooming in/out
On Jul 19, 2017 14:48, "Chris Filo Gorgolewski"<EMAIL_ADDRESS>wrote:

I have to say I find this misleading. You really have to know that
clipping might happen and check all of the extreme data points to see how
much of an outlier it really was.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/poldracklab/mriqc/pull/593#issuecomment-316528108,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAkhxuk0eITWo623CaAkfNWgUhpwlPshks5sPnmdgaJpZM4OdB4X
.

Out of the two non-real solutions I would say lack of clipping (and
compression of the main body of the distribution) is a better solution than
misrepresentation due to clipping.
On Wed, Jul 19, 2017 at 2:50 PM, Oscar Esteban<EMAIL_ADDRESS>wrote:

It is. The only real solution to these problems would be implementing
zooming in/out
On Jul 19, 2017 14:48, "Chris Filo Gorgolewski"<EMAIL_ADDRESS>wrote:

I have to say I find this misleading. You really have to know that
clipping might happen and check all of the extreme data points to see how
much of an outlier it really was.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/poldracklab/mriqc/pull/593#issuecomment-316528108,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/
AAkhxuk0eITWo623CaAkfNWgUhpwlPshks5sPnmdgaJpZM4OdB4X>
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/poldracklab/mriqc/pull/593#issuecomment-316528723,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAOkp7YUOWvZjFZvY7Kh2QeStIspIBirks5sPnoygaJpZM4OdB4X
.


Trash bags need an entity whitelist.

Screenshot stolen from peptide

Don't mind doing this tomorrow if nobody has nabbed it.

Unless we want the whitelist to be 30 ID's long is there a preferable way of doing this? Trash tag?


Remove banner

Thank you for the great gem. It is really useful, especially when combined with CsvRecord.
Incidentally, as this gem has already reached version 1, would it be possible to remove the banner? It is quite noisy on the console.
https://github.com/csvreader/csvreader/blob/bf4015721a3668d648bd3dd323191daff9f28c55/lib/csvreader/base.rb#L168

Good point. Changed to:
puts CsvReader.banner    if $DEBUG

Will get out with the next gem update. Cheers. Prost.


Fixed IsLogFromCurrentProject to include all severities

Previously when executing following code LogCleaner would only delete overdue Error log files:
google::EnableLogCleaner(1min);

LOG(ERROR) << "Error hello";
LOG(INFO) << "Info hello";
LOG(WARNING) << "Warning hello";

And if we changed the order to for example:
LOG(INFO) << "Info hello";
LOG(ERROR) << "Error hello";
LOG(WARNING) << "Warning hello";

LogCleaner would only delete overdue Info log files and overdue Error and Warning files were ignored.
To include all severities during LogCleaner's sweep I tested filepath for all severities in a IsLogFromCurrentProject function.

You can extend any of the cleanup_*_unittest.cc, for instance, here
https://github.com/google/glog/blob/ac12a9e79440a2a89cc1c5617bb8f6db02035182/src/cleanup_immediately_unittest.cc#L62-L64
by additionally logging at the missing severities.
Please note that the unit tests need to be updated either way because these are failing now with your changes.

Updated unit test and all checks should pass now hopefully

Unfortunately, the cleanup tests are still failing.

Fixed an issue different way

Closing as abandoned. Please let me know if you want to continue working on this PR.


Fix TaskThread UB on this being destroyed

Same issue as #3 , but with TaskThread

Do not under any circumstances do this, future self


Simplify description; update contact info; switch to semantic version

Closes #1
Closes #8
Changes

Improve info metadata

Todo

Make sure Bookings endpoints properly reflect MaaS Schemas

Deprecated by recent changes and #43


chore: remove @waku/peer-exchange dependency

As per its name, @waku/core aims to contain, and only contains, the minimal set of core functionalities needed for a developer to use Waku in their webapp.
Hence, @waku/core should avoid depending on other Waku packages. If a developer wishes to use functionality from other packages, they should explicitly import such packages.
Moreover, the waitForRemotePeer function is a helper for developer to enable them to have a hence of readiness of the Waku node and hence trigger queries, we do not expect developer to manually trigger peer exchange queries. Instead, we expect this to be handled by the peer exchange discovery class if the developer opts to use said discovery method.
Also, this helper has limits:

Developer usually use waitForRemotePeer and then triggers a query, but there is no link between the peer that resolves waitForRemotePeer and the peer used by the query
A developer may not want to wait for a remote peer with all N protocols but instead, may want to queue queries (store, filter) to be
executed as soon as an adequate peer is available.
The waitForRemotePeer cannot be agnostic to the protocols it waits for, creating dependency issue as the one being fixed in this PR. This remains an issue for Relay that is a good candidate for extraction from @waku/core.

Marking as draft as it needs a bit more work


feat: add mapping for different nodes test

we updated the "scheduled on different nodes" tests so they are skipped on SNO, added mappings for test names that include the [Skipped:SingleReplicaTopology] annotation.
Wait for https://github.com/openshift/origin/pull/29138 to be merged in.
/hold
/cc @stbenjam

/lgtm

/hold cancel
This can merge before hand

/approve


Plugin controls renderers

Dummy PR (for now) so that you can check out the code changes discussed in #580

Coverage remained the same at 49.121% when pulling 5f220bd9d3ac77ab92fbb197935f87cf7a9f0c0b on PeterKottas:plugin-controls-renderers into 8a46a11d282cc5547b61b71a42b1471634ad06f1 on ory:0.4.0.

Hey; I'll give this a review later. 0.4.0 is already merged in master, so please rebase on master :)

Oh man, what a mess. Issue is, I'm out of office the next two weeks and will probably not be able to give this a lot of attention. I'll try to see if I can do this tonight though. Is the whole PR missing?

Actually this is merged. Are you sure you're not mistaken? I checked out 0.4.0, pulled the changes, created a diff patch, applied it to a branch off master and there were only a few code formatting issues. On that node, please disable your autoformat from VSCode, it seriously messes with the PRs and makes them incredibly hard to merge. Please use npm run format only, and run it before every commit.
There was one change which isn't on master at the moment, see screen:

Left side is current master, right side is after applying the patch from 0.4.0. I'm not sure which one is the right one here, do you?

This PR is also messed up because it's based off 0.4.0, please do:
git remote add peter https://github.com/PeterKottas/editor.git
git remote add ory https://github.com/ory/editor.git
git fetch ory
git fetch peter
git checkout peter:plugin-controls-renderers -b plugin-controls-renderers-patch
git patch ory/master > ~/diff-040.patch
git checkout ory/master -b plugin-controls-renderers-new
git apply ~/diff-0.4.0.patch
yarn run format
# Optionally update lockfiles if needed:
# yarn
git push peter HEAD:plugin-controls-renderers-new

Then create a new PR from peter/plugin-controls-renderers-new to ory/master.

Ok, this is strange.
First off, I think the formatting will be resolved now, I see you added a precommit hook to run prettier, so it will just fix whatever I do. (Don't want to mess with vs code settings as then it affects my other projects. I think maybe I could do a project only setting, but with the prettier commit hook, all should work just fine from now on)
Secondly, yeah I branched this off from 0.4.0 initially. I'll try what you suggested.
But most importantly, if you go to https://github.com/ory/editor/blob/master/packages/plugins/content/slate/src/index.js#L51 see the plugins are just copied. But in order for the changes from that PR to be there, it should look something like this :   https://github.com/ory/editor/blob/0.4.0/packages/plugins/content/slate/src/index.js#L53
See the difference, the plugins here are constructed by also adding the inner plugins that are initialized in the plugin objects themselves. There's of course many more changes but this can serve as an example. As a result, if you now go to the live demo, you'll see the lists are not working properly.
Now maybe git tells you it's "merged" but it's definitely not merged properly (unless of course I am missing something)
PS: Looking at this mess now, I think I'll just delete this branch, start new one from master (after this is resolved) and just copy the stuff manually. It will be much simpler. I basically changed just the image plugin, so I'll copy the whole thing over to a new branch and all should work just fine then.

By the way, that diff actually looks good. But if I go to branch (even here in github UI) it's just not there.

In fact, (IMHO) if you just take the right side of https://github.com/ory/editor/pull/570/files#diff-526c2546141374aa41580dbbeac4f826 and the diff you posted before, it might all work just fine. (That PR was basically just fixing the lists)

PS: Looking at this now, I think I'll just delete this branch, start new one from master (after this is resolved) and just copy the stuff manually. It will be much simpler. I basically changed just the image plugin, so I'll copy the whole thing over to a new branch and all should work just fine then.
Use the commands I gave you to do that. No need for manual work!
I'll check out your analysis a bit later and update master

Closed in favor of #587, I think we continue talking about the list changes here though. Hopefully it will be resolved today anyways.


The built-in K3S upgrade in Rancher is stuck

What kind of request is this (question/bug/enhancement/feature request):
question/bug
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI):v2.5.7
Installation option (single install/HA):single install

Steps to reproduce (least amount of steps as possible):
K3S upgrade stuck and repeated prompt (this prompt will close and appear again and again in a few seconds, and keep repeating)

The relevant containers have all been upgraded

The K3S upgraded here is the K3S built into Racher. This result appeared after I clicked the upgrade from the UI. I checked the relevant container logs, but did not find any useful information
#26448

Racher is installed in Docker single-node mode. I tried to use the backup data before K3S upgrade to restore, but the problem still exists, and now upgrade and rollback are not available.

@yl-yue apologies on the slow response. Is this issue still a problem for you?

Yes, it hasn't been resolved. I couldn't get him to stop leveling up, and I couldn't get him to succeed.


Capitalize first letter of page titles and flash messages

Hello!
This is a tiny pull request to display page titles and flash messages using the capitalize_first_letter helper.

Just setting the corresponding wording to capitalized one will enough, I guess...


Add general folding infrastructure.

Create the folding engine that will

attempt to fold an instruction.
iterates on the folding so small folding rules can be easily combined.
insert new instructions when needed.

I've added the minimum number of rules needed to test the features above.
Contributes to #1164.

I'm planning to test on Windows.  I'm having to download various VisualStudio versions.

I manually tested with VS2015 and VS2017.  I'll merge this.

Rebased, squashed, and pushed into master as bc1ec9418


add babel-runtime to NPM package dependencies

per #75

Thanks! I'll published new version soon.

Thanks!


CLI: Print out current open file

Issue Type: Feature Request
Could perhaps be done by changing an environment variable (and unsetting it when editor closes).
Use case for this is when you want to execute a command on a file-by-file basis but want to see the file open in the editor, like running the currently open script from the command line, staging a file with the git CLI etc.
Should probably be opt-in.

@skprabhanjan I think it’s better to wait for a maintainer to OK this since I’m not sure if this should be a feature, was just a suggestion and I wanted to raise a discussion.
But as far as implementing, have at it 🙂

@skprabhanjan I think it’s better to wait for a maintainer to OK this since I’m not sure if this should be a feature; Was just a suggestion that I myself am not sure about, but thought that would be situationally really useful.
But as far as implementing, have at it 🙂

@guywald1 , thanks for that, i will wait for the same :)

An environment variable wouldn't work for this as once the environment is set and the shell is forked off, we can no longer change it. One way to solve this would be to add a CLI to access the current file of the last active window, but it seems like something that would seldom be used. Moving back to you @joaomoreno 😉

Hey! I see that this is marked as out-of-scope, just wondering — does this mean that PRs for this feature would also not get accepted? Or only that the team wouldn't implement it, but PRs from others are good?

@ionagamed I don't think we would accept it tbh, it's a bit of a strange CLI API imo and therefore I suspect would get very little use. We need to be concerned about bloat as well.


Don't duplicate id attr on limit with include

We have tons of arcane code in Core trying to figure out when we're going to run through this code in Sequelize, and we keep finding holes in that logic.  Far simpler just to fix it here.

Approved


Improve keyboard accessibility

[x] add search bar #43

This was resolved with #71

[x] arrow / numpad arrows - to rotate the map
[x] plus / minus -  to zoom in/out
[x] R - to selected random country
[x] L - to rotate back to selected country


Fourier basis not working with Sashimi?

Hi,
I set d_model=128 in Sashimi and set the basis of SSHiPPOKernel in src/models/sequence/ss/standalone/s4.py to Fourier and I am getting the following error:
Traceback (most recent call last):
File "train_boundary_s4.py", line 52, in
model, train_accs, val_accs = train_model(model, (train_boundary, train_label), (val_boundary, val_label), DATASET_LENGTHS, config)
File "/data/al451/ml4fg-project/train_boundary.py", line 108, in train_model
train_loss, train_acc, train_pr, train_rec = run_one_epoch(True, train_dataloader, model, optimizer, device, math.ceil(len(train_dataset)/batch_size), epoch, config['train'])
File "/data/al451/ml4fg-project/train_boundary.py", line 44, in run_one_epoch
output = model(x_cnn) # forward pass
File "/home/al451/.local/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1110, in _call_impl
return forward_call(*input, **kwargs)
File "/data/al451/ml4fg-project/s4_standalone.py", line 353, in forward
x, _ = layer(x)
File "/home/al451/.local/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1110, in _call_impl
return forward_call(*input, **kwargs)
File "/data/al451/ml4fg-project/s4_standalone.py", line 169, in forward
z, _ = self.layer(z)
File "/home/al451/.local/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1110, in _call_impl
return forward_call(*input, **kwargs)
File "/data/al451/ml4fg-project/src/models/sequence/ss/standalone/s4.py", line 866, in forward
y = self.output_linear(y)
File "/home/al451/.local/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1110, in _call_impl
return forward_call(*input, **kwargs)
File "/home/al451/.local/lib/python3.8/site-packages/torch/nn/modules/container.py", line 141, in forward
input = module(input)
File "/home/al451/.local/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1110, in _call_impl
return forward_call(*input, **kwargs)
File "/home/al451/.local/lib/python3.8/site-packages/torch/nn/modules/conv.py", line 302, in forward
return self._conv_forward(input, self.weight, self.bias)
File "/home/al451/.local/lib/python3.8/site-packages/torch/nn/modules/conv.py", line 298, in _conv_forward
return F.conv1d(input, weight, bias, self.stride,
RuntimeError: Given groups=1, weight of size [256, 128, 1], expected input[64, 256, 4000] to have 128 channels, but got 256 channels instead
Any tips on how to resolve this? It seems to me that the Fourier setting doubles the number of channels.

Can you give me a more specific command that you're trying?
Also, can you try going to the v3 branch and using the standalone file there? On that branch I can run the command
python -m train wandb=null pipeline=mnist model=s4 model.layer.measure=fourier which works without problems.

Ok thanks it works. Also, in your How To Train Your HiPPO paper you mention a theorem that says the HiPPO matrices correspond to Fourier basis in the limit where N->infinity. Have you conducted ablations on how large N should be?

I haven't done extensive ablations on the size of N.


Create clean exit path for traffic_manager on SIGTERM

Since the removal of traffic_cop, it appears that there is no way to cause traffic_manager to exit cleanly.  SIGTERM causes the cleanup of child processes and a graceful shutdown, however still exits with code 15.  We can ignore this in the systemd unit file, but it's cleaner to have some path to a clean exit of traffic_manager.

It might also be desirable to add a "--manager" option to traffic_ctl server stop, to be parallel with restart?  I'm not entirely clear on the intended operation, however both the init.d file and the systemd unit use signals today, so a clean way to exit traffic_manager via signal is always valuable.

[approve ci fedora]

@jeredfloyd We do plan to get rid of traffic_manager in the next major release (10.0.0).

[approve ci fedora]

@bryancall Thanks! Once I have 9.x in Fedora I will try to follow future plans a little more closely.

Cherry-picked to v9.2.x


Implement hypercc as a super command of cluster capacity commands.

@ingvagabund

Have run integration tests locally and they pass.

All checks passed, so going to merge it.