TLSv1.2 issue

Hi
We are using capybara+poltergeist+PhantomJS, we were enjoying the whole experience and recently PayPal made a change at their end enforcing everyone to use TLSv1.2, so my local tests (Mac OS X) stopped working (this is the url where i try to connect to which gives SSL handshake failure - https://www.sandbox.paypal.com). But the same tests run fine on Jenkins, so I am having a real hard time figuring out what could be wrong in my local or what is different from Jenkins, could you please share any tips or suggestions?
thanks a ton!
Regards
Pankaj

Hi Pankaj, phantomjs/poltergeist/capybara versions and a part of log are appreciated.

Thanks for the response, below is the info you asked for:
phantomjs <IP_ADDRESS>
poltergeist 1.8.1
capybara 2-6
mac os yosemite 10.10.5
LOG:
2016-01-27T17:37:27 [DEBUG] CookieJar - Created but will not store cookies (use option '--cookies-file=' to enable persisten cookie storage)
2016-01-27T17:37:27 [DEBUG] Phantom - execute: Configuration
2016-01-27T17:37:27 [DEBUG]      0 objectName : ""
2016-01-27T17:37:27 [DEBUG]      1 cookiesFile : ""
2016-01-27T17:37:27 [DEBUG]      2 diskCacheEnabled : "false"
2016-01-27T17:37:27 [DEBUG]      3 maxDiskCacheSize : "-1"
2016-01-27T17:37:27 [DEBUG]      4 ignoreSslErrors : "true"
2016-01-27T17:37:27 [DEBUG]      5 localToRemoteUrlAccessEnabled : "false"
2016-01-27T17:37:27 [DEBUG]      6 outputEncoding : "UTF-8"
2016-01-27T17:37:27 [DEBUG]      7 proxyType : "http"
2016-01-27T17:37:27 [DEBUG]      8 proxy : ":1080"
2016-01-27T17:37:27 [DEBUG]      9 proxyAuth : ":"
2016-01-27T17:37:27 [DEBUG]      10 scriptEncoding : "UTF-8"
2016-01-27T17:37:27 [DEBUG]      11 webSecurityEnabled : "false"
2016-01-27T17:37:27 [DEBUG]      12 offlineStoragePath : ""
2016-01-27T17:37:27 [DEBUG]      13 offlineStorageDefaultQuota : "-1"
2016-01-27T17:37:27 [DEBUG]      14 printDebugMessages : "true"
2016-01-27T17:37:27 [DEBUG]      15 javascriptCanOpenWindows : "true"
2016-01-27T17:37:27 [DEBUG]      16 javascriptCanCloseWindows : "true"
2016-01-27T17:37:27 [DEBUG]      17 sslProtocol : "any"
2016-01-27T17:37:27 [DEBUG]      18 sslCertificatesPath : ""
2016-01-27T17:37:27 [DEBUG]      19 webdriver : ":"
2016-01-27T17:37:27 [DEBUG]      20 webdriverLogFile : ""
2016-01-27T17:37:27 [DEBUG]      21 webdriverLogLevel : "INFO"
2016-01-27T17:37:27 [DEBUG]      22 webdriverSeleniumGridHub : ""
2016-01-27T17:37:27 [DEBUG] Phantom - execute: Script & Arguments
2016-01-27T17:37:27 [DEBUG]      script: "/Users/gallagher/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/poltergeist-1.8.1/lib/capybara/poltergeist/client/compiled/main.js"
2016-01-27T17:37:27 [DEBUG]      0 arg: "55066"
2016-01-27T17:37:27 [DEBUG]      1 arg: "1024"
2016-01-27T17:37:27 [DEBUG]      2 arg: "768"
2016-01-27T17:37:27 [DEBUG] Phantom - execute: Starting normal mode
2016-01-27T17:37:27 [DEBUG] WebPage - setupFrame ""
2016-01-27T17:37:27 [DEBUG] FileSystem - _open: ":/modules/fs.js" QMap(("mode", QVariant(QString, "r") ) )
2016-01-27T17:37:27 [DEBUG] FileSystem - _open: ":/modules/system.js" QMap(("mode", QVariant(QString, "r") ) )
2016-01-27T17:37:27 [DEBUG] FileSystem - _open: ":/modules/_coffee-script.js" QMap(("mode", QVariant(QString, "r") ) )
2016-01-27T17:37:27 [DEBUG] FileSystem - _open: ":/modules/../coffee-script/package.json" QMap(("mode", QVariant(QString, "r") ) )
2016-01-27T17:37:27 [DEBUG] FileSystem - _open: ":/modules/../coffee-script/./lib/coffee-script/coffee-script.js" QMap(("mode", QVariant(QString, "r") ) )
2016-01-27T17:37:27 [DEBUG] FileSystem - _open: ":/modules/../coffee-script/./lib/coffee-script/./lexer.js" QMap(("mode", QVariant(QString, "r") ) )
2016-01-27T17:37:27 [DEBUG] FileSystem - _open: ":/modules/../coffee-script/./lib/coffee-script/././rewriter.js" QMap(("mode", QVariant(QString, "r") ) )
2016-01-27T17:37:27 [DEBUG] FileSystem - _open: ":/modules/../coffee-script/./lib/coffee-script/././helpers.js" QMap(("mode", QVariant(QString, "r") ) )
2016-01-27T17:37:27 [DEBUG] FileSystem - _open: ":/modules/../coffee-script/./lib/coffee-script/./parser.js" QMap(("mode", QVariant(QString, "r") ) )
2016-01-27T17:37:27 [DEBUG] FileSystem - _open: ":/modules/../coffee-script/./lib/coffee-script/./helpers.js" QMap(("mode", QVariant(QString, "r") ) )
2016-01-27T17:37:27 [DEBUG] FileSystem - _open: ":/modules/../coffee-script/./lib/coffee-script/./nodes.js" QMap(("mode", QVariant(QString, "r") ) )
2016-01-27T17:37:27 [DEBUG] FileSystem - _open: ":/modules/../coffee-script/./lib/coffee-script/././scope.js" QMap(("mode", QVariant(QString, "r") ) )
2016-01-27T17:37:27 [DEBUG] FileSystem - _open: ":/modules/../coffee-script/./lib/coffee-script/./././helpers.js" QMap(("mode", QVariant(QString, "r") ) )
2016-01-27T17:37:27 [DEBUG] FileSystem - _open: ":/modules/../coffee-script/./lib/coffee-script/././lexer.js" QMap(("mode", QVariant(QString, "r") ) )
2016-01-27T17:37:27 [DEBUG] FileSystem - _open: ":/modules/../coffee-script/./lib/coffee-script/./././rewriter.js" QMap(("mode", QVariant(QString, "r") ) )
2016-01-27T17:37:27 [DEBUG] FileSystem - _open: ":/modules/webpage.js" QMap(("mode", QVariant(QString, "r") ) )
2016-01-27T17:37:27 [DEBUG] Phantom - injectJs: "/Users/gallagher/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/poltergeist-1.8.1/lib/capybara/poltergeist/client/compiled/web_page.js"
2016-01-27T17:37:27 [DEBUG] Phantom - injectJs: "/Users/gallagher/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/poltergeist-1.8.1/lib/capybara/poltergeist/client/compiled/node.js"
2016-01-27T17:37:27 [DEBUG] Phantom - injectJs: "/Users/gallagher/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/poltergeist-1.8.1/lib/capybara/poltergeist/client/compiled/connection.js"
2016-01-27T17:37:27 [DEBUG] Phantom - injectJs: "/Users/gallagher/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/poltergeist-1.8.1/lib/capybara/poltergeist/client/compiled/cmd.js"
2016-01-27T17:37:27 [DEBUG] Phantom - injectJs: "/Users/gallagher/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/poltergeist-1.8.1/lib/capybara/poltergeist/client/compiled/browser.js"
2016-01-27T17:37:27 [DEBUG] WebpageCallbacks - getJsConfirmCallback
2016-01-27T17:37:27 [DEBUG] WebpageCallbacks - getJsConfirmCallback
2016-01-27T17:37:27 [DEBUG] WebPage - updateLoadingProgress: 10
2016-01-27T17:37:27 [DEBUG] Network - Resource request error: 6 ( "SSL handshake failed" ) URL: "https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=EC-8G369747A6828630R"
2016-01-27T17:37:27 [DEBUG] WebPage - updateLoadingProgress: 100
2016-01-27T17:37:27 [DEBUG] WebPage - setupFrame ""
2016-01-27T17:37:27 [DEBUG] WebPage - setupFrame ""
2016-01-27T17:37:27 [DEBUG] WebPage - evaluateJavaScript "(function() { return (function () {
return typeof __poltergeist;
})(); })()"
2016-01-27T17:37:27 [DEBUG] WebPage - evaluateJavaScript result QVariant(QString, "undefined")

I believe PhantomJS 1.9.8 may have some real issues with TLS:
https://github.com/ariya/phantomjs/issues/12165
https://github.com/ariya/phantomjs/issues/13496
Your Jenkins server may have 2.0/2.1 installed, perhaps? Or it may be related to the version of openssl available on the system.

Only difference was openssl version in local vs Jenkins but even after upgrading to same openssl version in local (Mac), we get error but not in Jenkins (Linux). so still stuck right now.

upgrade to phantomjs 2.1.x and make sure your phantomjs_options  --ssl-protocol/--ssl-ciphersl are set correctly for whatever version you need

Closing due to age and lack of response


"403 permission denied: access token not found" on memo pages when not logged in

Describe the bug
After updating to v0.22.3 via Docker, I noticed an issue where memos are now inaccessible via their direct URL if not being logged in, even if they are public and get listed in the Explore page. The error "403: permission denied", "access token not found" is shown. This completely breaks sharing.
Looking at the frontend network request, I notice that the client app calls the following backend URL, with the following data, but receives an empty (0 KB) response: POST https://<instance domain>/memos.api.v1.MemoService/GetMemoByUid, body: \u0000\u0000\u0000\u0000\u0018\n\u0016<uid from the url>.
Steps to reproduce

Ensure you are not logged into your memos instance.
Try to open a public memo by its share url, eg. https://<instance domain>/m/<memo uid>; alternatively, go on the Explore page of your Memos instance, and click on the comments button for any listed memo.
Notice how the page loads but no content is shown, and instead the error is present.

The version of Memos you're using.
v0.22.3
Screenshots or additional context
No response

Same issue.

Fixed with https://github.com/usememos/memos/commit/17ecfb5cf5732b2a9033bd84d3796709e08f6dfc


Fixed sandbox compatibility

This reminds me. I need to rip out the entire embedding of MPFR in this project going forward. (In 7.10+ we use system GMP without a custom collector.) Are you using this with GHC 7.10?

I'm currently using 7.8.3. Looking forward to being able to use 7.10, but I'm still waiting on several (other) packages.

Next time I do a major release, it'll probably be a complete lobotomy of this package, as it lets me shed the whole internal copy of mpfr, etc.
I'll see if I can do a point release with these changes quickly for you though.

Thanks!


Python 3.9 support

https://github.com/swig/swig/commit/9c50887daa2b44251e77be8123c63df238034cf5
Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Patch seems to be compatible with the pre-built windows stuff.
Maybe we should just build windows ourselves though.


Remove deprecated context extension

Related Issue(s):

https://github.com/radiantearth/stac-api-spec/issues/396
https://github.com/stac-utils/pgstac/pull/254

Description:
PR Checklist:

[x] Code is formatted and linted (run pre-commit run --all-files)
[x] Tests pass (run make test)
[x] Documentation has been updated to reflect changes, if applicable
[x] Changes are added to the changelog

LGTM!


Popups always appear in originating worldview when data wraps dateline

http://openlayers.org/en/v3.7.0/examples/icon.html
Zoom out and click on an icon that has wrapped the dateline (not the original). The popup always centers over the original feature. Is that an issue with the library or is there a better way to write that code?
I'm sure the introduction of canvas and WebGL rendering has upped the complexity for determining feature interaction and clicks events, but unfortunately that complexity is very visible in the code (see icon example above) to implement a common task of creating a hover and click event for a feature in version 3 over version 2. Is there any plan to roll that into a higher level function to make popup creation easier moving forward?

Wrong issue tracker. Please go to https://github.com/openlayers/ol3.


Expose container port in the healthcheck environment

Command healthchecks are being executed inside the container now. Therefor it would make sense to not only have $HOST and $PORT0... but also sth. like $CONTAINER_PORT0 when bridge networking is used.
Right now when I run a command healthcheck
bash -c "$ </dev/tcp/$HOST/$PORT0"

the traffic will leave the container using the docker0 interface and come back in on e.g. eth0.
This means I need a firewall rule that allows this traffic on the host even though I'm just trying to check a local service.
What would be much neater is a check like this:
bash -c "$ </dev/tcp/localhost/$CONTAINER_PORT0"

That way the traffic never leaves the container.
Of course I could hard code the well known container port for every application that I run but a more generic way that universally works for all apps would be much nicer.

Note: This issue has been migrated to https://jira.mesosphere.com/browse/MARATHON-2406. For more information see https://groups.google.com/forum/#!topic/marathon-framework/khtvf-ifnp8.

Note: This issue has been migrated to https://jira.mesosphere.com/browse/MARATHON-2406. For more information see https://groups.google.com/forum/#!topic/marathon-framework/khtvf-ifnp8.


some fuction deprecated how to change conf?

Registratore: homeassistant.helpers.entity
Fonte: helpers/entity.py:1633
Prima occorrenza: 04:16:37 (5 occorrenze)
Ultima registrazione: 04:17:44
Entity None (<class 'custom_components.smartir.climate.SmartIRClimate'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <ClimateEntityFeature.TARGET_TEMPERATURE|FAN_MODE: 9>, please report it to the author of the 'smartir' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation
Entity None (<class 'custom_components.smartir.media_player.SmartIRMediaPlayer'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <MediaPlayerEntityFeature.VOLUME_MUTE|PREVIOUS_TRACK|NEXT_TRACK|TURN_ON|TURN_OFF|PLAY_MEDIA|VOLUME_STEP|SELECT_SOURCE: 4024>, please report it to the author of the 'smartir' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation
Entity None (<class 'custom_components.smartir.media_player.SmartIRMediaPlayer'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <MediaPlayerEntityFeature.VOLUME_MUTE|TURN_ON|TURN_OFF|PLAY_MEDIA|VOLUME_STEP|SELECT_SOURCE: 3976>, please report it to the author of the 'smartir' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation
Entity None (<class 'custom_components.localtuya.fan.LocaltuyaFan'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <FanEntityFeature.SET_SPEED|OSCILLATE: 3>, please create a bug report at https://github.com/rospogrigio/localtuya/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation
Entity None (<class 'custom_components.browser_mod.media_player.BrowserModPlayer'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <MediaPlayerEntityFeature.PAUSE|SEEK|VOLUME_SET|VOLUME_MUTE|TURN_ON|TURN_OFF|PLAY_MEDIA|STOP|PLAY|BROWSE_MEDIA: 152463>, please report it to the author of the 'browser_mod' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation

Hi
i have of course same problems.
but is still in progress that project ?
i see that is on 2023 (lateast release)...
just to be sure :-(
thanks

I am seeing these warnings in the logs
2024-08-28 03:30:31.759 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] HVAC_MODE_OFF was used from smartir, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.OFF instead, please report it to the author of the 'smartir' custom integration
2024-08-28 03:30:31.773 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] HVAC_MODE_HEAT was used from smartir, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.HEAT instead, please report it to the author of the 'smartir' custom integration
2024-08-28 03:30:31.798 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] HVAC_MODE_COOL was used from smartir, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.COOL instead, please report it to the author of the 'smartir' custom integration
2024-08-28 03:30:31.827 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] HVAC_MODE_DRY was used from smartir, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.DRY instead, please report it to the author of the 'smartir' custom integration
2024-08-28 03:30:31.839 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] HVAC_MODE_FAN_ONLY was used from smartir, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.FAN_ONLY instead, please report it to the author of the 'smartir' custom integration
2024-08-28 03:30:31.860 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] HVAC_MODE_AUTO was used from smartir, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.AUTO instead, please report it to the author of the 'smartir' custom integration
2024-08-28 03:30:31.867 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] SUPPORT_TARGET_TEMPERATURE was used from smartir, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.TARGET_TEMPERATURE instead, please report it to the author of the 'smartir' custom integration
2024-08-28 03:30:31.875 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] SUPPORT_FAN_MODE was used from smartir, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.FAN_MODE instead, please report it to the author of the 'smartir' custom integration
2024-08-28 03:30:31.887 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] SUPPORT_SWING_MODE was used from smartir, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.SWING_MODE instead, please report it to the author of the 'smartir' custom integration

Hello, just use my repo, as all this is solved there: https://github.com/litinoveweedle/SmartIR


Allow transitions in callbacks

This fixes looplab/fsm#43 and looplab/fsm#61.
This contains breaking changes, namely:

signature change of fsm.Event() from name string, ...args to ctx context.Context, name string, ...args
signature change of event handlers from e *fsm.Event to ctx context.Context, e *fsm.Event (refs looplab/fsm#61)

This allows state transitions to happen in enter state and after event callbacks:
https://github.com/alfaview/fsm/blob/d8a0147d791af007b0cb9eeb233e108392c1db3f/fsm_test.go#L672-L711

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

49 of 51 (96.08%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.1%) to 93.735%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

uncancel_context.go
4
6
66.67%

Totals

Change from base Build<PHONE_NUMBER>:
0.1%

Covered Lines:
404

Relevant Lines:
431

💛  - Coveralls

With looplab/fsm#82 merged I can now open a new PR against upstream – closing.


packing: remove redundant canAlloc checking and alloc allocating.

What issue is this addressing?
Closes #2628
What type of issue is this addressing?
bug
What this PR does | solves
By removing redundant work done in canAlloc and just calling alloc right away, this removes 35% contribution to AAAAXY loading CPU time on the profile on https://user-images.githubusercontent.com/251568/230496805-c5e32c19-9258-49c8-800b-a3f0bc3b072d.svg, or - as measured via stopwatch - brings loading time on Moto G7 Play from 17.22s to 14.94s after already applying https://github.com/hajimehoshi/ebiten/pull/2627.
This should be safe as there is no case in which alloc succeeds and the allocated region isn't used; also, there is no case in which alloc mutates the tree when it doesn't actually succeed (comment added in one place to justify this).

Tested: AAAAXY builds the same atlas in internalimages*/7.png with and without this change.

Stopwatch results:

Initial: 18.00s (AAAAXY v1.3.421)
https://github.com/hajimehoshi/ebiten/pull/2627: 17.22s
This fix: 14.94s

(interesting, I've never seen panic(fmt.Sprintf( before - where I work, we use log.Fatalf :)


Supporting presigned URLS for TMS imagery providers and Cesium Terrain providers

Currently the TMS provider and cesium terrain provider blindly add the path to the resource it requires to the end of the url it is given. This does not allow for the serving of secure tiles via presigned urls (e.g. from S3). Therefore I have created a function that joins URLs taking into account query strings and modified  CesiumTerrainProvider and TileMapServiceImageryProvider to use them.

Thanks @keattang, great to see you contributing to Cesuim, too!  A couple of things before we merge this:

Have you signed the Cesium Contributor's License Agreement (CLA) yet?  Details here.  It'd be great to get a corporate one from Propeller if possible.  You can just email it in.
Add yourself to CONTRIBUTORS.md.
Mind writing some tests for joinUrls?  Ideally there would be tests for your changes to CesiumTerrainProvider and TileMapServiceImageryProvider, too.

No worries I'll get on to that soon! Might not be till next week though.

@kring @keattang what is the plan with this pull request?

I'm still keen to get this into the code base. Just trying to find time to write the tests.

I've written a new spec file for the joinUrls function. Is there anywhere that I need to include this file or will it be picked up automatically?

@keattang it should get picked up automatically the next time you run the build task.

Awesome. I've just emailed in the CLA and all the tests pass so this should be ready to merge:)

We received @keattang's CLA.  Thanks again!

Thanks for writing the tests @keattang.  I'm seeing a failure in CesiumTerrainProviderSpec in requestTileGeometry uses the proxy if one is supplied on my system, though.  The problem seems to be that tile URLs are being built incorrectly when the base / template URL is a relative path rather than an absolute one.

Ah sorry missed that one. Fixed now, the issue was that it was double proxying the URL.

Sorry @keattang, there are new problems now.  If I fire up Cesium Viewer and switch to STK World Terrain, I don't get a globe.  It's requesting tiles like this:
http://assets.agi.com/stk-terrain/0/1/0.terrain?v=1.16389.0
when the correct tiles look like this:
http://assets.agi.com/stk-terrain/world/0/0/0.terrain?v=1.16389.0
There are also a bunch of related test failures.

My bad, was in a bit of a rush. Should all work now.
Although I am getting failures that seem unrelated in BillboardCollection and LabelCollection. They all state:
TypeError: Cannot read property 'primitive' of undefined
I get the same errors in the master branch.

I get the same errors in the master branch.

These are unrelated problems and will be fixed if you merge in master.  That being said, I did that locally on my machine and all tests in the PR work without a hitch. Thanks a lot for this contribution, I actually need this myself too.

@keattang, thanks again for the contribution.  I wanted to do a little clean up before this went into master so I branched off your branch and submitted #3133 (which contains your changes as well as my own).  Hopefully @kring can merge that PR as soon as he wakes up on the other side of the world.  Either way, my PR now contains yours so I'm going to close this one.
Thanks again.

Awesome thanks!

Hopefully @kring can merge that PR as soon as he wakes up on the other side of the world.

Other side of the world?  @keattang works for the awesome startup next door.  You're the one on the other side of the world, mate. :)
In any case, thanks for that, @mramato, I'll review the new PR in a moment.


DB of cleaning/repair/construction companies

DB of cleaning/repair/construction companies
A lot of companies in various districts have come up with free cleaning, repair as well as construction works for flood affected houses. A database of such companies would be helpful for the public.
What we need to have?
A curated database of companies that provide service for free (or maybe reduced price).
Basic workflow (Just a suggestion)

Have the data from public - Name of company, District of operation, locality (or across district), area of working, contact number(s), brief description of works they do, charge(if any)
Have Volunteers contact respective companies with details from collected data, confirm and mark as verified
Once verified by Volunteers, show up on our UI for the public with filters for easy search

How is this gonna help the public?
This will help to all those who are trying to provide the service as well as others who would like to clean/repair their homes using these services after flood.
If someone is gonna take this up, get the workflow ready first, have a proper plan on what needs to be done n then start work.
Please check if Ushahidi can do this.

https://keralarescue.in/ngo-volunteer/
We added this as NGO/Company
/home needs update

It (https://keralarescue.in/ngo-volunteer/) doesnt have district
https://github.com/IEEEKeralaSection/rescuekerala/issues/812

Please add  email, contact person name, website

Refer this for Design and Architecture  and please confirm on that

Please check above design and confirm?
@syam3526 @biswaz

@laxman954 The design seems good enough !


contrail-openstack assumes python3? python-requests is unavailable

ubuntu@dmzoneill-bastion:~/openstack-base$ juju debug-log --include contrail-openstack/1
unit-contrail-openstack-1: 10:35:55 INFO juju.worker.uniter awaiting error resolution for "install" hook
unit-contrail-openstack-1: 10:36:05 INFO juju.worker.uniter awaiting error resolution for "install" hook
unit-contrail-openstack-1: 10:36:05 DEBUG unit.contrail-openstack/1.install Traceback (most recent call last):
unit-contrail-openstack-1: 10:36:05 DEBUG unit.contrail-openstack/1.install   File "/var/lib/juju/agents/unit-contrail-openstack-1/charm/hooks/install.real", line 24, in <module>
unit-contrail-openstack-1: 10:36:05 DEBUG unit.contrail-openstack/1.install     import contrail_openstack_utils as utils
unit-contrail-openstack-1: 10:36:05 DEBUG unit.contrail-openstack/1.install   File "/var/lib/juju/agents/unit-contrail-openstack-1/charm/hooks/contrail_openstack_utils.py", line 8, in <module>
unit-contrail-openstack-1: 10:36:05 DEBUG unit.contrail-openstack/1.install     import requests
unit-contrail-openstack-1: 10:36:05 DEBUG unit.contrail-openstack/1.install ImportError: No module named requests
unit-contrail-openstack-1: 10:36:05 ERROR juju.worker.uniter.operation hook "install" failed: exit status 1
unit-contrail-openstack-1: 10:36:05 INFO juju.worker.uniter awaiting error resolution for "install" hook
unit-contrail-openstack-1: 10:35:49 INFO juju.worker.uniter awaiting error resolution for "install" hook
unit-contrail-openstack-1: 10:35:49 DEBUG unit.contrail-openstack/1.install Traceback (most recent call last):
unit-contrail-openstack-1: 10:35:49 DEBUG unit.contrail-openstack/1.install   File "/var/lib/juju/agents/unit-contrail-openstack-1/charm/hooks/install.real", line 24, in <module>
unit-contrail-openstack-1: 10:35:49 DEBUG unit.contrail-openstack/1.install     import contrail_openstack_utils as utils
unit-contrail-openstack-1: 10:35:49 DEBUG unit.contrail-openstack/1.install   File "/var/lib/juju/agents/unit-contrail-openstack-1/charm/hooks/contrail_openstack_utils.py", line 8, in <module>
unit-contrail-openstack-1: 10:35:49 DEBUG unit.contrail-openstack/1.install     import requests
unit-contrail-openstack-1: 10:35:49 DEBUG unit.contrail-openstack/1.install ImportError: No module named requests
unit-contrail-openstack-1: 10:35:49 ERROR juju.worker.uniter.operation hook "install" failed: exit status 1
unit-contrail-openstack-1: 10:35:49 INFO juju.worker.uniter awaiting error resolution for "install" hook
unit-contrail-openstack-1: 10:35:49 INFO juju.worker.uniter awaiting error resolution for "install" hook
unit-contrail-openstack-1: 10:35:54 INFO juju.worker.uniter awaiting error resolution for "install" hook
unit-contrail-openstack-1: 10:35:55 DEBUG unit.contrail-openstack/1.install Traceback (most recent call last):
unit-contrail-openstack-1: 10:35:55 DEBUG unit.contrail-openstack/1.install   File "/var/lib/juju/agents/unit-contrail-openstack-1/charm/hooks/install.real", line 24, in <module>
unit-contrail-openstack-1: 10:35:55 DEBUG unit.contrail-openstack/1.install     import contrail_openstack_utils as utils
unit-contrail-openstack-1: 10:35:55 DEBUG unit.contrail-openstack/1.install   File "/var/lib/juju/agents/unit-contrail-openstack-1/charm/hooks/contrail_openstack_utils.py", line 8, in <module>
unit-contrail-openstack-1: 10:35:55 DEBUG unit.contrail-openstack/1.install     import requests
unit-contrail-openstack-1: 10:35:55 DEBUG unit.contrail-openstack/1.install ImportError: No module named requests
unit-contrail-openstack-1: 10:35:55 ERROR juju.worker.uniter.operation hook "install" failed: exit status 1

solution
apt-get install python-requests
apt-get install python3-requests
juju resolved contrail-openstack/1

contrail-openstack charm is subordinate to another openstack charms. it is run with #!/usr/bin/env python and doesn't require particular python version.
because it subordinate - it uses the same libraries on host as other openstack components.
So how it is possible that nova, heat or neutron don't install python-requests?

Hey Andrey,
I will add another nova-compute unit shortly and see if i can reproduce the issue, and provide more detail

ubuntu@dmzoneill-bastion:~/openstack-base$ juju status --color
Model    Controller               Cloud/Region             Version  SLA          Timestamp
default  serverstack-serverstack  serverstack/serverstack  2.6.6    unsupported  10:08:38Z

App                     Version       Status       Scale  Charm                   Store       Rev  OS      Notes
ceph-mon                13.2.6        blocked          3  ceph-mon                jujucharms   38  ubuntu
ceph-osd                13.2.6        maintenance      3  ceph-osd                jujucharms  285  ubuntu
ceph-radosgw            13.2.6        blocked          1  ceph-radosgw            jujucharms  271  ubuntu
cinder                  14.0.0        active           1  cinder                  jujucharms  284  ubuntu
cinder-ceph             14.0.0        waiting          1  cinder-ceph             jujucharms  243  ubuntu
contrail-agent                        waiting          0  contrail-agent          jujucharms    1  ubuntu
contrail-analytics                    blocked          1  contrail-analytics      jujucharms    0  ubuntu
contrail-analyticsdb                  blocked          1  contrail-analyticsdb    jujucharms    0  ubuntu
contrail-controller                   blocked          1  contrail-controller     jujucharms    0  ubuntu
contrail-keystone-auth                active           1  contrail-keystone-auth  jujucharms    0  ubuntu
contrail-openstack                    error            1  contrail-openstack      jujucharms    0  ubuntu
glance                  18.0.0        active           1  glance                  jujucharms  282  ubuntu
keystone                15.0.0        active           1  keystone                jujucharms  301  ubuntu
mysql                   5.7.20-29.24  active           1  percona-cluster         jujucharms  276  ubuntu
neutron-api             14.0.2        active           1  neutron-api             jujucharms  273  ubuntu
neutron-gateway         14.0.2        error            1  neutron-gateway         jujucharms  262  ubuntu
neutron-openvswitch     14.0.2        waiting          1  neutron-openvswitch     jujucharms  263  ubuntu
nova-cloud-controller   19.0.1        active           1  nova-cloud-controller   jujucharms  329  ubuntu
nova-compute            19.0.1        waiting          1  nova-compute            jujucharms  302  ubuntu
ntp                     3.2           active           1  ntp                     jujucharms   35  ubuntu
openstack-dashboard     15.0.0        active           1  openstack-dashboard     jujucharms  288  ubuntu
rabbitmq-server         3.6.10        active           1  rabbitmq-server         jujucharms   89  ubuntu

Unit                       Workload     Agent      Machine  Public address  Ports                       Message
ceph-mon/0                 blocked      executing  1        <IP_ADDRESS>                                    Insufficient peer units to bootstrap cluster (require 3)
ceph-mon/1*                waiting      executing  2        <IP_ADDRESS>                                    Monitor bootstrapped but waiting for number of OSDs to reach expected-osd-count (3)
ceph-mon/2                 waiting      executing  3        <IP_ADDRESS>                                   Monitor bootstrapped but waiting for number of OSDs to reach expected-osd-count (3)
ceph-osd/0                 maintenance  executing  1        <IP_ADDRESS>                                    Initializing device /dev/vdb
ceph-osd/1*                active       idle       2        <IP_ADDRESS>                                    Unit is ready (1 OSD)
ceph-osd/2                 active       idle       3        <IP_ADDRESS>                                   Unit is ready (1 OSD)
ceph-radosgw/0*            blocked      idle       0        <IP_ADDRESS>       80/tcp                      Services not running that should be: radosgw
cinder/0*                  active       idle       4        <IP_ADDRESS>        8776/tcp                    Unit is ready
  cinder-ceph/0*           waiting      idle                <IP_ADDRESS>                                    Incomplete relations: ceph
contrail-analytics/0*      blocked      idle       12       <IP_ADDRESS>                                    Missing cloud_orchestrator info in relation with contrail-controller.
contrail-analyticsdb/0*    blocked      idle       13       <IP_ADDRESS>                                   Missing cloud_orchestrator info in relation with contrail-controller.
contrail-controller/0*     blocked      idle       14       <IP_ADDRESS>       8080/tcp,8082/tcp,8143/tcp  Image could not be pulled: contrail-node-init:5.0.2-0.360-queens
contrail-keystone-auth/0*  active       idle       15       <IP_ADDRESS>                                   Unit is ready
glance/0*                  active       idle       5        <IP_ADDRESS>       9292/tcp                    Unit is ready
keystone/0*                active       idle       6        <IP_ADDRESS>       5000/tcp                    Unit is ready
mysql/0*                   active       idle       7        <IP_ADDRESS>       3306/tcp                    Unit is ready
neutron-api/0*             active       idle       8        <IP_ADDRESS>        9696/tcp                    Unit is ready
  contrail-openstack/0*    error        idle                <IP_ADDRESS>                                    hook failed: "install"
neutron-gateway/0*         error        idle       0        <IP_ADDRESS>                                   hook failed: "config-changed"
nova-cloud-controller/0*   active       idle       9        <IP_ADDRESS>       8774/tcp,8775/tcp,8778/tcp  Unit is ready
nova-compute/0*            waiting      executing  1        <IP_ADDRESS>                                    Incomplete relations: storage-backend, compute
  neutron-openvswitch/0*   waiting      executing           <IP_ADDRESS>                                    Incomplete relations: messaging
  ntp/0*                   active       idle                <IP_ADDRESS>        123/udp                     chrony: Ready
openstack-dashboard/0*     active       idle       10       <IP_ADDRESS>       80/tcp,443/tcp              Unit is ready
rabbitmq-server/0*         active       idle       11       <IP_ADDRESS>       5672/tcp                    Unit is ready

Machine  State    DNS        Inst id                               Series  AZ    Message
0        started  <IP_ADDRESS>  be8b5404-30a1-415b-901b-aabc0a5249d2  bionic  nova  ACTIVE
1        started  <IP_ADDRESS>   08815bc0-4058-4304-b03a-e380809daa32  bionic  nova  ACTIVE
2        started  <IP_ADDRESS>   6acb9a4c-095b-496b-84d1-a115b9a5eab7  bionic  nova  ACTIVE
3        started  <IP_ADDRESS>  871c9a41-dce9-46be-b410-929d9defdb65  bionic  nova  ACTIVE
4        started  <IP_ADDRESS>   6306c518-1374-4637-996a-ab50bf19666e  bionic  nova  ACTIVE
5        started  <IP_ADDRESS>  ac08dae8-078d-41c4-9d69-22e9d278ef95  bionic  nova  ACTIVE
6        started  <IP_ADDRESS>  c4c55f93-d6e6-4450-ac66-1a3af7624939  bionic  nova  ACTIVE
7        started  <IP_ADDRESS>  d8500412-0c91-4879-aa07-9645dd9d53a0  bionic  nova  ACTIVE
8        started  <IP_ADDRESS>   3ae89e63-42e9-42f0-aa30-f887ef7bdc18  bionic  nova  ACTIVE
9        started  <IP_ADDRESS>  a5955c03-ee34-4196-af57-234c2457ae0e  bionic  nova  ACTIVE
10       started  <IP_ADDRESS>  11c22007-c2e9-43a9-96f3-6d9ba14db814  bionic  nova  ACTIVE
11       started  <IP_ADDRESS>  559d519b-25bc-4773-acf7-309bd78cc1ee  bionic  nova  ACTIVE
12       started  <IP_ADDRESS>   011842dd-7ede-44e9-a606-6c1b8f3efac6  bionic  nova  ACTIVE
13       started  <IP_ADDRESS>  00bac830-a6cf-4b35-863c-61c5269bb875  bionic  nova  ACTIVE
14       started  <IP_ADDRESS>  02054330-be6c-4114-85e2-7a58b93abbbc  bionic  nova  ACTIVE
15       started  <IP_ADDRESS>  756ee7fc-7032-426e-8cc5-524e108ec754  bionic  nova  ACTIVE

ubuntu@dmzoneill-bastion:~/openstack-base$ juju debug-log --include contrail-openstack/0
unit-contrail-openstack-0: 10:01:13 DEBUG unit.contrail-openstack/0.install     import requests
unit-contrail-openstack-0: 10:01:13 DEBUG unit.contrail-openstack/0.install ImportError: No module named requests
unit-contrail-openstack-0: 10:01:13 ERROR juju.worker.uniter.operation hook "install" failed: exit status 1
unit-contrail-openstack-0: 10:06:14 DEBUG unit.contrail-openstack/0.install Traceback (most recent call last):
unit-contrail-openstack-0: 10:06:14 DEBUG unit.contrail-openstack/0.install   File "/var/lib/juju/agents/unit-contrail-openstack-0/charm/hooks/install.real", line 24, in <module>
unit-contrail-openstack-0: 10:06:14 DEBUG unit.contrail-openstack/0.install     import contrail_openstack_utils as utils
unit-contrail-openstack-0: 10:06:14 DEBUG unit.contrail-openstack/0.install   File "/var/lib/juju/agents/unit-contrail-openstack-0/charm/hooks/contrail_openstack_utils.py", line 8, in <module>
unit-contrail-openstack-0: 10:06:14 DEBUG unit.contrail-openstack/0.install     import requests
unit-contrail-openstack-0: 10:06:14 DEBUG unit.contrail-openstack/0.install ImportError: No module named requests
unit-contrail-openstack-0: 10:06:14 ERROR juju.worker.uniter.operation hook "install" failed: exit status 1
^C

ubuntu@dmzoneill-bastion:~/openstack-base$ juju resolved contrail-openstack/0
ubuntu@dmzoneill-bastion:~/openstack-base$ juju run --unit contrail-openstack/0 'hooks/config-changed'
Traceback (most recent call last):
  File "hooks/config-changed", line 24, in <module>
    import contrail_openstack_utils as utils
  File "/var/lib/juju/agents/unit-contrail-openstack-0/charm/hooks/contrail_openstack_utils.py", line 8, in <module>
    import requests
ImportError: No module named requests
ubuntu@dmzoneill-bastion:~/openstack-base$ juju run --unit contrail-openstack/0 'hooks/config-changed'

Seems it defaults to python2 which has no python requests
ubuntu@dmzoneill-bastion:~/openstack-base$ juju ssh neutron-api/0
Welcome to Ubuntu 18.04.3 LTS (GNU/Linux 4.15.0-55-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

  System information as of Thu Aug  8 10:16:47 UTC 2019

  System load:  0.09              Processes:              112
  Usage of /:   4.8% of 38.60GB   Users logged in:        0
  Memory usage: 12%               IP address for ens3:    <IP_ADDRESS>
  Swap usage:   0%                IP address for fan-252: <IP_ADDRESS>

10 packages can be updated.
0 updates are security updates.

Last login: Thu Aug  8 10:11:55 2019 from <IP_ADDRESS>
ubuntu@juju-0a8009-default-8:~$
ubuntu@juju-0a8009-default-8:~$
ubuntu@juju-0a8009-default-8:~$
ubuntu@juju-0a8009-default-8:~$ python
Python 2.7.15+ (default, Nov 27 2018, 23:36:35)
[GCC 7.3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import requests
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named requests
>>>
ubuntu@juju-0a8009-default-8:~$ python3
Python 3.6.8 (default, Jan 14 2019, 11:02:34)
[GCC 8.0.1 20180414 (experimental) [trunk revision 259383]] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import requests
>>>

@Andrey-mp root cuase ^

OK, I've added it to dependencies - https://github.com/Juniper/contrail-charms/commit/e6d89195f4d3067a8300188022b8fd17ccfff01d

thank you


How can we add FNC1 character?

Hello!
In need to add this character to generate the barcode, here is a reference: http://support.idautomation.com/Barcode-FAQ/What-is-an-FNC1-character/_1108
Can you help me?

Hi. These links should help you:
https://github.com/lindell/JsBarcode/issues/148
https://github.com/lindell/JsBarcode/wiki/CODE128#ean128-option-for-code128

Closing the issue since


Fix #200 - Crash When Placing a Comparator Reading a Large Energy Storage

Fixes #200
Changes

Added ComparatorOutputProvider to standardizing getting a comparator value from a block entity
RedstoneAddonBlockEntity.RedstoneControllable overrides ComparatorOutputProvider#getComparatorOutput and always returns 0 since only the redstone addon should be used to read comparator output.

Fix
Initial Cause: Invalid casting in SmallStorageBlock
We now cast to ComparatorOutputProvider since all block entities of a block with a comparator output should be its child. Since RedstoneAddonBlockEntity.RedstoneControllable overrides ComparatorOutputProvider#getComparatorOutput there is no longer an invalid cast.

Great PR, thanks. Adding an interface to standardize this across entities is something I should've done much earlier already


Documentation cleanup

[x] configuration / accepted codes is out of date. There is also a top level section called Supported codes that contains some of the same information and has some additional entries (like for user codes).
[x] Transfer text in configuration / accepted codes to individual code pages and just put links to the codes in this section with description of arbitrary executables through User.
[x] installation for NERSC all has --user flags which doesn't seem to be necessary from my recent build experience (though this may vary depending on python environment configuration). It is probably best to drop --user and suggest it is added if problems are reported.
[x] introduction: Needs to be completely reworked
[x] make sure the new quick start page is easily accessible
[x] page for opal
[x] page for genesis

Finished as of 66ab1d3e98e407ad4a8598c6fbc8d94f142c48a2
Reorganization of run modes needs to be completed but will be done as its own issue (#72) now.


Superceed running jobs when a recheck is triggered

Stop building any old jobs when a recheck (or otherwise trigger) is
received for an identical gerrit-change-id set.
Fixes SCRD-5847
Also automatically recheck changes when their results become outdated. This has the added benefit of cancelling any running job too.
Fixes SCRD-5848
Process gerrit events for all projects
This will allow source-tracked projects with direct dependencies to
non-source-tracked projects to be retriggered or merged appropriately
when a gerrit event is incurred.
Fixes: SCRD-5877

It would be nice to have at least the SCRD-5847 fix landed, as I've seen more than a few occurrences of multiple jobs running for the same change/patchset lately.

Please fix the flake8 errors from travis.

I rebased the PR and removed the SCRD-5847 bits (which were moved to #3217)

The rebase missed that the template {ardana_maintenance_gating_job} is not there anymore.


Fix tutorial docs

Dear TensorFlow maintainers,
I noticed a missing closing ) for the tf.constant function in r0.12 and r0.11 of tensorflow/g3doc/tutorials/input_fn/index.md. This is a fix for the r0.12 docs.
Should I submit a separate PR for the r0.11 documentation too, or will this suffice?
Thanks

Can one of the admins verify this patch?

Sorry for the confusion. I noticed the issue in r0.12 and r0.11 tags, but it seems that another user has already sent a patch for this and the issue was resolved in the master branch.
my confusion arose from the fact that the tutorial page seems to default to the latest r0. version instead of master.
Please ignore/close my PR.


Binary Tree in c++

Write a program for Binary Tree in c++

Please assign this to me.

Hey, I'll love to work on this issue, Would appreciate it if you assign me.


Whenever I reopen VS Code, the Checkmarx plugin requires me to login again in order to run a scan.  Error:  "Access token expired. Please login again."

Whenever I reopen VS Code, the Checkmarx plugin requires me to login again in order to run a scan.  How can I get the plugin to remember my login so that I don't have to keep logging in whenever I want to run a scan?  Is there a way to tell if there's something wrong on my end?  My colleagues have the same problem, and we need to re-login each time.
Steps
Follow the VS Code setup instructions.
Install the Checkmarx plugin and set up a CxPortal server.
Click Padlock icon, login with Credentials.
Click Book icon, bind your project.
Run a scan if you want.  This scan works.

Close VS Code.
Open VS Code.
Try running a scan again. This error appears:

"Access token expired. Please login again."

Checkmarx console shows:

Error: Access token expired. Please login.
Sending GET request to https://checkmarx.internal/CxRestAPI/projects
GET request failed to https://checkmarx.internal/CxRestAPI/projects
Error: unable to get local issuer certificate
Sending GET request to https://checkmarx.internal/CxRestAPI/projects
GET request failed to https://checkmarx.internal/CxRestAPI/projects
Error: unable to get local issuer certificate
Error: Access token expired. Please login.

Now in CX Portal, click the padlock and login to Checkmarx portal again.  Run a scan.  It works.
Note: it doesn't matter if I set up the plugin via settings.json directly or via the UI steps.  We're facing the same problem each time we reopen VS Code.

This has been fixed in the latest release.
Let me know if you have any other questions.
@jbrotsos


Revert jupyter-activity-monitor-extension addition

Issue #, if available:
Description of changes:

Remove jupyter-activity-monitor-extension package

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Please hold of on Merging this chnage


Clean up our mess

Remove all boarding passes and entities once a flight has well and truly ended.

Boarding passes now auto delete a day after departue. 2023.9.6. Entities will be managed by the user.


Tracking: Add an indexer/caching service

Motivation
The indexer needs to notify clients when there are changes to the mempool or best chain with affected transactions.
This is more efficient than polling to check for changes, especially from the indexer's perspective, and has better usability for clients.
Design
Add a method to ChainTipChange in zebra-state for getting changes to the nullifier set, and a tonic IndexerRpcServer server for streaming responses to clients with server-sent events.
Implementation Plan
Preperation:

[ ] https://github.com/ZcashFoundation/zebra/issues/7927
[ ] #8618

RPC methods:

[ ] #8619
[ ] #8620
[ ] #8621
[ ] #8622

Indexer/Cacher:

[ ] https://github.com/ZcashFoundation/zebra/issues/8520
[ ] https://github.com/ZcashFoundation/zebra/issues/8576
[ ] https://github.com/ZcashFoundation/zebra/issues/8580
[ ] #8623
[ ] #8628

Optional:

[ ] Update TrustedChainSync to use the new RPC method to be notified when there’s a chain tip change or  a change to the mempool
[ ] Update zebra-scan to use RPC methods instead of a synced read state

I think this might be missing some of the notifications we need, namely when transactions are available and blocks are validated. See https://github.com/zcash/librustzcash/issues/1395#issuecomment-2211134913


generate documentation for puppet strings

This is to leverage puppet-strings to generate some automatic reference documentation

have added the REFERENCE.md file to development branch


forgot password page reloads after submit causing 2 refreshes

I upgraded to mokey-0.5.6-1.el7.x86_64 on Fedora 33 and tried setting the new option to replace_token: true and replace_token: false but the CAPTCHA for the Forgot Password option fails with  The numbers you typed in do not match the image as it appears the web page reloads after the logs say an email was sent.
May 18 15:23:57  gssproxy[1092333]: [CID 14][2021/05/18 19:23:57]: [status] Handling query input: 0x558546020700 (892)
May 18 15:23:57  gssproxy[1092333]: [CID 14][2021/05/18 19:23:57]: Connection matched service nfs-client
May 18 15:23:57  gssproxy[1092333]: [CID 14][2021/05/18 19:23:57]: [status] Processing request [0x558546020700 (892)]
May 18 15:23:57  gssproxy[1092333]: [CID 14][2021/05/18 19:23:57]: [status] Executing request 6 (GSSX_ACQUIRE_CRED) from [0x558546020700 (892)]
May 18 15:23:57  gssproxy[1092333]: [CID 14][2021/05/18 19:23:57]: gp_rpc_execute: executing 6 (GSSX_ACQUIRE_CRED) for service "nfs-client", euid: 0,socket: (null)
May 18 15:23:57  gssproxy[1092333]: [CID 14][2021/05/18 19:23:57]: [status] Returned buffer 6 (GSSX_ACQUIRE_CRED) from [0x558546020700 (892)]: [0x7f4548049060 (856)]
May 18 15:23:57  gssproxy[1092333]: [CID 14][2021/05/18 19:23:57]: [status] Handling query output: 0x7f4548049060 (856)
May 18 15:23:57  gssproxy[1092333]: [2021/05/18 19:23:57]: [status] Handling query reply: 0x7f4548049060 (856)
May 18 15:23:57  gssproxy[1092333]: [2021/05/18 19:23:57]: [status] Sending data: 0x7f4548049060 (856)
May 18 15:23:57  gssproxy[1092333]: [2021/05/18 19:23:57]: [status] Sending data [0x7f4548049060 (856)]: successful write of 856
May 18 15:23:57  gssproxy[1092333]: [CID 14][2021/05/18 19:23:57]: [status] Handling query input: 0x558546020700 (1048)
May 18 15:23:57  gssproxy[1092333]: [CID 14][2021/05/18 19:23:57]: Connection matched service nfs-client
May 18 15:23:57  gssproxy[1092333]: [CID 14][2021/05/18 19:23:57]: [status] Processing request [0x558546020700 (1048)]
May 18 15:23:57  gssproxy[1092333]: [CID 14][2021/05/18 19:23:57]: [status] Executing request 8 (GSSX_INIT_SEC_CONTEXT) from [0x558546020700 (1048)]
May 18 15:23:57  gssproxy[1092333]: [CID 14][2021/05/18 19:23:57]: gp_rpc_execute: executing 8 (GSSX_INIT_SEC_CONTEXT) for service "nfs-client", euid: 0,socket: (null)
May 18 15:23:57  gssproxy[1092333]:    GSSX_ARG_INIT_SEC_CONTEXT( call_ctx: { "" [  ] } context_handle: <Null> cred_handle:
 target_name: {<EMAIL_ADDRESS>{ 1 2 840 113554 1 2 1 4 } [  ] [  ] [ ] } mech_type: { 1 2 840 113554 1 2 2 } req_flags: 2 time_req: 0 input_cb: <Null> input_token: <Null> [ { [ 73796e635f6d6f6469666965645f63726564730 ] [<PHONE_NUMBER>6c740 ] } ] )
May 18 15:23:57 olddsm gssproxy[1092333]: [CID 14][2021/05/18 19:23:57]: Credentials allowed by configuration
May 18 15:23:57 olddsm gssproxy[1092333]:    GSSX_RES_INIT_SEC_CONTEXT( status: { 851968 { 1 2 840 113554 1 2 2 }<PHONE_NUMBER> "Unspecified GSS failure.  Minor code may provide more information" "Server<EMAIL_ADDRESS>not found in Kerberos database" [  ] } context_handle: <Null> output_token: <Null> )
May 18 15:23:57  gssproxy[1092333]: [CID 14][2021/05/18 19:23:57]: [status] Returned buffer 8 (GSSX_INIT_SEC_CONTEXT) from [0x558546020700 (1048)]: [0x7f4548018470 (236)]
May 18 15:23:57  gssproxy[1092333]: [CID 14][2021/05/18 19:23:57]: [status] Handling query output: 0x7f4548018470 (236)
May 18 15:23:57  gssproxy[1092333]: [2021/05/18 19:23:57]: [status] Handling query reply: 0x7f4548018470 (236)
May 18 15:23:57  gssproxy[1092333]: [2021/05/18 19:23:57]: [status] Sending data: 0x7f4548018470 (236)
May 18 15:23:57  gssproxy[1092333]: [2021/05/18 19:23:57]: [status] Sending data [0x7f4548018470 (236)]: successful write of 236
May 18 15:23:57  gssproxy[1092333]: [CID 14][2021/05/18 19:23:57]: [status] Handling query input: 0x558546020700 (892)
May 18 15:23:57  gssproxy[1092333]: [CID 14][2021/05/18 19:23:57]: Connection matched service nfs-client
May 18 15:23:57  gssproxy[1092333]: [CID 14][2021/05/18 19:23:57]: [status] Processing request [0x558546020700 (892)]
May 18 15:23:57  gssproxy[1092333]: [CID 14][2021/05/18 19:23:57]: [status] Executing request 6 (GSSX_ACQUIRE_CRED) from [0x558546020700 (892)]
May 18 15:23:57  gssproxy[1092333]: [CID 14][2021/05/18 19:23:57]: gp_rpc_execute: executing 6 (GSSX_ACQUIRE_CRED) for service "nfs-client", euid: 0,socket: (null)

Also does kinit admin need to be always unexpired for this to work?

I upgraded to mokey-0.5.6-1.el7.x86_64 on Fedora 33 and tried setting the new option to replace_token: true and replace_token: false but the CAPTCHA for the Forgot Password option fails with The numbers you typed in do not match the image as it appears the web page reloads after the logs say an email was sent.

I wasn't able to reproduce this. The logs above look to be krb related? Perhaps there's an issue with your kerb configs?

Also does kinit admin need to be always unexpired for this to work?

I'm not sure I follow the question but mokey does not require the admin user specifically anywhere.

Whether this is related or not after a server reboot:
ourserver systemd[1]: mokey.service: Failed with result 'exit-code'.
ourserver  mokey[17230]: time="2021-06-03T15:46:39-04:00" level=info msg="Using template dir: /usr/share/mokey/templates"
mokey[17230]: time="2021-06-03T15:46:39-04:00" level=fatal msg="dial tcp <IP_ADDRESS>:3306: connect: connection refused"

But IPA appears to be running and I can log into the IP GUI:
ipactl status
Directory Service: RUNNING
krb5kdc Service: RUNNING
kadmin Service: RUNNING
named Service: RUNNING
httpd Service: RUNNING
ipa-custodia Service: RUNNING
pki-tomcatd Service: RUNNING
ipa-otpd Service: RUNNING
ipa-dnskeysyncd Service: RUNNING
ipa: INFO: The ipactl command was successful


Wrong documentation

I think that the returned type in the documentation for
https://github.com/laravel/framework/blob/5.0/src/Illuminate/Database/Eloquent/Relations/HasManyThrough.php#L290
is wrong and should be array.

Looks wrong to me. We're open to PRs. :)


add new feature

:white_check_mark: the fix for this issue is now deployed to development in version 0.0.4  and available here


Delete method for PersistentVolumeClaim

Methods to delete PersistentVolumeClaim resources from the cluster

do you want to add deleteandwait too?

do you want to add deleteandwait too?

@achuzhoy sure, no biggie. Added DeleteAndWait method as well

/lgtm


Document breaking change that underlying Flask app can no longer be run directly.

Description
When using connexion and flask with the below version

Name: Flask
Version: 3.0.0
Name: connexion
Version: 3.0.1

Code

app.py code
import connexion
def post_greeting(name: str) -> str:
return f"Hello {name}"
api = connexion.FlaskApp(name, specification_dir="specs/")
api.add_api("openapi.yml", arguments={"title": "Hello World Example"})
app = api.app
openapi.yml
openapi.yml
openapi: 3.0.0
info:
title: Hello World Example
version: "1.0"
servers:

url: /api
description: Development API Location
paths:
/post_greeting:
get:
summary: Get a greeting
parameters:
- name: name
in: query
schema:
type: string
description: Name to be used in the greeting
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
properties:
message:
type: string

Actual behaviour
`During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/tariqjamal/anaconda3/envs/reflex-apps/lib/python3.11/site-packages/werkzeug/serving.py", line 362, in run_wsgi
execute(self.server.app)
File "/Users/tariqjamal/anaconda3/envs/reflex-apps/lib/python3.11/site-packages/werkzeug/serving.py", line 323, in execute
application_iter = app(environ, start_response)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/tariqjamal/anaconda3/envs/reflex-apps/lib/python3.11/site-packages/flask/app.py", line 1478, in call
return self.wsgi_app(environ, start_response)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/tariqjamal/anaconda3/envs/reflex-apps/lib/python3.11/site-packages/flask/app.py", line 1458, in wsgi_app
response = self.handle_exception(e)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/tariqjamal/anaconda3/envs/reflex-apps/lib/python3.11/site-packages/flask/app.py", line 1455, in wsgi_app
response = self.full_dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/tariqjamal/anaconda3/envs/reflex-apps/lib/python3.11/site-packages/flask/app.py", line 869, in full_dispatch_request
rv = self.handle_user_exception(e)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/tariqjamal/anaconda3/envs/reflex-apps/lib/python3.11/site-packages/flask/app.py", line 759, in handle_user_exception
return self.ensure_sync(handler)(e)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/tariqjamal/anaconda3/envs/reflex-apps/lib/python3.11/site-packages/connexion/apps/flask.py", line 245, in _http_exception
raise starlette.exceptions.HTTPException(exc.code, detail=exc.description)
starlette.exceptions.HTTPException: 404
`
@spec-first
@RobbeSneyders  @Ruwann Like this in another project i'm getting the error

raise NotFound() from None

werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.

Hi @tariqjamal-abdulazeez, how are you running the application? You should run the Connexion application directly, not the underlying Flask application.

@tariqjamal-abdulazeez how to achieve that because i have exactly the same issue !

I had a similar issue after upgrading from 2.14.0 and using connexion's FlaskApp instead of the Flask application fixed it.

Check this discussion for more info https://github.com/spec-first/connexion/discussions/1795

@RobbeSneyders could you write a documentation for migration step by step ? because really i'm not able to make it works with the new version

I had a similar issue after upgrading from 2.14.0 and using connexion's FlaskApp instead of the Flask application fixed i

@RobbeSneyders  I had tried that also but it doesn't work for me

I had a similar issue after upgrading from 2.14.0 and using connexion's FlaskApp instead of the Flask application fixed it.

I had a similar issue after upgrading from 2.14.0 and using connexion's FlaskApp instead of the Flask application fixed it.

@

Hi @tariqjamal-abdulazeez, how are you running the application? You should run the Connexion application directly, not the underlying Flask application.

@RobbeSneyders I tried that also but it does not work for me

I had a similar issue after upgrading from 2.14.0 and using connexion's FlaskApp instead of the Flask application fixed it.

@nickzandbergen  I need to achieve this thing in connexion latest version, but using the connexion latest docs with flask version 3.0 it not working properly

I had a similar issue after upgrading from 2.14.0 and using connexion's FlaskApp instead of the Flask application fixed it.

I had a similar issue after upgrading from 2.14.0 and using connexion's FlaskApp instead of the Flask application fixed it.

@

Hi @tariqjamal-abdulazeez, how are you running the application? You should run the Connexion application directly, not the underlying Flask application.

@RobbeSneyders I tried that also but it does not work for me

@RobbeSneyders While running with the connexion FlaskApp getting the below issue
uvicorn run:application
ERROR:    Error loading ASGI app. Could not import module "run".
configuration:
flask=3.0.0
connexion=3.0.1

@RobbeSneyders Could you write a documentation for migration step by step ? because really i'm not able to make it works with the new version

It's hard to write a general guide since users were using Connexion in many different ways. We spent a great amount of effort to update and improve our documentation for Connexion 3. Please try to use it to find your answers there.
If you run into specific errors, you can open an issue explaining the error and we can support on that error specifically. If we notice any gaps in our documentation based on these issues, we will update it.

It's hard to write a general guide since users were using Connexion in many different ways. We spent a great amount of effort to update and improve our documentation for Connexion 3. Please try to use it to find your answers there.

@RobbeSneyders Previously i had working with flask=2.2.5 and connexion = 2.14.2 with this configuration the application request are correctly but due to some dependency i had upgraded the both package to their latest version, but in that the request are correctly getting in server and flask before_request is executed after then when it try to match the url with openapi duing that getting the issue
I had tried all possible according to the docs but it doesn't work for me


📚 Maven repositories are not updated

💭 Description
Maven repositories are not updated.

Maven central repository is missing 0.1.1 release: https://mvnrepository.com/artifact/io.appwrite/sdk-for-kotlin
Sonatype is missing 0.2.0-SNAPSHOT: https://s01.oss.sonatype.org/content/repositories/snapshots/io/appwrite/sdk-for-kotlin/

Both those versions are released as per releases page but are not available for use.
👀 Have you spent some time to check if this issue has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Please also add 0.2.1 and 0.2.2:

@Caryntjen  0.2.2  should be available now 🙂

@christyjacob4 will the snapshot version 0.2.4-SNAPSHOT also be available on Maven Central?

FYI @zlmr the snapshots are available but on a different repo, so I needed to add the following:
repositories {
    maven {
        url "https://s01.oss.sonatype.org/content/repositories/snapshots/"
    }
}

Thabks @christyjacob4 for the tip!


bug: when false still prompts for question.

Describe the problem
The when field seems to have no effect on my questions. I am still promoted for the question even when when is explicitly set to false. Initially I thought it was an issue with Jinja rendering [[enter]] in my when field, but I then I set when to false to see if it would not prompt me the question, but even then I was prompted.
Template
template.zip
To Reproduce

Run copier template t1
Answer: Simply accept all the defaults

Logs
copier template t1

Create folders
enter? Format: bool
? [Y/n]

p
p? Format: str
 [ppp]:

Enter a folder name
folder_name? Format: str
 [helloworld]:

    create  .copier-answers.yml
    create  my_dir/

Expected behavior
I should not be prompted for this question.
Environment

OS: Ubuntu 20.04.3 LTS
Copier version: 5.1.0
Python version: 3.9
Installation method: pip

I just realized that this might be a 6.x feature?
If that is the case, my bad. This issue can be closed.

Yes, sorry...

@Yajo I think logging would have been really important in this scenario. It wasn't abundantly clear that that yaml key was not supported.
Would it be possible to add WARNING messages when an unsupported YAML key is found for the currently installed Copier version? i.e. a keywords dictionary/set, and if a key for a question is not found in the dictionary/set, a warning is displayed that key is has no effect or something along those lines.

That could be helpful, yes. However it would create unnecessary noise when one of those keys gets deprecated and removed in the future.
It seems like a separate issue though.
I have no plans to implement that, but I'd review the PR if somebody wants to volunteer.


Change WWID to SATA name for ESXi SATA drive ID

Background
The ESXi use their own method to generate a identity for the hard drives they found in the system. We use this script run microkernel to gernerate the same ID using the same algorithm as vmware. However in some latest server, we found some SSD's ESXi ID is wrong in RackHD.  It is because RackHD will use WWID to overide the SATA name if it is available. But in fact, ESXi use SATA name to identify this kind of SATA drive.
Details
Revert the overide process. Use SATA name as ESXi  ID if drive have both SATA name and WWID.
Result
Validated PASS on EMC platforms.
@pengz1 @iceiilin

BUILD on-http #414 : FAILURE

BUILD on-http #414  Error Logs  ▼Test Name: get_driveid script parser should parse normal data
Error Details: expected '[{"scsiId":"6:0:0:0","virtualDisk":"","esxiWwid":"t10.ATA_____QEMU_HARDDISK___________________________QM00001_____________","devName":"sdb","identifier":0,"linuxWwid":"/dev/disk/by-id/ata-32GB_SATA-Flash_Drive_QM00001"},{"scsiId":"5:0:0:0","virtualDisk":"","esxiWwid":"t10.ATA_____QEMU_HARDDISK___________________________QM00001_____________","devName":"sda","identifier":1,"linuxWwid":"/dev/disk/by-id/ata-HUS724040ALA640_PBJY9ZJX"},{"scsiId":"7:2:0:0","virtualDisk":"/c7/v0","esxiWwid":"naa.600163600196c0401e0c0e6511cec3c0","devName":"sdc","identifier":2,"linuxWwid":"/dev/disk/by-id/scsi-3600163600196c0401e0c0e6511cec3c0"},{"scsiId":"7:0:1:0","virtualDisk":"","esxiWwid":"naa.600163600196c0401e0c0e6511dec3c0","devName":"sdg","identifier":3,"linuxWwid":"/dev/disk/by-id/scsi-3600163600196c0401e0c0e6511dec3c0"},{"scsiId":"8:0:0:0","virtualDisk":"","esxiWwid":"mpx.vmhba32:C0:T0:L0","devName":"sdd","identifier":4,"linuxWwid":"/dev/disk/by-id/usb-SMART_eUSB_SPG143500HQ-0:0"}]' to deeply equal '[{"scsiId":"6:0:0:0","virtualDisk":"","esxiWwid":"t10.ATA_____QEMU_HARDDISK___________________________QM00001_____________","devName":"sdb","identifier":0,"linuxWwid":"/dev/disk/by-id/ata-32GB_SATA-Flash_Drive_QM00001"},{"scsiId":"5:0:0:0","virtualDisk":"","esxiWwid":"naa.5000cca23de98340","devName":"sda","identifier":1,"linuxWwid":"/dev/disk/by-id/ata-HUS724040ALA640_PBJY9ZJX"},{"scsiId":"7:2:0:0","virtualDisk":"/c7/v0","esxiWwid":"naa.600163600196c0401e0c0e6511cec3c0","devName":"sdc","identifier":2,"linuxWwid":"/dev/disk/by-id/scsi-3600163600196c0401e0c0e6511cec3c0"},{"scsiId":"7:0:1:0","virtualDisk":"","esxiWwid":"naa.600163600196c0401e0c0e6511dec3c0","devName":"sdg","identifier":3,"linuxWwid":"/dev/disk/by-id/scsi-3600163600196c0401e0c0e6511dec3c0"},{"scsiId":"8:0:0:0","virtualDisk":"","esxiWwid":"mpx.vmhba32:C0:T0:L0","devName":"sdd","identifier":4,"linuxWwid":"/dev/disk/by-id/usb-SMART_eUSB_SPG143500HQ-0:0"}]'
Stack Trace: AssertionError: expected '[{"scsiId":"6:0:0:0","virtualDisk":"","esxiWwid":"t10.ATA_____QEMU_HARDDISK___________________________QM00001_____________","devName":"sdb","identifier":0,"linuxWwid":"/dev/disk/by-id/ata-32GB_SATA-Flash_Drive_QM00001"},{"scsiId":"5:0:0:0","virtualDisk":"","esxiWwid":"t10.ATA_____QEMU_HARDDISK___________________________QM00001_____________","devName":"sda","identifier":1,"linuxWwid":"/dev/disk/by-id/ata-HUS724040ALA640_PBJY9ZJX"},{"scsiId":"7:2:0:0","virtualDisk":"/c7/v0","esxiWwid":"naa.600163600196c0401e0c0e6511cec3c0","devName":"sdc","identifier":2,"linuxWwid":"/dev/disk/by-id/scsi-3600163600196c0401e0c0e6511cec3c0"},{"scsiId":"7:0:1:0","virtualDisk":"","esxiWwid":"naa.600163600196c0401e0c0e6511dec3c0","devName":"sdg","identifier":3,"linuxWwid":"/dev/disk/by-id/scsi-3600163600196c0401e0c0e6511dec3c0"},{"scsiId":"8:0:0:0","virtualDisk":"","esxiWwid":"mpx.vmhba32:C0:T0:L0","devName":"sdd","identifier":4,"linuxWwid":"/dev/disk/by-id/usb-SMART_eUSB_SPG143500HQ-0:0"}]' to deeply equal '[{"scsiId":"6:0:0:0","virtualDisk":"","esxiWwid":"t10.ATA_____QEMU_HARDDISK___________________________QM00001_____________","devName":"sdb","identifier":0,"linuxWwid":"/dev/disk/by-id/ata-32GB_SATA-Flash_Drive_QM00001"},{"scsiId":"5:0:0:0","virtualDisk":"","esxiWwid":"naa.5000cca23de98340","devName":"sda","identifier":1,"linuxWwid":"/dev/disk/by-id/ata-HUS724040ALA640_PBJY9ZJX"},{"scsiId":"7:2:0:0","virtualDisk":"/c7/v0","esxiWwid":"naa.600163600196c0401e0c0e6511cec3c0","devName":"sdc","identifier":2,"linuxWwid":"/dev/disk/by-id/scsi-3600163600196c0401e0c0e6511cec3c0"},{"scsiId":"7:0:1:0","virtualDisk":"","esxiWwid":"naa.600163600196c0401e0c0e6511dec3c0","devName":"sdg","identifier":3,"linuxWwid":"/dev/disk/by-id/scsi-3600163600196c0401e0c0e6511dec3c0"},{"scsiId":"8:0:0:0","virtualDisk":"","esxiWwid":"mpx.vmhba32:C0:T0:L0","devName":"sdd","identifier":4,"linuxWwid":"/dev/disk/by-id/usb-SMART_eUSB_SPG143500HQ-0:0"}]'
    at assertEqual (node_modules/chai/lib/chai/core/assertions.js:439:19)
    at ctx.(anonymous function) (node_modules/chai/lib/chai/utils/addMethod.js:40:25)
    at doAsserterAsyncAndAddThen (node_modules/chai-as-promised/lib/chai-as-promised.js:298:33)
    at null.<anonymous> (node_modules/chai-as-promised/lib/chai-as-promised.js:251:21)
    at ctx.(anonymous function) [as equal] (node_modules/chai/lib/chai/utils/overwriteMethod.js:48:33)
    at Context.<anonymous> (spec/data/templates/get_driveid-spec.js:102:36)

Will this change impact secure erase or other features (though I doesn't find others) @pengz1 ?

Also @nortonluo I suggest to squash your commit into one if you don't view it necessary to keep them.


Bar tests relying on visiting webpages outside the deployment/host

Happy to pick this up. Did you have an example of it happening? Also did you have an idea of how you'd tackle it? I think a test like: "github link should navigate to github.com" can be useful and so we should still allow for navigating to an external host but we should also ensure we stop after navigating to the external host.

On some previous tests where the model was clicking a little more aimlessly, it clicked on the "Part of TodoMVC" link and then hallucinated an API action for clicking the back button. I'm not sure how to handle -- this feels like a playwright nav issue, we don't want to stub out requests to other hosts but just make page navigation fail with say a custom error code like 499 that we also explain to the model (if you encounter 499 it's because you accidently strayed onto another website, so use goto navigation API to correctly your browsing or something). Maybe placing a listener on page event and bubbling an error to the playwright step, so it gets fed back to the message history through the existing error recovery?
page.on('framenavigating', (url) => {
    const targetUrl = new URL(url);
    if (targetUrl.host !== allowedHost) {
      console.log(`Navigation to external host blocked: ${targetUrl.href}`);
      // Throw a custom error or handle as needed
      throw new Error('499 Navigation to external host blocked');
    }
  });

Sounds good. I wonder if even just mentioning it in the initial system prompt would work. Eg if the current urls host != allowed host then use the goto url to navigate back to allowedUrl. Either way we should setup a proper test case for it so we can ensure whatever solution we use works. Will put this on the back-burner for now.


Grid / List view icons transposed

Description:  On all the catalog pages, the icons for list and grid are transposed. When the system is displaying list view, the grid icon should appear in the upper right corner. If the system is displaying the grid view, the icon in the upper right corner should be the list view icon.
How to duplicate: Visit any search result or subcategory listing page

PR: GH-2495

QA:
Something might have happened with the icon component but this isn't working anymore. As shown by these screenshots.

It seems that the icon now appends classes instead of replacing them.

PR: GH-2583

Passing the hotfix, but needs to be followed up with Tobias on the cx-icon component


rspamd-1.8.3 installs missing symlinks

After installing from the lorbus copr I get a bad symlink:
$ ls -l /usr/bin/rspamd
lrwxrwxrwx 1 root root 12 Dec 20 17:31 /usr/bin/rspamd -> rspamd-1.8.3

I'm not really sure if this is the best way to fix the issue, but this patch applied locally seems to resolve the problem:
diff --git a/rspamd.spec b/rspamd.spec
index f01ca9d..12cc9aa 100644
--- a/rspamd.spec
+++ b/rspamd.spec
@@ -137,7 +137,6 @@ rm -rf freebsd
 %install
 %{make_install} DESTDIR=%{buildroot} INSTALLDIRS=vendor
 # The tests install some files we don't want so ship
-rm -f %{buildroot}%{_bindir}/rspam{adm,c,d}-%{version}
 rm -f %{buildroot}%{_libdir}/debug/usr/bin/rspam*
 install -Ddpm 0755 %{buildroot}%{_sysconfdir}/%{name}/{local,override}.d/
 install -Dpm 0644 %{SOURCE1} %{buildroot}%{_presetdir}/80-rspamd.preset

Thank you for the report!
It looks like a reasonable fix to me. Will investigate this a little further and do a new build asap.


Chore/migrate esm

Codecov Report
All modified lines are covered by tests :white_check_mark:
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Files
Coverage Δ

src/components/CareerCard.tsx
100.00% <100.00%> (ø)

src/pages/blog/index.tsx
93.18% <100.00%> (ø)

src/utils/storybook/withTheme.tsx
0.00% <ø> (ø)

:loudspeaker: Thoughts on this report? Let us know!.


Cosmetic problems

There are some cosmetic problems since switching tu Bulma 1:

some buttons have dark text instead of light
the background colour for the "Registers" or the "live help" panels is too contrasted compared to normal background
not enough spacing between the "Auto" and "Manual" choices for the register address
in dark mode, the hover text for the undo/redo buttons is unreadable (not tested light mode yet)

the background colour when selecting an element from a bitfield is ugly


net: lwm2m: wrong SenML CBOR object link encoding

Zephyr's SenML CBOR encoding is not in line with the specification. It it using TLV format (encoding the object link into a 32 bit value) instead of using the text format (encoding the link to a string).
References:

JSON Format
Object Link Format
CBOR Example

Fixed with https://github.com/zephyrproject-rtos/zephyr/pull/53461


Version 4.2.1 Removed Support for Ruby 2.1 & 2.2

Was this intentional?
The Changelog does not mention it, and it's quite unusual for a patch version to cause breaking changes. The README also still says that Ruby 2.1+ is supported.
Changed here: https://github.com/rocketjob/semantic_logger/commit/b1f09fc77333386ae8d59f4e61867e157972ae9c#diff-2737c44c682ec74fe0955bbf1c92e631R20

If you are running Ruby 2.1 or 2.2, bundler will not see the newer gem version on older Ruby versions, so it will not impact anyone running bundle update on the older Ruby versions.
Ruby 2.1 and 2.2 were causing a security compliance violation. Recent security patches were not applied to those versions and they should therefore not be used.
RuboCop reported these discrepancies in the gemspec, so it was fixed as part of the maintenance/security patch. The readme can also be updated accordingly.

Understood. I only flagged it because I thought it might have been accidental to introduce a breaking change in a patch version rather than a major or minor release. Wasn't sure if this project followed semver.
Bundler does break using bundler 1.16.1 (latest):
bundle update rails_semantic_logger
...
Fetching semantic_logger 4.2.1 (was 4.2.0)
Installing semantic_logger 4.2.1 (was 4.2.0)
Gem::InstallError: semantic_logger requires Ruby version >= 2.3.
An error occurred while installing semantic_logger (4.2.1), and Bundler cannot continue.
Make sure that `gem install semantic_logger -v '4.2.1'` succeeds before bundling.

In Gemfile:
  rails_semantic_logger was resolved to 4.2.1, which depends on
    semantic_logger

For those of us on older versions of ruby, will this gem no longer work? Or was this just to satisfy the rubocop check? If the latter, I'll fork it as needed.
Thanks for the useful gem!

RuboCop has automated tools to upgrade the code to use some of the newer language features, so I don't think it will work 100% on Ruby 2.2.
Semantic Logger is tested against all of the following Ruby versions, so over time we have to stop supporting old Ruby versions:

2.3.7
2.4.4
2.5.1
2.6.0-preview1
jruby-<IP_ADDRESS>

Hopefully you are able to upgrade to a newer Ruby version soon.


Adding tsup in base package

@mPaella lets test this one and do a release tomorrow 😄

cc @angel-paella


Unable to use img with Alpine Linux

Steps to reproduce
Files system
.
├── Dockerfile
├── entrypoint.sh
├── image
│   └── Dockerfile
└── start.bash

1 directory, 4 files

Contents
Dockerfile
FROM node:alpine

COPY ./image /image

COPY ./entrypoint.sh /entrypoint.sh

RUN chmod +x /entrypoint.sh

ENTRYPOINT ["/entrypoint.sh"]

entrypoint.sh
#!/bin/sh

errcho(){ >&2 echo $@; }

apk_packages="git curl shadow-uidmap libseccomp-dev"

for apk_package in ${apk_packages}
do
	rc=1
	while [ ${rc} -ne 0 ]
	do
		apk add --no-cache "${apk_package}"
		rc=$?
		if [ ${rc} -ne 0 ]
		then
			errcho "Retrying apk add --no-cache ${apk_package}"
			sleep 1
		fi
	done
done

rc=1
while [ ${rc} -ne 0 ]
do
	curl -fSL "https://github.com/genuinetools/img/releases/download/v0.5.1/img-linux-amd64" -o /usr/local/bin/img
	rc=$?
	if [ ${rc} -ne 0 ]
	then
		errcho "Retrying curl -fSL \"https://github.com/genuinetools/img/releases/download/v0.5.1/img-linux-amd64\" -o /usr/local/bin/img"
		sleep 2
	fi
done

echo 1 > /proc/sys/kernel/unprivileged_userns_clone

IMG_DISABLE_EMBEDDED_RUNC=1

chmod a+x /usr/local/bin/img

cd /image

img build --tag docker.io/dummy .

image/Dockerfile
FROM node:alpine

start.bash
#!/bin/bash

here_dir=`dirname $0 | while read a; do cd $a && pwd && break; done `

img_name=${1:-"img--img"}
ctn_name=${2:-"img--ctn"}

docker \
	stop \
		"${ctn_name}"

docker \
	rm \
		"${ctn_name}"

docker \
	build \
		--no-cache \
		--rm \
		--tag "${img_name}" \
		"${here_dir}"

docker \
	run \
		-it \
		"${img_name}"

Running start.bash
> ./start.bash
Error response from daemon: No such container: img--ctn
Error: No such container: img--ctn
Sending build context to Docker daemon  6.144kB
Step 1/5 : FROM node:alpine
 ---> 5206c0dd451a
Step 2/5 : COPY ./image /image
 ---> a06b27ec19d7
Step 3/5 : COPY ./entrypoint.sh /entrypoint.sh
 ---> e2b4e3160655
Step 4/5 : RUN chmod +x /entrypoint.sh
 ---> Running in e464e19b918c
Removing intermediate container e464e19b918c
 ---> 468daf9cb54a
Step 5/5 : ENTRYPOINT ["/entrypoint.sh"]
 ---> Running in dc64fc41f3fa
Removing intermediate container dc64fc41f3fa
 ---> ecd13489c3f9
Successfully built ecd13489c3f9
Successfully tagged img--img:latest
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/community/x86_64/APKINDEX.tar.gz
(1/7) Installing ca-certificates (20171114-r3)
(2/7) Installing nghttp2-libs (1.32.0-r0)
(3/7) Installing libssh2 (1.8.0-r3)
(4/7) Installing libcurl (7.61.1-r0)
(5/7) Installing expat (2.2.5-r0)
(6/7) Installing pcre2 (10.31-r0)
(7/7) Installing git (2.18.0-r0)
Executing busybox-1.28.4-r1.trigger
Executing ca-certificates-20171114-r3.trigger
OK: 21 MiB in 22 packages
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/community/x86_64/APKINDEX.tar.gz
(1/1) Installing curl (7.61.1-r0)
Executing busybox-1.28.4-r1.trigger
OK: 21 MiB in 23 packages
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/community/x86_64/APKINDEX.tar.gz
(1/1) Installing shadow-uidmap (4.5-r0)
Executing busybox-1.28.4-r1.trigger
OK: 21 MiB in 24 packages
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/community/x86_64/APKINDEX.tar.gz
(1/4) Installing linux-headers (4.4.6-r2)
(2/4) Installing libseccomp (2.3.3-r1)
(3/4) Installing pkgconf (1.5.3-r0)
(4/4) Installing libseccomp-dev (2.3.3-r1)
Executing busybox-1.28.4-r1.trigger
OK: 27 MiB in 28 packages
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   606    0   606    0     0    900      0 --:--:-- --:--:-- --:--:--   899
100 21.5M  100 21.5M    0     0  1699k      0  0:00:13  0:00:13 --:--:-- 1908k
/entrypoint.sh: line 32: can't create /proc/sys/kernel/unprivileged_userns_clone: Read-only file system
Building docker.io/library/dummy:latest
Setting up the rootfs... this may take a bit.
[+] Building 0.2s (2/2) FINISHED
 => [internal] load .dockerignore                                                                                0.1s
 => => transferring context: 2B                                                                                0.0s
 => [internal] load Dockerfile                                                                                0.2s
 => => transferring dockerfile: 54B                                                                                0.0s
failed to solve: failed to read dockerfile: failed to mount /tmp/buildkit-mount745664616: [{Type:bind Source:/root/.local/share/img/runc/native/snapshots/snapshots/2 Options:[rbind ro]}]: operation not permitted

Question
Does someone know what I am doing wrong :persevere: ?

Same problem. Following here...

You need --privileged

@AkihiroSuda thank you for your answer. Can you explain a little more where I have to do so?

docker \
	run \
		-it \
		"${img_name}"

to
docker \
	run \
		-it \
		--privileged \
		"${img_name}"

@AkihiroSuda Alright, thank you very much for fixing the use case I explained. Maybe you can also explain how to enable privileges for Kubernetes containers? For instance with minikube or kubectl?

@AkihiroSuda thank you very much, can you also explain how to run containers in Kubernetes with privileged enable?


Reading sharded SAM / CRAM fails on some filesystems

It seems like reading sharded sam / cram files correctly depends on what file system you're using.  Particularly, the order the shards are read seems to be different depending on which underlying filesystem you're using.  I suspect that there is a call to get an iterator over the part files that gets an iterator directly from the file system and then doesn't sort it.
BAMInputFormat seems to work because it overrides getSplits and then sorts them based on the returned path.  ExtendingAnySAMInputFormat to also override getSplits seems to fix the problem, but it's a nasty hack that relies on casting things in various ways.  We should fix it at the source instead.
  public static class SplitSortingSamInputFormat extends AnySAMInputFormat{
        @SuppressWarnings("unchecked")
        @Override
        public List<InputSplit> getSplits(JobContext job) throws IOException {
            final List<InputSplit> splits = super.getSplits(job);

            if( splits.stream().allMatch(split -> split instanceof FileVirtualSplit || split instanceof FileSplit)) {
                splits.sort(Comparator.comparing(split -> {
                    if (split instanceof FileVirtualSplit) {
                        return ((FileVirtualSplit) split).getPath();
                    } else {
                        return ((FileSplit) split).getPath();
                    }
                }));
            }

            return splits;
        }
    }

We noticed this as part of adding tests on sharded files in https://github.com/broadinstitute/gatk/pull/4545/files.  The tests passed on OSX but failed with out of order files on Travis (running ubuntu).

@tomwhite Could you give us your thoughts on this when you get a chance?

I thought that Hadoop's FileInputFormat returned splits in lexicographic order, see
https://hadoop.apache.org/docs/r2.8.2/api/org/apache/hadoop/fs/FileSystem.html#globStatus(org.apache.hadoop.fs.Path)
where it says "Results are sorted by their names". Have you got some more details about the input file path you used, the files actually in the directory, and the order that the splits were read in?
The Hadoop-BAM fix would be to change AnySAMInputFormat to do the sort.


Pelco cameras cause exception with Types

This line was causing the error:
'types'   : probe_match['Types'].split(/\s+/),
Fixed by adding similar code as was done for Scopes.
Also, added a bit of error handling with:
if(probe_matches !== undefined) {
Code is tested with Pelco and Hikvision cameras.
Updated version to 0.1.1

Thank you so match for your contribution!
I merged your pull request.


Docker Build credentials Issue

Successfully built af74c129c413
Successfully tagged container:1.0
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Docker Push)
[Pipeline] withCredentials
Masking supported pattern matches of $dockerpassword
[Pipeline] {
[Pipeline] sh

docker login -u devops -p {dockepassword}
WARNING! Using --password via the CLI is insecure. Use --password-stdin.
Error response from daemon: Get https://registry-1.docker.io/v2/: unauthorized: incorrect username or password
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: script returned exit code 1
Finished: FAILURE

Hi Naga sagar,
While giving username and password
Dont give email address as username
Give username of account.
it may work please try.

I have given username only not email.

Hi ok i will Check is their any oher thing you are missing can you please share pipeline script you have written

hi Ravi.
please find the below Jenkins pipeline script which I have written to deploy a docker container.
node('slave') {
stage('SCM Checkout') {
git 'https://github.com/Nara-Sagar7/Game-of-life.git'
}
stage('Build') {
sh 'mvn clean package'
}
stage('Quality Check') {
withSonarQubeEnv('SONAR') {
sh 'mvn sonar:sonar'
}
}
stage('Docker Build') {
sh 'docker build -t container:1.0 .'
}
stage('Docker Push') {
withCredentials([string(credentialsId: 'docker-password', variable: 'dockerpassword')]) {
sh "docker login -u sagardevops -p ${dockepassword}"
}
sh 'docker push sagardevops/container:1.0 .'
}
}

hi Ravi.
I think I have fixed the issue it the problem with the credentials as well as the docker image tagging now its resolved thanks for your help.


Add swift version to podspec

Define swift_version for the Podfile which is read when the library is
integrated
If this is not supplied then Macaw in Pods settings of the integrated
project gets the project's swift version which leads to a problem
if the integrator is using different Swift version in his project
For him the only workaround is to specify the post_install hook
where he sets the config.build_settings['SWIFT_VERSION'] = '4.2'
https://github.com/CocoaPods/CocoaPods/issues/7327
For library developers who rely on this library this is also the problem
because the s.pod_target_xcconfig is ignored when using the cocoapods-packager
https://github.com/CocoaPods/cocoapods-packager/issues/210

@robertbarclay sure, once we finish with the recent tasks we will publish a new version. I think it will be done in the nearest 2 weeks.


🔧 :react-native-vision-camera:compileDebugKotlin FAILED

How were you trying to build the app?
Build Error with react-native-vision-camera on Expo
Description
I am trying to use the react-native-vision-camera package to build a real-time detection app with Expo. However, I encounter build errors that prevent the app from compiling successfully.
Steps to Reproduce

Create a new Expo project:
npx create-expo-app@latest MyNewApp --template
cd MyNewApp

Install react-native-vision-camera package:
npm install react-native-vision-camera

Attempt to build the project:
npx expo run:android

Expected Behavior
The project should build successfully and allow me to use the react-native-vision-camera package for real-time detection.
Additional Information
I have tried changing the React Native version and the react-native-vision-camera version. I also created a new Expo project and installed the camera package, but I always get the same error.
Any help to resolve this issue would be greatly appreciated.
Thank you!
Full build logs
› Building app...
Configuration on demand is an incubating feature.

> Configure project :expo

Using expo modules
  - expo-asset (10.0.6)
  - expo-constants (16.0.2)
  - expo-file-system (17.0.1)
  - expo-font (12.0.6)
  - expo-keep-awake (13.0.2)
  - expo-modules-core (1.12.12)
  - expo-splash-screen (0.27.4)
  - expo-system-ui (3.0.4)
  - expo-web-browser (13.0.3)

> Configure project :react-native-reanimated
Android gradle plugin: 8.2.1
Gradle: 8.6

> Configure project :react-native-vision-camera
[VisionCamera] Thank you for using VisionCamera ??
[VisionCamera] If you enjoy using VisionCamera, please consider sponsoring this project: http://github.com/sponsors/mrousavy
[VisionCamera] node_modules found at C:\Users\santy\Downloads\myapp\node_modules
[VisionCamera] VisionCamera_enableFrameProcessors is set to true!
[VisionCamera] react-native-worklets-core not found, Frame Processors are disabled!
[VisionCamera] VisionCamera_enableCodeScanner is set to false!

> Task :react-native-vision-camera:compileDebugKotlin FAILED
e: file:///C:/Users/santy/Downloads/myapp/node_modules/react-native-vision-camera/android/src/main/java/com/mrousavy/camera/frameprocessors/VisionCameraProxy.kt:31:79 This API is provided only for React Native frameworks and not intended for general users. This API can change between minor versions in alignment with React Native frameworks and won't be considered a breaking change.
e: file:///C:/Users/santy/Downloads/myapp/node_modules/react-native-vision-camera/android/src/main/java/com/mrousavy/camera/frameprocessors/VisionCameraProxy.kt:36:19 This API is provided only for React Native frameworks and not intended for general users. This API can change between minor versions in alignment with React Native frameworks and won't be considered a breaking change.
e: file:///C:/Users/santy/Downloads/myapp/node_modules/react-native-vision-camera/android/src/main/java/com/mrousavy/camera/frameprocessors/VisionCameraProxy.kt:36:47 This API is provided only for React Native frameworks and not intended for general users. This API can change between minor versions in alignment with React Native frameworks and won't be considered a breaking change.
e: file:///C:/Users/santy/Downloads/myapp/node_modules/react-native-vision-camera/android/src/main/java/com/mrousavy/camera/frameprocessors/VisionCameraProxy.kt:75:73 This API is provided only for React Native frameworks and not intended for general users. This API can change between minor versions in alignment with React Native frameworks and won't be considered a breaking change.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':react-native-vision-camera:compileDebugKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
   > Compilation error. See log for more details

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

BUILD FAILED in 47s
308 actionable tasks: 25 executed, 17 from cache, 266 up-to-date
Error: C:\Users\santy\Downloads\myapp\android\gradlew.bat app:assembleDebug -x lint -x test --configure-on-demand --build-cache -PreactNativeDevServerPort=8081 -PreactNativeArchitectures=arm64-v8a exited with non-zero code: 1
Error: C:\Users\santy\Downloads\myapp\android\gradlew.bat app:assembleDebug -x lint -x test --configure-on-demand --build-cache -PreactNativeDevServerPort=8081 -PreactNativeArchitectures=arm64-v8a exited with non-zero code: 1
    at ChildProcess.completionListener (C:\Users\santy\Downloads\myapp\node_modules\@expo\spawn-async\build\spawnAsync.js:42:23)
    at Object.onceWrapper (node:events:632:26)
    at ChildProcess.emit (node:events:517:28)
    at cp.emit (C:\Users\santy\Downloads\myapp\node_modules\cross-spawn\lib\enoent.js:34:29)
    at maybeClose (node:internal/child_process:1098:16)
    at ChildProcess._handle.onexit (node:internal/child_process:303:5)
    ...
    at spawnAsync (C:\Users\santy\Downloads\myapp\node_modules\@expo\spawn-async\build\spawnAsync.js:7:23)
    at spawnGradleAsync (C:\Users\santy\Downloads\myapp\node_modules\@expo\cli\build\src\start\platforms\android\gradle.js:96:48)
    at assembleAsync (C:\Users\santy\Downloads\myapp\node_modules\@expo\cli\build\src\start\platforms\android\gradle.js:74:18)
    at runAndroidAsync (C:\Users\santy\Downloads\myapp\node_modules\@expo\cli\build\src\run\android\runAndroidAsync.js:45:37)

Project dependencies
"dependencies": {
    "@expo/vector-icons": "^14.0.0",
    "@react-navigation/native": "^6.0.2",
    "expo": "~51.0.9",
    "expo-constants": "~16.0.2",
    "expo-font": "~12.0.6",
    "expo-linking": "~6.3.1",
    "expo-router": "~3.5.14",
    "expo-splash-screen": "~0.27.4",
    "expo-status-bar": "~1.12.1",
    "expo-system-ui": "~3.0.4",
    "expo-web-browser": "~13.0.3",
    "react": "18.2.0",
    "react-dom": "18.2.0",
    "react-native": "^0.74.1",
    "react-native-gesture-handler": "~2.16.1",
    "react-native-reanimated": "~3.10.1",
    "react-native-safe-area-context": "4.10.1",
    "react-native-screens": "3.31.1",
    "react-native-vision-camera": "^4.0.5",
    "react-native-web": "~0.19.10"
  },

VisionCamera Version
4.0.5
Target platforms
Android
Operating system
Windows
Can you build the VisionCamera Example app?
Yes, I can successfully build the Example app here
Additional information

[X] I am using Expo
[ ] I have enabled Frame Processors (react-native-worklets-core)
[X] I have read the Troubleshooting Guide
[x] I agree to follow this project's Code of Conduct
[X] I searched for similar issues in this repository and found none.

I get the same here, fresh Expo project with latest version. Tried using previous versions also, but those all result in build errors.

Ty, that work for me


Faster DFA minimization

DFA minimization is an important operation and one that is necessary for a lot of use cases. However, it is still one of the slowest and inconsistent operations.
Currently, DFA#minimize takes 1sec for some large DFAs from the Prism dataset. The average of about 1ms with a median of 0.005ms. Given that Hopcroft's algorithm should have a worst-case complexity of O(s n log n), the huge max seems strange.
Find out why Hopcroft's is so slow at times and find ways to make it faster.
(The meat if Hopcroft's is implemented in src/dfa.ts in the findEquivalenceClasses function. All the other code in DFA#minimize should be close to optimal.)

The main problem with the current Hopcraft's implementations is that it is based on Sets. The set intersection and difference operations are very inefficient and take up the majority of the execution time.
One way to fix this would be using a more efficient implementation for sets. Bit sets come to mind. However, these things are difficult to implement and will be rather inefficient due to the scripting-language nature of JavaScript.
A different approach is needed. I'm currently implementing the paper "Fast brief practical DFA minimization" and it seems promising so far. The algorithm in the paper only uses arrays as its data structures. This makes it efficient (in JS) and easy to implement. From my initial testing, it's between 2x and 20x faster than the current Hopcraft's implementation.


Add danish lang

Summary
Thank you for contributing to pointblank! To make this process easier for everyone, please explain the context and purpose of your contribution. Also, list the changes made to the existing code or documentation.
Related GitHub Issues and PRs
As per discussion: https://github.com/rich-iannone/pointblank/discussions/302#discussioncomment-485990

Thank you so much for all of this effort! I didn't encounter the same building problems you did so everything ran smoothly with what you provided. I updated some of the documentation that refers to the available languages.
Here are some screenshots of how various reports look in Danish:

When the CI checks all pass, please feel free to merge this pull request.

Looks great!
I'd be surprised if there weren't some of my translations that needs to be sharpened, but as I get to see them in context I will probably be able to come up with a better version.
I'll try to collect changes as I go along and open a new PR when I've collected a few.


Send push notification when rollover windows starts

Currently we only send a push notification about 1h before the position expires. That's very late given that the rollover window is the whole weekend.
We should notify the user when the rollover window starts and then probably every day once, until the user either rolls over or the position expired.

blocked by #1375

I'm unblocking this ticket.
https://github.com/get10101/10101/issues/1375 is an improvement we could do in addition but we want this feature now and there is no need to overdiscuss things.

Unassigned you @klochowicz so that it can be picked up by anyone.

@bonomat I guess the simplest way is to adjust the constants START_OF_EXPIRING_POSITION and `END_OF_EXPIRING_POSITION a bit? and perhaps the text of the notification.
I'm not sure whether we need more notifications before the expiry, as long as that one gets delivered?


Getting PHP Parse error:  syntax error

Getting parse error while trying to use pestle.
curl -LO http://pestle.pulsestorm.net/pestle.phar
php pestle.phar list
PHP Parse error:  syntax error, unexpected 'function' (T_FUNCTION), expecting identifier (T_STRING) or \ (T_NS_SEPARATOR) in phar:///var/www/html/magento/magento205ce/pestle.phar/modules/pulsestorm/pestle/runner/module.php on line 8
Please help.

Hello Alan,
It is working once I upgrade php from 5.5.9 to 5.6.22.
Thanks.

Glad you got it solved!
Sent from my iPhone

On Jun 22, 2016, at 4:04 AM, Sandipan Saha<EMAIL_ADDRESS>wrote:
Hello Alan,
It is working once I upgrade php from 5.5.9 to 5.6.22.
Thanks.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Handle reconnect

I had to implement and easy way to reconnect the session if mongodb server was restarted or connection was dropped for any other reason. Would love to hear any suggestions if there is a better way to handle this.

@sasso this seems like it might be a little heavy to be making calls every n seconds, perhaps we can find a lighter touch way. I wonder if a better way is handling errored calls that receive an EOF and retry them by refreshing the session then. I found this discussion https://github.com/go-mgo/mgo/issues/49 and https://groups.google.com/forum/#!topic/mgo-users/XM0rc6p-V-8 regarding this topic.

I was looking into that issues and global EOF handler would be cool, I also checked my logs and i never got the EOF but connection reset so i guess there are other failures that session.ping does catch. I know this is a bit heavy but just wanted too put it here to start a discussion and find a better solution... but for now this works and helps me keep my app live when this issue occurs.