Hyprland crashing at start and dumping core

Already reported ? *

[X] I have searched the existing open and closed issues.

System Info and Version
 System/Version info
Hyprland, built from branch main at commit 6ae89940c761d4ed4317df0af29e8df41d472091  (layout: add merge_floated_into_tiled_on_groupbar (8042)).
Date: Wed Oct 9 11:58:49 2024
Tag: v0.44.0-24-g6ae89940, commits: 5323
built against aquamarine 0.4.2

flags: (if any)

System Information:
System name: Linux
Node name: archlinux
Release: 6.11.1-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Mon, 30 Sep 2024 23:49:50 +0000

GPU information:
06:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU116 [GeForce GTX 1660] [10de:2184] (rev a1) (prog-if 00 [VGA controller])
NVRM version: NVIDIA UNIX x86_64 Kernel Module  535.183.01  Sun May 12 19:39:15 UTC 2024

os-release: NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo

plugins:
        unknown: not runtime

Description
I did pacman -Suy, rebooted, logged in and got kicked out to login screen.
I tried to downgrade it but I've got some compatibility errors from aquamarine and hyprland, and then I had a brilliant idea to build from source, now I don't know which hyprland version is installed, I don't know how to uninstall it and it still doesn't work.
I tried to do the git bisect thing  but I failed to build some subrepo
and now I'm in this weird state with those packages
Crash reports, logs, images, videos
journalctl.txt
coredump.txt
crash_report.txt
Ps: I've goth this:
[debug]
debug:disable_logs = false
and this:
[debug]
disable_logs = false
in my config and Hyprland is still shouting that I don't have debug enabled

I have the same issue on Arco Linux.
I got this error message:
Hyprland: symbol lookup error: /usr/lib/libaquamarine.so.3: undefined symbol: _ZN9Hyprutils4Math6Mat3x3C1Ev
I downgrade aquamarine, hyprland and hyprlang and everything worked again.

Update hyprutils

_ZN9Hyprutils4Math6Mat3x3C1Ev

Where do you install Hyprland binaries?

Update hyprutils

_ZN9Hyprutils4Math6Mat3x3C1Ev

Thank you.
It was an old version form arco linux repo installed.
Now I installed new version from arch linux repo and it worked.

Had this issue.
pacman -S hyprutils
fixed it. It seems that I had hyprutils-git instead and installing hyprutils fixed the problem.

Had this issue. pacman -S hyprutils fixed it. It seems that I had hyprutils-git instead and installing hyprutils fixed the problem.

Can confirm, in my case it was a remnant of when aquamarine was borked and we needed to switch to the Aur version to temp fix it. switching back to hyprutils fixed it ! Thanks @pink10000

If you want to debugging, do this
debug {
    disable_logs = enable
    disable_time = false
    enable_stdout_logs = true
}

I wonder if this build setup works for you, can you give it a try?
meson setup build \
            --wipe \
            --prefix /usr \
            --libexecdir lib \
            --buildtype release (or debug )\
            --wrap-mode nodownload \
            -D warning_level=0 \
            -D b_lto=true \
            -D b_pie=true \
            -D default_library=shared \
            -D xwayland=enabled \
            -D systemd=enabled

ninja -C build

https://github.com/hyprwm/aquamarine/issues/88

Thank's @myamusashi  for the reply, I've built the release version and deleted the old one, the issue still persists with slightly different logs, I also applied the changes to my hyprland config
crash_report.txt
coredump.txt
If you need any additional info please ask

hyprwm/aquamarine#88

I don't know if those issues are the same, I don't get anything about GBM but I may be wrong.
I hope it gets fixed soon!


any update for latest web ui?

pls make some update for lates web ui

Sorry, planning on doing it tonight.

Finally got it updated 👍🏼

thanks!!!


When user tries to install the SubutaiTray in Debian, it shows libinput.so.5 error

BUG:
SubutaiTray: error while loading shared libraries: libinput.so.5: cannot open shared object file: No

Fixed.

Corrected.


Preferences option doesn't appear to do anything

Version: TRex 1.3 (40)
OS X: Big Sur 11.4 (20F71)
Observation: When accessing TRex from the menu bar, there is an entry for "Preferences". Clicking on that entry does not appear to have any effect.
Expectation: I'd expect a preferences panel to appear. (I tried to access it because after rebooting my computer, I noticed that TRex wasn't in the menubar, and I'm hoping that the menu has an option to start TRex upon login.)

Does it not appear at all, or does it just appear without focus? I've noticed that if I use the "Preferences" or "About TRex..." menu options the windows do appear but behind other windows.

I rebooted and tried this again with no other programs open, and I still saw no window or message.

I've noticed that if I use the "Preferences" or "About TRex..." menu options the windows do appear but behind other windows.

Yes, this is a known behavior.
@carbocation  can you share a screen recording? How about "About" screen, can you see it?

Confusingly, I am able to see it now after sleeping the machine. I suspect that this is an issue on my end. I'll try to see if I can narrow down the problem and provide a screen recording if it comes back. I think this issue can probably just be closed.


fix cannot collect decimal column stats

Proposed changes
When execute analyze table, doris fails on decimal columns.
The root cause is the scale in decimalV2 is 9, but 2 in schema.
There is no need to check scale for decimalV2, since it is not a float point type.
Issue Number: close #xxx
Problem summary
Describe your changes.
Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[ ] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[ ] No
[ ] No Need

Has document been added or modified:

[ ] Yes
[ ] No
[ ] No Need

Does it need to update dependencies:

[ ] Yes
[ ] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[ ] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 37.52 seconds
load time: 599 seconds
storage size:<PHONE_NUMBER>6 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20221104020602_clickbench_pr_39676.html


Add a flag DYNEIN_TEST_NO_DOCKER_SETUP to prevent launching docker container on testing

Issue #56, if available:
Description of changes:
If you specify DYNEIN_TEST_NO_DOCKER_SETUP=true on environment variable, cargo test does not start docker container on testing.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Force pushed to execute cargo fmt.

I apologize that I didn't recognize the related issue.
I'll post comments after reading it. Please wait a moment.

I looked through the related issues #55 #56 #57 #58 and discussed with @StoneDot .
Thanks for your great contribution for the integration tests on GitHub Actions!
Summary of discussion
In GitHub Actions, when running jobs directly on the runner machine, we can access service containers using localhost:<port> or <IP_ADDRESS>:<port>.
https://docs.github.com/en/actions/using-containerized-services/about-service-containers#running-jobs-on-the-runner-machine
On the other hand, check_dynamodb_local_running() uses docker ps command to check whether containers are ready. Therefore, check_dynamodb_local_running() cannot check whether service containers on GitHub Actions (not local docker containers) are ready.
In conclusion, DYNEIN_TEST_NO_DOCKER_SETUP is required for integration tests on GitHub Actions.
Request
Could you add comments to source code that this flag is for the non-local docker container use case (e.g. CI/CD on GitHub Actions, custom endpoints in future enhancement)?

@StoneDot You could also run this to skip integrations tests altogether:
❯ cargo test --bins
    Finished test [unoptimized + debuginfo] target(s) in 0.12s
     Running unittests (target/debug/deps/dy-796db90becd647d8)

running 3 tests
test shell::tests::test_parse_ok ... ok
test app::tests::test_context_functions ... ok
test shell::tests::test_parse_ng ... ok

test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s


Iterate over all children in a realtime database path possible?

The problem
Say I have this firebase realtime database and its like this:
/
-feed/
--UID1/
---UID2 : true
---UID4 : true
--UID2/
---UID1 : true
---UID5 : true
and so on. I want to iterate for example over the children in UID2, so I want to know what UID1 and UID5 are. So I need a variable holding UID1 and another the true variable.
I could not find a solution based on the docs you provided.
Environment

PHP Version (php -v): 7.2
Firebase PHP SDK version (composer show | grep kreait): 4.17.0

Oh sorry looks like getValue returns an array. I should try and test stuff I guess before asking . ^^


Design Meeting Notes, 2023-03-01

#52984 - check for strict subtyping in UDTG narrowing

Origin: Break in lodash's isArrayLike #52827
Problems occur when the asserted type and the tested type are subtypes of each other

This invariably leads to problems

Strict subtyping is more strict and prefers the type with the index signature

This is what we use for subtype reduction, since it is more directional (ideally produces no ties)
Without this, we fall back to Type ID, which is not stable

User-defined type guards (UDTG) were using non-strict subtyping

Some code depends on a non-strict subtype narrowing
But we want to prefer to pick the asserted type as much as possible?

This also creates CFA problems since the join point at the end of the if won't reconstruct the original type (!)
How to fix?

When UDTGing, narrow by strict subtyping, if that works (produces at least one type)
If it doesn't, fall back to nonstrict subtyping

This doesn't fix everything but attempts to make it "better" broke extant reasonable code

Read the PR notes
Only "broken" examples left at this point would basically have to be constructed to hit this case

#52944 - Improve overload and generic signature inference: Inference alternatives and linked inferences

Why?

Holy Grail: make JSX elements get checked like normal function calls
Why doesn't that work today?

Generic inference in the presence of overloads is very limited

Note that this is about a call to an unoverloaded function involving a parameter whose type has overloads

JSX inference is smarter

What does the PR do instead?

Try each of the signatures
Do inference to free type parameters; makes id-like functions work
This is effectively a 2-pass unification

Previous attempts?

#48092 is related, but not the same approach

Performance implications?

10% hit on material-ui
Other projects largely unaffected

Other effects

Do pipe-like functions unify much better?

Ya, check linked issues in PR

What happens if multiple signatures match?

We pick the last one that worked, per compat since we previously only consulted the last one
Totally opposite to the existing overload rules 🙃
Doesn't yield the best results, unsurprisingly
What are the breaks?

What about contextually-sensitive expressions?

Still broken per our non-hierarchical node-to-type cache approach
Can we defer contextually-sensitive expressions like we do elsewhere (object literal properties)?

Seems equally hard as just implementing a cache layer per inference context TBH?
Error reporting is still difficult; would need to enforce laziness
Speculative implementation was based on prototypical inheritance, but we're not using objects as much these days
Pyright has this FWIW
This PR is instructive as to where cache acceptance should happen here, if we ever did it

Going back to motivation - what doesn't work without this?

JSX: (example needs to be provided...)
If we have this, we can switch to JSX factory function checking
Long-term goal: Deprecate JSX namespace as much as possible
Near-term problem: Promise<JSX> is coming

Want to stop digging a hole we don't want to be there

Is this the only remaining problem?

Unclear until we try it in earnest, probably
Regardless, it makes sense to go one (good) step at a time

If we do this, can we remove old JSX logic eventually?

Seems plausible

What are next steps?

Try to reduce material-ui perf hit?
Validate long-term JSX plan with the React .d.ts maintainer
Evaluate breaks from picking the top overload
Try to fix the comment posted by seansfkelley

Speculative implementation was based on prototypical inheritance, but we're not using objects as much these days

I feel like I spoke to @ahejlsberg about this - is this the idea that you have to walk up inference contexts to figure out the true type of something until call resolution succeeds, and then you commit?

Deprecate JSX namespace as much as possible

This is a bit of a double-edged sword. If we don't use the JSX namespace, alternative JSX implementations may not be able to easily convince TypeScript of what they're doing. We'll have to be a bit careful here.


Added support of license types in Nuget test artifacts

Pull Request Description
This pull request closes #1726
Acceptance Test

[x] Building the code with mvn clean install -Dintegration.tests still works.
[x] Running mvn spring-boot:run in the strongbox-web-core still starts up the application correctly.
[x] Building the code and running the strongbox-distribution from a zip or tar.gz still works.
[ ] The tests in the strongbox-web-integration-tests still run properly.

Questions

Does this pull request break backward compatibility?

[ ] Yes
[x] No

Does this pull request require other pull requests to be merged first?

[x] Yes, please see https://github.com/strongbox/strongbox/pull/1965
[ ] No

Does this require an update of the documentation?

[ ] Yes, please see strongbox/strongbox-docs#{PR_NUMBER}
[x] No

Code Review And Pre-Merge Checklist

[x] My code follows the coding convention of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code in hard-to-understand areas.
[x] My changes generate no new warnings.
[x] I have added tests that prove my fix is effective or that my feature works.
[x] New and existing unit tests pass locally with my changes.

Hi @anki2189 ,
Thanks for this pull request!
Could you please:

Rebase this pull request
Add a link to the documentation of NPM where this is specified
Add some sample output of what is currently being generated from the tests

Much appreciated!

@anki2189 ,
What is the status of this pull request? Is it ready for review?
Could you please rebase it? Thanks! :)

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
    <metadata>
        <id>nuget-artifact-without-license</id>
        <version>1.0.0</version>
        <authors>carlspring</authors>
        <owners>Carlspring Consulting &amp; Development Ltd.</owners>
        <description>Strongbox Nuget package for tests</description>
        <dependencies/>
    </metadata>
</package>

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
    <metadata>
        <id>nuget-artifact-with-license</id>
        <version>1.0.0</version>
        <authors>carlspring</authors>
        <owners>Carlspring Consulting &amp; Development Ltd.</owners>
        <licenseUrl>https://opensource.org/licenses/MIT</licenseUrl>
        <description>Strongbox Nuget package for tests</description>
        <dependencies/>
    </metadata>
</package>

@anki2189 ,
What is the status of this pull request? Is it ready for review?
Could you please rebase it? Thanks! :)

Yes, it is ready for review.

@anki2189 ,
Thanks for the example output! Could you please also add a link to the NuGet documentation where this is described? Thanks! :)


backend: Frontend Update For Question Generation

Generate questions for multiple videos in parallel by submitting the YouTube playlist URL. More features for customization.

Great work @pranaydeep139  ! However, there are some linting errors that need to be addressed before the code can be merged. Please fix them, and once resolved, the PR will be ready for merging.


Unity catalog creation does not work in Azure

The instructions on this page DO NOT WORK!!
I have followed them step for step and am getting the following error:
Error in SQL statement: UnityCatalogServiceException: [RequestId=xxxxxxxx ErrorClass=DAC_DOES_NOT_EXIST] Root storage credential for metastore xxxxxxxx does not exist. Please contact your Databricks representative or consider updating the metastore with a valid storage credential https://docs.databricks.com/api-explorer/workspace/metastores/update

@simonsuthers
Thanks for your feedback! We will investigate and update as appropriate.

@simonsuthers
Can you please provide me with more information about the instructions you are referring to in the Microsoft document and Which page are you referring to, and what are you trying to accomplish

@simonsuthers
We are going to close this thread. if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.


Remove internal caption tokens (Figma only)

I took a look, and the caption tokens were already removed. Only the $themes.json was still holding some information on these, which get removed with this PR.
It is important to note: Ususally we have conflicts on themes.json if a token changed. We should always pick:

development if the branch was created before this PR was merged
always pick incoming branch if the branch was created after this PR

Hope this makes sense

@ChristianHoffmannS2  Lit-Analyze / analyze (pull_request) is failing. I need your help to resolve the issue.


Add new rule CustomerTagRule for checking against customer tags

1. Why is this change necessary?
Until now customer tags do not provide a function beyond informational purposes in the administration. This change allows the tags to be checked against with the rule builder which is currently only possible for line items. This allows for more complex rules scenarios with better maintainability for the shop manager which otherwise would only be feasible by adding additional customer groups.
An example scenario for the use of the CustomerTagRule:
You have two customer groups, one for B2C and one for B2B. A payment method Invoice should be disabled for both by default. You now want to be able to allow the payment method Invoice for specific customers independently of their group. You can add a label Invoice allowed to the customer group which triggers the availability of the payment method.
Without this change you would have to add two additional customer groups for this example scenario, which would also have to be added to existing rules. This would get even more complex, if you want to allow more payment- and shipping-mehtods (or in the future enable/disable rule-based surcharges) only for specific customers.
2. What does this change do, exactly?
It adds a rule for matching customers tags and the associated tests and documenation.
3. Describe each step to reproduce the issue or behaviour.
(none)
4. Please link to the relevant issues (if any).
(none)
5. Checklist

[x] I have written tests and verified that they fail without my change
[x] I have squashed any insignificant commits
[x] I have written or adjusted the documentation according to my changes
[x] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/NEXT-9269
Please use this issue to track the state of your pull request.

Hi @Moomboh ,
your PR is now merged into our master with the commit https://github.com/shopware/platform/commit/a5f2d8a4dade4c00f062c7abe2c97838ba7b3a91
thank you for your contribution 👍


Various fixes & improvements

While exploring the code I found some bugs, and also some parts that can be improved.

tysm


Reproduce figure 2 b-g

Hi, could you provide code to reproduce figure 2b-g in your preprint? Or at least could tell how to rerun the analysis workflow?

Hi! Checkout https://github.com/snap-stanford/GEARS/blob/master/demo/model_tutorial.ipynb to reproduce the metrics (remember to set the epoch to at least 20). All the metrics will be automatically printed. If you have weight and bias, you can also flag that and it will log the metrics over there.
For g, reproduce using this link: https://github.com/snap-stanford/GEARS/blob/master/demo/tutorial_plot_top20_DE.ipynb
You can also find more demos: https://github.com/snap-stanford/GEARS/tree/master/demo

Hi, thank you for the response. I don't think the links you provided can generate the figures. I checked your demos, they are mainly about basic usage of your model.
It is difficult for one to map every detail setting in the paper to the code. For example, the pert_data.prepare_split(split = 'simulation', seed = 1) in the moel_tutorial.ipynb, is it the proper split to generate the "1-gene perturbation" in 2b, and how about the splits in 2f?
And by saying "All the metrics will be automatically printed" do you mean the lines of test set scores in the notebook? Again, I think it is not straightforward which scores represent which in figure 2. Can you update the notebook and point them out?
Regarding these questions, I think providing a notebook to regenerate your figures could make this actually reproducible. Do you have any plan to do so?

Sure! Just uploaded to the misc repo. Here are the links:
fig 2b adamson: https://github.com/yhr91/gears_misc/blob/main/paper/fig2b-adamson2016.ipynb
fig 2b dixit: https://github.com/yhr91/gears_misc/blob/main/paper/fig2b-dixit2016.ipynb
fig 2c and d: https://github.com/yhr91/gears_misc/blob/main/paper/fig2cd.ipynb
fig 2f: https://github.com/yhr91/gears_misc/blob/main/paper/fig2f.ipynb
fig 2g: https://github.com/yhr91/gears_misc/blob/main/paper/fig2g.ipynb
Do note that all of those notebooks use our weight and bias back end, which automatically fetch the logged results.
Regarding the split question, yes, all figures use the 'simulation' split. This split automatically constructs 0/1/2 unseen perturbations. We use seed 1 to 5 and take the mean and standard deviation.

Thank you so much! This is extremely helpful

Hi,
Following up on this, using the above, we were able to reproduce the performance results for Adamson and Norman however got different values for Dixit (of note, we tried increasing the number of epochs running with 15,20,40). We were wondering whether this dataset requires a different configuration?
Thank you in advance!

Thanks for your question. Were you using the pip installation of GEARS or clone from Github

clone from Github

The current version of the repo on GitHub uses a different default Gene Ontology graph which is much larger than the one we used for the preprint with the goal of allowing a much broader set of unseen perturbations that can be predicted. However, the flip side of a larger graph is that for smaller datasets (like Dixit), it can affect the learnt node embeddings.
It's possible to regenerate the results in the preprint by using a custom list of genes for the dataloader parameter essential genes which determines the size of the Gene Ontology graph. This is set based on the input file gene_path that is provided to a PertData object for initialization. You can set this to be a list of perturbed genes in your dataset or a list of all expressed and perturbed genes in the dataset.
Alternately, you could use the pip installation and the default dataloader for the Dixit dataset. We plan to update the pip package soon to remove this inconsistency.

Great, thank you! we will try that.
We turned to the cloned version as it had the option of "no_perturb" training for baseline comparison - is there an analogue in the pip version?
(** we noticed that GeneSimNetwork can not handle a discrepancy between node_map  and edge_list in the construction of edge_index_ )

Sorry, I forgot to mention that if you use a custom gene list (gene_path) in the PertData dataloader then you also have to set go_path using a custom GO graph generated using that gene list. This is passed when initializing a GEARS model. So the steps are:

Create custom GO graph from a gene list using this script
Pass this new GO graph to the GEARS model object during initialization using the go_path argument
gears_model.model_initialize(hidden_size = 64, go_path='./data/go_essential_dixit.csv')

As mentioned previously, we are working on automating this procedure for smaller datasets/custom graphs. We expect to update the repo soon.

I think there is still some detail left implicit so I want to explain my repro attempt and include some info people may find helpful. Maybe some of this context would fit will in paper/README.md?
Intended first step is fig2_train.py
I tried running the fig2b adamson and dixit notebooks, but they fail with errors like "ValueError: Could not find project pert_gnn_simulation_adamson2016". I noticed the comment saying "Project is specified by <entity/project-name> please replace it with your project name here". I replaced with my own project name, but then there was no logged data. I concluded that the intended first step is to train the models via fig2_train.py, not to run the notebooks. All good so far -- I wanted to train the models up myself anyway, not just load evaluation results.
Environment
I tried running python3 fig2_train.py but I needed to install the right set of packages. I used the attached file via mamba env create --file  dependencies.yaml.

Note: I have no GPU; this will install torch for CPU. For GPU, see torch official install docs.
Note: this does not install GEARS itself. I assume fig2_train.py  is meant to pull in the copy of gears in this repo via sys.path.append("../").
dependencies.yaml

Weaselling out of the GPU requirement
I then ran python3 fig2_train.py and  python3 fig2_train.py --device cpu, but it seems GPU is currently a hard requirement. Wanting a GPU is reasonable but I checked to see how far I could weasel out of it. I modified lines 8 and 47 of fig2_train.py to allow users to pass in 'cpu' as the device, and I modified six lines in utils.py to avoid += as per https://github.com/snap-stanford/GEARS/issues/9. This seemed to work -- I hit an issue, but not seemingly GPU-related.
Getting the GO graph
The next issue was two hardcoded paths in utils:
df_jaccard = pd.read_csv('/dfs/user/kexinh/gears2/go_essential_gi.csv')
df_jaccard = pd.read_csv('/dfs/user/kexinh/gears2/go_essential_all.csv')

I changed these to data/go_essential_norman.csv since I have that file from following directions in paper/README.md. I notice those may not be actually used, depending on args passed to get_similarity_network.
Fin
This makes the training run (maybe with the wrong GO graph) and now it's running! I can report back once it finishes.

Thanks for the detailed walkthrough @ekernf01. I'm glad that you were able to run the code to reproduce the results. We do not maintain the paper reproducibility repo as actively as this one but I'll make a note to update the README there.

I actually am still having trouble getting to figure 2b. It was necessary to modify fig2_train.py to accept the Adamson or Dixit data as input, and fix more no-CUDA issues, and then I did finish a training run on the Adamson data. But I can't get Fig2b-Adamson2016.ipynb to find the results. The relevant wandb output seems to be this:
wandb: Run data is saved locally in /home/ekernf01/Desktop/jhu/research/projects/perturbation_prediction/cell_type_knowledge_transfer/gears_misc/paper/wandb/run-20230508_212335-17rx8re0
wandb: Run `wandb offline` to turn off syncing.
wandb: Syncing run gears_seed1
wandb: ⭐ View project at https://wandb.ai/ekernf01/adamson
wandb: 🚀 View run at https://wandb.ai/ekernf01/adamson/runs/17rx8re0

But when I use either of the following lines to try to use the results to generate the figure, I get empty results or errors.
runs = api.runs("ekernf01/adamson/runs/17rx8re0") # ValueError: Could not find project adamson/gears_seed1
runs = api.runs("ekernf01/adamson")                        # This runs but the results dataframe is empty

I'm not familiar with wandb so is there an easy fix that I am missing regarding the path it expects to see?
Thank you! I really appreciate your attention!

Are you able to see the results from training the model on the wandb page? Can you make your project public?

Thanks for sharing. It looks like your results were correctly tracked on the wandb and I'm able to access them through the notebook. The empty results dataframe is because the name for your models in wandb gears_seed_1 is different from the name that the plotting notebook expects PertNet_API_Seed_1. You can correct that retrospectively from the wandb interface by simply right-clicking the run which completed.
Then, there are also several runs on your wandb that did not complete, and those will likely throw errors for some of the downstream functions. Finally, you don't have any runs from the other baselines, so you will likely have to manually comment those sections out.
We'll make a note to update this notebook but it's hard to run these plotting notebooks with no edits at all since there tend to always be a few minor variations in everyone's implementation. If it's just the MSE value you're interested in, then you just need to run the first cell in the notebook and print summary_list[model_index]['test_mse_top20_de_non_dropout']

Thank you -- I got the top-20 MSE and it looks just like fig 2b, 0.447. I really appreciate your help.

I am actually still noticing problems -- the analysis I just described is based on very few perturbations, maybe because the GO graph used is for the Norman data. I tried to follow your earlier comments by using make_GO.py to make a different GO graph, but it throws an error looking for another missing file related to the Dixit data. I just don't know where to get all the accessory data and how to arrange it. I know you have said the figure reproduction repo is not as actively maintained, and I can understand that. Let me know if you would rather leave this issue closed or continue to pursue it.

I'll get back to you on this by the end of the week

Ok, I've updated the gears pip package. You should be able to reproduce all the results in the preprint by running this notebook
Note that this notebook requires the latest pip version of gears (0.0.4) and does not use the local implementation of gears in that repository.
The code is mostly the same except now you only need to set a single flag (default_pert_graph) when setting up the PertData dataloader. When default_pert_graph=True, it uses the default large perturbation graph. When default_pert_graph=False, it uses a smaller graph based on the genes and perturbations used in each dataset (the procedure followed in the preprint).

Code from the notebook above was run as-is over 15 epochs to reproduce Fig 2b. Results can also be obtained directly from the public Wandb links (Dixit, Adamson)

Hi, I still encountered some problems when I tried to reproduce fig2. I hope I can get some help  Following the guide in  To recreate Fig 2:
Download and unzip preprocessed Norman2019 dataloader for GEARS here
Move the uncompressed norman2019.tar.gz folder to ./data. It should contain the subdirectory data_pyg
Move essential_norman.pkl and go_essential_norman.csv to ./data
So ./data should contain essential_norman.pkl, go_essential_norman.csv and norman2019/data_pyg/
Run fig2_train.py to train the model

Hello, I still encountered some problems when I tried to reproduce fig2. I hope I can get some help
I follow the steps under the link (GEARS_misc/paper at main · yhr91/GEARS_misc (github.com)) to recreate Fig 2. Now,   the ./data contain essential_norman.pkl, go_essential_norman.csv and norman2019/data_pyg/ .

When I run  python fig2_train.py to train the model ,get some error

Sorry for the confusion, the latest version of GEARS has changed the dataloader input format. It doesn't explicitly need the gene list.
I've updated that script to work with GEARS v0.1.1. It should work now without any errors.


Consider Theme.of()! and other related topics

With the null safety migration, we've added a lot of !s near of methods. This issue is to track what we should do about it.
cc @goderbauer @HansMuller @gspencergoog @a14n

For Theme.of it can only return null when the shadowThemeOnly is set to true. My suggestion: Splitting this up into two methods:

Theme.of(BuildContect context) never returns null. This is the most common usage.
Theme.shadowThemeOf(BuildContext context) may return null.

Outside of the ~half dozen internal uses of this API, locally there's just one. Maybe we should remove it, rather than perpetuating it? It appears to just be a hack to get around the fact that new routes don't see the same inherited widgets that the caller who's built the route does (it's a hack because it only deals with the special case of Theme). The InheritedTheme.wrap method is supposed to be a more general way of dealing with this issue. https://api.flutter.dev/flutter/widgets/InheritedTheme/wrap.html

If most callers are going to have to migrate their Theme.of(context) calls to be Theme.of(context)! after we laucnh null safety, should we make this change before the null safety launch? (in which case it should probably be something higher than P5)

@tvolkert I agree, probably should be higher priority.  I already have a design doc for doing this, among others: https://flutter.dev/go/eliminating-nullok-paramters (I know, I'm fixing the name typo in the go link).

Oh, actually, I just realized that Theme.of doesn't actually have a nullOk parameter. I mean, it's a similar problem, so maybe it should be linked, but I was just trying to address the nullOk problem.

Per https://github.com/flutter/flutter/issues/67163#issuecomment-703743767 we don't need a nullable Theme.of(), we need to fix the one code path that uses Theme.shadowThemeOf(BuildContext context).


Chat log is not saved if you close game window before exiting netplay

From @GoogleCodeExporter on April 2, 2015 0:23
What steps will reproduce the problem?
1. Open netplay
2.  What do you see instead?
Chat log file is empty

Please use labels and text to provide additional information.

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 24 Jun 2010 at 2:47
Copied from original issue: LK/nullpomino#1

From @GoogleCodeExporter on April 2, 2015 0:23
Original comment by<EMAIL_ADDRESS>on 24 Jun 2010 at 2:58

Changed title: Chat log is not saved if you close game window before exiting netplay
Added labels: ****
Removed labels: ****

From @GoogleCodeExporter on April 2, 2015 0:23
Fixed in r9.
It didn't happen for me on Swing version. Because it handles game window
differently than SDL and Slick versions.

Original comment by<EMAIL_ADDRESS>on 24 Jun 2010 at 8:15

Changed state: Fixed
Added labels: ****
Removed labels: ****

From @GoogleCodeExporter on April 2, 2015 0:23
Original comment by<EMAIL_ADDRESS>on 21 Jan 2011 at 4:24

Changed state: Verified
Added labels: ****
Removed labels: ****


Cukinia kernel modules

Thanks for this PR @macpijan, that's great.
I merged your changes with a few edits:

The regex in cukinia_kmod would match any string with the same prefix, so I made it more strict by enforcing a space after the string (and grep-ing directly /proc/modules)
In cukinia_kconf, throw a test failure in case config.gz is not enabled
Finally I matched the style to the rest of the script (eg. for switch cases)

Jerome


Resources page is empty for OpenShift Local

We should have information displayed here:

Resources of the cluster
Status
Preset

And links:

To the developer terminal
To the console if it exists

@slemeur Have you used the latest image of extension which have resource for OSL.

I have just installed it yeah - so not sure why it is not showing anything

how can I help debug?

@slemeur What of your dashboard looks like?

That strange, have you finish crc setup? What crc status cli output do you have?

CRC VM:          Running
RAM Usage:       1.049GB of 9.197GB
Disk Usage:      4.814GB of 16.1GB (Inside the CRC VM)
Cache Usage:     51.75GB
Cache Directory: /Users/stevanlemeur/.crc/cache

Maybe a short meeting might help you to resolve this quicker?
On Wed, May 3, 2023 at 8:26 PM Yevhen Vydolob @.***>
wrote:

That strange, have you finish crc setup? What crc status cli output do
you have?
—
Reply to this email directly, view it on GitHub
https://github.com/crc-org/crc-extension/issues/70#issuecomment-1532936919,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAAOZVVDXPARM53YOS4QE3XEJFIBANCNFSM6AAAAAAXUKHTCI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

--
Gerard Braad | http://gbraad.nl
STEM is the source, but BUILD is how you develop!
[ Better Understanding Involves Learning and Doing ]

I'm happy we have that in a written form so that we can track it and possibly put that into the troubleshooting guides (cc @themr0c)

restart

Remove the folder from the plugin folder. Look for
~/.local/containers/podman-desktop IIRC
On Wed, May 3, 2023 at 8:29 PM Stévan Le Meur @.***> wrote:

How do I restart from scratch?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

--
Gerard Braad | http://gbraad.nl
STEM is the source, but BUILD is how you develop!
[ Better Understanding Involves Learning and Doing ]

I've deleted the extension from the UI and this folder is empty .local/share/podman-desktop/plugins

location of the plugin is rm -fr ~/.local/share/containers/podman-desktop/plugins/ghcriocrcorgcrcextension one. I am doing a screen record from end to end which will cover those steps.

I am still on holiday leave, but I have noticed Jeff also did not have the
resource page populated. Perhaps confirm also with him if this is
resolved/working for him.
On Wed, May 3, 2023 at 8:38 PM Praveen Kumar @.***>
wrote:

location of the plugin is rm -fr
~/.local/share/containers/podman-desktop/plugins/ghcriocrcorgcrcextension
one. I am doing a screen record from end to end which will cover those
steps.
—
Reply to this email directly, view it on GitHub
https://github.com/crc-org/crc-extension/issues/70#issuecomment-1532959922,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAAOZSX2CSKPG2UZLG7D7LXEJGVBANCNFSM6AAAAAAXUKHTCI
.
You are receiving this because you commented.Message ID:
@.***>

--
Gerard Braad | http://gbraad.nl
STEM is the source, but BUILD is how you develop!
[ Better Understanding Involves Learning and Doing ]

And links:
To the developer terminal
To the console if it exists

@slemeur @deboer-tim  Do we have an API for adding that links?

A design was created for this, but we do not have the functionality to
allow this. Was not prioritized for now (not part of the Summit schedule
IIRC)
On Wed, May 3, 2023 at 9:21 PM Yevhen Vydolob @.***>
wrote:

And links:
To the developer terminal
To the console if it exists
@slemeur https://github.com/slemeur @deboer-tim
https://github.com/deboer-tim Do we have an API for adding that links?
—
Reply to this email directly, view it on GitHub
https://github.com/crc-org/crc-extension/issues/70#issuecomment-1533020917,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAAOZSDGMAFS3DXGAIIPLDXEJLTXANCNFSM6AAAAAAXUKHTCI
.
You are receiving this because you commented.Message ID:
@.***>

--
Gerard Braad | http://gbraad.nl
STEM is the source, but BUILD is how you develop!
[ Better Understanding Involves Learning and Doing ]

Is this now working (showing up)?


Security advice semver

https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
  simple-update-notifier  >=1.0.7
  Depends on vulnerable versions of semver

Closed by #19
Fixed in version 2.0.0


Request to add my college

Please add my college name to your list.

@Subrhamanya Please provide us with an URL of a page or another proof showing that the school recognizes the domain dsce.ac.in which you are submitting as an official email domain for the students.

@Subrhamanya I am sorry, this request remains unanswered for a while. I have to close it without merging. Please reopen and comment if you have an update regarding the aforementioned issue. Thank you for the understanding!


Update stable version in repo from 1.2.3 to 1.2.6

Think about update stable version to 1.2.6
Version: stable=1.2.3 (157 days old) => latest=1.2.6 (15 days old)
Installs: stable=91 (60.26%), latest=28 (18.54%), total=151
Click to edit

done


Disable animations when scrolling programmatically

Hey,
I am using the "scrollToFocusedInput" function and it is working great. When triggered it slowly scrolls/animates to the textInput. Is there anyway to make it instant though? So that it would just teleport the scrollview position to the input.
Thanks!

Hello @Waltari10!
Right now it's not configurable, so you will always get the animation. How do you feel about sending a PR for this?
Here's the important part, we could use a prop to configure this: https://github.com/APSL/react-native-keyboard-aware-scroll-view/blob/master/lib/KeyboardAwareHOC.js#L138

Hey, good idea. If we end up implementing this I'll make sure to make a PR.

This would be awesome.


Updated to newest esp idf, but example are still the old ones

I updated to the newest esp idf v2.1, but my example (i.e. sd_card_example_main.c) and also the driver section are still the old ones?

SPI SD is not in 2.1 release branch, you have to get latest master


Add Feather pinout package

@pelikhan do we put feather pinout in pins. ? I guess we would have to remove pins.* from all hw---* packages.

Right... the default experience should not have pin. Will look into this.


[Ruby] Unify tests with raw_records and each_raw_record

Describe the enhancement requested
Currently, we are using the same test cases for both raw_records and each_raw_record.
I'd like to unify these test cases to facilitate testing. You can see the related test codes here.

raw_records: https://github.com/apache/arrow/tree/main/ruby/red-arrow/test/raw-records
each_raw_record: https://github.com/apache/arrow/tree/main/ruby/red-arrow/test/each-raw-record

Component(s)
Ruby

I will fix it!

take


Building mesa 12.0

I'm trying to upgrade the mesa package to 12.0.1, with no success so far.
The library now requires mako (a python template engine) to generate code
Without it the build fails with the error:
Making all in mesa
make[3]: Entering directory '/tmp/nix-build-mesa-noglu-12.0.1.drv-0/mesa-12.0.1/src/mesa'
  GEN      main/format_info.h
  GEN      main/format_pack.c
Traceback (most recent call last):
  File "./main/format_pack.py", line 3, in <module>
    from mako.template import Template
ImportError: No module named mako.template

However adding pythonPackages.Mako to the build inputs doesn't work either: it fails with the same error but in a different module:
  GEN      brw_nir_trig_workarounds.c
Traceback (most recent call last):
  File "./brw_nir_trig_workarounds.py", line 24, in <module>
    import nir_algebraic
  File "/tmp/nix-build-mesa-noglu-12.0.1.drv-0/mesa-12.0.1/src/compiler/nir/nir_algebraic.py", line 32, in <module>
    import mako.template
ImportError: No module named mako.template

The package is the correct one, I tested it with
nix-shell -p pythonPackages.Mako --pure --run 'python -c "import mako.template"'

So, what am I missing?

While you added both the interpreter and the module, the interpreter doesn't know where the module is. Typically we solve this by adding the path to the module to PYTHONPATH.
In my opinion a nicer solution is to add to buildInputs the following
(python.withPackages (ps: [ps.Mako])
This builds an environment where the interpreter can find the modules that are specified, in this case only Mako and dependencies. I've tested this approach and it works.

Thank you! Could you also tell me what other solutions are?
I noticed some package uses pythonPath = [ ... ];
I tried adding python and mako in the buildInputs and mako to pythonPath but it doesn't seem to work.

pythonPath is used when creating wrappers for binaries. Since you don't produce any scripts that depend on Python modules that is irrelevant.
The solution I referred to first is to export PYTHONPATH in say the configurePhase. If PYTHONPATH then contains the path to Mako then when python is invoked, it will find Mako.

Ok, thank you again.


Telemetry User ID

Migrated from GitLab: https://gitlab.com/meltano/handbook/-/issues/35
Originally created by @pnadolny13 on 2021-11-30 23:48:15

It looks like Google Analytics calculates active user metrics using a Client ID

Client ID | cid | cid=xxxxx | An ID unique to a particular user. |

that we send with the event payload.
The problem with our implementation of this is that it looks like we use a .meltano/analytics.json file to store the client ID which is created on the first run then retrieved and sent on each run after that but its not checked into version control. Its really common for users to have an ephemeral runtime environment (i.e. Squared and MeltanoHub) with a fresh meltano install each time its run. In this case they look like a new user on each instantiation.
I know that we're in the process of moving off of google analytics but it seems like we should be using the project_id from the meltano.yml file as our unique identifier.

View 4 previous comments from the original issue on GitLab


Add support for ESP32-C3

Hi,
I have a fork which is attempting to add support for this RISC-V chip: https://github.com/imheresamir/idf2svd
I got an initial SVD file which was used for a first pass at a PAC: https://github.com/imheresamir/esp32c3
I want to upstream at some point. Things still need to be cleaned up and tested.
Samir

Hi @imheresamir,
I've had a look at the code and its looking promising! I don't have any C3 hardware at the moment, with that said feel free to PR the changes whenever you think its ready, idf2svd is a little bit of a hack anyway :laughing:.


Added new a new Github Action to auto-publish components to NPM on tag creation

What did you do?

[x] Added a new GitHub action to publish components to NPM
[x] Added new commands to package.json yarn release:stable and yarn release:canary
[ ] Moved the commons folder into the components folder (once again). This brings our repository back in-line with how lerna expects shared-code to be setup. It will allow us to trigger version bumps for dependant components when commons is updated.
[ ] Added tsc for type-checking in our CI flow

License
I confirm that this contribution is made under the terms of the MIT license and that I have the authority necessary to make this contribution on behalf of its copyright owner.

Can we please update Readme with the steps?

I'll actually be creating a Guru card for this, since it's an internal process.


When should inputs and mediainputs be used?

Is there a difference between inputs and mediainputs? I was able to create a Media Source and set the Local File path using Inputs.CreateInput() and inputs.NewCreateInputParams.
// Creates New Source
Settings := make(map[string]any)
Settings["local_file"] = "C:/testsounds/test123.mp3"
params := inputs.NewCreateInputParams().WithSceneName(GetActiveScene(Client)).WithInputName("NAME").WithInputKind("ffmpeg_source").WithInputSettings(Settings)
resp, err := Client.Inputs.CreateInput(params)
if err != nil {
     slog.Error("Error", "CreateSource", err)
}

I'd like to change the Media Source's Local File parameter to a different file path and play that source. What would be the best way to do this?
My attempt so far has been to continue using inputs but it has not worked out for changing the local file path on my created media source. I get a invalid memory address or nil pointer dereference error. What i've attempted:
track := make(map[string]any)
track["local_file"] = "C:/testsounds/test.mp3"
track["OBS_MEDIA_STATE_PLAYING"] = "Playing"
name := "sourceName"

resp, err := Client.Inputs.SetInputSettings(&inputs.SetInputSettingsParams{
		InputName: &name,
		InputSettings: track,
	})
if err != nil {
	slog.Error("Error", "SetMediaSourceSettings", err)
}

Should I be switching to mediainputs from here or is this possible with regular inputs? Thanks.

I think you want the TriggerMediaInputAction request.
It expects a mediaAction param and one of the values part of the ObsMediaInputAction enum is OBS_WEBSOCKET_MEDIA_INPUT_ACTION_PLAY which sounds like what you're trying to do. I haven't that enum to the library, but you can see it's definition in the upstream protocol.json here:
https://github.com/obsproject/obs-websocket/blob/5.5.4/docs/generated/protocol.json#L536-L595.
Adding it as a top-level type like the other enums would require additional generation statements (see the following snippet), but in the meantime I think you should be able to just pass it as a string.
https://github.com/andreykaipov/goobs/blob/4294a488734309f98429a4e0a0267cf0a4bbcad9/internal/generate/protocol/main.go#L59-L62

I get a invalid memory address or nil pointer dereference error.

Can you specify where that's happening? Like the stack trace or the line number?

Hi @andreykaipov , no worries thank you for responding. I hope you had a good holiday!

I think you want the TriggerMediaInputAction request.

Can you specify where that's happening? Like the stack trace or the line number?

UPDATE: It was a mistake on my end. An external package wasn't properly referencing my client. I got it working and it auto plays the file when the source filepath changes. Just double checking, is it expected behavior for a source to auto play the track once a new filepath has been set? Thanks.

Just double checking, is it expected behavior for a source to auto play the track once a new filepath has been set?

I'd assume so. When I try in OBS manually changing the local file path for a media source, it plays the file automatically first.
And I think this thread details similar behaviour https://obsproject.com/forum/threads/prevent-obs-playing-a-mediasource.176499/ (though I'm not sure what they mean by triggers).

Got it, thanks @andreykaipov!


Sort custom Path to add newlines-between

In tsconfig i have
"baseUrl": "./",
"paths": {
	"src/*": ["src/*"]
}

And i want src imports to have
from
import React from 'react'
import { Component1 } from 'src/component'

to
import React from 'react'

import { Component1 } from 'src/component'

Is this possible?

Yes, you can use custom groups, as described in the documentation.


Update vulnerabilities in deps badge

The badge that was being used was incorrectly showing that request held vulns in it's (production) dependencies, but this is wrong.
Request uses hawk, which had a vuln, but has been patched and released in 3.1.3 (and is vuln free in the 3.x branch), and the semver range for hawk in the package.json is ~3.1.0 - so 3.1.3 is going to be installed.
Disclosure: I've been working on snyk since mid-last year, but I've been relying on request for even longer and I didn't want it be wrongly represented as vulnerable 💙

Having snyk badge there would be great! I'm just wondering whether setting up hawk to 3.1.3 would make david-dm happy. I don't mind having both badges there, I think david-dm is strictly for showing out of date dependencies.


Checking for NULL in a left/right/outer join

The following code:
    val q = quote {
      (for {
        (p, c) <- query[Person].leftJoin(query[Contact]).on((p,c) => p.id == c.personId)
        if c.map(_.id).isDefined
      } yield p.id).take(10)
    }

    db.run(q)

Results in the following incorrect query:
SELECT p.id FROM person p LEFT JOIN contact c ON p.id = c.person_id WHERE c.id.is_defined LIMIT 10

It should generate: c.id IS NOT NULL instead of c.id.is_defined (similarly .isEmpty should generate  IS NULL).
I was able to get it working by using the following infix conversions:
    implicit class NullChecks[T](q: Option[T]) {
      def isNotNull = quote(infix"$q IS NOT NULL".as[Boolean])
      def isNull = quote(infix"$q IS NULL".as[Boolean])
    }

and using isNotNull in place of isDefined and isNull in place of isEmpty, however using isDefined and isEmpty would result in more idiomatic Scala code.

fixed by #238


Add a feature toggle to manage WIP on contribution applications

Currently, the production platform redirects the user to a typeform when they click on the "Apply" button on a contribution details page.
We are working on storing these contribution applications in the database, thus removing the typeform.
However, the work is not done yet, the frontend is not 100% ready for this, nor the backend.
In order not to block the release cycle, we need to put in place a feature toggle.
This should be simply done with an environment variable.
The feature toggle should enable switching between the behaviour of the Apply button before and after #81
The env variable should be named FEATURE_BACKEND_APPLY, which when false or absent, should configure the Typeform behaviour, and when true, should configure the backend contribution application behaviour.

Closed by #109


A page for displaying network upgrades

It would be helpful to have a page that lists the upcoming upgrade heights and estimated time. This information would be used by validators, exchanges, and other partners who want to know when the expect network upgrades.

Scheduled Upgrades
Block Height
Estimated time in UTC and user's local timezone.

This information can be retrieved from 'https://zetachain.blockpi.network/lcd/v1/public/cosmos/upgrade/v1beta1/current_plan' but ignore the time field.

@CharlieMc0 would it be something similar to https://www.zetachain.com/docs/reference/network/proposals/ ?

Something with more detail and time estimates like this https://polkachu.com/upgrade_history/zetachain
It can be pulled in using their API - https://polkachu.com/docs/index.html#v2-public-GETapi-v2-chain_upgrades


Update examples to use the native token contract

https://github.com/stellar/soroban-examples/pull/62 updated the liquidity pool contract to use the native token contract, but this was reverted in https://github.com/stellar/soroban-examples/pull/76 to make authorization changes easier (the native token contract doesn't have access to the auth code, so we'd have to copy it in).
Once the native token contract can do authorization, the examples should be updated to use the native token contract.

Closed by https://github.com/stellar/soroban-examples/pull/128.


fixing issue 198 with new slightly slower gif

Signed-off-by: Upkar Lidder<EMAIL_ADDRESS>I uploaded the slower gif that @sebastianhuynh-nyc provided.
@GeraldMit @davidnixon pls review and merge into main. Fixes issue #198
FYI @demilolu @Sabine-Justilien @cstefano1

@jordanpowell28 created PR #227 with the correct file. I am closing this PR. Can you please review the other one @davidnixon?


Add support for s390x

This adds basic support for the s390x architecture and its most common relocation types.
This is a prerequisite for adding s390x support to wasmtime.

Thanks for the quick merge, @philipc !
Just one more question: if I want to depend on this feature in wasmtime code, I think it needs to be part of a numbered release of the "object" crate that wasmtime can create a dependency to.
Is there a plan to create a new release of "object" in the not-too-distant future?

I can do a release now if you're sure there will be no further changes required. I was waiting for COMDAT support to be verified as ready for use in wasmtime too, but that doesn't seem to have progressed currently.
I might see if there's some changes that should be done for https://github.com/bytecodealliance/wasmtime/pull/2064 too (cc @yurydelendik ).

I might see if there's some changes that should be done for [wasmtime]

No at this moment. #241 all we need at this point.

I don't have any further changes related to s390x at this point.  I've verified that wasmtime + my s390x patch builds and works fine against the current top-of-tree "object" repository.

I've published 0.21.0.

Thanks!  wasmtime + my s390x patch continues to work fine using object 0.21 as dependency.


How to decrease the whole game's size?

Hello. So I have a little problem because I have a small screen.
Sadly, I am not able to view the entire game when i start it.
I watched the tutorials, and I understood some things. What I tried is modifying:
The variables "screen_width" and "screen_height" to 500 intead of 1000 ( / 2)
The variable title_size to 25 instead of 50 ( / 2 )
But now, the buttons are in the wrong place and the character is way too big. Maybe you think of a way so I could properly decrease the size of the whole game without ruining the assets ?
Thank you for reading, I hope you have a good day. -Misudashi
PS: Here is a screenshot of what it looks in-game after modifying those two variables.

I had the same problem with the level editor but I just reduced the tile_size and everything was fine.

Hello. You can scale all of the items as they are created, this is covered in the tutorial videos.


Organize the content of README.md file

I wanted to create a CONTRIBUTING.md file, but I was going to delete a large part of the README.md file.
I preferred to choose the simplest solution, which is to modify the README.md with the required contribution instructions.

Thanks for your effort, merged!


feat(cms): add config to manage projects data

Current dependencies on/for this PR:

main

PR #57   👈

This comment was auto-generated by Graphite.


Remove the "plugin is already loaded" message

This message is not really useful and can be removed.

Resolved.


libmicrohttpd: 0.9.44 -> 0.9.50

Motivation for this change
Things done

[x] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] OS X
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

The rebuild is rather large due to systemd depending on it.

@vcunat What is the NixOS policy for components such as these? Should we wait for a major release instead of the patch updates to avoid mass rebuilds?

The policy is to merge to the staging branch first which is merged periodically to master (after binaries are ready). I think you can leave the PR as it is, and I/someone can merge it by hand to staging when the time is ripe. Current staging is almost ready to be merged, but this could be in the next iteration.


More information in automated meeting SMS

(Probably more like a Yap 4.1 thing...)
Would love to see format info added to the meeting info sent via SMS
This can help discern where there are gender specific meetings, disability accessible meetings, child friendly meetings, etc.

You can include the details of any meeting format you want already.  For example, if you wanted to include information about if a meeting was virtual you could include that format in the setting below.
include_format_details = ['VM']

Interesting. So here’s my thought process… my region is acquiring all the area numbers into a regional twilio account they don’t have access to. With all the customization done in the webhook, every time an area wants something changed such as deciding to add format details or using tomato, they’d have to ask the region to make the change for them in the webhook. Is there a way to get these overrides and customizations into yap service body configs instead of long custom webhooks. The webhooks are also less intuitive and not as user friendly as configuring yap would be.
Second thought (possibly a second ticket): a webhook semantic interface would be extremely helpful

They don't need a webhook to make these changes, they can use service body configuration overrides.  I'm working on fixing a bug that was reported by @pjaudiomv in #543.
https://bmlt.app/yap/#configurationprecedence

Oh. I didn't even think about doing that. Thank Danny. I guess that you can close up my ticket then.


No available formula

$ brew update
Already up-to-date.

$ brew install cloudamqp/amqpcat
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
Error: No available formula or cask with the name "cloudamqp/amqpcat".
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.

Can you try brew tap cloudamqp/cloudamqp + brew install amqpcat?

The correct command is brew install cloudamqp/cloudamqp/amqpcat, I'll update the README

The correct command is brew install cloudamqp/cloudamqp/amqpcat

Got that from https://github.com/cloudamqp/homebrew-cloudamqp#readme


Zend Memory

I tried convert my PHP script (project) to Zephir. But give me error message "zend_mm_heap corrupted" in apache error.log.
Yes, this is not zephir problem. My coding technique is not right :D
But why that message come, when the php script is not?
Zephir care of memory as well as it does with php script, right?

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/9738367-zend-memory?utm_campaign=plugin&utm_content=tracker%2F280146&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F280146&utm_medium=issues&utm_source=github).

I think memory was leaked
Can you run this script under valgrind with PHP CLI SAPI?
$ valgrind php script.php

https://github.com/phalcon/zephir/blob/master/CONTRIBUTING.md#bugs

$ valgrind php index.php

==8217== Memcheck, a memory error detector
==8217== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
==8217== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
==8217== Command: php index.php
==8217==
PHP Warning:  Invalid arguments supplied for strpos() in /home/rdjpg/public_html/roda/index.php on line 30
PHP Warning:  Invalid arguments supplied for strpos() in /home/rdjpg/public_html/roda/index.php on line 30
TEST PAGE==8217==
==8217== HEAP SUMMARY:
==8217==     in use at exit: 74,650 bytes in 215 blocks
==8217==   total heap usage: 32,877 allocs, 32,662 frees, 5,697,739 bytes allocated
==8217==
==8217== LEAK SUMMARY:
==8217==    definitely lost: 6,906 bytes in 9 blocks
==8217==    indirectly lost: 8,610 bytes in 12 blocks
==8217==      possibly lost: 0 bytes in 0 blocks
==8217==    still reachable: 59,134 bytes in 194 blocks
==8217==         suppressed: 0 bytes in 0 blocks
==8217== Rerun with --leak-check=full to see details of leaked memory
==8217==
==8217== For counts of detected and suppressed errors, rerun with: -v
==8217== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 2 from 2)

btw, "zend_mm_heap corrupted" not always show in every request. but sometimes,,,

It's not possible to detect bug without code

Could you please try again using latest master?


Underscore in the file name breaks the link in the heading, generated by 'group by filename' function

Please check that this issue hasn't been reported before.

[X] I searched previous Bug Reports didn't find any similar reports.

Expected Behavior

Each task group contains a link to the parent file
local_path.md

Current behaviour

The link that is generated during grouping by file name, which has the underscore symbol, has an incorrect path
local\_path.md

Steps to reproduce

Сreate a file whose name contains an underscore
Create new task in this file
Create query with all tasks, grouped by filename

Example:
tasks
group by filename

Which Operating Systems are you using?

[x] Android
[ ] iPhone/iPad
[X] Linux
[ ] macOS
[ ] Windows

Obsidian Version
1.1.15
Tasks Plugin Version
1.25.0
Checks

[X] I have tried it with all other plugins disabled and the error still occurs

Possible solution
No response

Thank you for reporting this.

@orca131 strangely, I have a different behaviour. I created this file:

And in this query:
```tasks
group by filename
```

I have:

The link in the group name is wrong indeed, however the backlink is ok, may be used for a workaround. Do you mind attaching screenshots of the task & file definition? Maybe updating Obisidian to 1.1.16 is key. At least, the only diff beside that is that I'm on a mac.
PS I guess you meant Obsidian 1.1.15 and Tasks 1.25.0? ;)
PPS also tried this kind of task and file - underscore in front but the result is still consistent and different from yours (!== error free)

I just looked back through the past pull requests, and think that this is related to this fix:

https://github.com/obsidian-tasks-group/obsidian-tasks/pull/909

A lot of discussion and thought went in to that. I don't have time to read it right now.
But I wonder whether the 'group by filename' code is now taking an escaped filename and wrapping it in[[ ]]?
Test file
Ahh... I created a test file for that issue:
resources/sample_vaults/Tasks-Demo/Manual Testing/Markdown in group _non-italic filename_.md
And indeed, when I open the Tasks-Demo vault in Obsidian now and click on some of the file links, I do indeed find that there are some links that appear to be to non-existent files, and clicking on them creates incorrect files.
Hovering over every link in the tasks block in that file should preview a file. But a number of the filename lines show they link to a missing file:

@orca131 Thank you very much indeed for reporting this.
And apologies for not thinking of testing this when the linking of filenames in group headings was implemented. (There's a lot of moving parts to keep track of these days!)

thanks both for clarifications, I think I found a missing piece during #1426


Rewrite logging section for dual logging (engine 20.10), and update post-install

relates to https://github.com/moby/moby/pull/40543

@usha-mandya PTAL

@usha-mandya PTAL


fix a typo in the licenseString

API change check
APIView has identified API level changes in this PR and created following API reviews.
Microsoft.Generator.CSharp


Clean up unused code in the provisioner

Description
Changes proposed in this pull request:

Remove operations related to installing, upgrading, and deprovisioning Kyma 1.x
Remove dependencies to service catalog
Remove AWS migration leftovers

Related issues
https://github.com/kyma-project/control-plane/issues/2151

/retest

/retest

/retest

/retest

/retest

/test tide

/retest


Fix docker-build.sh with SELinux

Similar to https://github.com/AdoptOpenJDK/openjdk-build/pull/672.
${BUILD_CONFIG[DOCKER_SOURCE_VOLUME_NAME]} is a Docker volume, and according to the code, it's not shared so a Z is not required since it's implicit.

Error log without fix:
$ ./makejdk-any-platform.sh --docker --clean-docker-build --jdk-boot-dir /usr/lib/jvm/java-15 jdk
8>---<8
Running gradle with /usr/lib/jvm/jdk8 at /openjdk//.gradle
bash: ./gradlew: No such file or directory
RETRYWARNING: Gradle failed on attempt 1
bash: ./gradlew: No such file or directory
RETRYWARNING: Gradle failed on attempt 2
bash: ./gradlew: No such file or directory
RETRYWARNING: Gradle failed on attempt 3

run tests

🟠 PR TESTER RESULT 🟠
❎ Some pipelines failed or the job was aborted! ❎
See the pipeline-build-check below for more information...

Existing issues with the git clone unrelated to this PR => https://adoptopenjdk.slack.com/archives/C09NW3L2J/p1607073709159700

run tests


For Peloton, the onboarding form needs to ask who the PI the user will be working under and include that information in the approver request.

@cbookman -- re:  "include that information in the approver request" -- what information about the PI do you want to include?  Anything they type in?  name?  email?   kerb via some fancy lookup?


If monitor.history = 0 then crash on mail receive

(Sorry to poor english)
Setting the " monitor.history " item to 0 causes an error when receiving mail.
2017/12/05 04:38:58 [INFO ] SMTP[*.*.*.*]<1> Mail from: ~~~@~~~
2017/12/05 04:38:58 [INFO ] SMTP[*.*.*.*]<1> Recipient: ###@###
2017/12/05 04:38:58 [INFO ] SMTP[*.*.*.*]<1> Message size 20068 bytes
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x4a45ae]

goroutine 10 [running]:
panic(0x7ee780, 0xc420012060)
        /usr/local/go/src/runtime/panic.go:500 +0x1a1
github.com/jhillyerd/inbucket/msghub.(*Hub).Dispatch.func1(0xc420176a00)
        /home/james/go/src/github.com/jhillyerd/inbucket/msghub/hub.go:67 +0xae
github.com/jhillyerd/inbucket/msghub.New.func1(0xa40260, 0xc42000de00, 0xc420176a00)
        /home/james/go/src/github.com/jhillyerd/inbucket/msghub/hub.go:54 +0x112
created by github.com/jhillyerd/inbucket/msghub.New
        /home/james/go/src/github.com/jhillyerd/inbucket/msghub/hub.go:57 +0x122

Personally, I don't want to use history, but I think msgHub.go needs exception catch.

Thanks for the report.  For now, set monitor.visible=false to hide the monitor UI, and history size of 1.


Create readme headers for certificate creation section

There have been a few times where I have wanted to link people to our instructions on how to create self signed certs for samples and having the sections in collapsed HTML tags makes linking to them impossible (have to give instructions on what to expand instead of a direct link). This just opens them up to be able to be linked to.
To see how this section looks: https://github.com/danewalton/azure-sdk-for-c/tree/dane/updatecertreadme/sdk/samples/iot#create-an-authenticated-device

Do not merge until PnP dance has been done.


添加企业微信电子发票接口 (#444)

新增接口如下：

查询电子发票
批量查询电子发票
更新发票状态
批量更新发票状态

Codecov Report

Merging #582 into master will increase coverage by 0.76%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #582      +/-   ##
==========================================
+ Coverage   71.84%   72.61%   +0.76%
==========================================
  Files          79       79
  Lines        3118     3107      -11
==========================================
+ Hits         2240     2256      +16
+ Misses        878      851      -27

Flag
Coverage Δ

#unittests
72.61% <100.00%> (+0.76%)
:arrow_up:

Impacted Files
Coverage Δ

wechatpy/work/client/__init__.py
100.00% <100.00%> (ø)

wechatpy/work/client/api/__init__.py
100.00% <100.00%> (ø)

wechatpy/work/client/api/invoice.py
100.00% <100.00%> (ø)

wechatpy/client/api/invoice.py

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 147d932...3f0eea4. Read the comment docs.

LGTM


Mechanical brake support

Hey! I'm loving this ODrive! I'm hacking on something a bit different and needed a mechanical brake feature, hopefully it could be useful to others. I'm having some issues getting the 'engage' and 'release' functions to show up in the odrivetool, but otherwise it seems to be working. I'm not familiar with yaml so it may be a simple fix to add the function calls?
I thought it would fit better in the low level 'safety' functions but I didn't want to create a bunch of interdependencies.
I tested the functionality on some orange hardware, save_config/recall functions as well. I saw some strange toggling behavior on GPIO1 during reboot which I didn't dig too far into, not sure if that's a known issue.
Cheers,
Shaun & FRED
Oskar edit: video of feature in action - https://youtu.be/6Z1DGk_AfH0

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

I refactored the code as per the upstream changes - I'm not near hardware to sanity check at the moment though.

Tested good on hardware, however in loading the configuration on boot, the GPIO config looks like it's being overwritten by  https://github.com/madcowswe/ODrive/blob/devel/Firmware/MotorControl/main.cpp#L397-L503. Calling config_apply_all() after this block, or doing anything which would trigger mechanical_brake::apply_config() again would reset the configuration of the GPIO.

I tested this out on hardware tonight and everything was looking good, but on reboot the GPIO configurations in MechanicalBrake::apply_config() are overwritten by the set gpio modes function in main. The settings save and load correctly, it's just reverting to default pin configs. I looked into adding a GPIO_MODE_MECH_BRAKE or even GPIO_MODE_DIGITAL_OUT but I think that might not be solving the right problem here. Is it better to have a call to something along the lines of apply_extended_configs() after the default pin-mode set-up?

Oh yeah this is closely related to #452.
Based on the thoughts outlined in https://github.com/madcowswe/ODrive/issues/452#issuecomment-679925071 I think adding a GPIO_MODE_MECH_BRAKE and removing the config() call from MechanicalBrake::set_enabled() is the cleanest solution.
Btw I see that there's a pullup variable which doesn't really make a difference for a push-pull output so it can be removed.

Tested good on hardware, settings persisted through save_configuration() & reboot(). I didn't end up removing the call in 'enable' unless the strategy was only to have those configuration changes take effect on reboot? Happy to swap if that's the intent.

Tested good on hardware, hardware configuration persisted though save_configuration() and reboot(), implemented the above suggestions and removed the internal resistor calls on the outputs.

Did a quick sanity check on hardware, worked as expected.

Tested it in two channel mode!

Thank you for your contribution!


Task Switcher vim navigation shortcuts

Summary of the new feature/enhancement
When having your hands on the keyboard and pressing Alt-Tab to switch windows, it is a bit inconvenient to reach for the arrow keys to navigate the windows open. It would be very cool that we could use HJKL (vim style) navigation keys to move arround the currently open windows.

Proposed technical implementation details (optional)
When Task Switcher is open (Alt-Tab) H remaps to left arrow, J remaps to down arrow, K remaps to up arrow and L remaps to right arrow.

@jagjordi Looks like this ticket was marked as 'Very Very Difficult or impossible' in the linked ticket. Noting that as a workaround, you can avoid reaching over to the arrow keys or mouse by simply keeping your finger on alt and hitting tab repeatedly to move through the windows you want to open.

Tracked in #1828

Tracked in #1828

Sorry, mistook this as a PT Run ask

Sorry, mistook this as a PT Run ask


@qualweb/best-practices: refactor unit tests

The unit tests launch a Puppeteer instance at the beginning of a test but doesn't correctly close it again (the statements are commented out).
The tests should probably be refactored to move Puppeteer launch/close into setup/teardown functions (check the @qualweb/act-rules package for how this was done in an earlier pass).

Duplicate. Closing.


Load and plot uploads

Adds load_uploads and plot_uploads functions to the Analysis class, which facilitate downloading statmap images directly from Neurovault collections, and plotting them using nilearn.
load_uploads allows you to filter the attributes by which to filter collections you want to load (i.e. only load collections with estimator = afni), filter the images themselves (i.e. only group images), and loads the resulting imagines in a flat list of tuples across collections, with the first item being a nibabel.NiftiImage object. Images are downloaded into a directory which is user specified or a temp directory automatically created.
For example, given a Analysis object m:
m.get_uploads()
[{'cli_version': '0.4.1',
  'collection_id': 9370,
  'estimator': 'nistats',
  'files': [{'basename': 'task-movie_space-MNI152NLin2009cAsym_contrast-building_stat-t_statmap.nii.gz',
    'level': 'GROUP',
    'status': 'OK',
    'traceback': None},
   {'basename': 'task-movie_space-MNI152NLin2009cAsym_contrast-building_stat-effect_statmap.nii.gz',
    'level': 'GROUP',
    'status': 'OK',
    'traceback': None},
   {'basename': 'task-movie_space-MNI152NLin2009cAsym_contrast-building_stat-variance_statmap.nii.gz',
    'level': 'GROUP',
    'status': 'OK',
    'traceback': None}],
  'fmriprep_version': '20.1.1',
  'uploaded_at': '2021-01-22T11:2'},
 {'cli_version': None,
  'collection_id': 8760,
  'estimator': None,
  'files': [{'basename': 'task-movie_space-MNI152NLin2009cAsym_contrast-building_stat-variance_statmap.nii.gz',
    'level': 'GROUP',
    'status': 'OK',
    'traceback': None},
   {'basename': 'task-movie_space-MNI152NLin2009cAsym_contrast-building_stat-t_statmap.nii.gz',
    'level': 'GROUP',
    'status': 'OK',
    'traceback': None},
   {'basename': 'task-movie_space-MNI152NLin2009cAsym_contrast-building_stat-effect_statmap.nii.gz',
    'level': 'GROUP',
    'status': 'OK',
    'traceback': None}],
  'fmriprep_version': None,
  'uploaded_at': '2020-09-28T18:1'},
 {'cli_version': '0.4.1',
  'collection_id': 9383,
  'estimator': 'afni',
  'files': [{'basename': 'task-movie_space-MNI152NLin2009cAsym_contrast-building_stat-t_statmap.nii.gz',
    'level': 'GROUP',
    'status': 'OK',
    'traceback': None},
   {'basename': 'task-movie_space-MNI152NLin2009cAsym_contrast-building_stat-effect_statmap.nii.gz',
    'level': 'GROUP',
    'status': 'OK',
    'traceback': None},
   {'basename': 'task-movie_space-MNI152NLin2009cAsym_contrast-building_stat-variance_statmap.nii.gz',
    'level': 'GROUP',
    'status': 'OK',
    'traceback': None}],
  'fmriprep_version': '20.1.1',
  'uploaded_at': '2021-01-23T02:1'}]

In this scenario there are three uploaded collections, with three images each.
By default, only images from the latest collection are loaded:
m.load_uploads()

[(<nibabel.nifti1.Nifti1Image at 0x7fc493ad7b50>,
  {'cli_version': '0.4.1',
   'collection_id': 9383,
   'estimator': 'afni',
   'fmriprep_version': '20.1.1',
   'uploaded_at': datetime.datetime(2021, 1, 23, 2, 1),
   'basename': 'task-movie_space-MNI152NLin2009cAsym_contrast-building_stat-t_statmap.nii.gz',
   'level': 'GROUP'}),
 (<nibabel.nifti1.Nifti1Image at 0x7fc493b4b5d0>,
  {'cli_version': '0.4.1',
   'collection_id': 9383,
   'estimator': 'afni',
   'fmriprep_version': '20.1.1',
   'uploaded_at': datetime.datetime(2021, 1, 23, 2, 1),
   'basename': 'task-movie_space-MNI152NLin2009cAsym_contrast-building_stat-effect_statmap.nii.gz',
   'level': 'GROUP'}),
 (<nibabel.nifti1.Nifti1Image at 0x7fc494b76850>,
  {'cli_version': '0.4.1',
   'collection_id': 9383,
   'estimator': 'afni',
   'fmriprep_version': '20.1.1',
   'uploaded_at': datetime.datetime(2021, 1, 23, 2, 1),
   'basename': 'task-movie_space-MNI152NLin2009cAsym_contrast-building_stat-variance_statmap.nii.gz',
   'level': 'GROUP'})]

But you can also load all:
m.load_uploads(select=None)

[(<nibabel.nifti1.Nifti1Image at 0x7fc493ad7e10>,
  {'cli_version': None,
   'collection_id': 8760,
   'estimator': None,
   'fmriprep_version': None,
   'uploaded_at': datetime.datetime(2020, 9, 28, 18, 1),
   'basename': 'task-movie_space-MNI152NLin2009cAsym_contrast-building_stat-variance_statmap.nii.gz',
   'level': 'GROUP'}),
 (<nibabel.nifti1.Nifti1Image at 0x7fc493ad7650>,
  {'cli_version': None,
   'collection_id': 8760,
   'estimator': None,
   'fmriprep_version': None,
   'uploaded_at': datetime.datetime(2020, 9, 28, 18, 1),
   'basename': 'task-movie_space-MNI152NLin2009cAsym_contrast-building_stat-t_statmap.nii.gz',
   'level': 'GROUP'}),
 (<nibabel.nifti1.Nifti1Image at 0x7fc493ae3b50>,
  {'cli_version': None,
   'collection_id': 8760,
   'estimator': None,
   'fmriprep_version': None,
   'uploaded_at': datetime.datetime(2020, 9, 28, 18, 1),
   'basename': 'task-movie_space-MNI152NLin2009cAsym_contrast-building_stat-effect_statmap.nii.gz',
   'level': 'GROUP'}),
 (<nibabel.nifti1.Nifti1Image at 0x7fc493afbbd0>,
  {'cli_version': '0.4.1',
   'collection_id': 9370,
   'estimator': 'nistats',
   'fmriprep_version': '20.1.1',
   'uploaded_at': datetime.datetime(2021, 1, 22, 11, 2),
   'basename': 'task-movie_space-MNI152NLin2009cAsym_contrast-building_stat-t_statmap.nii.gz',
   'level': 'GROUP'}),
 (<nibabel.nifti1.Nifti1Image at 0x7fc493afbd90>,
  {'cli_version': '0.4.1',
   'collection_id': 9370,
   'estimator': 'nistats',
   'fmriprep_version': '20.1.1',
   'uploaded_at': datetime.datetime(2021, 1, 22, 11, 2),
   'basename': 'task-movie_space-MNI152NLin2009cAsym_contrast-building_stat-effect_statmap.nii.gz',
   'level': 'GROUP'}),
 (<nibabel.nifti1.Nifti1Image at 0x7fc493afdad0>,
  {'cli_version': '0.4.1',
   'collection_id': 9370,
   'estimator': 'nistats',
   'fmriprep_version': '20.1.1',
   'uploaded_at': datetime.datetime(2021, 1, 22, 11, 2),
   'basename': 'task-movie_space-MNI152NLin2009cAsym_contrast-building_stat-variance_statmap.nii.gz',
   'level': 'GROUP'}),
 (<nibabel.nifti1.Nifti1Image at 0x7fc493afd690>,

...

select can also be oldest or newest (explicit).
You could also pass a dictionary coll_filt to filter the collections.
e.g.:
m.load_uploads(coll_filt={'estimator': 'afni})

kwargs can be used to filter the images themselves:
m.load_uploads(coll_filt={'estimator': 'afni}, 'level'='GROUP')

Finally, plot_uploads uses plot_stat_map to plot these images:
m.plot_uploads()

will plot the images from the latest collection. kwargs go to load_uploads so it can be specified which images to plot.
@rbroc can you take a look at this and give it a go?
just want to see if this is useful and it makes sense how I implemented this.
Things still left to do:

Extract BIDS entities from the file names of images, to allow filtering based on that (i.e. only plot t maps, or filter by contrast name
Maybe make the default plotting parameters better, and add overlays indicating which images is being plotting (you can use plot_args to mass arguments to plot_stat_map).
Thanks!

definitely super useful functionality IMO - I've tried on some of the neuroscout-paper analyses and if no filters are passed the loader function works like a charm.
Can't find analyses with multiple uploads to test the select argument (wondering what sorted does if select is None?)
Two more remarks/suggestions:

Thinking of a scenario where users wants to iteratively load images for more than one analysis (e.g. meta-analysis contexts) where this functionality comes in very handy, could it be useful to add to metadata (contrast, level, dataset) to the output?
I can't get the coll_filter and stat_filter to work. Haven't tried super thoroughly, but how they work is not intuitive to me - possibly because I am not super familiar with NV. Would it be an option to allow users to filter in a way that's closer to Neuroscout's ontology (e.g. by contrast or level), and maybe with regex instead of exact match?
If the former is a bad idea, can the way filtering works be made more straightforward for the user (e.g. in the docstring)?
Plotting fails for me for the second item returned for M4jEG with this error: ValueError: Image size of 539x274584 pixels is too large. It must be less than 2^16 in each direction. Also not so sure I'd spend too much time on plotting, it could be left to the user and how nice things look always depends on the specific use case. More something for a neuroscout-paper repo-like set of utils?
Hope that makes sense!

definitely super useful functionality IMO - I've tried on some of the neuroscout-paper analyses and if no filters are passed the loader function works like a charm.
Can't find analyses with multiple uploads to test the select argument (wondering what sorted does if select is None?)
Two more remarks/suggestions:

Thinking of a scenario where users wants to iteratively load images for more than one analysis (e.g. meta-analysis contexts) where this functionality comes in very handy, could it be useful to add to metadata (contrast, level, dataset) to the output?
I can't get the coll_filter and stat_filter to work. Haven't tried super thoroughly, but how they work is not intuitive to me - possibly because I am not super familiar with NV. Would it be an option to allow users to filter in a way that's closer to Neuroscout's ontology (e.g. by contrast or level), and maybe with regex instead of exact match?
If the former is a bad idea, can the way filtering works be made more straightforward for the user (e.g. in the docstring)?
Plotting fails for me for the second item returned for M4jEG with this error: ValueError: Image size of 539x274584 pixels is too large. It must be less than 2^16 in each direction. Also not so sure I'd spend too much time on plotting, it could be left to the user and how nice things look always depends on the specific use case. More something for a neuroscout-paper repo-like set of utils?
Hope that makes sense!

yes I'm going to add at least the meta-data in the file name. if we need anything else specifically after that we can add on a case by case basis
2-3) I will try to clarify it in the docstring. i'm actually just using the information from what you would get if you call get_uploads. those are the fields you can filter on. not accessing any neurovault specific information actually.
do you have example of something you tried?
weird that sounds like nilearn thing. I agree not going to spend too much time on it, maybe just add a formatted title to make it easier to see which is plotted.

awesome, thanks. the only real concern i have still is if filtering is not working, so let me know if you have that example.

yes I'm going to add at least the meta-data in the file name. if we need anything else specifically after that we can add on a case by case basis
2-3) I will try to clarify it in the docstring. i'm actually just using the information from what you would get if you call get_uploads. those are the fields you can filter on. not accessing any neurovault specific information actually.
do you have example of something you tried?
weird that sounds like nilearn thing. I agree not going to spend too much time on it, maybe just add a formatted title to make it easier to see which is plotted.

awesome, thanks. the only real concern i have still is if filtering is not working, so let me know if you have that example.

Okay @rbroc I simplified it so you can simply combine all filter arguments such as:
m.load_uploads(estimator='nistats', level='GROUP')

This makes the API a bit cleaner, although it mixes the two levels. I don't forsee any clashes in the key names though.

Okay @rbroc I simplified it so you can simply combine all filter arguments such as:
m.load_uploads(estimator='nistats', level='GROUP')

This makes the API a bit cleaner, although it mixes the two levels. I don't forsee any clashes in the key names though.


A few questions about the code

Thank you for your wonderful work! I have a few questions about this code.

Why is the ratio of the mean of the weights in the linear layer of the FFN to the mean of the visual tokens used as a scaling factor for the visual tokens? I’m curious about the reasoning for this approach.
https://github.com/1zhou-Wang/MemVR/blob/737d05045e65d77465cb425df1112c17d6797b1f/memvr.py#L244-L245
Why is the entropy calculated by directly considering the top-k largest logits? Doesn't this mean that the words selected for the entropy at each layer are not corresponding to the same vocabulary?
https://github.com/1zhou-Wang/MemVR/blob/737d05045e65d77465cb425df1112c17d6797b1f/memvr.py#L212-L215
Thanks in advance for your time and help!

Hi,
Glad to share my view with you!
1.  Why is the ratio of the mean of the weights in the linear layer of the FFN to the mean of the visual tokens used as a scaling factor for the visual tokens? I’m curious about the reasoning for this approach.
This part of calculation serves for the MemVR Adaptor, where the scaled visual feature has been used. Since the Adaptor's output will be added to the regular FFN output with specific ratio that is called 'Retrace Ratio', we would like to keep the final result's range as close to the original one as it can, as either higher or lower value would disturb the reasoning of LLM. And that's why the visual feature has been scaled according to the value of certain FFN weights --- we want to keep the calculation results from the adaptor as close to the value of FFN as it can!
2. Why is the entropy calculated by directly considering the top-k largest logits? Doesn't this mean that the words selected for the entropy at each layer are not corresponding to the same vocabulary?
Sure that the entropy at each hidden-layer is not, indeed, calculated by collecting probabilities of the same group of predictions.  This is because the value of entropy represents for the 'uncertainty' of the hidden-layers, but not how the logits change from pre-mature-layers (which are hidden-layers) to mature-layer (which is often the last layer). In other words, we use this value to describe if the model has a preference among all logits, where lower value indicates more confident reasoning process even the early-state preference would not be the one to be predicted at the last layer.
I hope that solves your puzzle. Do let me know if you have further concerns or questions!


Fixes python_bin path for Kube Addons in Ansible

Previously, the python_path was not being properly updated for
CoreOS systems. This patch moves python_bin fact management
from the kubernetes-addons role to the kubernetes role.
Fixes Issue: https://github.com/kubernetes/contrib/issues/623

@ingvagabund @atosatto I think this commit should work with your systems. I would appreciate if you could take a look to make sure.

I confirm you that it works (@eparis has been faster than me!) :)

yay!!! thx @atosatto


[SILProfiler] Skip source regions with invalid locations

It's not possible to emit code coverage mappings for such regions.
rdar://47254122

@swift-ci please test


Coordinate Conversion input format doesn't ignore case in hemisphere designator (ArcMap)

According to the following help topic, ArcMap ignores the case for hemisphere designators (N,S,E,W, n,s,e,w), however, the Coordinate Convert addin is case senstive.
http://desktop.arcgis.com/en/arcmap/10.3/tools/data-management-toolbox/supported-notation-formats.htm
I tested using the addin built on ArcObjects 10.3.1 in ArcMap 10.3.1

[x] The addin must ignore case for hemisphere designators, when the designators are suffixes for DD:
45.00n 70.00w

[x] The addin must ignore case for hemisphere designators, when the designators are prefixes for DD:
n45.00 w70.00

[x] The addin must ignore case for hemisphere designators, when the designators are suffixes for DDM:
45 00.00n 70 00.00w

[x] The addin must ignore case for hemisphere designators, when the designators are prefixes for DDM:
n45 00.00 w70 00.00

[x] The addin must ignore case for hemisphere designators, when the designators are suffixes for DMS:
45 00 00.00n 70 00 00.00w

[x] The addin must ignore case for hemisphere designators, when the designators are prefixes for DMS:
n45 00 00.00 w70 00 00.00

NOTE: the addin should also support this when entering in Longitude Latitude order.

@jmhauck Installed Pro addin dated 05 Jan 2017 14:42 and tested on ArcMap 10.3.1 and case is ignored. Closing issue.


conda install -c condo-forge ta-lib not working with latest Miniconda3

Comment:
Hi,
Recently, I noticed that latest Miniconda3 fails to install ta-lib. Is this is a known issue and is someone looking into it?
Some details:
I was using wget --quiet https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh to install latest version on Linux and then using "conda install -c condo-forge ta-lib". Digging a little, I noticed that this problem is seen in conda version 23.5.1 with Python 3.11.4. This was working fine at least until Conda version 23.3 with Python version 3.10.x. It looked related to Python version so I used wget --quiet https://repo.anaconda.com/miniconda/Miniconda3-py310_23.5.0-3-Linux-x86_64.sh and that seems to be working (conda install -c condo-forge ta-lib was successful).
Hope this helps!
Thanks,
Salyl

Thanks Uriel.
Best regards,
Salyl
On Mon, Jul 1, 2024 at 7:37 AM Uriel Sandoval @.***>
wrote:

Closed #27 https://github.com/conda-forge/ta-lib-feedstock/issues/27 as
completed.
—
Reply to this email directly, view it on GitHub
https://github.com/conda-forge/ta-lib-feedstock/issues/27#event-13352526401,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWLWUZQCLXGA2NUFBTOGZ5DZKFSQ5AVCNFSM6AAAAABKFW7X4CVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJTGM2TENJSGY2DAMI
.
You are receiving this because you authored the thread.Message ID:
@.***>


Redis modules with hiredis-cluster

I'm trying to use redis modules with hiredis-cluster. In previous version of hiredis-cluster, it is possible to add commands to command.h in order to use the redis commands like FT.CREATE which comes from redisearch. But in the last version, there is a script which is named as gencommands.py to produce cmddef.h. As far as I know, I need to add commands to this file to produce QUERY to send redis server. But I couldn't have make it for RediSearch and RedisJSON. I'm giving the json which is located in redisjson and redisearch as an argument my I'm taking an error. How can I use redisearch and redisjson with hiredis-cluster?

It's a good question. We didn't think about custom module commands when we rewrote command.h, but of course we need to support this.
I think we need to provide a way to extend the command definition, either at compile time or in runtime. We have to think about the best way to do this.
In the meantime, there is one workaround: You can use redisClusterGetNodeByKey and then redisClusterCommandToNode (or the similar functions for async API) to send any command to the specified node.

Thanks for answer. I tried to make your suggestions like this
std::string key = "{my_key}";
cluster_node * node = redisClusterGetNodeByKey(cc, key);
*reply = (redisReply *) redisClusterCommandToNode(cc, node, strCommand.c_str());
But I'm taking "Resource Temporarily Unavailable" error when I try to run the program
Thanks again

I'm not very good with C++ but I guess key needs to be a char * instead of a std:string. Can this be the problem?
Or maybe "Resource Temporarily Unavailable" means there is a temporary network problem, your Redis cluster is not available?

Maybe its a copy&paste error but you should need to give key.c_str() to redisClusterGetNodeByKey() too,
then if you are using the async api (?) you should use redisClusterAsyncCommandToNode().

The resource unavailable problem fixed with using placeholders as %s, command instead of giving full string with c_str method.
And also suggested work around worked fine. Thanks for answers


libepic

This PR requires the changes from https://github.com/viperproject/gobra/pull/643 in order to verify. It currently suffers from performance problems in function prepareMacInput, but they should be easy to sort out

I will merge this when the tests finish to close this PR for now


[Question] Relative path of urls in css?

Hello. I have the following structure in my project:

app

styles
-- myscss.scss
-- fonts
--- myfont.ttf

In myscss.scss I have
@font-face {   font-family: 'weathericons';   src: url('fonts/myfont.ttf');   font-weight: normal;   font-style: normal; }
However I get
Module not found: Error: Can't resolve 'myfont.ttf' in '/Users/wassgha/Downloads/electron-react-boilerplate-master/app/styles'
I am sure I am doing a very stupid mistake. Can someone please point it out :( .
Thank you!
/cc @amilajack

Update, I figured out that ~ is the node_modules folder so I am using ~/../styles/fonts/myfont.ttf and it works. However, I feel that there's a cleaner solution...

Have you tried './fonts/myfont.ttf' ?

I see, that worked :) ! Thanks


Draft: Use BufferEncoding type

Change the encoding type to be BufferEncoding to avoid casts.

This change has been completed via other pull requests.


The problem of “Instruction Backtranslation”

Thanks for sharing!
I want to use my Chinese data for "Instruction Backtranslation". Do I need to modify only Seed Data and Unlabelled Data?
In addition, does "quality" in Seed Data need to be marked by itself? Because Seed Data of is the SFT data that has been manually checked, I do not know whether your Seed Data has other processing. At the same time, how can I provide "Unlabelled Data"?

Hi there, thanks for your question~

If you plan to train the model from scratch, yes, you need to modify only Seed and Unlabelled Data.
Sorry, I didn't get it. Do you mean whether we should manually check the Seed Data for best quality? Yes if you are using other datasets. Better seed data quality yield better instruction following abilities.
You could use LLM's pre-training dataset as the unlabelled data. For example, Wanjuan 1.0, Wudao, and many other corpora.

Hi there, thanks for your question~

If you plan to train the model from scratch, yes, you need to modify only Seed and Unlabelled Data.
Sorry, I didn't get it. Do you mean whether we should manually check the Seed Data for best quality? Yes if you are using other datasets. Better seed data quality yield better instruction following abilities.
You could use LLM's pre-training dataset as the unlabelled data. For example, Wanjuan 1.0, Wudao, and many other corpora.

Thank you for your reply.
For the 2., I mean I found "instruction_quality" and "response_quality" in your "seed.jsonl", but I don't have both in my own SFT data. Does that affect my training?
In addition, I still don't understand "unlabelled_data". For example, if I have 3000 SFT data records and I want to generate more SFT data, does "unlabelled_data" refer to other SFT data? Or txt text data?
Thank you again

It's ok to leave those items blank or remove them. These columns are just used for the OASST data filtering in the pre-processing stage.
Unlabelled data refers to raw texts. The instruction backtranslation regards these texts as responses and generate their instructions to build new SFT data.