Feature Request - Pricing/costing estimates

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description
Is your feature request related to a problem?
It's unclear what the potential cost implications are when deploying the CAF, either directly or indirectly.
Describe the solution you'd like
It would be beneficial to call out the potential cost implications when deploying services into this architecture as configured in its default state. For example, the management subscription punches out a LAW, which I'll admit is a mostly trivial cost. But taking something like the Enable-DDos-VNET assignment, my reading is if a virtual network is deployed then the recommendation is Azure DDoS Standard (I think it is audit only, but I am not game to test it out), which is currently sitting at over $4,000 AUD per month flat fee. Looking closer, this is called out to an extent in the wiki, but cost is not mentioned and rather implied.
Perhaps it might be prudent to be a bit more upfront about cost implications associated with this best practice, even as a warning? If it is indeed mostly policy related, it could be an idea to have somewhere in the repo or wiki a dump of all the policy assignments, even a table to reference, and what is enforced and what is not. Maybe they could even be tagged as ones expected to incur costs, so people can cater for that. I'm sure there is some fun once could have with CI/CD to sort that! That all said, even something in the front page that called out an indicative cost impact would be really beneficial.
Thank you.
Additional context

Thank you for logging this @rhyspaterson... this was something which was discussed at length within the team and had a mixed opinion on what we should do.
Within the Terraform module we opted to set the defaults to minimise the risk of "bill shock" by disabling high-cost resource types. But ultimately, we want to ensure that customers are led by the recommended practices rather than costs alone and we would always recommend using the Azure pricing calculator to understand costs before deploying resources to Azure.
You can also monitor costs using Cost Management + Billing, and implement budgets to help reduce your risk.
I will raise this question again with the team to see whether this is something we can incorporate into our documentation.

Also, does the following provide sufficient information if we cross link to this from our Wiki?
https://github.com/Azure/Enterprise-Scale/wiki/What-is-Enterprise-Scale#pricing

Thanks for the reply!
Appreciate the cost management and pricing calculator approach, in fact I cross-referenced each policy being deployed and that was what surfaced some of the significant costings associated with them. That the customer/end-user is ultimately responsible for costing is true, but I think being clear that deploying the CAF best practice architecture in its default state will absolutely incur non-insignificant additional cost would be beneficial - particularly if concepts such as DDoS plans are new to them.

Also, does the following provide sufficient information if we cross link to this from our Wiki?
https://github.com/Azure/Enterprise-Scale/wiki/What-is-Enterprise-Scale#pricing

I think that would be great! I definitely missed it and read the wiki quite a few times unpicking the what and the how, policies and configuration options. Sorry I missed it though, it does seem fairly clear, and thanks for pointing it out.
I guess for me a good example of a concerning one is the DDoS plan, just because I believe all you need is a vnet which itself is a 'free' resource and usually considered fairly benign. This approach could also help partners or professional services - who are helping customers adopt best practice, such as CAF - be aware they likely need to forecast CAF induced costings.

Trigger ADO Sync

Trigger ADO Sync


YouTube EXPERIMENT_FLAGS Tamer breaks video settings icons.

Specifically it's the KEEP_MIDDLEWAVE constant that when it's set most of the icons in the video settings menu disappear.
Setting it to false doesn't do anything, the line that sets it to true has to be commented out.
KEEP_MIDDLEWAVE uncommented:

KEEP_MIDDLEWAVE commented out:

It also seems to rename Ambient Mode to Cinematic Lighting and remove Annotations toggle.

Would const KEEP_MIDDLEWAVE = false; work for you too?

Fixed in 1.3.25!

@ChromiaCat Could we close this issue?

@ChromiaCat Could we close this issue?

Sure thing, thanks for fixing it <3.


ast convExpr judge empty fail

bug, will be fixed soon.

Should be fixed since #105 was merged.
@baerwang  Pls confirm, thanks.

LGTM


Day1 code  review

For the first part of the project:

We chose the topic for our website and the API.
We set up the repository and tools.
We created the basic shared code on the home page: nav bar and footer.
We created the main part of the homepage that keeps the layout from the wireframe: displaying items with a basic design.

Hi @elad237
✔ Status: APPROVED 🏆 🎉 🎊
You have done a great job on this project, keep it up 👍 🥇. Your project is complete! There is nothing else to say other than... it's time to merge it :shipit:
congratulations! 🎉💯🌟
Top highlight 🎯
The Pull Request is following the GitHub Flow ✅
The PR title and description are professional and descriptive ✅
Linters are working properly ✅
Day 0
Choose the topic for your website and the API. ✅
Choose images, text, icons, fonts. ✅
Set up the repository and tools. ✅
Create the basic shared code on the home page. ✅
minion

(optional):
I suggest creating a Modules folder and dividing the main javascript for a well-organized project and for testing


Wrong mod uploaded to Modrinth

Looks like you uploaded homeostatic to ActuallyHarevst's Modrinth page.

Oops, will fix


Options added in CMakeLists.txt

Now we can install the lib and choose whether make benchmark or not.

Closed


Could not create secure channel failure

Hello,
The package CoolTerm failed automatic verification based on the following error:

"The request was aborted: Could not create SSL/TLS secure channel."

https://gist.github.com/choco-bot/9220df125541e90f4c9b91b42831cbfd#file-install-txt-L342
The browser doesn't show any warnings, and neither do cURL or wget. I've retried verification a few times, but to no avail.
Thanks!
Update
This seems to be starting to affect a number of packages...

4k-video-downloader - Exempted
4k-stogram - Exempted
exiftool - Re-run through verifier as latest package version works correctly
4k-youtube-to-mp3 - Exempted
w10privacy - Other issue needs to be addressed first before exemption
openflexure-connect - Exempted
CoolTerm - Exempted
minio-server - Exempted

@FullofQuarks This is likely due to the fact that the website where you are downloading the installer from is using a TLS cipher that is not available on the base Windows Server OS that is being used by package-verifier.
You should be able to validate this using the local Chocolatey Test Environment, which would have been mentioned in the emails that you have received.  Can you verify if you have had a chance to do this?
The workaround in this case would be to ensure that this package is included as a dependency, which will then ensure that the necessary TLS ciphers are available.  If you install this on your local test environment and make sure everything is working, you can then update your package.  This may still require an exemption from the package-verifier, but at least we will know if everything works as expected.

@gep13 Package KB2919355 is already installed in the Chocolatey Test Environment. It could be however that the ciphers the site is using are not available in that patch (unlikely but possible I suppose).

@FullofQuarks apologies for not getting back to you sooner about this, but I have been digging into this issue.
Based on the SSL Labs report for the URL that the application installer is being downloaded from:
https://www.ssllabs.com/ssltest/analyze.html?d=freeware.the-meiers.org&latest
The Cipher Suites that are being used by the site are:

TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (0xc030)   ECDH x25519 (eq. 3072 bits RSA)   FS
TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256 (0xcca8)   ECDH x25519 (eq. 3072 bits RSA)   FS
TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256 (0xcca8)   ECDH x25519 (eq. 3072 bits RSA)   FS

Based on the investigation I have done, I have found that none of these Cipher Suites are available for Windows Server 2012 R2, and as a result, Chocolatey will never be able to download the application installer from this website.
Moving forward, the only alternatives would be, if the license allows, to add the installer to the Chocolatey package, so that the download is not required, or we would need to provide an exemption from the package verifier, so that the installation attempt is never carried out.
Let me know how you would like to proceed.

More packages:

https://chocolatey.org/packages/ln/<IP_ADDRESS>

More packages:

https://chocolatey.org/packages/ln/<IP_ADDRESS>

@flcdrg have you exempted this package?

@flcdrg have you exempted this package?

@gep13 yes

@gep13 yes

Nice one! 😄

Nice one! 😄


feat: show slide index

This PR adds the slide index after the divider (---) of each slide. It's handy for me to recognize individual slides, especially when adding links between them. Hope it helps.
Refer to the screenshot below:

That's a good feature, Thanks! I have adjusted it a bit to make it less prominent.


Can't run python script

Getting this error:
File "./enc.py", line 131
print("\rProcessing {}/{} frames".format(count+1,len(images)), end='')
One thing that I didn't do is run the script in a virtual environment. If that's the likely problem, could you give me a pointer on how to go about that? Should I create a vm? Or just install python 3? Total noob to this, as I'm sure you can tell :)

As long as you have all the requirements installed the virtual environment shouldn't matter, it just helps keep things cleaner. You can read up about it here: https://virtualenv.pypa.io/en/stable/
The script definitely needs python 3 though. I've just updated the script to make sure it will always prefer python 3 if it's installed. When you're running the script using python 3, make sure to also install the dependencies for python 3 instead of 2, in case python 2 is still the default  on your operating system.

Cool, thanks for the pointers. I'm on Mac, so the default python was too old. I ended up installing pyenv, according to this guide.. Up and running now, I've produced a .wav from and image sequence and must say it's surprisingly listenable! :) Haven't tried the round-trip yet...Thanks for this project, anyway. And thanks for your help!

No Problem!


small fixes

Thank you for contributing to the GTN! :yellow_heart:
Please check that:

[ ] Your pull request has a good title, e.g.

"Fix typo in ansible-galaxy tutorial"
"Add new transcriptomics tutorial covering a new sequencing technology"

[ ] Please replace this entire pull request message with a description of your changes, it will help us review your pull request faster
[ ] Check that your images are allowed to be re-hosted by the GTN

Once these are done, you're ready to go!

Consider sustainable computing with Draft Mode :green_heart:
Is your pull request finished? 100% ready to be merged? Or do you want some time to work on it first (which we encourage! It's great to have visibility)
If not, then please consider creating this pull request as a draft.
Regular pull requests will trigger automated test runs when they are created
and every time you update them.
As a small contribution to sustainable computing, we skip the most energy intensive of these tests for pull requests marked as drafts. Once your pull request is ready to go, then you can click a button saying "Ready for Review" and the tests will be run!

@yvanlebras I did some small fixes but nothing major. I tried the entire tuto and I was able to do it while listenin to the EGD's talks so I would say it's quite easy to follow ;)


[BUG] mlx 0.17.3 crashes when converting certain models with mlx-lm

Describe the bug
A clear and concise description of what the bug is.
Trying to convert  deepseek-ai/DeepSeek-V2.5 and Qwen/Qwen2.5-72B-Instruct ends with failure, when deepseek-ai/DeepSeek-Coder-V2-Lite-Instruct succeeds.  Reverting to 0.17.1 with pip install mlx==0.17.1 fixed it.
To Reproduce
Include code snippet
from mlx_lm import load, generate, convert
convert("deepseek-ai/DeepSeek-V2.5", q_bits=2, quantie=true)

or  mlx_lm.convert --hf-path deepseek-ai/DeepSeek-V2.5 -q --q-bits 2
With mlx 0.17.3, the output is:
[INFO] Loading
Fetching 62 files: 100%|______________________________________________________________________________| 62/62 [00:00<00:00, 14207.10it/s
[INFO] Quantizing
libc++abi: terminating due to uncaught exception of type std::runtime_error: [METAL] Command buffer execution failed: Caused GPU Timeout Error (00000002:kIOGPUCommandBufferCallbackErrorTimeout)
 zsh: abort      HF_HOME=/Volumes/barr_1TB_1/huggingface python3

Then back in zsh it ouputs:
m-i@MBP  :$> /Users/m-i/miniconda3/envs/mlx/lib/python3.11/multiprocessing/resource_tracker.py:254: UserWarning: resource_tracker: There appear to be 1
leaked semaphore objects to clean up at shutdown
  warnings.warn('resource_tracker: There appear to be %d '

Expected behavior
A clear and concise description of what you expected to happen.
Desktop (please complete the following information):

OS Version: MacOS 15.0
Version 0.17.3

What hardware are you running this on?

MBP M3 Max 128GB

@awni Since you uploaded https://huggingface.co/mlx-community/DeepSeek-V2.5-MLX-AQ4_1_64 on the 7/09/2024, I suppose it was with mlx 0.17.2 at most? I can try 0.17.2 if you want, but since 0.17.1 works for me, maybe it happened between 0.17.2 and 0.17.3?

Hi @M-I I'm having no trouble quantizing the Qwen 2 72B model this on my M1 Max with 32GB:
mlx_lm.convert --hf-path Qwen/Qwen2.5-72B-Instruct -q

So I'm wondering why you are having this issue and how to reproduce it.

Is your disk very full?
Are you using the latest MLX LM?
Do you have a lot of other stuff happening on your machine reading / writing to disk?

Do you have a lot of other stuff happening on your machine reading / writing to disk?

Might be the issue. I had bought on an 1TB HDD specifically for this, Trying to convert Deepseek-V2.5 is the first thing I did on it. Maybe at some point there's a lot of random Read/Writes during conversion. This HDD doesn't handle that well at all (from 130MB/s sequential to ~10MB/s random, should have read the specs before buying it).
I'll rerun it with a SSD and a HDD with better random R/W, see if it that was the issue.
right now, my working combo (pip freeze | grep mlx):
mlx==0.17.1
mlx-lm==0.18.2

That makes sense now. Yea the HDD will be way slower :\ and is probably what's causing the timeout. If you have the space.. you could temporarily copy the model to your native SSD, quantize from there and then delete it.

The change in 0.18.0 fixed it. Thanks.


PHP 7.4 deprecation

Hello, after upd. to 7.4 throw this deprecation:
PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in /opt/project/symfony/vendor/snc/redis-bundle/DependencyInjection/Configuration/RedisDsn.php on line 193

Hello @mops1k, Thank you for reporting!
Would you mind sending a PR?

As i see, fixed in latest version

PR #552

PR #552 merged

@B-Galati why is this fix only available on the specific 2.1 branch? I still don't get the fix when I update to "snc/redis-bundle": "2.1.12" in composer.json.

@beephotography Not released yet for v2, master branch (v3) is already fixed.
You can try to upgrade to v3 if you can. It should be pretty simple if you are using Symfony 3.4+.

Just released 2.1.13

@B-Galati thank you very much :pray:


System.InvalidOperationException: You can only set the base cache path once before using the Barrel.

I am using MonkeyCache.FileStore, I have declared BarrelUtils.SetBaseCachePath in the App constructor but randomly when I start the application I get the error
System.InvalidOperationException: You can only set the base cache path once before using the Barrel.
Is it correct to declare BarrelUtils.SetBaseCachePath in the  App constructor or should it go somewhere else?

I would create a singleton pattern such as: https://github.com/jamesmontemagno/app-ac-islandtracker/blob/master/TurnipTracker/Services/DataService.cs

Great, I've implemented the singleton method and so far I haven't had this mistake. Thank you very much for the example.

Hi @iamheiner, would you please share sample code on how you implemented the singleton.  I took a look at the link above, but I am still not clear one what needs to be done.  I understand the singleton pattern, but something is not clicking for me.
Thanks.

I was going to go a different route and set a bool in my localSettings, but I ran across the following:
if (Application.Current.Properties.ContainsKey("FirstUse"))
I will give this a try, but still look forward to hearing back from you.
Thanks.


gcontacsync is not compatible with thunderbird 60.6.1

when I try to install the complement, thunderbird say "could not install gcontactsyn because gcontacsync is not compatible with thunderbird 60.6.1"
gcontactsyn version is 3.0.0
thunderbir version is 60.6.1
Ubuntu 19.04
regards!!!

Please contact the author of the add-on for support.

It turns out that 60.* has subtle bugs in its json update format support. Basically, it ignores the min and max version sent by versioncheck. So, this means if an addon author has used ATN to override the compatibility for an addon version, that override will no longer work.
This addon installs an xpi with max version of "60.0" by using ATN to override it to 60.*, and this override no longer works.
I will need to roll back ATN to using the XML RDF format for versions before 67, since I have no idea when this bug was fixed.
The good news is that beta 67 does seem to respect the versions returned by versioncheck in json format.


Error: package or namespace load failed for ‘mxnet’:

Description
I have downloaded the package for R according to the instructions here: http://mxnet.incubator.apache.org/get_started/install.html
for GPU. I'm unable to load the package.
This is the error it gives.

library('mxnet')
Error: package or namespace load failed for ‘mxnet’:
.onLoad failed in loadNamespace() for 'mxnet', details:
call: inDL(x, as.logical(local), as.logical(now), ...)
error: unable to load shared object 'D:/R/R-3.4.2/library/mxnet/libs/x64/libmxnet.dll':
LoadLibrary failure:  The specified module could not be found.

Package used (Python/R/Scala/Julia):
I'm using R.
For R user, please provide R sessionInfo():
R version 3.4.2 (2017-09-28)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)
Matrix products: default
locale:
[1] LC_COLLATE=English_United States.1252  LC_CTYPE=English_United States.1252    LC_MONETARY=English_United States.1252 LC_NUMERIC=C
[5] LC_TIME=English_United States.1252
attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base
loaded via a namespace (and not attached):
[1] Rcpp_0.12.13       compiler_3.4.2     RColorBrewer_1.1-2 influenceR_0.1.0   plyr_1.8.4         bindr_0.1          viridis_0.4.0      tools_3.4.2        digest_0.6.12
[10] jsonlite_1.5       viridisLite_0.2.0  tibble_1.3.4       gtable_0.2.0       rgexf_0.15.3       pkgconfig_2.0.1    rlang_0.1.4        igraph_1.1.2       rstudioapi_0.7
[19] bindrcpp_0.2       gridExtra_2.3      downloader_0.4     DiagrammeR_0.9.2   dplyr_0.7.4        stringr_1.2.0      htmlwidgets_0.9    hms_0.3            grid_3.4.2
[28] glue_1.2.0         R6_2.2.2           Rook_1.1-1         XML_3.98-1.9       readr_1.1.1        purrr_0.2.4        tidyr_0.7.2        ggplot2_2.2.1      magrittr_1.5
[37] scales_0.5.0       htmltools_0.3.6    assertthat_0.2.0   colorspace_1.3-2   brew_1.0-6         stringi_1.1.6      visNetwork_2.0.1   lazyeval_0.2.1     munsell_0.4.3

Minimum reproducible example
(If you are using your own code, please provide a short script that reproduces the error. Otherwise, please provide link to the existing example.)
Steps to reproduce

install CUDA 9 and CUDNN
install the mxnet R package
run command library('mxnet')

What have you tried to solve it?

restarting.
checking version of CUDA.
check that CUDA is in my environment paths
googled. Most of the solutions involve updating CUDA, which i have done.

If the dll is indeed there, run depends.ex on it and it should tell you what dll is missing:
http://www.dependencywalker.com/

I ran depends.ex on libmxnet.dll and these modules were found to be have errors.
The error is : Error opening fule. The system cannot find the file specified (2).
 All of them?

Yes all of them...
I did some googling and it's some error from depends.exe. I think we can ignore most except CUFFT64_80.DLL
I suspect mxnet doesn't support cuda 9?

I believe the newest branch will build with CUDA 9. Sorry, I have forgotten
— are you building locally? Where is this dll on your machine?
On Wed, Nov 22, 2017 at 7:23 PM Tan Hong Ming<EMAIL_ADDRESS>wrote:

Yes all of them...
I did some googling and it's some error from depends.exe. I think we can
ignore most except CUFFT64_80.DLL
I suspect mxnet doesn't support cuda 9?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/apache/incubator-mxnet/issues/8777#issuecomment-346524703,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKts_YsnoE7GL8HsUZBAM5sHx-Rmm1Drks5s5OUWgaJpZM4QnqIy
.

I did not build from source. Instead I downloaded the R package as I'm using R.
location of the .dll: D:\R\R-3.4.2\library\mxnet\libs\x64
Perhaps i will try building from source later

So, that particular one is built against CUDA 8, so you’d need to install
CUDA 8. You can still have CUDA 9 installed. Mxnet supports CUDA 9 if you
build it yourself from master or 1.0 branch.
Hope this helps,
-Chris
On Wed, Nov 22, 2017 at 7:29 PM Tan Hong Ming<EMAIL_ADDRESS>wrote:

I did not build from source. Instead I downloaded the R package as I'm
using R.
location of the .dll: D:\R\R-3.4.2\library\mxnet\libs\x64
Perhaps i will try building from source later
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/apache/incubator-mxnet/issues/8777#issuecomment-346525238,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKts_S0xvTqd6pcbMS-b5IB2gHElHYKnks5s5OaRgaJpZM4QnqIy
.

Ah ok. Will CUDA 8 support a gtx 1080ti? Thanks so much for your help!
Regards
Hong Ming
On 23 Nov 2017, at 12:07 PM, Chris Olivier <notifications<EMAIL_ADDRESS>wrote:
So, that particular one is built against CUDA 8, so you’d need to install
CUDA 8. You can still have CUDA 9 installed. Mxnet supports CUDA 9 if you
build it yourself from master or 1.0 branch.
Hope this helps,
-Chris
On Wed, Nov 22, 2017 at 7:29 PM Tan Hong Ming <notifications<EMAIL_ADDRESS>wrote:

I did not build from source. Instead I downloaded the R package as I'm
using R.
location of the .dll: D:\R\R-3.4.2\library\mxnet\libs\x64
Perhaps i will try building from source later
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/apache/incubator-mxnet/issues/8777#issuecomment-346525238,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKts_S0xvTqd6pcbMS-b5IB2gHElHYKnks5s5OaRgaJpZM4QnqIy
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/apache/incubator-mxnet/issues/8777#issuecomment-346528268, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AWISPc0K2QD_N7zrh3crBJNVkN4Lx2C8ks5s5O90gaJpZM4QnqIy.

Yes. I use twin 1080’s at home. As far as I know, 1080 and 1080ti have same
instruction set.
On Wed, Nov 22, 2017 at 8:13 PM Tan Hong Ming<EMAIL_ADDRESS>wrote:

Ah ok. Will CUDA 8 support a gtx 1080ti? Thanks so much for your help!
Regards
Hong Ming
On 23 Nov 2017, at 12:07 PM, Chris Olivier<EMAIL_ADDRESS><EMAIL_ADDRESS>wrote:
So, that particular one is built against CUDA 8, so you’d need to install
CUDA 8. You can still have CUDA 9 installed. Mxnet supports CUDA 9 if you
build it yourself from master or 1.0 branch.
Hope this helps,
-Chris
On Wed, Nov 22, 2017 at 7:29 PM Tan Hong Ming<EMAIL_ADDRESS><EMAIL_ADDRESS>wrote:

I did not build from source. Instead I downloaded the R package as I'm
using R.
location of the .dll: D:\R\R-3.4.2\library\mxnet\libs\x64
Perhaps i will try building from source later
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<
https://github.com/apache/incubator-mxnet/issues/8777#issuecomment-346525238>,

or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AKts_S0xvTqd6pcbMS-b5IB2gHElHYKnks5s5OaRgaJpZM4QnqIy>

.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<
https://github.com/apache/incubator-mxnet/issues/8777#issuecomment-346528268>,
or mute the thread<
https://github.com/notifications/unsubscribe-auth/AWISPc0K2QD_N7zrh3crBJNVkN4Lx2C8ks5s5O90gaJpZM4QnqIy>.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/apache/incubator-mxnet/issues/8777#issuecomment-346528781,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKts_SnzSlaeiD5T0bdV8xIrRcf_xzuhks5s5PD9gaJpZM4QnqIy
.

I downgraded to CUDA 8 with CUDNN v5.1 and it works now! Thanks very much for your time and help.

Great news! You’re very welcome!


wrong color in shell

VSCode Version: 1.31.1
OS Version: MacOC Mojave 10.14.3

Steps to Reproduce:

create a shell typed document. ex: foo.sh.
paste ./a.out test.

The test is in highlight color, but here it is only an argument passed to a.out, and should not be highlighted.

This issue was moved to atom/language-shellscript#137

Moved to the repo where we get this grammar from.


UI Improvement

Added baseline FitnessBot feature. It needs to conform to layout template from UI side, can you please do it ?

Fitness bot now conforms with the theme of the UI, fixed NavBar along with footer! Closing this issue


Adding an item to ManyToMany relation doesn't append to the reverse relationship

Describe the bug
I have an User model which can have a list of User that he can follows and a list a User that he's followed by.
But when I add something like
    user1 = User(name="User1")
    user2 = User(name="User2")

    user1.followed_by.append(user2)

    print(user1.followed_users)  # returns [] -> OK
    print(user1.followed_by)  # returns a list with User2 -> OK
    print(user2.followed_users)  # returns [] -> NOT OK, should return a list with User1

The reverse relationship is not completed correctly.
here's the full code to reproduce :

import asyncio
from typing import ForwardRef

import databases
import ormar
import sqlalchemy
from ormar import ModelMeta

db_url = "postgresql://postgres:root@localhost:5432/pegazor_db55"
database = databases.Database(db_url)
metadata = sqlalchemy.MetaData()

UserRef = ForwardRef("User")

class FollowerFollowed(ormar.Model):
    class Meta(ModelMeta):
        metadata = metadata
        database = database

class User(ormar.Model):
    class Meta(ModelMeta):
        metadata = metadata
        database = database

    id: int = ormar.Integer(primary_key=True)
    name: str = ormar.String(max_length=100)
    # use it in relation
    followed_users = ormar.ManyToMany(UserRef, through=FollowerFollowed, related_name="followed_by")
    # followed_by = ormar.ManyToMany(UserRef, through=FollowerFollowed, related_name="followed_users")

User.update_forward_refs()

async def with_connect(function):
    # note that for any other backend than sqlite you actually need to
    # connect to the database to perform db operations
    async with database:
        await function()

async def create():
    user1 = User(name="User1")
    user2 = User(name="User2")

    user1.followed_by.append(user2)

    print(user1.followed_users)  # returns [] -> OK
    print(user1.followed_by)  # returns a list with User2 -> OK
    print(user2.followed_users)  # returns [] -> NOT OK, should return a list with User1

if __name__ == '__main__':
    engine = sqlalchemy.create_engine(db_url)
    metadata.create_all(engine)
    asyncio.run(with_connect(create))

All database operations are async that's why you don't append to relationship as it's a sync python list operation but you need to await model.relation.add()


[stable/redis] Add javsalgar to the list of OWNERS

Signed-off-by: Javier Salmeron Garcia<EMAIL_ADDRESS>
What this PR does / why we need it:
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[ ] DCO signed
[ ] Chart Version bumped
[ ] Variables are documented in the README.md
[ ] Title of the PR starts with chart name (e.g. [stable/chart])

As discussed at kubecon, this PR is more than welcome.
/lgtm

/ok-to-test
/lgtm


Redesign: Gridview

Feature Description
Update page grid view mode based on Figma.

[ ] Update background opacity (should be fully opaque)
[ ] Update back button (using design system button)
[ ] Remove slider
[ ] Add new sizing buttons and make them work (using design system button)
[ ] Update spacing and sizing for all elements in view
[ ] Update to new focus rectangle (could be generalized from carousel page focus rectangle)

Current design
New design

Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance Criteria

Implementation Brief

Will the number of pages per row remain the same for each level?

@samitron7, awaiting confirmation on design as Figma has diverged from above screenshots as per thread.

Verified in QA


(🎁) add py.typed

Type checkers look for this file to determine if type annotations should be used or not. It's required for downstream projects to have access to coverage's type annotations.

Thanks!

This is now released as part of coverage 7.2.0.


Bump nodejs to latest 18.x

Node18 looks enough production ready alreast for mobu.
Note
Initally I tried to replace jest with node18 buildin test runner, however it is not care typescript yet. So I have omitted from this PR.
https://github.com/nodejs/node/pull/42325

Netlify build is falling with https://lavaux.lv/2022/04/26/fix-netlify-build-errors-with-node-18.html 👀
2:42:01 PM: node: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27' not found (required by node)
node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by node)
node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by node)

@pankona Could you check and update the Netly image?

Site settings > Build & deploy > Continuous Deployment > Build image selection.

@kachick
I've changed the Build image selection from Ubuntu 16.04 to Ubuntu 20.04.
Could you try it again?

@pankona Thank you! Looks working ✨

I have updated actions and branch protection rule, it is a blocker 😤

Initally I tried to replace jest with node18 builtin test runner, however it does not care typescript yet. So I have omitted from this PR.

https://github.com/meyfa/ts-node-test make it can.


Backport codec-haproxy

Motivation:
The codec-haproxy is very useful and standalone. So it should be very safe to backport it and make it usable by 4.0 users.
Modifications:
Backport codec-haproxy.
Result:
codec-haproxy is now included in 4.0.

@trustin please check

@netkins build

@trustin any thoughts on this ?

I'm fine as long as it's fine to make breaking changes in 4.1 and to backport that change to 4.0, because what you are trying to do here is to backport the code in an unstable branch.

@trustin works for me... I think it is not different to what we do with SPDY.

Cherry-picked as ee0a5b0f9318ea13725dc7a9d8df7cfc5bdd9ff6


model safetensors

Describe the bug
Hi everybody
I implemented a simple code to word embedding using huggingface transformers on my vscode windows 10 os .
however, while running it , it cannot download model.safetensors on my system
OSError: Consistency check failed: file should be of size 440449768 but has size 76954576 (model.safetensors).
is it possible to solve it or not?
Kind regards
Reproduction
import transformers
import tensorflow as tf
from transformers import BertTokenizer, TFBertModel
MODEL_NAME = "bert-base-uncased"
tokenizer = BertTokenizer.from_pretrained(MODEL_NAME)
model = TFBertModel.from_pretrained(MODEL_NAME)
if name == "main":
input_ids = tf.constant(tokenizer.encode_plus("Hello, my dog is cute", add_special_tokens=True))[None, :]
outputs = model(input_ids)
last_hidden_state = outputs[0]
print(input_ids)
print(outputs[0])

Logs
No response
System info
- huggingface_hub version: 0.15.1
- Platform: Windows-10-10.0.19045-SP0
- Python version: 3.10.7
- Running in iPython ?: No
- Running in notebook ?: No
- Running in Google Colab ?: No
- Token path ?: C:\Users\MegaSystem\.cache\huggingface\token
- Has saved token ?: False
- Configured git credential helpers: manager-core
- FastAI: N/A
- Tensorflow: 2.11.0
- Torch: N/A
- Jinja2: 3.1.2
- Graphviz: N/A
- Pydot: N/A
- Pillow: 9.4.0
- hf_transfer: N/A
- gradio: N/A
- numpy: 1.24.2
- ENDPOINT: https://huggingface.co
- HUGGINGFACE_HUB_CACHE: C:\Users\MegaSystem\.cache\huggingface\hub
- HUGGINGFACE_ASSETS_CACHE: C:\Users\MegaSystem\.cache\huggingface\assets
- HF_TOKEN_PATH: C:\Users\MegaSystem\.cache\huggingface\token
- HF_HUB_OFFLINE: False
- HF_HUB_DISABLE_TELEMETRY: False
- HF_HUB_DISABLE_PROGRESS_BARS: None
- HF_HUB_DISABLE_SYMLINKS_WARNING: False
- HF_HUB_DISABLE_EXPERIMENTAL_WARNING: False
- HF_HUB_DISABLE_IMPLICIT_TOKEN: False
- HF_HUB_ENABLE_HF_TRANSFER: False

Hi @ArashDehghanyan, sorry for the inconvenience.
Can you confirm that the model you try to instanciate is ``?
I tried your exact code in a google colab and it worked for me (see notebook). It's weird because in your case it seems that the file has not been correctly downloaded. Could it be caused by a connection issue on your side?

For the record, I checked this exact file (https://huggingface.co/bert-base-uncased/resolve/main/model.safetensors) and the content is consistent (file stored in S3 is indeed 440449768 large)
curl --head -L https://huggingface.co/bert-base-uncased/resolve/main/model.safetensors | grep "HTTP/2\|content-length\|location"

HTTP/2 302
content-length: 1002
location: https://cdn-lfs.huggingface.co/bert-base-uncased/68d45e234eb4a928074dfd868cead0219ab85354cc53d20e772753c6bb9169d3?response-content-disposition=attachment%3B+filename*%3DUTF-8%27%27model.safetensors%3B+filename%3D%22model.safetensors%22%3B&Expires=1688139078&Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9jZG4tbGZzLmh1Z2dpbmdmYWNlLmNvL2JlcnQtYmFzZS11bmNhc2VkLzY4ZDQ1ZTIzNGViNGE5MjgwNzRkZmQ4NjhjZWFkMDIxOWFiODUzNTRjYzUzZDIwZTc3Mjc1M2M2YmI5MTY5ZDM%7EcmVzcG9uc2UtY29udGVudC1kaXNwb3NpdGlvbj0qIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNjg4MTM5MDc4fX19XX0_&Signature=srTAThGiHufAao9CccvPzInYNdoexs18pNn1SJCE5CcdY4w3b%7EDdBxYok8WCsFBmQOP0SqKh9f%7EWYIebsZTpKl0qv%7EmXDpP%7EorrjtclgykJ4mK4OpSVxe99olugztvZ4yTLt2108ciJSRza-kigzxPiQPqbdySTrGPkZWockwnAQaObys-6cnw4FDi3TazatzM5Pp6%7EVUagtGRkGlHD3X5pjs3du8kYyj9MPpz3dbjkwSkFEjl3G62f-k%7EmdsQwucvs1MkGGonRqTL%7E2GRpr2%7EWM17n47kq8yYJQ2SZsUQtBbJ9ZW0F4rCUQaJ5MnpOm0K%7EukGu6MJSTh%7Eahmp7H7A__&Key-Pair-Id=KVTP0A1DKRTAX
HTTP/2 200
content-length: 440449768


 and  don't work when using Japanese IM with "Windows-like shortcuts" turned on

Maybe this is Japanese IM bug, this PR is a workaround for the problem.
Changes:

Don't call interpretKeyEvents (i.e. don't send key-event to IM) when no marked text and with only control-modifier (and shift-modifier)

Refs:
https://stackoverflow.com/questions/29712392/ctrl-u-doesnt-work-in-macvim
https://qiita.com/furu8ma/items/7e421da98680d1c4c0f8
http://gpsoft.dip.jp/hiki/?Yosemite%2FMacVimでトラブル

NOTE I haven't confirmed on other IMs, there might be some problem.


[FEATURE] Compute nightly builds in staging branch

Description

It seems there is a way to compute the nightly builds in staging branch, see https://stackoverflow.com/questions/58798886/github-actions-schedule-operation-on-branch.
Basically, you can specify with parameters on the checkout action. This workflow will checkout the last commit on the some-branch branch.
name: Release Management
on:
  schedule:
   - cron: "*/5 * * * *"
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
        with:
          ref: some-branch

Expected behavior with the suggested feature

We will create another action to perform the nightly build on staging branch, this will generate a new badge, so we will be able to track the two branches independently
Other Comments
Original behavior https://github.com/microsoft/recommenders/blob/main/.github/workflows/azureml-cpu-nightly.yml#L18

The current pipeline works well, we will drop this issue.


Fix: IVF writer writing invalid timestamp value into frame headers

Description
This PR fixes the incorrect header timestamp written into the frame headers.
Reference issue
Fixes #2384

Thanks @radekg

@radekg can you fix up the error from the meta lint (commit message length)?


type error Cannot read property x of undefined

What do I do about this?

which browser/os is this?

Chrome on windows 10

hm.. which version of chrome? does it error on the demo?

Same issue:
TypeError: Cannot read property 'x' of undefined
    at SvgParser.polygonify (http://svgnest.com/svgparser.js:671:42)
    at SvgNest.getParts (http://svgnest.com/svgnest.js:557:26)
    at SvgNest.parsesvg (http://svgnest.com/svgnest.js:54:16)
    at FileReader.reader.onload (http://svgnest.com/:300:33)

The problem seem's to be here: https://github.com/Jack000/SVGnest/blob/master/svgparser.js#L670-L674 You pop an item of the array but didn't check if the array is empty.
I will try to fix this. I will make a PR if I it works

That was the issue. Find the PR #29


Add support for bs_(get|skip)_utf(8|16|32)

This PR adds support for the following opcodes:
(138) bs_get_utf8
(139) bs_skip_utf8
(140) bs_get_utf16
(141) bs_skip_utf16
(142) bs_get_utf32
(143) bs_skip_utf32

These changes are made under both the "Apache 2.0" and the "GNU Lesser General
Public License 2.1 or later" license terms (dual license).
SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later

Also, if this PR introduces complete support for matching UTF binaries, I would write this on the CHANGELOG, we should keep it updated.


dev.boringcrypto: suppress git pager pause in misc/boring/release.sh

The misc/boring/release.sh script requires that the user press Q when git shows the top-level commit in each of the branches. This happens several minutes apart, so requires checking in with the script regularly to make sure that it isn't currently blocked on user-input. We should just suppress these git alerts.
/cc @golang/security

I think this is no longer relevant due to #51940


"Repository name is required" when submitting plugin

Hi there. I'm trying to submit lsp_lines.nvim using the form at https://dotfyle.com/neovim/plugins/add.
I get an error indicating Repository name is required. I'm not sure what this means.
I'm providing the URL https://git.sr.ht/~whynothugo/lsp_lines.nvim which seems to be working fine right now (confirmed by running git clone). Do I need some special syntax? I'm not sure what this means by Repository name.

Only GitHub repositories are supported.
The format to provide is: owner/repository -> separated by forward slash


Roll Flutter Engine from c9b8ac96f6ce to b7c3af43f90a (2 revisions)

https://github.com/flutter/engine/compare/c9b8ac96f6ce...b7c3af43f90a
2024-10-26<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from Y4TdnTpLdkI107K42... to 5osQdhk4W6CcWgjIg... (flutter/engine#56152)
2024-10-26<EMAIL_ADDRESS>Roll Dart SDK from 0257f458e40a to a75848f92210 (2 revisions) (flutter/engine#56150)
Also rolling transitive DEPS:
fuchsia/sdk/core/linux-amd64 from Y4TdnTpLdkI1 to 5osQdhk4W6Cc
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC codefu<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Documentation about the calibration in json format

Hi,
I had some problem with the default calibration, so I calibrate it myself and I i obtained better result.
But I would like to be able to set the new parameters in the json format supported by the SDK.
I can retrive the json with the k4a_device_get_raw_calibration method and load the calibration with k4a_calibration_get_from_raw but I don't understand the format.
I don't understand the part with the intrinsics cx, cy, fx, and fy. I tought they were normalize by the resolution size but it doesn't work all the time.
Is there some documentation about those or could you explain how do you get those values ?
Thank you !
EDIT : I found the source code where a transformation is apply on the intrinsics parameters. (transformation_get_mode_specific_camera_calibration). I was able to calculate the coresponding parameters with this but I would still be interested by some documentation if there is some. Otherwise you can close this issue

Hi,
I am confused about the exact meaning of Rotation in the result json file.
Is it R_iw or R_wi.
In other words, does the rotation matrix transform world point to imu coordinate or the other way round.
"InertialSensors": [ ...
"Rt": {
                    "Rotation": [
                        -0.0023570656776428223,
                        0.11232874542474747,
                        -0.9936683177947998,
                        -0.9999814033508301,
                        -0.005854570306837559,
                        0.0017102138372138143,
                        -0.005625395104289055,
                        0.9936538338661194,
                        0.11234045773744583
                    ],
                    "Translation": [
                        -0.05079573020339012,
                        0.003704430302605033,
                        0.001192310475744307
                    ]
                },


🌱 Update  Pull request template

What this PR does / why we need it:
VERSIONING.md no longer exists. This PR is to update to the correct link and also remove minor confusion between sparkles and seedling to avoid confusion to new contributors.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

/test-centos-e2e-integration-main
/test-ubuntu-integration-main

/test-ubuntu-integration-main


feat: allow code generation that does not access the file system

I am working on preparing a release of protoc-gen-prost, which will be able to be used as a protoc plugin and fit really nicely into the buf ecosystem. The PR which enables this for prost was merged in as tokio-rs/prost#598. As part of that, I wanted to include the ability to easily generate serde impls using another companion crate: protoc-gen-prost-serde. This requires two small changes: expose Builder::generate() and add a new function to allow registering already decoded FileDescriptorProtos.
My utility is pending release on Crates.io, waiting for the next release of prost, and I'd love to include this functionality too. The code in my repository has already been updated using a patched reference to show how this PR is used in practice.

Update: Prost! 0.10.0 has just released. I've now actually released protoc-gen-prost, which is now installable via cargo install protoc-gen-prost. This change incorporates the update to 0.10.0 proposed in #38. It together with this PR remain blockers to releaseing protoc-gen-prost-serde.

CLA has been signed (If you have trouble finding it, I signed it just before the initial PR). Let me know if there is anything else you'd need here. I've rebased this branch on master, though you may note that what's on master still has pbjson-test referencing prost:0.9.0. That may need updating as well.


support for environment variables

Adds support for using environment variables to configure the exporter. Useful when running outside of Kubernetes, where secrets are handled .. chaotically. Example for AWS Fargate:
        secrets = [
          {
            name      = "RABBIT_USER"
            valueFrom = "arn:aws:ssm:user-parameter"
          },
          {
            name      = "RABBIT_PASSWORD"
            valueFrom = "arn:aws:ssm:password"
          }
        ]
        environment = [
          {
            name = "BROKER_URL"
            value = "amqps://${RABBIT_USER}:${RABBIT_PASSWORD}@broker-id.mq.amazonaws.com:5671/vhost"
          },
          {
            name = "RETRY_INTERVAL"
            value = "15"
          }
        ]

How do you feel about using the auto_envvar_prefix which would allow all options to be passed as environment variables?
If a prefix is ugly we could just set the prefix to an empty string.
https://click.palletsprojects.com/en/8.1.x/options/#values-from-environment-variables

I'm definitely pro using a non-blank prefix here. My reasoning is to provide some separation for users who run the exporter outside of docker. e.g. $PORT could be fairly common on a system.

Good idea.

What would you suggest as a string for the prefix -- the full CELERY_EXPORTER_* or an abbreviated CE_*?

I prefer CELERY_EXPORTER_ as it's explicit rather than implicit.

Thanks @likesavabutworse :heart_decoration:

Released as danihodovic/celery-exporter:0.2.1.

@likesavabutworse In the most recent release the prefix was changed to CE_ as your proposed since CELERY_EXPORTER_ clashed with Kubernetes environment variables for service discovery.


How to add a configuration node from another node's code

I tried to add multiple configuration nodes depending on the names I read on a file and I'm trying to use the function,
RED.nodes.createNode(node, config);
where the config is the type, the id, the z (which is empty) and the name( which I got from the file)
and the node is also the type of the configuration node.
For example,
    var config={ id: 'a716a48f.01fd58',type: 'Machine',z: '',name: 'bobineuse', _users: [] }
    console.log(RED.nodes.createNode('Machine',config));

However, I get the error
this.updateWires is not a function
I don't know if RED.nodes.createNode is the correct function to use, I tried with RED.nodes.add() but it didn't work either.
Thank you

Hi, thanks for raising an issue.
If you check out our contribution guidelines that you were shown when you opened the issue, you'll see we prefer to handle this sort of thing on the forum or slack team. If its a general how-to type question, you could ask a question on Stack Overflow and tag it node-red.
This allows the whole Node-RED user community to help, rather than rely on the core development team.
We have not got a published runtime api for dynamically adding nodes. The only way to do that is by adding them to the flow configuration that is deployed.
Thanks!

Closing as this is not an active issue. If this is still an open question, please use the forum as described above.

@knolleary I would be grateful if you provide available apis. In my situation I just try to initialize node red as it was in "Embedded" doc, and getting this same error. Also I provide flowFile through settings passed in RED.init().
I could notice that the RED object that comes inside block's constructor isn't the same as it is in application downloaded from git directly, I tried to download git repo as node_module but didn't succeed with npm run build script.


UX Backend - Unified handling of env var based configuration

Common validation and default value handling for env vars configuration
Signed-off-by: nb-ohad<EMAIL_ADDRESS>

@rchikatw Can you please review?

/lgtm

/lgtm

/hold

/unhold

/cherrypick fusion-hci-4.14

/cherrypick release-4.15


⚠ api.piste.gouv.fr healthcheck has degraded performance

In 73c1e33, api.piste.gouv.fr healthcheck (https://api.piste.gouv.fr/cassation/judilibre/v1.0/healthcheck) experienced degraded performance:

HTTP code: 200
Response time: 2683 ms

Resolved: api.piste.gouv.fr healthcheck performance has improved in b028ca7.


Add type declaration to jsdoc of Locator.

Motivation/Description of the PR

Description of this PR, which problem it solves
This PR fixed wrong type definition of  Locator.filters and Locator.addFilter.
These caused TypeScript's error.

Resolves #issueId (if applicable).
#2794

Applicable helpers:

[ ] WebDriver
[ ] Puppeteer
[ ] Nightmare
[ ] REST
[ ] FileHelper
[ ] Appium
[ ] Protractor
[ ] TestCafe
[ ] Playwright

Applicable plugins:

[ ] allure
[ ] autoDelay
[ ] autoLogin
[ ] customLocator
[ ] pauseOnFail
[ ] coverage
[ ] retryFailedStep
[ ] screenshotOnFail
[ ] selenoid
[ ] stepByStepReport
[ ] wdio
[ ] subtitles

Type of change

[ ] :fire: Breaking changes
[ ] :rocket: New functionality
[x] :bug: Bug fix
[ ] :clipboard: Documentation changes/updates
[ ] :hotsprings: Hot fix
[ ] :hammer: Markdown files fix - not related to source code
[ ] :nail_care: Polish code

Checklist:

[x] Tests have been added
[x] Documentation has been added (Run npm run docs)
[x] Lint checking (Run npm run lint)
[x] Local tests are passed (Run npm test)

Thanks!


feat(toast): Add toast component

PR Checklist
Please check if your PR fulfills the following requirements:

[ ] The commit message follows our
guidelines: https://github.com/goetzrobin/spartan/blob/main/CONTRIBUTING.md#-commit-message-guidelines
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

Which package are you modifying?

[ ] accordion
[ ] alert
[ ] alert-dialog
[ ] aspect-ratio
[ ] avatar
[ ] badge
[ ] button
[ ] calendar
[ ] card
[ ] checkbox
[ ] collapsible
[ ] combobox
[ ] command
[ ] context-menu
[ ] data-table
[ ] date-picker
[ ] dialog
[ ] dropdown-menu
[ ] hover-card
[ ] input
[ ] label
[ ] menubar
[ ] navigation-menu
[ ] popover
[ ] progress
[ ] radio-group
[ ] scroll-area
[ ] select
[ ] separator
[ ] sheet
[ ] skeleton
[ ] slider
[ ] switch
[ ] table
[ ] tabs
[ ] textarea
[x] toast
[ ] toggle
[ ] tooltip
[ ] typography

What is the current behavior?

Closes #
What is the new behavior?
Does this PR introduce a breaking change?

[ ] Yes
[ ] No

Other information

Hey @goetzrobin,
There is still lots to refactor, but I'm wondering about the styling. So brain shouldn't have any styles at all or just some basic styles? Right now there is a lot of basic styles in the brn-toaster.component, is that allowed or what should I do with it? Also should it be moved to tw classes as well? Or is this fine?
I'm thinking about a hlm directive on top of the toaster that adds the [data-styled]=true styling. I think the other styling could be staying in brain. What do you think?

@jstnjs this is interesting. The idea was that brn components are unstyled by default. They never have a dependency in tailwind. I definitely would like to keep that no dependency on tailwind, but I'm not sure that unstyled by default makes sense in this context. Do you know what Sonner does?

@goetzrobin Hmm. The sonner has styling by default. There is a prop called unstyled where, if turned on, the toast itself does not have styling. You can add classes in the toastOptions object. But all other stying such as mentioned below, still exists.
Which is what we could seperate between brain and helm, but what about the default transitions, positions (top-left, bottom-right, etc), showing close or action buttons etc? I'm not sure if it makes sense to have it not be included in brain.

@jstnjs just wanted to give you a heads up that we migrated to 17.1 to allow for signal input support! Also moved to the project to pnpm and avoid dependency issues with yarn!

@goetzrobin Alright for the positions we could use overlayModule and for the default animations we could provide angular animations maybe? Is that allowed? Maybe this could work. For the action buttons we could use props and no styling, idk why I thought that would be a problem.

do you mean the Angular CDK Overlay? That's what I have been using and would recommend very much! It's supported by the Angular team, takes care of accessibility out of the box and is already a dependency in the project!


Unable To Use Transparent Alpha Channel Video

Do you want to request a feature or report a bug?
I believe this worked once before on older versions but no longer works. So a feature and a bug at this point. Has anyone gotten this to work on recent versions?

What is the current behavior?
Videos with alpha channel show as black boxes or not at all on latest version of AR.js utilizing A-frame.
If the current behavior is a bug, please provide the steps to reproduce.
Attempt to use a video with an alpha channel and have transparency work

Please mention other relevant information such as the browser version, Operating System and Device Name
I have attempted to use the following to get this to work but it does not seem to work for me using AR.js and A-Frame
https://github.com/balataca/aframe-transparent-video-shader
https://github.com/jeromeetienne/AR.js/issues/480
These are the scripts I am using:
<script src="https://aframe.io/releases/1.4.1/aframe.min.js"></script>
<script src="https://raw.githack.com/AR-js-org/AR.js/master/aframe/build/aframe-ar-nft.js"></script>
What is the expected behavior?
When using a video with alpha channels there are shaders or options to allow for alpha channel to be taken into account.
If this is a feature request, what is motivation or use case for changing the behavior?
I would like to be able to use a video that has alpha channels in my AR experience but I am unable to.

I'm curious to see the progress of this thread - so commenting for future update.

Last version I think it worked with was 0.8

any update?


BatchReceivePolicy.maxNumMessages not working

Dear Author,
I am currently utilizing the BatchReceiveAsync method in my project, and I've encountered an issue where the number of messages received exceeds the limit set by BatchReceivePolicy.maxNumMessages. Despite configuring the BatchReceivePolicy to limit the number of messages per batch, the method occasionally returns more messages than specified.
await using var consumer =
    await pulsarClient.NewConsumer(Schema.STRING(Encoding.UTF8))
        .Topic(_topic)
        .SubscriptionName(_subscription)
        .SubscriptionType(SubscriptionType.Shared)
        .SubscriptionInitialPosition(SubscriptionInitialPosition.Latest)
        .AutoUpdatePartitions(true)
        .NegativeAckRedeliveryDelay(TimeSpan.FromMilliseconds(500))
        .BatchReceivePolicy(new BatchReceivePolicy(100, -1L, TimeSpan.FromSeconds(10)))
        .SubscribeAsync();

var messages = await consumer.BatchReceiveAsync(CancellationToken);
var len = messages.Count; // len = ReceiverQueueSize(default: 1000)

Hi! BatchReceiveAsync actually is covered by a number of integration tests and I have never seen it failing. Can you please create an additional failing Integration test in PR so it would be possible to identify an issue and fix it.

I am unable to push the branch due to insufficient permissions.

It's probably your first PR :) You fork the repository, do you commit there and then create a PR from your repository to this one

Thank you for your explanation.
I have created the PR. Since I primarily work on C# projects, I would like to ask how the integration tests are generally conducted for this project.

https://github.com/fsprojects/pulsar-client-dotnet/pull/260 - I think you updated the right test, however the test didn't fail

If you know some specific failing conditions like more threads, more messages or anything else, I'd recommend to create a separate test rather than updating existing one

Currently, I am not aware of any additional triggering conditions, and I am not proficient in using F#. If I find any further triggering conditions later, I will report back.
It has been observed that in the .Net 8.0 C# environment, the data length returned by BatchReceiveAsync is equal to ReceiveQueueSize, rather than the maxNumMessages defined in BatchReceivePolicy.
Pulsar-broker image: apachepulsar/pulsar-all:2.10.2

I see, unfortunately without a failing test there is nothing to fix. I think it shouldn't be difficult to write additional test by copying existing one and modifying it. If you have any F#-related questions you can ask in slack or discord or telegram, we have a friendly community


Added support for .sh domain.

Added support for #35 - .sh domains. Two samples: root.sh and unix.sh.

Thanks!


Bug: YamlDotNet serialization/deserialization exception

How to reproduce?
Add a new operation using a single value type parameter to an AsyncApiDocument, and try serializing it to Yaml.
Expected behavior
The AsyncApiDocument is correctly serialized.
Actual behavior
The YamlDotNetSerializer fails to serialize the AsyncApiDocument, because of the automatically generated example for the added operation.
As a matter of fact, when using a single value type parameter, the generated example is a simple JToken, as opposed to being a JObject.
Here's the exception thrown in such cases (reproduced by visiting https://localhost:44326/asyncapi/TemperatureSensorApi/1.0.0 on the solution's sample app) :
YamlException: (Line: 1, Col: 1, Idx: 0) - (Line: 1, Col: 1, Idx: 0): Expected SCALAR, SEQUENCE-START, MAPPING-START, or ALIAS, got MappingEnd

Additonal info
The exception is doubtlessly caused by the JTokenSerializer

I'm getting a serialization exception when attempting to build a AsyncApi document, my issue appears to be when trying to serialize a "Definition" - which the Yaml converter thinks is a URI (as it's a pointer within the document.) - This throws a "Object must implement IConvertible" error, which is misleading.

@abbottdev I just published a new release today, with updated package references. Can you confirm that your issue has been resolved?
P.S: don't forget to check and play with the agnostic AsyncAPI client I just added ;)

Still not working. i recieve next error :
YamlDotNet.Core.YamlException: (Line: 1, Col: 1, Idx: 0) - (Line: 1, Col: 1, Idx: 0): Expected SCALAR, SEQUENCE-START, MAPPING-START, or ALIAS, got MappingEnd          at YamlDotNet.Core.Emitter.EmitNode(ParsingEvent evt, Boolean isMapping, Boolean isSimpleKey)          at YamlDotNet.Core.Emitter.Emit(ParsingEvent event)          at YamlDotNet.Serialization.EventEmitters.WriterEventEmitter.YamlDotNet.Serialization.IEventEmitter.Emit(MappingEndEventInfo eventInfo, IEmitter emitter)          at YamlDotNet.Serialization.EventEmitters.ChainedEventEmitter.Emit(MappingEndEventInfo eventInfo, IEmitter emitter)          at YamlDotNet.Serialization.ObjectGraphVisitors.EmittingObjectGraphVisitor.YamlDotNet.Serialization.IObjectGraphVisitor<YamlDotNet.Core.IEmitter>.VisitMappingEnd(IObjectDescriptor mapping, IEmitter context)          at YamlDotNet.Serialization.ObjectGraphTraversalStrategies.FullObjectGraphTraversalStrategy.TraverseDictionary[TContext](IObjectDescriptor dictionary, IObjectGraphVisitor1 visitor, Type keyType, Type valueType, TContext context, Stack1 path)


feaure: flag use of isDate()

We just had a isDate issue and CF I recommend not using coldfusion isDate and default to IsValid("USdate", string_value)

http://www.neiland.net/blog/article/be-careful-with-coldfusion-date-validation/


Spurious "Buffering missing file" warning when issuing "COPY" command to export data

What happens?
When executing a "COPY" statement to export to a file, a warning is logged, e.g. Buffering missing file: orders.json
In this scenario, it is expected for the file to be missing, as it should be created by the query, so I don't think it should log as a warning.
To Reproduce
Execute a copy command which writes to a file
Browser/Environment:
Chrome
Device:
Macbook Pro
DuckDB-Wasm Version:
1.28.1-dev271.0
DuckDB-Wasm Deployment:
duckdb_wasm
Full Name:
Kyle Osborne
Affiliation:
Ascend.io

This is easily reproducible by using https://csvfiddle.io/ with any CSV


Add sleep to multi-tenancy test

Per https://github.com/ucbrise/clipper/pull/616#issuecomment-459970018
cc @withsmilo

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Clipper-PRB/1792/
Test FAILed.

jenkins test this please

Amplab Jenkins is having issue pulling from github.  Our sysadmin (@sknapp) told me this should be resolved at most in few days. I’ll re-trigger the build once resolved.

jenkins test this please

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Clipper-PRB/1794/
Test FAILed.

jenkins test this please

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Clipper-PRB/1796/
Test FAILed.

jenkins test this please

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Clipper-PRB/1797/
Test FAILed.

https://amplab.cs.berkeley.edu/jenkins//job/Clipper-PRB/1797/ has two errors.
 [unittest_libclipper] [ RUN      ] TimerSystemTests.SingleTimerExpire
 [unittest_libclipper] /clipper/src/libclipper/test/timers_test.cpp:29: Failure
 [unittest_libclipper] Value of: timer_future.isReady()
 [unittest_libclipper] Actual: false
 [unittest_libclipper] Expected: true
 [unittest_libclipper] Uh oh
 [unittest_libclipper] [  FAILED  ] TimerSystemTests.SingleTimerExpire (3 ms)
.....
 [unittest_libclipper] [ RUN      ] ModelContainerTests.BatchSizeDeterminationExploitsAdvantageousBatchSizeLatencyRelationship
 [unittest_libclipper] /clipper/src/libclipper/test/container_test.cpp:38: Failure
 [unittest_libclipper] Expected: (batch_size) > (last_batch_size), actual: 1 vs 1
 [unittest_libclipper] [  FAILED  ] ModelContainerTests.BatchSizeDeterminationExploitsAdvantageousBatchSizeLatencyRelationship (0 ms)

This PR is closed because I created a new PR to fix CI problem.


reconnection after timeout

Problem

(X ) bug report => please search github for a similar issue or PR before submitting
( ) unexpected behavior => please visit the Wiki before

Current behavior
If you subscribe monitoring, and stop OPC server, then start OPC server back, it doesn't re-subscribe items and node-red crasches;
Expected behavior
Subcribe to all items after reconnection;
Minimal reproduction of the problem with instructions

start two different node-red engines (so you can stop server)
subscription flow:
[{"id":"6079e9d1.cf1128","type":"OPCUA-IIoT-Listener","z":"c698100c.39382","connector":"f3a4064b.588be8","action":"subscribe","queueSize":"50","name":"OPC Monitor","justValue":true,"showStatusActivities":true,"showErrors":true,"x":410,"y":200,"wires":[["aa92cfb3.f6f78"]]},{"id":"5f122c24.b32004","type":"OPCUA-IIoT-Inject","z":"c698100c.39382","injectType":"listen","payload":"1000","payloadType":"num","topic":"","repeat":"","crontab":"","once":false,"startDelay":"0","name":"","addressSpaceItems":[{"name":"","nodeId":"ns=4;s=.a","datatypeName":""},{"name":"","nodeId":"ns=4;s=.b","datatypeName":""}],"x":190,"y":200,"wires":[["6079e9d1.cf1128"]]},{"id":"aa92cfb3.f6f78","type":"debug","z":"c698100c.39382","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","x":590,"y":180,"wires":[]},{"id":"f3a4064b.588be8","type":"OPCUA-IIoT-Connector","z":"","discoveryUrl":"","endpoint":"opc.tcp://<IP_ADDRESS>:55380","keepSessionAlive":true,"loginEnabled":false,"securityPolicy":"None","securityMode":"NONE","name":"DEVELOPMENT","showErrors":true,"publicCertificateFile":"","privateKeyFile":"","defaultSecureTokenLifetime":"","endpointMustExist":false,"autoSelectRightEndpoint":true,"strategyMaxRetry":"9999","strategyInitialDelay":"1000","strategyMaxDelay":"30000","strategyRandomisationFactor":"","requestedSessionTimeout":"30000"}]
Server flow:
[{"id":"fe83deaf.1c2d","type":"debug","z":"b75ebf50.46e1","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":736,"y":231,"wires":[]},{"id":"f74155e7.e80048","type":"OPCUA-IIoT-Flex-Server","z":"b75ebf50.46e1","port":"55380","endpoint":"","acceptExternalCommands":true,"maxAllowedSessionNumber":"","maxConnectionsPerEndpoint":"","maxAllowedSubscriptionNumber":"","alternateHostname":"","name":"","showStatusActivities":true,"showErrors":true,"allowAnonymous":true,"isAuditing":false,"serverDiscovery":true,"users":[],"xmlsets":[],"publicCertificateFile":"","privateCertificateFile":"","maxNodesPerRead":1000,"maxNodesPerBrowse":2000,"addressSpaceScript":"function constructAlarmAddressSpace(server, addressSpace, eventObjects, done) {\n    // server = the created node-opcua server\n    // addressSpace = script placeholder\n    // eventObjects = to hold event variables in memory from this script\n\n    // internal global sandbox objects are\n    // node = node of the flex server,\n    // coreServer = core iiot server object for debug and access to nodeOPCUA,\n    // and scriptObjects to hold variables and functions\n\n    // globals are to find on node.context().global and should be initialized here\n    node.context().global.set(\"TestOPCUAVarValue\", {})\n\n    coreServer.internalDebugLog('init dynamic address space')\n    node.warn('construct new address space for OPC UA')\n\n\n    // from here - see the node-opcua docs how to build address sapces\n    let tanks = addressSpace.addObject({\n        browseName: 'MyTest',\n        description: 'The Object representing some boxes',\n        organizedBy: addressSpace.rootFolder.objects,\n        notifierOf: addressSpace.rootFolder.objects.server\n    })\n\n\n    let myVariables = addressSpace.addObject({\n        browseName: 'MyVariables',\n        description: 'The Object representing some variables',\n        organizedBy: addressSpace.rootFolder.objects,\n        notifierOf: addressSpace.rootFolder.objects.server\n    })\n\n    if(coreServer.core) {\n        addressSpace.addVariable({\n            componentOf: myVariables,\n            nodeId: 'ns=4;s=.a',\n            browseName: 'bySecurityStatus',\n            displayName: 'bySecurityStatus',\n            dataType: 'Double',\n            value: {\n                get: function () {\n                    return new coreServer.core.nodeOPCUA.Variant({\n                        dataType: 'Double',\n                        value: scriptObjects.a\n                    })\n                },\n                set: function (variant) {\n                    scriptObjects.a = parseFloat(variant.value)\n                    return coreServer.core.nodeOPCUA.StatusCodes.Good\n                }\n            }\n\n        });\n        addressSpace.addVariable({\n            componentOf: myVariables,\n            nodeId: 'ns=4;s=.b',\n            browseName: 'bySecurityStatus',\n            displayName: 'bySecurityStatus',\n            dataType: 'Double',\n            value: {\n                get: function () {\n                    return new coreServer.core.nodeOPCUA.Variant({\n                        dataType: 'Double',\n                        value: scriptObjects.b\n                    })\n                },\n                set: function (variant) {\n                    scriptObjects.b = parseFloat(variant.value)\n                    return coreServer.core.nodeOPCUA.StatusCodes.Good\n                }\n            }\n\n        })\n\n    } else {\n        coreServer.internalDebugLog('coreServer.core needed for coreServer.core.nodeOPCUA')\n    }\n\n    done()\n}\n","x":535,"y":108,"wires":[["d34a1e70.9051f"]]},{"id":"d34a1e70.9051f","type":"debug","z":"b75ebf50.46e1","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":755,"y":108,"wires":[]},{"id":"75a4cfc1.dd71d","type":"OPCUA-IIoT-Inject","z":"b75ebf50.46e1","injectType":"write","payload":"","payloadType":"date","topic":"","repeat":"8","crontab":"","once":false,"startDelay":"","name":"change simulated box security status","addressSpaceItems":[{"name":"bySecurityStatus","nodeId":"ns=4;s=.a","datatypeName":"Double"}],"x":155,"y":228,"wires":[["9d7969ee.46bad8"]]},{"id":"9d7969ee.46bad8","type":"function","z":"b75ebf50.46e1","name":"random state","func":"var states = [0, 1, 11];\nvar random = states[Math.floor(Math.random()*states.length)];\n\nmsg.valuesToWrite = [random]; \nreturn msg;","outputs":1,"noerr":0,"x":415,"y":228,"wires":[["1d451586.55e5ca"]]},{"id":"1d451586.55e5ca","type":"OPCUA-IIoT-Write","z":"b75ebf50.46e1","connector":"1add6727.060519","name":"","justValue":true,"showStatusActivities":true,"showErrors":true,"x":575,"y":228,"wires":[["fe83deaf.1c2d"]]},{"id":"98d4be44.0f8b4","type":"OPCUA-IIoT-Server-Command","z":"b75ebf50.46e1","commandtype":"restart","nodeId":"","name":"","x":285,"y":108,"wires":[["f74155e7.e80048"]]},{"id":"8b082c6d.feb82","type":"OPCUA-IIoT-Inject","z":"b75ebf50.46e1","injectType":"inject","payload":"","payloadType":"date","topic":"","repeat":"","crontab":"","once":false,"startDelay":"","name":"","addressSpaceItems":[],"x":105,"y":108,"wires":[["98d4be44.0f8b4"]]},{"id":"1add6727.060519","type":"OPCUA-IIoT-Connector","z":"","discoveryUrl":"","endpoint":"opc.tcp://<IP_ADDRESS>:55380","keepSessionAlive":true,"loginEnabled":false,"securityPolicy":"None","securityMode":"NONE","name":"DEVELOPMENT","showErrors":true,"publicCertificateFile":"","privateKeyFile":"","defaultSecureTokenLifetime":"","endpointMustExist":false,"autoSelectRightEndpoint":true,"strategyMaxRetry":"0","strategyInitialDelay":"2000","strategyMaxDelay":"3000","strategyRandomisationFactor":"","requestedSessionTimeout":"3000"}]

Start both flows, different nod-red engines; After subscription, stop opc server node-red engine;
Wait a while and then start it again; it will fail to subscribe back all the nodes:
 [error] [OPCUA-IIoT-Listener:OPC Monitor] TypeError: Cannot read property 'deleteMonitoredItems' of null
Most of the cashes whole node-red crashes:
./node-red/node-red-contrib-iiot-opcua/node_modules/node-opcua-client/src/client_monitored_item_base.js:169     assert(subscription.session);     ^ AssertionError [ERR_ASSERTION]: subscription.session
Your Environment
Just latest<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>

(X ) I am using just the Node-RED package and got node-opcua installed with it

( ) I have installed node-opcua global from source (using git clone)

( ) I have installed node-opcua as a global package (using npm i -g)

Device :

( X) macOS: v
( ) Linux: v
( ) Windows: v
( ) Raspbian: v
( ) Other:

Name:
Version:

Node: (min. 8.x)
node --version =v9.5.0

https://github.com/node-opcua/node-opcua/issues/474

please try v2.6.2 it is back on v0.2.2 of node-opcua and works well on my side

Well, it's not working; For some reason it terminates one monitor:
`
opcuaIIoT:connector Session Created On opc.tcp://<IP_ADDRESS>:55380/UA/NodeREDFlexIIoTServer For on connect +276ms
opcuaIIoT:listener:subscribe Monitored Item Unsubscribe ns=4;s=.starrStorages[35].bySecurityStatus +1m
opcuaIIoT:listener Terminated For 1 +1m
opcuaIIoT:listener Terminate Monitored Item ns=4;s=.starrStorages[35].bySecurityStatus +0ms
opcuaIIoT:listener listening (1) +1ms
`
And with second break it crashes:
` Server State =  Running
opcuaIIoT:connector !!!!!!!!!!!!!!!!!!!!!!!!  CLIENT STARTING RECONNECTION !!!!!!!!!!!!!!!!!!! +56s
opcuaIIoT:connector CONNECTION STARTING RECONNECTION: opc.tcp://<IP_ADDRESS>:55380/UA/NodeREDFlexIIoTServer +0ms
/Users/reijo/dev/kookon/node-red/node_modules/node-opcua-client/src/client_base.js:290
assert(!self.isReconnecting);
^
AssertionError [ERR_ASSERTION]: !self.isReconnecting
`
But as I can see, on a master branch of node-opcua there is commit: https://github.com/node-opcua/node-opcua/commit/d5d9e51bc219de1ab242640714fbc40dc946d72b
Those yesterdays commits are related with my really old reconnection issue: https://github.com/node-opcua/node-opcua/issues/237  :) 👍

Hiya reij, did you ever solve this? I am getting a "Server State = Running" timeout, without a reconnect.
I am using a test OPC server from Prosys, but it should not be the issue.
I cannot seem to find any other thread that is talking about this issue.

new in v3.0.0 - improved node-opcua since v0.4.6 - FSM to reconnect via states - very new reconnecting automatically via node-opcua

open a new issue if it does not work from v3.0.0 (not released for now)


SBT 1.3. and junit-interface 0.11 not running JUnit tests

This is just meant to be a duplicate of https://github.com/sbt/junit-interface/issues/35 but for SBT 1.3, and putting SBT 1.3 in the title of the issue to help anyone searching on the web for a solution.
I came across https://github.com/sbt/junit-interface/issues/35 while trying to understand why my JUnit tests stopped running when I moved from SBT 1.2.8 to 1.3.13 (both with junit-interface 0.11).
Basically the same crossPaths := false solution from https://github.com/sbt/junit-interface/issues/35 works in the case of SBT 1.3.

we use SBT 1.3.13 and tests work fine without any workarounds


Some refactoring on handlers.py

please check it out #1

Pull request merged, thanks for the contribution!


Code optimization

Hello,I am really interested in your fine work and trying to reproduce the results!
Can you share the prompts and examples for the code optimization?
I am having hard time reproducing the code optimization results.
I have an additional question regarding code optimization in your paper. Specifically, I'm interested in how you calculated the percentage of programs that were optimized. When reproducing the results, I noticed that some codes performed worse, while others actually showed improvement.

Hi @juny116 , sorry about the late response.
The prompts and the code has been added. For evaluation, you'll need to follow evaluation setup here.


No matching URL found on friendly urls and anchors fragment

Hi,
Is is possible to add support for friendly urls and anchor fragments in function OpenSearchUrl.fromTemplateUrl which only take care of query strings at the moment ?
When I parse an opensearch document with such urls I cannot perform search and get the error message "Error: No matching URL found, unsupported parameters keys: "searchTerms""
Here is a example :

http://www.wordreference.com/enfr/{searchTerms}
https://encrypted.google.com/webhp#q={searchTerms}&safe=off&hl=en&gl=US&ie=utf8&oe=utf8&ncr=1

Thanks,

Hi and sorry for late response. Unfortunately this library is currently not actively maintained at the moment.
However feel free to submit a Pull Request with the implemented new feature. We shall try to have a look and merge it to the repository.


Update Twitter Logo to X in SVG Format

The current Twitter logo used on the website is outdated and needs to be updated to the new "X" logo as part of the recent rebranding of Twitter to X. The logo is implemented in SVG format, so the necessary modifications should involve replacing the existing SVG with the updated design.
Tasks:

Identify all instances of the current Twitter logo SVG used in the codebase.
Replace the existing SVG with the new "X" logo SVG.
Ensure the updated SVG is styled and responsive to match the website's design guidelines.
Test across all affected components/pages to verify the change is correctly reflected.

If you allow , may I start working on this issue?


python quit unexpected

Hi install latest TimewarpML, install all ok. But when i create fluidmorph transition it show python quit and i go to privacy and security on mac it said : "python" was blocked from use because it is not from an identified developer, i also open anyway with password but it not solve. Can i ask how can i fix this.
P/s: My mac is m2 ultra, Sonama 14.5. Flame 2024. tks

It is a standard MacOS quarantine attribute, please use bundled fix-xattr.command to clear it


Add ability to merge with master branch

This change provides an ability to merge with master branch from funkyfuture and pyeve.
Please, review all changes. I tried to make the merge as accurate as possible, but could done mistakes.
not passing (as probably wasn't in forward):
FAILED cerberus/tests/test_schema.py::test_unknown_rule
FAILED cerberus/tests/test_schema.py::test_unknown_type

no, it's not that easy. what you probably should do (or i would later):

make a new branch off the master
cherry-pick and adjust(!) the commits from the forward branch in order

I did the merge of your branch to the master. Is it wrong way to do it?

yes, because the forward branch is missing commits from the master branch and eventually the forward-commits shall appear after them in the git history, as the forward branch originally did.
so, usually a rebase would be necessary, but in this case cherry-picking individually is preferable for the nervous system. (rebasing is essentially a bulk of cherry-picking.)
if you're unfamiliar with rebasing and cherry-picking, take your time to learn and practise it. it took me some time to use these tools safely, but it is certainly worth it to know these.

I thought you want to merge it (as it was said in the original PR). I'll do the rebase.

if you want to take this challenge, please

open a PR on the pyeve repo where the master branch is up-to-date
begin with one commit from the forward branch, so i can review one commit at a time

the resulting PR must have only the commits from the forward branch on top of 688a67a4069e88042ed424bda7be0f4fa5fc3910. nothing else that has already been merged like in this PR here.

no sense with this branch anymore. Rebased to pyeve


UAA 3.9.2 Release note error

What errors
There is an error in 3.9.2 release notes to show how to configure JWT Signing Key with new format in UAA.yml
Original
jwt:
  policy:
    activeKeyId: key-id-1
      keys:
         key-id-1:
          signingKey: |
            -----BEGIN RSA PRIVATE KEY-----
            -----END RSA PRIVATE KEY-----

It should be?
jwt:
  policy:
    activeKeyId: key-1
    keys:
      key-1:
        signingKey: |
          -----BEGIN RSA PRIVATE KEY-----
          -----END RSA PRIVATE KEY-----

Fixed. Thanks!


[Bug]:

The problem
Good morning, I have 3 Panasonic devices connected to my account. Everything is ok as long as all 3 are connected to the adapter. The problem begins when one of them goes offline, then the others also become unavailable.
What version of Home Assistant Core are you running?
core-2024.5.5
What type of installation are you running?
Home Assistant OS
What version of the integration are you running?
0.7.0
Device description
1 zone
3 x Heat Pump in one account
Is the integration loading?
Yes
Is the adapter able to connect to the Aquarea Smart Cloud with a stable internet connection?
Yes
Are you able to perform the action you're trying to with the Aquarea Smart Cloud Site/App?
Yes
Area of the issue
No response
Anything in the logs?
No response
Additional information
No response

For me also stopped working.


Search field prioritisation

Some related user feedback here:

Specific searches threw up more than expected , maybe misunderstanding of the search engine ? ‘George Orwell’+ 1984 provides many more results than expected. A one-word search e.g. Orwell yields a mix of the things to do with the place Orwell, books by the author George Orwell and books where Orwell is mentioned. When you add George to search George Orwell you don’t get all George + Orwell items first it just seems a haphazard mix and Orwell only results are mixed in with George + Orwell. Would it be either an option or just a hard-wired practice to list first Orwell where Orwell is the author, then where Orwell occurs in the title of a book, then Orwell when mentioned in a book. Where one has George + Orwell surely the combination of both should be listed first.

I suspect people are going to try Google-style searches here (note: I have no idea what these are or how to use them, so they're probably a pro-level feature!) so it would be good to follow that model whenever we implement this. We'll also want to add instructions to the help page (#7), which I am happy to help with because if I can understand it, probably anyone can. 😜
Originally posted by @sarahmonster in https://github.com/opentexts/opentexts/issues/90#issuecomment-694764499

Part of this feedback is that certain fields should be weighted more heavily in results - it looks like this IS possible in Solr - are we already doing this and/or should we consider it? :smile:
https://stackoverflow.com/questions/16404228/solr-high-priority-in-fields

Right now we have an out the box solr configuration, so nothing is weighted at all. Definitly something we can look into, I guess for title and creator mainly?

Would it be either an option or just a hard-wired practice to list first Orwell where Orwell is the author, then where Orwell occurs in the title of a book, then Orwell when mentioned in a book. Where one has George + Orwell surely the combination of both should be listed first.

Seems to chime with the feedback yeah, probably something we keep under review with analytics. I wonder if it's possible to detect how often search terms appeared in each field? Maybe count the highlights, though that might be too broad a measure. A manual review of query types would probably suffice?

Having finally gotten around to reading the Help page (🙄) I actually think a key issue here is that we're defaulting to OR searching—ie, returning results that match any of the words in the search query—where users expect results to return an AND search.
This is how Google operates (https://support.google.com/websearch/answer/2466433?hl=en-PT&ref_topic=3081620) and I'd recommend that we follow that pattern—instead of having an explicit AND query, we should have an explicit OR query instead. This would better match user expectations and established patterns, as well as returning more relevant result sets by default.

I'm pretty convinced that isn't what Google does actually - I believe like us Google will return results that contain either but prefers results that contain both.
You'll quite often see Google results with a line informing you of this for more complex searches and the option to make it required:

Making it required just adjusts the search to include the term in quotes.

For simple searches this doesn't matter of course - their index is large enough that they'll easily fill many pages with results containing Fruit and Juice before moving to either or.

Weighted search is reasonably easy to add in Search.php:
// Use dismax
$dismax = $query->getDisMax();
$dismax->setQueryFields('title^5 creator^5 year^5 publisher^5 placeOfPublication^2 description topic');


can not work on Android

hi @lrain-lv do you have any updated ?

Works fine, at least with my fork


DDS for UAV telemetry

Hello. I'm sorry, because this issue is little off-topic, but you know RTPS spec.
We are working on next generation of UAV telemetry protocol, so i would like to know does RTPS are good solution on low bandwidth connections (~5 KiB/s - for common modems)?
Also that task require serial transport, but you are already planned it.

Thank you!
You are right, headers require too much space, but i hope that it might be reduced under to ~24 bytes.
But CDR is good, almost same as plain struct.


Highlighting issues/inconsistenties

For example
function f() =
  let

will not color let until I add the variable name.
Similarly, include is not colored if it's indented.
interface is colored only right after contract. There must be no newlines on the way. I think it should always get the keyword color, because it's not usable anywhere else. Also, main is always colored.
datatype name and record name are colored differently. Moreover, record name is colored differently when it has or doesn't have parameters. type aliases have yet different color.
Some delimiters and operators such as | or <- are not colored. Not sure how important it is, though.
[] and () are colored the same way. This shouldn't be the case imo, because square brackets are (almost?) always expressions, while () and {} are delimiters.
I think variables should be colored the same as function names in expressions. For instance
1. let x = () => 3
2. x
3. x()

I don't see a reason for x to have a different color in 2 and 3. In 1 it is a separate case, because it's introduction, so it may be different. Also observe that upper-ids are colored the same regardless whether there are parentheses around or not.
Type variables ('a) deserve some color imo.

will not color let until I add the variable name.

This was fixed.

Similarly, include is not colored if it's indented.

This was fixed for includes along with pragmas.

interface is colored only right after contract. There must be no newlines on the way. I think it should always get the keyword color, because it's not usable anywhere else. Also, main is always colored.

This was fixed.

datatype name and record name are colored differently. Moreover, record name is colored differently when it has or doesn't have parameters. type aliases have yet different color.

Now all datatype, type, and record names have the same color.

Some delimiters and operators such as | or <- are not colored. Not sure how important it is, though.

These are marked correctly, but there is no color in my vscode current theme for them, so I think they will stay white for now.

[] and () are colored the same way. This shouldn't be the case imo, because square brackets are (almost?) always expressions, while () and {} are delimiters.

I don't think we should color brackets differently, I think different coloring of brackets should be used for nesting (e.g. [[1,2], [3,4]] the level 1 brackets and level 2 brackets have different color).

I think variables should be colored the same as function names in expressions. For instance

I would like the coloring to distinguish between variables and functions, currently it's not possible to differentiate between variables and functions because we don't have semantic highlighting, but once we have it, you should be able to tell by the color if you're looking at a local variable or a function name. Right now, all function calls are assumed to be function names.

Also observe that upper-ids are colored the same regardless whether there are parentheses around or not.

Upper ids are type constructors regardless of whether they have paraentheses or not, that's why they have the same color.

Type variables ('a) deserve some color imo.

They have a color now.

I would like the coloring to distinguish between variables and functions

Sophia it's functional, so there shouldn't be any practical difference

Done here 7c84494ac73ae9e801d73572d5a1c45103dac6a2.


sample and documentation update for using component with type

Fixes https://github.com/dotnet/AspNetCore.Docs/issues/14443

@Rick-Anderson please review

Really nice work, thanks


Python 3.10

@vighneshiyer reported in #10:
I did have some issues running the tests on Python 3.10. We should add a CI target for it. The pytest version needs to bumped and there are a few RecursionErrors that pop up from pydantic.

CI Change: https://github.com/dan-fritchman/Hdl21/commit/49088b87998f0cac448d26bcadde9d2ba43aa4fc
Results: https://github.com/dan-fritchman/Hdl21/runs/4742708858?check_suite_focus=true

Reproduces locally for me as well.

Noting this has been running in CI (and failing) for some time now, since PR #14.
For example: https://github.com/dan-fritchman/Hdl21/runs/7400829227?check_suite_focus=true#step:5:50
Based on that log, I have to imagine this boils down to our dependency versions not playing nice together with Python 3.10. It doesn't really even look like pytest gets to the point where it can import Hdl21.

Will close along with PR #29.


Can't setup custom kubernetes cluster with rancher 2.0 alpha 21 - maybe RKE bug

Rancher versions:
rancher/server: 2.0 preview alpha 21
rancher/agent: 2.0.3
Steps to Reproduce:
Create a new custom cluster and start the agent on one of your hosts (using etcd and control roles).
The agent starts without errors but hangs while connecting via websocket to rancher (no new log messages after the following one):
time="2018-03-18T11:48:41Z" level=info msg="Connecting to proxy" url="wss://rancher.mydomain.com/v3/connect"

Rancher says that Cluster must have at least one etcd plane host, so it seems like RKE doesn't get executed.
Results:
You can't setup a kubernetes cluster with rancher.

I had the same issue, be sure to check if your docker version is supported, or check the allow unsupported docker versions during creation of the cluster.

First place to check is the logging of the rancher/server container, what does it say after the node has been added? This will also show you if @pcjacobse 's comment is the cause.

@pcjacobse You were right! I don't know wether it's possible but it would be fine if this kind of error message would also occur within the agent logs.
@superseb so as we can see, @pcjacobse comment is correct. I have to downgrade the docker version or check unsupported docker versions while cluster creation in the rancher UI.
2018/03/19 12:47:22 [INFO] cluster [cluster-6l27f] provisioning: Building Kubernetes cluster
2018/03/19 12:47:22 [INFO] cluster [cluster-6l27f] provisioning: [dialer] Setup tunnel for host [<IP_ADDRESS>]
2018/03/19 12:47:22 [ERROR] cluster [cluster-6l27f] provisioning: Failed to set up SSH tunneling for host [<IP_ADDRESS>]: Unsupported Docker version found [17.12.1-ce], supported versions are [1.12.6 1.13.1 17.03.2]
2018/03/19 12:47:22 [ERROR] cluster [cluster-6l27f] provisioning: Removing host [xxx.201.x1.250] from node lists
E0319 12:47:22.705048       1 generic_controller.go:200] ClusterController cluster-6l27f [cluster-provisioner-controller] failed with : Cluster must have at least one etcd plane host, [cluster-stats] failed with : Operation cannot be fulfilled on clusters.management.cattle.io "cluster-6l27f": the object has been modified; please apply your changes to the latest version and try again

Verified with master 3/26. If trying ot use a host that has an invalid Docker version, RKE errors out:


The "Show Inactive Positions" Function Does Not Display the Correct Amount of Inactive Positions

I reviewed an advisor organization's inactive positions on the organization's page.
The "Show Inactive Positions" stated there were 38 inactive positions.  When I selected the "Show 38 Inactive Positions" button, only 15 positions were displayed.  Of the 15 positions displayed, only 11 positions were actually inactive.  Four of the positions had an active status.
Reference item 119

Not a valid issue.  The inactive positions are split between the "Supported positions" section and the "Vacant positions" section.

Not a valid issue.  The inactive positions are split between the "Supported positions" section and the "Vacant positions" section.

Not a valid issue.  The inactive positions are split between the "Supported positions" section and the "Vacant positions" section.

Not a valid issue.  The inactive positions are split between the "Supported positions" section and the "Vacant positions" section.

Not a valid issue.  The inactive positions are split between the "Supported positions" section and the "Vacant positions" section.