Update prepub submission title - GCP000467

As per user request, please update the title for GCP000467 to:
Cross-ancestry genome-wide analysis of atrial fibrillation unveils disease biology and enables cardioembolic risk prediction

submission now has PMID so will update automatically.


Configure code editor for syntax highlighting

Is much more fun write SQL code with syntax highlight :)

:+1:


Don't know how to build task 'simple_discussion:install:migrations'

Hey There 👋
I know I must be missing something very obvious here
I am on rails 6.0.1 and I added the gem and ran bundle, no issues.
However —  When running rails simple_discussion:install:migrations
I get the following error:
Don't know how to build task 'simple_discussion:install:migrations' (See the list of available tasks with rails --tasks)
Anything I can try?
I know I could manually copy / paste migrations from the source, but I'm wanting to follow the install here.
Full output:
johnsalzarulo@johns-mbp msapp % rails simple_discussion:install:migrations
The git source `git://github.com/basecrm/basecrm-ruby.git` uses the `git` protocol, which transmits data without encryption. Disable this warning with `bundle config set git.allow_insecure true`, or switch to the `https` protocol to keep your data secure.
The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java`.
rails aborted!
Don't know how to build task 'simple_discussion:install:migrations' (See the list of available tasks with `rails --tasks`)
/Users/johnsalzarulo/.rvm/gems/ruby-2.5.1/gems/railties-<IP_ADDRESS>/lib/rails/commands/rake/rake_command.rb:23:in `block in perform'
/Users/johnsalzarulo/.rvm/gems/ruby-2.5.1/gems/railties-<IP_ADDRESS>/lib/rails/commands/rake/rake_command.rb:20:in `perform'
/Users/johnsalzarulo/.rvm/gems/ruby-2.5.1/gems/railties-<IP_ADDRESS>/lib/rails/command.rb:48:in `invoke'
/Users/johnsalzarulo/.rvm/gems/ruby-2.5.1/gems/railties-<IP_ADDRESS>/lib/rails/commands.rb:18:in `<top (required)>'
/Users/johnsalzarulo/.rvm/gems/ruby-2.5.1/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require'
/Users/johnsalzarulo/.rvm/gems/ruby-2.5.1/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `block in require_with_bootsnap_lfi'
/Users/johnsalzarulo/.rvm/gems/ruby-2.5.1/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
/Users/johnsalzarulo/.rvm/gems/ruby-2.5.1/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require_with_bootsnap_lfi'
/Users/johnsalzarulo/.rvm/gems/ruby-2.5.1/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
/Users/johnsalzarulo/.rvm/gems/ruby-2.5.1/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:325:in `block in require'
/Users/johnsalzarulo/.rvm/gems/ruby-2.5.1/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:291:in `load_dependency'
/Users/johnsalzarulo/.rvm/gems/ruby-2.5.1/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:325:in `require'
/Users/johnsalzarulo/code/msapp/bin/rails:9:in `<top (required)>'
/Users/johnsalzarulo/.rvm/gems/ruby-2.5.1/gems/spring-2.1.0/lib/spring/client/rails.rb:28:in `load'
/Users/johnsalzarulo/.rvm/gems/ruby-2.5.1/gems/spring-2.1.0/lib/spring/client/rails.rb:28:in `call'
/Users/johnsalzarulo/.rvm/gems/ruby-2.5.1/gems/spring-2.1.0/lib/spring/client/command.rb:7:in `call'
/Users/johnsalzarulo/.rvm/gems/ruby-2.5.1/gems/spring-2.1.0/lib/spring/client.rb:30:in `run'
/Users/johnsalzarulo/.rvm/gems/ruby-2.5.1/gems/spring-2.1.0/bin/spring:49:in `<top (required)>'
/Users/johnsalzarulo/.rvm/gems/ruby-2.5.1/gems/spring-2.1.0/lib/spring/binstub.rb:11:in `load'
/Users/johnsalzarulo/.rvm/gems/ruby-2.5.1/gems/spring-2.1.0/lib/spring/binstub.rb:11:in `<top (required)>'
/Users/johnsalzarulo/code/msapp/bin/spring:15:in `require'
/Users/johnsalzarulo/code/msapp/bin/spring:15:in `<top (required)>'
bin/rails:3:in `load'
bin/rails:3:in `<main>'
(See full trace by running task with --trace)
johnsalzarulo@johns-mbp msapp %

I am having the same issue.

Working fine for me in Rails <IP_ADDRESS>.
$ rails new testapp
$ cd testapp
$ bundle add simple_discussion
$ rails simple_discussion:install:migrations
Copied migration<PHONE_NUMBER>5027_create_forum_categories.simple_discussion.rb from simple_discussion
Copied migration<PHONE_NUMBER>5028_create_forum_threads.simple_discussion.rb from simple_discussion
Copied migration<PHONE_NUMBER>5029_create_forum_posts.simple_discussion.rb from simple_discussion
Copied migration<PHONE_NUMBER>5030_create_forum_subscriptions.simple_discussion.rb from simple_discussion

@excid3 — Thanks so much for the fast reply ❤ Yup just confirmed that it works for me on a fresh Rails app. I'll do that next time on a project like this before opening an issue.
Let me debug my environment and see what's up. Hopefully my findings will help @garysmailes as well.
Thanks again

👍
If I had to guess... try a spring stop and see if it was (as usual) spring's fault.

Just leaving breadcrumbs for @garysmailes or anyone else with similar issues.
Has not worked:

✖spring stop
✖ Re-running with bundle exec rails simple_discussion:install:migrations based on this similar issue

Based on this similar issue (and others liked it) I tried

✖ Trying adding require "simple_conversation/engine" to config/application
✖ Trying adding require "simple_conversation/engine" to config/application

I'll come back to this tomorrow and update my findings

Strange, not an issue with Rails 6.0.1 is it?

It might be. That’s my next path to explore. ✌

Ok — thanks to the always incredible @ortegacmanuel I was able to figure out the problem.

Our codebase specifies gem "font-awesome-sass", "~> 5.6", ">= 5.6.1" in the gemfile
While simple_discussion depends on font-awesome-sass (~> 4.7.0)
This dependency issue leads to bundle installing the 0.1.0 of simple_discussion because the 0.1.0 version is the only one that matches all dependency tree of our project.

You'll know you are having an issue like this if your Gemfile.lock specifies 0.1.0  of simple_discussion
Solution that worked for me (Will probably work for @garysmailes as well)

Change gem "font-awesome-sass", "~> 5.6", ">= 5.6.1" to  gem "font-awesome-sass", "4.7.0"
Delete your Gemfile.lock
run bundle
then the rails simple_discussion:install:migrations should be visible.

🎉

Thanks @Johnsalzarulo 👍
That makes a lot of sense. I will relax the font-awesome-sass dependency so that you can install any version >= 4.7. That should fix any future issues with that dependency.

Just published 1.0.1 that includes that fix.

@excid3 thanks!

Also works for me. Thanks @Johnsalzarulo


new technique: diffusion spectrum imaging

synonym: diffusion spectrum magnetic resonance imaging, DSI
@tgbugs @UlrikeS91

@tgbugs and @UlrikeS91 if I understand correctly this is really a different imaging technique and not a pulse sequence change: https://cds.ismrm.org/ismrm-2000/PDF1/0082.pdf (here still called "Fourier diffusion MRI")
https://doi.org/10.1016/j.neuroimage.2008.03.036
Concrete suggestion:
technique term: "diffusion spectrum magnetic resonance imaging"
definition: "'Diffusion spectrum magnetic resonance imaging' is an advanced magnetic resonance imaging (MRI) technique that display crossing fibers and complex intravoxel fiber orientation distributions reliably and accurately [Zhang et al., 2018, Wedeen et al., 2008] by mapping within each MRI voxel the 3D probability density function of proton diffusion with q-space diffusion MRI with Fourier transform encoding and reconstruction [Wedeen et al., 2000]."
synonyms: "diffusion spectrum imaging", "DSI", "Fourier diffusion magnetic resonance imaging", "Fourier diffusion MRI", "Fourier-transform diffusion magnetic resonance imaging", "Fourier-transform diffusion MRI"

Sorry, I must have overseen this! I don't know enough to tell whether or not this is "just" a sequence one. Let add it for now as a separate one. If @tgbugs disagrees, we can still fix it.


The example does not seem to build ?

Works on my machine™. Which version of Xcode are you using?

Version 10.1 (10B61)

I figure it might have been due to that I was using Swift 4 and downloaded latest version of Agrume, which instead is in 4.2

Ok, I hope it's fine now


initial configuration

Can not get exported types to work when importing the library. Tried to copy from smoothly / @userwidgets/ui but i must be missing something. All the JavaScript is correct so they can still be useful. This is better than what existed earlier and is something proquse can use for now.

They did not work


Support NCCL 2.12.7

The library installer also needs to be fixed for CUDA versions not supported by NCCL 2.12. 😅

Fixed!

Sorry to comment sporadically :bow: could you enable NCCL 2.12 in CUDA 11.0? Otherwise we have no way to test NCCL 2.12 in CI.

ah, we can't test it in cuda116 yet...

/test full

/test jenkins

cupyx.distributed test failing with timeout :thinking:
https://ci.preferred.jp/cupy.linux.cuda110.multi/97051/197863#L7888
/test multi

Changing target to the next month release.

/test full

I failed to reproduce the timeout on my local.

TODO: use NCCL 2.12 in CUDA 11.7 test (https://github.com/cupy/cupy/pull/6767#discussion_r896358629)

I hope it works...

/test full

/test full

No v2.14 yet. https://developer.download.nvidia.com/compute/redist/nccl/

https://developer.download.nvidia.com/compute/redist/nccl/v2.14/nccl_2.14.3-1+cuda11.7_x86_64.txz

/test mini


[BUG][javascript] "types" compiler option in jsconfig.json doesn't work

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: 1.64.0-insider
OS Version: Mac OS 12.1

Steps to Reproduce:
Copy of https://github.com/MicrosoftDocs/intellicode/issues/328.
CC @minestarks @tjx666
User reports "types" compiler option in jsconfig.json doesn't work

"When I enable this extension, you can see that I can still get the suggest from @types/node."

"But no issue in typescript project or disable this extension in js project:"

We believe that this issue relates more to JS/TS IntelliSense support than IntelliCode.

@tjx666 small update here—this is an effect of automatic type acquisition, which you can disable either by renaming your jsconfig.json to tsconfig.json or setting "typeAcquisition": { "enable": false }.


Adds artifact links for logstash-oss-with-opensearch-output-plugin-8.6.1

Description
Adds artifact links in Downloads page for logstash-oss-with-opensearch-output-plugin-8.6.1
Issues Resolved
N/A
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the BSD-3-Clause License.

@sshivanii , You will also need to update all the OpenSearch versions to point their downloads to this version.
All the files in here: https://github.com/opensearch-project/project-website/tree/main/_versions
Here is one example. You can see it is using 8.4.0.
https://github.com/opensearch-project/project-website/blob/bcf4974656bcbf44258d3cb89c72551e827703a9/_versions/2023-01-24-opensearch-2.5.0.markdown?plain=1#L18-L19
You can probably find-and-replace version: 8.4.0 with version: 8.6.1

Thanks for pointing this out. Since it's around 20+ files do we want to include them in this PR?

Thanks for pointing this out. Since it's around 20+ files do we want to include them in this PR?

Yes, they should all be modified.
This is a mapping of "best working" versions for each OpenSearch service. Since the 8.6.1 version is the best for OpenSearch 1.0-2.5.x, all of them need to be updated.


Add new console command 'folder'

As the Pico-8 FOLDER command, it is really convenient.
'FOLDER      open the current directory in the host operating system's file browser'

The command will work only on win/linux/mac and wont work in html/uwp/android/...

add folder command, works on Windows, Linux, MacOSX
closing on .18


Requests follows 301 redirect on PROPFIND request, resubmits request without request body

Sorry, I accidentally hit enter, will edit issue body for more information.

It appears that https://github.com/kennethreitz/requests/pull/3864 contains a relevant change:

Relax how Requests strips bodies from redirects. 3.0.0 only supports body removal on 301/302 POST redirects and all 303 redirects.

Closing this since it apparently works as intended, sorry for the noise.


Customizable api path

Since wp-rest allow the developer to change the default path (for example I use wp-rest instead of wp-json) the module should provide a way to specify so.

What module?
We use the WP REST API, if you can change it, so you can change on WooCommerce too.

This module, wc-api-node has the basepath hardcoded if you set wpApi to true it assigns wp-json as base path for the endpoint, in my opinion you should make it customizable, like wpApi: 'wp-rest'

@enricodeleo you can use any other wrapper.

I know, but I think that this module could cover this possibility. I made a pull request about it, feel free to discard it if you think it is not useful.
A lot of developers customized the url prefix since it was a required step if you had the v1 version of wp rest api and you had to run both concurrently during the migration (see https://make.wordpress.org/core/2015/04/29/wp-rest-api-version-2-0-beta-1/)

Solved with #24


alter table ttl doesn't work

Describe the bug
ALTER TABLE ontime MODIFY TTL doesn't work, the outdated data is not deleted
How to reproduce
version: <IP_ADDRESS>.

CREATE TABLE statements for all tables involved

CREATE TABLE ontime (
Year UInt16,
Quarter UInt8,
Month UInt8,
DayofMonth UInt8,
DayOfWeek UInt8,
FlightDate Date,
UniqueCarrier FixedString(7),
AirlineID Int32,
Carrier FixedString(2),
TailNum String,
FlightNum String,
OriginAirportID Int32,
OriginAirportSeqID Int32,
OriginCityMarketID Int32,
Origin FixedString(5),
OriginCityName String,
OriginState FixedString(2),
OriginStateFips String,
OriginStateName String,
OriginWac Int32,
DestAirportID Int32,
DestAirportSeqID Int32,
DestCityMarketID Int32,
Dest FixedString(5),
DestCityName String,
DestState FixedString(2),
DestStateFips String,
DestStateName String,
DestWac Int32,
CRSDepTime Int32,
DepTime Int32,
DepDelay Int32,
DepDelayMinutes Int32,
DepDel15 Int32,
DepartureDelayGroups String,
DepTimeBlk String,
TaxiOut Int32,
WheelsOff Int32,
WheelsOn Int32,
TaxiIn Int32,
CRSArrTime Int32,
ArrTime Int32,
ArrDelay Int32,
ArrDelayMinutes Int32,
ArrDel15 Int32,
ArrivalDelayGroups Int32,
ArrTimeBlk String,
Cancelled UInt8,
CancellationCode FixedString(1),
Diverted UInt8,
CRSElapsedTime Int32,
ActualElapsedTime Int32,
AirTime Int32,
Flights Int32,
Distance Int32,
DistanceGroup UInt8,
CarrierDelay Int32,
WeatherDelay Int32,
NASDelay Int32,
SecurityDelay Int32,
LateAircraftDelay Int32,
FirstDepTime String,
TotalAddGTime String,
LongestAddGTime String,
DivAirportLandings String,
DivReachedDest String,
DivActualElapsedTime String,
DivArrDelay String,
DivDistance String,
Div1Airport String,
Div1AirportID Int32,
Div1AirportSeqID Int32,
Div1WheelsOn String,
Div1TotalGTime String,
Div1LongestGTime String,
Div1WheelsOff String,
Div1TailNum String,
Div2Airport String,
Div2AirportID Int32,
Div2AirportSeqID Int32,
Div2WheelsOn String,
Div2TotalGTime String,
Div2LongestGTime String,
Div2WheelsOff String,
Div2TailNum String,
Div3Airport String,
Div3AirportID Int32,
Div3AirportSeqID Int32,
Div3WheelsOn String,
Div3TotalGTime String,
Div3LongestGTime String,
Div3WheelsOff String,
Div3TailNum String,
Div4Airport String,
Div4AirportID Int32,
Div4AirportSeqID Int32,
Div4WheelsOn String,
Div4TotalGTime String,
Div4LongestGTime String,
Div4WheelsOff String,
Div4TailNum String,
Div5Airport String,
Div5AirportID Int32,
Div5AirportSeqID Int32,
Div5WheelsOn String,
Div5TotalGTime String,
Div5LongestGTime String,
Div5WheelsOff String,
Div5TailNum String
) ENGINE =
ReplicatedMergeTree('/clickhouse-test/tables/{shard}/ontime', '{replica}')
PARTITION BY toYYYYMM(FlightDate)
ORDER BY (Year, Quarter, Month, DayofMonth, DayOfWeek, FlightDate)
SETTINGS index_granularity = 8192

Sample data for all these tables
the ontime table data
Queries to run that lead to unexpected result
ALTER TABLE ontime MODIFY TTL FlightDate + INTERVAL 12 Month
then to force do merge by
OPTIMIZE table ontime final;

Expected behavior
select count(*) from ontime
the number of rows reduced
Additional context
The show create table query shows that the ttl is actually modified, so it is not same bug as #5494
When table is created with ttl, after import data into the table, and run the OPTIMIZE query, the number of rows is reduced

Initially TTL was implemented with (maybe a bit confusing) logic, that parts created before ALTER TABLE ... MODIFY TTL would never be dropped by TTL. It was changed in PR #6274 and now those old parts can be filtered by TTL with OPTIMIZE ... FINAL query. This patch will be available in 19.14 release.
NOTE: Even now extra merges with TTL won't assign automatically for parts, created before ALTER query. That data can be deleted only manually with OPTIMIZE ... FINAL query.

@CurtizJ I think the new ttl behavior is still not good enough and is still confusing. It's better to purge out-dated data automatically. Maybe a new background scanner thread to scan parts to do the purge periodically. A part should have statistics about min/max value of a Date/Datetime column, so the scanner should not cost lots of resources to do the scan


cant compile...

i dont have a clue what to do. 2) I tried to TIP this project but paypal refused....
I love this project and will figure it out somehow...

@cellurl3 please check this issue #86

i started over 2/9/2020
my gradle-wrapper.properties is:
#Sun Feb 09 16:40:43 CST 2020 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists android.enableJetifier=true zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip android.useAndroidX=true
I change build.gradle (Project: BluetoothChat) go io.fabric.tools:gradle:1.30.0 to attempt removing warnings. Dunno if I should have done that??
   dependencies {         classpath 'com.android.tools.build:gradle:3.5.3'         classpath 'io.fabric.tools:gradle:1.30.0'         classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$KOTLIN_VERSION"     }
I am using Android Studio 3.5.3.  I take it @glodanif might not be using Android Studio???
Thanks for the help!

can anyone screen share into my PC and help me fix this. I will get BTC donation ready!

@cellurl3 after adding those lines to your gradle.properties file did you Clean the project?

Hi,
I just now did a new check out of your
https://github.com/glodanif/BluetoothChat
def final VERSION_CODE = 36
I added the two lines into gradle-wrapper.properties.
[image: image.png]
I did a SYNC
Clean Project
Make Project
It suggested update-gradle, so I did that.
I again clicked on SYNC
I did CLEAN
Make Project
same errors
[image: image.png]
thanks for the help. I am updating my BTC to give a tip. I appreciate it
Glodanif!
On Mon, Feb 10, 2020 at 12:28 AM Vasyl Glodan<EMAIL_ADDRESS>wrote:

@cellurl3 https://github.com/cellurl3 after adding those lines to your
gradle.properties file did you Clean the project?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/glodanif/BluetoothChat/issues/90?email_source=notifications&email_token=AMVB4O6A4VEG3KXH7NSEHFLRCDX2LA5CNFSM4KR7QDB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELHMDQA#issuecomment-583975360,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMVB4O2E4UVSJBP24C2AEVLRCDX2LANCNFSM4KR7QDBQ
.

@cellurl3 Not gradle-wrapper.properties. Create a gradle.properties file (in case you don't have one) in a root directory of the project. And put those two lines in it. Then clean and recompile.


Set a field value programatically inside the BeforeAddToIndex

On BeforeAddToIndex, we're hitting an API and would like to add response data to the form before indexing (as catch if the API req fails we cancel the EventArgs, etc).
Any way to do this?

Hi @joshreid, of course there is a way 😄
Your first challenge is storage. Form Editor won't store anything that's not part of the form schema (i.e. the fields in the form). So you need one or more fields to contain the API response.
My best suggestion is to create a custom field based on FieldWithValue.

In CollectSubmittedValue you'll perform your API lookup and save the response to SubmittedValue in whatever format applicable (serialized JSON?).
In ValidateSubmittedValue you'll validate the API response if necessary.

Then you'll override the applicable FormatValueFor... methods to render the API response in the necessary scenarios.
I hope that makes sense?


Ignoring existing .NET paths defined in settings.json because requesting extension does not define its extension ID. Please file a bug against the requesting extension.

When I open bicep file and Bicep language server is ran I get the following message in VSCode:
Ignoring existing .NET paths defined in settings.json because requesting extension does not define its extension ID. Please file a bug against the requesting extension.
.NET Install Tool for Extension Authors version 1.0.0
Bicep extension v0.3.126

Closing this one as seems it was caused by old Bicep version which is not removed when the latest one is installed.


SSH tunnel for secure connection to remote Infrakit daemon

Closes #557
This PR adds the functionality to automatically spin up a SSH forwarding tunnel so that communication between location infrakit CLI and the remote infrakit daemons (the mux) is secure and over SSH.
With this, a schema change of the $INFRAKIT_HOME/hosts file has been introduced.  Here is an example:
mylocal:
  Endpoints: http://<IP_ADDRESS>:24864
cluster-over-ssh:
  SSH: <IP_ADDRESS>:22
  User: ubuntu
  Endpoints: http://<IP_ADDRESS>:24864,http://<IP_ADDRESS>:24864,http://<IP_ADDRESS>:24864
cluster-insecure:
  Endpoints: http://<IP_ADDRESS>:24864,http://<IP_ADDRESS>:24864,http://<IP_ADDRESS>:24864

In the example above, "cluster-over-ssh" and "cluster-insecure" point to the same remote cluster; however, "cluster-insecure" is added without the SSH options in infrakit remote add:
infrakit remote add cluster-insecure http://<IP_ADDRESS>:24864,http://<IP_ADDRESS>:24864,http://<IP_ADDRESS>:24864

So when you run INFRAKIT_HOST=cluster-insecure infrakit plugin ls, you will be accessing the hosts at public IP addresses <IP_ADDRESS>, <IP_ADDRESS>, etc. at port 24864.  This is unencrypted traffic and not secure.
In contrast, the Host "cluster-over-ssh" is added via additional ssh options:
infrakit remote add cluster-over-ssh http://<IP_ADDRESS>:24864,http://<IP_ADDRESS>:24864,http://<IP_ADDRESS>:24864 --ssh-user ubuntu --ssh-addr <IP_ADDRESS>:22

In this case, there are two additional fields: SSH and User.  SSH is the SSH endpoint (host:port) to establish the tunnel connection.  This is the bastion host (aka jump host).  If a record has SSH set, infrakit will automatically start up ssh tunnel to direct the traffic.  The IP addresses in the server list (<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>) are all private IP addresses that are not reachable on the internet.  Instead, the bastion host, with SSH field <IP_ADDRESS>:22, is used as the bastion to tunnel the connection.  The user (ubuntu) is the user that has a public key on that host.  On most clouds, this is usually the user (and thus public key) that is set at the time when the bastion host is provisioned.  To disable this mode, simply update the Endpoints to public IP addresses and remote the SSH field.
The setup of having a bastion host (which usually sits in the DMZ) that is used as 'jump host' to reach other hosts inside the network is common and limits the access to the cluster to a single point of contact.  With this setup, the nodes running infrakit don't need to have public IP addresses and the firewall for the entire network only need to allow traffic on SSH (port 22).
When a remote is setup to use SSH tunnel (as determined by the INFRAKIT_HOST environment variable and the entry in the $INFRAKIT_HOME/hosts file), the infrakit CLI will start up SSH forwarding tunnels in memory and route all subsequent plugin API calls through the forwarding tunnel.  This introduces a small lag but is transparent to the user: the user does not have to manually start a SSH tunnel via the ssh -L commands.

Please sign your commits following these rules:
https://github.com/moby/moby/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "ssh-tunnel" git@github.com:chungers/infrakit.git somewhere
$ cd somewhere
$ git rebase -i HEAD~842358474704
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f

Amending updates the existing PR. You DO NOT need to open a new one.


[Enhancement][WIP]EventMesh integrates OpenFunction as its Async Framework proposal

Search before asking

[X] I had searched in the issues and found no similar issues.

Enhancement Request
WIP
Describe the solution you'd like
WIP
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

@walterlife good proposal, and welcome other guys to join in together.

OpenFunction maintainer here, glad to work together with the EventMesh community!
@wanjunlei @wrongerror @webup @lizzzcai @tpiperatgod

OpenFunction maintainer here, glad to work together with the EventMesh community! @wanjunlei @wrongerror @webup @lizzzcai @tpiperatgod

Glad to see you guys :), looking forward to it.

Completed in https://github.com/apache/eventmesh/pull/4124.


Add Travis CI

Especially useful for anyone trying to add Python 3 support without breaking Python 2

Hum, no builds at https://travis-ci.org/kennethreitz/legit might need to flick a switch at https://travis-ci.org/profile


Grants to schema functions / custom SQL queries

What problem are you facing?
We're using RDS for PostgreSQL and after using provider-sql to install aws_s3 extension we have to grant usage to the extension manually.
grant all on all functions in schema aws_s3 to <user>;
How could Crossplane help solve your problem?
Does it make sense to implement functionallity in extension.postgresql to give grants? Or have possibility to define custom queries which is run when reconciling? I know a few other use-cases where running custom SQL makes sense, like revoke all on database <database> from public after creating a database.

We are facing the same issue with the aws_s3 extension. I have not found a way to grant schema-specific privileges.
I think I had much the same kind of solution I'm mind:

Grant MR gains ability to target objects other than the database (such as schemas, tables, etc)
Add separate SchemaGrant MR (and by extension TableGrant, etc, potentially)

I also thought executing arbitrary SQL would be useful, but probably doesn't really fit the notion of a reconciliation loop particularly well. The most robust approach would probably be to execute the queries on each reconciliation, which would be fine if the queries were guaranteed to be idempotent, but could lead to some pretty expected results otherwise.

I believe the following queries grant the minimal permissions required to use the aws_s3 extension, so ideally the solution would allow us to grant this and nothing more.
GRANT USAGE ON schema aws_s3 TO <user>;
GRANT EXECUTE ON ALL FUNCTIONS IN SCHEMA aws_s3 TO <user>;


Native code compilation

Hi,
I have successfully compiled the keyboard using gradle, but when I try to build the native part myself, the compiled shared object does not work (I use it by changing java/libs/armeabi.jar) and I get:
E/BinaryDictionaryFileDumper: No permission to communicate with the dictionary provider
java.lang.SecurityException: Permission Denial: opening provider com.android.inputmethod.dictionarypack.DictionaryProvider from ProcessRecord{f450e2f 20225:in.android.inputmethod.indic/u0a280} (pid=20225, uid=10280) that is not exported from uid 10111

Any ideas? (obviously I have READ_USER_DICTIONARY permission and I have also exported DictionaryProvider in the manifest)
Edit1(irrelevant): the working (provided) shared object is 677.5 kB, but mine is 931.4 kB
Edit2: same question

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/38796719-native-code-compilation?utm_campaign=plugin&utm_content=tracker%2F493413&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F493413&utm_medium=issues&utm_source=github).

My bad, ch.ethz.disco.lpeer.inputmethodtwo.latin was interfering and caused Permission Denial, but deleting the other keyboard does not solve the problem, I still don't have gesture input via my own native build (precompiled one has gesture input)
And I also get these(both via my own build and the precompiled version):
E/ActivityThread: Failed to find provider info for com.android.inputmethod.dictionarypack.aosp
E/BinaryDictionaryFileDumper: Can't establish communication with dictionary provider

Moved to GitLab: https://gitlab.com/smc/indic-keyboard/issues/35


Training with pre-trained weights

I would like to start training with the medsam_vit_b weights provided in the repo. Is it fine to make the args like this shown below
parser.add_argument("-pretrain_model_path", type=str, default="work_dir/MedSAM/medsam_vit_b.pth")?

Hi @ariharasudhanm ,
No. Please use the args.resume flag.
Currently, we recommend using the litemedsam, which is 10x faster than original medsam without sacrificing the performance.
Here is the fine-tuning tutorial: https://github.com/bowang-lab/MedSAM/blob/LiteMedSAM/README.md#fine-tune-pretrained-lite-medsam


Enhancing the scrollbar UI according to the project theme.

Scroll bar UI is default. Ipdating it would enhance User Experience

Sorry for the belated response but yes Sure go ahead this sounds great enhancement @Vikranthraosb

Hi, How to run it in local system? Steps in Readme.md is not working.


undefined reference to `CnC::Internal::chronometer::add_record(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, int, unsigned long, unsigned long, unsigned long, unsigned long, double, double, double, char)'

I am running run_tests.sh with iCnC as a backend, and I am getting the following errors:
>>> Running test Stencil1D
Writing file: ./cnc_support/icnc/icnc.h
Writing file: ./cnc_support/icnc/icnc_internal.h
Writing file: ./cnc_support/icnc/icnc.cpp
Writing file: ./cnc_support/icnc/cnc_common.h
Writing file: ./cnc_support/icnc/cnc_common.c
Writing file: ./cnc_support/icnc/Stencil1D_internal.h
Writing file: ./cnc_support/icnc/Stencil1D_context.h
Writing file: ./cnc_support/icnc/Stencil1D_step_ops.c
Writing file: ./cnc_support/icnc/Stencil1D_context.cpp
Writing file: ./cnc_support/icnc/Stencil1D_defs.mk
Writing file: ./cnc_support/icnc/Stencil1D.h
Skipping file (already exists): ./Stencil1D.c
Skipping file (already exists): ./Stencil1D_defs.h
Skipping file (already exists): ./Stencil1D_stencil.c
Skipping file (already exists): ./Main.c
Writing file: ./Makefile.icnc
Creating link: Makefile -> Makefile.icnc
cc -O2 -g -DCNC_DEBUG -I. -I./cnc_support/icnc  -Wall -pthread -Wno-unused-variable -c Main.c -o build/icnc/Main.o
cc -O2 -g -DCNC_DEBUG -I. -I./cnc_support/icnc  -Wall -pthread -Wno-unused-variable -c Stencil1D.c -o build/icnc/Stencil1D.o
cc -O2 -g -DCNC_DEBUG -I. -I./cnc_support/icnc  -Wall -pthread -Wno-unused-variable -c Stencil1D_stencil.c -o build/icnc/Stencil1D_stencil.o
cc -O2 -g -DCNC_DEBUG -I. -I./cnc_support/icnc  -Wall -pthread -Wno-unused-variable -c cnc_support/icnc/cnc_common.c -o build/icnc/./cnc_support/icnc/cnc_common.o
cc -O2 -g -DCNC_DEBUG -I. -I./cnc_support/icnc  -Wall -pthread -Wno-unused-variable -c cnc_support/icnc/Stencil1D_step_ops.c -o build/icnc/./cnc_support/icnc/Stencil1D_step_ops.o
g++ -O2 -g -DCNC_DEBUG -I. -I./cnc_support/icnc  -Wall -pthread -Wno-unused-variable -c cnc_support/icnc/icnc.cpp -o build/icnc/./cnc_support/icnc/icnc.o
g++ -O2 -g -DCNC_DEBUG -I. -I./cnc_support/icnc  -Wall -pthread -Wno-unused-variable -c cnc_support/icnc/Stencil1D_context.cpp -o build/icnc/./cnc_support/icnc/Stencil1D_context.o
g++ -o build/icnc/Stencil1D build/icnc/Main.o build/icnc/Stencil1D.o build/icnc/Stencil1D_stencil.o build/icnc/./cnc_support/icnc/cnc_common.o build/icnc/./cnc_support/icnc/Stencil1D_step_ops.o build/icnc/./cnc_support/icnc/icnc.o build/icnc/./cnc_support/icnc/Stencil1D_context.o -lm -pthread -lcnc -ltbb -ltbbmalloc
build/icnc/./cnc_support/icnc/Stencil1D_context.o: In function `CnC::Internal::item_collection_base<std::valarray<long>, void*, CnC::hashmap_tuner>::item_collection_base(CnC::Internal::context_base&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
/home/tiago/Software/icnc/include/cnc/internal/item_collection_base.h:377: undefined reference to `CnC::Internal::item_collection_i::item_collection_i(CnC::Internal::context_base&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
build/icnc/./cnc_support/icnc/Stencil1D_context.o: In function `CnC::Internal::tag_collection_base<std::valarray<long>, CnC::tag_tuner<CnC::Internal::no_range, CnC::default_partitioner<0> > >::tag_collection_base(CnC::Internal::context_base&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
/home/tiago/Software/icnc/include/cnc/internal/tag_collection_base.h:125: undefined reference to `CnC::Internal::tag_collection_i::tag_collection_i(CnC::Internal::context_base&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
build/icnc/./cnc_support/icnc/Stencil1D_context.o: In function `CnC::Internal::chronometer::step_timer::log(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, char) const':
/home/tiago/Software/icnc/include/cnc/internal/chronometer.h:254: undefined reference to `CnC::Internal::chronometer::add_record(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, unsigned long, unsigned long, unsigned long, unsigned long, double, double, double, char)'
/home/tiago/Software/icnc/include/cnc/internal/chronometer.h:254: undefined reference to `CnC::Internal::chronometer::add_record(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, unsigned long, unsigned long, unsigned long, unsigned long, double, double, double, char)'
collect2: error: ld returned 1 exit status
Makefile:114: recipe for target 'build/icnc/Stencil1D' failed

Is this a versioning issue? I am using version icnc 1.0.100 on Ubuntu 17.04 (gcc 6.3).

Did you build Intel CnC from source, or install the binary version?
I won't have time to dig into any issues until next week, but my intuition tells me this error is related to the ABI change in libstdc++ starting with GCC5:
https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_dual_abi.html
My guess is that either using GCC4.9 or building Intel CnC from source will fix this linker issue.

I've verified that this is an issue with the iCnC binary release's ABI. Running the test script with CXX=g++-4.9 works fine, but when using CXX=g++-5 or CXX=g++-6 then I see the same linker error. I've opened an issue on the Intel CnC repo requesting an updated binary release for Linux: icnc/icnc#42

Thanks for the workaround! I will try that meanwhile.


✨ [Feature]: a new property for placing something at the left of the input in Field

What is the new or updated feature that you are suggesting?
a new property for placing something at the left of the input in Field.
Why should this feature be included?
Before fill the input content, we can do something relative.
In the case of inputting a international phone number,  we need place a picker for selecting a international code in frontend of the input

会在v1里面简单的支持下。
field在v2里面马上要重写了，会拆出一个Input组件

@AdonLee 这样是否可行？

release  1.4.15


Get "https://xbarapp.com/docs/plugins/categories.json": context deadline exceeded

Just found this version of the program and installed it. When trying to browse the categories, this is put on the top.

Pressing the refresh button fixed the issue and it seems to be working. After closing and restarting, the issue never shows up again. Just the very first time the program is ran.
macOS Catalina 10.15.7

@raguay it looks like that first request is just taking a long time. I'll increase the timeout.


The "owner" field information is not updating after applying a change

Description
After chaning the table/sequence owner with a postgres I checked the information at the related UI. The owner field information was not updated. Ofcause the command was commited to the DB and I pressed update on the UI.
After reconnecting to the DB it was shown correctly. So owner information seems to just be loaded once or initially and not update on checking the UI.
I would expect to always see the latest information.
DBeaver Version
Version <IP_ADDRESS>408041450
Operating System
Mint 22 - Kernel: <IP_ADDRESS>
Database and driver

DB-Server: Postgres 15 (on Azure Flex Managed Service)
Connection-Driver:

org.postgresql:postgresql:RELEASE[42.7.2]
net.postgis:postgis-jdbc:RELEASE[2.5.0]

Steps to reproduce
Precondition:

1 table or sequence needed
2 users needed

Reproduce:

Open the tables/sequence details view on double click
Check the OWNER-field which shows "User-1"
Execute and commit a owner change statement
Check that the command was successful
Open the table/sequence detail view again (or F5) and see that the owner field has not been changed. Wrong data shown.
Disconnect from DB
Reconnect
Open detail view
See the owner information is now updated

Additional context
No response

Currently, you should manually refresh the Database Navigator Tree after any DDL-changes in a database.
Otherwise it will show old state.
There is a bug report about it #34518 which I hope should fix your issue when it will be done.

No worries, DBeaver's team will handle the status of this issue.

Thank you for bug report.


Add --here option for pew workon to prevent current directory to be changed

This PR implements #179.
It adds an optional argument for pew workon (--here) that prevents the current directory to be changed.

Thank you
What is the use case? If you created the venv yourself, probably you can simply avoid creating it as a project if you don't want the cd functionality
I guess this could be useful if you're working on a shared machine, but I fail to see exactly the need for this.
Also, I haven't checked, but I think that pew in environ $SHELL would already not automatically cd

Basically, this PR allows the workflow "cd into the right directory; then enable venv with no cd" where one had to follow "enable venv with cd; cd into the right directory". As, most of the time, I first open a terminal in the right directory and then I enable the environment, I thought it could be interesting to add this option to pew workon.
Another way of seeing this PR is to consider it as a way to allow a "default path" for a venv, with an easy way to reuse a single venv for different purpose.

Sorry, I haven't merged this yet.
I still feel a bit wavering about this, I hoped that in the last couple of weeks someone would chime in and give his perspective on this, if they'd think this would be useful or not.

No problem, I understand;)

FWIW, I'd like this.
At the moment, when pipenv creates environments, it uses pew under the hood, but it doesn't pass -a $(pwd). I'm hoping to create a PR to remedy this soon, but I'm concerned that I will get push-back from their end, because it would mean that pew workon myproject would have different behaviour from their perspective.
Having this flag available on pew would mean that I would be able to offer an alternative workflow to pipenv when I suggest the change.

I see, this makes sense.
Thinking more about it, while the project/-a feature can be useful, I'm now wondering if this was actually a good idea: have some non-obvious (since it wouldn't be in a centralized place, but rather a file in every virtualenv) configuration that changes the default behavior of the tool.
Rather than having a flag to restore the default behavior, maybe it would've been better to have a --cd flag that would allow people to opt-in, whenever they'd want to cd into the preselected project directory.
Alas, the choice has been made (mostly because pew started just as a virtualenvwrapper reimplementation) and breaking compatibility for something like this is an even worse idea

I think you're right. Ideally, the --cd option would be saner.
It's pretty late for me, so this might just be me sleep-typing, but I have an idea that might work:
We could transition to this better behaviour by always creating an extra file in the virtual environments (eg: .pew, as well as .project).
When .project is found, we would know that -a was passed, and always change directories.
Otherwise, when --cd is passed, we could switch to the path in .pew.
Oh, and .pew probably isn't a good name for the file.

Actually, thinking about it more, in light of https://github.com/pypa/pipenv/issues/1824, perhaps it would be of use to populate a single file in $WORKON_HOME with all the venvs and any associated config.

There is another possible advantage to having a new file format for this information (a single-file or one-per-project doesn't matter) -- each project could individually configure if it should switch by default.
I have no idea if that's something people would use though.

Yup, anyhow let's stick to the minimal implementation for now.
I merged it, and just added a couple of TODO notes and tests


still illegally injecting Google Analytics in chrome webstore

The extension version the chrome webstore is still injecting Google Analytics as of May 2018

Interestingly, he claimed a few years ago that he disabled that: https://www.reddit.com/r/webdev/comments/4l551i/i_wrote_a_chrome_extension_which_prevents/d3ko22m/

https://github.com/joshbalfour/disable-scroll-jacking/commit/747a290815e666c15834b66df1360f8b0f2c514e
This commit here removes google analytics.
I have installed, and removed this plugin, and can confirm it doesn't inject google analytics anymore from my tests.


Exception for assemblies created by NETCore SDK 'Sequence contains no matching elements'

I've tried to obfuscate assembly generated with 'dotnet build' (NETCore SDK) and got the following exception:
Unhandled Exception: System.InvalidOperationException: Sequence contains no matc
hing element
   at System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2 predicate)
   at Obfuscar.Helpers.AssemblyDefinitionExtensions.GetPortableProfileDirectory(AssemblyDefinition assembly)
   at Obfuscar.AssemblyCache.RegisterAssembly(AssemblyDefinition assembly)
   at Obfuscar.AssemblyInfo.LoadAssembly(String filename)
   at Obfuscar.AssemblyInfo.FromXml(Project project, XmlReader reader, Variables vars)
   at Obfuscar.Project.FromXml(XmlReader reader, String projectFileDirectory)
   at Obfuscar.Obfuscator.LoadFromReader(XmlReader reader, String projectFileDirectory)
   at Obfuscar.Obfuscator..ctor(String projfile)
   at Obfuscar.Program.Main(String[] args)

This exception is thrown both for assembly that targets netstandard1.5 and net40. Note that this exception is not thrown if DLL is compiled by visual studio (portable library that targets netstandard).

Thanks. I left some comments in the PR. Please update it so that I can accept it.


add language to gtk source view?

I'm trying to add markdown via these two lang spec files https://github.com/jpfleury/gedit-markdown/tree/master/language-specs. How can I input them?

Please see $PREFIX/share/gtksourceview-2.0/*

@mattn yes, but can I bundle one in my app?

See https://github.com/mattn/go-gtk/blob/master/example/sourceview/sourceview.go#L18


pulseaudio 15.0

I've tried to upgrade it but hit a wall, I keep getting this error while building:
meson.build:676:0: ERROR: C shared or static library 'wrap' not found

My efforts so far are here: https://github.com/kolaente/nixpkgs/blob/update/pulseaudio-15.0/pkgs/servers/pulseaudio/default.nix

Looks like pulseaudio switched their build system from make to meson + ninja

I've hacked this together based off of yours. I'm fairly sure this won't It's in no way clean but as far as I can tell it mostly works for me?? I noticed some popping and I'm not sure of that's a config issue or just a bug with pulseaudio 15.0.
Somebody else who's better at packaging for nix and cares about making it clean can use this as a launch point if they want.
https://gist.github.com/kero0/13cf1b1af40b5f7e4df29ad35a7cd9bd

See #160097

Updated in nixpkgs master.


Validation error: Attribute href not allowed on element a at this point.

Same conditions and same validation check as in https://github.com/mediaelement/mediaelement/issues/2800 - Nu Html Checker (https://validator.w3.org/nu/about.html) which checks not the source code but the generated code ("Check serialized DOM of current page")
The validator throws the message:
Attribute href not allowed on element a at this point.
Thanks for your help!

@jenemde Has provied a pull request which is merged into master branch and will be released with the next version, that's why I'm closing the issue.


windows 10 - "gradle server" - error=206, The filename or extension is too long

In my windows 10 machine - getting this error, time of  running in_Memory server.
Caused by: java.io.IOException: Cannot run program "C:\Program Files\Java\jdk1.8.0_181\bin\java.exe" (in directory "D:\NetflixConductor\conductor-dev\server"): CreateProcess error=206, The filename or extension is too long
        at net.rubygrapefruit.platform.internal.DefaultProcessLauncher.start(DefaultProcessLauncher.java:25)
        ... 7 more
Caused by: java.io.IOException: CreateProcess error=206, The filename or extension is too long
        ... 8 more

It indicates file path is too long for windows, update file folders accordingly to reduce the file path length.

This problem happens with me too. I have placed conductor to root folder of my HDD and it still throws this error


[jsonpb] Do not marshal empty slices, maps and objects

Hi,
The Marshaler from jsonpb does not marshal empty slices, maps and objects even with the EmitDefaults option.
For example, with following protobuf message:
message Message {
	message SubMessage {
		string str = 1;
	}
	repeated string arr = 1;
	map<string, string> m = 2;
	SubMessage sub = 3;
}

... and the following go code:
func main() {
	var (
		msg       pb.Message
		marshaler = jsonpb.Marshaler{
			OrigName:     true,
			EmitDefaults: true,
		}
	)
	if s, err := marshaler.MarshalToString(&msg); err != nil {
		log.Fatalf("Could not marshal proto message : %v", err)
	} else {
		fmt.Println(s)
	}
}

I get:
{}

Is that done by design? Or can/will it be fixed?

I'm also running into the same issue. Would it be possible to have a fix for this merged? There are multiple pull requests (#338, #232, #287, #327) for this and also some issues filed along with this one. Only difference I see with most of the related PRs whether they output both nil and empty slices as null,  [] or empty slices as [] and nil slices as null The proto3 JSON spec seems to accept both ways of handling as a valid solution although I would go for representing omitted/empty maps and slices always as [] and {}. Maybe it would make sense to have a configuration option for always forcing the empty/omitted values to be outputted as empty values rather than nulls?

PING @dsnet @nelid @dsymonds

ping ping...

\cc @cybrcodr


fuse glebec/bones back into fullstack/bones

Addition of several major style enforcers / helpers.

editorconfig: if using an editor which supports it, changes settings to match configured formatting
ESLint: now supporting (and passing) the Fullstack style (in this case, enforcing no semicolons)

Runs for front end code during incremental Webpack builds

Husky: linting must pass in order to commit (probably too strict, we shall see…)

This is very much a first draft approach…

Note: this PR is merely tracking the master branch of my fork at the moment. Accordingly, it has at least one line specific to my account (in the README) which would have to be modified if this PR were actually merged. Please do not merge this PR without doing a sanity check of its contents. I am tempted to close it, but it's convenient to see the diff and maybe one day fuse the projects back together.

I'm going to close this for now — will make a separate curated branch for it.


Multiple Issues with Restore

Greetings,
I have a successful backup of the old address, but am unable to restore to the new address, based on the following errors.  Of course, the actual email addresses are used in place of "newaddress" and "oldaddress."  Any help would be most appreciated.  The "oldaddress" account will be terminated on Thursday.
C:\gyb>gyb --email<EMAIL_ADDRESS>--action restore --local-folder GYB-GMail-B
ackup-oldaddress
Using backup folder GYB-GMail-Backup-oldaddress
Traceback (most recent call last):
File "gyb.py", line 589, in get_db_settings
sqlite3.OperationalError: no such table: settings
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "gyb.py", line 1580, in
File "gyb.py", line 997, in main
File "gyb.py", line 593, in get_db_settings
AttributeError: 'OperationalError' object has no attribute 'message'
Failed to execute script gyb

I'm having the same issue, with MacOS Sierra (I had to chmod+x gyb as explained in https://github.com/jay0lee/got-your-back/issues/134 in order to backup first)

did anyone find a solution to this problem?

I am having this problem now, using 1.11  in Windows 10 Pro.
It's a very large mbox (56 gb), which I understand would be a problem for GYB 1.1 but has been improved for the recent update.
Here's the consistent results I get:
C:\Users\xxx\Dropbox (Personal)\Apps\Oct 2018 All Mail>dir
Volume in drive C is TI10687400D
Volume Serial Number is DCB8-3993
Directory of C:\Users\xxx\Dropbox (Personal)\Apps\Oct 2018 All Mail
11/12/2018  11:51 AM              .
11/12/2018  11:51 AM              ..
11/12/2018  11:47 AM             3,327<EMAIL_ADDRESS>12/29/2017  12:17 PM    56,788,460,469 All mail Including Spam and Trash-007.mbox
11/06/2018  02:25 PM         2,895,871 All mail Including Spam and Trash-007.mbox.mboxview
11/12/2018  11:48 AM<EMAIL_ADDRESS>11/12/2018  11:46 AM                10 lastcheck.txt
11/12/2018  11:51 AM                 0 msg-db.sqlite
5 File(s) 56,791,359,677 bytes
3 Dir(s)  43,222,884,352 bytes free
C:\Users\xxx\Dropbox (Personal)\Apps\Oct 2018 All Mail>gyb --email<EMAIL_ADDRESS>--action restore-mbox --local-folder "C:\Users\xxx\Dropbox (Personal)\Apps\Oct 2018 All Mail" --label-restored "XXX Archive"
Using backup folder C:\Users\xxx\Dropbox (Personal)\Apps\Oct 2018 All Mail
Traceback (most recent call last):
File "gyb.py", line 874, in get_db_settings
sqlite3.OperationalError: no such table: settings
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "gyb.py", line 1875, in
File "gyb.py", line 1254, in main
File "gyb.py", line 878, in get_db_settings
AttributeError: 'OperationalError' object has no attribute 'message'
[15644] Failed to execute script gyb
C:\Users\xxx\Dropbox (Personal)\Apps\Oct 2018 All Mail>

Nevermind, this was answered long ago, it's a corrupt database file.
Delete or rename the database file.
https://github.com/jay0lee/got-your-back/issues/101#issuecomment-222167776


Feature request: Control what type of conditional request is being made

Feature description
The cache will use whatever method is supported depending on the presence of various header fields:

ETag
Last-Modified

However, I encountered a corner-case when using conditional requests with GitHub, where using ETags leads to unwanted behavior, see https://github.com/eclipse-csi/otterdog/issues/201 for a summary of the problem.
It would be useful if in such cases you can control what type of information is used when sending such a conditional request, e.g. limit to the use of the Last-Modified field.
Use case
Being able to use stable conditional requests with the GitHub Rest API when using installation tokens that have to be rolled every hour.
Workarounds
There is no known workaround atm afaict, the cache will invalidate itself when a new token is being used.
Plan to implement
Tbh I am not sure if this really a useful feature or just adds complexity, it eventually should be fixed on GitHub side, but I wanted to raise and discuss this issue here as well.

Interesting, I definitely wasn't aware of that behavior.
The GitHub API is a common enough use case that I'd be willing to add a workaround for that in this library. But since it may no longer be relevant if/when GitHub fixes this on their end, maybe this could be exposed as an undocumented/internal flag instead of part of the public API?
Something like:
session._disable_etag = True

I am not sure if disabling etag altogether results in a net-positive effect in the case of GitHub and changing tokens. The downside is that only Last-Modified headers are used, and these are not present for all API calls. This means that various calls do not benefit from conditional requests anymore.
A logic that would prefer Last-Modified over ETag when present would be more desirable imho. Right now the logic just uses any cache header that is present to construct the conditional request, however, if an Etag is present, and the token changed GitHub will return a fresh response. So in the special case of GitHub (until it might be fixed), if a Last-Modified header is present, use that to construct a conditional request, otherwise, use the ETag as a best effort.
That could work imho, would need to test how well GitHub handles If-Modified-Since headers.

Got it, that makes sense to me. Would you like to put together a PR for that?

yeah, i can take a look and prepare a PR


Malformed metadata.annotations pulumiLabels.%

Describe what happened
I am getting the same issue that is defined in [this issue](Malformed metadata.annotations pulumiLabels.%). After seeing this I upgraded my Pulumi packages so I won't hit this in the future but that doesn't get me out of my broken state. How can I edit my state to get out of this loop? Pulumi refresh keeps the empty label inside and I don't want to destroy my state
Sample program
service, err := cloudrun.NewService(ctx, appName, &cloudrun.ServiceArgs{
			Location: pulumi.String(region),
			Project:  pulumi.String(projectID),
			Name:     pulumi.String(appName),
			Template: &cloudrun.ServiceTemplateArgs{
				Spec: &cloudrun.ServiceTemplateSpecArgs{
					Containers: cloudrun.ServiceTemplateSpecContainerArray{
						&cloudrun.ServiceTemplateSpecContainerArgs{
							Image: appImage.RepoDigest,
							Ports: cloudrun.ServiceTemplateSpecContainerPortArray{
								&cloudrun.ServiceTemplateSpecContainerPortArgs{
									Name:          pulumi.String("http1"),
									ContainerPort: pulumi.Int(8080),
								},
							},
						},
					},
					ContainerConcurrency: pulumi.Int(5),
				},
				Metadata: &cloudrun.ServiceTemplateMetadataArgs{
					Annotations: pulumi.StringMap{
						"run.googleapis.com/cloudsql-instances": database.ConnectionName,
					},
				},
			},
			Traffics: cloudrun.ServiceTrafficArray{
				&cloudrun.ServiceTrafficArgs{
					Percent:        pulumi.Int(100),
					LatestRevision: pulumi.Bool(true),
				},
			},
		}, pulumi.DependsOn([]pulumi.Resource{appImage}))
		if err != nil {
			return err
		}

### Log output

Details:
[
{
"@type": "type.googleapis.com/google.rpc.BadRequest",
"fieldViolations": [
{
"description": "Malformed metadata.annotations pulumiLabels.%",
"field": "metadata.annotations"
}
]
}
]
Affected Resource(s)
No response
Output of pulumi about
pulumi about
CLI
Version      3.116.1
Go Version   go1.22.2
Go Compiler  gc
Plugins
KIND      NAME    VERSION
resource  docker  4.5.0
resource  gcp     7.23.0
language  go      unknown
Host
OS       darwin
Version  14.3
Arch     x86_64
This project is written in go: executable='/usr/local/bin/go' version='go version go1.22.2 darwin/amd64'
Current Stack: name/project/production
TYPE                                       URN
pulumi:pulumi:Stack                        urn:pulumi:production::project::pulumi:pulumi:Stack::project-production
pulumi:providers:docker                    urn:pulumi:production::project::pulumi:providers:docker::default_4_5_0
pulumi:providers:gcp                       urn:pulumi:production":project::pulumi:providers:gcp::default_7_23_0
gcp:sql/databaseInstance:DatabaseInstance  urn:pulumi:production::project::gcp:sql/databaseInstance:DatabaseInstance::db-instance
docker:index/image:Image                   urn:pulumi:production::project::docker:index/image:Image::fantasy-rust-api
gcp:cloudrun/service:Service               urn:pulumi:production::project::gcp:cloudrun/service:Service::fantasy-rust-api
gcp:cloudscheduler/job:Job                 urn:pulumi:production::projecti::gcp:cloudscheduler/job:Job::updateAdpJob
pulumi:providers:gcp                       urn:pulumi:production::project::pulumi:providers:gcp::default_7_2_1
pulumi:providers:gcp                       urn:pulumi:production::project::pulumi:providers:gcp::default
pulumi:providers:docker                    urn:pulumi:production::project::pulumi:providers:docker::default
gcp:cloudrun/iamMember:IamMember           urn:pulumi:production::project::gcp:cloudrun/iamMember:IamMember::fantasy-rust-api-iam
gcp:cloudrun/domainMapping:DomainMapping   urn:pulumi:production::project::gcp:cloudrun/domainMapping:DomainMapping::api-domain-mapping
Found no pending operations associated with production
Backend
Name           pulumi.com
URL            https://app.pulumi.com/adam-ambrosius
User           name
Organizations  name
Token type     personal
Dependencies:
NAME                                    VERSION
cloud.google.com/go/run                 v1.3.4
dagger.io/dagger                        v0.9.3
github.com/pulumi/pulumi-docker/sdk/v4  v4.5.0
github.com/pulumi/pulumi-gcp/sdk/v7     v7.23.0
github.com/pulumi/pulumi/sdk/v3         v3.114.0
Pulumi locates its logs in by default
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

Hi @adam-heat1 - thank you for filing this issue. You mention there's another issue that describes this behavior, but unfortunately your link is broken - can you let us know which one you were referring to? We should be able to assist you in fixing your stack state.

Sorry for the miscopy. Here is the issue. https://github.com/pulumi/pulumi-gcp/issues/1387

Awesome, thank you for the context.
Before we dive in, would you be able to send us a copy of your current stuck stack file, sensitive data removed? It would be the output of pulumi stack export --file stack.json. It would help us find out why refresh is not working for you.
You have a couple options here.

You can delete the service and recreate it. This is of course destructive.
You can manually edit your stack state to remove the stuck labels. Warning this is potentially dangerous. Documentation for stack files is here: https://www.pulumi.com/docs/cli/commands/pulumi_stack_export/

@guineveresaenger here is a portion of my output where the labels are.
"outputs": {
          "__meta": "{\"e2b\":{\"create\":1200000000000,\"delete\":1200000000000,\"update\":1200000000000},\"schema_version\":\"2\"}",
          "autogenerateRevisionName": false,
          "id": "locations/us-central1/namespaces//services/",
          "location": "us-central1",
          "metadata": {
            "annotations": {
              "pulumiLabels.%": ""
            },
            "effectiveAnnotations": {
              "pulumiLabels.%": "",
              "run.googleapis.com/client-name": "cloud-console",
              "run.googleapis.com/ingress": "all",
              "run.googleapis.com/ingress-status": "all",
              "run.googleapis.com/operation-id": "e7",
              "serving.knative.dev/creator"<EMAIL_ADDRESS>              "serving.knative.dev/lastModifier"<EMAIL_ADDRESS>            },
            "effectiveLabels": {
              "cloud.googleapis.com/location": "us-central1"
            },
            "generation": 142,
            "labels": {},
            "namespace": "",
            "pulumiLabels": {},
            "resourceVersion": "",
            "selfLink": "/apis/serving.knative.",
            "uid": ""
          },
          "name": "",
          "project": "",
          "statuses": [
            {
              "conditions": [
                {
                  "message": "",
                  "reason": "",
                  "status": "True",
                  "type": "Ready"
                },
                {
                  "message": "",
                  "reason": "",
                  "status": "True",
                  "type": "ConfigurationsReady"
                },
                {
                  "message": "",
                  "reason": "",
                  "status": "True",
                  "type": "RoutesReady"
                }
              ],
              "latestCreatedRevisionName": "-00141-84n",
              "latestReadyRevisionName": "-00141-84n",
              "observedGeneration": 142,
              "traffics": [
                {
                  "latestRevision": true,
                  "percent": 100,
                  "revisionName": "-00141-84n",
                  "tag": "",
                  "url": ""
                }
              ],
              "url": "https://--uc.a.run.app"
            }
          ],
          "template": {
            "metadata": {
              "annotations": {
                "autoscaling.knative.dev/maxScale": "100",
                "run.googleapis.com/cloudsql-instances": ":us-central1:-instance"
              },
              "generation": 0,
              "labels": {
                "run.googleapis.com/startupProbeType": "Default"
              },
              "name": "",
              "namespace": "",
              "resourceVersion": "",
              "selfLink": "",
              "uid": ""
            },
            "spec": {
              "containerConcurrency": 5,
              "containers": [
                {
                  "args": [],
                  "commands": [],
                  "envFroms": [],
                  "envs": [
                  ],
                  "image": "us-centr",
                  "livenessProbe": null,
                  "name": "",
                  "ports": [
                    {
                      "containerPort": 8080,
                      "name": "http1",
                      "protocol": ""
                    }
                  ],
                  "resources": {
                    "limits": {
                      "cpu": "1",
                      "memory": "512Mi"
                    },
                    "requests": {}
                  },
                  "startupProbe": {
                    "failureThreshold": 1,
                    "grpc": null,
                    "httpGet": null,
                    "initialDelaySeconds": 0,
                    "periodSeconds": 240,
                    "tcpSocket": {
                      "port": 8080
                    },
                    "timeoutSeconds": 240
                  },
                  "volumeMounts": [],
                  "workingDir": ""
                }
              ],
              "serviceAccountName": "6940nt.com",
              "servingState": "",
              "timeoutSeconds": 300,
              "volumes": []
            }
          },
          "traffics": [
            {
              "latestRevision": true,
              "percent": 100,
              "revisionName": "",
              "tag": "",
              "url": ""
            }
          ]
        },

You can see two spots where there are "pulumiLabels.%": "",. How can I safely delete those? I see your second link about exporting the stack but I don't understand how to edit it with that command

Thanks! We'll take a look.

@iwahbe where can I delete that line manually? That is what I was looking to do originally but couldn't find a way to manually update the state.

To get your state, you do pulumi state export > mystate.json. I would then copy the state (making sure to keep a backup in case something goes wrong: cp mystate.json mystate.json.backup). You can then edit mystate.json (just search for "pulumiLabels.%": "") and run cat mystate.json | pulumi stack import to accept the new state.

That is exactly what I was looking for. Thanks so much for the help!


Python debugging will not start on Windows 10 + Sublime build 4126

I've installed the latest version v0.6.7 of the debugger, the python adapter and copy pasted the example under C:\[sublime install dir]\Data\Packages\Debugger\examples\python to a local directory called example_python.
With the default configuration python.sublime-project which comes with the example:
{
	"folders": [
		{
			"path": ".",
		},
	],
	"debugger_configurations": [
		{
			"name": "Python",
			"type": "python",
			"request": "launch",
			"program": "${project_path}/main.py",
		},
	],
}

the debugger will not start and the command log (CTRL+`) is as follows:
Debugger: startup
Debugger: -- Commands --
Debugger: command: open
Debugger: command: quit
Debugger: command: settings
Debugger: command: generate_commands
Debugger: command: install_adapters
Debugger: command: change_configuration
Debugger: command: add_configuration
Debugger: command: start
Debugger: command: start_no_debug
Debugger: command: stop
Debugger: command: continue
Debugger: command: pause
Debugger: command: step_over
Debugger: command: step_in
Debugger: command: step_out
Debugger: command: input_command
Debugger: command: run_task
Debugger: command: run_last_task
Debugger: command: add_function_breakpoint
Debugger: command: clear_breakpoints
Debugger: command: clear_console
Debugger: command: show_protocol
Debugger: command: add_watch_expression
Debugger: command: save_data
Debugger: command: toggle_breakpoint
Debugger: command: toggle_column_breakpoint
Debugger: command: run_to_current_line
Debugger: -- LLDBCommands --
Debugger: command: lldb_toggle_disassembly
Debugger: command: lldb_display
Debugger: command: lldb_toggle_dereference
Debugger: ProjectConfiguration.reload
font face "Monospace" could not be found, defaulting to "Consolas"
Package Control: Skipping automatic upgrade, last run at 2022-03-29 12:13:52, next run at 2022-03-29 13:13:52 or after
Traceback (most recent call last):
  File "C:\[sublime install dir]\Data\Packages\Debugger\modules\core\sublime_event_loop.py", line 13, in __call__
    self.callback(*self.args)
  File "C:\[sublime install dir]\Data\Packages\Debugger\modules\core\core.py", line 67, in done
    exception = task.exception()
asyncio.exceptions.CancelledError

Changed the font setting "font_face": "Monospace" to "font_face": "Consolas" in the file debugger.sublime-settings inside the package, and the error changes to
Debugger: error: Closing Debugger Console View it is not attached to a console
Package Control: Skipping automatic upgrade, last run at 2022-03-29 12:13:52, next run at 2022-03-29 13:13:52 or after
Traceback (most recent call last):
  File "C:\[sublime install dir]\Data\Packages\Debugger\modules\core\sublime_event_loop.py", line 13, in __call__
    self.callback(*self.args)
  File "C:\[sublime install dir]\Data\Packages\Debugger\modules\core\core.py", line 67, in done
    exception = task.exception()
asyncio.exceptions.CancelledError

Tried all options  "console": "integratedTerminal",  "internalConsole" and "externalTerminal" and all give the same error, except that now the error message Debugger: error: Closing Debugger Console View it is not attached to a console disappears (but still CancelledError occurs). (Note: the terminus package is installed, hence externalTerminal should also work?) Also tried a more extensive configuration file
{
	"folders": [
		{
			"path": "C:\\explicit\\path\\to\\example_python",
		},
	],
	"debugger_configurations": [
		{
			"name": "Python",
			"type": "python",
			"request": "launch",
			"console": "integratedTerminal",
			"program": "C:\\explicit\\path\\to\\example_python\\main.py",
			"justMyCode": true,
			"RedirectOutput": true,
			"debugOptions" : {
				"RedirectOutput": true,
			},
			"python": "C:\\[pythonpath]\\Python310\\python.exe",
			"cwd": "C:\\explicit\\path\\to\\example_python",
			"stopOnEntry": true,
		},
	],
}

but it didn't help. Tried to fiddle with the open_at_startup option of  debugger.sublime-settings, but with no avail. Any ideas?

What does running Debugger: Show Protocol reveal?

Apparently the debugger is having trouble finding python:
⟸ process/starting :: ['python3', 'C:\\[...]\\Sublime Text Build 3211 x64\\Data\\Packages\\Debugger/data/adapters/python/extension/pythonFiles/lib/python/debugpy/adapter']
⟸ process/started ::
⟸ request/initialize(1) :: {'clientID': 'sublime', 'clientName': 'Sublime Text', 'adapterID': 'python', 'pathFormat': 'path', 'linesStartAt1': True, 'columnsStartAt1': True, 'supportsVariableType': True, 'supportsVariablePaging': False, 'supportsRunInTerminalRequest': True, 'supportsMemoryReferences': True, 'locale': 'en-us'}
⟸ process/stderr :: P
⟸ process/stderr :: ython was not found; run without arguments to install from the Microsoft Store
⟸ process/stderr :: ,
⟸ process/stderr ::  or disable this shortcut from Settings > Manage App
⟸ process/stderr :: E
⟸ process/stderr :: xecution Aliases.

⟸ process/stopped ::

But I do have the python executable in the configuration file:
			"python": "C:\\[...]\\Programs\\Python\\Python310\\python.exe",

All the mentioned paths/executables exist, I've double checked it.

The adapter configuration looks at pythonPath not python. I see python in the json schema though so it probably was changed to use python instead of pythonPath on Microsoft side.
https://github.com/daveleroy/sublime_debugger/blob/34c8b11336f9058d7d195bf9cf904c142e4fa18d/modules/adapters/python.py#L35

That was it, thanks! Some config elements were wrong so hereby the (most simple) configuration that made it work:
{
        "folders": [
                {
                        "path": ".",
                },
        ],
        "debugger_configurations": [
                {
                        "name": "Python",
                        "type": "python",
                        "request": "launch",
                        "program": "${project_path}/main.py",
                        "pythonPath": "C:\\path\\to\\Python310\\python.exe"
                },
        ],
}

Also you might need "console": "internalConsole", if it still doesn't work.


Create a TaskLauncher that calls SCDF to launch Tasks

From @sabbyanandan on May 11, 2018 15:46

It should be a poll based consumer (it should entertain a cutoff on maximum concurrently running tasks)

Determine the credential handshake between the TaskLauncher and the SCDF endpoint (it should somehow handled internally; most likely an improvement in the deployers)

child of spring-cloud/spring-cloud-dataflow-samples#66
required for spring-cloud-stream-app-starters/app-starters-release#141
Copied from original issue: spring-cloud-stream-app-starters/app-starters-release#141

code is merged in master


[BUG] Inferencer relationInfer issue with accessor key

Describe the bug
I override the field tags with field fieldTransformer
    {
        key: "tags",
        type: "relation",
        relation: true,
        multiple: true,
        resource: { name: "tags", route: "/tags" },
        relationInfer: {
            accessor: "name",
        },
        accessor: "id",
    },

And If the record's tag array does not have any item, the next records on the list does not mapped with the accessor key.
{
  "id": 1,
  "title": "1111123dasdasd",
  "content": "adasdasdasd",
  "published": true,
  "authorId": null,
  "categoryId": 2,
  "tags": [

  ],
}

Also on the show page, it says "not-handled - relation with multiple but no resource"

Steps To Reproduce
To solve this I have made some changes to the file while debugging
.../packages/inferencer/src/inferencers/mui/show.tsx
.../packages/inferencer/src/use-relation-fetch/index.ts
Expected behavior
When the array of a key does not have any item, it should show empty view.
Screenshot
No response
Desktop
No response
Mobile

UI Framework: MUI

Additional Context
No response

Hi, @BatuhanW,
I created a PR to solve this issue. You can check it here #4498


ISSUE: "config flow could not be loaded"

Describe the bug
A clear and concise description of what the bug is.
I installed HACS (which was really really annoying) and then installed this. A large number of HA restarts later, and I try and add the "keymaster" integration.
"config flow could not be loaded". (see #125 which looks similar but is closed without solution :( )
In the log files I see this:
2021-08-23 15:29:45 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading configuration flow for integration keymaster: No module named 'openzwavemqtt'
This is the only error I can find. Note that afterwards, I have to restart HA, as the "Add integration" button now just causes the UI to spin.
Environment (please complete the following information):

OS: [e.g. HassOS/Raspbian/CentOS] Debian
Type of system that HA is running on: [e.g. RPi3/NUC/Synology] Regular x86_64 server.
Home Assistant version: [e.g. 0.105.5] 2021.8.6
Hassio/Docker/Core? Core (venv)
Component version: [e.g. 0.1.2] 0.6.1 I beleive
Z-Wave integration name: [e.g. zwave_js] zwave_js
Lock make and model: [e.g. Schlage BE469] Irrelevant

Logs
2021-08-23 15:29:45 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading configuration flow for integration keymaster: No module named 'openzwavemqtt'
Screenshots

Additional context
This is a fresh install of HACS and keymaster. I've just started playing with zwave and installed a lock today. It looked like this was going to be useful.
Commentary: I don't like HACS, but you provided NO alternative installation instructions for your extension. I have several other custom components that I track using not HACS. I wasn't very happy to have to install HACS to get yours.

Do note, I tried uninstall/reinstall, that didn't fix this problem.

offhand I can't figure out why this is occurring, the imports for openzwavemqtt should be such that if they fail, we handle it and it doesn't cause an error with setup

I just re-read your post... If you don't like the installation method, you are free to either:

contribute installation documentation for this manually (it's the exact same process for installation, regardless of which custom component you use)
find or develop another alternative

For 99.9% of users, HACS has proven to be the easiest method for installation which is why we have prioritized that. Again, if you've installed another custom component before, you can follow the same instructions for this one.

Understood. I don't know what the assets and autolock directories do, which is why i didn't do it the other way...
I've tried removing all references to openzwavemqtt and its still generating the error... I wonder where it's caching this..

I'm not sure. I found three files in our codebase that reference that module, and each of them is in a try, except block which is why removing those references didn't fix the issue. Do you have any other Z-Wave related integrations installed?

well, just the base zwavejs stuff, as far as I'm aware.

OK. I managed to extract a full stack trace for the import error :smile:
Aug 24 19:03:37 house hass[23174]: 2021-08-24 19:03:37 ERROR (MainThread) [homeassistant.config_entries] No module named 'openzwavemqtt'
Aug 24 19:03:37 house hass[23174]: Traceback (most recent call last):
Aug 24 19:03:37 house hass[23174]:   File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/config_entries.py", line 696, in async_create_flow
Aug 24 19:03:37 house hass[23174]:     integration.get_platform("config_flow")
Aug 24 19:03:37 house hass[23174]:   File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/loader.py", line 498, in get_platform
Aug 24 19:03:37 house hass[23174]:     cache[full_name] = self._import_platform(platform_name)
Aug 24 19:03:37 house hass[23174]:   File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/loader.py", line 503, in _import_platform
Aug 24 19:03:37 house hass[23174]:     return importlib.import_module(f"{self.pkg_path}.{platform_name}")
Aug 24 19:03:37 house hass[23174]:   File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
Aug 24 19:03:37 house hass[23174]:     return _bootstrap._gcd_import(name[level:], package, level)
Aug 24 19:03:37 house hass[23174]:   File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
Aug 24 19:03:37 house hass[23174]:   File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
Aug 24 19:03:37 house hass[23174]:   File "<frozen importlib._bootstrap>", line 972, in _find_and_load_unlocked
Aug 24 19:03:37 house hass[23174]:   File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
Aug 24 19:03:37 house hass[23174]:   File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
Aug 24 19:03:37 house hass[23174]:   File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
Aug 24 19:03:37 house hass[23174]:   File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
Aug 24 19:03:37 house hass[23174]:   File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
Aug 24 19:03:37 house hass[23174]:   File "<frozen importlib._bootstrap_external>", line 790, in exec_module
Aug 24 19:03:37 house hass[23174]:   File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
Aug 24 19:03:37 house hass[23174]:   File "/home/homeassistant/.homeassistant/custom_components/keymaster/__init__.py", line 10, in <module>
Aug 24 19:03:37 house hass[23174]:     from homeassistant.components.ozw import DOMAIN as OZW_DOMAIN
Aug 24 19:03:37 house hass[23174]:   File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/components/ozw/__init__.py", line 7, in <module>
Aug 24 19:03:37 house hass[23174]:     from openzwavemqtt import OZWManager, OZWOptions
Aug 24 19:03:37 house hass[23174]: ModuleNotFoundError: No module named 'openzwavemqtt'

So, after commenting out ALL of those references, I was able to get it to load! My guess is that if someone had previously setup the legacy zwave, it would work because those libraries would have been present. As I started from new with zwave_js, they've just never been present for me, so ozw/zwave cannot load and your hard references to them are problematic.

wow, great find! I see the problem now, will push a fix soon. Thanks for digging into this, without that trace I would not have been able to figure this one out

are you comfortable testing a branch? If so can you test this one: https://github.com/raman325/keymaster/tree/fix_imports


Storage A sequence collision has occured.  Extra versions of this macro have been loaded.  Manage the sequence to determine how to use them

Get this in chat when I do /gs..
Beta 3

This will occur as a one off.  its importing all your old Macros.  There is an update to beta 3 about to hit Curse any second now. https://wowlazymacros.com/forums/topic/gse2-and-7-1-5/

Closing


refactor(baseService): remove standard status code of 500

[x] commit messages are commitizen-friendly
[x] code is unit tested
[x] code is integration tested
[ ] public code is documented
[ ] code is reviewed by at least one person
[x] code satisfies linter rules

The status code 500 was also shown if there was no response from the server (timeout), which was
confusing since getting a status code looks like there was a response from the server.
closes #113
/cc @emmenko

:+1:


Grab Discover IDs from homepage API

:warning: Requires https://github.com/OdyseeTeam/odysee-homepages/pull/1751
Test: kp
Adds ability for homepage team to define the Discover list of IDs.
If undefined, falls back to English's list. If English is also undefined, falls back to LATEST / PRIMARY.

Let's make sure to exclude channels you already follow (did it do this before?)? Can pass as not channel ids.


Fixed issue with unreported error on missing method call in if test.

Fixed issue where missing method call went unreported if the call target symbol did no have an id assigned or if the called property was used inside the if block on a different target.

Fixes #35557

This is a pretty old commit, so merging will probably break the build. On the other hand, I can't fetch commits from dragomirtitian/TypeScript. So I'm going to merge and immediately build locally and push any fixes to master.


HDF5-DIAG: Error

julia> sys = PSB.build_system(PSB.SIIPExampleSystems, "5_bus_hydro_uc_sys")
[ Info: Deserializing with InMemoryTimeSeriesStorage is currently not supported. Using HDF
[ Info: Loaded time series from storage file existing=5_bus_hydro_uc_sys_time_series_storage.h5 new=/var/folders/27/2jr8c7gn4j72fvrg4qt81zrw8w_711/T/jl_PM3GKQ compression=CompressionSettings(false, CompressionTypes.DEFLATE = 1, 3, true)
System
======
System Units Base: DEVICE_BASE
Base Power: 100.0
Base Frequency: 60.0

Components
==========
Num components: 35

12×3 DataFrame
 Row │ ConcreteType                SuperTypes
     │ String                      String
─────┼──────────────────────────────────────────────────────────────────
   1 │ Arc                         Topology <: Component <: Infrast…
   2 │ Area                        AggregationTopology <: Topology …
   3 │ Bus                         Topology <: Component <: Infrast…
   4 │ HydroDispatch               HydroGen <: Generator <: StaticI…
   5 │ HydroEnergyReservoir        HydroGen <: Generator <: StaticI…
   6 │ HydroPumpedStorage          HydroGen <: Generator <: StaticI…
   7 │ Line                        ACBranch <: Branch <: Device <: …
   8 │ LoadZone                    AggregationTopology <: Topology …
   9 │ PowerLoad                   StaticLoad <: ElectricLoad <: St…
  10 │ TapTransformer              ACBranch <: Branch <: Device <: …
  11 │ ThermalStandard             ThermalGen <: Generator <: Stati…
  12 │ VariableReserve{ReserveUp}  Reserve{ReserveUp} <: Service <:…
                                                        1 column omitted

TimeSeriesContainer
===================
Components with time series data: 7
Total StaticTimeSeries: 14
Total Forecasts: 14
Resolution: 60 minutes
First initial time: 2020-01-01T00:00:00
Last initial time: 2020-01-07T00:00:00
Horizon: 24
Interval: 1440 minutes
Forecast window count: 7

julia>  re = RenewableDispatch(
               "WindBusA",
               true,
               get_component(Bus, sys, "bus5"),
               0.0,
               0.0,
               1.200,
               PrimeMovers.WT,
                       (min = 0.0, max = 0.0),
               1.0,
               TwoPartCost(0.220, 0.0),
               100.0,
                   )

┌ Warning: SystemUnitSetting not defined, using NATURAL_UNITS for displaying device specification.
└ @ PowerSystems ~/.julia/packages/PowerSystems/DdZ5W/src/utils/print.jl:69
WindBusA (RenewableDispatch):
   name: WindBusA
   available: true
   bus: bus5 (Bus)
   active_power: 0.0
   reactive_power: 0.0
   rating: 120.0
   prime_mover: PrimeMovers.WT = 22
   reactive_power_limits: (min = 0.0, max = 0.0)
   power_factor: 1.0
   operation_cost: TwoPartCost
   base_power: 100.0
   services: 0-element Vector{Service}
   dynamic_injector: nothing
   ext: Dict{String, Any}()
   time_series_container: InfrastructureSystems.TimeSeriesContainer: 0
   internal: InfrastructureSystems.InfrastructureSystemsInternal

julia> add_component!(sys, re)

julia> copy_time_series!(re, get_component(PowerLoad, sys, "bus2"))
HDF5-DIAG: Error detected in HDF5 (1.12.0) thread 0:
  #000: H5A.c line 312 in H5Acreate2(): unable to create attribute
    major: Attribute
    minor: Unable to initialize object
  #001: H5VLcallback.c line 1023 in H5VL_attr_create(): attribute create failed
    major: Virtual Object Layer
    minor: Unable to create file
  #002: H5VLcallback.c line 989 in H5VL__attr_create(): attribute create failed
    major: Virtual Object Layer
    minor: Unable to create file
  #003: H5VLnative_attr.c line 77 in H5VL__native_attr_create(): unable to create attribute
    major: Attribute
    minor: Unable to initialize object
  #004: H5Aint.c line 166 in H5A__create(): attribute already exists
    major: Attribute
    minor: Object already exists
HDF5-DIAG: Error detected in HDF5 (1.12.0) thread 0:
  #000: H5A.c line 885 in H5Aget_name(): not an attribute
    major: Invalid arguments to routine
    minor: Inappropriate type
ERROR: Error getting attribute name
Stacktrace:
  [1] error(s::String)
    @ Base ./error.jl:33
  [2] h5a_get_name
    @ ~/.julia/packages/HDF5/VJkAi/src/api.jl:207 [inlined]
  [3] h5a_get_name(attr_id::HDF5.Group)
    @ HDF5 ~/.julia/packages/HDF5/VJkAi/src/api_helpers.jl:27
  [4] h5a_create
    @ ~/.julia/packages/HDF5/VJkAi/src/api.jl:119 [inlined]
  [5] create_attribute(parent::HDF5.Group, name::String, dtype::HDF5.Datatype, dspace::HDF5.Dataspace)
    @ HDF5 ~/.julia/packages/HDF5/VJkAi/src/HDF5.jl:750
  [6] create_attribute(parent::HDF5.Group, name::String, data::Bool; pv::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
    @ HDF5 ~/.julia/packages/HDF5/VJkAi/src/HDF5.jl:1538
  [7] create_attribute
    @ ~/.julia/packages/HDF5/VJkAi/src/HDF5.jl:1535 [inlined]
  [8] write_attribute(parent::HDF5.Group, name::String, data::Bool; pv::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
    @ HDF5 ~/.julia/packages/HDF5/VJkAi/src/HDF5.jl:1560
  [9] write_attribute
    @ ~/.julia/packages/HDF5/VJkAi/src/HDF5.jl:1560 [inlined]
 [10] setindex!
    @ ~/.julia/packages/HDF5/VJkAi/src/HDF5.jl:882 [inlined]
 [11] (::InfrastructureSystems.var"#116#117"{InfrastructureSystems.Hdf5TimeSeriesStorage, Base.UUID, String, String, String})(file::HDF5.File)
    @ InfrastructureSystems ~/.julia/packages/InfrastructureSystems/fSRUY/src/hdf5_time_series_storage.jl:269
 [12] h5open(::InfrastructureSystems.var"#116#117"{InfrastructureSystems.Hdf5TimeSeriesStorage, Base.UUID, String, String, String}, ::String, ::Vararg{String, N} where N; swmr::Bool, pv::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
    @ HDF5 ~/.julia/packages/HDF5/VJkAi/src/HDF5.jl:458
 [13] h5open
    @ ~/.julia/packages/HDF5/VJkAi/src/HDF5.jl:456 [inlined]
 [14] add_time_series_reference!(storage::InfrastructureSystems.Hdf5TimeSeriesStorage, component_uuid::Base.UUID, name::String, ts_uuid::Base.UUID)
    @ InfrastructureSystems ~/.julia/packages/InfrastructureSystems/fSRUY/src/hdf5_time_series_storage.jl:266
 [15] copy_time_series!(dst::RenewableDispatch, src::PowerLoad; name_mapping::Nothing, scaling_factor_multiplier_mapping::Nothing)
    @ InfrastructureSystems ~/.julia/packages/InfrastructureSystems/fSRUY/src/component.jl:444
 [16] #copy_time_series!#156
    @ ~/.julia/packages/PowerSystems/DdZ5W/src/base.jl:1014 [inlined]
 [17] copy_time_series!(dst::RenewableDispatch, src::PowerLoad)
    @ PowerSystems ~/.julia/packages/PowerSystems/DdZ5W/src/base.jl:1014
 [18] top-level scope
    @ REPL[22]:1

This appears to only happen when the system has been deserialized from a json.

This bug should happen anytime you call copy_time_series! on a component with SingleTimeSeries that has been transformed into DeterministicSingleTimeSeries. In the copy logic we try to add the same HDF5 attribute twice (buried in the stack trace is attribute already exists). There are two views into the same time array; we don't need to make the second call.
This is actually a long-standing bug. I recently optimized some of our logic accessing HDF5 files and found that we were allowing duplicate references. The consequence of that bug was that removing a component would not have properly deleted the time array. I fixed that bug last week, so that is why you are seeing this now.
I don't think that this has anything to do with serialization. The system you are creating with PSB uses in-memory time series. There is different copy logic for that implementation. We currently have a limitation in that if you deserialize a system that was created with in-memory time series you will get back HDF5 time series.


Give users full control over email visibility

At present, organization admins can set the visibility for email addresses in the organization. This does not allow the user to fully control the visibility of their email address.
We want to make the following change in order to enable users to control who their email is shared with:

Add a drop-down under Personal settings > Account & privacy > Privacy to control one's own email visibility.

Label: "Who can access your email address"
Values: All the standard policy types from NOBODY to EVERYONE
This sets user_profile.email_address_visibility. It determines your personal email address visibility, and only you can modify who gets to see your email address.

Organization admins should be able to set the default email visibility, which will now be a setting under Organization settings > Default user settings > Privacy settings.

Email visibility will no longer appear under Organization permissions. The existing realm.email_address_visibility becomes instead a default for new users, migrated to RealmUserDefault.

To solve #16920, we should add something like the following line to the sign up form: "When you sign up, your email address will be visible to [roles] in this organization. Change" It's probably reasonable to put this in a small font below the "Sign up" button, as it's not a core part of the sign-up flow.

Clicking on "Change" should pop up a dialog that allows the user to set their email visibility. The changes they make should be reflected when they go back to the sign-up page.
Note that as a result of this change, organization administrators will no longer be able to require users to share their email. We expect that in the context of, e.g., a business that wants all employee emails to be visible in Zulip, this visibility requirement can be enforced through non-technical means (i.e. by asking the employee to change email visibility back to the default setting).
Related issues that will be resolved: #16920, #18149
@sahil839 FYI

@sahil if you are not working on it . Can I work on it.

I have a PR open and it is almost complete.
You can take some other issue.

okay

In-progress PR: #22994


Bug #2446: disable record/replay support when tracing is disabled

this will need changes to cmake/detect-features.cmake as well.

this will need changes to cmake/detect-features.cmake as well.

I don't see any similar features there that depend on other features. Does the cmake system have an equivalent to --with-production?

this will need changes to cmake/detect-features.cmake as well.

I don't see any similar features there that depend on other features. Does the cmake system have an equivalent to --with-production?

Yeah, this isn't so well supported (and difficult to replicate in cmake). My suggestion is to add this code to line 108 in the main CMakeLists.txt:
set(CMK_REPLAYSYTEM ${REPLAY})

if(${REPLAY} AND NOT ${TRACING})
  set(CMK_REPLAYSYTEM 0)
  message(WARNING "Charm record/replay is disabled because tracing is disabled")
endif()


Simplify Build on Windows (and other enviroments)

This PR strips down the quickstart.sh to barebones, moving the scripts into a container called quickstart to make it easier to run on Windows and other environments.
I don't know that I love this, because now I feel like we're hiding more of the steps....   On the other hand, we may need to script more thigns in the future as we add new and different katas....
Looking for feedback!
I wonder if the quickstart.sh script should be called chorus.sh?

I think the 'run on Windows and other environments' gain isn't that big if we spread out former quickstart.sh to many .sh files. Could we move these scripts inside the quickstart container?
I agree that this split could make it more difficult to follow what happens.

I tried to get a windows build to run, however, on Github Actions, while we can run docker-compose build, it appears that, because it's on Windows, we can't pull any of the linux platform based images.  Which doesn't make sense to me, since my understanding is that on Windows we can run Linux images via Docker!

This is  just so hard to deal with, and  I am leery of adding more complexity,  so  going  to  pause this effort.


Fix nav bar scrolling issue on mobile devices

Fixes the issue where the nav bar neither remains fixed nor gets closed when a mobile phone user starts scrolling down. The nav bar now hides when scrolling on mobile devices.
Changes

Modified MobileNav component to have a fixed position.
Updated onScroll function to close the nav bar when scrolling on mobile.

Issue
Fixes #667
Testing
Tested on both Microsoft Edge and Google Chrome on mobile devices.

Summary by CodeRabbit

New Features

Improved mobile navigation behavior with updated positioning and stacking context.
Enhanced control flow for closing mobile navigation based on window width.

Bug Fixes

Adjusted mobile navigation to close automatically when scrolling on smaller screens.

@drippypop Awesome work 👏. You have nailed it 😁. It got exactly the same outcome I planned. I had thought that I couldn't expressed what to do at the fullest but you seem to get the point. Congratulation 🎉.
Can you please check if this review changes work locally to get the same output - https://github.com/SaptarshiSarkar12/Drifty/pull/672#discussion_r1787686800? If yes, can you please commit that?


decl_hdf5 MPIIO Collective or Independent, fix #419

Possibility to choose parallel MPIIO pointer (COLLECTIVE/INDEPENDENT) for hdf5 in parallel.
List of things to check before making a PR
Before merging your code, please check the following:

[x] you have added a line describing your changes to the Changelog;
[x] you have added unit tests for any new or improved feature;
[x] In case you updated dependencies, you have checked pdi/docs/CheckList.md
you have checked your code format:

[x] you have checked that you respect all conventions specified in CONTRIBUTING.md;
[x] you have checked that the indentation and formatting conforms to the .clang-format;
[x] you have documented with doxygen any new or changed function / class;

you have correctly updated the copyright headers:

[x] your institution is in the copyright header of every file you (substantially) modified;
[x] you have checked that the end-year of the copyright there is the current one;

you have updated the AUTHORS file:

[x] you have added yourself to the AUTHORS file;
[x] if this is a new contribution, you have added it to the AUTHORS file;

you have added everything to the user documentation:

[x] any new CMake configuration option;
[x] any change in the yaml config;
[x] any change to the public or plugin API;
[x] any other new or changed user-facing feature;
[x] any change to the dependencies;

you have correctly linked your MR to one or more issues:

[x] your MR solves an identified issue;
[x] your commit contain the Fix #issue keyword to autoclose the issue when merged.

In documentation  of the plugin in the section "full configuration example". The keyword deflate, chunking, fletcher are not reference. Do you want add this in this merge ?

In the files plugins/decl_hdf5/dataset_op.cxx and plugins/decl_hdf5/file_op.cxx, the error messages contain: " `{}' ", which may be a typographical error (example with https://github.com/pdidev/pdi/blob/4ffd27b76740ae6c53de3a9773903c6542455aa4/plugins/decl_hdf5/file_op.cxx#L88).
This gives error message looking like the following:
" Used HDF5 is not parallel. Invalid communicator: `$MPI_COMM_WORLD' "

In the files plugins/decl_hdf5/dataset_op.cxx and plugins/decl_hdf5/file_op.cxx, the error messages contain: " `{}' ", which may be a typographical error. Example:
https://github.com/pdidev/pdi/blob/4ffd27b76740ae6c53de3a9773903c6542455aa4/plugins/decl_hdf5/file_op.cxx#L88
This gives error message looking like the following: " Used HDF5 is not parallel. Invalid communicator: `$MPI_COMM_WORLD' "

{} is the way to include the arguments that come after, similarly to what's done in python. This is based on https://fmt.dev/11.0/

In the files plugins/decl_hdf5/dataset_op.cxx and plugins/decl_hdf5/file_op.cxx, the error messages contain: " `{}' ", which may be a typographical error. Example:
https://github.com/pdidev/pdi/blob/4ffd27b76740ae6c53de3a9773903c6542455aa4/plugins/decl_hdf5/file_op.cxx#L88
This gives error message looking like the following: " Used HDF5 is not parallel. Invalid communicator: `$MPI_COMM_WORLD' "

{} is the way to include the arguments that come after, similarly to what's done in python. This is based on https://fmt.dev/11.0/

I want to bring attention to the mismatched apostrophes here, and not to the brackets, a small typographical issue. Those are likely due to a mac keyboard conflict. The error messages affected look cropped, and may misguide a user as they bypass grepping patterns.

This is on purpose and used all over PDI. We can argue this does not look nice and change it though. This is also used in many GNU tools like GCC for example.
If we go for a change, we should be coherent and change it all over PDI.

I decide to use in the code "mpio" as hdf5 in the code. But for comment about "mpio"(c file, readme, YAML), I propose to use MPI-I/O instead of MPIIO.

I need to do rebase

The PR is reopened in #502