Create Luno (Bit-X) Exchange Adapter

https://www.luno.com/en/exchange
API:
https://www.luno.com/en/api

The journey begins...
https://github.com/gazbert/bxbot/tree/bxbot-luno

Closing - still uses HTTP basic authentication - see #13


Introduce rewrite rules.

This would enable code simplifications / fusion.

I think #41 is a prerequisite to this.


Implement era5 land

Support ERA5 land dataset in zampy.

Ok...Linter fails because of another abstract class thingy, due to protocol. Apparently the latest release of mypy is quite picky about abstract class.

It would be nice to keep the type hint here though:
DATASETS: dict[str, type[dataset_protocol.Dataset]] = {

Perhaps use Union[type[dataset_protocol.Dataset], type[ECMWFDataset]]? Then we get type checking in the recipe runner, otherwise the datasets there would resolve to Any.
Although I would have thought we can just provide the protocol as type and things should work: https://mypy.readthedocs.io/en/stable/protocols.html#simple-user-defined-protocols


test

Summary
SUMMARY_GOES_HERE
Full changelog

[Implement ...]
[Add related tests]
...

Issues resolved
Fix #XXX

Comment


added a defualt reason('no reason provided')  to be sent if no reason…

… was provided
I thing this small change might close #65
The form logic is pretty much a blackbox.
Maybe needs more QA?

Love the idea, minimal and elegant.
@Iwan-Ittermann can we implement this logic? Might free up some time for other issues.


Ligatures broken after update

Version: 1.0.75
Platform: Windows 10
Font: Fira Code
Plugin: SSH
Frontend: xterm
Terminus outputs weird gaps when rendering git tags and paths. Closing and restarting all tmux sessions had no effect. Disabling ligatures resolved the issue.
Please note that the issue does not reproduce using hterm and enabling ligatures.

Upstream https://github.com/xtermjs/xterm.js/issues/2028

Lineaturen does also not work here on MacOS with xterm.
hterm works but there are other things broken...
Font: Operator Mono +Lineaturen +NerdFont patched
Version: 1.0.77
Platform: darwin 18.5.0
Plugins: clickable-links, scrollbar, title-control

fixed in the nightly builds

@Eugeny Thanks for all your work. I was curious if ligatures and the outlined issue were fixed in https://github.com/Eugeny/terminus/releases/tag/v1.0.78 ?
I have just updated to that version, but still having issues on xterm with ligatures. I am using Fira Code and it does work with hterm. Thanks.

@dogik - yes - I'm using xterm frontend with Fira Code myself :)
Which OS are you on?

@Eugeny thanks. I am on windows 10 1809. Remote - ubuntu 19.
Weird thing is that I have 3 PCs - two have 1809 and one has fresh 1903. On one of those (which is 1809) ligatures work fine on xterm. I was trying to figure out what is the difference, but couldn't find anything. I copied terminus config file accross all PCs.
I will play around more and let know if I can find what is wrong. Thanks.

Ligatures only work with hterm for me (see screenshot - xterm on the left, hterm on the right).
Terminus 1.0.88
Windows 10 1903 build 18950 (fast ring)
Fira Code

Same thing here: ligatures with Fira Code only work in hterm (but then I loose blinking and underlined cursor).
Using Terminus 1.0.105
Windows 10 1909 (18363.720)

@odalet are you using the xterm or xterm-webgl frontend? xterm-webgl doesn't support ligatures yet.

Sadly, I'm using the xterm engine.

I meet the problem too. I use xterm engine and get the same result. And hterm engine works well.

I'm using the xterm engine and I meet the problem too.

But when I changed the font and switched back to Fira Code again, the problem waas solved.

Win 10 here. Similar problem. No combination of fonts with ligatures work with xterm (or xterm-webgl, indicated above as not implemented).
Fonts with ligatures only appear to work for me with hterm which is by no means a deal breaker for me.


Record both microphone and desktop audio in one stream

My goal
Record both my microphone and my desktop audio in one stream. To clarify, with desktop audio I mean the audio the gets output on my speakers, i.e. if I had music on, then the music should be recorded.
My problem
I can't seem to figure out how to record desktop audio at all. There also seems nothing to be about that topic in the docs. Is the library not meant to be able to do this (Though it seems like it should be possible #359 although it was a bug here)?
Notes
I tried using the examples to record my desktop audio, but no matter which device (which channel=x) I used it would always only record my microphone.
Any help would be greatly appreciated.

Short answer, no this package cannot do this. See https://github.com/spatialaudio/python-sounddevice/issues/287 or one of the many other linked issues for ways to make it potentially work with other tools, depending on your operating system.


Fix(quantic): Error and warning messages logged when introducing invalid property values in quanticCaseClassification

SVCC-423
- Added warning message when introducing an invalid value for the maxSuggestions property (in this case the component fall back to the default value of maxSuggestions):

- Added an error message when the coveoFieldName is missing:

I would suggest if we fall back to default value, we should add the message on the console as well, so the developer will know what's wrong, why it says invalid number, but it still displays something

FYI, for this generic problem of "validate properties/input and display warning", there's @coveo/bueno in this repo, that we use extensively in Headless and Atomic.
You don't have to use it, but it does some nice validation for types, required arguments, maximum and minimum values for number, etc.

FYI, for this generic problem of "validate properties/input and display warning", there's @coveo/bueno in this repo, that we use extensively in Headless and Atomic.
You don't have to use it, but it does some nice validation for types, required arguments, maximum and minimum values for number, etc.

Thanks! I'll take a look👌


fix up engine labels conflicting in 'daemon/config.go and cli/command/system/info.go '

- What I did
Fix up engine labels conflicting when running dockerd cmd with duplicate key-value pairs(such as --lable x=y --label x=y) and docker info.
- How I did it
I just modify two files daemon/config.go and cli/command/system/info.go,and change "if v, ok := labelMap[stringSlice[0]]; ok && v != stringSlice[1]" to "if v, ok := labelMap[stringSlice[0]]; ok && v == stringSlice[1]".
- How to verify it
Run command dockerd --label x=y --label x=y --label x=y and docker info,it will print warning information.
- Description for the changelog
Fix up engine labels conflicting in 'daemon/config.go and cli/command/system/info.go '
Signed-off-by: zhukj<EMAIL_ADDRESS>

Can you squash the two commits into a single one? @zhukj

Does it mater? And can you tell how to squash the two commits into a single one? @allencloud

Does it mater? And can you tell me how to squash the two commits into a single one? @allencloud

@zhukj yes it makes it easier to review.  you can squash by using git rebase -i and then git push -f to your branch.

@zhukj In the current implementation, a warning will be returned if there are conflicting values with duplicate keys. In other words, --label x=y --label x=z will result in a warning.
For duplicate key=value pairs (no conflict), no warning is shown. For example, --label x=y --label x=y will not be a warning.

For duplicate key=value pairs (no conflict), I think they should be integrated into a single one. For example, when we use --label x=y --label x=y to start docker daemon , the command docker info should show only one label, no all duplicate key=value pairs. I think it remains to perfect further. Thanks!

For duplicate key=value pairs (no conflict), I think they should be integrated into a single one. For example, when we use --label x=y --label x=y to start docker daemon , the command docker info should show only one label, no all duplicate key=value pairs. I think it remains to perfect further. Thanks! @yongtang

@zhukj the reason we did not change that behavior is because it would break backward compatibility. See the discussion on https://github.com/docker/docker/pull/24533#issuecomment-232051907. Instead, we deprecated the option, so that we can change it in docker 1.16


Disable double-click on progress bar

[*] Issue does not already exist
[*] Issue observed on https://plyr.io

Expected behaviour
I use some code in order to disable seeking after the current progress of the video, but when i doubleclic on the progress bar the progress goes forward.
I use a native video element not embed from vimeo/YouTube
Actual behaviour
Shouldn't update video progress when i double click on progress bar.
Environment

Browser: Chrome
Version:  54
Operating System: OS X
Version: Sierra

Steps to reproduce

Use script that on click disables seeking forward and enables seeking backwards.
Double click forward on the unwatched progress.

Relevant links

Closing this as it's very old by now and I wasn't able to replicate it.
If you ask at our slack with a link to a jsfiddle, codepen or something similar, the latest Plyr version and minimal code to reproduce your problem I will try to help you.


when device is off, or unreachable, the plugin opens too many connections

it looks like that if one of the configured devices are not reachable ( because temporary disconnected from the power or simply the wifi is not accessible ), the plugin opens tons of connections towards that device.
to test it just disconnect from power grid one device and start looking at the sockets opened towards that device:
root@pi4:~# netstat -tua | grep -c kidslight
9069
root@pi4:~# netstat -tua | grep  kidslight | head -10
tcp        0      1 pi4:48074               kidslight:6668          SYN_SENT
tcp        0      1 pi4:45888               kidslight:6668          SYN_SENT
tcp        0      1 pi4:33980               kidslight:6668          SYN_SENT
tcp        0      1 pi4:58155               kidslight:6668          SYN_SENT
tcp        0      1 pi4:57512               kidslight:6668          SYN_SENT
tcp        0      1 pi4:60236               kidslight:6668          SYN_SENT
tcp        0      1 pi4:47552               kidslight:6668          SYN_SENT
tcp        0      1 pi4:45634               kidslight:6668          SYN_SENT
tcp        0      1 pi4:51574               kidslight:6668          SYN_SENT
tcp        0      1 pi4:38394               kidslight:6668          SYN_SENT
root@pi4:~#
and of course the logs show the connection timeout ([TuyaAccessory Stefano] is logs I have added to count for the connectionAttempts ):
Nov 23 21:47:46 pi4 homebridge[29883]: [TuyaAccessory] Socket had a problem and will reconnect to Kid's Light (Error: ERR_CONNECTION_TIMED_OUT)
Nov 23 21:47:46 pi4 homebridge[29883]: [TuyaAccessory Stefano] Number of connection is 1595
Nov 23 21:47:46 pi4 homebridge[29883]: [TuyaAccessory] Slowing down retry attempts; if you see this happening often, it could mean some sort of incompatibility.
Nov 23 21:47:46 pi4 homebridge[29883]: [TuyaAccessory] Socket had a problem and will reconnect to Kid's Light (Error: ERR_CONNECTION_TIMED_OUT)
Nov 23 21:47:46 pi4 homebridge[29883]: [TuyaAccessory Stefano] Number of connection is 1595
Nov 23 21:47:46 pi4 homebridge[29883]: [TuyaAccessory] Slowing down retry attempts; if you see this happening often, it could mean some sort of incompatibility.
Nov 23 21:47:46 pi4 homebridge[29883]: [TuyaAccessory] Socket had a problem and will reconnect to Kid's Light (Error: ERR_CONNECTION_TIMED_OUT)
Nov 23 21:47:46 pi4 homebridge[29883]: [TuyaAccessory Stefano] Number of connection is 1595
Nov 23 21:47:46 pi4 homebridge[29883]: [TuyaAccessory] Slowing down retry attempts; if you see this happening often, it could mean some sort of incompatibility.
Could be possible to avoid opening a new connection if one is already available towards the same device ?

I’m having this issue as well. Checkout issue #73


Hash and Array accessors don't seem to be defined

When the :hstore and :array types are used, the standard methods for accessing these data types don't seem to update the backing jsonb attributes.
For example, a :string_array attribute doesn't get updated after using '<<' methods.
test_array << 'new element'
Only total replacement using the '=' method is possible.

It looks like Rails is cloning values set via the attribute api so methods that mutate the values you set after setting them won't have any affect. Unfortunately this is a pretty tricky problem to solve. The first idea that comes to mind is to wrap any sort of collection value in some type of object that knows how to essentially set itself on the model it belongs to. That could be very surprising behavior though, ie you've explicitly specified you want an integer array and now you have something that isn't a normal array.
This is similar to an issue I've run into in Rails when using an array field where mutating the array doesn't trigger an attribute_will_change! on the model. If Rails baked something in to address this issue it'd be fairly easy to add on our end. I'd be interested to see a pull request that implements this behavior for jsonb_accessor, but I have some reservations about it. I do agree that mutating the collection objects should update the model.
As far as short term work arounds go, I don't believe there's a way to avoid using the setter. You could use the hash or array, mutate them, and then reset them at the end to avoid using the setter a bunch of times. I think for now that's about as close as we can get to the desired behavior.

I've discovered that the built-in store_accessor doesn't have this issue, so maybe there are some clues in that code on how to get around this.
One of the nice things to be able to do is to define hash an array accessors that returned a default {} or [] instead of nil, so that you could use syntax such as 'obj.test_array << 123', rather than 'obj.test_array ||= []; obj.test_array << 123'.

I've discovered that the built-in store_accessor doesn't have this issue, so maybe there are some clues in that code on how to get around this.

I'll definitely look into that.

One of the nice things to be able to do is to define hash an array accessors that returned a default {} or [] instead of nil

I think that is part of a larger discussion around how setting defaults should work. This has been discussed a bit on a similar project called HstoreAccessor here. I've opened a separate issue for default values here.

<< is actually a problem with plain old arrays as well. If you define an array column type (not json, just standard postgres array) shoveling onto the array will not update the array inside of the model. Since we are piggybacking on most of the ActiveRecord behavior it's not surprising shovel doesn't work on an array inside of a json column.

Closing this for now. I like the idea of this feature a lot but it seems like a lot to implement and maintain. Might revisit after the 1.0 release.


blender: 3.3.1 -> 3.4.1

Description of changes
New stable version of Blender:
https://www.blender.org/download/releases/3-4/
I don't have a Mac, so I wasn't able to test any of the changes in this PR, however I have verified that it works on Linux.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Blender is already 3.5


what if i want to update the username.

i used this to set user in firechat.
chat.setUser(
user.uid,
logged_username//"firebase_17"
);
but when user update their profile in my site then their upcoming should sent message should have latest updated username.
can i use chat.setUser() again and again whenever my end user update their profile.   i can update displayName and email many time in firebase but firechat do not use displayName of firebase to show the username in chatbox.

You have to go into the database and delete room-users, then refresh


Color problem

Reported from Nick:
In some windows I have strange colors of scrolls. Look lease at the
attached screenshots. (green is good, red is the bad one).
I have the same problem on a few other RDP clients. But another RDP clients
don't have such problem.

Working on current master 3c7cc555a5a5f02366918be7eb935bb1f22115ef


Image loading

Hiding gallery titles, gallery buttons, TASL buttons and image captions until images have loaded to prevent the awkward flash of incorrectly positioned elements.
And adding a double 'L' animation to indicate image loading.

#goldentime

@davidpmccormick titleStyle needs typing.


dropdown.js: Avoid calling jQuery('#')

Calling jQuery('#') is considered a syntax error in jQuery 3. [1]
This change avoids this issue, similar to the change in arrow.js
introduced in #20019.
[1] https://jquery.com/upgrade-guide/3.0/#breaking-change-jquery-quot-quot-and-find-quot-quot-are-invalid-syntax

Note that support for v3 has mostly ceased. Please let us know if this affects v4. Pinging @mdo as we might want to backport this to v3 anyway (?).

Currently it's not the case in V4 for dropdown.js
https://github.com/twbs/bootstrap/blob/v4-dev/js/src/dropdown.js

Since Bootstrap v4 is not out yet, but jQuery 3 is, I would argue that this is worth considering. Otherwise, Bootstrap's dropdown.js script just throws JS syntax errors whenever included. This caused some application errors on my side.
Re v4 - as far as I can tell, this is already handled there.

Punting as a won't fix given v3's status.

FYI it seems this was resolved in 2ccfa57467c0e31ec2016d1be03c55184ce8a69d.


Get Twitter card player working for every pinecast.co site

[ ] Get whitelisted
[ ] Style tweaks to player

Pending Twitter approval!


Blinkt won't light

Hello. Thank you for creating this repo and for the time it took to set up. I completed the step to get the code installed on my Raspberry Pi 3B but my Blinkt is not lighting up when I send it an update color command. I will attach some screen shots to this issue of my Azure setup. The task manager in Raspberry Pi OS shows the BusyLight/app.py running. Outside of a bad piece of Blinkt hardware can you think of any reason why this won't light? Any help is appreciated. Thank you.

Azure IoT hub shows connection to the device.

It appears that commands are getting to and coming back from the Pi.

This is what I get when I open the pending commands link. Pending commands suggest a problem to me but I have never used this Azure offering before.

I am going to dive into my first python experience and see if I can find some code and/or instructions to try and simply light this Blinkt.

My hardware appears to be the problem. I ran the instructions to light the LED's on the Blinkt from the manufacturer and nothing worked. Please close this issue. Thanks.

OK, will close. Thank you for raising this and investigating!


Remark about usability & possible enhancement

I mostly use menus such as nwg-menu as a keyboard-driven launcher for applications.
Typically I would:

open the menu (I use +n ('n' as in new window)
type the first few letters of the application I want to launch
hit <Enter> to launch said application.

The way it is done in gnome's overview suits me to a tee: either the letters I typed point unambiguously to a single application or the application I have in mind is the first one of a list of several. So that in both cases hitting <Enter> starts the correct application. Only in the event the application I need is not the first one listed do I have to hit the <Tab> key until the application I want to launch is highlighted.
With nwg-menu, say I type 'firef' then 'Firefox Web Browser' will come up by itself but if I hit the <Enter> key nothing happens: I have to hit the <Tab> key anyway so as to highlight/select 'Firefox Web Browser' and **then ** hit the <Enter> key. I think the extra keyboard action (hitting the <Tab> key) is unnecessary.
Likewise, (with the current state of my system) typing 'fir' will bring up 'Firefox Web Browser' and a couple more applications. But Firefox is the one at the top of the list. In this case it would be better that when I hit <Enter> the first application in the list be launched. But here again I have to hit the <Tab> key to select  it before I hit <Enter>.
So I would make it necessary to hit the <Tab> key a number of times (once, twice, etc.) only when there are several applications listed and the one that the user wants to launch happens not to be the first one - e.g. when for instance you type the name of the application and both the beta version and the stable version come up and the one you want is not to be the first one listed).
Though a minor enhancement in appearance I believe this would be much appreciated by people who keep their eyes on the screen at all time — aka. touch-typists.

This has already been done in nwg-drawer, but not yet in nwg-menu. Both applications share the same code base, however, all the latest fixes have been done in nwg-drawer, and are still waiting to be back ported to nwg-menu. In real life my launcher is nwg-drawer, so the menu must wait awhile for new fixes.
Apart from minor contributions, all the nwg-shell stuff is one man job so far. I will be adding latest solutions to the menu in the nearest future. Please be patient.


Incorrect duplicated logging of missing configuration

[WARN ] 2021-06-10 15:21:37 Configuration file not found in directory where diktat is run (null) or in the directory where diktat.jar is stored (null) or in system property <diktat.config.path> (null), the default file included in jar will be used. Some configuration options will be disabled or substituted with defaults. Custom configuration file should be placed in diktat working directory if run from CLI or provided as configuration options in plugins.

I can see that the only place where we log it is DiktatRuleSetProvider#get(). Do you know how to reproduce incorrect behavior? Especially nulls in the message are strange

Oh, I see, at https://github.com/cqfn/diKTat/blob/6dec699fe81a53ee7fb9609e02ec82fed6483a5b/diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/rules/DiktatRuleSetProvider.kt#L106-L108 we check if file exists. So if no files exists out of these three, we will log three nulls in the message.


Issues4 break file

This is the first pass to break the driver.go into the following files:
driver.go
splunk_logger.go
message_processor.go
hec_client.go

Yes I packaged the plugin and did a  test run


Bower support

I would like to add Tinyscoll to my projects using Bower, which is pretty simple and convinient.
This is up to you, you should (or not) do that. Here are instructions: http://devhike.blogspot.sk/2013/06/how-to-register-your-library-or.html

I can lookup Tinyscrollbar via Bower so it's resolved. Closing


Separate SkillMMO experience from Minecraft experience to prevent things like dying from being a cheap way to gain exponential experience

[Note from repo owner: The original title of this was "SkillMMO with You're in a Grave Danger," but this covers more than just integration with this mod, so it was renamed to this.]
Is your feature request related to a problem? Yes, It is.
When you die, there's a grave with all your experience and Items but, when you retrieve your items, you retrieve also an amount of experience that you died with.
Describe the solution you'd like
May SkillMMO can have it's own way to get experience to integrate with Mods like Dark Questing or even other mods with quests to achieve experience but on other way like it's own quests or a new xp bar that work like the vanilla one but with a different way to acquire xp.

Great idea, thanks!
I'll also add that it's an existing issue with running SkillMMO alone too, since you can get a lot of experience by picking up your old experience after dying or similar 😅
It's something I'm hoping to work on soon(ish) to find a way to make experience independent of Minecraft's experience, or to make only certain Minecraft experience contribute to SkillMMO experience. This will probably take a while for me to come to a solution and implement it, so watch this space! 😓

I was able to effectively solve this issue in my own Modpack by using a feature from the UniversalGraves Mod.
The mod creates gravestones with your items and XP inside it, but you can alter the XP type returned when you retrieve your Grave. Doing this, prevents additional "duping" of your XP with SkillMMO. Quite nifty, strongly recommend.

you could make that the XP is consumed in order to level up, that way is impossible to dupe XP


Possible bug in standard API v2.0 after upgrading to version 22

One of our customers can’t create new sales orders with the API after upgrading to version 22 in a sandbox. It looks like when we do deep insert it wants to modify the systemId for some reason. The issue disappears if we remove field "sequence" from our salesOrderLines so something goes wrong when we specify the lineNo while creating new orders.
Endpoint used
POST: https://api.businesscentral.dynamics.com/v2.0/{{tenantId}}/{{environment}}/api/v2.0/companies(e9977d19-b8cb-ec11-8e7e-0022489e8f10)/salesOrders
Body
{
"number": "SE1339",
"externalDocumentNumber": "24124",
"orderDate": "2023-04-17",
"customerNumber": "300326",
"currencyCode": "SEK",
"pricesIncludeTax": false,
"phoneNumber": "00000000000",
"email"<EMAIL_ADDRESS>"salesOrderLines": [
{
"sequence": 10000,
"lineType": "Item",
"lineObjectNumber": "XWJA0020202M-004",
"description": "Test",
"unitOfMeasureCode": "STYCK",
"quantity": 1,
"unitPrice": 895.50
}
]
}
Error
{
"error": {
"code": "Internal_ServerError",
"message": "You cannot change the value of the SystemId field.\r\n\r\nTable: Sales Line\r\n\r\nIdentification fields and values:\r\nDocument Type='Order',Document No.='SE1339',Line No.='10000'  CorrelationId:  36c1f250-2bb7-4eb7-ad57-87c3909a628e."
}
}

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 55559.


Fix Trade Order type

Fix incorrect SDK Trade Order type.
Replicating bestOrder object

Please review @tiero @louisinger

test specs should refelct new types?


Parsely 2.4.4 does not "see" change events when using custom  libraries like chosen

Parsley does not correctly validate when a select item is changed when using almost any jquery plugin or JS library that customizes <select> dropdowns and the onchange event is raised by the library. It seems inputevent.js library that Parsely now uses is eating this event as 'fake'
I've tested v2.0.7 vs 2.4.4 and can reproduce this bug:
V2.0.7: In the following example, https://jsfiddle.net/wph81s72/, if you change the dropdown the validation is performed on each change. For example, select a country and then change it back to "Select country..." and note that the validation message is displayed without needing to click the submit button. This is good.
In this example jsfiddle, using the latest version of Parsley, this functionality is now broken. No events are actually received by Parsley for onchange due to I think the inputevent library seeing them as fake events as they're raised by chosen.js to simulate the select element being changed.

Sorry about above formatting, for some reason whatever markdown I enter is stripped :/

It's probably chosen that doesn't respect the spec in triggering input events... My inputevent library aims at patching old browsers, but not incomplete libraries. I could add an option somehow to be more agressive though (as triggering too many input events isn't as bad as not triggering any).
Let me check chosen's code

FYI, fix for this has been merged in chosen, next release will be ok.

@marcandre thanks a million for the update and for the PR that you did for chosen :)
A brief test confirms it works for us. I'll close this ticket.

FYI, chosen 1.7.0 has been released and should address this issue.


Draco GBLs no longer load in 1.55

Example project: https://playcanvas.com/project/730372/overview/loading-draco-compressed-glbs
No error in console

maybe related https://github.com/playcanvas/engine/issues/4413

Engine example is fine: https://playcanvas.github.io/#/graphics/multi-view
But the Editor WASM module method is not

sorry what's the issue?

On 1.55 in the Editor, Draco GLBs cannot be loaded at runtime

Direct link: https://launch.playcanvas.com/1017807?debug=true&use_local_engine=https://code.playcanvas.com/playcanvas-1.55.1.dbg.js

oh FFFFF?$%!

Yeah, my larger concern is that it may affect other WASM module assets in the Editor that people are using

no it's a logical error in glb-parser. will submit a fix soon.

(the decoder module is loading fine)


Exporting JS methods in index.js

Thanks for this! Really helpful to get started on creating native modules for react native projects.
I'm currently creating a library for react native and I was wondering if it's possible to write my own JS wrapper (possibly in index.js) and export those instead of exporting native modules? I was trying to write a dummy method but seems like I couldn't get export of that to work

Yes it should be possible to export your own JavaScript wrapper object around the original object from NativeModules.
My one advice would be to design the native module API to strive for a minimal amount of JavaScript that is in the native module, with a larger wrapper object or wrapper object factory in one or more separate JavaScript module.
In case of continued issues with the JavaScript wrapper object, I would recommend that you post a minimal reproducible example.

Closing for now. In case you have further questions or can produce a minimal reproducible example please do not hesitate to post here are in a new issue.


Add support for game controllers using InControl

This should fix #3, and let people use controllers as well as the keyboard/mouse input. I'm using the InControl package here, which is good because it contains mappings for heaps of different controllers already.
The only thing that might be messed up here is me modifying the .unity files. I had to edit them to add the InControl controller object, but I'm not sure how Git will handle them.

Just had to force push a change, forgot a silly meta file.


Error loading Sensibo

Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (hass --version): 0.54.0
Python release (python3 --version): 3
Component/platform: docker image official
Description of problem: Error loading Sensibo
2017-10-04 09:08:54 ERROR (MainThread) [homeassistant.components.climate] Error while setting up platform sensibo
Traceback (most recent call last):
  File "/usr/src/app/homeassistant/helpers/entity_component.py", line 164, in _async_setup_platform
    SLOW_SETUP_MAX_WAIT, loop=self.hass.loop)
  File "/usr/local/lib/python3.6/asyncio/tasks.py", line 358, in wait_for
    return fut.result()
  File "/usr/local/lib/python3.6/asyncio/futures.py", line 245, in result
    raise self._exception
  File "/usr/local/lib/python3.6/asyncio/tasks.py", line 180, in _step
    result = coro.send(None)
  File "/usr/src/app/homeassistant/components/climate/sensibo.py", line 55, in async_setup_platform
    devices.append(SensiboClimate(client, dev))
  File "/usr/src/app/homeassistant/components/climate/sensibo.py", line 76, in __init__
    self._do_update(data)
  File "/usr/src/app/homeassistant/components/climate/sensibo.py", line 87, in _do_update
    temperature_unit_key = self._ac_states['temperatureUnit']
KeyError: 'temperatureUnit'

I believe this was fixed by #10801


when i tried to use keras.backend.scatter_nd got different types (tensor(int64) and tensor(float) in nodedifferent types (tensor(int64) and tensor(float) in node error

keras requires to me use index int32 or int64 type but onnx said like that
so how can I use scatter_nd in keras layer;;;;....

We recently have a fix on scatter_nd and should fix this issue. Please pull keras2onnx master and retry.

thanks to reply i hope it will can soon

It is already working now. Just pull keras2onnx master and try it.

what do u mean?
pull keras2onnx master?
I don't understand what u mean

Please check Readme about installing from source:
pip install -U git+https://github.com/onnx/keras-onnx

thanks to answer ^^


Expose shouldShowRequestPermissionRationale

Why it is needed?
Hi, would you be open as to expose shouldShowRequestPermissionRationale Android method?
This is needed when you want to have a custom rationale screen and not an Alert.
Currently one can access it from NativeModules but this is not very safe as this is an internal thing right now.
Thanks
Possible implementation
Maybe naming it android_shouldShowRequestPermissionRationale or something like this to indicate this is an Android-only method.
Code sample
No response

Latest version allows () => Promise<boolean> as rationale parameter, allowing you to perform whatever you want and just returns the user choice 🙂


The path to an application .dll file to execute.

Problem encountered on https://dotnet.microsoft.com/learn/dotnet/hello-world-tutorial/install
Operating System: windows
Provide details about the problem you are experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

when i run command prompt with dotnet, it returns the below response
Usage: dotnet [options]
Usage: dotnet [path-to-application]
Options:
-h|--help         Display help.
--info            Display .NET Core information.
--list-sdks       Display the installed SDKs.
--list-runtimes   Display the installed runtimes.
path-to-application:
The path to an application .dll file to execute.

@sasikalath  Looks like this is the expected behavior when you just run dotnet at the prompt.
What's the issue here? Thanks.

Closing due to lack of response; please re-open if you can provide detail.


Allow user to configure if they should use local file system for review

Describe what this PR does / why we need it
Allow users to configure if they want to use local fs when doing a review.
Does this pull request fix one issue?
No, but addresses comments in discussion https://github.com/pwntester/octo.nvim/discussions/225#discussioncomment-4177857
Describe how you did it
Add field to configuration and use it to determine if local fs should be used.
If use_localfs is true and user initiates a review at a branch other than the PR branch, ask if we should checkout to PR branch.
Most of the code had previously been commented out, but seemed to work assuming the review branch is checked out.
Describe how to verify it
Set use_localfs = true and check path of right pane. If used from branch other then PR branch you have to confirm checking out branch.
Special notes for reviews
I made a synchronous version of the checkout util since I had to wait for swapping to PR branch before proceeding to Review layout. If you have suggestions for how I can avoid doing this it would be appreciated.

Thanks for the PR! It looks good to me, I think that warning the user about the branch change should be enough so we can let him revert changes on his own. Need to check if we need to change branches somewhere else such as when reviewing at commit level and changing to a new commit

I renamed use_localfs to  use_local_fs. 👍
I'm a little uncertain about the changing brances at Review:focus_commit(right, left). From what I could tell that is only called when using the Octo review commit command, and I assume you at that point you have decided to checkout a branch or not at that point. Are you thinking that we chould be checking out the right commit?

Is anything missing to have this merged? 🙏

Was testing this a little today and has been working nicely for me so far - thank you!

Is anything missing to have this merged? 🙏

There is one part still remaining before this is ready to me merged, which is to checkout the different commits when doing :Octo review commit. I paused my work on the PR over the holidays, but will try to finish it soon. 😅

I was testing this out a bit today and it was super nice having LSP for navigating complex changes, seeing linter warnings, etc. @NWVi thank you for implementing this!

works for me, very eager to get this functionality

I think, it should be tested enough so merging it. If you find any bugs please report


feat: sso integration

Fixes #3166
Describe the changes you have made in this PR -

[x] added a gem devise_saml_authenticatable
[x] added attribute-map.yml (This tells Devise SAML what attributes returned from the Id Provider map to which attribute of your User model.)
[x] added devise configuration
[x] added route for controller under user scope
[x] added UI

Note: Please check Allow edits from maintainers. if you would like us to assist in the PR.

Coverage decreased (-0.4%) to 81.391% when pulling 42467e8f8b8081a45790dedb3a2617e9c721b556 on vedant-jain03:GSoC22_SSO_integration into eebdcd7a1ffa7b8ed16c62bb77a688270dbcd2db on CircuitVerse:master.

Great 👍


image_layer.proto not valid when compiled to Ruby (for Cloud Controller)

Cloud Controller has not recompiled the BBS protos in some time, and when I attempted to do so, the ruby client library was invalid.
The image_layer.proto has some lower case enums in it and this leads to invalid Ruby. This is a known issue, but does not look like it will be fixed anytime soon.
I think the only path forward is to replace all the proto enums with Capitalized versions.
The bug is ultimately in the ruby client generator. It is possible this would go away if BBS upgraded to proto3, since that is a different generator with better support.

Hey, @charleshansen, I'm a little confused with the reference to https://github.com/protocolbuffers/protobuf/issues/1965. Is this also an issue if you follow https://github.com/cloudfoundry/bbs#generating-ruby-models-for-bbs-models and use https://github.com/ruby-protobuf/protobuf? Or are the BBS's Ruby generation docs out of date?
/cc @jvshahid @tcdowney

I believe the issue was filed in protobuf as a way to fix bugs in ruby compilers in general. I actually used  the capi wiki to compile the protos. This does differ slightly from the bbs docs, I can try those too. It is difficult to compile ruby in proto2 syntax unless you manually downgrade an unknown set of libraries, so no guarantees.
I also found https://github.com/ruby-protobuf/protobuf/issues/326, which indicates this issue has been fixed in ruby-protobuf, so there is some hope.

I tried to generate the .rb files using the method we documented in the README and got the following enum in image_layer.pb.rb:
    class DigestAlgorithm < ::Protobuf::Enum
      define :DigestAlgorithmInvalid, 0
      define :sha256, 1
      define :sha512, 2
    end

when I tried loading the image_layer enum in an irb session I got the following:
NameError: wrong constant name sha256
        from /home/jvshahid/.rvm/gems/ruby-2.2.3/gems/protobuf-3.8.4/lib/protobuf/enum.rb:60:in `const_set'
        from /home/jvshahid/.rvm/gems/ruby-2.2.3/gems/protobuf-3.8.4/lib/protobuf/enum.rb:60:in `define'
        from /tmp/ruby-proto/image_layer.pb.rb:23:in `<class:DigestAlgorithm>'
        from /tmp/ruby-proto/image_layer.pb.rb:21:in `<class:ImageLayer>'
        from /tmp/ruby-proto/image_layer.pb.rb:20:in `<module:Models>'
        from /tmp/ruby-proto/image_layer.pb.rb:14:in `<top (required)>'
        from /home/jvshahid/.rvm/rubies/ruby-2.2.3/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:121:in `require'
        from /home/jvshahid/.rvm/rubies/ruby-2.2.3/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:121:in `require'
        from (irb):2
        from /home/jvshahid/.rvm/rubies/ruby-2.2.3/bin/irb:11:in `<main>'

do be fair, the protobuf style guide mention that enum constants should be CAPITAL_WITH_UNDERSCORES. I played around with changing the enum values to start with upper case and I think this can work, except that it breaks json serialization. @emalm do you feel strongly about the json serialization ?

alternatively, we can add to the docs that the env variable PB_UPCASE_ENUMS need to be set in order to guarantee valid ruby protobufs. The only concern in this case is that all enum values will be upper case which will break other code, for example code that use Task's State enum values. They will change from Pending to PENDING

@jvshahid Sure, I'd be fine with changing the JSON serialization to have title- or upper-case renderings of the enum values. I vaguely recall discussion during https://www.pivotaltracker.com/story/show/158948633 when we initially thought that would be difficult for other reasons – maybe Golang capitalization conventions?
@charleshansen @tcdowney would setting the PB_UPCASE_ENUMS env var during Ruby code generation be of interest to you?

I think it would be alright to use PB_UPCASE_ENUMS (as long as we update the docs). I believe that state always should be all caps when presented to the user anyway, so it wouldn't be a big deal to change it. It is possible some CAPI code will have to change to accommodate this but I don't expect it to be expensive.
I still have a minor preference to make the change in BBS just to follow the styleguide and to avoid special-casing our compile process, but otherwise both options are fine by me.

Discussed further with @jvshahid and the rest of the Diego team, and we're planning to switch these enums to UPPER_CASE to match the Protobuf style guide for enums:

Use... CAPITALS_WITH_UNDERSCORES for value names.


Support for just to send typing indicator without requiring replying to a message

Hi, is there any support to just send reply indicator without replying to a message?

Hi @indrasantosa! There sure is.

Thanks @jgorset


Release versions for the role

It's great that the role is now available on ansible galaxy. But it would be even better if there were tagged/released versions so we can identify the need for an upgrade (and then actually perform an upgrade).
This could also probably accompany a simple CHANGELOG file to assist to identifying problematic changes.

No problem. I'll add version tags before syncing to Ansible Galaxy. https://github.com/borgbase/ansible-role-borgbackup/releases/tag/v0.8.0


Completed assignment1

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
Filled in SQL code for assignment 1
What did you learn from the changes you have made?
I learned how to create basic queries, create variables using CASE, create temp tables and insert rows, and use with
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
N/A
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
Challenge of using ROUND and CAST to show total spending as 2 decimal places for the Date question but couldn't figure it out
How were these changes tested?
Browsed the databases and performed some manual calculations to spot check
A reference to a related issue in your repository (if applicable)
N/A
Checklist

[ X ] I can confirm that my changes are working as intended

Hi. You have unfortunately made a pull request to the wrong repo. You shouldn't be making a pull request to uoft-dsi/sql, but rather your own forked sql repo. Please see further instructions on your onboarding Assignment Submission Guide.


create a command for creating docker images via kedge

on the fabric8-maven-plugin we have to handle the case that:

the user is running on kubernetes or OpenShift with access to the docker socket; so perform docker builds via the docker CLI tool  using a Dockerfile (or a default ONBUILD Dockerfile for various standard languages like node / go / dot net etc).  e.g. https://github.com/fabric8io/fabric8-jenkinsfile-library/blob/master/golang/ReleaseAndStage/Jenkinsfile#L12-L13
the user is running on OpenShift without access to the docker socket; then either

use a S2I binary build (generating the BuildConfig on the fly) and POST the tarball of the binary to use
use a docker build in OpenShift (generating the BuildConfig on the fly)

It might be nice to add this logic into kedge so that folks can build images on kubernetes or openshift using other languages/frameworks/build tools other than Java + maven + fabric8-maven-plugin. Then after a language specific build tool (make / npm / grunt / gulp / gradle / whatever) has created the binary or artefact(s) and we just need to take the generated file(s) and create the docker image using whatever strategy suits the current cluster.
So something like
$ kedge build --dockerfile=Dockerfile myuser/myimage:${VERSION} ./build/mybinary
Running on OpenShift so defaulting to using S2I build
Generated foo-s2i
Building....
Image created: myuser/myimage:1.2.3

Starting with vanilla support for running the necessary docker or oc CLI tools would be a good start.
Later on it might be nice to also support the Google Container Builder too: https://cloud.google.com/container-builder/docs/ for folks using kubernetes

I would like to take a stab at the build story for kedge!

This needs to be discussed though, with one approach at a time.

@surajssd We probably will have to break this task into smaller tasks before you start implementing it.

yeah, we could separate out the different strategies...

lazily create if required a S2I binary build on the fly (like fabric8-maven-plugin's build goal does if using OpenShift)
use the OpenShift Docker binary build strategy if its available (usually its not) ;)
use the docker socket if its available (e.g. on kubernetes) and use the docker build CLI to do it
use Google Container Builder


Add call creation

What started as tying calls to user became so much more. Adds a slew of controller and model tests for call,

Requires that a call be tied to a user
Adjusts controller to fit that behavior
Adds tests on the model and controller levels to confirm most of the call controller and object behaviors
Adds a user method to get a call's creator
Other assorted tidying

Fixes #155

Oh word! Thx for flagging @Kevin-Wei -- I'll create an issue for the backlog.


Synthesis failed for python-memcache

Hello! Autosynth couldn't regenerate python-memcache. :broken_heart:
Here's the output from running synth.py:
y commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at e0ae456 chore(python): use 'setup.py' to detect repo root (#795)
2020-10-10 05:48:48,375 autosynth [DEBUG] > Running: git branch -f autosynth-616
2020-10-10 05:48:48,379 autosynth [DEBUG] > Running: git checkout autosynth-616
Switched to branch 'autosynth-616'
2020-10-10 05:48:48,383 autosynth [INFO] > Running synthtool
2020-10-10 05:48:48,383 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-10-10 05:48:48,384 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-memcache/616/sponge_log.log
2020-10-10 05:48:48,386 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-10-10 05:48:48,661 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-memcache/synth.py.
On branch autosynth-616
nothing to commit, working tree clean
2020-10-10 05:48:48,800 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-10 05:48:48,809 synthtool [DEBUG] > Ensuring dependencies.
2020-10-10 05:48:48,815 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-10 05:48:48,820 synthtool [DEBUG] > Cloning googleapis.
2020-10-10 05:48:48,820 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-10-10 05:48:48,824 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest
latest: Pulling from gapic-images/gapic-generator-python
Digest: sha256:49c51ef3987a158fd364837ed097070218c3127fe19a57b74992097fc1282859
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest
2020-10-10 05:48:49,730 synthtool [DEBUG] > Generating code for: google/cloud/memcache/v1beta2.
Traceback (most recent call last):
  File "/usr/local/bin/protoc-gen-python_gapic", line 8, in <module>
    sys.exit(generate())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/gapic/cli/generate.py", line 63, in generate
    res = generator.Generator(opts).get_response(api_schema, opts)
  File "/usr/local/lib/python3.7/site-packages/gapic/generator/generator.py", line 100, in get_response
    template_name, api_schema=api_schema, opts=opts)
  File "/usr/local/lib/python3.7/site-packages/gapic/generator/generator.py", line 285, in _render_template
    opts=opts,
  File "/usr/local/lib/python3.7/site-packages/gapic/generator/generator.py", line 313, in _get_file
    api=api_schema, opts=opts, **context
  File "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 1090, in render
    self.environment.handle_exception()
  File "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 832, in handle_exception
    reraise(*rewrite_traceback_stack(source=source))
  File "/usr/local/lib/python3.7/site-packages/jinja2/_compat.py", line 28, in reraise
    raise value.with_traceback(tb)
  File "/usr/local/lib/python3.7/site-packages/gapic/templates/%namespace/%name_%version/%sub/services/%service/async_client.py.j2", line 1, in top-level template code
    {% extends '_base.py.j2' %}
  File "/usr/local/lib/python3.7/site-packages/gapic/templates/_base.py.j2", line 5, in top-level template code
    {%- block content %}
  File "/usr/local/lib/python3.7/site-packages/gapic/templates/%namespace/%name_%version/%sub/services/%service/async_client.py.j2", line 41, in block "content"
    {% for message in service.resource_messages|sort(attribute="resource_type") -%}
  File "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 471, in getattr
    return getattr(obj, attribute)
  File "/usr/local/lib/python3.7/site-packages/gapic/utils/cache.py", line 39, in inner
    self._cached_values[fx.__name__] = fx(self)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1059, in resource_messages
    for method in self.methods.values()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1067, in <genexpr>
    method.lro.response_type if method.lro else method.output
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1055, in gen_indirect_resources_used
    yield self.visible_resources[resource_type]
  File "/usr/local/lib/python3.7/collections/__init__.py", line 916, in __getitem__
    return self.__missing__(key)            # support subclasses that define __missing__
  File "/usr/local/lib/python3.7/collections/__init__.py", line 908, in __missing__
    raise KeyError(key)
KeyError: 'locations.googleapis.com/Location'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
2020-10-10 05:48:51,186 synthtool [ERROR] > Failed executing docker run --mount type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/memcache/v1beta2/,destination=/in/google/cloud/memcache/v1beta2/,readonly --mount type=bind,source=/tmpfs/tmp/tmp7wdekx67/,destination=/out/ --rm --user 1000 gcr.io/gapic-images/gapic-generator-python:latest:

None
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-memcache/synth.py", line 28, in <module>
    library = gapic.py_library("memcache", "v1beta2")
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 57, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 189, in _generate_code
    shell.run(docker_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'run', '--mount', 'type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/memcache/v1beta2/,destination=/in/google/cloud/memcache/v1beta2/,readonly', '--mount', 'type=bind,source=/tmpfs/tmp/tmp7wdekx67/,destination=/out/', '--rm', '--user', '1000', 'gcr.io/gapic-images/gapic-generator-python:latest']' returned non-zero exit status 1.
2020-10-10 05:48:51,255 autosynth [ERROR] > Synthesis failed
2020-10-10 05:48:51,255 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 63d578c chore: add default CODEOWNERS (#17)
2020-10-10 05:48:51,261 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-10 05:48:51,265 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 706, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 541, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 686, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 273, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating python-memcache. :sob:
Here's the output from running synth.py:
y commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at e0ae456 chore(python): use 'setup.py' to detect repo root (#795)
2020-10-11 05:45:44,484 autosynth [DEBUG] > Running: git branch -f autosynth-616
2020-10-11 05:45:44,487 autosynth [DEBUG] > Running: git checkout autosynth-616
Switched to branch 'autosynth-616'
2020-10-11 05:45:44,491 autosynth [INFO] > Running synthtool
2020-10-11 05:45:44,491 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-10-11 05:45:44,491 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-memcache/616/sponge_log.log
2020-10-11 05:45:44,493 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-10-11 05:45:44,733 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-memcache/synth.py.
On branch autosynth-616
nothing to commit, working tree clean
2020-10-11 05:45:44,851 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-11 05:45:44,858 synthtool [DEBUG] > Ensuring dependencies.
2020-10-11 05:45:44,863 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-11 05:45:44,867 synthtool [DEBUG] > Cloning googleapis.
2020-10-11 05:45:44,867 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-10-11 05:45:44,870 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest
latest: Pulling from gapic-images/gapic-generator-python
Digest: sha256:49c51ef3987a158fd364837ed097070218c3127fe19a57b74992097fc1282859
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest
2020-10-11 05:45:45,642 synthtool [DEBUG] > Generating code for: google/cloud/memcache/v1beta2.
Traceback (most recent call last):
  File "/usr/local/bin/protoc-gen-python_gapic", line 8, in <module>
    sys.exit(generate())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/gapic/cli/generate.py", line 63, in generate
    res = generator.Generator(opts).get_response(api_schema, opts)
  File "/usr/local/lib/python3.7/site-packages/gapic/generator/generator.py", line 100, in get_response
    template_name, api_schema=api_schema, opts=opts)
  File "/usr/local/lib/python3.7/site-packages/gapic/generator/generator.py", line 285, in _render_template
    opts=opts,
  File "/usr/local/lib/python3.7/site-packages/gapic/generator/generator.py", line 313, in _get_file
    api=api_schema, opts=opts, **context
  File "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 1090, in render
    self.environment.handle_exception()
  File "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 832, in handle_exception
    reraise(*rewrite_traceback_stack(source=source))
  File "/usr/local/lib/python3.7/site-packages/jinja2/_compat.py", line 28, in reraise
    raise value.with_traceback(tb)
  File "/usr/local/lib/python3.7/site-packages/gapic/templates/%namespace/%name_%version/%sub/services/%service/async_client.py.j2", line 1, in top-level template code
    {% extends '_base.py.j2' %}
  File "/usr/local/lib/python3.7/site-packages/gapic/templates/_base.py.j2", line 5, in top-level template code
    {%- block content %}
  File "/usr/local/lib/python3.7/site-packages/gapic/templates/%namespace/%name_%version/%sub/services/%service/async_client.py.j2", line 41, in block "content"
    {% for message in service.resource_messages|sort(attribute="resource_type") -%}
  File "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 471, in getattr
    return getattr(obj, attribute)
  File "/usr/local/lib/python3.7/site-packages/gapic/utils/cache.py", line 39, in inner
    self._cached_values[fx.__name__] = fx(self)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1059, in resource_messages
    for method in self.methods.values()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1067, in <genexpr>
    method.lro.response_type if method.lro else method.output
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1055, in gen_indirect_resources_used
    yield self.visible_resources[resource_type]
  File "/usr/local/lib/python3.7/collections/__init__.py", line 916, in __getitem__
    return self.__missing__(key)            # support subclasses that define __missing__
  File "/usr/local/lib/python3.7/collections/__init__.py", line 908, in __missing__
    raise KeyError(key)
KeyError: 'locations.googleapis.com/Location'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
2020-10-11 05:45:47,029 synthtool [ERROR] > Failed executing docker run --mount type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/memcache/v1beta2/,destination=/in/google/cloud/memcache/v1beta2/,readonly --mount type=bind,source=/tmpfs/tmp/tmpi798s3yb/,destination=/out/ --rm --user 1000 gcr.io/gapic-images/gapic-generator-python:latest:

None
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-memcache/synth.py", line 28, in <module>
    library = gapic.py_library("memcache", "v1beta2")
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 57, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 189, in _generate_code
    shell.run(docker_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'run', '--mount', 'type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/memcache/v1beta2/,destination=/in/google/cloud/memcache/v1beta2/,readonly', '--mount', 'type=bind,source=/tmpfs/tmp/tmpi798s3yb/,destination=/out/', '--rm', '--user', '1000', 'gcr.io/gapic-images/gapic-generator-python:latest']' returned non-zero exit status 1.
2020-10-11 05:45:47,084 autosynth [ERROR] > Synthesis failed
2020-10-11 05:45:47,084 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 63d578c chore: add default CODEOWNERS (#17)
2020-10-11 05:45:47,089 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-11 05:45:47,093 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 706, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 541, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 686, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 273, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating python-memcache. :sob:
Here's the output from running synth.py:
y commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at e0ae456 chore(python): use 'setup.py' to detect repo root (#795)
2020-10-12 05:49:33,980 autosynth [DEBUG] > Running: git branch -f autosynth-616
2020-10-12 05:49:33,984 autosynth [DEBUG] > Running: git checkout autosynth-616
Switched to branch 'autosynth-616'
2020-10-12 05:49:33,988 autosynth [INFO] > Running synthtool
2020-10-12 05:49:33,988 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-10-12 05:49:33,988 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-memcache/616/sponge_log.log
2020-10-12 05:49:33,990 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-10-12 05:49:34,240 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-memcache/synth.py.
On branch autosynth-616
nothing to commit, working tree clean
2020-10-12 05:49:34,367 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-12 05:49:34,375 synthtool [DEBUG] > Ensuring dependencies.
2020-10-12 05:49:34,380 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-12 05:49:34,384 synthtool [DEBUG] > Cloning googleapis.
2020-10-12 05:49:34,384 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-10-12 05:49:34,387 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest
latest: Pulling from gapic-images/gapic-generator-python
Digest: sha256:49c51ef3987a158fd364837ed097070218c3127fe19a57b74992097fc1282859
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest
2020-10-12 05:49:35,211 synthtool [DEBUG] > Generating code for: google/cloud/memcache/v1beta2.
Traceback (most recent call last):
  File "/usr/local/bin/protoc-gen-python_gapic", line 8, in <module>
    sys.exit(generate())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/gapic/cli/generate.py", line 63, in generate
    res = generator.Generator(opts).get_response(api_schema, opts)
  File "/usr/local/lib/python3.7/site-packages/gapic/generator/generator.py", line 100, in get_response
    template_name, api_schema=api_schema, opts=opts)
  File "/usr/local/lib/python3.7/site-packages/gapic/generator/generator.py", line 285, in _render_template
    opts=opts,
  File "/usr/local/lib/python3.7/site-packages/gapic/generator/generator.py", line 313, in _get_file
    api=api_schema, opts=opts, **context
  File "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 1090, in render
    self.environment.handle_exception()
  File "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 832, in handle_exception
    reraise(*rewrite_traceback_stack(source=source))
  File "/usr/local/lib/python3.7/site-packages/jinja2/_compat.py", line 28, in reraise
    raise value.with_traceback(tb)
  File "/usr/local/lib/python3.7/site-packages/gapic/templates/%namespace/%name_%version/%sub/services/%service/async_client.py.j2", line 1, in top-level template code
    {% extends '_base.py.j2' %}
  File "/usr/local/lib/python3.7/site-packages/gapic/templates/_base.py.j2", line 5, in top-level template code
    {%- block content %}
  File "/usr/local/lib/python3.7/site-packages/gapic/templates/%namespace/%name_%version/%sub/services/%service/async_client.py.j2", line 41, in block "content"
    {% for message in service.resource_messages|sort(attribute="resource_type") -%}
  File "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 471, in getattr
    return getattr(obj, attribute)
  File "/usr/local/lib/python3.7/site-packages/gapic/utils/cache.py", line 39, in inner
    self._cached_values[fx.__name__] = fx(self)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1059, in resource_messages
    for method in self.methods.values()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1067, in <genexpr>
    method.lro.response_type if method.lro else method.output
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1055, in gen_indirect_resources_used
    yield self.visible_resources[resource_type]
  File "/usr/local/lib/python3.7/collections/__init__.py", line 916, in __getitem__
    return self.__missing__(key)            # support subclasses that define __missing__
  File "/usr/local/lib/python3.7/collections/__init__.py", line 908, in __missing__
    raise KeyError(key)
KeyError: 'locations.googleapis.com/Location'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
2020-10-12 05:49:36,625 synthtool [ERROR] > Failed executing docker run --mount type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/memcache/v1beta2/,destination=/in/google/cloud/memcache/v1beta2/,readonly --mount type=bind,source=/tmpfs/tmp/tmpg16rtg7l/,destination=/out/ --rm --user 1000 gcr.io/gapic-images/gapic-generator-python:latest:

None
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-memcache/synth.py", line 28, in <module>
    library = gapic.py_library("memcache", "v1beta2")
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 57, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 189, in _generate_code
    shell.run(docker_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'run', '--mount', 'type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/memcache/v1beta2/,destination=/in/google/cloud/memcache/v1beta2/,readonly', '--mount', 'type=bind,source=/tmpfs/tmp/tmpg16rtg7l/,destination=/out/', '--rm', '--user', '1000', 'gcr.io/gapic-images/gapic-generator-python:latest']' returned non-zero exit status 1.
2020-10-12 05:49:36,686 autosynth [ERROR] > Synthesis failed
2020-10-12 05:49:36,687 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 63d578c chore: add default CODEOWNERS (#17)
2020-10-12 05:49:36,692 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-12 05:49:36,696 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 706, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 541, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 686, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 273, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth passed, closing! :green_heart:


fix-can_not_trace_multi_service_name

when I want to add a multi-service name APM but the plugin can config only one
I fix it by initrace always . It works

Hi @SuriyaRuk thanks for your PR. Can you send me your configuration to better understand the use case?
Maybe we can modify the condition instead of removing it completely?

I have 3 plugins and routes.

I enabled the plugin on 3 plugins and routes in the different APM service names. I enabled 3 times

I was facing a bug. The APM server has only one service name: app1
I fixed the code in the main.go: inittrace always this issue was solved.

thanks for your contribution!


jaq-core/src/lib.rs documentation error: Val::from(x) should be Val::from(x.to_string())

The example described in jaq-core/src/lib.rs and it fails to compile:
error[E0277]: the trait bound `Val: From<Value>` is not satisfied
  --> src/main.rs:26:53
   |
26 |    let mut out = filter.run((Ctx::new([], &inputs), Val::from(input)));
   |                                                     ^^^ the trait `From<Value>` is not implemented for `Val`
   |
   = help: the following other types implement trait `From<T>`:
             `Val` implements `From<bool>`
             `Val` implements `From<f64>`
             `Val` implements `From<isize>`
             `Val` implements `From<std::string::String>`

Changing each occurrence of Val::from(x) to Val::from(x.to_string()) fixes.

Correction: adding to_string() lets it compile, but then the behavior is incorrect. Could anyone provide a trivial example of how to use lib.rs to execute a filter on a given string, and print the output to console?
Error using the below main.rs:
thread 'main' panicked at src/main.rs:29:4:
assertion `left == right` failed
  left: Some(Err(Error(Str([Str("cannot use "), Val(Str("[\"Hello\",\"world\"]")), Str(" as "), Str("iterable (array or object)")]))))
 right: Some(Ok(Str("\"Hello\"")))

main.rs:
use jaq_core::{load, Compiler, Ctx, Error, FilterT, RcIter};
use jaq_json::Val;
use serde_json::{json, Value};

fn main() {
   let input = json!(["Hello", "world"]);
   let program = File { code: ".[]", path: () };

   use load::{Arena, File, Loader};

   let loader = Loader::new(jaq_std::defs().chain(jaq_json::defs()));
   let arena = Arena::default();

   // parse the filter
   let modules = loader.load(&arena, program).unwrap();

   // compile the filter
   let filter = Compiler::default()
     .with_funs(jaq_std::funs().chain(jaq_json::funs()))
     .compile(modules)
     .unwrap();

   let inputs = RcIter::new(core::iter::empty());

   // iterator over the output values
   let mut out = filter.run((Ctx::new([], &inputs), Val::from(input.to_string())));

   assert_eq!(out.next(), Some(Ok(Val::from(json!("Hello").to_string()))));
   assert_eq!(out.next(), Some(Ok(Val::from(json!("world").to_string()))));
   assert_eq!(out.next(), None);
}

Cargo.toml:
[package]
name = "my_jaq_example"
version = "0.1.0"
edition = "2021"

[dependencies]
serde_json = "1.0.134"
jaq-core = "2.0.0"
jaq-json = "1.0.0"
jaq-std = "2.0.0"

Update: got a working example latest jaq as of 2024-12-31, lmk if helpful to share. I borrowed code from src/main.rs to do so, and it is substantially different from what is documented in src/lib.rs


[not supported] 10.0.20215.1000

Too new?
I haven't seen any INI file section to support this version; I do recommend using 1909 and holding back on feature updates for as long as possible (or you'll be Microsoft's guinea pig), but with no delays with security updates.

Hmmm..Do I have to wait for ini files that support the 2004 version to be released?

If you are skilled in the process of producing the INI file section (as per the video referenced in the README.md document), then you can move ahead -- otherwise someone whom is skilled in this area will need a copy of the relevant termsrv.dll to enable them to do the work.  Once someone posts a good INI section, I will endeavour to include it in my INI file as soon as I can.

To assist them to create the .ini file, copy your termsrv.dll to some
online service and put a link here. Probably best not to post .ini files to
this repo. Microsoft doesn't like that much.
On Tue, 22 Sep 2020 at 21:53, developer_winter<EMAIL_ADDRESS>wrote:

Hmmm..Do I have to wait for ini files that support the 2004 version to be
released?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/stascorp/rdpwrap/issues/1167#issuecomment-696672269,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMCGIRIOXN4EDX3SMFZWJLSHCF37ANCNFSM4RVTSOZA
.

Here it is
https://www87.zippyshare.com/v/Aw6BRt2I/file.html

Here it is
https://www87.zippyshare.com/v/Aw6BRt2I/file.html

Will this file work with the latest Windows 10 Updates? All was working fine about two months ago and I get not supported and haven't been able to use. Thank you!


Introduces enum for project domains

Introduces a collection of different project domains, encoded into a enum, so we can guarantee that projects uniformly specify their project domains.
resolves se-sic/VaRA#792

Needs benchbuild support (https://github.com/PolyJIT/benchbuild/pull/433) to fully work, otherwise, an exception is triggered in BB when storing the domain into the in memory database.


IOException and Stack Trace from malformed or empty batch data

Issuing the following curl request (with batch data that doesn't exist or is malformed) returns an IOException with the following stack trace. I'm not sure if this is a feature or a bug on the server side, but thought the stack trace might be useful if it is a bug.
Command:
curl -X POST --header 'Content-Type: multipart/mixed; boundary=batch_boundary' --data-binary @file-that-does-not-exist.txt 'https://ppe.embeddedsocial.microsoft.com/batch
Returns:
{
  "message": "An error has occurred.",
  "exceptionMessage": "Unexpected end of MIME multipart stream. MIME multipart message is not complete.",
  "exceptionType": "System.IO.IOException",
  "stackTrace": "   at System.Net.Http.Formatting.Parsers.MimeMultipartBodyPartParser.<ParseBuffer>d__0.MoveNext()\r\n
at System.Net.Http.HttpContentMultipartExtensions.<MultipartReadAsync>d__8.MoveNext()\r\n
--- End of stack trace from previous location where exception was thrown ---\r\n
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Net.Http.HttpContentMultipartExtensions.<ReadAsMultipartAsync>d__0`1.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()\r\n
at System.Web.Http.Batch.DefaultHttpBatchHandler.<ParseBatchRequestsAsync>d__13.MoveNext()\r\n
--- End of stack trace from previous location where exception was thrown ---\r\n
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n
 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()\r\n
at System.Web.Http.Batch.DefaultHttpBatchHandler.<ProcessBatchAsync>d__1.MoveNext()\r\n
--- End of stack trace from previous location where exception was thrown ---\r\n
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()\r\n
at System.Web.Http.Batch.HttpBatchHandler.<SendAsync>d__0.MoveNext()"
}

Hi Lily,
This is a parsing bug on the server-side. Once we fix this bug, we'll return 404 Bad Request with a parsing error. Thank you for raising this. I'll close the bug once we release our server-side fix.


DOC: stats: The docstring for scipy.stats.crystalball needs an adjustment

…ces.

Reference issue
Closes DOC: stats: The docstring for scipy.stats.crystalball needs an adjustment #19772
What does this implement/fix?
Makes adjustment to scipy.stats crystalball documentation. Moves the 'after notes' section to just after Notes and before Reference
Additional information

Thanks @allanah1 and congratulations on your first PR to SciPy! Hope to see you around 😄


Check that packages do not include vendor path

Check why package filters include invalid directory: /apps/aapm-vendor-packages
Packages affected: all, examples


Redirect middleware plugin causes MIDDLEWARE_INVOCATION_TIMEOUT error when ANY request has large number of query params

Describe the Bug
Redirect middleware plugin causes MIDDLEWARE_INVOCATION_TIMEOUT errors when large number of query parameters are included in the request's url. 8 or 9ish.
Having this many query parameters is quite normal in modern web applications, and the number of query parameters should not have any performance impact on every single request.
Possible Issue:
I think the isPermutedQueryMatch defined in https://github.com/Sitecore/jss/blob/dev/packages/sitecore-jss-nextjs/src/middleware/redirects-middleware.ts is causing issues. The isPermutedQueryMatch method generates all permutations of query parameters to test them against regex patterns. When the query string contains many parameters, the number of permutations grows factorially (n!). This can result in an enormous number of permutations and significantly slow down the processing.
Example:

For 5 parameters, there are 120 permutations.
For 10 parameters, there are 3,628,800 permutations.

To Reproduce

Add and publish a redirect map to sitecore so the redirect middleware plugin's code runs. It does not matter what it is as long as one exists and is published.a redirects to /b works fine.
Visit any valid non-redirected, or redirected path on the site but with many query parameters. (https://example.com?1=1&2=2&3=3&4=4&5=5&6=6&7=7&8=8&9=9&10=10).
Note that the request takes a long time. And when hosted on Vercel a MIDDLEWARE_INVOCATION_TIMEOUT error is expereinced.

Expected Behavior
The redirect plugin does not cause excessive computation and does not cause MIDDLEWARE_INVOCATION_TIMEOUT errors.
Possible Fix
Handle query parameters better and fix the logic and performance of the redirect middleware plugin.
Provide environment information

Sitecore Version: XM Cloud
JSS Version: 22.1.3
Browser Name and version: N/A
Operating System and version (desktop or mobile): N/A
Link to your project (if available):

Hi @chrissnyder2337 thanks for the detailed submission!
We know about this problem and we are currently working to resolve it.

It's in progress and we expect to fix it in #2003


Fixes colliding method and request name in sidebar

fix #533
Added flex-shrink:0 property in the so method name div wont shrink even if size less.

Clever, Neat and Simple ❤ !!
Thanks @Nikhil569 !

Simple solution, but do we want to have request name for two requests on the same tree level starting at different X position ?

Good point @martinsefcik
Created an issue to track this https://github.com/usebruno/bruno/issues/584


is it possible to convert a local domain to a global domain

hi
is it possible to convert a local domain to a global domain ?
If so, please tell me the commands by which this can be done.
thanks in advance

No it’s not possible.

@longquanzheng  any plans to add this ability ?

While its not possible at the time. A migration can be performed from a local domain into a global domain.

This is a related feature request: https://github.com/uber/cadence/issues/2371


*: remove unnecessary container port

This was likely added by accident, and we don't see it
being necessary for the cluster to operate correctly.

LGTM


WW-4800 Executes aspects when chaining AOPed actions

These fix some bugs in my previous PR, #135 which passes the unwrapped object of the proxied action to the reflectionProvider.copy, then we miss aspects executions which are implemented inside the proxied object rather than the unwrapped one.
Also fix some bugs in unit tests of my previous PR and improves them.

Thanks, merged :)


Adding rule for trying to search using apt-get

apt-get search foo -> apt-cache search foo

Yes! :D :+1:

You need to add a line in the README describing the change and add some tests.

Ok, i'll do that!

Thanks!


Fix COMPOSE_PROJECT_NAME period issue #367

The Problem/Issue/Bug:
Auto config breaks if project contains period . #367
How this PR Solves the Problem:
Manual Testing Instructions:
Related Issue Link(s):
See https://github.com/php-perfect/ddev-intellij-plugin/issues/367#issuecomment-2393735285

Hey guys, thank you!
@AkibaAT, @edditor, @rfay, do you maybe have a reference to the related ddev source code that shows how ddev does handle the project name?
Replacing dots seems to be right, but do we maybe need to replace / escape other characters as well?

AFAIK, dots are the only issue at this point. Compose started refusing them a couple of years ago.
Here's the DDEV issue with context for compose issue, etc:

https://github.com/ddev/ddev/pull/3859


Remove npm install step from VS Code extension

Here we are removing the npm install step by including the new wasm version of the LSP server into the VS Code extension.
I combined some work I did back in June (https://github.com/mads-hartmann/bash-language-server/pull/134/commits) and work done a year ago (https://github.com/mads-hartmann/bash-language-server/pull/72).
Related to https://github.com/mads-hartmann/bash-language-server/issues/131
TODO

[x] combine server with vscode client
[x] test on OS X
[x] test on Windows
[x] documentation

Note on how to test:
cd vscode-client && vsce package --yarn
code --install-extension <path to package.vix>

@mads-hartmann can you try it out by uninstalling bash-language-server (npm -g uninstall bash-language-server) and run:
cd vscode-client && vsce package --yarn
code --install-extension <path to package.vix>

@skovhus Just gave it a go. It works 🎉

@mads-hartmann we should release this :)
The version number is bumped, so we just need to run the release step. Can you do that?

@skovhus Done, works like a charm 🎉

NICE! <3


XSSF ShiftRows destroy merged cells

I would like to report a really old bug that was fixed in POI about 4 years ago.   For some reasons, the bug is still present in NPOI.
Shifting up rows destroy merged cells.  The content is still there, but the merged dissappeared.
Here's an example of 2 ShiftRows made on my sheet

Anyone can confirm that they have the same problem?
I'm using NPOI 2.5.3

Shifting rows, 1 by 1 seems to work.  But not when you got to delete row 5 for example and that you got to move up everything from 6-15.   I had to write this fix in my code for that:
        private void deleteRow(ref ISheet iSheet, int iRow, int iCount)         {             for (int _count = 1; _count <= iCount; _count++)                 for (int i = iRow; i <= iSheet.PhysicalNumberOfRows; i++)                 {                     iSheet.ShiftRows(i, i, -1);                 }         }

i've struggled also with the insertion of a new line.   Let's say i insert a line between lines 9 and 10, i want to keep the same columns merged that i had on line 9.  I hope it will help someone, until it is fixed in the next 5-10 years.   Seriously, i was surprised that this bug exists in 2017 and still present in the latest version.
        public void NPOIInsertRows(ref ISheet iSheet, int iFromRow, int iCount)
        {
            for (int _count = 1; _count <= iCount; _count++)
            {
                int _lines_count = iSheet.PhysicalNumberOfRows;
                for (int _row = _lines_count; _row >= iFromRow-1; _row--)
                {
                    iSheet.ShiftRows(_row, _row, 1);

                    // Take a sample of the style from previous line, create a new line and copy everything from the sample
                    IRow _row_source = iSheet.GetRow(_row - 1);
                    IRow _row_insert = iSheet.CreateRow(_row);
                    _row_insert.Height = _row_source.Height;
                    for (int colIndex = 0; colIndex < _row_source.LastCellNum; colIndex++)
                    {
                        ICell cellSource = _row_source.GetCell(colIndex);
                        ICell cellInsert = _row_insert.CreateCell(colIndex);

                        //  Make sure that merged cells are merged too in the new line
                        if (cellSource.IsMergedCell)
                        {
                            foreach (CellRangeAddress _range in iSheet.MergedRegions)
                            {
                                if (_range.IsInRange(cellSource.RowIndex, cellSource.ColumnIndex))
                                {
                                    if (cellInsert.ColumnIndex == _range.FirstColumn)
                                    {
                                        CellRangeAddress _new_range = new CellRangeAddress(cellInsert.RowIndex, cellInsert.RowIndex, cellInsert.ColumnIndex, _range.LastColumn);
                                        iSheet.AddMergedRegion(_new_range);
                                    }
                                }
                            }
                        }

                        if (cellSource != null)
                        {
                            cellInsert.CellStyle = cellSource.CellStyle;
                        }
                    }
                }
            }
        }

my deleteRow isn't perfect too.   If we have various row heights, you will lose them.

Affirm, the same behaviour took place in my sheet.
This bug was also known at POI, at newest versions
https://stackoverflow.com/questions/55980407/apache-poi-shiftrows-corrupts-file-and-deletes-content

Same for me, ShiftRows destroys merged cells.
from my understanding problem is in RowShifter.ShiftMergedRegions,
It does something weird or I just don't get it.
I've tried to replicate excel-like behavior by reimplementing RowShifter:

when merged cell is below insertion it just shifted down and stays merged
when inserted row intersects merged cell then merged cell gets stretched

here is what I've got

it seems to work with advanced layouts

As a workaround, you can copy and paste the merged regions. You can do that even in different sheets
void MergeRegions()
{
foreach (var orgMerged in OriginSheet.MergedRegions)
{
var destMerged = new CellRangeAddress(orgMerged.FirstRow - OffsetRow, orgMerged.LastRow - OffsetRow, orgMerged.FirstColumn - OffsetCol, orgMerged.LastColumn - OffsetCol);
DestSheet.AddMergedRegion(destMerged);
}
}

https://bz.apache.org/bugzilla/show_bug.cgi?id=59740

我把最新的代码（2022年6月28日）拿下来编译了dll试了下，还是不行，如果我没试错的话。但是我把2.4.1版本的代码找到替换
RowShifter rowShifter = new HSSFRowShifter(this);
rowShifter.ShiftMergedRegions(startRow, endRow, n);

为老代码就好使了。

@serii833 What's your issue here? Can you clarify? I don't see the destroy behavior in your screenshot.

@zzy0471 Can you screenshot your excel to help me understand your issue?

@tonyqus OK. I have a .xls file like this:

I want to insert 'B' between 'A' and 'C', here is my code:
private static void InsertBBetweenAAndC(ISheet sheet)
{
    sheet.ShiftRows(1, sheet.LastRowNum, 1);

    var row = sheet.GetRow(1);
    var cell = row.GetCell(0);
    if (cell == null)
    {
        cell = row.CreateCell(0);
    }
    cell.SetCellValue("B");
}

Then I get a file like this:

@tonyqus sorry, I didn't make it clear. those screen shots shows "expected behavior"
here is the problem
left side - before inserting row
right side - after inserting row

I've a pull request #836 for this.
PR is similar to what I use in production

A new PR is created #877.
I have tested all your three cases. This fix works very well.

@tonyqus sorry, I didn't make it clear. those screenshots shows "expected behavior"
here is the problem left side - before inserting row right side - after inserting row

I've made a pull request #836 for this. PR is similar to what I use in production

Good job!!


(PUP-10382) Ignore packages of which the latest version is not in the index

This is a fix for https://tickets.puppetlabs.com/browse/PUP-10382

Can one of the admins verify this patch?

CLA signed by all contributors.

I think I did something wrong here as well, but I fail to see exactly what's wrong.

Thanks for the contribution! Travis/AppVeyor probably got confused because of the rebase, usually closing and reopening the pull request will fix it.
It would be great if we can have a test for this changed behavior. Looks like pkgng_spec.rb already has some fixtures to test the get_latest_version method, maybe you can make use of them: https://github.com/puppetlabs/puppet/blob/master/spec/unit/provider/package/pkgng_spec.rb#L164
Let me know if you need any help.


Migrate Person Class to Client Class

This might be quite disruptive to everyone's work, so let's make it as painless as possible :(

Great work guys