[BUG] Charging stations won't be exported

Describe the bug
Charging stations won't be exported.
https://wiki.openstreetmap.org/wiki/Tag:amenity%3Dcharging_station

They should be there now? We just merged https://github.com/openmaptiles/planetiler-openmaptiles/pull/126 which upgrades to openmaptiles 3.15. One of the improvements is adding charging stations to POI layer.

Ok, that may be the case. But no new release has been published yet.

@msbarry when will a release be published?

@msbarry when will a release be published?

Short reply: Soon, e.g.  roughly within a month.
Long reply: Since we do want to match what is in https://github.com/openmaptiles/openmaptiles/, we're waiting for/coordinating with @TomPohys to go through open OpenMapTiles open pull-requests (https://github.com/openmaptiles/openmaptiles/pulls). Once those needed for 3.15 are merged, I'll match them in planetiler-openmaptiles and then we do 3.15 releases.


GH-4037 fix for removing from VarNameCollector

GitHub issue resolved: #4037
Briefly describe the changes proposed in this PR:

optimized the code
create a new HashSet if we need to modify the set produced by the VarNameCollector

PR Author Checklist (see the contributor guidelines for more details):

[ ] my pull request is self-contained
[ ] I've added tests for the changes I made
[ ] I've applied code formatting (you can use mvn process-resources to format from the command line)
[ ] I've squashed my commits where necessary
[ ] every commit message starts with the issue number (GH-xxxx) followed by a meaningful description of the change

Still needs tests.

@maxstolze does this fix work for you? I wasn't able to reproduce the issue with the query and data you provided, but the stack trace makes me confident that this PR should fix the issue.

As far as I could test it, it fixes the issue. Thank you!


appended property which I don't need

I can't figure out this problem: when I pull tasks from retrived tasks, the blocks show the properties as the picture shows.
Did I get something wrong?

Agree+1. Options for properties to keep clean.

I have the same problem :( Please fix it for coffea 👍

This is related to: https://github.com/logseq/logseq/issues/9279. Unfortunately, this is the new Logseq behaviour.

Will there be an option to not sync the property of attachment and comments? Actually, I do not use them.

You may hide them via your config.edn. Find out more here: https://discuss.logseq.com/t/control-which-block-properties-are-hidden-in-view-mode/884/6
Get Outlook for iOShttps://aka.ms/o0ukef

From: yoghurtdewdew @.>
Sent: Sunday, September 3, 2023 1:02:50 PM
To: hkgnp/logseq-todoist-plugin @.>
Cc: Benjamin Png @.>; State change @.>
Subject: Re: [hkgnp/logseq-todoist-plugin] appended property which I don't need (Issue #65)
Will there be an option to not sync the property of attachment and comments? Actually, I do not use them.
—
Reply to this email directly, view it on GitHubhttps://github.com/hkgnp/logseq-todoist-plugin/issues/65#issuecomment-1704007542, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALNXKGLNKETOBG4T2Q6D26TXYQFPVANCNFSM6AAAAAAZHOXORM.
You are receiving this because you modified the open/close state.Message ID: @.***>

Thanks for your great work and useful advice!


Make sure class cache is not serving classes from the future

Can be tested on Goerli with running these two requests back to back.
{
    "jsonrpc":"2.0",
    "method":"starknet_traceTransaction",
    "params":{
        "transaction_hash": "0x00b56b03731379e3b4d53834e1f8edee7afb69aeb9bd889f5f33c8476cb717be"
    },
    "id":1
}

{
    "jsonrpc":"2.0",
    "method":"starknet_traceTransaction",
    "params":{
        "transaction_hash": "0x48b0346433513e1ed38cd99bfbbfbf74ed0f0ba1bd0c56272789775b40e0d89"
    },
    "id":1
}

Just to double check my understanding: we create state_reader every time there is a call to VMExecute and ...Call, but the class cache is static and used for all the calls, right? and that's why we need additional height information

Yes, exactly.


gcc hash check failure

λ scoop install gcc
Installing 'gcc' (7.1.0).
x86_64-7.1.0-release-posix-seh-rt_v5-rev0.7z (652 B) [=========================================================================================================================================] 100%
Checking hash of x86_64-7.1.0-release-posix-seh-rt_v5-rev0.7z... Hash check failed for 'https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/7.1.0/threads-posix/seh/x86_64-7.1.0-release-posix-seh-rt_v5-rev0.7z'.
Expected:
    5391e8e733dcdab71e6ac71d6524e841be5ea980dc14f22a23af64e92af5dcd7
Actual:
    7a07d3f7cca5c0b38ca811984ef8da536da32932d68c1a6cce33ec2462b930bf```

SourceForge had some problems yesterday.
5391e8e733dcdab71e6ac71d6524e841be5ea980dc14f22a23af64e92af5dcd7 is correct.
Run scoop cache rm gcc and try again.

It's good now.


Update Notebooks

Run notebooks so static file is rendered correctly. Although interactive notebook runs on mybinder, the initial rendition shows an error due to local environment inconsistencies.

@llorracc I added the standard python gitignore template from https://github.com/github/gitignore/blob/master/Python.gitignore


Feature Request: Choose Installation Folder

Specifically, I'd like the functionality to install to a drive other than C:
This seems to have been removed in a recent version, as I have an older version install on D:\
Additionally, it would be great if automatic updates were applied over the custom installation folder instead of the default location.
Thanks!

None if this has changed. You can select any folder on installation, and auto upgrades will use that same folder.

Using the newest v1.1.21 "SyncTrayzorSetup-x64.exe" I don't see how to select a folder.

Of course, if it's already installed and you run the installer again, it's going to modify the existing installation, and so it won't let you select a different installation folder.

I would like to see the Installer allow you to specify the separate and distinct folder that SyncThing proper is already installed to, instead of mashing Trayzor and a new SyncThing together as one.  This was a serious matter of confusion without any obvious clarity.  Windows users are familiar with front-end addon software for open source projects, where the two softwares are independent and symbiotic.

Syncthing is a single executable: does it really matter much where it goes (other than it has to be somewhere the user had wrote access to)?
On 30 March 2018 01:08:58 BST, a-raccoon<EMAIL_ADDRESS>wrote:

I would like to see the Installer allow you to specify the separate and
distinct folder that SyncThing proper is already installed to, instead
of mashing Trayzor and a new SyncThing together as one.  This was a
serious matter of confusion without any obvious clarity.  Windows users
are familiar with front-end addon software for open source projects,
where the two softwares are independent and symbiotic.
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/canton7/SyncTrayzor/issues/444#issuecomment-377409140

Please don't piggyback on existing unrelated issues: open a new issue.
I need two copies of Syncthing, and you'll realise why if you think about it (consider a machine with multiple users)

I didn't say it was ridiculous, just ridiculously confusing.  C:\Portable\SyncThing\syncthing.exe (proper), C:\Portable\SyncTrayzor\syncthing.exe, C:\Users\Smith\AppData\Roaming\SyncTrayzor\syncthing.exe
They're everywhere

Please open a new issue, as I asked.
On 30 March 2018 10:03:48 BST, a-raccoon<EMAIL_ADDRESS>wrote:

I didn't say it was ridiculous, just ridiculously confusing.
C:\Portable\SyncThing\syncthing.exe (proper),
C:\Portable\SyncTrayzor\syncthing.exe,
C:\Users\Smith\AppData\Roaming\SyncTrayzor\syncthing.exe
They're everywhere
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/canton7/SyncTrayzor/issues/444#issuecomment-377483210

Closing as no response


When a new user is created from carbon console username is set to lastname value as well

Environment
IS 5.4.0
Ubuntu 14
Java version "1.8.0_51"
Firefox 55
DB - MySQL

Creating a user from admin console sets the username in the last name field as well.
Steps

Login to management console and navigate to add users
Add a user by providing a username and pw
View the user from the console

Issue
The username is shown in the "Last Name" as well. Ideally, it should be only shown when the username claim is set to "Support by Default"
Labels IS 5.4.0 , Bug

Thank you for your contribution!
We are closing this issue since it has not been prioritized for a long time. Chances are that it has already been solved in more recent versions. If not, we will be re-evaluating this when it becomes a priority.


About trained model weight

Hi,
I notice that you release two pretrained weight. However, it`s still need a long time to finetune. Could you release the final trained model weight so we can easy test on it? Thanks!

Hi! Sorry for the late reply.
I still recommend you finetune on your own version of dataset/settings because a tiny difference could reduce the final percentage and it's hard to debug. But if you really need one, here it is:
http://www.robots.ox.ac.uk/~htd/memdpc/ft_ucf101_224_resnet34_memdpc.pth.tar

@TengdaHan did you filter out too short videos in test mode? what's the accuracy of the checkpoint(ft_ucf101_224_resnet34_memdpc.pth.tar) you provided？I just refactor your code and want to test if my implementation is right

This exact checkpoint get:
CenterCrop:	Acc@1: 0.7673 Acc@5: 0.9280
FiveCrop:	Acc@1: 0.7801 Acc@5: 0.9323
TenCrop:	Acc@1: 0.7811 Acc@5: 0.9366

It's also the 78.1% reported in paper Table 2.
I didn't filter out too short videos, I pad short videos by their last frame, up to the required length. -- but this actually won't affect much on the results.

@TengdaHan thank you for your reply, I found a tiny difference in model_lc.py and model.py, which one is the right version? The implementation of train and eval are not equivalent

I modify the 2D3D-ResNet backbone such that the output feature is before final ReLU: https://github.com/TengdaHan/MemDPC/blob/11f03299496c55d3ecae670752e958d8ce0c80fb/backbone/resnet_2d3d.py#L251
It's because during pretraining, we will contrast predicted features (with a scale of (-inf, inf)) with ground-truth features. Removing final ReLU is to keep the ground-truth feature also has a scale of (-inf, inf).
Although others (MoCo, SimCLR, etc.) can use a prediction head to avoid this scaling issue -- we didn't use prediction head for the ground-truth features in this paper.
In the evaluation stage for the action classification task, we add ReLU back, followed by a linear layer. Nothing special.


Display image previews on map

Each image preview (or the actual TMS layer where available) could be displayed directly on the map inside each footprint. This could be a switch in the control sidebar that turns all image previews in map on, or would be triggered by clicking on each footprint on the map

Thumbnail displayed on map within the footprint once a user clicks on an image. Implemented by https://github.com/hotosm/oam-browser/commit/d6bd521c0d6d83b7d82ad12e9607e4d903546b27


Difficulty Installing Plugin

I am having trouble installing the plugin on my computer. I am not knowledgeable in programming and am facing some difficulty with the installation process. I have followed the instructions provided but still cannot seem to get it to work.
Can someone please provide me with some guidance on how to install this plugin successfully? Perhaps a step-by-step guide or some troubleshooting tips would be greatly appreciated.
Thank you in advance for your assistance.

hi @EidosL, did you run npm install before npm run build?

Thx, I fixed the problemXD


some modernization

does 2 things in 2 commits, and I can revert the 2nd one if need be

removes the legacy support for browsers that don't support XHR and JSON.parse, on the grounds that leaflet doesn't actually support.  It was probably unnecessary when it was put in (by me) and all it will likely do is cause security errors.   This should also handle errors due to cors issues better now (they have status of 0).
added a package.json for dependency management, I.E. to run the build without having to globally install jake, uglify and jshint, this also fixes the uglify-js code to work with the more recent version and changes the examples to point the the dist folder and to use the most recent leaflet code to enable me to test change 1.  This change can be reverted.

Sounds good, github is telling me there are merge issues, fix those and we'll bring this in :)

fixed

Cool, trusting this works :)

so that was one reason for some of the extra changes, so I could actually check that it worked


Fix line style of marker edges

Set the line style of marker edges always to 'solid'. Otherwise the line style of the actual lines os used, which in case of e.g. dotted lines leads to a wrong output.
This is also consistent with the way matplotlib set the line style of the marker edges.
A test is included.

Great!
One test is still failing, I checked it out and the differences are minor, and probably things even changed for the better. If you change the pHash of legends2 to 5f31c1ca34bcac72, the tests should pass.

(Also, I see that your commits https://github.com/nschloe/matplotlib2tikz/pull/96/commits don't include an email address. That's fine, of course! But if you want your GitHub account to be properly credited with the contribution, you should perhaps adapt your ~/.gitconfig.)

Current coverage is 80.24%

Merging #96 into master will decrease coverage by -0.02% as of 8fdd962

@@            master     #96   diff @@
======================================
  Files           10      10
  Stmts          897     896     -1
  Branches         0       0
  Methods          0       0
======================================
- Hit            720     719     -1
  Partial          0       0
  Missed         177     177

Review entire Coverage Diff as of 8fdd962

Powered by Codecov. Updated on successful CI builds.


GH-39982: [Java] Add RunEndEncodedVector

Rationale for this change

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

GitHub Issue: #39982

Thanks, just one small thing.
@vibhatha do you want to take a look as well?

Yes @lidavidm I am going to.

@lidavidm let's re-approve the workflows, PR LGTM.

@lidavidm @vibhatha Thank you for your helps on my first PR of arrow.

@ViggoC thanks for getting this PR to the finish line.


View composers and multiple views included

Hi,
I have a view that included 3 another view in it like this:
@include('common.nva_top')
@include('common.nav_bottom')
@include('common.footer-categories')

And this is my ComposerServiceProvider:
public function boot()
    {
        // Using class based composers...
        view()->composer(
            '*', 'App\Http\ViewComposers\HomeComposer'
        );
    }

And I have a compose like this:
 public function compose(View $view)
    {
        //some another codes
        $this->requirements=new \stdClass;
        $_SESSION['runCount']++;
        $this->requirements->s=$_SESSION['runCount'];
        $view->with('requirements',  $this->requirements);
    }

Every time that I refresh the page my session will be +=3 I guess it's a problem that this compose will run as many view that I included!
I set my view in ComposerServiceProvider to all view that will be included or called, now Composer shouldn't just call my compose once and use the result in another included view!?
Thanks.

This is an expected behaviour, you've set your composer to run on all views, this includes partials as well, every time you call @include() the view is rendered which will cause the composer you set to run.
I recommend that you avoid using * and create better naming conventions that'll allow you to run the composer while building the main views only.

Thank you themsaid.
I know what are you talking about but what is problem here for me is that, when I have a view that include another view in it and both of them use my defined composer variables, in ideal way I expect that my composer run just once at the start and date share between all views not that Laravel run my composer every time that I use include for just one page with multiple views.
And your recommend about not using * I tried to call just app view that included in all pages to avoid call composer in another includes, then got an error that says "undefined variables" , another view that calls in this main view doesn't have variables that came from composer but both of them are calling in just one page for one route!
Actually I think it's better to call view composer base on routes! because when I wanna use some data in a view it doesn't matter which view I am using it, the important think here is that data just be passed in that routes once for all views.
Maybe I didn't got this part or implementation of Laravel is like this I don't know.
Thank you for your answer :)


go mod vendor fails

Output of the info page (if this is a bug)
(Paste the output of the info page here)

Describe what happened:
❯ go version
go version go1.14.6 linux/amd64
❯ go mod vendor
go<EMAIL_ADDRESS>invalid pseudo-version: preceding tag (v3.9.0) not found

Describe what you expected:
All resources vendored properly.
Steps to reproduce the issue:
Execute go mod vendor.
Additional environment details (Operating System, Cloud provider, etc):
Fedora Linux 32.

Hi @fzipi! Thanks for bringing this up. Fedora sets GOPROXY="direct", which makes the vendoring fail. You can use go env -w GOPROXY="https://goproxy.io,direct" to fix this. We do not officially support Fedora, so that's why it went under our radar.
As a sidenote, to install dependencies, we recommend running inv deps after setting up your development environment as documented here. This will handle the vendoring as well as other dependencies.

Thanks @mx-psi ! That worked well.
I got that part, but this is a shortcut. My main objective is to use it for building in FreeBSD (we had a proper 7.16 package, but updating the go modules requires to have the vendor/modules.txt file to use the ports helper tools). So I ended doing that in my laptop, which has Fedora. :)


Add badges/shields to be links to notes in same vault

Please select if your request is either something new or an enhancement

[ ] Enhancement of an existing Feature.
[X] Request of a new feature.

Please select the area your request applies to. (Multiple selections are Possible. You can leave blank if you're not sure.)

[ ] Workspace - VSCode workspace, vaults, Intellisense/autocomplete, Dendron settings
[ ] Lookup - Dendron's Lookup Command
[ ] Views - Dendron Preview, Tree View, Side Panels in the UI
[ ] Schema - Dendron Schemas
[ ] Pod - Data import from / export to Dendron
[ ] Publish - External Site Publish
[X] Markdown - Markdown features, such as syntax support and features

Is your feature request related to a problem? Please describe
I would say this is not necessarily realted to a problem.  On github readme files, you can use a badge/shield as a link to other internal/external files or web pages.  Dendron does this as well with external files but not with internal files inside the vault.  i.e.:
[![LinkedIn][linkedin-shield]][linkedin-url] - shows the linkedin shield and itself is the link to the url
However, if I wanted to use a shield/badge to link to a different note page internally like the wikilink does and use an image or shield to show as the link, there is no support for this write now
Describe the solution you'd like
I would suggest either to figure out how this can work with a wikilink or have the ability for the wikilink to be converted to a regular markdown link
Describe alternatives you've considered
Only thing that can happen right now is do the above example but replace the linkedin-url with the wikilink and have the wikilink show right next to the image instead of the image itself be the link.
Additional context
none

Thanks for the feature request! This would be a more involved task. We don't have immediate plans of implementing this now but adding it to our backlog and as a consideration for a future crop


Attempt to use SDKSettings.json on Darwin platforms to set -target-sdk-version

This fixes the Driver/sdk-version.swift integration test, and it's also a prerequisite to begin modernizing linker deployment targets to use -platform_version instead of the old flags.
Unfortunately, SDKSettings.json doesn't work very well with Codable synthesis and the implementation of Codable for Version in TSC, so there's a lot of manual decoding. Also, this implementation sometimes includes a minor version of 0 where the integrated driver would not (for example -target-sdk-version 13.4.0 instead of 13.4); as far as I know this won't break anything, and it makes the version remapping much simpler.

@swift-ci test


Fixes potential missing schemas from doc gen

This could happen for Mts that existed but that
there were never referenced in any other part of the app.
Fixes #273
Signed-off-by: Josep M. Blanquer<EMAIL_ADDRESS>

LGTM


Splitting repo into library and browser

From the get-go, the goal of this project was two folded: 1) provide a UI for Atomic-Server, and 2) build a JS (+ react) library for others to build apps and components with. The first goal is mostly achieved, but the second one not at all. The project structure has been designed to keep both worlds separate, though.
So the next steps are to:

[x] Have a separate package.json for atomic-data-lib
[x] Maybe also a separate package.json for atomic-data-react?
[x] Publish packages to NPM
[ ] Maybe move it to separate repo?

Got most of it working in the lerna branch! But the dev UX is still not great. Requires manual re-compilation of lib and react, which slows down my workflow too much. Let's see if I can get these to work in watch mode or something.

Proud of how this worked out!


Windows: Copy zlib.lib instead of hard-linking it

Copy zlib.lib instead of linking it to zlib_a.lib since exFAT does not support hard- or soft-linking files.
Closes #152.

Thanks!


authendicate user problem

before_action :authenticate_user! could not works..! so i just tried => before_filter :authenticate_user!
its really works good ..!!

If before_action didn't work, I presume you are using Rails 3.x.
For Rails 4.x and 5.x you should use before_action.


Clean Named maps errors at tests

Eg. CartoDB::NamedMapsWrapper::HTTPResponseError this denotes a unstubbed call that slips by.
We should check and fix them, and probably silence other traces and debug messages (that could be toggled off).

Not happenning anymore (just checked a recent log), so closing


OwlCarousel2 for rails Autoplay not working

Hi,
Autoplay is not working with Owl-Carousel2

I just updated the branch with the latest files from Owl-Carousel2. Please check it out

Still autoplay issue is there . it not autoplaying. Can  you check it please

Please check on the developers github Issues https://github.com/smashingboxes/OwlCarousel2/issues

For anyone still encountering this issue.
The auto play functionality has it's own js file so you need to include "owl.autoplay" in your application.js
//= require owl.autoplay
It's also worth noting that Owl Carousel 2 uses autoplay: true instead of autoPlay: true

//= require owlcarousel2/owl.autoplay


Function with zero code coverage detected: storage.go:405: performVacuumDB

Function with zero code coverage detected: storage.go:405: performVacuumDB

Coverage is now
performVacuumDB                         85.7%


Add Amazon S3 CannedACL Support

What problem are we solving?
Add Amazon S3 CannedACL Support
How are we solving the problem?
How is the PR tested?
Test through http interface using s3-sdk
Checks

[ ] I have added unit tests if possible.
[ ] I will add related wiki document changes and link to this PR after merging.

Okay

The PR is too big to review. Please split this into multiple PRs. For each change, you can have one PR to refactor the code and another PR to make the logic change.

This pr split is a bit troublesome, because there are a lot of couplings, so I split it into two parts, the first is this PR #3731  (ACL related structure introduction)

The PR is too big to review. Please split this into multiple PRs. For each change, you can have one PR to refactor the code and another PR to make the logic change.

This pr split is a bit troublesome, because there are a lot of couplings, so I split it into two parts, the first is this PR #3731 (ACL related structure introduction)

When this PR is no problem, I will submit another PR on this basis (ACL logic implementation and related interface modification)


Dataset ABC segmentation

Hi, I have read UVNet and I think it is a good study. I saw the experiment of ABC dataset segmentation in the article. I want to ask how this label is obtained, or do you have the label information that has been obtained? I think I may need to use it in later research. I wonder if it is convenient to share. Thank you very much!

Hi @louyz1026, sorry for the late reply. The labels were obtained using a proprietary solid modeling kernel that does feature recognition. I am not aware of open-source solid modeling kernels providing this feature, unfortunately.


replace "AND" with "OR" for accurary in unknown race/ethnicity reporting

can we push this to prod asap? simple change and we already reviewed with the team

It's live now; not sure why the issue didn't close automatically


User Management | Provide system alert when updating one's own user profile |1|

https://trello.com/c/OOJbsy6p/1098-user-management-provide-system-alert-when-updating-ones-own-user-profile-1
Task:
Add a system alert when updating one own's user profile (when clicking on "Save User" after updating information)

Location: [User] > Settings > User Profile
Currently, the screen just flashes when clicking on Save User, making it unclear if the information was actually saved / updated

 User Management | Provide system alert when updating one's own user profile |1|


Use findmnt in update-grub-hook

Fixes rancher/elemental#632
Signed-off-by: Fredrik Lönnegren<EMAIL_ADDRESS>

Closing this in favor of rancher/elemental-cli#414


Error communicating with Tapo Camera. Status code: 500 (C210)

Description
Restarting Home Assistant I suddenly had two cameras not working in the integration. I am getting a Migration Error in the integrations GUI, with the log showing the error;
Error communicating with Tapo Camera. Status code: 500
Trying to set up one of these cameras on my test system I can get the IP and Camera Account done, but the Cloud account step fails (even though the password is the same as the Camera Account, and works for the other 6 cameras still).
The two devices are C210, but I have another couple of these models that are working as expected.
Reproduction Steps

Restart Home Assistant
Two camera's not loading from the integration (6 other camera's loading as expected)
Error Migrating Entry for IP-Address for Tapo Control show in log (full log from main HA system below)

Expected behavior
Device expected to setup as normal.
If applicable, add error logs.
Traceback (most recent call last):
File "/config/custom_components/tapo_control/init.py", line 196, in async_migrate_entry
tapoController = await hass.async_add_executor_job(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/tapo_control/utils.py", line 81, in registerController
return Tapo(host, username, password, password_cloud, super_secret_key, device_id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pytapo/init.py", line 66, in init
self.basicInfo = self.getBasicInfo()
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pytapo/init.py", line 743, in getBasicInfo
return self.executeFunction(
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pytapo/init.py", line 296, in executeFunction
data = self.performRequest(
^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pytapo/init.py", line 335, in performRequest
self.ensureAuthenticated()
File "/usr/local/lib/python3.11/site-packages/pytapo/init.py", line 86, in ensureAuthenticated
return self.refreshStok()
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pytapo/init.py", line 265, in refreshStok
raise Exception("Invalid authentication data")
Exception: Invalid authentication data
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 633, in async_migrate
result = await component.async_migrate_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/tapo_control/init.py", line 225, in async_migrate_entry
raise ConfigEntryNotReady
homeassistant.exceptions.ConfigEntryNotReady: None
Device Firmware
1.3.9 Build 231019 Rel.31045n(4555)
Using stream component
Yes
Does camera work via official integrations?
Yes
Camera has all attributes filled out in developer tools
No
HASS Environment
Docker on Synology NAS
Search for similar issues
Yes
Additional information
No response

@rark-ha Try using "admin" as a user, regardless of your actual username setup in your camera settings.

@rark-ha Try using "admin" as a user, regardless of your actual username setup in your camera settings.

No. That gives me an error when trying to update the config on the main HA instance, and fails with a similar username error when trying to setup the device on my test HA.

Update to latest version of integration.


rosetta code : Bull and cow

Signed-off-by: Istvan SZALAI<EMAIL_ADDRESS>

+1

ping?

Correction commit in the week !

you might reopen if you update the PR


Use use_inline_resources only if defined

use_inline_resources doesn't work in all versions of Chef
NameError: undefined local variable or method `use_inline_resources'

Chef 10 is no longer supported by Chef Software, Inc. More information is available in Chef RFC 15 related to Chef 12's release.


Bot framework v3 - Sending events from bot using DirectLine

Hi,
We are using DirectLine to create an event and to greet the  User. We have used following piece of code in our project to send the activity as an event :
function LoadBotChatUI() {
    dlContext =  @Html.Raw(ViewBag.dlContext);
   var dl = window.WebChat.createDirectLine({ secret: dlContext.dlToken });
    window.WebChat.renderWebChat({
       directLine: window.WebChat.createDirectLine({ token: dlContext.dlToken }),
    username: dlContext.user.name,
    userID: dlContext.user.id,
    bot: { id<EMAIL_ADDRESS>},
    resize: 'detect'
  }, document.getElementById("bot"));

    dl.postActivity({
            from: dlContext.user,
            name: 'requestWelcomeDialog',
            type: 'event',
            value<EMAIL_ADDRESS>        })
        .subscribe(function (id) {
            console.log('"trigger requestWelcomeDialog" sent');
        });

}

To handle this activity  we have used below condition:
else if (message.Type == ActivityTypes.Event)
{
Adaptive card to greet user
}
This code was working fine till  12/05/2019, But now we are getting activity type as conversation update instead of activity type as an event once we open chat window.
CDN Used :   https://cdn.botframework.com/botframework-webchat/master/webchat-es5.js
Anybody can gimme an example about how can we fix this in v3 using c#?

Look over sample 15.d.backchannel-send-welcome-event from the BotFramework-WebChat repo. It details the preferred method for sending an event back to the bot. Setup is the same for either C# or other.

Closing as resolved.


Etcd storehouse backend not working

Original issue opened by @italovalcy at https://github.com/kytos/storehouse/issues/63.
Hi,
I'm trying to use the the Etcd storehouse backend by the following steps:

Use the Kytos/nightly docker image

After start the container:

apt-get update && apt-get install etcd-server etcd-client && service etcd start

sed -i 's/BACKEND = "filesystem"/BACKEND = "etcd"/g' /var/lib/kytos/napps/kytos/storehouse/settings.py

kytosd -E

Just after starting Kytos we have some errors on the log:
Nov 12 21:11:55 d7cc32bbe40d kytos.napps.kytos/storehouse:ERROR main:182:  Bad callback function <bound method StoreHouse._get_or_create_a_box_from_list_of_boxes of <napps.kytos.mef_eline.storehouse.StoreHouse object at 0x7faeac31c5c0>>!
Nov 12 21:11:55 d7cc32bbe40d kytos.napps.kytos/storehouse:ERROR main:182:  Bad callback function <bound method Main.request_retrieve_entities of <Main(topology, stopped<PHONE_NUMBER>36640)>>!
Nov 12 21:11:55 d7cc32bbe40d kytos.napps.kytos/storehouse:ERROR main:183:  'generator' object is not subscriptable
Nov 12 21:11:55 d7cc32bbe40d kytos.napps.kytos/storehouse:ERROR main:183:  'generator' object is not subscriptable
Nov 12 21:11:55 d7cc32bbe40d kytos.napps.kytos/storehouse:ERROR main:182:  Bad callback function <bound method Main.request_retrieve_entities of <Main(topology, stopped<PHONE_NUMBER>36640)>>!
Nov 12 21:11:55 d7cc32bbe40d kytos.napps.kytos/storehouse:ERROR main:183:  'generator' object is not subscriptable
Nov 12 21:11:55 d7cc32bbe40d kytos.napps.kytos/storehouse:ERROR main:182:  Bad callback function <bound method Main.request_retrieve_entities of <Main(topology, stopped<PHONE_NUMBER>36640)>>!
Nov 12 21:11:55 d7cc32bbe40d kytos.napps.kytos/storehouse:ERROR main:182:  Bad callback function <bound method StoreHouse._get_or_create_a_box_from_list_of_boxes of <napps.kytos.topology.storehouse.StoreHouse object at 0x7faeb1d62208>>!
Nov 12 21:11:55 d7cc32bbe40d kytos.napps.kytos/storehouse:ERROR main:183:  'generator' object is not subscriptable
Nov 12 21:11:55 d7cc32bbe40d kytos.napps.kytos/storehouse:ERROR main:183:  'generator' object is not subscriptable

If you ignore those erros and go ahead to actually use Kytos ("use Kytos" here means create an EVC in mef_eline napp, but I suppose this will happens for any other usage):
prompt$ curl -s -X POST -d '{"name": "my evc3 100","enabled": true,"dynamic_backup_path":true, "uni_a": { "interface_id": "00:00:00:00:00:00:00:01:1", "tag": {"tag_type":1, "value": 200} }, "uni_z": {"interface_id": "00:00:00:00:00:00:00:02:1", "tag": {"tag_type":1, "value": 200}}}' http://$KYTOS_IP:8181/api/kytos/mef_eline/v2/evc/ -H "Content-Type: application/json"

{"code":500,"description":"The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.","name":"Internal Server Error"}

In the server logs:
Nov 12 21:13:35 d7cc32bbe40d kytos.core.controller:ERROR app:1892:  Exception on /api/kytos/mef_eline/v2/evc/ [POST]
Nov 12 21:13:35 d7cc32bbe40d Traceback (most recent call last):
Nov 12 21:13:35 d7cc32bbe40d File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 2447, in wsgi_app
Nov 12 21:13:35 d7cc32bbe40d response = self.full_dispatch_request()
Nov 12 21:13:35 d7cc32bbe40d File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1952, in full_dispatch_request
Nov 12 21:13:35 d7cc32bbe40d rv = self.handle_user_exception(e)
Nov 12 21:13:35 d7cc32bbe40d File "/usr/local/lib/python3.6/dist-packages/flask_cors/extension.py", line 161, in wrapped_function
Nov 12 21:13:35 d7cc32bbe40d return cors_after_request(app.make_response(f(*args, **kwargs)))
Nov 12 21:13:35 d7cc32bbe40d File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1821, in handle_user_exception
Nov 12 21:13:35 d7cc32bbe40d reraise(exc_type, exc_value, tb)
Nov 12 21:13:35 d7cc32bbe40d File "/usr/local/lib/python3.6/dist-packages/flask/_compat.py", line 39, in reraise
Nov 12 21:13:35 d7cc32bbe40d raise value
Nov 12 21:13:35 d7cc32bbe40d File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1950, in full_dispatch_request
Nov 12 21:13:35 d7cc32bbe40d rv = self.dispatch_request()
Nov 12 21:13:35 d7cc32bbe40d File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1936, in dispatch_request
Nov 12 21:13:35 d7cc32bbe40d return self.view_functions[rule.endpoint](**req.view_args)
Nov 12 21:13:35 d7cc32bbe40d File "//var/lib/kytos/napps/kytos/mef_eline/main.py", line 148, in create_circuit
Nov 12 21:13:35 d7cc32bbe40d self.storehouse.save_evc(evc)
Nov 12 21:13:35 d7cc32bbe40d File "//var/lib/kytos/napps/../napps/kytos/mef_eline/storehouse.py", line 89, in save_evc
Nov 12 21:13:35 d7cc32bbe40d self.box.data[evc.id] = evc.as_dict()
Nov 12 21:13:35 d7cc32bbe40d AttributeError: 'NoneType' object has no attribute 'data'
Nov 12 21:13:35 d7cc32bbe40d kytos.napps.kytos/storehouse:ERROR main:182:  Bad callback function <bound method StoreHouse._get_or_create_a_box_from_list_of_boxes of <napps.kytos.mef_eline.storehouse.StoreHouse object at 0x7faeac31c5c0>>!
Nov 12 21:13:35 d7cc32bbe40d kytos.napps.kytos/storehouse:ERROR main:183:  'generator' object is not subscriptable
Nov 12 21:13:35 d7cc32bbe40d kytos.napps.kytos/storehouse:ERROR main:182:  Bad callback function <bound method StoreHouse._get_or_create_a_box_from_list_of_boxes of <napps.kytos.mef_eline.storehouse.StoreHouse object at 0x7faeac31c5c0>>!
Nov 12 21:13:35 d7cc32bbe40d kytos.napps.kytos/storehouse:ERROR main:183:  'generator' object is not subscriptable

I guess the problem starts since this error at the beginning:
kytos.napps.kytos/storehouse:ERROR main:182:  Bad callback function <bound method StoreHouse._get_or_create_a_box_from_list_of_boxes of <napps.kytos.mef_eline.storehouse.StoreHouse object at 0x7faeac31c5c0>

For future readers, I'm setting this as wontfix since this NApp has been deprecated see PR #15


Use it from the browser?

It would be nice if this lib can be used from the browser (I only intend to fetch tweets at low frequency without using the server feature). Currently it seems impossible.
btw thanks for making this in a post-twitter-2.0 world :)

You can use if from inside a browser using the GraphQL API mode.
After starting it in the GraphQL API mode, go to localhost:{port_number}/graphql on you web browser to access the GraphiQL GUI to run queries to fetch data from Twitter. This method, however, doesn't allow you to send authenticated requests for fetching data such as followers, likes, etc.
If you want to make authenticated requests, using you account's credential, you can use a tool like Postman or Hoppscotch to make the same queries, using the GraphQL API.

thanks. In my case, I don't need to login and guest mode is probably fine. you mean that this part can run in the browser without authentication:

I see. So you always need a local server no matter what

Unfortunately, yes.
Using it without a local server requires hosting the server on an actual physical machine, which will additionally incur cost. Then there is the legalities of scraping data from a web server.
So, it's best to just setup a local server for scrap data.


Pushing teams and channels policy docs to live

Docs Build status updates of commit 7329912:
:clock10: Full build: the average full build time is 14 min(s) 15 sec(s), this is based on the last 71 build(s) for this repository.
:warning: This is a FULL build due to the incremental build being disabled in configuration file (.openpublishing.publish.config.json in 'live' branch). For more detailed info, please click here.

Docs Build status updates of commit 7329912:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

skype/skype-ps/skype/Get-CsTeamsChannelsPolicy.md
:white_check_mark:Succeeded
View (skype-ps)

skype/skype-ps/skype/Grant-CsTeamsChannelsPolicy.md
:white_check_mark:Succeeded
View (skype-ps)

skype/skype-ps/skype/New-CsTeamsChannelsPolicy.md
:white_check_mark:Succeeded
View (skype-ps)

skype/skype-ps/skype/Remove-CsTeamsChannelsPolicy.md
:white_check_mark:Succeeded
View (skype-ps)

skype/skype-ps/skype/Set-CsTeamsChannelsPolicy.md
:white_check_mark:Succeeded
View (skype-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit 7329912:
:clock10: Full build: the average full build time is 14 min(s) 15 sec(s), this is based on the last 73 build(s) for this repository.
:warning: This is a FULL build due to the incremental build being disabled in configuration file (.openpublishing.publish.config.json in 'live' branch). For more detailed info, please click here.

Docs Build status updates of commit 7329912:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

skype/skype-ps/skype/Get-CsTeamsChannelsPolicy.md
:white_check_mark:Succeeded
View (skype-ps)

skype/skype-ps/skype/Grant-CsTeamsChannelsPolicy.md
:white_check_mark:Succeeded
View (skype-ps)

skype/skype-ps/skype/New-CsTeamsChannelsPolicy.md
:white_check_mark:Succeeded
View (skype-ps)

skype/skype-ps/skype/Remove-CsTeamsChannelsPolicy.md
:white_check_mark:Succeeded
View (skype-ps)

skype/skype-ps/skype/Set-CsTeamsChannelsPolicy.md
:white_check_mark:Succeeded
View (skype-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit 091d753:
:clock10: Full build: the average full build time is 14 min(s) 13 sec(s), this is based on the last 76 build(s) for this repository.
:warning: This is a FULL build due to the incremental build being disabled in configuration file (.openpublishing.publish.config.json in 'live' branch). For more detailed info, please click here.

Docs Build status updates of commit 091d753:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/docs-conceptual/exchange-server/recipient-filters/filter-properties.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/policy-and-compliance/Get-MessageClassification.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/policy-and-compliance/New-MessageClassification.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/policy-and-compliance/Remove-MessageClassification.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/policy-and-compliance/Set-MessageClassification.md
:white_check_mark:Succeeded
View (exchange-ps)

skype/skype-ps/skype/Get-CsTeamsChannelsPolicy.md
:white_check_mark:Succeeded
View (skype-ps)

skype/skype-ps/skype/Grant-CsTeamsChannelsPolicy.md
:white_check_mark:Succeeded
View (skype-ps)

skype/skype-ps/skype/New-CsTeamsChannelsPolicy.md
:white_check_mark:Succeeded
View (skype-ps)

skype/skype-ps/skype/Remove-CsTeamsChannelsPolicy.md
:white_check_mark:Succeeded
View (skype-ps)

skype/skype-ps/skype/Set-CsTeamsChannelsPolicy.md
:white_check_mark:Succeeded
View (skype-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit 091d753:
:clock10: Full build: the average full build time is 14 min(s) 12 sec(s), this is based on the last 77 build(s) for this repository.
:warning: This is a FULL build due to the incremental build being disabled in configuration file (.openpublishing.publish.config.json in 'live' branch). For more detailed info, please click here.

Docs Build status updates of commit 091d753:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/docs-conceptual/exchange-server/recipient-filters/filter-properties.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/policy-and-compliance/Get-MessageClassification.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/policy-and-compliance/New-MessageClassification.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/policy-and-compliance/Remove-MessageClassification.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/policy-and-compliance/Set-MessageClassification.md
:white_check_mark:Succeeded
View (exchange-ps)

skype/skype-ps/skype/Get-CsTeamsChannelsPolicy.md
:white_check_mark:Succeeded
View (skype-ps)

skype/skype-ps/skype/Grant-CsTeamsChannelsPolicy.md
:white_check_mark:Succeeded
View (skype-ps)

skype/skype-ps/skype/New-CsTeamsChannelsPolicy.md
:white_check_mark:Succeeded
View (skype-ps)

skype/skype-ps/skype/Remove-CsTeamsChannelsPolicy.md
:white_check_mark:Succeeded
View (skype-ps)

skype/skype-ps/skype/Set-CsTeamsChannelsPolicy.md
:white_check_mark:Succeeded
View (skype-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Export/Import E2E room keys operation taking too long on android versions lower than 7

Currently the export and import E2E keys operation taking nearly 30-40 seconds on Android versions lower than 7.0 whereas it completes the same operation in few seconds on Android 7.0 and above devices.

The data are encrypted so it depends in the CPU performance.
You cannot have the same behaviour on a samsung S8 and a S3.


@vsc.covergroup doesn't work in Jupyter

I like to work in jupyter notebooks when working on examples, creating graphs or examining data. A skill I picked up in multiple machine learning classes.
While trying msmftc's example in #107, I noticed that covergroups classes fail to create. Giving the following error:
TypeError: <module '__main__'> is a built-in class
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-1-5b7b941080bd> in <module>
     20
     21
---> 22 @vsc.covergroup
     23 class BranchInstr_cg:
     24     def __init__(self):

/home/shared/hardware/cores/antisabinip/verif/libs/python36_venv/lib64/python3.6/site-packages/vsc/coverage.py in covergroup(T)
    270
    271     # Store declaration information on the type
--> 272     file = inspect.getsourcefile(T)
    273     lineno = inspect.getsourcelines(T)[1]
    274     setattr(T, "_srcinfo_decl", SourceInfo(file, lineno))

/usr/lib64/python3.6/inspect.py in getsourcefile(object)
    682     Return None if no way can be identified to get the source.
    683     """
--> 684     filename = getfile(object)
    685     all_bytecode_suffixes = importlib.machinery.DEBUG_BYTECODE_SUFFIXES[:]
    686     all_bytecode_suffixes += importlib.machinery.OPTIMIZED_BYTECODE_SUFFIXES[:]

/usr/lib64/python3.6/inspect.py in getfile(object)
    652             if hasattr(object, '__file__'):
    653                 return object.__file__
--> 654         raise TypeError('{!r} is a built-in class'.format(object))
    655     if ismethod(object):
    656         object = object.__func__

TypeError: <module '__main__'> is a built-in class

It seems to be an issue with trying to get a source file, but likely it is confused since a jupyter notebook is more of an extention of an ipython terminal instead of running a python file directly. Overall, this is only a minor issue since randobj and constraints seem to work fine in jupyter notebooks and I can just graph a histogram of the results instead of generating coverage.
Here is the code from #107 which I used:
import vsc

@vsc.randobj
class BranchInstr:
    def __init__(self):
        self.type = vsc.rand_bit_t(1)
        self.disp = vsc.rand_bit_t(22)

    @vsc.constraint
    def short_offset_cnstr(self):
        with vsc.if_then(self.type == 0):
            self.disp < 4096
        with vsc.else_then:
            self.disp >= 8192
            self.disp < 16384

    def __str__(self):
        return(f"type = {self.type}, displacement = {self.disp}")

@vsc.covergroup
class BranchInstr_cg:
    def __init__(self):
        self.with_sample(item = BranchInstr())

        self.type = vsc.coverpoint(self.item.type)

        self.disp_cp = vsc.coverpoint(self.item.disp, bins = {
            "type0_disp" : vsc.bin_array([16], [0, 4095]),
            "type1_disp" : vsc.bin_array([32], [8192, 16383])
        })

branchInstr = BranchInstr()
branchInstr_cg = BranchInstr_cg()

for i in range(1024):
    branchInstr.randomize()
    branchInstr_cg.sample(branchInstr)
    # print(branchInstr)

vsc.report_coverage(details=True)

Thanks for pointing this out, @qzcx! I haven't done much with Jupyter notebooks, but the error does make sense in the context of something that doesn't "really" have source information. Let me look into this a bit, but certainly worth fixing for completeness.

Thanks.
I hit the issue above using visual studio code with the Jupyter extension.
I also tried to repro the issue in google colab (google's free cloud jupyter notebook tool), but had issues installing pyvsc. So I'd recommend trying it in a local server instance.
I was also able to repro the issue just using the normal python terminal which is a bit painful to plug in, but is at least another data point.
>python
>>> import vsc
>>> @vsc.randobj
... class BranchInstr:
...   def __init__(self):
...     self.type = vsc.rand_bit_t(1)
...     self.disp = vsc.rand_bit_t(22)
...
>>> @vsc.covergroup
... class BranchInstr_cg:
...   def __init__(self):
...     self.with_sample(item = BranchInstr())
...     self.type = vsc.coverpoint(self.item.type)
...     self.disp_cp = vsc.coverpoint(self.item.disp, bins = {"type0_disp" : vsc.bin_array([16], [0, 4095]),"type1_disp" : vsc.bin_array([32], [8192, 16383]) })
...
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/shared/hardware/cores/antisabinip/verif/libs/python36_venv/lib/python3.6/site-packages/vsc/coverage.py", line 272, in covergroup
    file = inspect.getsourcefile(T)
  File "/usr/local/noncad/python/3.6.8/lib/python3.6/inspect.py", line 684, in getsourcefile
    filename = getfile(object)
  File "/usr/local/noncad/python/3.6.8/lib/python3.6/inspect.py", line 654, in getfile
    raise TypeError('{!r} is a built-in class'.format(object))
TypeError: <module '__main__' (built-in)> is a built-in class

Hi @qzcx
I can see you are using Python 3.6.8.
Try installing Python version 3.7+ (If possible)
Just a guess, it might work.
Regards,
Anil

Hi Jon (@qzcx),
I've corrected this in the 0.6.0 release.


allow Authorization header to be sent from foreign origins

needed for in-browser clients
So far, I receive a 403 for an OPTIONS request that includes access-control-request-headers:Authorization. This PR intends to fix that (I didn't test this locally yet).
For example:
# this command with httpie
http OPTIONS :28101/v2/generate-client-id access-control-request-method:POST access-control-request-headers: Origin:http://localhost:5173

# correctly gives that result
HTTP/1.1 200 OK
Access-Control-Allow-Headers: Content-Type
Access-Control-Allow-Methods: OPTIONS, PUT
Access-Control-Allow-Origin: *
Access-Control-Max-Age: 86400
Connection: keep-alive
Content-Length: 0

# but this command with httpie
http OPTIONS :28101/v2/generate-client-id access-control-request-method:POST access-control-request-headers:Authorization Origin:http://localhost:5173

# errorneously gives that result (which should rather be a 200 imo)
HTTP/1.1 403 Forbidden
Connection: keep-alive
Content-Length: 0

# sending the request itself
http POST :28101/v2/generate-client-id access-control-request-method:POST access-control-request-headers:authorization Origin:http://localhost:5173 -A bearer -a eyJhbGciOiJIUzUxMiJ9.eyJpc3MiOiJTRUNVUkUgUm…

# will succeed as expected
HTTP/1.1 200 OK
Access-Control-Allow-Origin: *
Connection: keep-alive
Content-Length: 2
Content-Type: text/plain; charset=UTF-8

20

To be verified by reviewers

[ ] Relevant public API members have been documented
[ ] Documentation related to this PR is complete

[ ] Boundary conditions are documented
[ ] Exceptions are documented
[ ] Nullability is documented if used

[ ] Touched existing code has been extended with documentation if missing
[ ] Code is readable
[ ] New features and fixed bugs are covered by tests

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


URL rewrite needs updated on HAProxy > Overview > Backends

When clicking the hyper linked backends on the following URL:
https://<IP_ADDRESS>/app/service/haproxy
The URL's write to this:  https://<IP_ADDRESS>/app/config/section/<IP_ADDRESS>/backend per_ip_rates
and causes a "405 Method Not allowed: The method is not allowed for the requested URL." (with the OOPS robot).
The correct URL would be: https://<IP_ADDRESS>/app/config/section/haproxy/<IP_ADDRESS>/backend per_ip_rates   (notice 'haproxy' part)
Roxy-WI version <IP_ADDRESS>

Thank you. Will be fixed in the next release


Wording defect on the "transfer" algorithms w.r.t. get_completion_scheduler

The working implies that get_completion_scheduler for all 3 CPOs will
return a scheduler equivalent to the one received as an argument. But
this can be only guaranteed in the case of set_value_t and set_done_t,
and cannot be guaranteed in case of set_error.
If an exception is thrown while trying to use the given scheduler to
schedule work, then the specification indicates that set_error is
called directly, i.e., so it may not be on the given scheduler.
This fix applies to transfer, schedule_when and transfer_when_all

Would you please add a note to the revision history for R4 about this change? Otherwise, looks good.

Done.

Oh, just one more thing. Can you update the reference implementation to conform to the new wording? It's a simple change.


TypeError: Cannot read property 'loaded' of undefined on buefy tabs

Version
2.2.3
Vue.js version
2.5.3
What is expected?
The component should work as in the demo.
What is actually happening?
The spinner is not showing, the component rendered after the data loaded. Also the $state is return undefined, resulting the following error when loaded is called.
TypeError: Cannot read property 'loaded' of undefined
How to reproduce this problem?
I am using Buefy's tabs to create my interface. The library working well when I placed it in first tab. However it doesn't work when the tab is not first active.
I've tried hooking the tab change event and trigger the manual load attempt. It also didn't work.

Could you provide a live demo?

Check here please: https://jsfiddle.net/rizqyhi/4qr9806f/3/

Because the Buefy tab component has transition effect, so we have to wait for transition to finish then trigger the attemptLoad method, usually, we just need to listen transitionend event of all tabs except the first one, and only listen once time.
I have updated your live demo to implement it, hope this demo can help you: https://jsfiddle.net/4qr9806f/4/

Hello, thank your for your solution. I've updated my project and it works. However, I got a new problem when it goes with vue-router. The transitionend won't fire after I push new page with $router.push() programmatically. I also tested with <router-link> and it works.
The updated demo with vue-router: https://jsfiddle.net/rizqyhi/4qr9806f/7/

Aha, I have been tested your demo with Chrome 63, and it works, even if use $router.push, this is the updated demo: https://jsfiddle.net/4qr9806f/8/

It seems still not working on me, using Chrome 64. Did you try to click the content on tab 2?
It appears the issue occurs only after I click the content inside.

I tried it just now, but when I remove infinite-loading component, your problem still exists, so it looks like not related to this component, you can report your problem to vue-router or Buefy.

Ok, got it. The issue is transitionend event isn't fired. I'll try to open this issue on them. Thank you.

You're welcome :).

A workaround I'm using for this:
<template>
  <b-tab v-model="activeTab">
    <b-tab-item label="Sprockets">
      ...
      <vue-infinite-loading ... v-if="activeTab === 0" />
    </b-tab-item>
    <b-tab-item label="Ratchets">
      ...
      <vue-infinite-loading ... v-if="activeTab === 1" />
    </b-tab-item>
  </b-tab>
</template>

<script>
export default {
  ...

  data: () => ({
    activeTab: 0
  })

  ...
};
</script>


WIP managed OpenGB

#133  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @MasterPtato and the rest of your teammates on  Graphite

Will implement on beta


Over 3-digit numbers get cutoff in display (see below)

Hi, is there any news on this? Or a known workaround?
Thanks a lot!

Not yet. Since jupyterplot wraps python-lrcurve it would be worth checking if the issue persists there as well and if so raise the issue there at the source.


OpenCensus: fixes broken traces exporting caused by a missing EndSpan

It seems like the Census plugin is not ending the span created by grpc::OpenCensusCallTracer, therefore tools like Jaeger are unable to relate the spans created by grpc::OpenCensusCallAttemptTracer to the previous ones.
@drfloob

@epertoso Note that tests are failing. Error message -
test/cpp/ext/filters/census/stats_plugin_end2end_test.cc:660:43: error: no member named 'GetSpansAndClearState' in 'grpc::testing::(anonymous namespace)::ExportedTracesRecorder'
  auto recorded_spans = traces_recorder_->GetSpansAndClearState();
                        ~~~~~~~~~~~~~~~~  ^
test/cpp/ext/filters/census/stats_plugin_end2end_test.cc:671:8: error: variable has incomplete type 'void'
  auto sent_span_data =
       ^
test/cpp/ext/filters/census/stats_plugin_end2end_test.cc:673:8: error: variable has incomplete type 'void'
  auto attempt_span_data =
       ^
test/cpp/ext/filters/census/stats_plugin_end2end_test.cc:677:8: error: variable has incomplete type 'void'
  auto recv_span_data =
       ^

My bad, I refactored something and forgot to re-run the tests. They're passing locally now.

Need more work, it seems there's some flakiness related to the exported spans. I'll need more time to see what's happening there.

@yashykt
I've looked up into why the test is flaky, and that's because the OpenCensusCallTracer destructor is called when the grpc_call object is destroyed, which may or may not happen before all the spans have been recorded.
The other tests in the file stats_plugin_end2end_test.cc use absl::SleepFor(absl::Milliseconds(500)) to wait for the destructor to be called.
I'm not a big fan of using sleep in multi-threaded tests, but it seems that there is no easy way to register a closure that runs after the call gets destroyed. Do you think it's acceptable to put SleepFor before exporting the traces, like the other tests are doing for the stats?

Hey, yes, I had seen this issue some time back but didn't have time to fix it at that point. I'd say go ahead and add that sleep for now.

Sorry for the late reply, done.


OpenSSL 3.x.How to enable legacy algorithm support?

Sorry,I know this is a discussion.
But I didn't receive a response, so I turned it into an issue.
OpenSSL compile as static library, I tried loading the old provider.No error is reported, but the old algorithm is still not supported.
OSSL_PROVIDER_load(NULL, "legacy");
OSSL_PROVIDER_load(NULL, "default");

Discussed in https://github.com/openssl/openssl/discussions/24506

Originally posted by qwe857359351a May 27, 2024
The system is written in C++,the OpenSSL library is now upgraded to version 3.x.
In order to ensure that the project can be upgraded smoothly, functional testing is performed.
The parsing failed when calling the PKCS12_parse function. After debugging, it was found that some PKCS12 data used an old encryption algorithm, which is no longer supported by default. However, the data has been distributed and cannot be directly replaced. How should this be handled in the code?

SHA1 enabling also depends on security level, AFAIK.
Look for SECLEVEL too in documentation

Closing in favor of the discussion.

Please do not open duplicate issues.


Standalone checks are default true?

Readme implies that all checks are default standalone=false.
Code is currently asserting that standalone=true is the default.

I know this was closed long ago. But I just ran into this again.
https://sensuapp.org/docs/latest/reference/checks.html#check-attributes
the default says false. But the sensu sets it to true by default.

@s33dunda To which check attribute are you referring?


How do I get route config json in java?

Hi there,
I'm trying to separate my configuration variables from code , and want to put it on routes config.
My route config was like this:
{
.....
"config": { "XXX_DB" : "1234567"}
....
}
I thought I can get XXX_DB by env variable in my java code , but I print all my env variables , I just can't find it. Anyone knows how to get this config values?

hello @sss0350 , sorry for taking time to get to this. Were you able to get config vars ?


Back links as RLMResults or RLMArray

If my whole project is set up to be manipulating data based on RLMArray and RLMResults, I need to be able to manipulate back linked objects from an inverse relationship as well. It seems very counter-intuitive to me to have the linkingObjectsOfClass: forProperty: method return an NSArray.
This is causing me problems in how I am able to work with the data I'm receiving from this query. Is there a way to convert this into RLMResults?

Hi @AnthonyMDev, we totally agree it would be great to represent backlinks as RLMResults, but unfortunately there's some infrastructure we need to get into place for that to be possible.

Okay, so this isn't just an odd design decision, but a current limitation? Makes sense. Thanks

@AnthonyMDev yup! As soon as we have support in Core for this, we'll change backlinks to return an RLMResults.

This will be done as part of #1324, so I'm closing this as a duplicate.


Underscores in metadata keys

What version of gRPC and what language are you using?
  name = "google.golang.org/grpc"
  version = "=1.24.0"

What operating system (Linux, Windows,...) and version?
Mac OS 10.14.16 Mojave
What runtime / compiler are you using (e.g. python version or version of gcc)
Bazel for Go
What did you do?
Sent metadata from client side with keys that have underscores
What did you expect to see?
Server side to receive those keys
What did you see instead?
Those keys are dropped
Anything else we should know about your project / environment?
val client = Metadata.Key.of("client", Metadata.ASCII_STRING_MARSHALLER) <-- goes through
val client = Metadata.Key.of("cli_ent", Metadata.ASCII_STRING_MARSHALLER) <-- gets dropped

it is working on localhost but not on kubernetes
turns out it was because of an nginx config map setting
https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/configmap/#enable-underscores-in-headers - this is disabled by default
enabling this makes everything good again


Changed language selector

As discussed previously into #106 locally i was having problems with the language selector.
At the time the problem was not propagated into the action so the change was not merged into main.
But diving into #112 i found that the problem was the option details filling.
The problem here might be that the id of the 'Promotional content' is not matching the id expected into the code without the language selector fix during the action process with the old selector.
With the fix instead the action runs smoothly without errors.
Any opinion on this?

@matevskial @abe-101 @TheJoin95


Implement e2e test on k3d

Description
This task is to have e2e tests. We already have a place for them: https://github.com/kyma-project/btp-manager/blob/main/testing/go/e2e_test.go
Acceptance Criteria:

[x] 1) write a test case where we use dummy secret (see: examples/btp-manager-secret.yaml) and deployments/prerequisites.yaml,  test scenarios:

[x] a) create BTPOperator resource, check status, check btp-operator-controller status, create dummy serviceInstace and check that it is in errorState (because of dummy credentials)

[ ] 2) document and present how to stop pipeline during execution (stoping in given place in the test will be even better), login into k3d of the given run, and check resources statuses

@tillknuesting use yaml files as a testing data

PR for the go test: https://github.com/kyma-project/btp-manager/pull/62

This is the final PR for this ticket: https://github.com/kyma-project/btp-manager/pull/83

Introducing SSH into Github Actions seems more complex as authentication is a big issue. This is still left todo for another person.


ruby: export generic builder

Allow building any ruby, like ruby-build does.
Motivation for this change
I think it would it make sense to allow building (m)any ruby, like ruby-build does.
What do you think about this change, @manveru, @vrthra? (did I ping the wrong people? 😅)
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[x] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

This is wonderful. I’d been wanting to get around to this. I’ll have some more substantial feedback later, but I definitely want to have this in Nixpkgs

I like this very much :)

I thought thought that maybe the version should be called something more specific, if maybe that is to be changed, so backwards compatibility would be easier.

Great idea!

I renamed it to 'mkRuby and rebased the branch (incorrectly, initially).

Patches inlined, mkRuby — used! I added versionNrs and versionStr, because it felt right.

The builds should cache though, right? (By that I mean it should be possible to make them cache, since nothing really changed, since the version numbers get converted to the same end value.)
Also, ping!

Inlining the patches, which happens from 7297606ff7b to b7b4c44177e, makes the cache fail. Is that supposed to be that way? I don't entirely know why or should it be that way.
Here's the nix-diff of ruby_2_3 instantiations:
+ /nix/store/8738cn2080gjc66k3clg7ddjafgfiqa7-ruby-2.3.8.drv:{out}
• The input named `ruby-2.3.8` differs
  - /nix/store/n6sbal9nmmnb6f9qg53n7lnskadv2p1l-ruby-2.3.8.drv:{out}
  + /nix/store/w22ldvcmfzkl0ms9r346ls95rk5l4w3b-ruby-2.3.8.drv:{out}
  • The set of input names do not match:
      - source
  • The environments do not match:
      patches=''
          ←/nix/store/swd1jahgs16x7vc13pqyha8h3v4ra5fb-source/patches/ruby/2.3/head/railsexpress/01-skip-broken-tests.patch /nix/store/swd1jahgs16x7vc13pqyha8h3v4ra5fb-source/patches/ruby/2.3/head/railsexpress/02-improve-gc-stats.patch /nix/store/swd1jahgs16x7vc13pqyha8h3v4ra5fb-source/patches/ruby/2.3/head/railsexpress/03-display-more-detailed-stack-trace.patch←
      ''

Please advise, I've no idea. :)

Inlining the patches, which happens from 7297606ff7b to b7b4c44177e, makes the cache fail. Is that supposed to be that way? I don't entirely know why or should it be that way.

Possibly related; not sure -- why change from using rubyVersion to
versionNrs and versionStr?

It translates down to rubyVersion, but I myself as a user would like to use
the same format as in .ruby-version — that's why. :)
On Thu., 21 Mar. 2019, 6:57 am Alyssa Ross<EMAIL_ADDRESS>wrote:

Inlining the patches, which happens from 7297606ff7b to b7b4c44177e,
makes the cache fail. Is that supposed to be that way? I don't entirely
know why or should it be that way.

Possibly related; not sure -- why change from using rubyVersion to
versionNrs and versionStr?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/NixOS/nixpkgs/pull/55636#issuecomment-475060751, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAOWi9OtyP-7jOT-AbZskQ8Mrirvmkhtks5vYrzxgaJpZM4a2Qj7
.

It translates down to rubyVersion, but I myself as a user would like to use
the same format as in .ruby-version — that's why. :)

Hmm. I'm not sure it's worth it. It makes the code really quite
difficult to follow. Maybe if you could pull it out into some other
function or something we could have the best of both worlds. I do
appreciate the idea of having it be the same as .ruby-version.

I could just move the versionStr -> rubyVersion function from mkRuby into a function with its own name so you could 'get' it without having to read the implementation. How 'bout that? :P
Do those rebuilds qualify this as non-mergable for now?

I've used rubyVersion = lib.replaceChars ["." "\n"] ["_" ""] ( lib.readFile ./config/ruby-version-deployment); for that purpose so far.

I could just move the versionStr -> rubyVersion function from mkRuby into a function with its own name so you could 'get' it without having to read the implementation. How 'bout that? :P

Sounds good.

Do those rebuilds qualify this as non-mergable for now?

Not necessarily. I'm hoping whatever's causing them will just disappear
as we continue to work on the code, but even if they stick around we
can still merge this.

@manveru That looks like a list. The object that ought to be created is that weird set that pkgs/development/interpreters/ruby/ruby-version.nix creates.

I am not quite familiar with PR processes in NixPkgs. @siers Can you please explain why this was closed?

because I don't have lots of dedicated computer volunteer time and so I couldn't support it

because I don't have lots of dedicated computer volunteer time and so I couldn't support it

Got it ;) Maybe I'll continue a bit later. Will use your fork, thanks.


Add ability to save screenshots locally to predefined place as well as Imgur

What Workflow the issue is about: WebScreenshot
The Workflow’s version: 1.5.9
Alfred’s version: 3.6
macOS’ version: 10.11.6

This is a feature request to WebScreenshot workflow.
I often like to make screenshots that I want to save both locally and also get an immediate Imgur link to share. Currently your workflow only does the second part really well.
Would it be possible to add a new action that will allow user to take a screenshot and then get a little prompt of what name the user wants to give to the screenshot and save the screenshot to a predefined folder user chooses (by default ~/Desktop). The workflow will then save the original screenshot to that location but will also upload it to Imgur and give a shareable link.
I would really appreciate this addition. Thank you.

I can see the case to having a Workflow Environment Variable that’ll set the behaviour to always or never saving the screenshot to the Desktop, but adding yet another trigger for that specific case is harder to justify. If you’re interested in the former, I can take a look.

by default ~/Desktop

I’d be reluctant to make it configurable. The Desktop is a good default.

then get a little prompt of what name the user wants to give to the screenshot

That one is not going to happen. The goal of the Workflow is to save time uploading screenshots, and that window would be annoying.

that’ll set the behaviour to always or never saving the screenshot to the Desktop

This won't work for me I am afraid. As I would like to have both of those options available to me as two separate hotkeys I can call.
I can fork WebScreenshot and make an internal copy that will try and do this I guess. Thank you for considering it.

Keeping the screenshot is easy. At the bottom of the webscreenshot script, add
cp "${screenshot_file}" "${HOME}/Desktop"

From then it’s easy to make the script take yet another argument (for saving or not) and have it save the screenshot only when the argument is present. Something like this (not tested) should work
shift
[[ "${1}" == 'keep_screeshot' ]] && mv "${screenshot_file}" "${HOME}/Desktop"

Hey @vitorgalvao
I updated the workflow to suit this use case for myself. But I created a new file for it and a new action as I need both.
Here is the workflow in case you want to add it to original workflow.


quagga: <IP_ADDRESS> -> 1.0.20160315

Things done:

[x] Tested using sandboxing (nix-build --option build-use-chroot true or nix.useChroot on NixOS)
Built on platform(s)

[x] NixOS
[ ] OS X
[x] Linux

[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

More
Security update, fixes CVE-2016-2342
Please cherry-pick to release-16.03.
Tested on master (61fc93b) and release-16.03 (18fd4c1).

Picked into release at<PHONE_NUMBER>fbb236ccb7a5e1aaf21c46b2ae7388


Fix elided lifetime

This fixes an issue with the recent nightly that has added a lint (https://github.com/rust-lang/rust/pull/129207) that warns about the lack of a lifetime, which looks like:
warning: elided lifetime has a name
   --> src/cargo/core/workspace.rs:580:66
    |
580 |     pub fn default_members<'a>(&'a self) -> impl Iterator<Item = &Package> {
    |                            -- lifetime `'a` declared here        ^ this elided lifetime gets resolved as `'a`
    |
    = note: `#[warn(elided_named_lifetimes)]` on by default

@bors r+

:pushpin: Commit e21f0d018ed82868b5ee342769f2bffdac295490 has been approved by epage
It is now in the queue for this repository.

:hourglass: Testing commit e21f0d018ed82868b5ee342769f2bffdac295490 with merge 31a8fbc3c9a6b87637b02ec1bedc1bd3b86e8799...

:broken_heart: Test failed - checks-actions

Pushed a fix for the test matching the nightly version.

@bors r=epage

:pushpin: Commit 2597cdf7708f57e02f29c7568198c94831408db4 has been approved by epage
It is now in the queue for this repository.

:hourglass: Testing commit 2597cdf7708f57e02f29c7568198c94831408db4 with merge ee6f1c8ee847488d155dbbc4222d4dfe2d877216...

:sunny: Test successful - checks-actions
Approved by: epage
Pushing ee6f1c8ee847488d155dbbc4222d4dfe2d877216 to master...


ValueError

Hello, can you tell me whether the 3D boxing test of the PPO environment is successful? Here I display: ValueError: operators could not be broadcast together with shapes (10,) (3,) (10,). How can I handle this error?

Hello!
The previous error reports have been resolved, but now when running the train.py file, an error will be reported: TypeError: tuple indications must be integers or slices, not str. What is the cause.

Hi,
The train.py script should work now. Be sure also to check the jupyter notebooks in the nb folder; these have more examples of training the models.


Cart error

In the cart drawer, if the user clicks the quantity ticket very quickly more times than the quantity available for that item you get the alert "cannot update empty cart(bad_request):null".
I was able to replicate this bug easily in the Boundless theme.

Boundless wasn't built on Timber. If you're able to recreate this on a fresh install of Timber feel free to reopen the issue.
For what it's worth, that issue has since been fixed on Boundless, so thanks for noting it.


mgmt_core/user_irq input_delay missing?

I'm running STA on the whole caravel+user_project_area to try to detect any issues we might get from the integreation of both.
I have a question about the mgmt_core.user_irq inputs:
In the new core there seems to be a lot of hold delays cells to handle outputs from the user_project_wrapper (la_data_out , wbs_dat_o) into the mgmt_core that help even out the difference in clocks to avoid hold violations. But it seems there are no delay cells on the user_irq paths, and that is causing some hold violations in our design.
Taking a quick look at the mgmt_core.sdc I see that it sets an input_delay of 1.0 to all the inputs (mprj_dat_i, la_input)  but not for the user_irqs. Is there a reason behind that?  I saw that the user_irq inputs use double flip-flop to sync the signal but when the signal comes from a synced cell in the projet area it might probably always caused a hold violation on the first ff

Here's a thread on the slack where I posted about this topic:
https://skywater-pdk.slack.com/archives/C02K4RD241Y/p1640276417199900

Addressed with  a preliminary input constraint. Not clear that the general problem is addressed with clear boundary constraints.


lowdown: 0.8.6 -> 0.9.0; nixUnstable:  2.4pre20210922 -> 2.4pre20211001

https://github.com/kristapsdz/lowdown/blob/0b85e777f3cdacf4210f0d624a0ceec8df612e05/versions.xml#L1126-L1166

Motivation for this change
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 via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 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.

Result of nixpkgs-review pr 139234 at 5a3ca08c run on aarch64-linux 1

6 packages failed to build:

hydra-unstable
nix-direnv-flakes
nix-update
nixUnstable
nixpkgs-review
rnix-lsp

1 package built successfully:

lowdown

Note that build failures may predate this PR, and could be nondeterministic or hardware dependent.
Please exercise your independent judgement. Does something look off? Please file an issue or reach out on IRC.

So a fix to upstream into nixUnstable first…

https://github.com/NixOS/nix/pull/5292

@ofborg build nixUnstable hydra-unstable nix-direnv-flakes nix-update nixpkgs-review rnix-lsp

@ofborg build nixStatic

Can we also backport this?

Can we also backport this?

I can make a backport, would move the lowdown update into a versioned attribute just to be safe.

Backport at #140522.


update allowed sub types

#signoff

@vladai78
Can you review the proposed changes? Note that the validation warnings must be resolved before merging.
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


Add a better error message for canister calls made after tear down

Calling a canister after executing the PIC tear down function will result in a exception that doesn't inform the developer why it's failing. A specific error message could be added for these cases.

Fixed in https://github.com/hadronous/pic-js/pull/10


outdated git repository

Hello how are you?
I'm trying to install your library "https://github.com/s4int/robotframework-KafkaLibrary" to use in Robotframework with Python 3.5, but in the pip / pip3 repository
according to your GIT repository.
https://pypi.org/simple/robotframework-kafkalibrary/
Are you interested in updating?
Appreciate.
Tatiane Saboto

#Python2
#!/usr/bin/env python
from os.path import join, dirname
from setuptools import setup
execfile(join(dirname(file), 'KafkaLibrary', 'version.py'))
DESCRIPTION = """
Kafka support for Robot Framework.
"""[1:-1]
#Python3
#!/usr/bin/env python
from os.path import join, dirname
from setuptools import setup
filename=join(dirname(file), 'KafkaLibrary', 'version.py')
exec(compile(open(filename).read(),filename, 'exec'))
DESCRIPTION = """

Thank you.
I've fixed that issue and will release new version with that and couple other fixes.

Fixed in #10


Drupalcon Portland 2024 Blog

Blog: Drupalcon Portland
Review at https://20240513-drupalcon-portland.ddev-com-front-end.pages.dev/blog/drupalcon-portland-wrapup/

did you take any pictures of those on Tuesday wearing the DDEV swag?
Maybe we could add a small note about it.

Also, we should mention there were plenty of DDEV stickers on site and we shipped some to the Australia NZ community and to as many other communities as we came in contact with. I will DM you a picture.


Random SIGSEGV issue when running Stryker Mutator

Summary
I am unable to reliably reproduce this, but I did get a trace log when it happens.  As such, I do not have a sample I can send.  The issue occurs where the child process crashes unexpectedly.
(22023) ERROR Stryker Unexpected error occurred while running Stryker ChildProcessCrashedError: Child process [pid 22587] exited unexpectedly with exit code null (SIGSEGV). Stdout and stderr were empty.     at ChildProcessProxy.handleUnexpectedExit (/home/sscott/Development/nestjs-emulator/node_modules/@stryker-mutator/core/dist/src/child-proxy/child-process-proxy.js:34:37)     at ChildProcess.emit (node:events:378:20)     at maybeClose (node:internal/child_process:1067:16)     at Socket.<anonymous> (node:internal/child_process:453:11)     at Socket.emit (node:events:378:20)     at Pipe.<anonymous> (node:net:665:12) {   innerError: undefined,   pid: 22587,   exitCode: null,   signal: 'SIGSEGV' }
Stryker config
stryker.conf.js.txt
Test runner config
jest.config.js.txt
jest-base.config.js.txt
Stryker environment

Global:
Local to Project:
├── @stryker-mutator/core": "~5.2.0",
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>

├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>
Test runner environment

npm test
which is:
jest --config ./jest.config.js --watchAll
stryker run --fileLogLevel trace

Your Environment

software
version(s)

node
15.9.0

npm
7.19.1

Operating System
Ubuntu 21.04

NestJS
8.0.2

Add stryker.log
stryker.log

Forgot to add TSConfig.json
tsconfig.json.txt

Hi @Chowarmaan thanks for the extensive bug report. I can see that it is related to typechecking in @stryker-mutator/typescript-checker. The root cause is difficult to find out, might be related to TypeScript internals, what version of TypeScript are you using?
As a workaround, you can run Stryker without the checker:
-	checkers: ['typescript'],
+	checkers: [],

To solve this (not the root cause, but the crash), we should implement a restart mechanism in the TypeChecker proxy class, like we already have in the TestRunner proxy class.

I am using Typescript 4.3.5, and it is installed globally if that matters.  I will remove the checker entry for now.  Thanks for the quick feedback.

This feature just got released for Stryker 5.3 please give it a try


Release v3.2.0

Summary:
changelog and version bump
Submitter checklist:

[ ] CHANGELOG updated or N/A
[ ] Documentation updated or N/A

Merger checklist:

[ ] ALL tests have passed
[ ] Code Review is done
[ ] Dependencies satisfied

Dependencies:

[ ]

Codecov Report

Merging #107 into master will not change coverage by %.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #107   +/-   ##
=======================================
  Coverage   91.62%   91.62%
=======================================
  Files          12       12
  Lines        1516     1516
=======================================
  Hits         1389     1389
  Misses        127      127

Impacted Files
Coverage Δ

setup.py
0.00% <ø> (ø)

stream/__init__.py
95.23% <100.00%> (ø)

Continue to review full report at Codecov.

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


Metal not working?

Hi @edubart thanks for this nice lib.
Unfortunately SOKOL_METAL rendering seems broken for me while SOKOL_GLCORE33 seems to work just fine :(
Steps to reproduce:

I did copy https://github.com/edubart/sokol_gp#quick-usage-example into an empty xcode macOS project as an main.m Objective-C file.
Changed head of file to:

// main.m
#define SOKOL_IMPL
// #define SOKOL_GLCORE33 // This works just fine
#define SOKOL_METAL // BUG: Metal breaks with current sokol_gp plus
#include "sokol_gfx.h"
...

Bug:

The Sokol GP code does not use custom depth stencil format when creating a pipeline, it lets Sokol choose the default depth format when creating a pipeline, so that error is strange. Looks like could be a bug in Sokol GFX or Sokol App.
Sokol GP has been tested and confirmed to work with Metal and Sokol GFX before, but without Sokol App.
Seems like this line is problematic on Metal:
sgdesc.context.depth_format = SG_PIXELFORMAT_NONE; // We don't need a depth frame buffer for 2D.

You could comment it and see if it works. The underlying issue here is that Sokol App does not support disabling depth and stencil buffer (not needed in 2D), I guess we need to leave it enabled anyway in Sokol GFX context when using Sokol App so things can work on Metal.

@edubart Works like a charm. Thanks a lot!


Question regarding learning rate.

Hello Community,
I find this project very inspiring and have started using this project for my needs.
It was really easy to do transfer learning using ktrain on Hugging face models.
I do have a question though, I see that there is an api that finds the best learning rate for training the model like
learner.lr_find()             # briefly simulate training to find good learning rate learner.lr_plot()             # visually identify best learning rate
But, in all the examples, when training the model the learning rate is always hardcoded, I didn't find any tutorial that uses the best learning rate found using the lr_find() api.
# train using 1cycle learning rate schedule for 3 epochs learner.fit_onecycle(2e-5, 3)
Could someone direct me, or is my understanding wrong?
Thank you in advance for your help and guidance.

Hello @PratsBhatt  Your question is actually answered exactly in this Medium tutorial and corresponding tutorial notebook, which are both listed in the README page of ktrain.
In these tutorials, the learning-rate-finder step is listed as optional because learning rates between 2e-5 and 5e-5 typically work well with transformer-based models like BERT.  So, if you just use a learning rate of say 3e-5, things will typically be fine.  That said, in the Mediium article and tutorial notebook above, the learning-rate-finder is executed anyways and ends up indicating a recommended learning rate within this range, as further evidence it is optional for transformer models. like BERT and DistilBERT.


Having multiple envoyfilters to istio ingressgatway doesnt follow the actual order in which its applied

Bug description
When we are applying multiple envoyfilters to the istio ingressgateway we are not seeing the filters taking precedence in the same order in which they are applied. Even reversing the order in which they are applied doesnt impact on which one happens first.
we have two envoyfilters applied to our istio ingressgateway. One is with a lua filter which we use for Authentication calls and another is ratelimitting filter. Both the authentication server and the ratelimitting servers are outside the cluster. we would want the requests entering the ingress gateway to first hit the ratelimitting server and then the authentication server.
We have applied the ratelimitting filter first and then the authentication filter but the authentication filter is happening first rather than the ratelimitting call. Even if we reverse the order in which the filters are applied it still works in the same way.
Can you please help up fix this ordering ?
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[X ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Expected behavior
The filters should work in the order that they are applied
Steps to reproduce the bug
Version (include the output of istioctl version --remote and kubectl version and helm version if you used Helm)
ISTIO VERSION
client version: 1.5.0
control plane version: 1.5.0
data plane version: 1.5.0 (17 proxies)
KUBECTL VERSION
Client Version: version.Info{Major:"1", Minor:"15+", GitVersion:"v1.15.10-eks-bac369", GitCommit:"bac3690554985327ae4d13e42169e8b1c2f37226", GitTreeState:"clean", BuildDate:"2020-02-21T23:37:18Z", GoVersion:"go1.12.12", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"14+", GitVersion:"v1.14.9-eks-f459c0", GitCommit:"f459c0672169dd35e77af56c24556530a05e9ab1", GitTreeState:"clean", BuildDate:"2020-03-18T04:24:17Z", GoVersion:"go1.12.12", Compiler:"gc", Platform:"linux/amd64"}
How was Istio installed?
using istioctl manifests
Environment where bug was observed (cloud vendor, OS, etc)
AWS EKS clusters
The istio config dump is placed here : this is after applying the ratelimit filter and then the authentication filter
https://gist.github.com/Adharsh-Muraleedharan/5d57a8bf49d53ecc928304c7f7bd62c5

Can you add your actual istio configuration including the creation time of both resources?

As an aside we are working on new API, which is geared more directly to Filter configuration only and it is not a generic XDS patch APi.  The key point in the new api is that you specify the exact order of filters you want to insert. Ptal: https://tinyurl.com/istio-extension-api

Can you add your actual istio configuration including the creation time of both resources?

how do you want me to generate this ?
I had applied them one after the other. First the ratelimiting filter and then the authentication lua filter.

As an aside we are working on new API, which is geared more directly to Filter configuration only and it is not a generic XDS patch APi. The key point in the new api is that you specify the exact order of filters you want to insert. Ptal: https://tinyurl.com/istio-extension-api

I have requested access to this. can you please provide it ?


Document the API more fully for 3rd party developers

Based on #1473 and the fact that I consider good - decent docs part of "Infrastructure". (in this case infra towards 3rd party devs)
I can take this one on myself by the way in the form of expanding / improving the existing docs.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Closing in light of our decision to shut down Gratipay.
Thank you all for a great run, and I'm sorry it didn't work out! 😞  💃


Code isn't C89

The current mod_python code isn't compliant with C89.  Among other things, this prevents it from building with VS2008 on Windows with Python 2.7.
The main issues seemed to be variables declared after statements in a block.  For example, from requestobject.c:
static PyObject *req_build_wsgi_env(requestobject *self)
{

    request_rec *r = self->request_rec;
    apr_table_t *e = r->subprocess_env;
    PyObject *env, *v;
    const char *val;
    int i, j;

    env = PyDict_New();
    if (!env)
        return NULL;

    int rc = set_wsgi_path_info(self);
    ...

Closing for inactivity.


Data linking only works to 2 levels

df-level1-level2-value works
df-level1-level2-level3-value seemingly does not.
Maybe I'm doing it wrong, first one works so I'm using it.
Not an issue for me, just thought I'd let you know.

Thanks!
I have tried the following code and I see that it does not work, I will check it.
          const data = {
           level1: {
            name: 'TEST 1',
            level2: {
              name: 'test 2',
              level3: {
                name: "TESTTTTT 3"
              }
            }
           }
          }
          const htmltest = `
          <input type="text" df-level1-name>
          <input type="text" df-level1-level2-name>
          <input type="text" df-level1-level2-level3-name>
          `;
          editor.addNode('test2', 1,1, 100, 200, 'test2', data, htmltest );

Jero

Fix in version 0.0.41

That was fast!


GO Import broken

Hi ,
I'm getting the following error when importing the lib
go: finding module for package github.com/k8snetworkplumbingwg/sriovnet
go: found github.com/k8snetworkplumbingwg/sriovnet in github.com/k8snetworkplumbingwg/sriovnet v1.1.0
go: github.com/gavmckee80/mlx6 imports
        github.com/k8snetworkplumbingwg/sriovnet<EMAIL_ADDRESS>parsing go.mod:
        module declares its path as: github.com/Mellanox/sriovnet
                but was required as: github.com/k8snetworkplumbingwg/sriovnet

Can someone advise ?

Hi,
we moved this project from Mellanox to k8snetworkplumbingwg. can you try with latest ?
the last release has package referencing the old place, so you can also try to import using the old path "github.com/Mellanox/sriovnet"
in any case i will open an issue to request a new release.


IRI with space

File input.ttl contains IRI with encoded space:
_:b25978837	a <http://purl.bioontology.org/ontology/UATC/\u0020SERINE\u0020\u0020> .

The Turtle parser is able to read this IRI (with encoded spaces) as a valid IRI.
However Turtle writer does not encode the space on  output, resulting in:
_:genid-ca45343d5be841429acf1ca16a6fe928-b25978837 a <http://purl.bioontology.org/ontology/UATC/ SERINE  > .

When we try to load this statement the parser fail with:
Exception in thread "main" org.eclipse.rdf4j.rio.RDFParseException: IRI included an unencoded space: '32' [line 2]
	at org.eclipse.rdf4j.rio.helpers.RDFParserHelper.reportError(RDFParserHelper.java:322)
	at org.eclipse.rdf4j.rio.helpers.AbstractRDFParser.reportError(AbstractRDFParser.java:601)
...

A simple program can be utilized to reproduce this error:
    public static void main(String[] args) throws Exception {
        try (InputStream input = new FileInputStream(new File("input.ttl"));
                OutputStream output = new FileOutputStream(new File("output.ttl"))) {
            RDFParser parser = Rio.createParser(RDFFormat.TURTLE);
            parser.setRDFHandler(Rio.createWriter(RDFFormat.TURTLE, output));
            parser.parse(input, "http://localhost/base/");
        }
        try (InputStream input = new FileInputStream(new File("output.ttl"))) {
            RDFParser parser = Rio.createParser(RDFFormat.TURTLE);
            parser.parse(input, "http://localhost/base/");
        }
    }

This problem also propagates to the querying remote SPARQL endpoints.
The same issue can be experienced when using N-Triples, however for JSON-LD and RDF/XML no error is given.
The comment  in TurtleParser suggest that the \n and similar (spaces?) should be handled as errors.
It's not clear what is an intended behaviour.
Tested with rdf4j 2.2 .

I assume this is related to #69 (and that there is no strict checking on generating/writing IRIs because it impacts performance)

Also related to #712

Importing a ttl file with the TURTLE format, line 1 of which is this:
http://dbpedia.org/property/name http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://www.w3.org/1999/02/22-rdf-syntax-ns#Property .
landed this log statement:
org.eclipse.rdf4j.rio.RDFParseException: IRI included an unencoded space: '32' [line 1]
at org.eclipse.rdf4j.rio.helpers.RDFParserHelper.reportError(RDFParserHelper.java:322)

I now believe that my errors reported here were based on inappropriate use of the APIs. By switching to Model-based parsing before adding to the repo, all errors disappeared.


Tag master to avoid modulo

I noticed version 3.1.2 has unwanted modulo (%) expression instead of division (/) in function buildFormatter : https://github.com/nmn/react-timeago/blob/91dd188e9d5be105a091ca093a4bddbd66690b46/src/formatters/buildFormatter.js#L64. It makes crazy day numbers when using multi-language.
Can you tag the last version of master like 3.1.3 to avoid this unwanted behavior and use your helpful library for production with stable version ? Indeed, the bug seems to be fixedon master  : https://github.com/nmn/react-timeago/blob/master/src/formatters/buildFormatter.js#L64 ?
Thanks !

I believe this is done. I think I did this last week. Please confirm and close the issue if everything is good.


Lock signet and google-api-client version

This fix the same
https://github.com/embulk/embulk-output-bigquery/issues/113
Before change
embulk gem install embulk-input-google_spreadsheets
2019-10-16 19:34:13.797 +0900: Embulk v0.9.19

Gem plugin path is: /Users/user/.embulk/lib/gems

ERROR:  Error installing embulk-input-google_spreadsheets:
	signet requires Ruby version >= 2.4.0.

After change
embulk gem install embulk-input-google_spreadsheets-1.1.0.gem
2019-10-16 19:35:41.202 +0900: Embulk v0.9.19

Gem plugin path is: /Users/user/.embulk/lib/gems

Fetching: signet-0.11.0.gem (100%)
Successfully installed signet-0.11.0
Fetching: google-api-client-0.32.1.gem (100%)
Successfully installed google-api-client-0.32.1
Successfully installed embulk-input-google_spreadsheets-1.1.0
3 gems installed

Thanks!

oops, added

thanks. I release new gem.

https://rubygems.org/gems/embulk-input-google_spreadsheets/versions/1.1.1

Thank you!


Empty manifest files

Hey Hendrik, I'm using @mfng/webpack-rsc in a spike project to try out RSC without Next.js. I think my Webpack config has got the necessary parts from your demo, however when I run a build, the react-client-manifest.json, react-server-manifest.json, and react-ssr-manifest.json files are all empty (they just contain {}). Do you know what I'm doing wrong to prevent the metadata being produced? Here's a reproduction: https://github.com/keeganstreet/rsc-demo

Actually I have just found the https://github.com/HenriqueLimas/rsc-example repo, which is working. I should be able to compare with that and figure out where I went wrong.

Henrique is doing that here: https://github.com/HenriqueLimas/rsc-example/blob/548aa16ece22eae8aa35d701cbc443843d8649fd/client.js#L3C28-L3C28

Thanks. That explains it. I hadn't got up to the browser part yet! Still focused on sending the HTML and RSC JSON down the pipe.