Issues with training on custom dataset

Hello there,
I was trying to train on my custom dataset, currently holding about 60 images for training and 60 for validation.
Using the following train_config.yml
output_root: '../'
pytorch_data_dir: '/content/drive/MyDrive/custom_dataset/'
experiment_name: "exp1"
log_dir: "exp1"
azureml_logging: True
submitting_to_aml: False

# Loader params
num_workers: 1
max_steps: 10
batch_size: 16

num_neighbors: 7
dataset_name: "directory"

# Used if dataset_name is "directory"
dir_dataset_name: "train_data"
dir_dataset_n_classes: 5

has_labels: False
crop_type: "five"
crop_ratio: .5
res: 224
loader_crop_type: "center"

# Model Params
extra_clusters: 0
use_true_labels: False
use_recalibrator: False
model_type: "vit_small"
arch: "dino"
use_fit_model: False
dino_feat_type: "feat"
projection_type: "nonlinear"
#projection_type: linear
dino_patch_size: 8
granularity: 1
continuous: True
dim: 70
dropout: True
zero_clamp: True

lr: 5e-4
pretrained_weights: ~
use_salience: False
stabalize: False
stop_at_zero: True

# Feature Contrastive params
pointwise: True
feature_samples: 11
neg_samples: 5
aug_alignment_weight: 0.0

correspondence_weight: 1.0

# IAROA vit small 1/31/22
neg_inter_weight: 0.63
pos_inter_weight: 0.25
pos_intra_weight: 0.67
neg_inter_shift: 0.46
pos_inter_shift: 0.12
pos_intra_shift: 0.18

# Potsdam vit small 1/31/22
#neg_inter_weight: 0.63
#pos_inter_weight: 0.25
#pos_intra_weight: 0.67
#neg_inter_shift: 0.46
#pos_inter_shift: 0.02
#pos_intra_shift: 0.08

# Cocostuff27 vit small 1/31/22
#neg_inter_weight: 0.63
#pos_inter_weight: 0.25
#pos_intra_weight: 0.67
#neg_inter_shift: 0.66
#pos_inter_shift: 0.02
#pos_intra_shift: 0.08

## Cocostuff27 10/3 vit_base

#neg_inter_weight: 0.1538476246415498
#pos_inter_weight: 1
#pos_intra_weight: 0.1
#
#neg_inter_shift: 1
#pos_inter_shift: 0.2
#pos_intra_shift: 0.12

## Cocostuff27 10/3 vit_small
#neg_inter_weight: .63
#pos_inter_weight: .25
#pos_intra_weight: .67
#
#neg_inter_shift: .16
#pos_inter_shift: .02
#pos_intra_shift: .08

## Cocostuff27 10/3 moco
#neg_inter_weight: .63
#pos_inter_weight: .25
#pos_intra_weight: .67
#
#neg_inter_shift: .26
#pos_inter_shift: .36
#pos_intra_shift: .32

#pos_inter_shift: .12
#pos_intra_shift: .18

## Cocostuff27
#neg_inter_weight: .72
#pos_inter_weight: .80
#pos_intra_weight: .29
#
#neg_inter_shift: .86
#pos_inter_shift: .04
#pos_intra_shift: .34

# Cityscapes 10/3

#neg_inter_weight: 0.9058762625226623
#pos_inter_weight: 0.577453483136995
#pos_intra_weight: 1
#
#neg_inter_shift: 0.31361241889448443
#pos_inter_shift: 0.1754346515479633
#pos_intra_shift: 0.45828472207

# Cityscapes
#neg_inter_weight: .72
#pos_inter_weight: .18
#pos_intra_weight: .46
#
#neg_inter_shift: .25
#pos_inter_shift: .20
#pos_intra_shift: .25

rec_weight: 0.0
repulsion_weight: 0.0

# CRF Params
crf_weight: 0.0
alpha: .5
beta: .15
gamma: .05
w1: 10.0
w2: 3.0
shift: 0.00
crf_samples: 1000
color_space: "rgb"

reset_probe_steps: ~

# Logging params
n_images: 5
scalar_log_freq: 10
checkpoint_freq: 2
val_freq: 2
hist_freq: 2

hydra:
  run:
    dir: "."
  output_subdir: ~
  #job_logging: "disabled"
  #hydra_logging: "disabled"

I have reduced the val_freq and some other freqs to match the small dataset, but while running the train_segmentation.py I have encountered the following error,
Global seed set to 0
Initializing distributed: GLOBAL_RANK: 0, MEMBER: 1/1
[2022-06-24 14:27:21,025][torch.distributed.distributed_c10d][INFO] - Added key: store_based_barrier_key:1 to store for rank: 0
[2022-06-24 14:27:21,025][torch.distributed.distributed_c10d][INFO] - Rank 0: Completed store-based barrier for key:store_based_barrier_key:1 with 1 nodes.
----------------------------------------------------------------------------------------------------
distributed_backend=nccl
All distributed processes registered. Starting with 1 processes
----------------------------------------------------------------------------------------------------

Missing logger folder: ../logs/exp1/directory_exp1_date_Jun24_14-27-16/lightning_logs
LOCAL_RANK: 0 - CUDA_VISIBLE_DEVICES: [0]

   | Name                     | Type                       | Params
-------------------------------------------------------------------------
0  | net                      | DinoFeaturizer             | 21.9 M
1  | train_cluster_probe      | ClusterLookup              | 350
2  | cluster_probe            | ClusterLookup              | 350
3  | linear_probe             | Conv2d                     | 355
4  | decoder                  | Conv2d                     | 27.3 K
5  | cluster_metrics          | UnsupervisedMetrics        | 0
6  | linear_metrics           | UnsupervisedMetrics        | 0
7  | test_cluster_metrics     | UnsupervisedMetrics        | 0
8  | test_linear_metrics      | UnsupervisedMetrics        | 0
9  | linear_probe_loss_fn     | CrossEntropyLoss           | 0
10 | crf_loss_fn              | ContrastiveCRFLoss         | 0
11 | contrastive_corr_loss_fn | ContrastiveCorrelationLoss | 0
-------------------------------------------------------------------------
230 K     Trainable params
21.7 M    Non-trainable params
21.9 M    Total params
87.601    Total estimated model params size (MB)
Epoch 0:   0% 0/13 [00:00<?, ?it/s] Epoch 0, global step 3: 'test/cluster/mIoU' was not in top 2
Epoch 0, global step 6: 'test/cluster/mIoU' was not in top 2
Epoch 0, global step 9: 'test/cluster/mIoU' was not in top 2
Epoch 0, global step 12: 'test/cluster/mIoU' was not in top 2
Epoch 0:   0% 0/13 [00:03<?, ?it/s, v_num=0]

and no checkpoint of the model is saved (the execution has completed).
I am using Google Collab to run this training.
Any suggestion on what may be the problem (I am aware that the dataset is too small for a strong model) ?

Have you solved this problem? I also have the same problem.

I am now able to train on my custom dataset, I changed multiple stuff and kinda of lost track. I think the main bits were,

Remove the usage of cfg.num_workers  and disable all parallel computing.
Reducing batch sizes and frequencies.

Including my diff.txt in src/* if you want to check it out.

I am now able to train on my custom dataset, I changed multiple stuff and kinda of lost track. I think the main bits were,

Remove the usage of cfg.num_workers  and disable all parallel computing.
Reducing batch sizes and frequencies.

Including my diff.txt in src/* if you want to check it out.

hi. how much cluster mIoU you get on custom dataset?


As a user, I want to see PDS3 id as they originally are

Motivation
...so that I can recognize my ids
Additional Details

Acceptance Criteria
Given a service where doi history has been loaded
When I perform search on BISTATIC
Then I expect to see the research result with Ids containing /
Engineering Details

So that it works, the UI need to use an alternate Id fields which is going to be provided by the ticket https://github.com/NASA-PDS/pds-doi-service/issues/229

@jordanpadams @collinss-jpl @c-suh @eddiesarevalo can this ticket be closed ?
I think Scott made the change on API side, I am guessing the change on UI side where done in a different ticket ?

Let's close it for the RDD purposes, and reopen if it turns out this is not the case.


Add Courier/Umbraco Deploy revolvers for variants

When using the variants property editor, internally it stores node ID's of the variants on the product node. Unfortunately when this comes to deploying to other environments, it means that the IDs it stores are now incorrect.
To resolve this we need to write Courier / Umrbaco Deploy resolvers for the variants property editor.

Got a roughly fleshed out version here https://gist.github.com/mattbrailsford/777a8c5b6e6a063176d32e84964da14a
This currently assumes though that the variant doc type only consists of simple properties and that they don't need recursively processing. If this is required, it'll need extending with functionality similar to the nested content / inner content resolvers.


Prepare repo for PyPI packaging

About this change - What it does
This PR prepares the repo for packaging on PyPI. the file hierarchy is changed and setup.cfg, setup.py and a new folder for packaging have been added.
Why this way
this is the typical method to package a python package on PyPI.

Hi @ahmedsobeh, thanks for this... one question... when I run:
python aiven_metadata_parser/main.py

I get
File "/Users/francescotisiot/Documents/GitHub/metadata-parser/aiven_metadata_parser/main.py", line 2, in <module>
    from aiven_metadata_parser import explore_service
ModuleNotFoundError: No module named 'aiven_metadata_parser'

Should the
from aiven_metadata_parser import explore_service
from aiven_metadata_parser import pyvis_display as pyvis_display

be
import explore_service
import pyvis_display as pyvis_display

?

Thanks for the commit! Just saw your comment now


v1.0.0 release - sprint 7

Ticket Number

UCD-1367
Description of change

Promote latest release candidate to master ready for acceptance testing.
Checklist

[ ] Requires infrastructure changes
[ ] If adding or remove environment variables (e.g. in docker-compose.yaml) then I have updated the appropriate Helm chart
[ ] I have updated the documentation accordingly
[ ] My commit history in this PR is linear
[ ] New features have tests
[ ] Breaking change (team conversation required)

Important
Please do not merge from master (please only rebase). This keeps the history linear and easier to debug.

got a conflict here @MrSimonEmms

got a conflict here @MrSimonEmms

got a conflict here @MrSimonEmms

Yeah, so I see. I'll do a manual resolve prior to rebase/merging it

got a conflict here @MrSimonEmms

Yeah, so I see. I'll do a manual resolve prior to rebase/merging it


Update XRootD S3/HTTP plugins to v0.1.3 in containers

The updates come with ls functionality in S3 and authorization bearer token support in HTTP.
Closes #1408

@jhiemstrawisc - the tinyxml2 library is now vendored as a git submodule.  You need to initialize that in a slightly different way besides the git clone.
I think the command needed is along the lines of:
git submodule update --init --recursive


bug(shared): test_molecule workflow reporting errors in the ansible roles

Describe the bug
test_molecule workflow reporting errors in the ansible roles
To Reproduce
Steps to reproduce the behavior:
Create a PR with platform tags or shared tag
Let the Test Ansible using Molecule workflow run
Check the error in workflow logs
Expected behavior
workflow should pass with no errors in the ansible roles
Screenshots

Molecule test support is removed


Corrections to AIML40

This fixes #59 and #60 by removing an option to upload data to Azure ML automatically via Python script, and instead describing the manual upload process. Automatic upload option does not exist for Excel files.
This fixes #61 by describing file upload in more detail.
Also, in README.md it updates the steps for using AutoML to match the current version of the portal.
The process of setting up/running absa.ipynb files is streamlined to use Azure ML portal, and instructions to setup local Jupyter environment are moved to a separate file as optional.

Fantastic work @shwars thank you for your support with the content ⭐⭐


Use default credentials

I'd like to see a UseDefaultCredentials setting added to Seq.App.EmailPlus and Seq.App.Replication.
This setting activates default credentials on sending email or replicate messages.
Can you add this feature? Or add me as a contributor of this repository and I will send you a pull request.

Hi Alex, thanks for the note.
Using this for SMTP mail sounds straightforward - PR would be welcome (no particular contributor rights are required in order to send a PR). The changes would need to be tested locally with an existing app instance to ensure they're backwards-compatible with existing settings - i.e. the new setting would need to be IsOptional = true.
For replication, woudn't authenticating to the target Seq server using API keys be a more direct approach?


flutter pub prints debug-like output

When flutter pub fails, it prints the expected pub failure in white, but then after that some internal-looking, debug-like output in screaming red. Can we remove then red output (or at least only print it when running with --verbose)?

Hello @mit-mit. Can you provide some reproduction steps for this, along with a complete and minimal, reproducible code sample if applicable?

It happens on a number of pub issues.
Here's one example (with latest flutter main):

flutter create testapp
cd testapp
Edit pubspec.yaml and change the SDK constraint to sdk: '>=2.0.0 <3.0.0'
flutter pub get

Triage report
Using the above mentioned steps, I can reproduce this issue on Master (3.7.0-19.0.pre.13)
Resolving dependencies...
The current Dart SDK version is 3.0.0-112.0.dev.

Because issue_118314 doesn't support null safety, version solving failed.

The lower bound of "sdk: '>=2.0.0 <3.0.0'" must be 2.12.0 or higher to enable null safety.
For details, see https://dart.dev/null-safety
pub failed
command: "/Users/nabeelparkar/fvm/versions/master/bin/cache/dart-sdk/bin/dart __deprecated_pub get --example --directory ."
pub env: {
  "FLUTTER_ROOT": "/Users/nabeelparkar/fvm/versions/master",
  "PUB_ENVIRONMENT": "flutter_cli:get",
  "PUB_CACHE": "/Users/nabeelparkar/.pub-cache",
}
exit code: 1

flutter doctor -v (Master)
[!] Flutter (Channel master, 3.7.0-19.0.pre.13, on macOS 13.0.1 22A400 darwin-arm64, locale en-US)
    • Flutter version 3.7.0-19.0.pre.13 on channel master at /Users/nabeelparkar/fvm/versions/master
    ! Warning: `dart` on your path resolves to /opt/homebrew/Cellar/dart/2.18.6/libexec/bin/dart, which is not inside your current Flutter SDK checkout at /Users/nabeelparkar/fvm/versions/master. Consider adding /Users/nabeelparkar/fvm/versions/master/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f8628b5cb1 (4 hours ago), 2023-01-11 18:48:03 -0800
    • Engine revision 4a8d6866a1
    • Dart version 3.0.0 (build 3.0.0-112.0.dev)
    • DevTools version 2.20.0
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/nabeelparkar/Library/Android/sdk/
    • Platform android-33, build-tools 33.0.0
    • ANDROID_SDK_ROOT = /Users/nabeelparkar/Library/Android/sdk/
    • Java binary at: /Users/nabeelparkar/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9123335/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14C18
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • CHROME_EXECUTABLE = /Applications/Brave Browser.app/Contents/MacOS/Brave Browser

[✓] Android Studio (version 2021.3)
    • Android Studio at /Users/nabeelparkar/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9123335/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] IntelliJ IDEA Ultimate Edition (version 2022.3.1)
    • IntelliJ at /Users/nabeelparkar/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app
    • Flutter plugin version 71.3.6
    • Dart plugin version 223.8214.16

[✓] IntelliJ IDEA Ultimate Edition (version 2022.3.1)
    • IntelliJ at /Users/nabeelparkar/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/223.8214.52/IntelliJ IDEA.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.74.3)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.56.0

[✓] Connected device (4 available)
    • iPhone 14 Pro (mobile)     • A75A00DB-CD34-4A0D-BFD9-2DA753E5A5EE • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-2 (simulator)
    • iPhone 14 Pro Max (mobile) • 6BC61E88-4DE0-4BCB-8599-DA5294269146 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-2 (simulator)
    • macOS (desktop)            • macos                                • darwin-arm64   • macOS 13.0.1 22A400 darwin-arm64
    • Chrome (web)               • chrome                               • web-javascript • Brave Browser <IP_ADDRESS>

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.


About project's packages usage

Hello, fellow cultural flutter dev here.
First of all, very nice app.
If you don't mind, I have some questions about package choices here.

Why did you choose extended_image over cached_network_image?
Do you have any issues while working with getx? Does it testable? I am asking this because I heard a lot of bad things about it.
executor looks like an abandoned package, do you have any plan to migrate it in the future?

Belows are my personal answer based on my experience during the development of JHenTai, may not be suitable for huge projects or professional applications:

Q1:

cached_network_image is just for cache network image, but in JHenTai i also need ①load & cache local image or destroy them②crop image③image gestures, extended_image do all of them for me.
extended_image provides more extension points
I saw that cache network image doesn't support Windows and Linux.
the developer of extended_image comes from my country, so it's convenient for me to learn it.

Q2:

the only problem i melt with getx is that using ever()  method to listen to the change of a List is not reliable, add or delete a item may call the callback method twice, but i don't know whether it has been fixed in lastest vesrion.
i have not tested my application before😂, i'm not familiar with test system in Flutter.
getx is perfect for me because i'm a Javaer, i like the coding style of getx, and it is more flexible to control widgets and comunications between pages.
getx now has more than 10000 likes in pub.dev, what king of bad things did you hear?🤣

Q3:

I think 'executor' is well designed and coded, it's good enough to deal with tasks, so it does not need to be updated.
the official executor can't assign priority to tasks or cancel running tasks, so i implement these two features in JHenTai, but i didn't republish it.

Hope my answer can help you.

I see, thanks a lot. I could ~steal~ reference a thing or two from your project. 🤣
About getx, you could look up getx disadvantages. There are a lot of criticisms about it.


Persistent connection

Take a look at this. https://github.com/neo4j-php/Bolt/pull/115
https://www.php.net/manual/en/function.pfsockopen.php

Notes to myself

maybe use https://www.php.net/manual/en/ref.sem.php for shared memory instead of files to keep serverState per connection
check https://www.php.net/manual/en/function.stream-get-meta-data.php if can be used to get uid of connection for storage

You can even use stream_socket_client (used in StreamSocket connection class) with flag STREAM_CLIENT_PERSISTENT to start using persistent connections.
But what is hard to do (maybe impossible) is to tell in what state is that connection. Neo4j doesn't offer bolt message to request server state or some kind of status. Or even I don't know if there is a way how to ask if that connection was closed. Because after I called goodbye bolt message I get that persistent connection again.
To tell which connection is which is possible with stream_socket_get_name($this->stream, false) .. I think, because you get local outbound port.

Added new branch with bold version which does work. When you create connection, call hello (do some query if you want) and then refresh second time without calling hello again. Because the connection is already logged in. So I used this kind of condition to verify it:
if ($protocol->serverState->get() == \Bolt\protocol\ServerState::CONNECTED)

For now I keep socket connection info in file. Also I still need to manage how to recover. For example when persistent connection doesnt exists but there is still that file. It needs more work and testing.
I used bolt v5 which means hello logs in. In newer version was change.

What about using https://www.php.net/manual/en/function.apcu-store.php for storing handlers for persistent connections?

I like the idea, but the problem is that it needs to be installed on your PHP environment. I think we should use something like a PSR cache instead. People can then install their own implementation, which may or may not use apcu, redis, etc ...
https://www.php-fig.org/psr/psr-16/

I spent few more hours on this feature. I've implemented PSR-16 and did some clean up. But there are few problems I can see or I hit.

When you lost metadata for connection - system will try handshake and it will fail on timeout when waiting for response.
Not consuming response immediately - if you keep pipelining messages and then you refresh script, you will not be able to consume responses in second script run. When you send message, type of message is buffered and this buffer is used for consuming. Reloading script lost this buffer.
I even end up in state when I had to restart PHP while I was experimenting with leaving connection in different Server states and trying to reconnect and do something. Reusing existing connection properly heavily depends on correct action related to Server state.

About the 2. point. Maybe I should look into it if I can remove that buffer somehow. I feel like the buffer is there just to tell Response what message is related to. But I don't think is used anywhere. Is it required to know it?

I just realized one problem: Because of pipeline, response from one script run can end up in another.
So it would make sense to now have pipeline at all as it was before and consume response immediatelly after sending any message to database. Which feels like step back because pipeline allows consuming result continuously (better memory usage).

I was thinking, calling reset upon connecting with persistent connection would solve some problems.

I was thinking, calling reset upon connecting with persistent connection would solve some problems.

Reset doesn't discard buffer, just mark all messages as IGNORED. So I've implemented discarding all bytes from buffer upon reusing persistent connection.
Also it's called RESET to assure connection is viable (SUCCESS response).
So it seems I've finalized this feature. It is implemented as new connection class PStreamSocket.
I'm not able to solve one problem which is when meta information get lost. Because of that upon connection it tries to do handshake (because it thinks it's a new connection) which fails and it throws ConnectionTimeoutException. I mentioned that in class annotation.
What I haven't tested: When there is persistent connection but is not used for longer time, server can close it. I don't know what exactly happens when you try to reuse it. My guess is, PHP internally close it too. But if PHP creates new connection while meta information still exists, I guess library throws ConnectionException on write/read.


enhanching buttons

Hey @Janhvi52, I would like to work on this issue. :)

I want to work for on this issue under kwoc , please assign me


Hazard uses wrong ModSectMinMags

Hazard uses ModSectMinMags that are created by UCERF3 instead of the regionalised ones from the solution.

We should also double check that we're not re-applying the deformation model etc for hazard

@thanks @voj


Is it possible to fine-tune Geolayout LM only for entity labelling ?

The data on which we want to finetune Geolayout LM model doesnt have key-value pairs.
For ex Name,Address,Dates etc
Is it possible to ignore entity linking part and just train the model for entity labelling task?

Yes, you may set the linking loss to 0 mannually, and ignore the linking part.


Configuration to ignore certain warnings or infos

Is your feature request related to a problem? Please describe.

Describe the solution you'd like
Add configuration to the VS code extension that can disable specific diagnostics.

[x] Style infos
[x] Name convention warnings
[x] Experimental language feature warnings
[x] Experimental declaration warnings

:tada: This issue has been resolved in version 0.5.0 :tada:
The release is available on:

npm package (@latest dist-tag)
npm package (@latest dist-tag)
v0.5.0
GitHub release

Your semantic-release bot :package::rocket:


Freeze stale mods

Motivation
See KSP-CKAN/NetKAN-Infra#96, we currently crawl a lot of mods that are vanishingly unlikely to ever update again. Now that KSP-CKAN/NetKAN-Infra#97 is merged and has run, we have a timestamp for every mod, and we can use this to freeze the stale ones.
Changes
Now any mod with a last_indexed date earlier than 2017-01-01 is renamed to .frozen. This will take these mods out of the bot's rotation, saving assorted system resources.
Command used to generate the list:
wget -q -O - http://status.ksp-ckan.space/status/netkan.json | jq -rS '("2017-01-01T00:00:00Z"|fromdate) as $cutoff | to_entries | map(select(.value.last_indexed and (.value.last_indexed[0:19]+"Z"|fromdate)<$cutoff) | .key) | sort_by(ascii_downcase) | .[]'
Command used to generate the PR (from the NetKAN/NetKAN folder):
for X in $(wget -q -O - http://status.ksp-ckan.space/status/netkan.json | jq -rS '("2017-01-01T00:00:00Z"|fromdate) as $cutoff | to_entries | map(select(.value.last_indexed and (.value.last_indexed[0:19]+"Z"|fromdate)<$cutoff) | .key) | sort_by(ascii_downcase) | .[]') ; do git mv $X.netkan $X.frozen ; done

#rebuild

Did this leave some mods available for the new autofreezer to munch on as a test run the first time around?

Yes, today minus one thousand days is 22 Feb 2017, so the script should freeze any that expired between 1 Jan and 22 Feb:
$ wget -q -O - http://status.ksp-ckan.space/status/netkan.json | jq -rS '("2017-01-01T00:00:00Z"|fromdate) as $min | ("2017-02-22T00:00:00Z"|fromdate) as $max | to_entries | map(select(.value.last_indexed and (.value.last_indexed[0:19]+"Z"|fromdate)>$min and (.value.last_indexed[0:19]+"Z"|fromdate)<$max) | .key) | sort_by(ascii_downcase) | .[]'
AnimatedStationScreens
AntennaRangePatches
BallastNukSub
BDynamicsMk22Cockpits
CepheusSunflare
ContractConfigurator-InterplanetaryMountaineer
DSDMobileProcessingLabs
EdenSunflare
EstesParachutePack
FlyingWingCargo
GameofKerbals
GrandPrix
GrindyScience
GTIndustries
HeatShieldfortheMk1CommandPod
HermesInterplanetarySpacecraft
HexTruss
HospitalShip
K2CommandPod
KerbalOlympics
KerbalStockLauncherOverhaul
KirovAirShip
LandingHeight
LessGrindyScience
LowExpectations
MilitarySuitTextures
Mk3MiniExpansionPack
MTPTank
PartCommander
PhoenixIndustriesAgencies
PhoenixIndustriesBoosters
PhoenixIndustriesFlags
PoliticalMap4kTexture
PoliticalMap8kTexture
PoliticalMapMilitaryTexture
ProceduralProbes
Radialstackdecoupler
StockFairingTweaker
Taerobee
TrackingStationAmbientlight
VesselSwitcher
WernherChecker
Zenit3SLBReduzx

Alright, that's great! I don't see a reason not to merge this in.

Hmm, this should have prevented this module from being frozen:
https://github.com/KSP-CKAN/CKAN-meta/commits/master/EnduranceSpaceExplorationSystem/EnduranceSpaceExplorationSystem-V1.10.ckan
Maybe last_indexed was missing or wrong due to problems in the early stages of the implementation of the new Infra.


Login to google not allowed in app via security issue

Describe the bug
When I try to login to app, after enterring email, google says, that this browser or application cannot be used via security issue with this app. I am using my personal Google account without any super security settings or great security account level.
To Reproduce
Steps to reproduce the behavior:

Install the app.
Run the app for first time
Wait to inform that this is current version.
Standard google login fform appears.
Enter e-mail of my account and press Next (Další in czech)
Security alert appears from Google for this app.

Expected behavior
Login
Screenshots
G Desktop Suite:

Version 0.3 - latest release

Platform:

OS: Windows 10
Version [e.g. 10]

Thanks for leaving this ticket. We noticed this problem as soon as the release came out, and we pushed a hotfix to the master branch. Version 0.3.1 with the fixes will be coming out by the end of today, so please hang tight!

Version 0.3.1 is out. Using the latest version will fix your issue. Thanks for being patient!


Procedural macro for routing

An (untested) idea for implementation:
#[get("/user/profile")]
pub fn user_get_profile(_: Context) -> Response { ... }

// Becomes

fn __user_get_profile(_: Context) -> Response { ... }
pub static user_get_profile: ::shio::router::Route =
  (::shio::Method::Get, "/user/profile", __user_get_profile).into();

Marking this as help wanted as I'll accept a PR (you'll need to make a new crate in the workspace like shio_macros) but its not a priority for me. It'll also need to be behind the nightly feature flag.

I'll give it a try

@Meralis40 From a quick look over that looks awesome! Go ahead and open a pull request when you're ready and we can discuss more there.
Some quick notes:

I'd like multi-mounting to be possible. Unsure how to support that easily. Ideally it'd result in an array of routes. We could extend .route( ... ) to also accept an array of routes.

#[get("/")]
#[get("/path")]
fn index_or_path(_: Context) -> Response { }

It'd be nice to support a more generic #[route] decorator too. Not sure if the syntax is best.

// Idea 1
#[route(GET, path = "/")]

// Idea 2
#[route("/")] // Defaults to GET
#[route("/", methods = [GET, POST])]

shio_macros would be the crate name (as it definitely has more than 1 macro) and macros/ would be the folder name
Re-export the macros from shio under the nightly feature. Procedural macros can be re-exported like normal items pub use shio_macros::*.

I've done the two last part, and open a PR (https://github.com/mehcode/shio-rs/pull/19).


Suggestion: Copy inventory listing to clipboard

It would be very useful if /mt inventory would also copy the output to the clipboard so I can easier put items into script (without doing 9 /mt hand). Alternatively a hotbar only command would also be helpful or dumping it into the log.
Besides that thanks for making this happen in 1.10 :-)

well /mt inventory already logs everything in the inventory, look in minetweaker.log.
How would copying all of them to the clipboard work? IF it did that, it would just be a long string like
<minecraft:stick>, <minecraft:dirt>, <minecraft:diamond>

You would still need to copy paste them to get the individual item

I did look in minetweaker.log and just checked again but there was no inventory listing. I actually outputs it in chat (where I cannot even see it all and I cannot copy/paste it). So far I only see /mt recipes logging to the logfile. Is this a bug?
As for copying: I would then clear my inventory and only have those items in it which I want to use for that recipe. So that string would actually be helpful (I might still edit it into triplets of course but that's still faster than doing 9 times /mt hand). I don't mind though if it's in clipboard or logfile although clipboard would save one step.


Remove init, PEP420PackageFinder handles this + it's breaking local dev installs (pip install -e .)

I haven't merged this because one of the presubmits is failing weirdly. I re-ran it but no change. I haven't had a chance to look into it but flagging it in case I don't get time today.

Hmmm... pytype.
There is something weird about our [my] pytype setup.
The reason it's executed with 3.10 was that was the only version I could get it to run with.
Maybe now it will work with more recent ones, or maybe there's a simple fix.

Fixed.


Adapter static but with Deno support?

Feel free to close if this is considered off-topic.
Can you offer any guidance on how to setup SvelteKit in such a way as to run builds with Deno but get the output produced by adapter-static? Instead of a Deno server, I'd like to end up with static HTML files but built with TypeScript end to end.

So you mean using Deno to run SvelteKit itself, right? From what I understand, this would be non-trivial, as it would require Deno-based alternatives to SvelteKit's dependencies, in particular vite (see the upstream issue for Deno support: https://github.com/vitejs/vite/issues/109).
It might be possible to do it with Deno's Node compatibility library (https://deno.land/std@0.102.0/node/README.md), but I'm not sure I want to go down that route.
I'll leave the issue open, this is something that may be interesting to pursue, but broader in scope when compared to this adapter.

So you mean using Deno to run SvelteKit itself, right?

Correct. Should have been clearer.

From what I understand, this would be non-trivial...

I was afraid you'd say that. 😅

I'll leave the issue open, this is something that may be interesting to pursue, but broader in scope when compared to this adapter.

Thanks for linking the upstream repo. Like Evan said, probably too early days right now but I'll be keeping an eye on this space.

So you mean using Deno to run SvelteKit itself, right?

Correct. Should have been clearer.

I've thought of this but I'm in no rush to do so. Should everyone start to move more towards deno and doing so supported something cool that you'd like to have, then go for gold.

Saw this one today, seems to be pretty much in the same space: https://github.com/NOVASland/NOVAS


Log request method and headers

https://github.com/resurfaceio/resurfaceio-project/wiki/JSON-Formats

These resources have been helpful:
http://deliv.github.io/2014/01/31/rack-middleware-to-log-api-requests-in-mongodb/
https://robots.thoughtbot.com/io-in-ruby


Allow sortFields options to define sorting of selectable values

Hi, as described on forum
http://forums.orionjs.org/t/solved-sort-of-relation-collection/116
this PR will allow to define sorting of relations.
As I checked on selectize, I made some changes to relationships.js and attributes.js to enable a new property called
sortFields
Usage
sortFields: [ 'your_field_name', 'second_field_name' ]

This will sort ascending
sortFields: { 'your_field_name': 'desc', 'second_field_name': 'asc' }

So you can choose for sort order

Great!

Does this sort with the title field by default?

If you do not set sortField then the '_.map' will just creat an empty [] and always add [{field: '$score'}] at the end.
See: https://github.com/TomFreudenberg/orion/blob/cc648dd79ff138f049efcea985c78e74e04b7fbc/packages/relationships/relationships.js#L7-L16
This is the default behaviour of selectize and sorting is normally the default order of the collection.

It works great!

@TomFreudenberg
With your example:
sortFields: { 'your_field_name': 'desc', 'second_field_name': 'asc' }

you asume that the object keeps its member in order. This is true on the server (Node) but not on the client (Browser). You might consider a format like:
sortFields: [['your_field_name', 'desc'], ['second_field_name','asc' ]]

That will be in order on both platforms.

Hi Joris ( @jorisroling ) thanks for that comment, I even had no problems yet on client but at least you are right.
@nicolaslopezj Nicolas, you should take that in mind when updating your docs.
should be also possible to write:
sortFields: [ { your_field_name': 'desc' }, { 'second_field_name': 'asc' } ]
IMHO this looks a bit nicer / declarativer than the array only code

Well, nicer is a matter of taste. My argument would be that with your last proposal, you'd have to iterate over the keys in the object, to know what to look for, instead of knowing upfront (index 0 & 1) what keys look like. But either way, your solution solves the unordered issue of object keys. Great!
J*

:+1:


fix glog pod install with Xcode 12

Summary
Today I created a project with RN 0.63 and it failed to pod install, and after some investigation I found following error. It's caused by Xcode 12 because it dropped support for 32 bit architectures, but following script sets architecture to armv7 which is 32bit.
This will change architecture to arm64, 64 bit.
configure:3727: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.1.sdk    conftest.c  >&5
clang: error: invalid iOS deployment version 'IPHONEOS_DEPLOYMENT_TARGET=12.0', iOS 10 is the maximum deployment target for 32-bit targets [-Winvalid-ios-deployment-target]
configure:3731: $? = 1

Changelog

[IOS] [Changed] - fix glog pod install with Xcode 12
Test Plan
Create a new project using react-native init, and it'll fail to do pod install. When this change applied, it'll do it successfully.

@dulmandakh It's weird that it complains about IPHONEOS_DEPLOYMENT_TARGET=12.0 whereas the intention is to target iOS 10. Having said that, I don’t see any other configuration details in the prepare command regarding deployment target, so I wonder if explicitly adding -mios-version-min=10.0 would help instead?

@alloy is it safe to specify architecture as arm64, which is only architecture supported by Apple? Also I seems to merge more future proof, because someday RN will drop iOS 10 too. I would like to have your recommendation. Thanks

I'm confused by this script in general. I would expect this dependency to be build for all supported archs, not a single one. CURRENT_ARCH usually refers to the device that’s being build/tested on, but that on its own isn’t enough to prepare a lib for inclusion in production builds.
I’m unfamiliar with the history of this specific lib and its build setup, so I’ll have to test this locally and see what it’s actually building, but won’t get to that until at least tomorrow.

Thanks, I'm just curious too

@dulmandakh @alloy any updates on this? We have an issue here: https://github.com/facebook/react-native/issues/30690 that bumps into this problem. Is this a potential fix?

@dulmandakh @alloy any updates on this? We have an issue here: https://github.com/facebook/react-native/issues/30690 that bumps into this problem. Is this a potential fix?

RN dropped support for iOS 10, thus 32 but ARM with https://github.com/facebook/react-native/commit/a1d626739d95d6cbbb1be169b93952cdd1465486. I think that it's reasonable to merge this change 😎 @fkgozali @PeteTheHeat

RN dropped support for iOS 10, thus 32 but ARM with https://github.com/facebook/react-native/commit/a1d626739d95d6cbbb1be169b93952cdd1465486. I think that it's reasonable to merge this change 😎 @fkgozali @PeteTheHeat


Use of Variable Length Array in ImGuizmo.cpp

In line 1201 of ImGuizmo.cpp, circlePos array is declared as an array that is the size of a variable length.
This causes errors in some compilers because they will not allow VLA's by default. I encountered one while using Visual C++.
I recommend we always declare the upper limit of the size of this array. Like this:
ImVec2 circlePos[2 * halfCircleSegmentCount + 1];
The loss of performance in negligible in my opinion, what do you think? Shall I make a pull request for this?

I'd go with alloca for this allocation. Yes please, make a PR :)

Yeah that sounds like a better thing to do.
Created #164


Update howto-mfa-mfasettings.md

Error in the docs. Number of days allowed for remember MFA is 1 to 90 (inclusive)

#sign-off

@Justinha PR is ready to review and publish. It's a minor update to correct an error

#sign-off


Introduce support for RV32E

NOTE: the actual new commit is only the latest one rebased on #45582 and #45772. We can decide whether to merge only this PR or to rebase when the other two are merged.
This patchset is all we need to introduce support for the RV32E ISA, which is a reduced version of RV32I designed for embedded systems. The only change is to reduce the number of integer registers to 16.

@carlocaione https://github.com/zephyrproject-rtos/zephyr/pull/45582 and https://github.com/zephyrproject-rtos/zephyr/pull/45772 have been merged. Please rebase.

@stephanosio @npitre @edersondisouza @uLipe @fkokosinski
ready again for review

Please split the a7->t0 changes to a separate commit so it could stand
on its own with a proper changelog.


Show whether we sent survey for Work Period or no

@nkumar-topcoder you've mentioned on the Slack that business is not interested in such a flag, should we close this issue?


Add help icon

Hi @khang-nd , I've added a help icon in response to issue https://github.com/khang-nd/7.css/issues/86.
PNG has been compressed using TinyPNG to match the file size of the other PNG icons.

Docs have been updated to mentioned the new icon in the same format as the others.

Cheers.

In the original XP.css and 98.css the title bar with the help icon was called "A Helpful Bar", not "A help Title Bar"


Ignore TypeScript language server custom notification

Ignore the "$/typescriptVersion" custom notification send by this language server:
https://github.com/typescript-language-server/typescript-language-server

I can see that some custom notifications are already ignored, but it might make sense to make an interface like the one for :h lsp-custom-commands:
g:LspRegisterNotificationHandler('$/typescriptVersion', (lspserver: dict<any>, reply: dict<any>) => {
 echom printf("Typescript version = %s", reply.version)
})

Or it might make sense to be able to provide a customNotificationHandlers property to the AddServer dictionary:
g:LspAddServer([
  {
    filetype: ['javascript', 'typescript'],
    path: 'typescript-language-server',
    args: ['--stdio'],
    customNotificationHandlers: {
      '$/typescriptVersion': (lspserver: dict<any>, reply: dict<any>) => {
        # ignore message
      }
    }
  }
])

What do you think?

I like the idea of supporting custom notification handlers.  Can you create a PR for this change?


Rebuild int_clearinghouse__nearby_stations

Now that we have a better version of the metadata in int_vds__station_config, let's rebuild int_clearinghouse__nearby_stations into one based on the new metadata (probably named int_vds__nearby_stations).
This, along with #294 would remove most references to int_clearinghouse__station_meta.

@ian-r-rose meta_date is missing in 'int_vds__station_config' which is required for 'int_vds__nearby_stations' model. Any idea who worked on 'int_vds__station_config' and can add meta date similar like 'stg_clearinghouse__station_meta'? This will help us to update int_vds__nearby_stations

@mmmiah you should be able to use time_id or valid_from to serve the same purpose that meta_date did in the old model

@ian-r-rose , accepted your suggestions, rebuilt the model, updated ymal and upstream model. Please have your review and merge if everything looks good. Then I will delete the existing old model 'int_clearinghouse__nearby_stations'. Thank you!

Closing,l fixed by #320


Use it as a custom Java Swing Player App ?

Hi,
I know this library is mainly used to make discord bots, but it's possible to use it as a java audio player ?
I need to have some audio datas, but I don't know how to get it, and play it on computer speaker by example.
Anyone made a java player with this library ? (I found nothing on net) (it's possible btw ?)
The features to player Youtube or Soundcloud audio is what I need.
If anyone coul'd help me !
Best regards.

See LocalPlayerDemo class in testbot module.

See LocalPlayerDemo class in testbot module.

Thanks a lot ! 💜


Allow a Hook to reload an individual client session

In a clustered environment, client connections are distributed among multiple Server instances on different machines. After a client disconnects, leaving behind a persistent session state, its next login is likely to be on a different node. Because of this, in such a setup an individual Server instance should only keep Client instances corresponding to online client connections, and it should be able to reload an individual client's state (presumably from persistent storage) when that client reconnects.
This commit adds support for such an environment by adding a new hook StoredClientByID. An implementation finds and returns any persistent client data for a given session ID. In practice the only necessary information turned out to be the saved subscriptions and in-flight ack messages. The hook also returns the prior 'Remote' property since the server logs that.
The Server method inheritClientSession is extended to call this hook if there is no matching in-memory Client session. If the hook returns session data, it installs it into the Client object in the same way as the existing code.
At the end of the Server method attachClient, after disconnection, the existence of a StoredClientByID hook is checked; if present, the method expires the Client instance so it won't hang around in memory and so the next connection will go to the hook to reload state.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

24 of 68 (35.29%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.7%) to 97.934%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

hooks.go
0
15
0.0%

server.go
24
53
45.28%

Totals

Change from base Build<PHONE_NUMBER>:
-0.7%

Covered Lines:
6163

Relevant Lines:
6293

💛  - Coveralls


Create concrete milestone for a legion 0.1.0?

I was thinking maybe we should have some sort of overall functionality goal that we can group tasks into and then shoot for a date.
For example, maybe for a first goal we could say we want to do "multiplayer pong over the internet".  For that we would need to implement (at least): Sync (#54, #55, #56), Resource loader (#36), Collision (#21, #22).  Then we could pull those all out into a version 0.1.0/functional pong milestone and have something more concrete we're working towards, rather than just abstract features.
What do you guys think?

Obviously, version # is up for debate.  It won't be particularly feature-rich, so maybe 0.0.1 would be more fitting ;)

I think that's a good starting point. Being able to build a small, simple game would be a good time for the first release. We'll go with 0.1.0, based on semantics here.

K, what about a due date?  Would March 31st be too ambitious?

I say we go for the 31st.


Update Caffeinate-opencoarrays from master--up to allocatable component work supersedes #264

OK, supersedes and closes #262
As an aside, I finally figured out the correct way to update one protected branch from another...

Current coverage is 33.33% (diff: 100%)

Merging #272 into caffeinate-opencoarrays will increase coverage by 1.00%

@@           caffeinate-opencoarrays       #272   diff @@
=========================================================
  Files                            2          2
  Lines                          900        900
  Methods                         42         42
  Messages                         0          0
  Branches                       191        191
=========================================================
+ Hits                           291        300     +9
+ Misses                         555        547     -8
+ Partials                        54         53     -1

Powered by Codecov. Last update 01ffc33...5628dff

@rouson not urgent, but I probably won't merge this until you take a look. Essentially the point is to get some changes (before that allocatable components work started) into caffeinate-opencoarrays from master. This will make our lives easier when we then have to merge in the allocatable components work and the changes we're making to the caf and cafrun scripts.

LGTM


Upload without fileId

It happened that the fileId is empty for uploads:

I tried uploading different images with different sizes and a slow internet connection.
A pressButton command returned the fileId:

did this happen via an "UploadButton"? We put in some extra logic, if the upload occurs by UploadButton,
The button in the Up-and Downloadscreen of the demo is not an UploadButton

Yes, it's an UploadButton

Please test with newest commit

So the issue was:
When using an UploadButton, I always opened the File Picker programmatically, then when the user selects a file before the upload response (with the fileId) returns, reactUI uploaded a file without fileId.
How I was trying to solve it:
Instead of opening the dialog onClick, open it when the upload response is here --> this won't work because the dialog only opens when a real interaction happens (click).
So now there are 2 ugly solutions:

(my solution): open the dialog and save the upload action. If the upload response is late check, if there is a saved upload when the response comes, immediately send the file.

(Martin's solution): When the upload response is late, open a dialog with another button, when that is clicked open the file picker and the upload can happen then

solution 2 is now implemented


Shaka 4.0.0 incorrectly generates SegmentReferences in Segment indexes

Have you read the FAQ and checked for duplicate open issues?
What link can we use to reproduce this?
manifest copy.txt
What version of Shaka Player are you using?
v4.0.0-uncompiled
What browser and OS are you using?
Chrome/101.0.4951.64 , All versions.
What did you do?
Start the playback based on the manifest file provided.
FF to the end of the content (more than 80% of the content)
Infinite buffering screen will come.(the same can be reproduced by updating the media element current time near to the end time of the total duration)
Based on our analysis  Shaka 4.0.0 incorrectly generates SegmentReferences in Segment indexes. For the manifest file can be found here -
manifest copy.txt
The last SegmentIndex contains only one SegmentReference:

So even the appendWindow is 2436-2778, there is only one reference which covers: 2436-2440.575999….
That is why it cannot find segment:
(video:3) timeNeeded=2440.5759999999996
streaming_engine.js:987 (video:3) update_: presentationTime=2437.503999 bufferedAhead=3.0720000000001164
When SegmentIndexes for SegmentTemplate are generated the timeline is no updated. Hence, the  timeline getSegmentAvailabilityEnd contains from previous Period. That is why in last SegmentIndex we have only one SegmentReference.
What did you expect to happen?
The playback should work properly while Fast forwarding also.

Hi Team
Any update on this issue?

We've just had a long holiday here, and this issue hasn't been investigated yet.  It's on our list, though.

Hi @joeyparrish
I have included the manifest file instead. Is that fine for you to replicate? The playback url will expire in short time. Thats why I have uploaded the manifest.

Hi @joeyparrish
Please find the playback url - https://qzg292fzej.execute-api.us-east-1.amazonaws.com/manifest/vod/vishnu_test.mpd
shaka demo app url - https://shaka-player-demo.appspot.com/demo/#audiolang=en-GB;textlang=en-GB;uilang=en-GB;asset=https://qzg292fzej.execute-api.us-east-1.amazonaws.com/manifest/vod/vishnu_test.mpd;panel=CUSTOM CONTENT;build=uncompiled

HI @joeyparrish
Any update on this issue?

We have not replicated the issue yet.  Is the issue still present in the latest release, v4.1.1?

This issue is not there with v2.5.20. Regarding the version v4.1.1 I will check and update.

I can't reproduce in v4.1.1.  I wasn't entirely sure what you meant by "FF".  Did you mean seek or the trick-play/fast-forward controls?
I tried seeking directly to a position close to the end, and saw no buffering problems.  I also tried enabling trick play controls and fast-forwarding at 8x from the beginning to the end, and saw no problems there, either.

I am able to reproduce the issue with v4.1.1 also. I will share the playback url through email. I will attach the video for the evidence so that you can reproduce the issue easily.
Can you please share the email for sending the playback url?

<EMAIL_ADDRESS>Thanks!

Hi @joeyparrish
The issue can be reproducible with shaka 4.1.1. I have shared the playback url and evidence to the above mentioned mail. Please check the mail.

HI @joeyparrish
Any update on this issue?
The issue will occur when the manifest having both segmentTemplate and segmentlist in the periods.

Please create a PR, and please compare with the contents of https://github.com/shaka-project/shaka-player/pull/4348, which makes some changes to PresentationTimeline in notifySegments.  I don't know if this relates to your problem, solves your problem, or conflicts with your fix, so please double-check.  Thanks!

Hi @joeyparrish
This is the problem on the "segment_template.js" file. if the segment info having the segment duration in "createStreamInfo" method instead of creating reference and notifying the segment end availability its returning the callback method "generateSegmentIndex".

I will create the PR and will past the link here.

Thanks!

Can you test with v4.3.3? Thanks!


The x:Bind with Converter raise exceptions

Describe the bug
Hi, the following simple code causes different exceptions. In this case, it was a System.Runtime.InteropServices.COMException: 'Unspecified error' but in our project, I've caught the NullRef this.localResources.ContainsKey(key) - the localResources is null.
Steps to reproduce the bug
UserControl3.xaml
<UserControl
    x:Class="TestApp.UserControl3"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:TestApp"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">
    <Grid>
        <Grid.Resources>
            <local:MyConverter x:Key="MyConverter"/>
        </Grid.Resources>
        <StackPanel>
            <TextBlock Text="{x:Bind MyProperty, Converter={StaticResource MyConverter}}"/>
        </StackPanel>
    </Grid>
</UserControl>

UserControl3.cs
public sealed partial class UserControl3 : UserControl {
        public UserControl3() {
            this.InitializeComponent();
        }
        public string MyProperty { get; } = "Test";
    }

MainWindow.xaml
<Window
    x:Class="TestApp.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:TestApp"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">
    <Grid RowDefinitions="Auto, *" x:Name="root">
        <StackPanel Spacing="12"
                    Grid.Row="1">
            <local:UserControl3/>
        </StackPanel>
    </Grid>
</Window>

MainWindow.cs
    public class MyConverter : IValueConverter {
        public object Convert(object value, Type targetType, object parameter, string language) => value;
        public object ConvertBack(object value, Type targetType, object parameter, string language) => value;
    }
    public sealed partial class MainWindow : Window {
        public MainWindow() {
            this.InitializeComponent();
        }
}

Expected behavior

Screenshots

Version Info

NuGet package version:
[WinUI 3 - Project Reunion 0.5: 0.5.6] If you're seeing your issue in older previews, please try this release.

Windows app type:

UWP
Win32

Yes

Windows 10 version
Saw the problem?

Insider Build (xxxxx)

October 2020 Update (19042)
Yes

May 2020 Update (19041)

November 2019 Update (18363)

May 2019 Update (18362)

October 2018 Update (17763)

April 2018 Update (17134)

Fall Creators Update (16299)

Creators Update (15063)

Device form factor
Saw the problem?

Desktop
Yes

Xbox

Surface Hub

IoT

Additional context

@alexdi220 Can you try adding a second element to the resource dictionary?  Single element resource dictionaries have some optimizations in them, there might be a bug in that optimization code.

@StephenLPeters As a temporary solution, I've stopped using converters and convert properties in a code

Did my suggestion work?

I didn't check it. The code which raises an exception has been removed.

@bartekk8 I think this is the resource dictionary with a single element optimization.

Sounds like this person's issue has been resolved one way or the other. Not sure if there was an issue with the single element collections, but this issue is a bit stale at this point so let's wait until we see a fresh issue. @bartekk8 FYI in case there's already an issue that tracked that and it's resolved (if so add link).


Is it possible to query only objects that the current user has write permission?

Imagine the usual user-organization role system, where each user can be part of more than one organizarion (role).
Add a Resource class, that belongs to one organization (it's ACL only allows writing from that role).
How can I query all Resources that the current user has write permission?

It is not possible to query by ACL, so this is not possible without adding some extra field to query on.


GHA test

Description of the Change

Benefits

Possible Drawbacks

Usage Examples or Tests [optional]

Alternate Designs [optional]

/build clang


MemoryError

Aparently there is no memory limit built in and it will eat as much as it can get from windows.
"Preparing Files" completes fine but when searching the differences it eats a lot of memory.
My Windows is set up to automatically manage the pagefile and will happily enlarge it until the drive it's located on is full.
When that happens following error appears:
Traceback (most recent call last):
  File "G:\_DOWNLOADS\Duplicate-Image-Finder-4.0.1\difPy\dif.py", line 642, in <module>
    se = search(dif, similarity=args.similarity)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "G:\_DOWNLOADS\Duplicate-Image-Finder-4.0.1\difPy\dif.py", line 242, in __init__
    self.result = self._main()
                  ^^^^^^^^^^^^
  File "G:\_DOWNLOADS\Duplicate-Image-Finder-4.0.1\difPy\dif.py", line 284, in _main
    items.append((id_a, id_b, self.__difpy_obj._tensor_dictionary[id_a], self.__difpy_obj._tensor_dictionary[id_b]))
MemoryError

The program will continue to run but stop without any further error after some minutes. There is no log file produced.
How to reproduce:
Run difPy in command line (similarity s=90) on a directory with ~60.000 images with 16GB ram and limited hard drive space for the pagefile.
Let windows manage the pagefile size.
Wait for "preparing files" to complete (will take an hour or so).
I don't know what would happen if the pagefile has a fixed size. I assume the same error will appear.
System:
Windows 10
16GB Ram
difPy 4.0.1

same here on Ubuntu, even with 64GB of ram

@KalyaSc I was not able to got it running with large image collection so I just switched to other tools for now. Hopefully, the solution will be found sooner

Hi all,
difPy v4.1.0 now comes with improved handling of larger datasets, see the guide.
Additionally, the new version lets you adjust the number of processes when Multiprocessing, so in order to reduce memory overhead, you can now manually lower this value. Previously, difPy was set to always use os.cpu_count(). For more details, I can recommend checking the updated documentation of this feature. Nonetheless, keep in mind that lowering the number of simultaneous processes will also lead to a loss in performance, hence computation times will be longer.
Let me know if this helps or if you're still encountering issues.
Best,
Elise


scone becomes unresponsive with some new-complete-split commands from the manual, not with others

Hi! First of all, thanks for making scone available as open source, and for all the interesting articles, blog posts, etc, related to scone and KRR in general.
I think I may have run into a bug. I was typing command examples from the manual, when at some point scone became unresponsive and I had to do ctrl-c. I did it twice to confirm.  The culprit is (new-complete-split {vertebrate} '({fish} {amphibian} {reptile} {bird} {mammal}) , but other new-complete-split examples work just fine. There's also some extra anomalous behavior: (type-node? {vetebrate}) gives NIL, but after doing (show-ontology) , it gives T
Below there's a summary of my interaction with scone , without the verbose output.
Thanks in advance!
$ cat ./Release-Notes.txt | grep version
This (1.0.0) is the first version released to external users via
GitHub.  Older versions are still available, but will be migrated to
version -- a cut-and-paste error, now fixed.

* $ sbcl --version
SBCL 2.0.1.debian

$ sbcl

* (load-kb "core")

*  (new-indv {Clyde} {elephant})
{Clyde}
* (new-is-a {Clyde} {elephant})
{Is-A 0-2600}
* (new-indv {Ernie} {elephant})
{Ernie}
* (new-relation {hates} :a-inst-of {animal} :b-inst-of {animal})
{hates}
* (new-statement {Clyde} {hates} {Ernie})
{hates 0-2606}
* (new-split '({bird} {reptile} {mammal}))
{Split 0-2607}
* (new-complete-split {person} '({male} {female}))
{C-Split 0-2608}
* (new-complete-split {person} '({child} {adolescent} {adult}))
{adolescent} is unknown.  Defining it as a type under {undefined thing}.
{C-Split 0-2609}
* (new-complete-split {vertebrate} '({fish} {amphibian} {reptile} {bird} {mammal})
^C
debugger invoked on a SB-SYS:INTERACTIVE-INTERRUPT in thread
#<THREAD "main thread" RUNNING {1000560083}>:
  Interactive interrupt at #x7F90586F6AFF.

Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
  0: [CONTINUE] Return from SB-UNIX:SIGINT.
  1: [ABORT   ] Exit debugger, returning to top level.

("bogus stack frame")
0] 1
* (type-node? {vetebrate})
NIL
* (type-node? {fish})
T
* (node? {vertebrate})
T
* (show-ontology)

[...]

* (type-node? {vertebrate})
T
* (node? {vertebrate})
T
* (new-split '({bird} {reptile} {mammal}))
{Split 0-2611}
* (new-complete-split {person} '({child} {adolescent} {adult}))
{C-Split 0-2612}
* (new-complete-split {vertebrate} '({fish} {amphibian} {reptile} {bird} {mammal})
^C
debugger invoked on a SB-SYS:INTERACTIVE-INTERRUPT in thread
#<THREAD "main thread" RUNNING {1000560083}>:
  Interactive interrupt at #x7F90586F6AFF.

Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
  0: [CONTINUE] Return from SB-UNIX:SIGINT.
  1: [ABORT   ] Exit debugger, returning to top level.

("bogus stack frame")
0] 1
*

Thanks for the bug report.  I'll look at it in the next day or two, as time allows.  I've got a bunch of small bug fixes and code edits queued up, and need to test them and push to GitHub sometimes soon.  A bunch of larger changes are planned, to make the code match the book I'm writing on Scone and "Knowledge-Based AI".  But those changes may not be done right away, as writing the book is currently a higher priority for me.

Awesome, thanks! It's good to hear the project is very much active.


Popup tooltip text truncation

All tooltips are being truncated here. After speaking to @sangwoohaan  it looks like the text needs to wrap to the next line rather than getting truncated.

@zhixzhan  can u take a look at this?

@srinaath Sure, I'm fixing this with some other issue, will update it today.


tests: increase Jasmine's timeoutInterval to 10s

This might fix the timeout failures we've been getting on Mobile Safari.

All right, this does not fix it, closing it. If anyone has any suggestions please let me know.


Add JSoC and OWASP Code Sprint

fixed issue #54
If you are adding a SoC/WoC, please make sure

[ ] You have added the SoC/WoC in README.md file in correct table
[ ] You have added the SoC/WoC in index.html in correct table
[ ] ensure Website is tested on a deployment and looks okay

If you are fixing an issue please add

[ ] fixes issue #issue_number to PR description

@tapaswenipathak if merged, try help in closing the issue.

No I don't think so, is there. Under the Outreacy internship comes RGSOC

Corrected it


Kafka plugin configuration

How can i config the key “profiler.kafka.consumer.entryPoint" in the pinpoint.config file?  if I use the kafka of version-0.9 , can I still use the Kafka Plugin?

How can i config the key "profiler.kafka.consumer.entryPoint"

hi @3W1H
Pinpoint supports Kafka plugin from 0.11 .
In addition, you can set it to profiler.kafka.consumer.entryPoint=packageName.clazzName.methodName like ex).
thanks.

if I hava many classes or many methods to handle the kafka messages,  How can i config all these classes or methods?

Currently, only one method can be set.
I will consider supporting multiple methods in the future.


Deleting contacts on local & have remote reflect that

Not sure if this is related to #127, however what I am trying to do is delete duplicates locally and have those deletions reflect back on my carddav addressbook.

After deleting contacts and running sync, what I assumed would happen is the deleted contacts locally would make the remote contacts also delete. Instead what happended is that they synced down again.
I read the docs and I think I need to uncomment #collections = ["from b"] to make it a little more balanced. But then vdirsyncer quits with:
requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: ... ... I'm not sure if that's a permission error or... any ideas?

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/27343538-deleting-contacts-on-local-have-remote-reflect-that?utm_campaign=plugin&utm_content=tracker%2F574345&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F574345&utm_medium=issues&utm_source=github).

Yes, you definetly  need to use the collections parameter. Please post a full traceback.

Ummm, how do I specify the collections parameter to reflect local changes onto remote?
I don't get a traceback unless I comment out the collections parameter.

The collections parameter is not what you think it is. A collection may be an addressbook or calendar or tasklist. The collections parameter defines which collections get synchronized in the first place. Contact deletions/updates/creations are always considered from both sides, unless you are dealing with storages that can't be written to (http storage type).
Without the collections parameter, the URL you provide to the carddav storage is assumed to be a direct one to your addressbook (which means in most cases that it has the addressbook name in the URL). This is just not the case with your config.
The error you experience might come from your URL being "too specific". Try the ones from the documentation: https://vdirsyncer.readthedocs.org/en/stable/supported.html#fastmail If that one doesn't work, please post the output of vdirsyncer -vdebug discover. The output shouldn't contain secret information (it contains addressbook names and username, but no passwords or actual contacts), but please check anyway.

@kaihendry any update on this?

With vdirsyncer -vdebug discover I did notice a difference in the URLs:
<EMAIL_ADDRESS><EMAIL_ADDRESS>
But tbh, I went back and forth and it didn't seem to change anything. In fact, bizarrely everything seems to work as expected now.
Sidenote: Do you know of any scripts to detect duplicate vcfs and then merge them?

Hello Kai,
Unfortunately such a script doesn't exist, at least not that I'd know.
On 28 October 2015 06:56:52 CET, Kai Hendry<EMAIL_ADDRESS>wrote:

With vdirsyncer -vdebug discover I did notice a difference in the
URLs:
<EMAIL_ADDRESS><EMAIL_ADDRESS>But tbh, I went back and forth and it didn't seem to change anything.
In fact, bizarrely everything seems to work as expected now.
Sidenote: Do you know of any scripts to detect duplicate vcfs and then
merge them?

Reply to this email directly or view it on GitHub:
https://github.com/untitaker/vdirsyncer/issues/280#issuecomment-151733792

--
Sent from my phone. Please excuse my brevity.


Advanced table alias handling for Query

This is the basis to implement a solution for #2377 on top of it, which is #10817.
Allows to disambiguate colums without knowing the alias that has been
defined for a table elsewhere (e.g. in a relation definition).

fixes #8743 and fixes #7263 by introducing alias syntax on querybuilder level {{@table}} to resolve table aliases.
similar to table prefix and table name escape syntax.

fixes #9326 by adding getAlias() and applyAlias() to Query

fixes #4972 by adding and alias() to ActiveQuery

TODO:

[x] add CHANGELOG lines.

@klimov-paul thanks for your comments! Is this ready for merge now?
@yiisoft/core-developers anything to adjust here?

I am against such slution: it overcomplicates the Query interface without significant benefit.
In my opinion method getAlias() has no purpose. If I join particular table once I usually have no need in alias. Even if I specify alias for the table, why do I need this method to rememeber it? Does developer forgets the alias he gave to the table right away?
If I join same table several times, which is a main case for the table alias usage, all these additions can not help me anyhow!

The use cases are queries that are composed in different places over the application, e.g. starting in the relation definition of AR or the default scope, which are later modified in other places of the application.

How does this help with the original issue? If I join same relation twice all my preparations for the aliases ({{@tableName}}) will not help me - they will just produce an SQL error.
Thus I am still unable to join same relation several time - the issue is not resolved.

moved to next milestone for further discussion. some parts of this will go into 2.0.7 via #10828.

Any chance this will get into 2.0.8? It would be really great to have this excellent feature.

@klimov-paul The issue of joining a same relation several times is made possible with a simple syntax by #11646. Does it answer your concern?

In order to fix the issue we should return the solution similar to the one we used at Yii 1.
back then we used special classes for the join tree building:
https://github.com/yiisoft/yii/blob/master/framework/db/ar/CActiveFinder.php#L315
https://github.com/yiisoft/yii/blob/master/framework/db/ar/CActiveFinder.php#L1228
And we have more or less fine aliases processing there.

However as far as I remember in Yii1, it was static aliasing.
But the idea to have a property dedicating for the alias was a good point.


Custom color

Would love to customize the colors of the matching brackets, so they can match my theme :)

Colors are defined in bracket-pair-colorizer-2.colors
On Thu, 4 Oct 2018, 8:37 AM Bijoya Brakenhoff<EMAIL_ADDRESS>wrote:

Would love to customize the colors of the matching brackets, so they can
match my theme :)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/CoenraadS/Bracket-Pair-Colorizer-2/issues/17, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AFVa4cjsg9weufYdr8Lc3SGb9H5aLLsxks5uhayXgaJpZM4XHdO-
.

Thank you! I did not see this in the readme (:

When I set this in settings.json nothing changes?
eg
    "bracket-pair-colorizer-2.colors": [
        "#00BCD4",
        "#EC407A"
    ],

I also don't see a change when modifying these parameters!

@jordanmmck @bbrakenhoff  it is Bracket Pair Colorizer 2


Support new versioning conventions

Related to spacetelescope/asdf-standard#91

Coverage decreased (-0.3%) to 92.85% when pulling e30771942e96db2fd0b0df2ae011a13be1b69698 on mdboom:versioning into 9d59eee2de3606bae18142ed539033183ca75457 on spacetelescope:master.


Unknown typename 'loff_t'

I get this error (when including <pfs/procfs.hpp>):
error: unknown type name 'loff_t';
did you mean 'off_t'?
std::vector<uint8_t> read(loff_t offset, size_t len);
in mem.hpp.
I think we should fix it as done here:
https://github.com/nwchemgit/nwchem/commit/492f2661105ef5914fe9c3df4b6c74232bac0dd2
What do you think?

I replaced off_t with loff_t because otherwise, on 32-bit systems, one cannot access the entire address space - link to commit.
According to this GNU manual it says:
"This macro should only be selected if the system provides mechanisms for handling large files"
...
"This macro was introduced as part of the Large File Support extension (LFS)"
A quick search shows that there are still some issues with that:
Issue #1 - Now preadv can accept a 64-bit off_t, but the return value is ssize_t, which is still a 32-bit variable.
Seems to me like an include issue. I looked at the code and I think we should move
#include <fcntl.h>
#include <sys/types.h>

From mem.cpp to mem.hpp. Can you check if that solves the issue?

It solves the issue.


Allow passing keys via environment variables (env:// refs)

Depends on sigstore#407.
Summary
Allow passing keys via environment variables (env:// refs)
Ticket Link
Fixes #1776
Release Note
Added support for providing keys via environment variables: use `--key env://MY_VAR`.

Lgtm when the other one lands

Codecov Report

Merging #1794 (1949d8e) into main (8cac645) will increase coverage by 0.36%.
The diff coverage is 57.89%.

@@            Coverage Diff             @@
##             main    #1794      +/-   ##
==========================================
+ Coverage   32.16%   32.53%   +0.36%
==========================================
  Files         146      147       +1
  Lines        9208     9297      +89
==========================================
+ Hits         2962     3025      +63
- Misses       5898     5917      +19
- Partials      348      355       +7

Impacted Files
Coverage Δ

cmd/cosign/cli/sign.go
0.00% <0.00%> (ø)

cmd/cosign/cli/verify.go
0.00% <0.00%> (ø)

pkg/signature/keys.go
20.98% <33.33%> (+1.49%)
:arrow_up:

pkg/blob/load.go
74.28% <76.92%> (ø)

pkg/cosign/tuf/client.go
61.68% <0.00%> (-0.82%)
:arrow_down:

pkg/cosign/kubernetes/webhook/validator.go
75.22% <0.00%> (+0.78%)
:arrow_up:

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 8cac645...1949d8e. Read the comment docs.

The windows failure looked like a flake cleaning up tempdirs that we've seen before. Rerunning. We might need a skip.

Windows test failures seem to be caused by: https://github.com/golang/go/issues/51442
I think I'll pull these into a separate test and skip it on Windows for now.

The windows failure looked like a flake cleaning up tempdirs that we've seen before. Rerunning. We might need a skip.

Jinx


Unable to creat new file

The problem occurs in two themes:
1.
For example, I creat a new file, name it ,and I choose Internal Storage to save, but it failed.

2.
If I want to save this new file to a external storage, and I've already granted  saving permission , but still failed.

However, reading files from external storage or changing those files are both successful.
Thanks a lot !
(OS:  Harmony 3.0.0)

Which version of app you are using?

I'm using v1.8.0. I got it from F-Droid.
---Original---
From: "Ajit @.>
Date: Fri, Jun 9, 2023 05:53 AM
To: @.>;
Cc<EMAIL_ADDRESS>Subject: Re: [deadlyjack/Acode] Unable to creat new file (Issue #715)
Which version of app you are using?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

Try to remove the directory from acode and add again.


Calcite blue button light blue border

Discussing with @bstifle, he mentioned the blue border should change the same color as the background when it is active/hovered.

Is that... an issue?

well, yes imo. :)
it starts with no visual border
and the hover state then shows a border.
inconsistent with other hover states throughout CW

@bstifle so desired behavior is for the border to change color as well?

that makes more sense

word up, 🏠 🍳


Benchmark report consistency fix

Score "calculation" count summary is used in the navigation button and in documentation.

There are other occurrences of the "calculate count" phrase but I only chose to fix this one because documentation uses "calculation count" when describing this part of the benchmark report (see 14.4.6. Average Calculation Count Summary (Graph and Table)).


does this support prefixItems and<EMAIL_ADDRESS>?

I have an api I need to use that sends back tuples such as
available_times: [
  ['2023-06-06', true]
]

https://stackoverflow.com/a/57465199

At this moment we do not have yet the support for prefixItems, I will add this as an improvement :)


Unable to connect to internet after installing landrush

Hi,
I am not able to connect to internet after installing and enabling landrush in the vagrant file.
# -*- mode: ruby -*-
# vi: set ft=ruby :

# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"

Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|

  config.vm.box = "precise64"

  config.vm.box_url = "http://files.vagrantup.com/precise64.box"

  config.landrush.enabled = true
  config.vm.hostname = "vagrantUpAndRunning.vagrant.dev"

  config.vm.provider "virtualbox" do |vb|
    vb.customize ["modifyvm", :id, "--memory", "1024"]
    vb.customize ["modifyvm", :id, "--cpus", "2"]
  end

end

After enabling landrush, host command is working but it is taking lot of time to resolve the IP and sometimes it timesout too. I am not able to download anything from the internet if I enable landrush. If i disable, then I will be able to download from the internet but the host command stops working.
Please advice and what needs to be done?

Hi, this bug applicable for me too. VM's internet start working very slow when enabling landrush.

From which machine can you not reach the internet? From the host or from the VM or from both? I would assume from the VM, since only there all DNS is re-directed to Landrush. When the problem occurred, did you verify that Landrush was running vagrant landrush status? If not, make sure the Landrush server is actually running vagrant landrush start.
Are you behind a firewall or other sort of network configuration (VPN) which would prevent you from using Google's DNS servers (<IP_ADDRESS>) as upstream servers for DNS queries? If you have a look at ~/.vagrant.d/data/landrush/config.json and change the IPs to DNS server IPs which are valid in your network setup.


Feature: CCPP compliance

This PR contains changes for these shared physics parameterizations to work within UFS physics suites.

File extension change from .F -> .F90
Add logic to gravity wave drag parameterization to accept both rotated and non-rotated input winds.
Output surface fluxes from YSU BL scheme (already computed, just change of variable intent)
Metadata changes to YSU, now ccpp compliant and can be used directly as ccpp entrypoint (e.g in physics SDF).
Remove reference to MPAS module in surface-layer scheme.

bl_gwdo.F: Can you please clarify the addition of the logical l_norot in the subroutine bl_gwdo_run. I do not think that it helps the definitions of 1 and v1. Thanks.
The rotation of the u and v winds depends on the value assigned to cosa and sina which are needed in the argument list and initialized in the host model, independently of l_norot. So the initialization of l_norot would actually depends on the values of cosa and sina themselves. Using l_norot seems to add complexity to the definition of u1 and v1.
line 233: it should be v1(i,k) = vproj(i,k)

bl_gwdo.F: Can you please clarify the addition of the logical l_norot in the subroutine bl_gwdo_run. I do not think that it helps the definitions of 1 and v1. Thanks.
The rotation of the u and v winds depends on the value assigned to cosa and sina which are needed in the argument list and initialized in the host model, independently of l_norot. So the initialization of l_norot would actually depends on the values of cosa and sina themselves. Using l_norot seems to add complexity to the definition of u1 and v1.
line 233: it should be v1(i,k) = vproj(i,k)

I added l_norot so we could use this scheme in the case where the grids have already been rotated (e.g. UFS). It is harmless and doesn't change any current functionality of the scheme if l_norot is not provided.
Yes, line 233 is a bug. I will fix

I was not aware UFS is already rotated because the GWD input data assumes
lat/long winds.
On Tue, Sep 12, 2023 at 11:01 AM Dustin Swales @.***>
wrote:

bl_gwdo.F: Can you please clarify the addition of the logical l_norot in
the subroutine bl_gwdo_run. I do not think that it helps the definitions of
1 and v1. Thanks.
The rotation of the u and v winds depends on the value assigned to cosa
and sina which are needed in the argument list and initialized in the host
model, independently of l_norot. So the initialization of l_norot would
actually depends on the values of cosa and sina themselves. Using l_norot
seems to add complexity to the definition of u1 and v1.
line 233: it should be v1(i,k) = vproj(i,k)
I added l_norot so we could use this scheme in the case where the grids
have already been rotated (e.g. UFS). It is harmless and doesn't change any
current functionality of the scheme if l_norot is not provided.
Yes, line 233 is a bug. I will fix
—
Reply to this email directly, view it on GitHub
https://github.com/ldfowler58/SCM-physics/pull/1#issuecomment-1716109569,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEIZ77DFOS4VWKIIKWRVYODX2CIPBANCNFSM6AAAAAAYLGB7P4
.
You are receiving this because you commented.Message ID:
@.***>

Yes, since no change was made to the gwdo meta file, I think we can just
ignore the changes for this scheme,
On Wed, Dec 6, 2023 at 1:27 PM Weiwei @.***> wrote:

Although Dustin made some changes in bl_gwdo* files, my understanding was
that we had only completed implementing bl_ysu* and sfclayrev* but not
bl_gwdo*. In fact, GWD is not part of our proposal. But if @ldfowler58
https://github.com/ldfowler58 finds the mods helpful, you are welcome
to adopt them. I just would like to confirm with @dustinswales
https://github.com/dustinswales: Are the modified bl_gwdo* files ready
for Laura and her team to implement in their next public release? Thank you
very much for your time, Dustin.
—
Reply to this email directly, view it on GitHub
https://github.com/ldfowler58/SCM-physics/pull/1#issuecomment-1843637185,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEIZ77FTRJNVQBG2YFQMPADYIDIJLAVCNFSM6AAAAAAYLGB7P6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBTGYZTOMJYGU
.
You are receiving this because you were mentioned.Message ID:
@.***>

Some history...
Originally, I modified all three schemes to be run from drivers that lived in the ccpp repository. This was not desired.
Then I went back and made the YSU scheme a direct ccpp entrypoint, hence the heavy modifications to bl_ysu.meta. Now there is no driver in the ccpp repository for MMM YSU PBL, instead there are _pre() and _post() and bl_ysu is built into a custom SDF with these _pre and _post routines.
Anyways, the GWD and surface layer schemes work in the SCM, but as (the less desirable) drivers. The pieces that are in the drivers need to be migrated into the scheme, analogous to what I did for YSU.

Yes, since no change was made to the gwdo meta file, I think we can just ignore the changes for this scheme,
…
On Wed, Dec 6, 2023 at 1:27 PM Weiwei @.> wrote: Although Dustin made some changes in bl_gwdo files, my understanding was that we had only completed implementing bl_ysu and sfclayrev but not bl_gwdo*. In fact, GWD is not part of our proposal. But if @ldfowler58 https://github.com/ldfowler58 finds the mods helpful, you are welcome to adopt them. I just would like to confirm with @dustinswales https://github.com/dustinswales: Are the modified bl_gwdo* files ready for Laura and her team to implement in their next public release? Thank you very much for your time, Dustin. — Reply to this email directly, view it on GitHub <#1 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEIZ77FTRJNVQBG2YFQMPADYIDIJLAVCNFSM6AAAAAAYLGB7P6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBTGYZTOMJYGU . You are receiving this because you were mentioned.Message ID: @.***>

@dudhia @ldfowler58
I will revert the changes to the GWD and surface layer schemes for this PR, including just the YSU PBL.
@bluefinweiwei If you want we can chat about what is needed for the others to be ccpp compliant

Please see #4 for only YSU changes.
@ldfowler58 @dudhia Feel free to close this PR if you only want the YSU stuff.

In bl_ysu.F90, you added the variables dusfc, dvsfc, dtsfc, and dqsfc in the argument list of subroutine bl_ysu.F whereas they are defined locally in the original sourcecode. Are they needed in other parameterizations or do you just need them as diagnostics? Thanks,
Laura


Update windows-installer-and-logo-requirements.md

references to very old versions of Windows here and throughout should perhaps be updated?

@marypcbuk : Thanks for your contribution! The author(s) have been notified to review your proposed change.

looking further, perhaps the page should simply be marked as outdated and preserved simply for historical information? https://techcommunity.microsoft.com/t5/windows-hardware-certification/win32-logo-certification-deprecation/ba-p/364920


promote apps to different projects

What's the recommended approach to promoting a images / apps across environments (openshift projects) using s2i and the openshift jenkins plugin?
I've seen this blog https://blog.openshift.com/promoting-applications-across-environments/ which uses a number of oc commands that I dont think are supported by the jenkins plugin so I was wondering how the promotion should work.

This is certainly still an involving space in relation to our overall Jenkins strategy.  Among other thing, @mfojtik has an image promotion proposal that will most likely drive further enhancement into the plugin.
Certainly in the short term, in relation to the blog post you noted, the tag an image build step is the key piece in the existing plugin inventory that allows for some flavor of promotion semantics.  Template processing build steps minimally (a new-app build step would be nice but isn't required) would help complete the picture I agree.
@bparees @mfojtik @sspeiche - fyi and if you can, please add to / elaborate on my response here.

fyi opened this card to track the minimal pieced needed in the plugin to facilitate image promotion per @mfojtik 's proposal.

oc tag (which the jenkins plugins already supports) should be all that's needed to promote images between projects within a single cluster.
The existing jenkins tutorial/sample implements an image promotion flow using that functionality.
https://github.com/openshift/origin/tree/master/examples/jenkins

Yep I noted the tag an image build step (oc tag equivalent as well).  The oc import-image notion came from @mfojtik image promotion proposal.
But certainly an image promotion flow is available.  It becomes a question of how we augment that flow or add additional ones moving forward, no?

Ah ok great - I'd missed that you can use tag to promote between projects, I thought it was only for the current project with that blog suggesting to create a new-app using the image stream name in the target environment (project).
Great so tag is what I'm after so will use the following assuming I prefix the target project/environment in the prodTag var?
"Tag an image in OpenShift": com.openshift.jenkins.plugins.pipeline.OpenShiftImageTagger(String apiURL, String testTag, String prodTag, String namespace, String authToken, String verbose)

if it doesn't work that way today, it should be updated to take source and destination projecs as additional arguments.

@gabemontero @mfojtik I don't think "oc import-image mystream --from=mydockerrepository" is a likely way to do promotion.  you should already have an imagestream pointing to "mydockerrepository"

It only takes 1 project today ... I added another card:  https://trello.com/c/mImyw4Jx/783-1-allow-oc-tag-equivalent-in-openshift-jenkins-plugin-to-take-source-and-destination-projects-namespaces

Great thanks all

With commit https://github.com/openshift/jenkins-plugin/commit/80b79c6fd8c54b189740611a17830cfdcb315352 , the "Tag OpenShift Image" step can now perform the oc tag equivalent where the src ImageStream and dest ImageStream are in different projects.
I've noted in the README some of the oc policy magic @mfojtik pointed me to that is needed to get a given default service account's token permission to access both projects in the necessary fashion to perform this step.
Aside from extracting from the repo and building the plugin, if desired, I can also create a new version of the plugin on OpenShift's Jenkins server (https://ci.openshift.redhat.com/jenkins/)
Otherwise, I suspect a new version of the Jenkins images with an official plugin version on the jenkins update center will be post 3.2 (though we can of course discuss as needed).

Closing this out.


"Blocked a frame with origin" with firebase auth by Google. Raises only in Safari on iPhone

Bug reports:
For some reason on iPhone (Safari) I'm getting such error for my Firebase auth:
Blocked a frame with origin "https://my-website.com/" from accessing a frame with origin "https://my-website-8c9f0.firebaseapp.com/". Protocols, domains, and ports must match.
(and also the same error for stripe library on my website)
I've made some research and noticed that this happens only if I have the html2canvas called on the same user flow where I have firebase auth.
I've already tried such solutions:
provider.setCustomParameters({
  'prompt': "select_account"
});

data-html2canvas-ignore="true"

I have no idea anymore what can I try to fix that. It happens only on iPhones (not sure about iPads) and only in Safari (in Chrome everything is fine). Appreciate any help.
Specifications:

html2canvas version tested with: 1.4.1
Browser & version: Safari
Operating system: IOS 16
JS Framework: React

Issue still not resolved. I've just changed the user flow, no other solution still...


Added allowed clinical significances to coordinate outputting

Coverage remained the same at 78.67% when pulling 44a741f45c8b8b3832b7a1b1203830a587f03bc9 on tomdcsmith:add_clin_sig_coord_output into 7e44763a270705e1b0be2f639a432c4c0492d652 on EBIvariation:master.


stt model training question

Hi, for speech to text in chinese ,what are the differences between alphabet.txt and vocabulary.txt? Are they both necessary?

See for example https://blog.yuwu.me/?p=3989 , starting from 11.

the link can't be reached. Would you share again?


fix: svg-sprite component generation not working

fixes #17

@kiliman please have a look

Awesome. Thanks for the bug fix!


Enhancement: Offset cue

Hi, thx for a great piece of software.
One little enhancement wish though. It would be great if you could add an offset backbeat to a drop or phrase group.
Today a cue is set at the start of a phrase group. If one could add option i.e.  "-backbeat=-16" then the cue would be set 16 beats prior to the start of the phrase.
Hope it makes sense.
Tia

I've added this in 1.0.29. The command line option is --offset=N, where N is the number of beats (can be negative).


Consider making zone_id an optional parameter

Hi there,
I noticed that the zone_id parameter is mandatory. Although it is a nice to have friendly DNS names for RDS endpoints, this may cause issues when ssl connections are used. Perhaps, it's worth to consider making the zone_id parameter optional.
// Siert

thanks @sgzijl
addressed in https://github.com/cloudposse/terraform-aws-rds-cluster/pull/30


Slice status vs. state

The function slice_manager.slices() returns a list of slices.
The slices in the returned list have a field called "slice_state" which can be  "StableOK", "Configuring", etc.
However, the function that checks that field is:
slice_manager.slice_status(slice_id=slice_id)
I think we should be consistent and call it "status" or "state" but not use them interchangeable.

slice_status api has been deprecated and removed. list_slices provided all the details for the slice.


Fix the incorrect docs.rs link

Originally pointed to the docs for the google_maps crate.

Issue being fixed or feature implemented

What was done?

I changed a link in the readme file.
How Has This Been Tested?

it hasn't.
Breaking Changes

nothing has been broken.
Checklist:

[ x] I have performed a self-review of my own code
[ -] I have commented my code, particularly in hard-to-understand areas
[ -] I have added or updated relevant unit/integration/functional/e2e tests
[ -] I have made corresponding changes to the documentation

Hi @part1cleth1ef, I apologize for the delayed response. Thank you for your contribution!


Cyril/report page ui cleanup

This PR cleans up the report filter sidebar and makes the report table collapsible.

@cdebourcy PR has been updated

After I click around on the same page for a bit, performance in Safari degrades to where I get the spinning ball for 10 seconds at a time and the browser is completely unresponsive when I try to collapse the "All taxa without genus classification" category.   Please debug the performance issue.


Dev latency

Added latency stats

@ajbalogh @winstonliu1111 @winstonliu1111 should we add first and last timestamps as well to flow stats ? usecase is to calculate / validate total duration of each flow.

@ajbalogh @winstonliu1111 @winstonliu1111 should we add first and last timestamps as well to flow stats ? usecase is to calculate / validate total duration of each flow.

I think we should wait and see how we deal with events and analysis in general as opposed to bake this into a stats path.  That is the next stop we need to model and resolve after we wrap first phase of this srte discussions.


v5.0.0-beta.6 breaks IPv6 connectivity

I just upgraded from 5.0.0-beta4 to 5.0.0-beta8 and noticed that configuring the LocalBootstrap with an IPv6 literal address throws an error. I was able to trace it back to the following line: https://github.com/peter-murray/node-hue-api/commit/7eb54d9850e81ec7c238eeb89450cefd4961fbfe#diff-c4a87cd5eb211b3a0ed9b3d49084ba200c40ef268f5117d0f4d48d1546d821b3R34
The issue can be reproduced with the following simple code:
const v3 = require('node-hue-api').v3;
v3.api.createLocal('fe80::1').connect('test');

It doesn't matter that the IPv6 address is not reachable when testing, as it is the validation that breaks here. The linked line of code puts :443 behind the IPv6 address, adding it as an additional octet which is invalid. url.format does handle this properly, by adding square brackets around the address (like this: [fe80::1]:443 instead of fe80::1:443).
This causes the following error to be thrown:
TypeError [ERR_INVALID_URL]: Invalid URL: https://fe80::1:443
    at onParseError (internal/url.js:259:9)
    at new URL (internal/url.js:335:5)
    at new LocalBootstrap (/data/jk-5/development/artnet-hue-entertainment/node_modules/node-hue-api/dist/cjs/api/http/LocalBootstrap.js:41:24)
    at Object.createLocal (/data/jk-5/development/artnet-hue-entertainment/node_modules/node-hue-api/dist/cjs/api/index.js:24:12)
    at Object.<anonymous> (/data/jk-5/development/artnet-hue-entertainment/reproduce.js:3:8)
    at Module._compile (internal/modules/cjs/loader.js:1068:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1097:10)
    at Module.load (internal/modules/cjs/loader.js:933:32)
    at Function.Module._load (internal/modules/cjs/loader.js:774:14)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12) {
  input: 'https://fe80::1:443',
  code: 'ERR_INVALID_URL'
}

I can see why the url.format() call has been removed, as it was deprecated. But it seems that the deprecation has been revoked as the newer URL utility provides no good alternative for url.format. See https://github.com/nodejs/node/issues/25099 and https://github.com/nodejs/node/commit/c8383dd99f4fb2021823c5bfe9673057d59964d2.
That would mean it's probably safe to restore to the old url.format approach, fixing IPv6 support in the process as it adds square brackets when needed.
Just posting this here to document the issue and start a discussion. If the maintainers agree to restore to url.format i'd be happy to contribute that.

I have just made the changes to v5.0.0-beta.9 which is published to the npm registry to be picked up.
I have added handling for the hostname to support all forms of IPv6 including if you happened to wrap it in []s. Can you try this out @jeffreykog and report back if it is working for you :bow: ?

@peter-murray Awesome! I have tested it with an ipv4 literal address, ipv6 literal address and a hostname, and it all seems to work. Closing this 🎉