.predict() method when using saved & loaded subclassing model

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Google Colab (Windows/Linux as well)
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): 2.5.0  (Google Colab default one)
Python version:  3.7.10 (Google Colab default one)

Describe the current behavior
When loading a specific custom subclassing model (overriding the train_step and multiple inputs), the .predict() method doesn't work. Where as it's working when the model is defined (and not loaded) and it's also working by using the .call() method on the loaded model (see gist).
The following error message:
ValueError: Could not find matching function to call loaded from the SavedModel. Got:
      Positional arguments (2 total):
        * (<tf.Tensor 'inputs:0' shape=(32, 2) dtype=float32>, <tf.Tensor 'inputs_1:0' shape=(32, 2) dtype=float32>)
        * False
      Keyword arguments: {}

    Expected these arguments to match one of the following 4 option(s):

    Option 1:
      Positional arguments (2 total):
        * [TensorSpec(shape=(None, 2), dtype=tf.float32, name='inputs/0'), TensorSpec(shape=(None, 2), dtype=tf.float32, name='inputs/1')]
        * False
      Keyword arguments: {}

The option 1 is really matching with the inputs received though...
Describe the expected behavior
The .predict() method should work on loaded model.
Standalone code to reproduce the issue
I tried to do a simple example to show you the issue.
Gist
Thank you in advance for you help, I imagine something is missing in the definition of the class to be able to use the predict() method on saved & loaded model.

Ok, I may find the issue. It sounds to be a mix between list and tuples.
See the following gist where all is working well.
If someone can confirm that the error made, I'd by happy.
Then, would it be worth to add a warning message, when the user is using list where tuple should be recommended? :)

Was able to reproduce the issue with TF 2.5 with list but when using tuple predict method is working fine. Please find the gist1 and  gist2. Thanks!

Hi, Please try the solution mentioned here.Thanks!


Client network socket disconnected before secure TLS connection was established

I'm getting Client network socket disconnected before secure TLS connection was established when I try to access a specific API through cors-anywhere. I'm able to curl to the site through the VM but I get the above error when I request through cors-anywhere.
I'm not sure what's causing this issue.

I don't know either, there is not enough information here for me to tell.
Have you tried to write a simple Node.js script that requests the URL, to see if it may be specific to your Node.js version/dependencies?
And when you ran curl, did you use the same request (including headers)?
To debug this, you can use Wireshark; start Node.js with SSLKEYLOGFILE=/tmp/path_for_keylog.log to log the keys and load this file in Wireshark to decrypt the encrypted traffic. Then you can more easily compare the requests to figure out the difference between a successful request (curl?) and the failing one.


[XHR] Response interceptors executes after application receives the response

Issue Title
XHR Response interceptors get executed after the application receives the response.
Description
I expect to see the response interceptor functions execute before the application receives the response. This is not the case with XMLHttpRequestInterceptor. It is, however, the case with FetchInterceptor
Context
I am working on a solution where we need to intercept all HTTP requests fired by any client (fetch, Angular, Axios, etc). There's no telling which underlying HTTP method is used to make the request, so it should cater to all.
We came across this @mswjs/interceptors package that looked promising as it allows us to intercept all requests, but in the POC, we encountered some strange behaviour.
The expected flow would be:
HTTP request initiated

  - Request interceptor 1
  - Request interceptor 2
  - Request interceptor ...n

  - Response interceptor 1
  - Response interceptor 2
  - Response interceptor ...n

HTTP Response received by the application

This should be the same for all HTTP requests.
Current Behavior
I've noticed that XHR requests it does not follow the above pattern. Instead, they do the following:
HTTP request initiated

  - Request interceptor 1
  - Request interceptor 2
  - Request interceptor ...n

HTTP Response received by the application

  - Response interceptor 1
  - Response interceptor 2
  - Response interceptor ...n

Expected Behavior
I expect the interceptor functions to be executed in the same order, whichever HTTP method is used.
Request interceptor functions should be executed before the request reaches the API, and Response interceptor functions should be executed before the response reaches the application.
Screenshots and Additional Information (if applicable)

Steps to Reproduce (if applicable)
Please see the reproduction repo where the below behaviour can be seen:
Github Repo: https://github.com/JAspeling/mswjs-interceptors-angular/blob/main/src/main.ts
Stackblitz: https://stackblitz-starters-dgrmdd.stackblitz.io
Stackblitz editor: https://stackblitz.com/edit/stackblitz-starters-dgrmdd?file=src%2Fmain.ts

Use the XMLHttpRequestInterceptor as a BatchInterceptor.
Add request interceptors
Add response interceptors
Make an XMLHttpRequest call to an API endpoint:

xhrRequest(): void {
    console.log('============== XHR [APPLICATION REQUEST INITIATED] ==============');
    const xhr = new XMLHttpRequest();

    xhr.onreadystatechange = function () {
      if (xhr.readyState === 4 && xhr.status === 200) {
        var data = JSON.parse(xhr.responseText);
        console.log('============== XHR [APPLICATION RESPONSE RECIEVED] ==============');
      }
    };

    xhr.open('GET', this.api, true);
    xhr.send();
  }

See the order of execution in the console logs.

Environment
Angular CLI: 16.1.6
Node: 18.17.0
Package Manager: npm 9.6.7
OS: win32 x64

@angular-devkit/architect       0.1601.6
@angular-devkit/build-angular   16.1.6
@angular-devkit/core            16.1.6
@angular-devkit/schematics      16.1.6
@angular/cli                    16.1.6
@schematics/angular             16.1.6
rxjs                            7.8.1
typescript                      5.1.6
zone.js                         0.13.1

Please feel free to reach out if anything is unclear or if there is a misunderstanding around using the @mswjs/interceptors package.

Hey, @JAspeling. Thanks for a great issue report. Let me provide some additional context and let's see whether we're on the same page.
Intentions
I can confirm that the intention of this library is to emit the request event when the request is sent, and the response event once the response is received. This stands true for all currently implemented interceptors with the exception for the ClientRequestInterceptor which I will mention below.
Regarding the FetchInterceptor, it emits the response event after your application receives a response. What may be confusing here is that the .then() callback this library adds will execute before your own .then() callbacks.
https://github.com/mswjs/interceptors/blob/36400ccc47bf53b269888a7a3a5f452df592f58b/src/interceptors/fetch/index.ts#L99-L111
But that's not what's happening. These two callbacks will execute one after another, but both happen once the response has been received (the request promise has been resolved). It is the Promise-like nature of handling fetch responses that may be confusing here.
It's important to note that response received isn't equivalent to response read. This stands true for fetch and for ClientRequest also, where the response event is emitted as soon as the response is received (the response event of ClientRequest) but the actual response body is streamed into the Fetch API response instance you can access in the response event listener:
https://github.com/mswjs/interceptors/blob/36400ccc47bf53b269888a7a3a5f452df592f58b/src/interceptors/ClientRequest/NodeClientRequest.ts#L249-L254

Technically speaking, we should emit the request event earlier than we do now, and then pipe the request body chunks to the ReadableStream of the Fetch API request instance representing the in-progress request. I think that would contribute to a more predictable behavior, but it will also change the intention because the request event would be emitted when the request is constructed.

Regarding XMLHttpRequest
We emit the response event within the load event of the XMLHttpRequest, which indicates a successful fetch. You see the difference in time between the response event being emitted and your own onreadystatechange callback because state change triggers before the load event does. Here's an excerpt from the XMLHttpRequest specification describing this order:

Fire an event named readystatechange at xhr.
Fire a progress event named load at xhr with transmitted and length.
Fire a progress event named loadend at xhr with transmitted and length.

Because of this order, your callback will always execute before the response event gets emitted by this library.
I would love to move the response event to readyStateChange once it received response headers, which would translate to the first byte of the response. The challenge here is that, to my best knowledge, there is no method in XHR to read incoming response body chunks. That reading seems to be done internally and all the consumer can do is monitor the bytes read in the progress event (but not the bytes themselves). This makes it problematic to represent the response body as a ReadableStream the response event consumers would be able to read as the response body comes in.
Summary
This is mainly for myself, but let's write down the current state of things:

ClientRequestInterceptor

request event is emitted once the request body is sent (in the .send() method).
response event is emitted as soon as the response is received (once the response is emitted by ClientRequest). The response body is then represented as ReadableStream that the consumers of the response event can read.

XMLHttpRequest

request event is emitted once the request body is sent (in the .send() method).
response event is emitted once the response body is finished reading (once the load is emitted). The response body is then represented by whichever response body type came in (not a stream).

FetchInterceptor

request event is emitted once the request is constructed. Fetch doesn't expose any events to differentiate between request constructed/request writing/request sent.
response event is emitted once the response is received (in the .then() callback to the request promise). The response body is then represented as a ReadableStream the consumers of the response event can read.

If we can find a way to represent the incoming XHR response body as ReadableStream, I'm for this change. I may even have a minute this week to implement it. The research seems to be the biggest challenge here. I could use some help with it.

Thank you for the detailed explanation! I will take the discussion up with my team and perhaps try to get them involved as well - maybe we can find a solution together. I'll do some research on the subject 👍

Is there a fix? I recently encountered the same issue. The response is sent before the interceptor is completed. Any help?

Released: v0.32.0 🎉
This has been released in v0.32.0!

📄 Release notes
📦 npm package

Make sure to always update to the latest version (npm i @mswjs/interceptors@latest) to get the newest features and bug fixes.

Predictable release automation by @ossjs/release.


Show label on click.

mouseOver is working, but I'm aiming to keep the label viewable and static when the user clicks on the icon.
  //Init when user clicks on a marker.  Opens the property details side pane
  $scope.$on('leafletDirectiveMarker.click', function(event, marker){

    //Zoom in on marker
    $scope.map.center = {
      lat: marker.model.lat,
      lng: marker.model.lng,
      zoom: 14
    };

    //How can I programatically show the label and keep it static?????????
    $scope.map.markers[marker.modelName].label.options.noHide = true;

    //Change marker icon to indicate it's been clicked
    $scope.map.markers[marker.modelName].icon.className = $scope.map.markers[marker.modelName].icon.className + ' clicked';
  });

Also, I assume once someone answers this that I can hide the label after the user "blurs" from the icon?

I'm struggling with this same issue right now. I want the labels to appear on mouseover AND I want the labels to become static on click. I'll let you know if I find a good solution to this.

@that1guy, I got this working.
First, I think it's important to note that you and I are both using AngularJS, as evidenced by your use of the $scope variable. I assume you're also using either angular-leaflet-directive or angular-ui/ui-leaflet?
It's a little counter-intuitive, but when I initialize the markers, I omit the label. Then, I create/destroy the label properties dynamically on events, like this:
$scope.marker[key] = {
  lat: xx.xxxx,
  lng: yy.yyyy,
};

$scope.$on('leafletDirectiveMarker.click', function (event, args) {
  $scope.markers[args.modelName].label = {    //args.modelName = key
    message: 'This is the label',
      options: {
        noHide: true
      }
    };
  });

When I need to remove the label, I just delete the property:
delete $scope.markers.label;

Hope this helps you!


update regex support flexible suffix domain

update regex support flexible suffix domain
eg<EMAIL_ADDRESS>

PR accepted @  .
Successfully merged to HacktoberFest_22  repo.
Need to Star this repo incase not done.
🚀🚀👍


Viewport messing up UI.

Sorry to bother you again but the open_gl_frame = AppOgl(self, width=1000, height=500)` is messing up my UI. When i have my buttons without the Opengl they are in a row next to each other but with opengl they are placed weirdly.
test.txt

Sorry, I don't have time to take a look right now, but did you try putting a label with a static image into the same place in your grid? Usually I use pack:
https://github.com/jonwright/ImageD11/blob/master/ImageD11src/tkGui/plot3d.py
https://github.com/jonwright/fabian/blob/master/Fabian/ReliefPlot.py

I tried doing that, but it didnt work. I'll be working on pyopengl for now so if you get anytime to look at it many thanks.

Did you mean to add "columnspan=3" after "row=1" in your call to grid? It doesn't look like a bug to me, just a grid where the frame  is a large item in the first column:
Button             |  Button    |  Button
Frame              |   empty    |  empty


Token is captured but not working?

Hi i followed all the instructions but im not able to run the tool i have .tokens files in the direcotry im running the tool its capturing the token i guess but not using it?.... Please help me fix this

fixed by using env variable but would like to know why the .tokens file isnt working


[6.x] Str::is() wildcard does not match new lines

Closes #32180
According to the docs str_is or Str::is is supposed to use asterisks as wildcards, but the internal regular expression uses the u (PCRE_UTF8) modifier without including the s (PCRE_DOTALL) modifier.
This PR aligns the code to the original intent of the function.

Possibly a breaking change. You will likely need to write your own helper to do this if you need it.


fix #217 Add Distributed Shell

this pr seems to combine two features, could you break it down ?

Most of code is under experiments and the changed part in core is also needed.

Hi Huafeng, please make two following changes:

add distributedshell folder under experimental and move corresponding code there.
add a README.md file to list the purpose of this work and examples.

Good work, please rebase on #255

After that, make sure unit test is added.

+1

temporarily close this PR due to the API change


[BUG] queue.play() with immediate option

Bug Description

When you try to add a song to an empty queue immediately (immidate option), you get a TypeError on this line.

TypeError: Cannot read properties of undefined (reading 'seekTime')
    at Queue.play (...\node_modules\discord-music-player\dist\managers\Queue.js:197:18)

The situation when you try to add a song to a non-empty queue with the same options:
Ex.: in current server queue: Song 1, Song 2.
You are trying to add Song 3 and play immediately. Ideally, the song should play immediately, and Song 1 and Song 2 are moved down in the queue. But after adding Song 3 it immediately skips (I'm not sure what's going on here) and Song 1 starts playing from the beginning.

Reproduction Steps
Both situations can be reproduced as follows:

Try to add a song to a queue with immidate option:
queue.play(url, { immediate: true });
Grab the error.

Expected Result
The song was successfully added and started playing.
Versioning:

OS: Windows 11 build 22000.593
Node Version: v16.14.2
Module Version: ^8.3.2

with immediate is it to instantly load the url into the queue?

immediate is a private option


KYLIN-3647 Fix inconsistent states of job and its sub-task

JIRA
https://issues.apache.org/jira/projects/KYLIN/issues/KYLIN-3647
CI
http://<IP_ADDRESS>/view/Kylin CI/job/kylin-manual-ci/205/

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@21bc42d). Click here to learn what that means.
The diff coverage is 28.57%.

@@            Coverage Diff            @@
##             master     #311   +/-   ##
=========================================
  Coverage          ?   21.29%
  Complexity        ?     4445
=========================================
  Files             ?     1090
  Lines             ?    70014
  Branches          ?    10103
=========================================
  Hits              ?    14908
  Misses            ?    53702
  Partials          ?     1404

Impacted Files
Coverage Δ
Complexity Δ

...he/kylin/job/impl/threadpool/DefaultScheduler.java
66.66% <0%> (ø)
9 <0> (?)

...apache/kylin/job/execution/AbstractExecutable.java
51.4% <0%> (ø)
48 <0> (?)

.../kylin/job/execution/DefaultChainedExecutable.java
66.66% <100%> (ø)
22 <0> (?)

.../apache/kylin/job/execution/ExecutableManager.java
33.62% <28.57%> (ø)
34 <2> (?)

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 21bc42d...31649b7. Read the comment docs.


JAWS is not narrating the output information generated in terminal window.

Windows Terminal version
1.18.3181.0
Windows build number
26020.1000
Other Software
Test Environment:
OS: Windows 11 Version 23H2 (OS Build 26020.1000)
App: Windows Terminal Preview
Screen Reader: Jaws
Steps to reproduce
1.Open Windows Terminal.
2.Turn on Jaws.
3.Now give any command Ex: Hostname & press enter.
4.output will be generated in the window.
5.Observe whether screen reader is narrating the output information or not.
Observation with NVDA & Narrator:
Issue don't repro with NVDA & Narrator.
User Experience:
People with visual impairments who rely on the screen readers will not know the information of generated output, if screen reader don't narrate the output information.
Guideline link:
https://www.w3.org/TR/WCAG21/#info-and-relationships
Attachment:
JAWS is not narrating output information..zip
Expected Behavior
Screen reader should narrate the output information upon pressing enter after giving the command.
Actual Behavior
Screen reader is staying silent & not narrating any information regarding the output generated in the window.

@carlos-zamora Any idea if we were tracking this before? This sounds familiar, but also, I'm not sure what we would have done to break JAWS

@Saiteja341 Which version of JAWS are you using? IIRC this was fixed in an earlier version of JAWS, but if it's regressed, that would be good to know!

I'm having this issue as well.  I've been building a CLI for a user that uses JAWS and everything was working fine with  Windows 10/JAWS 2022.  We just upgraded their machine and JAWS now only reads out key strokes and nothing that is printed to the terminal.  Our system versions are as listed below:
JAWS version : 2024.2312.53
Windows version : 22H2 22621.3007
Is it known yet whether this issue stems from JAWS or from the Window?

I was able to solve this problem upgrading JAWS to 2024.2403.3


container-fixed mixin not respecting width variables

The container-fixed mixin, when used, doesn't take into account the various screen size variables that are included in the variables file. It only takes into account the gutter size. Adding this to the mixin solves the problem.
@media (min-width: $screen-sm-min) {
width: $container-sm;
}
@media (min-width: $screen-md-min) {
width: $container-md;
}
@media (min-width: $screen-lg-min) {
width: $container-lg;
}

Methinks you want the .container class instead:
https://github.com/twbs/bootstrap-sass/blob/e15eef6a47ab94b15f80d44507859e4bc08ae965/assets/stylesheets/bootstrap/_grid.scss#L10

In any case, this doesn't seem to be caused by the Sass translation process, so it'd belong upstream at https://github.com/twbs/bootstrap/issues instead.


Error: Couldn't find preset "latest"

Hi, i was trying to use the spinner, but something fails to me:
Module build failed: Error: Couldn't find preset "latest" relative to directory "/home/holic/dev/ryft-labs/ryft-admin/node_modules/vue-spinner-component"

Do you have any clue? i am doing something wrong?
regards

Getting same error. Any solution ?

I got the same error. Adding "babel-preset-latest": "^6.24.1" to package.json solved it for me.


Add privacy manifest

As a developer integrating Pillarbox I would like to have my app automatically reflect what is being collected in Pillarbox analytics.
Acceptance criteria

A privacy manifest (iOS 17) is provided by Pillarbox.

Tasks

[x] Check whether Instruments displays SDK calls in Points of Interest tool.
[x] Add privacy manifest.
[ ] Check that app privacy automatically merges this privacy manifest when deriving its own.
[x] Ask 3rd party SDK developers for privacy manifests (see above WWDC talk). Maybe signatures as well.

Hints

https://developer.apple.com/videos/play/wwdc2023/10060
https://developer.apple.com/news/?id=av1nevon
https://developer.apple.com/app-store/app-privacy-details/

Our 3rd party analytics SDKs now provide privacy manifests:

comScore since version 6.12.0
Commanders Act since version 5.4.6.

In addition we should document what our Analytics SDK itself does (only user interactions at the moment, not linked to the user).


Updating Opensearch ref to 2.2 branch for 2.2.0 release

Signed-off-by: Kartik Ganesh<EMAIL_ADDRESS>Description
Updates the Opensearch ref in the 2.2.0 manifest to point to the 2.2 branch, now that it is created.
Issues Resolved
Part of https://github.com/opensearch-project/OpenSearch/issues/4017
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #2404 (c71b8fe) into main (8c7277c) will increase coverage by 5.37%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##               main     #2404      +/-   ##
=============================================
+ Coverage     94.62%   100.00%   +5.37%
=============================================
  Files           210         6     -204
  Lines          4317       105    -4212
  Branches         29        19      -10
=============================================
- Hits           4085       105    -3980
+ Misses          226         0     -226
+ Partials          6         0       -6

Impacted Files
Coverage Δ

src/ci_workflow/ci_target.py

src/system/properties_file.py

src/test_workflow/bwc_test/bwc_test_runners.py

...est_workflow/perf_test/perf_test_cluster_config.py

..._workflow/perf_test/perf_test_runner_opensearch.py

src/sign_workflow/signer.py

src/ci_workflow/ci_manifests.py

src/test_workflow/test_args.py

tests/jenkins/jobs/UploadToS3_Jenkinsfile

...nkins/jobs/RpmDashboardsDistValidation_Jenkinsfile

... and 194 more

Help us with your feedback. Take ten seconds to tell us how you rate us.


Issues/Milestones page buggy?

Hey there,
and first of all, thanks for this awesome git server solution. I've already migrated all of my projects to gogs. But today I've mentioned, that the Issues/Milestones page of a project, is always in english and it shows the "Sign up" button in the top right corner. Thats the only page where the button is visible, since registrations are disabled on my server.
Also in some of the download/clone popups the ssh link is listed even though I've disabled that feature.
And last but not least the download link on the issues page always links to a not existent file under /archive/master/anyzip.zip.
Would be awesome if you could fix that.

It looks like Issues and Milestones are using a completely different theme from the rest of the app.
source screenshot
issues screenshot
milestones screenshot

@bkidwell it's transforming by pages, a lot work to replace all of them entirely.

Okay, thanks. I didn't understand that this was a change in process over several releases.

Hi @bkidwell @TheExoduser , the new issue/milestone pages have been finished and can be seen at:

https://try.gogs.io/unknwon/gogs/issues
https://try.gogs.io/unknwon/gogs/milestones

For

Also in some of the download/clone popups the ssh link is listed even though I've disabled that feature.

This should be fixed as well.

Code are pushed to develop branch, you can update and test it out!

Close as implemented. :blush:


BFS image has a generic tree in it, but the algorithm only works with a binary trees

The image here shows a generic tree (3 children on the first level from root), while the algorithm's code is for binary tree only. Moreover, the algorithm is in the tree/ subfolder, maybe it worth naming it binary-tree?

It works on a normal tree too, but this implementation with binary tree


[Idea] Randomized Story Events

Maybe it is possible by modifying rel_story.prx

Not impossible to implement, there's lots of ways that can be achieved.
However, how should it be limited, if at all?
Should it be limited to characters' own events, or should, for example, Jaden's story event be able to trigger Syrus' story event?
This might sequence break the game, so I believe there should be some limitations in place.


Maintain "assign random port" settings after JSON mode switch

The assign random port settings should always be maintained and should not change after using the JSON mode unless one actually changes the port setting.

This depends on the API. Once an app is deployed, the apps endpoint will return the actual port assigned to that task. The "blueprint" knowledge about the dynamic port request is lost.

Yeah, I know, but thats a different story.  We should not lose the setting after switching to the JSON edit mode.

Oh I'm sorry. I misread the issue!


Develop

Codecov Report
Patch coverage: 100.00% and no project coverage change.

Comparison is base (d2815dd) 89.64% compared to head (2ae857b) 89.64%.

:exclamation: Current head 2ae857b differs from pull request most recent head f07faa3. Consider uploading reports for the commit f07faa3 to get more accurate results

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@           Coverage Diff           @@
##             main      #18   +/-   ##
=======================================
  Coverage   89.64%   89.64%
=======================================
  Files          10       10
  Lines         792      792
=======================================
  Hits          710      710
  Misses         82       82

Files Changed
Coverage Δ

src/tdamapper/core.py
88.46% <ø> (ø)

src/tdamapper/search.py
94.93% <ø> (ø)

src/tdamapper/utils/heap.py
92.72% <ø> (ø)

src/tdamapper/utils/quickselect.py
100.00% <ø> (ø)

src/tdamapper/utils/unionfind.py
90.00% <ø> (ø)

src/tdamapper/utils/vptree.py
92.35% <ø> (ø)

src/tdamapper/utils/vptree_flat.py
73.01% <ø> (ø)

src/tdamapper/clustering.py
84.05% <100.00%> (ø)

src/tdamapper/cover.py
70.21% <100.00%> (ø)

src/tdamapper/plot.py
97.00% <100.00%> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Revamp directory structures

Revamp directory structure as so:
jigglypuffRL
    deeprl
        common/
            actor_critic.py
            trainer.py
        agents/
            dqn
                dqn.py
    classicalrl

Also, I've added tests for all current agents except DQN (Idk why it was giving an error) and Bandit algorithms in classicalrl

I'll review once you're done with this

I'm done

Oh okay. Taking a look now

Shall we merge?

I'm going through some coverage reports to see what all things are missing in the files I'm trying to cover. Will push some minor changes with pragma: no cover

Ok, going to merge once LGTM is finished

Merging


Add local first image files via .Resources

Is this a BUG REPORT or FEATURE REQUEST?:
feature
What happened:
All static files including fragment images are stored in /static/<fragment>/ and therefore are not bundled close to the actual content.
What you expected to happen:
Enabling bundling of images with actual content via .Ressources
Anything else we need to know?:
Needs migration to page bundles first #22.
Local first with a fallback to the /static/ folder.

Does this implementation need something similar to the one here?
├── about
│   ├── footer.md
│   ├── header.jpg
│   ├── hero.md
│   └── index.md
├── about-split

Having the images in the same content folder for every markdown content that includes an image.

There are a few options.
My current idea would be (from highest priority location to least):
content/index/my-team/gopher.jpg <- fragment specific image
content/index/gopher.jpg <- page specific, but can also be used by fragments
static/gopher.jpg <- global - could be default images etc.

Question that might needs to be answered first is how multiple languages would work.


[BUG] Terraform created networks with DHCP fails on apply after DHCP-network is registered in terraform

Describe the bug
I created multiple networks with the harvester_network resource, some with static addressing and some with dynamic addressing(DHCP). On initial creation all worked, they all use the same module. After some minutes the networks which has a DHCP-server began to fail on terraform apply with a message saying that route_mode "auto" can't be used when route_cidr is defined. When checking the state I see that the DHCP lease is present in the route_cidr, and I can't seem to bypass sending the value.
To Reproduce
Steps to reproduce the behavior:

Create a terraform definition for a Harvester which has a vlan containing a DHCP-server
Create a network definition for the vlan using harvester_network resource.
Wait for harvester to pick up a DHCP-lease
Apply any change to the network resource (description change for instance).

Expected behavior
Terraform changes what ever change is planned in 4.
Support bundle
I can create one if need be and pass it on to a developer
Environment

Harvester ISO version: 1.0.3
Underlying Infrastructure (e.g. Baremetal with Dell PowerEdge R630): Baremetal Dell PowerEdge R730, Juniper routers and LACP (802.3ad) redundant uplink

Additional context
I think this feature-issue is related to my issue: https://github.com/harvester/harvester/issues/2261

@nerok you can try the latest terraform-provider-harvester v0.5.3 for Harvester v1.0.3 or  terraform-provider-harvester v0.6.0for Harvester v1.1.0

Hi, we are using 0.5.3 already on v1.0.3. Can't test v0.6.0 as we are waiting for v1.1.1 before upgrading, and we don't have any test clusters yet.

Hi, we are using 0.5.3 already on v1.0.3. Can't test v0.6.0 as we are waiting for v1.1.1 before upgrading, and we don't have any test clusters yet.

Thanks, I'll try to reproduce and fix this issue

@nerok workaround: If you can, leave the route_dhcp_server_ip to empty.

Thanks, I can't seem to get that to work:
resource "harvester_network" "network" {
  name                 = var.network_name
  namespace            = "harvester-public"
  route_cidr           = null
  route_dhcp_server_ip = ""
  route_mode           = "auto"
  vlan_id              = var.network_vlan
  description          = var.network_description
  tags                 = var.network_tags
}

I have tested both route_cidrand route_dhcp_server_ip as bot empty string and null, I also tried removing route_cidr, but it always returns:
│ Error: can not use route_mode auto when route_cidr has been specified
│
│   with module.networks["vlan760"].harvester_network.network,
│   on common/networks/main.tf line 15, in resource "harvester_network" "network":
│   15: resource "harvester_network" "network" {
│

The route_dhcp_server_ip needs to be left empty before the first apply

Verified fixed on harvester-terraform provider master with Harvester v1.1.1. Close this issue.
Result

We can set route_mode = "auto" and also specify the route_dhcp_server_ip to apply the network resource correctly.
(Use v1.1.0 cluster network feature)

resource "harvester_network" "mgmt-vlan1" {
  name      = "mgmt-vlan1"
  namespace = "default"
  description = ""

  vlan_id = 1

  route_mode           = "auto"
  route_dhcp_server_ip = "<IP_ADDRESS>"

  cluster_network_name = "mgmt"
}

And we can also edit the description and apply again

c0e03db26271:/data # terraform apply -auto-approve
harvester_network.mgmt-vlan1: Refreshing state... [id=default/mgmt-vlan1]

Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
  ~ update in-place

Terraform will perform the following actions:

  # harvester_network.mgmt-vlan1 will be updated in-place
  ~ resource "harvester_network" "mgmt-vlan1" {
      + description          = "test"
        id                   = "default/mgmt-vlan1"
        name                 = "mgmt-vlan1"
        tags                 = {}
        # (6 unchanged attributes hidden)
    }

Plan: 0 to add, 1 to change, 0 to destroy.
harvester_network.mgmt-vlan1: Modifying... [id=default/mgmt-vlan1]
harvester_network.mgmt-vlan1: Modifications complete after 1s [id=default/mgmt-vlan1]

Apply complete! Resources: 0 added, 1 changed, 0 destroyed.

Test Information

Test Environment: 1 node harvester on local kvm machine
Harvester version: v1.1.1
Terraform version: master

Verify Steps

Prepare Harvester cluster
ssh to Harvester and get kubeconfig content in /etc/rancher/rke2/rke2.yaml
Copy the content to host machine ~/.kube/config
Update the server: to harvester management ip
Run the following command to startup a terraform-provider container

docker pull rancher/terraform-provider-harvester:master-head-amd64
docker rm -f terraform-provider-harvester-master-head
docker run -itd --name terraform-provider-harvester-master-head rancher/terraform-provider-harvester:master-head-amd64 bash
docker cp ~/.kube/config terraform-provider-harvester-master-head:/tmp/kubeconfig
docker exec -it terraform-provider-harvester-master-head bash

(optional) install kubectl on terraform-provider container follow the instruction

Check the connectivity to Harvester cluster

kubectl --kubeconfig=/tmp/kubeconfig get no

vim providers.tf , add the following content

terraform {
  required_providers {
    harvester = {
      source = "harvester/harvester"
      version = "0.0.0-master"
    }
  }
}

provider "harvester" {
  kubeconfig = "/tmp/kubeconfig"
}

Run terraform init to initialize it.
Create a test config file vim main.tf
Add resource harvester_network with route_mode = "auto" and route_dhcp_server_ip = ""

resource "harvester_network" "mgmt-vlan1" {
  name      = "mgmt-vlan1"
  namespace = "default"
  description = ""

  vlan_id = 1

  route_mode           = "auto"
  route_dhcp_server_ip = "<IP_ADDRESS>"

  cluster_network_name = "mgmt"
}

Apply the resource terraform apply -auto-approve

c0e03db26271:/data # terraform apply -auto-approve

Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
  + create

Terraform will perform the following actions:

  # harvester_network.mgmt-vlan1 will be created
  + resource "harvester_network" "mgmt-vlan1" {
      + cluster_network_name = "mgmt"
      + config               = (known after apply)
      + id                   = (known after apply)
      + message              = (known after apply)
      + name                 = "mgmt-vlan1"
      + namespace            = "default"
      + route_cidr           = (known after apply)
      + route_connectivity   = (known after apply)
      + route_dhcp_server_ip = "<IP_ADDRESS>"
      + route_gateway        = (known after apply)
      + route_mode           = "auto"
      + state                = (known after apply)
      + vlan_id              = 1
    }

Plan: 1 to add, 0 to change, 0 to destroy.
harvester_network.mgmt-vlan1: Creating...
harvester_network.mgmt-vlan1: Creation complete after 1s [id=default/mgmt-vlan1]

Apply complete! Resources: 1 added, 0 changed, 0 destroyed.

Edit the main.tf, update the description
Apply the resource again terraform apply -auto-approve

For the issue introduced in v1.0.3, we would track in #3284 accordingly.


Command decorator #50

Providing common behavior to wrap execution of a command via command invoker. As discussed here https://github.com/bilal-fazlani/commanddotnet/pull/51

Thanks @bilal-fazlani   That's all we need.

@bilal-fazlani could you please add the changes to 2.7 nuget package or create new one? I checked 2.7package and there is no suchj changes

Ohh ! Wait let me check that

I am not sure what happened in the previous release. The code wasn't there on release branch.
@al322se Could you please check now. I believe the new version is 2.7.5

Yes I checked 2.7.5. There is all code there, thank you !


Add SDK repo link(s) in SDK docs

Migrated from GitLab: https://gitlab.com/meltano/sdk/-/issues/147
Originally created by @aaronsteers on 2021-06-14 16:43:22

We should make sure there are appropriate links to the SDK repository within the SDK docs. Since the docs used to live "in" the repo itself on Gitlab this previously wasn't a problem. There's currently a "Edit on Gitlab" link at the top of each page, but the expectation may be that the link is just a docs-specific edit. It may not be clear or intuitive that the link also take the user to the repo for the SDK itself (not just the docs).

From slack: https://meltano.slack.com/archives/C01PKLU5D1R/p1623681403081500
@tayloramurphy mentioned:

@AJ Steers Unless I’m missing it, I’m not seeing a link to the actual repository on https://sdk.meltano.com/en/latest/ except for the “Edit on GitLab” link. It might be good to have a direct link to the repo on the homepage

View 4 previous comments from the original issue on GitLab


 This is set at the pod level. I'm running this in an EKS cluster on AWS.
Everything is pretty standard, I think - I run the fluentd containers in a daemonset. My dockerfile installs both the Sumologic output plugin and this Sumologic kubernetes filter plugin:
    gem install fluent-plugin-sumologic_output -v 1.4.1 && \     gem install fluent-plugin-kubernetes_sumologic -v 2.3.1 && \
I use a single fluentd config file, installed by a configmap - for customer workloads, it tails the docker logs from /var/log/containers on the nodes. After dealing with "system" logs (these are sent to Cloudwatch) I use the kubernetes_metadata plugin to grab annotations, then check the events for the annotation

sumologic.com/include: "true"

If it's set, the annotation

sumologic.com/sourceCategory:

is checked - we want to allow customers to define their own sourceCategories within rules we set, so this is checked against a regex. If it's null, the event is sent to sumologic with source_catagory set to "#{ENV['SOURCE_CATEGORY']}" (this works perfectly). If the annotation is set but doesn't match our regex, it is sent to Cloudwatch (this works perfectly).
If the annotation is set and matches the regex, I send the even to sumologic but do not set the source_category key. My assumption was that the value of the annotation would take over and _sourceCategory would be set correctly - but it isn't, the event is given the default source category associated with the collector URL.
Is there a way of getting the events sent to the source category set in the annotation `cloudwatch.com/sourceCategory'?

OK, I found the problem. The source_category_prefix defaults to 'kubernetes' in the ruby, so all my logs were going to 'kubernetes/<whatever_sourcecategory_I_set>' and my role didn't allow me to see them.
If you don't want to use a prefix, you can't set this to blank, even explicitly in the config file. So, I forked the repo and set it to an empty string. I suspect my use-case is unique enough that a fork is better than a PR, but if others disagree, it's a simple change for me to push to origin.

@awcheney great find.  As long as it does not break current behavior, we would welcome a PR.  Seems like a good add to me.


Use ObservedObject instead of EnvironmentObject for settings

https://www.hackingwithswift.com/quick-start/swiftui/whats-the-difference-between-observedobject-state-and-environmentobject
In most of the samples, the complexity doesn't need an environment object as there are only a few views.

This is fixed in #314


log_files: fix chunks_received size in download_log_file

I have always an error at the end of downloading a log file :

I use a mavsdk_server compiled on develop branch on Windows.
After digging a bit, I found that if log part size in not a multiple of MAVLINK_MSG_LOG_DATA_FIELD_DATA_LEN
(it seems that there is no reason to be of a particular size),
chunks_received size must be "part_size / MAVLINK_MSG_LOG_DATA_FIELD_DATA_LEN +1"

Please update the branch (rebase develop) and fix the style (./tools/fix_style.sh .). Then it will be good to go 👍 🚀

done !


ActionBar scrolled down on shown keyboard

Hi,
I have EditText component on the list_tem_card_small.xml and when the keyboard is visible for editing, the action bar (actionbarlayout) is scrolled down.
Screenshot from sample
https://drive.google.com/file/d/0Bw8S4koVoEeDVlhreEM5WVhzXzA/view?usp=drivesdk

The workaround is to set android:windowSoftInputMode="adjustNothing" in manifest.xml for the current activity.

For me it worked with android:windowSoftInputMode="adjustPan"


Pytest fixtures Nameko 2.x backward compatible

Following up on the work done here https://github.com/nameko/nameko/pull/610, this would make the following fixtures backward compatible with Nameko 2.x:

empty_config
rabbit_config
rabbit_ssl_config
web_config

Migrating Nameko services to v3.0.0 it's easier now, since there's no need to keep backward compatibilitty in the tests with previous Nameko versions. However, trying to test Nameko extensions with both Nameko 2.x and 3.x is not trivial at the moment.
I'm trying to do that for a few dependency providers and extensions, in order to make sure they're tested with Nameko 2.x and and the same time compatible with the latest code on 3.0.0-rc.
By making those fixtures also return the part of the config that they create, we can keep them backward compatible with Nameko 2.x and testing extensions becomes much easier.
Any suggestions or comments are more than welcome!

I have also taken the liberty of moving the RabbitMQ container creation to the Makefile so that it's easier to perform this action when running the tests locally.

Nice! These changes make sense to me.
@iky, do you agree?

Hi,
config fixtures used to yield configs for a while in a transition period of a few commits before removing it in https://github.com/nameko/nameko/pull/520/commits/115bb1d8e195e42783397837d6b22c07887231c3 ;) This PR brings it back somehow. I wonder if we should support it. I tried to run tests against Nameko 3.X in number of extensions and none of them need these fixtures. It looks like config fixtures are used mainly when testing services, but services are usually run against one chosen version of Nameko so you don't have to deal with backward compatibility.
@juliotrigo do you have an example of extension tests using Nameko config fixtures?
Some may use them lightly and in that case making it work for both major versions of Nameko is not hard. I hit a place when testing an extension where I have to deal with backward compatibility, but it wasn't config fixtures, it was ServiceContainer and making it working with both versions of Nameko  wasn't difficult.

I guess it is possible to work around these things as you are doing in https://github.com/nameko/nameko-amqp-retry/pull/30 @iky . The question is whether we should force library developers to do this or not. And if we don't, will we be stuck with these fixtures always being used in two ways.
What @juliotrigo has added here is not costly in terms of implementation, but there's a separate question about the on-going price of having more than one way of doing things.

@mattbennett I agree.
After discussing it with @iky and (re)thinking about it, this is how I see it.
My suggestion here was to make those pytest Nameko fixtures to just return the part of the config they are adding. If rabbit_config is used, then I find intuitive that this fixture also returns the RabbitMQ configuration that it's also being patched.
In that case, this is an example that could work for both Nameko 2.x and 3.x:
@pytest.fixture
def foo_config():
    return {'a': 1, 'b': 2}

@pytest.fixture
def config(rabbit_config, web_config, foo_config):
    conf = {}
    conf.update(rabbit_config)
    conf.update(web_config)
    conf.update(foo_config)
    yield config

@pytest.fixture
def create_service(container_factory, config):
    # ...
    container = container_factory(MyService, config)
    # ...

or maybe also inspect/amend the config that we're about to use:
def test_foo(config):
    config['foo'] = 'bar'

    container = container_factory(MyService, config)

   # ...

However, after @iky 's comment, I realised/remembered that most of those Nameko 2.x fixtures return the whole config, instead of just the part of the config they are patching. This allows users to do something like this, already posted above, which, in theory would not be backward compatible anyway.
So if we decide to go ahead with this, then we either return only the partial config that we're patching (which it feels more natural to me but it's also backward incompatible with Nameko 2.x) or we keep returning the whole config for all the fixtures (which, as you said, gives us two ways of doing things and does not make it compatible for all cases).
Additionally, if we just make the following change to the example above (with the current 3.0.0-rc code):
@pytest.fixture
def config(rabbit_config, web_config, foo_config):
    conf = {}
    conf.update(rabbit_config or {})
    conf.update(web_config or {})
    conf.update(foo_config)
    yield config

then only the parts of the config created in our tests are passed to the container_factory and patched there in Nameko 3.x ({'a': 1, 'b': 2, 'foo': 'bar'} and not the Nameko fixtures since they yield None).
This makes backwards compatibility easier, since most of the tests (not all of them though) now pass for both Nameko 2.x and 3.x. Another questions is whether we think this should be the recomended way of doing it: that "partial" patching there is not that obvious but the change is minimal and it works as expected in most cases.
Anyway, we could probably add some guidelines about what's the recomended way of making extensions tests compatible for both Nameko major versions. I'm happy to help with any work that may be needed.

Thanks @juliotrigo for this analysis.
Taking everything into account I think it's best to leave these fixtures as backwards-incompatible with Nameko 2.x. It's not difficult for library developers that want to support 2.x and 3.x to do so, and it will encourage upgrades.
I definitely agree we should describe the process as part of docs for  "upgrading to 3.x". There should be a section for upgrading services and a section for upgrading libraries.

That sounds good @mattbennett I'll close this PR.
Thank you both for your comments.


Allow specifying priority of upstream commits

Currently, priority exists in the database, but has to be set manually.
Priority could potentially be set in the following ways:

Subcommand that requires commit and priority number, sets value in database, could also take file or stdin for bulk
Config-base priority overrides
Import from spreadsheet

It looks like priority in the spreadsheet is base on what bucket the commit is in. The Priorities worksheet specifies the priority for each bucket.


test: Wait for at least one Istio POD to get ready

BACKPORTED:

#9049 -- test: Wait for at least one Istio POD to get ready (@jrajahalme)

Once this PR is merged, you can update the PR labels via:
$ for pr in 9049; do contrib/backporting/set-labels.py $pr done 1.4; done

This change is

never-tell-me-the-odds

Apt issues: https://jenkins.cilium.io/job/Cilium-PR-Ginkgo-Tests-Validated/14893/execution/node/107/log/

test-missed-k8s

test-me-please

never-tell-me-the-odds


Memory Leak with Groovy header manipulation

We have an issue with membrane where apparently a memory leak with groovy causes some internal classloader hashmap to increase in size over time, causing membrane to eat up all cpu without actually doing anything. I have a heap dump here but I fail to really understand what is causing this. Anybody else witnessed this?
If you can tell me a place where I can upload a heapdump of this size I'll gladly provide it.
The accompanying configuration will follow tomorrow, Membrane in use is 4.6.1 or 4.6.2 (honestly can't tell, will check tomorrow)

Ok I did a little more debugging and it seems that the leak is created with the  keyword in my configuration. This keyword is actually not documented but shows up in examples so I used it. Apparently the groovytemplate is compiled and registered to the java class loaders with each invocation of the associated endpoint.


Back off from successive requests when sync results in a 401

Currently it appears that when settings sync gets a 401 unauthorized it will continue to sync (and fail) on the standard interval. We should instead stop syncing immediately and show a warning that there is a problem with auth. If the server gives a 401 that means it's available and function and the token failed verification, it is guaranteed to continue to fail verification if the same token is used.
Related https://github.com/microsoft/vscode/issues/85211 (this is more appropriate for 50x and 404s)

Looks like a dup of #86298

It is indeed lol, I thought it was a regression. Closing the other one as this has more info.


Icons cut off in 1.0.1

[x] I am on the latest Hyper.app version
[x] I have searched the issues of this repo and believe that this is not a duplicate

OS version and name: macOS 10.12.2
Hyper.app version: 1.0.1
Link of a Gist with the contents of your .hyper.js: https://gist.github.com/controversial/d08d16c4fd1c9df8
Relevent information from devtools N/A

Issue
In Hyper 1.0.1, many rendering issues have been fixed, but one has been introduced: many of the icons in my prompt are cut off 😢  See the right prompt here:

Hey there, please try again with the new Hyper v2 release and open a new issue if the problem stills exists. Thank you!


SWAPS, all limitations for minimum amounts that can be traded.

The problem that amount can be smaller than fees, in this case the trade will stale.

For mainnet the limitation:
BTC  0.001
BCH  0.001
MWC   0.1
For floonet - 10 times smaller.

It is done and tested and release. Closing

It is done and tested and release. Closing


Randomize data button randomizes colors in pie chart demo

Pie chart wasn't randomizing colors when Randomize Data button was clicked. The code to do this was commented out but incorrect. Fixed it and added it back it in.
Figure someone learning the API would like to see the color change effect. Also, this makes it consistent with other chart samples like bar that do the color change on randomize.

Thanks @mchateloin
Will merge when CI finishes

Coverage remained the same at 77.909% when pulling<PHONE_NUMBER>405b77b088128c3eac761f855e85dd on mchateloin:pie-demo-randomize-colors into adc430fc66c7856e048bc26cdedee3f2ced500e0 on chartjs:master.


Gui: Add Block Size Accept Limit to options

Adds a Block Size Accept Limit option to the options dialog.

Great idea!
The code is reading and writing to the Qt config file, but it doesn't yet change the actual limit as returned by policy::blockSizeAcceptLimit().
I think to make this work even after a restart, the only way to do this properly is to add this config option to the bitcoin.conf config file (or overwrite it if it were already there)...

This setting is written to Bitcoin-QT.conf, via optionsmodel.cpp, in the same manner that other GUI options are stored. It also changes the value that will be returned by policy::blockSizeAcceptLimit() via the SoftSetArg call in optionsmodel.cpp (although a restart is required).

Hmm, at casual look, I'd think that with one or two extra lines of code you could make it so that you don't need to restart. Just all that SoftSetArg when the user accepts the dialog?

In order to not require a restart, it looks like there would also need to be a change made in miner.cpp, since it caches the the value of Policy::blockSizeAcceptLimit() for the coinbase comment. I think there would also need to be some changes in the GUI, wherever the user-agent is displayed.
Due to the user-agent being tied to this setting, perhaps requiring a restart is actually preferable? It would be strange to change the user-agent of the client while it is running.

Both true points. I guess this needs further thought.


Add new SAML signing key for production VSP

GOV.UK Verify has deployed the new signing certificate for our Verify Service Provider in production. The key exists in the key vault.

 Renew VSP production certificates before April 25, 2020

Yeah will do. It felt weird doing the last release without a changelog entry so thought I'd keep it up here


404 not found

Hi, nice framework by the way..i have got it setup. when i run the application and go to the url on localhost to list the endpoints, it works, but when i try visiting an individual endpoint say http://localhost:5000/spiders/konga, it throws a 404 not found error

hi @ghowkay, thank you for your appreciation. The url http://localhost:5000/spiders/ will return a list of spiders. To run a spider you have to call the endpoint http://localhost:5000/run-spider/kongo.
In my next release I will make the endpoints more evident. I understand it is confusing.

Also @ghowkay , you can look at the quickstart guide for more information.

Wow thanks for the quick response. No problem .ill give it a try. Cheers
On Thu, Mar 17, 2016 at 5:09 PM, Kiran Koduru<EMAIL_ADDRESS>wrote:

Also @ghowkay https://github.com/ghowkay , you can look at the quickstart
guide
http://arachne.readthedocs.org/en/latest/quickstart.html#quickstart for
more information.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/kirankoduru/arachne/issues/7#issuecomment-197951519

@ghowkay no problem. I will close this issue then.

uh oh. my apologies just started getting this error when i run python app.py
from scrapy.log import ScrapyFileLogObserver
ImportError: cannot import name ScrapyFileLogObserver
Sorry to bother
On Thu, Mar 17, 2016 at 5:31 PM, Kiran Koduru<EMAIL_ADDRESS>wrote:

Closed #7 https://github.com/kirankoduru/arachne/issues/7.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/kirankoduru/arachne/issues/7#event-593681744

@ghowkay this is related to the version of Scrapy you might have installed. Are you sure you have Scrapy v0.24?

no i have the version 1. is there anyway i can replace the
scrapyfilelogobserver with another function. im using xmlspiders and
sitempap spiders which are unavailable in 0.24 i think
On Thu, Mar 17, 2016 at 5:35 PM, Kiran Koduru<EMAIL_ADDRESS>wrote:

@ghowkay https://github.com/ghowkay this is related to the version of
Scrapy you might have installed. Are you sure you have Scrapy v0.24?
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/kirankoduru/arachne/issues/7#issuecomment-197963462

@ghowkay sorry but I still have to update this project to support v1.0 of scrapy. I have that in the roadmap for a future release. Refer #4

@ghowkay I have updated the project to be compatible with Scrapy 1.0+ today. Please update your installation for Arachne.


Ecto.Adapters.MySQL uses different param placeholder

Just a note for anyone who like me was trying to figure out why this wasn't working on a MySQL project. MySQL's placeholder is ? rather than $1 etc. As a result the DevLogger doesn't replace the right things. I may have a look at a PR for this is I have time, but for the moment hopefully this saves others time when trying to figure out what's happening.
Great project by the way! I'm looking forward to using it on a Postgres codebase. :D

Hey @sh41
I've pushed a commit with support for Ecto.Adapters.MyXQL adapter to main. Could you test it? :)

Thanks @fuelen! Looks great!

It's highlighted something a little odd with some of the strings we're using, but I'll raise another issue for that as it's unrelated to the adapter used.

Released in v0.3.0

❤ 💚 💛 🧡


Msdk 831 improve alpha quality

the if statement was getting +4 for being so nested, by bringing it up a level it should only get a +2 for nesting, which brings the total to the allowed 15 score.
There is also a similar comparator function in getMissingPortfolioPermissions below, so in some sense its a bit more consistent also.

:tada: This PR is included in version 14.0.0-alpha.2 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 14.0.0-beta.1 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 14.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[Feature] Distance in the result

It would be really cool if the library gave you the option to get the distance of each result from the center

It does! When you make a query you get QueryDocumentSnapshots back which have a distance field.
https://geofirestore.com/interfaces/_geofirestoretypes_.geofirestoretypes.querydocumentsnapshot.html

Oh wow amazing! I didn't realize


disabled layer gets re-enabled automatically

create sample app using both the "Maritime Display Properties" widget.
Run the app
disable the layer "Natural and man made features..."
open the "Maritime Display Properties" widget.
the disabled layer becomes enable again

fixed with f224c9c350fffc99743afffc4c3e196f79a85604

verified in development branch
Please close when merged to master

Tested development branch and the fix worked.  Ready to push to public.


Fixing v1.1.1 references in support table

Thank you for helping make the Dapr documentation better!
Please follow this checklist before submitting:

[x] Read the contribution guide
[x] Commands include options for Linux, MacOS, and Windows within codetabs
[x] New file and folder names are globally unique
[x] Page references use shortcodes instead of markdown or URL links
[x] Images use HTML style and have alternative text
[x] Places where multiple code/command options are given have codetabs

In addition, please fill out the following to help reviewers understand this pull request:
Description

The addition of v1.1.1 requires new entries in the support table rather than overwriting v1.1.0 with v1.1.1
Issue reference

N/A

@wcs1only, @mukundansundar - I saw you made changes to the support page when v1.1.1 was released. Please note for the support page we need to add new entries in the tables rather that overwrite.


Issues building AI model Jetson Xavier NX

I've been using the ZED 2 camera on a Jetson Nano for a few months now, I recently switched over to a Jetson Xavier for the added ram and processing power but my attempts to use the ZED2 haven't been working.
I downloaded the ZED SDK for jetpack 4.4 (the standard installer) then followed the instructions to download the python api. I went through the tutorials installed and everything is alright until the Object Detection module - which is also the one I really need.
The program begins downloading and setting up the model for the graphics card and ultimately fails.
"Terminate called after throwing an instance of 'std::bad_alloc
what(): std::bad_alloc
Aborted"
I compiled and ran the cpp file of the same module and everything worked well. I tried reinstalling all the software and then got lots of segmentation faults.
I've verified I have cython, numpy, and cv2 downloaded.
Do you have any ideas on what could be wrong? I know bad_alloc refers to a lack of memory, so I rebooted the machine and called the tutorial module through terminal without opening any other programs. There really SHOULD be enough memory for it.
Thanks so much

In the current state, are the C++ samples working?
Could you give the commands and output of these you're using to set up the python API?
Could you also give the log of the sample that is crashing?
If a model has been set up when using a C++ sample it should be available when using the Python API, you should see the files with ls /usr/local/zed/resources/.*

The c++ code is working right now.
To set up the api, I installed cython first with
sudo python3 -m pip install cython
Numpy I had to monkey around a bit with to get numpy 1.19 instead of 1.13, but it was also installed with
sudo python3 -m pip install numpy
I tried running both again to confirm and got the following returns:
Requirement already satisfied: cython in /usr/local/lib/python3.6/dist-packages (0.29.21)
Requirement already satisfied: numpy in /usr/local/lib/python3.6/dist-packages (1.19.4)
So those dependencies are in place.
Next I went into  usr/local/zed and ran:
python3 get_python_api.py
with an output of:
Defaulting to user installation because normal site-packages is not writeable
Processing ./pyzed-3.3-cp36-cp36m-linux_aarch64.whl
Installing collected packages: pyzed
Successfully installed pyzed-3.3
Next I ran hello_zed.py:
[ZED][Init] No calibration file found for SN24659869. Downloading...
[ZED][Init] Calibration file downloaded.
Hello! This is my serial number: 24659869
Then I ran object_detection.py and got:
[ZED][Init] Depth mode: PERFORMANCE
[ZED][Init] Video mode: HD720@60
Object Detection: Loading Module...
terminate called after throwing an instance of 'std::bad_alloc'
what():  std::bad_alloc
Aborted (core dumped)
A model is present in usr/local/zed/resources. I'm not sure how to know if it's been set up correctly other than running object_detection.py as a test

I've dug into it a bit more, each time I run the module as a python script, the CPU usage skyrockets. Sometimes the program exits with a segmentation fault. From what I understand this can be an issue on the C level. It's very possible something is wrong with Xavier - but is it possible a recent update to the code base is creating issues?
I found a python module to peek into the error message beyond segmentation fault and the output was: (the script name is different but its a copy-paste of the program)(and the number printouts are from the debugging process)
python3 -Xfaulthandler zed.py
[ZED][Init] Depth mode: PERFORMANCE
[ZED][Init] Video mode: HD720@60
Object Detection: Loading Module...
one
two
three
four
Fatal Python error: Segmentation fault
Current thread 0x0000007f995f3010 (most recent call first):
File "/home/user/Documents/Code/sw-droid/Archive/zed.py", line 72 in main
File "/home/user/Documents/Code/sw-droid/Archive/zed.py", line 110 in
Segmentation fault (core dumped)

Hello! I'm also experiencing your same problem with the NVIDIA Jetson Nano (4GB). When I try to run the object detection module the program crashes with the error "std::bad_alloc". I've narrowed down the issue to this specific line:
"for obj in bodies.object_list:"
I'm looping over the bodies found in the image to extract the coordinates. The property "object_list" of the class "Objects" is defined in the python API as:

The list of detected objects. An array of \ref ObjectData .
@property
def object_list(self):
object_list_ = []
for i in range(self.objects.object_list.size()):
py_objectData = ObjectData()
py_objectData.object_data = self.objects.object_list[i]
object_list_.append(py_objectData)
return object_list_
Maybe the issue lies in the way the memory is allocated in order to build the list of "objectData", which is then returned. The strange thing is that I only have this problem on the Jetson, while it works fine on my Desktop PC.
I was wondering if you have found any additional info on the bug.

While this doesn't address the cause, I found reverting back to SDK 3.2 from SDK 3.3 solved the issue. There seemed to be significant changes to the object detection examples between 3.2 and 3.3. Its not a fix but it is a solution.

While this doesn't address the cause, I found reverting back to SDK 3.2 from SDK 3.3 solved the issue. There seemed to be significant changes to the object detection examples between 3.2 and 3.3. Its not a fix but it is a solution.

Thanks a lot for the suggestion. As you said it works on the previous version of the SDK.

I've found out that building the Python API from sources solves my issue with the ZED SDK 3.3.

I've found out that building the Python API from sources solves my issue with the ZED SDK 3.3.

Hi,
The ZED SDK 3.4 RC should solve this issue

Hi,
The ZED SDK 3.4 RC should solve this issue


Entity Hider - Hide Radom Event NPCs

Would it be possible to add a way to hide random event npcs?
I'm realising how annoying it is whilst cooking at Burthorpe when random events standing on the fire!
Using the 'HIde NPCs' option hides the banker otherwise i'd use that.

You have the option "show attackers" on. This will show anyone who is interacting with you (e.g. following like random events)

Unfortunately i don't have anything enabled.

Also,  it would need to hide other people's random event npc's otherwise pointless.

The feature is not made for purposes like this, so I disagree this should be implemented.

I don't see how it would be any different to hiding players? I usually have the hide players option enabled but what's the point when i get to see their random event's every so often when skillng.

I mean if Jagex allows you to hide entities at all I don't see why hiding OPTIONAL events would be an issue.

https://camo.githubusercontent.com/1679285ccb7e5375da8ec097d632de21c932ebc1/68747470733a2f2f692e696d6775722e636f6d2f483172794e6e512e706e67


Update links to the archived connectors repo

The connectors repository has been recently archived (on Jul 13, 2023). Its contents have been moved into the delta repository, under connectors.
Therefore, any link pointing to the archived repository should be updated to point to the new location instead.

Thanks @manuteleco - appreciate you doing this.  will review shortly!


Cannot download hugo-type-theme

Hi,
I was following the Hugo Guide and when I try to download themes using the following command git clone --recursive https://github.com/spf13/hugoThemes.git themes I get:
Cloning into 'type'...
fatal: unable to connect to github.com:
github.com[0: <IP_ADDRESS>]: errno=No error

Clone of 'git://github.com/digitalcraftsman/hugo-type-theme.git' into submodule path 'type' failed

and it stops here. If I try to get the theme with a regular git clone the theme is regularly downloaded: is there something wrong in the submodule definition?
Thanks
Bye
Piero

have you tried again recently? it's working for me:
Cloning into 'type'...
remote: Counting objects: 321, done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 321 (delta 0), reused 0 (delta 0), pack-reused 317
Receiving objects: 100% (321/321), 281.66 KiB | 0 bytes/s, done.
Resolving deltas: 100% (162/162), done.
Checking connectivity... done.
Submodule path 'type': checked out '64eedb474d579c9c1b5be72aa939e781e4ec6b46'

Hi,
today it is even better: I cannot download almost anything.
I'll close this issue: it is likely a problem of my corporate firewall.
Thanks and sorry for the noise.
Bye
Piero


[WFLY-7340] kerberos-security-factory options

Depends on https://github.com/wildfly-security/wildfly-elytron/pull/516
https://issues.jboss.org/browse/WFLY-7340

Placing this one on hold for now - if we find a case that does justify generic option support we will merge but for now the intent is to hide the use of JAAS to obtain the GSSCredential as we only actually have three different JVM vendors (Two with a common login module) so I think if we do have any missing options we should still be able to solve issues and keep generic.


advanced inscriber

while playing ATM 8. the advanced inscriber is not allowing the presses to be output with any AE2 possibilities.
once i pull the presses out manually the inscriber continues on with its crafting till it issues another press and locks up.
when running autocrafting the system claims it needs 9 presses when crafting 10 logic processors  or 99 if try for 100. not sure why would need so many presses for a repeat crafting.  only thing i can do to fix is go to original inscriber of AE 2 at this point

You can specify the press as a secondary output and it will be reused.

import bus not pulling the press and setting as a secondary output not auotmatic eject . so unless im missing something in the setup.. everything gets put into the advanced inscribe.. everything but the press is pulled out .. locking up the press .. ive even tried every side to import the press from and does not work. its just locked into its spot once its inserted there. interface on the top. import on the front and a pattern provider on the right side.


Better tagging of containers in registry

At the moment there is only latest AFAICT
https://github.com/CosmosContracts/juno/pkgs/container/juno
Would be nice if this was created in such a way that tags were applied that match releases, for dev purposes

#107 is potentially related?

What remains to be seen is how the github CI improvements react to tags. It should tag and release when you tag, but I don't know if that means it expects the tag to be tagged and pushed from the dev machine when it lands on GitHub

Huh, looks like it still isn't quite detecting the tags right. FFS.
Will add this back to my to-do list.

Aha. Tagging only works for pushing tags and releases/tags via UI is a separate event. PLUS

Note: The release event is not triggered for draft releases.

Which is why current draft isn't picked up.

Release tagging can now be seen working on main. Might disable PR tagging at some point however.


Back-button functionality

Is your feature request related to a problem? Please describe.
I type some text into the box, click "Submit anonymously", notice some change I want to make, press the browser's Back button. My text is gone, and if I re-paste it and fix the change, clicking "Submit anonymously" again gives "Invalid anti-CSRF token."
Describe the solution you'd like
Clicking Back would fill the page with my last attempt, and submitting it again would be successful.
Describe alternatives you've considered
An "Edit" button on the view page. This would be nice anyway, but wouldn't exactly solve the problem since my instinct is to go back and retry rather than looking for another button.

Whoops, I meant to reply to this much earlier, but I archived it in my email on accident!
I agree that you should be able to go back and repaste, but I'm not sure about the how.
I do not agree that you should be able to edit anonymous pastes, and that will likely never be implemented.
@lol768, I'm curious about your input. Going back would load the same anti-CSRF token in the browser, but valid tokens are deleted after one use. Keeping them around after use feels unsafe (though correct me if I'm wrong).
I'm open for ideas on how to make clicking back and resubmitting work correctly, and I'll think about it more.

but valid tokens are deleted after one use

So, out of interest: What's your thinking behind what this is protecting against? What attack does this approach stop that using one token per session doesn't stop?
There are some other 'fixes' (such as setting no-store, no-cache, must-revalidate etc for your cache control headers) but I suspect they'll make the browser lose the old input. It's a tricky one.


intersects method behaves unexpectedly with LineString containing duplicate points

I encountered an issue with the intersects method in the shapely library when using a LineString that contains duplicate points. The method produces unexpected results when checking for intersections with a Polygon.
When the polygon is a rectangle the result is as excepted:
import shapely # 2.0.6

poly = shapely.Polygon(
    [
        [-100, -100],
        [100, -100],
        [100, 100],
        [-100, 100],
    ]
)

line = shapely.LineString([[0, 0], [0, 0]])

print(line.intersects(poly), poly.intersects(line)) # True, True

But when the polygon is a parallelogram the result is not as excepted:
poly = shapely.Polygon(
    [
        [-100, -100],
        [100, -150],
        [100, 100],
        [-100, 150],
    ]
)

line = shapely.LineString([[0, 0], [0, 0]])

print(line.intersects(poly), poly.intersects(line)) # False, False

Can you report on versions of shapely and GEOS you are using? With shapely 2.0.6 and GEOS 3.12.2, I see True True in both cases. You can check via shapely.__version__ and shapely.geos_version

Can you report on versions of shapely and GEOS you are using? With shapely 2.0.6 and GEOS 3.12.2, I see True True in both cases. You can check via shapely.__version__ and shapely.geos_version

shapely.__version__ is '2.0.6' and shapely.geos_version is (3, 11, 4)

I would try updating GEOS, if possible. This type of an issue is usually caused by GEOS and if 3.12.2 does not show the same behaviour, that indicates that it may have been fixed in the meantime.

I would try updating GEOS, if possible. This type of an issue is usually caused by GEOS and if 3.12.2 does not show the same behaviour, that indicates that it may have been fixed in the meantime.

Thank you so much for taking the time to look into the issue for me. I really appreciate your help.

Note that a linestring with only two equal coordinates is "invalid":
print(f"{shapely.LineString([[0, 0], [0, 0]]).is_valid}")  # False

Quote from the PostGIS documentation on linear geometry validity:

For linear geometry the only validity rule is that LINESTRINGs must have at least two points and have non-zero length (or equivalently, have at least two distinct points.) Note that non-simple (self-intersecting) lines are valid.

Spatial operations with invalid geometries are not to be expected to give correct results. So, even though in the latest version of GEOS this indeed is giving a more intuitively expected result, it isn't guaranteed that this will be the case with later versions and/or with different (e.g. more complex) polygons.


Context on the endpoint being retried

Through multicall, I'm using eth_retry. However, I'm juggling 16-20 different chains at any given time.
The short stack trace only goes as far as the invoking Multicall method. Would it be possible to also report the endpoint URL that it's encountered the error on? I was a bit stumped on how to do so myself.

You're going to need to do that in multicall lib, try running your script with ETHRETRY_DEBUG=1 set as an env var so you can print the actual exceptions that are being raised. Then, you're going to need to catch them in multicall before they are raised to the eth_retry decorator and add your context to them there.
If you want to do that I think the best way is to add an env var to toggle this setting on so it doesnt spam peoples logs more than this lib already does. catch the exc, contitionally add the self._w3.provider.endpoint_uri result to your exception, and reraise. Going to close this because that is outside the scope of this repo. I'd be happy to review a PR to multicall with this change.


docs: Update broken links in CONTRIBUTING.md

I think the previous entry points for the development server and production build moved to Vite?
Let me know if I'm wrong! 😄
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

[ ] It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
[ ] This message body should clearly illustrate what problems it solves.
[ ] Ideally, include a test that fails without this PR but passes with it.

Tests

[ ] Run the tests with pnpm test and lint the project with pnpm lint and pnpm check

Changesets

[ ] If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpm changeset and following the prompts. All changesets should be patch until SvelteKit 1.0

Yep — there's now a single Vite plugin that handles dev, build and preview, whereas previously those were separate things handled programmatically. build_server is just one aspect of building (it's called after the client build has been created), so it makes more sense to just point everything at the plugin entry point, which I just did. Thanks!


Update CONTRIBUTING.md

Signed-off-by: Rakesh Potnuru<EMAIL_ADDRESS>Description
Add "git" in command in docs - here
Notes for Reviewers
Signed commits

[x] Yes, I signed my commits.

Thank you, @Abhijay007 and @RakeshPotnuru 👍


exclude_pattern

I'd like to exclude all my var folder from being indexed. Thus, my .phpactor.json settings are:
{
    "language_server_completion.trim_leading_dollar": true,

    "navigator.destinations":
    {
        "unit_test": "src/Domain/Tests/<kernel>Test.php",
        "mother": "src/Domain/Tests/<kernel>Mother.php",
        "source": "src/Domain/<kernel>.php"
    },

    "navigator.autocreate":
    {
        "unit_test": "default",
        "mother": "default",
        "source": "default"
    },

    "indexer.exclude_patterns": [
        "/vendor/**/Tests/**/*",
        "/vendor/**/tests/**/*",
        "/vendor/composer/**/*",
        "\/var\/**\/*",
        "/var/*",
        "var/*"
    ]
}

As can be seen, I've already tried with several paths, but it's still suggesting me references from the var/cache dir. Am I doing anything wrong?

Obvious things first: did you :CocCommand phpactor.reindex (or phpactor index:build --reset) ?

sorry, yes I did a :CocCommand phpactor.reindex after modifying my .phpactor.json file

Indeed - seems not to work too well, will try and investigate.

ok - no it does seem to work, it's just not very well documented:
        "/vendor/**/*",

for example will ignore my vendor directory. * matches up until the first / and ** all chars including /

It's true that on the output there are no Updated /home/........./var/cache/.... entries. Althought phpactor is still suggesting me the var/cache references.
Maybe I should delete manually some old phpactor indexes or cache?

Both phpactor index:build --reset and phpactor.reindex should do that ... AFAIRC. But if you want to be sure rm -Rf ~/.cache/phpactor/index/<project dir name>-<some hash>

I've been looking a bit more into it.... indeed, it weren't phpactor sugestions. I didn't notice I had an inteliphense extension set up also, so It was a mix of both, phpactor and phpls. Once I excluded forders in both, everything is working fine.
My apologies for the inconvenience.


HHH-10222 - AttributeConverter not applied to @ElementCollection

Check CollectionElementConversionTest first, please. Without my fix, converter would be ignored and there would be attempt to store map's keys in binary form (failing as Color is not Serializable). With fix, keys are correctly stored as text (converter is used).
Only two conditions were changed in SimpleValueBinder.

Applied upstream.  Thanks Michal!

Thanks for merge, Steve! It's very nice that you noticed another missing part BTW. At least in one place, @MapKeyTemporal is still missing, but that's nobody's fault but mine.
I think it would be good to to include another map in test, some Map<Color, Date> annotated with @ElementCollection and @Temporal . Once again, I should do that in the first place.
Could you, please?

Ok! I just checked your last commit, all checks are in place.
Thanks again!


Correctly complete items with leading underscore

Fixes #6091. Let me know if the test is placed into the right file or if it is even desired.

I think it's a good place for a test and it's not a big issue to move it later, if somebody decides to do so.
Thank you.
bors r+


Create a Dockerized event webhook consumer

Issue Summary
SendGrid has an Event Webhook which posts events related to your email activity to a URL of your choice. We want to have an easily deployable solution that allows for customers to easiy get up and running processing (parse and save) their event webhooks.
Acceptance Criteria

A folder which contains a Dockerized solution
Example documentation on how to deploy locally and start processing events
Example documentation on how to deploy on at least one cloud service and start processing events
An example complete payload with a test to verify the data is parsed properly

Hey!  @thinkingserious  I'll take this one too.  What do you think about if I just modified the inbound parse example to also be able to accept the event webhooks on a different route?  For example, currently, I have a route POST /parse_webhook.  I can just add a second POST /event_webhook in the same app, and then explain the event object that is sent by SG.  We can then just rename the subfolder to something more general like webhook-consumer...

Great idea! It's all yours :D


Never finds "Homebridge" accessory on iOS

Installation seemed to go very well.
Running the app shows a warning:
*** WARNING *** Please fix your application to use the native API of Avahi!
But continues to load the app. It finds all my Next, Hue Light Bulbs, and WeMO Switches (awesome!)
It finishes with
EventedHTTPServer Server listening on port 51826 +0ms
The first time I started the iOS app, I went to 'Accessory' and one named "Homebridge" was already available. I selected it. Was asked for the code (from the config.json file). I added it, but then got an error on the iOS app.
The homebridge app seemed to be pairing devices just fine.  It made it through a series of 'pairings' before also erroring out.
Restarting everything and now no homebridge accessory is never found by iOS. I've tried rebooting, restarting, both the raspberry pi and the iOS device with no luck.  Any ideas? Since I'm not getting error messages now I'm not sure what to look for.
Any help is much appreciated.  Thanks!

I am having the same problem. I just went to settings, privacy, and reset my HomeKit, and I was able to find the homebridge again using a different app...but same problem...errors out.

@masonjames @velocityware can you grab the log from iOS device? (You can get log from iOS device using Xcode or Apple Configurator)

tail -f /var/log/homebridge.*
==> /var/log/homebridge.err <==
Sun, 13 Sep 2015 04:01:13 GMT EventedHTTPServer Server listening on port 51826
*** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see http://0pointer.de/avahi-compat?s=libdns_sd&e=node
*** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see http://0pointer.de/avahi-compat?s=libdns_sd&e=node&f=DNSServiceRegister
Sun, 13 Sep 2015 04:12:16 GMT Accessory [Homebridge] Creating new AccessoryInfo for our HAP server
Sun, 13 Sep 2015 04:12:16 GMT Accessory [Homebridge] Creating new IdentifierCache
Sun, 13 Sep 2015 04:12:16 GMT EventedHTTPServer Server listening on port 51826
==> /var/log/homebridge.log <==
[Wink] Initializing platform accessory 'Living room Lamp On Table - GE Link Bulb'...
[Wink] Initializing platform accessory 'Living Room Lamp Near Window - GE Link Bulb'...
[Wink] Initializing platform accessory 'Master Bedroom Pati Light - GE Link Bulb'...
[Wink] Initializing platform accessory 'Master Bedroom Rob Light - GE Link Bulb'...
[Wink] Initializing platform accessory 'Basement Foyer - GE Link Bulb'...
[Wink] Initializing platform accessory 'Kitchen light'...
[Wink] Initializing platform accessory 'Master Bedroom - Overhead'...
[Wink] Initializing platform accessory 'Bobby's Room Light'...
[Wink] Initializing platform accessory 'Workout Room - GE Link Bulb'...
[Wink] Initializing platform accessory 'Office Light'...
==> /var/log/homebridge.err <==
Sun, 13 Sep 2015 04:12:43 GMT EventedHTTPServer [<IP_ADDRESS>] New connection from client
Sun, 13 Sep 2015 04:12:43 GMT EventedHTTPServer [<IP_ADDRESS>] HTTP server listening on port 54826
Sun, 13 Sep 2015 04:12:52 GMT EventedHTTPServer [<IP_ADDRESS>] HTTP request: /pair-setup
Sun, 13 Sep 2015 04:12:52 GMT HAPServer [CC:22:3D:E3:CE:31] HAP Request: POST /pair-setup
Sun, 13 Sep 2015 04:12:52 GMT HAPServer [CC:22:3D:E3:CE:31] Pair step 1/5
Sun, 13 Sep 2015 04:12:52 GMT EventedHTTPServer [<IP_ADDRESS>] HTTP Repsonse is finished
Sun, 13 Sep 2015 04:13:10 GMT EventedHTTPServer [<IP_ADDRESS>] HTTP request: /pair-setup
Sun, 13 Sep 2015 04:13:10 GMT HAPServer [CC:22:3D:E3:CE:31] HAP Request: POST /pair-setup
Sun, 13 Sep 2015 04:13:10 GMT HAPServer [CC:22:3D:E3:CE:31] Pair step 2/5
Sun, 13 Sep 2015 04:13:11 GMT EventedHTTPServer [<IP_ADDRESS>] HTTP Repsonse is finished
Sun, 13 Sep 2015 04:13:11 GMT EventedHTTPServer [<IP_ADDRESS>] HTTP request: /pair-setup
Sun, 13 Sep 2015 04:13:11 GMT HAPServer [CC:22:3D:E3:CE:31] HAP Request: POST /pair-setup
Sun, 13 Sep 2015 04:13:11 GMT HAPServer [CC:22:3D:E3:CE:31] Pair step 3/5
Sun, 13 Sep 2015 04:13:11 GMT HAPServer [CC:22:3D:E3:CE:31] Pair step 4/5
Sun, 13 Sep 2015 04:13:11 GMT HAPServer [CC:22:3D:E3:CE:31] Pair step 5/5
Sun, 13 Sep 2015 04:13:11 GMT Accessory [Homebridge] Paired with client 1CE32F58-7144-4033-B149-8BFFA3003E05
Sun, 13 Sep 2015 04:13:11 GMT EventedHTTPServer [<IP_ADDRESS>] HTTP Repsonse is finished
Sun, 13 Sep 2015 04:13:11 GMT EventedHTTPServer [<IP_ADDRESS>] Client connection closed
Sun, 13 Sep 2015 04:13:12 GMT EventedHTTPServer [<IP_ADDRESS>] HTTP connection was closed
Sun, 13 Sep 2015 04:13:12 GMT EventedHTTPServer [<IP_ADDRESS>] HTTP server was closed
Sun, 13 Sep 2015 04:13:12 GMT EventedHTTPServer [<IP_ADDRESS>] New connection from client
Sun, 13 Sep 2015 04:13:12 GMT EventedHTTPServer [<IP_ADDRESS>] HTTP server listening on port 54826
Sun, 13 Sep 2015 04:13:12 GMT EventedHTTPServer [<IP_ADDRESS>] HTTP request: /pair-verify
Sun, 13 Sep 2015 04:13:12 GMT HAPServer [CC:22:3D:E3:CE:31] HAP Request: POST /pair-verify
Sun, 13 Sep 2015 04:13:12 GMT HAPServer [CC:22:3D:E3:CE:31] Pair verify step 1/2
Sun, 13 Sep 2015 04:13:12 GMT EventedHTTPServer [<IP_ADDRESS>] HTTP Repsonse is finished
Sun, 13 Sep 2015 04:13:12 GMT EventedHTTPServer [<IP_ADDRESS>] HTTP request: /pair-verify
Sun, 13 Sep 2015 04:13:12 GMT HAPServer [CC:22:3D:E3:CE:31] HAP Request: POST /pair-verify
Sun, 13 Sep 2015 04:13:12 GMT HAPServer [CC:22:3D:E3:CE:31] Pair verify step 2/2
Sun, 13 Sep 2015 04:13:12 GMT HAPServer [CC:22:3D:E3:CE:31] Client 1CE32F58-7144-4033-B149-8BFFA3003E05 verification complete
Sun, 13 Sep 2015 04:13:12 GMT EventedHTTPServer [<IP_ADDRESS>] HTTP Repsonse is finished
Sun, 13 Sep 2015 04:13:12 GMT EventedHTTPServer [<IP_ADDRESS>] HTTP request: /accessories
Sun, 13 Sep 2015 04:13:12 GMT HAPServer [CC:22:3D:E3:CE:31] HAP Request: GET /accessories
Sun, 13 Sep 2015 04:13:12 GMT EventedHTTPServer [<IP_ADDRESS>] HTTP Repsonse is finished
Sun, 13 Sep 2015 04:13:13 GMT EventedHTTPServer [<IP_ADDRESS>] New connection from client
Sun, 13 Sep 2015 04:13:13 GMT EventedHTTPServer [<IP_ADDRESS>] HTTP server listening on port 54827
Sun, 13 Sep 2015 04:13:13 GMT EventedHTTPServer [<IP_ADDRESS>] Client connection closed
Sun, 13 Sep 2015 04:13:13 GMT EventedHTTPServer [<IP_ADDRESS>] HTTP connection was closed
Sun, 13 Sep 2015 04:13:13 GMT EventedHTTPServer [<IP_ADDRESS>] HTTP server was closed
Sun, 13 Sep 2015 04:13:13 GMT EventedHTTPServer [<IP_ADDRESS>] HTTP request: /pair-verify
Sun, 13 Sep 2015 04:13:13 GMT HAPServer [CC:22:3D:E3:CE:31] HAP Request: POST /pair-verify
Sun, 13 Sep 2015 04:13:13 GMT HAPServer [CC:22:3D:E3:CE:31] Pair verify step 1/2
Sun, 13 Sep 2015 04:13:13 GMT EventedHTTPServer [<IP_ADDRESS>] HTTP Repsonse is finished
Sun, 13 Sep 2015 04:13:13 GMT EventedHTTPServer [<IP_ADDRESS>] Client connection closed
Sun, 13 Sep 2015 04:13:13 GMT EventedHTTPServer [<IP_ADDRESS>] HTTP connection was closed
Sun, 13 Sep 2015 04:13:13 GMT EventedHTTPServer [<IP_ADDRESS>] HTTP server was closed

@velocityware I mean the log from iOS side, when you pair your accessory.

I did the same steps as last night (stop process, delete everthing in the persist directory, start the process), and this time, everything worked as normal!   Last night, nothing helped.
Perhaps there is some communications callback, under the hood of homekit, to apple which was causing the problem.   I am going to test some other apps other than mytouchhome, later today. If it fails, I will send over both logs.

I did the same as @velocityware.  The folks at MyTouchHome recommended I resetting the homekit configuration. So I did that, deleted the persist directory (made a backup of it), and restarted.
This time I got success as well! The individual wemo & hue lights all showed up correctly. Turning them on and off with Siri has worked incredibly well.
I've got an iPad mini running iOS 9.1. This is the device everything worked on.  I have an iPhone running 8.4.1.  The accessories still don't show on this device. I'll do some more testing and report back.
There's no difference between the new persists directory and the old one, so I'm not sure what difference that made other than forcing the individual accessory discovery.
I'm familiar with console and have both xcode and apple configurator, but am not familiar with pulling logs from either.  I'll look into that and see if I can find anything useful there.  This is pretty stinkin' awesome!

Well, it worked once (and when it did it worked great!) but I haven't been able to get it working again.
I'm thinking the issue may be more with the MyTouchHome app though.  Here's what I get when I currently try to open the app and add a home "Error: Cloud data sync is in progress"

And I got this message during setup (even when it worked):

Logs from Homebridge don't show any activity, but the app does appear to be running.  I'll look into xcode next.

@masonjames This is a HomeKit issue. Please make sure you enabled iCloud Drive and iCloud Keychain on your iOS device. If this issue still persist, please try to reset HomeKit (under Privacy > HomeKit)

reset HomeKit (under Privacy > HomeKit)
delete the persist folder under homebridge and everything in it.

run with full logs to the screen, in case more issues arise...
DEBUG=* node app.js

Had the same problem.  One thing I noticed that even if you reset the Homekit data in iOS [reset HomeKit (under Privacy > HomeKit)], it actually retains the data somehow and doesn't actually reset anything, so it remembers the devices you added.  To add the homebridge, you have to change the "username" in config.json

open config.json

Change the username MAC Address.  I changed the last digit to something else and iOS was able to find the homebridge.
"bridge": {
"name": "GiveItANewNameJustInCase",
"username": "Change the MAC Address Here",
"port": 51826,

I updated all devices to ios 9+ (iphone on ios 9 and iPad on ios 9.1beta).  I cleared the Privacy > HomeKit settings on both devices and closed the apps.  Then I pulled the latest from github and removed the persist folder and restarted the homebridge app on the raspberry pi.
I get the following:

Different error than before, but ultimately I'm still unable to add homebridge as an accessory.  Will keep trying and totally open to suggestions. I got it working once... I know it can work again!
Thanks :)

BTW, I have since been able to get this app working consistently with homebridge.  For whatever reason, Siri seems to respond immediately/appropriately as long as i have the iOS app actually running.
Quick/dirty video: https://www.youtube.com/watch?v=gmGpVxwGo-s
Marking this as closed. Thanks everyone who helped :)

@masonjames
@velocityware
@KhaosT
I have the same situation you had in the beginning: homebridge is running, everything seems fine, Eve finds the Homebridge, but no accessories and there is no way I can enter the pin.
I have changed usernames, bridge names, cleared persist folder and homekit settings.. the lot.
I am running the homebridge on a synology, debian chroot install. Does anyone have a hint as to how to get to the accessories and entering of the pin?
Thanks, Tigo

@Tigo72 did you also get the "insufficient permission" error?

@KhaosT thanks for your reply.
No, I do not get any errors. Everything seems fine at first glance: Homebridge starts correctly, Hue and Domoticz accessories are loaded by Homebridge, but they simply do not show up in either Eve or Insteon+. The Homebridge is recognized in the apps, but I cannot enter a pin and no accessory is found by the apps.

@Tigo72 What do you mean by "The Homebridge is recognized in the apps, but I cannot enter a pin and no accessory is found by the apps"? Do you mean that you can see homebridge in the HomeKit app but when tapping the app, it doesn't ask you to pair?

@KhaosT Yes, that is exactly what I mean :-)

@KhaosT I found a solution: had to change the port. Thanks for thinking along though! I appreciate it.
Best, Tigo

Hey @Tigo72  I've the same problem...
When I want to connect to Homebridge in the Elgato Eve App it shows Homebridge. I can click on it but the progress bar runs to the end without the pin prompt.
To which port did you change the setting in config.json?
Best regards

Hi,
I changed to 51827 - make sure your ports are forwarded (all) within the
synology.
It did the trick for me.
All Bets,
Tigo
2016-02-23 10:43 GMT+01:00 Surroot<EMAIL_ADDRESS>
Hey @Tigo72 https://github.com/Tigo72 I've the same problem...
When I want to connect to Homebridge in the Elgato Eve App it shows
Homebridge. I can click on it but the progress bar runs to the end without
the pin prompt.
To which port did you change the setting in config.json?
Best regards
—
Reply to this email directly or view it on GitHub
https://github.com/nfarina/homebridge/issues/163#issuecomment-187626926.


ubuntu 22.04 kvm k3s and awx 1.3.0 operator not working

I have follow your guide step by step on a ubuntu 22.04 virtual machine but the awx por is failing i check the logs and is just crahisng do you know what can be ?
NAME                                                   READY   STATUS                  RESTARTS      AGE
pod/awx-operator-controller-manager-68d6f576b4-28psv   2/2     Running                 0             14m
pod/awx-postgres-13-0                                  1/1     Running                 0             11m
pod/awx-6d5dff6db7-n2vsj                               0/4     Init:CrashLoopBackOff   5 (84s ago)   4m23s
NAME                                                      TYPE        CLUSTER-IP     EXTERNAL-IP   PORT(S)    AGE
service/awx-operator-controller-manager-metrics-service   ClusterIP   <IP_ADDRESS>            8443/TCP   14m
service/awx-postgres-13                                   ClusterIP   None                   5432/TCP   11m
service/awx-service                                       ClusterIP   <IP_ADDRESS>           80/TCP     10m
NAME                                              READY   UP-TO-DATE   AVAILABLE   AGE
deployment.apps/awx-operator-controller-manager   1/1     1            1           14m
deployment.apps/awx                               0/1     1            0           10m
NAME                                                         DESIRED   CURRENT   READY   AGE
replicaset.apps/awx-operator-controller-manager-68d6f576b4   1         1         1       14m
replicaset.apps/awx-6d5dff6db7                               1         1         0       10m
NAME                               READY   AGE
statefulset.apps/awx-postgres-13   1/1     11m

@bobby0724
Please do not omit issue template... That template helps me to understand your situation corectly.
Anyway the error Init:CrashLoopBackOff means that your init container exxtited with error.
You can gather logs from init containers (init and init-projects) by;
$ kubectl -n awx logs deployment/awx -c init
$ kubectl -n awx logs deployment/awx -c init-projects

thanks i found the issue, the vm is missing some cpu instructions, i need to create it with passthru


Module Load or Unload Event

I have a module that uses other modules to ship "providers" like the PSProvider system. Is there an event that can be subscribed to when a module loads and unloads? If there isn't is there a good way to do that? Right now, I have the cmdlets update a cache every time a cmdlet or completer is called.

There is PSModuleInfo.OnRemove .
The trick with that is allows only for a single handler. So if setting it to your handler, it is a good idea to check if it is already set by something else, save that original handler and call it in the end of your handler.


User Story 1.1 - Positions page

As an individual user non-member, when I apply for the Org by clicking "Join Us". I will be navigated to the "Position Page",
Description for "Position Page"  needs to be pulled from API.

LGTM


Cheminfo connector: add export functionality.

i'd maybe only change spectrum_type to data_type and I'll do the same change in cheminfopy to have the symmetry.

let me know when you've done it - I will pull the changes and adapt the interface.