Add orig_insn_map: mapping from original to new insn indices.

This is needed in the Cranelift client code in order to track
source-location mapping for debug info: we need to be able to shuffle
the source locations into the new locations after the regalloc has done
its instruction-stream editing. The target_map result is not quite
good enough, because it only provides old --> new mappings at a basic
block granularity.

I see why this would be wanted.  But it's another 8 bytes per instruction that the allocator needs to sit on and then drag through the machine's caches, and we're already way slow.  Is this mapping needed in production runs?  If not, I'd prefer to have it implemented similar to the existing request_block_annotations facility -- that is, the client passes in a flag requesting the mapping, and we return it as an Option<TypedIxVec<..>> instead.  That way we can have our cake and eat it, albeit at a little more implementation complexity.

@julian-seward1 re: only doing this when necessary: it appears that the SourceLoc info is always needed, as shown for example by the panic caused by code we had to disable to get wasmtime to run at all. It's possible we could push the notion of "source locations are optional" further up the stack, but so far our clients seem to be built assuming it's always there.
Per @bnjbvr in the related Cranelift PR, we have SourceLoc::default() so it's actually just 4 bytes per instruction -- not ideal, but IMHO not the end of the world either, relative to our core algorithms' costs...

Err, I misspoke w.r.t. the default val (we're in the regalloc crate here -- we're operating with InstIx's); perhaps we could have a "no instruction" special value in the typed index definitions to allow for this savings?

@cfallin ah well, so be it.  If we have to have it, we have to have it.  I'll try and quantify the cost in the next round of RA profiling.

Just added a ::not_present() option to index types (turns out there were several ad-hoc 0xFFFFFFFF not-present literals already); PTAL!


Convert TokenModel to an ES6 class and extract utils function for calculating lifetime

Summary
I saw open issue #212 for converting ES5-style classes to modern class syntax, and it seemed like a nice issue for new contributors to help chip away at (small refactoring that can be covered by unit tests; no functional changes).
So, I am submitting a PR to do that for the TokenModel class. Hopefully it is helpful! I'm happy to make changes to better match the desired styles/conventions of the repo as necessary. Or, if this PR isn't in line with what you had in mind, I won't be offended if you'd prefer to close it.
Overview:

Converted TokenModel to an ES6-style class (previously it was an ES5-style "constructor function").
Extracted a utility function for getting lifetime in seconds from expiration date into a date-util module.
Updated unit tests to cover the affected code.

Linked issue(s)
One checkbox of #212 (but not the whole thing).
Involved parts of the project
Specifically the TokenModel, which is used as a representation for access/refresh tokens.
Added tests?
Although I did not make functional changes, I did add a couple of new test cases to make absolutely sure there weren't regressions.

New test cases in token-model__test.js to make sure that the model constructor is continuing to work as expected, especially when required arguments are missing, or when custom attributes are passed in.
New test file (date-util__test.js) to specifically cover the extracted utility function.

OAuth2 standard
N/A
Reproduction
N/A

Thanks a lot @menewman ! If you intend to do more classes, please be careful with changing the tests as I currently work on #219 and update nearly all integration tests. If you keep the changes in the unit tests then it should be okay.


Host marbles locally

Dear Team ,
When try to run gulp marbles1  I am getting the following error (msg attached)
Error Msg gulb marbles1.docx
And as per the instruction in the error message , when I am unable to follow the steps mentioned in url
https://github.com/IBM-Blockchain/marbles/blob/v3.0/docs/use_bluemix_hyperledger.md
This is because as of now, there is no space in the Bluemix limited beta  to create a service.
Message file attached
Msg No space in Limited Beta - Bluemix.docx
Is there a way out ?
Thanks & Regards
Surya Kumar

The Prerequisite for setting up the local hyperledger fabric setup says that:
These instructions have been tested on Ubuntu 14 and OSX. It may work for Windows 10 if you install the Bash shell. Note: Windows 7 users will need a virtual machine running some flavor of Linux.
And I am using Windows 7 system (64 bit- 4 GB RAM).  In view of this how do we proceed

Have you ever setup a virtual machine before? I'd recommend Virtual Box with Ubuntu 16.
once that is setup you will bootup your virtual ubuntu via virtual box.  from there you can follow the marbles instructions.  make sure to run all the instructions/commands on the ubuntu machine, not your host (windows) machine.

I have Oracle VM in my system. Can I install Ubuntu on this VM ?
On Tue, 6/20/17, dshuffma-ibm<EMAIL_ADDRESS>wrote:
Subject: Re: [IBM-Blockchain/marbles] Host marbles locally (#117)
To: "IBM-Blockchain/marbles"<EMAIL_ADDRESS>Cc: "Surya Kumar"<EMAIL_ADDRESS>"Author"<EMAIL_ADDRESS>Date: Tuesday, June 20, 2017, 1:34 PM
Have you ever setup a virtual
machine before? I'd recommend Virtual
Box with Ubuntu
16.
once that is setup you will bootup your virtual ubuntu
via virtual box.  from there you can follow the marbles
instructions.  make sure to run all the
instructions/commands on the ubuntu machine, not your host
(windows) machine.
—
You are
receiving this because you authored the thread.
Reply
to this email directly, view
it on GitHub, or mute
the thread.

Maybe? I'm not sure what the difference is since Oracle also owns Virtual Box. If I were you I'd use Virtual Box since its very common, thus you can find lots of tutorials/help online.

To get decent performance what would you recomend for Minimum RAM to be allocated and size of the virtual disk.
I have already installed GoLang and Node.js in Windows .
Do I have to install these again in VM along with Docker and Docker compose?

128 GB of RAM and 1TB of disk

lol jk, 4GB of RAM and 40GB of disk would be plenty.  probably could go as low as 2GB of RAM.
and yes, you'd have to install golang, nodejs, docker, docker compose inside the VM.

I have installed Ubuntu 16.04 Xenial on VM.
I am trying to install Docker in Ubuntu using instructions given in
https://docs.docker.com/engine/installation/linux/docker-ce/ubuntu/
On step 4 while following command to set up the stable repository , I am getting an error "IndexError : pieces[2].strip()"
The command used by me:-
sudo add-apt-repository
"deb [arch=amd64] https://download.docker.com/linux/ubuntu/dists/$(lsb_release -cs)/stable"
I have attached the error message

cef4ee0fc.PNG)
Please guide me to fix this error.
Thanks & Regards
Surya Kumar

@rskumar45 we cannot address the docker installation issues. Please refer to https://github.com/docker/docker-ce


Example has width and height transposed

The Simple Example int the README.md has width and height transposed (unless the aim was a FullHD vertical video??):
https://github.com/StreamUI/StreamUI/blob/a83f117fd247b503acb233eb92a8d9ce9b55962f/README.md?plain=1#L136
width: 1080,
height: 1920,

Hey @richardgroves, for most of what I have been using so far I have been making tiktok/instagram reels with it using the 1080w/1920h ;p But can easily be swapped!


Add webpack usage link.

Closes #193. Thanks for documenting this, @matiassingers.

Cool! :+1:

G

Goot 😉


min_quantize lib and command line

a quantize/obfuscate lib
1.without Quantize/DeQuantize ops
2.could obfuscate node names
3.use KMeans instead of simple average slice

Can one of the admins verify this patch?

@suharshs Review this PR please?

@caisq done

Nagging Assignee: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @caisq: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @caisq: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @caisq: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Reviewers @suharshs, @raghuraman-k: It has been 14 days with no activity and the awaiting review label was assigned. Can you please take a look?

Apologies for the long delay!
Thank you for this large contribution!
Can this contribution be released as an external (non-TF) repository rather than being added to contrib? In particular, I don't know of any existing hardware backends that will leverage KMeans quantization's speed up. Additionally, there don't seem to be many dependencies on TF core that make it seem that this would be better off as being a nice, modular, decoupled package.
What do you think? Thanks!

Nagging Assignee @caisq: It has been 15 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @caisq: It has been 30 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @caisq: It has been 46 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @caisq: It has been 61 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @caisq: It has been 76 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @caisq: It has been 91 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @caisq: It has been 106 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @caisq: It has been 121 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @caisq: It has been 136 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @caisq: It has been 151 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @caisq: It has been 166 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @caisq: It has been 181 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @caisq: It has been 196 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @caisq: It has been 211 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Hello @ghost, we appreciate your contribution. As @suharshs suggested, please add this as an external repo. I will close this PR.


Conditionally fix QT 4.8 hack with custom font, and allow custom fonts for >= QT5.0.0

Is there a way to determine the QT capybara was compiled with version while in a ruby environment?
I ask because I plan to open a PR to fix the custom font nonsense but in order for the tests to pass we will need to see what is > QT5.0.0 and what isn't in our ruby env.
I can see how you guys do it in the cpp files:
https://github.com/thoughtbot/capybara-webkit/blob/72b9eca1933f695c2ac4724d30911ad0d1c8b3c3/src/Server.cpp#L12
but in order to still support these specs:
https://github.com/thoughtbot/capybara-webkit/commit/82ae0c298f11098e3393806a595d1ffa8615c4fc
I would need to have a way to determine which qt version it was compiled with.

We actually plan to drop support for Qt < 5 completely in capybara-webkit 2, thus obviating the need for any detection. There is a milestone for this work, but it's currently stalled.

hey @mhoran thanks for the quick reply -- I actually figured out that I can do page.driver.browser.version or even page.driver.version and those will return the data I'm interested in.
I plan to conditionally do the custom font fix for anything < QT5, and then run the specs in that context as well; and if it's above it, do not do the custom font hack, which leads to dozens of more hacks people need to do on their own environments, & not actually testing behavior and real clicks by doing trigger('click') and all that nonsense.
I have been watching the issue you guys have #728 and @jferris mentioned that he would gladly merge a pull request doing so;
This will not be "completely removing it or deprecating QT 4.X support before a major release" like you alluded to, it will be a middle ground.
Thoughts? I plan on getting through this soon, since it looks like the major release has been on the horizon for a while (2yrs+?)

I still have reservations about the conditional override and would just as well prefer PRs that complete the capybara-webkit 2.0 efforts. But at this point the number of users of Qt 4.8 are likely very low, so perhaps it's not even an issue.

Closing via PR #1035


chore: Deprecate member nickname route

Please describe the changes this PR makes and why it should be merged:
Reference Discord API Docs PRs or commits:

https://discord.com/developers/docs/resources/guild#modify-current-user-nick

isn't this a duplicate of #262 ?

isn't this a duplicate of #262 ?

yeah didn't see that one


how to sensor update  gauge esp32  8266 ? i am new to html

great job thanks at first for the great project .......
i am trying to include sensor data in gauge
using esp32
i am able to  do in google metter ! example
!DOCTYPE HTML>

but i am unable to lode external data to  your  gauge ?
pls guide me
i am beginner  only
thanks in advance

doc.html from this repo shows all examples how to use the gauge.
I have no idea about "esp32" and your example refers something from Google that has no relation to my repo.

i find way out thank for the  design
have a good day

thanks for help very easy ......
https://www.youtube.com/watch?v=-YnE1PxDwh0


[bandcamp.com] add release_year metadata field

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm requesting a feature unrelated to a specific site
[X] I've looked through the README
[X] I've verified that I'm running yt-dlp version 2023.03.04 (update instructions) or later (specify commit)
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Provide a description that is worded well enough to be understood
yt-dlp should parse release_year of each bandcamp albums from their release date as it would be useful for naming the output folders/files
Provide verbose output that clearly demonstrates the problem

[ ] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[ ] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
No response

As a workaround for now you can use --parse-metadata "%(release_timestamp>%Y)s:%(release_year)s"

I don't get any ID3 tags bandcamp downloads... is this a known bug?

@h-2 are you using --embed-metadata in your command?
If yes, and it's not working, and you're not getting any metadata tags, then open a new issue and include a full verbose log

any reason this is not the default?

a big reason is because then the file needs to be written to disk an additional time for the embedding, which is undesirable for large GB+ video downloads


[WIP] unified naming convention

Signed-off-by: wbpcode<EMAIL_ADDRESS>
Unified naming convention.
Keep naming convension same with (envoy)[https://github.com/envoyproxy/envoy/blob/main/STYLE.md].

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.wbpcode seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.wbpcode seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Great work! 🎉

Great work! 🎉


[Feature]: Confirmation after tap

Is your feature request related to a problem?
NO
Describe the solution you'd like
I was using multi entity card in the past that had a confirmation popup made so for critical buttons (door openers alarms....) had a pop up to confirm,
Describe alternatives you've considered
The code was like this:
  - entity: switch.abridor_puerta
    name: false
    icon: mdi:remote
    tap_action:
      action: toggle
      confirmation:
        text: Are you sure?

Additional context
card used previously: type: custom:multiple-entity-row

as easy as this:
type: custom:mushroom-entity-card
entity: switch.depuradora_piscina
layout: vertical
icon: mdi:fan
name: Depuradora
secondary_info: none
fill_container: true
tap_action:
  action: toggle
  confirmation:
    text: ¿Estas Seguro de que quieres encender depuradora?


Update whatsapp to 0.2.6424

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] The commit message includes the cask’s name and version.

Additionally, if updating a cask:

[ ] sha256 changed but version stayed the same (what is this?).
I’m providing public confirmation below.

.
└── var
   └── folders
      └── jw
         └── ck0_g_qs5w97fyz73zb8105h7jk819
            └── T
               └── wa-build-qUiEC6
                  └── WhatsApp-darwin-x64
                     └── WhatsApp.app


Split the long question_detail.html file into 2

Using the include tag to split the long HTML, and created
a new answers_display.html file, and basically extracting all the
code for showing the answers to a different file.
This change only affects the looks of the code and doesn't affect what the user sees.
fix #138

Great split, now the code is more arranged


[Incompatibility] Does not impact leaves from BYG

Issue Description:
None of the leaves blocks from BYG mod get affected by Better Foliage. Please make the mod compatible with BYG.
Mod Info:
Forge 43.1.43
Better Foliage 4.0.6
BYG <IP_ADDRESS>

can confirm


Created separate public function

Can’t use closeView(_ withCallback: Bool, source: ActionType = .close)
method as public because ActionType is internal

I'm sorry for previous PR. Did not test it, my fault!

Aha, understood. Thanks.


Improve documentation related to the requirements

We must list the needed packages as well as the potential privileges we
need.
Mostly, we must point the libvirt group belonging.
A potential future improvement is to get a dedicated playbook that will
take care of the initial env bootstrap, to be launched only once. It
will check for the requirements, and output a nice message at the end,
asking the user to login/logout in order to refresh groups, for
instance, or any service message that may help ensuring a successful
deploy.
As a pull request owner and reviewers, I checked that:

[X] Appropriate documentation exists and/or is up-to-date:

[X] Content of the docs/source is reflecting the changes

/approve

/lgtm


Missing CloseCircleSolid + CloseCircleOutline icon

They got deleted in this commit: https://github.com/themesberg/flowbite-svelte-icons/commit/16aeffcca4f71a2868a466ec52cfd2a1a08838a3
For reference:

All the icon names come from the file names.
Please search at https://flowbite-svelte-icons.vercel.app/outline .

Ah! Didn't know this website, thanks!


Support for Functions in IConfiguration Placeholder Resolver

Summary:
We request the enhancement of the IConfiguration placeholder resolver in Steeltoe to support the application of functions to configuration values. This functionality would significantly improve the flexibility and usability of configuration management, particularly for dynamic values such as URLs, AWS ARNs, and other environment-specific settings.
Use Case:
In scenarios where configuration values need to be dynamically adjusted based on the environment or other factors, the ability to apply functions directly within placeholders would be highly beneficial. For example, consider a scenario where the environment name needs to be transformed to lowercase before being included in a URL:
http://${lower(environment)?www}.domain/
In this example, the lower function would convert the environment value to lowercase, ensuring consistency in URL formatting across different environments. Similar use cases include formatting AWS ARNs, normalizing paths, or applying custom transformations to configuration values.
Proposed Implementation:
We propose extending the IConfiguration placeholder resolver to support a set of common functions (e.g., lower, upper, trim, replace) that can be applied within the placeholders. The syntax could follow the pattern of ${function(configKey)}, allowing for intuitive and flexible usage.

Hi @alexanderpino, thanks for reaching out.
While I understand the potential convenience of such a feature, the implementation is rather problematic.
First of all, the set of built-in functions requested is kind of arbitrary. It's pretty easy to come up with many more, such as min/max, substring, length, if, etc. This raises all kinds of design questions (aside from the time it takes to implement/test/document/maintain). For example, would upper work in the current culture, or the invariant culture? Does length only work on strings, or collections too? We don't intend to implement a programming language in the configuration system. Earlier versions of Steeltoe contained SpEL, but we dropped it because of its complexity and poor interop with .NET (for example, generics and modern C# language features can't be used).
Therefore, I think it would make more sense if developers could plug in their own .NET functions into the placeholder resolver, so they can build them the way they like. But that raises another problem. Each time a configuration value is requested, these functions need to re-execute (because Steeltoe can't know if something changed). And configuration may reload at any time. Executing  (potentially expensive) user code could lock up the whole system. Aside from that, the experience would be quite poor, as there's no way to inject dependencies (because the IoC container isn't built yet). Sooner or later developers will want to execute async code in these functions, etc.
The next best thing is to add an in-memory configuration source at startup (assuming the environment doesn't change), for example:
var builder = WebApplication.CreateBuilder();
builder.Configuration.AddInMemoryCollection(new Dictionary.....);
builder.Configuration.AddPlaceholderResolver();

The in-memory dictionary would define the placeholder with the value obtained from builder.Environment.EnvironmentName.
Would this cover your use case?

Closing due to lack of response.


Meteor refresh and build performance is severely impaired

After adding this package Meteor refresh process takes up to 10 times longer to refresh my app than without the package.
Meteor build process takes 3-4 times longer (my subjective feeling).
With 'semantic:ui-css' package none of this happens.
I'm running latest version of Meteor for Win.

Thank you for your feedback!
I don't know about Windows or any other people having this issue. For sure it will take more time (Although I didn't benchmark anything) due to the fact it needs to compile all less files and adds autoprefixer.
I would be curious if you replace flemay:less-autoprefixer with less. The ui will be broken but at least you can see if there is any performance issue.

Well, firstly, i've found out that mac build process is around 2 times faster than on win.
As for the issue itself: removing 'flemay:less-autoprefixer' alleviates the prob completely.
On mac if 'flemay:less-autoprefixer' is present, compilation is 3-4 times longer; still bearable though, considering mac overall speedy build process.
But on windows it becomes a real nuisance.

And why would you need to recompile .less files on client refresh anyway?
The changes are in the app code, not the SUI settings or smth.

If you did remove flemay:less-autoprefixer what did you use instead?
I would expect the same behaviour as the core less package on client refresh.

I used nothing = the ui was broken.
Just tested with core less package - it exhibits same drastic slowdown.
If your autoprefixer is based on core less - than the issue is with it.
But why would it recompile all .less files to .css if they didn't change? (ie, when I'm changing HTML)

I am not surprised.
I believe that your issues are not semantic:ui related but Meteor itself.
Every time a refresh occurs, the client looses all assets. Meteor re-pushes all assets (JS/CSS/Images/Fonts etc) to the client. I would not think Meteor caches the compiled result of any assets (Coffeescript, less).
Or maybe I am wrong?

Well, of course, it re-pushes assets to the client - that's natural.
But it seems Meteor also re-compiles source files, which is really unnecessary if the source hasn't been changed.

I guess we'll have to wait for all of those to be resolved..
https://github.com/meteor/meteor/labels/Project%3AIsobuild%3APerformance

Do either of you have a recommendation on how to speed up rebuilds in lieu of Meteor fixing this?

@joryphillips, I would advise to use semantic:ui-css for the time being.
For css customization I use !importantdeclaration

@joryphillips I would focus on the UI and when I am happy I would compile it and remove the package.

Also a comment from Slava

We are aware of this problem and working on the improvements. In the meanwhile, I must mention that packages get better caching as of today. So if you split up your app into packages, the rebuild time should be much better.

I haven't tested but maybe making a local package that contains custom.semantic.json might help.

Thank you both!

@avalanche1 @joryphillips Hey guys, I have updated semantic:ui to version 1.12.1_1 which would improve compilation time (see this issue and was wondering if you would like to give it a go? :)
Thanks!

Hey, Frederic!
Just tested: build time is still circa 3 times slower and refresh time circa 5 times slower than semantic:ui-css.
Still not usable for me(

Humm.. In the previous version Meteor was compiling all files in definitions because they ended with .less. I changed them to be .import.less so I am pretty sure it should be faster but didn't benchmark it. At least you should see .import.less files in the folder definitions. :)

Ooops, my bad. I was using old `files for testing.
Here are benchmark results with

I was getting 13s rebuilds with the old version, and still 13s with the new. I deleted my prior semantic-ui folder and let the new version recreate everything... what am I doing wrong?

...mmm test in a blank project, like leaderboards

I forgot to delete the semantic-ui folder PRIOR to updating to the most recent version... dropped from 13s to 9s rebuilds. Better!  (I get 4s refreshes and 6s rebuilds with semantic:ui-css.)

For sure it will not get faster than semantic:ui-css since the latter does not have any less files to compile.
Thank you guys for testing/benchmarking! :)

The problem is still persistent. A new, "Welcome Meteor" app gets a build time of about 12 seconds (Ubuntu i7-4770K, 16GB, SSD's). I suppose we would need to move all the .less files to one package where Meteor wont notice on build, and compile all to one .css and let Meteor hanndle that one?  This makes Semantic-UI useless on Meteor....

Just tested with less package instead flemay:less-autoprefixer   less is 2x faster, about 8 seconds

@tvld I need to update flemay:less-autoprefixer. less package uses caching which is new since 1.2.

This may make things faster, but upgrading to 1.2 will slow your rebuilds by itself - https://github.com/meteor/meteor/issues/5269

And maybe this issues should be reopened for now?

This is a bit of a pain point for me at the moment. I have a good spec machine but still getting slow rebuilds. Anything I can do?

You can put raw semantic.js and semantic.css files into client\compatibility folder, just like I did :smiley:

@avalanche1 Thanks I think I also might have to do that because even with the latest meteor, the build time is very slow with the semantic package. I'm using Linux.

Just made some experiments...
Without the semantic-ui package, the build time is nearly 2,000 ms. With the package it's nearly 6,500 ms! If we remove the package and add the raw semantic-ui css (with less components), the build time is 3,500 ms. That's also a bit high. I have a project with bootstrap with even more packages and it goes only upto 2,500 ms! :smiley:

I have been using a hacked version of this package for so long that I really should port the changes back into semantic-ui-meteor. Pinging @veereed

I think I know how to get rid of almost all of the additional build time, I'll take a look at it soon.

@veered did you find a solution to speed up the build time?

At Qualia, we made a package qualia:semantic and copied the SUI source into there. Packages rebuild independently of each other, so this helps build time a lot. The package.js for qualia:semantic ends up looking like this https://gist.github.com/veered/87c8a93be7555671eba9731122904c4d
We also forked the meteor CSS compiler package to not merge the CSS files in dev mode, as this takes is really slow if you have a lot of CSS. I opened a PR but it never got merged https://github.com/meteor/meteor/pull/5875

qualia:semantic is not a publicly available package. The approach I was suggesting involves creating a custom package yourcompany:semantic and putting it in the packages/ directory of you project. This package would contain all of the less files for semantic. This is helpful because Meteor separates rebuilds by package. Right now any change to any file outside of a package in your project will recompile all of the less files. This is causing the poor performance.
The gist I posted is an example of what the package.js for yourcompany:semantic could look like.
If you don't need to customize the SUI less for your project you should just use https://atmospherejs.com/semantic/ui-css. It will be much much faster and not require any fancy shenanigans. It'll just work.
Also it's possible that this PR https://github.com/meteor/meteor/pull/9983 will just fix all of these issues across the board, without any user intervention required.

I hope they fix it.. I tried your approach, line for line copied it, and even tracked it with the Profiler... the "other less plugin" still shows up taking 7-8 seconds during the reloading process, and for some reason after each refresh in even changing a line of code in meteor unrelated to styling - your package will still take 7-8 seconds to reload.
I've got juliancwirko:postcss disabled and the meteor css compiler (standard-minifier-css) disabled too for development.  When either of them are enabled, reloads take 11-12 seconds.  I'm sure the link you posted here: https://github.com/meteor/meteor/pull/5875 must be outdated .. before even worrying about minifying css I'm just trying to get basic reloading with semantic ui less working in a normal reload time.  Even if I'm not editing css and just changing one word in a react component.. it takes 8-9 seconds and without semantic-ui its 2 seconds.. but I need semantic ui for my project.
@veered Is there any way to speed up your package/idea?

The isolated package approach definitely would work, but it's a bit difficult to communicate over Github how it works.
If you want to use the vanilla SUI css approach, make sure that you've also deleted the LESS files from your app directory.
In the long term, I'm optimistic that meteor/meteor#9983 will automatically fix the issues.

The isolated package approach was actually straight forward - here is what I did, correct me if I did any steps wrong:

Created a new folder called "packages" on my app.
Created another folder inside of that, Named the folder semantic-ui.

Then inside that folder, created a folder called "lib" under that and dragged all my semantic-ui related files/folders (definitions, sites, themes, json, less etc) inside the lib folder.
3)  Took your gist code, renamed it in Package.describe to "mrt:semantic-ui", and in the onUse function, had to comment a few things such as the assets line (my semantic ui files didnt have icons , or ttfs or so) and also had to comment out // api.addAssets(assets, ['client', 'server']);
In essence, Here's my full package.js code:
https://gist.github.com/pagesrichie/0518902b69d69baf750ed205bfc75912

Added mrt:semantic-ui to .meteor/pacakages file which immediately prompted a reload of my app as it installs the package.. and viola, the css DID work - however every time I tried to make a change to either a less file in this new package itself, OR in the app code itself, everything else would compile quickly, but this package would still take the same 8-10 seconds it took before when semantic-ui files were in the client side.  Also I did remove my semantic-ui files from the client, right now it's only being used in this package.

I've been viewing the meteor profiler on the terminal, and even though this is is separated out into it's own package, for some reason, when I simply change a line of code in my app unrelated to any css even, it still takes 8-10 seconds when it comes to this package, and I still see "other less plugin.. 8000ms" whereas everything else is done in 1-2 seconds.
@veered Did I miss anything?

Did you remove the less code from your app directory? I believe the current SUI meteor package creates a bunch of less files in your app directory

Yes, I actually removed the pre-existing less files from semantic-ui that I had under the /client directory.
I also disabled the official semantic-ui meteor package.
The only less files it is reading is the ones I copied into the custom package I had just made.
This is what profiler says:
| Top leaves:
| other plugin less........................................7,363 ms (2)
| other bundler writeFile....................................111 ms (241)
|
| (#5) Total: 8,544 ms (Rebuild App)
:'(

I even disabled and removed the less package from .meteor/packages.  I think your code still tells it to use less somehow.. so I removed it form there there to see what happens.
I just made a change by adding a single word to my app, unrelated to my css.  For some reason, it goes through the entire custom package for 7-8 seconds still.  Check out the profiler output:
| Top leaves:
|
| (#6) Total: 80 ms (ProjectContext prepareProjectForBuild)
|

(#7) Profiling: Rebuild App mrt:semant...  -

Rebuild App...................................................8,975 ms (1)

Do you have any less files anywhere in your source tree?

Nope - de nada.  I just did a thorough search. Definitely dont have any other less files in my app except for the semantic ui ones I separated and put in this custom package.

And if you disable the custom package the build time drops?

  It drops by 8 seconds!  Just disabled it and This is all it takes (1.8 seconds to rebuild app):
| Top leaves:
| other JsImage#write........................................423 ms (1)
| other ClientTarget#write...................................173 ms (2)
| other bundler writeFile....................................122 ms (235)
| other ServerTarget#write...................................104 ms (1)
|
| (#32) Total: 1,796 ms (Rebuild App)
|
But as expected, now none of the styles work.

Ok what happens if you try adding the SUI vanilla CSS package meteor add semantic:ui-css

just tried the vanilla package.
This is the error I get:
meteor add semantic:ui-css
=> Errors while adding packages:
While checking for<EMAIL_ADDRESS>error: No compatible binary build found for this package. Contact the package author and ask them to publish it for your
platform.

Interesting. Well another workaround would be adding a head.html file to your client/ folder with this code:
<head>
  <script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.3.1/semantic.min.js"></script>
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.3.1/semantic.min.css">
</head>

You might need to leave out the jQuery line, depends on your app.

So there's no way right now then to get LESS compiled quickly till that promising PR is resolved?

There is certainly a way to get it working with the custom package approach, but it's difficult for me to tell why it isn't working for you without access to your code.

What's your email so I can add you to my repo with access to the code?

@veered What's your email?  So that I may add you to the repo for access to the code

lucas at qualia.com

Sent you an invitation to the repo, and also emailing you.  The pacakages are there in the latest commits, you would just have to disable the semantic ui css and js from the main.html head tags in the app so that you can test out custom package or other approach.  Gave you write access so you can either git push as new commit (or probably better to create a new branch instead).  If you want to add METEOR_PROFILER=1 to the startup you can do to view the profile, by going to package.json and adding it to the "start: {}" object.
To install the code:
meteor npm install
To run the code:
meteor npm start  (don't do just "meteor" as meteor npm start passes it proper settings flags that it needs to run the code properly, you need to run "meteor npm start")
Thanks!! Looking forward to it


How to show image file in fragment

After saving signature, I want to show it in a fragment view! I sent file with intent to MainActivity with setResult but it said Intent get wrong!!

You should store the signature into a file on the device storage, then it can be read by any image viewer library.


HOSTEDCP-1220: Add multi-arch flag to CLI & associated validation

What this PR does / why we need it:
Adds the multi-arch flag to the HyperShift CLI to trigger additional validation to ensure a multi-arch release image or stream was used.
Which issue(s) this PR fixes:
Fixes HOSTEDCP-1220
Checklist

[x] Subject and description added to both, commit and PR.
[x] Relevant issues have been referenced.
[ ] This change includes docs.
[ ] This change includes unit tests.

/lgtm

/test e2e-kubevirt-aws-ovn

/retest-required


causal mask assert hit

When causal==True you cannot pass a mask in the forward method of RecurrentMemoryTransformer.
The assert statement is https://github.com/lucidrains/recurrent-memory-transformer-pytorch/blob/98bf3091a29fbd65dbbb30ce00dd1cadd05fef2d/recurrent_memory_transformer_pytorch/recurrent_memory_transformer.py#L344
Is it not possible to AND a causal mask on top of a user-defined custom mask?

Can we not replace:
assert not exists(mask)
mask = rearrange(causal_mask, 'i j -> 1 1 i j')

with
# assert not exists(mask)
causal_mask = rearrange(causal_mask, 'i j -> 1 1 i j')
if not exists(mask):
    mask = causal_mask
else:
    mask = rearrange(mask, 'b i -> b 1 i 1') & rearrange(mask, 'b i -> b 1 1 i') & causal_mask

But if set:
attn_bias = mask.float().masked_fill(~mask, -torch.finfo(q.dtype).max)

and call
F.scaled_dot_product_attention(
                q, k, v,
                attn_mask = attn_bias,
                dropout_p = self.dropout if self.training else 0.,
                is_causal = self.causal
            )

instead then ok.
I think there might be some bugs in F.scaled_dot_product_attention()

@pfeatherstone why do you need masking on top of autoregressive training?
i can add this (it is tricky with the scaled_dot_product_attention function)

My data has holes/silence in it. So my mask can in theory be random

I'm trying to train something like TTS and STT end-to-end. But coming up with a new language. I have some losses to make the output of TTS speech-like. Otherwise, I want to train using CTC, the logits of STT and the input of TTS. I'm creating blocks of speech and silence.

how long are the sequences? can you not just use flash attention 2?

but yea, i can set aside an hour today and fix this

Well it looks like for RMT to work you need to train with at least 7 blocks. Each block being roughly 1024 words. But don't know. It's still not clear to me what seq_len (block size) should be. In theory even with seq_len==1 you get infinite recurrence. So don't know how long the training sequence needs to be

@pfeatherstone if your sequences are less than 16k, just stick with flash attention
if you are doing say 1 million, then yea, go with RMT

But in any case I need to be streaming the generated audio ad infinitum in a well definite way. RMT seemed to provide a good solution but could be wrong.

@pfeatherstone do you want to try 0.4.3 and see if it works or not?

Yep will do in the morning. Thank you

ok sounds good, i'll wait for you to test it again, and if it bugs out, can dig deeper
the NaNs could have to do with the fact that you masked out an entire row, but not sure

Yeah i get NANs.

Cheers that works. However, my mask wasn't completely blanked out. So I think there was some other issue that has been accidentally fixed. I'm convinced that scaled_dot_product_attention() has subtle bugs deep down in the C++ implementation when tensor shapes or strides aren't correct.

hmm, i'm not entirely sure then, but at least it has been fixed!

i'm going to start adding this null key/value more often, given this new research

Haven't you done this before with learned tokens ? Feels like it's achieving the same thing no ?

Yeah sure, but i mean having the learned tokens there means you can attend to them, not the input tokens, and essentially attend to nothing.

@pfeatherstone yeah, you could always add some fixed 'read memory tokens' (as in the terminology of this paper)
you are right


test

Hurray, looks like CI builds are working again. The issue was with the webhook from GitHub to Circle CI


[CI/CD] use management ACR for everything

Use it to mirror Helm and Docker images.


spdk: use 1024 MiB huge pages by default

Forgot updating the HUGEMEM in https://github.com/longhorn/longhorn/pull/6040/files

@mergify backport v1.5.x


Allow Filtering of Project vs Reference Map in Find Maps by Location/Geosearch

Present users with checkbox for both options, default to checked for project maps unchecked for reference maps

done - with radio buttons for site consistency


GIF less fluid/smooth

Hi Bruno!
First of all, congrats for this Kraken web integration, it's impressive and I'm already using it ;)
One thing you may have already noticed, it's that we can see a difference between the native GIF option in NZXT CAM vs your usage, in terms of fluidity. The GIF seems slow/jerky.
Any idea or solution ? (I'm not a React expert, I can't be really helpfull)

Two smalls videos where you can see the differences :
https://github.com/brunoandradebr/nzxt/assets/11616517/3d2fb55b-b80d-46f3-8426-b070de01b0be
https://github.com/brunoandradebr/nzxt/assets/11616517/c035dae9-abe5-48b1-8329-1d351e43fcce

Two smalls videos where you can see the differences :
https://github.com/brunoandradebr/nzxt/assets/11616517/84393f99-45cb-4cb4-99ce-f6ddb351f44f
https://github.com/brunoandradebr/nzxt/assets/11616517/e9a347e8-cdb4-45db-8f1a-8f46fb3c39ea

Hi, Julien. thanks! I really appreciate it. What kraken is yours ? It's a limitation to web integration, depending on what model you're using its maximum frame rate are limited. Before they presented me with the new kraken elite, I used Kraken Z63, If i'm not mistaken it was max 10 fps =(. When you're runing native gif its not running on a web browser view (like web integration do) and so, has no fps limitation. kraken elite runs max 40 fps its smooth, its so sad they won't update old ones. Have you checked you current frame rate ?
I have asked them about fps here: https://github.com/NZXTCorp/web-integrations-docs/issues/8


web-animations demos (for m36+)

This is a demo for the older Web Animations feature (at least element.animate(), added in m36).

:+1: Thanks!


Add support for service account HMAC keys

Closes #1868.
This change adds support for service account HMAC keys. It is still a work-in-progress, but I'm hoping to get thoughts and sign off on the surface.
The change adds a new Google\Cloud\Storage\HmacKey class, which represents a single HMAC key. It also adds list, create and instantiate methods for HMAC keys to Google\Cloud\Storage\StorageClient.

Thanks @jkwlui. I updated the documentation in the last commit for all references to `userProject. :)


Throw an exception on file absence in multipart

Throws an error in case of a malformed request with incorrect or absent file fields for correspondent keys in the map.

Thank you!


reload_current_scene crashes the game

Godot version
4.0beta6
System information
Windows 11 22H2, Vulkan API 1.2.0, NVIDIA GeForce MX110
Issue description
When reloading (aka restarting) the current scene with get_tree().reload_current_scene() the game just crashes. Using the code below, it seems that the "restart" action registers as just-pressed over and over instead of just once before restarting.
Steps to reproduce
Create an empty project and, for the sake of this example, add an InputAction "restart" (I used the R key to trigger it but that's not the point, clearly).
Then use this code to handle such action when it is just pressed:
func _input(event):
	if Input.is_action_just_pressed("restart"):
		print("restarting") # This will be printed over and over
		get_tree().reload_current_scene()

Minimal reproduction project
CrashTest.zip

As a workaround use:
func _input(event):
	if event is InputEventKey:
		var e: InputEventKey = event as InputEventKey
		if e.is_action_pressed("quit"):
			print("quitting")
			get_tree().quit()
		if e.is_action_pressed("restart"):
			print("restarting")
			get_tree().reload_current_scene()

I can confirm that this is actually an input issue: I tried triggering the reload with an Area node and it reloaded just fine (in beta7)

Using Input.is_action_just_pressed() inside _input() is wrong, because you are ignoring the event and assume that the action you are checking is the event that arrived. Multiple events can happen in a single frame, which breaks this logic. Sauermann's comment is not a workaround, it's a correct usage of actions inside _input() (although you only need event.is_action_pressed()).


[WIP][HUDI-3625][RFC-60] Object Store Storage Strategy

Change Logs
RFC-60
Impact
Describe any public API or user-facing feature change or any performance impact.
Risk level: none | low | medium | high
Choose one. If medium or high, explain what verification was done to mitigate the risks.
Documentation Update
Describe any necessary documentation update if there is any new feature, config, or user-facing change

The config description must be updated if new configs are added or the default value of the configs are changed
Any new feature or user-facing change requires updating the Hudi website. Please create a Jira ticket, attach the
ticket number here and follow the instruction to make
changes to the website.

Contributor's checklist

[ ] Read through contributor's guide
[ ] Change Logs and Impact were stated clearly
[ ] Adequate tests were added if applicable
[ ] CI passed

See RFC-60

@nsivabalan @alexeykudinkin Could one of you guys also review this PoC to provide high-level comments and see if there is anything major to resolve early on?

Closing this one as we have a new PR for this feature


fix(encode): Correct encoding for key with mixed quotes

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

29 of 50 (58.0%)  changed or added relevant lines in 2 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.07%) to 67.421%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

crates/toml_edit/src/encode.rs
8
10
80.0%

crates/toml_edit/tests/testsuite/parse.rs
21
40
52.5%

Files with Coverage Reduction
New Missed Lines
%

crates/toml/src/de.rs
2
45.9%

Totals

Change from base Build<PHONE_NUMBER>:
-0.07%

Covered Lines:
3723

Relevant Lines:
5522

💛  - Coveralls


Operational validation method(s)? #hackathon2016

I was wondering if it may make sense to have some operational validation capabilities into NAPALM, like having the possibility to run device.validate("bgp") and check if everything looks as expected.
If it's cool, what do you think may be something good to validate? BGP peers, reachability, LLDP peers..?

@GGabriele I think it could be interesting to make this more general. By this I mean have a 'command' you can run and a ruleset you can run the output of the command against to say whether it validates or not.
I did this where it was validating the running-config and the ruleset had a pretty simple engine that stated whether something had to be in the config or could not be in the config.

Could you show an example on how it would work? I am not sure if I understand what you mean. Just fake everything, pretend the code is there, and show how it would work on the console ; )

@dbarrosop my original idea was to support the validation of a set of features. Let's imagine you want to validate BGP peers, validate() would search for a source of truth (YAML file?), load the expected BGP peers status and check if there is a match with get_bgp_neighbors result.
But I like what @ktbyers proposed and I'm trying to think about it.

Just thinking out loud here...
validate_getters = ['get_config']                  # will validate what is returned by get_ operation
validate_files = {
'get_config': 'get_config_validation.yml'
}
example rules in .yml file
config_requires:           # items the config must have
- enable secret *
- service password-encryption
interface_set:           # define sets of interfaces for what they require / are missing
config_missing:          # items the config can't have

enable password *

You could expand this to be any NAPALM getter method (not just the config)
.validate()                  # either pass or fail and shows you in clear way everything that fails and why they fail.

Basically, would be the equivalent of unit tests for configuration and the values returned by NAPALM getters.

Exactly. I was first thinking it as more related to getters, but it will definitely be useful for configuration too.
Thanks for your hints @ktbyers !

Ok, makes sense. Cool thing about that is that if it's generic enough it can either be part of napalm-base or even live completely outside of napalm. Anyway, feel free to mock it and let's see how it ends up looking : )

So far I have this for getters (tested with NXOS):
Sample validate.yml file:
---

get_interfaces:
  Ethernet2/5:
    is_enabled: true
    is_up: false

  loopback103:
    is_enabled: false
    is_up: false

  Vlan100:
    is_enabled: false
    is_up: false

get_facts:
  os_version: 7.0(3)I2(2d)
  interface_list:
    - Vlan5
    - Vlan100
  hostname: n9k2

get_lldp_neighbors:
  mgmt0:
    - hostname: PERIMETER
      port: Fa1/0/11

Sample CLI workflow:
>>>import json
>>>from napalm import get_network_driver
>>>driver = get_network_driver('nxos')
>>>device = driver('nxos', 'ntc', 'ntc123')
>>>device.open()
>>>
>>>getters = ['get_interfaces', 'get_facts', 'get_lldp_neighbors']
>>>validation = device.validate(getters=getters)
>>>
>>>print json.dumps(validation, indent=4)

Sample results:
{
    "get_interfaces": {
        "Vlan100": [
            "Expected 'is_enabled: False', found 'is_enabled: True' instead"
        ],
        "loopback103": [
            "Expected 'is_enabled: False', found 'is_enabled: True' instead",
            "Expected 'is_up: False', found 'is_up: True' instead"
        ]
    },
    "get_lldp_neighbors": {
        "mgmt0": [
            "Expected but not found: {'hostname': 'PERIMETER', 'port': 'Fa1/0/11'}"
        ]
    },
    "get_facts": {
        "os_version": [
            "Expected 'os_version: 7.0(3)I2(2d)', found 'os_version: 7.0(3)I4(1)' instead"
        ],
        "interface_list": [
            "Expected but not found: Vlan5"
        ]
    }
}

It will print Expected but not found: X if the dict value is a list, while it will print something like Expected 'X', found 'Y' instead if the dict value is a dict/unicode/int.

That's great, note that the new testing framework has a method to compare objects. We could probably unify those. Let's discuss it when you send the PR

That's cool, I'm working on the config part now. It's really good that we're going to have get_config on all drivers as it will be really helpful for this.


Installation wizard fails to install python dependencies

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to https://github.com/intel/AI-Playground/releases/download/v1.22beta/AI.Playground-1.22.1beta-Arc-dGPU_ACM.exe
dowload and execute
follow default installation steps
Run AI Playground
See error: Backend initialization failed
The AI inference backend failed to initialize. Please try restarting the application. If the problem persists, you can check the Details for additional information about the error.
Details
Open Log
ModuleNotFoundError: No module named 'flask'

Expected behavior
Program starts and executes normally
Environment (please complete the following information):

OS: [e.g. Windows10]
GPU: [e.g. Intel Arc A770 16G]
CPU: [e.g. r5 5600x]
Version: [e.g. v1.22.2beta-Arc-dGPU_ACM]

Additional context
The installation wizard prompts the user asking to install python dependencies. After allowing my clicking 'ok', the console reports that it attempts to install said dependencies, but an error occurs and the wizard finishes. The program can start, but only gives a backend initialization error.
I have been unable to see the error in the installation console, since once it is printed, the wizard moves to the successful installation screen and I cannot access the installation log. The best that I was able to read was a line that read 'This error was most likely caused by a subproscess, and not pip.' and something about how it failed to get metadata or something. I'm sorry, this is really the best I was able to make out after several installation attempts.

Duplicated with https://github.com/intel/AI-Playground/issues/93

Duplicated with #93

Following the steps in #93, I was able to get the complete error text that I could not in the installer.
This is the complete output of the command line:
`Looking in indexes: https://pypi.org/simple, https://pytorch-extension.intel.com/release-whl/stable/xpu/us/, https://pytorch-extension.intel.com/release-whl/stable/xpu/cn/
Collecting basicsr==1.4.2 (from -r C:\Users\Frank Wankerl\AppData\Local\Programs\AI Playground\resources\service\requirements.txt (line 1))
Using cached basicsr-1.4.2.tar.gz (172 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [51 lines of output]
C:\Users\Frank Wankerl\AppData\Local\Programs\AI Playground\resources\env\Lib\site-packages\setuptools_init_.py:94: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!
          ********************************************************************************
          Requirements should be satisfied by a PEP 517 installer.
          If you are using pip, you can try `pip install --use-pep517`.
          ********************************************************************************

  !!
    dist.fetch_build_eggs(dist.setup_requires)
  Traceback (most recent call last):
    File "<string>", line 2, in <module>
    File "<pip-setuptools-caller>", line 34, in <module>
    File "C:\Users\Frank Wankerl\AppData\Local\Temp\pip-install-gvijdnpr\basicsr_c39589db35c9429b98fd9cef95edbd21\setup.py", line 147, in <module>
      setup(
    File "C:\Users\Frank Wankerl\AppData\Local\Programs\AI Playground\resources\env\Lib\site-packages\setuptools\__init__.py", line 116, in setup
      _install_setup_requires(attrs)
    File "C:\Users\Frank Wankerl\AppData\Local\Programs\AI Playground\resources\env\Lib\site-packages\setuptools\__init__.py", line 89, in _install_setup_requires
      _fetch_build_eggs(dist)
    File "C:\Users\Frank Wankerl\AppData\Local\Programs\AI Playground\resources\env\Lib\site-packages\setuptools\__init__.py", line 94, in _fetch_build_eggs
      dist.fetch_build_eggs(dist.setup_requires)
    File "C:\Users\Frank Wankerl\AppData\Local\Programs\AI Playground\resources\env\Lib\site-packages\setuptools\dist.py", line 664, in fetch_build_eggs
      return _fetch_build_eggs(self, requires)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\Frank Wankerl\AppData\Local\Programs\AI Playground\resources\env\Lib\site-packages\setuptools\installer.py", line 40, in _fetch_build_eggs
      resolved_dists = pkg_resources.working_set.resolve(
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\Frank Wankerl\AppData\Local\Programs\AI Playground\resources\env\Lib\site-packages\pkg_resources\__init__.py", line 897, in resolve
      dist = self._resolve_dist(
             ^^^^^^^^^^^^^^^^^^^
    File "C:\Users\Frank Wankerl\AppData\Local\Programs\AI Playground\resources\env\Lib\site-packages\pkg_resources\__init__.py", line 933, in _resolve_dist
      dist = best[req.key] = env.best_match(
                             ^^^^^^^^^^^^^^^
    File "C:\Users\Frank Wankerl\AppData\Local\Programs\AI Playground\resources\env\Lib\site-packages\pkg_resources\__init__.py", line 1271, in best_match
      return self.obtain(req, installer)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\Frank Wankerl\AppData\Local\Programs\AI Playground\resources\env\Lib\site-packages\pkg_resources\__init__.py", line 1307, in obtain
      return installer(requirement) if installer else None
             ^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\Frank Wankerl\AppData\Local\Programs\AI Playground\resources\env\Lib\site-packages\setuptools\installer.py", line 108, in _fetch_build_egg_no_warn
      wheel.install_as_egg(dist_location)
    File "C:\Users\Frank Wankerl\AppData\Local\Programs\AI Playground\resources\env\Lib\site-packages\setuptools\wheel.py", line 122, in install_as_egg
      self._install_as_egg(destination_eggdir, zf)
    File "C:\Users\Frank Wankerl\AppData\Local\Programs\AI Playground\resources\env\Lib\site-packages\setuptools\wheel.py", line 130, in _install_as_egg
      self._convert_metadata(zf, destination_eggdir, dist_info, egg_info)
    File "C:\Users\Frank Wankerl\AppData\Local\Programs\AI Playground\resources\env\Lib\site-packages\setuptools\wheel.py", line 150, in _convert_metadata
      _unpack_zipfile_obj(zf, destination_eggdir)
    File "C:\Users\Frank Wankerl\AppData\Local\Programs\AI Playground\resources\env\Lib\site-packages\setuptools\archive_util.py", line 131, in _unpack_zipfile_obj
      with open(target, 'wb') as f:
           ^^^^^^^^^^^^^^^^^^
  FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\Frank Wankerl\\AppData\\Local\\Temp\\pip-install-gvijdnpr\\basicsr_c39589db35c9429b98fd9cef95edbd21\\.eggs\\torch-2.5.1-py3.11-win-amd64.egg\\torch\\include\\ATen\\ops\\_scaled_dot_product_fused_attention_overrideable_backward_compositeexplicitautograd_dispatch.h'
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.`

@NO-BOOT-DEVICE-DETECTED thanks for providing the details
Seems related to windows path length limitation: https://github.com/intel/AI-Playground/issues/69#issuecomment-2407933138

@NO-BOOT-DEVICE-DETECTED thanks for providing the details Seems related to windows path length limitation: #69 (comment)

Thanks for the help.
I needed to implment both the solutions in #93 and #69 to get the program operational


variable s in ResNet_s

Hi,
Why did you add a variable s(s=30) in ResNet_s

Hi, the main function of "s" is to adjust the logit magnitude of the cosine classifier if you use such a classifier. In contrast, if you use a linear classifier, "s" would be adjusted to 1 according to the code.
Moreover, this architecture is following RIDE (please refer to https://github.com/frank-xwang/RIDE-LongTailRecognition/blob/main/model/ldam_drw_resnets/ride_resnet_cifar.py). For simplicity, we do not change this hyper-parameter.

thank you~


Change modeling of Literals in the AST remove ambiguity

Change parsing and AST-modeling of literals to not share AST structures with non-scalar expressions.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Follow-up #518 to fix the cargo-deny failure.


hab_fish_collect only has 3 sites

none of the site_id s match the fish sites in the habitat_confirmations.xls file

when building hab_fish_collect_map_prep3 switch to remove NFC was on with the following comments above it
this time we ditch the nfc because we don't want it to look like sites are non-fish bearing.  Its a multipass thing
WATCH THIS IN THE FUTURE
We turn this off as we are not dealing with mulitpass electrofishing so we want to show where no fish were captured

weigert ds_ef1 is not in the right location. We started fishing at the same spot as we started the FHAP


Website Maintenance Videos

Videos for website maintenance has been provided by the developer. Video sizes are too big so I'm unable to attach them.

Video sizes are too big so I'm unable to attach them.

I think it is ok to keep them offline for now


i did not see where to search station?

Did you hav an opportunity to look at the readme? 'Turn the search bar on/off in the "SwiftRadio-Settings" file.'


[WIP] Support multiple clusters with a file-based cluster registry

issue #1980
This patch adds support for a file-based cluster registry. Specifically, it supports aggregation of service endpoints from multiple k8s clusters.
Note that this is a WIP patch in hope of soliciting comments to shape the complete implementation.
An example cluster config file (following https://docs.google.com/document/d/1cOxPnTpnVWKR0m7a6PYJ-0NSTZ-e2J1IULnfojz7OZ4/ to a large extent):
apiVersion: clusterregistry.k8s.io/v1alpha1
kind: Cluster
metadata:
  name: cluster-a
  annotations:
    config.istio.io/pilotEndpoint: "<IP_ADDRESS>:9080"
    config.istio.io/platform: "Kubernetes"
    config.istio.io/pilotCfgStore: true
    config.istio.io/accessConfigFile: c1-config
spec:
  kubernetesApiEndpoints:
    serverEndpoints:
      - clientCidr: "<IP_ADDRESS>/0"
        serverAddress: "<IP_ADDRESS>"

---

apiVersion: clusterregistry.k8s.io/v1alpha1
kind: Cluster
metadata:
  name: cluster-b
  annotations:
    config.istio.io/pilotEndpoint: "<IP_ADDRESS>:9080"
    config.istio.io/platform: "Kubernetes"
    config.istio.io/accessConfigFile: c2-config
spec:
  kubernetesApiEndpoints:
    serverEndpoints:
      - clientCidr: "<IP_ADDRESS>/0"
        serverAddress: "<IP_ADDRESS>"

Zack, any blocking comments ? Can they be addressed in separate PRs ? I would rather get it into a build
so more people can start testing it (and work on the testing infra in ci - starting multiple apiservers, etc).
I don't see anything particularly risky.

@costinm I will submit a new patch that'd address some of the comments. And yes, we'll be working on the integration tests as a follow up patch.
@gnirodi W.R.T to your comments 1 & 2, if a combined kubeconfig file is desired, we can create a follow-up PR to support it. For your comment 3, I'll see if the latest cluster-registry repo works with istio. As I mentioned before, directly importing its API didn't work due to incompatible requirement between istio and clusterregistry to  some packages. For your comment 4, I'll leave other folks to comment. I personally don't think that it belongs to mesh config since the cluster registries should only be visible to pilot

@baodongli SGTM - jfyi I looped in the K8s multi-cluster folks @csbell on the use of multiple files for K8s creds. He may have additional guidance.

@baodongli: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-presubmit.sh
f3daacee4579659e360ff67c4d3751786cb02e1c
link
/test istio-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@baodongli: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e.sh
7f9e1f2e19025f057815692086609eb0964d738a
link
/test istio-pilot-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test istio-pilot-e2e

/test e2e-simple

/test e2e-simple


Respect value set for full_refresh in config

Describe the bug
Attempts to disable full-refresh for an incremental model, either by setting +full_refresh: false in dbt_project.yml or full_refresh = false in a model's config, is ignored when running dbt run --full-refresh.
Steps To Reproduce
Create a new, incremental model with the following definition:
{{ config(
    materialized = 'incremental',
    full_refresh = false
    )
}}
select CURRENT_TIMESTAMP() AS ChangeTimestamp

Then run dbt run --select <model_name> --full-refresh twice.
Finally, run a select query against the table that selects the min and max value for the change timestamp.
select min(ChangeTimestamp), max(ChangeTimestamp) from <database_name>.<model_name>
This will give the same value for both the min and the max timestamp.
Expected behavior
The full-refresh config setting should be respected when the FULL_REFRESH flag is used, meaning that an incremental table with the config full_refresh = false should always load incrementally except for the first time the model is run.
The error is caused by line 13 in incremental.sql:
https://github.com/dbt-labs/dbt-spark/blob/main/dbt/include/spark/macros/materializations/incremental/incremental.sql
{%- set full_refresh_mode = (flags.FULL_REFRESH == True) -%}
This does not respect the config definition, and does instead solely rely on the FULL_REFRESH flag.
The correct definition for this is as defined in dbt-core/dbt-snowflake/etc
https://github.com/dbt-labs/dbt-core/blob/v0.21.1rc1/core/dbt/include/global_project/macros/materializations/incremental/incremental.sql
{%- set full_refresh_mode = (should_full_refresh()) -%}
This has been tested locally and shown to work as expected.
Screenshots and log output
System information
The output of dbt --version:
installed version: 0.21.0
   latest version: 0.21.0

Up to date!

Plugins:
  - snowflake: 0.21.0
  - bigquery: 0.21.0
  - redshift: 0.21.0
  - spark: 0.21.0
  - postgres: 0.21.0

NB: the plugin that is used is dbt-spark.
The operating system you're using:
Distributor ID: Debian
Description:    Debian GNU/Linux 11 (bullseye)
Release:        11
Codename:       bullseye
The output of python --version:
Python 3.8.12
Additional context
Add any other context about the problem here.

@grindheim Thanks for the issue and the PR!


Crash insights point to dd-sdk-android-okhttp

Stack trace
Exception io.reactivex.exceptions.OnErrorNotImplementedException:
at io.reactivex.internal.functions.Functions$OnErrorMissingConsumer.accept (Functions.java:704)
at io.reactivex.internal.functions.Functions$OnErrorMissingConsumer.accept (Functions.java:701)
at io.reactivex.internal.observers.LambdaObserver.onError (LambdaObserver.java:77)
at io.reactivex.internal.operators.observable.ObservableSubscribeOn$SubscribeOnObserver.onError (ObservableSubscribeOn.java:63)
at io.reactivex.internal.operators.observable.ObservableSubscribeOn$SubscribeOnObserver.onError (ObservableSubscribeOn.java:63)
at retrofit2.adapter.rxjava2.BodyObservable$BodyObserver.onError (BodyObservable.java:72)
at retrofit2.adapter.rxjava2.CallExecuteObservable.subscribeActual (CallExecuteObservable.java:59)
at io.reactivex.Observable.subscribe (Observable.java:12284)
at retrofit2.adapter.rxjava2.BodyObservable.subscribeActual (BodyObservable.java:34)
at io.reactivex.Observable.subscribe (Observable.java:12284)
at io.reactivex.internal.operators.observable.ObservableSubscribeOn$SubscribeTask.run (ObservableSubscribeOn.java:96)
at io.reactivex.Scheduler$DisposeTask.run (Scheduler.java:578)
at io.reactivex.internal.schedulers.ScheduledRunnable.run (ScheduledRunnable.java:66)
at io.reactivex.internal.schedulers.ScheduledRunnable.call (ScheduledRunnable.java:57)
at java.util.concurrent.FutureTask.run (FutureTask.java:264)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run (ScheduledThreadPoolExecutor.java:307)
at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:644)
at java.lang.Thread.run (Thread.java:1012)
Caused by java.net.UnknownHostException:
at java.net.Inet6AddressImpl.lookupHostByName (Inet6AddressImpl.java:156)
at java.net.Inet6AddressImpl.lookupAllHostAddr (Inet6AddressImpl.java:103)
at java.net.InetAddress.getAllByName (InetAddress.java:1152)
at okhttp3.Dns$Companion$DnsSystem.lookup (Dns.kt:49)
at okhttp3.internal.connection.RouteSelector.resetNextInetSocketAddress (RouteSelector.kt:169)
at okhttp3.internal.connection.RouteSelector.nextProxy (RouteSelector.kt:131)
at okhttp3.internal.connection.RouteSelector.next (RouteSelector.kt:73)
at okhttp3.internal.connection.ExchangeFinder.findConnection (ExchangeFinder.kt:205)
at okhttp3.internal.connection.ExchangeFinder.findHealthyConnection (ExchangeFinder.kt:106)
at okhttp3.internal.connection.ExchangeFinder.find (ExchangeFinder.kt:74)
at okhttp3.internal.connection.RealCall.initExchange$okhttp (RealCall.kt:255)
at okhttp3.internal.connection.ConnectInterceptor.intercept (ConnectInterceptor.kt:32)
at okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.kt:109)
at okhttp3.internal.cache.CacheInterceptor.intercept (CacheInterceptor.kt:95)
at okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.kt:109)
at okhttp3.internal.http.BridgeInterceptor.intercept (BridgeInterceptor.kt:83)
at okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.kt:109)
at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept (RetryAndFollowUpInterceptor.kt:76)
at okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.kt:109)
at okhttp3.logging.HttpLoggingInterceptor.intercept (HttpLoggingInterceptor.kt:154)
at okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.kt:109)
at ******.intercept (Interceptor.kt:17)
at okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.kt:109)
at com.datadog.android.okhttp.trace.TracingInterceptor.intercept (TracingInterceptor.kt:321)
at com.datadog.android.okhttp.trace.TracingInterceptor.intercept (TracingInterceptor.kt:219)
at com.datadog.android.okhttp.DatadogInterceptor.intercept (DatadogInterceptor.kt:237)
at okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.kt:109)
at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp (RealCall.kt:201)
at okhttp3.internal.connection.RealCall.execute (RealCall.kt:154)
at retrofit2.OkHttpCall.execute (OkHttpCall.java:204)
at retrofit2.adapter.rxjava2.CallExecuteObservable.subscribeActual (CallExecuteObservable.java:45)
Caused by android.system.GaiException: android_getaddrinfo failed: EAI_NODATA (No address associated with hostname)
at libcore.io.Linux.android_getaddrinfo
at libcore.io.ForwardingOs.android_getaddrinfo (ForwardingOs.java:133)
at libcore.io.BlockGuardOs.android_getaddrinfo (BlockGuardOs.java:222)
at libcore.io.ForwardingOs.android_getaddrinfo (ForwardingOs.java:133)
at java.net.Inet6AddressImpl.lookupHostByName (Inet6AddressImpl.java:135)
Reproduction steps
We keep getting a lot of crashes (>30) in our production app and the Insights provide the following feedback:
This crash is possibly related to an SDK
To help resolve this crash, share it with dd-sdk-android-okhttp
We cannot reproduce it locally. However, from the breadcrumbs we see that it crashes upon starting the app.
Crash se
Volume
5-10
Affected SDK versions
We use 2.10.1 for dd-sdk-android-rum and for dd-sdk-android-okhttp and 1.14.0 for dd-sdk-android-gradle-plugin
Latest working SDK version

Does the crash manifest in the latest SDK version?
Yes
Kotlin / Java version
2.0.0
Gradle / AGP version
8.3.2
Other dependencies versions
We use 4.9.3 for com.squareup.okhttp3:okhttp and for com.squareup.okhttp3:logging-interceptor as well as 2.2.3 for io.reactivex.rxjava2:rxjava
Device Information

Other relevant information

Android API level - Android 11 to 14

Hello @ntsparis!
It seems this issue is not Datadog SDK fault (Datadog SDK is in the exception stacktrace just because of the interceptor installed), but rather you should implement error handling in your Rx chain. For more information you may want to check the following links:

https://github.com/square/okhttp/issues/3626
https://stackoverflow.com/questions/74538967/thousands-of-okhttp-related-issues-reported-daily-connection-unknown-host-dns

@0xnm i am not sure since we have implemented error handling all over the application and there is no crash until datadog sdk implementation. We use just (Deprecated) interceptor DatadogInterceptor() is this could be a problem?

@ntsparis You have io.reactivex.exceptions.OnErrorNotImplementedException meaning some stream is missing the case for this error.
Using a deprecated constructor is not a problem.

It's true that this error seems related to an unhandled case, but in our project, we already use a base error-handling mechanism, so this issue should have appeared even before integrating the Datadog SDK. It's strange that the crash was triggered only after the SDK's installation and not before?
Additionally, I'd like to share another stack trace to highlight that the issue arises specifically due to the error, not the implementation structure. It's important to note that this error didn't exist prior to integrating Datadog, and both Crashlytics and Google Console are providing insights pointing directly to the specific SDK. We have also share crash from Google play console.

Caused by javax.net.ssl.SSLPeerUnverifiedException:
at okhttp3.internal.connection.RealConnection.connectTls (RealConnection.kt:389)
at okhttp3.internal.connection.RealConnection.establishProtocol (RealConnection.kt:337)
at okhttp3.internal.connection.RealConnection.connect (RealConnection.kt:209)
at okhttp3.internal.connection.ExchangeFinder.findConnection (ExchangeFinder.kt:226)
at okhttp3.internal.connection.ExchangeFinder.findHealthyConnection (ExchangeFinder.kt:106)
at okhttp3.internal.connection.ExchangeFinder.find (ExchangeFinder.kt:74)
at okhttp3.internal.connection.RealCall.initExchange$okhttp (RealCall.kt:255)
at okhttp3.internal.connection.ConnectInterceptor.intercept (ConnectInterceptor.kt:32)
at okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.kt:109)
at okhttp3.internal.cache.CacheInterceptor.intercept (CacheInterceptor.kt:95)
at okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.kt:109)
at okhttp3.internal.http.BridgeInterceptor.intercept (BridgeInterceptor.kt:83)
at okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.kt:109)
at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept (RetryAndFollowUpInterceptor.kt:76)
at okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.kt:109)
at okhttp3.logging.HttpLoggingInterceptor.intercept (HttpLoggingInterceptor.kt:154)
at okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.kt:109)
at okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.kt:109)
at com.datadog.android.okhttp.trace.TracingInterceptor.intercept (TracingInterceptor.kt:349)
at com.datadog.android.okhttp.trace.TracingInterceptor.intercept (TracingInterceptor.kt:247)
at com.datadog.android.okhttp.DatadogInterceptor.intercept (DatadogInterceptor.kt:263)
at okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.kt:109)
at okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.kt:109)
at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp (RealCall.kt:201)
at okhttp3.internal.connection.RealCall.execute (RealCall.kt:154)
at retrofit2.OkHttpCall.execute (OkHttpCall.java:204)
at retrofit2.adapter.rxjava2.CallExecuteObservable.subscribeActual (CallExecuteObservable.java:45)


Fix-bug: The JSON data of requests.post has been incorrectly discarded.

Fixes  #1726.
Changes proposed in this pull request:
In _get_body_argument() of openapi.py

When x-body-name is not present in body_schema, consider that the body is used to pass HTTP request parameters.

Closing until we understand the issue first.


process.readline should return 'null' on JS

Currently, process.readline returns "" and prints "process.readLine not supported on this platform." to stdout.
It should instead just return null when not supported. The other option would be to throw, but I'd lean towards null.

On the JVM, null means “end of stream”, so this sounds sensible to me.
(It definitely shouldn’t print anything to stdout or even stderr.)


improve typings config

Improve the typescript configuration for the core refactor.  I assume I don't need to follow the PR template since this is a WIP.

Thanks, this works very nicely. I had to rm -rf node_modules and rm -rf typings and then npm install again, but after that it worked just fine.


Next.js with runtime experimental-edge enabled will result in error: [Error: getInitialProps in Document component is not supported with the Edge Runtime.]

I wish to use MUI with TSS-react in Next.js with experimental-edge enabled.
This results in the following error:
[Error: getInitialProps in Document component is not supported with the Edge Runtime.]
Is there a workaround for this?

Hi @bobsingor,
Thats a bummer,
I don't thik there is a workaround no, this is something related to @emotion.
If you look at the recommendend MUI setup for Next.js they also uses Document.getInitialProps:  https://github.com/mui/material-ui/blob/a722357b47d5572301334bb716c985e770046ced/examples/nextjs-with-typescript/pages/_document.tsx#L67
Are you using MUI?
I suggest you submit a issue on the https://github.com/emotion-js/emotion repo?


Is there a way to merge the learning histories of two different accounts?

Hello,
I have several Microsoft accounts (personal, company's and trial) and went through several different learning path in Microsoft Docs using each of them.
As a result, I have separated learning histories with each of my mail accounts.
Is there any way to merge all learning histories (because It's annoying sometimes...)
I'm new to GitHub and am not used to search existing issues.
If there is a similar issue already, please forgive me.
Regards,

@yunyunyunyun @dastaffo Can you take a look at this feedback?

Linking different accounts is in our roadmap within the next few months. Right now I do not have a date where we can deliver this functionality though.

@saldana  Hi, I was wondering if there was a progress update on this? Would it possibly be rolled out soon? Thanks!

@jialge can you provide an update to @nosajnap?

+1 on this. More specifically, I'm hoping that I have been training using my work account, then I realize that none of my learning history is in my personal Microsoft account.

@jialge and @Sampy can you reply back to the customers?

As Sandra said, this is on our road map to allow merging of two existing accounts and all of their learning history. Sooner on our road map is the ability to have two identities (for example a personal Microsoft Account and an organizational AAD account) linked to a single profile on Docs. This first feature will only allow adding identities that aren't already mapped to a profile, however. If you have a profile with little or no progress on it, you can delete it from your profile settings page to free up the identity for linking to a different profile.
Linking multiple identities is coming very soon so keep an eye out to the Docs blog and Twitter.

How soon can this be made available?
PS: Now we have MS account managers monitoring MS Learn progress of partners and it is not possible to merge accounts yet. Older guys have mixed achievements in both old LiveID accounts and in newer Office365 accounts.
Please share some progress on this.
Thank you

Yes, please. I desperately need this ability OR to synch the learning from one account to another.

account linking is available already. Go to your profile and then settings, and then you will see the option for account linking.

And if the system says:

account linking is available already. Go to your profile and then settings, and then you will see the option for account linking.

no, it does not work when both logins already have existing profiles on mslearn.

You are right, @canoas. That is a shortcoming of this feature. Only one account can have a profile.  @yunyunyunyun or @dastaffo do you know if this is in profile's roadmap?

#3140
#2726

@sharriexie I am assigning this to you. Can you please address this? Thanks!


⚠ Bofrost.lu has degraded performance

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

HTTP code: 200
Response time: 2060 ms

Resolved: Bofrost.lu performance has improved in 20d4906 after 26 minutes.


[iOS] - timeSensitive notifications configuration not bypassing Focus Mode or Summary

Hi team,
I'm using iOs 16.4 and 16.6. I've been using notification triggers to set up daily notifications in a React Native app. I've been trying to make these time sensitive by using a configuration like this:
Notifee.createTriggerNotification(
    {
      id: "...",
      title: "...",
      body: "...",
      ios: {
        interruptionLevel: "timeSensitive",
      },
    },
    {
      type: TriggerType.TIMESTAMP,
      timestamp: date.getTime(),
      repeatFrequency: RepeatFrequency.DAILY,
    },
  );

But the notification keeps appearing under the While in Do Not Disturb section of the Notification Center. Also tried with Notifee.displayNotification to see if it was only a problem of createTriggerNotification but doesn't seem to be the issue.
My iOS Focus settings are allowing Time Sensitive notifications. Is there any additional configuration I need to do to enable time sensitive notifications for my app?
Thank you!

Found the issue, I had not configured the Time Sensitive Notifications capability in my project.
https://stackoverflow.com/a/72112528

https://stackoverflow.com/a/72112528

Do they work with sound?


Add an option to overwrite .xmp sidecar even if a file already exist to update metadata infos.

Does it really need an option though? In what situation would you overwrite the file but not the sidecar file?

Does it really need an option though? In what situation would you overwrite the file but not the sidecar file? Feels like it could just simply always be on.

But if it's always on, wouldn't it constantly load details even when it's not needed?


[PR] The proj files have been updated to enable SourceLink

CSProj files have been updated to enable SourceLink in your nuget
[This pull request was created with an automated workflow]
I noticed that your repository and Nuget package are important for our .NET community, but you still haven't enabled SourceLink.
We have to take 2 steps:

Please approve this pull request and make .NET a better place for .NET developers and their debugging.
Then just upload the .snupkg file to https://www.nuget.org/ (now you can find the snupkg file along with the .nuget file)

You can find more information about SourceLine at the following links
https://github.com/dotnet/sourcelink
https://www.hanselman.com/blog/ExploringNETCoresSourceLinkSteppingIntoTheSourceCodeOfNuGetPackagesYouDontOwn.aspx
If you are interesting about this automated workflow and how it works
https://github.com/JTOne123/GitHubMassUpdater
If you notice any flaws, please comment and I will try to make fixes manually

Thanks for this @JTOne123
I was not aware of the SourceLink functionality. Instead of taking your PR I've updated just the project that requires it (the only one that is a Nuget package) and will release shortly.
Thanks again


Doc/#746 homepage

I am merging it to move forward so the community team can review it easily.
Any comment after the merge will be incorporated if needed.


Project name not checked when using ToConfigFiles

ToConfigFiles does not read the content of the Compose files. In the loader.projectName function when checking for the existence of the top-level "name" key, the Content field is not set, so the read fails silently and never actually checks the "name" value.
https://github.com/compose-spec/compose-go/blob/main/loader/loader.go#L482
A workaround is to explicitly set the Content field instead of using ToConfigFiles.

Can you propose a pull-request with your fix?


ENH: Allow non-integral popsize for differential_evolution

For large optimisation problems with expensive fitness functions it is not really practical to have the population size be an integer multiple of the number of parameters.
IMO the popsize parameter should directly specify the population size (instead of being a multiple) but in order to not break existing code we can allow floating point multiples to be used instead.

I think the best way of reducing the total population size, and getting the size one would like, is via specification of the entire population, which is what #7115 (needs polishing) will do.
Using a fractional multiplier seems quite messy to me.

I agree its not the best solution, but it seems cleaner than forcing specification of the entire population, especially when the user still wants random/latinhypercube initialisation.

With #7115 one can supply the population, you could then use the init_population_lhs method on a (non-public) DifferentialEvolutionSolver object to still have LHS sampling.
I saw somewhere else (can't remember where) that Latin Hypersquare Sampling was of interest. There may be mileage in having a general utility function somewhere to do that.
If one had that then it would make it a lot easier to supply a LHS initialised population.
I think the main objection I have is that to obtain the population size you want, you have to do a calculation with the number of variables, and the desired population size, to get to a floating point number.
You're right in that it would've been easier to have popsize be the actual population size, rather than a multiplier. My excuse is that I was following a paper (10.1098/rsta.1999.0469) when I wrote the code originally, and they used a multiplier.

I think a standalone LHS function would definitely be useful.
What do you think of having a DifferentialEvolutionSolver.set_population_size() function to manually set the population size? it would avoid the fractional popsize parameter while still allowing advanced users to manually set the population size. This function would probably need to reinitialise the population too.

Now that #7115 has been merged. Do you think that's sufficient to meet your needs for specifying smaller populations? I'm not a fan of fractional popsize. If so, could we close the PR?

I agree that fractional popsize isnt the cleanest solution and the problem of allowing arbitrary populations sizes can be solved with #7115. I'll close this PR
The only thing missing is a latinhypercube free function.


Crunch Training

Implement Crunch Training with VB algorithm

Done: https://github.com/cfogrady/VitalWear/commit/9ad4b0520bb2fddf373d9ebacc7049d1efb7d2d4


[Project-scoped API tokens] are too big for travis pypi deploy

Describe the bug
data too large - consider using travis encrypt-file or travis env set

Expected behavior
travis encrypt "pypi:token-here"
it prints a nice encrypted token
To Reproduce
$ travis encrypt "pypi:token-here"
data too large - consider using travis encrypt-file or travis env set

Interesting... Worked for me using a account-global token. Haven't tried it with a project-scoped one. Is it longer?

Mine was 195 characters

It looks like Travis CI limitation is 501 byte. You're probably doing something wrong. Are you using --com or --org?
$ dd if=/dev/urandom | LC_CTYPE=X tr -cd "[:alpha:][:digit:]" | head -c 256 | travis encrypt -r xxx/xxx --api-endpoint 'https://api.travis-ci.com/'
Please add the following to your .travis.yml file:

  secure: "VW5SHPo68Mz40zMlDJRwqgh5bsTzItdhDSAsK+Xozb64Z/4GOUJ++iWLFB7eqMA/pS9+FkuwUcBNBxB/DYCJ2jJRb3UxnF3JgBvsgNsi0FQAgvhzz3vKSfWZoTn9c1/jK8Ng1KmqJDkcwjC77EawUo8dbUz19Iw5eyES3803j/Q68luzO1IipZhQLrJRnCV0YhZTnCpoluOoePdv0GG/BU15PVMJIqn3B34fJk6mXrAfrhrjgsp2wt0XAj4e7cQEk80fZsM595mS6qgtLrNP4ZdIA6eSoYuaZ1oeK10wxuOz79wLkEv5LifdZaU5rEmn9grT+35B6Cekkk5rjotPQXgTKGByXWCQywvhYxpQU7zonZr3AeVgVMdFcFnNtxrDbN+dsyR6SwwyEUIBazxZyxN/ITTCHJLAad/1C9MPIY/SzZzNRYkwSbAjh+IxEcANm6Pitvf8UeP6bmII/61ovgPI0t3nxbtA2cnCaYeP6fbfqOBwdYc1ISBqR5w4pR85HBtZM7MI7qq+nME1i3UUG+j0MyixUIB10vOI1XnumxaQ2AqTOIoi3vm/4gDEay+S2YnWq7jMD4xCW6rQ+8b7lZWQhpRoig9rv6yb16oUOZsScCCwOkxbA4k33H2v+PbvBrFlvb8jKALYnaWqFlCU9WB4rIUGCjJ7NZcZ7I0h37U="

Pro Tip: You can add it automatically by running with --add.

$ dd if=/dev/urandom | LC_CTYPE=X tr -cd "[:alpha:][:digit:]" | head -c 502 | travis encrypt -r xxx/xxx --api-endpoint 'https://api.travis-ci.com/'
Outdated CLI version, run `gem install travis`.
data too large - consider using travis encrypt-file or travis env set

$ dd if=/dev/urandom | LC_CTYPE=X tr -cd "[:alpha:][:digit:]" | head -c 501 | travis encrypt -r xxx/xxx --api-endpoint 'https://api.travis-ci.com/'
Outdated CLI version, run `gem install travis`.
Please add the following to your .travis.yml file:

  secure: "t7P2dCpHE7x7nknQvUxGVSC5WFjTzDu2vnd59I26cG7jszeyEeE4J9sJctgwkHq5GGyiE24tZqsrfW4Nf6n3oS/S/KQRJb8zS3fSwnSlXDyrIDeH319/5i2qxolTZsXFKVkhNi9pzaAHCmFV2Id/VqjgFO9DegpuChObckJ8LGGhrAb7snRSwCtBAuAV0yE2sUsyhqwkKiglY4GSV/W+lswR+hxdkDlaqgA/uODSNWIMaFeuAUTwtLR1owpDyai5J9xTEk06PvYIWvOHvnu5Mcdck8rcNWyjUJiPGQEw2cFklH0JDuDSeAHULc/K3c0LMvXdN5HtPJMphuAH/7PKy4BOgIGIa40C9Hu4q1Tx9Y0jImOVUgywvWThFUBobxTsWLo0IFjRTe6wRfKR2/nzprnUiwQ1ouasynpF8/PDsuPczIm8kAUv+S9NM+7mLR+BFEg98f37wcxwYAM+nDqU8WkJjGxczoQybF0Xx1KW4QrFH7CrJfiQ4Urd7b6EQF58L5fD24T2SgIIA84r0bF0DWLUKvHMJifW8vRDPlThKXev3xwGti02EpUcnYATrWVOd5oJs1PBfirjp0zFRIE8GAjnBoVTQlAnG8JFYlvzJp+DdlB4NXY16VcIcyJ6kcWRUFDBKttJlmY7NnWxNuGQZ60kg11YjRGfhEju17KW6oQ="

Pro Tip: You can add it automatically by running with --add.

Workaround:
It's not very well advertised but you can actually use PYPI_PASSWORD env var.
DPL tool supports it as a fallback, see: https://github.com/travis-ci/dpl/blob/1077ce6/lib/dpl/provider/pypi.rb#L12.
You can set it as a secret var on the Settings page of your repo @ travis-ci.com.

Not sure whether we should consider this a documentation issue to address in https://github.com/travis-ci/docs-travis-ci-com/issues/2452 & #6211 or a thing we can/should address on the Warehouse side. @woodruffw ?

I'm using the travis snap if that helps anyone repeat?

@graingert I'm not sure what's packaged into that snap and don't have it myself :(
Did you notice any weird special chars in your token?

Hmm -- this probably falls under documentation, since we're already using the more compact ("V2") text serialization format for Macaroons. We could probably squish it further by using a binary format for caveats instead of JSON, but it'll still be a relatively long token.
I agree with @webknjaz that there might be something additional going on here: 195 characters is long, but well below the actual Travis CI limit.

No nothing weird, just the :

@graingert Could I ask you to contact Travis CI support or their bug tracker and ask what they find?

I suspect this is a unique problem to me. I'm using travis set env now

@graingert I believe it's not safe to use that.

@graingert heads up: the issue seems to be a duplicate of https://github.com/pypa/warehouse/issues/6287

This problem isn't unique to you. I've encountered it in a couple of projects myself. It seems some projects in Travis have a 128-byte key while others a 512-byte key (and maybe others with another length). The only recommended solution seems to be "don't use encrypted values in config".

the issue seems to be a duplicate of #6287

I don't see how this is a duplicate of that issue. That issue discussed the escaping of values (@token and pypi:), both of which were changed to avoid those issues.
This issue is about how Travis config refuses to encrypt the value for certain projects, which was reported upstream in travis-ci/travis.rb#221, but the recommendation is to avoid using that feature.

Although #6355 is a duplicate of this issue, the conversation is continuing there.

Well, it seemed to have the same roots back when I suggested that it's a duplicate ;)

To be honest the pypi token looks like a joke made in order to test who would choke trying to use it.  Its unresonable length breaks even the newer v3 travis deploy api, as documentd at https://docs.travis-ci.com/user/deployment-v2/providers/pypi/
Any attempt to encrypt that huge token would give you a data too large - consider using travis encrypt-file or travis env set


Quality of life improvements for the demo.

Update the snippet on page load; insert spaces when tab is pressed.

Codecov Report

Merging #563 into master will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #563      +/-   ##
==========================================
+ Coverage   43.06%   43.07%   +0.01%
==========================================
  Files          73       73
  Lines       15924    15927       +3
  Branches     4179     4179
==========================================
+ Hits         6858     6861       +3
  Misses       7144     7144
  Partials     1922     1922

Impacted Files
Coverage Δ

vm/src/stdlib/io.rs
29.55% <0%> (-0.23%)
:arrow_down:

vm/src/stdlib/string.rs
23.38% <0%> (+1.49%)
:arrow_up:

Continue to review full report at Codecov.

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


Update Modular example

The modular example is currently out of date -- docs/source/ipynb/modular/modular.ipynb still inherits from GP instead of Model. Is this the best example we have of what will ultimately become Models playing together?

Yeah, I made that to get some feedback at the time and it didn't go anywhere.

Closing this as per the recent meeting and new PR.

But I don't think that addresses docs/source/ipynb/modular/modular.ipynb -- are we deleting it or updating it? delete?

Hmm, I'll update it.

should we call the issue "document modularity"? I'd love to see it moved from an ipynb to a more prominent section of the docs

That should definitely happen, but how about a new issue?

Sure that works great, but sorry, I'm confused. There are 3 things in play:

making models modular / making models play together
Updating docs/source/ipynb/modular/modular.ipynb
More general documentation of modular models

The title of this ticket corresponds to 1. but the content corresponds to 2., and I don't think 3. is covered anywhere yet. Does it make sense to do the following for the above items?

(covered by #429 )
this issue -- rename to "update modular example"
open new issue

3 is mentioned in the checklist issue, though not in-depth.

Is there value in keeping the Fuel example around? It seems like a duplicate of Modular, and modular seems better.

Fuel is still faster, and has interactives (which Model could, but does not). So no good reasons, but some reasons.

Ok, understood -- we'll leave it for now then, with an aim for fixing #479 and eventually adding interactives to modular.