apple app store submission warning regarding UIWebView

We're using the unity flurry sdk and we just started getting warnings that our app won't be approved after december 2020 due to depricated API.
ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView APIs starting from December 2020 . See https://developer.apple.com/documentation/uikit/uiwebview for more information.
User grep in our xcode folder indicates this SDK implements UIWebView. Any plans to remove it before December?

Hello,
The issue is resolved in our most recent releases. Please update to the latest package 2.4.0, and make sure you remove the older files.

Fixed in 2.4.0 release.


Add capability to print engine dart sdk to flutter doctor

Thanks Todd, yes this PR is far from complete. I just wanted to see if the idea is sound. So refine this approach and add tests then?

So refine this approach and add tests then?

👍

Ready for another round. Let me know if you have a better idea for testing the version string.


setting compute function and delStates simultaneously

When we assign a compute function to an object (quantum system, protocol, and/or simulation), we set delStates flag to True, if we want to discard the states (since we might be computing everything that we are interested in). We can introduce an alternative syntax to also set these simultaneously.

another possible solution to this issue is to pass simDelStates (or simply delStates) as an argument to runSimulation() (or simply run(). Default can still be False.


Create our own config self-hosted schema

We should auto generate and publicate our own JSON schema to help our users write their detekt configuration file. Here there are some documentation: https://github.com/SchemaStore/schemastore/blob/master/CONTRIBUTING.md#self-hosting-schemas
#4155 for more context

If/when this is done (or someone updates the schema in the store), it should be moved to a versioned schema, so that people can choose the right version in the IDE, here's an example from the catalog:
{
  "name": "Expo SDK",
  "description": "JSON schema for Expo SDK app manifest",
  "fileMatch": [
    "app.json"
  ],
  "url": "https://json.schemastore.org/expo-46.0.0.json",
  "versions": {
    ...
    "42.0.0": "https://json.schemastore.org/expo-42.0.0.json",
    "46.0.0": "https://json.schemastore.org/expo-46.0.0.json"
  }
},

Note: original version of Detekt schema was added in https://github.com/SchemaStore/schemastore/pull/1301

@BraisGabin I think there are two tasks here, which can be done independently:

[ ] generate a schema from the annotations rather than being inferred from the default config.
[ ] self-host the schema (version control, tag, release-process to update the catalog)

The first one doesn't sound hard, it's probably very similar to how the default config is generated?

@TWiStErRob Thanks for bumping this up.
Yes for 1. we should be able to extend the generate-config logic to essentially create the JSON Schema for it.
The self-hosting is something we can look into once we have the schema generation in place.
I think this is quite important, and also a bit overlooked by us, as IntelliJ pulls those schemas from SchemaStore and might show invalid warnings to users.

I had a stab at updating the schema in the store, here's what I did:

git checkout v1.22.0 in the Detekt repo to be as close as possible to the release
rm config/detekt/detekt.yml
gradlew :detektGenerateConfig -> config/detekt/detekt.yml
Edit file and uncomment what's commented to help inference, except the weights.
git clone https://github.com/SchemaStore/schemastore
Copy detekt\detekt-core\src\main\resources\default-detekt-config.yml
into schemastore\src\test\detekt-1.22.0\default-detekt-config.json
via https://onlineyamltools.com/convert-yaml-to-json
Copy generated (non-commited) detekt/config/detekt/detekt.yml
into schemastore\src\test\detekt-1.22.0\generated-detekt-config.json
via https://onlineyamltools.com/convert-yaml-to-json
Infer schema from schemastore\src\test\detekt-1.22.0\generated-detekt-config.json
into schemastore\src\schemas\json\detekt-1.22.0.json
via https://www.liquid-technologies.com/online-json-to-schema-converter (Options: array rules = allow anything, make required = false)
Few manual edits, see commit descriptions.

This could help with defining the format of the schema in the future and also resolves some issues, like #5588

Agree that this can be done in two parts. I didn't try to address this because we don't have a clear idea about how do we want our config file to look like for 2.0.
We talked about a lot of ideas but never take a decission:

kotlin dsl
yaml
toml

And then how are we going to handle different cases:

extensabilty

plugins should be able to add its own rules to that file
plugins should ve able to add tags for every rule (for example add a custom suppressors)

allow to configure one rule multiple times. Examples:

forbid some imports on production code but don't forbid then on tests
add different naming rules depending on an annotation (For example @Composable)

Nice to have: type-safety/auto-complete
easy to compose multiple configurations

we have this already but it doesn't work with lists so you can have a default list of forbidden imports and add one on a module without copying all the list.

And probably I'm missing things.

I think that once we take a decission on this the road to 2.0 will be way, way easier.

Sure! Sorry for the off topic.
My point was more about, do we want to add this if, maybe, we are going to remove it on 2.0? And probably the answer is yes. 2.0 isn't near right now.

Yep, I think this has been ongoing for long enough to ignore the presence of 2.0 looming over us. Even if things change in Detekt 2.0, you clearly demonstrated that we don't know how, yet, so we cannot take action on that. Move forward and do things as business as usual, while maintaining the milestone. Until there's a clear plan and timeline, I feel it's easy to use it as a deprioritization vehicle.


fix documentation color to light mode

In the recent dev of pydata-sphinx-theme I added a theme switcher, unfortunately, the jupyter-sphinx extension is not (yet) responsive to this switch making it ... ugly. In this PR, I changed the default behavior and force the doc to always display itself in light theme.
I was wondering any reason why you are not using ReadTheDoc to build your documentation ?

Also, look at that nice CI log of the docs build to verify these changes didn't break anything: https://github.com/banesullivan/localtileserver/actions/runs/2617955080
I haven't kept up with ReadTheDocs so I don't know if CI checks like that are possible.


Connect appwrite with the login screen

Hey there @XxThunderBlastxX i can start on this  implementation. But before that can we have a short discussion about the user model that you want to define on gmeet. It wouldnt take much time

Hey there the model creation of the user is done. After your environment setup is done i can take up this issue and solve under JWOC

@XxThunderBlastxX can we start on this ?

Can we start with this implementation ?

@sagnik-sanyal u can start with this


error: substrate Dev/local testnet error, can't produce new block

subtrate the last version(67f4be5) master :
dev or local Tow node testnet same error: Random Kademlia request has yielded empty results,
and can't produce new block.
echo:
threebody@deepin:~/Desktop/github/substrate/target/debug$ ./substrate --dev -d /tmp/devtest1
2018-10-23 10:24:44 Substrate Node
2018-10-23 10:24:44   version 0.1.0-67f4be54-x86_64-linux-gnu
2018-10-23 10:24:44   by Parity Technologies, 2017, 2018
2018-10-23 10:24:44 Chain specification: Development
2018-10-23 10:24:44 Node name: cautious-horses-4408
2018-10-23 10:24:44 Roles: AUTHORITY
2018-10-23 10:24:44 Initialising Genesis block/state (state: 0xc7e0…effc, header-hash: 0xe2f1…0d07)
2018-10-23 10:24:44 Best block: #0
2018-10-23 10:24:44 Local node address is: /ip4/<IP_ADDRESS>/tcp/30333/p2p/QmUWbAsSZaKVjVSkE3fEcKqxLXHAemAqpe4CyybTuWtfZi
2018-10-23 10:24:44 Idle (0 peers), best: #0 (0xe2f1…0d07)
2018-10-23 10:24:49 Random Kademlia request has yielded empty results
2018-10-23 10:24:49 Idle (0 peers), best: #0 (0xe2f1…0d07)
2018-10-23 10:24:54 Idle (0 peers), best: #0 (0xe2f1…0d07)
2018-10-23 10:24:59 Idle (0 peers), best: #0 (0xe2f1…0d07)
2018-10-23 10:25:04 Idle (0 peers), best: #0 (0xe2f1…0d07)
2018-10-23 10:25:09 Idle (0 peers), best: #0 (0xe2f1…0d07)
2018-10-23 10:25:14 Idle (0 peers), best: #0 (0xe2f1…0d07)
2018-10-23 10:25:19 Idle (0 peers), best: #0 (0xe2f1…0d07)
2018-10-23 10:25:24 Idle (0 peers), best: #0 (0xe2f1…0d07)
2018-10-23 10:25:29 Idle (0 peers), best: #0 (0xe2f1…0d07)
2018-10-23 10:25:34 Random Kademlia request has yielded empty results
2018-10-23 10:25:34 Idle (0 peers), best: #0 (0xe2f1…0d07)
2018-10-23 10:25:39 Idle (0 peers), best: #0 (0xe2f1…0d07)
2018-10-23 10:25:44 Idle (0 peers), best: #0 (0xe2f1…0d07)
2018-10-23 10:25:49 Idle (0 peers), best: #0 (0xe2f1…0d07)
2018-10-23 10:25:54 Idle (0 peers), best: #0 (0xe2f1…0d07)
2018-10-23 10:25:59 Idle (0 peers), best: #0 (0xe2f1…0d07)
2018-10-23 10:26:04 Idle (0 peers), best: #0 (0xe2f1…0d07)
2018-10-23 10:26:09 Idle (0 peers), best: #0 (0xe2f1…0d07)
2018-10-23 10:26:14 Idle (0 peers), best: #0 (0xe2f1…0d07)
2018-10-23 10:26:19 Random Kademlia request has yielded empty results
2018-10-23 10:26:19 Idle (0 peers), best: #0 (0xe2f1…0d07)
2018-10-23 10:26:24 Idle (0 peers), best: #0 (0xe2f1…0d07)
2018-10-23 10:26:29 Idle (0 peers), best: #0 (0xe2f1…0d07)

This is caused by #900
The network in master is currently not compatible with the one on the testnet.

BBQ Testnet have the same issue.

Getting this error today as I was attempting to bring a node online to support "BBQ Birch" network.
2018-10-26 08:58:19 Random Kademlia request has yielded empty results
2018-10-26 08:58:19 Idle (0 peers), best: #0 (0x55a7…30e1)
2018-10-26 08:58:24 Idle (0 peers), best: #0 (0x55a7…30e1)
2018-10-26 08:58:29 Idle (0 peers), best: #0 (0x55a7…30e1)
2018-10-26 08:58:34 Idle (0 peers), best: #0 (0x55a7…30e1)
2018-10-26 08:58:39 Idle (0 peers), best: #0 (0x55a7…30e1)
2018-10-26 08:58:44 Idle (0 peers), best: #0 (0x55a7…30e1)
2018-10-26 08:58:49 Idle (0 peers), best: #0 (0x55a7…30e1)
2018-10-26 08:58:54 Idle (0 peers), best: #0 (0x55a7…30e1)
2018-10-26 08:58:59 Idle (0 peers), best: #0 (0x55a7…30e1)
2018-10-26 08:59:04 Idle (0 peers), best: #0 (0x55a7…30e1)
2018-10-26 08:59:09 Idle (0 peers), best: #0 (0x55a7…30e1)


Cross Attention in training and generation

Hi,
Thank you for releasing your  code. I would like to understand where is the decoupled cross-attention being used in the code,  as stated in the paper. In the code, I only say concatenation. I would appreciate any explanation you can provide - thank you.

In the training code in tutorial_train.py in the IPAdapter class, the encoder state is being concatenated with the output of the image projection model. But in the architectural diagram of the paper, it is being input through a decoupled  cross-attention model, which I don't see in the code below.

def forward(self, noisy_latents, timesteps, encoder_hidden_states, image_embeds):
       ip_tokens = self.image_proj_model(image_embeds)
       encoder_hidden_states = torch.cat([encoder_hidden_states, ip_tokens], dim=1)
       # Predict the noise residual
       noise_pred = self.unet(noisy_latents, timesteps, encoder_hidden_states).sample
       return noise_pred

Likewise, in the generator code, the optional text prompt and image prompt embeddings (using the trained projection model) are concatenated and input to the stable diffusion model for generation. I don't see any cross attention during generation.

prompt_embeds = torch.cat([prompt_embeds_, image_prompt_embeds], dim=1)
I dont see the following ip_layers being used during generation.
 ip_layers = torch.nn.ModuleList(self.pipe.unet.attn_processors.values())
 ip_layers.load_state_dict(state_dict["ip_adapter"])

see https://github.com/tencent-ailab/IP-Adapter/blob/main/ip_adapter/attention_processor.py#L82

Thank you. I understand where your have implemented the cross-attention. But is the cross-attention being used  during generation? It looks like the image is embedded using the projection layer and then concatenated with the (optional) text embedding for without using cross-attention during generation . Is this correct?

@athena913  it is used, see https://github.com/tencent-ailab/IP-Adapter/blob/main/ip_adapter/ip_adapter.py#L94

Thanks for your contribution but can you explain in more detail?

In tutorial_train.py, I see 'adapter_modules' is just initialized but not used during training. How can it update the parameter?

@athena913 it is used, see https://github.com/tencent-ailab/IP-Adapter/blob/main/ip_adapter/ip_adapter.py#L94

In set_ip_adapter func, you declare a new 'unet' and use it to call 'set_attn_processor'. Does this have any effect on 'unet' of pipeline?

In load_ip_adapter func, You initialize 'ip_layers' to load weight of 'ip_adapter'. but I don't see it used anywhere in the source code.


Fix typo in comment (sing -> sign)

Since this project is unmaintained, I forked to https://github.com/rustadopt/jzon-rs where I for example merged this PR and maintain it from now on with the community. It's also available in v0.12.5 on https://crates.io/crates/jzon


Use Arm Neon equivalent instructions to Intel VNNI

... for int dot product.

The equivalent for VNNI VPDPBUSD seems to be USDOT.
https://developer.arm.com/documentation/ddi0596/2021-12/SIMD-FP-Instructions/USDOT--by-element---Dot-Product-with-unsigned-and-signed-integers--vector--by-element--
There are some variants: SDOT, SUDOT, UDOT.

CC: @robinwatts

Arm's USMMLA instruction seems even better.
https://developer.arm.com/documentation/ddi0596/2021-12/SIMD-FP-Instructions/USMMLA--vector---Unsigned-and-signed-8-bit-integer-matrix-multiply-accumulate--vector--
I wonder if Intel has an equivalent instruction.


Update 'Dictionary' Feature : Update UI Behaviour

The following change has been made

Remove list selection highlight
Set dictionary content scroll pane to top every time the content change.

Codecov Report

Merging #259 (52b792c) into master (3d9f553) will not change coverage.
The diff coverage is 0.00%.

@@            Coverage Diff            @@
##             master     #259   +/-   ##
=========================================
  Coverage     57.59%   57.59%
  Complexity      832      832
=========================================
  Files           169      169
  Lines          3139     3139
  Branches        314      314
=========================================
  Hits           1808     1808
  Misses         1206     1206
  Partials        125      125

Impacted Files
Coverage Δ
Complexity Δ

...va/seedu/dictionote/ui/DictionaryContentPanel.java
0.00% <0.00%> (ø)
0.00 <0.00> (ø)

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 3d9f553...52b792c. Read the comment docs.


Update Component's READMEs code snippet styling

Noticing errors throughout component's individual READMEs. Update needed to:

[ ] correct code snippet styling
[ ] uniform content structure (consistent use of H2, H3, H4) based on outcome of #1769
[ ] update content according to component update

FYI Code snippet styling is carried forward to website:
https://github.com/carbon-design-system/carbon-website/issues/1040

@jnm2377 will probably ping you again after design&content team figure out #1769 . Thanks!

Considered done at the time being until new, specific fixes are found.


error: Error: Item with key "deck_scatter" is not registered.

Try to start dashboard, but happing this error:
message: "Item with key "deck_screengrid" is not registered." stack: "Error: Item with key "deck_screengrid" is not registered.↵    at b.getAsPromise (webpack-internal:///./node_modules/@superset-ui/core/esm/models/Registry.js:14:1977)↵    at Chart (webpack-internal:///./node_modules/@superset-ui/chart/esm/components/SuperChart.js:12:1951)↵ ..."
Environment

superset version: superset version 0.32.0rc2.dev2
python version: python --version 3.6.7
node.js version: node -v v8.16.0
npm version: npm -v 6.4.1

Did you modify anything or this is clean master?
Try deleting your node_modules directory then npm install and try again.


[Animated] Export AnimatedInterpolation

Export AnimatedInterpolation as "Interpolation" for the purpose of type checking in propTypes

@vjeux What do you think?

Can you please rebase a PR, @dvine-multimedia?

@dvine-multimedia do you have any updates for this pull request? It's been a while so we wanted to check in and see if you've looked at the requested changes.

This pull request hasn't seen activity in a while. If you still want to merge this, please open a new pull request.


Fix issues flake8 flags

Was looking at adding flake8 run as part of test action but will need to fix the issues it's currently flagging first:
ormiret@dunkoked:~/Documents/ctc/the_od_bods$ flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
./web-scrapers/aberdeenshire_council_scraper.py:110:83: F821 undefined name 'title'
                "car parks" or "cycle" or "grit" or "harbours" or "core paths" in title
                                                                                ^
1     F821 undefined name 'title'
1
ormiret@dunkoked:~/Documents/ctc/the_od_bods$ flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
./dcat.py:4:1: E722 do not use bare 'except'
./dcat.py:59:5: E722 do not use bare 'except'
./processor.py:1:1: F401 'urllib.parse' imported but unused
./processor.py:69:9: E722 do not use bare 'except'
./arcgis.py:4:1: E722 do not use bare 'except'
./merge_data.py:1:1: E266 too many leading '#' for block comment
./merge_data.py:4:1: F401 'datetime as dt' imported but unused
./merge_data.py:7:1: C901 'merge_data' is too complex (13)
./merge_data.py:8:5: E266 too many leading '#' for block comment
./merge_data.py:10:5: E266 too many leading '#' for block comment
./merge_data.py:14:5: E266 too many leading '#' for block comment
./merge_data.py:30:5: E266 too many leading '#' for block comment
./merge_data.py:46:5: E266 too many leading '#' for block comment
./merge_data.py:65:5: E266 too many leading '#' for block comment
./merge_data.py:82:5: E266 too many leading '#' for block comment
./merge_data.py:98:5: E266 too many leading '#' for block comment
./merge_data.py:111:5: E266 too many leading '#' for block comment
./merge_data.py:114:5: E266 too many leading '#' for block comment
./merge_data.py:117:5: E266 too many leading '#' for block comment
./merge_data.py:123:1: C901 'clean_data' is too complex (15)
./merge_data.py:132:5: E266 too many leading '#' for block comment
./merge_data.py:135:5: E266 too many leading '#' for block comment
./merge_data.py:149:5: E266 too many leading '#' for block comment
./merge_data.py:153:5: E266 too many leading '#' for block comment
./merge_data.py:155:5: E266 too many leading '#' for block comment
./merge_data.py:158:5: E266 too many leading '#' for block comment
./merge_data.py:175:5: E266 too many leading '#' for block comment
./merge_data.py:195:5: E266 too many leading '#' for block comment
./merge_data.py:204:9: E266 too many leading '#' for block comment
./merge_data.py:595:9: E266 too many leading '#' for block comment
./merge_data.py:602:9: E266 too many leading '#' for block comment
./merge_data.py:611:5: E266 too many leading '#' for block comment
./merge_data.py:614:5: E266 too many leading '#' for block comment
./usmart.py:3:1: E722 do not use bare 'except'
./export2jkan.py:4:1: F401 'math.isnan' imported but unused
./export2jkan.py:6:1: F401 're' imported but unused
./export2jkan.py:75:5: E722 do not use bare 'except'
./export2jkan.py:79:5: E722 do not use bare 'except'
./export2jkan.py:118:18: E741 ambiguous variable name 'l'
./export2jkan.py:130:8: E741 ambiguous variable name 'l'
./export2jkan.py:132:8: E741 ambiguous variable name 'l'
./export2jkan.py:134:8: E741 ambiguous variable name 'l'
./export2jkan.py:137:8: E713 test for membership should be 'not in'
./export2jkan.py:145:1: E266 too many leading '#' for block comment
./tools/alive.py:3:1: F401 'github.GithubIntegration' imported but unused
./tools/alive.py:14:24: E711 comparison to None should be 'if cond is None:'
./tools/alive.py:18:25: E711 comparison to None should be 'if cond is None:'
./tools/alive.py:22:1: C901 'TryExcept 22' is too complex (13)
./tools/alive.py:48:13: F841 local variable 'e' is assigned to but never used
./tools/alive.py:62:27: E712 comparison to False should be 'if cond is False:' or 'if not cond:'
./tests/conftest.py:2:1: F401 'pytest' imported but unused
./web-scrapers/east_ayrshire_scraper.py:13:1: E302 expected 2 blank lines, found 1
./web-scrapers/.#aberdeenshire_council_scraper.py:0:1: E902 FileNotFoundError: [Errno 2] No such file or directory: './web-scrapers/.#aberdeenshire_council_scraper.py'
./web-scrapers/aberdeenshire_council_scraper.py:8:1: E302 expected 2 blank lines, found 1
./web-scrapers/aberdeenshire_council_scraper.py:87:1: C901 'parse_feeds' is too complex (16)
./web-scrapers/aberdeenshire_council_scraper.py:110:83: F821 undefined name 'title'
./web-scrapers/aberdeenshire_council_scraper.py:179:5: E266 too many leading '#' for block comment
./web-scrapers/nls_scraper.py:163:24: E711 comparison to None should be 'if cond is None:'
./web-scrapers/nls_scraper.py:170:1: C901 'fetch_file_size' is too complex (13)
./web-scrapers/nls_scraper.py:233:20: E711 comparison to None should be 'if cond is None:'
./web-scrapers/nls_scraper.py:257:20: E711 comparison to None should be 'if cond is None:'
./web-scrapers/nls_scraper.py:388:13: E266 too many leading '#' for block comment
./web-scrapers/nls_scraper.py:389:45: E231 missing whitespace after ','
./web-scrapers/nls_scraper.py:389:51: E261 at least two spaces before inline comment
./web-scrapers/nls_scraper.py:389:52: E262 inline comment should start with '# '
./web-scrapers/nls_scraper.py:389:75: W291 trailing whitespace
5     C901 'merge_data' is too complex (13)
1     E231 missing whitespace after ','
1     E261 at least two spaces before inline comment
1     E262 inline comment should start with '# '
28    E266 too many leading '#' for block comment
2     E302 expected 2 blank lines, found 1
5     E711 comparison to None should be 'if cond is None:'
1     E712 comparison to False should be 'if cond is False:' or 'if not cond:'
1     E713 test for membership should be 'not in'
7     E722 do not use bare 'except'
4     E741 ambiguous variable name 'l'
1     E902 FileNotFoundError: [Errno 2] No such file or directory: './web-scrapers/.#aberdeenshire_council_scraper.py'
6     F401 'math.isnan' imported but unused
1     F821 undefined name 'title'
1     F841 local variable 'e' is assigned to but never used
1     W291 trailing whitespace
66
ormiret@dunkoked:~/Documents/ctc/the_od_bods$

@JackGilmore  is this up for grabs?

@ormiret are you still working on this or are you happy for @scrapgists to have a go at it?

I'm definitely happy for other people to take things off my TODO list :) It generally increases the chances that the things actually get done.
The 5 things flagged C901 "too complex" might need fairly major reworking (and I'd like tests for that code before refactoring it...) so maybe just go with flagging them so flake8 will pass for now and file other tickets for the refactoring there.


To find out server side intersection, is possible to use bloom filter bit operation ?

Question
In the federated learning case, the intersections needs to be calculated for both sites. using PSI to achieve this, requires reverse process. If we want to improve the performance, can we leverage the bit operation on filter rather than reverse the PSI setup, request, response process.
Further Information
Use Case:  Federated Vertical learning, two sites has different user records, we need find the match user Ids before we can training the mode.  Both Sites will need to know the intersection.
Suppose we use PSI to find the match user Ids. Take site-1 as PSI Server (S), site-2 as PSI client (C). The current process
Forward Pass:
S (setup msg) --> bloom filter  ==> delivery ==> C (receive setup bloom filter)
S (receive request)               <== request <== C (prepare request msg)
S (response msg)               ==> deliver ===> C ( receive response, compare with the setup bloom filter to find the intersection)
at the end of forward Pass,  Site-1 doesn't know intersection, Site-2 knows the intersection.
To calculate the S intersection, we can reverse the process, now takes Site-2 as Server Role, use the intersection as the Items. Repeat above process, called Reverse Pass.  then Site-1 knows the intersection as well.
This works, but I am wondering if there is a faster way to do this. Looking at above Forward Pass.
Step 3 Client: Intersection calculation,
One we have the intersection, we can derive an new bloom filter based on the setup bloom filter where only the intersection bits are 1, others are 0.  Let's call it intersect bloom filter
On the reverse pass, instead repeat above step, can we simply sent the intersect bloom filter back to Server.
C (intersect bloom filter) ===> S (receive intersect bloom filter)
Server
loop all items to check against the intersect bloom filter to figure out the intersection.
The question, is this reasonable  and secure ?  If yes, can you add these in the Python APIs ?
Screenshots
None
System Information
N/A
Additional Context
Add any other context about the problem here.

My short answer is, no I don't think this is possible, but I might be misunderstanding the proposed solution.
Every intersection calculation in the protocol should use a new key and a new instance of the backing data structure (GCS/Bloomfilter). If you do not, then it allows the client to learn from the server (over many intersection requests) and can eventually enumerate/bruteforce the server's set.
Reusing the bloom filter (keeping the 1s as markers for the intersection and 0s for everything else) means you'd 1) be reusing the same key and 2) leak the client (site-2) intersections to server (site-1). The server now knows something from the client's set where if it used the 2-pass suggestion it could not.


Add defineProps and defineEmits on Vue preset

Hello! Would it be possible to add defineProps and defineEmits on the Vue preset? Or is it bad for some reason?

Sorry nevermind, I was doing some stuff wrong here

You can try this one
https://github.com/vuejs/core/issues/4454


Add default anchor spec to package

I don't think these changes will work because anchor_spec.json was moved and the anchor path was set to point to the old location. One or the other will work, but not both, I believe.

I changed the path to point to pathlib.Path(__file__).parent.resolve() / "anchor_spec.json", which works when I test it. Did you try it?

anchor_spec.json is not included in pip install. Requires something like the following in setup.py: https://stackoverflow.com/questions/71034122/including-json-files-as-part-of-python-package


zeal does not work

Issue description
The zeal application does not start due to some icon issues.
It endless prints QSystemTrayIcon::setVisible: No Icon set again and again.
Steps to reproduce
Use awesome, konsole and just run zeal.
Technical details

System: NixOS 17.03pre95306.a24728f (Gorilla)
Nix version: nix-env (Nix) 1.11.4
Nixpkgs version: 17.03pre95306.a24728f
Zeal: 0.3.1
awesome: v3.5.9 (Mighty Ravendark)
konsole: 16.08.2

@flosse it seems to be working just fine here, maybe there is an issue with your Qt settings.
Before checking them, could you temporarily move your configuration, e.g. mv ~/.config/Zeal{,.old} and check if it works?

maybe there is an issue with your Qt settings.

how & where can i change them?

could you temporarily move your configuration

unfortunately the error is still there :(

It's ok. Install qt5ct (nix-env -iA nixos.qt5ct), run it to configure the theme you are using and then export QT_QPA_PLATFORMTHEME=qt5ct just before running zeal from your terminal.

cool, that works!
How can I reflect this in my configuration.nix?

@flosse https://github.com/NixOS/nixpkgs/blob/eedc0f0a78f807f9dafadf14b5ed944e0239bca2/nixos/modules/programs/qt5ct.nix#L27 indicates that simply setting config.programs.qt5ct.enable to true should work.
You can also set environment.variables.QT_QPA_PLATFORMTHEME="qt5ct"; directly in configuration.nix.

Is there a way to make this work by default?

Yeah, it's really not ideal that one need to know about these things to use kde programs outside kde. Same problem for okular for instance (startup time is doubled+ also in that case in addition to lack of icons).
Seems like alot of kde programs is wrapped so one way would be to add a default value to QT_QPA_PLATFORMTHEME in those wrappers? I guess which value to use depends on what themes is available though so that might be a problem.
Unfortunately these kinds of problems seems to come up alot in nixos, at least for programs used outside their "native" desktop environment. Thunar outside xfce also lack alot of icons for instance.

@olejorgenb Thanks for your tips :) I just did both setting qt5ct.enable = true; and the environment variable QT_QPA_PLATFORMTHEME="qt5ct"; and it works :)

Are there any updates on this issue, please?

even though zeal doesn't build on current unstable (or maybe it's just my fork), it worked fine on the previous iteration thus closing

even though zeal doesn't build on current unstable (or maybe it's just my fork), it worked fine on the previous iteration thus closing


Springster pattern setup

@saeedmb8 @projectmushroom please review
Molo Core and Gem project setup using template pattern & style


Allow for base url

I'd love to ability to set a base url. If you have a url like:
example.com/api/*
It would be great if you could set the base url to be /api/

The current behaviour is the path is taken from the hostname and path, e.g. http://<IP_ADDRESS>:3000/api. You can handle routes like the following:
app.get("/api/get", (ctx) => {
  return ctx.sendText("Hello");
});

Is this roughly what you mean or do you want to just do this?
app.get("/get", (ctx) => {
  return ctx.sendText("Hello");
});

I'd like the last thing, where by default "/get" would get prefixed by "/api/" if you choose so. This would mean you could just write "/boots" "/get" instead of "api/boots" and "api/get".
Simular concept to the html base tag: https://www.w3schools.com/TAGs/tag_base.asp


mne.channels.read_montage deprecated without deprecation cycle?

I might have missed something, but I have a feeling that mne.channels.read_montage did not raise any deprecation warnings before, and now it is unavailable. It took me a while to find out what I should use instead to create a standard montage. I could not find this information in whats new too (only the deprecation, but not what should be used instead). Was read_montage removed without a deprecation cycle?

It is in 0.19 but not master, so there is a deprecation cycle. It was deprecated right before release, though, so users of master barely saw any warning (just for a week or two).
You should use make_standard_montage or one of the dedicated mne.channels.read_dig_* readers

@larsoner Yes, I know what to use, I found it in one of the PRs. :) Good to know the deprecation is in 0.19, sorry for the noise.

Feel free to make a doc update for maint/0.19, though, the release notes and deprecation warning perhaps could have been clearer about what to use instead


add step size for average sun angle

I didn't see "Our high res model is already taking steps smaller than 300s". GEOSldas needs control of the step size. Now I pull request both on master and develop branch


SassFilter does work in load instead of dump

Is there a reason for this?
I have a worker that loads the content of assets to use a Cachebusting hash. I feed it "getContent()" after "BaseAsset::load()" has run - so it processes filter loads.
The uglifyjs filter does its work in dump, which is great. But the SassFilter does it in load. Is there a reason?
I may end up overloading this filter and swapping the dump/load implementations. But would be nice to  defer this compilation in this package if possible.

that would totally change the behavior of the filter. And regarding the semantic of load and dump for Assetic filters, that would be wrong (load is for anything happening before the concatenation of the different assets of a collection).
This distinction between load and dump phases might have been a mistake in the Assetic architecture.  Representing the concatenation itself as a filter might have been better.
But this would require a huge rewrite of Assetic, and given that it is not really maintained anymore (@kriswallsmith stopped maintaining years ago, and I also stopped spending time on Assetic as I'm not using anymore since 2 years either).

Ah, I misunderstood the difference between load and dump. I'm not quite sure what would break with such a change, but I understand the hesitation. As a workaround, I will just disable all filters before getting the content, for cache busting purposes. I'll close this ticket.
Regarding a separate filter for concatenation, that would have been very helpful for implementing source maps. I found a workaround that is (nearly) operational that uses a worker to "flatten" an AssetCollection into a flat set of Assets called an AssetBag, and applies a filter on the AssetBag that feeds everything through UglifyJS w/ source maps enabled.


$auth.signOut Naming

Noticed some inconsistency in naming in the sign out method. Please see bold.
Furthermore, it would be great if it was either Login and Logout or Signin and Signout instead of the current naming with Login and Signout.
$auth.signOut
De-authenticate a user. This method does not take any arguments. This method will change the user's auth_token server-side, and it will destroy the uid and auth_token cookies saved client-side.
This method broadcasts the following events:
auth:logout-success
auth:logout-error
Example use in a controller:
angular.module('ngTokenAuthTestApp')
.controller('IndexCtrl', function($auth) {
$scope.handleSignOutBtnClick = function() {
$auth.signOut()
.then(function(resp) {
// handle success response
})
.catch(function(resp) {
// handle error response
});
};
});

Glad to see I am not the only one that is bothered by this :+1:


[JBEAP-4721] In rare circumstances MessageProducer can send a message…

… to wrong queue.
JIRA: https://issues.jboss.org/browse/JBEAP-4721
backport from : https://github.com/hornetq/hornetq/commit/f1b3aa4f32541151bdc9e33659f625da37bd1541

Is this upstream in Artemis?
Also it doesn't appear as its been identified by QE to go in this release so I will close it.


initial task/goal list for mod team

This PR details down any tasks or goals for anyone who is a part of the developersIndia community mod team 🧑🏭

LGTM can merge if approved.

@sidharthgehlot take a look at it when you've free time on your hands.


chore: Use shared workflows

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

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@78d0430). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #13   +/-   ##
=======================================
  Coverage        ?   93.92%
=======================================
  Files           ?        4
  Lines           ?      181
  Branches        ?       29
=======================================
  Hits            ?      170
  Misses          ?       11
  Partials        ?        0

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 78d0430...a7c4413. Read the comment docs.


mac-7 and mac-28 lost external connection from device phone.

Type of Request
bug
Infrastructure Environment
LUCI, Github, Cocoon scheduler, Autosubmit, etc...
What is happening?
mac-7 and mac-28 lost external connection from device phone.

Steps to reproduce
Step 1:
Step 2:
..
Step n:
Expected results
I expect to see X when Y is finished.

Rebooting both machines to restore connection.


Normalization?

@jagot suggested Condon–Shortley:

If you choose Condon–Shortley (which is commonly used by physicists), you could employ https://github.com/Jutho/WignerSymbols.jl for exact angular integrals. This is what I use in https://juliaatoms.github.io/AngularMomentumAlgebra.jl/dev/.

@MikaelSlevinsky Any preference?

Condon--Shortley is a phase convention, as such it only makes sense to contemplate with complex Fourier modes.
As for normalization, I wouldn't touch spherical harmonics without (near) L2 orthonormalization. Near being something like what they do in geodesy or magnetics https://en.wikipedia.org/wiki/Spherical_harmonics#Conventions.
Near orthnormalizations and phase conventions could be implemented as an afterthought. See also https://nschaeff.bitbucket.io/shtns/spec.html

The actual normalisation can be a user choice:
SphericalHarmonic() * Diagonal(...)

We can make the default orthonormal

Quickly looking at https://juliaatoms.github.io/AngularMomentumAlgebra.jl/dev/definitions/#Spherical-harmonics-1, I think we largely agree: theta is co-latitude, L^2 orthonormalization.

I think a general library like SphericalHarmonics.jl should probably cater to different normalizations and phase relations. For me, it was very important that AngularMomentumAlgebra.jl is consistent in every possible choice of convention, since you otherwise can't trust relations. I therefore selected Varshalovich (1988) as the single source of truth. In quantum mechanics, Condon–Shortley is often used, because it gives real Clebsch–Gordan coefficients, as does the Fano–Racah convention (less often used, I think). Landau & Lifshitz instead uses complex CG coefficients, I forgot what they gain from that – maybe some formulas are simplified.

I can rename it SphericalHarmonicsQuasi.jl, I have no interest or time in making something encyclopedic

For sure, I would not suggest everything should fit in here, but it seemed both you and Mike agreed that various orthonormalizations were easy to bolt on, later.
I thought we both agreed we'd like to do away with the *Quasi.jl suffix :stuck_out_tongue:

Yes I just mean I'm not trying to be too ambitious right now. I'm just going to implement some basic functionality, e.g., solving Poisson .
I'm inclined to use the DLMF convention:
https://dlmf.nist.gov/14.30
Not sure what that corresponds to...

As long as the associate Legendre polynomial P includes (-1)^m, the so-called Condon--Shortley phase, it's the same as I am using.

Will follow Wikipedia as the default, added tests compared to https://en.wikipedia.org/wiki/Table_of_spherical_harmonics
Any feelings whether they should be defined only on the sphere or all of R^3? Off the sphere they would be the harmonic polynomials
r^m * Y_l^m(θ,φ)

The spherical harmonics are, as far I'm concerned, only defined on the sphere. The radial dimension is taken care of by other means, e.g. Laguerre polynomials for bound states of hydrogen or finite-difference/-elements in numerical codes.

It is often natural to incorporate the r^m in the spherical harmonic part: that is, if you have something like r^m * exp(-r) * L^(m)(r^2)* Y_l^m(θ,φ) this is replaced by exp(-r) * L^(m)(r^2) * Y_l^m(x,y,z).
Both can (and will) be supported so it really is just an implementation detail. That is, if we make them by default defined on R^3 one can still use spherical coordinates but also euclidean:
S = SphericalHarmonic()
S[SphericalCoordinate(θ,φ), Block(l)[m]]
S[SVector(0.1,0.2,0.3),Block(l)[m]]

If you wish the latter to give a bounds error you can do
S = SphericalHarmonic()[UnitSphere(),:]

But I'll mull it over a bit more...

I think the (regular) solid spherical harmonics are r^l * Y_l^m(θ,φ). I think they'd be great to have around. Also, there are irregular harmonics r^{-l+1} * Y_l^m(θ,φ) that are square integrable in the exterior of the unit solid sphere (ball). These would be the analogues of Hardy{true/false} in ApproxFun.

Transforms/plotting are fast on concentric spherical shells

Would BallHarmonic be an appropriate name?

Yeah that or SolidSphericalHarmonics{true/false}(). I'll live with the de facto name

we would need to change the name of the package for the type to be called SphericalHarmonics. I'm not opposed to that.

Sorry, I guess the quasi-space doesn't have to be pluralized? Since we don't have, e.g. LegendrePolynomials.

Some more thought needs to be done here. Actually, it's the same issues with Taylor series (2D Spherical harmonics). Is the canonical axes(Taylor(),1) (i.e., the domain of definition) equal to

Circle()
Disk()
R^2

Each has valid a valid usage...


As a bot I should be able to answer module related questions

so that  I reduce workload for the TA

Satisfies #12


Allow droplet ID retrieval

I am trying to create a droplet, and retrieve its ID.
manager.droplets().create(&settings).retrieve().unwrap()

This returns a doapi::response::Droplet, which contains the droplet ID.
Unfortunately, this struct's fields are all private, and it exposes no way to access the ID, nor any other field. Would you consider making these fields public, or adding accessors for them?
As a side note, why are all numeric fields (id, memory, vcpus) of type f64?  Unfortunately I don't have huge amount of time to work on doapi or docli right now, although it is on my list of things to knock out. I've seen you've posted a few PRs and issues, if you're interested I can add you as a collaborator on this repo giving you push access?
For the f64 note, at the time of creation I wasn't sure if those numbers would ever return a decimal from DO, so I made them f64 to be safe (because a JSON number can be either whole or decimal). They could safely be changed to u64 though.

Unfortunately I don't have huge amount of time to work on doapi or docli right now, although it is on my list of things to knock out. I've seen you've posted a few PRs and issues, if you're interested I can add you as a collaborator on this repo giving you push access?

I don't have much free time either, unfortunately, because of my studies are taking up my time.
I'm working on a DigitalOcean-related project when I can, though, hence the PRs and issues I posted.
I may land a fix every once in a while, so if you want to, feel free to add me, but I can't promise anything.

No worries, I'll add you. There's no pressure, this is spare time project for me too. So whichever of us knocks it out is fine :smile:

Closed by #19.


Questions

It's unclear to me how is front-end port 8080 mapped to port 80 on URL path mapped VMSS-s. I would have expected it to be mapped to the same port 8080 on the back-end.

While repetitive access to http://<ip-address> shows that both VMSS servers are responding, that's not the case for URL path mapped VMSS-s, only one server from each responds to http://<ip-address>:8080/video/test.html and http://<ip-address>:8080/images/test.html.

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

ID: 6adf6adc-e0ff-152e-f714-07120ddf0413
Version Independent ID: 51068118-89b0-e573-fe7c-55c39baab955
Content: Tutorial - Route web traffic based on the URL - Azure CLI
Content Source: articles/application-gateway/tutorial-url-route-cli.md
Service: application-gateway
GitHub Login: @vhorne
Microsoft Alias: victorh

@mcurko

the traffic is routed Here using a backend listener.

Try accessing the path mapped URLs with a different IP, such as a phone or from a computer in a differnent network.

@mcurko We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


OT: Newbie Question on Arduino IDE & Libraries

I'm new to Github and the Ardunio dev environment so apologies if this is a really stupid question:
I've forked the library to a working copy on my machine, but I noticed that the library that I imported into the Arduino IDE is structured very differently (monolithic .cpp/.h) - how do I build the library working copy so that I can then test the library with a sketch?

The current master branch here on GitHub already includes some restructuring work by Gadroc. The version you have is v0.1.3, which still has the monolithic file structure.

I know this is closed, but...
I'm working on the master branch and it fails to compile - is that to be expected?
StringBuffer complains about incorrect number of arguments and Protocol.cpp has 'undefined reference to `onDcsBiosFrameSync()'
I'm just not sure if I have my environment incorrectly setup or the current master branch is broken?

Current master might be broken (it's been a while since I had time to test it).


BoxKeyError when using setdefault

The following code raises BoxKeyError.
my_flask_dynaconf.init_app(app)
asdf = app.config.setdefault("ASDF", {})
asdf.setdefault("qwer", "zxcv")
qwer = app.config["ASDF"]["qwer"]

The reason for bringing this up is because the Flask extension Flask-Alembic uses this code pattern.
Please see the Flask-Alembic source code.
On line 150 and 151 script_location is defined.
On line 215 script_location is accessed, and this is where Dynaconf raises BoxKeyError.
It would be good if these libraries could be used at the same time.
Is there anything that could be changed in Dynaconf to accommodate for this pattern? Or is this pattern incompatible with Dynaconf?
It is possible to workaround the issue, by moving the call to Flask-Alembic's init_app so that it occurs before the call to Dynaconf's Flask init_app.
But that probably does not count as a proper solution. Ideally, Dynaconf's Flask init_app should be the first one to be called, so that config is loaded before everything else.

I was able to reproduce and figure out where the problem is caused, however it is a tricky issue to solve.
Explanation
Dynaconf sets app.config as a Dynaconf instance, this object has multi interface lookup, which means you can access nested structures with subscription app.config["THING]["OTHER"] and also works if you use attributes app.config.THING.OTHER and also this access is case-insensitive so you can do app.config.thing.Other and app.config.Thing["other"]
To provide that feature Dynaconf wraps every dict with a DynaBox instance, which is the object providing those access methods.
When you do x = app.config.setdefault("thing", mydict) what you get back is not the very same mydict object in memory, but a new instance of DynaBox initialized from mydict key, values.
Now when you do x.setdefault... you are mutating that instance of DynaBox that will not reflect on the "thing" value inside the settings.
I was able to fix the issue by adding a compatibility_mode=True https://github.com/dynaconf/dynaconf/pull/1115
Compatibility mode
Dynaconf transform nested data structures to a new DynaBox instance, this is an
object that allows dot notation access such as app.config.key.value.other.
However this feature is imcompatible with some Flask extensions, for example:
Flask-Alembic.
So in case you see a BoxKeyError when running your app with you can run it on
compatibility mode.
FlaskDynaconf(app, compatibility_mode=True)

The downside is that now you cannot access nested elements using dot notation
but the usual access interface via dict subscription will work normally:
app.config["KEY"]["value"]["other"]
!!! info
On Dynaconf 4.0 compatibility_mode will default to True when running
on Flask.

@pedro-psb on our last meeting you mentioned about disabling dot access and I now agree with you, on the breaking 4.0 release we must disable DynaBox!

Thank you for the super fast response!
Just wanted to ask, why does this particular thing require a different mode of operation?
DynaBox currently implements various getters like __getattr__ and __getitem__, get, __dir__.
Is there some particular reason why it couldn't also implement setters like __setitem__, update, and setdefault? And perhaps even __delitem__?
I'm not very familiar with the DynaConf code base, so I could be totally missing something.
And I don't use the dot notation anyway, so this compatibility mode should probably work fine for me personally.
Just wanted to understand the design.


Trouble using Sass

I just tried to use a Sass mixin in my project. I had thought I had this beast configured, but this proves otherwise.
This code:
// checkbox.m.css
@mixin test() {
  background: black;
}
.medium {
  @include test();
}

will produce the error
=> Errors prevented startup:

   While minifying app stylesheet:
   app/client/components/common/checkbox/checkbox.m.css.css:102:3: missing '}'

and if I try to use a variable
@mixin test($color) {
  background: $color;
}
.medium {
  @include test(black);
}

I get this:
Processing Step: CSS Modules / PostCSS compilation
Unable to compile /Users/arggh/Development/app/client/components/common/checkbox/checkbox.m.css
CssSyntaxError: postcss-simple-vars: /Users/arggh/Development/app/client/components/common/checkbox/checkbox.m.css:175:1: Undefined variable $color
}
@mixin test($color) {
^
  background: $color;

/~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
=> Errors prevented startup:

   While processing files with nathantreid:css-modules (for target web.browser):
   error: postcss-simple-vars: /Users/arggh/Development/app/client/components/common/checkbox/checkbox.m.css:175:1: Undefined variable $color

=> Your application has errors. Waiting for file change.

and my configuration is here:
"cssModules": {
    "ignorePaths": [
      "node_modules",
      ".meteor",
      "server",
      "lib",
      "packages"
    ],
    "globalVariables": [
      "client/styles/global/fonts.m.css",
      "client/styles/global/colors.m.css",
      "client/styles/global/variables.m.css"
    ],
    "extensions": [
      "m.css"
    ],
    "enableSassCompilation": [
      "m.css"
    ],
    "postcssPlugins": {
      "postcss-simple-vars": {
        "fileOptions": [
          "client/styles/global/variables.m.css"
        ]
      },
      "postcss-modules-values": {},
      "postcss-nested": {},
      "postcss-utilities": {},
      "postcss-color-function": {},
      "postcss-modules-local-by-default": {},
      "postcss-modules-extract-imports": {},
      "postcss-modules-scope": {}
    }
  },
  "postcss": {
    "plugins": {
      "autoprefixer": {
        "browserslist": [
          "Chrome >= 32",
          "Safari >= 9",
          "Firefox >= 33",
          "Opera >= 23",
          "Edge => 12"
        ]
      }
    }
  }

Using variables defined in postcss-simple-vars works just fine.

Also, trying Sass calculations produces just invalid properties, like:
.checkbox {
   width: 100px / 2;
}

will output just:
.checkbox {
   width: 100px / 2;
}

@nathantreid  do you have any updates if this is an actual issue or something I have misconfigured? Can I help in any way to resolve it?

Sorry for the delay on this! There was a bug in the file extension handling for SCSS files preventing multi-dot file extensions (like somefile.m.css). This has been fixed in 2.7.4.

After updating to 2.7.4 I'm in a world of hurt! PostCSS functions are being complained about by SCSS Compilation...
/~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Processing Step: SCSS compilation
Unable to compile /Users/arggh/Development/app/client/components/common/circular_button/circular_button.m.css
Line: 80, Column: 63
Error: argument `$color` of `lightness($color)` must be a color

Backtrace:
	client/components/common/circular_button/circular_button.m.css:172, in function `lightness`
	client/components/common/circular_button/circular_button.m.css:172

/~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
=> Errors prevented startup:

   While processing files with nathantreid:css-modules (for target web.browser):
   /Users/arggh/Development/app/node_modules/node-sass/lib/index.js:439:16: argument `$color` of `lightness($color)` must be a color

Can you post some sample code? Does the PostCSS function syntax conflict with the SCSS function syntax?

.cta {
  background: $primary;
  background: linear-gradient(to bottom right, color($primary lightness(+ 10%)) 0%, color($primary lightness(- 10%)) 100%);
  box-shadow: $darkShadow;
}

And the PostCSS lib in question: https://github.com/postcss/postcss-color-function

It appears this is a conflict between SCSS and the postcss-color-function plugin since the Sass compiler views that as an attempted SCSS function call: https://www.sassmeister.com/gist/c1a198679fd76b456ad100b213365aeb.
Unfortunately, I think you might have to choose between scss and the postcss-color-function plugin.

I came to the same conclusion and already ditched scss for now, since I'm doing just fine with PostCSS and all the plugins there are for it.
Thanks for help & fixes!


Refusing install ?

npm install superagent

then, Refusing to install superagent as a dependency of itself

Do you get that after cloning superagent and executing npm install superagent inside the superagent directory? Why would you do that?
You normally run npm install superagent inside a project you'd like to use superagent in if you're using for instance browserify or webpack there 🙂

thanks for your reply.  I did not execute npm install superagent inside the superagent directory.
It's amazing,It's ok for me to execute 'npm install<EMAIL_ADDRESS>but It's not ok without version<EMAIL_ADDRESS>.
but when I run 'npm i superagent' in another directory, not the case-superagent that I use. It's normally.
I test many times.
It's over!  I don't want to turn from side to side.


Bug: minSdkVersion 19 , even though classes used need API 23

Or at least that's what the IDE says:

What is correct?

I think the IDE is wrong, so I made a bug report:
https://issuetracker.google.com/issues/116182832

I rewrote the codelab in Kotlin and upped the min SDK. :)


fix(cards): core fix ng-cards so that they don't conflict add states …

BREAKING CHANGE:
angularng cards will be broken

Description

fix the core css to make sure cards css for angularng don't conflict
Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots:
Before (If applicable):

After:

Types of changes

[ x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation update
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Other... Please describe:

Checklist:

[x ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ x] I have read the CONTRIBUTING document.
[x ] I have added tests to cover my changes.
[x ] All new and existing tests passed.

I don't think we want to change the other cards until this is in?  Plus you said to separate the two commits

Couple Issues:

initial commit should be fix(card) because in scss/ng the file is singular
core examples need to be updated to remove the v2
angularjs cards component needs to be updated to the new class


feat: support workbook protection

PR Details

Description

Related Issue

Motivation and Context

How Has This Been Tested

Types of changes

[ ] Docs change / refactoring / dependency upgrade
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

Codecov Report

Merging #1431 (c56dbb9) into master (6a5ee81) will decrease coverage by 0.02%.
The diff coverage is 87.50%.

@@            Coverage Diff             @@
##           master    #1431      +/-   ##
==========================================
- Coverage   98.54%   98.52%   -0.03%
==========================================
  Files          31       31
  Lines       23991    24039      +48
==========================================
+ Hits        23643    23685      +42
- Misses        230      234       +4
- Partials      118      120       +2

Flag
Coverage Δ

unittests
98.52% <87.50%> (-0.03%)
:arrow_down:

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

Impacted Files
Coverage Δ

crypt.go
87.00% <ø> (ø)

errors.go
100.00% <ø> (ø)

workbook.go
95.48% <87.50%> (-4.52%)
:arrow_down:

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


Add support for Notebooks

Please add support for Ipython Notebooks. A lot of data science/machine learning repos are written partially in python files and partially in notebooks. It would be nice to have a flag that could enable the inclusion of notebooks.

Did you mean handling .ipynb as python scripts?

exactly

I do not think it is a good idea.
Maybe this will meet you need. Using containers like docker would be a good idea too.

maybe  there is a miscommunication or maybe not, but to clarify. I think it would be nice if you could add a flag for .ipynb.
pegar --include_notebooks=True
this would mean that pegar would add the imports from notebook files to the requirements.txt that it generates as if they were normal .py files.
If you think it's a bad idea, that's fine, i just wanted to clarify encase i miscommunicated.

I think this kind of job could be done by a pigar plugin or something similar. For now, I want to keep pigar as simple as possible, since I rarely use pigar. Even though, contributions are welcome!

Anyway, Jupyter notebook(.ipynb) has been supported. 😅


Delete KSPDev-LogConsole-logconsole_0.13.0.ckan

This file get created due to a wrong .netkan setup. Now, it seems to block the right versions. When I do refresh in CKAN it says the latest version is "logconsole_0.13.0" in spite of there are versions "0.13.0" and "0.13.1" (which is the latest one).

Nevermind. Fixed it via "epoch". Apologies for the disturbance.


The SIWE message domain field does not match spec

The SIWE spec defines the message domain field as being a RFC 3986 URI.  We are currently enforcing that the value be set to "Tableland" which is not an RFC 3986 URI compliant value.
After re-reading the siwe spec we should potentially ignore the value of domain and start checking that the value of the message uri field matches the config attribute in the validator with the DNS where the gateway is served.
This change will be breaking for any one using the js sdk <= 3.1.x, and as suggested in https://github.com/tablelandnetwork/js-tableland/pull/112 by @jsign we should potentially enable accepting both message formats for some period to allow clients to update their SDK versions gracefully.

Any changes here will need to have corresponding changes in the js sdk and the go client

Closing this as no longer relevant. @joewagner please reopen if we still need to fix this.

Looks good, this is irrelevant now.


feat(ocm): update the ocm backend plugin

Description
There was a recent fix applied to the OCM backend plugin.
Which issue(s) does this PR fix

Fixes RHDHBUGS-12

PR acceptance criteria
Please make sure that the following steps are complete:

[ ] GitHub Actions are completed and successful
[ ] Unit Tests are updated and passing
[ ] E2E Tests are updated and passing
[ ] Documentation is updated if necessary (requirement for new features)
[ ] Add a screenshot if the change is UX/UI related

How to test changes / Special notes to the reviewer

/approve

/lgtm

/cherry-pick 1.1.x


Support parsing of scripts / functions stored in string values

Function arguments must be passed as string values.
This patch is mostly a preparation for a future toString support. Passing scripts as strings is optional, but it can reduce memory consumption if used well.
Function arguments must be string values after this patch is landed. I think these are used in special cases, and most applications use only a few argument list variations. This way we encourage to store them as global values. The worst case is some extra memory consumption during parsing, since function arguments are rarely large strings. External strings is also a way to control them.

Patch is heavily reworked.


Accounts - Change password

When all fields are empty, it works well.
When the olda and the new pw are not the same, it works well.
But when only the password verification field is empty, it does nothing (no executon, no error toast)

2021.11.15


Weird fade and very light colors in VS Code

Issue Type: Bug
VS Code has some weird fade and very light colors with the default theme. I tried reinstalling but it dit not work.
Very annoying and weird and couldn't find informations online, thanks in advance for the help !

VS Code version: Code 1.36.1 (2213894ea0415ee8c85c5eea0d0ff81ecc191529, 2019-07-08T22:59:35.033Z)
OS version: Windows_NT x64 10.0.18362

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz (12 x 3696)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwareoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_deferred_display_list: disabled_offskia_renderer: disabled_offsurface_synchronization: enabled_onvideo_decode: enabledviz_display_compositor: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.95GB (8.10GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (13)

Extension
Author (truncated)
Version

html-snippets
abu
0.2.1

php-intellisense
fel
2.3.10

code-runner
for
0.9.11

csharpextensions
jch
1.3.0

docomment
k--
0.1.8

vscode-language-pack-fr
MS-
1.36.2

mssql
ms-
1.6.0

python
ms-
2019.6.24221

cpptools
ms-
0.24.0

csharp
ms-
1.20.0

Csharp-ASPNETCore
rah
1.11.0

aspnet-helper
sch
0.6.4

asp-net-core-vs-code-extension-pack
tem
1.0.3

Same for me on my main computer but on my notebook everything looks normal. This error could be related to the 1903 Window Update I recently installed on both of my machines.

I found a temporary workaround which works for me. If I enable the compatibility mode and set it to Windows 8, the colors are normal again. But I don't know if this works on every machine or just on mine

I found a temporary workaround which works for me. If I enable the compatibility mode and set it to Windows 8, the colors are normal again. But I don't know if this works on every machine or just on mine

It also works for me, thanks ! I think its a bug from Windows 10, like you said, because I also get these strange colors when I take a screenshot on one of my monitors... But the colors are still not correct on both of my monitors (one IPS and the other not IPS) with VS Code and I didn't find any other software that does this.


Test with tox and pytest and pre-commit

Unit tests with pytest
Lint with pre-commit

Coverage dropped because it's now including src/osmviz/animation.py in the reports (0% coverage), and it was excluded before.


Add more dialects to ods

There are some dialects that fail to parse with the macro, and i don't know much about the inner workings of the macro, ill try to look into it maybe

There are some dialects that fail to parse with the macro, and i don't know much about the inner workings of the macro, ill try to look into it maybe

Do you mean you didn't add such failed dialects in this PR?

There are some dialects that fail to parse with the macro, and i don't know much about the inner workings of the macro, ill try to look into it maybe

Do you mean you didn't add such failed dialects in this PR?

yeah i didn't


Add request logging for errors

We could help ourselves debug prod issues easier by putting request bodies onto error logs.
https://carnegielearning.slack.com/archives/C055CGCRP6Z/p1696815544069419?thread_ts=1696815538.859709&cid=C055CGCRP6Z

As with #1040, pasting the relevant info from slack below
We have not been able to replicate the errors or the scenario in prod on Monday after promoting v5, but here's what I do know:- Regardless of the root cause, we are catching ourselves in an error-state death cycle in some situations. Here's what Dan believes to be happening:

Our Java library is retrying all errors 3 times, for a total of 4 error calls per endpoint being called, with no back-off strategy.
Our TypeScript library is a little different/smarter. It does a some back-off between retries. It will retry only 4xx errors, not 5xx or unknown errors. I think that logic is exactly backwards though, as 4xx errors represent client mistakes and should theoretically never work if retried. 5xx or unknown errors are potentially retryable, as they are supposed to represent server / network errors.
Every error to an endpoint is inserted into DB, so every retried error is also inserted into the database. This table is enormous in the prod database. The purpose of this table is that it can be queried easier than logs and it can be used to show errors to the experiment in the UI, but in practice it is producing a firehose of errors that can barely be queried at all.
Every error produces extra logs as well, with same information, sometimes multiple times. We tend to see our instances go out of service due to 100% of file-system in use in these spells where our application performance nose-dives. This is probably due to the explosion of logging.
Cumulatively, when a few errors start to happen across multiple endpoints for whatever reason, it quickly can escalate into a ricochet of errors that are getting retried and logged in database 4x each, which cascade into more errors because the environment has been degraded.

Dan would modestly propose a handful of straightforward measures we could put into v5 to majorly limit the ability of the system to spiral out of control and give us better logging when it starts to tilt.

Cease inserting logging errors in database (temporary until a better strategy identified).
Turn off or revert endpoint request validation (temporary until better testing, roll back on in waves).
Log request bodies in legitimate 4xx bad request-type errors.
Cap SDK response times at a much lower number with env var.
Java lib, do not retry 4xx errors.
Java lib, only retry once if error status is 5xx or unknown.
TS lib, switch the current logic and also limit the retries on 5xx or unknown to once for the DefaultHttpClient.
Put try/catch around experimentUserRepository.save and/or use upsert. (mitigates a specific query that fails sporadically but which seems to really upset the database when it happens, seeing same error that happened in Github bugfix #710 but suddenly in different endpoint, /init)

As for the root cause of the issues on Monday, I invite others to take a look, but I'm at the point where I don't think I can reproduce without trying out some of the above ideas and seeing if we can't catch it in the act again by promoting v5 to prod so we can see the requests.Only the v1 endpoints that Mathia calls via the v3 java lib were producing Bad Request errors, and there was at least 1 Query Failed due to inserting a duplicate primary constraint, which in my local testing is somewhat reproducible and definitely causes the database to really react badly performance-wise.I tried to swarm the staging and local envs to see if something about lots of traffic could cause some unexpected bad-request 400s and thus maybe bubble-up as this error, but that never occurred, couldn't find any way at all to get the Java lib to even send a bad request on purpose.


DC-477 - Create a scaffold of a sample app

establish a new repo
create a scaffold of a new sample app
reference the SDK packagist package
render some simple content

Being worked on in: https://github.com/dusekdan/kentico-cloud-sample-app-php

fixed in https://github.com/Kentico/kentico-cloud-sample-app-php


Document limitation on not null columns?

Hi, can we please document this limitation on https://vlcn.io/cr-sqlite/constraints?
https://github.com/vlcn-io/cr-sqlite/blob/e82ac953c4ed74e27a266a8dc9f2666ea004e951/core/src/tableinfo.c#L476-L484
I was unlucky to be testing this out in between when the "not null" constraint was relaxed in 5aebb64e5b4b2d3668c82dd00ad0e72da8a1124c and when it was re-imposed in 11208d0395fc1ed62c1875bb929d0c02aa0c0f12, and it was quite confusing when my change inserts were failing with this opaque error.
Failed running INSERT INTO crsql_changes VALUES (?, ?, ?, ?, ?, ?, ?) Error: Failed inserting changeset

I did eventually track it down to the not null columns, and it makes sense why the limitation exists: SQLite requires the database
"state" to be consistent after each operation is applied, not only when the transaction commits, and since each "change" might not specify a value for all the not null columns, you can't guarantee that invariant holds. But I think the explanation slightly misleads, because you can't even use not null columns in a newly created, empty table, which would otherwise be ok since there can't possibly be any data that needs to be migrated.

Looks like I can enable two-phase commit on crsql_changes to be able to grab all updates made in a given transaction and aggregate them into full rows.
Hopefully this means we can get rid of this limitation in the near future.

That would be even better 😃

I'm going to start by creating a separate virtual table for those that need to sync whole rows -- https://github.com/vlcn-io/cr-sqlite/issues/294
This separate table will always return whole rows if any item in the row changed and always insert whole rows.


Core functionality setup deploy

Basic setup and deletion functionality with configuration info. Status messages have been partially implemented but need some work.

Thanks Reilly, I will do this tomorrow morning.


Responsives need to be improved for small screen devices

Please describe the problem
Why do you want to add this feature?
Content alignment is not comfortable and attractive for small screen devices.
Describe the solution you'd like
A clear and concise description of what you want to happen.
I would like to improve the responsiveness of the main page by adding some margins and align the content accordingly.
Screenshot
Please attach any relevant screenshot(s).

@Devil1205 assigned to you

I am GSSoc contrbutor. I would like to work on the issue pls assign it to me.

@priyanka7976 ok assigning it to you.

Closing this as the assignee failed to give any update for more than 3 days.


Missing comma in config example causes silent failure

I signed it.
Awful lot of work and personal information disclosure for a comma.  Makes me wonder what you're losing.

Thanks :octocat:


Update README

Update README
NOTE: Please read the CONTRIBUTING.md guidelines before submitting your patch,
and ensure you followed them all:
https://github.com/Kong/kong/blob/master/CONTRIBUTING.md#contributing
Summary
SUMMARY_GOES_HERE
Full changelog

[Implement ...]
[Add related tests]
...

Issues resolved
Fix #XXX

Manually merged, thanks. I am not sure if such changes are in the scope of what Hacktoberfest considers acceptable, but we welcome it nonetheless.


cell 5: req_asset = ooi.request_data(dt, dt) produces TypeError on Port Cormorack

Working on Port Cormorack, yodapy installed recently (July 30).
The req_asset = ... code in the example notebook produces a url.startswith TypeError. The complete message is given below.

TypeError                                 Traceback (most recent call last)
 in ()
5
6
----> 7 req_asset = ooi.request_data(begin_date='2017-08-20', end_date='2017-08-23')
/opt/conda/lib/python3.6/site-packages/yodapy/datasources/ooi/init.py in request_data(self, begin_date, end_date, data_type, limit, stream, **kwargs)
276             self._logger.error(text)
277             raise Exception(text)
--> 278         instrument_avail = self._retrieve_availibility(self._filtered_instruments)
279         do_filter = instrument_avail.items()
280         if stream:
/opt/conda/lib/python3.6/site-packages/yodapy/datasources/ooi/init.py in _retrieve_availibility(self, inst, stream_type)
163         all_streams = {}
164         for i, v in inst.iterrows():
--> 165             st = self._client.fetch_instrument_streams(v.reference_designator)
166             if stream_type != 'all':
167                 st = list(filter(lambda s: self._client.fetch_stream_metadata(s['stream'])['stream_type']['value'] == stream_type, st))  # noqa
/opt/conda/lib/python3.6/site-packages/yodapy/datasources/ooi/m2m_client.py in fetch_instrument_streams(self, ref_des)
264
265         # Send the request
--> 266         self.send_request(request_url)
267
268         if self._status_code == HTTP_STATUS_OK:
/opt/conda/lib/python3.6/site-packages/yodapy/datasources/ooi/m2m_client.py in send_request(self, url)
480                     self.m2m_base_url))
481             return
--> 482         elif not url.startswith(self.base_url):
483             self._logger.error(
484                 'URL does not point to the base url ({:s})'.format(
TypeError: startswith first arg must be str or a tuple of str, not NoneType

yes but good point; I will double check and report back
On Wed, Aug 1, 2018 at 2:23 PM, Keenan Ganz<EMAIL_ADDRESS>wrote:

Hi Rob, I tried running the example plots notebook on port cormorack and
didn't get the error; the notebook ran all the way through. Did you set
credentials before running the notebook?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/cormorack/yodapy/issues/59#issuecomment-409728364,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF6Y2Y_SCb16eHBxLAHTK8a4wVxjuTDHks5uMhxbgaJpZM4VrAJE
.

--
(((-- very limited email July 19 - Aug 6 --)))
Rob Fatland
UW Director Cloud Data Solutions

ok i did the credentials but this hadn't worked and I didn't verify by looking at the .yodapy/.creds file; so with that done properly I'm resolving this.

Yes; bad creds. I fixed and resolved the issue. I blame myself for
successfully being the clueless instruction-following scientist. If we care
to help these pathetic people out a bit more...
...I suggest changing the documentation to a more imperative format, as in:
'Once this is done check to see that it worked by examining the
~/.yodapy/.credentials file. Your username will look something like
'OOIAPI-ABCDABCDABCD7A' and the token will look something like
'AB12ABCDE3A'.
onward!
On Wed, Aug 1, 2018 at 2:23 PM, Keenan Ganz<EMAIL_ADDRESS>wrote:

Hi Rob, I tried running the example plots notebook on port cormorack and
didn't get the error; the notebook ran all the way through. Did you set
credentials before running the notebook?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/cormorack/yodapy/issues/59#issuecomment-409728364,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF6Y2Y_SCb16eHBxLAHTK8a4wVxjuTDHks5uMhxbgaJpZM4VrAJE
.

--
(((-- very limited email July 19 - Aug 6 --)))
Rob Fatland
UW Director Cloud Data Solutions


gpio: gpio_sch: error when configure for level triggers

The GPIO controller only supports edge triggering according to
the descriptions of the associated registers. So errors out
when level trigger is requested. Also adds the option to do
double edges triggering as the controller supports this.
Fixes #12763
Signed-off-by: Daniel Leung<EMAIL_ADDRESS>

Codecov Report

Merging #13076 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #13076   +/-   ##
=======================================
  Coverage   48.63%   48.63%
=======================================
  Files         313      313
  Lines       46436    46436
  Branches    10710    10710
=======================================
  Hits        22585    22585
  Misses      19395    19395
  Partials     4456     4456

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 4cc355d...9875806. Read the comment docs.


Error during docker build

Hello, I got this error when I do docker build .

@o-ayoub
hi o-ayoub
if you want build project from source, make sure the compiler environment has enough memory.

Oh yes, that is it. The only way to change and update css file, is to update web folder and build the new image, also change image in  docker-compose.yml.
Thanks


Add output-e=rewritten & Remove reification AppConfig

Addressing Issue #59 and #60. Work in progress

@jorgefandinno I have pushed changes for both #59 and #60. I really don't like the decision of printing the rewritten program from control, but if I do it from main.py (which I think it belongs) I will have coverage issues.

@jorgefandinno This seems good to me after the changes mades yesterday.


[Publishing] Create Gcloud commands and rest API for below templates, GCS,Pubsub,Kafka to Target BQ

Java - DataplexGCStoBQ
Java - PubSubToBigQuery
Java - KafkaToBQ
Add the commands in : go/go/dataproc-gcp-documentation-internal document also contains commands for reference from other templates

@surjits254 : Sent for your review at go/dataproc-gcp-documentation-internal

Internal documentation has been updated and currently waiting review.


Add 111 and 711 to contributors as Meeting

@jtweed judging from what I can see in the data, the meeting is where a work was produced.
If that's the case does it sit closer to production?

I think it’s more correct to say the meeting participants created the work, by having the meeting.

It kind of feels more like the work is an output of the meeting, rather than produced by it. But certainly in MARC it’s a contributor relationship, not a production/publication/imprint one. I was following that.

Ah, sorry, I didn't see that info in the spec - where do you see that?

"Fields 100, 110, 111 and 130 contain a name or a uniform title heading used as main entry."
https://www.loc.gov/marc/bibliographic/bd1xx.html
https://www.loc.gov/marc/bibliographic/bd111.html
Which maps to creator in RDA, but in MARC literally means which of these names would you put on the main index card for the work.


Force remove products when there are variants link to it (Remove options)

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[QPG6100] Port shell application to QPG6100 platform

Problem
To make use of a common CLI used in CHIP,
the QPG6100 platform needs to be able to run the shell.
Proposed Solution

Implement a QPG6100 based streamer
Create a build for QPG6100 of the shell application

#3513 was a first step - re-opening for followup PR with actual QPG6100 build


Add content about how to prevent rotation completely

Some android apps do nothing when rotation (like the Android home screen). Show how to do that.
Developers will create an app that's great, but breaks when rotated. Simple quick fix: do nothing on rotation.
Then later, dev can add rotation feature

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

ID: 6f3f45bd-e23b-25a7-01e1-55fc444ad680
Version Independent ID: 0717b153-921b-2033-5968-6e44430829a9
Content: Handling Rotation - Xamarin
Content Source: docs/android/app-fundamentals/handling-rotation.md
Product: xamarin
GitHub Login: @conceptdev
Microsoft Alias: crdun

Thanks for submitting an issue and we apologize for the delayed response. The requested updates haven't been made since the creation of the issue, and the timeline for resolution may vary based on resourcing, so the issue is being moved to an internal repo to better track it.


Newlines (\) not working for TeX to SVG

Issue Summary
The \\ syntax doesn't seem to work for TeX to SVG.
Steps to Reproduce:

Use https://mathjax.github.io/MathJax-demos-web/input-tex2svg.html
Input f(u_1 + u_2) = \\ f(u_1) + f(u_2)
Observe no linebreak present, whereas there was one in MathJax 2.x

Technical details:

MathJax Version: 3.0.5

This is a duplicate of #2312.  See that issue for more details and some potential work-arounds.

Closing as a duplicate.


feat: bump superset-ui and implement queryFields in formData

SUMMARY
This implements the new queryFields functionality introduced in superset-ui/query: https://github.com/apache-superset/superset-ui/pull/485
TEST PLAN
CI + Local testing
ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

Codecov Report

Merging #9908 into master will decrease coverage by 0.23%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #9908      +/-   ##
==========================================
- Coverage   71.22%   70.99%   -0.24%
==========================================
  Files         585      184     -401
  Lines       30864    18001   -12863
  Branches     3237        0    -3237
==========================================
- Hits        21984    12780    -9204
+ Misses       8771     5221    -3550
+ Partials      109        0     -109

Flag
Coverage Δ

#cypress
?

#javascript
?

#python
70.99% <ø> (-0.42%)
:arrow_down:

Impacted Files
Coverage Δ

superset/views/database/mixins.py
58.92% <0.00%> (-21.43%)
:arrow_down:

superset/utils/cache.py
48.00% <0.00%> (-20.00%)
:arrow_down:

superset/db_engine_specs/mysql.py
78.26% <0.00%> (-13.05%)
:arrow_down:

superset/views/database/validators.py
77.77% <0.00%> (-5.56%)
:arrow_down:

superset/views/tags.py
35.13% <0.00%> (-4.11%)
:arrow_down:

superset/views/database/api.py
83.90% <0.00%> (-3.45%)
:arrow_down:

superset/views/sql_lab.py
59.06% <0.00%> (-3.29%)
:arrow_down:

superset/cli.py
36.72% <0.00%> (-3.14%)
:arrow_down:

superset/db_engine_specs/postgres.py
97.29% <0.00%> (-2.71%)
:arrow_down:

superset/views/database/views.py
86.84% <0.00%> (-2.64%)
:arrow_down:

... and 422 more

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 7f6dbf8...18b5cad. Read the comment docs.


3D In-Browser Song Preview

Using the zip.js + some magic with 3d models/canvas we might be able to do a rough 3d preview of a song in browser :)

Technically, this exists already, I've previewed quite a few songs with it. https://github.com/jorisvddonk/beatmaster

https://github.com/supermedium/beatsaver-viewer
https://supermedium.com/beatsaver-viewer/?id=10271-10785


How can I update the version of androidXMaterial library to Material3

How can I update the version of this library: https://github.com/nativescript-community/ui-material-components/blob/master/packages/core/platforms/android/include.gradle#L3.
I want to update androidXMaterial  to 1.6.1 but I don't know how to pass it to the plugin
Doc: https://m3.material.io/libraries/mdc-android/getting-started
I want to update it only in my application and there seems to be some way to indicate it in the project. Another question would be if we could update to the version with Material3 by default

@vallemar Here is how you can do it https://github.com/Akylas/alpimaps/blob/master/App_Resources/Android/before-plugins.gradle#L12

@farfromrefug  You're a great person!!!!!


Volumes location on Mac

Hello,
My docker env crashed, I lost all my takeout service.
When enabling again MySQL, it didn't recover my databases. Where are the mysql volume stored on a Macbook? I have backups, I'd like to look it up
Thanks
Axel

After further research, it seems gone forever.
no matter.
thanks


[c] - cabi_realloc looks like its leaking memory:

I am looking at:  https://github.com/bytecodealliance/wit-bindgen/blob/main/crates/c/src/lib.rs#L917-L923
                __attribute__((__weak__, __export_name__("cabi_realloc")))
                void *cabi_realloc(void *ptr, size_t old_size, size_t align, size_t new_size) {
                    (void) old_size;
                    if (new_size == 0) return (void*) align;
                    void *ret = realloc(ptr, new_size);
                    if (!ret) abort();
                    return ret;
                }

When new_size == 0 I would expect it to either free the memory, or to realloc to 0 size (same effect?).
Why is it returning a pointer to the first or second byte in the linear memory?
Also shouldn't the realloc size be multiplied by the align size?
This is what I would have expected:
                __attribute__((__weak__, __export_name__("cabi_realloc")))
                void *cabi_realloc(void *ptr, size_t old_size, size_t align, size_t new_size) {
                    void *ret = realloc(ptr, align * new_size);
                    if (!ret) abort();
                    return ret;
                }

To answer your questions:

When new_size == 0 I would expect it to either free the memory, or to realloc to 0 size (same effect?).

The canonical ABI does not use cabi_realloc to free anything, so this never happens, so it doesn't need to be checked.

Why is it returning a pointer to the first or second byte in the linear memory?

Because zero-sized allocations are not allowed to return a null pointer, and the pointer must always be aligned.

Also shouldn't the realloc size be multiplied by the align size?

No, it's assumed that wasi-libc's realloc has a minimum alignment which is greater than align.
Your replacement doesn't correctly handle zero-sized allocations and it allocates too much since new_size does not need to factor in align.

Sorry I'm not sure what you mean? Yes realloc is there, but can you clarify how you've been using it? It's true that canonical options point to a realloc (optionally, it doesn't have to be specified in all cases), but the canonical ABI only has a fixed set of use cases for the function and freeing allocations is not part of those use cases.

FWIW I had been tweaking the encode / decode calls to avoid having to memcpy the encoded value in the host and then immediately memcpy it again into the guest memory and I guess I had been "misusing" that call to alloc / free while testing a few approaches.
Now that I know the rules all should be good - another example of a bad assumption...  Thanks for clarifying!


Update gcc to 10.1 and turn C++ support on

These changes update gcc to 10.1 and add C++ support for gcc with newlib.
This addresses #25.
Simply adding c++ to --enable-lanaguages does not work, as libstdc++-v3 compilation fails (example in run#3559265510).
Relevant error

2021-09-09T17:50:07.1357393Z checking for EOWNERDEAD... no
2021-09-09T17:50:07.4128896Z configure: WARNING: uchar.h: present but cannot be compiled
2021-09-09T17:50:07.4131294Z configure: WARNING: uchar.h:     check for missing prerequisite headers?
2021-09-09T17:50:07.4132244Z configure: WARNING: uchar.h: see the Autoconf documentation
2021-09-09T17:50:07.4133308Z configure: WARNING: uchar.h:     section "Present But Cannot Be Compiled"
2021-09-09T17:50:07.4135065Z configure: WARNING: uchar.h: proceeding with the compiler's result
2021-09-09T17:50:07.4752788Z configure: WARNING: sys/ioctl.h: present but cannot be compiled
2021-09-09T17:50:07.4753965Z configure: WARNING: sys/ioctl.h:     check for missing prerequisite headers?
2021-09-09T17:50:07.4754907Z configure: WARNING: sys/ioctl.h: see the Autoconf documentation
2021-09-09T17:50:07.4755833Z configure: WARNING: sys/ioctl.h:     section "Present But Cannot Be Compiled"
2021-09-09T17:50:07.4757419Z configure: WARNING: sys/ioctl.h: proceeding with the compiler's result
2021-09-09T17:50:07.5768378Z configure: WARNING: sys/uio.h: present but cannot be compiled
2021-09-09T17:50:07.5769546Z configure: WARNING: sys/uio.h:     check for missing prerequisite headers?
2021-09-09T17:50:07.5770469Z configure: WARNING: sys/uio.h: see the Autoconf documentation
2021-09-09T17:50:07.5771395Z configure: WARNING: sys/uio.h:     section "Present But Cannot Be Compiled"
2021-09-09T17:50:07.5772939Z configure: WARNING: sys/uio.h: proceeding with the compiler's result
2021-09-09T17:50:07.6197657Z configure: WARNING: fenv.h: present but cannot be compiled
2021-09-09T17:50:07.6198800Z configure: WARNING: fenv.h:     check for missing prerequisite headers?
2021-09-09T17:50:07.6199751Z configure: WARNING: fenv.h: see the Autoconf documentation
2021-09-09T17:50:07.6200656Z configure: WARNING: fenv.h:     section "Present But Cannot Be Compiled"
2021-09-09T17:50:07.6202142Z configure: WARNING: fenv.h: proceeding with the compiler's result
2021-09-09T17:50:07.6947584Z configure: WARNING: stdbool.h: present but cannot be compiled
2021-09-09T17:50:07.6948809Z configure: WARNING: stdbool.h:     check for missing prerequisite headers?
2021-09-09T17:50:07.6949778Z configure: WARNING: stdbool.h: see the Autoconf documentation
2021-09-09T17:50:07.6950705Z configure: WARNING: stdbool.h:     section "Present But Cannot Be Compiled"
2021-09-09T17:50:07.6952214Z configure: WARNING: stdbool.h: proceeding with the compiler's result
2021-09-09T17:50:07.7243875Z configure: WARNING: stdalign.h: present but cannot be compiled
2021-09-09T17:50:07.7244944Z configure: WARNING: stdalign.h:     check for missing prerequisite headers?
2021-09-09T17:50:07.7245921Z configure: WARNING: stdalign.h: see the Autoconf documentation
2021-09-09T17:50:07.7246856Z configure: WARNING: stdalign.h:     section "Present But Cannot Be Compiled"
2021-09-09T17:50:07.7248348Z configure: WARNING: stdalign.h: proceeding with the compiler's result
2021-09-09T17:50:07.7541210Z configure: error: computing EOF failed
2021-09-09T17:50:07.7953876Z make[1]: *** [Makefile:11271: configure-target-libstdc++-v3] Error 1
2021-09-09T17:50:07.7960292Z make: *** [Makefile:954: all] Error 2

Updating --prefix config option helps and fixes compilation process.
Unfortunately it doesn't run properly.
$ riscv32-elf-g++ main.cpp
riscv32-elf-g++: fatal error: cannot read spec file '/home/user/conda/miniconda3/envs/gcc/lib/gcc/': Is a directory
compilation terminated.

$ riscv32-elf-gcc main.cpp
riscv32-elf-gcc: error: main.cpp: C++ compiler not installed on this system

$ riscv32-elf-newlib-g++ main.cpp
riscv32-elf-newlib-g++: fatal error: cannot read spec file '/home/user/conda/miniconda3/envs/gcc/lib/gcc/': Is a directory
compilation terminated.

$ cat main.cpp
#include <iostream>

using namespace std;

int main(){
        cout << "Hello World!" << endl;
        bool x = true;
        return x;
}

conda-build rewrites the internal paths to get rid of the build prefix, but then gcc  fails to locate necessary files. We can investigate that further in the next step.
Adding build/detect_binary_files_with_prefix: False value to gcc/newlib/meta.yaml partially fixes the problem.
gcc and g++ work correctly now, but simple strings execution reveals, that paths from build process are still present in the binaries.
It doesn't seem to affect the gcc functionality though.

FYI @mithro, @tcal-x

It sounds like there is an issue around sysroot -- see https://gcc.gnu.org/onlinedocs/gcc/Directory-Options.html ?
There might be useful information in https://elinux.org/images/1/15/Anatomy_of_Cross-Compilation_Toolchains.pdf and https://www.linuxfromscratch.org/lfs/view/stable/chapter05/glibc.html ?

There is some talk about how libstdc++ and stuff need to be deferred as part of cross compiling at https://www.linuxfromscratch.org/lfs/view/stable/chapter05/gcc-libstdc++-pass1.html

See also https://wiki.osdev.org/GCC_Cross-Compiler

For some reason the upload hangs, but all other jobs passed. Merging, I suspect a github hiccup here


Tree sitter test CI/CD

Pretty darn cool, the CI/CD using the tree-sitter grammars now works!  If you look at https://github.com/atlantistechnology/sdt/actions/runs/3561159304/jobs/5981812012 you'll see the test showing the following:
=== RUN   TestNoSemanticDiffHaskell
INFO: No tree-sitter grammar for: hello0.hs -> hello1.hs
--- PASS: TestNoSemanticDiffHaskell (0.09s)

That is, I deliberately did not install the Haskell grammar in the GH Action, but did install the Julia and C grammars.  This isn't because of my feelings about those particular languages; rather I want to test the case of both installed and uninstalled grammars, and make sure sdt behaves correctly for each circumstance.
Having both C and Julia is slightly redundant, but it seemed nicer to have more than just one installed.  Also, the Julia example is slightly longer; in particular, it includes an example where diff -u will show non-semantic changes that sdt semantic is tested not to show.  The C "hello world" is much simpler, with just one change that is also semantic.

Super cool!


Accordion Inside Tabs (Beta) overflows

Current Behavior
I've put the accordion component inside Tabs Content and  when I toggle accordion it overflows

Expected Behavior
No response
Tamagui Version
1.86.6

Platform (Web, iOS, Android)
iOS

Reproduction
1. Use Accordion Inside Tabs Like This:

        <Tabs
          defaultValue="overview"
          orientation="horizontal"
          flexDirection="column"
          borderRadius="$4"
          borderWidth="$0.25"
          width={SCREEN_WIDTH}
          height={150}
          overflow="hidden"
          borderColor="$borderColor"
          activationMode="manual"
        >
          <Tabs.List
            separator={<Separator vertical />}
            disablePassBorderRadius="bottom"
            aria-label="Meeting Analysis Tabs"
          >
            <Tabs.Tab flex={1} value="overview">
              <SizableText fontFamily="$body">Overview</SizableText>
            </Tabs.Tab>
            <Tabs.Tab flex={1} value="transcript">
              <SizableText fontFamily="$body">Transcript</SizableText>
            </Tabs.Tab>
          </Tabs.List>

          <TabsContent value="overview" backgroundColor={"$pink10"} f={1}>
               <Accordion width={SCREEN_WIDTH} overflow="hidden" type="multiple">
      <Accordion.Item value="a1">
        <Accordion.Trigger flexDirection="row" justifyContent="space-between">
          {({ open }) => (
            <>
              <Text>Summary</Text>

              <Square animation="quick" rotate={open ? "180deg" : "0deg"}>
                <ChevronDown size="$1" />
              </Square>
            </>
          )}
        </Accordion.Trigger>
        <Accordion.Content>
          <Paragraph>Long long text</Paragraph>
        </Accordion.Content>
      </Accordion.Item>

      <Accordion.Item value="a2">
        <Accordion.Trigger flexDirection="row" justifyContent="space-between">
          {({ open }) => (
            <>
              <Text>Action Items</Text>
              <Square animation="quick" rotate={open ? "180deg" : "0deg"}>
                <ChevronDown size="$1" />
              </Square>
            </>
          )}
        </Accordion.Trigger>
        <Accordion.Content>
          <Paragraph>
            Eggs have been a dietary staple since time immemorial and there’s
            good reason for their continued presence in our menus and meals.
          </Paragraph>
        </Accordion.Content>
      </Accordion.Item>
    </Accordion>
          </TabsContent>

          <TabsContent value="transcript">
            <Text>Hello</Text>
          </TabsContent>
        </Tabs>

System Info
No response

you need to remove that height={150}
just tested it on ios and it working fine. let me know if the issue still exists. for now I'll close this issue

I've tried removing height but then the accordion content is not showing up. Tested on iphone 15 pro emulator


feat(): added custom header resources management

Sorry but this way of handling returned resources is to specific. There is necessity to provide more flexible way.


Bind the editor's Search Help function to F1 by default

Now that the F1 key is available, we can bind Search Help to the key generally used in other applications to open the help menu.
See https://github.com/godotengine/godot/pull/38201#issuecomment-731736978.

Thanks!

Cherry-picked for 3.2.4.


SKUs for capacity reservation

What are the sku names for capacity reservation options? They are not listed here.

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

ID: d15cf474-1fc6-b97d-2a52-19f880e20ea9
Version Independent ID: 524c5814-49e0-11b4-ff0a-9953e7f9f0f6
Content: Use Azure Resource Manager templates to Create and Configure a Log Analytics Workspace
Content Source: articles/azure-monitor/platform/template-workspace-configuration.md
Service: azure-monitor
Sub-service: logs
GitHub Login: @MGoedtel
Microsoft Alias: magoedte

@slavizh Thanks for the feedback! We are currently investigating and will update you shortly.

Thanks! I already found what is needed to be set. Probably will blog about it but it is good if it is in the official docs as well.

@slavizh : Glad to hear you were able to resolve the issue. We will update the document accordingly.
As a reference to others who are searching for SKUs related to capacity reservation , I am adding sample template in this issue .
{     "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",     "contentVersion": "<IP_ADDRESS>",     "parameters": {         "workspaces_casw_name": {             "defaultValue": "casw",             "type": "String"         }     },     "variables": {},     "resources": [         {             "type": "microsoft.operationalinsights/workspaces",             "apiVersion": "2015-11-01-preview",             "name": "[parameters('workspaces_casw_name')]",             "location": "australiacentral",             "tags": {                 "Reason": "Repro",                 "CreatedDate": "12/3/2019 6:18:04 AM",            },             "properties": {                 "sku": {                     "name": "capacityreservation",                     "capacityReservationLevel": 100                 },                 "retentionInDays": 30             }         }     ] }
You can change capacityreservationlevel as per requirement.
@MGoedtel Can you please update the document accordingly

I've updated the article and it will be released at the next publishing cycle. I also confirmed with engineering all the details related to the behavior and use of this new SKU, and included those details in the article (along with updated template examples that I tested earlier).  #please-close.