Running tests with tag that uses router

I noticed your tests uses a Function.Prototype.bind polyfill, so since my tests were breaking without it, I also added it myself. For some reason it's still saying TypeError: 'undefined' is not a function (evaluating 'this.processRoute.bind(this)'). Did you have to do anything else special? Long shot I know, but any help would be appreciated.

Hi @syropian.
What browser are you using for test?


Extended PactFilter to allow variable filter criterias

Add a filter property to the PactFilter annotation to allow generic filtering, not only based on the provider state. The implementation is a non breaking change since the default behaviour is just like before but it not also allows to filter for the request path.
What do you think about this?

@rholshausen For some reason, I cannot add reviewers.
Can you please have a look at this?


ensure_no_debug_code causes ruby RuntimeError

Issue Description
I am using the ensure_no_debug_code action in my Fastfile. Everything works fine so far. But if the action finds something an ruby error occurs. But the overall build succeeds.
I am neither sure if this is expected behaviour nor how to deal with the output in case of a find. Best case would be if the build will be marked as unstable...
Complete output when running fastlane, including the stack trace and command used
09:39:55 [09:39:55]: ----------------------------------
09:39:55 [09:39:55]: --- Step: ensure_no_debug_code ---
09:39:55 [09:39:55]: ----------------------------------
09:39:55 [09:39:55]: grep -R '// TODO' '/Users/jenkins/.jenkins/jobs/my_project__snapshot/workspace/myProject/Application'
09:39:55 [09:39:55]: Variable Dump:
09:39:55 [09:39:55]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios metrics"}
09:39:55 [09:39:55]: Found debug code '// TODO':
09:39:55
09:39:55 /Users/jenkins/.jenkins/jobs/my_project__snapshot/workspace/myProject/Application/Controller/Bookmarks/BookmarksManager.m:		// TODO: delete this
09:39:55
09:39:55 +------+-------------------------------------+-------------+
09:39:55 |                     fastlane summary                     |
09:39:55 +------+-------------------------------------+-------------+
09:39:55 | Step | Action                              | Time (in s) |
09:39:55 +------+-------------------------------------+-------------+
09:39:55 | 1    | opt_out_usage                       | 0           |
09:39:55 | 2    | skip_docs                           | 0           |
09:39:55 | 3    | Verifying required fastlane version | 0           |
09:39:55 | 4    | default_platform                    | 0           |
09:39:55 | 5    | slather                             | 8           |
09:39:55 | 6    | cloc                                | 1           |
09:39:55 | 7    | ensure_no_debug_code                | 0           |
09:39:55 +------+-------------------------------------+-------------+
09:39:55
09:39:55 [09:39:55]: fastlane finished with errors
09:39:55 -------------------------------------------------------------------------------------------
09:39:55 😨  An error occured. Please enable crash reports using `fastlane enable_crash_reporting`.
09:39:55 👍  This makes resolving issues much easier and helps improve fastlane.
09:39:55 🔒  The reports will be stored securely on getsentry.com.
09:39:55 🙊  More information about privacy: https://github.com/fastlane/fastlane/releases/tag/1.33.3
09:39:55 -------------------------------------------------------------------------------------------
09:39:55 /Library/Ruby/Gems/2.0.0/gems/fastlane-1.66.0/lib/fastlane/actions/ensure_no_debug_code.rb:27:in `run': [!] Found debug code '// TODO':  (RuntimeError)
09:39:55
09:39:55 /Users/jenkins/.jenkins/jobs/my_project__snapshot/workspace/myProject/Application/Controller/Bookmarks/BookmarksManager.m:		// TODO: delete this
09:39:55 	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.66.0/lib/fastlane/runner.rb:143:in `block (2 levels) in execute_action'
09:39:55 	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.66.0/lib/fastlane/actions/actions_helper.rb:35:in `execute_action'
09:39:55 	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.66.0/lib/fastlane/runner.rb:129:in `block in execute_action'
09:39:55 	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.66.0/lib/fastlane/runner.rb:128:in `chdir'
09:39:55 	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.66.0/lib/fastlane/runner.rb:128:in `execute_action'
09:39:55 	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.66.0/lib/fastlane/fast_file.rb:149:in `method_missing'
09:39:55 	from Fastfile:58:in `block (2 levels) in parsing_binding'
09:39:55 	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.66.0/lib/fastlane/lane.rb:36:in `call'
09:39:55 	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.66.0/lib/fastlane/lane.rb:36:in `call'
09:39:55 	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.66.0/lib/fastlane/runner.rb:52:in `block in execute'
09:39:55 	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.66.0/lib/fastlane/runner.rb:46:in `chdir'
09:39:55 	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.66.0/lib/fastlane/runner.rb:46:in `execute'
09:39:55 	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.66.0/lib/fastlane/lane_manager.rb:46:in `cruise_lane'
09:39:55 	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.66.0/lib/fastlane/command_line_handler.rb:30:in `handle'
09:39:55 	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.66.0/bin/fastlane:38:in `block (2 levels) in run'
09:39:55 	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
09:39:55 	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
09:39:55 	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:153:in `run'
09:39:55 	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:428:in `run_active_command'
09:39:55 	from /Library/Ruby/Gems/2.0.0/gems/fastlane_core-0.37.0/lib/fastlane_core/ui/fastlane_runner.rb:23:in `run!'
09:39:55 	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/delegates.rb:15:in `run!'
09:39:55 	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.66.0/bin/fastlane:156:in `run'
09:39:55 	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.66.0/bin/fastlane:162:in `<top (required)>'
09:39:55 	from /usr/local/bin/fastlane:23:in `load'
09:39:55 	from /usr/local/bin/fastlane:23:in `<main>'

Configuration Files
Fastfile:
skip_docs
fastlane_version "1.66.0"

default_platform :ios

platform :ios do

  # ----------------------------------------------------------------------------
  # GENERAL
  # ----------------------------------------------------------------------------

  before_all do
    # pod update
    # increment_build_number
  end

  # ----------------------------------------------------------------------------
  # PREPARE
  # ----------------------------------------------------------------------------

  desc "Checks Xcode and cleans derived data"
  lane :prepare do
    clear_derived_data
    verify_xcode
  end

  # ----------------------------------------------------------------------------
  # TEST
  # ----------------------------------------------------------------------------

  desc "Runs all the tests"
  lane :test do
    clear_derived_data
    scan(
      scheme: 'MyScheme',
      configuration: 'Debug',
      code_coverage: true,
      clean: true)
  end

  desc "Runs code metrics"
  lane :metrics do
    slather(
        proj: "myProject.xcodeproj",
        scheme: "MyScheme",
        input_format: "profdata",
        ignore: "../**/*/Xcode*",
        cobertura_xml: true,
        output_directory: "fastlane/code_coverage"
    )

    cloc(source_directory: 'my/Application', output_directory: 'fastlane/line_count', )

    ensure_no_debug_code(
        text: "// TODO",
        path: "./my/Application"
    )

    ensure_no_debug_code(
        text: "NSLog",
        path: "./myClient/Application"
    )
  end

Environment
fastlane version (fastlane -v): 1.66.0
Do you use bundler, rbenv or rvm? No

That's because you have // TODO in your source code:
09:39:55 [09:39:55]: Found debug code '// TODO': /Users/jenkins/.jenkins/jobs/my_project__snapshot/workspace/myProject/Application/Controller/Bookmarks/BookmarksManager.m:     // TODO: delete this

Sure, I searched for the '// TODO'.
But why does this result in a runtime error?
09:39:55 [09:39:55]: fastlane finished with errors
09:39:55 /Library/Ruby/Gems/2.0.0/gems/fastlane-1.66.0/lib/fastlane/actions/ensure_no_debug_code.rb:27:in `run': [!] Found debug code '// TODO':  (RuntimeError)

@StephanPartzsch That just means fastlane has failed. Do you expect a different error class? I agree it's not beautiful to show the full stack trace. We're actually working on migrating the remaining fastlane actions to the new UI layer

@KrauseFx Ahh, ok. Thought this is an unexpected error in fastlane because I says sth about crash reports. Maybe it will be a bit more clear if a different error class is used... At the moment it is not too self-explaining.
Besides this, great work! Looking forward to updates and improvements :)


[WIP] Ortho camera

Motivation and Context
Early Draft WIP for ortho camera.  Much work yet to be done.

How Has This Been Tested

Types of changes

[ ] Docs change / refactoring / dependency upgrade
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have completed my CLA (see CONTRIBUTING)
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Example image

@bigbike Would appreciate your input on this

@mosra Seem to be getting weird magnum warnings from the orthomatrix. Not sure how to fix.

@mosra Seem to be getting weird magnum warnings from the orthomatrix. Not sure how to fix.

Not warnings, just weird behavior.

@mosra Seem to be getting weird magnum warnings from the orthomatrix.

Not warnings, just weird behavior.

@Skylion007 @jturner65 What kind of warnings? What weird behavior?

Besides the code duplication concern, I'm not sure about the scale parameter, and especially not about having it fixed upfront:

Because the orthographic projection has no perspective shortening, a zoom done via moving the camera closer / further away doesn't work there. A different approach that should work for both the perspective and orthographic case without having to branch on camera type would be to express both in terms of near plane size and implement zoom via scaling this size -- basically what you do now for the orthographic camera would be done for the perspective as well, for which this will result in a change of the FoV.
Then I would change the API to allow this "zoom" to be modified at runtime instead of being specified at the beginning -- I don't know exactly how the viewer behaves, but I suppose the user may want to zoom in/out for inspecting the scene. Forcing them to specify this scale via a command-line option isn't a good UX ;)

@mosra Seem to be getting weird magnum warnings from the orthomatrix.

Not warnings, just weird behavior.

@Skylion007 @jturner65 What kind of warnings? What weird behavior?

Just took me a little bit to realize I had to scale the Ortho view. :)

Besides the code duplication concern, I'm not sure about the scale parameter, and especially not about having it fixed upfront:
* Because the orthographic projection has no perspective shortening, a zoom done via moving the camera closer / further away doesn't work there. A different approach that should work for both the perspective and orthographic case without having to branch on camera type would be to express both in terms of [near plane size](https://doc.magnum.graphics/magnum/classMagnum_1_1Math_1_1Matrix4.html#aeed8f8ff2daedc28b7e3638e8e4ded47) and implement zoom via scaling this size -- basically what you do now for the orthographic camera would be done for the perspective as well, for which this will result in a change of the FoV.

* Then I would change the API to allow this "zoom" to be modified at runtime instead of being specified at the beginning (@bigbike something to think about in the sensor redesign as well?) -- I don't know exactly how the viewer behaves, but I suppose the user may want to zoom in/out for inspecting the scene. Forcing them to specify this scale via a command-line option isn't a good UX ;)

Thanks @mosra, this was the kind of thing I was shooting for eventually (allowing the mouseWheel to act as a zoom, for example, was working on that in Viewer on Friday).

Ok, most recent commit has the following substantive changes, among other things.  This is the proposed Final Commit, reviewer-willing :)

Removed orthographic and pinhole classes.  CameraSensor is sensor for camera, type of camera governs how class variable baseProjMatrix_  is synthesized, and changing type on existing camera will change projection.
Added ability to zoom/change FOV.  This modifies a class variable,  zoomMatrix_
Added class variable projectionMatrix_ = zoomMatrix_ * baseProjMatrix_;  this is updated whenever either change
Viewer now supports single tag "--orthographic" which has viewer start in orthographic camera mode.
Viewer now supports toggling between ortho and perspecitve camera, by pressing 'c'
Viewer now supports zooming, by spinning mouse wheel (using shift + wheel makes for finer grained zoom)

CameraSensor has very few methods exposed on the Python Bindings? Can we add some additional bindings so we can change the FOV and such without restarting.

I'm just going to roll these back, @Skylion007 - moving it limits unnecessary overhead with atomic incrementers/decrementers.

This most recent commit adds python property bindings for the various frustum metrics (width, height, near plane dist, far plane dist) as properties, and recalculates appropriate projection matrix when any of these values, along with CameraType and fov, are changed.  Note : if someone is using an orthographic camera, and they change FOV, it will have no effect on the current camera, but will store the change, in case they go back to a perspective camera at some point in the future.


Break, Return, Continue, Reply for breaking flow chart nodes -  while, ifelse

 Issue by maheeka
Friday Dec 15, 2017 at 05:55 GMT
Originally opened as https://github.com/ballerina-lang/composer/issues/4849

Description:
Flowchart nodes if-else and while should properly show the flow changes denoted by break, return, continue, reply keywords
E.g. :
while(i < 5) {
    if (i == 4) {
           break;
    }
}

Issue is no longer valid for Swan Lake release. Hence, closing it.

Issue is no longer valid for Swan Lake release. Hence, closing it.


Selection sort using recursion in python

Category: Sorting using python
Contributor: Tejaswi Kumar

@srinidh-007 please see to my PR and if no issues are there then please merge it.


Accesssimulator link doesn't go anywhere

resolution_fixed   |    by<EMAIL_ADDRESS>
Has the ACCESS homepage gone somewhere? Is there something better that we can point to?

Issue migrated from trac:15 at 2024-01-31 17:08:46 +1100

<EMAIL_ADDRESS>commented

Instead point to cawcr.gov.au

<EMAIL_ADDRESS>commented

Make sure there isn't too many ssssses or just link to cawcr

<EMAIL_ADDRESS>changed owner from `` to saw562

<EMAIL_ADDRESS>changed status from new to assigned

<EMAIL_ADDRESS>commented

Remove it

Scott Wales<EMAIL_ADDRESS>changed status from assigned to closed

<EMAIL_ADDRESS>commented

Milestone Future deleted

Scott Wales<EMAIL_ADDRESS>commented

In [changeset:"dc83f3391d3a5e672262ea7ecc5f1fe7cc6a0b4b/puppet"]:
#CommitTicketReference repository="puppet" revision="dc83f3391d3a5e672262ea7ecc5f1fe7cc6a0b4b"
Remove accessimulator link

Fixes #15

<EMAIL_ADDRESS>removed milestone (was Future)

Scott Wales<EMAIL_ADDRESS>changed resolution from `` to fixed


add OWA urls

#5466

@nenonix @JohanFreelancer9 - kindly do the copy editor review for this PR. Thanks.

@DulceMontemayor - PR has been copy edited and is ready for final review. This is based on issue #5466.
Thank you.
cc: @kenwith

#sign-off


Code improvements

Improve gocyclo & misspell reported in https://goreportcard.com/report/github.com/devopsfaith/api2html

Pull Request Test Coverage Report for Build 89

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

Totals

Change from base Build 88:
0.0%

Covered Lines:
724

Relevant Lines:
831

💛  - Coveralls

@NarcisDavins thx!!!


PHP 7.3 support and default parameter resolution

Introduces backward-compatible support for PHP 7.3 with the same functionality.
In some circumstances when Laravel is initialized standalone, the lack of a default value for the 'default' parameter prevents the dependency solver from starting the package throwing error "Unresolvable dependency resolving [Parameter #0 [  string $default ]] in class Whitecube\LaravelTimezones\Timezone"

Hi @f-liva, thanks for this PR. However, we do not wish to maintain a legacy version of this package as it was first released for Laravel 10 (and compatible with Laravel 9), which already had a minimum requirement for PHP 8. I understand you need it to be backwards compatible, so I'd suggest using your own fork in your project.
Hope you understand! Thanks again :)

All right. I still suggest making the change to solve the problem of undefined default value

If you want to be listed in the package's contributors, feel free to open a new PR just for that. Otherwise I'll make the change myself soon. Thanks!

Done


VBA-Web Stripping ending slash "/" and not following redirects

A very simple client:
    Set Client = New WebClient
    Client.BaseUrl = C_URL
    Client.FollowRedirects = True

    Set Request = New WebRequest
    Set Response = Client.Execute(Request)

Response.StatusCode will return 302.
The problem is that VBA-Web is stripping the last character -> /
and the server rejects the request redirecting it to the correct url with an / in the end.
This was checked with WebHelpers.EnableLogging = True.
The  Client.FollowRedirects did not comply, but this could be an failsafe to avoid an infinite loop request the same url over and over (supposing it would [re]strip the / from the Location header).
One important note is that a workaround for this bug was to add Request.Resource = " ".
If added Request.Resource = "/" the problem would continue.

Did you try the url I posted??
Just note that the server redirects to the correct url, even with Client.FollowRedirects = True it wont redirect (maybe this is a curl-only config?).
--> Request - 11:11:45
GET https://www.b3.com.br/en_us/market-data-and-indices/data-services/market-data/reports/equities/options/authorized-series
User-Agent: VBA-Web v4.1.6 (https://github.com/VBA-tools/VBA-Web)
Accept: */*
Accept-Encoding: identity

<-- Response - 11:11:46
302 Found
Cache-Control: max-age=2592000
Connection: Keep-Alive
Date: Sat, 30 Oct 2021 14:11:46 GMT
Keep-Alive: timeout=100, max=500
Content-Length: 0
Content-Language: en-US
Expires: Mon, 29 Nov 2021 14:11:46 GMT
Location: http://www.b3.com.br/en_us/market-data-and-indices/data-services/market-data/reports/equities/options/authorized-series/
Set-Cookie: lumClientId=8AE490C97CBFE996017CD18ACC696D55; Expires=Fri, 30-Oct-2071 14:11:46 GMT; Path=/
Set-Cookie: JSESSIONID=74B082B598840AB36527EB3E53C0D7FF.lumcor00202p; Path=/; HttpOnly
Set-Cookie: lumUserSessionId=M0VkErlP0aYXBb-SQvnMo4T8IElxru5I; Path=/; HttpOnly
Set-Cookie: lumUserName=Guest; Path=/
Set-Cookie: lumIsLoggedUser=false; Path=/
Set-Cookie: lumUserLocale=pt_BR; Path=/
Set-Cookie: lumUserLocale=en_US; Path=/
Set-Cookie: dtCookie=v_4_srv_27_sn_6E18FAA34C667B8ABC3374E807F9EC20_perc_100000_ol_0_mul_1_app-3Afd69ce40c52bd20e_0_rcs-3Acss_0; Path=/; Domain=.b3.com.br
Set-Cookie: BIGipServerpool_www.b3.com.br=1192518666.20480.0000; path=/; Httponly
Set-Cookie: TS0171d45d=011d592ce1bcdf3f8566a07a03459e47718f4dfdd0bf60943a759e4202bae2abf1dfc16c88b6083ca2e7ba248cb56698ebcc7a041f; Path=/; Domain=.b3.com.br; HTTPOnly
Vary: User-Agent
X-OneAgent-JS-Injection: true
X-XSS-Protection: 1; mode=block
X-Frame-Options: ALLOW-FROM http://bvmf.bmfbovespa.com.br, http://www2.bmfbovespa.com.br, http://www.bmf.com.br, http://www2.bmf.com.br, https://www2.cetip.com.br, http://estatisticas.cetip.com.br, https://sistemasweb.b3.com.br/
X-Content-Type-Options: nosniff
Server-Timing: dtSInfo;desc="0", dtRpid;desc="161401642"
Cookie: lumClientId=8AE490C97CBFE996017CD18ACC696D55
Cookie: JSESSIONID=74B082B598840AB36527EB3E53C0D7FF.lumcor00202p
Cookie: lumUserSessionId=M0VkErlP0aYXBb-SQvnMo4T8IElxru5I
Cookie: lumUserName=Guest
Cookie: lumIsLoggedUser=false
Cookie: lumUserLocale=pt_BR
Cookie: lumUserLocale=en_US
Cookie: dtCookie=v_4_srv_27_sn_6E18FAA34C667B8ABC3374E807F9EC20_perc_100000_ol_0_mul_1_app-3Afd69ce40c52bd20e_0_rcs-3Acss_0
Cookie: BIGipServerpool_www.b3.com.br=1192518666.20480.0000
Cookie: TS0171d45d=011d592ce1bcdf3f8566a07a03459e47718f4dfdd0bf60943a759e4202bae2abf1dfc16c88b6083ca2e7ba248cb56698ebcc7a041f

I didn't try your URL, but I looked at GetFullUrl(request) and it doesn't strip any slashes (at least not on Windows). I couldn't see anywhere in the code where slashes are removed but maybe it's a side-effect of the fact that you're doing some kind HTML scraping instead of a JSON request?

I didn't try your URL, but I looked at GetFullUrl(request) and it doesn't strip any slashes (at least not on Windows). I couldn't see anywhere in the code where slashes are removed but maybe it's a side-effect of the fact that you're doing some kind HTML scraping instead of a JSON request?

Possible.
But how that is different in the GET phase? (Why works in one URL and not the other?)
And why is it not following Redirects?

I think you'll just have to set breakpoints and look. I don't think the maintainer is very active these days. AFAIK, this project was meant for RESTful APIs and not web scraping so you may be better served with an alternate project? Maybe someone else can jump in with some more actionable advice, but I think breakpoints will answer 97.5% of your questions. :)

This is an old post, but I came across a similar problem where when joining the base url with the resources when the resources were just a query string a slash was being added.  Instead of https://abc.com?something=1 it would create https://abc.com/?something=1 which would result in a redirect that would not get followed resulting in an error.  I looked at the code and found that the WebHelpers.JoinUrl is where it removes the trailing slash and the beginning slash from the left side and right side and then joins them together with a slash if both sides are non-blank.  I added a test in there to leave out the slash if the right side started with a question mark indicating that it was only a query string and not a resource path.

Thank you for your comment. I had the same problem, my api called worked but I was annoyed to be redirected everytime.

FWIW, if you type in https://yahoo.com?foo=1 in the Edge browser (112.0.1722.48), you'll see it flip to https://yahoo.com/?foo=1 as well. Dunno if there is some RFC at play, but it seems the days of https://yahoo.com?foo=1 are behind us.

UnscribeMobile emailOn 24 Apr 2023, at 20:14, Zoltan Grose @.***> wrote:
FWIW, if you type in https://yahoo.com?foo=1 in the Edge browser (112.0.1722.48), you'll see it flip to https://yahoo.com/?foo=1 as well. Dunno if there is some RFC at play, but it seems the days of https://yahoo.com?foo=1 are behind us.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>


Better describe Whitehall compatability

Remove the uncertianty, I've heard from people that say most tests
pass, but some fail consistently, and this will be down to an issue
with the environment provided by govuk-docker (given I know they all
pass on the ci-agents, and for me locally when not using
govuk-docker).

To back up my claim that this is an issue with the Dockerfile, I've tried running the tests myself.
With the one change here [1], given the state of the universe as it was when I evaluated the Dockerfile to build the image, I was able to run the Rails, Cucumber and Teaspoon tests and there are no tests that consistently fail.
1: https://github.com/alphagov/govuk-docker/pull/369

Do we know what the tests are that consistently fail?
The other day when I ran the full suite of unit tests (rake parallel:test) the ones I had fail were related to https://github.com/alphagov/whitehall/commit/ec98c5045eee19e17ac1e7edb82dc86cb8eeb15c where I need to run an assets:precompile first, once done all passed. I didn't run js or cucumber tests though.

Do we know what the tests are that consistently fail?
The other day when I ran the full suite of unit tests (rake parallel:test) the ones I had fail were related to alphagov/whitehall@ec98c50 where I need to run an assets:precompile first, once done all passed. I didn't run js or cucumber tests though.

I think I've had the exact same experience as you: https://github.com/alphagov/govuk-docker/pull/369#issuecomment-647996517
I don't know why I haven't experienced this when not using govuk-docker, I don't particularly remember running in to this problem. I can see now that for the Jenkins jobs, the assets are precompiled before running the tests.
This does suggest I was wrong about it being something to do with the image being used, although it's perfectly possible that people in the past weeks and months were generating different images that did have problems. I got the felling thought that no one was having success running the Whitehall tests with govuk-docker, but maybe that is just an issue with assets?

I'm going to close this for now. We can always reopen if we discover a specific compatibility issue to document.


GeoStyler Demo and StyleGuide don't work in older browsers, e.g. IE11

#641 is merged now, can we close this issue?

@marcjansen I think #641 only fixes the browser build. Not the Demo or StyleGuide.
IMHO we shouldn't put to much effort in making the API and Demo work in outdated Browsers.

I agree. How much work would it be? If we are talking about polyfills, then this cannot be much, right?

@ahennr do you think we can close this issue?

GeoStyler Demo still isn't working in IE11 currently. I would try to solve this e.g. via polyfills (timeboxed, f.e. 1h). If it is not easy to solve, we could still decide not to support outdated browsers. What do you think @KaiVolland @marcjansen

Mir persönlich ist egal, ob der GeoStyler im IE 11 läuft oder nicht. Schaden tut es aber mit Sicherheit nicht. Also von mir aus gern.

GeoStyler does not officially support IE as discussed in the july monthly: https://github.com/geostyler/geostyler/discussions/1464


Update 01-upgrading-to-v1.8.md

Minor grammatical change
What are you changing in this pull request and why?
There appears to be a typo in a sentence.
Checklist

[x] Review the Content style guide so my content adheres to these guidelines.
[x] For docs versioning, review how to version a whole page and version a block of content.
[x] Add a checklist item for anything that needs to happen before this PR is merged, such as "needs technical review" or "change base branch."

great catch @gilcrest ! thanks for opening this pr up to fix this up - merging this for you and looking forward to future contributions ✨

Thanks @mirnawong1 - docs are amazing - appreciate it!


Searching for references of a variable finds its conversion operators instead

Minimal repro:
struct X {
  operator bool();
};

int test() {
  X a;
  X b;
  if (a || b) {}
}

Search for references on if (^a || b).
Expected: all references of a are found (X [[a]] and if ([[a]] || b)).
Actual: references of a and X::operator bool() are found.
Real-world repro:
Open ClangdMain.cpp and search for references of Test inside an if statement, e.g. here.
Expected: references of Test are found
Actual: additionally, references of conversion operator are found, resulting in too many references being returned.

Fixed in upstream rL369514.


Translate to PT-PT

Hello
You have PT-BR  translations. Would you like one PR with PT-PT  ?

Hi @daleixo-gocontact , sure, why not.


How do I show multiple recaptchas on a single page? Multiple forms in same view.

why do you need show multiples recaptchas on a single page?..if you really need validate only 1 request. I don't understand.

Page have two forms. Each form is in another bootstrap tab, and each form go to a different page.

i have the same problem, any clue how to handle that? or how to contribute with a pull request

With play html+javascript code you can use explitic and put the recaptcha to different divs:
http://mycodde.blogspot.it/2014/12/multiple-recaptcha-demo-same-page.html
I think you can add two field options for explicit and target div. ATM I don't have much time to work on it. I home someone will implement this.

I would use invisible recaptcha.  Then on your button use a tag like " formname='yourformname' " to specify which form is to be submitted and hide a submit form input.
The advantage of this is it allows for you to keep the html5 form validation intact, one recaptcha, but multiple button interfaces.  Just capture the "captcha" input value for the token key generated by recaptcha.

I find this FAR simpler and easier to manage.


Issue when converting to ONNX

I am getting an error when trying to convert my custom model_best.ckpt to ONNX. Do you have an suggestions to resolve this issue?

Traceback (most recent call last):
File "/home/drone_vision/Repos/AutoDrone_ObjectTracking/nanodet/./tools/export_onnx.py", line 104, in
main(cfg, model_path, out_path, input_shape)
File "/home/drone_vision/Repos/AutoDrone_ObjectTracking/nanodet/./tools/export_onnx.py", line 50, in main
torch.onnx.export(
File "/home/drone_vision/.conda/envs/SampleSolution/lib/python3.9/site-packages/torch/onnx/init.py", line 316, in export
return utils.export(model, args, f, export_params, verbose, training,
File "/home/drone_vision/.conda/envs/SampleSolution/lib/python3.9/site-packages/torch/onnx/utils.py", line 107, in export
_export(model, args, f, export_params, verbose, training, input_names, output_names,
File "/home/drone_vision/.conda/envs/SampleSolution/lib/python3.9/site-packages/torch/onnx/utils.py", line 724, in _export
_model_to_graph(model, args, verbose, input_names,
File "/home/drone_vision/.conda/envs/SampleSolution/lib/python3.9/site-packages/torch/onnx/utils.py", line 493, in _model_to_graph
graph, params, torch_out, module = _create_jit_graph(model, args)
File "/home/drone_vision/.conda/envs/SampleSolution/lib/python3.9/site-packages/torch/onnx/utils.py", line 437, in _create_jit_graph
graph, torch_out = _trace_and_get_graph_from_model(model, args)
File "/home/drone_vision/.conda/envs/SampleSolution/lib/python3.9/site-packages/torch/onnx/utils.py", line 388, in _trace_and_get_graph_from_model
torch.jit._get_trace_graph(model, args, strict=False, _force_outplace=False, _return_inputs_states=True)
File "/home/drone_vision/.conda/envs/SampleSolution/lib/python3.9/site-packages/torch/jit/_trace.py", line 1166, in _get_trace_graph
outs = ONNXTracedModule(f, strict, _force_outplace, return_inputs, _return_inputs_states)(*args, **kwargs)
File "/home/drone_vision/.conda/envs/SampleSolution/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1102, in _call_impl
return forward_call(*input, **kwargs)
File "/home/drone_vision/.conda/envs/SampleSolution/lib/python3.9/site-packages/torch/jit/_trace.py", line 127, in forward
graph, out = torch._C._create_graph_by_tracing(
File "/home/drone_vision/.conda/envs/SampleSolution/lib/python3.9/site-packages/torch/jit/_trace.py", line 118, in wrapper
outs.append(self.inner(*trace_inputs))
File "/home/drone_vision/.conda/envs/SampleSolution/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1102, in _call_impl
return forward_call(*input, **kwargs)
File "/home/drone_vision/.conda/envs/SampleSolution/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1090, in _slow_forward
result = self.forward(*input, **kwargs)
File "/home/drone_vision/Repos/AutoDrone_ObjectTracking/nanodet/nanodet/model/arch/one_stage_detector.py", line 43, in forward
x = self.fpn(x)
File "/home/drone_vision/.conda/envs/SampleSolution/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1102, in _call_impl
return forward_call(*input, **kwargs)
File "/home/drone_vision/.conda/envs/SampleSolution/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1090, in _slow_forward
result = self.forward(*input, **kwargs)
File "/home/drone_vision/Repos/AutoDrone_ObjectTracking/nanodet/nanodet/model/fpn/ghost_pan.py", line 223, in forward
torch.cat([upsample_feat, feat_low], 1)
RuntimeError: Sizes of tensors must match except in dimension 1. Expected size 24 but got size 23 for tensor number 1 in the list

I have discovered that this issue is caused by my training input resolution, which was 640x360. Is it possible to use a custom resolution and convert to ONNX?

hello，I have the same problem as you. Have you solved it now?

Image size must be a multiple of 32. 512x288 will convert.

Worked. Saved the day. Thanks man.


set user object id after created

this fix a bug in create_local_user, which breaks github login.
the commit is line 271, the rest is whitespace stripping.

Merging. Thanks @timfeirg for catching that.

credit goes to @CMGS


FR: Blob.compare is inefficient

Blob.mo:
 public func compare(blob1 : Blob, blob2 : Blob) : { #less; #equal; #greater } {
    if (blob1 < blob2) {
      #less
    } else if (blob1 == blob2) {
      #equal
    } else {
      #greater
    }
 }

We could use a primitive implementation to avoid doing 2 traversals.
Same applies to Principal.compare.

Seems related, probably duplicate of https://github.com/dfinity/motoko/issues/3826

Dupe of #3826.


what is bg3 on line  61 of the openpose_main.py ？

What is bg3 on line  61 of the openpose_main.py？Isn't there only fall-**-cam0-rgb data in the img folder? When I run the openpose_main.py it just produce an empty folder called output. Hope to get the answer ,thanks.

Sorry for missing this message and omitting some information in the README file. "bg3" should be a folder where you can select images from this dataset and place them inside. This folder is specifically used for obtaining the average background of the target scene, as indicated in Line 299 of openpose_main.py.

I have updated the README file and related parts in the code. Hope this will be helpful :)


⚠ SceneTime has degraded performance

In 2ea47d3, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 19553 ms

Resolved: SceneTime performance has improved in fd33aa8 after 6 minutes.


update moments.py for a normalize bug

This small change is done to solve the potential problem where pandas does not upcast square of sum of columns from float32 to float64. This causes inf value for the var variable,  which then results in an error when we merge the original gdf and new_gdf.
It also addresses the issue https://github.com/NVIDIA/NVTabular/issues/432.

rerun tests


v1.8: CI: K8sDatapathConfig Etcd Check connectivity: stateless-etcd in CrashLoopBackoff: listen tcp <IP_ADDRESS>:2379: bind: address already in use

Suite-k8s-1.14.K8sDatapathConfig Etcd Check connectivity
https://jenkins.cilium.io/job/Cilium-PR-K8s-1.14-kernel-4.9/190/testReport/junit/Suite-k8s-1/14/K8sDatapathConfig_Etcd_Check_connectivity/
f24de9a4_K8sDatapathConfig_Etcd_Check_connectivity.zip
Key problem:
	 kube-system         stateless-etcd-5b7f955c7c-f6nhv         0/1     CrashLoopBackOff   5          4m4s   <IP_ADDRESS>   k8s1   <none>           <none>

Etcd logs:
2021-04-15T21:50:46.734166943Z 2021-04-15 21:50:46.734094 C | etcdmain: listen tcp <IP_ADDRESS>:2379: bind: address already in use

Unclear why 2379 is already in use on the node.
Stacktrace
/home/jenkins/workspace/Cilium-PR-K8s-1.14-kernel-4.9/src/github.com/cilium/cilium/test/ginkgo-ext/scopes.go:514
Timed out after 240.000s.
Timeout while waiting for Cilium to become ready
Expected
    <*errors.errorString | 0xc0006108b0>: {
        s: "only 1 of 2 desired pods are ready",
    }
to be nil
/home/jenkins/workspace/Cilium-PR-K8s-1.14-kernel-4.9/src/github.com/cilium/cilium/test/k8sT/assertionHelpers.go:121

Standard Output
Number of "context deadline exceeded" in logs: 4
⚠  Number of "level=error" in logs: 10
⚠  Number of "level=warning" in logs: 68
Number of "Cilium API handler panicked" in logs: 0
Number of "Goroutine took lock for more than" in logs: 0
Top 5 errors/warnings:
Mutation detector is enabled, this will result in memory leakage.
Unable to enqueue endpoint policy visibility event
Unable to initialize local node. Retrying...
BPF masquerade requires NodePort (--enable-node-port=\
BPF NodePort services needs kernel 4.17.0 or newer. Disabling BPF NodePort.

Timeout while waiting for Cilium to become ready
Expected
    <*errors.errorString | 0xc0006108b0>: {
        s: "only 1 of 2 desired pods are ready",
    }
to be nil
=== Test Finished at 2021-04-15T21:51:43Z====
21:51:43 STEP: Running JustAfterEach block for EntireTestsuite K8sDatapathConfig
===================== TEST FAILED =====================
21:51:43 STEP: Running AfterFailed block for EntireTestsuite K8sDatapathConfig
cmd: kubectl get pods -o wide --all-namespaces
Exitcode: 0
Stdout:
 	 NAMESPACE           NAME                                    READY   STATUS             RESTARTS   AGE    IP              NODE   NOMINATED NODE   READINESS GATES
	 cilium-monitoring   grafana-b959498b4-vm2jk                 0/1     Running            0          70m    <IP_ADDRESS>       k8s2   <none>           <none>
	 cilium-monitoring   prometheus-69fd5878c7-z4k5j             1/1     Running            0          70m    <IP_ADDRESS>       k8s2   <none>           <none>
	 istio-system        istio-ingressgateway-655bfb557d-xppjm   1/1     Running            0          18m    <IP_ADDRESS>     k8s1   <none>           <none>
	 istio-system        istiod-74fc6d985f-q7zvj                 1/1     Running            0          18m    <IP_ADDRESS>     k8s2   <none>           <none>
	 istio-system        prometheus-94778457-7j22w               2/2     Running            0          18m    <IP_ADDRESS>     k8s2   <none>           <none>
	 kube-system         cilium-hs5j9                            0/1     Running            1          4m3s   <IP_ADDRESS>   k8s1   <none>           <none>
	 kube-system         cilium-operator-75f466b45d-lx68q        1/1     Running            1          4m3s   <IP_ADDRESS>   k8s1   <none>           <none>
	 kube-system         cilium-operator-75f466b45d-w72xt        1/1     Running            2          4m3s   <IP_ADDRESS>   k8s2   <none>           <none>
	 kube-system         cilium-zrzft                            1/1     Running            1          4m3s   <IP_ADDRESS>   k8s2   <none>           <none>
	 kube-system         coredns-cc45bff6b-wxksh                 1/1     Running            0          20m    <IP_ADDRESS>     k8s2   <none>           <none>
	 kube-system         etcd-k8s1                               1/1     Running            0          72m    <IP_ADDRESS>   k8s1   <none>           <none>
	 kube-system         kube-apiserver-k8s1                     1/1     Running            0          72m    <IP_ADDRESS>   k8s1   <none>           <none>
	 kube-system         kube-controller-manager-k8s1            1/1     Running            0          72m    <IP_ADDRESS>   k8s1   <none>           <none>
	 kube-system         kube-proxy-6bmmg                        1/1     Running            0          71m    <IP_ADDRESS>   k8s2   <none>           <none>
	 kube-system         kube-proxy-wppdz                        1/1     Running            0          73m    <IP_ADDRESS>   k8s1   <none>           <none>
	 kube-system         kube-scheduler-k8s1                     1/1     Running            0          72m    <IP_ADDRESS>   k8s1   <none>           <none>
	 kube-system         log-gatherer-7k45m                      1/1     Running            0          70m    <IP_ADDRESS>   k8s1   <none>           <none>
	 kube-system         log-gatherer-ccp65                      1/1     Running            0          70m    <IP_ADDRESS>   k8s2   <none>           <none>
	 kube-system         registry-adder-2rccs                    1/1     Running            0          71m    <IP_ADDRESS>   k8s2   <none>           <none>
	 kube-system         registry-adder-kb4m7                    1/1     Running            0          71m    <IP_ADDRESS>   k8s1   <none>           <none>
	 kube-system         stateless-etcd-5b7f955c7c-f6nhv         0/1     CrashLoopBackOff   5          4m4s   <IP_ADDRESS>   k8s1   <none>           <none>

Stderr:

Fetching command output from pods [cilium-hs5j9 cilium-zrzft]
cmd: kubectl exec -n kube-system cilium-hs5j9 -- cilium status
Exitcode: 1
Err: exit status 1
Stdout:
 	 KVStore:                Failure   Err: not able to connect to any etcd endpoints
	 Kubernetes:             Ok        1.14 (v1.14.10) [linux/amd64]
	 Kubernetes APIs:        ["CustomResourceDefinition", "cilium/v2::CiliumClusterwideNetworkPolicy", "cilium/v2::CiliumEndpoint", "cilium/v2::CiliumNetworkPolicy", "cilium/v2::CiliumNode", "core/v1::Endpoint", "core/v1::Namespace", "core/v1::Node", "core/v1::Pods", "core/v1::Service", "networking.k8s.io/v1::NetworkPolicy"]
	 KubeProxyReplacement:   Probe     []   []
	 Cilium:                 Failure   Kvstore service is not ready
	 NodeMonitor:            Listening for events on 3 CPUs with 64x4096 of shared memory
	 Cilium health daemon:   Ok
	 IPAM:                   IPv4: 3/255 allocated from <IP_ADDRESS>/24, IPv6: 3/255 allocated from fd00::/120
	 Masquerading:           IPTables
	 Controller Status:      25/25 healthy
	 Proxy Status:           OK, ip <IP_ADDRESS>, 0 redirects active on ports 10000-20000
	 Hubble:                 Ok   Current/Max Flows: 45/4096 (1.10%), Flows/s: 1.29   Metrics: Disabled

Stderr:
 	 Defaulted container "cilium-agent" out of: cilium-agent, clean-cilium-state (init)
	 command terminated with exit code 1

cmd: kubectl exec -n kube-system cilium-hs5j9 -- cilium endpoint list
Exitcode: 0
Stdout:
 	 ENDPOINT   POLICY (ingress)   POLICY (egress)   IDENTITY   LABELS (source:key[=value])                                                    IPv6       IPv4          STATUS
	            ENFORCEMENT        ENFORCEMENT
	 331        Disabled           Disabled          33035      k8s:app=istio-ingressgateway                                                   fd00::26   <IP_ADDRESS>   restoring
	                                                            k8s:chart=gateways
	                                                            k8s:heritage=Tiller
	                                                            k8s:io.cilium.k8s.namespace.labels.istio-injection=disabled
	                                                            k8s:io.cilium.k8s.namespace.labels.istio-operator-managed=Reconcile
	                                                            k8s:io.cilium.k8s.namespace.labels.operator.istio.io/component=Base
	                                                            k8s:io.cilium.k8s.namespace.labels.operator.istio.io/managed=Reconcile
	                                                            k8s:io.cilium.k8s.namespace.labels.operator.istio.io/version=1.5.0
	                                                            k8s:io.cilium.k8s.policy.cluster=default
	                                                            k8s:io.cilium.k8s.policy.serviceaccount=istio-ingressgateway-service-account
	                                                            k8s:io.kubernetes.pod.namespace=istio-system
	                                                            k8s:istio=ingressgateway
	                                                            k8s:release=istio
	                                                            k8s:service.istio.io/canonical-name=istio-ingressgateway
	                                                            k8s:service.istio.io/canonical-revision=1.5
	 467        Disabled           Disabled          4          reserved:health                                                                fd00::f8   <IP_ADDRESS>    ready
	 4054       Disabled           Disabled          1          k8s:cilium.io/ci-node=k8s1                                                                              ready
	                                                            k8s:node-role.kubernetes.io/master
	                                                            reserved:host

Stderr:
 	 Defaulted container "cilium-agent" out of: cilium-agent, clean-cilium-state (init)

cmd: kubectl exec -n kube-system cilium-zrzft -- cilium status
Exitcode: 1
Err: exit status 1
Stdout:
 	 KVStore:                Failure   Err: not able to connect to any etcd endpoints
	 Kubernetes:             Ok        1.14 (v1.14.10) [linux/amd64]
	 Kubernetes APIs:        ["CustomResourceDefinition", "cilium/v2::CiliumClusterwideNetworkPolicy", "cilium/v2::CiliumEndpoint", "cilium/v2::CiliumNetworkPolicy", "cilium/v2::CiliumNode", "core/v1::Endpoint", "core/v1::Namespace", "core/v1::Node", "core/v1::Pods", "core/v1::Service", "networking.k8s.io/v1::NetworkPolicy"]
	 KubeProxyReplacement:   Probe     []   []
	 Cilium:                 Failure   Kvstore service is not ready
	 NodeMonitor:            Listening for events on 3 CPUs with 64x4096 of shared memory
	 Cilium health daemon:   Ok
	 IPAM:                   IPv4: 5/255 allocated from <IP_ADDRESS>/24, IPv6: 5/255 allocated from fd00::100/120
	 Masquerading:           IPTables
	 Controller Status:      31/31 healthy
	 Proxy Status:           OK, ip <IP_ADDRESS>, 0 redirects active on ports 10000-20000
	 Hubble:                 Ok   Current/Max Flows: 68/4096 (1.66%), Flows/s: 1.95   Metrics: Disabled

Stderr:
 	 Defaulted container "cilium-agent" out of: cilium-agent, clean-cilium-state (init)
	 command terminated with exit code 1

cmd: kubectl exec -n kube-system cilium-zrzft -- cilium endpoint list
Exitcode: 0
Stdout:
 	 ENDPOINT   POLICY (ingress)   POLICY (egress)   IDENTITY   LABELS (source:key[=value])                                              IPv6        IPv4          STATUS
	            ENFORCEMENT        ENFORCEMENT
	 282        Disabled           Disabled          40591      k8s:io.cilium.k8s.policy.cluster=default                                 fd00::132   <IP_ADDRESS>   restoring
	                                                            k8s:io.cilium.k8s.policy.serviceaccount=coredns
	                                                            k8s:io.kubernetes.pod.namespace=kube-system
	                                                            k8s:k8s-app=kube-dns
	 407        Disabled           Disabled          40342      k8s:app=istiod                                                           fd00::1c9   <IP_ADDRESS>   restoring
	                                                            k8s:io.cilium.k8s.namespace.labels.istio-injection=disabled
	                                                            k8s:io.cilium.k8s.namespace.labels.istio-operator-managed=Reconcile
	                                                            k8s:io.cilium.k8s.namespace.labels.operator.istio.io/component=Base
	                                                            k8s:io.cilium.k8s.namespace.labels.operator.istio.io/managed=Reconcile
	                                                            k8s:io.cilium.k8s.namespace.labels.operator.istio.io/version=1.5.0
	                                                            k8s:io.cilium.k8s.policy.cluster=default
	                                                            k8s:io.cilium.k8s.policy.serviceaccount=istio-pilot-service-account
	                                                            k8s:io.kubernetes.pod.namespace=istio-system
	                                                            k8s:istio=pilot
	 578        Disabled           Disabled          9904       k8s:app=prometheus                                                       fd00::1af   <IP_ADDRESS>   restoring
	                                                            k8s:io.cilium.k8s.namespace.labels.istio-injection=disabled
	                                                            k8s:io.cilium.k8s.namespace.labels.istio-operator-managed=Reconcile
	                                                            k8s:io.cilium.k8s.namespace.labels.operator.istio.io/component=Base
	                                                            k8s:io.cilium.k8s.namespace.labels.operator.istio.io/managed=Reconcile
	                                                            k8s:io.cilium.k8s.namespace.labels.operator.istio.io/version=1.5.0
	                                                            k8s:io.cilium.k8s.policy.cluster=default
	                                                            k8s:io.cilium.k8s.policy.serviceaccount=prometheus
	                                                            k8s:io.kubernetes.pod.namespace=istio-system
	                                                            k8s:release=istio
	 2325       Disabled           Disabled          4          reserved:health                                                          fd00::189   <IP_ADDRESS>    ready
	 3527       Disabled           Disabled          1          k8s:cilium.io/ci-node=k8s2                                                                         ready
	                                                            reserved:host

Stderr:
 	 Defaulted container "cilium-agent" out of: cilium-agent, clean-cilium-state (init)

===================== Exiting AfterFailed =====================
21:53:22 STEP: Running AfterEach for block EntireTestsuite K8sDatapathConfig
21:53:22 STEP: Deleting deployment etcd-deployment.yaml
21:53:27 STEP: Running AfterEach for block EntireTestsuite

Most likely culprit is some leftover state from a previous test run.


While launching many VMs on lots of networks, I got this error

While launching many VMs on lots of networks, I got this error. Its weird because I only got it once out of hundreds of networks. A less used code path perhaps?
++ sf-client --simple network create <IP_ADDRESS>/24 cybertaipan-20
++ grep uuid:
++ cut -f 2 -d :
Traceback (most recent call last):
  File "/usr/local/bin/sf-client", line 8, in <module>
    sys.exit(cli())
  File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/click/decorators.py", line 21, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/shakenfist/client/main.py", line 373, in network_create
    netblock, dhcp, nat, name, namespace))
  File "/usr/local/lib/python3.6/dist-packages/shakenfist/client/apiclient.py", line 275, in allocate_network
    'namespace': namespace
  File "/usr/local/lib/python3.6/dist-packages/shakenfist/client/apiclient.py", line 140, in _request_url
    return self._actual_request_url(method, url, data=data)
  File "/usr/local/lib/python3.6/dist-packages/shakenfist/client/apiclient.py", line 119, in _actual_request_url
    'API request failed', method, url, r.status_code, r.text)
shakenfist.client.apiclient.APIException: ('API request failed', 'POST', 'http://localhost:13000/networks', 500, '{"error": "server error", "status": 500, "traceback": "Traceback (most recent call last):\\n  File \\"/usr/local/lib/python3.6/dist-packages/shakenfist/external_api/app.py\\", line 104, in wrapper\\n    return func(*args, **kwargs)\\n  File \\"/usr/local/lib/python3.6/dist-packages/flask_jwt_extended/view_decorators.py\\", line 108, in wrapper\\n    return fn(*args, **kwargs)\\n  File \\"/usr/local/lib/python3.6/dist-packages/shakenfist/external_api/app.py\\", line 1074, in post\\n    n.create()\\n  File \\"/usr/local/lib/python3.6/dist-packages/shakenfist/net.py\\", line 172, in create\\n    self.deploy_nat()\\n  File \\"/usr/local/lib/python3.6/dist-packages/shakenfist/net.py\\", line 198, in deploy_nat\\n    self.persist_floating_gateway()\\n  File \\"/usr/local/lib/python3.6/dist-packages/shakenfist/net.py\\", line 97, in persist_floating_gateway\\n    db.persist_floating_gateway(self.uuid, self.floating_gateway)\\n  File \\"/usr/local/lib/python3.6/dist-packages/shakenfist/db.py\\", line 165, in persist_floating_gateway\\n    etcd.put(\'network\', None, network_uuid, n)\\n  File \\"/usr/local/lib/python3.6/dist-packages/shakenfist/etcd.py\\", line 56, in put\\n    encoded = json.dumps(data, indent=4, sort_keys=True)\\n  File \\"/usr/lib/python3.6/json/__init__.py\\", line 238, in dumps\\n    **kw).encode(obj)\\n  File \\"/usr/lib/python3.6/json/encoder.py\\", line 201, in encode\\n    chunks = list(chunks)\\n  File \\"/usr/lib/python3.6/json/encoder.py\\", line 430, in _iterencode\\n    yield from _iterencode_dict(o, _current_indent_level)\\n  File \\"/usr/lib/python3.6/json/encoder.py\\", line 404, in _iterencode_dict\\n    yield from chunks\\n  File \\"/usr/lib/python3.6/json/encoder.py\\", line 437, in _iterencode\\n    o = _default(o)\\n  File \\"/usr/lib/python3.6/json/encoder.py\\", line 180, in default\\n    o.__class__.__name__)\\nTypeError: Object of type \'IPv4Address\' is not JSON serializable\\n"}')

The floating network had 124 addresses allocated, which probably means it ran through the "heavily used" code path in get_random_free_address():
    def get_random_free_address(self):
        if self.in_use_counter / self.num_addresses < 0.5:
            while True:
                addr = self.get_random_address()
                free = self.reserve_if_free(addr)
                if free:
                    return addr

        else:
            idx = 1
            while True:
                addr = self.get_address_at_index(idx)
                free = self.reserve_if_free(addr)
                if free:
                    return addr

                idx += 1

There's another bug here. If all addresses in the netblock are used, we end up in a hard loop I suspect.


wip: support import moneroTs from "monero-ts" syntax

Following @dutu's suggestion from https://github.com/monero-ecosystem/monero-ts/issues/146.
Using the import moneroTs from monero-ts' compiles but moneroTs is undefined, unless a default export is added, in which case there's an error "Cannot find namespace 'moneroTs'.ts(2503)" (see TestSampleCode.ts with this PR applied).


RedisConnectionException: SlaveConnectionPool no available Redis entries

RedisConnectionException: SlaveConnectionPool no available Redis entries. Master entry host: 192.168.xx.xx/192.168.xx.xx:6379 Disconnected hosts: [192.168.xx.xx/192.168.xx.xx:6379].
Redisson Version: 3.20.0
Redis Server: AWS ElastiCache Redis, 2 Shards(each have 1 master and 2 salves)
Redisson Configuration:

clusterServersConfig:
idleConnectionTimeout: 10000
connectTimeout: 1000
timeout: 1000
retryAttempts: 1
retryInterval: 100
failedSlaveReconnectionInterval: 3000
failedSlaveCheckInterval: 60000
subscriptionsPerConnection: 5
loadBalancer:
class: org.redisson.connection.balancer.RoundRobinLoadBalancer
subscriptionConnectionMinimumIdleSize: 1
subscriptionConnectionPoolSize: 50
slaveConnectionMinimumIdleSize: 24
slaveConnectionPoolSize: 64
masterConnectionMinimumIdleSize: 24
masterConnectionPoolSize: 64
readMode: SLAVE
subscriptionMode: SLAVE
keepAlive: true
nodeAddresses:
- "redis://xxxxx.amazonaws.com.cn:6379”
scanInterval: 2000
threads: 16
nettyThreads: 32
transportMode: NIO

In our production environment, the AWS ElastiCache Redis had a failover, and switched the slave node to master node in one minute.
As a rule, I think the redisson client can recognize the topological structure of server side after the failover, but it’s not. It seems many read requests send to the new master node and reported errors. The IP address in the error messages is the new master node.
So why this happend? Should I need to upgrade the redisson version? Do you have some advises? Thanks!  @mrniko

Should be fixed in https://github.com/redisson/redisson/issues/3980. Can you try 3.23.3 version or the latest one?

I'm looking forward to your feedback.

I tried failover manually or kill the master node in test environment, but didn’t repeat the same error. I'm not sure whether the AWS official maintaining is just simple operation of failover.
Anyway, I will try to upgrade the redission version in production environment. Hope it's useful.

I tried failover manually or kill the master node in test environment, but didn’t repeat the same error. I'm not sure whether the AWS official maintaining is just simple operation of failover.
Anyway, I will try to upgrade the redisson version in production environment. Hope it's useful.

@howely  Hi dear, i have the same issue, exactly same issue.  How to fix this bro. please confirm.  thanks already man. @mrniko

I tried failover manually or kill the master node in test environment, but didn’t repeat the same error. I'm not sure whether the AWS official maintaining is just simple operation of failover.
Anyway, I will try to upgrade the redisson version in production environment. Hope it's useful.

@howely Hi dear, i have the same issue, exactly same issue. How to fix this bro. please confirm. thanks already man. @mrniko

I tried failover manually or kill the master node in test environment, but didn’t repeat the same error. I'm not sure whether the AWS official maintaining is just simple operation of failover.
Anyway, I will try to upgrade the redisson version in production environment. Hope it's useful.

@howely Hi dear, i have the same issue, exactly same issue. How to fix this bro. please confirm. thanks already man. @mrniko

Hi @musicallyvk
After upgrading to newest version, it seems to be working.
Hope it can help you.


Add readable secondaries and sync secondary to commit to SQL MIAA create

Changes:

Added arguments 'readable secondaries' and 'sync secondary to commit' to SQL MIAA create in notebook 'az sql mi-arc create' command
Fixed a bug in Dynamic Enablement where use of Dynamic Options would re-set the enabled state
Added dynamically changing radio fields for SQL MIAA create for 'readable secondaries' and 'sync secondary to commit'
Added dynamically updating field for readable secondaries to the SQL MIAA cost summary section
Added an editable field for "synchronized secondaries" to the SQL MIAA dashboard edit page

In the future:

Will change those fields from radio to dropdown
Will change the dynamic values for the replicas to be generated by a valueprovider function rather than hard-coded

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 19 (0.0%)  changed or added relevant lines in 3 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.01%) to 42.103%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

extensions/resource-deployment/src/ui/radioGroupLoadingComponentBuilder.ts
0
2
0.0%

extensions/arc/src/common/pricingUtils.ts
0
5
0.0%

extensions/arc/src/ui/dashboards/miaa/miaaComputeAndStoragePage.ts
0
12
0.0%

Files with Coverage Reduction
New Missed Lines
%

extensions/sql-bindings/src/common/azureFunctionsUtils.ts
1
70.32%

Totals

Change from base Build<PHONE_NUMBER>:
-0.01%

Covered Lines:
28148

Relevant Lines:
62376

💛  - Coveralls


License check script looks at files it shouldn't

If there are generated (e.g. .pyc) or otherwise stray files in the checkout, these are read by the license check script and entries are made for them in the output.
The license check script should rather use 'git ls-files' to collect the files it needs to look at, pulling the list of  the git repos it needs to look at out of the DEPS file, and using a whitelist of things that don't come from git repos to walk over on its own.

/cc @Hixie @jason-simmons

Dupe of https://github.com/flutter/flutter/issues/8115


Autofocus when component mounted or after refresh page

how to add aotufocus to component vue-bootstrap-typeahead when the component in mounted or after refresh the page. Thanks

I have same problem

This repo isn't maintained any longer, but I'm actively maintaining a fork here: https://github.com/mattzollinhofer/vue-typeahead-bootstrap
My initial reaction is to say that this component won't attempt to "grab" focus after it's mounted or the page is loaded. You could set the page's focus to this typeahead your component (where you use this typeahead) has mounted though. Hope that helps!


React UI: Fix tests harder

Again not sure why this passed last time (?), but now I was getting an
error about 'NaN' not being a valid value to assign to the 'height'
property of the input element. This changes it so that only the blur()
function is actually mocked out on the active input element.
Signed-off-by: Julius Volz<EMAIL_ADDRESS>

@boyskila

Seems like this only affected my tests locally actually, since the tests over in https://github.com/prometheus/prometheus/pull/6313 are already passing without this, hmmmmm. Still good to fix it I guess.

Oh, this is not an real issue but is a wrong test setup instead. Good catch. Looks like doing this
instance.exprInputRef.current = { blur: spyBlur } I'm overriding the whole object instead just to spy on blur.

Yep, exactly.

Does it really need of  "!" !blur I'm not facing any issue without it

Whoops, I thought it did, but it doesn't. Thanks, removed the !.

@boyskila this one good to merge?


remote path mapping not working

hello,
thanks for this branch and for notifying me of it's existence in https://github.com/dazedcat19/FMD2/issues/1487#issuecomment-2383489408
Happy to report that all the modules I tried, including bato, work.
However, whenever I map to a remote path I get an error that the folder cannot be created. If I download to the containers app/FMD2/downloads directory things download fine but when I try to map downloads to another directory it consistently fails regardless of module.
tried on both unraid and macOS docker with same issue in both. with the path bound allowing the app to download to the default /downloads directory just stores everything within the container. I can navigate to the directory and see files from my mapped folder but it won't write to it
I thought this may be a permissions issue on my end - set directory to drwxrwxrwx
also tried mapping both /downloads and /app/FMD2/downloads. both result in the same behavior except with the latter i can't download to the app container anymore, obviously.
edit: apologies for accidentally closing! I am clumsy. also tried setting umask to 002 with no benefit and have tried PGID and PUID as 1000:1000 and 100:99 (for unraid), same behavior. oddly this seems specific to downloads as my user settings are saved with the user data path mapped remotely

This is an issue with alpine and remote folders (prolly your nas), this is not something i can change in the image to adjust for, you need to set up the container differently, just google about docker and remote folders.
I found think something like this should work ?
Or just using NFS when the NAS is local.
volumes:
  folder:
    driver_opts:
      type: cifs
      o: username={smbuser},password={smbpass},uid={UID for mount},gid={gid for mount},vers=3.0
      device: //Share1/FolderMix

Sounds lime you are changing the download path in wine ?
Thats not what youre supposed to do, since there is a Script in this image to copy the files from the wine downloads to the actual download folder thats a volume.
You need to change the left path of the volume in docker compose:
changeme:/downloads

Also Docker Alpine doesnt play well with networkee devices, you need to correctly bind them to a volume in the way docker describes to mount remote folders to volumes.
I cant change anything in the image to make that work, its on your side.

The only thing i can do here is add a disclaimer to the docker compose


fix: add sanitizeParametersEncoding toggle

:id: Reference related issue.
https://gravitee.atlassian.net/browse/AM-737
:pencil2: A description of the changes proposed in the pull request
This PR introduces a hack 😞.
So far, when computing redirect URLs in AM, the static class UriBuilderRequest decodes and encodes all parameters.
When parameters aren't url-encoded, this is not a big deal. But when parameters are already url-encoded, we introduce a few issues.
Since the method is UriBuilderRequest.resolveProxyRequest(...) is used all around AM, it's hard to tell if removing the extra decoding will not break stuff.
This PR introduces the parameter legacy.openid.sanitizeParametersEncoding that, when set to false, disables the extra decoding.
For the future, we should remove the hack and any extra handling of parameters, only decoding parameters when they are received and encoding them when they leave AM Handlers.
:memo: Test scenarios
The issue contains a reproduction scenario.
I manually tested the fix in the following flows:

Normal login flow
Wrong password on normal login flow
Login flow with Identifier-first enabled.
Wrong password on ID first flow
Navigation to Password reset page and back.
Navigation to Register page and back.
MFA with an SMS mock factor
Wrong code with MFA mock factor.

:books: Any other comments that will help with documentation
I'm not even sure where this should be documented

@leleueri good catch! I fixed that one and found another missing toggle. What a lovely plate of 🍝  😅
Changes in a new commit. 5aad56f (#2885)

@leleueri I think you wanted to do some more testing. Any news regarding that? the sprint is arriving to an end and maybe is something we want to include in the scheduled release

@leleueri I think you wanted to do some more testing. Any news regarding that? the sprint is arriving to an end and maybe is something we want to include in the scheduled release

Still have an issue


[SPARK-43277][YARN] Clean up deprecation hadoop api usage in yarn module

What changes were proposed in this pull request?

Why are the changes needed?

Does this PR introduce any user-facing change?

How was this patch tested?

Test first, will update pr description laster

Merged to master

Thanks @srowen


Add issue templates

Create issue templates for:

Features propositions
Bug fixes

So that everyone can cooperate on this project in a regulated and clean way

Issue templates for feature propositions and bug fixes added.


Remove Metadata Endpoints from Microsoft.ResourceHealth versions preview/2022-10-01-preview and stable/2022-10-01

ARM (Control Plane) API Specification Update Pull Request
PR review workflow diagram
Please understand this diagram before proceeding. It explains how to get your PR approved & merged.

[1] public repo review queue, private repo review queue
The PRs are processed by time opened, ascending. Your PR may show up on 2nd or later page.
If you addressed Step 1 from the diagram and your PR is not showing up in the queue, ensure the label ARMChangesRequested
is removed from your PR. This should cause the label WaitForARMFeedback to be added.
[2] https://aka.ms/azsdk/support/specreview-channel
[3] List of SDK breaking changes approvers in pinned Teams announcement
[4] public repo merge queue, private repo merge queue
If you need further help with anything, see Getting help section below.
Purpose of this PR
What's the purpose of this PR? Check all that apply. This is mandatory!

[ ] New API version. (Such PR should have been generated with OpenAPI Hub, per this wiki doc.)
[ ] Update existing version for a new feature. (This is applicable only when you are revising a private preview API version.)
[ ] Update existing version to fix swagger quality issues in S360.
[x] Other, please clarify:

Fix metadata endpoint non-existent for ResourceHealth versions 2022-10-01 (can see the staging check of the merged PR failed with 404 on Metadata endpoints: https://github.com/Azure/azure-rest-api-specs/pull/22721/checks?check_run_id=12416203253). The AutoRest generated SDK for Golang is throwing an error similar to the one seen in the failed staging checks.

Due diligence checklist
To merge this PR, you must go through the following checklist and confirm you understood
and followed the instructions by checking all the boxes:

[ ] I have reviewed the general guidance on the spec PR review process: https://aka.ms/specprreview.
[ ] I confirm this PR is modifying Azure Resource Manager (ARM) related specifications, and not data-plane related specifications.
[ ] I commit to follow the Breaking Change Policy.
[ ] I have reviewed following Resource Provider guidelines, including
ARM resource provider contract and
REST guidelines (estimated time: 4 hours).
I understand this is required before I can request review from an ARM API Review board.

ARM API changes review

If you want for the ARM team to review this PR, you must add the ARMReview label.
The automation may automatically add the ARMReview label, if appropriate.
If this happens, proceed according to guidance given in GitHub comments also added by the automation.

Breaking change review
If you have any breaking changes as defined in the Breaking Change Policy,
follow the process outlined in the High-level Breaking Change Process doc.
Getting help

For general PR approval workflow, see the diagram at the top of this comment.
For guidance on fixing this PR CI check failures, see the hyperlinks provided in given failure
and https://aka.ms/ci-fix.
If the help provided by the previous points is not enough, post to https://aka.ms/azsdk/support/specreview-channel and link to this PR.

@microsoft-github-policy-service agree


Comment lost on constructor with tuple payload

switch a {
| Constr /* hello */ (a, _) => a
}

Formats into:
switch a {
| Constr(a, _) => a
}

Doesn't happen with a single payload. I guess the tuple disambiguation logic forgot about it.

Fixed =D


feat(projection): Host Projection service

@jelbourn please re-review

@hansl  I think you need to add MdProjectionHostDirective to the module definition. It's failing presubmit.

@kara could you rerun the presubmits? It should pass now.

Absolutely! Momentito.


66

These programs were installed remotely by 2 cyber stalkers. It's been going on for over 3vl  years. I know who they are!   CALLED SHERIFF ,THE INVESTIGATION WAS DONE BY A MAN THAT DIDN'T KNOW WHAT A HOT SPOT WAS OR THAT WIFI WAS IN CARS!!!?!! Someone take my hand and help me please

Help me


how to get list of tags on screen ?

Its really great control.
But i would like to know which tags user has finally decided to keep it on screen.

Hi @bhavya-kothari, you can use the tags property of the tag list view.

Hi @bhavya-kothari, you can use the tags property of the tag list view.


Update Node.js version

Update Node.js to a version unaffected by the hash flooding remote
DoS vulnerability -
https://nodejs.org/en/blog/vulnerability/july-2017-security-releases/

https://github.com/rauchg/slackin/pull/321

Thanks for adding the reference @RyanBalfanz ... I should've checked the open pull requests before submitting another duplicate! 🤦♂

FYI there is a keyword for that: duplicate of #321

Thanks, @DirtyF, I didn't know that trick!
More info: https://github.com/blog/2398-manage-issues-and-pull-requests-with-keyword-updates.

#327 was merged


Autocorrect on iOS TextInput doesn't fire onChangeText in react-native

react-native version : 0.43.4
Platform: iOS
Component: TextInput
Steps to reproduce:

Type a misspelled word in TextInput
Press space to make sure it haven't changed to the correct word yet. In case it did just delete and make it the misspelled word again.
Now iOS must be showing the word underlined with dotted red color. Tap on that and iOS will show you 2 types of autocorrect. One would be at the side of the word and second at the top of the keyboard.
Select the autocorrect from the top of the keyboard.
By checking logs etc you will know it hasn't fired any onChangeText event.

Some posts shows it has been resolved in recent react-native versions but I checked it today only with latest react-native version 0.43.4
NOTE: Read point number 3 carefully to reproduce.

Duplicates #6715 and #2552.


pngcrush: Syntax error

Problem: http://recordit.co/q9h3Ay7iwu
My config: https://gist.github.com/jepek/a2521a122e90cf554386
Anyone have idea what's wrong?

Hi @jepek,
this might have been a problem with an outdated pngcrush-depenency. I just released an updated version. Could you please check if this works for you now? I'll close the issue, but please feel free to re-open it if you've still got problems.
Cheers & Happy New Year,
Joschi


DELIA-57930 : JSONRPC::LinkType should supply token

Reason for change: Error 3 seen.
Test Procedure: Log has
"MaintenanceManager got security token",
"RDKShell got security token" and
"DisplaySettings got security token" lines.
Risks: Low
Signed-off-by: Nikita Poltorapavlo<EMAIL_ADDRESS>

https://gerrit.teamccp.com/#/c/678903/
tested on ZWCN11MWI_VBN_2208_sprint_20220915122724sdy_GRT
root@platco-cad15:~# grep "security token" /opt/logs/wpeframework*
2022 Sep 15 14:42:03.659108 WPEFramework[7104]:  RDKShell got security token
2022 Sep 15 14:42:07.005127 WPEFramework[7104]:  MaintenanceManager got security token
2022 Sep 15 14:42:32.762577 WPEFramework[7104]:  DisplaySettings got security token


Added an allow_null option which adds the 'null' type to all properties in the schema

Added an allow_null option which adds the 'null' type to all properties in the schema. This is useful when you need the schema to allow null values in the JSON being validated.
This is a bit of a hack so I understand if you don't want to merge the changes. We've just picked up Pacto today and this null values issue is blocking us. Happy to hear your feedback if you have any suggestions.

Closing due to lack of response


How to skip PHPCS supress annotations

Hi, I only found this https://stackoverflow.com/a/62023234/289404 but it's a no go for our team.

Hi,
I think I'd be opened to such feature now, e.g. @noEcs as in Rector: https://github.com/rectorphp/rector#exclude-paths-and-rectors


Added first playable for M Type mode

A first playable for M Type, players can fight a theoretically infinite number of enemies to amass score while collecting powerups and charging their reflector shield. All assets are placeholder, needs polish, but this should let people get a feel for it to see if there are any needed tweaks or big changes.

Gave it a little playtest on your branch, and it is playable, so time to merge!


util: athena-run: use tmp directory, fix filetype

Change athena-run shell script to use the system's tmp directory rather than the ATHENA_HOME directory.
Installing athena to ATHENA_HOME that is not writeable to all users, i.e. installing athena as a shared application, makes the athena-run script useless.
By using the system's tmp directory you are able to write the temporary file needed without having write access to ATHENA_HOME.
Fixes a filetype issue when trying to load a .ath file with athena-run. Using athena-run with example.ath results in athena loading example.ath.ath. Which is unintended behavior.

Thanks for this.
The change to using system's tmp directory will break some 3rd party tooling that uses Athena. I think a backwards compatible option, which first tries ATHENA_HOME and, upon failure, utilizes system tmp directory is therefore preferred here.
I do agree with the update to allow athena-run to accept file names regardless of whether or not the input includes the .ath extension.


Add JoinMarket

There isn't native BIP329 support in JoinMarket yet (but there's open issue about that), but label export is currently possible using third party JoinMarket Log Parser tool.

@kristapsk sorry, missed that one!


is it possible to get geolocation in next api, like workers

is it possible to get geolocation in next api, like workers

@GregBrimble any update

Hi! Have you tried accessing the request.cf object? Does that contain the information you're looking for?
https://developers.cloudflare.com/workers/runtime-apis/request/#incomingrequestcfproperties

@GregBrimble not working on NextJs

Yeah it looks like Next manipulates the request object (here I think)
So I think we should take the info from the cf object and moved it to geo so that next recognizes it.
(Eventually I think we need to export env, ctx and cf to the user somehow in any case, but Next apps can indeed rely on geo I'd imagine so the above should be done regardless I think)

Yeah it looks like Next manipulates the request object (here I think)
So I think we should take the info from the cf object and moved around so that next recognizes it.
(Eventually I think we need to export env, ctx and cf to the user somehow in any case, but Next apps can indeed rely on geo I'd imagine so the above should be done regardless I think)

Is there any progress on exporting cf to Next.js? My team needs this feature for routing to the nearest available AWS region for DynamoDB. The request.cf.colo property seems like the best strategy for that, and I haven't been able to figure out a way of mapping the fields as headers so far.


Geometry2D.segment_intersects_circle missing in latest master

Godot version
4.0-alpha13
System information
ArchLinux
Issue description
Not sure if this is a regression, if the function has been moved somewhere, or if it was considered obsolete. In 3.x, it's available as Geometry.segment_intersects_circle
Meanwhile, other helper functions including segment_intersects_segment are still available in 4.x.
Steps to reproduce

Geometry2D.segment_intersects_circle(...)
Error: Static function "segment_intersects_circle()" not found in base "Geometry2D".

Missing in 4.x: https://docs.godotengine.org/en/latest/search.html?q=segment_intersects_circle&check_keywords=yes&area=default
Available in 3.x: https://docs.godotengine.org/en/stable/search.html?q=segment_intersects_circle&check_keywords=yes&area=default
Minimal reproduction project
No response

References to segment_intersects_circle in the issue tracker: https://github.com/godotengine/godot/issues?q=segment_intersects_circle

Seems like the binding got lost when splitting in #39051. Method was moved, the binding was removed. So it's just a matter of re-adding the binding in Geometry2D::_bind_methods().

I gave it a go. Let me know if I missed something.


pip is changed to install packages for python3 instead of python2

Normally:

which pip shows /usr/bin/pip,
the first line in /usr/bin/pip is #!/usr/bin/python,
so pip installs packages for python2.

However, after running the install script,

which pip shows /usr/local/bin/pip,
the first line in /usr/local/bin/pip is #!/usr/bin/python,
so pip installs packages for python3.

The result is that the python pip dependencies of our ROS packages (e.g.  <run_depend>python-utm-pip</run_depend>) are installed for python3 instead of python2 when we do rosdep install <package>.

This is a possible cause of:
Dependencies
Updating apt dependencies...
Updating gem dependencies...
Updating pip dependencies...
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-h1fov6r9/pysensors/
Updating pip3 dependencies...
Updating vim plugins...
Done.


Adding Mu-An's Arrows!

I thought I already did this PR? Maybe not? @muan this was my attempt to implement your arrows with janky CSS. I swear I did this PR already?

I got a notification from the mention in 57fe7f11b7de09999218b3a7ce23dd43b9f1b271, but idk if you did merge it!

Ughhh I really messed this branch up. BRB.


Manual porting of QPPWG(Quasi Periodic Parrallel Wave-Gan)

Description
(A clear and concise description of what the feature is.)
A api that can let user uses QPPWG not in a very user friendly sense.
This is just the start.I also do not have enough experience in this repo.
Will this change the current api? How?
Proably no,just adding stuff in or can even seperate packaging.
The original api is also well built for extending should h=not have huge problem.
Who will benefit from this enhancement?
everyone who uses it.lol
References

list reference and related literature
Quasi-Periodic Parallel WaveGAN Vocoder: A Non-autoregressive Pitch-
dependent Dilated Convolution Model for Parametric Speech Generation
list known implementations
original python pytorch implementation in github

Extra notes and questions.
I am just a 19 years old jobless human and currently did not take any college etc..
So please bear with my stupidity or lack of experience in various things.
I think this will need two phase.
1)Making various parts.(Why?Because it introduces few new parts that is custom and implemented in pure python..)
2)Making sure it will works.(Yes,I am new and do not have confident in setting it up and testing it.)
Of course a more experienced contributor can port it.I just simply need to use it.

Hi @xwaeaewcrhomesysplug
Do you have any interest in trying to port the model yourself? If you are looking to get some experience in the repo, take a look at our 10 minute beginner tutorial or the dive into deep learning DJL book.
Porting is fairly straightforward because most of the concepts align 1:1. It is usually just a line by line conversion. If you run into problems, feel free to ask here or on the slack channel. What do you think?

Well if there are more experienced developer that can do the porting then I will not do it.
Simply because I will probably take more time to do it and also hinder the experienced one.

Thanks,I will look into the material you give and try porting it after I setup my env.

Starting to port.
Question one.
Conv1d(residual_channels,gate_channels,.....),
Assume,channels refers to depth channels.But,djl Conv1d does not seem to have an equivalent.Anyone have some insights?

Use setFilters to set the number of output channels. The number of input channels is inferred during the first usage.

Thanks for reply,nice did not knew it would auto deduce input channel size.
Will implement accordingly.Of course will also add documentation for future users.

The function signature in .../DJL080/api/javadoc/ai/djl/nn/convolutional/Convolution.html#forward-ai.djl.training.ParameterStore-ai.djl.ndarray.NDList-boolean-ai.djl.util.PairList-
is not supposed to change right?
However the parameterStore is porbably not needed.The ai.djl.util.PairList<java.lang.String,java.lang.Object> is also not needed.
But I think there's probably some automation made based on this.Anyone have insights on what classes uses these info?
If no,then how can i somehow satisfy the forward parameters?
Or I can or should simply just Override it and screw the predictable inheritance?(Big brain)
(Clone in slack dev channel)

how to create conv1d1x1.depth wise convolution?
new ai.djl.ndarray.types.Shape(1l,1l),it does not seems to specific which is the entry is width,height,depth.

ai.djl.nn.convolutional.Conv1 to NDarray.
Since we have the abstraction useful classes.like ai.djl.nn.convolutional.Conv1d
However the classes have static function that takes,ndarray.not the created conv1d object.
Anyone had idea how to solve this problem?Or any experience like this?


Some block method imports have empty parameters

For example, when importing GameController framework:
  TGCPhysicalInputProfileBlockMethod2 = procedure() of object;
  TGCControllerBlockMethod1 = procedure of object;

Should be consistent, i.e. either empty brackets, or preferably none, when there are no parameters

Fixed


Deprecating old Publish API

MSFT is deprecating the old v1 APIs used to publish chrome extensions. This was communicated via email to all developers with a deadline of 31/12/2024.
From the message below, this means the following are getting deprecated:

secrets
access token url

This will likely affect this package.
The blog post is here and the email sent is below.
Email
Hi,
You are receiving this email since you are currently consuming the Publish APIs in partner center to publish your Edge extensions.
As part of our commitment to improve our security methods and practices as part of the Microsoft Secure Future Initiative, we are making few changes to the Publish API for extension submission in Partner Center.
As part of this change, secrets are getting deprecated and replaced with API keys, Access Token URL is getting deprecated, and the API key expiration will reduce from 2 years to 72 days.
This feature is currently active on partner center and you can test it to ensure it works as desired. To enable new version of REST api, go to publish Api page and click on Enable button. The old v1 APIs will be getting deprecated on 31st Dec 2024.
Reference:
Blog with details of the change
Version 1 of APIs
Version 1.1 of APIs.
GitHub announcement

Hi, (I am not from the PlasmoHQ team)
As said in this issue, it does affect a large audience for an important utility.
Till now, I am one of the users of this package, using which my extension (https://github.com/sankalpmukim/aws-accounts-manager) proudly gets published to all 3 browser extension stores <3.
Because of that, I am trying my level best to get this package updated and migrated to the new v1.1 API.
As of now, I do not have any code exposure of this package or the above mentioned APIs, so I will be beginning studying the Old API, its usage in this package, and the new API. After an initial analysis of the amount of change required, it's wider impact (if any), and proposed solution, I will post my findings here and will hope to take this up to the finish line.
The reason I am posting this intro message here, is before I begin my analysis (know nothing as of now), if anyone else already has a headstart and can contribute with their ideas or experience, please join in!
@PlasmoHQ team's insights will be much appreciated!


configuring jobs

how would one go about configuring jobs. Say we have all the xml configuration from a previously installed jenkis.

I'd typically recommend the Job Import Plugin; Jenkins 2.0, however, includes a new feature that allows you to define Jenkins jobs (somewhat at least) via a Jenkinsfile.
For now, I usually have a job exported to XML and then import it after Jenkins is set up; see, for example, https://github.com/geerlingguy/drupalci-sonar-jenkins/blob/master/provisioning/tasks/jenkins-setup.yml#L31-L42

Wow, that is cool. i hadn't known about either of those. I will have to read up on the Jenkinsfile stuff.

Is it possible to propagate jobs in J2 using Jenkinsfile via this ansible role?


segfault when opening a PCD file

Running the following line of code
PointMatcher<float>::DataPoints dp = PointMatcher<float>::DataPoints::load("sample.pcd");

results in a segfault. I'll try using VTK files as a workaround.

Could you provide a small example pcd file that make it break?

I was just remembered by Sebastien Michaud that binary PCD files are not supported. Sorry about that!


SIL: Fix a crash during access path verification

The access path verification optimizer pass calls getStaticallyInitializedVariable(), which was written assuming that the given SILFunction would always have a valid return basic block. When the -unavailable-decl-optimization=stub option is passed to the frontend, though, any function generated for a declaration marked @available(*, unavailable) is rewritten to trap by calling a function that returns Never. Therefore the rewritten functions do not have return blocks and passing these functions to getStaticallyInitializedVariable() would result in the compiler invoking undefined behavior.
Resolves rdar://118281508

@swift-ci please smoke test

@swift-ci please smoke test Windows

@swift-ci please smoke test


Fixed #995 by importing specific container class

Coverage remained the same at 98.953% when pulling 52bc80ebcf21383f94c9d2c949a70c9f1c4365c3 on lsanders:Issues/995 into 0f88f55ed905f8432c3dd7b452d713df5fb76d8e on mxstbr:dev.

It looks like the class is connected even when selecting 'N' for actions/constants/selectors/reducer. With wantActionsAndReducer
...
export default connect(mapStateToProps, mapDispatchToProps)(DeleteMe);

Without
export default connect(null, mapDispatchToProps)(DeleteMe);

You are right, this was my bad! Thank you!


Format casts, indices and repeated elements

Closes https://github.com/nrc/rustfmt/issues/395 and possibly https://github.com/nrc/rustfmt/issues/4. Maybe even https://github.com/nrc/rustfmt/issues/26?
Pretty much all expressions are deeply rewritten at this point. We only skip some types of literals and inline ASM.

Nice !
I'm wondering if there should be a way to break the line on the junction of a pair, maybe when the two elements exceeds the max width. This maybe needs more experience and can be left to another PR.
Otherwise, r+

Yea, that sounds like a proper alternative. Let's see how this works out in the wild and re-assess.


Docs change: kcl/std.md

Today when trying to create a bezier curve I looked at the docs as reference.
What I found I found confusing was that type types on std.md did not match the types that I found in the source code. For example for the type BezierData it can be constructed as according to std.md
{
// The first control point.
control1: [number],
// The second control point.
control2: [number],
// The to point.
to: [number],
}

but in the source code its represented as
/// The to point.
to: [f64; 2],
/// The first control point.
control1: [f64; 2],
/// The second control point.
control2: [f64; 2],

So in the first one I understood at as an array of a numbers of length one when it was actually a length 2. I noticed that for a couple other things.
I think something like
{
// The first control point.
control1: [number, number],
// The second control point.
control2: [number, number],
// The to point.
to: [number, number],
}

is better
Not sure if it was intended or not. I can go in and fix it up if its an issue at all. What do yall think ?

To give you a bit of history of how this all works I recorded this but happy to answer any questions you have along the way, but TLDR we would love a fix :)
https://github.com/KittyCAD/modeling-app/assets/1445228/a2c5cf57-4800-4536-9fce-3a1dedeef2c6

sweet ill give it a go !


Regarding the "Unsupervised" Claim

First of all, I would like to appreciate the great work.
Second, I noticed that in your work, when you do clustering, you still use the pids: https://github.com/yoonkicho/PPLR/blob/main/examples/train_pplr.py#L215-L219.
Namely, say, for the Market-1501 datasets, we have the below examples:

0002_c1s1_000451_03.jpg
0002_c1s1_000551_01.jpg
0886_c6s2_103418_03.jpg
0430_c5s1_109723_02.jpg

You are still using the information of 1&2 are the observations of the same person right ?
I am trying to see that if I only have a folder of detection results (say 10000 crops but no identity labels), does PPLR still works ?

Hi, thank your for your interest to our work.

As written in the #L191~L199 of the code, 'pids' gets the label from 'pseudo_labels' which is from DBSCAN clustering (see #L181).

Yes. As PPLR works without identity labels, you can use it with proper dataset and data loaders.


Add a more unix friendly output format for wp option get

wp-cli looks fantastic, and it looks like it'll make automating wordpress deployments much easier, but adding an easier to grep format option like how drush does for drupal would make the tool much more powerful, and easier to work with, when scripting.
Look at the syntax for drush:
variable-get
Lists the variables for your site

Examples:
 drush vget           List all variables and values.
 drush vget user      List all variables beginning with
                      the string "user".

Arguments:
 name                 A string to filter the variables by.
                      Only variables beginning with the
                      string will be listed.

Options:
 --pipe               Use var_export() to emit executable
                      PHP. Useful for pasting into code.

This doesn't look like a huge change to make this work, mostly around changing the options.php file in wp-cli/commands/internals to export vars instead.
Possible?

--pipe looks interesting.
I do not agree with wp option get user outputing all variables that start with 'user'.
The right way to do it would be by using a wildcard: wp option get user*.

Actually, whenever an option is an array or an object, it should be outputed using var_export() by default. You shouldn't even need the --pipe flag.

So, to list all option names, I would go with wp option list, which you can then grep however you want.
I can't think of a useful format to output both option names and values.

I think I'm done here. If someone wants to make a case for wp option list, please open a new issue or pull request.


 with style "col-sm-3" in Firefox 38.01 on Windows 7 shows no values

 in Firefox 38.01 on Windows 7 shows no values
all styles are removed except bootstrap styles with col-sm-3
And its just a title field with values like "Dr.", "Prof." so col-sm-3 should be pretty sufficient

Need an example link—and maybe screenshots to go with. Can't help with just a description like that.

Hey there!
We're automatically closing this issue since the original poster (or another commenter) hasn't yet responded to the question or request made to them 14 days ago. We therefore assume that the user has lost interest or resolved the problem on their own. Closed issues that remain inactive for a long period may get automatically locked.
Don't worry though; if this is in error, let us know with a comment and we'll be happy to reopen the issue.
Thanks!


C++: Remove some unused DB types

The new stats don't look quite right. Many values are 0, for example @jmulexpr (whatever that is).

Ah, ta, the stats job hadn't been updated for the new paths. Now fixed.


Chat with documents

Is it possible to chat with documents (pdf, doc, etc.) using this solution?

You could use LangChain with Ollama for this purpose. There is a tutorial (https://github.com/jmorganca/ollama/blob/main/docs/tutorials/langchainpy.md) that could be helpful in the repo.
You could also check out LangChain's Ollama class documentation (https://python.langchain.com/docs/integrations/llms/ollama).

Yes, there is also an example using a modified version of privateGPT to use Ollama. Code example here:
https://github.com/jmorganca/ollama/tree/main/examples/privategpt

I will close this issue for now. If you need any help or run into anything, feel free to re-open or create another issue. Thx!


(chore) Temporarily turn off audit search data Google Sheet job

Trello card URL:
https://trello.com/c/OOdZ8z3b/796-temporarily-turn-off-audit-search-data-until-we-decide-what-to-do-with-it
Changes in this PR:
It's the last remaining Google Sheet job that uses index instead of GID. We should decide what to do with it then take our time to refactor out using the index in Google Sheets.
For now its having unintended consequences overwriting whichever sheet is in position 3 and the worksheet's positions seem to randomly change so we decided to turn it off for now.

 Temporarily turn off audit search data Google Sheet until we decide what to do with it


Internal calculation of F_ext and tau_ext

Hi,
i am curious about the calculation of these two values which the API provides.
Can you provide me any information how this is done internally?
Best,
Martin

Any update @sgabl?

Any update @sgabl?

If there is any follow up or open question, please re-open the issue and we will shine a bit light on the issue.


Input example #1

Adds an example from standard input. Please take a look.

I think the most useful example of input would be asking the user to type "yes" or "no" and looping until a valid input is entered.
This one is too basic, and just doing nothing if the input fails isn't exactly good advice.