Issue while training on Vocaset

Hey @EvelynFan ,
Thanks for this awesome repo.
I'm just trying to play with training on vocaset data. So just followed the steps for data preparation and run training with
the following command,
python main.py --dataset vocaset --vertice_dim 15069 --feature_dim 64 --period 30 --train_subjects "FaceTalk_170728_03272_TA FaceTalk_170904_00128_TA FaceTalk_170725_00137_TA FaceTalk_170915_00223_TA FaceTalk_170811_03274_TA FaceTalk_170913_03279_TA FaceTalk_170904_03276_TA FaceTalk_170912_03278_TA" --val_subjects "FaceTalk_170811_03275_TA FaceTalk_170908_03277_TA" --test_subjects "FaceTalk_170809_00138_TA FaceTalk_170731_00024_TA"
I'm getting the following error,
Some weights of the model checkpoint at facebook/wav2vec2-base-960h were not used when initializing Wav2Vec2Model: ['lm_head.bias', 'lm_head.weight']
- This IS expected if you are initializing Wav2Vec2Model from the checkpoint of a model trained on another task or with another architecture (e.g. initializing a BertForSequenceClassification model from a BertForPreTraining model).
- This IS NOT expected if you are initializing Wav2Vec2Model from the checkpoint of a model that you expect to be exactly identical (initializing a BertForSequenceClassification model from a BertForSequenceClassification model).
Some weights of Wav2Vec2Model were not initialized from the model checkpoint at facebook/wav2vec2-base-960h and are newly initialized: ['wav2vec2.masked_spec_embed']
You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference.
model parameters:  92215197
Loading data...
100%|█████████████████████████████████████████| 475/475 [03:05<00:00,  2.55it/s]
314 40 39
  0%|                                                   | 0/314 [00:00<?, ?it/s]vertice shape: torch.Size([1, 117, 15069])
vertice_input shape: torch.Size([1, 1, 64])
vertice_input shape: torch.Size([1, 1, 64])
tgt_mask: tensor([[[0.]],

        [[0.]],

        [[0.]],

        [[0.]]], device='cuda:0')
memory_mask: tensor([[False,  True,  True,  True,  True,  True,  True,  True,  True,  True,
          True,  True,  True,  True,  True,  True,  True,  True,  True,  True,
          True,  True,  True,  True,  True,  True,  True,  True,  True,  True,
          True,  True,  True,  True,  True,  True,  True,  True,  True,  True,
          True,  True,  True,  True,  True,  True,  True,  True,  True,  True,
          True,  True,  True,  True,  True,  True,  True,  True,  True,  True,
          True,  True,  True,  True,  True,  True,  True,  True,  True,  True,
          True,  True,  True,  True,  True,  True,  True,  True,  True,  True,
          True,  True,  True,  True,  True,  True,  True,  True,  True,  True,
          True,  True,  True,  True,  True,  True,  True,  True,  True,  True,
          True,  True,  True,  True,  True,  True,  True,  True,  True,  True,
          True,  True,  True,  True,  True,  True,  True]], device='cuda:0')
  0%|                                                   | 0/314 [00:00<?, ?it/s]
Traceback (most recent call last):
  File "main.py", line 151, in <module>
    main()
  File "main.py", line 146, in main
    model = trainer(args, dataset["train"], dataset["valid"],model, optimizer, criterion, epoch=args.max_epoch)
  File "main.py", line 34, in trainer
    loss = model(audio, template,  vertice, one_hot, criterion,teacher_forcing=False)
  File "/home/ujjawal/miniconda2/envs/caffe2/lib/python3.7/site-packages/torch/nn/modules/module.py", line 550, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/ujjawal/my_work/object_recon/FaceFormer/faceformer.py", line 135, in forward
    vertice_out = self.transformer_decoder(vertice_input, hidden_states, tgt_mask=tgt_mask, memory_mask=memory_mask)
  File "/home/ujjawal/miniconda2/envs/caffe2/lib/python3.7/site-packages/torch/nn/modules/module.py", line 550, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/ujjawal/miniconda2/envs/caffe2/lib/python3.7/site-packages/torch/nn/modules/transformer.py", line 233, in forward
    memory_key_padding_mask=memory_key_padding_mask)
  File "/home/ujjawal/miniconda2/envs/caffe2/lib/python3.7/site-packages/torch/nn/modules/module.py", line 550, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/ujjawal/miniconda2/envs/caffe2/lib/python3.7/site-packages/torch/nn/modules/transformer.py", line 369, in forward
    key_padding_mask=memory_key_padding_mask)[0]
  File "/home/ujjawal/miniconda2/envs/caffe2/lib/python3.7/site-packages/torch/nn/modules/module.py", line 550, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/ujjawal/miniconda2/envs/caffe2/lib/python3.7/site-packages/torch/nn/modules/activation.py", line 845, in forward
    attn_mask=attn_mask)
  File "/home/ujjawal/miniconda2/envs/caffe2/lib/python3.7/site-packages/torch/nn/functional.py", line 3873, in multi_head_attention_forward
    raise RuntimeError('The size of the 2D attn_mask is not correct.')

If anyone get this type of error while training, Please suggest how to resolve this issue.

Hey @ujjawalcse , take a look my colab: https://colab.research.google.com/drive/1BjSd3RGkm8LSZDnxjOCVEB5f4g4PIURy?usp=sharing
I copied from yours and comment some things.

Thanks @brbernardo90
It need your access. Sent you an access request.
Please check it once.

@ujjawalcse Ops, done! Thank you, your colab helped me a lot to start it.

yaa @brbernardo90 , It's running fine in Google Colab.
But It's not running fine on my local PC.
This is configuration of my pc,
Ubuntu 18.04,
torch 1.5.1+cu101 (Also tried the Torch 1.9 but got the same error)
transformers 4.6.1
GPU : 8GB RTX 2070 Super
RAM : 32 GB,

Got the training working properly now.
Actually, I was using previous FaceFormer repository cloned when it was newly introduced in local PC.
So, I was missing one parameter batch_first=True at line no. 81 in decoder_layer in faceformer.py
Thanks.


[BUG]: Reverting code for Histogram and Treemap

What is the bug?
Reverting the code for histogram and treemap after the merge of antlr code due to app crashes.

Merged to main.


feature request: jump to line number

when in 'show line numbers mode' would be great to be able to jump to a line number similar like vim.

Thanks. Should be fixed in 1.1.1


Unpivot VDS Data

Fixes #121
Still a work in progress, but I wanted to call out how int_vds__five_minute_station_agg.sql is simplified with the unpivoted data.
I've also done some minor reorganization to keep clearinghouse data in clearinghouse subdirectories. Still mulling over some of the directory organization here.

Okay, I think this is ready for review. There is some renaming/restructuring that can be mostly ignored, I suggest focusing on int_clearinghouse__five_minute_station_agg and stg_clearinghouse__station_raw

Thanks for doing this! I thought we discussed getting in #96 first before we did this work?

Thanks for doing this! I thought we discussed getting in https://github.com/cagov/caldata-mdsa-caltrans-pems/pull/96 first before we did this work?

That wasn't my understanding. This can go in before or after #96, but either way the aggregations there will have to be unpivoted.


Drawer and "orientation change"

First bug:
a) Open the app
b) Change orientation of the device
c) Drawer will not adopt to the orientation change
Second bug:
a) Open the drawer
b) Change orientation
c) Drawer will not adopt to the orientation change

Did you use view onlayout prop for catching orientation change? Maybe it needs to be rerendered.

@doublex this was fixed in #2773 and released in v1.0.0-beta.15 (I just published this a few minutes ago)


Subtitles are not visible on the Shaka demo app. It throws 2004 Error code (BAD_ENCODING)

Have you read the FAQ and checked for duplicate open issues?
Possible duplicate of https://github.com/google/shaka-player/issues/571, but in the last comment; it is written if the vtt is valid but still you face the issue then raise an issue ticket.
What version of Shaka Player are you using?
https://shaka-player-demo.appspot.com/demo/#audiolang=en-US;textlang=en-US;uilang=en-US;panel=HOME;build=uncompiled
Can you reproduce the issue with our latest release version?
I checked in demo.
Can you reproduce the issue with the latest code from master?
NA
Are you using the demo app or your own custom app?
demo app
If custom app, can you reproduce the issue using our demo app?
NA
What browser and OS are you using?
Firefox, MacOS Catalina 10.15.5
For embedded devices (smart TVs, etc.), what model and firmware version are you using?
NA
What are the manifest and license server URIs?
Sending you over email.
What did you do?
Simply Play the content.
It throws,
Shaka Error TEXT.BAD_ENCODING ()
While debugging further, can see that it fails in vtt_text_parser.js
We saw that this vtt file is valid using , https://quuz.org/webvtt/
What did you expect to happen?
Subtitles should be visible on the player.
What actually happened?
Subtitles are not visible on the Player. It throws https://shaka-player-demo.appspot.com/docs/api/shaka.util.Error.html#value:2004
Object { severity: 2, category: 2, code: 2004, data: [], handled: false, message: "Shaka Error TEXT.BAD_ENCODING ()", stack: "@https://shaka-player-demo.appspot.com/lib/util/error.js:97:17\nfromUTF8@https://shaka-player-demo.appspot.com/lib/util/string_utils.js:54:13\nparseMedia@https://shaka-player-demo.appspot.com/lib/text/vtt_text_parser.js:39:38\nappendBuffer@https://shaka-player-demo.appspot.com/lib/text/text_engine.js:167:34\nasync*appendBuffer@https://shaka-player-demo.appspot.com/lib/media/media_source_engine.js:477:30\nappend_@https://shaka-player-demo.appspot.com/lib/media/streaming_engine.js:1485:51\nasync*fetchAndAppend_@https://shaka-player-demo.appspot.com/lib/media/streaming_engine.js:1207:18\nasync*update_@https://shaka-player-demo.appspot.com/lib/media/streaming_engine.js:1029:20\nonUpdate_@https://shaka-player-demo.appspot.com/lib/media/streaming_engine.js:870:26\nasync*scheduleUpdate_/mediaState.updateTimer<@https://shaka-player-demo.appspot.com/lib/media/streaming_engine.js:1720:20\nonTick@https://shaka-player-demo.appspot.com/lib/util/delayed_tick.js:56:14\nsetTimeout handler*tickAfter@https://shaka-player-demo.appspot.com/lib/util/delayed_tick.js:60:24\nscheduleUpdate_@https://shaka-player-demo.appspot.com/lib/media/streaming_engine.js:1726:8\ninitStreams_@https://shaka-player-demo.appspot.com/lib/media/streaming_engine.js:746:14\nasync*start@https://shaka-player-demo.appspot.com/lib/media/streaming_engine.js:182:16\nonLoad_@https://shaka-player-demo.appspot.com/lib/player.js:1846:33\nasync*@https://shaka-player-demo.appspot.com/lib/player.js:553:51\nenterNode@https://shaka-player-demo.appspot.com/lib/player.js:575:16\ntakeNextStep_@https://shaka-player-demo.appspot.com/lib/routing/walker.js:341:48\ndoOneThing_@https://shaka-player-demo.appspot.com/lib/routing/walker.js:228:19\nmainLoop_@https://shaka-player-demo.appspot.com/lib/routing/walker.js:209:18\nasync*this.mainLoopPromise_<@https://shaka-player-demo.appspot.com/lib/routing/walker.js:105:63\npromise callback*@https://shaka-player-demo.appspot.com/lib/routing/walker.js:105:47\n@https://shaka-player-demo.appspot.com/lib/player.js:608:20\nsetupUIandAutoLoad_@https://shaka-player-demo.appspot.com/ui/ui.js:343:20\nscanPageForShakaElements_@https://shaka-player-demo.appspot.com/ui/ui.js:296:34\nEventListener.handleEvent*@https://shaka-player-demo.appspot.com/ui/ui.js:430:10\n" }

I have sent the email having media and drm license.

Hi There,
It looks like that this issue is only with Shaka Player because on dash.js player; i can see the subtitles are being shown.
-Thanks

Inside your content, there is one word that contains a é character. You have that encoded as a UTF-16 code point, 0xE9. But, as per the webVTT standard, we are expecting such characters to be encoded as UTF-8 bytes, which would be 0xC3 0xA9.
It looks like dash.js uses the third-party codem-isoboxer library to parse the UTF-8 data. I watched the provided video on dash.js, and when it gets to that line, the captions have an unknown character (�).
So, in short, your text is incorrectly encoded, and you might want to fix that. We could possibly improve our reliability by making a custom UTF-8 parser, though, instead of relying on the decodeURIComponent browser function, that errors if it sees a single improperly-formatted character.

Thanks @theodab for a well elaborated explanation. 😊

Reopening it, as It is labeled as 'Enhancement'. :)

I don't believe we should write a custom UTF-8 parser.  Using browser built-ins where possible and avoiding third-party dependencies is how Shaka Player remains smaller than dash.js, in spite of supporting DASH+HLS+offline+cast.
So I'm removing "enhancement" and closing the issue.  Thanks!

@theodab has corrected me privately that we can have extra fault tolerance without a meaningful increase in binary size.  Now we're debating the best solution.


add cmd file for windows

Description
On my windows 10 computer,  I have to provide the full path to the python script:
python \path\to\scripts\gimme-aws-creds.py
Solution
Add a windows cmd file (based on the AWS CLI cmd file) so that executing gimme-aws-creds will be enough when the python Scripts dir is on the path

IMHO, the correct approach to solve cross platform issues like this is using entry_points:
+info here:

https://setuptools.readthedocs.io/en/latest/setuptools.html#automatic-script-creation
https://python-packaging.readthedocs.io/en/latest/command-line-scripts.html#the-console-scripts-entry-point

This is a pathing issue on your machine.  You need to add \path\to\scripts to your system or user path variable.


Automatically load latest unmanaged OS versions

Connects to #414
Also remove deprecated nitrogen device type
change-type: minor

Just for clarification - are the "unmanaged" images being linked to here, what https://docs.resin.io/reference/resinOS/overview/2.x/#variants-of-resinos refers to as "standalone" images?

@lurch Yes they are. I spoke to @agherzan about this, and it appears that we now simultaneously deploy managed and unmanaged/standalone images, so the data returned by the image maker is reliable

Does this PR mean the os_version and download_url fields in https://github.com/resin-os/resinos/blob/master/config/dictionaries/device.json are now redundant? (and if so, should they be removed to stop them becoming more and more out of date?)

@lurch yes! good spot :+1:

Woohoo!

Awesome! #406 next? ;-)
Only a minor nit, but I see that e.g. the Raspberry Pi section of https://resinos.io/#downloads lists them in the order:
Raspberry Pi 3
Raspberry Pi 1
Raspberry Pi 2

which looks a bit weird. Is that deliberate or is it just random?

@lurch Strange! They should definitely be in descending order. I'll add an issue to investigate this. https://github.com/resin-os/resinos/issues/459


Segfault in Grid-Stat when reading climo mean data.

A met-help question about met-8.1 led me to find a segfault that occurs when running Grid-Stat and reading climo mean data.  See:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=90587

This segfault occurs here:
LongArray MetNcCFDataFile::collect_time_offsets(VarInfo &vinfo)
The code calls find_var_name() to get a pointer to the requested NetCDF variable.  But it fails to check for a NULL pointer which leads to the segfault.  The fix is simply checking for a NULL pointer and returning an empty array.

Fixed in master_v8.1 and develop branches.


[Proposal] Update the logging APIs

Is your feature request related to a problem? Please describe.
The logging.hpp is about 2600 lines now. When the developer adds a new module to OpenThread, new log APIs will be added into the file logging.hpp. Which makes the file bigger and bigger.
Describe the solution you'd like
Add several generic log APIs like ot-br-posix logging.h. The logging prefix is defined by a macro OT_LOG_TAG. Each module can define its own macro OT_LOG_TAG. This method is very flexible for all modules. And we don't need to update the logging.hpp file anymore. The usage of the OT_LOG_TAG can refer to the OTBR_LOG_TAG.
Any comments? @jwhui @abtink @bukepo @librasungirl @simonlingoogle @wgtdkp

This sounds like a great idea. I agree fully that logging.hpp is large and repeating a lot of same patterns.
If I can suggest another thing that we can try to do with this change: It would be good to separate the logging for platform layer. We have platform as a log region OT_LOG_REGION_PLATFORM and provide the otLogInfoPlat() (and other flavors for different log level) for use by platform layer code. This means the platform code needs to include "logging.hpp" (which is really a core internal header file).
Another thing to consider: We have a mode to do all logging through macros (even have the otPlatLog() itself being a macro) under OPENTHREAD_CONFIG_LOG_DEFINE_AS_MACRO_ONLY config. This was added earlier for use in an internal project/product and intended for special platform requirements where the logging needs to be defined a macro to enable certain platform feature (e.g., for log tokenization on a resource-limited device). It limits certain optimizations/changes we can do related to logging. We can consider whether it may be worth removing this config/behavior.  Thoughts?

Agree with @zhanglongxia and @abtink . Also I hope there are two styles logging API otLogInfo() and otLogInfoV() like syslog() and vsyslog().

SGTM as long as no addition to code size. :+1:

@abtink Thanks for your great suggestions.
For the platform logging API otLogxxxPlat, we may define a generic logging API otLog(otLogLevel  aLogLevel, const char *aRegionPrefix, const char *aFormat, ...) in the file openthread/logging.h. The Platform layer code can call this generic API to output log.
For the macro OPENTHREAD_CONFIG_LOG_DEFINE_AS_MACRO_ONLY , I checked our internal projects. No one is using it. So we may remove it from OpenThread.

For the platform logging API otLogxxxPlat, we may define a generic logging API otLog(otLogLevel aLogLevel, const char *aRegionPrefix, const char *aFormat, ...) in the file openthread/logging.h. The Platform layer code can call this generic API to output log.

This can work, but then all platform layer implementations that use the current definitions need to be updated. May be worth it to keep same otLogxxxPlat() names (but maybe defining them in a public header openthread/logging.h). This way only the header file name need to be changed in the platform layer code.

For the macro OPENTHREAD_CONFIG_LOG_DEFINE_AS_MACRO_ONLY , I checked our internal projects. No one is using it. So we may remove it from OpenThread.

Resolved by #7268 and #7385


Add script 1 for broad annotation

Purpose/implementation Section
Type of change

[x] New feature (non-breaking change which adds functionality)

What scientific question/module of analysis is your analysis addressing?
To add script 1 for broad annotation, i.e., 01-cell-types-annotation-SingleR-broad.Rmd.
What GitHub issue does your pull request address?
Closes #110.
Directions for reviewers
Tell potential reviewers what kind of feedback you are soliciting.
Which areas should receive a particularly close look?
Please review for documentation and code logic and clarity.
Reproducibility Checklist

[x] The dependencies required to run the code in this pull request have been added to the project Dockerfile.

Documentation Checklist

[x] This analysis module has a README and it is up to date.
[x] The analytical code is documented and contains comments.

Looks good, code is clear and logical.
I made a few suggestions related to table styles and the pandoc bug brought up in PR #115 and corrected one typo in the report text.

Thank you! All these were addressed here 1e5dd02fdd26bda73a67f9313a26056b7e963d1c.


Update specs2-core, specs2-junit from 5.5.1 to 5.5.2

About this PR
📦 Updates

org.specs2:specs2-core
org.specs2:specs2-junit

from 5.5.1 to 5.5.2
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.specs2" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.specs2" }
}]

labels: dependencies, test-library-update, early-semver-patch, semver-spec-patch, version-scheme:early-semver, commit-count:1

Superseded by #229.


CAMEL-21471: camel-quartz ignores ignoreExpiredNextFireTime when endAt is expired

Description
Fix for CAMEL-21471
camel-quartz ignores ignoreExpiredNextFireTime when endAt is expired
Target

[x] I checked that the commit is targeting the correct branch (note that Camel 3 uses camel-3.x, whereas Camel 4 uses the main branch)

Tracking

[x] If this is a large change, bug fix, or code improvement, I checked there is a JIRA issue filed for the change (usually before you start working on it).

Apache Camel coding standards and style

[x] I checked that each commit in the pull request has a meaningful subject line and body.

[x] I have run mvn clean install -DskipTests locally from root folder and I have committed all auto-generated changes.

/component-test camel-quartz


sort Sources and automations by Date before view on table

-Fixes #975
-Fixes https://github.com/weaveworks/weave-gitops/issues/2471 where sort by updatedAt wasn't working as it should. by exposing the sortValue instead of the react component.
-Also fixes https://github.com/weaveworks/weave-gitops/pull/2493#discussion_r931270004

@ozamosi  yes I do I had found the issue and yes I'm writing in the description that I had included the fix here.

As far as I can see, we've made Sources default sort by date

There was a change of plan in end. We now sort by some preferred field (Status right now), and then all the other columns in order.
You're right there will be churn in the table. If an automation/source transitions to NotReady (or Reconciling?) and back again, it will jump to the top of the table (while everything else remains in a stable sort), and then back down to its sorted place. If NotReady happens a lot this is not ideal.
cc @sympatheticmoose

The intent with sorting by status is to help highlight the automation objects which the user should most likely care about, those which have issues or are currently in-flux. But if a more stable view is required, then I would expect the user to sort by name or other more stable field. I suggested the change since we were going in and changing the sort behaviour.

The intent with sorting by status is to help highlight the automation objects which the user should most likely care about

Okay playing around with this I think it works quite well sorting first by Status.


[FEATURE]Hello, I have a problem, I would like to create an htaccess file to protect access to the domain when I have this rent at the root of the server "<IP_ADDRESS>:3000" but I don't know where to place the file

Hello, I have a problem, I would like to create an htaccess file to protect access to the domain when I have this rent at the root of the server "<IP_ADDRESS>:3000" but I don't know where to place the file

Don't use htaccess
Why would you need an htaccess?
Just configure an nginx as reverse proxy
https://www.nginx.com/resources/wiki/start/topics/examples/likeapache-htaccess/


Prevent locking of immutable Move packages

As part of the resolution for the concurrency issues we were facing pre-GDC, we found that we should not be locking Move packages as they are immutable.

We should no longer need this once https://github.com/MystenLabs/sui/pull/1042 merges.


python311Packages.rapidfuzz: 3.8.1 -> 3.9.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python311Packages.rapidfuzz is: Rapid fuzzy string matching
meta.homepage for python311Packages.rapidfuzz is: https://github.com/maxbachmann/RapidFuzz
meta.changelog for python311Packages.rapidfuzz is: https://github.com/maxbachmann/RapidFuzz/blob/refs/tags/v3.9.0/CHANGELOG.rst
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 3.9.0 with grep in /nix/store/rjwrc6cx1jqx4ln43kfqzyxd9lha0pvy-python3.11-rapidfuzz-3.9.0
found 3.9.0 in filename of file in /nix/store/rjwrc6cx1jqx4ln43kfqzyxd9lha0pvy-python3.11-rapidfuzz-3.9.0

Rebuild report (if merged into master) (click to expand)

63 total rebuild path(s)

63 package rebuild(s)

First fifty rebuilds by attrpath

adl
anime-downloader
apostrophe
atomic-operator
creds
emacsPackages.lsp-bridge
ibus-engines.uniemoji
instawow
knowsmore
ledger-autosync
mealie
nitrokey-app2
osc-cli
paperless-ngx
poetry
poetryPlugins.poetry-audit-plugin
poetryPlugins.poetry-plugin-up
puddletag
pynitrokey
python311Packages.attacut
python311Packages.autofaiss
python311Packages.cleo
python311Packages.epitran
python311Packages.fire
python311Packages.fuzzywuzzy
python311Packages.jarowinkler
python311Packages.jiwer
python311Packages.levenshtein
python311Packages.manga-ocr
python311Packages.nkdfu
python311Packages.panphon
python311Packages.pdf2docx
python311Packages.pynitrokey
python311Packages.rapidfuzz
python311Packages.ssg
python311Packages.syncedlyrics
python311Packages.thefuzz
python311Packages.trytond
python311Packages.videocr
python312Packages.attacut
python312Packages.autofaiss
python312Packages.cleo
python312Packages.epitran
python312Packages.fire
python312Packages.fuzzywuzzy
python312Packages.jarowinkler
python312Packages.jiwer
python312Packages.levenshtein
python312Packages.nkdfu

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/rjwrc6cx1jqx4ln43kfqzyxd9lha0pvy-python3.11-rapidfuzz-3.9.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python311Packages.rapidfuzz https://github.com/r-ryantm/nixpkgs/archive/0c627007ba42ed22d144f22ded83da28253c0064.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/0c627007ba42ed22d144f22ded83da28253c0064#python311Packages.rapidfuzz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/rjwrc6cx1jqx4ln43kfqzyxd9lha0pvy-python3.11-rapidfuzz-3.9.0
ls -la /nix/store/rjwrc6cx1jqx4ln43kfqzyxd9lha0pvy-python3.11-rapidfuzz-3.9.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

4 packages marked as broken and skipped:

python311Packages.pynitrokey
python311Packages.pynitrokey.dist
python312Packages.pynitrokey
python312Packages.pynitrokey.dist

10 packages failed to build:

poetryPlugins.poetry-audit-plugin
poetryPlugins.poetry-audit-plugin.dist
python311Packages.pdf2docx
python311Packages.pdf2docx.dist
python312Packages.autofaiss
python312Packages.autofaiss.dist
python312Packages.pdf2docx
python312Packages.pdf2docx.dist
sublime-music
sublime-music.dist

103 packages built:

adl
anime-downloader
anime-downloader.dist
apostrophe
atomic-operator
atomic-operator.dist
creds
creds.dist
emacsPackages.lsp-bridge
ibus-engines.uniemoji
instawow
instawow.dist
knowsmore
knowsmore.dist
ledger-autosync
ledger-autosync.dist
mealie
mealie.dist
nitrokey-app2
nitrokey-app2.dist
osc-cli
osc-cli.dist
paperless-ngx
poetry
poetry.dist
poetryPlugins.poetry-plugin-up
poetryPlugins.poetry-plugin-up.dist
puddletag
puddletag.dist
pynitrokey
pynitrokey.dist
python311Packages.attacut
python311Packages.attacut.dist
python311Packages.autofaiss
python311Packages.autofaiss.dist
python311Packages.cleo
python311Packages.cleo.dist
python311Packages.epitran
python311Packages.epitran.dist
python311Packages.fire
python311Packages.fire.dist
python311Packages.fuzzywuzzy
python311Packages.fuzzywuzzy.dist
python311Packages.jarowinkler
python311Packages.jarowinkler.dist
python311Packages.jiwer
python311Packages.jiwer.dist
python311Packages.levenshtein
python311Packages.levenshtein.dist
python311Packages.manga-ocr
python311Packages.manga-ocr.dist
python311Packages.nkdfu
python311Packages.nkdfu.dist
python311Packages.panphon
python311Packages.panphon.dist
python311Packages.rapidfuzz
python311Packages.rapidfuzz.dist
python311Packages.ssg
python311Packages.ssg.dist
python311Packages.syncedlyrics
python311Packages.syncedlyrics.dist
python311Packages.thefuzz
python311Packages.thefuzz.dist
trytond (python311Packages.trytond)
trytond.dist (python311Packages.trytond.dist)
python311Packages.videocr
python311Packages.videocr.dist
python312Packages.attacut
python312Packages.attacut.dist
python312Packages.cleo
python312Packages.cleo.dist
python312Packages.epitran
python312Packages.epitran.dist
python312Packages.fire
python312Packages.fire.dist
python312Packages.fuzzywuzzy
python312Packages.fuzzywuzzy.dist
python312Packages.jarowinkler
python312Packages.jarowinkler.dist
python312Packages.jiwer
python312Packages.jiwer.dist
python312Packages.levenshtein
python312Packages.levenshtein.dist
python312Packages.nkdfu
python312Packages.nkdfu.dist
python312Packages.panphon
python312Packages.panphon.dist
python312Packages.rapidfuzz
python312Packages.rapidfuzz.dist
python312Packages.ssg
python312Packages.ssg.dist
python312Packages.syncedlyrics
python312Packages.syncedlyrics.dist
python312Packages.thefuzz
python312Packages.thefuzz.dist
python312Packages.trytond
python312Packages.trytond.dist
python312Packages.videocr
python312Packages.videocr.dist
spotdl
spotdl.dist
ulauncher
ulauncher.dist

Maintainer pings
cc @dotlambda for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python311Packages.rapidfuzz is: Rapid fuzzy string matching
meta.homepage for python311Packages.rapidfuzz is: https://github.com/maxbachmann/RapidFuzz
meta.changelog for python311Packages.rapidfuzz is: https://github.com/maxbachmann/RapidFuzz/blob/refs/tags/v3.9.1/CHANGELOG.rst
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 3.9.1 with grep in /nix/store/2rhyd3yd8y3rnx01jb1gl3pp8sivb237-python3.11-rapidfuzz-3.9.1
found 3.9.1 in filename of file in /nix/store/2rhyd3yd8y3rnx01jb1gl3pp8sivb237-python3.11-rapidfuzz-3.9.1

Rebuild report (if merged into master) (click to expand)

64 total rebuild path(s)

64 package rebuild(s)

First fifty rebuilds by attrpath

adl
anime-downloader
atomic-operator
creds
emacsPackages.lsp-bridge
ibus-engines.uniemoji
instawow
knowsmore
ledger-autosync
mealie
nitrokey-app2
osc-cli
paperless-ngx
poetry
poetryPlugins.poetry-audit-plugin
poetryPlugins.poetry-plugin-up
puddletag
pynitrokey
python311Packages.attacut
python311Packages.autofaiss
python311Packages.avwx-engine
python311Packages.cleo
python311Packages.epitran
python311Packages.fire
python311Packages.fuzzywuzzy
python311Packages.jarowinkler
python311Packages.jiwer
python311Packages.levenshtein
python311Packages.manga-ocr
python311Packages.nkdfu
python311Packages.panphon
python311Packages.pdf2docx
python311Packages.pynitrokey
python311Packages.rapidfuzz
python311Packages.ssg
python311Packages.syncedlyrics
python311Packages.thefuzz
python311Packages.trytond
python311Packages.videocr
python312Packages.attacut
python312Packages.autofaiss
python312Packages.avwx-engine
python312Packages.cleo
python312Packages.epitran
python312Packages.fire
python312Packages.fuzzywuzzy
python312Packages.jarowinkler
python312Packages.jiwer
python312Packages.levenshtein

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/2rhyd3yd8y3rnx01jb1gl3pp8sivb237-python3.11-rapidfuzz-3.9.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python311Packages.rapidfuzz https://github.com/r-ryantm/nixpkgs/archive/9836ec421fd3366560e113b9105cafa1deda8f01.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/9836ec421fd3366560e113b9105cafa1deda8f01#python311Packages.rapidfuzz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/2rhyd3yd8y3rnx01jb1gl3pp8sivb237-python3.11-rapidfuzz-3.9.1
ls -la /nix/store/2rhyd3yd8y3rnx01jb1gl3pp8sivb237-python3.11-rapidfuzz-3.9.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

2 packages marked as broken and skipped:

python312Packages.pynitrokey
python312Packages.pynitrokey.dist

6 packages failed to build:

python311Packages.pdf2docx
python311Packages.pdf2docx.dist
python312Packages.autofaiss
python312Packages.autofaiss.dist
python312Packages.pdf2docx
python312Packages.pdf2docx.dist

110 packages built:

adl
anime-downloader
anime-downloader.dist
atomic-operator
atomic-operator.dist
creds
creds.dist
emacsPackages.lsp-bridge
ibus-engines.uniemoji
instawow
instawow.dist
knowsmore
knowsmore.dist
ledger-autosync
ledger-autosync.dist
mealie
mealie.dist
nitrokey-app2
nitrokey-app2.dist
osc-cli
osc-cli.dist
paperless-ngx
poetry
poetry.dist
poetryPlugins.poetry-audit-plugin
poetryPlugins.poetry-audit-plugin.dist
poetryPlugins.poetry-plugin-up
poetryPlugins.poetry-plugin-up.dist
puddletag
puddletag.dist
pynitrokey (python311Packages.pynitrokey)
pynitrokey.dist (python311Packages.pynitrokey.dist)
python311Packages.attacut
python311Packages.attacut.dist
python311Packages.autofaiss
python311Packages.autofaiss.dist
python311Packages.avwx-engine
python311Packages.avwx-engine.dist
python311Packages.cleo
python311Packages.cleo.dist
python311Packages.epitran
python311Packages.epitran.dist
python311Packages.fire
python311Packages.fire.dist
python311Packages.fuzzywuzzy
python311Packages.fuzzywuzzy.dist
python311Packages.jarowinkler
python311Packages.jarowinkler.dist
python311Packages.jiwer
python311Packages.jiwer.dist
python311Packages.levenshtein
python311Packages.levenshtein.dist
python311Packages.manga-ocr
python311Packages.manga-ocr.dist
python311Packages.nkdfu
python311Packages.nkdfu.dist
python311Packages.panphon
python311Packages.panphon.dist
python311Packages.rapidfuzz
python311Packages.rapidfuzz.dist
python311Packages.ssg
python311Packages.ssg.dist
python311Packages.syncedlyrics
python311Packages.syncedlyrics.dist
python311Packages.thefuzz
python311Packages.thefuzz.dist
trytond (python311Packages.trytond)
trytond.dist (python311Packages.trytond.dist)
python311Packages.videocr
python311Packages.videocr.dist
python312Packages.attacut
python312Packages.attacut.dist
python312Packages.avwx-engine
python312Packages.avwx-engine.dist
python312Packages.cleo
python312Packages.cleo.dist
python312Packages.epitran
python312Packages.epitran.dist
python312Packages.fire
python312Packages.fire.dist
python312Packages.fuzzywuzzy
python312Packages.fuzzywuzzy.dist
python312Packages.jarowinkler
python312Packages.jarowinkler.dist
python312Packages.jiwer
python312Packages.jiwer.dist
python312Packages.levenshtein
python312Packages.levenshtein.dist
python312Packages.nkdfu
python312Packages.nkdfu.dist
python312Packages.panphon
python312Packages.panphon.dist
python312Packages.rapidfuzz
python312Packages.rapidfuzz.dist
python312Packages.ssg
python312Packages.ssg.dist
python312Packages.syncedlyrics
python312Packages.syncedlyrics.dist
python312Packages.thefuzz
python312Packages.thefuzz.dist
python312Packages.trytond
python312Packages.trytond.dist
python312Packages.videocr
python312Packages.videocr.dist
spotdl
spotdl.dist
sublime-music
sublime-music.dist
ulauncher
ulauncher.dist

Maintainer pings
cc @dotlambda for testing.


use css filter to obtain background blur

That a visual approval as well, or just from ze code?

Uhhh, doesn't quite work in firefox, will have to dig.

Haha clearly not a visual approval.

Okay so presently this works in Chrome / Firefox (assumedly Safari).
This won't work at all for IE.
Presently isn't working for Edge (Edge bug).

Looks good in Safari


How would one include custom messages generated from a hypothetical "my_custom_msgs" package for use in this platformio.ini+firmware?

Say, I want to create a set of custom messages and services...


Database architecture

I just want to throw this out there to get some feedback.
Since Panoptes' database now contains the Zooniverse users table, all services in the Zooniverse depend on that database being accessible.
Rather than allowing performance regressions in subject selection (or other bugs) to take down the entire Zooniverse, it seems like it would probably be a good idea to split that table off from Panoptes' database.
postgres_fdw makes this separation very seamless.
Thoughts?

I think this would be good idea.

Surprisingly that extension is actually supported by RDS, so I don’t see any reason why we can’t do that.
Another option might be to use read replicas, but postgres_fdw is probably better anyway.

On 10 Sep 2015, at 17:48, Edward Paget<EMAIL_ADDRESS>wrote:
I think this would be good idea.
—
Reply to this email directly or view it on GitHub https://github.com/zooniverse/Panoptes/issues/1359#issuecomment-139307247.

postgres_fdw has been used by talk for a while now.
The big caveat is that you need to set use_remote_estimate 'true' when you create the local server to enable the query planner on the foreign server.  Also, you do need to be slightly careful about how you query the foreign table.  99% of the time it's good, by you may need to map to user_id and join records from that on occasion.

It feels like this would help with Stargazing-scale projects where the login traffic has a profile very different from that of classification.

On 10 Sep 2015, at 12:25, Michael Parrish<EMAIL_ADDRESS><EMAIL_ADDRESS>wrote:
postgres_fdw has been used by talk for a while now.
The big caveat is that you need to set use_remote_estimate 'true' when you create the local server to enable the query planner on the foreign server. Also, you do need to be slightly careful about how you query the foreign table. 99% of the time it's good, by you may need to map to user_id and join records from that on occasion.
—
Reply to this email directly or view it on GitHub https://github.com/zooniverse/Panoptes/issues/1359#issuecomment-139317449.


Handle the ssh-client.zip properly

So it's version history can be reflected. And people can update it properly if necessary.

Logpoints was removed from this repo https://github.com/microsoft/vscode-azureappservice/pull/1101 https://github.com/microsoft/vscode-azureappservice/pull/1419


add recent presentations per #578

This PR adds two presentations from June 2020 to the pubs page.

This change is

GitHub was being slow checking on auto-merge, so I merged manually on the command line and pushed the merge to master.
See:

https://github.com/m-lab/website/commit/f29880f6f4f1279ec470f12fed623326f85d95e9
https://github.com/m-lab/website/commit/08c82ff489ac2d49433f68c0966ae69596a0cabc


update README.md generate example

When a run generate command I've got the follow message:
This is a deprecated method.
To generate a hello world example, please use:
praxis example my-app
Would you please accept it?

you bet! Thank you @rodrigomonteirof
we were just talking about tackling the README and getting started examples, to be updated to the latest and best practices. Hopefully we can get to them soon. If you find any other stale information or things you think should be fixed or documented better, please send PRs our way. We love them :)

Thanks @blanquer,
I met now praxis and I will use for my next api!
If  something seems wrong, I'll report!
Cheers,


[SKIP CI] (Trivial) Fixed formatting

We need to add [SKIP CI] while merging to master otherwise CI will be kicked off unnecessary.


rename CircleCI config file

@lachie83,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Compatibility

test compatibility with ACEschrodinger

@CheukHinHoJerry  - I believe you have done this? We can close?

@cortner I think it is better to check again after merging since we changed the eval output, I will try to write a testing code tonight.

@cortner I think this issue can now be closed.

Thank you


[DC-103] Test request access buttons

Add a puppeteer test for the Request Access buttons in the Data Catalog.

Ran through this PR, confirmed it works. The test successfully checks that the modal shows up! Thanks for helping me with this too :)

I made the changes you mentioned @petesantos! :octocat:


⚠ Bofrost.be has degraded performance

In 7af2203, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 2351 ms

Resolved: Bofrost.be performance has improved in 38c129d.


trained models on BaiduYun cannot be extracted correctly

I downloaded ShuffleNetV2.0.5x.pth.tar on BaiduYun, and get error while extract

and I also tried oneDrive , the page will jump to oneDrive's error page.

Hi @vraivon ,
The model files are pickle files, please refer to https://pytorch.org/tutorials/beginner/saving_loading_models.html.

Thank you, i thought it was packed again


Trigger release for golang builder images for 1.20.14-16, 1.21.8-9, 1.22.1-1

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/test eks-distro-base-test-presubmit

/lgtm

/approve

/lgtm


Update docs for feat: add SASL  and TLS config for Kafka client

A document change request is generated from https://github.com/GreptimeTeam/greptimedb/pull/4536

Completed in #1138


SEO optimization for hugo cosmos

SEO is useful for blogs

Hugo ships with internal templates supporting Google Analytics, both Google Analytics 4 (GA4) and Universal Analytics.
Note: Universal Analytics are deprecated. For details, see Universal Analytics will be going away.

tutorial of how to use google analytics:

https://ahrefs.com/blog/zh/how-to-use-google-analytics/
https://support.google.com/analytics/answer/9304153?hl=zh-Hans

You can connect Google Search Console with Google Analytics
ref: https://support.google.com/webmasters/answer/9008080#google_analytics_verification&zippy=%2Cgoogle-analytics-tracking-code

The bing version for Google Search Console is Bing Webmaster Tools.
ChatGPT is very popular these days and Bing has published the new Bing with ChatGPT, which may have a great impact on search market. Bing Webmaster Tools also provide a tool to migrate site from Google Search Console, interesting.

You can submit you sitemap to Bing Webmaster Tools just like Google Search Console.

You can also enable baidu search engine to find you site.
see https://ziyuan.baidu.com/site/


Silence verbose cobrapy log event

These log events are making a lot of noise in #decaf-notifications as well as eating up our sentry quota. I'm not sure if any action should be taken with regards to the actual log message though; the models seem to be tested without problems.

Another option would be to filter the cobrapy logger rather than the root logger. If I remember correctly, though, the SBML module was somehow using the root logger and we haven't fixed that yet. :unamused:

Yep, that was the fix in https://github.com/opencobra/cobrapy/pull/914 but not released yet

Codecov Report

Merging #19 into master will decrease coverage by 1.61%.
The diff coverage is 12.5%.

@@            Coverage Diff             @@
##           master      #19      +/-   ##
==========================================
- Coverage   67.66%   66.05%   -1.62%
==========================================
  Files          12       12
  Lines         266      274       +8
==========================================
+ Hits          180      181       +1
- Misses         86       93       +7

Impacted Files
Coverage Δ

src/memote_webservice/resources/submit.py
61.29% <12.5%> (-4.6%)
:arrow_down:

Continue to review full report at Codecov.

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


Keyboard navigation breaks when pressing Enter on a Node that doesn't render a text input

You can reproduce this behavior on the "controlled tree" demo.
Steps to reproduce:

Tab to get focus on first node
When focused on any node, press Enter

Result:
Doing so effectively breaks the tree: Pressing up and down scrolls the page instead of navigating the tree nodes. Opening/closing folders is not possible via keyboard. The cause seems to be that there is not <input> rendered when Enter is pressed, so the Tree gets stuck into a bad state.
My two cents: I was expecting (and haven't found) a way to disable the inline renaming functionality. In the same way that disableDrag exists, I think disableRename would be valuable and would be a way to avoid this bad state. At least for our use case, we would like to render a tree where the user cannot edit the node text.
Nice lib btw.

I was expecting (and haven't found) a way to disable the inline renaming functionality

Turns out I was using initialData instead of data. By using the below options, I was able to get a tree going without rename functionality:
data={treeData}
onRename={undefined}

Going to leave this ticket as is since I think it does capture an awkward edge case, but it's not as dire as I had initially thought: You can make a tree without being forced into rename functionality.


problem of install

Hello,
how can i install it in my system ?
I had an  error  wehn i tried  to run the script.
The location of script  is  in the same path of  promox.py
script

import proxmox
import nodes
connection = proxmox.Connector('<IP_ADDRESS>', 8006)
auth_token = connection.get_auth_token('root@pam', 'password')
p = proxmox.Proxmox(connection)
node = proxmox.Node(connection, '<IP_ADDRESS>')
vmid = 100
print(node.openvz(vmid).status.current())
#######
Error

DEBUG:init: API endpoint base url is https://<IP_ADDRESS>:8006/api2/json
DEBUG:get_auth_token: GET https://<IP_ADDRESS>:8006/api2/json/access/ticket
DEBUG:init: API endpoint base url is https://<IP_ADDRESS>:8006/api2/json
Traceback (most recent call last):
File "test2.py", line 14, in
node = proxmox.Node(connection, '<IP_ADDRESS>')
AttributeError: module 'proxmox' has no attribute 'Node'

Thank you

Hi @melekbenammar,
Your script needs to be run from outside of the main proxmox package. Something like this:
/parent_folder/
        test2.py
        proxmox/
                __init__.py
                proxmox.py
                nodes.py
                exceptions.py

The Connection, Proxmox and Node classes which are defined in the submodules contained within the main proxmox package folder are all imported into the __init__.py which makes them available as direct imports.


Piece image location

Hi,
If I publish several pages using chessboardjs it seems to me that it requires a copy of the img directory in every single page. (Or I have not been able to configure it properly)
I created a really SIMPLE example here http://aptchess.semprun.net
The first page loads fine, the other two cannot locate the corresponding img directory to load the pieces.
I fail to see and image-source="......." setting. Of course I could load an img folder in each page, but surely things are done better than this.
Thx,

OK, as simple as href, which I had omitted when working locally. Sorry. Closed


PMID:27738016

increased DNA damage at rDNA
increased histone H3-K9 dimethylation at rDNA during G0
decreased histone H3-K9 methylation during G0
decreased histone H3-K9 dimethylation at rDNA during G0
decreased histone H3-K9 dimethylation at centromere outer repeat during G0
decreased histone H3-K9 dimethylation at subtelomere during G0
abnormal chromosome segregation during G1 to G0 transition

increased DNA damage at rDNA during G0 FYPO:0007639
increased histone H3-K9 dimethylation at rDNA during G0 FYPO:0007640
decreased histone H3-K9 methylation during G0 FYPO:0007641
decreased histone H3-K9 dimethylation at rDNA during G0 FYPO:0007642
decreased histone H3-K9 dimethylation at centromere outer repeat during G0 FYPO:0007643
decreased histone H3-K9 dimethylation at subtelomeric heterochromatin during G0 FYPO:0007644
abnormal chromosome segregation during G1 to G0 transition FYPO:0007645


PC: fix onnxruntime excessive CPU

Excessive CPU was observed in simulations with Carla #22736. This PR  fixes it by supporting additional Execution Providers for onnxruntime. Apparently the basic onnxruntime package from PyPi has spin-waits that cannot be disabled. Several alternatives were explored, using pip installs of onnxruntime-gpu, onnruntime-openmp, and onnxruntime built from source to support GPU operation with CUDA on the RTX2070 test platform. Attempts to get the "stock" PyPi onnxruntime-gpu package to work with CUDA were unsuccessful, with the onnxruntime defaulting to CPU operation. Based on the measurements of CPU load and execution time of the model, I have tentatively chosen to set onnxruntime-openmp to be installed automatically from the pipfile, using PASSIVE wait policy. This PR supports users changing to other execution providers without modification of code, by installing alternative packages with pip. The following measurements were made with the changes in PR #23046 incorporated.
Performance measurements (100% CPU = 8 cores fully busy):
onnxruntime-openmp  PASSIVE policy	.019 sec	11% CPU
onnxruntime-openmp  ACTIVE policy 	.018 sec 	23% CPU
onnxruntime-gpu (cuda,  compiled source)  	.012 sec	 3% CPU
onnxruntime-gpu (no cuda, CPU 2 threads)	.038 sec 	20% CPU
onnxruntime (CPU spin-wait, 4 threads)	.018 sec 	41% CPU

Looks like the openmp version is no longer published since version 1.8.0 (https://github.com/microsoft/onnxruntime/releases/tag/v1.8.0). Any reason this was deprecated?

My understanding is that openvino is intended to provide GPU acceleration with Intel graphics hardware. Onnxruntime-gpu gives acceleration for Nvidia/CUDA hardware. I assume (perhaps incorrectly) that more users trying to run Carla/openpilot would have Nvidia.  My understanding is that most Intel GPU hardware is too "lightweight" to be of much help running Carla. CPU-only, with the help of threading on multicore processors, seems entirely reasonable for running the model in openpilot, though.
A version of CPU threading is now incorporated in the basic onnxruntime package, and as far as I can tell, they dropped ongoing support  for openmp threading because it became functionally redundant.  The only reason I recommended the stale onnxruntime-openmp package over basic onnxruntime is because it doesn't have the unavoidable spin-waits. When/if onnxruntime allows disabling spin waits I would recommend using it over the onnxruntime-openmp.

OpenVINO also has a CPU only mode, which we use extensively in our data processing pipeline (uses Intel MKL).

OpenVINO also has a CPU only mode, which we use extensively in our data processing pipeline (uses Intel MKL).

I never tried openvino.  If you are comfortable with the threading support it offers, I would go along with making it the default choice in the Pipfile.

Let me know if it works well for you. Not sure if we can add it the Pipfile by default, might give issues with installing on MacOS.

I have been trying to get openvino working with onnxruntime,  no success so far. Have you made it work?

Apparently we already moved away from it again internally. @gregjhogan just mentioned that the onnxrutime-gpu also includes the cpu runtime. If that's the case installing that package by default might make the most sense.

Apparently we already moved away from it again internally. @gregjhogan just mentioned that the onnxrutime-gpu also includes the cpu runtime. If that's the case installing that package by default might make the most sense.

Unfortunately, the onnxruntime-gpu also has the unwanted spin waits when defaulting to CPU. Perhaps a "good enough" solution might be to just reduce the intra-op threads. I suggest 2 might be a reasonable choice, and just keep the plain onnxruntime in the Pipfile as the default.  The mods to onnx_runner.py would then allow further tailoring by the user in a wide variety of ways.

Wouldn't most people be able to use the cuda version though? We can change the intra-op threads to 2 as a fallback.
What would be the reason to put the plain onxxruntime in the pipfile over the gpu one?

Wouldn't most people be able to use the cuda version though? We can change the intra-op threads to 2 as a fallback.
What would be the reason to put the plain onxxruntime in the pipfile over the gpu one?

There is no particular advantage to the plain one. My experience was that I couldn't get the pypi onnxruntime-gpu to work with my Nvidia CUDA setup, I had to build it from source.  Others may find the magic combination to make the stock onnxruntime-gpu version work. So, perhaps we can converge on a solution here- onnxruntime-gpu in the Pipfile,  and intra-op threads set to 2 for CPU provider. Does that sound good to you? At least there will be only 2 threads running at ~100% in the absence of a working CUDA config.

I did some investigation into why my CUDA setup didn't work with the stock Pypi version of onnxruntime-gpu. It appears that there is a cuda bug in the stock Pypi package. When I ran "ldd /home/wolffja/.local/lib/python3.8/site-packages/onnxruntime/capi/libonnxruntime_providers_cuda.so" I got the following:
Inconsistency detected by ld.so: dl-version.c: 205: _dl_check_map_versions: Assertion `needed != NULL' failed!
I then ran "LD_DEBUG=all ldd /home/wolffja/.local/lib/python3.8/site-packages/onnxruntime/capi/libonnxruntime_providers_cuda.so" and the rather lengthy output included the following lines:
...
5839:
5839:	checking for version GCC_3.0' in file /lib/x86_64-linux-gnu/libgcc_s.so.1 [0] required by file /home/wolffja/.local/lib/python3.8/site-packages/onnxruntime/capi/libonnxruntime_providers_cuda.so [0]       5839:	checking for version GLIBC_2.3' in file /lib64/ld-linux-x86-64.so.2 [0] required by file /home/wolffja/.local/lib/python3.8/site-packages/onnxruntime/capi/libonnxruntime_providers_cuda.so [0]
Inconsistency detected by ld.so: dl-version.c: 205: _dl_check_map_versions: Assertion `needed != NULL' failed!
...
A solution to this is not obvious to me. Hopefully, a future update from 1.9.0 may fix this. Until then, it appears that openpilot users will have to build their own onnxruntime from source to get CUDA support.


converts unknown years to 9 for pub date end year

Closes #536

Coverage remained the same at 79.125% when pulling 61c09f7f9bbba5d65f86adb4aefea5ad24c1b523 on end-date-u-fix into f7791a91ee29777722a2f7e0af702a846b7ae9c8 on master.


mypy plugin

Feature Request
I believe that this project could benefit from having a small mypy plugin built for it. Errors like #400 or #280 could be addressed in this plugin.
References

Mypy blog post about plugins
django-mypy-plugin
SQLAlchemy-stubs
dataclasses mypy plugin

great idea, yes please.
I won't have time to work on it for a while but happy to review a PR if anyone else is keen.

@samuelcolvin I've implemented an initial relatively-limited-in-scope mypy plugin.
https://gist.github.com/dmontagu/381d03126c3b35d58274798a19fc12fa
Currently, all it does is replace the signature of the __init__ of subclasses of BaseModel using the annotations so that it can type check it properly. Currently it disallows any unexpected field names, and probably doesn't properly handle non-annotated fields.
(There is a subtlety here in that you may want to be able to explicitly pass kwargs to the model in your code that it doesn't expect (e.g., if using a Union type), but this bites me much more frequently than it is useful. I think it should probably be a config setting. It's probably possible to make use of the Config in the plugin (e.g., to read off the extra property) with a little effort.)
Having gotten this far, I think it wouldn't be too hard to implement more features and/or more accurate edge-case handling, but it would be nice if we could put together a list of desired features.
The __init__ checking was the highest priority for me, but I think having proper type-checking for the result of create_model would be nice (and not too hard, actually; it's very similar to what is done in the sqlalchemy plugin for declarative_base I think). I'm sure there are other things I'm also not thinking of.

Current state of the plugin (in the above gist):
from pydantic import BaseModel, Extra, Schema

class A(BaseModel):
    a: int
    b: int = Schema(...)  # type: ignore
    c: int = Schema(None)  # type: ignore
    d: int = 1

    class Config:
        allow_mutation = True
        extra = Extra.forbid

a_instance = A(a=1, b=1, c=1, d=1, e=1)
# error: Unexpected keyword argument "e" for "A"

a_instance = A()
# error: Missing named argument "a" for "A"
# error: Missing named argument "b" for "A"

a_instance.a = 2
# (No errors)

class B(A):
    class Config:
        allow_mutation = False
        extra = Extra.allow

b_instance = B(a=1, b=1, c=1, d=1, e=1)
# (No errors)

b_instance = B()
# error: Missing named argument "a" for "B"
# error: Missing named argument "b" for "B"

b_instance.a = 2
# error: Property "a" defined in "B" is read-only

I think what remains is 1) handling generics/create_model, 2) not causing conflicts when assigning to Schema, and 3) maybe handling a couple other config settings.

Let's start with something small and build further features as we go forward.
Very dumb/simple question: how is this plugin distributed? As part of pydantic or as a separate package?

@dmontagu
I try your mypy plugin. I found a problematic case. Please check the result.
python source
from datetime import date
from pydantic import BaseModel

class A(BaseModel):
    a: date

A(a=date(2019, 1, 1))
A(a=1000)
A(a='2019-01-01')

output
$ mypy v.py
v.py:10: error: Argument "a" to "A" has incompatible type "int"; expected "date"
v.py:11: error: Argument "a" to "A" has incompatible type "str"; expected "date"

This code is valid for pydantic.  However, the type is not valid. pydantic cast some object from another type.  How should the mypy plugin assert types?
Would you tell me your thinking about the case?

I have configured the plugin to do type-checking on the __init__ arguments. This is actually the same way that your PyCharm plugin behaves -- I think you'll see warnings for those cases there as well.
The way I imagine incorporating the plugin into a code base, is that you whenever you initialize a model using named kwargs (rather than **kwargs), mypy would demand that you to ensure the types were correct. This still lets you use the models to perform parsing by initializing with a **kwargs_dict without mypy errors, it just helps you type check the inputs where you provide them.
I think it is probably not feasible / maintainable to design the plugin to understand whether one type will be successfully parsed into another. On the other hand, if there is no type-checking on the __init__ kwargs, I think the plugin loses a lot of value.

It would not be hard to modify the plugin to annotate each variable in the __init__ signature as having type Any; this would allow you to still at least check that you received all necessary kwargs, and no forbidden kwargs. And it wouldn't be hard to make it so that this could be turned on/off by specifying a different plugin name in your mypy config.
But I think this is of substantially lower type-checking value -- for maintenance purposes, I would rather design my code base in such a way that the Model.__init__ calls are always correctly typed (or I use a # type: ignore if not), and if I want to parse I either pass a **kwargs to the Model.__init__ or call parse_obj.
There is always the option to just not use the plugin as well; that will result in the smallest number of false positives 😄.
@koxudaxi Let me know what you think about this.

Also, @koxudaxi not sure whether you are using the gist version or the PR version of the plugin, but I'll push any updates to the PR version (#722). (I don't think it handles the issue you pointed out any differently, but I'm not sure whether that gist is currently up-to-date, and it will likely not remain up-to-date as I put more effort into the mypy plugin).

@dmontagu
Thank you for your answer.
OK, I make the pycharm-plugin which behave in the same way as the mypy plugin. 🙂
If the plugin is merged into master, then we may need a few examples.
I have already used the PR version.

#722 has been fleshed out pretty extensively, and now includes full docs describing its capabilities. I would appreciate if anyone interested in this could take a look and provide comments.


confirmation/recieve behavior (especially for HW wallets)

currently when recieving nano it immediately spawns a signing request to the ledger device out of nowhere without any explanation, maybe rather spawn a notification and just say to start the recieve process, and for the initial recieve, explain about representatives and maybe let the user immediately choose one or at least tell them what they are signing, as knowledge is the anchorpoint behind signing stuff.
an idea for also not making auto-recievers sad would be for the following:

initial recieve block always explained and manually triggered (even a short "you need a representative, we chose one for you, you can change it later if you want", along with the details of what the user is about to confirm)
in the settings for the recieve mode maybe add a checkbox, "initiate recieve manually in the above order" or "full auto recieve" depending on which direction would be better, which basically would switch between a 1-click batch recieve and a fully automatic recieve
when the hw wallet asks the user to confirm, show the user what is supposed to be confirmed.

I agree with some kind of message on the initial receive could be useful, however only possible in Nault. Can't be shown on the device unless the developer of the nano app can remake it.
I'm not sure we need another level of semi-auto receive. If you don't want it to be automatic it's easy to change in the settings to manual and for every new transaction, you get a notification along with a "new" icon plus an amount shown in the dropdown for the sidebar account selector. If you are in the receive screen they will automatically be populated there as well and you only need to press a button.

well in nault was my intention (hence posting here). on the device there's enough going on in a check already so the big explanation should be left to the big computer.
the thing I think that's slightly bad with autorecieve is how it literally triggers even if nault is in background, and that can get very weird very fast especially considering it's the default. if using it as a pure software wallet there obviously isnt a need for this
manual on the other hand seems more like that you would have to recieve every transaction one by one, which might not be awesome either if you are going to recieve a lot.

Ok got it. A message in Nault telling you that you should confirm on the device to receive xx Nano from abc makes sense. I think we should have it.

btw can nault ask the hw wallet whether it has auto-recieve on? because if yes the difference between "click to start batch recieve" and full auto could be precisely that.

Ok got it. A message in Nault telling you that you should confirm on the device to receive xx Nano from abc makes sense

as well as a little extra info on reps on initial recieve

btw can nault ask the hw wallet whether it has auto-recieve on? because if yes the difference between "click to start batch recieve" and full auto could be precisely that.

Don't know yet but it's not really the same thing IMO. In the device it means to skip on-device verification (which users have been reporting doesn't work always) while the auto in Nault is to receive everything without verification. The manual setting in Nault is meant to give more control in case you receive 100 transactions and just want to confirm 5 of them. I think they should continue to be completely independent of each other.

I know its not exactly the same thing, but a full auto recieve would work a lot better on a device which has a skip for recieve verification on since it doesnt trigger a verification or anything out of nowhere.
the idea was just that if device verification is on that it would maybe wouldnt do a big verify of what you recieve in the nault but at least ask the user to start the verification on device.
that auto-recieve on the device side doesnt always work is something I havent been aware but a certainly interesting info


no module named mediapipe

I converted python file become .exe but when I run that file there's notification "no module named mediapipe"
Anybody know why I can't run that file?

Hi @angistu, Could you please provide the steps to reproduce the above error. Thanks!


ValueError: could not convert string to float: ''

Hi, when convert the mace model, most of the models are successful, but this model fails.
[Info] nnet with left_context|right_context: 0|0
[Info] convert the kaldi type model ==> onnx model
2021-01-08 20:19:56,786 root INFO frames per chunk: 51, left-context: 0, right-context: 0, modulus: 1
Traceback (most recent call last):
  File "/home/test/workstation/kaldi-onnx/converter/utils.py", line 268, in read_matrix
    f = float(tok)
ValueError: could not convert string to float: '<BiasParams>'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "converter/convert.py", line 362, in <module>
    main()
  File "converter/convert.py", line 321, in main
    onnx_model, configs, trans_model = converter.run()
  File "converter/convert.py", line 81, in run
    self.parse_configs()
  File "converter/convert.py", line 173, in parse_configs
    self._components, self._transition_model = parser.run()

final.mace.zip

@groovemaxRong Please fill in the issue template, we need to check the issue from information such as yml file content.

@groovemaxRong Please fill in the issue template, we need to check the issue from information such as yml file content.


Issues in: A Lake Model of Employment and Unemployment

I noticed some errors in A Lake Model of Employment and Unemployment that effect the code and exercise solutions.

When creating the Lake Model class, the @property for lambda says to change alpha. This makes Exercise 1 incorrect.

Exercise 2 says to raise birth rate to b = .0025. I think you mean b=.025, and the code reads b=.003.

Also a minor note, but in The Model under Aggregate Variables, you say, ``Here and below, capital letters represent stocks and lowercase letters represent flows',' but e and u are also stocks, not flows. Did you mean to say rates?

Thanks as always.

Thanks @spspitze, much appreciated once again.
Can I ask your opinion on something?  I'm tempted to get rid of all the @property getter and setter stuff from the class.  Yes, it's good software engineering practice.  But for such a small class that's only used as a learning resource, do we really want it there?  To me it seems like too much boiler plate.
Maybe it's better just to have a comment saying that derived objects like g will change if you change the parameters, so be careful.
@Harveyt47 and @sayaikegawa, could you please give this a first pass and otherwise review the lecture?  Your thoughts on the same topic are welcome.
Also, if there's a typo, consider opening an issue on the Julia side.
Thanks all.

Hi @jstac , I also think that @property is too much.
(Only using class can update g by changing parameters.)
And I found a crucial typo in the solution code of exercise1, but it depends on the decision whether keep @property or not.  So I'll fix it later.

I'm a bit more positive about @property. As @sayaikegawa says, it's not super necessary, but it is a nice reminder of how classes work and that we may need to be careful when changing parameters. As a toy use of the feature, it helped remind me that it existed and how I would implement it in practice. But I could also see the lesson flowing smoother if it were cut.

Thanks for your input guys.  In order to focus on the economics, let's go ahead and cut the @property stuff from the main section.  But let's keep it as an exercise.
@sayaikegawa, would you mind to do this while you fix the typo, also collaborating with @Harveyt47  in #169 ?
You will need to change the text above the class, then change the class, then add an exercise which explains the issue with changing variables (why @property is needed), and then asks the reader to add the @property decorators.

I understand @jstac ,
We have other issue #51 for this lecture , so we will discuss and fix it all.
About changing 'flows' to 'rates', do you think it is ok?
Just in case I would like to ask you that, because I found "flow is analogous to rate" in Stock and flow.

Please change the sentence to "Here and below, capital letters represent aggregates and lowercase letters represent rates."

@sayaikegawa @jstac is this now resolved?

This issue is discussed in #51, close this.


Files count doesn't match Data file counts

In the Project view, the total number of files in the upper banner doesn't match the number of files listed under the Data (Raw, Processed) column. Below are two examples:

cerebral organoids: FILES = 99; Data = 24 (18 fastq + 6 bam)

should be: 18 fastq + 6 bam (I'm actually not 100% sure about how many bams there should be, but I think it's 1 bam per experiment and there were 6 experiments in this project) so the Data count is accurate, but the FILES count is very high.

human pancreas: FILES = 50,798; Data = 200 (100 fastq + 100 bam)

should be: 2,544 fastq + 2,544 bam (if it's 1 bam per experiment) so the Data counts are too low. I can confirm that all the primary and secondary bundles for this dataset are in the Data Store and are indexed.

Remaining questions:
3. Is the FILES sum counting additional analysis files? What is the end user goal of having this count?
4. Why are the counts of bam files shown? What about the matrix files or other analysis output files?
5. Why are there check marks in the Raw and Processed Data columns and I have to hover to get the count? Why not just have the file counts in those columns?
6. A user might want to know separately the size of the raw data (which tends to be big) and the processed data (which tends to be small) so they can determine whether they have capacity to download all of the data files or just the processed data. Is this possible in the Browser right now?

Re 1: There are data files that aren't fastqs or bams. Like matrix files, for example. Those files make up the difference to 99. To make num(files) == num(fastq) + num(bams) we'd have to ignore all other data files, which I don't think is a good idea.
Re 2: This duplicates https://github.com/DataBiosphere/azul/issues/486 which is fixed and deployed to dev only at the moment.

DataBiosphere/azul#486 is out on staging now so the cap on # of files to 100 is fixed.
There are two fastqs (read1 and read2), and two bams (qc and rsem) per experiment so the number should be 5144 for both. Do you concur, @malloryfreeberg?

Got it 👍
Ok. There should be 5,088 raw fastq files (2,544 read1 + 2,544 read2). If there are 2 bams per pair of files, then there should be 2 * 2,544 = 5,088 bams.
Showing the total file count just seems awkward as it doesn't add up from anywhere else in the Browser, and someone not familiar with what all the output files are (like myself) might be confused or worried about why they are downloading so many "extra" files. This point could probably use further discussion - I'm happy to make a new issue about this and punt it till after the CBeta.
Agreed 👍 I'd rank fastqs and matrix files as most important, followed by bam.
Cool 👍 happy to punt this till after the CBeta.
I see file sizes broken down by file type when I click "Request File Manifest", but not just in the File tab. Is this the intended behavior? I looked at both the staging and dev Browsers.

3: https://github.com/HumanCellAtlas/data-browser/issues/321
4: https://github.com/HumanCellAtlas/data-browser/issues/322
5: https://github.com/HumanCellAtlas/data-browser/issues/323

I see file sizes broken down by file type when I click "Request File Manifest", but not just in the File tab. Is this the intended behavior? I looked at both the staging and dev Browsers.

I don't think anyone put much thought into this. First of all, each file should have its size displayed in a file size column. We don't have a good vehicle in the current UI to display a file type summary,

Follow-up tickets have been created.
Feel free to create a ticket for item 6, @malloryfreeberg.


License?

Is this MIT licensed? If so i can provide a pull request to add the license.
And also, is it possible to get this repository tagged with versions?

Yes it is MIT licensed. I'll look at tagging after your pull request.

About when will you do the pull request? I was just wondering. No hurry.

From now on I'll update the version with npm version. This will auto tag the repo. I should have been doing this before, but old habits die hard.


Remove requirements that are only used by fontbakery-dashbord.

There's no usage RethinkDB or AMQP in this repository anymore.

cool! Thanks


Kine TLS support for k3s

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

During the development of support for kine within rke2, we encountered the need for kine to support TLS within k3s.

Describe the solution you'd like

Three k3s CLI flags that will set TLS in kine

Describe alternatives you've considered

Additional context

Don't add new CLI flags for this. We already generate server certs for etcd, I would recommend just reusing those for kine.

@brandond I didn't saw the certs, but you mean wiring up the ServerETCDCert ServerCA and the ServerETCDKey that are in the runtime right?


Cluster name is a required parameter when running a simulation

This doesn't seem to be enforced.

closed with #549


Removing alert when logging after aria.core.Log is disposed

When aria.core.Log is disposed, the previous code was replacing the error logging function by a function which displayed the error using alert. The alert could sometimes be triggered during the tests in IE 7 and
blocked the following tests. This commit replaces it with logs on the console.

@benouat Thank you for your review!


Http authorization in docker evnironment? 🔑

README contains Docker section with information about template label:hostname:port:dbIndex:password which is using in REDIS_HOSTS environment variable. How can I use this one to add user authorization (login and password for web ui).
I see parameters --http-u and --http-p for application itself. But there is no anything about these in entrypoint.sh.
Also I found few docker images that try to solve this problem, but they are deprecated (last activity 1+ years ago). I can create one more image for ur project, and after few month it will deprecate too 😁
Is it possible to replace this template with : separation to specific ENV variables like:

REDIS_PORT
REDIS_HOST
REDIS_PASSWORD
HTTP_USER
HTTP_PASSWORD
etc...

Please, update your docker image with ENV variables 😋
Or if not, tell me why and how can I put http auth variables to docker-compose file in environment section.
Thanks and cheers ❤

Awesome! ☕ 🍪

Maybe I am missing something but this does not seem to work.. my compose:
 environment:
      - REDIS_HOSTS=local:redis-container:6379
      - HTTP_USER=user
      - HTTP_PASSWORD=pass

Result: no auth prompt


WIP: Identity strategy in Syncer virtual workspace based on transformations

Summary
This PR implements:

a synchronous resource transformation framework that can be used in the virtual workspaces
the use of this framework to maintain syncer-specific views of a single KCP resource
builds on top of this to define a layer that very easily allows defining syncing strategies
defines the default identity strategy :

Spec flows down unchanged from the KCP resource to all SyncTargets
Every SyncTarget-related resource status flows up to the syncer-specific view diff annotation on the main KCP resource.

How to test:

# Start KCP:

./bin/kcp start --feature-gates KCPLocationAPI=true

# Create a `negotiation` workspace in a dedicated org:

kubectl ws create org --enter
kubectl ws create negotiation --enter

# Prepare for the Syncer installation:

kubectl kcp workload sync us-west1 --replicas=0 --resources=deployments.apps,services --syncer-image=syncer --output-file=us-west1-syncer.yaml
kubectl kcp workload sync us-east1 --replicas=0 --resources=deployments.apps,services --syncer-image=syncer --output-file=us-east1-syncer.yaml

# Apply the syncer manifest to the us-west1 physical cluster:

kubectl --kubeconfig contrib/demo/clusters/kind/us-west1.kubeconfig apply -f us-west1-syncer.yaml
kubectl --kubeconfig contrib/demo/clusters/kind/us-east1.kubeconfig apply -f us-east1-syncer.yaml

# Start the syncers locally:

./bin/syncer --sync-target-name us-west1 --from-kubeconfig ${KUBECONFIG} --from-context system:admin --from-cluster root:org:negotiation --to-kubeconfig contrib/demos-unmaintained/demo/clusters/kind/us-west1.kubeconfig --resources="deployments.apps" --resources="services"

./bin/syncer --sync-target-name us-east1 --from-kubeconfig ${KUBECONFIG} --from-context system:admin --from-cluster root:org:negotiation --to-kubeconfig contrib/demos-unmaintained/demo/clusters/kind/us-east1.kubeconfig --resources="deployments.apps" --resources="services"

# Create an APIExport in the negotiation domain:

kubectl apply -f - << EOF
apiVersion: apis.kcp.dev/v1alpha1
kind: APIExport
metadata:
    name: kubernetes
spec:
EOF

# Create 2 locations in the negotiation workspace

kubectl label synctarget/us-west1 region=west --overwrite
kubectl label synctarget/us-east1 region=east --overwrite

kubectl apply -f - << EOF
apiVersion: scheduling.kcp.dev/v1alpha1
kind: Location
metadata:
  name: west
  labels:
    region: west
spec:
  instanceSelector:
    matchLabels:
      region: west
  resource:
    group: workload.kcp.dev
    resource: synctargets
    version: v1alpha1
EOF

kubectl apply -f - << EOF
apiVersion: scheduling.kcp.dev/v1alpha1
kind: Location
metadata:
  name: east
  labels:
    region: east
spec:
  instanceSelector:
    matchLabels:
      region: east
  resource:
    group: workload.kcp.dev
    resource: synctargets
    version: v1alpha1
EOF

# Create a `user` workspace and label the default namespace standard resources to have the synced

kubectl ws ..
kubectl ws create user --enter

# Create a binding in `user` workspace to the APIExport in the negotiation workspace

kubectl apply -f - << EOF
apiVersion: apis.kcp.dev/v1alpha1
kind: APIBinding
metadata:
    name: kubernetes
spec:
    reference:
        workspace:
            path: root:org:negotiation
            exportName: kubernetes
EOF

# Create 2 placement resources in the `user` workspace:

kubectl apply -f - << EOF
apiVersion: scheduling.kcp.dev/v1alpha1
kind: Placement
metadata:
  name: west
spec:
  locationResource:
    group: workload.kcp.dev
    resource: synctargets
    version: v1alpha1
  locationSelectors:
  - matchLabels:
      region: west
  locationWorkspace: root:org:negotiation
  namespaceSelector: {}
EOF

kubectl apply -f - << EOF
apiVersion: scheduling.kcp.dev/v1alpha1
kind: Placement
metadata:
  name: east
spec:
  locationResource:
    group: workload.kcp.dev
    resource: synctargets
    version: v1alpha1
  locationSelectors:
  - matchLabels:
      region: east
  locationWorkspace: root:org:negotiation
  namespaceSelector: {}
EOF

# Create a deployment

kubectl apply -f contrib/examples/ingress-demo/full-example.yaml

# See the deployment has been assigned to the 2 locations and synced to the 2 physical clusters:

kubectl --kubeconfig contrib/demos-unmaintained/demo/clusters/kind/us-west1.kubeconfig get deployments --all-namespaces
kubectl --kubeconfig contrib/demos-unmaintained/demo/clusters/kind/us-east1.kubeconfig get deployments --all-namespaces

# See that SyncTarget-specific views of the deployment have been added as internal annotations:

kubectl get deployments -o yaml

# To get the view of the KCP exactly as the Syncer in a SyncTarget sees it, just point to the right syncer virtual workspace, and see the Syncer-related deployment status:

kubectl --kubeconfig contrib/demos-unmaintained/demo/clusters/kind/us-west1.kubeconfig get deployments --all-namespaces --field-selector metadata.name==httpecho -o yaml
kubectl --kubeconfig contrib/demos-unmaintained/demo/clusters/kind/us-east1.kubeconfig get deployments --all-namespaces --field-selector metadata.name==httpecho -o yaml

/test e2e

/test e2e

/retest

Work finished. PROOF PR not required anymore.


Method GetFramesAtIndex haven't been added into Xamarin.Android.Supportv<IP_ADDRESS>

Xamarin.Android Version (eg: 6.0):
Xamarin.Android.Support.XX  v<IP_ADDRESS>

Operating System & Version (eg: Mac OSX 10.11):
Support Libraries Version (eg: 23.3.0):
Describe your Issue:
According to the android document , method getFrameAtIndex()  in class
android.media.MediaMetadataRetriever have been added  in API level 28.
https://developer.android.com/reference/android/media/MediaMetadataRetriever.html#getFramesAtIndex(int, int, android.media.MediaMetadataRetriever.BitmapParams)
But I couldn't find the method getFrameAtIndex() in  xamarin android.
Steps to Reproduce (with link to sample solution if possible):

create a new xamarin android project

install the  Xamarin.Android.Support.Design v<IP_ADDRESS>

write code as follows
MediaMetadataRetriever retriever = new MediaMetadataRetriever();

But i couldn't find the method getFrameAtIndex .
Include any relevant Exception Stack traces, build logs, adb logs:

Please also note that there have been several metatdata keys added in API 28. Specifically useful to the above method is METADATA_KEY_VIDEO_FRAME_COUNT.


Add position types

Do not merge yet: this could use some tests.
Adds a types::pos module with Protocol impls for [T; 3] where T: Protocol, meant to represent 3D coordinates (block positions as well as exact ones). Additionally, a BlockPos type encodes [i32; 3] positions as the Position protocol type.

On the phone. proto_len for [i32; 3] is 12 not 8.

UpdateSign can't be enabled. We still have no Chat type, do we?

Ok, forget about UpdateSign.

@toqueteos: I'm assuming you're referring to BlockPos::proto_len? That is actually 8, since this is the “26 bits of x, 12 bits of y, 26 bits of z” type.

@fenhl Yup, that's right. Android's GitHub app isn't that great for reviewinh, my bad. I'll clean up comments when I get home.
Seems good to merge but I'm worried about fixed point positions and those triplets multiplied by random values (gaussian, 8, ...)

We can always add Mul impls later if that's what you're talking about.

@fenhl Those are encoding operations. Example: http://wiki.vg/Protocol#Sound_Effect
Sound Effect (0x29) Encode does * 8, Decode does / 8, if this is automatic we never forget to do those.

ah, good point. Those are the fixed-point number types. We will have to implement all of these manually until integer-parameterized types land.

Ready to merge.

I suppose we can add tests later.


[Platform] Change Binance api from explorer to RPC

Explorer api is outdated, let's use RPC to prevent issues like constant fails of explorer

RPC not meant to serve as a source of transactions, it only keep history for 24 hours or so
https://dex.binance.org/api/v1/transactions?address=bnb1xwalxpaes9r0z0fqdy70j3kz6aayetegur38gl&txType=TRANSFER&rows=25&page=1
vs
https://explorer.binance.org/api/v1/txs?address=bnb1pyzndgy0clkrehqke6h5jgrtdqzgdc78ac4qsr&page=1&rows=25

Maybe we will need to write open source rpc?)

https://dex.binance.org/api/v1/transactions?address=bnb1m7ly8xsty9rcfnhcdjnde4qtns27j0umpnv3ja
https://docs.binance.org/api-reference/dex-api/paths.html#apiv1transactions
max = 3 months

https://dex.binance.org/api/v1/transactions?address=bnb1m7ly8xsty9rcfnhcdjnde4qtns27j0umpnv3ja
https://docs.binance.org/api-reference/dex-api/paths.html#apiv1transactions
max = 3 months

This then
https://dex.binance.org/api/v1/transactions?address=bnb1pyzndgy0clkrehqke6h5jgrtdqzgdc78ac4qsr&txType=TRANSFER&rows=25&page=1&endTime=1578168727000

Latest block
GetBlockByNumber
GetTokens of account


LastLoggedInUser

I don't seem to be able to get the return described here: https://documentation.n-able.com/N-central/troubleshooting/Content/kb/How-to-get-Last-Logged-In-User-for-a-device-from-N-central-API-using-SOAP-calls.htm
Any ideas?

This information is retrieved by the command Get-NCDeviceList , which uses the DeviceList API specified in your link.


Help , i dont understand why my asf doesnt open!

So i install .NET Core prerequisites on ubuntu 18
 :~$ sudo apt install liblttng-ust0 libcurl3 libssl1.0.0 libkrb5-3 zlib1g libicu60
Reading package lists...
Building dependency tree...
Reading state information...
libicu60 is already the newest version (60.2-3ubuntu3).
libkrb5-3 is already the newest version (1.16-2build1).
zlib1g is already the newest version (1:1.2.11.dfsg-0ubuntu2).
libcurl3 is already the newest version (7.58.0-2ubuntu2).
liblttng-ust0 is already the newest version (2.10.1-1).
libssl1.0.0 is already the newest version (1.0.2n-1ubuntu5.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

And a have this bot
{
  "SteamLogin": "ACCOUNT",
  "Enabled": true,
  "AutoSteamSaleEvent": true
}

and i give permission for ArchSteamFarm for execute
chmod +x ArchSteamFarm
when i ran ArchSteamFarm, nothing happens neither error msg

Hey there! Thank you for contacting our development team at GitHub.
We believe that your issue does not meet our contributing guidelines referenced during issue creation.

Before you open an issue please review the contributing guidelines for this repository.
(...)
I understand that if my issue is not meeting contributing guidelines specified above, especially if it's a question or technical issue that is not related to ASF development in any way, then it will be closed and left unanswered.

Reason for closing: this question is not related to ASF development in any way.
Please check out our wiki if you need further help.
Have a nice day!
~Archi


Use gl3w for every platform.

Needs to be bulletproofed on mac.

So, we be mergin' soon ?

To merge this we need to use External project to retrieve gl3w and not rely on EXECUTE commands on CMake for it to work on windows.


0.5.x

Hi, could you please provide more detail to help review this PR? Thanks!

Hello, closing, as this PR only contains build system generated files. If you still want to contribute to our project, please submit a new PR with your contributions, and don't forget to add an explanation about your changes :wink:


Move Queue related stuff into EngagementRepository

Jira issue:
https://glia.atlassian.net/browse/MOB-2950
What was solved?
I moved Queue-related stuff to the EngagementRepository. This is the final step collecting all the engagement-related stuff in one place. So now all the events related to the Engagement are handled in EngagementRepository. I also fixed Queueing state for the chat bubble.
Release notes:

[ ] Feature
[x] Ignore
[ ] Release notes (Is it clear from the description here?)
[ ] Migration guide (If changes are needed for integrator already using the SDK - what needs to be communicated? Add underneath please)

Additional info:

[ ] Tests updated? Added? Unit, acceptance, snapshots?
[ ] Logging for future troubleshooting of client issues added?

Screenshots:

@andrews-moc Thank you for reviewing, I addressed the comments and also moved the Unexpected error and Unstaffed queue dialogs to EngagementCompletionController

@DavDo New changes are looking good to me. 👍


Swift 2.1 update

Line: 181
hexColorString = hexColorString.substringFromIndex(hexColorString.startIndex.advancedBy(1))
Line: 184
if hexColorString.characters.count != 6 {

Thanks for making a pull request. This issue is now resolved.


Death spam bug

Describe your bug here.
An incredible amount of spam while trying to survive and dying ingame causes the game to crash. Also i just ported my mod from 0.4.2 to 0.5
Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
Was just porting my psych 0.4.2 mod to psych 0.5

Also i meant note spam that caused the game to lag and crash

Something could have gone wrong if you merged versions via Github.

actually, It is not caused by the note spam, it is caused if you lose all your hp, so it must be an issue with porting older to newer


I see absolutely no overlay

Like I mentioned I see no overlay at all when cards are being played by the Opponent other than the normal tracking plugin.
Any way to fix that?

Are you playing in Wild or Tavern Brawl? If so, the plugin currently only works in Standard.

Also, if you're seeing the cards the opponent plays via the regular HDT tracker, that suggests the plugin is not enabled - please double-check in Options -> Plugins that the switch next to "Deck Predictor 1.2.2" is enabled.


does jsonschema support verifying optional field in json?

I am trying to figure out whether jsonschema supporting verifying optional field in json or not. I tried the following code:
from jsonschema import validate

# your code here
schema = {
    "type" : "object",
    "properties" : {
        "price" : {"type" : "number", "required": false},
        "name" : {"type" : "string"},
    },
}

validate({"name" : "Eggs", "price" : 123.123}, schema)

I have this error:
---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
<ipython-input-6-6a64e78dd26e> in <module>
      5     "type" : "object",
      6     "properties" : {
----> 7         "price" : {"type" : "number", "required": false},
      8         "name" : {"type" : "string"},
      9     },

NameError: name 'false' is not defined

So this feature isn't supported yet?
I found related question here

I have found some clues. issue closed


Isolated declarations inconsistent about banning default assignment patterns for function parameters

🔎 Search Terms

isolated declarations
function parameter
default value

🕗 Version & Regression Information
5.5.0-dev.20240514
⏯ Playground Link
https://www.typescriptlang.org/play/?target=99&isolatedDeclarations=true&ts=5.5.0-dev.20240514#code/KYDwDg9gTgLgBAMwK4DsDGMCWEVwJ4AUAhlFEXgFxwpIC2ARsFANoC6cAvHGwDRxoRaYEkRjQqxKjQZM+9KXUZQAlJwB81RU2VUAbhEwATOAG8AvgG4AUFdCRY-HAGd4ITqatwv+YqXIKZFnYuXkchETEoCSIApTlY7XVNQJ04fSNTMyszIA
💻 Code
export function y(array: number[] = [], comparator: (a: number, b: number) => number): void {};

export const x = {
    y(array: number[] = [], comparator: (a: number, b: number) => number): void {}
}

🙁 Actual behavior
For function x and y no diagnostic is raised on the property array at all.
For method z.x, a diagnostic is raised on array regarding the type annotation of array not including undefined. For method z.y, no diagnostic is raised.
🙂 Expected behavior
I would expect that in all four cases to raise an ID diagnostic on array, with the only possible fix being marking comparator as optional, or adding a default value assignment.
This is for multiple reasons:

The diagnostic raised for z.x suggests changing the type annotation to T | undefined. This is because without ID, TypeScript would automatically add | undefined to the emitted declarations. However, this is a bad suggestion, as doing so does not just change the external signature of the function, but also changes the type for the parameter of the function, in the function body, to a new type that does not match with the actual type of the parameter in the function (it can never be undefined in the body itself, because any undefined value would be replaced with the default argument).
An isolated declarations emitter can not determine whether it is safe to emit this or not, because knowing that requires knowing whether the type of array contains undefined. See

Additional information about the issue
cc @dragomirtitian

I opened #58637 This PR ensures we give errors for function declaration/class methods as well. It also only errors if the type doesn't syntactically contain undefined, and if the type can't be proven to not contain undefined. This means that number[] or T | undefined will not error, since for the first we know it does not contain undefined and for the second we know it does. The only case that will error is where the type of the parameter is a type reference such as T for which we would need to lookup type information to determine if it contains undefined or not.