Add design support library, FAB to start recording

FABulous.

+1

@JakeWharton Would you just hide the fab button when started and click the hidden fab button to stop the recording ? There is a high chance that this part of the app is used compare to the top right corner. I like having a fab button for starting the video, but we should probably find a better to stop the video.

The FAB would launch the overlay whose behavior would stay the same.
On Mon, May 16, 2016, 8:34 AM Quentin Colle<EMAIL_ADDRESS>wrote:

@JakeWharton https://github.com/JakeWharton Would you just hide the fab
button when started and click the hidden fab button to stop the recording ?
There is a high chance that this part of the app is used compare to the top
right corner. I like having a fab button for starting the video, but we
should probably find a better to stop the video.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/JakeWharton/Telecine/issues/60#issuecomment-219457572

Any preferable icon you want to use for that ? Otherwise i'm just gonna do it using the launch icon from Google

I think one of Google's Material Design icon pack should suffice.

490bfa4a22d2828d58cf965fc31480f6ca73975b


latest Koffi version 2.5.13 throwing Mismatched native Koffi modules error

I think there must be some versioning issue with the latest Koffi module published, because I keep getting Error: Mismatched native Koffi modules when I try to use it. The native version is 2.5.12 and the package version is 2.5.13... any help here? Thanks 🙏

My fault, should be fixed in Koffi 2.5.14 which I've just released :)


SOS: how to sort import style

From Nicholas:
I am using the extension in a Vue project.
Importing styles did not meet my expectations. I am not sure if the
configuration is incorrect. Therefore, I did not submit an issue but
sent you an email for help.
My current configuration is as follows:
 "tsImportSorter.configuration.groupRules": [
   {
     "flags": "scripts",
     "regex": "[.](less|scss|css)$"
   },
   {
     "regex": "@vue/composition-api"
   },
   {},
   {
     "regex": "^@(basecom|bizcom)"
   },
   {
     "regex": "^@/configs/"
   },
   {
     "regex": "^@/constants/"
   },
   {
     "regex": "^@/utils/"
   },
   {
     "regex": "^@/hooks/"
   },
   {
     "regex": "^@/services/"
   },
   {
     "regex": "^@(/views/components/|/components/)"
   },
   {
     "regex": "^@/assets/"
   },
   {
     "regex": "^@/"
   },
   {
     "regex": "^(.*configs/|.*config/|.*_configs_/|.*_config_/)"
   },
   {
     "regex": "^(.*constants/|.*constant/|.*_constants_/|.*_constant_/)"
   },
   {
     "regex": "^(.*utils/|.*util/|.*_utils_/|.*_util_/)"
   },
   {
     "regex": "^(.*services/|.*service/|.*_services_/|.*_service_/)"
   },
   {
     "regex": "^(.*components/|.*component/|.*_components_/|.*_component_/)"
   },
   {
     "regex": "^(.*assets/|.*asset/|.*_assets_/|.*_asset_/)"
   },
   {
     "regex": "^[.]"
   }
 ],

Import Example:
<script setup>
import './styles/foo.scss';
import<EMAIL_ADDRESS>import './styles/bar.scss';
import 'styles/foo.scss';
import<EMAIL_ADDRESS>import 'styles/index.scss';
import { ref } from '@vue/composition-api';

</script>

Expected import:
<script setup>
import<EMAIL_ADDRESS>import<EMAIL_ADDRESS>import './styles/bar.scss';
import './styles/foo.scss';
import 'styles/foo.scss';
import 'styles/index.scss';
import { ref } from '@vue/composition-api';

</script>

This extension is awesome, thanks for the idea!
Regards,
Nicholas

@xianghongai, I hope the issue has been solved. I'll close it but feel free to re-open if you have further questions.


Unable to enchant scrapers

geneticsresequenced-1.21-1.1.9
Describe the bug
Scrapers show no viable enchants in an Enchanting Table. Can only enchant them via anvil.
To Reproduce

Build a max enchanting table
Insert a scraper/lapis
No enchants show

Expected behavior
Delicate Touch should appear
Screenshots

Additional context
As a side note, the enchant also doesn't appear in the Bumblezone Crystal Flower which should allow crafting any enchant. Other modded enchants show up there without special modification. This makes me think there's potentially something with the enchant more than the tool, since the tool itself appears to have valid tags for allowing the enchant.

This took me like an hour because someone told me that you don't need to put tags on enchantments and i looked everywhere besides there, and as it so turns out, you do in fact need tags on enchantments


Redis Keyspace Scanning Entire Question

"It is recommended that a production deployment of resque-scheduler be hosted on a dedicated Redis database. While making and managing scheduled tasks, resque-scheduler currently scans the entire Redis keyspace, which may cause latency and stability issues if resque-scheduler is hosted on a Redis instance storing a large number of keys (such as those written by a different system hosted on the same Redis instance)"
Can you please refer to the section of code that does this? Would it be advised to keep session storage in one redis database and queuing jobs in another on the same redis instance?

It is here https://github.com/resque/resque-scheduler/blob/78c5325e91a8588344e64379021afc7812f7f4bb/lib/resque/scheduler/delaying_extensions.rb#L188-L211.
I'd not mix session storage and queuing job in the same redis stance. They have different resiliency requirements.


Unable to use az confcom extention as it shows docker process was not found

Hello, I tried to use this action to run az confcom acipolicygen --debug --approve-wildcards -a test.json --print-policy in inlineScript but it showed warning cli.azext_confcom.custom: The docker process was not found. Please start Docker.
I tried to check if docker was started using systemctl | grep running but systemctl wasn't installed in the docker image (I assume?).
Also from this article: https://jpetazzo.github.io/2015/09/03/do-not-use-docker-in-docker-for-ci/ I saw that it is not recommended to run docker inside docker, so I'm wondering does that mean there is no Docker running in this github action? Does that mean I can't run az confcom with this action? Is there any way to bypass this issue?
Thank you so much!

Hi @cYKatherine, as you mentioned, running docker inside docker is not recommended, so the azure/cli action does not support running docker commands inside. A current solution is to run these commands directly in bash. We may consider an enhancement to enable users to run Docker commands within azure/cli.

Similar issue to https://github.com/Azure/cli/issues/152.

Hello @MoChilia , thank you for getting back to me.
Can I confirm it is not possible to run az confcom using this azure/cli action?
A side question is: is there any way to run a specific az version on bash? From this comment you left last year it seems that it's not possible, has anything been upgraded between now and then?
Thank you so much!

From the error message you provided, it appears that az confcom requires docker to start. Currently, this is not supported in the azure/cli action. Running a specific az version on bash can be a bit complex. You may refer to the downgrade scripts I have given in https://github.com/Azure/login/issues/372#issuecomment-2056289617.

Thank you @MoChilia I used the instruction here: https://learn.microsoft.com/en-us/cli/azure/install-azure-cli-linux?pivots=apt and it worked.
For anyone who might also need this, this is how my workflow looks like:
     - name: uninstall azure-cli
        run: |
          sudo apt-get remove -y azure-cli

      - name: install azure-cli 2.61.0
        run: |
          sudo apt-get update
          sudo apt-get install apt-transport-https ca-certificates curl gnupg lsb-release
          sudo mkdir -p /etc/apt/keyrings
          curl -sLS https://packages.microsoft.com/keys/microsoft.asc |
            gpg --dearmor | sudo tee /etc/apt/keyrings/microsoft.gpg > /dev/null
          sudo chmod go+r /etc/apt/keyrings/microsoft.gpg
          AZ_DIST=$(lsb_release -cs)
          echo "Types: deb
          URIs: https://packages.microsoft.com/repos/azure-cli/
          Suites: ${AZ_DIST}
          Components: main
          Architectures: $(dpkg --print-architecture)
          Signed-by: /etc/apt/keyrings/microsoft.gpg" | sudo tee /etc/apt/sources.list.d/azure-cli.sources
          sudo apt-get update
          sudo apt-get install azure-cli

          apt-cache policy azure-cli
          # Obtain the currently installed distribution
          AZ_DIST=$(lsb_release -cs)
          # Store an Azure CLI version of choice
          AZ_VER=2.61.0
          # Install a specific version
          sudo apt-get install azure-cli=${AZ_VER}-1~${AZ_DIST} --allow-downgrades

      - name: check azure-cli version
        run: |
          az --version


Add Solana Address for donations

Supporting donations in Solana in the backend, so far only donations in Solana.
The donation creation endpoint must support donation made on Solana.

@mohammadranjbarz Is working on Solana donation validation. I suppose he won't need to touch the database/schema at this stage but @CarlosQ96 it would be better to sync with him on this.

I think this can be done in about 8 hours. (buffer max 2 day time: 16 hours)
Need to make some tests donations and test projects, and try with solana addresses with the graphql api. To get the prices coingecko might be the best option to be fast. (we have an adapter)
Note: Here im talking strictly about the action of donating with solana and getting prices, minimal user logic or mocked. As it's related to authentication service + issue https://github.com/Giveth/impact-graph/issues/1174

I think this can be done in about 8 hours. (buffer max 2 day time: 16 hours)
Need to make some tests donations and test projects, and try with solana addresses with the graphql api. To get the prices coingecko might be the best option to be fast. (we have an adapter)
Note: Here im talking strictly about the action of donating with solana and getting prices, minimal user logic or mocked. As it's related to authentication service + issue #1174

The same expectation, would finish till tomorrow Dec 13

@CarlosQ96 Please do anything you want to do on top of #1196

Shall I close this one?


[Feature]Support query paimon system table

Why I'm doing:
now, starrocks not support query paimon system table
What I'm doing:
Support query paimon system table through jni connector
Fixes #issue
What type of PR is this:

[ ] BugFix
[x] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[ ] Yes, this PR will result in a change in behavior.
[x] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

[ ] This is a backport pr

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[x] 3.2
[ ] 3.1
[ ] 3.0
[ ] 2.5

@mergify backport branch-3.2


Blog post 0.2

Generally looks good to me. Joining the invite list IMO would be very good to add, to start building relationships with future customers.


Inconsistent formatting of response from Querqy in Solr

We have both querqy.infoLog AND querqy_decorations...   Seems like we should follow one pattern or the other!   To reduce chance of error and cognitive load on all the new folks adopting Querqy ;-)

Just to make sure: You mean . vs _?

I was thinking about it...   and either way would be fine.    Just not both ways... ;-).     Json doesn't love the . in the parameters, so maybe _, but on the other hand solr does the f.facet.blah pattern a lot.


Question: switches / dimmer for tuya bulbs via home assistant

Hi, noob here, apologies if this obvious.
I have this set up to control my tuya bulbs from harmony remote via home assistant.
Next step is to add wall switches: can I use Phillips dimmer or other hue compatible switches with habridge? If not any recommendations on how to implement? I have attached gang switch plate with 1 of the switches being a three way hallway switch.
TIA!

The HA-Bridge does not control Philips devices, it discovers as a Philips HUE Bridge to control other systems such as a Vera, Harmony Hub, HAL, LIFX, HomeAssistant, HomeWizard, Domoticz, OpenHAB, FHEM, Nest, MiLight bulbs, mqtt devices or any other system that has an http/https/tcp/udp/command interface.  You would need a hub (Philips HUE Hub for example) that can control your Philips dimmer, of which you would be able to interface with HA-Bridge.

Thanks @audiofreak, just what I needed to know.


PSMove Config Tool no Controller Settings

Hi,
After I've paired the PS Move controllers, nothing happens. I believe it should jump straight to the settings but instead, goes back to the menu where it tells me to pair the controller again. Under Controller Pairing is Controller Settings and it reads 'No connected usable controllers'. Is this a bug or have I missed something to cause this?

I'm having same issue, did you solved the problem?


final updates

There was an error while validating job 3b280ec5-c167-40c2-b6f9-b5de37111902 Message:
Result status: Failed
There was a problem accessing Github repository 'https://github.com/Microsoft/cordova-docs.git'.
Details:Microsoft.LightweightJobEngine.Core.Language.ContextCommandBase+ContextCommandException:
Result status: Failed
There was a problem accessing Github repository 'https://github.com/Microsoft/cordova-docs.git'.
---> System.AggregateException: One or more errors occurred. ---> System.ArgumentException: Error clonning repository ---> LibGit2Sharp.NotFoundException: Branch 256 not found. Available branches: origin/master
at Microsoft.DPS.Services.LibGit2SharpSourceControlProvider.GetBranch(Repository repo, String name)
at Microsoft.DPS.Services.LibGit2SharpSourceControlProvider.<>c__DisplayClass30.<>c__DisplayClass34.b__29(KeyValuePair2 branch)    at System.Collections.Generic.List1.ForEach(Action1 action)    at Microsoft.DPS.Services.LibGit2SharpSourceControlProvider.<>c__DisplayClass30.<CloneRepository>b__28()    at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.RetryPolicy.<>c__DisplayClass1.<ExecuteAction>b__0()    at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.RetryPolicy.ExecuteAction[TResult](Func1 func)
at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.RetryPolicy.ExecuteAction(Action action)
at Microsoft.DPS.Services.LibGit2SharpSourceControlProvider.CloneRepository(String url, IDictionary2 branches)    --- End of inner exception stack trace ---    at Microsoft.DPS.Services.LibGit2SharpSourceControlProvider.CloneRepository(String url, IDictionary2 branches)
at Microsoft.DPS.Services.LibGit2SharpSourceControlProvider.CloneRepository()
at Microsoft.DPS.Services.LibGit2SharpSourceControlProvider.GetVersionAsync(String path)
at Microsoft.DPS.Commands.IdentifyDocumentsToPublish.CheckExternalServicesCommand.Do(IDictionary2 context)    --- End of inner exception stack trace ---    --- End of inner exception stack trace ---    at Microsoft.LightweightJobEngine.Core.Language.ContextCommandBase.ThrowIfErrorsLogged()    at Microsoft.DPS.Commands.IdentifyDocumentsToPublish.CheckExternalServicesCommand.Do(IDictionary2 context)
at Microsoft.LightweightJobEngine.Core.Language.JobWorkflow1.RunCommands(Guid jobId, IDictionary2 context, CancellationTokenSource cancelSignal)


Update readme with instructions for downloading demos

This adds some instructions in the top-level README for downloading our demos to run them locally.
See #1202

I've left a comment https://github.com/stellargraph/stellargraph/issues/1202#issuecomment-621002025 I'll make a follow-up PR


DP-1.11: Adding test support for Nokia

Following changes are made in this PR -
1. Updating deviations in metadata file
2. Updating test script to support Nokia
"This code is a Contribution to the OpenConfig Feature Profiles project ("Work") made under the Google Software Grant and Corporate Contributor License Agreement ("CLA") and governed by the Apache License 2.0. No other rights or licenses in or to any of Nokia's intellectual property are granted for any other purpose. This code is provided on an "as is" basis without any warranties of any kind."

Pull Request Functional Test Report for #2025 / 39ad90677f1466657ddf18bc1ccf654285366df9
Virtual Devices

Device
Test
Test Documentation
Job
Raw Log

Arista cEOS

DP-1.11: Bursty traffic test

Cisco 8000E

DP-1.11: Bursty traffic test

Cisco XRd

DP-1.11: Bursty traffic test

Juniper cPTX

DP-1.11: Bursty traffic test

Nokia SR Linux

DP-1.11: Bursty traffic test

Openconfig Lemming

DP-1.11: Bursty traffic test

Help

/gcbrun

/fptest all


Issue list: option/theme to hide "Opened 3 minutes ago by [user]" label and RHS time label (e.g. "2m")

Decided to hide this by default for now.


[SPARK-23311][SQL][TEST]add FilterFunction test case for test CombineTypedFilters

What changes were proposed in this pull request?
In the current test case for CombineTypedFilters, we lack the test of FilterFunction, so let's add it.
In addition, in TypedFilterOptimizationSuite's existing test cases, Let's extract a common LocalRelation.
How was this patch tested?
add new test cases.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

@cloud-fan @gatorsmile  Can you help me to review it. thanks.

ok to test

Test build #86964 has started for PR 20482 at commit f45ef79.

Test build #86964 has finished for PR 20482 at commit f45ef79.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/86964/
Test FAILed.

retest this please

Test build #87021 has started for PR 20482 at commit 6042523.

Test build #87021 has finished for PR 20482 at commit 6042523.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/87021/
Test PASSed.

Test build #87023 has finished for PR 20482 at commit 6042523.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/87023/
Test PASSed.

Thanks! Merged to master/2.3


BUG - Cobblestone variants do not drop when mined in survival mode

Before reporting a bug please read Writing Helpful Bug Reports if you haven't already
Minecraft 1.15.2
Forge 32.2.31
Description
Cobblestone stone variants do not drop when mined in survival mode, both normal and mossy versions. This is regardless of whether or not the pick used has silk touch. This also affects all stair, wall, and slab types. (To test this I used two different diamond picks (one silk touch, the other normal) in a creative testing world and switched to survival after placing two blocks of each cobblestone type and mined them. Then I tested similarly on 1 of each respective wall/stair/slab.)
How to reproduce
Mine any piece of cobblestone from this mod with a normal pick while in survival mode.
Additional information
** do note I have the project mmo mod, but all functions relating to mining level (and any other restrictions on tool use) are disabled in entirely in the configs

It turns out that the loot tables for the cobblestone variants had some errors in the code which caused it not to drop cobblestone after mining it. This should be fixed in the latest  release now.


Load backend from HTTPs to fix Mixed Content error

Fixes the demo:

Mixed Content: The page at 'https://twitter.github.io/typeahead.js/' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://typeahead-js-twitter-api-proxy.herokuapp.com/demo/search?q=type'. This request has been blocked; the content must be served over HTTPS.

Cool, thanks!


DIP not working

I've filled out the json configuration to include my DIP key & set the flag to true. Do I need to make the piaRegionId match the region where my dedicated IP is supposed to be possibly?

yes you do

Ok testing now. How do I verify it's using the dedicated IP?

But how would I know that I'm using a dedicated IP vs just getting a random one assigned? I guess just disconnect and reconnect and verify it's the same IP..?

Oh yes, right - PIA doesn't tell you their assigned IPs ... right. Uh yes, that'd be one way I guess. Not sure if there is a better one.

Yep that's how I had to do it. Seems to be working. Thanks!

I am unable to get the DIP to work regardless of what I change, This is what my PIAWireguard.json file look like
{
"opnsenseURL": "https://192.534.123.231",
"opnsenseKey": "Mv345u908u0yc894weny89yescf98uv0549f",
"opnsenseSecret": "p8w9547uboiv68hw8vhsycneauioyuiyuixdcgfkuse4oh5L",
"opnsenseWGName": "PIA",
"opnsenseWGPort": "51815",
"piaUsername": "puisernhuioh34h0897",
"piaPassword": "vw47890nscwe897890",
"piaRegionId": "uk",
"piaDipToken": "DIPncvstiuyuisyukgcyviumysiruodgy8948cyniuysnwc879",
"piaPortForward": false,
"piaUseDip": true,
"tunnelGateway": null
}
My dedicated IP is in London, I have tried all of the UK servers but it doesn't seem to work.

I am unable to get the DIP to work regardless of what I change, This is what my PIAWireguard.json file look like
{ "opnsenseURL": "https://192.534.123.231", "opnsenseKey": "Mv345u908u0yc894weny89yescf98uv0549f", "opnsenseSecret": "p8w9547uboiv68hw8vhsycneauioyuiyuixdcgfkuse4oh5L", "opnsenseWGName": "PIA", "opnsenseWGPort": "51815", "piaUsername": "puisernhuioh34h0897", "piaPassword": "vw47890nscwe897890", "piaRegionId": "uk", "piaDipToken": "DIPncvstiuyuisyukgcyviumysiruodgy8948cyniuysnwc879", "piaPortForward": false, "piaUseDip": true, "tunnelGateway": null }
My dedicated IP is in London, I have tried all of the UK servers but it doesn't seem to work.

Hi,
I don't have DIP myself to test, if you could email the DIP token I can do some testing my end, if you like. Email is on my profile.

I am unable to get the DIP to work regardless of what I change, This is what my PIAWireguard.json file look like
{ "opnsenseURL": "https://192.534.123.231", "opnsenseKey": "Mv345u908u0yc894weny89yescf98uv0549f", "opnsenseSecret": "p8w9547uboiv68hw8vhsycneauioyuiyuixdcgfkuse4oh5L", "opnsenseWGName": "PIA", "opnsenseWGPort": "51815", "piaUsername": "puisernhuioh34h0897", "piaPassword": "vw47890nscwe897890", "piaRegionId": "uk", "piaDipToken": "DIPncvstiuyuisyukgcyviumysiruodgy8948cyniuysnwc879", "piaPortForward": false, "piaUseDip": true, "tunnelGateway": null }
My dedicated IP is in London, I have tried all of the UK servers but it doesn't seem to work.

Hi,
I don't have DIP myself to test, if you could email the DIP token I can do some testing my end, if you like. Email is on my profile.

I appreciate that you are trying to help resolve this issue but I dont think it's a good idea for me to share my DIP token.

Without a DIP token myself, I can't really debug the problem too much. Best you can do currently is provide me the output of the script with the debug args.

Don't post secrets to github.  You need to change your PIA password, opensense secret, DIP token.

Here is the debug output
Force server change requested
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 714, in urlopen
httplib_response = self._make_request(
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 403, in _make_request
self._validate_conn(conn)
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 1053, in validate_conn
conn.connect()
File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 419, in connect
self.sock = ssl_wrap_socket(
File "/usr/local/lib/python3.9/site-packages/urllib3/util/ssl.py", line 449, in ssl_wrap_socket
ssl_sock = ssl_wrap_socket_impl(
File "/usr/local/lib/python3.9/site-packages/urllib3/util/ssl.py", line 493, in _ssl_wrap_socket_impl
return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
File "/usr/local/lib/python3.9/ssl.py", line 501, in wrap_socket
return self.sslsocket_class._create(
File "/usr/local/lib/python3.9/ssl.py", line 1074, in _create
self.do_handshake()
File "/usr/local/lib/python3.9/ssl.py", line 1343, in do_handshake
self._sslobj.do_handshake()
ConnectionResetError: [Errno 54] Connection reset by peer
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 486, in send
resp = conn.urlopen(
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 798, in urlopen
retries = retries.increment(
File "/usr/local/lib/python3.9/site-packages/urllib3/util/retry.py", line 550, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/usr/local/lib/python3.9/site-packages/urllib3/packages/six.py", line 769, in reraise
raise value.with_traceback(tb)
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 714, in urlopen
httplib_response = self._make_request(
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 403, in _make_request
self._validate_conn(conn)
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 1053, in validate_conn
conn.connect()
File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 419, in connect
self.sock = ssl_wrap_socket(
File "/usr/local/lib/python3.9/site-packages/urllib3/util/ssl.py", line 449, in ssl_wrap_socket
ssl_sock = ssl_wrap_socket_impl(
File "/usr/local/lib/python3.9/site-packages/urllib3/util/ssl.py", line 493, in _ssl_wrap_socket_impl
return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
File "/usr/local/lib/python3.9/ssl.py", line 501, in wrap_socket
return self.sslsocket_class._create(
File "/usr/local/lib/python3.9/ssl.py", line 1074, in _create
self.do_handshake()
File "/usr/local/lib/python3.9/ssl.py", line 1343, in do_handshake
self._sslobj.do_handshake()
urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(54, 'Connection reset by peer'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/conf/PIAWireguard.py", line 438, in
generateTokenResponse = requests.post(piaTokenApi, data=json.dumps(createObject), headers=headers)
File "/usr/local/lib/python3.9/site-packages/requests/api.py", line 115, in post
return request("post", url, data=data, json=json, **kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/api.py", line 59, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 501, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(54, 'Connection reset by peer'))

From the looks of that trace, it sounds like your unable to make a POST request to PIA's API. Maybe you can't route too it?
Can you please try the below cURL request it make sure to fill in your username and password. For me it turns a auth token. Ran run this on your workstation or opnsense itself.
curl -s --location --request POST 'https://www.privateinternetaccess.com/api/client/v2/token' --form "username=usernamehere" --form "password=passhere"
```

example response
```
{"token":"40fe23f7eeafd61f22ba09c6d7a3dce7aefd01ff45ed74a686b6b8540fe23f7eeafd61f22ba09c6d7a3dce7aefd01ff45ed74a686b6b85ddsadsada"

Unless you can make that web request the feature sadly won't work. You'll have to try workout why it's not working and see if you can find a workaround to it.

Would it be possible for me manually create a the Wireguard setup for DIP since it won't change? I could possibly run the script through another tunnel to get public and private key, and token

You need to to the full login process every time you need to reconnect to the WireGuard server. If they restart/move the server with the DIP on it, you have to do a full reauthentication to add as a peer again to that server. If you are disconnected for a period of time they remove you as a peer for the server.
You could look at modifying the script to maybe proxy that web request using PIA's SOCKS proxy if you can connect to that. 🤔


PHPUnitTest: Extend the default PHPUnit result printer with a modern, pretty printer

Hello friends.
PR is about beautifying the output of the unit test in the terminal.
I am currently learning unit test. What I saw at the beginning of running command vendor/bin/phpunit caused phrases like ...FF.FE.....F.. To see in the terminal.
I'm a beginner, I did not know what pass, fail, error, skipped, incomplete, risky means. I now know.
In my opinion, if this package was used. In executing Command vendor/bin/phpunit, I was not scared at first glance.
Please consider executing command vendor/bin/phpunit by a novice user unfamiliar with command PHPUnit as well as a user whose native language is not english. Check the subject.
Using this package made me less afraid of phpunit.
Description
In addition, the package does not require much user-specific configuration, which can be confusing, although it can be customized if desired.

Checklist:

[x] Securely signed commits
[ ] Component(s) with PHPDoc blocks, only if necessary or adds value
[ ] Unit testing, with >80% coverage
[ ] User guide updated
[ ] Conforms to style guide

This output might be easier to see and understand a bit.
I don't oppose this.

- Removed the --printer option
- Removed the printerClass and printerFile attributes on the <phpunit> XML configuration element

https://github.com/sebastianbergmann/phpunit/blob/main/ChangeLog-10.0.md

The new Event System will be introduced.
https://github.com/sebastianbergmann/phpunit/issues/4676
I don't know this package will be upgraded, though.

PHPUnit 10 won't be supporting custom printer classes.
- Removed the --printer option
- Removed the printerClass and printerFile attributes on the <phpunit> XML configuration element

https://github.com/sebastianbergmann/phpunit/blob/main/ChangeLog-10.0.md

In these ChangeLog is PHP 7.3, PHP 7.4, and PHP 8.0 are no longer supported, is this true for codeigniter4 in the future?

CI4 supports the Currently Supported PHP Versions.
https://www.php.net/supported-versions.php
So at least PHP 8.0 would be supported until 26 Nov 2023.

@kenjis Thanks , a new day, a new tip.

Just to call it out, here are the additional dev dependencies this would add:
    "hassankhan/config": "^0.11.2|^1.0|^2.0|^3.0",
    "symfony/yaml": "^2.7|^3.0|^4.0|^5.0",
    "codedungeon/php-cli-colors": "^1.10.2",
    "2bj/phanybar": "^1.0"

Also it looks like the library has some PHP 8.1 compatibility work (4 months ago) but the last release was 2 years ago; if we want to pursue this we should probably ask the maintainers to push through another release.

Also it looks like the library has some PHP 8.1 compatibility work (4 months ago) but the last release was 2 years ago; if we want to pursue this we should probably ask the maintainers to push through another release.

Good point. Unfortunately, it doesn't seem to be maintained very properly.

@MGatner Thank you for your importance to PR. I also disagree with the ambiguous uncertain.
Adding --testdox to the documents seems to be useful. This is the least that can be done now.
It seems that having vendor\bin\phpunit --testdox can be helpful for beginners.

@datamweb I agree with you. Why don't you send a PR?


Fixing symbolic links

Soft links require an absolute path to work properly.  Before this change, which /usr/local/bin/gcc still resolves to /usr/bin/gcc even with /usr/local/bin being earlier in the $PATH variable.

Thank you for the contribution @rplankenhorn! 👍
@cortinico Going to merge this PR and prepare a follow-up for the versioned docs.


Combining "range selection" and "column selection" hang on large file

Issue
I opened a moderately large file (1 MB), using solely "Shift selection" or "Alt selection" was smooth as usual, even when operated on the whole file. When I wanted to select a column by clicking on initial and final positions, I used Shift+Alt+select (i.e. combining "Shift selection" and "Alt selection"), it worked for a short range of rows (e.g. visible screen). But when I used Shift+Alt+select for a longer range of rows (e.g. the whole file), the program hung for a long time (that I had to terminate the process since I was not sure if it will eventually response).
One of the unique feature I love about ecode is its capability to quickly handle large files. This appears to be a bug. Please consider improving it.

Terminology (Click to expand)
Range selection (“Shift selection”): select initial position → hold Shift → select final position 【function: select everything between initial and final positions】
Column selection (“Alt selection”): select initial position → hold Alt → use Up/Down key to select the same column in adjacent rows 【function: select a column across multiple rows】
Combining “Range selection” and “Column selection” (Shift+Alt+select): select initial selection → hold Shift+Alt → select final position 【function: select a column across multiple rows between initial and final positions】

OS: Windows 11
Version: ecode 0.6.3

Hi, thanks for the report!
I can see this being tricky and problematic, since Shift+Alt+select and Alt+Up/Down do not expand the selection range but they create a new cursor for each line, if you select a whole range from a 1MB file you could be creating thousands of new cursors, I've never tried it but I would expect to find many slowdowns, I'm not sure if your specific use case could be improved much, I'll play around and try to find the most common issues (I can think a few from the top of my head), also I'm not sure if I should set an upper limit to the number of cursors that can be created (I'm pretty sure all editors do that, I just forgot to think about it), because at some point this is too heavy to handle gracefully. So in short: I'll play around and try to improve as many edge case possibles. One question: it was a plain text file or from some language? If you can specify the language it could be helpful.

One of the unique feature I love about ecode is its capability to quickly handle large files. This appears to be a bug. Please consider improving it.

I'll do my best to improve the experience. Surprisingly currently ecode is quite fast with big files, much faster than many popular editors, so I'm happy with it, I usually open 50MB text files with word-wrap enabled and encounter zero problems, most editors struggle with that.

I just pushed an optimization for multi-cursor that improves the performance like 100x, can you test the nightly build and tell me if that's good enough for your case?

It seems you're halfway there, detective. Joking aside, on my end, I can click on the initial position on a lower line, Alt+Shift, and then click on the final position on an upper line, then the selection works like a charm. But I can't do that if I click on an upper line first and then click on a lower line. Can you reproduce this on your end?

It does not create any extra cursor except the first one at initial position, but the app does not hang. I can click on an upper line from that to create a column of cursor, but clicking on a lower line does not create anything.

Ohh you're right, thanks! I just pushed a fix. Nightly build will be available +15m after this message.

Yay. Fresh out the oven. The nightly build worked perfectly as expected. One minor thing is that, now, if I select the initial position in an upper line and click anywhere in a lower line ("Down" direction), it can create a series of cursor in single column (Figure 1). This is comfortable to have. But when I select the initial position in a lower line and then click an upper line at a different column ("Up" direction), it can end up creating multiple series of cursors (Figure 2).

Figure 1: "Down" direction. Clicking at different position still create cursors based on initial position.

Figure 2: "Up" direction. Clicking at different position create multiple series of cursors based on final position(s)

I think that you have a point, I pushed a change that will always create new cursors in the first cursor column position. Is this what you expect? I actually don't have an strong opinion on how it should behave, so let's play around and see how it feels. vscode will generate a selection for each cursor, it tries to generate a filled rectangle of selection, I'm not sure if we should copy that behaviour, I'll think about it and also check other editors (I'm not a fan but maybe this is "standard").
Nightly should be ready in a few minutes, let me know what you think. Thanks!

I should have said that I am ok with either logic for selection but I expect it to be consistent for both directions. So, I am happy with the latest nightly build. Thank you for all the hard work.

Great! I'll keep it then. Thanks for the help!


Lock django-graphql-jwt to 0.3.0

Addresses: https://github.com/mirumee/saleor/issues/4652#issuecomment-609491605

Remove semver caret from django-graphql-jwt
Run poetry lock

Why this is needed
When users of the project add dependencies using poetry add [PACKAGE_NAME], poetry re-locks the project updating the poetry.lock file. You then encounter strange errors because the django-graphql-jwt package upgrades to 0.3.1 because of the semver caret resolution.
This version of django-graphql-jwt is incompatible with saleor mainline.
I assume this change will need to be reverted when https://github.com/mirumee/saleor/pull/5149 goes through or if this is a recurring issue, semver carets should not be used on this package.

Another thing to note is that this might make the requirements.txt out of sync with poetry.lock should I update that as well? Also is there any reason you all are using requirements.txt if you have the poetry.lock file?

Yes, they might be outdated due to lock.
poetry export -f requirements.txt -o requirements.txt --without-hashes
poetry export -f requirements.txt -o requirements_dev.txt --dev --without-hashes

We are using them as it allows to be independent from poetry, especially for production usage–but there is currently an issue with hashes making pip unable to successfully check for hashes in the requirement files.

@NyanKiyoshi that's fair enough. You can still install a poetry project without poetry though, you just pip install . and that should work as far as build processes are concerned as long as you have a version of pip > 19.0.1. I'll run your above commands and amend my PR

@adithyabsk Thanks for opening the PR! Would you mind updating the poetry.lock file as there are some conflicts now?

@maarcingebala done

Thanks @adithyabsk!


scan without resolving/downloading dependencies

maybe i'm misunderstanding, but it seems that pip-audit cannot scan the contents of a requirements file in the simplest way imaginable: for each entry, check if the specified version has known vulnerabilities.
currently, running against a requirements file with exclusively exact version matches (foo==x.y), like this
$ pip-audit -r requirements.txt

… downloads and (temporarily) installs various packages, which not only takes forever, but also eventually fails because some packages cannot be found – they come from a private index server, which is a different issue.
as a work-around, installing everything (also downloads and installs) and then using pip-audit --local seems to work, but this is not a convenient solution.
i understand that in the general case, requirements files may not be exhaustive and may not have exact versions, in which case running a resolver etc makes total sense, but that's not always the case.
some background: the use case is that my requirements files are produced by pip-tools and hence constitute the exact list of pinned versions used by my application, and i would like to integrate pip-audit into a continuous integration job. i also run pip-compile (from pip-tools) in that job to warn about potential package upgrades, some of which come from private index servers, and it would be great if pip-audit can be added to it.

Thanks for the issue @wbolster! One quick question: do you pin hashes in this file as well as use --require-hashes when installing?

without ‘solutionizing’ (terrible word, sorry) too much for a problem i may not fully understand, i can imagine something  like this
pip-audit --no-resolve -r requirements.txt

…and it would be totally fine if it gives warnings for every non-exact dependency, e.g. if the requirements file contains
foo == 1.0.0
bar >= 1.2.3

… it could print a warning that bar cannot be checked.

Unfortunately without hashes, a requirements file with only pins is not guaranteed to be exhaustive, and generally I think we want pip-audit to be exhaustive.
That said, I think it would be reasonable to automatically disable resolution if hashes are present. We could possibly give an option to disable resolution, but I think this would be somewhat confusing as it would have the effect of ignoring version ranges, and because pip doesn't really have equivalent functionality.

without hashes, a requirements file with only pins is not guaranteed to be exhaustive

i'm interested to learn why that is? exhaustiveness and pinning seem orthogonal?

because pip doesn't really have equivalent functionality

pip can be told to not access index servers and not install dependencies:
$ pip --no-index --no-deps

… which works fine when installing from a directory full of pre-built wheels, for instance:
$ pip --no-index --no-deps wheels/*.whl

glancing at PipSource(local=True) i see that the comments at the top of the file mention pip list -v --format=json as a baseline input. this looks something like this:
[
  {
    "name": "aiohttp",
    "version": "3.8.0",
    "location": "../lib/python3.9/site-packages",
    "installer": "pip"
  },
  {
    "name": "aiosignal",
    "version": "1.2.0",
    "location": "../lib/python3.9/site-packages",
    "installer": "pip"
  },
  ...
]

…which seems really close to the information of a requirements file with only pinned versions in it, which this is issue is about.

i'm interested to learn why that is? exhaustiveness and pinning seem orthogonal?

Because source distributions. E.g., https://pypi.org/project/paradox/ only provides a source distribution with non-deterministic dependencies. Even if you pinned paradox==0.0.1, you aren't guaranteed to get the same sub-dependencies for every installation. Obviously that's a toy example, but the same thing commonly happens between different Python versions, different platforms, etc.

pip can be told to not access index servers and not install dependencies:

Ah, good call. It seems like adding a --no-deps flag would mostly resolve this, but we'd still need to resolve version ranges, or error if version ranges are provided instead of pins.

glancing at --local which calls into PipSource(local=True) i see that the comments at the top of the file mention pip list -v --format=json as a baseline input.

Using pip list only works when run in environments where the dependencies have already been resolved/installed, we can't use this with a requirements file without resolving/installing the requirements file itself.

thanks for the pointer about undeterministic dependencies, paradox is a nice sample package 😸😿

we can't use this with a requirements file without resolving/installing the requirements file itself.

…unless explicitly opting in to this behaviour of course 🙃
a --no-deps flag combined with warnings about non-pinned requirements would be great; see https://github.com/trailofbits/pip-audit/issues/168#issuecomment-985601969).
it even seems that  most of the plumbing is already in place for this; see https://github.com/trailofbits/pip-audit/issues/168#issuecomment-985612989

…unless explicitly opting in to this behaviour of course 🙃

Ah, I see what you're saying: we still install the requirements into a virtualenv, we just pass --no-deps along with the installation, and then use pip list as usual. That could work.
You mentioned two issues: the time it takes to resolve dependencies, and not failing on packages in private indexes, which we fixed in #162 and released in https://pypi.org/project/pip-audit/1.0.1/. Given that the latter should be resolved, how much of an issue is the former for you? I'm inclined to leave this open for a bit to get some additional perspectives here.

we still install the requirements into a virtualenv

no, that is not what i meant.
i would actually like to not download any packages at all, let alone install them (somewhere).
what i would like to do is is: ‘take my requirement file(s), and just tell me which ones have known security problems’, preferably by listing them and a non-zero exit code.
my remark about the --local checker was that it seems to take a similar approach: it collects package versions (from the environment), then scans them. i was merely suggesting that hooking up a different input (namely the requirements files) might be a feasible implementation approach.

what i would like to do is is: ‘take my requirement file(s), and just tell me which ones have known security problems’, preferably by listing them and a non-zero exit code.

Just to make sure I understand: what would you like pip-audit -r input.txt to do with this input.txt?
foo
bar==1.2.3
baz>=2.0.0

There are four options that I see:

Our current behavior, which is to fully resolve foo and baz, and then perform full dependency resolution to audit all dependencies
A "pinned-only" audit, where we only audit bar, since the other two require us to perform the dependency resolution step
A "flattened" audit, where we only audit the top level packages (resolving just their versions, but not their dependencies)
Some combination of (3) and (4)

my original thinking was 2, with warnings for the packages that cannot be audited.
but 3 or a variant thereof would be fine as well: e.g. find the ‘best’ (without dependency) version that matches the version spec, and audit that.

@alex came up with another use case for this: sometimes our dependency source can be something like a third-party package manager, which has already done the hard work of fully resolving the dependency tree for us. Performing the resolution step in that case would be pointless, since we already have all of the information available to us.
What I'm thinking is a --no-resolve or --already-resolved flag that, when the dependency source is a requirements-style file, checks that every dependency is pinned to an exact version and only audits those dependencies.
That will effectively address (2)/(3) above, since it assumes that the input is "flat" in the sense that no additional resolutions are necessary.

Maybe --no-deps, perhaps? 🙂

I'm going to take a stab at this today!

Initial thoughts here: since hash pinning has the effect of disabling dependency resolution, users that want to disable dependency resolution could do this now by hashing & pinning all dependencies. (This would also have the effect of getting more users to hash & pin dependencies).

IMO we should include this, but with a nudge telling users to use pip-compile to hash and pin their dependencies.
My reasoning: There's no built-in way to hash all dependencies with just pip, so users who are using only pip shouldn't have to install additional third-party tooling to audit their fully-pinned requirements.txt. So here's my proposed behavior:

--require-hashes only: no functional changes
--no-deps: Warn the user that --require-hashes + pip-compile is preferred, but perform the operation as requested
--require-hashes + --no-deps: Warn the user that the combination is redundant and warn them that --require-hashes + pip-compile is preferred.

@woodruffw SGTM


editor context menu: needs a Discard Changes

I would like to have access to git's Discard Changes on the context menu for the editor. I have searched through the questions and the help but I don't think it is possible to add currently.

Since that command is part of vscode's built-in Git extension, I would ask you to request that feature on the VS Code repo. Thanks!


obtain DOI for v0.9

a release branch is created for v0.9 that includes only

the owl file
LICENSE and CONTRIBUTING information

This will be used to receive a new DOI at ZENODO.org.


cmd/go: go test using -coverpkg can change the test result

What version of Go are you using (go version)?

$ go version
go version go1.13.6 linux/amd64

Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/me/.cache/go-build"
GOENV="/home/me/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/me/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/lib/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/lib/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build723393417=/tmp/go-build -gno-record-gcc-switches"

What did you do?
Construct a module where an init() function in one package, a, modifies state in another package, b. Make a test in b that uses this state:
$ find . -type f -exec sh -c 'echo === {}; cat {}; echo' \;
=== ./go.mod
module example.com

go 1.13

=== ./a/a.go
package a

import "example.com/b"

func init() {
	b.B = append(b.B, "a")
}

=== ./b/b_test.go
package b

import "testing"

func Test_B(t *testing.T) {
	if len(B) != 0 {
		t.Fail()
	}
}

=== ./b/b.go
package b

var B []string

This test will fail when -coverpkg ./... is used and succeed when it is not used:
$ go test ./...
?   	example.com/a	[no test files]
ok  	example.com/b	(cached)

$ go test -coverpkg=./... ./...
?   	example.com/a	[no test files]
--- FAIL: Test_B (0.00s)
FAIL
coverage: 100.0% of statements in ./...
FAIL	example.com/b	0.002s
FAIL

What did you expect to see?
I expected the outcome of the test to be the same regardless of the -coverpkg argument.
What did you see instead?
Using -coverpkg will cause the init() functions of matching packages to be called. This can change the test result.

I think this is the same underlying issue as described in https://github.com/golang/go/issues/21283.

This is working as designed (and as you say, is a duplicate of #21283).
Packages instrumented for coverage with -coverpkg are imported by the generated test main package and are linked into the test binary. It's not feasible to skip their init functions.

Thanks for the quick response @jayconrod. https://github.com/golang/go/issues/21283 was closed by https://go-review.googlesource.com/c/go/+/76876/ which neither fixed the issue nor mentioned deliberately not fixing it so I wasn't sure if it was working as designed.
Do you think it's worth updating the documentation for -coverpkg to mention this? It seems counter-intuitive that using -coverpkg could change the test result.


upgrade versions of dependencies

upgraded versions in build.gradle to the latest available.
os-package plugin upto 2.2.6 only, even though 4.3.0 available. refer to issue #39

pull request:
https://github.com/verisign/storm-graphite/pull/41


#802 Add a static method for setting up a Jackson based configuration

can this get merged?

@kallestenflo I've made some final tweaks and rebased the commit. please either merge or close the PR


Desgin/login page

fixes issue #8 frontend of the login/registration page

@lade6501 yes, you're working on that issue right? this issue is a design issue, so once we have the design we can keep uniformity in  the design and make separate page for login and register

@prathmesh703 for now i am merging this, please complete the above mentioned tasks

Ok. I will try


Packages installed cleanup

Made sure what is installed on Alpine and Debian has a better match
To speed up the initial iCloud mount query, whiptail was added to both package lists
updated TODO, removed no longer pending issues

Thank you!


Unable to extract RAW from RPi-Cam-Web-Interface still image

when trying to extract the raw file from a still image from RPi-Cam-Web-Interface, the following error appears:
pi@raspberrypi:~/PyDNG $ python3 examples/utility.py im.jpg
Traceback (most recent call last):
File "examples/utility.py", line 54, in
main()
File "examples/utility.py", line 51, in main
d.convert(inputFilename, compress=compress)
File "/home/pi/.local/lib/python3.7/site-packages/pydng/core.py", line 258, in convert
rawFrame = self.process(image, process)
File "/home/pi/.local/lib/python3.7/site-packages/pydng/core.py", line 223, in process
rawImage = self.extractRAW(input_file)
File "/home/pi/.local/lib/python3.7/site-packages/pydng/core.py", line 175, in extractRAW
}[str(self.exif['Image Model'])]
KeyError: 'imx219'
when making a still with raspistill -r -o im.jpg it works. sample file is attached.
cheers,
dirk
im.jpg.zip

The camera is labelled differently in its metadata when using that application, you can simply tweak the source and add the specific label to the appropriate areas:
Currently they are: "RP_imx219" you just need to add "imx219" instead.
https://github.com/schoolpost/PyDNG/blob/15264b14d5be6429d72d11b6aa12eb13b21cec26/src/pydng/core.py#L43-L59

Most helpful, thank you!


WingTipGames - Link doesn't work

The link for the  WingTipGames example doesn't work. This link is provided in this page at this part:
"A REST API endpoint to interact with. For this walkthrough, we've set up a demo site called WingTipGames with a REST API service."

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: b3eca211-d459-e761-3065-e460a4c58038
Version Independent ID: 2e722ca5-4de8-3008-46e6-54174a872fce
Content: REST API claims exchanges as validation - Azure AD B2C
Content Source: articles/active-directory-b2c/custom-policy-rest-api-claims-validation.md
Service: active-directory
Sub-service: b2c
GitHub Login: @msmimart
Microsoft Alias: mimart

@nickgmicrosoft do you know who owns this app? The app itself appears to be down.

@henriquebelotto
The whole doc has been updated, https://docs.microsoft.com/en-us/azure/active-directory-b2c/custom-policy-rest-api-claims-validation#feedback.
It no longer uses that sample.


[Feature] NetworkMgr needs VPN support

I need VPN Support in networkmgr. Important is OpenVPN, IPSEC OpenVPN, ipsec (l2tp/WindowsServer/ikev2...).

Can you provide specific details and use cases? I need to breakdown the work into achievable tasks.

It would be valuable for me to be able to use OpenVPN. Right now, I can connect using the command line client by passing a .ovpn configuration file. I believe it would not be very complicated to add the capability to networkmgr. I'm not proficient with python but I can try to take a look and provide some ideas if you would find that useful. Thanks.

On linux the Gnome Network Manager has a special fork which support OpenVPN. I think it's a good source for starting the work: https://gitlab.gnome.org/GNOME/NetworkManager-openvpn/

Also, the network-manager applet supports VPNs as well as editing their configs. That is also a good place to look at for inspiration.


UN-follow does not work quite right

I imported the wif as per the instructions:
http://cryptofresh.com/u/announce
I sent a couple of 1 BTS tests as you can see there on CF.
In my wallet though it automatically makes me Follow 2 accounts:
twitter.puppies
announce
I have no need to follow those 2 accounts. I unfollow them, close my wallet and open my wallet and then those 2 accounts reappear as Followed accounts. bug?

very strange, it shouldn't follow any accounts automatically

Those 2 accounts share the same memo key.. so it seems the wallet "follows" all accounts which you have a key for?


document example data sets

the example data sets defined in stdlib are available in framework but not documented, as pointed out in this post.  i'm not sure exactly where these would fit in the structure, but they do seem like a good thing to add.
i think this notebook is the most canonical documentation for the list.

refs:

#371
#373
#401


NativeCompilationDuringPublish=false leads to msbuild error evaluating "$(IlcBuildTasksPath)"

When I set /p:NativeCompilationDuringPublish=false  as described in the documentation and recommended, I get this error:
root@5d9313239163:/src/Shirley# dotnet publish -r ubuntu.16.04-x64 -c Release /p:NativeCompilationDuringPublish=false
Microsoft (R) Build Engine version 16.0.450+ga8dc7f1d34 for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

/root/.nuget/packages/microsoft.dotnet.ilcompiler/1.0.0-alpha-27714-02/build/Microsoft.NETCore.Native.targets(301,45): error MSB4022: The result "" of evaluating the value "$(IlcBuildTasksPath)" of the "AssemblyFile" attribute in element <UsingTask> is not valid. [/src/Shirley/Shirley.fsproj]

As a work-a-round I'm going to try a variation of another way to disable the ILCompiler.

The work-a-round was easy enough. I'm locking dependencies, so I need to opt-out of CoreRT for self-contained publishing. I did that with:
    <ItemGroup Condition="'$(CoreRT)' != 'false'">
        <RdXmlFile Include="rd.xml" />
        <PackageReference Include="Microsoft.DotNet.ILCompiler" Version="1.0.0-alpha-*" />
    </ItemGroup>

dotnet publish -r ubuntu.16.04-x64 -c Release /p:CoreRT=false


when upgrading patch, we need to track if the previous patch was installed.

If an earlier patch was installed...we need to check out the tag listed in PATCH_VERSION and re-patch and build.

Included in: https://github.com/bitpay/bitcoind.js/pull/49


Theme not applied to table text on Hass.io > System

Home Assistant release with the issue: 0.86.4 & 0.87.0

Last working Home Assistant release (if known): unknown
Operating environment (Hass.io/Docker/Windows/etc.): hass.io in docker on raspbian

Component/platform: lovelace/frontend

Description of problem: Table text on Hass.io > System does not have theme/style applied.  Recommended solution is to apply --primary-text-color to this text like the header text on those cards.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

Traceback (if applicable):

Additional information:

Inspect element for black text in image above:

Inspect element from white header text.

/move to home-assistant/hassio


Figure out how to stretch phylogeny to fill available screen area

Phylotree.js renders our tree using two spacing parameters (spacing_x, currently set to 20, and spacing_y, currently set to 40). This means that the phylogeny can extend outside the available area if it is too large. I don't think Phylotree.js supports setting a maximum width for each phylogeny.

[x] In the short term, we can allow the user to control these two spacing parameters, allowing small phylogenies to be stretched and large phylogenies to be shrunk by hand.
[ ] In the long term, it would be great if the phylogeny was automatically widened to take up as much space as is available.

Phylotree has a "fit-to-size" option which causes it to scale to fit a particular width. We can read the width from the width of the SVG element. However, we would then have to redraw every phylogeny every time a window is resized. I'm not sure if that'll be worth it in terms of slowing the website down, but I'll give it a try and report back!

I think the last bug with this system has been closed in c9939083385. I'll close this once I've confirmed that and that commit has been merged.


[QA-2000] UI integration test failed with Error: Node is detached from document

QA-2000
Flaky test fix: In Click() function, add one retry in try/catch block. This PR handles Node is detached from document only.
CircleCI integration-tests-staging job.

Tests Summary
----------------------------------------------
Test: import-cohort-data
Status: failed
Failure messages: Error: Node is detached from document
    at ElementHandle._scrollIntoViewIfNeeded (/mnt/ramdisk/.yarn/unplugged/puppeteer-npm-13.5.1-231e586c7a/node_modules/puppeteer/src/common/JSHandle.ts:475:22)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at ElementHandle.click (/mnt/ramdisk/.yarn/unplugged/puppeteer-npm-13.5.1-231e586c7a/node_modules/puppeteer/src/common/JSHandle.ts:617:5)
    at /mnt/ramdisk/integration-tests/tests/import-cohort-data.js:21:3
    at /mnt/ramdisk/integration-tests/utils/integration-helpers.js:64:5
    at /mnt/ramdisk/integration-tests/utils/integration-utils.js:344:12
    at /mnt/ramdisk/integration-tests/utils/integration-utils.js:398:10
Failure details: [
  {}
]

Error: Node is detached from document happens when the referenced web element is no longer attached to the DOM when clicking.

In my past life, this meant that the handle the Selenium page object was out-of0date (ie., the page content had refreshed, and it was necessary to "visit" the page again to get a new page object reference). In that scenario, trying again with the stale reference would do no good.
I'm not sure how that maps to Puppeteer and our "page" objects, which are different. But I am skeptical that trying again will help.

@cahrens This code retries page.waitForXPath so it should find a new node.
I haven't had time to look into the stack trace, but I'm curious what is being clicked on here. If we're rendering something that someone could click on and then taking it away before it's actually clicked, that feels like a bug to me.

but I'm curios what is being clicked on here.

The web element to be clicked is a text label for a plot/graph. This page has a bounch of plots to paint.

Since that's a UI that we don't control and therefore can't fix any rendering issues, I'd rather the retry be localized to that specific interaction. Having the retry in our general click utility could mask rendering issues that we can fix.

Do you feel strongly about making localized change in test? I wanted to handle this type of error in click() function because it can happen to any test when test script fails to sync properly with page rendering.

I'm going to call out my own perfectionism here. My gut preference is strong, but I'm not going to impose that on everyone in this case if others are okay with having the resilience built into click.

I'm going to call out my own perfectionism here. My gut preference is strong, but I'm not going to impose that on everyone in this case if others are okay with having the resilience built into click.

I actually saw this failure in a different test very recently. So I am OK having it built-in to click… that should give us data faster about whether or not this actually fixes the problem.

@aweng98 I removed myself as a reviewer. I still don't love the approach, but I may be in the minority here. I would like someone other than me to approve to show that this change has more support.


Movement of ghosts affected by ice

Description
Ghost movement is affected by ice. Ghosts should not slide since they float 👻
Reproduction
Be a ghost, move over icy ground.
Additional context
Noticed when moving around the map as a ghost on a mining planet as a ghost.

i think theres a fix for any inair mobs which should include ghosts?

yea this is fixed by #19707

To be fixed by https://github.com/space-wizards/space-station-14/pull/19707.


Is it possible to embed interactive components in LinkWidets?

Basically I'd like to achieve something similar to how you are positioning LinkLabels except replacing the Label text with a custom icon button. i notice that that link label is using MarkupString and therefore static HTML and so I'm not sure if embedding a button instead works.

Hello,
The use of MarkupString in the labels was forced because Blazor didnt handle foreign objects well at the time. With .NET 6, I believe it was fixed.
I think you can achieve what you want by creating a new component for labels and registering to be rendered instead of the default one. Then you can use whatever you want inside the foreign object, including buttons.
Please tell me if this helps!

Thanks. I'll try that and let you know.

I'll close this since I believe it's answered.
Please feel free to re-open if you think otherwise.


Page not found

I've updated the link to the rangle-io ng-redux course handout

Hey - thanks. Actually that link needs to be removed since the guys who run that training have moved it over to ngrx, which is similar, but not quite the same :)

Oh you're right ... I will remove it then when I'm back on my PC later :+1:

Closing in favour of #369.


Session not being restarted while testing multiple users on the same feature file

I am trying to test few users using the feature file, this is what my feature file look like:
//example.feature
`Feature: Add item and place the order for that item
In order to wear something new
As an online shopping customer
I want to be able to add an item to my shopping bag and then place the order
Scenario Outline: Add an item to shopping bag to place the order using PaypalPro
	Given "<User>" is logged in to his "<EnvName>" account
	 When he searches item with SKU "<SKUID>" from "<Gender>" section and adds it to his shopping bag
	 Then "<User>" can place the order
Examples:
	| User         | EnvName | SKUID        | Gender |
	| CanadaQCUser | SSENSE  | 51230M000010 | men    |
	| GBUser       | SSENSE  | 51230M000010 | women  |
	| FranceUser   | SSENSE  | 51230M000010 | kids   |`

When I run this feature file - after passing the first user "CanadaQCUser" the other users fail the test because when it opens the browser the user is already logged in. What can be done to add in the config file so it clears the cookies or cache so the when it tests the other users it is already not logged in.

Hey @Chirag-SSENSE if all your test scenarios require the user to log in, perhaps you could add an after hook that logs them out? This would ensure that every scenario leaves the system in a clean state, despite the outcome of the scenario (pass/fail).


Haversine Formula in Javascript

Added the haversine formula in JavaScript. This formula is used to calculate the distane between two geographical coordinates. Useful when creating a custom navigation with Google Roads API, for example.

This is so cool!


Implement str.capitalize

The latest version should address the review feedback.

Let's try this again :smile:  Thanks for all the review iterations @trotterdylan.  Much appreciated.


Documentation: Switch EKS documentation to default to ENI

ENI has been rock-solid and it is time to point the default EKS documentation
to use ENI mode.

This change is

test-docs-please

Coverage decreased (-0.008%) to 44.61% when pulling 3dff706eb940917c1f57ae19195a81578c6383b6 on pr/tgraf/make-eni-default-on-eks into abf5366a5d4418f01432563d8e402fb957cd12e7 on master.


[FEATURE] Support multiple indices as input for Document level monitors

Is your feature request related to a problem?
Currently document level monitors will only monitor the first index inputted for the configuration of the monitor instead of all of the indices inputted to it.
What solution would you like?
The document level monitor must know support monitoring multiple indices at once.
Do you have any additional context?
This is the area where the document level monitor will only take the first index inputted to it.

Multiple indices are now supported. Closing


Verifying local installation

👋
First time using Docker. I ran the one-liner from the README, and things appear to have worked. What do I do next?  Try curling localhost and see if you get something back. Did you try the next bit of the readme about locating the config file? The docker command only opens up one port, so I'm thinking it relies on the HTTP Host header to determine whether a request is for the registry API or for the web interface. I added some pattern matching / routing stuff so I could configure subdomains in the config file, but I'm not sure off the top of my head what happens if you don't set up a config file.

This is super exciting BTW. What brings you to the land of run-your-own-npm-repos?


cargo fix: Adjusting a path in a turbofish doesn't work when also adjusting the outer path

The following example code is not automatically fixed on the most recent nightly (cargo 1.29.0-nightly (506eea76e 2018-07-17)).
The issue only occurs when both the outer path and the path inside the turbofish need to be adjusted.
Code
#![feature(rust_2018_preview)]

fn generic_return<T>() {
}

pub struct B{}

pub mod submod {
    pub fn test() {
        ::generic_return::<::B>();
    }
}

Output
$ cargo fix --prepare-for 2018 --allow-dirty
    Checking cargo-fix-test v0.1.0 (file:///home/jtgeibel/repos/localhost/tmp/cargo-fix-test)
warning: error applying suggestions to `src/lib.rs`

The full error message was:

> Could not replace range 140...162 in file -- maybe parts of it were already replaced?This likely indicates a bug in either rustc or cargo itself,
and we would appreciate a bug report! You're likely to see
a number of compiler warnings after this message which cargo
attempted to fix but failed. If you could open an issue at
https://github.com/rust-lang/cargo/issues
quoting the full output of this command we'd be very appreciative!

warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition
  --> src/lib.rs:11:9
   |
11 |         ::generic_return::<::B>();
   |         ^^^^^^^^^^^^^^^^^^^^^^^ help: use `crate`: `crate::generic_return::<::B>`
   |
   = note: `-W absolute-paths-not-starting-with-crate` implied by `-W rust-2018-compatibility`
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
   = note: for more information, see issue TBD

warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition
  --> src/lib.rs:11:28
   |
11 |         ::generic_return::<::B>();
   |                            ^^^ help: use `crate`: `crate::B`
   |
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
   = note: for more information, see issue TBD

    Finished dev [unoptimized + debuginfo] target(s) in 0.18s

Manual patches
Either of the following patches allows cargo fix to prefix both (now decoupled) paths with crate and exit succesfully.
@@ -7,7 +7,9 @@ fn generic_return<T>() {
 pub struct B{}

 pub mod submod {
+    use generic_return;
+
     pub fn test() {
-        ::generic_return::<::B>();
+        generic_return::<::B>();
     }
 }

@@ -7,7 +7,9 @@ fn generic_return<T>() {
 pub struct B{}

 pub mod submod {
+    use B;
+
     pub fn test() {
-        ::generic_return::<::B>();
+        ::generic_return::<B>();
     }
 }

Thanks for the report! I've split this into https://github.com/rust-lang/rust/issues/52754 and https://github.com/rust-lang/cargo/issues/5813, so I'm going to close this in favor of those issues.

Thanks! It looks to me like those 2 issues would cover this upstream and as a workaround.


Restructuring WebUI

So, I've been taking a look at WebUI's code and I found it to be a bit too much cluttered and heavy (we're even using Bootstrap 😓). I think we could simply start from the beginning by running react-create-app and build on top of that, which would also reduce the dependencies since react-scripts manages the build and the hot reloading.
I also think we could open a repository called ipfs-components or something so we could share React Components between WebUI and Desktop. My vision is that WebUI is like an augmented version of Desktop and they can easily share many components, such as headers, menus, buttons and such.
Also, part of this restructuring:

Make code simpler.
Let IPFS WebUI work with JS-IPFS.
Make WebUI prettier and in harmony with ipfs-desktop.
In the middle, try to fix bugs and issues 😄

What do you think? I'm going to have a lot of free time until mid of February and I can work on this.
/cc @ipfs-shipyard/ipfs-gui-team

Oh me oh my! https://github.com/ipfs-shipyard/ipfs-webui/releases/tag/v2.0


Simplify package configuration

This simplifies the multiple package tasks into a single task.

@bndabbs this patch leaves out rocknsm_package_list which is an array located in files/rocknsm_config.dist.yml. These packages are also needed. Can you adjust your patch to include all of these packages (they are all install state) and update to latest commit?

I updated this to the devel branch. Please update your changes to that branch and re-commit to your branch.

@bndabbs we'll be merging devel to master soon. If you can resolve this PR this week we'll include it.

Commit 576fa27 has been tested and should resolve the issue you raised @dcode.


0.0.6 not released for dialect

Hey @hfhbd,
Thanks for the amazing work you're putting into this library 🙏 👏
This alongside the Postgres efforts in SqlDelight are my favourite upcoming functionality in the KMP eco-system!
I was updating to the latest version, and noticed that only driver was released for 0.0.6.
Unsure if this was intentionally, or accidentally. If this was intentional feel free to close this issue ☺

Of course, this was not intentional, thanks for the issue, will publish it now.
Keep in mind, until now, this is only a single-threaded wrapper over libpq using 1 connection only. There is no connection pool nor a "good" multithread support (like JDBC or R2DBC).

Keep in mind, until now, this is only a single-threaded wrapper over libpq using 1 connection only.

Thanks for mentioning, so far I am only playing with the implementation in an example project 👍

Should be published with 0.0.7


Bug: missing enableCloudService for curtain bot

Describe The Bug
enableCloudService is missing in API response
To Reproduce
Not sure how this could be reproduced
Expected behavior
The device should be handled even when enableCloudService is missing
Relevant log output
Curtain bots A1 & A2 are grouped together. B1 & B2 are grouped together. They are all paired with hub HHH.
The plugin complains about enableCloudService cannot be undefined.
In the API response, curtain bot A2 is missing enableCloudService and has<PHONE_NUMBER>00 as hubDeviceId (unlike the other 3 curtain bots which all have HHH as hubDeviceId), even though cloud service is enabled.
Tried disabling & enabling cloud service in the official app but to no avail.
API response:
{
  "deviceList": [
    {
      "deviceId": "HHH",
      "deviceName": "Hub Mini",
      "deviceType": "Hub Mini",
      "hubDeviceId": "000000000000"
    },
    {
      "deviceId": "A1",
      "deviceName": "South Window",
      "deviceType": "Curtain",
      "enableCloudService": true,
      "hubDeviceId": "HHH",
      "curtainDevicesIds": [
        "A1",
        "A2"
      ],
      "calibrate": true,
      "group": true,
      "master": true,
      "openDirection": "right"
    },
    {
      "deviceId": "B1",
      "deviceName": "West Window",
      "deviceType": "Curtain",
      "enableCloudService": true,
      "hubDeviceId": "HHH",
      "curtainDevicesIds": [
        "B1",
        "B2"
      ],
      "calibrate": true,
      "group": true,
      "master": true,
      "openDirection": "left"
    },
    {
      "deviceId": "A2",
      "deviceName": "South Left",
      "deviceType": "Curtain",
      "hubDeviceId": "000000000000",
      "curtainDevicesIds": [
        "A1",
        "A2"
      ],
      "calibrate": true,
      "group": true,
      "master": false,
      "openDirection": "left"
    },
    {
      "deviceId": "B2",
      "deviceName": "West Right",
      "deviceType": "Curtain",
      "enableCloudService": true,
      "hubDeviceId": "HHH",
      "curtainDevicesIds": [
        "B1",
        "B2"
      ],
      "calibrate": true,
      "group": true,
      "master": false,
      "openDirection": "right"
    }
  ]
}

Config for homebridge-switchbot
{
    "name": "SwitchBot",
    "credentials": {
        "token": "***",
        "secret": "***",
        "notice": "Keep your Token & Secret a secret!"
    },
    "options": {
        "devices": [
            {
                "deviceId": "A1",
                "configDeviceName": "South Window",
                "hide_device": false,
                "configDeviceType": "Curtain",
                "connectionType": "BLE/OpenAPI",
                "curtain": {
                    "set_min": 5,
                    "set_max": 95,
                    "updateRate": 2,
                    "disable_group": true,
                    "hide_lightsensor": true,
                    "set_minlux": 1,
                    "set_maxlux": 6001
                },
                "logging": "standard"
            },
            {
                "deviceId": "A2",
                "configDeviceName": "South Left",
                "hide_device": false,
                "configDeviceType": "Curtain",
                "connectionType": "BLE/OpenAPI",
                "curtain": {
                    "set_min": 5,
                    "set_max": 95,
                    "updateRate": 2,
                    "disable_group": true,
                    "hide_lightsensor": true,
                    "set_minlux": 1,
                    "set_maxlux": 6001
                },
                "logging": "standard"
            },
            {
                "deviceId": "B1",
                "configDeviceName": "West Window",
                "hide_device": false,
                "configDeviceType": "Curtain",
                "connectionType": "BLE/OpenAPI",
                "curtain": {
                    "set_min": 5,
                    "set_max": 95,
                    "updateRate": 2,
                    "disable_group": true,
                    "hide_lightsensor": true,
                    "set_minlux": 1,
                    "set_maxlux": 6001
                },
                "logging": "standard"
            },
            {
                "deviceId": "B2",
                "configDeviceName": "West Right",
                "hide_device": false,
                "configDeviceType": "Curtain",
                "connectionType": "BLE/OpenAPI",
                "curtain": {
                    "set_min": 5,
                    "set_max": 95,
                    "updateRate": 2,
                    "disable_group": true,
                    "hide_lightsensor": true,
                    "set_minlux": 1,
                    "set_maxlux": 6001
                },
                "logging": "standard"
            }
        ],
        "logging": "debug"
    },
    "_bridge": {
        "username": "DDEEFF",
        "port": 666
    },
    "platform": "SwitchBot"
}

Screenshots
No response
Device & Model
Curtain (firmware v6.0)
Node.js Version
v16.17.1
NPM Version
v8.15.0
Homebridge Version
v1.5.0
Homebridge Switchbot Plugin Version
v2.1.1
Homebridge Config UI X Plugin Version
v4.50.1
Operating System
Raspbian

If enableCloudService isn't defined, then you can send commands.

I would like to control each curtain individually

@whatUwant Then why do you have them grouped in the SwitchBot app? I don't believe it would let you control them individually when they are grouped together.

IIRC it was possible but I could be wrong...

Not seeing it in the app.


Iox #25 chunk sender building block

This is one of the steps for #25. It introduces the new building block ChunkSender

The test RoudiFindService_test.OfferSingleMethodServiceSingleInstance is constantly segfaulting. I suppose it is not connected to this pull request? We should have a look.

No problem on my side ....

The test RoudiFindService_test.OfferSingleMethodServiceSingleInstance is constantly segfaulting. I suppose it is not connected to this pull request? We should have a look.

No problem on my side ....

Clean builld fixed the issue.

The minor findings will be fixed in the follow up branch iox-#25-chunk-receiver-building-block


Avoid traceback when handling dict values that are dicts.

This happens with, for instance, this:
"args": {
  "labels": {
    "label1": "value1",
    "label2": "value2"
  }
}

The actual traceback looks like this:
Traceback (most recent call last):
  File "/usr/bin/dock", line 9, in <module>
    load_entry_point('dock==1.1.1', 'console_scripts', 'dock')()
  File "/usr/lib/python2.7/site-packages/dock-1.1.1-py2.7.egg/dock/cli/main.py", line 187, in run
    cli.run()
  File "/usr/lib/python2.7/site-packages/dock-1.1.1-py2.7.egg/dock/cli/main.py", line 170, in run
    args.func(args)
  File "/usr/lib/python2.7/site-packages/dock-1.1.1-py2.7.egg/dock/cli/main.py", line 66, in cli_inside_build
    build_inside(input=args.input, input_args=args.input_arg, substitutions=args.substitute)
  File "/usr/lib/python2.7/site-packages/dock-1.1.1-py2.7.egg/dock/inner.py", line 215, in build_inside
    image = dbw.build_docker_image()
  File "/usr/lib/python2.7/site-packages/dock-1.1.1-py2.7.egg/dock/inner.py", line 132, in build_docker_image
    prebuild_runner.run()
  File "/usr/lib/python2.7/site-packages/dock-1.1.1-py2.7.egg/dock/plugin.py", line 203, in run
    plugin_instance = self.create_instance_from_plugin(plugin_class, plugin_conf)
  File "/usr/lib/python2.7/site-packages/dock-1.1.1-py2.7.egg/dock/plugin.py", line 253, in create_instance_from_plugin
    translated_conf = self._translate_special_values(plugin_conf)
  File "/usr/lib/python2.7/site-packages/dock-1.1.1-py2.7.egg/dock/plugin.py", line 248, in _translate_special_values
    if value in translation_dict:
TypeError: unhashable type: 'dict'

Wild idea: how about if we nested into dicts?
Also I think this pr should solve lists since those are mutable too.

Yes, sounds good. Looking at this.

See what you think of this change.

This looks great! Well done!
Small nitpick: could you replace type() == ... with isinstance please? http://stackoverflow.com/questions/1549801/differences-between-isinstance-and-type-in-python

Good idea. Done.

Excellent!


[Event Request] Codeunit::"Whse.-Post Receipt" - Function InitSourceDocumentHeader - OnBeforeInitPurchSourceDocumentHeader

We like to request the following Event:
Object: Codeunit::"Whse.-Post Receipt"
Function: InitSourceDocumentHeader
Publisher Event: OnBeforeInitPurchSourceDocumentHeader
Reason: To implement custom business logic
Where is the event placed:
DATABASE::"Purchase Line":
begin
OnBeforeInitPurchSourceDocumentHeader(WhseRcptHeader, WhseRcptLine, PurchHeader);
if (PurchHeader."Posting Date" = 0D) or
(PurchHeader."Posting Date" <> WhseRcptHeader."Posting Date")
then begin
Event Code:
[IntegrationEvent(false, false)]
local procedure OnBeforeInitPurchSourceDocumentHeader(var WhseReceiptHeader: Record "Warehouse Receipt Header"; var WhseReceiptLine: Record "Warehouse Receipt Line"; var PurchHeader: Record "Purchase Header")
begin
end;

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


Fix a potential memory leak if a render step pauses for a long time.

Motion can hold on to user memory, potentially for a long time, if a render step doesn't have work to do for a long while.
This caused some trouble for us, where through callbacks and closures, this would hold on to old tree data, after a tree was reloaded from the server. Doubling memory use.

This PR simply clears the thisFrame set the moment it is no longer needed. Fixing the problem for us.

Wow a wild @onnlucky appears. Great fix, thanks!


Fix/cache locales

Checklist

[x] the individual contributor license agreement is signed
[x] commit message follows commit guidelines
[ ] tests are included
[x] documentation is changed or added
[ ] new security keys and comments added to security.properties
[ ] new general keys and comments added to portal.properties
[x] any changes that impact configuration or the database DDL added to CHANGES.md
[ ] message properties have been updated with new phrases
[ ] view conforms with WCAG 2.0 AA

Description of change

Add caching of person locales to reduce database queries.
Replaced older "Google Code" cache annotations with Spring cache annotations.

Resolves #1879


Disbale Phobos on Rails Console

Hey all.
I habe phobos in my app in config/initializers/phobos_boot.rb - running when the app starts and listening to kafka.
When i start rails console - i see logging of phobos in the console.
Any way to not start phobos in rails console?
Thanks.

I've done this in the past by adding this to the top of the file:
unless Rails.const_defined?('Console')
  # ... rest of file here
end

I've done this in the past by adding this to the top of the file:
unless Rails.const_defined?('Console')
  # ... rest of file here
end

Thanks @dorner


add several new languages

Add 3 several languages that are quite different:

arabic
japanese
swedish

for that matter instead of using language dictonary and a generic prompt in english, I will use a specific source file, named languages.py, with classes to define name, code_language, and translation_prompt.


[Question] Can CppAst.NET distinguish between virtual functions and override functions?

When parsing a C++ hearder file, CppAst.NET can identify whether a function is a virtual function. But it seems that both virtual function and override function are marked as virtual. Such as :
virtual void WindowInitialize(); // virtual function
void Frame() override; // override function

So, is there any way to check if the second function is override ?

So, is there any way to check if the second function is override ?

Dunno, if it is not exposed here, it might require to debug and dig into clang behind to see if it is exposed differently.

So, is there any way to check if the second function is override ?

Dunno, if it is not exposed here, it might require to debug and dig into clang behind to see if it is exposed differently.

Thanks for you reply. CppAst.NET is an fairly useful lib.
Through some experiments, I found a way to check if a function is override or not.
This solution is not very elegant, but it works.
Here is the code snippet
var headerFileTexts = File.ReadAllLines(cppClass.SourceFile);
var lineIndex = cppFunction.Span.Start.Line - 1;
var line = headerFileTexts[lineIndex];
Debug.Assert(!string.IsNullOrWhiteSpace(line));

var index = line.LastIndexOf("override", StringComparison.Ordinal);
bool isOverrideFunction = index >= 3 &&  line.LastIndexOf(')', index - 1, index - 3) >= 0;


Shake 0.7.17 doesn't work with GHC<=7.8.4

Visible on the Hackage matrix here.

#651

The problem is that the package bounds were not restricted, so this causes build failures.

Thanks, I've restricted the bounds on base in the source, and made a Cabal revision as well.


proposal: io:  add CloserFunc and WriterAndCloser

can add CloserFunc and WriterAndCloser
CloserFunc  is:
   type CloserFunc  func() error

   func (fn CloserFunc) Close() error {
      return fn()
   }

 var _ io.Closer = CloserFunc(func() error {})

WriterAndCloser  is:
type writeCloser struct {
	io.Writer
	io.Closer
}

func WriterAndCloser(w io.Writer, c io.Closer) io.WriteCloser {
	return writeCloser{
		Writer: w,
		Closer: c,
	}
}

see:  https://github.com/search?q=CloserFunc+language%3Ago&type=code

Your GitHub search seems to find a lot of cases of functions named CloserFunc, but that don't, and shouldn't, have a Close method.  Can you point us to a few existing examples of code that would benefit from these additions?  Thanks.

@ianlancetaylor
I found have a Close method in the following repo on the first three pages
https://github.com/angry-tony/cortex-Prometheus-as-a-Service/blob/6d4678127598d65fe6405d4120f9911839fb00b6/pkg/ring/kv/etcd/mock.go#L70
https://github.com/go-kata/kdone/blob/edbd113fc705bc1d735d39f01b6429820bf5341a/closer.go
https://github.com/tgulacsi/go/blob/60a9e8c66e45d6e5c6571574b55bbd8f6c43d73e/iohlp/multicloser.go
https://github.com/cloudradar-monitoring/tacoscript/blob/5bd90febe845b8b1f688f7f8bef2eb154f1fd101/utils/closer.go
https://github.com/goph/fxt/blob/eb299b7150bc0e7c19cbabe277643526e4c37e17/lifecycle.go
https://github.com/HewlettPackard/k8s-sigstore-attestor/blob/5458d8b4a3e2622180959edc9e762bbd8badc56a/pkg/common/catalog/closers.go
https://github.com/ranchercus/rancher/blob/42c0368ca1b8fc1510017c2bf7575634d35014d2/pkg/clusterprovisioninglogger/log.go
https://github.com/chatrale/khan/blob/3ed340c0e005cbbd4e3f42e0ff93bce9cf3d4123/iplist/packed.go#L117
https://github.com/MrE-Fog/acr-cli11/blob/5df1cc9da4197e67e770585d7d863bac75279f86/vendor/oras.land/oras-go/v2/internal/ioutil/io.go
https://github.com/goph/stdlib/blob/426371efcfd69ba2b2bde885e973aeede7b78e10/ext/close.go#L20
https://github.com/djbanodkar/RancherTesting/blob/88bec4200cfe5738495c4c8291ad6b1c521dc1d8/pkg/clusterprovisioninglogger/log.go
https://github.com/manasmishra/spire/blob/355ab564b8d73ce8d1f17b5db7f8b9edbc2472a2/pkg/common/catalog/closers.go#L32

I think this should wait until there's a negative resolution of  #21670 / #25860 / #47487.

This seems like two separate proposals which happen to compose together but which could be discussed independently.
I agree that the first part -- CloserFunc -- seems to be subsumable into all of the various proposals to allow more convenient use of isolated functions to implement interfaces.
The WriterAndCloser part seems interesting in its own right though, and is similar to a situation I've encountered a small number of times: wrapping another function which returns an io.Reader and hooking an additional Close side-effect onto it, to encapsulate some additional cleanup that needs to happen when passing the result to a function which accepts any arbitrary io.ReadCloser.
When I most recently had that need I optimistically looked into the io package for something with a similar but not quite identical design as this proposal:
func ReaderWithClose(r io.Reader, close func () error) io.ReadCloser

...which is a similar idea as the existing io.NopCloser but with an additional hook function to call in Close, rather than just immediately return nil.
I ended up just implementing this myself, since of course the implementation was pretty trivial for my specific case:
type readerWithClose struct {
	io.Reader
	close func() error
}

func ReaderWithClose(r io.Reader, close func() error) io.ReadCloser {
	return readerWithClose{
		Reader: r,
		close:  close,
	}
}

func (r readerWithClose) Close() error {
	return r.close()
}

I considered generalizing it into a reusable library but found a number of interesting questions when considering use-cases beyond my immediate need:

What should happen if the given io.Reader is also already an io.Closer? Does the new Close method call both the close callback and the underlying reader's Close? If so, what happens if one of them fails and the other succeeds, or if both of them fail?

What about all of the other optional interfaces the given reader could possibly implement? I see that io.NopCloser itself already contains a special case for when the given reader is an io.WriterTo:
func NopCloser(r Reader) ReadCloser {
	if _, ok := r.(WriterTo); ok {
		return nopCloserWriterTo{r}
	}
	return nopCloser{r}
}

I assume that this hypothetical ReaderWithClose would need to do something similar in order to preserve the io.Copy optimization that io.WriterTo implies.

Of course I realize that I'm talking about readers while the original proposal was talking about writers, and so my details here are off-topic. But I'm sharing this because I think there are equivalent questions for io.WriterAndCloser (as proposed here) or io.WriterWithClose (a write variant of my ReaderWithClose), and because it seems to me that if this proposal were accepted for writers then it would make sense to accept it for readers too, for consistency/symmetry.
(The question of whether the second argument to this function should be just a function or an io.Closer of course amounts to re-asking the question about the io.CloserFunc part of this proposal; I don't feel strongly either way about this and am intending to focus only on the questions that seem to arise when hooking an extra Close behavior onto an existing object, regardless of the exact interface used to do so.)


Cannot build ocatve package

first when running "make" inside of the octave folder after installing limesuite from the PPA originally I got the folowing error:
LimeSuite.cc:7:10: fatal error: LimeSuite.h: No such file or directory  #include "LimeSuite.h"
So I then uninstalled from the ppa and used the build and install instructions for installing from source. After that I tried running make inside the octave folder again and got the following error:
`jason@jason-ThinkPad-X230:~/Worksapce/LimeSuite$ cd octave/
jason@jason-ThinkPad-X230:~/Worksapce/LimeSuite/octave$ make
mkoctfile -v -I/usr/local/include/lime -L. -lLimeSuite LimeSuite.cc
g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-4.2.2/octave/.. -I/usr/include/octave-4.2.2/octave -I/usr/include/hdf5/serial -I/usr/include/mpi  -pthread -fopenmp -g -O2 -fdebug-prefix-map=/build/octave-DtqyIg/octave-4.2.2=. -fstack-protector-strong -Wformat -Werror=format-security   -I/usr/local/include/lime  LimeSuite.cc -o LimeSuite.o
LimeSuite.cc: In function ‘void PrintDeviceInfo(lms_device_t*)’:
LimeSuite.cc:59:47: error: ‘const struct lms_dev_info_t’ has no member named ‘gatewareRevision’; did you mean ‘gatewareVersion’?
<< " GW_rev: " << info->gatewareRevision << endl;
^~~~~~~~~~~~~~~~
gatewareVersion
Makefile:21: recipe for target 'LimeSuite.oct' failed
make: *** [LimeSuite.oct] Error 1
jason@jason-ThinkPad-X230:~/Worksapce/LimeSuite/octave$ make
mkoctfile -v -I/usr/local/include/lime -L. -lLimeSuite LimeSuite.cc
g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-4.2.2/octave/.. -I/usr/include/octave-4.2.2/octave -I/usr/include/hdf5/serial -I/usr/include/mpi  -pthread -fopenmp -g -O2 -fdebug-prefix-map=/build/octave-DtqyIg/octave-4.2.2=. -fstack-protector-strong -Wformat -Werror=format-security   -I/usr/local/include/lime  LimeSuite.cc -o LimeSuite.o
LimeSuite.cc: In function ‘void PrintDeviceInfo(lms_device_t*)’:
LimeSuite.cc:59:47: error: ‘const struct lms_dev_info_t’ has no member named ‘gatewareRevision’; did you mean ‘gatewareVersion’?
<< " GW_rev: " << info->gatewareRevision << endl;
^~~~~~~~~~~~~~~~
gatewareVersion
Makefile:21: recipe for target 'LimeSuite.oct' failed
make: *** [LimeSuite.oct] Error 1
jason@jason-ThinkPad-X230:~/Worksapce/LimeSuite/octave$
`

first when running "make" inside of the octave folder after installing limesuite from the PPA originally I got the folowing error:
LimeSuite.cc:7:10: fatal error: LimeSuite.h: No such file or directory #include "LimeSuite.h"

just fyi for debian systems you need to install the development package liblimesuite-dev

makefile was using installed lime header, so there could have been mismatch between installed header and LimeSuite.cc source version. Anyway octave plugin compiling is now changed to use CMake https://github.com/myriadrf/LimeSuite/pull/226


Deprecate the low level IDEA functions.

Use of the low level IDEA functions has been informally discouraged for a
long time. We now formally deprecate them.
Applications should instead use the EVP APIs, e.g. EVP_EncryptInit_ex,
EVP_EncryptUpdate, EVP_EncryptFinal_ex, and the equivalently named decrypt
functions.

[ ] documentation is added or updated
[x] tests are added or updated

We'll need a CHANGES entry for cipher functions too

And now I see that you added one!

Yes, CHANGES entries for ciphers are going into #10820.
I figure that one bulk item will be easier to read.

Rebased and conflict resolved.


source/Song.hx:65: characters 27-41 : Array access is not allowed on (+ length : Int )

It shows up on CMD when I try to "lime test windows". Idk how to fix it, please help.
 HAXE.
I SWEAR THEY SHOULD BAN PEOPLE WHO SENDS THIS TYPE OF DUMB SHIT

Duplicate of literally over 10 threads.


Add external triggers

Hi,
Thank you for the great workflow! Since I use it a lot, I added an external trigger to the search action to be able to call it from karabiner via Apple Script. However, every time I update the workflow, triggers are removed. May you add them, please?

I don't have a problem doing this if the code inside is consistent and universal. Right now, it is filled with
tell application id "com.runningwithcrayons.Alfred" to run trigger "search bear" in workflow "com.drgrib.bear" with argument "test"

Which doesn't sound right. What does yours contain?

It can be same as yours but without test argument:
tell application id "com.runningwithcrayons.Alfred"
to run trigger "search bear" in workflow "com.drgrib.bear"

Added in #16

Thanks!