Error on uninstall of intel-haxm

General troubleshooting steps

[X] I have retried my command with --force and the issue is still present.
[X] I have checked the instructions for reporting bugs (or making requests) before opening the issue.

[X] None of the templates was appropriate for my issue, or I’m not sure.

[X] I ran brew update-reset && brew update and retried my command.
[X] I ran brew doctor, fixed as many issues as possible and retried my command.
[X] I understand that if I ignore these instructions, my issue may be closed without review.

Description of issue
The silent_install script provided by intel-haxm 6.2.1 does not work on OSX 10.13. I have updated the intel-haxm.rb Cask to use the newer 7.1.0 which works. But I don't know how to help users who had my same issue of being stuck on the older version because I had already upgraded my OSX to 10.13. The fix is to add the 10.13 version to the list of versions in the silent_install.sh script.
diff silent_install.sh
-for v in 10.8 10.9 10.10 10.11 10.12
+for v in 10.8 10.9 10.10 10.11 10.12 10.13

Command that failed
brew cask upgrade intel-haxm

Output of command with --force --verbose --debug
==> Failed command:
/usr/bin/sudo -E -- /usr/local/Caskroom/intel-haxm/6.2.1,a0:49/silent_install.sh

==> Standard Output of failed command:
HAXM silent installation only supports macOS from 10.8 to 10.12 !

Output of brew cask doctor
==> Homebrew-Cask Version
Homebrew-Cask 1.6.0
caskroom/homebrew-cask (git revision 860f5; last commit 2018-04-12)
==> macOS
10.13.4
==> SIP
Enabled
==> Java
1.8.0_131
==> Homebrew-Cask Install Location
<NONE>
==> Homebrew-Cask Staging Location
/usr/local/Caskroom
==> Homebrew-Cask Cached Downloads
~/Library/Caches/Homebrew/Cask (6 files, 154.7MB)
==> Homebrew-Cask Taps:
/usr/local/Homebrew/Library/Taps/caskroom/homebrew-cask (3960 casks)
==> Contents of $LOAD_PATH
/usr/local/Homebrew/Library/Homebrew/cask/lib
/usr/local/Homebrew/Library/Homebrew
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/gems/2.3.0/gems/did_you_mean-1.0.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/site_ruby/2.3.0
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/site_ruby/2.3.0/x86_64-darwin9.0
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/site_ruby/2.3.0/universal-darwin9.0
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/site_ruby
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/vendor_ruby/2.3.0
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/vendor_ruby/2.3.0/x86_64-darwin9.0
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/vendor_ruby/2.3.0/universal-darwin9.0
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/vendor_ruby
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/2.3.0
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/2.3.0/x86_64-darwin9.0
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/2.3.0/universal-darwin9.0
==> Environment Variables
LC_ALL="en_US.UTF-8"
PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/Homebrew/Library/Homebrew/shims/scm"
SHELL="/bin/bash"

Output of brew tap
caskroom/cask
homebrew/core

Please don't open issues when you're going to send a PR.

Sorry, didn't read it properly. Reopened.

@commitay I'm new to adding back to Homebrew. Is there a way to add to "brew doctor" to assist in the uninstall of the older version? Basically the silent_install.sh -u will fail for the uninstall unless 10.13 is added as a valid version in the script. I would help fix the older version, but I'm not sure how best to do that. Are there other use cases in which the previously installed Cask can no longer be uninstalled due to an external change such as an OSX upgrade?

There isn't anything we can do to make the uninstall work correctly after it has been installed.
Easiest option is to brew update && brew cask install --force intel-haxm after https://github.com/caskroom/homebrew-cask/pull/45853 is merged.


The top tab items bar doesnt allow you to move the window, there's only a tiny area to move the window on the right.

This is the top bar, on the left is obviously the tab for the console, to the right is a lighter colour where the tabs are stored and further right is the colour i have for the top of windows. There's only a tiny space for you to drag the window.

#564


📚 支援简体中文zh-CN

/gt website/src/pages/docs/**/*.{md,mdx,json} **/*.zh-CN.{md,mdx,json} Simplified-Chinese

📝
gpt-3.5 was able to maintain the import statement, but gpt-4 is destroying the import statement, as if it is faithful to the instruction.
Maybe promt needs to be improved.

/gt README.md README/README.zh-CN.md Simplified-Chinese


Chrome is not splitting correctly

I'm on MacOS Ventura (Arm) and the newest version of Yabai. Most other apps split correctly. For example, when I drag a tab from Firefox to create a new window, the two Firefox windows split in half. However, on Chromium (and regular Google Chrome), the two windows don't split in half at all. One window gets larger and engulfs part of the other window.

have you accidentally toggled zoom-fullscreen on?

I recently upgraded to Ventura and have noticed the same behavior with Brave, also chromium based.

I have the same issue. Also problem when I set e.g. iTerm2 in fullscreen mode. The Chrome is still visible over iTerm2.

Any update or solution for this?

Appears to be fixed! At least on the v6.0.1 I'm currently running.

Not sure what is going on here. I don't use Chrome and I have no intentions of installing it. You can enable debug info (yabai -m config debug_output on and see which kinds of events yabai receives when doing the above operation in Chrome.


[FEATURE] Send to Kindle (email to E-Reader)

Is your feature request related to a problem? Please describe.
My wife and I are looking for a way to share E-books more easily. I'd like to use Stump to put all our ebooks into a shared library and she can grab the ones she wants and send them to Kindle or eq. E-Reader
Describe the solution you'd like
I'd like a drop dropdown on a books page that would allow me to send the book to a pre-defined email (or pick from a list of pre-defined emails)
Describe alternatives you've considered
This can be accomplished by downloading the book manually and emailing yourself.
Additional context
I see two ways to do this,

Each users has a list of emails that can be used to "send-to" and each of those have their own entry in a dropdown menu.
Each user has 1 email that is used by default in the send too option. In this case, I would like a input to manually specify an email address in case I want to send a book to my wife's e-reader directly.

I'm opened to creating a PR on this one, but would like to know which way to go before I dig in too deep.

Hello!
I'm not opposed to this kind of functionality living in Stump, I'm sure it would be considered useful for enough people and sounds cool, though I'm not familiar enough with Kindle specifically to understand exactly what is needed for this kind of thing. Every reader I use is either using page streaming of some kind or can load webpages/supports direct download. I personally won't have development time to give to this until after the core features for the 0.1.0 release are completed at the very least (https://github.com/aaronleopold/stump/issues/107 for more information), but am otherwise happy to help facilitate any outside contributions where I can 🙂

I see two ways to do this,

Each users has a list of emails that can be used to "send-to" and each of those have their own entry in a dropdown menu.
Each user has 1 email that is used by default in the send too option. In this case, I would like a input to manually specify an email address in case I want to send a book to my wife's e-reader directly.

I think some sort of RBAC more closely similar to the (WIP) reading list RBAC would be a good model, where the server owner can maybe assign a role of internal-emailer or external-emailer (or none):

none: cannot send emails
internal-emailer: may email any registered user with an associated email
external-emailer: may email any email, inherit role perms from internal-emailer

Emails are not currently collected, so that would need to be a migration on the users table, as well.
I'm also not really familiar with what Rust libraries are available for this. A brief search shows https://github.com/lettre/lettre might be viable. But, some things I would want to ensure are not bloating too much by adding this. Using that as a segue, I think a general sort of requirements would be:

Minimal bloat (server executable size shouldn't go too much larger), this could be a non-issue, like I said I am just unfamiliar with what is out there
Should be completely opt-outable by the server owner.
RBAC needs to be air tight so server owners' files aren't floating around if they don't want them to be.

Implemented in https://github.com/stumpapp/stump/pull/296


on page refresh localize doesn't reset.

I am using ngx-translate and a constructor translate with localizerouter to match and change the lang when someone selects a different language in dropdown.
https://gist.github.com/premiumwd/9da2529037bc32e7aeaf243a9c3687ce
When I refresh page, if I selected a different language it doesn't go back to default lang. Any advice?

I think it happens because of the local storage. You have to manually force language with LocalizeRouterService.changeLanguage(langStr).
But be careful, changeLanguage fn does this:
    /**
     * Change language and navigate to translated route
     * @param lang
     */
    LocalizeRouterService.prototype.changeLanguage = function (lang) {
        var _this = this;
        if (lang !== this.parser.currentLang) {
            var rootSnapshot_1 = this.router.routerState.snapshot.root;
            this.parser.translateRoutes(lang).subscribe(function () {
                _this.router.navigateByUrl(_this.traverseRouteSnapshot(rootSnapshot_1));
            });
        }
    };

as you can see every time you change language it tries to reload navigate with the new language.
Hope it helps.

@premiumwd
I would have to debug your solution, but I think @NKjoep is right. Your latest language is set in localstorage and is probably overriding the setting in your NavComponent.
Since LocalizeRouterService is calling under the hood TranslateService (setting languages, setting default language, changing language) you don't need to (and shouldn't) do it on your own.
If localstorage is not needed please create a separate request issue.

@NKjoep I just need a hook into translate to reset when refresh, this is a bug I think should be addressed into updated version.


builder: set OAuth token creation time before we fetch it

Set token creation time here before we make the token request. If we set it after the request was fulfilled, it would be offset by the time it took the token to get from the server here, which can result into us refreshing the token late.

Had to cherry-pick @jrusz pylint fixes from https://github.com/osbuild/koji-osbuild/pull/100


[BUG] CI failed, DaemonSet is not ready, need update harvester-network-controller charts

Describe the bug

CI build failed
DaemonSet is not ready: harvester-system/harvester-network-controller. 0 out of 3 expected pods are ready
https://drone-pr.rancher.io/rancher/harvester/615/1/2
After harvester-network-controller refactor ,need to update  harvester-network-controller charts in harvester repo
To Reproduce
Steps to reproduce the behavior:
Run CI test
Expected behavior

ci successd
daemonSet harvester-network-controller ready
Log

956 | DaemonSet is not ready: harvester-system/harvester-network-controller. 0 out of 3 expected pods are ready
957 | DaemonSet is not ready: harvester-system/harvester-network-controller. 0 out of 3 expected pods are ready

Environment:

Harvester ISO version:
Installation Mode: ci test
Underlying Infrastructure (e.g. Baremetal with Dell PowerEdge R630):

Additional context
Add any other context about the problem here.

link to #369

Close in favor of #500


Fix for HTTP Agent no longer working with unsecure S3 backend

Explain the changes

remove checking if NODE_EXTRA_CA_CERTS is empty

Issues: Fixed #xxx / Gap #xxx

fixes getting an HTTP Client when requesting an unsecure HTTP Agent
broken by https://github.com/noobaa/noobaa-core/commit/621a634abba9ec0f4fd6774fa1b2f0e22d5f8a7f#diff-edc32a1c01ddf9d0c80b785573ad7de7443829016b1260eee65c5f1e92961406R398

Testing Instructions:

connect noobaa to unsecure S3 backend e.g. Minio
get and put requests fail

Can you explain why we are moving this? Better on the PR itself. Why do we want to return to using an unsecure clients?

hey @jackyalbo,
the problem is the method is called get_unsecured_agent and this is correctly called when using a S3 backend without httpS (e.g. a local MinIO instance), but when NODE_EXTRA_CA_CERTS is not set the method still falsely returns an httpS client resulting in a failure to connect to the backend S3

Hey @lallinger-arbeit
So the thing is we probably don't want to revert this call... We do want that in the case NODE_EXTRA_CA_CERTS is not empty we will use a secured https client. Maybe there is an issue there, that for some reason although  NODE_EXTRA_CA_CERTS is empty or even don't exist - we still return a secured https client and that's maybe need to be better handled. I would suggest adding a print to check what you get in  NODE_EXTRA_CA_CERTS in your case and fixing this condition accordingly.

I don't understand why i get an https agent when i explicitly specify http e.g. http://s3.mycloud.com? In my opinion this shouldn't happen regardless of if there are NODE_EXTRA_CA_CERTS set or not..

request_unsecured not suppose to effect if you get http client or https, that's suppose to be effected only by the protocol in url.parse. take a look here:
https://github.com/noobaa/noobaa-core/blob/0a04de2f7e53289d42416d29f491940ce81ea8c7/src/util/http_utils.js#L420
maybe the fix is hiding there

maybe I'll add some more info, the difference between unsecured_https_agent and regular https_agent is just if we reject unauthorized/self signed certs or not. secured doesn't mean https vs http.
https://github.com/noobaa/noobaa-core/blob/0a04de2f7e53289d42416d29f491940ce81ea8c7/src/util/http_utils.js#L27-L28

ah ok, then we'll need to verify if this is still happening! Will take about 2 weeks, as tuomas is currently out of office..


Add troubleshooting steps for registering Subscription to Resource Provider

We found that this step (registering a subscription for the Microsoft.azurearcdata resource provider) is often missed and we are trying to improve documentation to prevent users from running into this issue.
If users don't register their subscription and install the extension, they will see the following success message, but will not see their SQL server instances on Azure:

Installing SQL Server - Azure Arc extension. This may take 5+ minutes.
SQL Server - Azure Arc extension is successfully installed. If one or more SQL Server instances are up and running on the server, Arc
-enabled SQL Server instance resource(s) will be visible within a minute on the portal.
Newly installed instances or instances started now will show up within an hour.

Would it be possible to add a troubleshooting section asking customer to register their subscription if the run into the following issue?

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: aa2343e7-8920-d26c-e167-394ddb5a5878
Version Independent ID: 159d34d5-1f2d-5028-88a6-4bf6d04f0ffd
Content: Connect to Azure Arc - SQL Server
Content Source: docs/sql-server/azure-arc/connect.md
Service: sql
GitHub Login: @anosov1960
Microsoft Alias: sashan

@charmainewkchan -- Charmaine, thank you for your feedback and suggestion.
@anosov1960 -- Sasha, please look into this issue.

@MikeRayMSFT  - @MikeRay - can you please add this to your to do list?  We can put something on the troubleshooting docs for Arc SQL Server onboarding. https://learn.microsoft.com/en-us/sql/sql-server/azure-arc/connect-at-scale?view=sql-server-ver15&tabs=azure%2Cwindows#troubleshoot-azure-extension-for-sql-server
Also - we should have this troubleshooting section be a snippet that is included in both that article linked above and in this article: https://learn.microsoft.com/en-us/sql/sql-server/azure-arc/connect?view=sql-server-ver15&tabs=azure%2Cwindows#validate-your-arc-enabled-sql-server-resources

I think that changes in the deployment experience, and updates to documentation may have resolved this issue.
See:

Automatically connect your SQL Server to Azure Arc
Connect SQL Server instances to Azure Arc

Closing - discussing internally with PG.


"Create Account" does not work properly!

Hi. Sorry for bad English. I'm clicking "Create Account" link on login page. Create Account page is coming but hidden. Login page isn't hidding but login textboxes aren't clickable, create account textboxes are clickable and selectable (ghost).
Location: https://sistem.izubilisim.org/template/login.html
Tested on Chrome and Edge

Am also facing same issue. Any suggestions?

What do you need to achieve? Is it to redirect on new page or to show a modal. This is because you supplied an anchor links without any event embedded.

Demo does work properly but master branch does not work. I think some problems available on master branch and I want only tell to you.

What problem? You mean there is no functionalities? This is intended since you are the one who will develop this.

just to elaborate on issue.......click on "Create Account" on login.html is not working in the latest template version uploaded. Functionality we have to implement but like in demo click should animate to switch between modals #toregister & #tologin.

I already send a PR for this on #164

Thanks to you :)
2016-05-22 19:36 GMT+03:00 Christian Esperar<EMAIL_ADDRESS>
I already send a PR for this on #164
https://github.com/puikinsh/gentelella/pull/164
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/puikinsh/gentelella/issues/158#issuecomment-220842062


SS-1: Acceptance Criteria for Diamond

Hello,
I was testing my dataset against different validation platforms and it seems like C&1&1&1 is throwing a rejection. I added it to my list because it's defined in the openSMILES as diamond, Page 21.
http://opensmiles.org/opensmiles.pdf
I'm wondering if this should be accepted by the partialSMILES?
`

That's a new one on me. Most people would say that SMILES does not support extended structures. I'd love to know any program that reads that as diamond. However, as a general point, it may be that I do not support the "&", so I'll leave this open until I've checked.

Just check the opensmiles.pdf you point to. This is in the "Proposed extensions" section, and so not part of Daylight SMILES.

Ah huh, in the proposed section it looks like the reason why it wasn't implemented was because of the & symbol conflicting with R-Groups.
RDKit can process strings like C1=CC=CC=C1(~[*:1]) so it could be better than the ampersand where the  ~ is the virtual bond and the * is the virtual particle. The class can be replaced with a corresponding R-Group and we reserve that for materials like they proposed?
What are your thoughts?


Note that I expect this to affect Adhesion as well


Switch Docker Jobs to Publish to the ODPi Org

The currently AZP docker jobs push containers to the odpipoc
organization on Dockerhub. This was done to ensure the images don't
conflict with the Jenkins jobs currently pushing to the official ODPi
organization.
Before this patch is merged, the Jenkins jobs should be disabled so
containers aren't being pushed from both places.
Partially Resolves #1652
Signed-off-by: Trevor Bramwell<EMAIL_ADDRESS>

Note: If this PR shouldn't resolve #1652 please let me know and I'll update the commit message to remove 'Resolves'. Since this is likely the final step in that process, it's probably fine to leave it as-is.

@bramwelt I see the jenkins jobs are still running - with this issue merged we need to stop jenkins also publishing to the same repo (ie from https://jenkins.odpi.org/view/egeria-docker/ ). That being said they're both building the same code so we don't have a critical issue at this instant, just tidy up.


Fix bugs in session and authentication

Coverage decreased (-0.07%) to 93.925% when pulling fdde2ab87b1f05a75a955672de4ef396cc5efe6a on eatonphil:fix-session-bug into ce33b6acc4933571c0e8538809565d4e4ac9824c on linode:master.

Coverage increased (+0.01%) to 94.0% when pulling c349837346ec6af524958366c0d2304ac52119bb on eatonphil:fix-session-bug into ce33b6acc4933571c0e8538809565d4e4ac9824c on linode:master.

Thanks!


Temperature.celsiusValue should be a computed property

The problem with a lazy var is you can overwrite it:
https://github.com/thoughtbot/Tropos/blob/877990cc0c96c96fd88d8e655bafac7b70c18bb3/Tropos/Models/Temperature.swift#L19-L21
let temp = Temperature(fahrenheitValue: 20)
temp.celsiusValue = 20

The math isn't particularly expensive, so using a computed variable is probably good enough. If we really want to lazily load the celsius value, we can do so with a private lazy var, which the computed variable calls/returns.

Interesting find. Computed variable makes sense to me.


Azdo Pipeline Provider - ARM_ pipeline variables

Modify the provider to only add the ARM_ variables if the selected provisioning provider is Terraform. This is to reduce the variables needed and simplifies credentials for non Terraform deployments.

implemented already


Does validation activity in ADF accepts wildcard paths for folder name ?

Closed the previous issue without clarifying the doubt I asked. #73178
I would like to check the existence of an .ack file in a folder which will be having name with date and time. (eg: folder name = 2021-03-31-01-19-21).
The day day part in the folder can be set, but we are not sure about the time part in the folder name, it depends on the time of creation of that folder. Tried to add this path for validation task in ADF but there I was not able to provide wildcard path for the time part, since we are not known what is exact value.
Is it possible to provide the folder path like [ @concat('temp/folder',(formatDateTime(utcnow(), 'yyyy-MM-dd'),'-??-??-??') ]
Is there any alternative way to achieve this? I need to check for the existence of .ack file, every 10 mins for 2hrs.
(get metadata activity alone is not helping to recheck the existence of file every 10 mins till 2hrs and also not able to pass wildcard file path)

@antothomas23  Since this issue is not related directly to the doc, I would recommend you to create a thread on the forums - Microsoft Q&A or Stack Overflow
Once you post your issue on forums, it will have visibility across the community which is a better suited audience for such types of issues.

@antothomas23  We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


[24.05] maxima: add patch for CVE-2024-34490

Description of changes
https://nvd.nist.gov/vuln/detail/CVE-2024-34490
Partial backport of #329007
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[x] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

@ofborg build sage
Again, not sure if my machine is fast enough to be able to complete the tests without timeouts.


Check if the generated code can compile

Actually there is an issue during compile.

All AssertCompile are commented out


scipy.optimize.linear_sum_assignment is slow in 1.2.3, can we have another version with better performance for python2?

Can we have another version of scipy for python2 with faster linear_sum_assignment?
As it seems python2 support removed after scipy v1.2.3.
Or
Is there any option/way to use the latest scipy version with python2 (official/unofficial)?
On the other hand, we can also list what other functions can be optimized.
Code steps
Step 1: Install scipy==1.2.3 and dependencies (numpy)
$ python3 -m pip install -U scipy==1.2.3
$ python2 -m pip install -U scipy==1.2.3

Step 2: Generate the 200x200 and 200x400 matrix and save using numpy.save()
# no shebang
# file: pythonx_input_data_update.py
import numpy as np
def update_data_on_disk():
	outfile_rect = '200x400_rnd_float.npy'
	rect = np.random.random(size=(200, 400))
	np.save(outfile_rect, rect)

	outfile_sq = '200x200_rnd_float.npy'
	sq = np.random.random(size=(200, 200))
	np.save(outfile_sq, sq)

Step 3: run the script to use linear_sum_assignment
# shebang based on python2 or python3
import sys
import numpy as np
import scipy as sp
from scipy.optimize import linear_sum_assignment
import time

from pythonx_input_data_update import update_data_on_disk  # the creator file

DEFINE_PYTON_VERSION = sys.version_info[0]

def python2_run():
	start_rect = time.time()
	rect = np.load('200x400_rnd_float.npy')
	row_idx, col_idx = linear_sum_assignment(rect)
	runtime_rect = time.time()-start_rect

	start_sq = time.time()
	sq = np.load('200x200_rnd_float.npy')
	row_idx, col_idx = linear_sum_assignment(sq)
	runtime_sq = time.time()-start_sq

	print "python",sys.version_info[0],", numpy version: ", np.__version__, ", scipy version: ", sp.__version__, ", runtime_rect: ", round(runtime_rect, 4), " secs, runtime_sq: ", round(runtime_sq, 4) , " secs"   # modify based on python2 or python3
	return [runtime_rect, runtime_sq]

def main(args):
    runtimes = []
    cnt = 5   # Put any number or pass console variable
    try:
        while(1):
            update_data_on_disk()  #  comment out for same data input
            runtimes.append(python2_run())
	    cnt = cnt - 1
	    if (0 == cnt) :
		break;
    except KeyboardInterrupt:
        print ("CTRL+C")

    runtimes_arr = np.array(runtimes)
    print "Average: ", runtimes_arr[:,0].mean(), runtimes_arr[:,1].mean()   # modify based on python2 or python3

if __name__ == '__main__':
    main(sys.argv)

message:
python3 with scipy v1.2.3
$ python3 python3_scipy_perf.py
python 3 , numpy version:  1.19.4 , scipy version:  1.2.3 , runtime_rect:  0.5773  secs, runtime_sq:  0.2526  secs
python 3 , numpy version:  1.19.4 , scipy version:  1.2.3 , runtime_rect:  0.634  secs, runtime_sq:  0.2752  secs
python 3 , numpy version:  1.19.4 , scipy version:  1.2.3 , runtime_rect:  0.5089  secs, runtime_sq:  0.2304  secs
python 3 , numpy version:  1.19.4 , scipy version:  1.2.3 , runtime_rect:  0.4694  secs, runtime_sq:  0.2446  secs
python 3 , numpy version:  1.19.4 , scipy version:  1.2.3 , runtime_rect:  0.4919  secs, runtime_sq:  0.2348  secs
Average:  0.5363004684448243 0.247514009475708

python2 with scipy v1.2.3
$ python2 python2_scipy_perf.py
python 2 , numpy version:  1.16.6 , scipy version:  1.2.3 , runtime_rect:  0.5821  secs, runtime_sq:  0.2979  secs
python 2 , numpy version:  1.16.6 , scipy version:  1.2.3 , runtime_rect:  0.4702  secs, runtime_sq:  0.25  secs
python 2 , numpy version:  1.16.6 , scipy version:  1.2.3 , runtime_rect:  0.4792  secs, runtime_sq:  0.2255  secs
python 2 , numpy version:  1.16.6 , scipy version:  1.2.3 , runtime_rect:  0.414  secs, runtime_sq:  0.2357  secs
python 2 , numpy version:  1.16.6 , scipy version:  1.2.3 , runtime_rect:  0.4946  secs, runtime_sq:  0.2186  secs
Average:  0.4880094528198242 0.2455455780029297

Step 4: For python3 get to the latest scipy version
$ python3 -m pip install -U scipy

$ python2 -m pip install -U scipy   # Dream: Need faster function
Step 5: Run the python3 version of the script
$ python3 python3_scipy_perf.py
python 3 , numpy version:  1.19.4 , scipy version:  1.5.4 , runtime_rect:  0.0028  secs, runtime_sq:  0.0037  secs
python 3 , numpy version:  1.19.4 , scipy version:  1.5.4 , runtime_rect:  0.0026  secs, runtime_sq:  0.0028  secs
python 3 , numpy version:  1.19.4 , scipy version:  1.5.4 , runtime_rect:  0.005  secs, runtime_sq:  0.0036  secs
python 3 , numpy version:  1.19.4 , scipy version:  1.5.4 , runtime_rect:  0.0036  secs, runtime_sq:  0.0039  secs
python 3 , numpy version:  1.19.4 , scipy version:  1.5.4 , runtime_rect:  0.0025  secs, runtime_sq:  0.0038  secs
Average:  0.0032953739166259764 0.0035414695739746094

Or any study link for other faster functions?
e.g. ref:
https://github.com/berhane/LAP-solvers
https://github.com/cheind/py-lapsolver
All are for python3 though.

Python 2 support finished with the 1.2.x series. There is no possibility of installing more recent versions of scipy into a python 2 environment.

Is there a reason you can't transition to Python 3?

Is there a reason you can't transition to Python 3?

Thanks for asking.
Client dependencies and ROS-melodic (ros.org).
(I understand, it is totally not, scipy team's lookout. Sooner or later we all have to shift to python3, however unfortunately I have to respect the circumstances.)
However,
Can I have some build instructions for building the latest or fastest version of scipy with python2?
Possibly build scipy v1.5.4 with python2 or similar suggestions?
As I could not check any further version of scipy after v1.2.3 with python2.
I wish some versions after scipy v1.2.3 are supported to build.
Unsure for which version of scipy I should build with python2 for performance.
I tried with scipy v1.5.4 with python2
$ python2 setup.py build
Traceback (most recent call last):
  File "setup.py", line 31, in <module>
    raise RuntimeError("Python version >= 3.6 required.")
RuntimeError: Python version >= 3.6 required.

I need guidance for the same.

Thanks for asking.
Client dependencies and ROS-melodic (ros.org).
(I understand, it is totally not, scipy team's lookout. Sooner or later we all have to shift to python3, however unfortunately I have to respect the circumstances.)
However,
Can I have some build instructions for building the latest or fastest version of scipy with python2?
Possibly build scipy v1.5.4 with python2 or similar suggestions?
As I could not check any further version of scipy after v1.2.3 with python2.
I wish some versions after scipy v1.2.3 are supported to build.
Unsure for which version of scipy I should build with python2 for performance.
I tried with scipy v1.5.4 with python2
$ python2 setup.py build
Traceback (most recent call last):
  File "setup.py", line 31, in <module>
    raise RuntimeError("Python version >= 3.6 required.")
RuntimeError: Python version >= 3.6 required.

I need guidance for the same.

Basically, no, you cannot build scipy >= 1.3.x on python2 out of the box.
You can of course, take the 1.2.3 source, selectively apply patches for the functionality you need from more recent scipy versions, and build the result from source.

Basically, no, you cannot build scipy >= 1.3.x on python2 out of the box.
You can of course, take the 1.2.3 source, selectively apply patches for the functionality you need from more recent scipy versions, and build the result from source.


how to provide a input for Vec[publicKey] in solana playground

how to provide a input for Vec[publicKey] in solana playground?
like this ["3Ue6jwMfqYaxw4NJFYTW8PkrXwdn9foei4h7mxuqPuZY","3Ue6jwMfqYaxw4NJFYTW8PkrXwdn9foei4h7mxuqPuZY"] ?

Test UI is being updated right now to support more complex data inputs like this — in fact, this is already implemented in master branch and will be deployed (most likely) next week. You'll be able to input like you've shared above, currently I don't think it works in the live version.


feat: @d2iq/ui-kit package name

BREAKING CHANGE:
The package name has changed from @dcos/ui-kit to @d2iq/ui-kit
Closes D2IQ-90647

Description
I've set this to a hold merge until we can create a package for this in the npm registry.

Which issue(s) does this PR relate to?

Testing

Trade-offs

Screenshots

Checklist

[ ] This PR is associated with a JIRA and it is mentioned in the commit message footer ("Closes …")
[ ] Significant changes have been tested downstream to avoid breaking changes
[ ] This PR contains breaking changes and states in the commit message body ("BREAKING CHANGE: …")
[ ] I have reviewed the changes and provided detail to the sections above


Rename commands.py to main.py

Includes #380 . closes #358
Might be simplest to deploy both at once, as they both involve cron job changes. (just change app.commands to app -v in salt/credere/init.sls)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>3
Details

21 of 22 (95.45%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 84.765%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

app/main.py
21
22
95.45%

Totals

Change from base Build<PHONE_NUMBER>4:
0.01%

Covered Lines:
1786

Relevant Lines:
2107

💛  - Coveralls

Oops, -q. (Originally this PR was --verbose, but it made more sense to do --quiet)


Use NVIDIA drivers from Ubuntu

Instead of installing the drivers from NVIDIA, install the drivers present in the Ubuntu archive. Those drivers are the same as the one from NVIDIA but specifically built for the Azure kernel and signed by Canonical. This greatly simplifies the installation process. We still recommend installing the CUDA toolkit from NVIDIA as it is more up-to-date than the one available in the Ubuntu archive.

@vikancha-MSFT

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@gjolly,
Thank you for your contribution. Would you take a moment to sign the Contributor License Agreement (CLA)? After the CLA is signed, someone can review your pull request.
Thanks!

#sign-off

@microsoft-github-policy-service agree company="Canonical"


PR 246 rebased

@waldyr I really like your work on this and want to see it merged. I've rebased on master and added two other small commits.
You originally had a task of "Limit array while processing" in PR 246, however I don't think it's necessary in order to merge your other changes. There is the option of force pushing this branch to 246 if you wish, but either way, I'd like to merge your changes soon.
Thoughts?

👏


Have an inner and outer loop for VOs and associated VOMS servers.

There is not a 1-1 mapping between VOs and their VOMS servers. Sometimes VOs have no VOMS server, and sometimes they have more than 1. Currently, the task which configures the vomses file for the VO has a loop over VO, and has two issues:

The task fails when there is no VOMSES configuration for the VO
The task only configures the first VOMS found, and does not do all of them.

This should be fixed by having an outer loop over VOs and an inner loop over VOMSes.
Good luck :thinking:

This can be done with a loop control (see https://docs.ansible.com/ansible/latest/user_guide/playbooks_loops.html#loop-control) to include the tasks in a loop. Another suggestion comes from https://stackoverflow.com/questions/49755884/ansible-ignoring-errors-in-a-loop where tasks are dyanically included in a block which is rescued from errors

Closed in #12


test: isolate specs in instances

This PR refactors the e2e test suite so that for each spec file, a dedicated ZITADEL virtual instance is created. It makes use of the undocumented Cypress hosts configuration property to access the instances.

instance specifc events don't interfere anymore with each other over specs which improves idempotency
removes the need for host.docker.internal which improves DX and maybe portability
prepares for future parallel running of specs in pipelines
enables easy spec/instance specific event and other data manipulations
covers creating instances
removes resetting code

State: PoC is successful

### Definition of Ready

- [ ] I am happy with the code
- [ ] Short description of the feature/issue is added in the pr description
- [ ] PR is linked to the corresponding user story
- [ ] Acceptance criteria are met
- [ ] All open todos and follow ups are defined in a new ticket and justified
- [ ] Deviations from the acceptance criteria and design are agreed with the PO and documented.
- [ ] No debug or dead code
- [ ] Critical parts are tested automatically
- [ ] Where possible E2E tests are implemented
- [ ] Documentation/examples are up-to-date
- [ ] All non-functional requirements are met
- [ ] Functionality of the acceptance criteria is checked manually on the dev system.

@fforootd do you have an opinion about parallel specs execution?


Add Appveyor CI

Heres the .appveyor.yml file. Now you need to setup Appveyor. Go to ci.appveyor.com and login with github. Then click on 'add project' and authorise if required. After this select 'reload' and press 'New Build'. As long as the .appveyor.yml file was put in the root directory, everything should go fine.

Looks great just tested on my branch!


Incorrect info

There is no "Scan history" label anywhere. There is a Threat History, but it don't show a history of scans and the results.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 84b48087-97c2-e6c2-2080-e5fcdb662268
Version Independent ID: 6f1caca8-c986-7364-bd2c-7975c9509ff6
Content: Review the results of Windows Defender AV scans - Windows security
Content Source: windows/security/threat-protection/windows-defender-antivirus/review-scan-results-windows-defender-antivirus.md
Product: w10
Technology: windows
GitHub Login: @denisebmsft
Microsoft Alias: deniseb

Hello, @NancyFolsom
Sending the article for cross-checks. Thank you for bringing the issue to attention.

@NancyFolsom The associated PR #5982 for this issue has been merged and the content has been updated. Thank you for providing feeedback.


Cache Guide doesn't mention that class needs to be Serializable

How can I verify this? I don't think it need to be Serializable when we wrote the guide

https://github.com/jacekgajek/redis-error-demo
This is actually a showcase for a bug in caching suspending funs, but if you remove Serializable then the non-suspending controllers will fail with error
 "message": "Internal Server Error: I/O error occurred during serialization: com.example.BarController$Bar"

https://github.com/jacekgajek/redis-error-demo This is actually a showcase for a bug in caching suspending funs, but if you remove Serializable then the non-suspending controllers will fail with error
 "message": "Internal Server Error: I/O error occurred during serialization: com.example.BarController$Bar"

Can you create an issue in cache repository pointing to your repo and providing as much information as possible. If I understand you correctly, you found a bug for Micronaut Kotlin apps and Cache.


Add contact form for website feedback

We should have a sections that has contact info/form specifically for website feedback
This should be separate from organizers@ contact info

✅ By submitting this issue, I have verified the following

[x] Checked to see if the issue has already been discussed before 🤔
[x] If proposing new content to be added, made sure enough details were provided 🔍

This would be a great issue for beginners.
I envision a simple contact form using Netlify forms (https://www.netlify.com/docs/form-handling/) or Formspree (https://formspree.io/).
The form elements for Bulma can be found here: https://bulma.io/documentation/form/general/

Hello,
I believe I can assist with creating form. Shall I submit a PR?

@ceecodes Yes, please - feel free to use the Bulma forms documentation as referenced and let us know if you have any questions, comments or concerns - we're happy to help you help us. 😄

This is a good example (taken from my website)
https://raw.githubusercontent.com/fvcproductions/fvcproductions.github.io/production/site/content/contact.md

  <form method="POST"<EMAIL_ADDRESS>    <input type="hidden" name="_subject" value="FVCproductions - New Contact Message">

      Name

        <input class="input" aria-label="Name" autocomplete="on" type="text" name="name" placeholder="Frances Coronel">

          ✒

      Email

        <input class="input" aria-label="Email" autocomplete="on" type="email" name="email"<EMAIL_ADDRESS>
          ✉

      Message

        <textarea class="textarea" aria-label="Message" spellcheck="true" rows="5" name="message" id="message" placeholder="I want to contact you about..."></textarea>

        <button type="submit" class="button is-link">Send message</button>

  </form>

This was handled but we need to setup Slack notifications in Netlify still.

I was looking into this, there is no free option for it though

For Netlify forms, we get 100 submissions per month for free and that includes Slack notifications


Bugfix - Retrieve Settings from KV map

There was a bug in retrieving the settings from the KV map which is fixed. As a result the default was always used which resulted in debug log not being logged.
New unit tests added
Added unit tests command to makefile

tests:
https://github.com/microsoft/privacy-sandbox-dev/actions/runs/11935821287

It looks like we have added a new endpoint, regarding that:

Based on the test expectation, the output looks like it returns very similar to /heartbeat what is the distinction?
Can we add system tests for it? I tried to use it locally, not sure if I'm missing something? I ran /heartbeat after to ensure the network was up correctly

@DomAyre ➜ /workspaces/azure-privacy-sandbox-kms (test-ronny) $ make start-host-idp
stop-host
source ./scripts/ccf/sandbox-local/down.sh
stop-idp
source ./scripts/jwt-issuer/down.sh
[+] Running 1/0
 ✔ Container services-jwt-issuer-1  Removed                                                                                0.0s
start-idp
source ./scripts/jwt-issuer/up.sh
[+] Running 1/1
 ✔ Container services-jwt-issuer-1  Healthy                                                                                2.0s
start-host
MEMBER_COUNT=3 source ./scripts/ccf/sandbox-local/up.sh && \
source ./scripts/kms/js-app-set.sh && \
source ./scripts/kms/constitution-set.sh ./governance/constitution/kms_actions.js
[+] Running 1/1
 ✔ Container services-ccf-sandbox-1  Healthy                                                                                3.1s
{
  "WORKSPACE": "/workspaces/azure-privacy-sandbox-kms/workspace",
  "KMS_URL": "https://<IP_ADDRESS>:8000",
  "KMS_SERVICE_CERT_PATH": "/workspaces/azure-privacy-sandbox-kms/workspace/sandbox_common/service_cert.pem",
  "KMS_MEMBER_CERT_PATH": "/workspaces/azure-privacy-sandbox-kms/workspace/sandbox_common/member0_cert.pem",
  "KMS_MEMBER_PRIVK_PATH": "/workspaces/azure-privacy-sandbox-kms/workspace/sandbox_common/member0_privk.pem"
}

up to date, audited 832 packages in 4s

88 packages are looking for funding
  run `npm fund` for details

4 vulnerabilities (3 low, 1 high)

To address issues that do not require attention, run:
  npm audit fix

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.

> build
> rm -rf ./dist/ && rollup --config && cp app.json dist/ && node build_bundle.js dist/

src/index.ts → dist/src...
created dist/src in 6.3s
Writing bundle containing 63 modules to dist/bundle.json
Proposing: /workspaces/azure-privacy-sandbox-kms/workspace/proposals/set_js_app.json
  to https://<IP_ADDRESS>:8000
    cert: /workspaces/azure-privacy-sandbox-kms/workspace/sandbox_common/service_cert.pem
  as /workspaces/azure-privacy-sandbox-kms/workspace/sandbox_common/member0_cert.pem
{
  "ballot_count": 0,
  "proposal_id": "d86d3f3ddd6d7d18f1b514767dd006577cd4a7a7c035779072ab5b18809fc168",
  "proposer_id": "cff9ff64886712c161c63dd118a9be6ea19f4bc289f6a72fc9c325caaaae0fea",
  "state": "Accepted",
  "votes": {}
}
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 48068  100 48068    0     0  1738k      0 --:--:-- --:--:-- --:--:-- 1805k
Proposing: /workspaces/azure-privacy-sandbox-kms/workspace/proposals/set_constitution.json
  to https://<IP_ADDRESS>:8000
    cert: /workspaces/azure-privacy-sandbox-kms/workspace/sandbox_common/service_cert.pem
  as /workspaces/azure-privacy-sandbox-kms/workspace/sandbox_common/member0_cert.pem
{
  "ballot_count": 0,
  "proposal_id": "10558746788b5e5b9deeefed6db3b51ada56e5ae3d1cf33f76903c29734db7c4",
  "proposer_id": "cff9ff64886712c161c63dd118a9be6ea19f4bc289f6a72fc9c325caaaae0fea",
  "state": "Accepted",
  "votes": {}
}
start-host-idp
Executing:
MEMBER_COUNT=3 source ./scripts/ccf/sandbox-local/up.sh > /dev/null 2>&1 && \
source ./scripts/kms/jwt-issuer-trust.sh
Proposing: /workspaces/azure-privacy-sandbox-kms/workspace/proposals/set_jwt_issuer.json
  to https://<IP_ADDRESS>:8000
    cert: /workspaces/azure-privacy-sandbox-kms/workspace/sandbox_common/service_cert.pem
  as /workspaces/azure-privacy-sandbox-kms/workspace/sandbox_common/member0_cert.pem
{
  "ballot_count": 0,
  "proposal_id": "0d6fef71560b991c2871d89bd6c669309aac42a34a90124595543107ad13c56b",
  "proposer_id": "cff9ff64886712c161c63dd118a9be6ea19f4bc289f6a72fc9c325caaaae0fea",
  "state": "Accepted",
  "votes": {}
}
@DomAyre ➜ /workspaces/azure-privacy-sandbox-kms (test-ronny) $ curl -k https://<IP_ADDRESS>:8000/app/settingsPolicy --cacert /workspaces/azure-privacy-sandbox-kms/workspace/sandbox_common/service_cert.pem --cert /workspaces/azure-privacy-sandbox-kms/workspace/sandbox_common/member0_cert.pem --key /workspaces/azure-privacy-sandbox-kms/workspace/sandbox_common/member0_privk.pem -H "Content-Type: application/json"
{"error":{"code":"InternalError","message":"Exception thrown while executing."}}
@DomAyre ➜ /workspaces/azure-privacy-sandbox-kms (test-ronny) $ curl -k https://<IP_ADDRESS>:8000/app/heartbeat --cacert /workspaces/azure-privacy-sandbox-kms/workspace/s
andbox_common/service_cert.pem --cert /workspaces/azure-privacy-sandbox-kms/workspace/sandbox_common/member0_cert.pem --key /workspaces/azure-privacy-sandbox-kms/works
pace/sandbox_common/member0_privk.pem -H "Content-Type: application/json"
{"description":["azure-privacy-sandbox-kms","Key Management Service","1.0.0","false"]}


service  description of the document changes

Services & Model document description error .

Good catch. Thanks for the updates.


I have  a question

in post method, why use currentPostingThreadState ?  In a thread, you can execute a method two times at the same time ?

You can post to EventBus from any thread, not just the main thread. Those may run at the same time. -ut


gnomAD v4?

Is there a plan/timeline to bring in gnomAD v4 data?

Hello @whaleyr - thanks for reaching out to us.
Our Variation team has plans to include gnomAD v4 data sometime next year (2024), but we are still working out the details and unsure about exactly when.
Hope it helps. Cheers


Sec handheld radio can cuff people?

Description
At very least it makes sound like it does and starts doafter, once again bug happened to me so posting it before I forget.
I have no idea if radio actually cuffs people or its just fake doafter with sound.
Reproduction

Stun someone.
Try to cuff them.
Your hotkey belt item is radio.
Hmm surely they will be captured clueless

I was unable too when I want it to happen in round, but it is reoccurring bug every now and then, even tried to disconnect/reboot game in round, cuff self, cuff others, cuff others stunned and can't reliably get it to "work" as bug is very inconsistent.


Update eo.json and fix some typos

Happily adding my first contribution. Hopefully, later I will be able to help with the VR translations too.
PD: The 3rd person perspective looks awesome!

Thank you for the update! :D


Cache pileup information.

Pileup datasets shouldn't have open blocks or be replicating while
jobs are assigned.  Hence, it should be OK to stash the results for
a few hours.
(It might be possible to take an alternate approach and lookup
the entire dataset instead of block-by-block.)

Thanks Brian, Do you know why the duplicate calls are made for the same Pileup dataset, I was wondering whether we can even cache final product (json file).
https://github.com/dmwm/WMCore/blob/1c10c5f1c8e64201ebcc944d7ff6817bc6b29d54/src/python/WMCore/WMSpec/Steps/Fetchers/PileupFetcher.py#L71
Is there 2 (or more) different workflow has the same Pileup dataset or the different steps within the same workflow uses the same Pileup dataset?

As far as I can tell, we build the pileup information twice within the same workflow - probably simply two steps that use it?
That said, do we really need to look up information block-by-block?  Are there not PhEDEx and DBS calls per dataset?
Would be nice if we could both cache the output and use bulk calls to build it in the first place.

It's very common to see the Pileup dataset set in multiple places within the same workflow (usually in all tasks of a taskChain request).
The reason we look up that information block-by-block is that when the job gets into a WN, it will get all blocks (actually their files) that are present at that current site.
The way we could improve it would be:
dbs.listFileArray(dataset=dataset, validFileOnly = 1, detail=True)

and then we do some processing on the agent side. With that we get rid of the block-based calls for 'FileList' and 'NumberOfEvents'. The data location still needs to go through PhEDEx though and I haven't checked the available APIs.

Oups, to complete my answer, we could implement a new DBSReader API that does that processing. Since listFileArray is a DBS API (not our own API).

test this please

These failures may be nothing. The first DBS check I looked at had an error like this "HTTPError:HTTP Error 503: Service Unavailable" which typically means exactly that: DBS is down. Just one of the reasons we need to properly mock DBS.

Don't merge this yet, at least on the master branch, if @amaltaro has other ideas how to do this.

I am not sure we can call this by dataset (not because there is no api but for the performance reason, I don't think we can query effectively for all the files in the dataset in dbs. For PhEDEx it might be fine to get all the block locations in one dataset call if that exists - it doesn't seems it exist though, looking at PhEDEx APIs. There is one https://cmsweb.cern.ch/phedex/datasvc/doc/data but I think this would be the same problem as DBS since all the node location is property of file) I think that is why it calls by block by block here. However we can/should run the test the calling by dataset both on dbs and PhEDEx.
As far as final json file cache, if the most of the case is duplicate call on Pileup dataset with in the same workflow, it should be relatively simple to have cache and cache will be deleted when workflow is done.

replaced by #6463


Looking for guidance to describe HttpTriggers with OpenAPI

Looking for guidance on how to decorate the function and associated models to build a Swagger document that Visual Studio can consume (NSwagClient) to build a proxy client
Looks like these are some of the options that should be considered:
https://github.com/Azure/azure-functions-openapi-extension/blob/main/docs/openapi-core.md#displayattribute

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 6e88ea08-81ef-2b5a-b9d6-539e85592672
Version Independent ID: f2d8b7b4-906a-d1f5-5201-fc22a7890955
Content: Quickstart: Create your first C# function in Azure using Visual Studio
Content Source: articles/azure-functions/functions-create-your-first-function-visual-studio.md
Service: azure-functions
GitHub Login: @ggailey777
Microsoft Alias: glenga

Hello @KSchlobohm - Thank you for your feedback. Since this channel is more for driving improvements toward MS Docs, could you post on MS Q&A instead for this question?

The Swagger document produced for an HttpTrigger Function with Open API describes Enums as integers. Documenting how to address that concern, how to describe the error responses with OpenApiResponseWithBody attribute, and provide an operation id with OpenApiOperation attribute are the types of content that I'm requesting as improvements for this section of docs.


Use numbered pagination for the submissions table

This PR updates the submissions table to use numbered pagination via the usePagination hook when the numbered-pagination feature flag is set.
This also introduces additional behavior to usePagination to handle cursor selection for a page based on the sort order: when the results are descending, the cursor for a page of results is taken from the last result on the previous page; when the results are ascending, the cursor for a page of results is taken from the first result on the page. The hook manages the cursor without knowing anything about sort order, so it's up to clients to set the isCursorExclusive property accordingly.
Test Steps:

Create a feature flag called numbered-pagination.
Go to the submissions page and see the list of results and numbered pagination component.
Page through the results.
Change the sort order or date range and page through the results again.
Make the page size smaller (link tk) to exercise the different states of the pagination component.

Changes

Adds support to Table and TableFIlters to handle pagination via either a CursorManager or pagination props.
Introduces the isCursorInclusive prop to usePagination to support the API's handling of the date range.

Checklist
Testing

[x] Tested locally?
[ ] Ran ./prime test or ./gradlew testSmoke against local Docker ReportStream container?
[x] (For Changes to /frontend-react/...) Ran npm run lint:write?
[x] Added tests?

Linked Issues

Fixes #5577

Pull reviewers stats
Stats for the last 30 days:

User
Total reviews
Time to review
Total comments

jeremy-page
27
36m
3

kevinhaube
13
1h 53m
17

carlosfelix2
13
14h 15m
56

clediggins-usds
8
1h 3m
16

TomNUSDS
6
1h 19m
12

brick-green
6
36m
0

bgantick
5
1h 22m
1

ahay-agile6
4
2h 33m
2

oslynn
4
16h 17m
2

jorg3lopez
4
10h 52m
0

mreifman
3
32m
1

MauriceReeves-usds
3
1h 50m
0

sethdarragile6
3
1h 50m
2

TurkeyFried
1
27m
1

JosiahSiegel
1
3m
0

RickHawesUSDS
1
6m
2

jimduff-usds
1
12h 26m
0

snesm
1
10h 44m
0

jh765
1
32m
2

Thanks, @TomNUSDS. I just force-pushed a rebase after changes to this branch's base, #5640.

One more rebase after merging #5640.


Question about leaving the game on (Without Pause) for Multitasking

Hi,
I tried all the options for the game in question (Prince of Qin), I have only these options enabled Dd7to9, EnableWindowMode. The result is that now I fixed the zoom problem in the game, and I can have a clear peek in the game window from the Taskbar in the windows 10 but, the game will pause and I rally want to pass that so that the game even after loosing focus, it will still work in the background.
Is there any hack for this?
Thanks
dxwrapper.txt

I would like also to add that either a solution to make the game working in the background all the time even after losing focus or, having the game window opened all the time on one of the screens, means I can still open another window for any other app and the game window will never minimized to the Taskbar.

Update: By enabling Dd7to9, EnableWindowMode, and FullScreen, I was able to force the game window to stay in one screen and play a movie on another for example, or surfing the net using only mouse input not keyboard.
When I try to input any by keyboard the game window will not allow it forcing the game comeback quickly after I try to select an empty space where I should write any, in another means also clicking the mouse will cause the game window calls back to top of the screen with every click.

Update: The work around I found for this using DXWnd open source DX wrapper is enabling (Do not notify on task switch) but again this software has not profile settings for the game and when I play using default setting the game will hang when trying to save a game or delete a saved game.
Another wrapper is (3D Analyze) is using (Disable State Switch).

Update: Found this related tweak that works only for steam games I assume (RequireFocusToUpdate=false)

Yes.  dxwrapper does not have very good support for adding windowed mode to a game that does not support it.  There is a lot that needs to be do for that.  It seems like you found a workaround.  If not you could try cnc-ddraw.

Closing this issue.


option to show cross-section of all helix rolls at a given offset

One way is using a vertical bar that can be dragged across all the helices, similar to cadnano. The side view should then show the arrows indicating all backbone angles for all the helices. Currently we are limited to one (if mousing over a domain in backbone mode) or two (if mousing over a crossover).

How should the user turn on this feature? Should we put this as a View option like "Show slice bar" (cadnano calls it a slice bar), or something else?

Sure, slice bar is fine. We might use it for things other than looking at backbone angles in the future. (e.g., the way cadnano uses it to quickly draw many scaffold strands in all helices.)

Release notes
Backbone edit mode removed
Backbone edit mode had two main functionalities:

Displaying helices backbone angles. This can now be done by using the slice bar
Displaying strand and helices data in the footer. This can now be done by enabling ["Display strand and helix details in footer"](Display strand and helix details in footer) from the view menu.

With this change, users no longer need to "disable" editing by switching from an edit mode to backbone edit mode just to view backbone angles or footer data.
Slice Bar
The web interface now provides a slicebar, which users can drag and move to display the DNA backbone angle of all helices (in a helix group) at a particular offset.

Display strand and helix details in footer
The footer (bottom of the screen) displays details about the design based on where the cursor is located. If the cursor is on a helix, the helix index and cursor's base offset location is displayed. If the cursor is on a strand, then the strand details will also be displayed.


Investigation:core/icons

Look into font awesome icon library. Does that require additions to be made for the icon folder? or is this just another package? This will have implications for the eslint. If it is just a download package to upload then alter the eslint config to exclude the icon directory.

font-awesome-free library is packaged up into 1 package, so the eslint config will need to be updated to exclude the icons directory.

Also, bootstrap icons is also packaged up into a singular package so the eslint config will need to be updated for that too

Was wondering how to exlude the icon directory in the ESlint config.
Would it be done using:
"ignorePatterns":["//name of directory/package"]
If so would the name of the directory be the name of the packages installed e.g fontawesome-svg-core. Or would the name be something else?

ignore comment that was just deleted. I understand where i went wrong

I do not believe any changes will have to be done to the icons folder since font awesome icon and bootstrap icons are both packages which can be imported.

Comments are not detailed enough for everyone to understand. What is it are you suggesting to add? Bootstrap icons or font awesome? Tell us how to install them. Definitively say if there will be any changes to the icons folder if we install them.

During meeting, clarified that the integration is through npm install which will modify the package.json. This means that no additional files will be added to the icons directory and using eslint to ignore that file specifically will have no impact on our choice of icons to use.

Boot strap and font awesome are not the same. Boot strap icons are free and open source where as font awesome has a free and paid version. We may need to credit font awesome due to this.
Lets go with bootstrap icons.
Example install of bootstrap icons.

install package: npm install bootstrap-icons
add this line to main.js import 'bootstrap-icons/font/bootstrap-icons.css'
Example code to extract an icon to add in our component.

<template>

Bootstrap Icons Example

    <bootstrap-icon :icon="sevenCircleFillIcon" />

</template>

Key thing to point out is that around knowing what to extract from bootstrap-icons/icons if you go to the icon docs: https://icons.getbootstrap.com/icons/7-circle-fill/
It doesn't say import using biSevenCircleFill. The convention seems to be that all are basically the defined classes except without the dashes and camel case. Numbers are changed to words.
bi-7-circle-fill -> biSevenCircleFill If in doubt, Google 🙌

Dev spec should be to add the boostrap icon dependency.


Revert "cmd/shellenv: set XDG_DATA_DIRS on Linux"

Reverts Homebrew/brew#18326
Fixes https://github.com/Homebrew/brew/issues/18643
@notfirefox sorry 😭

@Bo98 Not entirely sure which PR specifically you mean? Could you? Thanks :bow:

Isn't a one click revert for that one because the code has "existed" for years, just completely nonfunctional until #17947.


Explore SourceKitten as an opportunity for parsing Objective-C code

We can translate the output of SourceKitten over to the structure we need:

Classes can be found as "key.kind" : "sourcekitten.source.lang.objc.decl.protocol",
Methods can be found as "key.kind" : "sourcekitten.source.lang.objc.decl.method.instance",

Methodname is "key.name"
Comment is "key.doc.comment"
Parameters are key.doc.parameters

Name of a parameter: name
Type of a parameter: ???

Return type: ???

I think return type and maybe param types are empty when the type is id.

Could be, will try what happens with non-id types. Although we normally need the id typed information, too, so that we can validate that we really get an action or a matcher as parameter

id is a "anyobject" type, so it really doesn't matter. By default in Objective C, if type is not provided, it is assumed to be id.
So for
@interface ZZ : NSObject

- someSelector:x;

@end

Both here are id.

I opened an issue on their side to get a bit more information on this: https://github.com/jpsim/SourceKitten/issues/516

@DanielMSchmidt, we still can't upgrade EarlGrey version (generation scripts fail to generate code for 1.15.0).
Can we switch objective-c-parser to user source-kitten ? We need this as fast as possible.

For now we can fix the generation failure with this PR https://github.com/DanielMSchmidt/objective-c-parser/pull/89

Sourcekitten would require a lot of work within sourcekitten itself, I am therefore exploring other tools, like ANRLR, which also has a lot of grammars already premade. I will do a spike to verify that this will be a faster path.

Depending on how robust it is, it could be a good alternative. Thanks!

Does it know to recursive follow header imports/includes?

It can't follow, that's the downside. Is this really a hard retirement for us?

I think so. Stuff moves around all the time, but not necessarily renamed. We need to follow the headers.

I did some investigation today and I think I can totally ship a new version without the stuff moving considered. The good thing would be I could ideally use the same implementation for both iOS and Android just exchanging the underlying grammar. So this would be my roadmap:

Deliver an exchange for the objective-c module to reduce the risk of updates killing the generation process
Move the android side over to this parser type based on grammars to be sure we are on the save side here
Find a solid way to follow-up on references. Finding them isn't the problem, but the resolving side might be. I am not sold on any solution here, so I will do some research before starting with this work.

@LeoNatan Do you think this is a good path moving forward? I would love to hear your input on this 👍

Thank you for your input @LeoNatan, I haven't thought about some of these aspects.
Thinking about it I see a split decision between two different types of benefits, so let me try to summarize the two options we have now:
Grammar-based
Pro

Can handle both Objective-C and Java
Is much faster & easier to develop

Cons

We will need to do manual work within detox (defining aliases for type aliases, moving code around whenever the structure of their source code changes)
If the grammar fails for some reason we need to make adjustments to it (not very likely, it seems battle tested)

Compilation-AST-based
Pro

We see the same thing as the source code, therefore there can't be any manual work required

Cons

We need to write two solutions
From my current point of view it seems a lot harder (it would at least require one or two upstream PRs to source kitten and a lot of deep objective-c environment knowledge)

I understood it like we need to have a better solution ASAP, this is why I would go with the grammar based approach. I agree that the "perfect" and not at all manual solution would be the compilation AST based solution, so if we don't need something better soon, but rather something great in the long run I would go with this solution.

Two solutions is a feature, not a bug 😉
I’m going on vacation. When I return, I may take a look at SourceKitten to see what is missing.

Two and a half weeks.

I could have a grammar-based solution until then, but on the other hand that might be wasted time.

This has not advanced as we want it to, and it seems like out of scope at this point. Closing.


Where I can get the hysia_data?

I can not find the index or data file (sop index/data , audio index/data, scenesproducts)  when I tested. Where i can find ?
Thanks .

@HuaizhengZhang

@imaglib There are a lot of public and private datasets we used. I am writing a detailed introduction about how to download and load datasets into the system


Unit test "warn against infinite update loops" leaves a warning

I was doing some changes to scheduler code and I noticed that after the "warn against infinite update loops" test succeeds, the following tests, if they fail, contain the following:
	Failed: Unexpected console.error message: [Vue warn]: You may have an infinite update loop in a component render function.
	(found in anonymous component - use the "name" option for better debugging messages.)
	    at Object.<anonymous> (webpack:///test/helpers/to-have-been-warned.js:61:11 <- .../vue/test/unit/index.js:18678:13)

I think this can be leading to false understanding what is happening and probably the "warn against infinite update loops" should clear debugging messages so that this is not shown later on.

Oops. I think this is connected with my changes. Closing.

[Vue warn]: You may have an infinite update loop in a component render function.
(found in component  at D:\me\vue\oa\src\components\common\list.vue)
warn @ vue.common.js?e881:521
flushSchedulerQueue @ vue.common.js?e881:2812
(anonymous) @ vue.common.js?e881:473
nextTickHandler @ vue.common.js?e881:422


Use single table for Tiers other than Application

This PR is based on #986, as an optimization to create CNP rules in the tiers other than 'default' (Application) tier in a single OVS table. This should reduce TCP_CRR and latency penalties introduced by the extra tables.


HBASE-24971 Upgrade JQuery to 3.5.1

Update embedded minimized jquery to 3.5.1
Update embedded minimized jquery.tablesorter to 2.31.3

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 41s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+0 :ok:
jshint
0m  0s
jshint was not available.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ master Compile Tests _

+0 :ok:
mvndep
0m 26s
Maven dependency ordering for branch

_ Patch Compile Tests _

+0 :ok:
mvndep
0m  8s
Maven dependency ordering for patch

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

_ Other Tests _

+1 :green_heart:
asflicense
0m 20s
The patch does not generate ASF License warnings.

3m  2s

Subsystem
Report/Notes

Docker
Client=19.03.12 Server=19.03.12 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2336/1/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/2336

Optional Tests
dupname asflicense jshint

uname
Linux 0a2f6895b501 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 979edfe720

Max. process+thread count
48 (vs. ulimit of 12500)

modules
C: hbase-server hbase-thrift U: .

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2336/1/console

versions
git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 14s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
4m 48s
the patch passed

-0 :warning:
javadoc
0m 43s
hbase-server in the patch failed.

-0 :warning:
javadoc
1m  0s
hbase-thrift in the patch failed.

_ Other Tests _

+1 :green_heart:
unit
222m 24s
hbase-server in the patch passed.

+1 :green_heart:
unit
5m 25s
hbase-thrift in the patch passed.

246m 20s

Subsystem
Report/Notes

Docker
Client=19.03.12 Server=19.03.12 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2336/1/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/2336

Optional Tests
javac javadoc unit

uname
Linux 5492c05665de 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 979edfe720

Default Java
2020-01-14

javadoc
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2336/1/artifact/yetus-jdk11-hadoop3-check/output/branch-javadoc-hbase-server.txt

javadoc
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2336/1/artifact/yetus-jdk11-hadoop3-check/output/branch-javadoc-hbase-thrift.txt

javadoc
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2336/1/artifact/yetus-jdk11-hadoop3-check/output/patch-javadoc-hbase-server.txt

javadoc
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2336/1/artifact/yetus-jdk11-hadoop3-check/output/patch-javadoc-hbase-thrift.txt

Test Results
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2336/1/testReport/

Max. process+thread count
2928 (vs. ulimit of 12500)

modules
C: hbase-server hbase-thrift U: .

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2336/1/console

versions
git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.


Feature/rename main module

Renaming of the starfish_py to starfish.
Rename starfish (cli app) to ocean.

No we do not need the starfish_py folder. But git cannot remove folders that still contain pycache, so you will have to manually remove the folder, or remove the repo folder do a clean git clone


fix: ticking popular collections checkboxes not updating

Thank you for your contribution to the KodaDot - One Stop Shop for Polkadot NFTs.
👇 __ Let's make a quick check before the contribution.
PR Type

[x] Bugfix
[ ] Feature
[ ] Refactoring

Context

[ ] Bugfix #7375
[ ] Requires deployment <snek/rubick/worker>

Did your issue had any of the "$" label on it?

[ ] My DOT address: Payout

Copilot Summary

🤖 Generated by Copilot at 0a9bda8
Updated NeoCheckbox component to use Vue 3 syntax for custom components. This fixes compatibility issues with Vue and Oruga UI.

🤖 Generated by Copilot at 0a9bda8

v-model is gone
:model-value and @update
cut the old syntax

On this deployed version, Ahk and Ahp images are not loading, what could it be?

On this deployed version, Ahk and Ahp images are not loading, what could it be?

This is not related with this PR, we have a new issue in workers

Works! But <NeoCheckbox v-model="listed"> still throw warning

@roiLeo Should be a quick fix as I see NeoCheckbox prop/emit is also using value/input. Can update to the new syntax here and review again?

On this deployed version, Ahk and Ahp images are not loading, what could it be?

This is not related with this PR, we have a new issue in workers

Can someone open an issue regarding this one? so we can check the error

On this deployed version, Ahk and Ahp images are not loading, what could it be?

This is not related with this PR, we have a new issue in workers

Can someone open an issue regarding this one? so we can check the error

will do

@roiLeo Should be a quick fix as I see NeoCheckbox prop/emit is also using value/input. Can I update to the new syntax here and review again?

Yup let's go

pay 20 usd

oh no...


Use static literal Blob in isAnonymous

This will hopefully be much cheaper in cycles and allocation.

Is there a difference if anonymousPrincipal is defined inside the function?

Probably not. @crusso?


added fonts and fixed alignment

Description:
This pull request introduces an enhancement to the Cricket World Cup 2023 website by updating the font choices with those obtained from the original website. I also fixed the alignment of the team info on the landing page with
align-items: center in styles.css The purpose of this change is to enhance the website's design and overall aesthetics, resulting in a more visually appealing and user-friendly experience for visitors.
fixes: #43

[x]  I have tested the changes locally to ensure they work as expected.
[x] I have provided clear and concise descriptions for the changes made.

Screenshots:

Landing page

Standings

Fixtures

Fan Polls

Your feedback and suggestions regarding these font updates are greatly appreciated. Thank you for considering this enhancement.

cc @varun10sudhir

@varun10sudhir Okay, I understood the flag-alignment issue, but couldn't quite get the 'links underlined' thing. Can you please tell me more about that?

Hi @Shivangbhatnagar237 !
I am attaching the screenshot of the landing page according to your code

I can see the changes made to the font, however the links are still underlined and the table alignment is off.
Kindly look into this
Thank you

Hi @Shivangbhatnagar237 !
I am attaching the screenshot of the landing page according to your code

I can see the changes made to the font, however the links are still underlined and the table alignment is off.
Kindly look into this
Thank you

Oh, okay I'll fix that, thanks


Slick dots issue, i want to make slick dots as slider

I have more no of slides so the slick dots are breaking down. so i need to change the slick dots like slider or pagination something like that.  how it possible thanks advance...
please provide fiddle link...
http://jsfiddle.net/rijosh/fmo50w7n/1621/

i want change something like the bellow

What about using "asNavFor" ?
See "Slider Syncing" example: http://kenwheeler.github.io/slick/

that's not possible because of few things.  actually i'am appending the dots to another div and also i want the slide no. the main thing i have completed the projects before long time its a dynamic site. so they have added multiple slides dynamically that's why the problem happened. now lots of number coming like the first screen shot. is it possible to fix it through css or javasctipt something like the second screenshot?...


Add plugin to maven publish

Adding the generator plugin to maven publish.
Gradle seems to rename the artifact locally so we'll just reference that forced name

Verified make releaselocal works to install the plugin to the local Maven repository, however looks like both ci and ci/crosstests are failing.

Yeah. The tests are failing because Gradle is outputting a different named artifact with this set up. I ended up fixing up the references.


Missing twist values on LeftlowerLeg RightLowerLeg leftLowerarm rightlowerarm

It's off because there's a missing muscle axis and my code for compensating for the missing axis is possibly not optimal.


css changed

@komalkumari12 Please create an issue explaining what changes are made and why.

@komalkumari12 Please create an issue with details so that I know the purpose.


<EMAIL_ADDRESS>main process exited, code=killed, status=11/SEGV

Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (0.47.0):
Python release (3.4.2):
Component/platform:
core
Description of problem:
After I upgraded from 0.46.1 to 0.47.0. My home assistant  would not start
Expected:
Home assistant should start.

Additional info:

is there a way to start it back up again? I'm having the same problem.

I have had three of these segfaults on python 3.4.2 in the last fortnight too, on 0.46, 0.46.1 and 0.47

I think back in May when I was on 0.45.1, my entire Raspberry Pi locked up. At the time, I could connect to my home assistant remotely, but when I tried to call homeassistant service restart it would never restart on it's own. So I decided to ssh to my RPi, and to do sudo systemctl restart home-assistant@pi. However, it turned out that I could not ssh to my RPi, and I also made sure my router was working properly. Soon I had exhausted all my options, I eventually pulled the power off my RPi, and reconnected the plug back in. When the RPi rebooted everything was working properly, but not until I found out yesterday that even though I had updated to the latest version 0.47.0 whenever I restart my RPi my homeassistant falls back to version 0.45.1.
Finally, I did some digging online, and it looks my SD card is corrupted. The lockup I had back in May might cause the corruption on my SD card or it could the other way around... the corruption of my SD card caused my RPi to lockup.
Now, I just need to back up my homeassistant configs and other stuff. Sigh
tl;dr: your SD card might be corrupted. When in doubt do a fsck, and see what it spits out

It turned out that my SD is faulty. It could not even be formated. Luckily I was able to make an image out of it and restored it to my new SD card. My home assistant is up and running 0.47.1 with no problems now.


Escape function does not support '' character

Editor will show empty when html  is \

You only need to add char.value == 92 in escaped function in String extension


Unable to correctly delete elements in a FormArray...

Hi Joan,
Thanks for this wonderful forms package! I have been using this library in my projects under development.
I am trying to implement a ReactiveForm for email list entry where I wish to add new email entries or remove existing ones. However, in spite of hundreds of possible changes in approach, I am not able to get a correct list output. In particular, the problem is in the deletion operation. It works fine for the deletion of the last email. However, if I delete any other email, always last entry in the form is removed (on the emulator). But in the 'emails' and 'person.emails' lists, the emails are removed correctly. Only the screen display is incorrect.
I have used the freezed and Flutter Hooks packages. But it does not work even while using a plane class or a stateful widget.
The program is slightly longer. So I have put it in a public git repo:
https://github.com/rsbichkar/reactive_from_test
I am sure I have missed out on something very important. But I am unable to make further progress. Will you please check if there is any problem in my code or the FormArray functionality in reactive_forms? (The details about the code are given below).
Thanks in advance.
Some details about the code:
The Person class has a name and emails fields defined in person.dart using 'freezed' annotation as
@freezed
class Person with _$Person {
  factory Person({
    required String name,
    List<String>? emails,
  }) = _Person;
}

The main form code is in 'form.dart' file. This file defines a class named PersonReactiveForm inherited from HookWidget. It uses two useState hooks:
    final _emailControls = useState(form.control('emails') as FormArray<String>);
    final _person = useState(person);

The Form uses a Column to display the email list:
  Column(
    children: <Widget>[
      ReactiveFormArray<String>(
        formArrayName: 'emails',
        builder: (context, formArray, child) => Column(
          children: [
            for (int i = 0; i < _person.value.emails!.length; i++)
              arrayElementEmailField(i, _person, _emailControls),
          ],
        ),
      ),
      ReactiveFormConsumer(
        builder: (context, form, child) {
          return ElevatedButton(
            // enable 'Add Email' button only if no email field is empty or
            // all fields have valid email values
            onPressed: _person.value.emails!.any((email) => email.isNotEmpty) &&
                    _emailControls.value.controls.every((control) => control.valid)
                ? () => _addEmail(_person, _emailControls)
                : null,
            child: const Text('Add Email'),
          );
        },
      ),
    ],
  ),

The addEmail and removeEmail functions are as follows:
  void _addEmail(ValueNotifier<Person> _person, ValueNotifier<FormArray<String>> _emailControls) {
    _person.value.emails!.add('');
    _emailControls.value.add(FormControl<String>(value: '', validators: [Validators.email]));
  }

  void _removeEmail(
      int index, ValueNotifier<Person> _person, ValueNotifier<FormArray<String>> _emailControls) {
    _person.value.emails!.removeAt(index);
    _emailControls.value.removeAt(index);
  }

The arrayElementEmailField() called in  for loop in Column is as follows:
  Widget arrayElementEmailField(
      int index, ValueNotifier<Person> _person, ValueNotifier<FormArray<String>> _emailControls) {
    // print('index: $index, Add email control: ${_person.value.emails![index]}');
    return Row(
      mainAxisSize: MainAxisSize.min,
      mainAxisAlignment: MainAxisAlignment.spaceBetween,
      children: [
        Expanded(
          child: ReactiveTextField(
            formControlName: index.toString(),
            keyboardType: TextInputType.emailAddress,
          ),
        ),
        const SizedBox(width: 10),

        // display email deletion icon only if we have more than 1 emails
        if (_person.value.emails!.length > 1)
          IconButton(
            icon: const Icon(Icons.remove_circle_outline),
            onPressed: () => _removeEmail(index, _person, _emailControls),
          )
      ],
    );
  }

Hi @rsbichkar
I tried to get along with your sample.
But it is too verbose and I had no time to get along with it
Instead I improved the existing array sample to include delete button so everyone could benefit from it
Check the https://github.com/joanpablo/reactive_forms/pull/235

Hi Vasiliy, (@vasilich6107),
Thanks a lot. I will check the delete functionality from your example.

Also try to use this package
It simplifies reactive_forms development
https://github.com/artflutter/reactive_forms_generator

Thanks for your inputs and the package for forms_generatos. I have downloaded the package and your approach is interesting.
I have also independently developed a forms generator for my own use so far. The generator generates forms, FormFields class and handles all the validations of ReactiveForms. In addition, it also generates the controllers and repos for FieStore and views (Markdown as well as Yaml). In future I wish to use the other forms packages (e.g. flutter_form_builder) so that any type of Form and the entire associated functionality can be generated just by using the class definition with annotations.

Hi @rsbichkar
Is there any possibility to share your implementation in order to inspire new features in reactive_forms_generator?

Hi Vasili (@vasilich6107),
Yes sure. However, the code is not well organized and properly documented. So I will share, in the meantime, the generated code file and the class with annotations. My approach has a lot of similarities in the use of annotations but a different implementation (I suppose). Please let me know if this type of code generation output will be helpful.
I am currently developing an app (mobile, web, desktop) for a large application involving probably thousands of classes. So it will be difficult to manually write all the code for forms, generators, views, repositories, controllers, and much more. So the plan is to write only the classes with annotation and generate as much code as possible using code generation. I am still working on the code generation.
I also wish to write generics-based code for controllers and repositories so that it is not to be generated for each class. However, I have not started with it.
person.zip

@rsbichkar thanks a lot!
Will try to play around with it

@rsbichkar if your issue is solved - do not forget to close the issue

@vasilich6107
Thanks a lot for your valuable support


Move download to a separate router

Moves the download endpoints to a separate endpoint (/download/{file}) to prevent the weird multi-registration in API.

Superseded by #58.


Adding Uniform temporal Subsampling for Video

Resolves #6768
Adding temporal sampling Transforms similar to the ones on PyTorch Video:

[x] Dispatcher + Kernel
[x] Transform Class
[x] Tests

cc @vfdev-5 @bjuncek @pmeier

@pmeier Thanks for the review.
I've addressed the comments to unblock. We should review on what degree these nits can be covered by the linter or adopt simpler conventions on the future. Regardless I've made the necessary changes to cut down back-and-forth as we need this ASAP to assist the migration of a couple of internal teams.
Concerning the tests, I was hoping for more pointers from you on where I'm supposed to add them (the current structure has a lot of abstraction and it's not obvious). Concerning JIT testing, I have a test but it's probably on the wrong place. You are welcome to push a commit on this branch to improve on the tests as you are more familiar with the new test infra but if that is going to take longer, we should do it on a separate PR.


pull request for e2e test at 11/08/2016 18:45:08

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

optest/docs/updated_at.md
:white_check_mark:Succeeded

Details

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Update data.js

Hi, My Name is DEEPAK KUMAR SAH

sir I want add my details in data.js but I am facing difficulty can you please help me

sir I want add my details in data.js but I am facing difficulty can you please help me

we have provided the video regarding it , you can watch it on youtube to get help.

Sir please can you send me link of video
On Thu, 22 Jul 2021, 15:09 akash, @.***> wrote:

sir I want add my details in data.js but I am facing difficulty can you
please help me
we have provided the video regarding it , you can watch it on youtube to
get help.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/AWS-User-Group-Jaipur-Rajasthan/HallOfTechies/pull/95#issuecomment-884781542,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APUO7CPDI5PAS357YTJYNU3TY7RMNANCNFSM5AUJO2TA
.


Add model validation threshold for acceptance

Right now, when a model is built, several variations of the model can be built in order to select the hyperparameters that result in the best model according to some evaluation metric. However it might also be useful to further require that the metric meet some threshold before it's published. That way, if the 'best' model were quite bad, it would be rejected.

so this is another parameter that can be set from oryx.conf or is there more to it? Like the model coming up with a reasonable threshold that evolves with more training data.


padded-blocks: add line break after block open curtly and before close curly brackets

Clear and concise description of the problem
Eslint still unable to format blocks like this:
{ const a = 1;
      a ++;}

This block leaves unchanged after formatting.
Expected result is:
{
    let a = 1;
    a++;
}

Suggested solution
Is it possible to improve padded-blocks or create new rule which will just add missing line breaks for such blocks?
padded-blocks currently can add new lines, that is not always needed.
Alternative
Currently I need to run prettier before eslint to format such blocks properly.
Additional context
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Contributes

[ ] If this feature request is accepted, I am willing to submit a PR to fix this issue

I think it would be better to have it as a new rule. Maybe block-newline? It should be fair simple to implement, PR welcome :)


Expose 'creationTime' property on Process object and add it to '/search/byProperty' sort options

References

Related to DSpace/RestContract#253

Description
This PR exposes the creationTime property on Process objects and adds it to the possible sort options for /processes/search/byProperty. As startTime and endTime are nullable, processes with these properties set to null can't be sorted properly. Every process does have a creationTime however, making for a more reliable sorting mechanism.
Instructions for Reviewers
List of changes in this PR:

Added creationTime to ProcessRest and ProcessConverter.
Added creationTime to the possible sort options in ProcessRestRepository#handleSearchSort.
Added 2 new ITs in ProcessRestRepository to test the new sort.

Steps to test:

Verify /server/api/system/processes returns processes which each have a creationTime property.
Verify e.g. /processes/search/byProperty?size=10&sort=creationTime,ASC&scriptName=metadata-import, returns the processes, sorted ascendingly.
Verify e.g. /processes/search/byProperty?size=10&sort=creationTime,DESC&scriptName=metadata-import, returns the processes, sorted descendingly.

Checklist

[x] My PR is small in size (e.g. less than 1,000 lines of code, not including comments & integration tests). Exceptions may be made if previously agreed upon.
[x] My PR passes Checkstyle validation based on the Code Style Guide.
[x] My PR includes Javadoc for all new (or modified) public methods and classes. It also includes Javadoc for large or complex private methods.
[x] My PR passes all tests and includes new/updated Unit or Integration Tests based on the Code Testing Guide.
[x] If my PR includes new libraries/dependencies (in any pom.xml), I've made sure their licenses align with the DSpace BSD License based on the Licensing of Contributions documentation.
[x] If my PR modifies REST API endpoints, I've opened a separate REST Contract PR related to this change.
[x] If my PR includes new configurations, I've provided basic technical documentation in the PR itself.
[x] If my PR fixes an issue ticket, I've linked them together.

Note, this PR isn't technically a prerequisite for https://github.com/DSpace/dspace-angular/pull/2756. However if this PR merged first we can still update https://github.com/DSpace/dspace-angular/pull/2756 to use creation time to sort there as well


Previous and Next component design iteration

We're updating the previous and next component, this iteration makes it more consistent with the new back-to-top update.
This also aligns the component against the content.
I've tested this in Safari, Firefox, Edge, IE8-11, Galaxy S7 Chrome for Android, Safari 7 and 9
IE8 (When inline SVG is not supported)

Manuals

cc @miaallers

I want to do a tweak so the icons size relative to the text for when this component is on smaller screens

Can you include screenshots of regular desktop too?

Can you delete the arrow-sprite PNGs too? Or are they used elsewhere?

Nice clean-up :100:
Just a couple of minor comments.

Had a look, the sprites are also used here: https://github.com/alphagov/static/blob/c75a0c20395efb699c7ecade2624f5aae380c70b/app/assets/stylesheets/helpers/_publisher.scss#L321
But it looks on first look like that CSS might be redundant now?

Okay there's a pagination here that needs to be updated to use the GOV.UK Component: https://www.gov.uk/topic/further-education-skills/apprenticeships/latest

@fofr I've separated the old pagination code into another card so we can go ahead with this


Adding Laravel hash support

One can select laravel.password that would use default Hash::make driver in project
Or specify whitch to use:

laravel.bcrypt
laravel.argon
laravel.argon2id

One can select Random Password generator

My requrements are:

users have plain text passwords that need to be imported.
no password exist and we randomly generate some.

Closing in favour of #74


What‘s the synth.summary() about?

I'm a little confused about the output of summary()
Like what is shown below, why the sample mean of infrate is much larger than that in treated and synthetic group?
And infrate in treated is 2.595, how do I explain this 2.595? The mean infrate of pre or post or the whole period?

The sample mean is a unit contructed as the mean of all the control units, i.e. this is the same as equal weights. The infrate in treated is the statistical value of infrate for West Germany over the selected period, i.e. if we look at the Dataprep object, we have time_predictors_prior=range(1981, 1991) and predictors_op="mean" so therefore it is the mean of infrate over the period 1981-1990.
It's not surprising that the sample mean is much different, because as I said this is the "naïve synthetic control" where we just average over all the control units. We would hope (if the synthetic control method has been successful) that the predictor values for the synthetic and treated are close, for then this means that the synthetic control does in fact look like the treated unit in the pre-intervention period for our selected predictors.
The purpose of this summary function is try to give the user some kind of answer to the following question: what does the treated unit look like vs. the synthetic control unit vs. a naïve average over all control units, in the pre-intervention period from a predictor point of view? If we see that some predictor is badly matched in the synthetic control, but also the sample mean is way off then can give us an idea about e.g. uniqueness of the treated unit vis-à-vis this predictor etc. It helps with analysing whether we think we have a good synthetic control.
(Note also that this function is identical to the same function in the R package synth.)

Thanks for your reply! I wonder what should I do if I want to compare the mean of dependent variable between treated unit and the synthetic control units in the post-intervention period? Are there any functions apply to Synth class?

The package doesn't provide this right now. But you can use this code e.g. in the West Germany notebook, insert a new code block after the last one and then run it (but the code should work in any case provided you pick a sensible time range and a predictor that exists in the dataprep data)
def summary_post(synth, predictor, time_period):
    dataprep = synth.dataprep
    treated = dataprep.foo[
        dataprep.foo[dataprep.unit_variable] == dataprep.treatment_identifier
    ].set_index(dataprep.time_variable)[predictor]

    controls = dataprep.foo[dataprep.foo[dataprep.unit_variable].isin(dataprep.controls_identifier)]
    controls_piv = controls.pivot(
        index=dataprep.time_variable,
        columns=dataprep.unit_variable,
        values=predictor
    )

    X0, _ = dataprep.make_covariate_mats()

    controls_piv = controls_piv[X0.columns]
    synthetic_ser = (controls_piv * synth.W).sum(axis=1)
    return {
        "treated unit": treated.loc[time_period].mean(),
        "synthetic control": synthetic_ser.loc[time_period].mean()
    }

summary_post(synth, 'gdp', range(1990, 2001))

I tried your code and it works well, I am truly grateful for your support. Pysyncon package has made a tremendous impact on my project, Your willingness to lend a helping hand showcases your remarkable skills and kindness. Once again, thank you from the bottom of my heart for your invaluable assistance. I truly appreciate your time, effort, and expertise.

Thank you for your kind words, I'm glad to help.


Differentiate between Teams Usage report and Teams user activity report

I have a customer who was looking for an explanation for the discrepancy in the numbers reported for the value: Total Meetings Organized (User activity report) and Total Organized Meetings (Usage report). The definitions in the respective docs are extremely similar and don't give context as to why the numbers can be so vastly different.
User activity report: "Total Meetings organized is the sum of one time scheduled, Recurring, unplanned, and unclassified meetings a user organized during the specified time period."
Usage report: "Total organized meetings is the sum of one time scheduled, recurring, unplanned, and unclassified meetings a user organized during the specified time period."
Recommend adding an explanation to the definition in the User Activity report along the lines of: "Teams User Activity reports shows a list of activities enumerated by the number of users who have performed a specific activity in a specific amount of time."

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 2758a3d6-c646-dcb0-2a31-c7b9b84e780b
Version Independent ID: 8704c9fe-f8b0-82d2-bd83-3fd1a9ad638d
Content: Microsoft Teams user activity report - Microsoft Teams
Content Source: Teams/teams-analytics-and-reports/user-activity-report.md
Service: msteams
GitHub Login: @MikePlumleyMSFT
Microsoft Alias: mikeplum

Hello @Michael-Dahlke I am looking into this

Hello @Michael-Dahlke an update to the article is coming soon