Include dormidas

It is not possible to aggregate dormidas by NUT.
Instead, include:

national level json
mil dormidas for each concelho that has data for 2006 - 2016

Todo:

[ ] add national values from INE
[ ] don't back-fill data
[ ] don't aggregate data by NUT

@olafveerman Instead of having the dormidas in a separate file, could we have it in the national.js, right after results?
{
  "meta": {
    "name": "observatorio-taxis-data",
    "description": "Data about taxis in Portugal from 2006 on, aggregated by NUT3 and concelho",
    "source": {
      "name": "Autoridade da Mobilidade e dos Transportes",
      "web": "http://www.amt-autoridade.pt"
    },
    "license": "CC-BY-4.0"
  },
  results: [...],
  dormidas: [...]
}

@danielfdsilva
I'd prefer not to have data outside of the results array. If you can't load it from the other file, could I add the national domidas data in the results array?

At this state I'd rather not have to load another file. If you add it to
the results array, how would that be since the results are basically nuts?
On Apr 13, 2017 03:34, "Olaf Veerman"<EMAIL_ADDRESS>wrote:
@danielfdsilva https://github.com/danielfdsilva
I'd prefer not to have data outside of the results array. If you can't load
it from the other file, could I add the national domidas data in the results
array?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/olafveerman/taxis/issues/47#issuecomment-293760504,
or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABCkLg-T6Q50df5jhA-zMu8SNH2HOb_Pks5rvYnAgaJpZM4Mmerz
.

The results are administrative areas, all of which happen to be NUTS3 right
now. I realize the object with national data wouldn't contain the same
indicators, but I'd rather have the exception there, than create a
dormidas object outside of the results array.
On Wed, Apr 12, 2017 at 10:50 PM Daniel da Silva<EMAIL_ADDRESS>wrote:

At this state I'd rather not have to load another file. If you add it to
the results array, how would that be since the results are basically nuts?
On Apr 13, 2017 03:34, "Olaf Veerman"<EMAIL_ADDRESS>wrote:
@danielfdsilva https://github.com/danielfdsilva
I'd prefer not to have data outside of the results array. If you can't load
it from the other file, could I add the national domidas data in the
results
array?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/olafveerman/taxis/issues/47#issuecomment-293760504,
or mute
the thread
<
https://github.com/notifications/unsubscribe-auth/ABCkLg-T6Q50df5jhA-zMu8SNH2HOb_Pks5rvYnAgaJpZM4Mmerz

.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/olafveerman/taxis/issues/47#issuecomment-293763374,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAt24u5V-U6YVI9gOrPVGn5GOe67UqRZks5rvY15gaJpZM4Mmerz
.

Implemented.


Bugfix: reset workflow history should also clear stale history events

close in favor of history version filtering. see #929


use qmldir to define QML module with IgnSpinBox

🎉 New feature
Closes #310
Summary

This change adds a qmldir file that defines an importable QML module for common QML components implemented in include/ignition/gui/qml/.
With this change, it will be possible to import QML components using module import statements instead of file path.
Updating import statements will look like this:
-import "qrc:/qml"
+import ignition.gui 1.0

Test it

Build and run the application ign run
Add the "Teleop" plugin
Verify that the plugin loads and that the IgnSpinBox is part of the UI

Checklist

[ ] Signed all commits for DCO
[ ] Added tests
[ ] Added example and/or tutorial
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[ ] codecheck passed (See contributing)
[ ] All tests passed (See test coverage)
[ ] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge

Nice, thank you for cleaning it up!
The approach looks good to me. I also checked that import "qrc:/qml" still works, so this doesn't break any existing users.
Would you be able to retarget this PR to ign-gui3? Then we can merge it forward to all supported versions from there.
Thanks!

I branched off of ign-gui3 and force-pushed then updated this PR to target ign-gui3.

@chapulina Are there any more QML components that should be added to the ignition.gui 1.0 QML module in this pull request? Anything that has an Ign prefix?

IgnCard
IgnCardSettings
...
IgnSplit

Or should additional components be added in a separate pull request?

Are there any more QML components that should be added to the ignition.gui 1.0 QML module in this pull request?

I was thinking about that. The only one that we really use downstream is IgnSpinBox, so I think that's the only one we really need to add right now. If users need to use the others, I think we can add them later.
There's been conversations about adding generic widgets for pose, vector, etc, which we repeat a lot in ign-gui and ign-gazebo. Once those are added I'd expect to put them in this module too.

This pull request has been mentioned on Gazebo Community. There might be relevant details there:
https://community.gazebosim.org/t/new-ignition-releases-2022-01-10/1228/1

This pull request has been mentioned on Gazebo Community. There might be relevant details there:
https://community.gazebosim.org/t/new-ignition-releases-2022-01-24-citadel-edifice-fortress/1241/1

This pull request has been mentioned on Gazebo Community. There might be relevant details there:
https://community.gazebosim.org/t/new-ignition-releases-2022-03-01-citadel-edifice-fortress/1313/1


agent-specific metrics [WIP]

I'm good to go with labels. There's a higher storage cost, but doesn't seems like it would be significant. The labeling approach has advantages wrt. aligning with other agents on metric names, being able to dynamically draw a graph per generation etc.

closing this as it is out of date


local docker build is failing: Service 'node1' failed to build

Error when building:
...
HEAD is now at 1a124b3 Update the gRPC address and add logs when connected to other nodes (#23)
go get -u github.com/golang/dep/cmd/dep
go get -u golang.org/x/tools/cmd/goimports
# golang.org/x/tools/cmd/goimports
loadinternal: cannot find runtime/cgo
go get -u github.com/wadey/gocovmerge
# github.com/wadey/gocovmerge
loadinternal: cannot find runtime/cgo
(cd /quorum/crux/.GOPATH/src/github.com/blk-io/crux && ./bin/dep ensure)
# github.com/blk-io/crux/vendor/github.com/jsimonetti/berkeleydb
bdb.c: In function 'go_db_cursor':
bdb.c:78:38: warning: passing argument 3 of 'dbp->cursor' from incompatible pointer type [-Wincompatible-pointer-types]
         ret = dbp->cursor(dbp, NULL, dbcp, 0);
                                      ^~~~
bdb.c:78:38: note: expected 'DBC ** {aka struct __dbc **}' but argument is of type 'DBC * {aka struct __dbc *}'
# github.com/blk-io/crux/server
.GOPATH/src/github.com/blk-io/crux/server/proto_server.go:23:43: cannot use &s (type *Server) as type chimera.ClientServer in argument to chimera.RegisterClientServer:
	*Server does not implement chimera.ClientServer (missing Delete method)
.GOPATH/src/github.com/blk-io/crux/server/proto_server.go:78:43: cannot use &s (type *Server) as type chimera.ClientServer in argument to chimera.RegisterClientServer:
	*Server does not implement chimera.ClientServer (missing Delete method)
.GOPATH/src/github.com/blk-io/crux/server/proto_server.go:115:43: cannot use &s (type *Server) as type chimera.ClientServer in argument to chimera.RegisterClientServer:
	*Server does not implement chimera.ClientServer (missing Delete method)
make: *** [Makefile:16: build] Error 2
ERROR: Service 'node1' failed to build: The command '/bin/sh -c chmod +x start.sh crux-start.sh istanbul-start.sh istanbul-init.sh &&     chmod +x test_transaction.sh &&     chmod +x bootstrap.sh &&     ./bootstrap.sh &&     apk del sed make git cmake build-base gcc g++ musl-dev curl-dev boost-dev' returned a non-zero code: 2

how to replicate that:

Debian based AWS machine
docker version:           18.06.1-ce
docker compose version:   1.22.0, build f46880fe

clean all docker:
docker kill $(docker ps -q) ; docker rm $(docker ps -a -q) ; docker rmi $(docker images -q)

get newest blk-io/crux (commit abb98b1b88a92527f81371625f0ee2ad40d2489a):
git clone  https://github.com/blk-io/crux blk-io_crux
cd blk-io_crux
cp docker-compose.yaml docker-compose-local.yaml
nano docker-compose-local.yaml

Follow the instructions, so that it looks like this:
...
  node1: &quorum_crux_node
    # Pull image down from Docker Hub
    # image: blkio10/quorum-crux:v1.0.0
    # Uncomment the below, and comment out the above line to build the Docker images yourself
    image: blk.io/quorum/quorum-crux
    build:
      context: .
    container_name: quorum1
...

then start it, and be patient:
docker-compose -f docker-compose-local.yaml up --build

ends with the above error message
ERROR: Service 'node1' failed to build: The command '/bin/sh -c chmod +x start.sh crux-start.sh istanbul-start.sh istanbul-init.sh &&     chmod +x test_transaction.sh &&     chmod +x bootstrap.sh &&     ./bootstrap.sh &&     apk del sed make git cmake build-base gcc g++ musl-dev curl-dev boost-dev' returned a non-zero code: 2

Please repair this, thanks a lot.

The reason for me trying this:
I want to demonstrate to the parity people how much faster quorum/geth IBFT actually is.
See https://github.com/paritytech/parity-ethereum/issues/9393#issuecomment-418829614
Thanks.

Updated a fix, thanks for letting us know!

perhaps related to https://github.com/blk-io/crux/issues/33

yes, that helped. It's working again. Thanks.


Importing unencrypted wallet.dat

When I try to import wallet.dat, which is not encrypted, I am prompted for a password to decrypt the file. I am forced to type in a password in order to import the file. There is no way to import the file unless I also include a password. Since however the file is unencrypted, any import fails with dummy passwords as it unsuccessfully tries to decrypt with the dummy password.
Therefore, I can not import an unencrypted wallet.dat file to my bitpay app.
There should be a way to import unencrypted wallet.dat files into bitpay without submitting a password.

it is not possible to export an unencrypted wallet file with Copay.

Where did you get your wallet.dat?

Yes, I’m trying to import, not export. Wallet.dat comes from my bitcoin core full node. BTC is empty but it still has several BCH on this wallet. I was having trouble with downloading the full BCH node and don’t intend to run it either, and would just like to import my BCH onto my copay wallet. Bitcoin ABC can read the file no problem.

wallet.dat from bitcoind is a completely different format, I am afraid that is not possible at all.

I think that electron-cash support bitcoind's wallet.dat format, you can try that one.

@jmarkinman
I can recover your wallet if you want need help  send me email<EMAIL_ADDRESS>


chore: remove example

Codecov Report

Merging #26 (033582e) into master (6ec20b9) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master       #26   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           17        17
  Lines          124       124
  Branches        20        20
=========================================
  Hits           124       124

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6ec20b9...033582e. Read the comment docs.


Text selection not working in RN 0.68.0-rc.2

Description
Text does not become selectable after enabling selectable={true} property on ANDROID, on IOS it works without problems
Version
0.68.0-rc.2
Output of npx react-native info
    OS: Windows 10 10.0.22000
    CPU: (8) x64 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
    Memory: 2.63 GB / 15.73 GB
  Binaries:
    Node: 16.13.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.17 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 8.1.0 - C:\Program Files\nodejs\npm.CMD
    Watchman: Not Found
  SDKs:
    Android SDK:
      API Levels: 23, 28, 29, 30, 31
      Build Tools: 28.0.2, 28.0.3, 29.0.2, 30.0.2, 30.0.3, 31.0.0
      System Images: android-28 | Google Play Intel x86 Atom, android-29 | Google APIs Intel x86 Atom, android-29 | Google Play Intel x86 Atom, android-30 | Google APIs Intel x86 Atom, android-30 | Google Play Intel x86 Atom
      Android NDK: Not Found
    Windows SDK: Not Found
  IDEs:
    Android Studio: Version     2<IP_ADDRESS> AI-211.7628.21.2111.8092744
    Visual Studio: Not Found
  Languages:
    Java: 11.0.12
  npmPackages:
    @react-native-community/cli: Not Found
    react: 17.0.2 => 17.0.2
    react-native: 0.68.0-rc.2 => 0.68.0-rc.2
    react-native-windows: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Steps to reproduce

Running the command: react-native init projectName --version 0.68.0-rc.2
Create the simple component simple text and try select

Snack, code example, screenshot, or link to a repository
Code to reproduce the problem
import React from 'react';
import {SafeAreaView, StyleSheet, Text, View} from 'react-native';

const App = () => {
  return (
    <View style={{justifyContent: 'center', alignItems: 'center', flex: 1}}>
      <Text selectable={true}>text example</Text>
    </View>
  );
};

export default App;

#https://github.com/reactwg/react-native-releases/discussions/13#discussioncomment-2295541

https://github.com/reactwg/react-native-releases/discussions/13#discussioncomment-2295541

Hi, i installed rn 0.68.0-rc.1, but when build ios has a problem below
Did you see it before? I dont have solution for it

my package.json
"dependencies": {
    "react": "17.0.2",
    "react-native": "0.68.0-rc.2",
    "react-native-screens": "^3.13.1"
  },


NETOBSERV-201: Allow configuration from env

It misses the "Sampling" configuration option, which has been left for another PR as it involves modifying the eBPF C code.

Codecov Report

Merging #15 (96a35ed) into main (9c2d07b) will increase coverage by 2.22%.
The diff coverage is 78.26%.

@@            Coverage Diff             @@
##             main      #15      +/-   ##
==========================================
+ Coverage   41.50%   43.72%   +2.22%
==========================================
  Files           8        8
  Lines         453      478      +25
==========================================
+ Hits          188      209      +21
  Misses        253      253
- Partials       12       16       +4

Flag
Coverage Δ

unittests
43.72% <78.26%> (+2.22%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/agent/config.go
70.73% <73.68%> (+28.62%)
:arrow_up:

pkg/agent/agent.go
79.41% <100.00%> (+0.95%)
:arrow_up:

pkg/exporter/grpc_proto.go
85.48% <0.00%> (-4.84%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9c2d07b...96a35ed. Read the comment docs.


Wma/windows

Codecov Report
Base: 76.54% // Head: 76.00% // Decreases project coverage by -0.54% :warning:

Coverage data is based on head (d809d9b) compared to base (135be8b).
Patch coverage: 66.66% of modified lines in pull request are covered.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #105      +/-   ##
==========================================
- Coverage   76.54%   76.00%   -0.54%
==========================================
  Files          42       41       -1
  Lines        4050     3964      -86
==========================================
- Hits         3100     3013      -87
- Misses        950      951       +1

Impacted Files
Coverage Δ

src/modifiers.jl
51.51% <50.00%> (-4.49%)
:arrow_down:

src/annihilate.jl
89.47% <100.00%> (+2.61%)
:arrow_up:

src/Finch.jl
50.00% <0.00%> (-46.16%)
:arrow_down:

src/IndexNotation/syntax.jl
73.75% <0.00%> (-3.08%)
:arrow_down:

src/jumpers.jl
59.37% <0.00%> (-2.39%)
:arrow_down:

src/spikes.jl
68.83% <0.00%> (-1.54%)
:arrow_down:

src/shifts.jl
53.12% <0.00%> (-1.43%)
:arrow_down:

src/select.jl
80.64% <0.00%> (-1.18%)
:arrow_down:

src/steppers.jl
82.35% <0.00%> (-0.99%)
:arrow_down:

... and 26 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


(feature req) Option to download list of contents only

It would be nice to have an option that doesn't actually download the contents, only titles with a --list command or something similar.
I have hundreds of gigabytes of stuff, and it would be nice to just have a list of all my e-books for example, without having to wait days for all of the actual content to download.
The output could just be a JSON (or XML) file or a continuous text output to STDOUT in the format:
Bundle name
|-- Item name
    |-- (optional list of available formats

Or something along those lines

Hey @WolfyD, I'm not sure this repository is maintained so much anymore, I have submitted a pull request for multi-processing, should solve your waiting days problems (given that your network can cooperate)
On my profile you can find this repo with the multiprocessing patch and trove patch.
Multiprocessing currently isn't for trove.
I like this idea, I'd be happy to try and work this feature out for you, if it's something you are still interested in, and haven't found elsewhere.

@Greeley Do you expect to merge the upstream changes, or will your fork continue to diverge? I'd be happy to contribute to a more active fork.

@sparr I have a PR in upstream for my multiprocessing changes.
I will probably continue to diverge my fork. Sorry for the late reply, I wasn't very active (in general) but expect to be more active moving forward.


User without account or sensors should show error / warning - improvement

Unknown user should show some kind of error like "no sensors for user :xxxxx"

Oops. :-) Good catch, don't know how I managed to do that .
It would be nice if some message was presented like "no account" or "no sensors for xxxxx"

omistajuus -> omistajuus. (add a period)

S to s:

Remove w:


Error in ilvr_sample after loading my trained model

Hi,
I trained a model from scratch using my own dataset. After training I ended up with checkpoint files like ema_0.9999_000010.pt, model000010.pt and opt000010.pt.
flags used for training
python train_model.py --data_dir /data1/ --image_size 256 --num_channels 128 --num_res_blocks 3 --diffusion_steps 4000 --noise_schedule cosine --lr 1e-4 --batch_size 4 --save_dir /data2/

I used the checkpoint file ema_0.9999_000010.pt for ilvr sampling but it throwed the following error
flags used for sampling
python src/models/ILVR_GuidedDiffusion/ilvr_sample.py  --attention_resolutions 16 --class_cond False --diffusion_steps 4000 --dropout 0.0 --image_size 256 --learn_sigma True --noise_schedule cosine --num_channels 128 --num_res_blocks 1 --resblock_updown True --use_fp16 False --use_scale_shift_norm True --timestep_respacing 100 --model_path /data2/ema_0.9999_000010.pt --base_samples ref_imgs/bdd10k --down_N 32 --range_t 20 --save_dir reports/figures/guided

Error
Logging to reports/figures/guided
creating model...
Traceback (most recent call last):
  File "src/models/ILVR_GuidedDiffusion/ilvr_sample.py", line 134, in <module>
    main()
  File "src/models/ILVR_GuidedDiffusion/ilvr_sample.py", line 49, in main
    model.load_state_dict(
  File "/home/vinod/anaconda3/envs/lsgm/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1482, in load_state_dict
    raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(
RuntimeError: Error(s) in loading state_dict for UNetModel:
        Missing key(s) in state_dict: "input_blocks.2.0.in_layers.0.weight", "input_blocks.2.0.in_layers.0.bias", "input_blocks.2.0.in_layers.2.weight", "input_blocks.2.0.in_layers.2.bias", "input_blocks.2.0.emb_layers.1.weight", "input_blocks.2.0.emb_layers.1.bias", "input_blocks.2.0.out_layers.0.weight", "input_blocks.2.0.out_layers.0.bias", "input_blocks.2.0.out_layers.3.weight", "input_blocks.2.0.out_layers.3.bias", "input_blocks.4.0.in_layers.0.weight", "input_blocks.4.0.in_layers.0.bias", "input_blocks.4.0.in_layers.2.weight", "input_blocks.4.0.in_layers.2.bias", "input_blocks.4.0.emb_layers.1.weight", "input_blocks.4.0.emb_layers.1.bias", "input_blocks.4.0.out_layers.0.weight", "input_blocks.4.0.out_layers.0.bias", "input_blocks.4.0.out_layers.3.weight", "input_blocks.4.0.out_layers.3.bias", "input_blocks.6.0.in_layers.0.weight", "input_blocks.6.0.in_layers.0.bias", "input_blocks.6.0.in_layers.2.weight", "input_blocks.6.0.in_layers.2.bias", "input_blocks.6.0.emb_layers.1.weight", "input_blocks.6.0.emb_layers.1.bias", "input_blocks.6.0.out_layers.0.weight", "input_blocks.6.0.out_layers.0.bias", "input_blocks.6.0.out_layers.3.weight", "input_blocks.6.0.out_layers.3.bias", "input_blocks.8.0.in_layers.0.weight", "input_blocks.8.0.in_layers.0.bias", "input_blocks.8.0.in_layers.2.weight", "input_blocks.8.0.in_layers.2.bias", "input_blocks.8.0.emb_layers.1.weight", "input_blocks.8.0.emb_layers.1.bias", "input_blocks.8.0.out_layers.0.weight", "input_blocks.8.0.out_layers.0.bias", "input_blocks.8.0.out_layers.3.weight", "input_blocks.8.0.out_layers.3.bias", "input_blocks.10.0.in_layers.0.weight", "input_blocks.10.0.in_layers.0.bias", "input_blocks.10.0.in_layers.2.weight", "input_blocks.10.0.in_layers.2.bias", "input_blocks.10.0.emb_layers.1.weight", "input_blocks.10.0.emb_layers.1.bias", "input_blocks.10.0.out_layers.0.weight", "input_blocks.10.0.out_layers.0.bias", "input_blocks.10.0.out_layers.3.weight", "input_blocks.10.0.out_layers.3.bias", "output_blocks.1.1.in_layers.0.weight", "output_blocks.1.1.in_layers.0.bias", "output_blocks.1.1.in_layers.2.weight", "output_blocks.1.1.in_layers.2.bias", "output_blocks.1.1.emb_layers.1.weight", "output_blocks.1.1.emb_layers.1.bias", "output_blocks.1.1.out_layers.0.weight", "output_blocks.1.1.out_layers.0.bias", "output_blocks.1.1.out_layers.3.weight", "output_blocks.1.1.out_layers.3.bias", "output_blocks.3.2.in_layers.0.weight", "output_blocks.3.2.in_layers.0.bias", "output_blocks.3.2.in_layers.2.weight", "output_blocks.3.2.in_layers.2.bias", "output_blocks.3.2.emb_layers.1.weight", "output_blocks.3.2.emb_layers.1.bias", "output_blocks.3.2.out_layers.0.weight", "output_blocks.3.2.out_layers.0.bias", "output_blocks.3.2.out_layers.3.weight", "output_blocks.3.2.out_layers.3.bias", "output_blocks.5.1.in_layers.0.weight", "output_blocks.5.1.in_layers.0.bias", "output_blocks.5.1.in_layers.2.weight", "output_blocks.5.1.in_layers.2.bias", "output_blocks.5.1.emb_layers.1.weight", "output_blocks.5.1.emb_layers.1.bias", "output_blocks.5.1.out_layers.0.weight", "output_blocks.5.1.out_layers.0.bias", "output_blocks.5.1.out_layers.3.weight", "output_blocks.5.1.out_layers.3.bias", "output_blocks.7.1.in_layers.0.weight", "output_blocks.7.1.in_layers.0.bias", "output_blocks.7.1.in_layers.2.weight", "output_blocks.7.1.in_layers.2.bias", "output_blocks.7.1.emb_layers.1.weight", "output_blocks.7.1.emb_layers.1.bias", "output_blocks.7.1.out_layers.0.weight", "output_blocks.7.1.out_layers.0.bias", "output_blocks.7.1.out_layers.3.weight", "output_blocks.7.1.out_layers.3.bias", "output_blocks.9.1.in_layers.0.weight", "output_blocks.9.1.in_layers.0.bias", "output_blocks.9.1.in_layers.2.weight", "output_blocks.9.1.in_layers.2.bias", "output_blocks.9.1.emb_layers.1.weight", "output_blocks.9.1.emb_layers.1.bias", "output_blocks.9.1.out_layers.0.weight", "output_blocks.9.1.out_layers.0.bias", "output_blocks.9.1.out_layers.3.weight", "output_blocks.9.1.out_layers.3.bias".
        Unexpected key(s) in state_dict: "input_blocks.2.0.op.weight", "input_blocks.2.0.op.bias", "input_blocks.4.0.op.weight", "input_blocks.4.0.op.bias", "input_blocks.6.0.op.weight", "input_blocks.6.0.op.bias", "input_blocks.8.0.op.weight", "input_blocks.8.0.op.bias", "input_blocks.10.0.op.weight", "input_blocks.10.0.op.bias", "input_blocks.11.1.norm.weight", "input_blocks.11.1.norm.bias", "input_blocks.11.1.qkv.weight", "input_blocks.11.1.qkv.bias", "input_blocks.11.1.proj_out.weight", "input_blocks.11.1.proj_out.bias", "output_blocks.0.1.norm.weight", "output_blocks.0.1.norm.bias", "output_blocks.0.1.qkv.weight", "output_blocks.0.1.qkv.bias", "output_blocks.0.1.proj_out.weight", "output_blocks.0.1.proj_out.bias", "output_blocks.1.2.conv.weight", "output_blocks.1.2.conv.bias", "output_blocks.1.1.norm.weight", "output_blocks.1.1.norm.bias", "output_blocks.1.1.qkv.weight", "output_blocks.1.1.qkv.bias", "output_blocks.1.1.proj_out.weight", "output_blocks.1.1.proj_out.bias", "output_blocks.3.2.conv.weight", "output_blocks.3.2.conv.bias", "output_blocks.5.1.conv.weight", "output_blocks.5.1.conv.bias", "output_blocks.7.1.conv.weight", "output_blocks.7.1.conv.bias", "output_blocks.9.1.conv.weight", "output_blocks.9.1.conv.bias".
        size mismatch for out.2.weight: copying a param with shape torch.Size([3, 128, 3, 3]) from checkpoint, the shape in current model is torch.Size([6, 128, 3, 3]).
        size mismatch for out.2.bias: copying a param with shape torch.Size([3]) from checkpoint, the shape in current model is torch.Size([6]).

May I know how you generated the 256x256 FFHQ.pt and
256x256 AFHQ-dog.pt because I don't fave any issues while loading these weights?

I trained models with --learn_sigma True . This enables learning variance of reverse process, therefore the output channel is 6 rather than 3. You may try --learn_sigma False when sampling with your models.

Great that works :)

Likewise may I know the complete FLAG details you used for training..perahps if you update in README would be useful.

I trained models with --attention_resolutions 16 --class_cond False --diffusion_steps 1000 --dropout 0.0 --image_size 256 --learn_sigma True --noise_schedule linear --num_channels 128 --num_res_blocks 1 --num_head_channels 64 --resblock_updown True --use_fp16 False --use_scale_shift_norm True


CSV glob not working v3.31.0

Trying to import csv files in folder fails with "Failed to connect to file: open csv/*.csv: no such file or directory"
tried the following with no success using both with and without double quotes.
"csv/*.csv"
"/csv/*.csv"

Hey @gmonk, the CSV globbing is part of v3.32.0, there's currently a release candidate: https://github.com/Jeffail/benthos/releases/tag/v3.32.0-rc1

oops sorry about that i jumped the gun..  I will download the rc and test.
Thanks


Simulate not fired clientside

List in Player is not networked or predicted therefore simulate won't fire clientside - meaning anybody who isn't the server is unable to aim and their movement is clunky. The list needs to have the [Net, Predicted] attribute so that the client has authority over its items. I've tried to fix this by adding the [Net, Predicted] attribute to the list but the list count still returns zero.

Fixed in https://github.com/apetavern/sbox-terryform/commit/cf093c9c6a4d11fde9d855e3a39fba6ce3ea1904


HDDS-5052. [SCM HA Security] Handle leader changes between SCMInfo and getSCMSigned Cert in OM.

What changes were proposed in this pull request?
This Jira is to handle leader change between getScmInfo and getScmSignedCert.
Problem:
Leader is SCM1 - Returned SCMID is SCM1ID
ScmInfo returns the leader SCMID
Leader is SCM2 - SCM ID is SCM2ID
getSCMSignedCert, during generate certificate it has a check compare the scmId passed in CSR, is same as current SCM scmID
In this case when the leader change between these 2 calls OM will fail to get a Certificate.
Proposed Solution:
getScmInfo returns primary SCM ID, and OM can pass this Primary SCM ID in CSR.
In this way, even if the leader changes OM can still get a certificate.
Note: primary SCM Id is the same across the SCM HA quorum nodes.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-5052
How was this patch tested?
Existing docker tests.

The last commit is the changes proposed in this PR. It is dependent on HDDS-4915.

Rebased now. It is ready for review.

Thank You @bshashikant for the review.


Raw link on filestore item downloads metadata

Requesting a raw file that is saved in the filestore currently only downloads the metadata.  A check should be made based on the filesize and if within a set size check the first few bytes to identify if the item is stored in the filestore.  If so, the full file rather than the metafile should then issued for downloaded.

Merged in PR #988


Error when loading non-paletted images with palette data.

Hi @EliotJones, thanks for this excellent library. I found a minor error while loading PNG images on this end, and am submitting a suggested fix.
A PNG file that is not paletted (header.ColorType != 3) can nonetheless have a PLTE header chunk. See the W3C PNG (Portable Network Graphics) Specification at 4.1.2. I do not know for certain, but I think this functionality is intended to be used as a suggested palette for rendering a 24/32-bit PNG in 8-bit color depth.
When BigGustave opens a PNG file with a PLTE header chunk, it will override the header.ColorType and use the palette to interpret the raw pixel data. This will either cause an exception to be thrown or cause unexpected behavior, depending on the values of the raw pixel data and the number of entries in the palette. I am attaching a sample PNG file that will cause an exception to be thrown when opened.

I have also proposed a very simple fix as Pull Request #2 on this repository: don't use the palette unless (header.ColorType | ColorType.PaletteUsed) == ColorType.PaletteUsed.
Thanks again for your work on this library! I am using it to replace a dependency on System.Drawing in an asset pipeline for a game I am working on.

This is addressed by #2 (merged).


🚀 Feature Request: Provide --latest-version flag to allow wrangler versions deploy to deploy latest worker version

Describe the solution
I'm using wrangler 3.55.0 in the context of a CI/CD pipeline in Github Actions.
When a new git tag gets created, I'm trying to perform the following:
(1) Create new Worker version via wrangler versions upload for the git tag
(2) Deploy the newly created Worker version via wrangler versions  deploy
However, I'm finding it clunky to do so.
From my understanding, wrangler versions deploy doesn't offer a flag for deploying a "latest" version, so you need to parse the output of wrangler versions upload which is in a generic text format as there's no current option for structured output via JSON.

Hi @deasydoesit
There is also a wrangler versions list command which has a --json option
For your use-case, you can try:
$ wrangler versions upload --x-versions
$ LATEST_VERSION_ID="${wrangler versions list --json --x-versions | jq '.[0].id'}"
$ wrangler versions deploy --x-versions "$LATEST_VERSION_ID@100%" -y

which should deploy your latest version to 100%
It should also be simple to adapt the above to deploy more than one version with split traffic levels (which we expect to be the more common scenario)

Closing as this is supported by using the commands given above.


Add support for width-full

Problem
System arguments do not support width-full.
Proposed solution
Map width: :full to width-full.

I just ran into this not working in version 0.15.1 of the primer_view_components gem. Trying to make this view component have the width-full class:
    Primer::BaseComponent.new(
      tag: :span,
      display: :flex,
      align_items: :center,
      justify_content: :space_between,
    )

If I pass width: :full, it adds a width="full" HTML attribute to the element, but if I pass classes: "width-full", it raises an exception:

Use System Arguments (https://primer.style/view-components/system-arguments) instead of Primer CSS class name width-full. width: "100%" also results in a width="100%" HTML attribute on the element.

I opened https://github.com/primer/view_components/issues/2435 instead of reopening this old issue.


Examples do not work

Provided examples do not work in Azure Synapse. They return "Incorrect syntax near 'OPENROWSET'."

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

ID: ba14424d-3d48-0d79-9d2d-af8cb48f9116
Version Independent ID: e2ba5161-d4ca-da4a-b1b9-aa6a87c0b623
Content: How to use OPENROWSET in serverless SQL pool - Azure Synapse Analytics
Content Source: articles/synapse-analytics/sql/develop-openrowset.md
Service: synapse-analytics
Sub-service: sql
GitHub Login: @filippopovic
Microsoft Alias: fipopovi

@bnordberg As per the repro, the mentioned command in the document works as expected.

In order to investigate further, I would request you to open a new forum thread in Microsoft Q&A or Stack Overflow as it could be better place to get help on your scenario. These forum community members could provide their expert guidance on your scenario based on their experience. Thanks.

@bnordberg Since we have not heard back from you we will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Why the weird format?

I am looking at this thing closely and i found one critical thing that i really dislike and i wanted to know why you did it.  this line right here
https://github.com/Jsondb/jsondb-core/blob/ebcb67be47fdde6a953190775189a90115055a38/src/main/java/io/jsondb/JsonDBTemplate.java#L211
That line pretty much locks you into the idea that each collection is a non-standard json and you can never pretty print that json file.  I want to use this as a way to inject test data into a gradle build, and the ability to pretty print the collection files is a big deal for me.
Why did you do it this way rather than a collection being an array of objects?  If it was an array of objects you could simply use jackson or gson to slurp up the entire file and all is well

@scphantm JsonDB actually treats it data as NDJSON for all the same reasons as NDJSON format was created. At that time it was important for us to be able to process the .json files with tools similar to unix-style text processing tools and shell pipelines, NDJSON like format is easy in those cases.
At the time I created JsonDB i was not aware of the term NDJSON else i would have named it as such.
I see you are disappointed by this approach my apologies JsonDB is probably not a good fit for your need.

Ah, i see.  Yea, we are passing on this one and going to give jsonPath a try.  Thanks for responding.


CDN are causing CSP errors

Hi,
Describe the bug
EasyMDE seems to use resources loaded using some content delivery networks, which causes CSP errors when using in an application that doesn't use those CDN.
To Reproduce
Steps to reproduce the behavior:

Set up a web server (maybe in docker or something) that has CSP enabled (and is using a domain other than localhost)
Create a minimal npm website (maybe using parcel) and install EasyMDE
Deploy the website in the server from step 1
CSP errors like the following should appear in the console:

easymde-256c9371.js:103 Refused to load the stylesheet 'https://maxcdn.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css' because it violates the following Content Security Policy directive: "style-src 'self' 'unsafe-inline'". Note that 'style-src-elem' was not explicitly set, so 'style-src' is used as a fallback.

ce @ easymde-256c9371.js:103
(anonymous) @ easymde-256c9371.js:103
easymde-256c9371.js:40 Refused to connect to 'https://cdn.jsdelivr.net/codemirror.spell-checker/latest/en_US.aff' because it violates the following Content Security Policy directive: "connect-src 'self' https://some.example.com".

(anonymous) @ easymde-256c9371.js:40
ji @ easymde-256c9371.js:12
Fa @ easymde-256c9371.js:18
sl @ easymde-256c9371.js:18
Ke @ easymde-256c9371.js:20
Ke @ easymde-256c9371.js:20
Pf @ easymde-256c9371.js:32
ce.render @ easymde-256c9371.js:103
ce @ easymde-256c9371.js:103
(anonymous) @ easymde-256c9371.js:103
easymde-256c9371.js:40 Refused to connect to 'https://cdn.jsdelivr.net/codemirror.spell-checker/latest/en_US.dic' because it violates the following Content Security Policy directive: "connect-src 'self' https://some.example.com".

Expected behavior
I expected that EasyMDE includes all dependencies instead of using CDN for that.
Screenshots
N/A
Version information

OS: any
Browser: any that supports CSP
EasyMDE version: 2.16.1 - 2.18.0

Additional context
I already tried the update suggested in #535, but unfortunately the error is still there after the upgrade.

This seems more like an issue with https://github.com/sparksuite/codemirror-spell-checker than EasyMDE.
If it's bothering you though, you can set spellChecker set to false in the EasyMDE constructor. That will prevent it from trying to download this file from the CDN.


LDK Node gateway backend with LSP Spec integration

Having a minimal LN node implementation that can only talk to an LSP could simplify setting up a LN gateway a lot. To be specced out.

@tvolk131 for visibility
We already have some minimal LDK node support in our fedimint-testing crate. It does not currently support receives.

@tnull helped us better understand the capabilities of LDK on a call yesterday.
One of the limitations of LDK is that it cannot intercept and claim random HTLCs, but rather expects incoming payments to be announced by giving it the payment hash and letting it generate the invoice.
This means that we cannot use our current protocol for LDK as-is, but need to adapt it:

User Client: the client has to fetch the invoice from the gateway instead of generating it itself. This can happen in parallel to posting the incoming contract offer with the federation imo.
Gateway: The gateway cannot use the SCID to determine the federation to route the payment to anymore. Instead there seems to be a way to include arbitrary data in invoices (as TLV fields) that is included in the final onion, so can be returned by LDK (Node).

The fact that the invoice would be generated by the gateway's LN node instead of the client means that users are leaking more private data than with other LN integrations, thus I don't see this new protocol as a replacement for the old one (although maybe a bit prettier) and rather as something we want to support in parallel to get an easy to run LN gateway option.
I see the following way forward:

Add a flag to the gateway registration that indicates the type of gateway protocol supported, which the client uses to start the correct state machine.
Warn users when they want to set a non-default invoice description in case they are using an LDK gateway or disallow this alltogether.
Longer term work with LDK to make it compatible with our default protocol while improving it (better fake SCID choices as @tnull pointed us to, maybe more that I don't remember).

Thx, totally forgot, I learnt a lot yesterday! Fixed up my post.

dev call: this could help with getting the https://github.com/fedimint/fedimint/pull/3468 running in a test environment

One of the limitations of LDK is that it cannot intercept and claim random HTLCs

HTLC interception in LDK is tracked here (although I don't believe it's currently being prioritized)

I think this is completed! We can open a separate issue for LSP Spec integration :)


Remember to export in usage examples

I was just setting up postcss-cssnext based on the usage examples and ran into the issue that nothing was exported. Makes sense right? This updates the examples to export to module.exports

Please update examples here https://github.com/MoOx/postcss-cssnext/tree/master/docs/content


Comments in XML params description

Parser crashes when parameter description file contains comments.
Check if the tag is a comment using if (element.tag is etree.Comment)

Switched to json-schema which doesn't have this kind of problems. Comments are not allowed.


Python sample fails when business ID contains special characters

Hello!
Using the Search API python sample to search for restaurants sometimes fails with the error:
Traceback (most recent call last):
File "search-yelp.py", line 170, in
main()
File "search-yelp.py", line 164, in main
query_api(input_values.term, input_values.location)
File "search-yelp.py", line 149, in query_api
response = get_business(business)
File "search-yelp.py", line 119, in get_business
return request(API_HOST, business_path)
File "search-yelp.py", line 63, in request
url = 'http://{0}{1}?{2}'.format(host, path, encoded_params.encode('utf8'))
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 16: ordinal not in range(128)
This happens because business IDs can contain special characters like "é", which cannot be put into URLs before being decoded. For example, in this instance the specific cause of failure is trying to access the API endpoint "/v2/business/café-pro-bono-palo-alto-3".
This is easily fixed by changing line 59 to:
url = 'http://{0}{1}?{2}'.format(host, urllib.urlencode(path), encoded_params)

This change is still not updated in the example.

Taking a look.

Reproduced using
DEFAULT_TERM = 'cafe pro bono'

Newer stacktrace is:
Querying http://api.yelp.com/v2/search/? ...
Traceback (most recent call last):
  File "sample.py", line 158, in <module>
    main()
  File "sample.py", line 152, in main
    query_api(input_values.term, input_values.location)
  File "sample.py", line 134, in query_api
    business_id
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 3: ordinal not in range(128)

Whipping up a slightly-larger version of @tathougies fix.


If a user submits ETH before their subscription expires, increment their current expiry as appropriate

Going to actually not do this for now. We'll see if it's actually needed in the future.


[CU-2xckwme] update criterion benchmarks

Update criterion benchmarks
Description

Update criterion benchmark and flamegraph
Change folder name  ./benches -> ./bench

Checklist

[ ] Linked to Github Issue
[ ] Unit tests added
[ ] Integration tests added.
[x] This change requires new documentation.

[x] Documentation has been added/updated.

Codecov Report

Merging #125 (f9875d2) into main (2dbc6fe) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #125   +/-   ##
=======================================
  Coverage   97.12%   97.12%
=======================================
  Files          20       20
  Lines        3371     3371
=======================================
  Hits         3274     3274
  Misses         97       97

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2dbc6fe...f9875d2. Read the comment docs.


Add unexplained-noqa rule

Summary
Add unexplained-noqa rule as RUF101 that checks for noqa directives without comments. For example,
foo == ""  # noqa: PLC1901

would be flagged and
foo == ""  # noqa: PLC1901  # Check for empty string, not just falsiness.

would not.
Includes documentation. Related to #5182.
Test Plan
cargo test

Changed the example used in the documentation, as the previous example is now irrelevant due to #5264.

It doesn't work with codes that don't end in numbers, which is odd. I have made the PR a draft until this is fixed.

I will close it for now, then.


Dependency error

Getting a dependency error when building. Trying to find a typer.js file, which doesn't exist. Could someone enlighten me? Not sure what I am doing wrong.
{ [Error: ENOENT: no such file or directory, open 'C:\Users\Mi\Desktop\accutics_app_design\src\typer.js']
errno: -4058,
code: 'ENOENT',
syscall: 'open',
path: 'C:\Users\Mi\Desktop\accutics_app_design\src\typer.js',
moduleTree: [ 'aurelia-orm/aurelia-orm' ],
fileName: 'C:/Users/Mi/Desktop/accutics_app_design/node_modules/aurelia-orm/dist/amd/aurelia-orm.js' },
duration: [ 5, 676095337 ],
time:<PHONE_NUMBER>625 }
{ uid: 0,
name: '',
branch: true,
error:
{ [Error: ENOENT: no such file or directory, open 'C:\Users\Mi\Desktop\accutics_app_design\src\typer.js']
errno: -4058,
code: 'ENOENT',
syscall: 'open',
path: 'C:\Users\Mi\Desktop\accutics_app_design\src\typer.js',
moduleTree: [ 'aurelia-orm/aurelia-orm' ],
fileName: 'C:/Users/Mi/Desktop/accutics_app_design/node_modules/aurelia-orm/dist/amd/aurelia-orm.js' },
duration: [ 5, 990886970 ],
time:<PHONE_NUMBER>636 }
{ [Error: ENOENT: no such file or directory, open 'C:\Users\Mi\Desktop\accutics_app_design\src\typer.js']
errno: -4058,
code: 'ENOENT',
syscall: 'open',
path: 'C:\Users\Mi\Desktop\accutics_app_design\src\typer.js',
moduleTree: [ 'aurelia-orm/aurelia-orm' ],
fileName: 'C:/Users/Mi/Desktop/accutics_app_design/node_modules/aurelia-orm/dist/amd/aurelia-orm.js' }

that's webpack or cli?

Oh, sorry. Forgot to mention. It is CLI

try adding "typer" to the aurelia.json

That was it! Thank you :)


Backwards compatibility for templateOptions?

I am finding formly very helpful. Thanks.
In the latest 3.0.0 checkin, the property templateOptions was introduced. Unfortunately, this breaks my code.
Any way you can introduce a backwards-compatible option, perhaps a helper that will create the templateOptions from the field object?
Just curious, what was the reason for the change?
Keep up the great work!

@gboersma, I'm glad to see you keeping up with what I'm doing with the latest stuff. It helps me get feedback when people try to use stuff that I'm building :-)
The reason I've decided to create templateOptions (which is such a big breaking change) is because it became confusing to determine what (in the field config object) is used in formly core (ie common regardless of template) and what is used in the template only. By restricting what properties you can put in the field config, it makes formly's api more consistent and easier to use. Also, formly is now able to warn you if you use it incorrectly (currently, it throws an error, but I plan on changing that to a simple warning).
Please note! I have a huge application with a LOT of field configurations. I'm not looking forward to updating all of these. So, to ease things a little bit, I just barely created this tool which I hope should be helpful when updating your form fields :-) cheers! http://jsbin.com/ruwoke

Oh, sorry, and to answer your actual question, unfortunately I don't think that I'm going to be able to add a backwards compatible option. Hopefully the little tool I created will suffice. I believe it should be everything you need to update your fields to the new standard. If you're using custom templates, that's a bit of a different story. You'll need to update those manually. Good luck!

I like the fact that formly can now catch errors in setting the options. However, for my app, I generate the options dynamically from the server (Java), which maps the JSON objects to / from Java classes. So I either have to rejig the Java implementation, or write some Javascript to munge the JSON into the correct format. Either one is not very pretty. Since the JSON is generated automatically from Java classes, I am not really that concerned about template options getting mixed up with formly options, since I control the naming on both sides (JSON and field templates).
Would it be possible to provide an option to leave it as is? One way to implement it is, if the option is set, to have formly create the templateOptions object automatically by moving properties that are not options from the options map into the templateOptions map. It can be done right before calling each of the form fields, so the core formly call should not have to change. I could take a stab at this, but my JavaScript Fu is probably not up to it at this point.

I will not include this logic in formly core, but it should be very reasonable to do yourself before you pass the options to formly. Depending on how things are set up for you, it may be easiest to use an http interceptor and do the conversion there. Obviously, this wouldn't allow you to keep your templates as they are. But it is likely that the template update bit is just a half hour change max.
As for the actual conversion function, because you're just dealing with json (rather than having to worry about functions) then something like this should probably do it:
// test fields using the old method
var oldFields = [
  {
    label: 'Field 1',
    required: true,
    key: 'field1',
    type: 'text',
    expressionProperties: {
      data: {
        dataProp1: '$viewValue.length > 4'
      },
      hide: 'model.field2',
      disabled: '!model.field3'
    }
  },
  {
    label: 'Field 2',
    key: 'field2',
    type: 'checkbox'
  },
  {
    label: 'Field 3',
    key: 'field3',
    type: 'checkbox'
  }
];

console.log('before', oldFields);
var newFields = convert(oldFields);
console.log('after', newFields);

// here's the actual convert function
function convert(fields) {
  var copy = fields;
  var allowedProperties = [
    'type', 'template', 'templateUrl', 'key', 'model',
    'expressionProperties', 'data', 'templateOptions',
    'wrapper', 'modelOptions', 'watcher', 'validators',
    'noFormControl', 'hide'
  ];
  angular.forEach(copy, function(field) {
    angular.forEach(field, function(val, prop) {
      if (prop === 'expressionProperties') {
        for (var eProp in val) {
          if (allowedProperties.indexOf(eProp) === -1) {
            val['templateOptions.' + eProp] = val[eProp];
            delete val[eProp];
          }
        }
        if (val.data) {
          for (var dProp in val.data) {
            val['data.' + dProp] = val.data[dProp];
          }
          delete val.data;
        }
      }
      if (allowedProperties.indexOf(prop) !== -1) {
        return;
      }
      field.templateOptions = field.templateOptions || {};
      field.templateOptions[prop] = val;
      delete field[prop];
    });
  });
  return copy;
}

@gboersma, do you think this will be sufficient? Do we need to keep this issue open?

I can live with this. Another option that I may be able to go with is to write a custom Jackson serializer / deserializer on the Java server-side, which will convert the JSON structure to the Java object structure and vice-versa. This will make things more robust for any future naming / structure changes on the JSON.

Thanks for being flexible. I'm trying to make this project the very best that it can be and that required a few breaking changes. Let me know if there's anything I can do to help.


Setup Amplitude dashboards

Since we needed to switch to new Amplitude projects to flush out old, incorrect data, our amplitude dashboards need to be re-done.
We need a dashboard for viewing connected accounts and collected data points, our two KPI data types.
We also need a chart to
Acceptance Criteria

total accounts connected & target are on dashboard
total data points connected & target are on dashboard
chart detailing types & amounts of signals created versus total emails fetched.

dashboard link is in discord (should be kept private)

@NickkTMD we need to update the connected accounts with this computation https://recommend.amplitude.com/org/116099/computations/xe9ipj9/


Alert errors in replayer cronjob

Cron job added as part https://github.com/MinaProtocol/mina/issues/12993. Any mismatch is data(ledger hash, balance, nonce etc) should be alerted

Duplicate of #13472.


update meshery homepage: removed extra whitespace from the callout card

Signed-off-by: shubham-tyagi<EMAIL_ADDRESS>Description
This PR fixes #635
Notes for Reviewers
Please point out if I missed something or if anything else is needed to be done.
Signed commits

[x] Yes, I signed my commits.

@shubham-tyagi the sass file you made changes to is for the service-mesh-patterns callout, I think the extra white space is appearing due to the same class names, could you please change the class name in the callout and in its respective sass file. I think it's callout-cards.scss

Thanks @warunicorn19 , actually the class in callout-card.scss was inheriting it's height from the class in pattern.scss so initially I changed pattern.scss .

Thank you @shubham-tyagi


Handle additional debug info for excluded tests

If some test was excluded (ignored), accessing to the additional debug info page will trigger the NPE on the frontend

Is this bug still present @kgevorkyan ?


Automated validation workflow for DROID

I branched off mapping-suggest so I'm requesting to merge into that just to keep the diff cleaner. I can always request to merge into master once that branch has been merged.
This PR adds the automated validation to the DROID workflow. I also added some header validation to this script and took out the ID assignment since Nico's script handles that.
I also changed two things in src/workflow.py:

The file pattern for the temp file (I don't know if we want to be more strict than this, but this covers both Mac and Linux... maybe Windows too, I have no idea)
The link for clicking "Back" after opening the Google sheet (it was the link to the sheet, instead of returning to the workflow page)

The major diff is because I ran blank --line-length 100 src/workflow.py so it seems to have updated a lot.

@jamesaoverton @matentzn do we really need to run make python_requirements for the automated pipeline? Shouldn't all these requirements already be installed by DROID when we set it up? I think it would make the console output a lot nicer if we didn't have to see all the "requirement already satisfied" messages.

Yeah I have this on my agenda with James today.. The disadvantage is that DROID needs to know all dependencies a client should ever want - which would be a violation of James "substitution principle" (having droid be swapped in with no problems). The client cant set up an environment on a remote DROID server.

I'm going to make a couple more changes and wait until Nico's PR has been reviewed and merged to request a review on this.


[rxspencer] Add RxSpencer port

Add port for RXSpencer (Henry Spencer's BSD regular expression library)
This is a dependency of Graphviz (see #737)
Upstream PR: https://github.com/garyhouston/rxspencer/pull/3

Hi @stephenjust thanks for this PR.
I noticed this port failed on x64-uwp and arm-uwp triplets. Are these expected?
If this port doesn't support for uwp, please add this to the top of portfile.cmake.
vcpkg_fail_port_install(ON_TARGET "UWP")
If not like this, please try to fix them.

Thanks for your update.
I noticed that you have added vcpkg_fail_port_install(ON_TARGET "UWP") to portfile.cmake.
So please add the followings to ci.baseline.txt.
 rxspencer:x64-uwp=fail
 rxspencer:arm-uwp=fail

/azp run

@stephenjust Since the patch was merged upstream, can we update the version and remove the patch?

/azp run

/azp run

LGTM, thanks for the PR!


Update README.md  with URL to point to Committee Subpage

Modify the URL in accordance with the provided text "Organizer" Previously pointing to the homepage

Nice catch! Thanks again for this PR!


Wrong version of pycharm community version is installed

Pycharm community version installation uses old installation package.

Run winget upgrade --all

Have some version of pycharm community version installed.

Winget downloads https://download.jetbrains.com/python/pycharm-community-2020.3.3.exe when there is pycharm-community-2021.1.1.exe available from the official jetbrains site.

WHen pycharm is started it still shows the 2021.1 CE version, but there seems some other pycharm installations alongside with the latest version I had manually installed.
Windows 10 Pro 20H2
[winget --info]
Windows Package Manager v1.0.11451
Windows: Windows.Desktop v10.0.19042.985
Package: Microsoft.DesktopAppInstaller v1.11.11451.0

Any other software?

It seems that the manifest needs to be add or there has been a change in version because of JetBrains marketing version and build version
https://github.com/microsoft/winget-pkgs/tree/master/manifests/j/JetBrains/PyCharm/Community

I think this issue is a bit outdated/mid transfer from fix...
It got fixed 3 days ago https://github.com/microsoft/winget-pkgs/tree/master/manifests/j/JetBrains/PyCharm/Community

@OfficialEsco You can close the issue as it will be resolved once I add the build numbers to the PyCharm Community folder

I can't, you can add closes/resolves/fixes #15318 to your PR text to close the case which links and closes the case when the PR is merged


[WIP] Add ndk app scenario

Adds an NDK app with a scenario that builds the app. Note: similar to the React Native PR, the mapping file doesn't appear to be stored in the mazerunner requests, but is received on localhost.

The mapping request doesn't appear to be stored in mazerunner which fails the scenario, I'm guessing due to the size of the payload? There's a more detailed summary in #101
I planned to debug this issue with Alex on Monday. This is the last remaining obstacle to a full review.


Comment out empty Moniker for Nikkho.FileOptimizer

Microsoft Reviewers: Open in CodeFlow

Intentional
[Policy] Reset Labels

@Trenly - is the download URL working for you? Doesn't appear to be working at my end. If it isn't, then instead of this PR, you can approve https://github.com/microsoft/winget-pkgs/pull/180542

The URLs did pass validation, which may mean it could be a my region thing only with sourceforge URLs

@mdanish-kh - Yes, the URL works for me


fix(ssr): fix binding overwrite at nested function

fix #3856

Description

Additional context

What is the purpose of this pull request?

[x] Bug fix
[ ] New Feature
[ ] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[ ] Read the Contributing Guidelines.
[ ] Read the Pull Request Guidelines and follow the Commit Convention.
[ ] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[ ] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[ ] Ideally, include relevant tests that fail without this PR but pass with it.

Thanks a lot for the fix 🙏🏼


Create cirq_google.InternalGate

This is the first step towards porting internal gates to Cirq.

@maffoo let me know if this makes sense

Discussed over chat with @NoureldinYosri. I want to be sure we think carefully about how to handle units here, and I actually lean toward putting units in names (e.g. InternalGate("CouplerDelayZ", ..., delay_ns=1, ...)) because we've seen internally that dealing with plain numbers results in significant performance gains compared to allocating lots of objects with units (InternalGate("CouplerDelayZ", ..., delay=Value(1, "ns"), ...)). Also, we don't generally benefit much from the flexibility of doing unit conversions since most parameters for gates have one "natural" unit and the unit name is mostly for documentation. All that said, it doesn't need to block moving ahead on this PR, so LGTM.

I discarded the last change after talking with @dstrain115 since we won't support units in the first version of this work.


Error with population of conflict_zones

I am using Python 3.7.2 in PyCharm and applying the code to Turkey. Screenshots of my input files and error are attached.
The tutorial says to run the code using this command: python3 <country_name>.py <simulation_period> > out<country_name>/out.csv
But I can only get the code to run specifying the system arguments using this command: python3 Turkey.py Turkey/input_csv  Turkey/source_data 10 2019-01-31 outTurkey/output.csv
I am getting this error:
Traceback (most recent call last):   File "C:/Users/mrich/Downloads/FLEE/Turkey.py", line 92, in <module>     e.add_agents_to_conflict_zones(new_refs)   File "C:\Users\mrich\Downloads\FLEE\flee\flee.py", line 845, in add_agents_to_conflict_zones     cl = self.pick_conflict_locations(number)   File "C:\Users\mrich\Downloads\FLEE\flee\flee.py", line 839, in pick_conflict_locations     return np.random.choice(self.conflict_zones, number, p=self.conflict_weights / self.conflict_pop)   File "mtrand.pyx", line 1125, in mtrand.RandomState.choice ValueError: 'a' cannot be empty unless no samples are taken
It seems as though the 'population' and 'capacity' may be getting mixed up, though there is no mention of 'capacity' in the tutorial for loading data.
In camps, the 'capacity' becomes the population that is read in and the 'population' is 0. Example in error:
Location name: Apaydin, X: 36.235, Y: 36.352, movechance: 0.001, cap: 4390, pop: 0, country: Turkey, conflict? False, camp? True Location name: Ceylanpinar, X: 36.814, Y: 39.924, movechance: 0.001, cap: 21176, pop: 0, country: Turkey, conflict? False, camp? True Location name: Harran Kokenli, X: 36.873, Y: 38.932, movechance: 0.001, cap: 13761, pop: 0, country: Turkey, conflict? False, camp? True
In towns, the 'capacity' is -1 and the 'population' is also 0. Example in error:
Location name: Diyarbakir, X: 37.925631, Y: 40.210571, movechance: 0.3, cap: -1, pop: 0, country: Turkey, conflict? False, camp? False Location name: Batman, X: 37.889964, Y: 41.130106, movechance: 0.3, cap: -1, pop: 0, country: Turkey, conflict? False, camp? False Location name: Van, X: 38.500085, Y: 43.374066, movechance: 0.3, cap: -1, pop: 0, country: Turkey, conflict? False, camp? False
There is no error print-out for conflizt_zones but I suspect that the 'population' may also be interpreted as the 'capacity?'
I have debugged my input data as far as I can and still cannot get the code to run without throwing this error.

I assigned Diana to this one to begin with :).

Arranged skype call and resolved the issue. It was due to conflicts starting from day 2 without an initial conflict on day 1.


Task structure needs to use less ambiguous time values

We built the task system on the task struct as defined for the api:

type Task struct {
	ID              ID     `json:"id"`
	OrganizationID  ID     `json:"orgID"`
	Organization    string `json:"org"`
	AuthorizationID ID     `json:"authorizationID"`
	Name            string `json:"name"`
	Description     string `json:"description,omitempty"`
	Status          string `json:"status"`
	Flux            string `json:"flux"`
	Every           string `json:"every,omitempty"`
	Cron            string `json:"cron,omitempty"`
	Offset          string `json:"offset,omitempty"`
	LatestCompleted string `json:"latestCompleted,omitempty"`
	CreatedAt       string `json:"createdAt,omitempty"`
	UpdatedAt       string `json:"updatedAt,omitempty"`
}

Although this structure works well for the front end I believe using string as a timestamp makes it difficult to reason about what is actually stored in the field (unix, utc based time stamps, microseconds, nanoseconds).
I believe we would benefit by changing all time based values to time.Time and then translating to something api friendly in http/task_service.go instead of using strings for these values on the backend.

The frontend also struggles with enforcing a type on duration strings and timestamp strings. I for one would be open to splitting durations in to two parameters one being a number and another being one of "d"/"h"/"s"/"ns". That way we could describe it in the swagger and generated client as well.


Getting error while accessing reports page

Describe the bug
Not able to see the report on the Portal.
Getting error when it opens the page.
To Reproduce
Steps to reproduce the behavior:

Go to Portal
Click on Reports sub menu link under Finance
Scroll down to 'to see the report is not visible
See error

Expected behavior
It should show the report.
Screenshots

This issue has been fixed. It was because of some changes in other modules. Check the discussion here.
https://github.com/ColoredCow/portal/pull/3308#discussion_r1273215314

@mohitsharma-22 please take a look and close the task.

@pankaj-ag Its working fine. Closing now.


Replace InfluxDB by Postgres

Since InfluxDB v2 there are issues when reading large databases. Plus, InfluxDB has recently changed the syntax of queries and isn't horizontal scalable with the open source version.
Replace influxdb-writer and influxdb.-reader by postgres-writer and postgres-reader.

Finaly we will replace it by timescale since it's a time series database with several features that can be interesting.


Add Portfolio Draft

Codecov Report

Merging #214 (e3f51cf) into master (6b87262) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #214   +/-   ##
=========================================
  Coverage     73.97%   73.97%
  Complexity      850      850
=========================================
  Files           129      129
  Lines          2490     2490
  Branches        290      290
=========================================
  Hits           1842     1842
  Misses          556      556
  Partials         92       92

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6b87262...e3f51cf. Read the comment docs.


Remove Faraday::Utils::Headers#initialize_copy

Faraday::Utils::Headers inherits Hash and override #initialize_copy.
Previously, #initialize_copy was called in the test file for Faraday to check the type signature, but I noticed the use of this method is marked as an error by Steep. I'm not sure why the current version of Steep reports it, but I decided to remove the declaration from the type signature because #initialize_copy is in the first place a private method originally.  In my opinion, it doesn't make sense to expose the signature of #initialize_copy since it cannot be used without #send.
Here is an example code to confirm the method is private.
$ ruby --version
ruby 3.4.0preview1 (2024-05-16 master 9d69619623) [arm64-darwin23]
$
$ ruby <<RUBY

class A < Hash
  def initialize_copy(*)
    super
  end
end

A.new.initialize_copy(A.new)
RUBY
-:8:in '<main>': private method 'initialize_copy' called for an instance of A (NoMethodError)

Perhaps this change has something to do with it.
Since rbs 3.5, initialize_copy is automatically treated as private. (This mimics Ruby's behavior.)
https://github.com/ruby/rbs/pull/1774

Wow, thank you for sharing such great information. It makes sense to always make the methods , such as #initialize_copy, private. From my perspective, there would be no problems proceeding with the pull request changes because Ruby, as well as RBS, treats #initialize_copy as private. Am I correct?
Anyway, I appreciate your changes on RBS 👍

Yes, LGTM.

/merge


./testing_utils.py:34:22: F821 undefined name 'pu'

flake8 testing of https://github.com/flomlo/ntm_keras
$ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
./testing_utils.py:34:22: F821 undefined name 'pu'
        import pudb; pu.db
                     ^

https://github.com/flomlo/ntm_keras/blob/master/testing_utils.py#L34

This is the standard(?) way to call the pudb debugger, which is here only called in case testing runs into NaN.
I dont think this is an issue.


Add new extensions to conformance csv files

The extension tests in test_conformance/extensions have not matching entries in the opencl_conformance_tests_*.csv files. This means that they are missed from conformance runs by vendors who use these files.
I've included the new extensions in the full and quick CSV files as they don't have vast combinations of tests to run like bruteforce or conversions.
I've put  cl_khr_dx9_media_sharing  in the test_conformance/opencl_conformance_tests_d3d.csv CSV as like the other tests there the test binary is conditional built only on a Windows platform.
I've created a new opencl_conformance_tests_vulkan.csv  file for testing the cl_khr_external_semaphore extension, as creation of the binary is conditional on the Vulkan SDK being enabled environment. Any other tests that require the Vulkan SDK in future can also be added there.

No strong preference, but a separate file seems to be in line with what we do for D3D currently.

Thanks for the feedback, I asked on the 01/10/24 OpenCL teleconference and there was no objections to creating a new CSV. So i've updated this PR to add a new opencl_conformance_tests_vulkan.csv file for that.

Merging as discussed in the October 8th teleconference.


P35 - kicking off a digest in $evalAsync

Working through this, I think some clarity around the new $evalAsync function would be helpful
if(!self.$$phase && !self.asyncQueue.length) {
    setTimeout(function () {
        if (self.$$asyncQueue.length) {
            self.$digest();
        }
    }, 0);
}
self.$$asyncQueue.push({ scope: self, expression: expr });

(For clarity): Ultimately what this function is doing is saying "if phase is null, and the $$asyncQueue is empty, let's go ahead and call setTimeout. We will then immediately add an item to the $$asyncQueue, before the setTimeout function is actually executed. When the setTimeout function is called, we will check to see if the $$asyncQueue has a length and, if so, call $digest."
I'm trying to understand the purpose of both of these conditionals.
If you were to call $evalAsync twice in succession, outside of the digest cycle (so self.$$phase will be null), the first $evalAsync call will have an asyncQueue length of 0, so the conditional is true. It will then add an item to the asyncQueue length. When the 2nd $evalAsync call is made, the $$asyncQueue length is 1, and we don't call setTimeout. At some point down the road, setTimeout is called, our length is truthy, and the $digest cycle is fired. Correct?
As to the conditional inside setTimeout... Is that there in case a $digest (kicked off elsewhere) flushes the asyncQueue before setTimeout is called (which would then prevent a '$digest already in progress' error)?
Do I have the right of this? Either way, it might be helpful to explain why these conditionals (pertaining to $$asyncQueue.length) both exist.

Can anyone explain the purpose of the condition !self.asyncQueue.length in if(!self.$$phase && !self.asyncQueue.length) ? Why do we have to use it?

@hieudt If self.asyncQueue.length is not zero, it means $evalAsync has also been called earlier and we have already scheduled a digest, and we don't want to schedule another one. So the idea is to avoid doing the setTimeout several times unnecessarily.

Rephrasing some of this in upcoming release.

@scottsilvi  As to the conditional inside setTimeout,if $digest already in progress .why not use self.$$phase || self.asyncQueue.length


[FEAT] Design Tokens should allow bidirectional updates

Description:
As a designer, I want to the repositories tokens to automatically update when I change design tokens in Figma. As a developer, I want the Figma tokens to automatically update when I change one or more tokens in the repository.
Rationale:
A bidirectional sync for our common design language is needed to prevent divergence between Design (Figma) and Development (components).

⚠ The first draft for the tokens was already implemented in #9.
You may use this package (@sick-design-system/design-tokens) as a base for further work.

The Tokens plugin needs a default branch for syncing.
Should this be "main", "develop" or "token" ?

Idea: create a tokens branch and setup sync

storybook breaks with current token set. to be fixed...


Added binaryOperation helper file

fyi: https://github.com/moonad/Superstruct.fm/blob/master/Operation.fm
I'm debating removing the Setoid construction though in favor of a functional extenstionality axiom, not sure yet though

Oh that's nice, thanks


Allow packages to target typescript@next

Add a typeScriptVersion property for each definition. This may be overridden by an extra line added to the header.
If we deem it a prerelease version, publish it as MAJOR.MINOR.0-next.PATCH
Install multiple typescript versions, so we use the appropriate one for tests.
Add a script for tagging all packages when we make a change. Normally, just tag a package when publishing it.

I mentioned this in the Gitter chat for DefinitelyTyped-Future, but this breaks semver. Most importantly, it also makes it difficult to specify a dependency or peer dependency on the regular version and have it also work for the @next version and I imagine many people will miss that nuance.

@blakeembrey That's too bad, but not sure what we can do about that -- such is the nature of prerelease versions. At least "normal" users can just wait a month for the prerelease to get published as a regular release.

@andy-ms Well, the simple work-around would be to patch increment every release because patches don't mean anything already, then just move the latest tag around for NPM.


Herbert : Asynchronous Programming: 3 weeks

Asynchronous Programming
My forked repo
Stop watch repo
Learning Objectives
Learning objectives

[x] 🥚 You understand the JavaScript Event Loop, and can demonstrate this by using setTimeout and setInterval to schedule simple tasks.
[ ] 🥚 You can explain why Asynchronous Programming is important for programs that have blocking and non-blocking tasks.
[ ] 🥚 You can explain the basics of the Client/Server model and HTTP requests and can fetch data from RESTful APIs.
🐣 You can break down an asynchronous problem into smaller tasks and solve it using promises. This includes identify which tasks depend on each other and which are independent:

[ ] dependent tasks_: The return value from one task is required to start the next task, these must be completed in a specific order - .then
[ ]  Independent tasks_: These tasks do not use each other's return values, they can be completed at the same time - Promise.allsystem.

[ ] 🐣 You can fetch data from an API and render it into the DOM using /api-calls, /handlers and async/await syntax.
[ ] 🐣 You can write unit tests for functions that return promises using async/await syntax.

Week 1
I Need Help With:
nothing
What went well?

I understand how and when to use setTimeout() and setInterval as well as clearInterval()
I understand the js event loop

. ## What went less well?

I must work more on seperation of concerns and promises.

Lessons Learned

I know how to run different tasks asynchroniously.

## What went less well?
should produce the following formatted text:
What went less well?

@HerbertHomolka1 as for the url where to put it , you can put it in your apis function or your data.js
as for then
const getUsers = () => {
    return fetch(`https://jsonplaceholder.typicode.com/users`)
        .then((res) => {
            if (!res.ok) {
                throw new Error(
                    `Failed to fetch users with status: ${res.status}`,
                );
            }
            return res.json(); // convert the response to a JavaScript object
        })

        .catch((Error) => {
            console.error(err);
            return null;
        });
};

const needData = (data) => {};

const HandlerUser = () => {
    getUsers().then((data) => {
        console.log(data); // you will get here what ever the first then return so in this case data
        // here you can do whatever you want with your data , you can loop throw them because they are an array in this case
        // you can pass them to another function if you want to
        needData(data);
    });
};

HandlerUser();

there are a lot of examples on my gitHub account check them.


Prevent approve transaction when native token is used for reward token

Description
During testing pre-deployment of a custom native token, it is discovered that the reward token is approved, even though a native one is used. This is not expected, since when using native token for reward token, it is allocated using the premine mechanism, and no need to invoke an ERC20 token contract to approve the transaction before minting. Beside from the fact that this step was not necessary, it was causing an error when the given custom native token is used.
Changes include

[x] Bugfix (non-breaking change that solves an issue)
[ ] Hotfix (change that solves an urgent issue, and requires immediate attention)
[ ] New feature (non-breaking change that adds functionality)
[ ] Breaking change (change that is not backwards-compatible and/or changes current functionality)

Checklist

[ ] I have assigned this PR to myself
[ ] I have added at least 1 reviewer
[ ] I have added the relevant labels
[ ] I have updated the official documentation
[ ] I have added sufficient documentation in code

Testing

[ ] I have tested this code with the official test suite
[ ] I have tested this code manually

Some test have failed, probably we should check those before merge.

Some test have failed, probably we should check those before merge.

You are right, I've made a mistake. We must send approve transaction to the reward token, independently which token is used for rewards (native or custom one). Since approve transaction allows reward pool to spend reward tokens on behalf of reward wallet. This is being done due to the fact that reward pool distributes rewards (see: https://github.com/0xPolygon/core-contracts/blob/dev/contracts/child/validator/RewardPool.sol#L77-L80).
Regarding this PR, functionality wise it is the same as before. However I find it necessary to extract reward token approval to a separate function.


Implementing "interactive" feature

Hi @nateplusplus,
sorry to bother you again, but while working on my project I found a limitation that was giving me some issues reaching to my goal. I quickly implemented it the way I need it, I hope you may find it useful and maybe include it in this great library! 😉
The issue
All layers cover the whole area, so if you have an interactive element at any level (let's say a link for example) you won't be able to click it. Here is an example of this "issue": https://github.com/liarco/pushin-nextjs-reproducer
My solution
I decided to use the pointer-events property so all layers will let the mouse events pass through them by default, then I added a data-pushin-interactive attribute that will toggle the same property on on specific layers as soon as their opacity is higher than 0. This solution won't allow multiple interactive layers grab mouse events at the same time, but I think it should cover many use cases.
Example usage

This is the first layer you'll see.

      This is a second layer, which will be positioned behind the first one but links should work properly!.

In this example the link in the second layer will be clickable as soon as it becomes visible.
Final thoughts
Feel free to make changes or suggest improvements to this solution, I enabled the "Allow edits by maintainers" so you will be able to push changes to this PR directly if you wish.
Thank you for your time.

I reverted the compiled files so they won't get in the way while reviewing the PR.

This is a great idea! Thank you! I have been looking for a solution for this and I love your pointer-events suggestion.
After looking at what you've done, I was thinking about whether we could make it even simpler, so I want to run a suggestion by you.
I'm thinking that instead of manually specifying interactive layers, we could assume all layers may contain some interactive elements. I think the true crux of this issue is that we do not ever want the layer element itself to accept pointer events - only elements within each layer should receive pointer events.
However, I think you've also highlighted a second issue, which is that when layers are fully transparent, they should no longer accept pointer events.
Here's what I'm thinking (let me know what you think):

.pushin-layer itself should never recieve pointer events (pointer-events: none)
We could automatically toggle a data attribute whenever layers are visible (maybe call it data-pushin-visible).
When layers are visible, any elements within them should receive pointer events. We could achieve this with something like this:

.pushin-layer {
  pointer-events: none;
}
.pushin-layer[data-pushin-visible] * {
  pointer-events: auto;
}

I really like the idea, very clever solution! 😃 (I didn't know that children elements could override the parent's setting for that!)
This also makes it easy to override the default behavior in edge-cases where a floating element might get in the way of some interactive object below it (e.g. a decorative asset with a transparent corner that gets over a button). Since the default CSS selector is specific to the .pushin-layer class, so you can simply override the CSS property with a selector pointing straight to the annoying element.
This is the only edge case that I can think of, and it can be handled easily, so I will update the PR with this new implementation ASAP.

Ah yes, good point about that edge case! I think you're right though, hopefully it's easy enough to work around.
Alternatively we could limit the css rule specifically to the typical interactive elements like a and button, and possibly other form elements? That list might become exhaustive though, and I worry we could miss something.

Hey @liarco, just checking in on this. Do you have some time to update this PR soon?

Hi @nateplusplus thank you for your patience and sorry for the delay but I'm a bit behind schedule with some work so I won't be able to work on this very soon. I think I'll be able to get back on this next week but I can't say for sure. I will update you in the next couple of days.

No worries! I definitely understand, we all have those weeks 😅
I hope you don’t mind, but I would like to take a stab at this since I do have some time to devote to this. I’ll share what I come up with for your feedback.

I've opened a new PR for my implementation: #153

Hi @nateplusplus, no worries! You had write access to this PR so you could push any change to it (there is this cool option on GitHub where you can give access to the original maintainers when opening new PRs), but no problem I'm gonna check that out later today! 😉


Ability to drag tags from the "Tags" panel in Obsidian into the "tags" property list.

Ability to drag tags from the "Tags" panel in Obsidian into the "tags" property list.
Would just be a nice quality of life feature when browsing available tags in other windows.
I'm not sure if it is even within the scope of this project or if another plugin handles this better.
Appreciate the plugin!

Clicking to populate tags into the "tags" property from other Obsidian tag windows while the property list children is selected would be nice in addition, or instead.

Thanks for posting your idea @infinitefeatur3 !
Unfortunately, I think this interaction between windows is a little more involved than is worth the pay off at the moment.
It's also difficult because the plugin only works with the state property and shouldn't necessarily allow dragging just any tag into it.
I'm closing this issue for now, however, I do plan to allow auto populating any tags already used as state into the plugins settings to make this flow a bit easier.


not restart already restarting containers

fixes #53
ref: https://docs.docker.com/engine/api/v1.41/#operation/ContainerList
can also possibly look into #22

Thanks for the PR!


Admob ads not working in playstore my app

After download my app from play store ads not showing in the app But it's working in my flutter release app.

I also have the same problem in only Android,
doesn't happen on iOS

Hi @trunghieuvn  @lkrjangid1
Can you please explain the issue in detail? Are ads complete missing? or ads replaced with test ads?  Provide a screenshot if possible
Please provide your flutter doctor -v and flutter pub deps -- --style=compact
Thank you


Updates to Identifier model

Updates for initial Identifier work for #2339

Removed individual for_[x] flags on identifier_schemes and replaced with a context Bitflag
Created an Identifiable model concern and updated classes to us it
Updates to Plan to convert funder_name into use of funder.name
Various updates to address some bugs discovered while testing the Org Selector throughout the site
Update to autoComplete.js to place suggestions within the context of the org selection box instead of in <body>. Issue was discovered while testing when selector was in a modal
Added a new ApplicationService that handles retrieval of default Language and the Application name
Refactored external_apis BaseService to use the Httparty gem (Openaire response was coming back chunked and existing Http::Net implementation would have needed additional work. Was easier to just use one of the popular http gems)
Added a new stub DoiService and initializer
Added an OpenAire initializer and refactored to move it inline with the other external_api services so that it can be enabled/disabled per installation
Updated Plan pages to use the new Doi and OpenAire config

Travis had one of its random errors. Can't seem to restart it though on their site 🤷♂

rebased off of ror-fundref
Converted callback on identifier model to a value= accessor override

looks like Travis' postgres test failed when trying to install node. I'm not given the option to restart the run 🤷♂

travis is failing randomly. Not sure why I can't restart the job. I'm thinking maybe we should just jettison Travis now that we have the Github Workflow tests going

apparently needed to sign out and then back in to Travis for the restart button to appear


Searchable database for CODA

Can we produce a searchable database for CODA?
Issues to think about:

File format? Parquet?
Do we need to change the format or structure of the underlying CODA netcdf files (ie. is grouped yearly, by data originator and platform optimal for a searchable database? Would day-by-day or profile-by-profile work better?)
How do we interogate? Polars? https://docs.pola.rs/

Yesterday @ChrisC28 & @BecCowley we discussed this issue and talked about the following use case:
for all the ARGO (or CTD, or ... ) data type in a given region, over a time period, over a depth range, with given variable . .

quickly and easily make plots of where this data is
grab all the data, record by record in a tabular format
grab all the data as analysis-ready profiles

starting with 2012 as an example: /g/data/es60/users/thomas_moore/CODA/2012
(base) tm4888@gadi-login-04 /g/data/es60/users/thomas_moore/CODA/2012 ls -l
total 119157796
-rw-rw-r-- 1 tm4888 es60     2621287 May 28 16:13 AIMS_CODA_2012_ctd.nc
-rw-rw-r-- 1 tm4888 es60    39738448 May 21 10:40 MNF_CODA_2012_ctd.nc
-rw-rw-r-- 1 tm4888 es60    49086082 May 21 10:39 RAN_CODA_2012_ctd.nc
-rw-rw-r-- 1 tm4888 es60<PHONE_NUMBER>9 May 15 21:31 WOD2018_CODA_2012_ctd.nc
-rw-rw-r-- 1 tm4888 es60<PHONE_NUMBER>2 May 15 23:46 WOD2018_CODA_2012_gld.nc
-rw-rw-r-- 1 tm4888 es60    85704294 May 15 23:05 WOD2018_CODA_2012_mrb.nc
-rw-rw-r-- 1 tm4888 es60   129700151 May 15 21:21 WOD2018_CODA_2012_osd.nc
-rw-rw-r-- 1 tm4888 es60<PHONE_NUMBER>7 May 15 22:54 WOD2018_CODA_2012_pfl.nc
-rw-rw-r-- 1 tm4888 es60<PHONE_NUMBER> May 15 21:35 WOD2018_CODA_2012_xbt.nc

Heya @ChrisC28 do variables like Temperature_WODflag need to be float64?

@ChrisC28 ... can you see / reach /oa-decadal-climate/work/observations/CARSv2_ancillary/CODA/CODAv1/?
tube locked up on me and then suddenly everything from /oa-decadal-climate/work/ was "gone"?

The CODA netcdf files contain different numbers of variables for each type (eg, WOD files have more variables than MNF files).
When converting to parquet formats, the schemas will be different for each and with my small amount of knowledge on parquet collections, that will mean separate loading. Or, will we fill in variables with empty where they are missing (eg, WOD_id filled with NaN in MNF files) to make a consistent and complete dataset?
Thoughts @Thomas-Moore-Creative, @ChrisC28?

Or, will we fill in variables with empty where they are missing (eg, WOD_id filled with NaN in MNF files) to make a consistent and complete dataset?

@BecCowley . . .  Does this depend on how much ( everything? one platform? etc ) is stored in the CODA PQ files?  My thinking has been that, at some level, this will involve padding out tables with NaN's?

@Thomas-Moore-Creative it does depend on what is stored in the PQ files. If we have a template of required variables, then some will be padded with NaNs where the information doesn't exist. A template for different data types will help to minimise the number of empty variables.

Dumb question - but isn't the final CODA schema the template for everything?  Or is that what we need in tabular form?

Some examples:

In the XBT files there is a depth correction variable. This isn't included in other data types.
Salinity doesn't exist for some instruments
Within instrument groups: the WOD files have additional metadata that the MNF or AIMS etc files might not have, eg a WOD accession number, instrument model

In our CODA nc files, if the variable or metadata doesn't appear in the orignal file, it isn't in the CODA nc file. In the PQ file, do we fill in these with NaN or have separate files without the missing information?

 Some examples:

In the XBT files there is a depth correction variable. This isn't included in other data types.
Salinity doesn't exist for some instruments
Within instrument groups: the WOD files have additional metadata that the MNF or AIMS etc files might not have, eg a WOD accession number, instrument model

In our CODA nc files, if the variable or metadata doesn't appear in the orignal file, it isn't in the CODA nc file. In the PQ file, do we fill in these with NaN or have separate files without the missing information?

My view is - importantly subject to performance and storage limits - we want ALL metadata in the PQ files as columns.  AKA - let's not worry about lots and lots of NaN padding until we can prove a PQ & Polars approach can't deal with it for important use cases.
Another dumb question - do we have the current "everything that could be in CODA" schema listed anywhere?

Some notes:
In the current example we are using a single NetCDF file WOD_CODA_2005_pfl.nc which is: 6.1GB

See notes above:
filtered_pdf = pdf.filter((pl.col('Temperature') >= 65))

CPU times: user 272 ms, sys: 30.2 ms, total: 302 ms
Wall time: 204 ms


Filesystem has() call throwing FileNotFoundException

When I call has for a directory path, it returns a FileNotFoundException. Calling has on the AwsAdapter work correctly.
It looks like the Filesystem::has function is stripping the trailing slash from paths, before it calls the AwsAdapter::has function. So, AWS doesn't recognize the path since it comes in as a directory path without a trailing slash.

@MichaelMackus has calls only concern about files, directories are second class citizens in Flysystem, they're always implicitly created, therefor it's never needed to check for its existence.

@MichaelMackus also, which version of the adapter are you using? A recent version uses doesObjectExist rather than fetching metadata, so that exception can not be thrown anymore.

Hmm that's unfortunate, since there are cases in my current project where I have to check existence of directories (its very hierarchical & permissions based).
My composer.lock is locked against this commit: https://github.com/thephpleague/flysystem-aws-s3-v3/commits/e347faaca13ec15bfa3e2dbe02bd7f1ab8e85f55

@MichaelMackus there's a new version available, 1.0.6, just released, addressing this issue. An alternative solution would be to list files in that directory, see if it's empty or not?

Thanks much for the help and responsiveness
Updating composer now :)

No worries, I'm going to bed now. If the new version or the new approach I suggested fixed your problem, could you close the issue? Otherwise I'll check back here tomorrow.

Perfect, thanks!

Hmm it seems like this issue is actually still persisting.
$filesystem->has('directory/')
Always seems to return false :(
It would be nice to have functional methods on directories, since nowhere does it say that "has" on a directory is unsupported.
For now, I'll use listContents as an alternative but it would be nice to have this working.

@MichaelMackus this is expected, as I mentioned in the comment earlier, flysystem cares less about directories. have you tried altering your strategy like I suggested with checking for a non-empty listing?

I've worked around this using
if ($filesystem->getAdapter()->has('dir/')) {
  $filesystem->getAdapter()->getMetadata('dir/');
}

Kind of messy IMO when this would be much clearer (and avoid working at a low level):
$filesystem->getMetadata('dir/')

Unfortunately since Filesystem strips the "/" this doesn't work correctly. It would also be nice for it not to matter whether the "/" is there or not, but these inconsistencies would be better documented/deprecated at least.

@MichaelMackus the implementation of that call is exactly what I suggested before:
$isDirectory = ! empty($filesystem->listContents($dirname, false));

Hmm that doesn't quite work though. If I do listContents on a valid file path (not a directory), $isDirectory would be true.

You mean a file with a trailing /? Because listContents ensures the / is there.

Yes, it returns an empty array [] for a valid file path (non-directory).

Hi! Although the last comment to this issue was back in 2015, I ran into a similar problem today.
$fs->listContents("assets://some-directory"); // Returns an array with directories and files
$fs->getMetadata("assets://some-directory"); // Throws an exception

So getMetadata on any directory throws an Exception in AwsS3Adapter. The same code works perfectly in the Local Adapter and does not throw an Exception... Is this really a wanted behavior?
Do you have a hint how I could check if a node is a file or directory using the AwsS3Adapter? listContents is not reliable since there could be empty directories.


Partial matches: how to deal with them?

Could we maybe have a button to choose ‘yes, it is the same, update it’ or ‘no, it is not the same, create a new record’?
Otherwise, how could we force the import if not the same but the script keep indicating ‘partial matches’?

Implement buttons to deal with partial matches
When an import is being done existing documents are being compared to imported documents but sometimes the matches are only partial meaning that the only some info matches (the isbn but not the title) or that there are multiple documents that are the same ( duplicates). In this case a decision has to be made what to do with the document.
Preferred solution

Change the importer UI to add new action buttons (or similar)
Create backend endpoints to handle the user choice to create or update

User workaround
Creating/merging/updating can be done by the user by manually editing documents/series.

done by manual edit after the preview mode, import mode imports the record regardless of existence of partial matches