Update CCBC OSD entries for BCeID

Hey team! Please add your planning poker estimate with Zenhub @AntBush @marcellmueller @matthieu-foucault @wenzowski

No work from the devs required, PO task


Prevent looping of autoplay by using random video from first 5 related.

Adds #470

Omg, really? I literally just finished this. If you were just 5 minutes quicker, while i was checking which issue to solve.
Thanks a lot for trying to help though :\


Shot, sweet, one liner.

^
Need to check is different version of bash and curl though.

A thing of beauty is a joy forever. :rose:

Heh heh thanks! :blush:


Fix #4679 Backend: Support assigning a task to user/team and resolving the task

Describe your changes :
See #4679

Schema changes to accommodate tasks
API additions to be able to create a task and get task by id
GET /api/v1/feed/task/{id}

Type of change :

[x] New feature

Checklist:

[x] I have read the CONTRIBUTING document.
[x] I have commented on my code, particularly in hard-to-understand areas.
[x] I have added tests that prove my fix is effective or that my feature works.
[x] All new and existing tests passed.

Sample request to create a task:
POST /api/v1/feed
{
    "type":"Task",
    "message":"Request Description for line_item_id",
    "from":"aaron_johnson0",
    "about":"<#E::table::sample_data.ecommerce_db.shopify.fact_line_item::columns::line_item_id::description>",
    "taskDetails":{
        "type":"UpdateDescription",
        "assignees":[{"id":"fe21e1ba-ce00-49fa-8b62-3c9a6669a11b", "type":"user"}]
    }
}

Sample response:
{
    "id": "07f64b14-00c7-4671-9147-8f5c37e91a0e",
    "type": "Task",
    "href": "http://localhost:8585/api/v1/feed/07f64b14-00c7-4671-9147-8f5c37e91a0e",
    "threadTs":<PHONE_NUMBER>535,
    "about": "<#E::table::sample_data.ecommerce_db.shopify.fact_line_item::columns::line_item_id::description>",
    "entityId": "5a8122b0-4772-487b-afaa-19f3c27abcc0",
    "createdBy": "aaron_johnson0",
    "updatedAt":<PHONE_NUMBER>535,
    "updatedBy": "anonymous",
    "resolved": false,
    "message": "Request Description for line_item_id",
    "postsCount": 0,
    "posts": [],
    "reactions": [],
    "task": {
        "id": 3,
        "type": "UpdateDescription",
        "assignees": [
            {
                "id": "fe21e1ba-ce00-49fa-8b62-3c9a6669a11b",
                "type": "user"
            }
        ],
        "status": "Open"
    }
}

Hello @vivekratnavel, in the assignee's list I'm only getting the type and id of the user.

I can see here assignees should be EntityReference.


Thread_Pool_Test: Finish it!

Reminder to finish the Thread Pool test. Now that Misc_Utils works perfectly, there is no excuse not to have proper debugging. Also inject logging into the whole of the Thread Pool.

Finished all tests, works perfectly fine.


Refreshes documentation

Hello! This PR updates the documentation in this repo to reflect more contemporary practices. The PR does the following:

Updates the readme docs.

Recommends Yarn.
Moves to React Native Typescript Transformer instead of using an output directory.
Replaces the Enzyme rendering test (which had compatibility issues with React Native) with a snapshot test.
Updates the example Hello component to be a bit more modern.
Fixes formatting/markdown inconsistencies.
Adds a list of helpful resources at the end.

Deletes all existing code and re-generates it based on the new readme (and in the ExampleProject directory).

Thanks to @orta for his help working through this.
Fixes #34.

 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.:x: ashfurrow sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

You got it, I'll get those changes in today. Thanks!

These changes will need to be migrated over to the RN blog post too 👍

Good idea @orta, I've done that here: https://github.com/facebook/react-native-website/pull/282/commits/fad2e8556d6322da9873138cbd92cb74e08c907e

Poke

Are we just waiting for @DanielRosenwasser to approve changes?

🎉🙇🤗


How to reproduce the similar results in your paper

Thank you for your excellent work, which has greatly helped my own work. However, I have a few questions regarding the implementation of the DHC project. In October 2023, I downloaded your complete code to reproduce the results. I used my own computer and connected remotely via VS Code to my university's server. The server provides NVIDIA P100 16GB GPUs. Upon downloading the DHC project code, I encountered some issues, such as needing to uncomment certain lines in the main function of preprocess_amos.py for AMOS data preprocessing, and needing to modify the '0's to tensors in a few lines of code within the 'cls_learn' function of the 'dhc.py' script. After resolving these errors, I made no further modifications to your code, and I also used the dataset split uploaded to GitHub in October to avoid generating random splits by myself. However, during the reproduction process, I found that the results are very unstable and did not match those presented in your paper. Even when using the latest updates from your GitHub project and dataset split, the results reproduced are worse than before.

How did you obtain the results presented in your paper? Did you select the optimal result or take the average of multiple experiments? If so, what should I do to achieve the results presented in your paper, or what should I do to meet the standards for obtaining results as described in your paper? Cause I d like to present the results by adhering to your standards in your paper and cite your work in the future.

Regardless of how I attempt to reproduce the results of the DHC project, such as with the Synapse dataset, the weight curves for 'distdw' and 'diffdw' that I obtain are completely different from those presented in your paper. How did you adjust them for your paper, and what modifications should I make?

I have another small question. In the 'Dataset and Implementation Details' section under the '3. Experiment' chapter of your paper, are the organs listed in order along with their corresponding labels (i.e., 0, 1, 2, 3, ...)? And are they consistent with the labels provided on the dataset's official website? In the 'dhc.py' script, there is a 'np.histogram' function in 'distdw' that counts the number of different categories of labels, starting from 0. During the reproduction process, I assumed that these are all arranged in the same order as the organs provided in your paper.

Thank you very much for your assistance.
Taking the Synapse dataset as an example, below are my reproduction results:

I want to know the size of synapse you use.，the npy that auther upload is 512×512×d and the nii.gz that author upload is 72×144×144 ，but in processed.py both of them seems wrong.Besides，the data samples have some replication between traing , eval and test.

could you give me the old version code and the splits of Amos and Synapse? Thank you！

@yinguanchun Hi, the original size of one preprocessed Synapse is 80x160x160, the size of one

Thank you for your excellent work, which has greatly helped my own work. However, I have a few questions regarding the implementation of the DHC project. In October 2023, I downloaded your complete code to reproduce the results. I used my own computer and connected remotely via VS Code to my university's server. The server provides NVIDIA P100 16GB GPUs. Upon downloading the DHC project code, I encountered some issues, such as needing to uncomment certain lines in the main function of preprocess_amos.py for AMOS data preprocessing, and needing to modify the '0's to tensors in a few lines of code within the 'cls_learn' function of the 'dhc.py' script. After resolving these errors, I made no further modifications to your code, and I also used the dataset split uploaded to GitHub in October to avoid generating random splits by myself. However, during the reproduction process, I found that the results are very unstable and did not match those presented in your paper. Even when using the latest updates from your GitHub project and dataset split, the results reproduced are worse than before.

How did you obtain the results presented in your paper? Did you select the optimal result or take the average of multiple experiments? If so, what should I do to achieve the results presented in your paper, or what should I do to meet the standards for obtaining results as described in your paper? Cause I d like to present the results by adhering to your standards in your paper and cite your work in the future.
Regardless of how I attempt to reproduce the results of the DHC project, such as with the Synapse dataset, the weight curves for 'distdw' and 'diffdw' that I obtain are completely different from those presented in your paper. How did you adjust them for your paper, and what modifications should I make?
I have another small question. In the 'Dataset and Implementation Details' section under the '3. Experiment' chapter of your paper, are the organs listed in order along with their corresponding labels (i.e., 0, 1, 2, 3, ...)? And are they consistent with the labels provided on the dataset's official website? In the 'dhc.py' script, there is a 'np.histogram' function in 'distdw' that counts the number of different categories of labels, starting from 0. During the reproduction process, I assumed that these are all arranged in the same order as the organs provided in your paper.

Thank you very much for your assistance.
Taking the Synapse dataset as an example, below are my reproduction results:

Hi, thanks for your attention.

As can be seen in the training logs, we set three different seeds and take the average and std of the three experiments for the reported results. As for the bad reproduced results, may I ask what your environment info is, i.e., cuda version, torch and etc., I think one possible reason may be due to the environment. Furthermore, in which epoch did you get these results? Since we use early stopping, the training process may stop too early due to the randomness.

For the curves, I just downloaded the weights from tensorboard and plotted, the difference may also be due to the inferior results.

Yes, the organs listed in order along with their corresponding labels (i.e., 0, 1, 2, 3, ...), 0 denote the background.

I want to know the size of synapse you use.，the npy that auther upload is 512×512×d and the nii.gz that author upload is 72×144×144 ，but in processed.py both of them seems wrong.Besides，the data samples have some replication between traing , eval and test.

Hi, thanks for pointing this out and sorry for our negligence. The size should be 80×160×160 We have re-uploaded the processed dataset and the splits.

Hi,
many thanks for your messages and answers.

I created one conda virtual environment "semi", in "semi", some information about the packages lists below:
conda 4.6.14
Python 3.7.13
pytorch 1.8.0+cu111
torchvision 0.9.0+cu111
sever: Linux 3.10.0-1160.108.1.el7.x86_64  SMP Thu Jan 25 16:17:31 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

for obtaining the results, I also used your original codes with early stop, i.e., normally the results are obtained in less than epoch 80 and when the number of epoch is around 150, the early stop happens. So is it because of the different environment information and using early stopping? But I may need to keep early stopping consistent with your experiments.

As I refer to your training logs for Synapse 20p, there are three seeds (0,1,666) for three folders evaluations. Are the seed settings of other percentages of Synapse and Amos same? if it is possible, could you provide all the training logs for Synapse and Amos with different percentages?
By the way the splits are different. Taking the test split as an example, the following is the test Synapse dataset split you provided more than half a year ago:

but now the test Synapse split you provided is this:

same differences with other splits.
Does it mean there is no significant differences for the experiments with old splits and current splits? If it does, So which splits should I use?
Thank you^^

Based on your info provided, I think it is due to the early-stopping strategy. As can be seen in the training log, the best model is in epoch 160 for fold1, and it stopped in epoch 260. So, you may use larger patience or just remove the early-stopping strategy, I think both are fine. Other ways to improve the performance: https://github.com/xmed-lab/DHC/issues/6.
The seeds remain the same, but I apologize for the loss of the other logs and code. As I attempt to recover them, I made several bugs, sorry for the inconvenience.
The final results are test with the newer split, as also can be seen in the predictions provided: https://drive.google.com/drive/u/1/folders/1J9SQ2zpjlVMZlUf3AHjhJ8aGTTbRFo-Y.
Hope this helps.

Thank you very much for your response. One more question, I also tried your updated codes and the synapse data you uploaded yesterday. But there is a bug for the codes.

@McGregorWwww Dear author, I am relatively new to semi-supervised learning and I apologize for any inconvenience caused by my questions . Regarding your latest code and the latest uploaded data splits, I encountered the last above-mentioned issue in init.py in the screenshot while replicating the experiment. Could you kindly assist me with resolving this final question? Your help is greatly appreciated. Apologies again for any inconvenience caused.

@Chenzhgit Hi, I apologize for the inconvenience, but I've been very busy these days, I'm sorry that I currently do not have the time to debug. It appears that the bug is caused by the variable 'cnt' being 0. I'll fix this as soon as I finish my current tasks.
Btw, maybe you can try this repo, as I am confident that it is bug-free. Sorry once again for any inconvenience caused.

@McGregorWwww  Thanks a lot ❤


un-ifdef NEED_LONG_INT

At least on OpenBSD the long/unsigned long version of the Variant constructor and accessors are needed.
Fixes #74669

Sorry, pushed wrong branch.  I had this locally and thought it worked, so I pushed it without double checking.  fails to build on openbsd too.
Sorry for the noise.


Open index.html with documentation

For example add option --open that will open index.html with documentation when it will be generated.

Use bash.


Undefined word

-=== Red Compiler 0.6.5 ===-

Compiling /home/mzmz/direct-code-master/direct-code.red ...
Compiling libRedRT...
...compilation time : 2166 ms

Compiling to native code...
...compilation time : 66130 ms
...global words     : 22491 (68.37%)
...linking time     : 654 ms
...output file size : 1354440 bytes
...output file      : /home/mzmz/direct-code-master/libRedRT.so

*** Compilation Error: undefined word frt-part
*** in file: /home/mzmz/direct-code-master/direct-code.red
*** near: [frt-part op-part sec-part]

direct-code-utilities.red:
get-assert-parts: func [ blk [ block! ] ] [
        ops: [ '= | '== | '<> | '> | '< | '>= | '<= | '=? ]
        parse blk [
                copy frt-part to ops
                rem-part: (op-part: rem-part/1)
                skip sec-part:
        ]
        return reduce [ frt-part op-part sec-part ]

get-assert-parts: func [ blk [ block! ] ] [
        frt-part: []
	op-part: []
	sec-part: []
        ops: [ '= | '== | '<> | '> | '< | '>= | '<= | '=? ]
        parse blk [
                copy frt-part to ops
                rem-part: (op-part: rem-part/1)
                skip sec-part:
        ]
        return reduce [ frt-part op-part sec-part ]

*** Compilation Error: undefined word close-it
*** in file: /home/mzmz/dc/direct-code.red
*** near: [
close-it
exit
]

Ok Im out of my league. I cant follow the logic of the program.


Release to SVN failing

I got two emails this morning that the release to svn is failing. The link is not very informative.
release-go-to-svn - Build # 581 - Still Failing: Check console output at http://build.berkeleybop.org/job/release-go-to-svn/581/ to view the results.

Seems to have something to do with this obsoletion:
Caused by: Error: Attempted to specify obsolete value obsolete storage protein import into fat body for consider tag.
on line: 90422
Was this term used in a consider tag and then obsoleted?

I see -GO:0015032 was a 'consider ' of another obsolete term (GO:0007590).
I'll try to remove that.
Pascale

I tried to fix the error, but I'll let @ukemi close the ticket if the problem is resolved.
Pascale

Seems to be fixed.


Extension causes high cpu load

Issue Type: Performance
Extension Name: azure-pipelines
Extension Version: 1.145.1
OS Version: Darwin x64 18.2.0
VSCode version: 1.30.1

:warning: Make sure to attach this file from your home-directory: /Users/daaronch/ms-azure-devops.azure-pipelines-unresponsive.cpuprofile.txt :warning:
Find more details here: https://github.com/Microsoft/vscode/wiki/Explain:-extension-causes-high-cpu-load

@aronchick can you share the cpuprofile.txt file?

ms-azure-devops.azure-pipelines-unresponsive.cpuprofile.txt


Update to use the simplified JSON building process on resin-fsl-arm

This implements resin-os/resin-yocto-scripts#31
Signed-off-by: Eugene Mirotin<EMAIL_ADDRESS>@agherzan @floion

SGTM

LGTM


feature: Supermaven provider

Feature request
A provider for Supermaven, similar to the Copilot one.
Motivation
No response
Other
No response

probably not for now, since they have some privacy issue https://github.com/supermaven-inc/supermaven-nvim/issues/85
and probably their protocol is pretty hidden, we don't have the bandwidth to maintain more providers atm.
If you want to you can own this item


Generate vmware vsphere provider

What problem are you facing?

In order to push terraform-provider-gen to generalize for other providers, and to test the value of it for long-tail providers, generate a provider for a provider that isn't aws/gcp/azure.
How could Crossplane help solve your problem?

We should consider how widely used terraform providers are in this decision. In looking at the ranking of terraform providers in the registry by downloads, the top provider that covers a cloud-like use case is vmware vsphere at about 2 million downloads.
A vsphere simulator called vcsim is available to aid in testing. As we do not have expertise in vsphere or an active environment, this project will initially be used for development and testing.

@jbw976 I believe we can close this?

This provider has been released/published and blogged about here: https://blog.crossplane.io/adding-vmware-support-to-crossplane-using-terraform/
Great work @kasey! 💪


refactor interrupts for #475

This PR refactors the hardware-interrupts branch so it will match the re-write of the earlier posts from #475.

Thank you!


build MUMPS for all datatypes on Windows

Previously only real double precision was built.

Checklist

[x] Used a fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Re-rendered with the latest conda-smithy

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

I don't want to bump the build number in case #27 is merged before this.
Is there really no way to have the version bumped automatically when this is merged into master?

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin please re-render

Hi! This is the friendly automated conda-forge-webservice.
I tried to re-render for you, but it looks like there was nothing to do.

specifically, we needed this pull request to be merged, and everything to propagate through

@conda-forge-admin please re-render

Hi! This is the friendly automated conda-forge-webservice.
I tried to re-render for you, but it looks like there was nothing to do.

@conda-forge-admin please re-render

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Great work, thanks a lot!


redisClient.quit() silently breaks the application

I am using then-redis.
The issue is on quiting a connection after all the tasks are done. The code breaks silently without any notification or logs.
It stops the application to run.
Please help

To quit after all tasks are done what you want is client.unref() -- It will discount the client's connection from the refcounter and thus when it is the only continuation left, allow your application to exit.

Using the unref() METHOD gives error - undefined is not a function.
I believe it is a version issue
I am using then-redis package.
version : 1.3.0

You may want to ask here: https://github.com/mjackson/then-redis

You need to upgrade your version of Redis to access the commands used by Redis to close connections.

Closing as it does not seem to be an issue with node-redis.

HI
I have changed my package from then-redis to node_redis.
As per the documentation it says end() and quit() methods are available but I am not able to find them in any file of the package
Please can you help

The .end function is in the index.js file and.quit is a redis command. Those are added to the redisClient by default.


Update Composer dependencies (2020-06-10-00-03)

Visual regression test passed!
View the visual regression test report


add outputs with gpu package

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[n/a] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[n/a] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.
I do have some suggestions for making it better though...
For recipe/meta.yaml:

It looks like the 'etspy-gpu' output doesn't have any tests.

Adding a new package cannot happen automatically; waiting on https://github.com/conda-forge/admin-requests/pull/1136

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.


Metadata to help cache individual authorizations

I'd like to submit my long-standing patch to WAC for your consideration:
https://github.com/solid/web-access-control-spec/pull/37
Since I think cachability is one of the key success criteria for caching, I believe granular metadata to allow this to happen is really important. That is what this patch seeks to enable.

 This would be really useful metadata for cache implementations because it would provide a strong hint for TTL values.

While I totally see how this would be really useful for caching functionality, the bit I’m having trouble picturing is the UI/UX aspect. What does that look like, to the user?
“You’re sharing this document with Alice. Please don’t change your mind for the next 1day/1hr/5mins because we want to be able to cache it.”?

Would the cache-ability not be better addressed via ETags / If-Not-Modified, instead?

I can describe my own use case a little more extensively, which may address @dmitrizagidulin's questions.
I would like a multi-tier, low-latency ACL cache that effectively pre-computes access controls across an entire server. The question then becomes one of cache invalidation, which can be driven through some sort of back-end notification system. At present, that's exactly how invalidation happens: when an ACL resource changes, the associated cached permissions are re-computed for affected nodes. The cache itself is lazy-populated, and currently the only way to do cache invalidation is via ACL document changes. This proposal would allow me to identify a specific TTL value for cached nodes, independent of resource changes.
I would see this additional metadata as strictly optional.

“You’re sharing this document with Alice. Please don’t change your mind for the next 1day/1hr/5mins because we want to be able to cache it.”?

No, this is about allowing for many different situations. Basically, there are three ways to manage a cache in current HTTP:

Get a commitment from the user for cachability into the future. This is RFC7234, and reflected with the dct:valid predicate.
Have a notification protocol that notifies you of any changes to explicitly invalidate a cache.
Use things like modification time and etags to only ask the server if the resource has changed, and use a cached copy if it hasn't. That's RFC7232, and the headers you mention.

There's no "instead" as I see it, they have all their use cases and utility, but I would argue this is roughly in decreasing utility, as in the first case, you don't even need to contact the server to reuse a cache, this ensures the lowest possible latency.
There are many cases where I could very well commit to a very long term ACL, e.g. an ACL that applies to my wife and kids. I'm committed to that not changing for as long as I live :-) But it could also be that I can only commit to a TTL of one minute, but still, if I had a million requests in that minute, the gain would be huge.
Also, I don't think we should think about this only in HTTP terms, for reasons I explain in the original post. We need more granularity, and the WAC elegantly provides us with a natural way to do that.
In @acoburn 's case, the implementation could rely on the notification protocol directly, but also on the first and third case indirectly.


CSSglowingbutton/zareenf01

I created a glowing button on hover with CSS

Can you please add a readme file showing an example? Thanks!

Adding a preview
https://user-images.githubusercontent.com/109251356/194756267-1d464c2f-86bf-48af-9652-c0f26085954f.mp4

Could you add this to a readme file in the folder? Thanks!

No @zareenf01 the structure has to be
[Snippet Folder] --> [[Code] + [ReadMe]]

Please check now

Commented!

Perfect! Thank you @zareenf01... Don't forget the star the repo!


On Linux, display of overlap selectors are too wide vertically

This is seen in Windows as well, see #139

closed by #140


Error: Unknown Signer for account

gm! I'm trying to deploy EAS to Arbitrum Goerli but keep receiving this error Error: Unknown Signer for account:
In the .env, I used the value of a wallet address as the DEPLOYER variable
I've updated the relevant files to reflect deploying to the testnet, but still facing this error. Would like to know what step I've missed in deploying it. Thanks :)

Hey @0xYudhishthra,
This is probably due to some missing .env parameters, but no worries - we have just deployed the latest version on Arbitrum Goerli

Would it also be possible to deploy this to the Avalanche C-Chain Testnet? Thanks!

We are already stretched pretty thin, so we currently don't have any plans to officially support Avalanche C-Chain Testnet or Mainnet 😢. Of course, everyone can deploy EAS to Avalanche, it's just that we won't be able to support and update eascan, the SDK, the documentation, etc.

No worries on that ser! Asked cause for the dApp I'm building, I'd like to deploy it on the C Chain testnet too and since I can't do it because of missing .env variables, was hoping if you could help me out

I hope to find some time to help you with this 🙏

hey @0xYudhishthra 👋🏼 did you ever get around the Unknown Signer for account error? I assume it's because the tx can't get automatically signed the EOA address(metamask in my case) I'm using as the DEPLOYER 🤔


fix/defaultTargets_updating

Description

On Android, AndroidTV, fireTV, AndroidWear, Tizen, Tizenwatch platforms defaultTarget object of .rnv/renative.json isn't updated with default platforms

Related issues

https://github.com/flexn-io/renative/issues/1778

Npm releases
n/a

On android platforms (android, androidTV, androidwear, firetv) rnv asks ->
? What target would you like to use? Television_1080p_API_31 | TV 📺  | arch: arm64-v8a | udid: unknown
? Your default target for platform firetv is not defined. Do you want to set it to Television_1080p_API_31  Yes

On ios and tvos ->
? No global or project default simulator or device defined. Please select a supported simulator to use iPhone 16 | Phone 📱 | v: 1
8.1 (22B81) | udid: CCD32DDF-CC9D-44C8-8E4A-0CA1CD4623A7
warn: ○ run: Your default target for platform ios is set to undefined.
? What to do next? (Use arrow keys)
❯ Update project default target for platform ios
  Update global default target for platform ios
  Don't update

Is it expected that android target is set on global but ios you could choose?

tizen, tizenwatch isn't installed when user chooses any answer. And also same as on android, no way to choose where to set default target
![Uploading Screenshot 2024-11-12 at 11.59.40.png…](

on mac both tizen and tizenwatch work as expected

windows

Tizen -> fails the first time after yarn bootstrap ( doesn't matter what I choose (update global / update project / don't update)) -> tizen simulator opens, but app doesn't installed, and simulator closes when this error occurs on CLI

? which emulator or device would you like to launch? T-8.0-x86_64
warn: ○ run: Your default target for platform tizen is not defined.
? What to do next? Update project default target for platform tizen
√ Executing: "C:\tizen-studio\tools\sdb.exe" devices
√ Executing: C:\tizen-studio\tools\emulator\bin\em-cli.bat launch --name T-8.0-x86_64
√ Waiting for emulator to boot...
√ Executing: "C:\tizen-studio\tools\ide\bin\tizen.bat" build-web -- "C:\Users\dev\Desktop\qa\renative\packages\template-starter\platformBuilds\template_tizen" -out "C:\Users\dev\Desktop\qa\renative\packages\template-starter\platformBuilds\template_tizen\intermediate"
√ Executing: "C:\tizen-studio\tools\ide\bin\tizen.bat" package -- "C:\Users\dev\Desktop\qa\renative\packages\template-starter\platformBuilds\template_tizen\intermediate" -s RNVanillaCert -t wgt -o "C:\Users\dev\Desktop\qa\renative\packages\template-starter\platformBuilds\template_tizen\output"
√ Executing: "C:\tizen-studio\tools\ide\bin\tizen.bat" uninstall -p NkVRhWHJSX.RNVanillaTV -t T-8.0-x86_64
√ Executing: "C:\tizen-studio\tools\ide\bin\tizen.bat" install -- "C:\Users\dev\Desktop\qa\renative\packages\template-starter\platformBuilds\template_tizen\output" -n RNVanillaTV.wgt -t T-8.0-x86_64
× FAILED: "C:\tizen-studio\tools\ide\bin\tizen.bat" run -p NkVRhWHJSX -t T-8.0-x86_64
This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
No emulator -t target name specified!
No emulator -t target name specified!
PS C:\Users\dev\Desktop\qa\renative\packages\template-starter>

NOTE - project/global default target updates correctly

Not implemented on kaios

tizen, tizenwatch, webos works without issues. Kaios never asks to choose default target (I currently have only one kaios sim, so maybe there is connection?). Also kaios sim is searched on weird path, see picture, there is "false" directory added


Breaking Change between 2.3 and 3.0 on SelectField(validate_choice=False)

Actual Behavior
>>> import wtforms
>>> class F(wtforms.Form):
...     foo = wtforms.SelectField(validate_choice=False)
>>> f = F()
>>> f.validate()
Traceback (most recent call last):
  File "scratch_27.py", line 7, in <module>
    f.validate()
  File "venv/lib/python3.8/site-packages/wtforms/form.py", line 329, in validate
    return super().validate(extra)
  File "venv/lib/python3.8/site-packages/wtforms/form.py", line 146, in validate
    if not field.validate(self, extra):
  File "venv/lib/python3.8/site-packages/wtforms/fields/core.py", line 231, in validate
    self.pre_validate(form)
  File "venv/lib/python3.8/site-packages/wtforms/fields/choices.py", line 136, in pre_validate
    raise TypeError(self.gettext("Choices cannot be None."))
TypeError: Choices cannot be None.

A quick fix consists in adding choices=[] to the SelectedField:
>>> class F(wtforms.Form):
...     foo = wtforms.SelectField(choices=[], validate_choice=False)

Expected Behavior
As mentioned in the title, I wasn't expecting a breaking change on that point, as it wasn't in the changelog. I wasn't even expecting a change at all:
>>> import wtforms
>>> class F(wtforms.Form):
...     foo = wtforms.SelectField(validate_choice=False)
>>> f = F()
>>> f.validate()  # no erros

Environment

Python version: 3.8
wtforms version: 3.0.1

I am unsure if you'd rather add this to the documentation somewhere, or fix the compatibility break (which seems quite easy).
I've found a similar issue: https://github.com/wtforms/wtforms/issues/606; except that I'm expecting to be able to not provide any choices at all here.

For us, adding choices=[] alongside validate_choice=False did the trick.


undefined is not an object (evaluating RCTNetInfo.getCurrentReachability)

https://github.com/facebook/react-native/issues/4047
getting a red screen with an error when loading the app

Thanks for catching that. I obviously hadn't tested on Android since adding the NetInfo check. I've got it so it no longer uses that on Android, which just means it won't quickly go into offline mode when there's no connectivity like it does on iOS. It'll show a loading state and wait until Firebase says it's offline, which seems to take a few seconds.

Fixed with https://github.com/bruz/react-native-redux-groceries/commit/5c5456254f159489bcca0e26b2e90eafbafab80f


Question: Integrate into Terragrunt workflow

Hello and thank you for your amazing work on this project! I'm trying to figure out how to get this worked into our existing terragrunt workflow.
I might be missing something obvious...but I've had one heck of a time trying to get this to work with terragrunt.
I figured I might as well ask here, in case the maintainers have already figured that out/have a working example of that.
Thank you!
_Armen

I haven't had any issues so far:
terragrunt plan -out tfplan
terragrunt show -json tfplan | tf-summarize

Hi @Mike-Nahmias, Thanks for confirming. Hope all the features like -tree, -md are working fine with terragrunt.

I don't have the terragrunt setup with me, so I am not able to test it.

@armenr Could you please try above commands in your terragrunt setup and let me know if we need to some code change to support terragrunt.

Thanks @jnavarrof for confirming. I will close this issue @armenr. Please let me us know if you still face issue with terragrunt + tf-summarize


Plans to support latest U250 XDMA shell ?

Currently, Vitis-AI only seems to work with 2018 shell.

@boxerab you are correct. The released accelerators were built against the 2018 shell. The install instructions should guide you to use that one. I have the latest shell on my development machine in the lab right now :-) . At the next release, we will move to 2020.2 shell and corresponding accelerator "xclbins", with XRT 2021.1 support.

@wilderfield glad to hear! As I have other applications that I would like to use the latest shell with.
Looking forward to the next release.


rr: Saving execution to trace directory

Describe the bug

When i run rr serve command it gives me this error message "execve failed: 'serve' (or interpreter) not found (ENOENT)"

my rr.yaml file content given below:
http:
  address: <IP_ADDRESS>:8001
  ssl:
    # host and port separated by semicolon (default :443)
    address: :8000
    redirect: false
    cert: /home/tejal-gandhi/Desktop/ssl/apache.crt
    key: /home/tejal-gandhi/Desktop/ssl/apache.key

    h2c: false
    max_concurrent_streams: 128
  pool:
    num_workers: 0
    max_jobs: 500
    supervisor:
      exec_ttl: 30s
  static:
    dir: public
  middleware: ["static"]
  workers:
    pool:
      numWorkers: 1
      maxJobs:    1

server:
  command: "php ./vendor/bin/roadrunner-worker"

  env:
    - APP_ENV: production
    - APP_BASE_PATH: "/home/tejal-gandhi/Desktop/octane"
    - LARAVEL_OCTANE: "1"

rpc:
  listen: tcp://<IP_ADDRESS>:6001

logs:
  mode: production
  level: debug
  output: stdout
  encoding: json

Please, attach the complete execution log. I mean what and how do you run

its my mistake. i am running like rr serve instead of ./rr serve

Can I close this issue?

yes


remove JavaScript engine testing

It's not really the appropriate place to handle it. Now that we have
wasm-wast and wasm-interp, we can at least verify that the tools are
internally consistent.
Resolves #79.

This looks good to me, pretty much the same changes I made when testing on my side.
:+1:


CLOUD-50 use right version of mongodb-orchestration-tools in tests

Codecov Report

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

@@           Coverage Diff           @@
##           master      #86   +/-   ##
=======================================
  Coverage   39.47%   39.47%
=======================================
  Files          18       18
  Lines         955      955
=======================================
  Hits          377      377
  Misses        547      547
  Partials       31       31

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 2c60943...517ca71. Read the comment docs.

Codecov Report

Merging #86 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master      #86   +/-   ##
=======================================
  Coverage   39.47%   39.47%
=======================================
  Files          18       18
  Lines         955      955
=======================================
  Hits          377      377
  Misses        547      547
  Partials       31       31

Impacted Files
Coverage Δ

pkg/stub/handler.go
56% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Docker big-AGI and OLLAMA integration issue

Description
I had the netwrok error previsouly on https://github.com/enricoros/big-AGI/issues/276 and I tried their solutions and am now running big-AGI in a docker container and ollama locally, how do I connect them though as I am now getting a new error: [Issue] Ollama: (network) fetch failed - Error: connect ECONNREFUSED <IP_ADDRESS>:11434
Device and browser
On windows 11 on firefox latest version
Screenshots and more

Willingness to Contribute

[ ] 🙋♂ Yes, I would like to contribute a fix.

If big-agi is running in a container (an isolated network) and Olama locally, then big-AGI cannot contact Olama.
This is shown partially in this section: https://github.com/enricoros/big-AGI/blob/main/docs/config-local-ollama.md#-network-troubleshooting
The core of the issue is a docker network configuration issue and not a bug in big-AGI.
If you look at the docs/config-browse file, there's an example Docker file to run two containers that can both see each other. Maybe that's a solution that can work for you?

Use this as the address for ollama  host.docker.internal plus the ollama port and it should work.

yep indeed it has solved the issue, thank you.


Document save_to_disk and push_to_hub on images and audio files

Following https://github.com/huggingface/datasets/pull/4187, I explained in the documentation of save_to_disk and push_to_hub how they handle image and audio data.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

Good catch, I updated the docstrings


Replaced flip_axes with the correct bool element at index.

Checklist
GitHub

[x] I've given this PR a concise, self-descriptive, and meaningful title
[x] I've linked relevant issues in the PR body
[ ] I've applied the relevant labels to this PR
[x] I've assigned a reviewer

PR contents

[x] I've consulted ivadomed's internal developer documentation to ensure my contribution is in line with any relevant design decisions
[ ] I've added relevant tests for my contribution
[ ] I've updated the relevant documentation for my changes, including argparse descriptions, docstrings, and ReadTheDocs tutorial pages

Description

This PR corrects the if statement in RandomReverset() at ivadomed/transforms.py s.t. the list of bools flip_axes is replaced with the intended flip_bool, i.e. the bool at the current index of the list of bools.
Linked issues

Resolves #1012.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 69.425%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
4010

Relevant Lines:
5776

💛  - Coveralls


Discounting incorrectly starts at 2015 rather than pulse year

See PR in PAGE-ICE to fix this issue.
Proposed fix; use utilitydiscountfactor to cancel out discounting for the years before the pulse of CO2 emissions, to start discounting at the time that marginal impacts start occurring due to marginal emissions.
This should be implemented in all files that are affected in mimi-page-2020.

Resolved by commit 400b86d5bb06b65903d0c9fe217738f57526fb6d.


[$500] Web - Chat - Text in composer is enlarged after removing emoji from text and sending it

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: <IP_ADDRESS>
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause Internal Team
Slack conversation:
Action Performed:

Go to staging.new.expensify.com/
Go to any chat.
Enter en emoji, followed by some text.
Delete the emoji.
Send the text.
Type in the composer.

Expected Result:
The text in the composer will not appear enlarged.
Actual Result:
The text in the composer is enlarged.
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
https://github.com/Expensify/App/assets/38435837/c85a7a7a-93e9-41c5-8e93-950e03183037
Add any screenshot/video evidence

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~013bf0f2cfd910f86b
Upwork Job ID:<PHONE_NUMBER>929288704
Last Price Increase: 2024-04-03

We think this bug might be related to #vip-vsb

@sonialiap  FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors.

Not a blocker, though this is funny - added to the main tracking issue

Adding external label

I analyzed the text size problem in the project in detail.
As you can see from the video uploaded below, you can see that the font-size of the Text Input that the id of element is root, remains the font-size of the emoticon.
It is estimated that the tube problem between the emoticon module and the text input is estimated.
I think we need to find the cause in the emoticon module, or if we find an element that the id of element is root in the HTML page, you will always solve the problem if you attach a little code to the code so that font-size keeps 15px.
https://drive.google.com/file/d/17LCUxb9URVbofFTXZ621pVdSI75uIVl1/view?usp=sharing
Phone:<PHONE_NUMBER>5(whatsapp)
Mail<EMAIL_ADDRESS>

@happylifesdev Please make sure you read through our contributing guide and make sure to use the proposal template.

I just edited the proposal.

I analyzed the text size problem in the project in detail.
As you can see from the video uploaded below, you can see that the font-size of the Text Input that the id of element is root, remains the font-size of the emoticon.
It is estimated that the tube problem between the emoticon module and the text input is estimated.
I think we need to find the cause in the emoticon module, or if we find an element that the id of element is root in the HTML page, you will always solve the problem if you attach a little code to the code so that font-size keeps 15px.
https://drive.google.com/file/d/17LCUxb9URVbofFTXZ621pVdSI75uIVl1/view?usp=sharing
Phone:<PHONE_NUMBER>5(whatsapp)
Mail<EMAIL_ADDRESS>Contributor details
Your Expensify account email<EMAIL_ADDRESS>Upwork Profile Link: https://www.upwork.com/freelancers/hemanthbellala

@happylifesdev Please follow the proposal template by copy and pasting it into the comment box and filling out all fields. Thanks! :pray:

Proposal
Please re-state the problem that we are trying to solve in this issue.
Text in composer is enlarged after removing emoji from the text and sending it
What is the root cause of that problem?
To understand the problem, let's look at two scenarios where this issue doesn't happen:
First Scenario:

Add an emoji and some text.
Remove the emoji.
Press the left or right arrow key.
Send the text.
Type again in the composer.

Here, the text size remains normal at 15px.
Second Scenario: If we use the following code to clear the text, the next text size stays normal. However, refreshing the page brings back a space in the composer.
this line is in ComposerWithSuggestions file line 482
updateComment(' ');

The issue seems to be with the updateComment function and how the MarkdownTextInput component handles empty inputs. It incorrectly sizes new text at 20px within a span tag unless the ComposerWithSuggestions.tsx component is re-rendered by an action like pressing an arrow key or receiving a non-empty input.
The core issue lies with the @expensify/react-native-live-markdown package in the composer component.
What changes do you think we should make in order to solve the problem?
I have two suggestions:
Main Idea: Improve the @expensify/react-native-live-markdown so it resets correctly with empty inputs or fully removes the span tag after an emoji is deleted. This approach targets the core of the problem.
Alternative: As a quick fix, we could reset the Composer component inside ComposerWithSuggestions right after sending a message. However, this is more of a temporary workaround.
I recommend the first solution for a lasting fix. Looking forward to your thoughts and approval to proceed.
What alternative solutions did you explore? (Optional)

Contributor details
Your Expensify account email<EMAIL_ADDRESS>Upwork Profile Link: https://www.upwork.com/freelancers/~016b2ad2638bba37f2

@jjcoffee what do you think of the proposal?

@withmussy Thanks for your proposal! Please can you update your proposal to provide more details in your solution? We need specifics on what changes you propose to make.

@jjcoffee, thank you for considering my proposal. I sent you two solutions. Which one do you prefer?

Agreed, @sonialiap can we add a HOLD for https://github.com/Expensify/App/pull/39597? Thanks :pray:

https://github.com/Expensify/App/pull/39597 is merged but not deployed, still on hold for it ⏳

Issue not reproducible during KI retests. (First week)

We're live!


Listen for CORE_ACTIVE_CONTAINER_CHANGED on Core

Event CORE_ACTIVE_CONTAINER_CHANGED is triggered on the Core object. That's why it's needed to listen for this event of the Core object also :-)

I tried to create something like a playlist. So I listen for PLAYER_ENDED, make an AJAX request and do TVApp.player.load with a new stream url.
Then I found than PLAYER_ENDED fired only the first time and never after load() call. I dug through the source code and found that event CORE_ACTIVE_CONTAINER_CHANGED is firing perfectly, but it didn't run _containerChanged → _addEventListeners → _addContainerEventListeners.

Coverage remained the same at 78.703% when pulling 8bd9780e93d4bcc83326c9385f3313f2e955f313 on chooh:dev into 71cac931652bdd0dc504073248edcfe83b51d06b on clappr:dev.


Conforming to CollectionType

I find myself extending QuerySet to conform to CollectionType so that I can write my models in a more protocol-oriented way. I wonder if there's any concern not to do this. If there's none I'll send my PR.

@LeeroyDing Wouldn't that make it impossible to handle errors?
You could easily turn a query into an array which is CollectionType, for example:
do {
  try queryset.array()
} catch {
  print("there was an error \(error)")
}

Closing due to lack of response.


[QUERY] Add VM extension after pool created

Library name and version
Azure.ResourceManager.Batch 1.1.1
Query/Question
Using the BatchAccountPoolResource.UpdateAsync method for a pool that has already  been created.
I need to add an extension to the DeploymentConfiguration.VmConfiguration.Extensions list, however seems UpdateAsync does not support this as the List of Extensions is Get only. How can this be achieved? Documentation on this subject seems non-existent.
Environment
.NET framework 4.8

Thank you for your feedback.  Tagging and routing to the team member best able to assist.

Close as duplicated with issue: #40325


Enable instantiation cycles

Resolves #50. This PR is broken up into two commits for easier reviewing:

Makes lazy instantiated properties utilize functions rather than inline property declarations
Enables these functions to be called recursively to enable instantiation cycles

Built on top of #46. Regardless of whether you review commit-by-commit, I strongly recommend viewing the diff side-by-side, without showing whitespace changes

Force push is just a rebase with no code changes. Merging when green.


Implement first (simplistic) version of WeierstrassModel

Codecov Report

Merging #2 (6d673a2) into master (e43af24) will decrease coverage by 43.75%.
The diff coverage is 41.66%.

@@             Coverage Diff              @@
##            master       #2       +/-   ##
============================================
- Coverage   100.00%   56.25%   -43.75%
============================================
  Files            2        3        +1
  Lines            6       16       +10
============================================
+ Hits             6        9        +3
- Misses           0        7        +7

Impacted Files
Coverage Δ

src/FTheoryTools.jl
100.00% <ø> (ø)

src/WeierstrassModels/constructors.jl
30.00% <30.00%> (ø)

src/WeierstrassModels/attributes.jl
100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Codecov Report

Merging #2 (7082489) into master (e43af24) will decrease coverage by 70.96%.
The diff coverage is 18.51%.

@@             Coverage Diff              @@
##            master       #2       +/-   ##
============================================
- Coverage   100.00%   29.03%   -70.97%
============================================
  Files            2        3        +1
  Lines            6       31       +25
============================================
+ Hits             6        9        +3
- Misses           0       22       +22

Impacted Files
Coverage Δ

src/FTheoryTools.jl
100.00% <ø> (ø)

src/WeierstrassModels/constructors.jl
14.28% <14.28%> (ø)

src/WeierstrassModels/attributes.jl
33.33% <33.33%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Storing POD types that have std::string fields.

Hello.
We have a bug using FASTER 4 CPP (v1.9.16) when storing objects that contain std::string fields.
The bug is happening only on windows not on Linux.
We have attached an example that reproduces the bug.
If we build the solution and run MyProject putting a breakpoint on FasterCacheDatasource.hpp::100 we see that the value stored for the fields std::string is not correct.
Why could it be happening?
Thanks.
FasterExample.zip

It might be related to the way you have defined the callbacks. Sorry we are unable to help resolve individual issues in C++ at the moment. If you see a solution and wish to submit a PR, that will be welcome. Our unit tests are highly detailed and cover variable length data types as well.


Assignment two

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
I created the models and I created the SQL queries.
What did you learn from the changes you have made?
I didn't know about the types of architecture and how to keep records for future reference. I think it was very important to know it.
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
Yes, many SQL queries can be solved using different approaches, depending on the problem.
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
Yes, writing the subqueries while I was getting to know new SQL commands/syntax was a little challenging.
Also, for some reason, the images of my ERDs were not showing in the md file. I had to do multiple commits to check if they would show. First I thought I was writing the wrong path to the images, but finally I figured I was writing the wrong md syntax.
How were these changes tested?
I tested the queries in DB Browser and they all worked as expected.
A reference to a related issue in your repository (if applicable)
No issues.
Checklist

✅ I can confirm that my changes are working as intended

Dear @efantinatti thank you very much for your feedback. Happy Holidays!


commonjs option off by default - why?

The default for NodeJS is CommonJS. You'd have to do some fancy things in order to not use require and module.exports.
Some rules do not support CommonJS fully, like "cycles" for example.
For most rules, if you want them to work with CommonJS, you have to explicitly pass them the commonjs option with true. Why is CommonJS not the default behavior?

Most likely because of backward compatibility. The defaults can be changed in the next major release.

Because enabling it by default would be a breaking change; it was added in a minor.


Fix addNewAccountForKeyring for CustodyKeyring

Explanation
Currently, the addNewAccountForKeyring method calls keyring.getAccounts() (where keyring is the arg passed to the func) to store a list of accounts and later diff it with a new one to determine the account added in the operation, and then return it.
Problem
This strategy to find the new account does not work with CustodyKeyring:
CustodyKeyring.getAccounts() returns a reference to it's this.accounts state property, which is stored in oldAccounts.  The reference is created here because of .slice() call, which creates a shallow copy (see: https://developer.mozilla.org/en-US/docs/Glossary/Shallow_copy)
As this is a reference, when we call CustodyKeyring.getAccounts() the second time and compare it with oldAccounts, what we are actually doing is compare an object with itself (instead of an old version of itself): this makes addedAccountAddress undefined, and the later assertIsStrictHexString throws an error.
Solution
The easy solution could be, as this PR suggests, to use this.getAccounts() instead of keyring.getAccounts(), as the array returned by KeyringController will be a copied object, and we will be able to later call this.getAccounts() and compare the two copies, that will present hopefully a difference of one address that will be assigned to addedAccountAddress

References

Changelog

@metamask/keyring-controller

FIXED: Fixed addNewAccountForKeyring for Keyrings like CustodyKeyring, which returns referenced objects when calling getAccounts()

Checklist

[x] I've updated the test suite for new or updated code as appropriate
[x] I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
[x] I've highlighted breaking changes using the "BREAKING" category above as appropriate

@mikesposito
I'm not sure if this is needed as @zone-live is simultaneously making some changes in MMI so that we return a clone of accounts instead of a reference
It seems to be standard for keyrings to clone their accounts in getAccounts so this one might be on us?

@shane-t thanks for the heads up - I just chatted with @zone-live.
This PR might still be relevant though: as we don't really know how getAccounts() is implemented in the specific keyring, we could face this problem with other keyrings in the future

Agreed that it's worth protecting against this case anyway. Once these keyring refactors are completed, we'll be relying more upon the TypeScript keyring interface to ensure compatibility, and the type won't tell us whether it's returning a copy or a reference so we shouldn't assume.
Another solution would be to perform an explicit shallow clone, but this works too.
Could we add a test case for this as well?

I just added a test case for this scenario, with a fake keyring that simulates this: https://github.com/MetaMask/core/pull/1694/files#diff-4ecf596f792fe4ec0dc76be009e12e9fc76c840421d493e13f9f693dee997f81R1-R39


Generate normalized profiles

Pull Request doc
Purpose
Generate normalized hydro, solar and wind profiles, i.e, times series of power output for a 1MW generator.
What the code is doing
It consists in removing the dependency on the nameplate capacity of the generator in the calculation. It is straightforward for solar and wind but slightly more complicated for hydro. in particular, the dependency on a Scenario object has been removed from the calculation of the hydro profile that is based on the net demand.
Testing
Missing tests were added
Where to look
In the hydrodata, solardata and winddata folders
Usage Example/Visuals
Notebooks have been run and display the normalized power curves.
Time estimate
30min

prereise.gather.hydrodata.eia.interpolate_capacity_factors.get_profile is hard-coded to rely on the ./data/usa_hydro_capacity_factors.csv. Do you think there is value in making the input to this function more flexible (e.g. able to take a list or series or path to a different file), and still default to the current behavior?

prereise.gather.hydrodata.eia.interpolate_capacity_factors.get_profile is hard-coded to rely on the ./data/usa_hydro_capacity_factors.csv. Do you think there is value in making the input to this function more flexible (e.g. able to take a list or series or path to a different file), and still default to the current behavior?

Yes it is possible. That said I think this module is only used for hydro v1 that nobody will use. It will be nice to download all these data from the blob storage as you did in PostREISE.

prereise.gather.hydrodata.eia.interpolate_capacity_factors.get_profile is hard-coded to rely on the ./data/usa_hydro_capacity_factors.csv. Do you think there is value in making the input to this function more flexible (e.g. able to take a list or series or path to a different file), and still default to the current behavior?

Yes it is possible. That said I think this module is only used for hydro v1 that nobody will use. It will be nice to download all these data from the blob storage as you did in PostREISE.

Good to know. If it is for such an old version, maybe it's not worth updating.

While we're modifying the wind profile generation code, can we add some comments to some of the internals? Things like
u_wsp = tmp.variables[NoaaApi.var_u][0, 1, :, :].flatten()
v_wsp = tmp.variables[NoaaApi.var_v][0, 1, :, :].flatten()

are super opaque without a little more information on what the four dimensions of the array are.

prereise.gather.hydrodata.eia.interpolate_capacity_factors.get_profile is hard-coded to rely on the ./data/usa_hydro_capacity_factors.csv. Do you think there is value in making the input to this function more flexible (e.g. able to take a list or series or path to a different file), and still default to the current behavior?

Yes it is possible. That said I think this module is only used for hydro v1 that nobody will use. It will be nice to download all these data from the blob storage as you did in PostREISE.

Good to know. If it is for such an old version, maybe it's not worth updating.

@danielolsen, we are going to move all the data on the blob storage in a separate PR. We will refactor the concerned modules accordingly.

While we're modifying the wind profile generation code, can we add some comments to some of the internals? Things like
u_wsp = tmp.variables[NoaaApi.var_u][0, 1, :, :].flatten()
v_wsp = tmp.variables[NoaaApi.var_v][0, 1, :, :].flatten()

are super opaque without a little more information on what the four dimensions of the array are.

Done. See nc_file_structure notebook

prereise/gather/hydrodata/eia/demo/eastern_hydro_v3_demo/eastern_hydro_v3_demo.ipynb uses the timezonefinder package. Should this be added to the requirements (or perhaps an optional-requirements.txt), or is it alright if notebook code contains imports that aren't required by PreREISE?

prereise/gather/hydrodata/eia/demo/eastern_hydro_v3_demo/eastern_hydro_v3_demo.ipynb uses the timezonefinder package. Should this be added to the requirements (or perhaps an optional-requirements.txt), or is it alright if notebook code contains imports that aren't required by PreREISE?

For the dependencies in notebook demos, we don't add them into the requirements.txt by convention. Correct me if I'm wrong @rouille .

I get the following error when trying to run prereise/gather/hydrodata/eia/demo/western_hydro_v2_demo.ipynb, in the 5th cell:
--> Loading wind
western_wind_vJan2021.csv not found in C:\Users\DanielOlsen\ScenarioData\ on local machine

---------------------------------------------------------------------------
OSError                                   Traceback (most recent call last)
<ipython-input-5-922bfefaa29e> in <module>
----> 1 net_demand_ca = get_net_demand_profile('CA', interconnect="Western")

c:\python38\lib\site-packages\prereise\gather\hydrodata\eia\net_demand.py in get_net_demand_profile(state, scenario, interconnect, profile_version)
     55         grid = Grid(interconnect)
     56         tf = TransformProfile(scenario_info, grid, {})
---> 57         wind = tf.get_profile("wind")
     58         solar = tf.get_profile("solar")
     59         demand = tf.get_profile("demand")

c:\python38\lib\site-packages\powersimdata\input\transform_profile.py in get_profile(self, name)
    130             return self._get_demand_profile()
    131         else:
--> 132             return self._get_renewable_profile(name)

c:\python38\lib\site-packages\powersimdata\input\transform_profile.py in _get_renewable_profile(self, resource)
     38             UTC timestamp as index.
     39         """
---> 40         power_output = self._input_data.get_data(self.scenario_info, resource)
     41         if not bool(self.ct):
     42             return power_output

c:\python38\lib\site-packages\powersimdata\input\input_data.py in get_data(self, scenario_info, field_name)
     74             )
     75
---> 76         self.data_access.copy_from(file_name, from_dir)
     77         return _read_data(filepath)
     78

c:\python38\lib\site-packages\powersimdata\data_access\data_access.py in copy_from(self, file_name, from_dir)
    227
    228         from_path = posixpath.join(self.root, from_dir, file_name)
--> 229         self._check_file_exists(from_path, should_exist=True)
    230
    231         with self.ssh.open_sftp() as sftp:

c:\python38\lib\site-packages\powersimdata\data_access\data_access.py in _check_file_exists(self, filepath, should_exist)
     65         if compare(len(stderr.readlines()), 0):
     66             msg = "not found" if should_exist else "already exists"
---> 67             raise OSError(f"{filepath} {msg} on server")
     68
     69     def _check_filename(self, filename):

OSError: /mnt/bes/pcm/raw/western_wind_vJan2021.csv not found on server

I get the following errors the NSRDB demo notebooks:
prereise/gather/solardata/nsrdb/demo/nsrdb_naive_demo.ipynb, cell [5]:
Exception                                 Traceback (most recent call last)
<ipython-input-5-bcde22df9df0> in <module>
      1 email = getpass.getpass(prompt='email=')
      2 key = getpass.getpass(prompt='api_key=')
----> 3 data = naive.retrieve_data(solar_plant, email, key)

c:\python38\lib\site-packages\prereise\gather\solardata\nsrdb\naive.py in retrieve_data(solar_plant, email, api_key, year)
     28     for key in tqdm(coord.keys(), total=len(coord)):
     29         lat, lon = key[1], key[0]
---> 30         data_loc = api.get_psm3_at(
     31             lat, lon, attributes="ghi", year=year, leap_day=True
     32         ).data_resource

c:\python38\lib\site-packages\prereise\gather\solardata\nsrdb\nrel_api.py in get_psm3_at(self, lat, lon, attributes, year, leap_day, dates)
    143             return resp
    144
--> 145         resp = download(url)
    146
    147         info = pd.read_csv(BytesIO(resp.content), nrows=1)

c:\python38\lib\site-packages\prereise\gather\request_util.py in wrapper(*args, **kwargs)
     77                 wrapper.retry_count = i + 1
     78                 try:
---> 79                     return limiter.invoke(lambda: func(*args, **kwargs))
     80                 except allowed_exceptions as e:
     81                     if wrapper.retry_count == max_attempts:

c:\python38\lib\site-packages\prereise\gather\request_util.py in invoke(self, action)
     28         """
     29         if self.interval is None:
---> 30             return action()
     31         elapsed = time.time() - self.last_run_at
     32         if elapsed < self.interval:

c:\python38\lib\site-packages\prereise\gather\request_util.py in <lambda>()
     77                 wrapper.retry_count = i + 1
     78                 try:
---> 79                     return limiter.invoke(lambda: func(*args, **kwargs))
     80                 except allowed_exceptions as e:
     81                     if wrapper.retry_count == max_attempts:

c:\python38\lib\site-packages\prereise\gather\solardata\nsrdb\nrel_api.py in download(url)
    140                 )
    141             if resp.status_code != 200:
--> 142                 raise Exception(f"Request failed: status_code={resp.status_code}")
    143             return resp
    144

Exception: Request failed: status_code=400

prereise/gather/solardata/nsrdb/demo/nsrdb_sam_demo.ipynb, cell [6]:
---------------------------------------------------------------------------
Exception                                 Traceback (most recent call last)
<ipython-input-6-6b80659ef8cd> in <module>
----> 1 data = sam.retrieve_data(solar_plant, email, key)

c:\python38\lib\site-packages\prereise\gather\solardata\nsrdb\sam.py in retrieve_data(solar_plant, email, api_key, year, rate_limit)
     67     for key in tqdm(coord.keys(), total=len(coord)):
     68         lat, lon = key[1], key[0]
---> 69         solar_data = api.get_psm3_at(
     70             lat,
     71             lon,

c:\python38\lib\site-packages\prereise\gather\solardata\nsrdb\nrel_api.py in get_psm3_at(self, lat, lon, attributes, year, leap_day, dates)
    143             return resp
    144
--> 145         resp = download(url)
    146
    147         info = pd.read_csv(BytesIO(resp.content), nrows=1)

c:\python38\lib\site-packages\prereise\gather\request_util.py in wrapper(*args, **kwargs)
     77                 wrapper.retry_count = i + 1
     78                 try:
---> 79                     return limiter.invoke(lambda: func(*args, **kwargs))
     80                 except allowed_exceptions as e:
     81                     if wrapper.retry_count == max_attempts:

c:\python38\lib\site-packages\prereise\gather\request_util.py in invoke(self, action)
     32         if elapsed < self.interval:
     33             time.sleep(self.interval - elapsed)
---> 34         result = action()
     35         self.last_run_at = time.time()
     36         return result

c:\python38\lib\site-packages\prereise\gather\request_util.py in <lambda>()
     77                 wrapper.retry_count = i + 1
     78                 try:
---> 79                     return limiter.invoke(lambda: func(*args, **kwargs))
     80                 except allowed_exceptions as e:
     81                     if wrapper.retry_count == max_attempts:

c:\python38\lib\site-packages\prereise\gather\solardata\nsrdb\nrel_api.py in download(url)
    140                 )
    141             if resp.status_code != 200:
--> 142                 raise Exception(f"Request failed: status_code={resp.status_code}")
    143             return resp
    144

Exception: Request failed: status_code=400

prereise/gather/hydrodata/eia/demo/eastern_hydro_v3_demo/eastern_hydro_v3_demo.ipynb uses the timezonefinder package. Should this be added to the requirements (or perhaps an optional-requirements.txt), or is it alright if notebook code contains imports that aren't required by PreREISE?

For the dependencies in notebook demos, we don't add them into the requirements.txt by convention. Correct me if I'm wrong @rouille .

Not sure what we decide but I would say that notebooks come on top of the code base and the user is free to use whatever package he wants to do his analysis/plotting (e.g. plotnone for plotting ussing ggplot, etc.)

prereise/gather/hydrodata/eia/demo/eastern_hydro_v3_demo/eastern_hydro_v3_demo.ipynb uses the timezonefinder package. Should this be added to the requirements (or perhaps an optional-requirements.txt), or is it alright if notebook code contains imports that aren't required by PreREISE?

For the dependencies in notebook demos, we don't add them into the requirements.txt by convention. Correct me if I'm wrong @rouille .

Not sure what we decide but I would say that notebooks come on top of the code base and the user is free to use whatever package he wants to do his analysis/plotting (e.g. plotnone for plotting ussing ggplot, etc.)

I think it is fine to have notebooks which use more packages than we require. At the very least I think we should document at the start of the notebook that there are packages X, Y, Z not a part of the repo requirements that are required for these notebooks to run properly.

I get the following errors the NSRDB demo notebooks:
prereise/gather/solardata/nsrdb/demo/nsrdb_naive_demo.ipynb, cell [5]:
Exception                                 Traceback (most recent call last)
<ipython-input-5-bcde22df9df0> in <module>
      1 email = getpass.getpass(prompt='email=')
      2 key = getpass.getpass(prompt='api_key=')
----> 3 data = naive.retrieve_data(solar_plant, email, key)

c:\python38\lib\site-packages\prereise\gather\solardata\nsrdb\naive.py in retrieve_data(solar_plant, email, api_key, year)
     28     for key in tqdm(coord.keys(), total=len(coord)):
     29         lat, lon = key[1], key[0]
---> 30         data_loc = api.get_psm3_at(
     31             lat, lon, attributes="ghi", year=year, leap_day=True
     32         ).data_resource

c:\python38\lib\site-packages\prereise\gather\solardata\nsrdb\nrel_api.py in get_psm3_at(self, lat, lon, attributes, year, leap_day, dates)
    143             return resp
    144
--> 145         resp = download(url)
    146
    147         info = pd.read_csv(BytesIO(resp.content), nrows=1)

c:\python38\lib\site-packages\prereise\gather\request_util.py in wrapper(*args, **kwargs)
     77                 wrapper.retry_count = i + 1
     78                 try:
---> 79                     return limiter.invoke(lambda: func(*args, **kwargs))
     80                 except allowed_exceptions as e:
     81                     if wrapper.retry_count == max_attempts:

c:\python38\lib\site-packages\prereise\gather\request_util.py in invoke(self, action)
     28         """
     29         if self.interval is None:
---> 30             return action()
     31         elapsed = time.time() - self.last_run_at
     32         if elapsed < self.interval:

c:\python38\lib\site-packages\prereise\gather\request_util.py in <lambda>()
     77                 wrapper.retry_count = i + 1
     78                 try:
---> 79                     return limiter.invoke(lambda: func(*args, **kwargs))
     80                 except allowed_exceptions as e:
     81                     if wrapper.retry_count == max_attempts:

c:\python38\lib\site-packages\prereise\gather\solardata\nsrdb\nrel_api.py in download(url)
    140                 )
    141             if resp.status_code != 200:
--> 142                 raise Exception(f"Request failed: status_code={resp.status_code}")
    143             return resp
    144

Exception: Request failed: status_code=400

prereise/gather/solardata/nsrdb/demo/nsrdb_sam_demo.ipynb, cell [6]:
---------------------------------------------------------------------------
Exception                                 Traceback (most recent call last)
<ipython-input-6-6b80659ef8cd> in <module>
----> 1 data = sam.retrieve_data(solar_plant, email, key)

c:\python38\lib\site-packages\prereise\gather\solardata\nsrdb\sam.py in retrieve_data(solar_plant, email, api_key, year, rate_limit)
     67     for key in tqdm(coord.keys(), total=len(coord)):
     68         lat, lon = key[1], key[0]
---> 69         solar_data = api.get_psm3_at(
     70             lat,
     71             lon,

c:\python38\lib\site-packages\prereise\gather\solardata\nsrdb\nrel_api.py in get_psm3_at(self, lat, lon, attributes, year, leap_day, dates)
    143             return resp
    144
--> 145         resp = download(url)
    146
    147         info = pd.read_csv(BytesIO(resp.content), nrows=1)

c:\python38\lib\site-packages\prereise\gather\request_util.py in wrapper(*args, **kwargs)
     77                 wrapper.retry_count = i + 1
     78                 try:
---> 79                     return limiter.invoke(lambda: func(*args, **kwargs))
     80                 except allowed_exceptions as e:
     81                     if wrapper.retry_count == max_attempts:

c:\python38\lib\site-packages\prereise\gather\request_util.py in invoke(self, action)
     32         if elapsed < self.interval:
     33             time.sleep(self.interval - elapsed)
---> 34         result = action()
     35         self.last_run_at = time.time()
     36         return result

c:\python38\lib\site-packages\prereise\gather\request_util.py in <lambda>()
     77                 wrapper.retry_count = i + 1
     78                 try:
---> 79                     return limiter.invoke(lambda: func(*args, **kwargs))
     80                 except allowed_exceptions as e:
     81                     if wrapper.retry_count == max_attempts:

c:\python38\lib\site-packages\prereise\gather\solardata\nsrdb\nrel_api.py in download(url)
    140                 )
    141             if resp.status_code != 200:
--> 142                 raise Exception(f"Request failed: status_code={resp.status_code}")
    143             return resp
    144

Exception: Request failed: status_code=400

I don't know what we can do about that. Running a notebook in PreREISE that download third party data (NREL, NOAA) is a real a pain. Not sure why the NREL store is down (Request failed with 400).

I don't know what we can do about that. Running a notebook in PreREISE that download third party data (NREL, NOAA) is a real a pain. Not sure why the NREL store is down (Request failed with 400).

I agree. If you see the same problem as me currently, and you know that the notebook ran successfully with this code in the recent past, I'm not sure there's anything else we can do for now.

You have to checkout ben/create (perhaps model is enough) in PowerSimData. This is a multi-package feature. We will probably need to do some refactoring in PostREISE too as we discussed since we moved/refactored the area_to_loadzone function.

Confirmed, with that branch of PowerSimData checked out the notebook runs successfully.

I don't know what we can do about that. Running a notebook in PreREISE that download third party data (NREL, NOAA) is a real a pain. Not sure why the NREL store is down (Request failed with 400).

I agree. If you see the same problem as me currently, and you know that the notebook ran successfully with this code in the recent past, I'm not sure there's anything else we can do for now.

I have the same error and I ran the notebooks was successfully run for this PR (see f290ec4a820dcee828d5ba8ee305f2b5cc8c080a). In fact, I ran all the notebooks for wind and solar. @BainanXia did the same for hydro.

The code looks good. Since we depend on the changes to PowerSimData, do you think that there is more end-to-end testing with the final PowerSimData model branch that we need before merging? Or is the coverage in the notebooks enough?

I don't know what we can do about that. Running a notebook in PreREISE that download third party data (NREL, NOAA) is a real a pain. Not sure why the NREL store is down (Request failed with 400).

I agree. If you see the same problem as me currently, and you know that the notebook ran successfully with this code in the recent past, I'm not sure there's anything else we can do for now.

it works now...

It worked for me too the other day. I'm skeptical the 400 is actually a client error in this case..


pushbullet, send a file from url

Description:
Send a file with an url to pushbullet
     - service: notify.pushbullet
       data:
         title: "test"
         target: "device/daniel"
         message: " test url file"
         data:
           file_url: https://cdn.pixabay.com/photo/2014/06/03/19/38/test-361512_960_720.jpg

url only sends the link
file upload the file to the pushbullet server (total limit of 2GB) and sends the file
file_url sends the file hosted at an arbitrary server.

file_url what is going if that will be like file:///etc/passwd?

As in the example I posted:
     - service: notify.pushbullet
       data:
         title: "test"
         target: "device/daniel"
         message: " test url file"
         data:
           file_url: https://cdn.pixabay.com/photo/2014/06/03/19/38/test-361512_960_720.jpg

Ahh, I understand. I think it could be a security problem?
A quick test shows that it is not possible to send a local file as file://, but I do some more tests

The code looks good. Is only the security hint...

The pushbullet library does not give any error message when trying to send a local file as "file://", but you do not receive the file on the phone.
To be sure I a added a test that requires the url to start with http or https.

Okay, ready to merge


error raised when start and end positions are identical.

hello!
I am trying to change the chromosome names in a gerp bigwig file. In the bigwig file, there are some entries where the start and end positions are the same. here is an example:
When I try to create a bigwig file, i get an error:
import pyBigWig
import numpy as np
bw = pyBigWig.open("delete.bw", "w")
bw.addHeader([("chr1", 250000000)])
chroms = np.array(["chr1"] * 3)
starts = np.array([2999997, 2999998, 2999999 ], dtype=np.int64)
ends = np.array([2999998, 2999999, 2999999], dtype=np.int64)
values0 = np.array(np.random.random_sample(3), dtype=np.float64)
bw.addEntries(chroms, starts, ends=ends, values=values0)
bw.close()

I get the following error:
Traceback (most recent call last): File "/usr/lib/python3/dist-packages/IPython/core/interactiveshell.py", line 3417, in run_code exec(code_obj, self.user_global_ns, self.user_ns) File "<ipython-input-5-ee2f75383c55>", line 1, in <module> bw.addEntries(chroms, starts, ends=ends, values=values0) RuntimeError: The entries you tried to add are out of order, precede already added entries, or otherwise use illegal values. Please correct this and try again.
How can this be solved?
Thanks!

An entry where the start and end are the same can just be excluded since it doesn't actually yield information about a base (i.e., the width of the entry is 0 bases). You'll want to just filter those out (no clue how they got there to begin with).

An entry where the start and end are the same can just be excluded since it doesn't actually yield information about a base (i.e., the width of the entry is 0 bases). You'll want to just filter those out (no clue how they got there to begin with).


Bash completion for git broken

Not only does g not work at all, but I have to manually source /usr/local/etc/bash_completion.d/git-completion.bash in order to make it work.
I don't use Bash interactively any more, so it's probably not a big deal, but it's annoying.
If I add an echo 'Installed Git completion' to the end of that script, I see it twice when launching alacritty -e bash. But complete -p | grep git shows that Git completion is not properly set for git; sourcing the file interactively shows the message, and then complete -p | grep git shows the expected stuff.

Closed by removing hub, which interferes with git.


Selectable Button Group

Issue Description

The selectable button group no longer toggles selected onClick. Before when selected, it had additional styling.
Issue Type

[ ] New Feature
[ ] Enhancement
[x] Bug
[ ] Other

Expected:

Actual:
http://engineering.cerner.com/terra-core/#/tests/button-group-tests/selectable-button-group

This has been released in<EMAIL_ADDRESS>


pass-through authentication with Hive in connectors

Is the issue already present in https://github.com/cloudera/hue/issues or discussed in the forum https://discourse.gethue.com?
Describe the questions:
hue.ini
enable_connectors=true

sqlalchemy interface:
hive://${USER}:${PASSWORD}@<IP_ADDRESS>:10000/default?auth=LDAP will prompted to the user.
hiveserver2 interface:
[beeswax]
auth_username=hadoop
auth_password=xxx

I got the following error and did not know where to set hive ldap user/password.This setting is available in enable_connectors=false.
Exception: {u'status': 1, u'message': u"TSocket read 0 bytes (code THRIFTTRANSPORT): TTransportException('TSocket read 0 bytes',)"}

How can I pass-through authentication with Hive in connectors？
Hue version or source? (e.g. open source 4.5, CDH 5.16, CDP 1.0...). System info (e.g. OS, Browser...).
Hue 4.10

Can someone help me?

Hi @SbloodyS, maybe this suggestion can help you?
https://github.com/cloudera/hue/discussions/2126

[{"name": "server_host", "value": "<IP_ADDRESS>"}, {"name": "server_port", "value": 10000}, {"name": "is_llap", "value": false}, {"name": "use_sasl", "value": true}]

sasl=true and still get the same error.It seems that the settings have not taken effect. @Harshg999
[07/Nov/2021 21:12:54 +0800] hive_server2_lib INFO     hello: server_host=<IP_ADDRESS>, use_sasl=False, mechanism=PLAIN, kerberos_principal_short_name=TODO, impersonation_enabled=True, auth_username=hadoop
[07/Nov/2021 21:12:54 +0800] hive_server2_lib INFO     Opening hello thrift session for user hadoop
[07/Nov/2021 21:12:54 +0800] thrift_util  INFO     Thrift exception; retrying: TSocket read 0 bytes
[07/Nov/2021 21:12:54 +0800] thrift_util  INFO     Thrift exception; retrying: TSocket read 0 bytes
[07/Nov/2021 21:12:54 +0800] thrift_util  INFO     Thrift saw a transport exception: TSocket read 0 bytes
[07/Nov/2021 21:12:54 +0800] decorators   ERROR    Error running get_sample_data


Run the software

How do you run the tool without running each raw script in R?

Thanks!

Even i want to know how to run full script at once. please help!. Thanks


No embedding for norm_step

Hi,
I was compiling some tactics, and I've just hit an issue: F* warns me because no embedding is defined for norm_step. After looking around in F* repo, it sounds like embbedings for norm_step were defined (and working) at some point.
The module Embeddings in /examples/native_tactics/ is also yeilding a warning when I do fstar --codegen Plugin Embeddings.fst:
Embeddings.fst(49,36-49,45): (Warning 238) Plugin norm_step_tac will not run natively because Embedding not defined for type FStar.Pervasives.norm_step.

I use F* compiled at commit 5a362d3fd77c9cf653db1b5b05dcbcb965d2ea2d (that is, master at the time of writing).

Fix coming in few minutes (by these patches), and it will be an (ignorable) error if something is marked as a plugin but it cannot actually be made into one. There's ton of things to improve wrt plugins, though, so let me reuse this issue for them.

Plugins should be able to take tactic functions as arguments. Currently this fails, and we work around it, e.g. by concatenating this file into the extracted OCaml. That one can do that means there's nothing magical about Tac functions, so we should just automate the procedure.

 Perhaps we should generate them on the fly when we extract a given plugin. Or, maybe we can use function embeddings to take one argument at a time, but not sure that is feasible (or efficient).

--load doesn't detect if recompilation is needed, which is a significant footgun.

Ideally, forget about the whole --codegen Plugin and --load dance, and have F* extract, compile and load a plugin as soon as it's typechecked.


Issue with Battery Saving Mode

Hey,
I'm facing with an issue on my OnePlus3 and battery saving mode. If I switch over to the next song, which is loaded via an remote url while the app is in background (I'm using react-native-music-controls to switch the song), the song doesn't get loaded. I need to go back to the app, otherwise the song won't load. The app isn't killed, so it seems like a problem with the native download function. It works fine again if I turn off the battery saving mode. Also local saved songs are working fine even if battery saving mode was turned on. Any idea what we need to change?

Hi,
Have you tried something like https://github.com/vikeri/react-native-background-job to keep your app scheduled while in the background? Especially opt.alwaysRunning seems to be what you want. We should probably document this approach if it turns out to be working for you.

Hey, currently we are using https://github.com/tanguyantoine/react-native-music-control for the notitications, so having 2 notirications may be not a good idea. But I'll check the background plugin to see if it doesn't matter on which level the service is impemented.


$gamePartyTS is not defined

Hello I have test your plugin but when i launch my demo game i have this message "$gamePartyTS is not defined".
How to solve the problem ?

hi! download the latest version of tacticssystem.js (i updated it.). several fixes in the next few days/weeks. thanks.


Couldn't Place Player In World

This is 1.18 Minecraft. Origins Version: 1.18 1.3.0 I don't know if it's just me but I have a server with all the mods and data packs working. however, every time I load a single player world and have a data pack I want to add it either

It says it isn't stable and needs to be in safe mode
It says "Invalid Player Data" and cuts to the multiplayer menu
It says "Disconnected" and cuts to the multiplayer menu

I currently also have fabric API, mod menu, origins-classes, Pehkui, REI, and Architectury.
Here is the error:
Couldn't place player in world
java.lang.NullPointerException: Cannot invoke "net.minecraft.class_2960.toString()" because "$$0" is null
at net.minecraft.class_2540.method_10812(class_2540.java:531)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at io.github.apace100.origins.origin.OriginLayer$ConditionedOrigin.write(OriginLayer.java:302)
at io.github.apace100.origins.origin.OriginLayer.lambda$write$14(OriginLayer.java:195)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at io.github.apace100.origins.origin.OriginLayer.write(OriginLayer.java:195)
at net.minecraft.class_3324.mdf1d2d0$lambda$openOriginsGui$1$3(class_3324.java:4477)
at java.base/java.util.HashMap$Values.forEach(HashMap.java:1065)
at net.minecraft.class_3324.handler$zoj000$openOriginsGui(class_3324.java:4476)
at net.minecraft.class_3324.method_14570(class_3324.java:281)
at net.minecraft.class_3248.method_33800(class_3248.java:130)
at net.minecraft.class_3248.method_14384(class_3248.java:117)
at net.minecraft.class_3248.redirect$zka000$handlePlayerJoin(class_3248.java:563)
at net.minecraft.class_3248.method_18785(class_3248.java:67)
at net.minecraft.class_2535.method_10754(class_2535.java:234)
at net.minecraft.class_3242.method_14357(class_3242.java:183)
at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:890)
at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:823)
at net.minecraft.class_1132.method_3748(class_1132.java:99)
at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:684)
at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:270)
at java.base/java.lang.Thread.run(Thread.java:833)

have you gotten the code to work yet? I have the same issue with the origins I'm developing and really need to figure it out

Whoops, I accidentally closed the issue. I just reopened it, but basically I had an error with the code where I had something wrong with either the coding of the dimension, a problem with a power that had a keybind code issue, or the fact that I did a power that involved the change of the size of the player and did it wrong,  when I accidentally used an entity action as a power type, or sometimes changing the impact of an origin in my experience sometimes causes problems for strange reasons. although, I forgot how I fixed the error. I prove just scrapped the project or something so I'm sorry if this doesn't help you.


Decide on other mentions of Full-only concepts in the CDI Lite spec p…

…art.
Fixes #489
This PR moves some more CDI Full mentions into their respective specification sections.

@Ladicek thanks for comments, all of them should be addressed now.

@Ladicek are you fine with the state of this PR?


Feature/add-multi-validator-docker-compose

Add docker compose + chainspec + script to build multi  validator setup.
Updated readme.

@gleb-urvanov  feel free to merge it!


[CSL-17] Compile CSL under Windows

@georgeee

@georgeee
@arodrigues tried, here is result:

cryptonite package requires eay32 and ssl32 C libs, which are not in Windows
I couldn't get those packages' binaries as doing so in Windows is a bit of a headache - I tried doing it in Cygwin, in MinGW and nothing worked

@georgeee
@me to contact Vincent

@georgeee
Sent mail to Vincent, waiting for reply

@gromak
cryptonite doesn't depend on openssl, but cryptonite-openssl does. eay32 and ssl32 are the name of the libraries on some versions of openssl. if the openssl version library is too recent, the name has changed to the usual crypto and ssl libraries. This is also the exact same building process as HsOpenSSL on Windows btw, which has the exact same .cabal dependency on windows.
You can find binaries version of the openssl dlls (don't use the latest one) here:
https://slproweb.com/products/Win32OpenSSL.html

@arodrigues
@gromak Ah, you are correct - it is {{cryptonine-openssl}}. I didn't catch the entire name of the package when the error message popped up.

@georgeee
It was reply from Vincent, not Ivan :)

@arodrigues
@georgeee is it here on YT?


Table layout could be disrupted.

When using table syntax, if you use even one ` after surrounding a ` with a ``, the table layout may be corrupted.
Example:
|a|b|
|--|--|
|`` ` ``| `c` |
|`` ` ``| `d |
| `e` | `` ` `` |
|`` ` ``| f |

Result:

Thank you for your response.

Fixed, should be the same as on github now.


Made storepb.RuleGroups a source of truth for rules API (Go, JSON, proto). Added tests.

cc @s-urbaniak
Signed-off-by: Bartlomiej Plotka<EMAIL_ADDRESS>

CI complains something about go.mod :thinking:
else LGTM :tada:

i think the github.com/gogo/status dependency in go.mod is not necessary.


UniFrac

Currently the UniFrac distance calculation is ported from phyloseq to work with TreeSummarizedExperiment objects. I recently came across this issue in phyloseq github
https://github.com/joey711/phyloseq/issues/956
It seems that there are some differences in calculation between qiime2 and phyloseq. Have anyone tested this? Is it possible to check if it is also the case with tse?

Thanks, this is important.
The conclusion seem to be that rbiom matches best with QIIME2 (and gives similar results to 2 other independent R implementations as well but not with phyloseq). It is also the fastest R implementation.
-> mia should be updated to use rbiom implementation!

any volunteers for a quick PR..?

Also see FuncDiv that implemented this same suggestion in issue 2.

Link with issue #340

The calculateUnifrac file seems to implement it's own version of unifrac inspired from the phyloseq function without actually using other packages : https://github.com/microbiome/mia/blob/devel/R/calculateUnifrac.R.
I've been trying to find the difference between the phyloseq implementation and the rbiom implementation to no avail.
The Rbiom version uses a function coded in c++ which i have a hard time understanding given my limited knowledge on both c++ and unifrac.

The idea would be to use this as a dependency, and just call the rbiom function (internally from mia), instead of the current solution which is to call phyloseq internally.

@thpralas has checked this unifrac thing little bit

Ok - then let @thpralas take care

It was not assigned to anyone, so I had passed it on. Let's aim to use the assignments on the top right to indicate if someone works on something, this way we can avoid overlaps.

Yes, that's ok. As we have now more contributors, it is better to switch using the "assignees" field.

I have not checked the rbiom implementation of unifrac yet but I looked at the picante implementation (picante::unifrac).
My initial goal was to replace mia runUnifrac function by calling picante::unifrac internally in calculateUnifrac.
The picante implementation takes as parameters a community matrix and a tree. I think that the aggregation of the matrix based on nodeLab should be done in calculateUnifrac function (instead of doing it in the runUnifrac function) because it is necessary to aggregate the matrix even though we use picante::unifrac.
However, with @TuomasBorman help, I realized while debugging calculateUnifrac and picante::unifrac that picante::unifrac may be too slow for big TreeSummarizedExperiment (e.g. GlobalPatterns), and I did not manage to get a result.
The picante package does not have a fast implementation of unifrac so I do not think we could use it internally to replace runUnifrac.
I am going to look at the rbiom implementation of unifrac.

Little bit related to this same thing, also faith index implementation could be changed so that we use external package (instead of our own implementation).
Good thing about picante was that it included also faith alpha diversity index, rbiom seems not to include it.

Note the original discussion above. It included both picante and rbiom, and the latter seemed better overall: "The conclusion seem to be that rbiom matches best with QIIME2 (and gives similar results to 2 other independent R implementations as well but not with phyloseq). It is also the fastest R implementation."

My primary preference is rbiom for the above mentioned reason

@thpralas is this issue ready & could be closed?

@thpralas is this issue ready & could be closed?

Yes I think this issue is now ready and can be closed since mia unifrac implementation now internally calls rbiom instead of phyloseq (https://github.com/microbiome/mia/pull/523)


version 108.0.1462.42

@soulgalore Could you merge it, please?

Hi @lacell75 yes sorry, I'll fix it today. I use the switch that removes the version check so I don't always upgrade to the latest version.

Rerun to see if the edgedrievr on Mac works.

I udpated version . edgdriver works on MAC now.


fix: Update alarm_control_panel.py

Change from STATE_ALARM_xxx to AlarmControlPanelState.xxx because of deprecation warning since HA 2024.11.

thanks


[Feature request] TypeScript Playground presentation ability

I was thinking it would be nice to store a bunch of code examples for the TypeScript Playground.
I envision this allowing you to step through a list of code examples like a presentation.
This would be great when giving tutorials on how TypeScript compares with JavaScript.
ie
slide one:

slide two:

Linking to https://github.com/microsoft/TypeScript-Website/issues/36

I built this as a plugin!
https://www.typescriptlang.org/v2/dev/playground-plugins/

thx


End Game state should reveal the entire board

We've already fed this back to the designers

👍

closing this as planning ✅done.
tracking coding task on #91