Unable to run sample Usage code

I installed the package empyrial and it is showing multiple errors
I am running python 3.9.0 and I installed plotly for the visualizations
I am running the sample Usage code

from empyrial import empyrial, Engine

portfolio = Engine(
                  start_date= "2020-06-09",
                  portfolio= ["BABA", "RELIANCE.NS", "KO", "^DJI","^IXIC"],
                  weights = [0.2, 0.2, 0.2, 0.2, 0.2], #equal weighting by default
                  benchmark = ["SPY"]
)

empyrial(portfolio)

Hey,
So you can see the error given is NameError: name 'display' undefined.
To show the final dataframe, Empyrial uses the display function. I found this post that can help you : https://stackoverflow.com/questions/49328447/display-in-python
So basically I think it gives an errror because you're not in a jupyter notebook/google colab.
To solve this you will need to:

Install IPython (if it's not already done)

pip install IPython
or if you are running pip3:
pip3 install IPython

When the installation is completed, add this import at the beginning of your code:

from IPython.display import display
Tell me if works.
I'm going to solve this as soon as possible thanks for raising the problem!

Tried it in a jupyter notebook and it worked! thank you.


@FranBarrera, i alse want to write a source&target for some saas, but I think this guide is not enough: https://knative.dev/docs/eventing/custom-event-source/custom-event-source/ .
Is there any other developer guide for it? I appreciate it if any！

Hey @LarryZhangy We do our components a bit different than knative, maybe we can talk about what you are trying to do in our public slack with the rest of our team: https://join.slack.com/t/triggermesh-community/shared_invite/zt-1kngevosm-MY7kqn9h6bT08hWh8PeltA


Data transfer: Column mapping don't show correct data

System information:

Operating system (distribution) and version Mac
DBeaver version 7.3.0 EA

Connection specification:

Database name and version MongoDB

Describe the problem you're observing:
Columns mapping shows all columns with status new

Steps to reproduce, if exist:

Export a table to CSV file
Create export from the CSV file to the same table
Click Columns in table mapping step

Expected: the columns are marked as existed
Actual result: the columns marked as new

works as expected for no-relational databases


Improve "Control Plane Components Down" panel

We want to count the number of jobs that are down. Also adding the "instant=true" checkbox yields better results.

We are in the process of migrating these dashboards to https://github.com/kubernetes-monitoring/kubernetes-mixin, but I'm fine with merging this for now, but just wanted to mention that there is a possibility that maybe we will miss to transfer things during this migration. Sorry and thanks for understanding!
Regarding merging this PR, giving @gianrubio the last call.

Sounds good! Thanks.

I'd prefer to apply the changes in the upstream, otherwise this PR will be overwritten when someone run the sync_kube_prometheus.py script

Old


stm32U5 spi driver and dma transfer

This PR is updating the spi driver for the stm32U5 family
and also the DMA drivers for using on spi transfer.
It requires the https://github.com/zephyrproject-rtos/zephyr/pull/45350
The DMA is the GP DMA peripheral of the stm32u5.
The spi1 pins are enabled from the board DTS and two DMA channels are choosen (by the overlay file) from 0 to 11 ( periph to/from SRAM)
The DMA request is selected from the programmed table.
tested on the disco kit b_u585i_iot02a and nucleo_u575zi_q  board, when D11 and D12 pins (spi MSIO <--> MOSI) are connected on the target board.
$ west build -p auto -b b_u585i_iot02a -- -DOVERLAY_CONFIG="overlay-stm32-spi.conf" tests/drivers/spi/spi_loopback/
$ west build -p auto -b b_u585i_iot02a -- -DOVERLAY_CONFIG="overlay-stm32-spi-dma.conf" tests/drivers/spi/spi_loopback/

Signed-off-by: Francois Ramu<EMAIL_ADDRESS>

rebase
requires the https://github.com/zephyrproject-rtos/zephyr/pull/47645

rebase on d01934f9e9d307f9ca97fae15d5dbc8fa2aaceda

checks Run tests with twister / twister-build (7) (pull_request_target)   failed:
INFO    - 178/654 nucleo_u575zi_q           samples/drivers/watchdog/sample.drivers.watchdog   FAILED Build failure (build)  is fixed by https://github.com/zephyrproject-rtos/zephyr/pull/48062/

rebase on https://github.com/zephyrproject-rtos/zephyr/pull/45350 ( https://github.com/zephyrproject-rtos/zephyr/commit/f3017aa787e75c77bb7deb9f4ae45d4b4e93fbc3) to fix CI twister error

The DMA is now in for the stm32U5 serie, adding the spi with dma transfer
rebase on f033040812b0ce8c5c09105757eb0b3e2e9e8d17

changed using DT_HAS_COMPAT_STATUS_OKAY(st_stm32h7_spi) also valid for spi node of the stm32u5 serie

Please update message for the first commit. The work done is targetting DMA only. U5 SPI support was already there. Also since st_stm32h7_spi compat also applies to MP1, it would be needed to verify and explain in the same commit message that this work is also valid for MP1.

The reason for setting the spi_h7 compatibility also for the stm32u5 and stm32mp1 is around the LL_SPI_StartMasterTransfer() because SPI_CFG1 register  "is write protected when SPI is enabled, except TXDMAEN and
RXDMAEN bits".


Is it possible to add Fair License to choosealicense?

Fair License
This license appears to pass rule 1 and 2 in CONTRIBUTING.md, but i dont think it passes rule 3. (searching for fair license in github code search happens to be disputed)
Is this license possible to be added to choosealicense?

https://github.com/search?q=filename%3ALICENSE+"provided+that+this+instrument+is+retained" is an approximation, gets 132 results.
It does otherwise qualify. If you'd like to make a PR to work out the other details, I'm happy to leave it open until it meets the usage threshold (which may be a long time).

I'd like to point out this license, while considered free, only mentions "use of the work".
Licenses with more detailed language are to be preferred.

@Aspie96 could you give an example of an interpretation of "use of the work" that would make the license non-free? Not that I'm disagreeing, just making sure I understand your reasoning.

(I am not a lawyer and this is not legal advice).
I don't consider it nonfree.
I am just pointing out other licenses are a bit more clear about what they allow.
The word "use" is, in some cases, used to mean "run" a copy of a software (for which a license is not even required). What you need a license for is modify and distribute the software.
The license is considered FLOSS and that indicates that the intention behind the word "use" is to include any kind of use, in the boroadest sense. And indeed, it is known that was the intention of the author.
Some thoughts on the matter:

https://lists.opensource.org/pipermail/license-review_lists.opensource.org/2009-April/000712.html
https://lists.opensource.org/pipermail/license-discuss_lists.opensource.org/2005-April/010201.html

So I am not suggesting the license is nonfree (it is free as long as interpreted as intended), but other licenses are a lot clearer.

Thank you I really don't know the difference unless you point it out. I think this is above my knowledge any comments are helpful. Thank you. I don't really understand the difference.

How or why ended up here ??

I was just looking at issues on this repo.

I don't really understand the difference.

The difference between what?
Anyways, my comments are a bit off topic. But not completely.
I don't oppose to adding the Fair License if it ever qualifies. I provided my commits in case in the future it is discussed to add it among the suggested licenses (instead of just the list).

I realize I too should have been more explicit in my wording. I didn't mean to imply that I felt you considered the Fair License to be non-free. I was just trying to understand what, in your view, could be ambiguous about it in a way that could be problematic for its usage as a FLOSS license.
If I understand correctly, your concern is that its extreme conciseness could lead it to not be interpreted as intended, and therefore other licenses that leave less room for interpretation might be preferable, to ensure that legitimate use (including modification and distribution) of software would be less likely to be encumbered due to an incorrect perception of what the license allows.
That seems to be a reasonable concern, but I'd argue that these days, with well-known "FLOSS license stamps of approval" such as OSI's and FSF's, systematic representations of licenses' properties (like tldr-legal, Wikidata, and the Permissions/Conditions/Limitations encoding that choosealicense.com uses), and general reference material like Wikipedia, it would be quite unlikely that someone would initially misinterpret the license's intent and not be able to easily and quickly learn of the correct interpretation.
So I'd say it's not a concern that should weigh against inclusion of the license in choosealicense.com — on the contrary, doing so will precisely add to the resources that help ensure its correct interpretation.


Way to constrain only specific selectors

Is there a way to constrain only apps with specific selector?
Right now kubearmor seems to add apparmor annotations to all pods, and the most granular constraint visibility is a namespace.
Current approach can be dangerous sometimes, e.g. when some policies don't make it to the nodes and system pods can't start.

@alexeysofin this maks sense. We need a way to limit what we annotate incase AppArmor is used an enforcer. I have added it to our Roadmap.
One way to avoid this could be, Can you switch to BPFLSM as an enforcer. Based on info at #1728. I see you are using Ubuntu and has latest enough kernel.
We have documentation to enable BPFLSM at https://github.com/kubearmor/KubeArmor/blob/main/getting-started/FAQ.md#checking-if-bpf-lsm-is-supported-in-the-kernel
Or if you would approach a automated approach
kubectl apply -f https://raw.githubusercontent.com/kubearmor/KubeArmor/main/deployments/controller/updaterscript.yaml

Warning: After running the above script the nodes will restart.

The advantage with BPF LSM is that we have control over how we implement policies in the kernel and are not dependent on a different engine to help us enforce it. As well as we enforce policies only on Pods where the policy is applied since we don't need to keep track of intermediary apparmor profiles and annotation lifecycle.
Let me know What do you think? Happy to help out further in this thread to help succeed your usecase with KubeArmor. Or we can have more synchronous discussion over our Slack - Invite

Thank you for the advice @daemon1024, I'll try switching to bpf enforcer, although bpf is still a pretty early technology.
By the way maybe you help with clarifying https://github.com/kubearmor/KubeArmor/issues/1728 as well?

Thank you for the advice @daemon1024, I'll try switching to bpf enforcer, although bpf is still a pretty early technology.

Just for some clarification we are not using bpf for enforcing like tetragon does. We are using BPF LSM. These are meant for security enforcement and integrate with the LSM APIs exactly like AppArmor or SELinux, just that we have the flexibility to plugin our programmable logic.  Specifically for the io uring example I don't have an answer, I will simulate it on my end, but we can ascertain that if it would fail in case of BPFLSM most likely it's going to fail with AppArmor as an enforcer as well.

By the way maybe you help with clarifying #1728 as well? Is this only apparmor's enforcer peculiarity or that's the approach kubearmor is taking for all enforcers?

It's an apparmor enforcer peculiarity. (Some of the things that we have documented in this context https://github.com/kubearmor/KubeArmor/wiki/Enforcer-Feature-Parity)
I am setting up an env and trying it out so I can better respond, because it's not clear to me why would the same apparmor profile have different behaviours when KubeArmor attaches it and you do it manually.

Good to know that, thanks a lot

because it's not clear to me why would the same apparmor profile have different behaviours when KubeArmor attaches it

yes, that's the most interesting part

@daemon1024 did you manage to reproduce this one?

@daemon1024 did you manage to reproduce this one?


Improvements to contrast ratios of front-end ending controls

This adjusts the contrast ratio of text labels and controls to be >= 7 - this then meets WCAG 2.0 level AAA.
The tone of colors have not been changed, only the brightness, to achieve the >7 ratio, as to not change the overall look-and-feel of the interface.
Where a font weight has been adjusted, it is only when there isn't enough visual difference between an active and non-active state (the dashboard panel in particular).
While there may be further minor items throughout the interface that would benefit from contrast improvements, this initial review would then allow concrete5 to pass in terms of WCAG's contrast requirements.  Fortunately there weren't too many items to adjust, with the majority of dashboard pages being totally fine. But some of the most commonly used controls in concrete5 didn't even pass the AA contrast rules, hence this pull request.
Additionally, a small adjustment has been made to the left hand blocks panel, to remove the unnecessary first dividing line, as well as a tiny bit of extra padding on the group titles for balance.
By the way, Chrome has a built in contrast checker in its style inspector, very handy.

@Mesuva
I pulled your changes and built the CSS to test. The changes are subtle but definitely noticeable in making text easier to read and reducing eye strain.
Making all the icons, text, and images accessible should be something we set as a goal.

I agree accessibility is a must

I didn't check out this, but I think that improving accessibility is a great thing. I never facet this subject, but I know that there are Italian laws about it cor websites of the government and the public administration.

Thanks for this, but we're going to wait on this. We have accessibility, UX and UI improvements coming down the pipeline, and we'd rather not have to change these things multiple times.

Excited to hear about UI improvements, thanks Andrew.

We have accessibility, UX and UI improvements coming down the pipeline

How can double work be prevented?

@a3020 I believe I've said this a few times, but we indicate which items we'd really love help on by the use of "help wanted" and "like to have" and "love to have" labels.
https://github.com/concrete5/concrete5/issues?q=is%3Aopen+is%3Aissue+label%3A"help+wanted"
Anything in there is fair game and if it's unassigned it's not something we are actively worrying about ourselves.

@aembler I mean would this be a candidate for the roadmap, to indicate that this is something the core team will take care of?

👍 https://github.com/concrete5/concrete5/issues/6586


Preparation for Elementwise simd (v2): upgrade of the alloc infrastructure.

Non functional PR: upgraded infrastructure / fixed bugs.
Ripped the old "insertAllocAndDealloc" infrastructure and replaced it by MemRefBuilder.alignedAlloc infrastructure. Removed the "emitDealloc" flags from the passes.
Corrected a lot of <0, <=0, >0... references with shape, and replaced it with appropriate ShapedType::kDynamic calls.
There were errors with respect to shape inference that cannot determine the shape of a dynamic output (e.g. Compress or NonNull ops). Now these truly dynamic shapes can be represented by IndexExpr Questionmarks even during lowering; obviously, the op-specific code lowering is then responsible to introduce code that will generate these actual values. Before, we generated a literal -1 value... which often would get refined away by the often erroneous static sizes given by a model. This is now fixed.
Fixed spelling mistakes and updated the dates of modified files to 2023.

I also like the change to always use create.xxx.yyy.

Thanks, it's a pattern that @tungld started and I like it too. I did not systematically change it in the code, but will change it when I revise specific codes.

Jenkins Linux ppc64le Build #8832 [push] Preparation for Elementw... started at 23:59

Jenkins Linux s390x Build #9786 [push] Preparation for Elementw... started at 23:55

Jenkins Linux amd64 Build #9767 [push] Preparation for Elementw... started at 22:55

Jenkins Linux amd64 Build #9767 [push] Preparation for Elementw... passed after 1 hr 34 min

Jenkins Linux s390x Build #9786 [push] Preparation for Elementw... passed after 2 hr 9 min

Jenkins Linux ppc64le Build #8832 [push] Preparation for Elementw... passed after 3 hr 6 min


cp-parents.sh: cp: recursive copy

ref: #3320
Below described issue is at least one of the reason why the gnu test tests/cp/cp-parents.sh is in ERROR state.
gnu
> cp --verbose -a --parents a/b/c d
a -> d/a
a/b -> d/a/b
'a/b/c' -> 'd/a/b/c'

uutils
> cp --verbose -a --parents a/b/c d
> ls -al d
total 0
drwxr-xr-x  3 bha_srik_k users  15 Mar 29 12:51 .
drwxr-xr-x 12 bha_srik_k users 178 Mar 29 12:48 ..
drwxr-xr-x  2 bha_srik_k users   6 Mar 29 12:51 c

note that gnu creates the directory d/a/b/c whereas uutils creates the directory d/c
also, the verbose options seems to be not working in uutils

Note: The directories a/b/c and d must all exist before running those test cases

Note: The directories a/b/c and d must all exist before running those test cases

No. They get created.

Hmm, with cp v 8.30, I see the following behavior.
If d does not exist:
$ cp --verbose -a --parents a/b/c d
cp: with --parents, the destination must be a directory
Try 'cp --help' for more information.

If d does exist but a/b/c does not exist:
$ cp --verbose -a --parents a/b/c d
cp: failed to get attributes of 'a': No such file or directory

If both a/b/c and d exist:
$ cp --verbose -a --parents a/b/c d
a -> d/a
a/b -> d/a/b
'a/b/c' -> 'd/a/b/c'

Do you see something different from that?

@DevSabb what do you think?

I've checked now and it seems that uutils has the same behavior as GNU, but --verbose messages are not full. It prints the last file copied, but doesn't print anything for directories created. Seems like a good first issue from my point of view.
I also added test above and the same one with the symlink as the directory in PR #3721

I've checked now and it seems that uutils has the same behavior as GNU, but --verbose messages are not full.

I don't see this. I still see the error (and also the verbose messages are absent).
$ mkdir -p a/b/c d
$ ./target/debug/cp -a --verbose --parents a/b/c d
$ ls -l d
total 4
drwxrwxr-x 2 jeffrey jeffrey 4096 Sep  1 20:31 c

Do you see something different from that?

It seems that I didn't look at the cp-parents.sh file then. What I tested was:
$ mkdir -p a/b d
$ touch a/b/c
$ ./target/debug/cp -a --verbose --parents a/b/c d
'a/b/c' -> 'd/a/b/c'
$ find d
d
d/a
d/a/b
d/a/b/c

Ah, I see. There are different code paths if c is a file or if c is a directory.

The pull request #4071 resolved the issue

note that gnu creates the directory d/a/b/c whereas uutils creates the directory d/c

but it did not resolve the issue

also, the verbose options seems to be not working in uutils

so let's keep this open? Could also open a new issue if people prefer.


NullPointerException

at dmax.dialog.SpotsDialog.setMessage(SpotsDialog.java:74)
@Override
public void setMessage(CharSequence message) {
        ((TextView) findViewById(R.id.dmax_spots_title)).setText(message);
}

if you set custom message after create dialog but not show dialog yet, it throws NullPointerException. Because it isn't inflated yet. This method should be like that
@Override
public void setMessage(CharSequence message) {
       this.message = message; // this is necessary if textView null
       TextView textView = (TextView) findViewById(R.id.dmax_spots_title);
       if (textView != null) {
            textView.setText(message);
       }
}

Cool, thanks

I believe "cool, thanks" suggests you have implemented this already. Why am I still getting this crash?

@ishaan-khan as you can see this issue is still open

@d-max I've created a fix for this issue: #27 Could you please check it and accept the PR if the implemented logic is acceptable. Thanks.

@aistomin Thank you for the fix 👍


Blueprint tree always starts at the origin now, "projected" paths are called out explicitely

What

Direct follow up of #5326
Fixes #4156

https://github.com/rerun-io/rerun/assets/1220815/77ed6a42-50db-4ca3-b596-8dcf5bce9baf
Follows the design proposal from the ticket directly. Some detail decisions on how things are exactly handled, but code should be a bit more composable now (albeit admittedly still a bit messy)
Checklist

[x] I have read and agree to Contributor Guide and the Code of Conduct
[x] I've included a screenshot or gif (if applicable)
[x] I have tested the web demo (if applicable):

Using newly built examples: app.rerun.io
Using examples from latest main build: app.rerun.io
Using full set of examples from nightly build: app.rerun.io

[x] The PR title and labels are set such as to maximize their usefulness for the next release's CHANGELOG
[x] If applicable, add a new check to the release checklist!

PR Build Summary
Docs preview
Examples preview
Recent benchmark results
Wasm size tracking

@abey79 looks like you spotted some severe weirdness in here, thanks! Need to definitely check on these before merging


[WIP] Improve introduction of templates in docs

This is work in progress.
Context:
Explain how to work with templates in the docs introduction section.
Description of the Change:
Adds .rst file for every template in which the hyperparameters and usage of the template is explained.
Benefits:
Users are actually told what to do with the template.
Possible Drawbacks: None
Related GitHub Issues:

@mariaschuld, I just had a cursory look, but I'm thinking that the examples you are writing would be a much better fit for the function docstring rather than as separate ReST files, for several reasons:

Keeping the examples close to the code makes it easy to remember to update if the function is modified (and also allows code reviewers to remind the person making the modification to update the example).

Each template already has it's own autogenerated API page, e.g.: https://pennylane.readthedocs.io/en/stable/code/api/pennylane.templates.layers.StronglyEntanglingLayers.html. It makes sense to collate the information in one place, rather than have users end up on different pages for the same template and getting confused. It also avoids the pitfall where the two pages might go 'out of sync'.

It matches the NumPy doc style where examples are included in the docstring, e.g., https://docs.scipy.org/doc/numpy/reference/generated/numpy.linalg.eigvals.html

@mariaschuld, what is the status of this PR?

This PR was superseeded by the the design decision to put explanations into the docstrings of every template. Closing it.


Hiding window on OS X disappears the window

Which operating system does the issue occur on?
kaka:~$ sw_vers
ProductName:    Mac OS X
ProductVersion: 10.14.6
BuildVersion:   18G103

I usually recompile alacritty every monday on OS X for some light testing. Since a couple of weeks I've noticed that whenever I hide the window Alacritty can't find it again. I have to force close Alacritty and start over (thank $DEITY for tmux ; ).
kaka:~$ /Applications/Alacritty.app/Contents/MacOS/alacritty -V
alacritty 0.3.3 (cc3e4d3)

is not affected by this.
I'm gonna try to narrow it down but don't hold your breath.
How to reproduce.

In ~/.alacritty.yml:key_bindings:
[…]
  - { key: H,        mods: Command, action: Hide                         }
[…]

Press cmd+h
Either:

Click on another applications icon in the Dock.
Press the Alacritty icon in the Dock.

or

cmd+tab into another application
cmd+tab back into Alacritty

Alacritty and it's window should appear.

This works in cc3e4d3 but not in a75e949.

Does https://github.com/jwilm/alacritty/issues/1465 sound like this issue?
https://github.com/jwilm/alacritty/issues/2813 might also be related.

I can definitely reproduce this, along with various issues related to comments in those linked issues @chrisduerr. This issue seems to have existed to some degree before, since I've tested against the 0.3.3 release, cc3e4d3.
In the 0.3.3 release, cmd-H hides the window but doesn't unfocus the application. Then trying to refocus the window doesn't do anything, and so it doesn't un-hide, however focusing another application, then focusing the hidden alacritty will work as expected. It's also worth noting that on this release, even without hiding the window, the focus event is not always triggered or handled properly when clicking on an un-focused window.
On master, we still don't unfocus when hiding, but the issue with clicking to gain focus described above is gone, however now the window will not un-hide even when clicking on it's dock icon while not focused.
Sorry if this isn't 100% clear.

@nixpulvis Do you think it makes sense to keep multiple issues open about this, seems like they're all pretty much just different variations of the same root issue.
Maybe just renaming the issue to be a little more broad would be a good idea?

I'd be all for a unified macOS focus + hiding issue. It seems they are related. Just as long as they're all linked.
I'm curious to see if this is something you can reproduce with basic winit examples. I'm assuming at the moment it's not.

Closing as duplicate of https://github.com/jwilm/alacritty/issues/1465.


Unable to setup access to API

The app you're trying to connect did not provide valid information to Fitbit. Please report this issue to them.
Developer information: unauthorized_client - A "Personal" application is only authorized to request access tokens from the owner of the application.
https://fitbit.com/oauth2/authorize?access_type=online&client_id=XXXXX&response_type=code&scope=activity+heartrate+location+nutrition+profile+settings+sleep+social+weight&state=XXxxxxXXxxxxxxxxlongstringhere

I am sorry, but this project is still not ready for daily use. In fact it doesn't send data to graphite, yet. I kinda lost motivation to finally get this all done, when I read on the FitBit Dev Forums that they postponed the switch to OAuth 2.0 until August 2016. I will assign this issue to me and maybe I will continue my work on this project this weeked. I don't know if you can setup the OAuth 1.0a Access to the API with https://github.com/gr4y/fitbit-graphite.rb, after they disabled some parts of the OAuth 1.0a workflow, but on my server it still fetches my step data fine.

dev.fitbit.com doesnt seem to allow creation of OAuth 1.0a keys anymore. Creating a new application gives me OAuth2.0 credentials, which didnt work putting into .settings.json:
/var/lib/gems/1.9.1/gems/oauth-0.5.1/lib/oauth/consumer.rb:217:in `token_request': 401 Unauthorized (OAuth::Unauthorized)
	from /var/lib/gems/1.9.1/gems/oauth-0.5.1/lib/oauth/consumer.rb:136:in `get_request_token'
	from /var/lib/gems/1.9.1/gems/fitgem-0.10.0/lib/fitgem/client.rb:167:in `request_token'
	from /root/git/fitbit-graphite.rb/lib/fitbit/graphite/base_processor.rb:31:in `authenticate!'
	from /root/git/fitbit-graphite.rb/lib/fitbit/graphite/base_processor.rb:19:in `initialize'
	from bin/fitbit-graphite:37:in `new'
	from bin/fitbit-graphite:37:in `block in <main>'
	from bin/fitbit-graphite:34:in `each'
	from bin/fitbit-graphite:34:in `<main>'

Thanks for the feedback!

Just to keep you up to date: I started to work on it yesterday, but I noticed while reading my own code that I have to fix some more things before I release a first version, so it will take until next week, if all goes well any my ability to concentrate doesn't leave. :smile:

Sounds great :)

It took longer than I anticipated, but yesterday I fixed the last bug. You might want to give that project a spin. :grin: Don't forget to set your Data Retention Policies in your Carbon config, which cost me 2 hours of my life to notice. 😉


[WIP] New command parameter to enforce usage in private chats only.

Added a new parameter to the Command class called $private_only.
Setting that to true and calling the respective command in a public chat does the following:

Delete the public message
Post a private message to the sender saying that the command works in private chats only. This message also contains the original command call, so that it can just be copy-pasted.

It would also be possible to simply overwrite the Update object to act as if the command was called from a private chat in the first place, but that might be pushing it.
What do you think?
Also, I haven't managed to get this to work for channels, not quite sure why, but the command doesn't have a message object in it, weirdly 😕

So wait, this removes user message for example user calls /cleanup in group chat then his message gets removed and notice is sent to private chat with him?

Exactly. Alternatively, it's obviously also possible to just modify the first command message sent, to the notification message being sent to the private chat, instead of deleting it completely.

@noplanman Well, I would say it's fine, what's the problem with channel? I don't think bot is supposed to execute commands from messages posted in channels

Ah right, of course. So we just completely ignore those then?

@noplanman As far as I'm understanding the API there is no way to send normal update with message object to the channel? There is channel_post one but we don't use it for handling commands and thats ok.

Yes, we'd have to use $update->getChannelPost().
Strangely though, the command's execute method does get called via channel message.
Hmm, need to see what's up.
Shall we create a separate PR for the $private_only feature? Might make sense to keep it clean.

Shall we create a separate PR for the $private_only feature? Might make sense to keep it clean.

Yeah.

Ok, have made the other PR here: https://github.com/php-telegram-bot/core/pull/580
When that's merged, we can simply add the parameter to this command, and voilà 👍

Alrighty then, have merged and added $private_only = true;.
I think we're ready for this merge too. Will do the same for all other admin commands and PR.

Yep, making it default for admin commands makes sense!

Alrighty, have dropped the last commit (with $private_only), so this can be merged, then I'll merge it to develop and add the parameter to AdminCommand directly.


Feature/0.1.22+1

hot fix include:
https://github.com/AstroxNetwork/agent_dart/pull/19

The commit tree seems not clean, but no conflicts were detected though.


Bottombar is coming already selected with first item

   bottomBar = BottomBar.attach(findViewById(R.id.navigation_view), savedInstanceState);

    bottomBar.setItemsFromMenu(R.menu.menu_bottom, new OnMenuTabClickListener() {
        @Override
        public void onMenuTabSelected(int itemId) {
            switch (itemId) {
                case R.id.checkin_item:
                    Snackbar.make(drawerLayout, "Recent Item Selected", Snackbar.LENGTH_LONG).show();
                    break;
                case R.id.message_item:
                    Snackbar.make(drawerLayout, "Favorite Item Selected", Snackbar.LENGTH_LONG).show();
                    break;
                case R.id.friends_item:
                    Snackbar.make(drawerLayout, "Location Item Selected", Snackbar.LENGTH_LONG).show();
                    break;
                case R.id.notification_item:
                    Snackbar.make(drawerLayout, "Location Item Selected", Snackbar.LENGTH_LONG).show();
                    break;
                default:
                    break;
            }
        }
        @Override
        public void onMenuTabReSelected(int itemId) {
            switch (itemId) {
                case R.id.checkin_item:
                    Snackbar.make(drawerLayout, "Recent Item Selected", Snackbar.LENGTH_LONG).show();
                    break;
                case R.id.message_item:
                    Snackbar.make(drawerLayout, "Favorite Item Selected", Snackbar.LENGTH_LONG).show();
                    break;
                case R.id.friends_item:
                    Snackbar.make(drawerLayout, "Location Item Selected", Snackbar.LENGTH_LONG).show();
                    break;
                case R.id.notification_item:
                    Snackbar.make(drawerLayout, "Location Item Selected", Snackbar.LENGTH_LONG).show();
                    break;
                default:
                    bottomBar.clearFocus();
                    break;
            }
        }
    });

when application run, First item is coming already selected . How can disable this ?
bottombar.clearFocus()  or which function ?

I've needed the same behavior, what I ended up doing was simply save an int and keep track of the first selection and just have it pass through the listeners.
example:
`new OnMenuTabClickListener() {
int i = 0;
@Override
public void onMenuTabSelected(@IdRes int tabId) {
if (this.i != 0) {
// your action.
}
this.i++;
}
        @Override
        public void onMenuTabReSelected(@IdRes int tabId) {
            if (this.i != 1) {
                // your action.
            }
            this.i++;
        }
    });`

Thanks @JonathanMerritt you are right and solution works but this solution is temporary. I'm using navigation drawer and bottombar together so I have to know that how can disable selected item. When I changed page nothing must be selected.

@MrYavuz
Yes, it isn't the best solution either.
Since answering this, I've been looking at my setup over and over trying different things.
I've found that no matter what, on attach or shy it will always select an item, either chosen or default by the library. Also if you set an active tab color after attach or setting TabListener it will also select or reselect. So in my case I was doing the attach, selection, then setting a active color, reselection. Hence why I need the into to be 0 on select and 1 on reselect in my solution.
I really have no clue how to have it never select. Unless you only attach when the bar is needed, and set it default selection to the tab you want, on the nav drawer or wherever.
Sorry.


MiniEngine: Possible error in CommandSignature

While implementing support for ExecuteIndirect I was looking at the code in CommandSignature.cpp / CommandSignature.h and I think the handling for root constant setting is slightly wrong.
The Constant() function on IndirectParameter allows setting multiple values a la Set*Root32BitConstants, which I believe means the data in the argument buffer is variable length according to the Num32BitValuesToSet parameter. The calculation in Finalize() though for the byte stride seems to assume only one 32-bit constant will be in the argument buffer:
            case D3D12_INDIRECT_ARGUMENT_TYPE_CONSTANT:
                RequiresRootSignature = true;
                ByteStride += 4;
                break;

It should probably be something like:
            case D3D12_INDIRECT_ARGUMENT_TYPE_CONSTANT:
                RequiresRootSignature = true;
                ByteStride += sizeof(UINT) * m_ParamArray[i].Constant.Num32BitValuesToSet;
                break;

I don't have a repro case/test case, I just saw this by inspection and it looked wrong.

I think you're right.  This got overlooked because we didn't test very many command signatures.  (We only needed to re-implement DrawIndirect() and DispatchIndirect().)  I'm trying to confirm in the documentation, but it makes sense that each indirect command stream would need space for all the constants.  Thanks for letting us know.  I'll try to to get this and a couple other fixes out to GitHub shortly.

This bug fix was included in the recent Creators Update push.


about loop edge, curved edge, quadratic edge

Greetings to the Sigma js team,
I was using the curved edge codes I found on Github, but it was not working properly.
I saw that you added curved edge in v3 version, thank you.
I offer two feature suggestions from you;

Can you add quadratic bezier edge arrow?

Is it possible to add loop edge in addition? In the system I use, there can be more than one loop edge on a node.

The new @sigma/edge-curve is supposed to draw quadratic Bézier curves. Can you precise how it is not working properly please?
Also, about the other questions:

For the arrow, the hardest part is to "stop" the curve "before" the target node. It is possible, but not a priority right now.
Self loops should indeed come at some point. I'll leave this ticket open for this very feature for now.

I guess I didn't explain it properly.
I am using 'sigma v2.4.0' version, I haven't used 'v3' version because it is in beta.
I found sample code on github for curved edges. so the sample code is not working properly.
There is a sample code for loop edges, if you want to examine it;
https://github.com/SpecterOps/BloodHound/commit/47bdcbaf2e269b4e0cf54f6277fec64aaf4a2f37#diff-2e356fea35ac46e0612aab930e14483eeacbd3b08248035ea167e5cd76198962

I close this ticket since the only missing feature is the self-loop, and ticket #1429 will be the reference for it.


Allow some annotations to be visible by default

Currently, the url of the HistomicsUI page includes the area of the image that is visible and the selected analysis task.  It would be nice to have a way to preserve which annotations are visible so that links could include this information.
Another possible route for this would be to have a flag on annotations to be visible by default.  If implemented, then when the slide is loaded, those annotations would show.  This could be in addition to the routing method (at which point the routing would also need to specify to hide those annotations).

This should probably just be a flag on the annotation (view-on-load: default (which is "new"), true, false).  This would be exposed on the annotation properties dialog so it could be changed.


Use nixbuild.net as a remote nix builder on CI

GitHub Actions Runners only have 7GB of memory which is proving to be too small to built ic-hs. So instead of building nix derivations on a runner locally we configure the runner to build derivations remotely on nixbuild.net.

nixbuild.net has built ic-hs and spend less than 5m of CPU time:
nixbuild.net> usage

Free build time left: 24:55:45

Resources used since 2022-05-01
-------------------------------
Build count       : 13
Successful builds : 13
Wall time         : 02:06
CPU time          : 04:15

I guess we can't really test how badly external PR break before this is in master? Maybe we can at least make it fail gracefully and just use local builds then (or maybe the nixbuild GitHub actions are already set up this way)

... or maybe the nixbuild GitHub actions are already set up this way

@rickynils mentioned in our email thread:

I should also say that if the nixbuild secret is unavailable to the nixbuild.net action, it will fail in a rather unhelpful way. We should probably add some option that would simply not configure the remote builder if the secret is missing, falling back to building locally (as Joachim mentions).

It would be great if nixbuild.net action handles missing keys gracefully.
For now I've made the nixbuild.net action conditional on the SSH key being present.


release: align repo with release tag and renaming

align the repo with the release tag
align the rename of the repo

:tada: This PR is included in version 1.0.41 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[Removal]: Salty Licorice Lynx

Hotspot Name
Salty Licorice Lynx
Hotspot b58 Address
112ZLQnjTUHgc1SfMGCZBAMsFoKFXJBQ19j8TETVkpRfDak28X4e
Discord Handle
georg#8625
Hotspot Manufacturer
Sensecap
Removal Reason
You are punishing me on the basis of a malfunctioning software algorithm and the assumption that the hot spots I have are not in the specified locations.
Modifications
No
Extra forwarders
No
Extra antennas
No
Additional Information

Gentlemen,
I work in a small ISP that provides internet in the town of Ihtiman and several villages around that town. Thanks to my work, I had the opportunity and decided to install 11 hotspot miners in good locations, where our company already has electricity and internet connection. Of these 11 hotspots, 8 were included in the list, which the validators are already checking, and in practice the yield of these devices has decreased sharply, with a tendency to stop within a few days.
I've been thinking a lot about why my devices are on the list, and I've come to the conclusion that it's probably due to a malfunctioning software algorithm on a bot.
I would like to draw your attention to the fact that the area where these 8 devices are located is located in a valley surrounded by mountains and therefore my devices do not and do not witness devices at a distance of more than 30 km, with few exceptions. Thus, at first glance, it seems that the cluster located in the region of Ihtiman testifies to itself.
Gentlemen, fix your software taking into account the altitude of the terrain and the peculiarities of the earth's 3-dimensional terrain. Until then, I hope you will remove my devices from the ban list.
All over the world, people are innocent until proven otherwise, only in totalitarian states and in the Helium network are they obviously guilty, until proven otherwise!

I am sure that this is not the only case with this cluster. Hundreds of clusters with real locations are probably punished, which are located in closed valleys around the world. This is one of the reasons why everyone's profits are falling, namely because real beacons are declining.

Thank you for your submission. This has been reviewed and may be considered for a future change to the denylist. If any change will be made, it'll likely be in the next 1-2 weeks assuming (1) it is proposed to be removed, (2) denylist signers agree on the change, and (3) the release is published to all Hotspots. Please do not open additional issues regarding this Hotspot.

Why are we on the ban list again, what has changed?


Document some of the project ideas.

Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

[ ] Tests pass
[ ] Appropriate changes to documentation are included in the PR

Fixes #7


labels for FABs

It would be awesome if FABs added labels like other libraries, for example:
https://github.com/mastermoo/react-native-action-button
react-native, react and native-base version
latest, "native-base": "^2.4.2",
Expected behaviour
I can add a label to a FAB
Actual behaviour
Steps to reproduce (code snippet or screenshot)
Screenshot of emulator/device
Is the bug present in both ios and android or in any one of them?
Any other additional info which would help us debug the issue quicker.

@ctaggart Thank you for suggestion
We will keep it in our list

Cool, where is your list?

Any updates?

I would also love that feature! :)

any update

@SupriyaKalghatgi is it available now ?

any update ?

There is a workaround with flex direction row reverse. with further styling you can make it look like what you want
 <Fab
      active={active}
      direction="up"
      position="bottomRight"
      containerStyle={{ flexDirection: "row-reverse" }}
      primary
    >

you can add Text inside button like this. But you may have to set a width
<Button
        style={ {
    width: 130 ,
    justifyContent: 'center',
    paddingTop: 10,
    paddingBottom: 10,
    paddingRight: 20,
    paddingLeft: 10,}}
      >
<Text>Button content</Text>
<Icon name="add" />
</Button>

Any update in this I also want to add labels to the FABs.

@haseebeqx  is right.
I did some adjustment to the codes and it worked out 100% fine.
`
<Button
                            style={ {
                              width: this.state.FabActive?150:40 ,
                              justifyContent: 'center',
                              paddingTop: 10,
                              paddingBottom: 10,
                              paddingRight: 20,
                              paddingLeft: 10,
                              backgroundColor: 'rgba(52, 52, 52, 0.0)',
                              shadowOffset: { height: 0, width: 0 },
                              shadowOpacity: 0,
                              elevation:0
                          }}>

                                    <Text style={{marginRight:7}}> {this.state.FabActive?'Button content':null}</Text>

                                    <View style={{
                                      height:40,
                                      width: 46,
                                      marginRight:-20,
                                      backgroundColor: '#3B5998',
                                      justifyContent:'center',
                                      alignContent:'center',
                                      borderRadius:28
                                    }}>
                                          <Icon  name="logo-facebook" />
                                      </View>

                          </Button>

`
Had to hide and show the content of the text depending on the Fab state.

@haseebeqx is right.
I did some adjustment to the codes and it worked out 100% fine.
`
                      <Button
                            style={ {
                              width: this.state.FabActive?150:40 ,
                              justifyContent: 'center',
                              paddingTop: 10,
                              paddingBottom: 10,
                              paddingRight: 20,
                              paddingLeft: 10,
                              backgroundColor: 'rgba(52, 52, 52, 0.0)',
                              shadowOffset: { height: 0, width: 0 },
                              shadowOpacity: 0,
                              elevation:0
                          }}>

                                    <Text style={{marginRight:7}}>
                                          {this.state.FabActive?'Button content':null}
                                      </Text>

                                    <View style={{
                                      height:40,
                                      width: 46,
                                      marginRight:-20,
                                      backgroundColor: '#3B5998',
                                      justifyContent:'center',
                                      alignContent:'center',
                                      borderRadius:28
                                    }}>
                                          <Icon  name="logo-facebook" />
                                      </View>

                          </Button>

`
Had to hide and show the content of the text depending on the Fab state.

great thanks for sharing your code. Brilliant workaround!

You can also workaround with
      <Fab
        containerStyle={appTheme.fabContainerStyle}
        style={appTheme.fabStyle}
        position="bottomRight"
        direction="up"
        active={fabActive}
        // onPress={() => this.onRefresh()}
        onPress={() => this.setState({ fabActive: !fabActive })}
      >
        <View>
          <Text
            style={{
              ...appTheme.headMaxi,
              position: "absolute",
              right: width(10),
              color: appColors.appBlue,
            }}
          >
            New
          </Text>
          <Icon name="ios-add" style={appTheme.fabIconStyle} />
        </View>
      </Fab>

You can also workaround with FAB
      <Fab
        containerStyle={styles.fabContainerStyle}
        style={styles.fabStyle}
        position="bottomRight"
        direction="up"
        active={fabActive}
        // onPress={() => this.onRefresh()}
        onPress={() => this.setState({ fabActive: !fabActive })}
      >
        <View>
          <Text
            style={{
              position: "absolute",
              right: 50,
              color: 'blue',
              backgroundColor: 'white',
              elevation: 2,
              padding: 2
            }}
          >
            New
          </Text>
          <Icon name="ios-add" style={appTheme.fabIconStyle} />
        </View>
        {fabActive && (
          <Button style={{ backgroundColor: "#34A34F" }}>
            <Text
              style={{
                position: "absolute",
                right: 50,
                color: 'blue',
                backgroundColor: 'white',
                elevation: 2,
                padding: 2
              }}
            >
              Invoice
            </Text>
            <Icon name="logo-whatsapp" />
          </Button>
        )}
      </Fab>

<Fab
containerStyle={styles.fabContainerStyle}
style={styles.fabStyle}
position="bottomRight"
direction="up"
active={fabActive}
// onPress={() => this.onRefresh()}
onPress={() => this.setState({ fabActive: !fabActive })}

    New

{fabActive && (

      Invoice

)}

Another work around with FAB
      <Fab
      containerStyle={styles.fabContainerStyle}
      style={styles.fabStyle}
      position="bottomRight"
      direction="up"
      active={fabActive}
      // onPress={() => this.onRefresh()}
      onPress={() => this.setState({ fabActive: !fabActive })}
      >
      <View>
        <Text
          style={{
            position: "absolute",
            right: 50,
            color: 'blue',
            backgroundColor: 'white',
            elevation: 2,
            padding: 2
          }}
        >
          New
        </Text>
        <Icon name="ios-add" style={appTheme.fabIconStyle} />
      </View>
      {fabActive && (
        <Button style={{ backgroundColor: "#34A34F" }}>
          <Text
            style={{
              position: "absolute",
              right: 50,
              color: 'blue',
              backgroundColor: 'white',
              elevation: 2,
              padding: 2
            }}
          >
            Invoice
          </Text>
          <Icon name="logo-whatsapp" />
        </Button>
      )}
      </Fab>


Error on enabling AutoUpgrade clicks.

Enabling autoupgrade clicks leads to an error that stops the game from working.
Uncaught TypeError: Cannot read property 'idx' of undefined
happens here:
if(enableAutoUpgradeClick) {
		key = 'upgr_' + upg_map[UPGRADES.CLICK_UPGRADE].idx;
		if(cache.hasOwnProperty(key)) { s().TryUpgrade(cache[key].find('.link')[0]); }
	}

Fixed.


Engage Preset needs a current bankm

Currently only supports explicit bank, needs current bank

Not needed with new approach


contribute wskdebug to Apache OpenWhisk

Contribute wskdebug to Apache OpenWhisk, possibly as replacement of wskdb.
Note: while the IP clearance is ongoing, do not merge any pull requests from new external contributors other than the existing contributors. This would complicate the process. They can be merged after the contribution to OpenWhisk.

[x] propose contribution to OpenWhisk => respond on openwhisk dev list here
[x] demo wskdebug in OpenWhisk community call Aug 7th

11AM EDT (Eastern US), 5PM CEST (Central Europe), 3PM GMT, 11PM (midnight)(Beijing)
Zoom: https://zoom.us/my/asfopenwhisk
=> Recording
=> Slides
=> Meeting notes

[x] kick off contribution proposal on OW mailing list => mail
[x] wait for openwhisk contribution approval, if positive, continue below
[x] legal: determine whether this is a grant or contribution => it's a grant
[x] legal: research required steps for a grant
[x] draft grant to Apache https://www.apache.org/licenses/software-grant.txt
[x] get signed and submit to<EMAIL_ADDRESS>[x] IP clearance

internal checks for clearance
no external contributions during this time aka no PR merging
https://svn.apache.org/repos/asf/incubator/public/trunk/content/ip-clearance/openwhisk-wskdebug.xml
Thread on OW mailing list
action items

[x] (a) a brief description of the code base
[x] (b) submitting the appropriate software grant (based on the set of contributors to wskdebug)
[x] (c) completing the sections of the "Copyright" and "Verify distribution rights" of the IP clearance form.

[x] ensure existing contributors have signed the Apache ICLA
[x] wait for Openwhisk PMC to vote
[x] new repo: https://github.com/apache/openwhisk-wskdebug
[x] PR with granted code to new openwhisk repo under github.com/apache: https://github.com/apache/openwhisk-wskdebug/pull/1
[x] remove Adobe attribution in the copyright headers and license
[x] add standard openwhisk docs/readmes to repo (contribution guidelines, etc.)
[x] ngrok service usage statement (see below)
[x] change name in package.json to @openwhisk/wskdebug or whatever the open source name would be, naming thread here
[x] make it pass rcverify.sh
[x] enable CI - depends on github actions support
[x] transfer issues and re-create PRs to new openwhisk repo, depends on INFRA-19902
[x] initial npm release under new name @openwhisk/wskdebug, version 1.2.0 (from @adobe/wskdebug version 1.1.2)
[x] deprecate @adobe/wskdebug package
[x] archive git repo and update readme

ngrok:
On Wed, Feb 19, 2020 at 7:02 PM Alexander Klimetschek
<EMAIL_ADDRESS>wrote:
> Bertrand wrote:
> > IIUC there's no bundling of ngrok with wskdebug and users have to download ngrok separately?
> Not quite. Their npm client library is bundled with wskdebug, and this is licensed under BSD-2-Clause...

Ok, BSD 2 clause is fine as per [1],

> When you run wskdebug you have the option to specify —ngrok on the command line which will by
> default use their free tier service, or you could also use their paid plans if you want to (I think)....

I think mentioning this in the module's README or in the --ngrok help
option text would be sufficient - I don't think anything banned by [1]
is being redistributed so you just want to warn users that by default
they are led to use that service.

-Bertrand

[1] https://apache.org/legal/resolved.html

Has moved to apache/openwhisk-wskdebug.
First release @openwhisk/wskdebug 1.2.0 has been made!


Button background not respecting theme light/dark since v1.114.3

Current Behavior
Button background isn't updating with theme light/dark/inverse.  It stays light gray, unless a colored theme is used.
Expected Behavior
Background is black for theme "dark", and light gray for theme "light"
Tamagui Version
Started in 1.114.3, behaving properly in 1.114.2

Platform (Web, iOS, Android)
Using iOS builds to see behavior.

Reproduction

Install starter app and select expo-router template (likely the template isn't important, but this is what I was testing with)
Update CurrentToast.tsx with the following buttons:

                <Theme inverse>
                    <Button>
                        inverse
                    </Button>
                </Theme>
                <Theme name="light">
                    <Button>
                        light
                    </Button>
                </Theme>
                <Theme name="dark">
                    <Button>
                        dark
                    </Button>
                </Theme>
                <Theme name="red">
                    <Button>
                        red
                    </Button>
                </Theme>

Run app, and notice that three out of four buttons are the same:

System Info
System:
    OS: macOS 14.6.1
    CPU: (16) arm64 Apple M3 Max
    Memory: 6.43 GB / 128.00 GB
    Shell: 3.7.1 - /opt/homebrew/bin/fish
  Binaries:
    Node: 22.9.0 - ~/.nvm/versions/node/v22.9.0/bin/node
    Yarn: 4.5.0 - ~/.nvm/versions/node/v22.9.0/bin/yarn
    npm: 10.8.3 - ~/.nvm/versions/node/v22.9.0/bin/npm
  Browsers:
    Chrome: 129.0.6668.101
    Chrome Canary: 132.0.6789.0
    Safari: 18.0.1
  npmPackages:
    @babel/core: ^7.24.6 => 7.25.2
    @expo/metro-config: ~0.18.4 => 0.18.11
    @expo/metro-runtime: ~3.2.1 => 3.2.3
    @react-navigation/native: ^6.1.17 => 6.1.18
    @tamagui/babel-plugin: ^1.115.5 => 1.115.5
    @tamagui/cli: ^1.115.5 => 1.115.5
    @tamagui/config: ^1.115.5 => 1.115.5
    @tamagui/lucide-icons: ^1.115.5 => 1.115.5
    @tamagui/metro-plugin: ^1.115.5 => 1.115.5
    @tamagui/toast: ^1.115.5 => 1.115.5
    @types/react: ~18.2.79 => 18.2.79
    @types/react-native: ^0.73.0 => 0.73.0
    babel-preset-expo: ^11.0.6 => 11.0.14
    burnt: ^0.12.2 => 0.12.2
    expo: ~51.0.32 => 51.0.32
    expo-build-properties: ~0.12.5 => 0.12.5
    expo-font: ~12.0.10 => 12.0.10
    expo-linking: ~6.3.1 => 6.3.1
    expo-router: ~3.5.23 => 3.5.23
    expo-splash-screen: ~0.27.5 => 0.27.5
    expo-status-bar: ^1.12.1 => 1.12.1
    expo-system-ui: ~3.0.7 => 3.0.7
    expo-web-browser: ~13.0.3 => 13.0.3
    react: 18.3.1 => 18.3.1
    react-dom: 18.3.1 => 18.3.1
    react-native: 0.75.2 => 0.75.2
    react-native-reanimated: ~3.15.1 => 3.15.1
    react-native-safe-area-context: 4.10.9 => 4.10.9
    react-native-screens: ~3.34.0 => 3.34.0
    react-native-svg: 15.6.0 => 15.6.0
    react-native-web: ^0.19.12 => 0.19.12
    tamagui: ^1.115.5 => 1.115.5
    typescript: ^5.5.2 => 5.6.2

Screenshot of latest v 1.115.5:

Screenshot of v 1.114.3:

Screenshot of v 1.114.2:

Just tried this outside a Toast and it's working as expected.
Potentially something to do with being nested in a Toast. Will check futher.

@jonsherrard I was having this issue in my own app of course, and used the starter app to repro, but I wasn't using a Toast in my personal app when I saw this behavior.
Indeed though, even in the starter app, if I update two.tsx with the following, I still see the broken behavior:
export default function TabTwoScreen() {
  return (
    <View flex={1} alignItems="center" justifyContent="center" bg="$background">
      <Text fontSize={20} color="$blue10">
        Tab Two
      </Text>
        <Theme inverse>
            <Button>
                inverse
            </Button>
        </Theme>
        <Theme name="light">
            <Button>
                light
            </Button>
        </Theme>
        <Theme name="dark">
            <Button>
                dark
            </Button>
        </Theme>
        <Theme name="red">
            <Button>
                red
            </Button>
        </Theme>

    </View>
  )
}

Screenshot:

So it doesn't feel like it has anything to do with Toast, but I could be wrong of course.

Will take a look here shortly.

i believe this was fixed, can re-open if not

@natew This issue appears on the latest version, v1.115.5, so I think this issue should be reopened.  Here is the screenshot of Tab Two with the above changes:

Just noticed that there is a new version available, v1.116.1.  I've confirmed the issue still appears on this latest version on iOS.  I also checked Android, which I hadn't in any of my previous reports, and this issue does not appear on Android, so it may be an iOS-specific issue.

I can confirm themeInverse is not working in v1.116.8.

Sorry guys, fix is out in 1.116.9 - though I think needs a further fix for deeply nested theme inverse which I have logged.

It's going out now just closing so I can close tab :)


global contexts restructurization

Seems like every Web3 or Auth or Snap, ...etc contexts in main.ts could rerender router provider


HHH-9951 - Fixes/Improvements for @Formula usage.

Enforce lower-case storage of custom keyword to reduce confusion with @Formula generation.
Check column types when determining if a token needs to be escaped.

Thanks for the PR. Did you sign the CLA?

Just did, thanks.

You're welcome. This PR needs to be analyzed along with this one as well and see which one needs to be merged, or if we need to combine them both.

Replaced this PR with this one which is rebased, uses Hibernate code style, and adds the license headers.


cross-env only for selected tasks?

I've noticed that cross-env is only used to run the build and start tasks. why is that?

I've only used it on the scripts that set environment variables, as that is what it is used for. 😀
i.e. cross-platform supported inline environment variable specification

Wasn't aware of that. So it basically only resolves cross-platform problems with environment vars? I'm not too cross-platform at the moment, so i wouldn't know - always thought it did something more 😏

Cross-Env deals with mainly quirks caused from using environment variables and Windows.

Thanks. I've always used better-npm-run to deal with that, so i wasn't aware that cross-env basically does the same. Was wondering why the hell we only have two npm scripts that work cross env 😆


[FEAT] Display duplicate count

After using the avoidDuplicates option, when multiple identical messages are pushed, only one notification is displayed. Is it possible to display the number of current messages on the notification? That is, when multiple messages are sent, the notification will automatically reset the duration and display the number of current duplicate messages. It would be great if it is possible. Thank you.

Hi @LIUKQSGITHUB, the duration is already "reset" when a duplicate is created. For example, if you create a notification with a duration of 3s, and after 2 seconds you push it again, the notification timeout is updated from 1s (remaining) to 3s (initial duration). The notification is also announced again by screen readers.
Regarding displaying the duplicate count, there are no plans on implementing it. By the way, Notivue gives you all the tools to implement it on your own very easily.
To do that, simply access and use item.duplicateCount in the default slot. This works the same way with both Built-in Notifications and Custom Components:
StackBlitz example

<template>
    <Notivue v-slot="item">
      <Notification :item="item">
        <div class="Notivue__duplicateCount" v-if="item.duplicateCount > 0">
          {{ item.duplicateCount }}
        </div>
      </Notification>
    </Notivue>
</template>

<style scoped>
.Notivue__duplicateCount {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;

  display: flex;
  justify-content: center;
  align-items: center;

  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  background-color: #f75656;
  color: #fff;

  font-size: 0.725rem;
  font-weight: 600;
  line-height: 1;
}
</style>


Diff 2 JSONs and create Patch

How would you diff a left and right hand side json and create patches?

You can build something together using this crate: http://crates.io/crates/treediff.
It would be a good optional feature of this crate: provide differ that generates JSON Patch (using treediff behind the scenes)!

Released to crates.io


IDS-Testbed - Problem Request artifact and Offers

we got the IDS TESTBED running and ran the preconfiguration in postman:

so far so good ... Unfortunately, we get an error message when creating an offer according to your instructions:
https://docs.internationaldataspaces.org/ids-knowledgebase/v/ids-reference-testbed/getting-started-with-ids-reference-testbed/preparingpreconfiguredsetup

In validating preconfigured Seutp: Interaction between connectors …the following error appears:

How to solve this problem?

This error should be fixed with pull request #143.
Please check again your error and the comment regarding the contract date.
I close this issue, if you continue to have problems feel free to open it again.


Conversion from lambda to function definition leads to syntax error

See: #1206.

When running ruff against
_ = lambda x: setattr(x, "bar", 1)

with everything enabled, this produces
def _(x):
    return x.bar = 1

which is invalid syntax.

We need to detect that we're in a context for which statements (not just expressions) are valid.

Like, it's easy to special-case lambdas, but this could apply in other contexts too, like:
if setattr(x, "bar", 1):
  pass


cardano-client: use non experimental versions of node-to-client protocol

Bump cardano-client to <IP_ADDRESS>.

The changes are unrelated to failed nix jobs.


Updated Map List View

Separated map page into JS and CSS components
Updated map css

r @ehamp

LGTM! Beaitiful :)


feat(http_status): Add methods to check HTTP status code ranges

This commit adds new methods to the HttpStatus class that allow checking if a given HTTP status code falls within specific ranges. The added methods include isInformationHttpStatusCode, isSuccessfulHttpStatusCode, isRedirectHttpStatusCode, isClientErrorHttpStatusCode, and isServerErrorHttpStatusCode. These methods will be useful for determining the category of an HTTP status code without having to manually compare it against each range.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
30

Relevant Lines:
30

💛  - Coveralls


Missing red dot

The “seconds” hand is missing the red dot as per SBB clock photo (https://www.uhrenschmuck24.ch/mondaine-wall-clock-a990-clock-16sbb.html)

The image you provide represents the wall clock, which is not the same as the one we see in a station.
In a station, there is no dot in the middle. It can clearly be seen in the photos of this article from swissinfo:
https://www.swissinfo.ch/fre/finance/jubil%C3%A9_la-c%C3%A9l%C3%A9brissime-horloge-cff-a-75-ans/44690372

I noticed just now 😄, it could be provided as option anyway. There is also a small white dot in some SBB clocks that could be added, but it doesn’t appear in all the photos so I’m not sure

Yeah that could be an option, at the moment i prefer to make sure the clock appear correctly on any screen.


pycrypto install error

Hi, Trying to install the flare vm and am getting an error with pycrypto install and then completely errors out further down. Win10 VM. Thanks!
[Python] Command "c:\python37\python.exe -u -c "import setuptools, tokenize;file='C:\Users\malware\AppData\Local\ChocoCache\pip-install-nbozlots\pycrypto\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record C:\Users\malware\AppData\Local\ChocoCache\pip-record-3dlfqu46\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\malware\AppData\Local\ChocoCache\pip-install-nbozlots\pycrypto\
Chocolatey upgraded 0/0 packages. 0 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
[Python]     running build_ext
[Python]     warning: GMP or MPIR library not found; Not building Crypto.PublicKey._fastmath.
[Python]     building 'Crypto.Random.OSRNG.winrandom' extension
Chocolatey reported an unsuccessful exit code of 1. See C:\Users\malware\AppData\Local\Boxstarter\boxstarter.log for details.

Boxstarter finished Calling Chocolatey to install pycrypto. This may take several minutes to complete... 00:00:10.6347785
Boxstarter finished Calling Chocolatey to install pycrypto. This may take several minutes to complete... 00:00:10.6347785

[Python]     creating build\temp.win-amd64-3.7
ExitCode: 1
[Python]     creating build\temp.win-amd64-3.7\Release
ExitCode: 1
ERROR: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Failed to install pycrypto
[Python]     creating build\temp.win-amd64-3.7\Release\src
[Python]     C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Isrc/ -Isrc/inc-msvc/ -Ic:\python37\include -Ic:\python37\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" /Tcsrc/winrand.c /Fobuild\temp.win-amd64-3.7\Release\src/winrand.obj
[Python]     winrand.c
[Python]     C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\inttypes.h(26): error C2061: syntax error: identifier 'intmax_t'
[Python]     C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\inttypes.h(27): error C2061: syntax error: identifier 'rem'
[Python]     C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\inttypes.h(27): error C2059: syntax error: ';'
[Python]     C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\inttypes.h(28): error C2059: syntax error: '}'
[Python]     C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\inttypes.h(30): error C2061: syntax error: identifier 'imaxdiv_t'
[Python]     C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\inttypes.h(30): error C2059: syntax error: ';'
[Python]     C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\inttypes.h(40): error C2143: syntax error: missing '{' before '__cdecl'
[Python]     C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\inttypes.h(41): error C2146: syntax error: missing ')' before identifier '_Number'
[Python]     C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\inttypes.h(41): error C2061: syntax error: identifier '_Number'
[Python]     C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\inttypes.h(41): error C2059: syntax error: ';'
[Python]     C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\inttypes.h(42): error C2059: syntax error: ')'
[Python]     C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\inttypes.h(45): error C2143: syntax error: missing '{' before '__cdecl'
[Python]     C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\inttypes.h(46): error C2146: syntax error: missing ')' before identifier '_Numerator'
[Python]     C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\inttypes.h(46): error C2061: syntax error: identifier '_Numerator'
[Python]     C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\inttypes.h(46): error C2059: syntax error: ';'
[Python]     C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\inttypes.h(46): error C2059: syntax error: ','
[Python]     C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\inttypes.h(48): error C2059: syntax error: ')'
[Python]     C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\inttypes.h(50): error C2143: syntax error: missing '{' before '__cdecl'
[Python]     C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\inttypes.h(56): error C2143: syntax error: missing '{' before '__cdecl'
[Python]     C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\inttypes.h(63): error C2143: syntax error: missing '{' before '__cdecl'
[Python]     C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\inttypes.h(69): error C2143: syntax error: missing '{' before '__cdecl'
[Python]     C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\inttypes.h(76): error C2143: syntax error: missing '{' before '__cdecl'
[Python]     C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\inttypes.h(82): error C2143: syntax error: missing '{' before '__cdecl'
[Python]     C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\inttypes.h(89): error C2143: syntax error: missing '{' before '__cdecl'
[Python]     C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\inttypes.h(95): error C2143: syntax error: missing '{' before '__cdecl'
[Python]     error: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe' failed with exit status 2

@rkropff Thank you for reporting the issue. Is this a fresh installation of windows? Did you already have Python3 installed before installing FLARE VM?

Thank you @rkropff. Issue confirmed.

@rkropff We are supporting both Python2 and Python3. PyCrypto is obsolete and replaced by PyCryptodome for Python3. I have created #156 to replace PyCrypto with PyCryptodome. Thank you for reporting this issue.

Fixed in FLARE VM 2.1


A secure channel could no be established: Could not create SSL/TLS secure channel.

Discussed in https://github.com/microsoft/ALAppExtensions/discussions/21733

Originally posted by antonioaayala January 12, 2023
Hello,
I have an issue calling API from AL on SaaS, when I deploy my app on docker Onpremise container Client.Send works correctly, but whe i deploy to production or Sandox on SaaS, I got the error "Could not create SSL/TLS secure channel...."
My code is
var
CB64: Codeunit "Base64 Convert";
Client: HttpClient;
Request: HttpRequestMessage;
Content: HttpContent;
Response: HttpResponseMessage;
RequestHeaders: HttpHeaders;
ContentHeaders: HttpHeaders;
CertString: Text;
ContentString: Text;
ResponseString: Text;
AuthString: Text;

begin
Clear(Client);
Request.SetRequestUri('https');
Request.Method := 'GET';

AuthString := 'Basic xxxxxxxxxxxxxxxxxx';
Client.DefaultRequestHeaders.Add('Authorization', AuthString);
Client.DefaultRequestHeaders.Add('User-Agent', 'Dynamics 365');
Client.Get('https', Response);

Response.Content.ReadAs(ResponseString);
Message(Format(Response.HttpStatusCode));
message(ResponseString);

end;
I have tried wiht Client.Send to
Thanks a lot

Hello,
IF external Endpoint use a SSL Certificate and has activated TSL 1.3 it works. But if TSL active is 1.2 or lower doesn't work.It only happens on SaaS environments, OnPremise doesn't happens.
Thanks

Hello! You are using wrong place to raise this issue. We are processing extensibility requests here, you should create support request (ICM) to get this fixed or get help.

Ok , thanks


feat: add custom openBIS type

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

3 of 3 (100.0%)  changed or added relevant lines in 1 file are covered.
7 unchanged lines in 5 files lost coverage.
Overall coverage decreased (-0.04%) to 90.109%

Files with Coverage Reduction
New Missed Lines
%

components/renku_data_services/base_api/pagination.py
1
91.23%

components/renku_data_services/connected_services/db.py
1
85.93%

components/renku_data_services/user_preferences/db.py
1
90.14%

components/renku_data_services/crc/blueprints.py
2
88.82%

components/renku_data_services/crc/db.py
2
87.3%

Totals

Change from base Build<PHONE_NUMBER>:
-0.04%

Covered Lines:
8791

Relevant Lines:
9756

💛  - Coveralls


Fixed events & logs UI

Logs UI bug

Events UI bug

Checklist:

[ ] I've searched in the docs and FAQ for my answer
[x] I've included steps to reproduce the bug.

Describe the bug
Some CSS from parent component is overriding the CSS in new component and showing random behaviour
To Reproduce

User goes to devtron apps
User selects pod < logs
User selects pod < events

Checklist:

[x] The title of the PR states what changed and the related issues number (used for the release note).
[ ] Does this PR require documentation updates?
[ ] I've updated documentation as required by this PR.
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas

We are not considering the changes in this branch so we are not merging it, but some changes are merged child brach


Feature/support connect message

Added support for CONNECT command according to NATS protocol, if the user doesn't send anything within first 30 seconds (configurable) then we disconnect it.
Added some base classes for integration tests as well

This PR also fixes server crashing if one of the clients causes the exception. The server would not actually crash but would block indefinitely on transport selector


Add wildcard support for goarch

In order to compile all supported GOARCH for a specified GOOS we have to specify all combinations.
For example to compile for all supported GOARCH on linux:
--targets=linux/amd64,linux/arm64,linux/386,linux/arm
Adding support for wildcard will make the command more usable in this case:
--targets=linux/*

I would like to take this up.

Added in #17


Set-PnPField: add parameters for properties

This PR adds parameters for each of the settable properties across all the different field types in Set-PnPField.
My goals were:

Autocomplete shouldn't suggest invalid combinations
Shouldn't have to add any additional parameters just to satisfy point 1.

I think I've achieved it. It took quite a few attempts and for I a while I thought it wouldn't be possible or require an unwieldy number of combinations - but it seems to works
Using dynamic parameters I think there's about 500 parameter+parametersets combos in total to make it all work! Not too bad considering the number of properties.
> (Get-Command set-pnpfield).ParameterSets | select Name, { ($_.Parameters |? IsMandatory).Name }, {$_.Parameters.Count}

Name                                                    ($_.Parameters |? IsMandatory).Name  $_.Parameters.Count
----                                                   ------------------------------------- -------------------
Field                                                  Identity                                               46
FieldCalculated                                        Identity                                               51
FieldChoice                                            Identity                                               49
FieldComputed                                          Identity                                               47
FieldCurrency                                          Identity                                               54
FieldDateTime                                          Identity                                               51
FieldGeolocation                                       {Identity, FieldGeolocation}                           46
FieldGuid                                              {Identity, FieldGuid}                                  46
FieldLocation                                          {Identity, FieldLocation}                              53
FieldLookup                                            Identity                                               54
FieldMultiChoice                                       Identity                                               48
FieldMultiLineText                                     {Identity, FieldMultiLineText}                         53
FieldNumber                                            Identity                                               53
FieldRatingScale                                       Identity                                               54
FieldText                                              Identity                                               47
FieldUrl                                               Identity                                               47
FieldUser                                              Identity                                               59
FieldCalculated_FieldCurrency                          Identity                                               18
FieldCalculated_FieldDateTime                          Identity                                               18
FieldCalculated_FieldCurrency_FieldNumber              Identity                                               18
FieldChoice_FieldMultiChoice_FieldRatingScale          Identity                                               19
FieldCurrency_FieldNumber                              Identity                                               23
FieldDateTime_FieldUrl                                 Identity                                               18
FieldLocation_FieldMultiLineText                       Identity                                               23
FieldLocation_FieldLookup_FieldMultiLineText_FieldUser Identity                                               18
FieldLookup_FieldUser                                  Identity                                               24

The two main ways of using this cmdlet I've tried to polish are:

Specify the type of field, using one of the new switch parameters added for either field type eg. -FieldChoice, and then using the completion which will only suggest the applicable properties.
Changing fields without caring about their types - eg. Updating the -Required property for all fields. No -Field* type parameter should be required in this case. This should also work for properties that are shared by different types, even in different hierarchies.  Eg. there are ~18 shared by FieldCalculated and FieldDateTime.

The Values hashtable parameter remains for the flexibility and compatibility.
Also added returning the updated Field because it makes testing so much easier, but could take that out if desired.
edit: this was draft for a while but it's probably ready.

@fowl2 Can you elaborate on how this is supposed to work or how I can test it? When I build this PR branch, it doesn't show me any of the dynamic suggestions it seems.

They suggestions are for full parameters, not part of -Values.
Try:

adding -FieldChoices and seeing how -MaximumValue is not suggested, but -Choices is.
adding -MaximumValue and seeing how -Choices is not suggested, but -MinimumValue is.

For me this doesn't work. When I try the second same you give, it does resolve to Choices when specifying MaximumValue

The first one seems to work:

It does not resolve MaximumValue

This appears to be PowerShell behavior - if there is only one possible parameter, it will be suggested, even if it is invalid. If you typed Set-PnPField -Identity Something -FieldChoice -MaximumV it would also complete, but not suggest.
With the Set-PSReadLineKeyHandler -Key Tab -Function MenuComplete set it is more clear(ly not suggested):

It will not actually allow the cmdlet run like this:

I appreciate all the hard work you've put into this @fowl2, but it never really became clear to us in the team what the true added value was and if it works well. I don't feel it is useful to keep this open any longer than the 1+ year it already has. I'm sorry but I'm going to reject the PR as I find this cmdlet too trivial to pass through a change that I don't fully understand or can test.


2 tailwind css configuration

Changes made:
Install TailwindCSS and set up tailwind.config.css file.
Add utility classes for general styling to the config files.
Related issue:
#2
Related Issue

Resolve #2

Add Tailwind and Postcss configs to the .prettierignore file so that the prettier check ignore them
 postcss.config.js
 tailwind.config.js```


Add optional tools to Airy

Add helm charts to deploy redis and postgresql servers inside the Airy instance.

this is done right? @ljupcovangelski

@AitorAlgorta yes, but I'd keep it open until we don't fix the display on the status page.


Speed of levenshtein

Thank you for your great package
I compared this package speed with other cpython pakages and it is slower.
is it possible to improve the speed?
a = 'fsffvfdsbbdfvvdavavavavavava'
b = 'fvdaabavvvvvadvdvavavadfsfsdafvvav'
# levenshtein
%%timeit
import editdistance
editdistance.eval(a, b)
# 2.12 µs ± 14.1 ns per loop (mean ± std. dev. of 7 runs, 100000 loops each)

%%timeit
from strsimpy.levenshtein import Levenshtein
Levenshtein = Levenshtein()
Levenshtein.distance(a,b)
# 528 µs ± 990 ns per loop (mean ± std. dev. of 7 runs, 1000 loops each)```

editdistance is fast because it is implemented in C++. But this library is purely implemented in Python, so it is much slower.


feature request: sample counts for genotype at position in database

This feature is already implemented as --show-samples. But this is only available in gemini query, not anything else (automosal_recessive , de_novo, etc.).
It would be really useful to quickly see how often a variant is present in our cohort.
It'd also be nice to have the option of printing the number of samples instead of the sample names.

Can you use num_het and num_hom_alt for this?

Oh yes, but with an option to parse by phenotype? Eh, this is getting complicated in my head.


First day of week configurable

Hi,
Would it be possible to make the first day of week a configurable attribute of for example the dataview context entity? Maybe the Height could also be made configurable.
Kind regards,
Jeroen Pot

These would be nice additions but would require an extra set of properties in the widget.The widget currently already consists of an extensive list and we don't want to make the configuration more complex by offering lots of configuration options .

Hi Roeland,
Too bad. As long as the options are relevant and clear I do not mind more options. I now need to define 7 calendars which are all the same, expect for this value [😉]  When I need to change say the qualification, I need to make sure to do that in all calendar's.
I love this widget for the rest.
Kind regards,
Jeroen Pot

From: Roeland Salij<EMAIL_ADDRESS>Sent: 16 June 2015 10:27
To: mendix/Calendar
Cc: Jeroen Pot
Subject: Re: [Calendar] First day of week configurable (#16)
These would be nice additions but would require an extra set of properties in the widget.The widget currently already consists of an extensive list and we don't want to make the configuration more complex by offering lots of configuration options .
—
Reply to this email directly or view it on GitHubhttps://github.com/mendix/Calendar/issues/16#issuecomment-112332032.

Hi Jeroen,
I was working on other issues and changed my mind.

The height wil be set to 'auto' when you set the height value to zero.
I've added a property which takes an attribute to set first day and to set showWeekends.

I'm curious for why you want 7 calendars with different 'first days'. Can you please explain?

Brilliant! Thank you.
I am building a system where people have a number of appointments on a day. They want to see all apointments in a week view with the current day as the first day. So I created a temp field that determines the current day, And I have 7 calendars in a table with conditional visibilty to show the 7 calendars where each calendar has a different first day.
Kind regards,
Jeroen Pot

From: Roeland Salij<EMAIL_ADDRESS>Sent: 16 June 2015 16:01
To: mendix/Calendar
Cc: Jeroen Pot
Subject: Re: [Calendar] First day of week configurable (#16)
Hi Jeroen,
I was working on other issues and changed my mind.

The height wil be set to 'auto' when you set the height value to zero.
I've added a property which takes an attribute to set first day and to set showWeekends.

I'm curious for why you want 7 calendars with different 'first days'. Can you please explain?

Reply to this email directly or view it on GitHubhttps://github.com/mendix/Calendar/issues/16#issuecomment-112443294.


Issue with where condition True when it should not

Hello,
I am working on a formula 1 dataset where data gives the championship standings at the end of each race. Trying to compute the championship winner for each year (so in theory driver with position == 1 at the end of the year) I am having trouble with a where statement that tests if a measure is equal to another.
It seems a where statement returns True in cases it is not supposed to. I am raising this issue after showing it to @fabiencelier
I have a first measure giving the name of winner of a round (raceNr) for a particular year:
m["First driver at round"] = tt.filter(m["Driver Name"], l["position"] == 1)
Then to have it at year level, and since we cannot use measures in filters, the idea was to have a where statement returning None when the race is not the last of the season, and the previous measure otherwise. Then leaf evaluate this where statement at round level, and aggregate with single value since there should be only one non null value.
m["1st in standings"] = tt.where(m["Nr of rounds until race"] == m["Nr of rounds in year"], m["First driver at round"], None)
m["Year Winner"] = tt.agg.single_value(m["1st in standings"], scope=tt.scope.origin("round"))
First issue is that measure m["1st in standings"]  is always null (I cannot see it in a pivot table)
Second issue is that year winner is correctly computed for the last race of the season, but is also non null for some other races, even though m["Nr of rounds until race"] is not equal to m["Nr of rounds in year"]
See the result in the below picture:

Do you have any idea why ?
Find here a short notebook with the reproduction and indications

There seems to be several issues related to the inferred required levels:

tt.filter(...) infers all the filtered levels as required levels. I'm not sure this is necessary, and removing it seems to fix the wrong results.
m["1st in standings"] is always null because m["First driver at round"] requires the driverId level, and where adds a per() clause on all underlying required levels. It should probably only enforce the per on the required levels of the boolean condition(s).

@a-manai what do you think?

The wrong results have been fixed in 0.4.0, but the issue with where not returning a value still exists:
https://github.com/activeviam/atoti/blob/4b77a29ac79284b3e20d46ee8a8f1cce3dc91bde/java/patachou/core/src/main/java/com/activeviam/chouket/pivot/alambyk/impl/AlambykBuilder.java#L1367
Assigning this to @a-manai

Hello,
This issue was caused by the where measure propagating more restrictions than needed on the required levels (the levels for which it has non-null values).
The next release will contain the bug fix.
Cheers


PDF info not use by the LLM

Hello, this is an amazing project example for me.
But when i tried to create my own PDF file which introduce myself, i find it hard for the model to recon of what i said and respond base on the document info i gave.
I assume this example can train with additional private files and respond it accordingly? Thanks.

Yes, but it sounds more like a Retrieval-Augmented Generation (RAG) and how vector databases work type of issue. The question that you're asking and how the documents are being scored based on your question may not be retrieving the document where you introduce yourself. As this is just an example project, the RAG implementation is quite arbitrary, whereas you would see many more techniques being used in a real production application. One of these techniques would be re-ranking the documents to ensure relevancy.
You can update the code to send your query directly to ChromaDB so you can see what documents are coming back. I'm guessing the document where you introduce yourself will not be on the list. You can also play with the chunking size and overlap; this may help bring more relevant documents to the top of the list. You can also try different embeddings models.
RAG is a complex topic with many different avenues for fine-tuning, but I'm not shocked to hear that this arbitrary approach is unable to find a document.

That s a question i have when following your code : how the result of  docs = db.similarity_search(user_input) is used ? And how to give this "context" to my model ?

This is done with this line of code from app.py
qa_chain = RetrievalQA.from_chain_type(
    llm,
    retriever=db.as_retriever(search_kwargs={"k": 8}),
    chain_type_kwargs={"prompt": PROMPT},
)

RetrievalQA is coming from the LangChain framework and abstracts some of the work of pulling the data from ChromaDB.
You could take this a part, and pull the data from the database separately, and provide this context into the prompt as part of a chain.


Support ignoring interpolation-incompatible outlines

varLib does this by default: https://github.com/fonttools/fonttools/blob/1c283756a5e39d69459eea80ed12792adc4922dd/Lib/fontTools/varLib/init.py#L278-L280
My inclination is to NOT do it by default and to fail with instructions, e.g. "blah has incompatible outlines, to ignore and continue pass --ignore-incompatible" or something along those lines.

sounds good


Create JupyterHub Image with Rucio Extension

The extension is installed in the single-user image for JHub and needs manual configuration within JHub for OIDC authentication.

[x] Create a docker image with the extension installed and add the Rucio config
[x] Create GH Actions for images
[x] Write script for OIDC token generation
[x] Add EOS RSE with authentication (replica mode)
[x] Test view and file operations in JHub

upstream issue/PRs: https://github.com/rucio/jupyterlab-extension/issues/20

The image is here: ghcr.io/goseind/singleuser-base and needs to be moved to the vre orga (cascading form base image, as done by @garciagenrique with the ops images).


How can I uninstall this version?

Hi,
Microsoft has released Skype for Linux alpha, so I think I can switch to that version.
But i don't know how to uninstall this version.
I'm currently on ElementaryOS Freya.
Thank you for your awesome work!

If you installed with pacman just pacman -R skype-desktop-bin.
If you don't, just:
rm -rf /opt/skype_unofficial_client
rm /usr/bin/skype-desktop
rm /usr/share/applications/skype-desktop.desktop


Raw string literals

A minor change to the lexer to allow entry of “raw” string literals where the \ character has no special role in escaping. To be discussed on S/E once I have the PR #.
Resolves SR-6362.

This was returned for re-pitch/revision but there doesn’t seem to be enough interest to pursue this.


Empty katex.min.js after build

Hello,
I downloaded the source code and made some modifications. Then I ran make setup and then make build/katex, but obtained an empty katex.min.js?
Did I miss something?
Thank you in advance.

Nevermind, I simply run "make" and the build is created as expected.


Fixed typo on README.md

Coverage remained the same at 77.292% when pulling 0df6dd5c9d08d710a3f1056a522621352ce27f8e on rojun:typofix into 8248cda64d1f0af41d02b1e36733d530c883338c on klen:develop.

Coverage remained the same at 77.292% when pulling 6140b700acd5585fbda1e7d8bf0fe7a0bb9d5e42 on rojun:typofix into 8248cda64d1f0af41d02b1e36733d530c883338c on klen:develop.

Thank you


⚠ Bofrost.lu has degraded performance

In 6975626, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1689 ms

Resolved: Bofrost.lu performance has improved in 5f44be2 after 6 minutes.


Add EventsIterator support for Prophesee camera

Hello, I have started a new PR for this change (#18) to enable our automatic unit test runs. Currently our CI pipeline does not work for PRs coming from public forks...
Please use #18 for future changes! Thanks.


feat: check workspace name is set correctly in the repository params

Description
This PR adds a check to validate the workspace name is set correctly in the repository params
Issue ticket number and link
https://issues.redhat.com/browse/STONEBLD-1784
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
locally with ginkgo --label-filter="pac-build" --v ./cmd
Checklist:

[ ] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added meaningful description with JIRA/GitHub issue key(if applicable), for example HASSuiteDescribe("STONE-123456789 devfile source")
[ ] I have updated labels (if needed)

/test all

/lgtm

/approve

/approved

/approve


Gemfile: add WEBrick

Description

WEBrick is dropped from default dependencies starting from Ruby 3.
However (almost) all Jekyll theme need this.
This resolves error during serve:
/data/data/com.termux/files/usr/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/commands/serve/servlet.rb:3:in `require': cannot load such file -- webrick (LoadError)
Issue reference: https://github.com/jekyll/jekyll/issues/8523
Type of change

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update

How has this been tested

[ ] I have run bash ./tools/test.sh --build (at the root of the project) locally and passed
[ ] I have tested this feature in the browser
Others (Somehow using test script returning (non-related) Nokogumbo issue):
[x] Manual build / serve with bundle exec jekyll serve

Test Configuration

Browser type & version: Google Chrome (91.0.4472.77)

Operating system: Android 11 (R), Samsung OneUI 3.0

Bundler version: 2.2.15

Ruby version: 3.0.1p64 (2021-04-05 revision 0fb782ee38) [aarch64-linux-android-android]

Jekyll version: 4.2.0

Misc info: Using Termux v0.113

Checklist

[x] My code follows the Google style guidelines
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[ ] Any dependent changes have been merged and published in downstream modules

Woops, the initialization commit is in PR too

Rebased (again), should be ready to merge


Remove parenthesis from id's, allow including files in md

Two small changes.

Remove any parenthesis from the generated slugs
Add markdown-include, so that other Markdown pages can be included from the index (and other pages, too!) by using this syntax:

!!!include(notice.api-key.md)!!!

Sorry to be a pain, and thanks for the PR. But could you omit the !!!include change for now? I'd like to keep reslate functionally compatible with Ruby Slate and not introduce different include syntax until such time as reslate becomes the official Slate v3.
The slug parenthesis change LGTM.

Apologies for taking my sweet time to get this to you. I have updated the commit to remove the include syntax, and updated the commit message.
I'll keep a keen eye for when reslate looks to become the official slate replacement, to try and get it added :)


No suitable URL request handler found for assets-library:

cannot load  assets-library: file

@mike623 any updates on this? I'm having the same issue.

@welbornio, @mike623 I had the same issue and it seems to be an issue with not having the camera roll library added. If you add it to your xcode project it should work.

Has anyone had success with linking the camera roll library and getting it to work? I am still getting this error even after linking libRCTCamera.a in XCode

Well. I changed to https://github.com/mybigday/react-native-s3/blob/master/README.md becoz I need native thread to handle the upload process

Add libRCTCameraRoll.a under Link Binary With Libraries
<your_project>/node_modules/react-native/Libraries/CameraRoll/
refer to https://medium.com/@knowbody/react-native-image-upload-to-s3-bucket-5220941bfea2 for more detail
Thanks

Hi
I am using expo and facing the same issue.
Any update on this?

Hi I am using expo and facing the same issue. I tried using mime library to get the type but still getting null for ph:// uri
Any update on this?

+1 on this. Same scenario.

Sam

Hi I am using expo and facing the same issue. I tried using mime library to get the type but still getting null for ph:// uri
Any update on this?

Same here, any solution yet?


linked website 404s

http://muifwego.com/glitcher is in the linked page, but it doesn't seem to exist, and I can't find the page on your site either 🤔

Hey, sorry about that it should be http://muifwego.itch.io/glitcher. Thanks for letting me know

Awesome game!