<EMAIL_ADDRESS>

Cannot bypass 2-step Verification for my Google account

I understand that you've been locked out of your account and would like some assistance in recovering it. However, Google Account Recovery has nothing to do with this project from Developer Relations. No one working on any of the Github projects can help you with this issue. Account Recovery is a completely different department and they have their own rules to follow from the legal department.
These issues and opening/closing them is not going to achieve anything. Your only option is to follow the account recovery process. If you are unable to complete that successfully, then unfortunately you have lost access to your account. I'm sorry of this is new information to you, I do understand the pain. I myself am locked out of numerous accounts I wish I had access to from years past. Nothing makes it easier, but at some point you do your best to move on.


Update Tickets class to use datetime as input

I have modified the Tickets class a little bit to make it slightly easier to work with (in my opinion). Feedback is of course welcome.
One thing that I ran into is that although a datetime is used as input for the tickets, it returns a timestamp at midnight. Is that expected behavior?

Many thanks, that is indeed much more user-friendly ;). I left a suggestion for even more user-friendlyness. I also saw that the unit test on Yoda is failing. Is it possible to get that to work too?

That is basically my question to you. It seems that all tickets are expiring at midnight. Is that the expected/correct behavior? It seems counter-intuitive.


Transform between world frame of FAT and normal RVIZ world frame

World cant be gauranteed to be at a certain place


Correction for raw affiliation INRIA Lorraine, Campus Scientifique, F-54506, Vandoeuvre-les-Nancy, France

Correction needed for raw affiliation INRIA Lorraine, Campus Scientifique, F-54506, Vandoeuvre-les-Nancy, France
raw_affiliation_name: INRIA Lorraine, Campus Scientifique, F-54506, Vandoeuvre-les-Nancy, France
new_rors: 02kvxyf05
previous_rors: 02mn0vt57;02kvxyf05
works_examples: W2065347132
contact: f23a975f53730aaa59236c5bdc240754:53fb4b81fb65417bb768b1e4 @ inist.fr

This issue was accepted and ingested by the OpenAlex team on 2024-10-10. The new affiliations should be visible within the next 7 days.


Parallelize tox tests

Description
Runs tox tests in parallel using pytest-xdist. To do that, this PR also removes the test_cpp_regression.py and build files that use the test headers from GridTools C++.
Blocked by #1024. It technically does not require those changes, but my editor is configured to use those dependencies at the moment, and I don't want to switch things over ;)

This worked on my local copy, hmm. Will retry after the eve transition.

bors try

🎉

tox test time went from 70 minutes on the dual-core GitHub runner to 35, a perfect speedup.

GitLab CI time on Piz Daint went from 100 minutes to 35 minutes.

Wow those are nice speedups!

I think auto will pick physical cores, so would be 12. But with tox tests still running 35 minutes, the usefulness of shorter run times becomes less, even if scaling stays perfect. If you have time to play with it a bit today, I'm happy to merge whatever you pick tomorrow.

bors try


fix webhook certificate reconciler in case no SeedWebhookConfig is there

How to categorize this PR?

/kind bug
What this PR does / why we need it:
The PR fixes the webhook certificate reconciler. When no SeedWebhookConfig is there the reconcileSeedWebhookConfig
function panic'ed.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note:

A bug has been fixed which prevented extension controllers to register shoot webhooks only (w/o any seed webhooks).

/cherry-pick release-v1.48


Support for CP_UTF8 by c-runtime

When will C-runtime libraries in visual studio be changed to support MBCS with more than 2 bytes?

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

ID: 8a28119a-77f2-160c-a4f1-f90ef9153423
Version Independent ID: 28b24e82-f0ef-cceb-2136-f8dbfabfcadc
Content: Use the Windows UTF-8 code page - UWP applications
Content Source: windows-apps-src/design/globalizing/use-utf8-code-page.md
Product: uwp
Technology: design
GitHub Login: @Karl-Bridge-Microsoft
Microsoft Alias: kbridge

Hi @maxderhak  - This is product feedback and not specifically about the documentation. Please contact the following support channel.

The Feedback Hub app is the right place to lobby for a change, a feature, or to make a suggestion.

Here are all of the developer support resources, for completeness.

For developer issues, or suspected product bugs, there's Microsoft Support; a support engineer will look at the repro and see whether the issue is a Microsoft product bug, or something else. If it's a bug with a Microsoft product then the ticket will be free of charge.
For community assistance with development questions, there are our forums, and StackOverflow.
The Windows developer support site explains other support options.
The Visual Studio developer community is available, and responsive. The former User Voice feature is now there on the Suggest a feature tab, if you want to lobby for a change, a feature, or to make a suggestion.

If you receive assistance via any support resource, and you believe that information would help us improve the docs, then please come back and let us know.


Make max number of Redis connections configurable

Only applies to the async mode.

I ran several tests on my development machine and the throughput and latencies stop improving at 10 connections more or less. As always, the optimal value depends on many factors, that's why it's configurable.


AbstractTableObject not define SchemaName

SchemaName is only defined in ConstraintObject and ColumnObject but it's not defined in TableObject

TableObject inherits from AbstractTableObject.php which has it commented out. https://github.com/zendframework/zend-db/blob/master/src/Metadata/Object/AbstractTableObject.php#L16. There might be a reason for it perhaps the commit history has something about it.

This issue has been moved from the zendframework repository as part of the bug migration program as outlined here - http://framework.zend.com/blog/2016-04-11-issue-closures.html
New issue can be found at: https://github.com/zendframework/zend-db/issues/120


Download link broken

[Enter feedback here]
The download link doesn't work and returning 404. Please update the link as this version is only compatible to Dynamics 365 FNO which is supposed to available in this page..
https://download.microsoft.com/download/8/8/0/880BCA75-79DD-466A-927D-1ABF1F5454B0/PBIDesktopSetup-2020-08_x64.exe

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

ID: 93f23670-d83a-dffc-c17a-8cef53d0de7b
Version Independent ID: 1b63f449-9fbd-3544-bee5-17c70fe55229
Content: Previous monthly updates to Power BI Desktop and the Power BI service - Power BI
Content Source: powerbi-docs/fundamentals/desktop-latest-update-archive.md
Service: powerbi
Sub-service: pbi-fundamentals
GitHub Login: @davidiseminger
Microsoft Alias: davidi

Hi, @zhenfangyan -- thanks for asking! Assigning to the author to investigate.


Allow hoisting code in if-conversion.

When doing if-conversion, we do not currently move code out of the side
nodes.  The reason for this is that it can increase the number of
instructions that get executed because both side nods will have to be
executed now.
In this commit, we add code to move an instruction, and all of the
instructions it depends on, out of a side node and into the header of
the selection construct.  However to keep the cost down, we only do it
when the two values in the OpPhi node compute the same value.  This way
we have to move only one of the instructions and the other becomes
unused most of the time.  So no real extra cost.
Fixes #1526.

There is a thorny issue.  The value number table needs the context, and now the ir context contains a pointer to the value number table.  This creates problems for the headers.  Let me know if there is a better way to handle it, or if I should just remove it.

Not at this time.  if conversion creates new statements that do not get a value number.  The other one that uses it is redundancy elimination.  I do did not change it to use the one in the ir context.  However, that one could.  We can create a follow up issue for that.

I've opened https://github.com/KhronosGroup/SPIRV-Tools/issues/1543 to follow up on Alan's comments.


Adds ffmpeg argument for ensuring default subtitle is set

Please follow the guide below

You will be asked some questions, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your pull request (like that [x])
Use Preview tab to see how your pull request will actually look like

Before submitting a pull request make sure you have:

[x] At least skimmed through adding new extractor tutorial and youtube-dl coding conventions sections
[x] Searched the bugtracker for similar pull requests
[x] Checked the code with flake8

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[x] Bug fix
[ ] Improvement
[ ] New extractor
[ ] New feature

Description of your pull request and other information
Using youtube-dl 2019.09.01 & ffmpeg 4.1.
Arguments: --embed-subs
Result:  MKV without default subtitle set.
Issue:  FFmpeg sets default subtitle or not depending on container or input.  Not consistent!
Also, most MKVs with subtitles come with a default subtitle preset (It is part of Matroska specification).
Solution: Always specify first subtitle in stream as the default subtitle.
More info:
https://superuser.com/a/908527
https://trac.ffmpeg.org/ticket/2402

An alternative to patching, people that want to set their subtitle properly can just use:   --postprocessor-args '-disposition:s:0 default'


Fix warnings in shampoo

Codecov Report

Merging #176 into master will decrease coverage by 0.07%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #176      +/-   ##
==========================================
- Coverage   86.36%   86.28%   -0.08%
==========================================
  Files          19       19
  Lines        1056     1050       -6
  Branches      247      247
==========================================
- Hits          912      906       -6
  Misses         80       80
  Partials       64       64

Impacted Files
Coverage Δ

torch_optimizer/shampoo.py
86.36% <100.00%> (ø)

torch_optimizer/sgdp.py
76.71% <0.00%> (-0.92%)
:arrow_down:

torch_optimizer/adamp.py
89.87% <0.00%> (-0.38%)
: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 13db710...b96ec46. Read the comment docs.


Add a condition on mlock capability addition

To prevent command from running and reporting changes when unneeded.

Thank you!


Can you provide all the test data of synthetic rain image and real rain image after rain?

I am very happy that you have made so many contributions. Can you provide all the data for the test after the rain with the synthetic rain image and the real rain image?

Hi @FUNGERN ,
test for synthetic is provided in "data/test/derain/SIRR_test/" folder,
for real rain images test data is provided in "data/test/derain/real_input" folder

Hello, I used your model to remove the rain from the real image. The effect of removing the rain is as follows. I want to perform 100 tests on the synthetic image data set Rain100H, and found that the rain removal effect is not ideal, as shown in the figure below. Could you please explain if I did it unreasonably? thank


Error: When Trying To Use Hindi Dataset

I was trying to use the agr_hi_train.csv (Hindi dataset) for this code but I am getting the following error in this line
train_dataset = BertData(X_train, y_train, word_max_len)
TypeError: 'float' object is not iterable

What is the full error..?


Fix iOS lib size

Fixes an issue with library path uniffi build with lib crate type that made the iOS static lib go from 35-40 to 80 MB.
Uses this original fix: https://github.com/mozilla/uniffi-rs/pull/1671

Codecov Report
Patch coverage has no change and project coverage change: +1.44% :tada:

Comparison is base (fd96fdd) 88.39% compared to head (b9bde16) 89.83%.

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #768      +/-   ##
============================================
+ Coverage     88.39%   89.83%   +1.44%
============================================
  Files           153       82      -71
  Lines         17766    14693    -3073
  Branches        842        0     -842
============================================
- Hits          15704    13200    -2504
+ Misses         1842     1493     -349
+ Partials        220        0     -220

Flag
Coverage Δ

uitests
?

uitests-android
?

uitests-ios
?

unittests
89.83% <ø> (+2.87%)
:arrow_up:

unittests-android
?

unittests-ios
?

unittests-rust
89.83% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
see 71 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Example Code outdated

Hello,
I am a student in computer sciences, and for my Master Thesis I would need to use Karabo.
Unfortunately, I can't install it...
I first tried following this page : https://i4ds.github.io/Karabo-Pipeline/installation_user.html
but when I run this command: conda install -c i4ds -c conda-forge karabo-pipeline I get this answer:
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: -
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed

UnsatisfiableError: The following specifications were found to be incompatible with each other:

Output in format: Requested package -> Available versions

I also tried installing all the dependencies on this link (https://i4ds.github.io/Karabo-Pipeline/installation_no_conda.html) and follow the first step but after running those commands:
brew tap ska-ska/tap #tap into repository where casacore is
brew update
brew install cmake git-lfs casacore boost

I don't get how I can run the ./install.sh as I don't have the karabo-pipeline installed on my PC.
I even installed OSKAR and Rascil manually, as it is explained on the same link but it didn't seems to change my issue.
What can I do please ?
PS: I have the python 3.10.7 version and the 3.9.12

Related to #125 - searching for a solution

@patoch01220
I did find the culprint. Until it is fixed, here is a workaround (only works if you do not use rascil):

Checkout this repo
Open the environment-dev.yaml file (ignore the environment-dev-mac.yaml)
Comment out rascil on line 8 (with a '#')
Create an dev environment with conda env create -f environment-dev.yaml

You can now use the Karabo Scripts directly (do not include them as a package).

@fschramka
Great thank you very much, I tried what you said by forking your repo and cloning it on my machine and do the changes you told me.
It works just fine like this!
Anyways I still have to apply some small changes in my code compare to the one on your Example jupyter notebook, but still I can now get familiar with those tools.
Can I ask you if you will be able to fix this issue soon? I have a meeting with my proffessor soon and I will explain him what I've done so far and the issues I encontered. SoI thought it would be pertinent to have an idea if this issue would be resolved soon or not, so he can adapt the work he will assign to me for next weeks.
Once again, thank you very much, I really appreciate your help!

Small update about my journey,
I start trying to reproduce the Example notebook you gave and until now everything worked well.
I reached the cell number 6 I think, containing this code:
observation_settings = observation.Observation(100e6,
                                               phase_centre_ra_deg=phase_center[0],
                                               phase_centre_dec_deg=phase_center[1],
                                               number_of_channels=64,
                                               number_of_time_steps=24)

interferometer_sim = interferometer.InterferometerSimulation(channel_bandwidth_hz=1e6)
visibility_askap = interferometer_sim.run_simulation(askap_tel, sky, observation_settings)

But when I run it it gives me the following error:
RuntimeError                              Traceback (most recent call last)
Cell In [61], line 8
      1 observation_settings = observation.Observation(100e6,
      2                                                phase_centre_ra_deg=phase_center[0],
      3                                                phase_centre_dec_deg=phase_center[1],
      4                                                number_of_channels=64,
      5                                                number_of_time_steps=24)
      7 interferometer_sim = interferometer.InterferometerSimulation(channel_bandwidth_hz=1e6)
----> 8 visibility_askap = interferometer_sim.run_simulation(askap_tel, sky, observation_settings)

File ~/Desktop/Patoch/Uni/2nd-Year/MasterThesis/master-thesis/Karabo-Pipeline/karabo/simulation/interferometer.py:115, in InterferometerSimulation.run_simulation(self, telescope, sky, observation)
    107 def run_simulation(self, telescope: Telescope, sky: SkyModel, observation: Observation) -> Visibility:
    108     """
    109     Run a singel interferometer simulation with the given sky, telescope.png and observation settings.
    110     :param telescope: telescope.png model defining the telescope.png configuration
    111     :param sky: sky model defining the sky sources
    112     :param observation: observation settings
    113     """
--> 115     os_sky = sky.get_OSKAR_sky()
    116     observation_settings = observation.get_OSKAR_settings_tree()
    117     input_telpath=telescope.path

File ~/Desktop/Patoch/Uni/2nd-Year/MasterThesis/master-thesis/Karabo-Pipeline/karabo/simulation/sky_model.py:447, in SkyModel.get_OSKAR_sky(self)
    441 def get_OSKAR_sky(self) -> oskar.Sky:
...
--> 344     raise RuntimeError("OSKAR library not found.")
    345 t = Sky()
    346 t.capsule = _sky_lib.from_array(array, precision)

RuntimeError: OSKAR library not found.

So i tried installing OSKAR (but It was already installed before) like you explained on this link: https://i4ds.github.io/Karabo-Pipeline/installation_no_conda.html which seemed to work.
I then checked and I do have Oskar in my applications, but this notebook cell still gave me the same error.
Could it be due to the issue I have with Rascil? And if not, do you have any idea on how I could solve this, because I honnestly have no idea.
Thank you very much!

@patoch01220

PS: Would it be possible to keep me in touch once the problem would be solved?
Sure - I will post it the moment it is fixed :)

@patoch01220
The example code is outdated. If you check
https://github.com/i4Ds/Karabo-Pipeline/blob/b29fcfc233f2b7b6e891b4199b6b82f0d060b638/karabo/simulation/observation.py#L28
then you can see, that an observation does not take an Integer (100e6 in your example) as the first argument :) Try this instead:
  1 observation_settings = observation.Observation(start_frequency_hz = 100e6,
  2                                                phase_centre_ra_deg = phase_center[0],
  3                                                phase_centre_dec_deg = phase_center[1],
  4                                                number_of_channels = 64,
  5                                                number_of_time_steps = 24)

But that does not solve your 344 raise RuntimeError("OSKAR library not found.") problem which is most probably related to the whole macOS setup. We will track the macOS setup in #125 - this ticket will stay for the example code update. Please check the other ticket for updates to the setup.

Should be fixed in dev.

Should be fixed in dev.

I tried re Installing karabo with the command in the documentation but it still doesn't work.
I have to following message:
(karabo-env) patoch@patricks-mbp-1 ~ % conda install -c i4ds -c conda-forge karabo-pipeline

Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: /
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed

UnsatisfiableError: The following specifications were found to be incompatible with each other:

Output in format: Requested package -> Available versions

That the installation fails on macOS is expected. This work is tracked in #125. But the example code should be correct now. @patoch01220 is it correct that your problem is the installation on macOS, and not (yet) with incorrect example code?

That the installation fails on macOS is expected. This work is tracked in #125. But the example code should be correct now. @patoch01220 is it correct that your problem is the installation on macOS, and not (yet) with incorrect example code?

Yes my issue is with the installation. For now I simply download the karabo folder and applied the changes specified above (https://github.com/i4Ds/Karabo-Pipeline/issues/167#issuecomment-1267274376) as a temporary solution and I allows me to still use the source detection (which is what I need).
But I would really appreciate if you could let me know when the installation problem would be solved

Ah, I see. Ok, we'll track the installation issue in #125 and close this. I'll move your comment over there.


example jade file for simple-todos tutorial

I just went through the online Meteor tutorial and would have appreciated a Jade example of that simple exercise, since I couldn't bear to do it in straight up HTML.
How about adding an example for the repo? This is how I did it in, but I'm totally open to suggestions on better ways.

Good idea! To be honest I known enough Meteor when the tutorial was released and I didn't bother taking a look at it. I don't have have anything to say on the template itself, it's the canonical form :). I just would like you two fix two little things before I can merge this PR:

Add an empty new line at the end the file
Add a comment in the beginning of the file explaining where this template came from

Great!
Something like this at the beginning?
//- visit https://www.meteor.com/try for the tutorial that produces this jade

Pushed those changes. Let me know if you need anything else!

Thank you!


Update to ReSharper 9.2 final and increase version to 1.4.0

Update to ReSharper 9.2 (final)
Increased version to 1.4.0

Thank you! Will publish today.


ETH rounding

i guess this is not a free drops if there 0.78 USD?
in case of evm it should show more decimals (make sure dot stays the same)

@vikiival does anyone besides zora use it?

does anyone besides zora use it?

Prob not 😅

@vikiival lel,
lets leave this one open, we will wait till most of zora users will be aware of that pricing and since we share some of the target audience as well, we could then switch as well


Inline strategy cannot support range sharding

sharding-jdbc version  4.0.0
sql  select * from t_account where f_type = 1 and  f_id >= 10000 and f_code in ("500","604","685") group by f_code;
An exception occurred during the query.

Please help me solve this problem, thank you

What's your sharding configuration?
BTW, Inline strategy only support = and in condition for sharding column.  If you want to use range sharding, you should use standard strategy.
More detail see documents

config:
shardingColumn: f_id
If you have a query for the range of columns in a separate table, how will it be configured, such as f_id>= XXX

You should code a RangeShardingAlgorithm and configure it as your range algorithm.
example like : https://github.com/apache/incubator-shardingsphere-example/tree/dev/sharding-jdbc-example/sharding-example/sharding-raw-jdbc-example
use sharding-databases-range.yaml

No, Inline strategy cannot support range sharding.
More details please reference document and example

@succeo you can use latest version and turn on this feature like this in server.yaml:
allow.range.query.with.inline.sharding: true

@succeo you can use latest version and turn on this feature like this in server.yaml:
allow.range.query.with.inline.sharding: true

hi, KimmKing, I got same question, I fllow your way to try execute this sql (SELECT * FROM t_order WHERE order_id BETWEEN ? AND ?)


Some questions to reproduce reported results

Hello,
I think the following questions are not prioritized, comparing to these PR and issue #4, so intentionally submitting this as a new issue.
-Simpler first-

Is allennlp actually required?
README says allennlp is one of the requirements, but I couldn't find any program in this repository using allennlp

Are four NVIDIA TESLA P100 enough?
I used four NVIDIA Tesla V100 SXM2 (16GB video memory for each), but faced CUDA out of memory when using your provided configuration in README with train_batch_size=32 for both SQuAD and TriviaQA datasets.

07/08/2019 20:40:20 - INFO - __main__ -   output_dir: out/squad_doc/02
07/08/2019 20:40:23 - INFO - __main__ -   torch_version: 1.1.0 device: cuda n_gpu: 4, distributed training: False
, 16-bits training: False
07/08/2019 20:40:23 - INFO - __main__ -   ***** Preparing model *****
07/08/2019 20:40:24 - INFO - __main__ -   Loading model from pretrained checkpoint: bert-base-uncased/pytorch_mod
el.bin
07/08/2019 20:40:24 - INFO - __main__ -   Weights of BertForRankingAndReadingAndReranking not initialized from pr
etrained model: ['rank_affine.weight', 'rank_affine.bias', 'read_affine.weight', 'read_affine.bias', 'rerank_affi
ne.weight', 'rerank_affine.bias', 'rank_ffn.dense.weight', 'rank_ffn.dense.bias', 'rank_ffn.affine.weight', 'rank
_ffn.affine.bias', 'rerank_ffn.dense.weight', 'rerank_ffn.dense.bias', 'rerank_ffn.affine.weight', 'rerank_ffn.af
fine.bias']
07/08/2019 20:40:24 - INFO - __main__ -   Weights from pretrained model not used in BertForRankingAndReadingAndRe
ranking: ['cls.predictions.bias', 'cls.predictions.transform.dense.weight', 'cls.predictions.transform.dense.bias
', 'cls.predictions.transform.LayerNorm.gamma', 'cls.predictions.transform.LayerNorm.beta', 'cls.predictions.deco
der.weight', 'cls.seq_relationship.weight', 'cls.seq_relationship.bias']
07/08/2019 20:40:29 - INFO - __main__ -   ***** Preparing training *****
07/08/2019 20:40:34 - INFO - __main__ -   Loading examples from: data/RE3QA/squad/train_8paras_examples
.pkl
07/08/2019 20:42:56 - INFO - __main__ -   Loading features from: data/RE3QA/squad/train_8paras_384max_1
28stride_features.pkl
07/08/2019 20:42:56 - INFO - __main__ -   Filtering features randomly
07/08/2019 20:42:58 - INFO - __main__ -   Num orig examples = 87599
07/08/2019 20:42:58 - INFO - __main__ -   Num split features = 746625
07/08/2019 20:42:58 - INFO - __main__ -   Num split filtered features = 343850
07/08/2019 20:42:58 - INFO - __main__ -   Batch size for ranker = 69
07/08/2019 20:42:58 - INFO - __main__ -   Batch size for reader = 32
07/08/2019 20:42:58 - INFO - __main__ -   Num steps = 21490
07/08/2019 20:43:22 - INFO - __main__ -   ***** Preparing evaluation *****
07/08/2019 20:43:23 - INFO - __main__ -   Loading examples from: data/RE3QA/squad/eval_10paras_examples
.pkl
07/08/2019 20:43:52 - INFO - __main__ -   Loading features from: data/RE3QA/squad/eval_10paras_384max_1
28stride_features.pkl
07/08/2019 20:43:52 - INFO - __main__ -   Filtering features randomly
07/08/2019 20:43:52 - INFO - __main__ -   Num orig examples = 10570
07/08/2019 20:43:52 - INFO - __main__ -   Num split features = 122413
07/08/2019 20:43:52 - INFO - __main__ -   Num split filtered features = 42279
07/08/2019 20:43:52 - INFO - __main__ -   Batch size for ranker = 64
07/08/2019 20:43:52 - INFO - __main__ -   Batch size for reader = 32
07/08/2019 20:43:56 - INFO - __main__ -   ***** Running training distillation *****
07/08/2019 20:43:56 - INFO - __main__ -   Processing example: 0
07/08/2019 20:53:28 - INFO - __main__ -   Processing example: 345000
W07/08/2019 21:02:34 - INFO - __main__ -   Processing example: 690000
07/08/2019 21:04:32 - INFO - __main__ -   ***** Reconstruct training data at distill_8paras_4best.pkl *****
07/08/2019 21:04:32 - INFO - __main__ -   Filtering features based on: out/squad_doc/02/distill_8paras_4best.pkl
07/08/2019 21:43:07 - INFO - __main__ -   Num orig examples = 87599
07/08/2019 21:43:07 - INFO - __main__ -   Num split features = 746625
07/08/2019 21:43:07 - INFO - __main__ -   Num split filtered features = 349167
07/08/2019 21:43:07 - INFO - __main__ -   Batch size for ranker = 68
07/08/2019 21:43:07 - INFO - __main__ -   Batch size for reader = 32
07/08/2019 21:43:07 - INFO - __main__ -   Num steps = 21822
07/08/2019 21:43:32 - INFO - __main__ -   ***** Running eval distillation *****
07/08/2019 21:43:32 - INFO - __main__ -   Processing example: 0
07/08/2019 21:44:40 - INFO - __main__ -   Processing example: 40000
07/08/2019 21:45:49 - INFO - __main__ -   Processing example: 80000
07/08/2019 21:46:58 - INFO - __main__ -   Processing example: 120000
07/08/2019 21:47:03 - INFO - __main__ -   ***** Reconstruct eval data at test_10paras_4best.pkl *****
07/08/2019 21:47:03 - INFO - __main__ -   Filtering features based on: out/squad_doc/02/test_10paras_4best.pkl
07/08/2019 21:47:04 - INFO - __main__ -   Num orig examples = 10570
07/08/2019 21:47:04 - INFO - __main__ -   Num split features = 122413
07/08/2019 21:47:04 - INFO - __main__ -   Num split filtered features = 42279
07/08/2019 21:47:04 - INFO - __main__ -   Batch size for ranker = 64
07/08/2019 21:47:04 - INFO - __main__ -   Batch size for reader = 32
07/08/2019 21:47:07 - INFO - __main__ -   ***** Preparing optimizer *****
07/08/2019 21:47:07 - INFO - __main__ -   ***** Running training *****
07/08/2019 21:47:07 - INFO - __main__ -   ***** Epoch: 1 *****
/home/ubuntu/.local/share/virtualenvs/RE3QA-pRGEMyAS/lib/python3.6/site-packages/torch/nn/parallel/_functions.py$
61: UserWarning: Was asked to gather along dimension 0, but all input tensors were scalars; will instead unsquee$
e and return a vector.
  warnings.warn('Was asked to gather along dimension 0, but all '
Traceback (most recent call last):
  File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/ubuntu/workspace/RE3QA/bert/run_squad_document_full_e2e.py", line 914, in <module>
    main()
  File "/home/ubuntu/workspace/RE3QA/bert/run_squad_document_full_e2e.py", line 857, in main
    save_path, best_f1, epoch)
  File "/home/ubuntu/workspace/RE3QA/bert/run_squad_document_full_e2e.py", line 487, in run_train_epoch
    input_ids=input_ids, token_type_ids=segment_ids)
  File "/home/ubuntu/.local/share/virtualenvs/RE3QA-pRGEMyAS/lib/python3.6/site-packages/torch/nn/modules/module$
py", line 493, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/ubuntu/.local/share/virtualenvs/RE3QA-pRGEMyAS/lib/python3.6/site-packages/torch/nn/parallel/data_$
arallel.py", line 152, in forward
    outputs = self.parallel_apply(replicas, inputs, kwargs)
  File "/home/ubuntu/.local/share/virtualenvs/RE3QA-pRGEMyAS/lib/python3.6/site-packages/torch/nn/parallel/data_$
arallel.py", line 162, in parallel_apply
    return parallel_apply(replicas, inputs, kwargs, self.device_ids[:len(replicas)])
  File "/home/ubuntu/.local/share/virtualenvs/RE3QA-pRGEMyAS/lib/python3.6/site-packages/torch/nn/parallel/paral$
el_apply.py", line 83, in parallel_apply
    raise output                                                                                File "/home/ubuntu/.local/share/virtualenvs/RE3QA-pRGEMyAS/lib/python3.6/site-packages/torch/nn/parallel/parallel_apply.py", line 59, in _worker
    output = module(*input, **kwargs)
  File "/home/ubuntu/.local/share/virtualenvs/RE3QA-pRGEMyAS/lib/python3.6/site-packages/torch/nn/modules/module.py", line 493, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/ubuntu/workspace/RE3QA/bert/custom_modeling.py", line 306, in forward
    all_encoder_layers, _ = self.bert(self.num_hidden_read, input_ids, token_type_ids, attention_mask)
  File "/home/ubuntu/.local/share/virtualenvs/RE3QA-pRGEMyAS/lib/python3.6/site-packages/torch/nn/modules/module.py", line 493, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/ubuntu/workspace/RE3QA/bert/custom_modeling.py", line 166, in forward
    all_encoder_layers = self.encoder(num_hidden_stop, embedding_output, extended_attention_mask)
  File "/home/ubuntu/.local/share/virtualenvs/RE3QA-pRGEMyAS/lib/python3.6/site-packages/torch/nn/modules/module.py", line 493, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/ubuntu/workspace/RE3QA/bert/custom_modeling.py", line 131, in forward
    hidden_states = layer_module(hidden_states, attention_mask)
  File "/home/ubuntu/.local/share/virtualenvs/RE3QA-pRGEMyAS/lib/python3.6/site-packages/torch/nn/modules/module.py", line 493, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/ubuntu/workspace/RE3QA/bert/modeling.py", line 273, in forward
    intermediate_output = self.intermediate(attention_output)
  File "/home/ubuntu/.local/share/virtualenvs/RE3QA-pRGEMyAS/lib/python3.6/site-packages/torch/nn/modules/module.py", line 493, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/ubuntu/workspace/RE3QA/bert/modeling.py", line 246, in forward
    hidden_states = self.intermediate_act_fn(hidden_states)
  File "/home/ubuntu/workspace/RE3QA/bert/modeling.py", line 35, in gelu
    return x * 0.5 * (1.0 + torch.erf(x / math.sqrt(2.0)))
RuntimeError: CUDA out of memory. Tried to allocate 36.00 MiB (GPU 0; 15.75 GiB total capacity; 14.25 GiB already allocated; 30.19 MiB free; 365.16 MiB cached)

For the above reason, I needed to set 16 at train_batch_size for both SQuAD and TriviaQA datasets, and got the following results.
Compared to your reported results, I feel some performance gap especially for TriviaQA dataset.
Do you think this is just because of different training batch size (32 -> 16)?
If you used different configurations to get the reported results, could you provide them and tell me which table in the paper I should refer to for comparison?

Thanks for your advices!
As I checked my code, I found that allennlp is not needed for this project. I will modify the README file.
If you face the out-of-memory issue and do not want to decrease the batch_size, you can set optimize_on_cpu  as True and increase gradient_accumulation_steps. For example, a gra_acc_step of 2 should be enough for training on SQuAD-document.

Thank you for the update and advice!
I will try optimize_on_cpu and gradient_accumulation_steps then.


Add markdown support for arguments

Pull request adding markdown support for arguments #20

Uses spatie/laravel-markdown's blade component to render HTML tags for markdown
The markdown HTML is styled using Tailwind's typography "prose" class, which is already present in Jetstream. Although a custom class can be used to have more control over the final styling.

Code highlighting is currently done on the client, exploring possibilities of having it on the server side instead but haven't found an easy solution yet.

This is great! Thank you :)


Account for safeSeekOffset in seekRange()

Have you read the Tutorials?
Yes
Have you read the FAQ and checked for duplicate open issues?
Yes
What version of Shaka Player are you using?
latest and 3.0.10
Please ask your question
I'm trying to seek to beginning of a live stream for a start over scenario where a current show has started and hasn't finished and user wants to start over and watch it from 0 sec.
The stream is live with fixed start time and growing buffer.
What I'm trying to do is to seek to actual second 0 of video but what I see is that I can only seek to a few seconds from the start of the window.
I'm trying to set the currentTime to be the seekRange start value.
I can reproduce it on my streams and also on streams in the demo site, for example this:
https://shaka-player-demo.appspot.com/demo/#audiolang=en-US;textlang=en-US;uilang=en-US;asset=https://livesim.dashif.org/livesim/segtimeline_1/utc_head/testpic_6s/Manifest.mpd;panel=ALL_CONTENT;panelData=LIVE,DASH;build=uncompiled
And I use this code in the console.
document.querySelector("video").currentTime = shakaDemoMain.player_.seekRange().start;

This media has timeShiftBufferDepth of 5 minutes but I can only get it to seek back to ~(-4:52) and same happens with rest of live streams.
What we are trying to do is to correlate times with EPG data and show start over as a time slot with VOD like timings, so we for example show UI of a show and we can show that it is, for example, 22 minutes since it started and has 8 more till it ends.
And if user wants to start over he can see to 0, but when user seeks to 0 or clicks the "StartOver" button then stream will always start from a few seconds and not 0.
What am I'm missing here? is this a bug or limitation or just me not using the API correctly?

Hi @joeyparrish, sorry I was on vacation so took time to see it.
I linked also one of the test stream from Shaka demo site as it happens there as well.
<MPD xmlns="urn:mpeg:dash:schema:mpd:2011" xmlns:ns2="urn:mobitv" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" availabilityStartTime="1970-01-01T00:00:00Z" id="Config part of url maybe?" minBufferTime="PT2S" minimumUpdatePeriod="PT0S" profiles="urn:mpeg:dash:profile:isoff-live:2011,urn:com:dashif:dash264" publishTime="2021-07-19T08:59:15Z" timeShiftBufferDepth="PT5M" type="dynamic" xsi:schemaLocation="urn:mpeg:dash:schema:mpd:2011 DASH-MPD.xsd">
   <ProgramInformation>
      <Title>Media Presentation Description by MobiTV. Powered by MDL<EMAIL_ADDRESS>   </ProgramInformation>
   <BaseURL>https://livesim.dashif.org/livesim/sts_1626685058/sid_f42c5609/segtimeline_1/utc_head/testpic_6s/</BaseURL>
<Period id="p0" start="PT0S" ns2:publishTime="1970-01-01T00:00:00Z">
      <AdaptationSet contentType="audio" lang="eng" mimeType="audio/mp4" segmentAlignment="true" startWithSAP="1" ns2:qualityLevel="SD">
         <Role schemeIdUri="urn:mpeg:dash:role:2011" value="main" />
         <SegmentTemplate initialization="$RepresentationID$/init.mp4" media="$RepresentationID$/t$Time$.m4s" timescale="48000">
<SegmentTimeline>

Where can I find the 8 sec presentation delay?
You can repro it by following the steps in the description, are you able to see this by following them?

@joeyparrish is this related to safeSeekOffset which is set to 5 by default?
So it means that the actual player.seekRange().start should take into account the safeSeekOffset?
In our case the DVR window is for start over meaning the start time is fixed and only the live edge progresses so we do not have an issue with falling outside the start of the DVR window.

@joeyparrish any chance you can review my comment?
Do you think it might be a valid use case to include the safeSeekOffset in the seek range?

There is a suggestedPresentationDelay attribute in DASH, and if it's missing, we have a configurable fallback.  It defaults to some multiple of the minBufferTime, if I recall correctly.
You can customize this with these configs:

manifest.dash.ignoreSuggestedPresentationDelay: if true, ignore the delay from the manifest and only use the fallback
manifest.defaultPresentationDelay: a specific delay in seconds, which defaults to "0".  "0" is interpreted differently for DASH & HLS.  For DASH, it's 1.5 * minBufferTime, and for HLS, it's 3 segment durations.  These are the historical defaults for these formats in Shaka Player.
streaming.safeSeekOffset: an offset applied to the start of the live range, to avoid a loop where we fall outside the window repeatedly.  Defaults to 5.

In your content snippet above, minBufferTime is 2, so the default delay would be 3.  This, plus safeSeekOffset of 5 would explain the 8-seconds you're seeing.  The presentation delay is taken out of the end of the range (it's bufferable, but considered past what we show to the user), and the safeSeekOffset is at the beginning of the range (it's not removed from the range, and we can fall back into that space during buffering, but it's a danger zone that we won't seek directly to).
Does this help explain?

Hi Joey,
Reading your comment above, it seems PresentationDelay and safeSeekOffset are parameters that affects how far towards the end of the bufferable range that is playable, correct?
Howeve,r the problem mentioned in the start of the issue (which I am also encountering) is that Shaka also seems to restrict how far into the beginning of the bufferable range that is reachable. I.e. while playing an ongoing livestream, seeking to 00:00  yields playback from a few seconds further forward in the stream instead.

thanks @joeyparrish, using the safeSeekOffset did the job for us.
@joeyparrish in regards to my comment here https://github.com/google/shaka-player/issues/3526#issuecomment-882539587

@joeyparrish is this related to safeSeekOffset which is set to 5 by default?
So it means that the actual player.seekRange().start should take into account the safeSeekOffset?
In our case the DVR window is for start over meaning the start time is fixed and only the live edge progresses so we do not have an issue with falling outside the start of the DVR window.

Specifically this:

So it means that the actual player.seekRange().start should take into account the safeSeekOffset?

If I try to seek to start of DVR window maybe it is better to already take into account the safeSeekOffset in it cause in any case an app can only seek to player.seekRange().start + safeSeekOffset, so today an app will need to read both values to understand exactly what is the very first point in time it can seek to. WDYT?

@OrenMe Do you want submit a PR to improve it? Thanks!


Fix definitions for #1126

Fixes #1126

enzymatic cleavage: simplify logical definition, improve textual definition
specific enzymatic cleavage: improve textual definition
non specific enzymatic cleavage: improve textual

I made this change on the OBI call today, and we recorded video of it. I'll add the link here when I have it.
One note: I merged this on the call (after the recording finished) but I was overly excited. I should have run make all on my laptop to make sure that everything reasoned correctly, and I should have reasoned in Protege and checked that too. That takes a few minutes, so I didn't want to do that on the call.

Video link: https://drive.google.com/file/d/1mAs7F7DHisnkMoNUyqoQF9TyEtiwCamx/view?ts=5ec2c4b0&pli=1


drivers: rtc: rtc_ll_stm32: Add alarm feature

Adds alarm_set_time, alarm_get_time, alarm_is_pending and alarm_set_callback RTC API functions.
Adds an alarms-count property to all STM32 SoC DTS files.
This change has been locally tested on a STM32L562E-DK Discovery board.

Have you run the RTC API test suite to validate the alarm behavior?

Additionally, check out this PR #71957, the timing is quite something :)

why are there two PRs ? #71957

@bjarki-trackunit
Oops, I haven't and some of the tests are failing, my bad. Yeah, the timing really is something special:)
@decsny
I haven't noticed that @ajarmouni-st opened a pull request 2 hours before I opened mine, I'll close mine.

Yeah, the timing really is something special:)

@jbakowski Yeah, I was really surprised when I saw your PR (since I worked on mine for a little over a week). Thanks for your contribution, very appreciated. Please next time, if you are working on something STM32-related, it would be great if you can mention it in an issue/discussions, so that we can inform you if there is already on-going work on the same thing internally.
In any case, I would appreciate your feedback on my PR if you have the time. Thanks again !


odriverobotics.com support

Status update:
I can read and control the odrive's velocity mode now. Similar to the VESC.
Need some more testing but then I can release the new build.

I must rebuild a cablecam in order to test this solution. I seen that the odrive controller is available now (but only in USA and not in europe for now), so I will order one of this at begin of next year.
As I have many AS 5047 encoder with a custom designed board, I will try with this encoder instad the amt 102. I hope that this is ok. When you are ready, I want ask you what do you think about position encoder, If we need our encoder or the motor encoder is good.

I don't know the effects of slippage. And I expect it to be dependent on many external factors. A heavy rig on a steep hill and aggressive driving and running for a long time will have pronounced slippage. For sure.
The opposite of above extreme situation might be okay.
But frankly, it does not matter for the Controller. We have two position value sources, motor controller (VESC or oDrive) or running wheel. You can switch to either one. It does matter for you of course because you need to decide if the hardware needs that or not.
The perfect solution would be to have both and the running wheel has an encoder as well. I am just struggling to find a mounting solution that is easy enough for the majority of the people.

If you remember, some times ago I request for a "goto" feautures. You suggest to use the odriverobotics controller because it have this features but I guess that it work only with the encoder on the motor.
We can use both as you suggest but maybe need to be inplemented in the controller in this case.

Hi Werner, it's many time that I dont see you in this page...
I have only a little question: some message above, you speak about use VESC (or oDrive) as position sources. It's possible now or maybe we need to write some code for it?

There are three things to consider.

Do we send position commands to the ESC (or thrust or speed)?
Where do we get the actual position from?
What if it should hold the current position?

The problem is, all of these three questions are in flux. It depends on the current capabilities of the ESC.
Ideally, we would sent the ESC constantly the desired position and the ESC drives towards that or holds the position. The actual current position comes from an encoder on one of the other wheels as the driven wheel has slippage.
Hence it would be good if the ESC has that encoder connected and when sending the desired position, it is based on this encoder's position.
Third, the motor encoder should be a relative type, meaning it reports the angle. The position encoder should be a hardware absolute encoder ideally.
For the VESC I have no hope any of this will get implemented. For the ODrive they were moving slowly into that direction but I did not check the state for a long time.
Hence this code should be considered as work in progress.

Dear Werner, I not found instruction about oDrive  connection. It is connected just like vesc? How configure firmware for using oDrive?

Best starting point is the source code for now.
https://github.com/wernerdaehn/CC3D-CableCam-Controller/blob/master/src/odrive.c
Yes, it is connected just like the VESC via UART.


[Issuer Adapter] Create present proof response for RP

This has been implemented as part of https://github.com/trustbloc/edge-adapter/pull/140. Closing the issue.


FlexAttention example (for mmu_vit mask)

We recently released FlexAttention, which automatically generates fused flashattention kernels for a diverse range of attention variants.
For example, the mmu_vit mask can be implemented like so
def mmu_vit_mask(b, h, q_idx, kv_idx, system_prompt_len=0):
    causal_mask = (q_idx >= kv_idx)
    bidirectional_mask = (kv_idx <= system_prompt_len + 1 + 576)
    return causal_mask | bidirectional_mask

And if you benchmark it, we see that FlexAttention is 9x faster than passing a mask to F.scaled_dot_product_attention (which uses xformers attention).

I believe the other masks can also be implemented (somewhat) straightforwardly.

Code + Benchmark

import torch
torch.set_default_device('cuda')
from triton.testing import do_bench
import torch._inductor.config as config
from torch.nn.attention.flex_attention import create_block_mask, flex_attention, create_mask

flex_attention = torch.compile(flex_attention, dynamic=False)

import torch
import torch.nn as nn
import torch.nn.functional as F

from torch import vmap
from triton.testing import do_bench

def create_attention_mask_for_mmu_vit(
        sequence,
        return_inverse_mask=False,
        system_prompt_len=0
):
    N, L = sequence.shape
    causal_mask = torch.tril(torch.ones((N, 1, L, L), dtype=torch.bool)).to(sequence.device)
    index = 1 + system_prompt_len + 1 + 576

    causal_mask[:, :, :, :index] = 1
    if return_inverse_mask:
        inverted_mask = 1.0 - causal_mask.type(torch.int64)
        inverted_mask = inverted_mask.masked_fill(
            inverted_mask.to(torch.bool), torch.iinfo(torch.int64).min
        )
        return inverted_mask.to(dtype=torch.bool)
    else:
        return causal_mask

def mmu_vit_mask(b, h, q_idx, kv_idx, system_prompt_len=0):
    return (q_idx >= kv_idx) | (kv_idx <= system_prompt_len + 1 + 576)

def bench_masks(name, xformer_mask_fn, flex_mask_fn):
    B = 4
    L = 4096
    H = 8
    D = 64
    sequence = torch.randn(B, L)
    mask = xformer_mask_fn(sequence)
    block_mask = create_block_mask(flex_mask_fn, B=None, H=None, Q_LEN=L, KV_LEN=L, _compile=True)
    flex_full_mask = create_mask(flex_mask_fn, B, None, L, L)
    assert torch.allclose(mask, flex_full_mask)

    q, k, v = [torch.randn(B, H, L, D, dtype=torch.float16) for _ in range(3)]
    xformer_attn = lambda: F.scaled_dot_product_attention(q, k, v, attn_mask=mask)
    flex_attn = lambda: flex_attention(q, k, v, block_mask=block_mask)
    print(name)
    print(block_mask)
    print("xformer: ", do_bench(xformer_attn))
    print("flex: ", do_bench(flex_attn))
    assert (xformer_attn() - flex_attn()).abs().max() < 1e-2
    print()

bench_masks("mmu_vit_mask", create_attention_mask_for_mmu_vit, mmu_vit_mask)

Great! Thanks for your efforts! We will try it in these days:)

Hi! It seems that the length and location of image sequence is fixed in the example. Is it possible to allow the images to be at any place in the overall sequence with any resolution?

@wusize Good question! In this case, the mask I copied has a fixed prefix. But, one cool aspect of FlexAttention is that it can access "captured" tensors.
For example, if you have an image of an arbitrary size, you could write
image_size: Tensor[B]
def mmu_vit_dynamic_mask(b, h, q_idx, kv_idx, system_prompt_len=0):
    causal_mask = (q_idx >= kv_idx)
    bidirectional_mask = (kv_idx <= system_prompt_len + 1 + image_size[b])
    return causal_mask | bidirectional_mask

Supporting an arbitrary amount of images is a bit more nontrivial, since it's harder to "know" if you're within the range of any of the images. However, with a bit of precomputation, this is also fairly straightforward. Basically, for every query token, we precompute the "beginning" and "end" of any image it might belong to.
So, for example, if a text token is at position 568, then bidirectional_starts[568] = 568 and bidirectional_ends[568] = 568. However, if there's an image from 512 to 763, then bidirectional_starts[568] = 512 and bidirectional_ends[568] = 763.
from torch.nn.attention.flex_attention import create_block_mask, flex_attention, create_mask

S = 2048
image_begin_ends = [(0, 128), (512, 1024), (1530, 1890)]
bidirectional_starts = torch.arange(S, device='cuda')
bidirectional_ends = torch.arange(S, device='cuda')
for image_begin, image_end in image_begin_ends:
    bidirectional_starts[image_begin:image_end] = image_begin
    bidirectional_ends[image_begin:image_end] = image_end

def images_mask(b, h, q_idx, kv_idx):
    causal_mask = q_idx >= kv_idx
    bidirectional_mask = (kv_idx < bidirectional_ends[q_idx]) & (kv_idx > bidirectional_starts[q_idx])
    return causal_mask | bidirectional_mask

block_mask = create_block_mask(images_mask, B=None, H=None, Q_LEN=S, KV_LEN=S, _compile=True)
print(block_mask)

In my benchmarking, this is about 6x faster (doing torch.compile(mode="max-autotune-no-cudagraphs") seems to help perf about 30% in this case), and of course, also doesn't fully materialize the mask.

@Chillee Hi, Horace. Thank you for the suggestions. I have already implemented the attention mask required in Show-o using flexattention. Now, I have a question. Considering there are mixed types of sequences that need different attention masks then how can I concatenate the created block_masks (for each type of sequence) across the batch dimension :)

Oh, maybe I know how to deal with it.

@Chillee Hi, Horace. Thank you for the suggestions. I have already implemented the attention mask required in Show-o using flexattention. Now, I have a question. Considering there are mixed types of sequences that need different attention masks then how can I concatenate the created block_masks (for each type of sequence) across the batch dimension :)


No route to host while connecting with adb connect

I checked a lot on stack overflow but still, I can't get this working.
This shows every time I use adb connect
unable to connect to <IP_ADDRESS>:5555: No route to host

Are your device and your computer on the same network?

Are your device and your computer on the same network?

Yes . Connected in the same wifi network. I tried restarting both my phone and my pc.
I also tried adb kill-server.
I looked into a lot of answers on the Internet still no solution.

Did you adb tcpip 5555?

Did you adb tcpip 5555?

Yes i did. I'll show you the complete screenshot.

I'll show you the complete screenshot.

(or better, copy-paste the text from your terminal :wink:)

I'll show you the complete screenshot.

(or better, copy-paste the text from your terminal )

adb tcpip 5555

daemon not running; starting now at tcp:5037
daemon started successfully

adb connect <IP_ADDRESS>
unable to connect to <IP_ADDRESS>:5555: No route to host

I'll show you the complete screenshot.

(or better, copy-paste the text from your terminal )

Hey

I don't know. If your device is connected over wifi, if you use its IP address and if your computer is on the same network, it should work.
https://stackoverflow.com/questions/33462720/adb-unable-to-connect-to-192-168-1-105555

I don't know. If your device is connected over wifi, if you use its IP address and if your computer is on the same network, it should work.
https://stackoverflow.com/questions/33462720/adb-unable-to-connect-to-192-168-1-105555

I tried the same post and still does not work. Even kde connect is not working. The device is not showing.

i have same problem

i know,, you must check ip address your phone again..

So my situation was that i restarted it in tcp mode but still couldn't connect, i had the same error ie no route to host, so i tried pinging it but i couldn't find it either even though it was on the arp table. so what i noticed was that when i connect it by usb, it pings successfully. so i  had to do the  adb connect ip before i could unplug the usb.

I created this tool to ease wireless connectivity. Check it out and let me know of your experience.
https://github.com/fusionneur/ethernally

Any one got solutions to this problem?

i'm also facing the same problem.!!

I was having the same issue but after looking at @williamjnrkdd I decided to look at arp table and the HWaddress was incomplete. After digging in a bit it turns out the MAC address on my android was randomized which made it impossible to establish connection with even when I was using ping. Ideally go to settings search for Wifi Mac Address and disable the random mac address and use the phone address instead. Then you also need to go to developer option and follow this post https://developer.android.com/studio/run/device for adding your linux system to your android debugging tools. and then try pinging the ip of your phone from your machine and it should work. @coddrikaz hope this helps

how about with usb

It worked for some reason when I reserved an IP for watches' MAC in my router DHCP settings.

Was facing the same issue, the following worked for me:

Connect your device with usb(make sure usb debugging is enabled).
Execute: adb usb.
Execute: adb tcpip 5555 (this will restart in TCP mode on port 5555).
Execute: adb connect <IP_ADDRESS>:5555 (this will connect your device using IP:PORT).

Now, from next time you just need to execute the last command using proper device's IP and 5555 port.

Same issue, but running the following resolved it for me.
adb kill-server
adb start-server
adb usb
adb tcpip 5555
scrcpy --tcpip= -Sw
(I wanted Sw switches, these are optional for keep screen unlocked and turn screen off when you're connected)

This worked for me as well:

adb kill-server
adb start-server
adb usb
adb tcpip 5555
adb connect <DEVICE_LOCAL_IP>

same wifi connectd of you phone and pc
set usb debug mode on your android device first
connect the Cable between phone and you pc
run commands : adb kill-server && adb start-server && adb tcpip 5555 && adb connect
now you can remove connected of the USB cable

do not run adb usb

I've notice this happens when there is already an android emulator running on the machine? maybe starting an emulator somehow cause adb to use an internel network between the machine and the emulator? any lead on how to start debugging this?

Go to System Settings > Privacy Security > Local Network, ensure the toggle is on for your terminal app.
This is work for me!

Go to System Settings > Privacy Security > Local Network, ensure the toggle is on for your terminal app.
This is work for me!

this work for me too. thanks

command: "adb kill-server && adb tcpip 5037 && adb connect <IP_ADDRESS>:5037"
Output:

daemon not running; starting now at tcp:5037
daemon started successfully
restarting in TCP mode port: 5037
connected to <IP_ADDRESS>:5037

(even if it works, it's a bit weird to use 5037, which is the local port for the adb daemon, the device port is typically 5555)

I’ve been a developer for over six years and have solved similar issues using the solutions mentioned above.
However, I faced the same problem again today and spent three hours troubleshooting.
Then I remembered that I had set Cloudflare/DNS to <IP_ADDRESS> to bypass a blocked website two days ago. After removing those DNS settings (on macOS) by going to Wi-Fi -> DNS -> and deleting the custom settings, I tried the solutions again—and it worked like a charm! lol.


Rework socket handling in OpenXPKI::Client

After calling "close_connection", the socket is gone but there is no way to re-open it.
Subsequent calls to any transmission method fail as the socket is now unavailable.

More issues:

session close/detach after timeout/comm error


rspec whodunnit: nil

Perhaps I'm misunderstanding whodunnit, but basically when a User destroys their account I want to be able to find the version of the record at that moment.
This seemed like a reasonable query to use:
PaperTrail::Version.where("item_type = ? AND event = ? AND whodunnit = ?","User", "destroy", user_id).first.reify
But using rspec the whodunnit values are nil for all changes, even ones that aren't the User destroy. Thoughts?

If all your whodunnit row data is filled with null / nil values, then you're going to see  that value returned from your query regardless of how it's constructed.  How is the data being populated in the Versions table for your test suite?  Unless you are running controller and / or integration specs prior to running your query it's likely that the whodunnit column is not being populated.

Unless you are running controller and / or integration specs prior to running your query it's likely that the whodunnit column is not being populated.

You can also set whodunnit in unit tests. See https://github.com/airblade/paper_trail#finding-out-who-was-responsible-for-a-change for an example.
I hope that helps.  If you have more questions about how to use PaperTrail, please ask us on Stack Overflow (https://stackoverflow.com/tags/papertrail).  If you find a reproducible bug, please open a new issue here.  Thanks!

btw if anyone else gets here, I think the correct the stackoverfow tag is [paper-trail-gem]
https://stackoverflow.com/questions/tagged/paper-trail-gem


PLATFORM-246: Fixed button text wrap issue - WIP

Description of proposed changes
What does this pull request accomplish? Why should it be integrated?
Checklist
Put an x in the boxes that apply.

[ ] My lint and unit tests pass locally with my changes
[ ] I have added tests that prove my changes work (if applicable)
[ ] I have added or updated necessary documentation (if appropriate)

Additional comments
Is there anything else you want us to know?

@jamesgiegerich94 so since you already commited those files, you're going to have to remove them using git
git rm --cached -r  reactenv*


Add patch support

Add PATCH HttpMethod
Fixes #23433

oh I think I messed something up when merging from main, will re-open a new PR


[#503] Deprecate the XML template

https://github.com/nimblehq/android-templates/issues/503
What happened 👀

Create folder deprecated
Move template-xml RxJavaTemplate sample-xml into the deprecated folder
Rename RxJavaTemplate[DEPRECATED] into simply RxJavaTemplate because it has already been moved into deprecated folder
Edit file README to replace all xml places by compose
Update CI workflow, add the prefix deprecated into the link to folder template-xml sample-xml ....
Update script to remove generating XML project script
Remove gradle/wrapper folder

Insight 📝
N/A
Proof Of Work 📹

The repository has deprecated folder which contains template-xml sample-xml RxJavaTemplate

The README file was changed from xml to compose

Resolved and updated the description @luongvo

Updated all @ryan-conway @luongvo


Using svgo as SVG linter

Is your feature request related to a problem? Please describe.
I would like to use svgo as a "linter", that would validate against some rules specific to a project. An example of such rule is one that would validate the artboard size of the SVG (viewBox attribute value) but there are many more such rules that I have in mind.
I know that svgo is an optimizer, so I would like to ask if you are open to extend
Describe the solution you'd like
Looking at the current architecture of svgo, I think the solution would be to extend plugins to return diagnostic/validation information as well. This would work in a way similar to what ESLint does: by default it just reports failed rules but the user can also provide --fix flag to automatically fix the errors, if the given rule provides code transformations to perform autofix (the "fix" option would probably stay as the default in case of svgo).
Taking the "artboard size validation" rule, it could for example just check the viewBox , width and height attributes (based on the plugin configuration) and return some validation information, possibly with an autofix.
Also, it would be possible to use different output formats (again, based on other tools like ESLint: https://eslint.org/docs/user-guide/formatters/ or Stylelint), for example to format the output in JSON.
Describe alternatives you've considered
An alternative is to write a separate library. However, I think that the idea I am presenting fits pretty nicely into what svgo already does and into its architecture.

Hi! This cannot be implemented with current architecture. Though once we have own parser and ready for exposing set of utilities we will create new project specifically for linting to not mess the code with svgo. You can write here possible lint rules so we could rely on something in the future.

once we have own parser and ready for exposing set of utilities we will create new project specifically for linting to not mess the code with svgo

Is this work already planned and has some timeline? Please let me know if I can help make this happen (I mean code refactoring, not only writing lint rules here).

No really planning. I just improve things in my free time. So the best you can do for now is give some ideas. I'll ping you when something will be ready.

Well, there is an old idea just to optimize SVG, but don't save. Just tell whether it can be optimized with some threshold value. E.g. fail if it can be reduced more than by N% (but not less than M bytes, so don't bother about couple of bytes). I don't know though what values it should be. Something like 5% and 20 bytes for example? It should be configurable for sure.

Well, there is an old idea just to optimize SVG, but don't save. Just tell whether it can be optimized with some threshold value. E.g. fail if it can be reduced more than by N% (but not less than M bytes, so don't bother about couple of bytes). I don't know though what values it should be. Something like 5% and 20 bytes for example? It should be configurable for sure.

But the point here is to be able to return linting/validation in something that could be later used by other tools (like JSON reporter in ESLint). Right now it could only be console-logged.

I just don't know what do you want to be reported.
Maybe a dry-run which can say what can different plugins save? There is plenty of combinations though, maybe with a set of presets.
For invalid syntax it should be separate tool.
Maybe an option to report for things like fill-rule which can be safely optimized now automatically? (Due to complexity)

Sounds like out of SVGO's scope. It's for an optimizing in terms of the file size in the first place, with a bit of image manipulating (for optimization purposes as well). I can understand optimization-related hints, but everything else should be done elsewhere.

Proposed linter rules:

title element must not be empty.
desc element must not be empty.
Container elements (g, svg, defs, metadata, etc) must not be empty.
text element must have text.
use element must have a href attribute.

href attribute must point to a valid id reference.
id attribute must be valid name according to the spec.

role attribute must a valid role.
aria-labelledby and aria-describedby attribute must point to valid reference.
Units must be valid units as defined in the standard.
There can only be one title element.
The title element can only be at the top.
Any indention should be consistent.
title should not exceed XX chars.
desc should not exceed XXX chars.
url function in filter attribute should point to a valid id that exists.
For encoding you probably want UTF-8.

Without byte order mark (BOM)

Class names in class attributes you probably want kebab case, i.e. lowercase with words separated by a hyphen.
Class names you might want to use semantic naming rather than presentational naming, e.g. text-danger not text-red.

For what it's worth, there is already tooling available that retrofits linting functionality on top of SVGO.
https://trunk.io/linters/nodejs/svgo
Found out about this while reviewing some conversations in ESLint:

https://github.com/eslint/eslint/pull/18643#issuecomment-2268888139


Document value generators

Our generated values docs don't mention client-side value generation in any way (HasValueGenerator), add a section on this.
Clarify that this only works for adding, not updating.

Please also see #1846


add content length metrics

Codecov Report

Merging #69 into master will increase coverage by 0.27%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #69      +/-   ##
==========================================
+ Coverage   84.65%   84.93%   +0.27%
==========================================
  Files          47       47
  Lines         867      883      +16
  Branches       66       75       +9
==========================================
+ Hits          734      750      +16
  Misses        133      133

Impacted Files
Coverage Δ

.../airlock/proxy/api/directive/ProxyDirectives.scala
90.24% <100%> (+1.67%)
:arrow_up:

...ng/wbaa/airlock/proxy/metrics/MetricsFactory.scala
94.11% <100%> (+1.8%)
:arrow_up:

Continue to review full report at Codecov.

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


Exclude sink of version of elasticsearch 1.6 that contain a bug

:shipit:

Comment accepted. Will treat it ASAP.


ByteNet and Conv

Hi are the ByteNet and Convolutional things here working? have they been tested? seems like since some refactoring they are broken, but i'm wondering if the code there has been tried before and is worth fixing to fit the refactoring?

They are both broken right now. I plan to fix it next week.


(chore) Set up instructions document how to get started with Docker

Changes in this PR:

We made a decision to revert the non-docker tooling in order to support the original ADR to use Docker. Even though we currently don't use Docker in production or staging (PaaS now supports it however) we believe there is significant value in using it to help teams get started quickly, and being able to support the live service quickly and confidently.
Non-docker instructions deleted rather than preserved. Moving them to a docs file would serve no benefit unless someone chose to go against the grain and develop without Docker. If they chose to do this they would very likely find that this file is too out of date and not functional.
When we come into problems with using Docker in this way for example, slow tests, we want to try to fix the problem before changing the tool. For example we could use docker-sync[1] to improve efficiency when writing to disk which we suspect is the cause of a handful of slow tests.
Include a brief project summary to start the Readme and introduce the frontend as a closely dependent service

[1] http://docker-sync.io/

Thanks for making these changes :) Given that the Docker setup works now, I believe it's true that all one needs to do to boot the app is run dstart (or drebuild or dtest-server). I found a few errors that it would be good to correct:
This phrase only belongs in the frontend docs, not here:

The API must be running locally before starting this application or you will see a Docker networking error

I'm not sure what file this sentence refers to:

Copy the contents of a file named Docker Compose - API - docker-compose.env into the new docker-compose.env file.

This sentence should probably say "the ADMIN_EMAILS variable from docker-compose.env:

It will use the email address from .env.development / ADMIN_EMAILS

@jcoglan Thanks for reviewing, those bits have been tweaked now. Hopefully the reference to 1password vault connects back to the prerequisite which includes the vault name, otherwise I can repeat the vault name again.

@lawrence-dxw Given that this is still open I have added a commit to document how we can safely manage gems.

@tahb - very helpful documentation, thanks! Just a couple of minor comments, and a rebase on develop needed.


updated models.gpr docstring

Updated documentation for models.gpr according to my suggestion in this issue.

I made a small edit

Removed the K in the description of the likelihood. This is mathematically incorrect.
Added an additional description of the marginal likelihood. Now we have both, which should be extra clear.

If nobody has any comments within the next day or so, I'll squash-merge.

Oops, we found another bug in this. The mean of the likelihood should be f, not zero.


Kbm support

Hi! Thanks so much for integrating our tuning library!
I see you added only the scl file support in 0.4.0. Is it possible to also add kbm support? It has proven important in several contexts and the support is complete in our lib (just use the two argument constructor form and parse the kbm using the same interface). Having a sampler with full scl/kbm support would be fantastic!
Oh also I see you copied the lib and made a couple of changes. If those are logic changes happy to merge them back
Best

Hi! Well @jpcima is the artist in this :slightly_smiling_face: We can look into this quickly; as you said everything's there it's more a matter of UX and integration.

Hello,

I see you added only the scl file support in 0.4.0. Is it possible to also add kbm support?

An idea in the current software was to imitate tuning feature as found in some commercial software out there.
There is one of the software which supports SCL only, and the other more elaborate one has tuning according to this parameter set:

scala file
scala root note
reference frequency (440)
stretched tuning

This is what we're implementing currently, but this model is conflicting with KBM, it's either one or the other.
KBM is not out of the question, but then it needs some sort of switch, either use the simplified model or KBM file.

Oh also I see you copied the lib and made a couple of changes. If those are logic changes happy to merge them back

This is correct, this changes were written a bit ago. I wish to contribute the work back upstream, but it's not complete entirely in a way I'd like it, and there is tons of other work to do beside this. I adapted only to cover sfizz's use cases.
For short, the requirement was being able to recalculate the tuning in RT context, and also I think we need copies.
That means avoidance of such things as std::istream, std::string and friends.
The API tuneNoteTo does not have this ability in the upstream implementation.
In this regard I worked around a number of dynamic allocations in the lib, but this is not a complete work, only to meet current sfizz requirements.

So I provide functions in the tuning library to make a kbm file which sets the reference frequency and root notes. What I did in surge was provide those functions by generating a kbm and then using that kbm. Or allow a user to load a kbm directly and override. Can that work here?
Kbm are particularly useful complete spec both for root note and frequency but also for non uniform keyboards (one of our surge users is mapping to an axis controller for instance). I think many synths make a mistake as thinking of kbm as optional as opposed to integral actually, which is why we made those utility functions part of the lib.
Lemme know if you need any help! Would love to help out

Really the sfizz logic creates a virtual KBM based on the reduced set of parameters and it's nothing very special. For reference
https://github.com/sfztools/sfizz/blob/fe4e5ffd6a16e3f0021dcec76a19db3fbbaf6507/src/sfizz/Tuning.cpp#L140-L151
KBM files can be used in substitution to this, it's not a big issue as logic is concerned.
Integration in API is fine, but plugin is another thing.
@baconpaul if I may ask something absolutely unrelated, your loading code of WAV & WT wavetables seems remarkably useful, would this code be considered for being published as library in the future?

Oh cool so you already use the keyboard mapping class in a fizz? Then yeah it is just ui!
Oh right the “find all the tags of every wav file because libsndfile doesn’t give you blocks” code? I suppose I could factor that yeah. Are you gpl3? Happy for you to just copy it too. I think I’m the only author on that file so I could drop it into an mit submodule if so though. Is that what you’re thinking?

I think I’m the only author on that file so I could drop it into an mit submodule if so though. Is that what you’re thinking?

Something like this, yes. This question arises as I'm about to introduce basic support of multi-wavetables.
Surge comes up as the best resource when I searching for references of wavetables formats, and I found it has already a varied support of formats (Serum, NI, WT and such).
This would be helpful for this code to be reusable, which I just wanted to make it known :)
otherwise yes, the starting idea is that I use Surge as a reference and reimplement our own as non-GPL.

I opened #330 , let's rather discuss the matter over there

Hi @jpcima
just kicking this one a  bit.
 // fixed frequency of the root note
const double rootFrequency = tuningFrequency * std::exp2((rootKey - 69) / 12.0);
 return Tunings::tuneNoteTo(rootKey, rootFrequency);

this code doesn't actually work for a wide variety of scales - it assumes that the root key is 12tet away but it usually not. So in this case, if you had, say ED2-19 you would tune C to 261 but that would not leave A tuned to 440.
If instead you use
https://github.com/surge-synthesizer/tuning-library/blob/46a58f87e880d70ece0b015e1ef59fbfdc14dea9/include/Tunings.h#L203
you can get the correct tuning adjustment. In your case it would be to modify the above code to
return Tunings:: startScaleOnAndTuneNoteTo(rootKey, 69, rootFrequency);

then it will give you at least tunings that match your UI! (Full KBM file support would be even better though).

Thanks for the tip. From old memory, I have tried this one, but then went for the custom formula.
It was for matching Sforzando's tuning model, which is our reference software.
I checked 1-on-1 on a ton of scale files and parameters.
With that being said, I would not mind too much changing to a model which makes more sense.

If you load ed2-09and use root key of c your call will set note 60 to 261hz - the 13 12 tet walk down from note 69. But then if you play note 69 it will be an octave up so 512hz not 400
If you use the 3 key api you will get note 69 tuned to 440 and then with ed2 09 will get note 60 tuned to 220
so I guess in the case of a 9 note even scale where the reference note is 440 what do you want middle c to be? And what do you want a4 to be?
I think you want 220 and 440 yeah?

I can't tell yet, need to put some focus back into this.
just a few things:

it's nearly identical to what sforzando software does, but this behavior might be buggy / not a good reference
the retuning is not a part of the SFZ specification itself, so we don't have an obligation to stick that method
the interactions between tuning and various SFZ behavior can be put in question;
for example, should keyboard remapping affect key-ranges of regions?
in our case, it doesn't (and neither do other impls I believe), but this may result of samples being way off their intended frequency range.

should keyboard remapping affect key-ranges of regions?

I think this is a valid point, given that SCL, KBD, and MTS can radically change the number of notes in an octave (or even octave relationships)
This is why some software (eg Logic Pro) lock any tuning to 12 notes per octave SCL files. As too many instruments would break otherwise.
However, given that the SFZ script defines an instrument, having a Scala opcode may be a safe way to move forward for tuning files that are not based on 12 tones.
Thus the instrument itself can be defined with a tuning.  We could allow the built in tuning the freedom to express any tuning possible.
The sfizz tuning preference would be locked to the number of intervals in the SFZ script opcode.
This would work 1:1 with region definitions, but also alow instrument makers the ability to build unique instruments, without the restrictions of a Western cultural music framework.
This solution would unfortunately limit sfizz to using SCL exclusively, as SCL is able to define the intention of the scales range‡
Alternately, we accept that any tuning outside of 12t could break region relationships. But I don't know if this solves the adjacent issue of being able to define an instrument with a tuning.
‡ I'm aware that SCL files are able to express non-octave scales. There would still be ways of breaking this system, this only makes it a bit harder.

Pianotec and surge are good reference impls here to see if you are tuned. But they jut do what the tuning library does. I do t have an opinion on key range stuff but I do know that the 12 tet walk down will break your tuning. At least change the api point to the 3 argument version with 69 hardcoded will make sure that when you do use scales which are both not 12 long and where the distance between the root note and note 69 is not distance * 100 cents (which is lots and lots of scales) you will get the right tuning? If sforzando does the 12 trt walk-down it is wrong though in that if you tune note 69 to 440 using the method you have many scales will, have 69 not be 440.
But ideally let users supply a KBM seems to be the answer no?

Pianotec and surge are good reference impls

Remeber that both use synthesis predominantly. While sfizz has both, with a much greater focus on sampling.
I'm very interested in sfizz inhabiting both spaces, and being used for hybrid as well.
However due to the usage of key ranges and switches, a tuning solution needs to allow the system to function.
At the end of the day I think the important thing is supporting tuning, and allowing people to develop instruments that are expressive.
If that is using SCL, KBD, MTS or something else is irrelevant.
It could very well be that advanced tunings are better suited to be placed in a scala opcode. So that the tuning is embedded into the instrument, (or at least the general concept of intervals)
There is a big difference between a tuning system for 12t and 5t, or even systems that lack octaves.

Yes I understand that.  I just meant Pianotec and surge are good references for “this key has this frequency”, which is really all I’m talking about. And which the 30 character change I’m proposing to the code would mean sfizz does correctly.
Tuning in samplers is hard. But setting note 69 to 432 in your ui and have it not be 432 is also probably not what you want :)

Btw a scale scl and kbm op code in sfz is a good idea! In surge we have options for patches to store tunings and mappings for this exact reason and in sampler contexts it is even more important.

Hey folks!
any chance you could look at this again? It’s a real easy change
also in the last year I fixed some edge case bugs in tuning lib so you may want to pull even if you leave the mapping wrong!

I'll put the simple change in the upcoming release if I find a little bit of time, also as a test to see if anyone actually complains about the differing behavior with sforzando.

Awesome thank you!
It is relatively easy to replicate the sforzando behavior if you really want - namely you just tune note 60 to that frequency from the formula. But indeed if someone sets note 69 to 440, and gets 412, and thinks that is correct, then they will complain!
For sampled instruments most scales have length 12 and are tiny tweaks anyway so the difference will really just be the cents knocked out from C to A vs concert.

Hey everyone! Just wanted to pop in and say, me and a few others would be glad to see this change implemented. There's currently no free sampler that handles tuning adequately, and it would be great if one existed! :)

One thing that I do want to add. About the keyranges and regions.
One of the things that's so great about correct kbm implementation (and also about MTS-ESP, but that's another issue) is that it lets you un-map keys. So for the 9-note scale in Pauls example, you might choose three notes and make them un-mapped. Pressing those keys would then result in silence, and the actual doubling of frequencies takes up the same amount of keys as normal. So at least for scales with <12 notes, this change may actually help avoid problems with key ranges when retuning.
Scales with >12 notes, and especially alternative controllers, might take some more thought to get right for the key ranges. But it's at least a start!
And just as a point of possible interest: Several folks I know have been expressing their disappointment at Sforzandos tuning features. So I'd like to humbly suggest that when it comes to tuning in particular, feature-parity with Sforzando might not be a good goal.
Thanks for your time!

KBM support would be great, however with the current setup Frequency can only be between 300.0 Hz and 500.0 Hz
As much as many people use A4 at 440.0 Hz many microtonal musicians prefer to use C4 at 261.6 Hz (having extra decimals would also be useful) which is not possible with the current build
Could you make it that the range for Frequency be greater than 300-500 Hz? At least allowing for 200 as bottom limit would ensure that C4 at 261.6 is feasible.
Thanks


expand installation docs on public/private ip space

Specifically this document: http://docs.deis.io/en/latest/installing_deis/baremetal/#deis-on-bare-metal
In the section on Update $private_ipv4, specifically expand on the difference between COREOS_PUBLIC_IPV4 and COREOS_PRIVATE_IPV4. Can these be the same ip address? Do you need two separate physical interfaces?
This is in the context of bare metal or running on VMWare where typically you wouldn't create an instance with multiple network adapters unless you had a reason to. edit: I've done 3 rounds of installing coreos (at about 30 minutes a piece between building the configs and waiting for the images to write to disk) without getting this right at this point, very infuriating.

This is not something we'll be able to get to for the LTS release (#4776), and provisioning Deis v2 is done through installing a vanilla kubernetes cluster so I'm going to go ahead and close this.


Error in simulation of real-time buffer filling

We have a sequence used for readout of a single demodulated value that fails in the simulator and succeeds on the real hardware. It can be resolved by adding a wait_sync 4 instruction at the start of the sequence program.
A unit test of what we do:
@pytest.fixture
def q1sim():
    s = Q1Simulator("q1sim", sim_type="QRM")
    yield s
    s.close()

class TestQ1Simulator:
    def test_continuous_readout_sequence(self, q1sim):
        sequence = {
            "waveforms": {},
            "weights": {},
            "acquisitions": {"testacq": {"num_bins": 1, "index": 0}},
            "program": "acquire 0, 0, 1000\nstop",
        }
        sqcr = q1sim.sequencer0
        sqcr.integration_length_acq = 1000
        sqcr.cont_mode_en_awg_path0 = True
        sqcr.cont_mode_waveform_idx_awg_path0 = 0
        sqcr.cont_mode_en_awg_path1 = True
        sqcr.cont_mode_waveform_idx_awg_path1 = 0
        sqcr.cont_mode_waveform_idx_awg_path1 = None
        sqcr.cont_mode_waveform_idx_awg_path0 = None
        sqcr.cont_mode_en_awg_path1 = None
        sqcr.cont_mode_en_awg_path0 = None
        sqcr.integration_length_acq = None
        sqcr.sync_en = None

        sqcr.sequence(sequence)
        q1sim.arm_sequencer(0)
        q1sim.start_sequencer(0)
        q1sim.get_sequencer_state(0)
        q1sim.get_acquisition_state(0)
        data = q1sim.get_acquisitions(0)["testacq"]["acquisition"]["bins"]["integration"]
        assert not math.isnan(data["path0"][0])
        assert not math.isnan(data["path1"][0])

Dat is snel 😉
En ook al een nieuwe release zie ik, tnx!
Michiel
From: Sander de Snoo @.>
Sent: woensdag 27 juli 2022 16:04
To: sldesnoo-Delft/q1simulator @.>
Cc: Haye, M.J. (Michiel) @.>; Author @.>
Subject: Re: [sldesnoo-Delft/q1simulator] Error in simulation of real-time buffer filling (Issue #3)
Closed #3https://github.com/sldesnoo-Delft/q1simulator/issues/3 as completed via e463b5fhttps://github.com/sldesnoo-Delft/q1simulator/commit/e463b5fb4c77c6e72cbde272f2d097a02b7baf57.
—
Reply to this email directly, view it on GitHubhttps://github.com/sldesnoo-Delft/q1simulator/issues/3#event-7073313556, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ASCTPDOHBPSKGQW6ODKN22LVWE6VPANCNFSM54ZSXQCA.
You are receiving this because you authored the thread.Message ID: @.***>
This message may contain information that is not intended for you. If you are not the addressee or if this message was sent to you by mistake, you are requested to inform the sender and delete the message. TNO accepts no liability for the content of this e-mail, for the manner in which you use it and for damage of any kind resulting from the risks inherent to the electronic transmission of messages.

Dit waren zulke kleine en eenvoudige aanpassingen. Daar wil ik niet nog een keer over nadenken. Afvinken en verder. ☺
Dank voor de verbeteringen.
Groet,
Sander
From: mjhaye @.>
Sent: 27 July 2022 16:57
To: sldesnoo-Delft/q1simulator @.>
Cc: Sander de Snoo @.>; State change @.>
Subject: Re: [sldesnoo-Delft/q1simulator] Error in simulation of real-time buffer filling (Issue #3)
Dat is snel 😉
En ook al een nieuwe release zie ik, tnx!
Michiel
From: Sander de Snoo<EMAIL_ADDRESS>Sent: woensdag 27 juli 2022 16:04
To: sldesnoo-Delft/q1simulator<EMAIL_ADDRESS>Cc: Haye, M.J. (Michiel<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [sldesnoo-Delft/q1simulator] Error in simulation of real-time buffer filling (Issue #3)
Closed #3https://github.com/sldesnoo-Delft/q1simulator/issues/3https://urldefense.com/v3/__https:/github.com/sldesnoo-Delft/q1simulator/issues/3*3E__;JQ!!PAKc-5URQlI!6u2SvQeG9a2wX88QlrTKhI-2BbnFOZx-YUwr-6gJSSG4S3sB6CsTkkuTxgRC8GApnyT6a2dvbYHbEVCU4Z2LWWi98szA$ as completed via e463b5fhttps://github.com/sldesnoo-Delft/q1simulator/commit/e463b5fb4c77c6e72cbde272f2d097a02b7baf57https://urldefense.com/v3/__https:/github.com/sldesnoo-Delft/q1simulator/commit/e463b5fb4c77c6e72cbde272f2d097a02b7baf57*3E__;JQ!!PAKc-5URQlI!6u2SvQeG9a2wX88QlrTKhI-2BbnFOZx-YUwr-6gJSSG4S3sB6CsTkkuTxgRC8GApnyT6a2dvbYHbEVCU4Z2LWRspD-EU$.
—
Reply to this email directly, view it on GitHubhttps://github.com/sldesnoo-Delft/q1simulator/issues/3#event-7073313556https://urldefense.com/v3/__https:/github.com/sldesnoo-Delft/q1simulator/issues/3*event-7073313556*3E__;IyU!!PAKc-5URQlI!6u2SvQeG9a2wX88QlrTKhI-2BbnFOZx-YUwr-6gJSSG4S3sB6CsTkkuTxgRC8GApnyT6a2dvbYHbEVCU4Z2LWQquUdVA$, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ASCTPDOHBPSKGQW6ODKN22LVWE6VPANCNFSM54ZSXQCAhttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/ASCTPDOHBPSKGQW6ODKN22LVWE6VPANCNFSM54ZSXQCA*3E__;JQ!!PAKc-5URQlI!6u2SvQeG9a2wX88QlrTKhI-2BbnFOZx-YUwr-6gJSSG4S3sB6CsTkkuTxgRC8GApnyT6a2dvbYHbEVCU4Z2LWY_8dhq6$.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>This message may contain information that is not intended for you. If you are not the addressee or if this message was sent to you by mistake, you are requested to inform the sender and delete the message. TNO accepts no liability for the content of this e-mail, for the manner in which you use it and for damage of any kind resulting from the risks inherent to the electronic transmission of messages.
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/sldesnoo-Delft/q1simulator/issues/3*issuecomment-1196869275__;Iw!!PAKc-5URQlI!6u2SvQeG9a2wX88QlrTKhI-2BbnFOZx-YUwr-6gJSSG4S3sB6CsTkkuTxgRC8GApnyT6a2dvbYHbEVCU4Z2LWamM9GsJ$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AOFXSFSGRCDTIKQVKY3ASP3VWFE3BANCNFSM54ZSXQCA__;!!PAKc-5URQlI!6u2SvQeG9a2wX88QlrTKhI-2BbnFOZx-YUwr-6gJSSG4S3sB6CsTkkuTxgRC8GApnyT6a2dvbYHbEVCU4Z2LWSYUt4S6$.
You are receiving this because you modified the open/close state.Message ID<EMAIL_ADDRESS>


add mac_build

adds a build of CIL for MacOSX.

@epapoutsellis the appropriate minimum CMake version has not been found yet for the Mac build, therefore the build may fail if CMake is too old. Please, find out which is the minimal version of CMake for the mac build and fix the CMakeLists.txt https://github.com/TomographicImaging/CIL/blob/3e29c5b512485e563935053b33b7dba5d9187690/CMakeLists.txt#L1
Once detected that the build system is mac it should use a different version of CMake than the current 3.4

Minimum cmake version is 3.15


Mobile Traffic Redirection (User Agent)

I want to redirect mobile device traffic to another domain. For example www.example.com to m.example.com
Is this possible with Fabio?

As in you want Fabio to read user agent strings and only redirect mobile devices?  That’s not currently a feature we support.

There is a library that I have used in other applications that could make this possible as qualifiers to the http-redirect statement: https://github.com/mssola/user_agent

@leprechau could you assist on this one, I would like to jump in for my first contribution :)

@kuskmen I'd be happy to provide assistance.  What exactly are you looking for?

@leprechau , thanks, well, perhaps where other redirections are implemented in the project would be a good start, if any. If not, maybe a good place to start, also are we saying that it is okay if I use the library you provided above?


@floating-ui/utils contains react as a peerDependency

Describe the bug A clear and concise description of what the bug is.
As I am using vue I don't expect react in my node_modules.
The Package: @floating-ui/utils list react as a peer dependency but I could not find any usage of react in its source files.
To Reproduce

Steps to reproduce the behavior:

Go to 'https://github.com/floating-ui/floating-ui/blob/master/packages/utils/package.json'
Look at 'peerDependencies'

Expected behavior A clear and concise description of what you expected to
happen.
I would suggest removing react as a peer dependency or mark it as optional.

This should've been removed along with https://github.com/floating-ui/floating-ui/pull/2689 (previously, the peer dep wasn't actually specified until a recent turborepo refactor).


Enchance binary sensors setup

Add device_class to binary_sensors setup and use problem class for service_needed.
Add Post Heating to binary_sensors setup.

Post heating is already included in the 'climate' entity (when set to heat), but I guess it won't hurt anyone even though if it's as a separate entity as well.
Thanks @jukkapirinen !

Thanks.
Actually post heating status is not shown in the climate panel. It just shows if mode is set to HEAT or FAN.
On Vallox control panel it shows this icon if the incoming temp is too low and powers on the post heating:

Related entries in mqtt
Heating mode on, heating on
"mode":"HEAT","heating":true
Heating mode on, heating off
"mode":"HEAT","heating":false


[UI] list of instance types in the Rancher UI for EKS is stale

similar to https://github.com/rancher/rancher/issues/22907 from 2019 I'd like to use newer instance types in the "Instance Type" field when using the Node Group template.
There's an open Rancher support case about this at https://scc.suse.com/support/cases/01548430.
I've forked the UI repo and have a PR at https://github.com/rancher/ui/pull/5178.
The TLDR is I've tried to update Intel/AMD instance types but have ignored including Graviton instances because Rancher docs say ARM64 support is "experimental".

Official AWS EC2 instance types list: https://aws.amazon.com/ec2/instance-types/


Problems with translation on flutter's official website

Flutter is out.
what？
In China, the word means to be eliminated.

爱过，下一题

用过，下一题

Issue moved to flutter/website #1876 via ZenHub


Can't create handler inside thread that has not called Looper.prepare()

here is my code:
@Subscribe(tags = {@Tag(ImagePickerActivity.RX_EVENT_IMAGE)},thread = EventThread.MAIN_THREAD)
public void onPicker(String[] images) {
........
}
in onPicker method,I use AsyncTask to upload image throw error:Can't create handler inside thread that has not called Looper.prepare().  I use the most of solution on net,but not worked.can you help me ,thank you

post your asynctask code?
you also can run subscribe in other thread, and just post the image to server, then callback to main thread.

OK,I solve it,thank you very much.

it's okay.


Transform Controller Markers Behind Environment Models

The GUI Transform Control displays of a robot model for the linear/rotational transformations are behind the world environment and only appear on the robot model. I have attached images of:

a regular version which shows some clipping on the rotation circles
a zoomed in version to show the complete rotation circles displayed on the robot model
a zoomed out version to show the bands disappear and only be visible in open space

Thanks for the issue. There's probably some property of the cave materials that is making it be rendered above the GUI tools. The fix may end up being in ign-rendering, but it's fine to keep tracking this here.

Thanks for the issue. There's probably some property of the cave materials that is making it be rendered above the GUI tools. The fix may end up being in ign-rendering, but it's fine to keep tracking this here.

Seconding this one. It's quite difficult to build worlds with the GUI when you can't count on the arrows. I did not see this issue with any materials displaying over the arrows until the switch from Blueprint to Dome.

I did some tests and it looks like the markers, and probably anything with IGN_VISIBILITY_GUI don't show through any PBR materials. It's easy to reproduce with this model:

@iche033 , any guidance on how to fix this?

here's a fix in https://github.com/ignitionrobotics/ign-rendering/pull/266


approved claims submittable

You can submit an Approved claim. You can also submit a Submitted claim, which obviously has no effect, but perhaps there should be a message or something upon trying to submit an already submitted claim?

It might make more sense to just hide the Submit button.

that's what I ended up doing.  the push is coming soon!


yellow message with white text

difficult to read as teh yellow is very flashy on ios. maybe change the text color to black or change the background color to orange ?

deprecated