Help Menu Groups

There are currently a lot of arguments that can be set in either the config file or passed via the command line. This doesn't change any of them in any way, but it does re-organize the help menu when using -h. Using argument groups, options are put into sections that help the user sort through which they may need in a better fashion. Instead of everything being listed in one lump it's now easier to tell which are for specifying the file to load, settings for frame updates, and EPD control.
Reorganized -h output now looks like this:
usage: slowmovie.py [-h] [-f FILE] [-D DIRECTORY] [-l] [-R]
                    [-o {DEBUG,INFO,WARNING,ERROR,CRITICAL}] [-r] [-d DELAY]
                    [-i INCREMENT] [-s START] [-S | -t] [-e EPD] [-c CONTRAST]
                    [-C]

optional arguments:
  -h, --help            show this help message and exit
  -f FILE, --file FILE  video file to start playing; otherwise play the first
                        file in the videos directory
  -D DIRECTORY, --directory DIRECTORY
                        directory containing available videos to play
                        (default: Videos)
  -l, --loop            loop a single video; otherwise play through the files
                        in the videos directory
  -R, --random-file     play files in a random order; otherwise play them in
                        directory order
  -o {DEBUG,INFO,WARNING,ERROR,CRITICAL}, --loglevel {DEBUG,INFO,WARNING,ERROR,CRITICAL}
                        minimum importance-level of messages displayed and
                        saved to the logfile (default: INFO)

Frame Update Args:
  arguments that control frame updates and display

  -r, --random-frames   choose a random frame every refresh
  -d DELAY, --delay DELAY
                        delay in seconds between screen updates (default: 120)
  -i INCREMENT, --increment INCREMENT
                        advance INCREMENT frames each refresh (default: 4)
  -s START, --start START
                        start playing at a specific frame
  -S, --subtitles       display SRT subtitles
  -t, --timecode        display video timecode

EPD Args:
  arguments to select and modify the e-Ink display

  -e EPD, --epd EPD     the name of the display device driver to use
  -c CONTRAST, --contrast CONTRAST
                        adjust image contrast (default: 1.0)
  -C, --clear           clear display on exit

Args that start with '--' (eg. -f) can also be set in a config file
(slowmovie.conf). Config file syntax allows: key=value, flag=true,
stuff=[a,b,c] (for details, see syntax at https://goo.gl/R74nmi). If an arg is
specified in more than one place, then commandline values override config file
values which override defaults.

Sounds good to me


feat(aurora-grid): “Mosaic” API prototype

Received verbal approval from Rich to merge if this did not affect prod apps, which it doesn’t.


Extension is automatically reinstalled

I've been trying to remove this extension from my Chrome, unsuccessfully; it keeps being reinstalled within a day or two. If I disable it, it keeps being re enabled. I've scanned my Windows 10 for malware, viruses, root kits, etc...I've reset my Chrome settings, uninstalled and reininstalled Chrome, removed other extensions...(except for some official Google extensions)...It also seems to show up when I sign into Chrome on other computers which leads to believe it's not PC related...
Can you recommend a sure-fire way to keep this extension uninstalled or disabled?
Thanks!

@josnelson the only way I know to uninstall is by deleting the extension from the extensions page in Chrome.
It sounds like your browser might be having issues with account sync, and I'd suggest filling a bug with Chrome. As an extension developer, I don't have control over if/when/how the browser syncs anything. If this was happening to me, I would go to my account sync settings in Chrome and uncheck "extensions", uninstall New Tab Redirect, fully close and reopen the browser, then go back in and enable extension sync again.

Thanks so much for the idea- it sounds like that could be it! I must confess: I didn't know that my Chrome had such extensive sync options. I've unchecked the "extensions" and we'll see.


(192) Change service name

Changed the service name to reflect the current thinking:

Service name: Report management information to CCS
Changed: title tag, global header, home page

 Change the service name in the header


Unable to request ips

Im not able to request ip adresses anymore. Im using the following function to request an ip adress:
public async requestIp(ipFamily: "IPv4" | "IPv6", locationUUID: string): Promise<IIP> {
		try {
			this.logger(`Request ip for location ${locationUUID}`);
			const mappedIpFamily = (ipFamily === "IPv4") ? 4 : 6;
			const response = await this.client.IP.create({
				family: mappedIpFamily,
				location_uuid: locationUUID,
			});

			if (response.success && (response.response.statusCode === 202 || response.response.statusCode === 200)) {
				return response.result;
			} else {
				throw new Error(`Failed to request ip of family '${ipFamily}' for location '${locationUUID}': ${JSON.stringify(response)}`);
			}
		} catch (err) {
			throw this.logError(err, `Can't request ip`);
		}
	}

But the request fails:

Version<EMAIL_ADDRESS>Node: v13.1.0

Hi,

is there additonal output in the response body?
Are you able to request additional IP adresses via the panel?

Could be that you hit your account limit of maximum amount of v4 adresses (you can view the limits here: https://my.gridscale.io/Easy/Panel/Usage/)

Sorry, the issue was the limit of available ip adresses. It's now increased. Thank you!


Fractional Vegetation Cover Formula

Hi @dimejimudele ,I must commend the great effort and man-hour you have put into this script. It's such an awesome one and it's really helpful.
However, while going through the script, I got confused at the function for calculating the LSE from FVC, there, I found out that the formula you used for the FVC==> (NDVI-NDVImin)/(NDVImax-NDVImin)**2 looks different from the formula I have seen in various researches==> (NDVI-NDVIs)/(NDVIs-NDVIv) where NDVIs is the NDVI of bare soil and NDVI v is the NDVI of vegetation. I went ahead to look up the research paper you attached in the function docstrings too, but I did not find the formula you used there.
I'm not saying the formula is wrong, maybe it's in another research paper you got the formula from which you probably forgot to add in the function docstrings.
All I need is just to ascertain the formula, so I can go ahead to use it for my FVC estimation as well and also cite the paper too.
I look forward to your response, thanks!

HI, I can see that I am very late on this one. But, if I can still be useful, can you try to use this new version of this package and see where it gets you?


Enterprise Agile - Changing your culture

Many organizations deliver products with dozens or even hundreds of teams. For these organizations, spinning up a few agile teams is just the start. Eventually, they'll want to scale up their agile approach to work on enterprise-level products—a shift that presents a whole new set of challenges. Enterprise agile requires a different organizational mindset along with new roles and practices. There are many different enterprise agile frameworks that will help you with this transformation, but switching to these frameworks isn't your biggest challenge. Enterprise agile is a radical change from how most organizations think about their work. If you don't prepare your teams for this change, then it's unlikely that any enterprise framework will succeed.
That's why this course is the first in a four-part series on enterprise agile. In this course, Doug Rose helps you lay the groundwork you'll need to make this radical organizational change. First, learn how to identify your organization's culture. There are many different types of organizational cultures, and each one presents its own set of challenges. Then, see different approaches to making a widespread organizational change. Finally, learn about the common challenges that almost all organizations face when starting enterprise agile.
https://www.linkedin.com/learning/enterprise-agile-changing-your-culture

paid course, ~80min long. Most likely rudimentary.
Pass


Pfx-file with no password

Generating certificates with certGen.sh
The generated pfx-file needs no password.
I have to remove the password from the following line of code:
var cert = new X509Certificate2(@"<absolute-path-to-your-device-pfx-file>", "");

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

ID: 90f2e322-a9a1-8887-58ce-324eab7661d2
Version Independent ID: 20974d4d-f6d8-9ba5-9985-e8f803e9a36f
Content: Tutorial for X.509 security in Azure IoT Hub
Content Source: articles/iot-hub/iot-hub-security-x509-get-started.md
Service: iot-hub
GitHub Login: @wesmc7777
Microsoft Alias: wesmc

@shaeussler Thanks for the feedback !  I have assigned this issue to content author to investigate and update the document as appropriate.

@wesmc7777 Could you please review this feedback and update the doc?
Thanks!

certGen.sh is hardcoded to use an example pfx password.  See line 195 and line 247.  I don't see an issue for the documentation here.  If you have an issue with this example password, please file a issue against the certGen.sh script in the azure-iot-sdk-c repo. Thanks

certGen.sh is hardcoded to use an example pfx password.  See line 195 and line 247.  I don't see an issue for the documentation here.  If you have an issue with this example password, please file a issue against the certGen.sh script in the azure-iot-sdk-c repo. Thanks

#please-close

#please-close


[Bug] react-static 7.5.0 breaks build

Reporting a bug?
Provide as much information as you can to reproduce the issue.
If the issue is not reproducible, it can't be fixed!
After updating from react-static v7.4.2 to v7.5.0, If I try to run react-static start or react-static build. I get anthe following error:
ERROR in multi (webpack)-dev-server/client?http://localhost:3001 (webpack)/hot/only-dev-server.js react-hot-loader/patch ../lib/bootstrapPlugins.js ../lib/bootstrapTemplates.js index.js
Module not found: Error: Can't resolve 'react-hot-loader/webpack' in '/Users/wesreed/git/Virtual-Events/UC-International-Conference/node_modules/react-static/node_modules'
 @ multi (webpack)-dev-server/client?http://localhost:3001 (webpack)/hot/only-dev-server.js react-hot-loader/patch ../lib/bootstrapPlugins.js ../lib/bootstrapTemplates.js index.js main[4]

I tried to manually install react-hot-loader which fixed the error message, but now when I run react-static build and try to server the dist folder the site hangs on load and eventually crashes with no error message
Environment
Run and copy the result of:
npx envinfo --system --npmPackages react* --binaries --npmGlobalPackages react* --browsers
here:
  System:
    OS: macOS 10.15.7
    CPU: (12) x64 Intel(R) Core(TM) i7-8700B CPU @ 3.20GHz
    Memory: 952.92 MB / 16.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 12.19.1 - /usr/local/bin/node
    Yarn: 1.22.10 - ~/git/Virtual-Events/UC-International-Conference/node_modules/.bin/yarn
    npm: 6.14.10 - /usr/local/bin/npm
  Browsers:
    Chrome: 88.0.4324.150
    Firefox: 85.0
    Safari: 14.0.2
  npmPackages:
    react: ^16.14.0 => 16.14.0
    react-bootstrap: ^1.4.3 => 1.4.3
    react-countdown: ^2.3.1 => 2.3.1
    react-dom: ^16.14.0 => 16.14.0
    react-ga: ^2.7.0 => 2.7.0
    react-image-lightbox: ^5.1.1 => 5.1.1
    react-select: ^3.2.0 => 3.2.0
    react-slick: ^0.25.2 => 0.25.2
    react-static: ^7.5.0 => 7.5.0
    react-static-plugin-favicons: ^2.0.0 => 2.0.0
    react-static-plugin-reach-router: ^7.5.0 => 7.5.0
    react-static-plugin-sass: ^7.3.0 => 7.3.0
    react-static-plugin-sitemap: ^7.5.0 => 7.5.0
    react-static-plugin-source-filesystem: ^7.5.0 => 7.5.0
  npmGlobalPackages:
    react-static: 7.4.2

of course include any other package versions here if relevant.
Steps to Reproduce the problem
Base your steps off of any freshly installed react-static template!

Start from basic template
update react-static (because the template doesn't install the same version at the react-static that created it)
see the error mentioned above

react-hot-loader is a peer dependency, so the manual install step is correct. I think the other issue you encountered is #1564. I'm closing this in favour of that.


Clean up code

This series cleans up the code a bit and add some necessary files for publishing the crates.

We publish it or not I think these patches are very useful for the codebase.

@andreeaflorescu @russell-islam Please review when you have time. Thanks.


Article on Inversion of Binary Tree

💥 Proposal
An inversion, or mirror, of a Binary Tree  is just a Binary Tree  whose left and right children (of all non-leaf nodes) are swapped.
Have you read the Contributing Guidelines on Pull Requests?
Yes

@HarshCasper @ankitaggarwal23
I have clearly read the contributing guidelines
I have already worked on similar algorithms previously
Hence kindly assign this issue to me
Thank you


add docs + example for param actions

to be merged in if/when https://github.com/monome/norns/pull/1544 is approved + merged into release

perfect!


rs5 Error

If you do not add the namespace, and you add in the "rs5" fields mentioned in this document you will receive a "[ERROR] Reference to undeclared namespace prefix: 'rs5'., ErrorCode(0xC00CE01D)" error. In order to resolve this, I included an additional schema below.
(xmlns:rs5="http://schemas.microsoft.com/AssignedAccess/201810/config")

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

ID: a6eac98f-6a12-c1ae-1ed3-485ac97e8fb3
Version Independent ID: a6eac98f-6a12-c1ae-1ed3-485ac97e8fb3
Content: Set up a multi-app kiosk on Windows 11 - Configure Windows
Content Source: windows/configuration/lock-down-windows-11-to-specific-apps.md
Product: windows-client
Technology: itpro-configure
GitHub Login: @lizgt2000
Microsoft Alias: lizlong

To make it easier for you to submit feedback on articles on learn.microsoft.com, we're transitioning our feedback system from GitHub Issues to a new experience.
As part of the transition, this GitHub Issue will be moved to a private repository. We're moving Issues to another repository so we can continue working on Issues that were open at the time of the transition. When this Issue is moved, you'll no longer be able to access it.
If you want to provide additional information before this Issue is moved, please update this Issue before December 15th, 2023.
With the new experience, you no longer need to sign in to GitHub to enter and submit your feedback. Instead, you can choose directly on each article's page whether the article was helpful. Then you can then choose one or more reasons for your feedback and optionally provide additional context before you select Submit.
Here's what the new experience looks like.
Note: The new experience is being rolled out across learn.microsoft.com in phases. If you don't see the new experience on an article, please check back later.
First, select whether the article was helpful:

Then, choose at least one reason for your feedback and optionally provide additional details about your feedback:

Article was helpful
Article was unhelpful

Finally, select Submit and you're done!


Method to query a group of forums 'last_post_for(forem_user)'

Hi,
I am currently displaying a group of forums (lets say for example 50 forums) and alongside each forum name, I'm calling 'last_post_for(forem_user)' to show the latest post in that forum.
The problem is that we have a lot of forums and a lot of visitors to the page.  This is causing a strain and I'm hoping to optimize my code.
So instead of querying my database 50 times to get the latest post, is there a way to query all the latest posts for each of my forums in one query and then do an each loop to display the resulting data?
Your help is greatly appreciated.

Did you figure it out?

Hi Ryan,
No, I was going to take a crack at creating my own method to solve the
issue.  I wasn't sure if the gem already came with a premade solution?
Best,
Tim Zhu
On Fri, Jul 10, 2015 at 11:52 PM, Ryan Bigg<EMAIL_ADDRESS>wrote:

Did you figure it out?
—
Reply to this email directly or view it on GitHub
https://github.com/radar/forem/issues/667#issuecomment-120588096.

The gem doesn't come with a premade solution for querying multiple forums. If you could come up with one and share it with us, that would be appreciated :)

Hi Ryan,
I would be happy to once I get it working on my end.
Best,
Tim Zhu
On Sat, Jul 11, 2015 at 5:37 PM, Ryan Bigg<EMAIL_ADDRESS>wrote:

The gem doesn't come with a premade solution for querying multiple forums.
If you could come up with one and share it with us, that would be
appreciated :)
—
Reply to this email directly or view it on GitHub
https://github.com/radar/forem/issues/667#issuecomment-120674265.

Hmm...
lastposts = Forem::Post.joins('INNER JOIN "forem_topics" ON
"forem_posts"."topic_id" = "forem_topics"."id" WHERE
"forem_topics"."forum_id" IN ' + array_of_forum_ids + ' ORDER BY
forem_posts.created_at DESC').group(:forum_id, :id).select(:id,
:created_at, :topic_id, :user_id)
Gets us almost there.  The issue is that it returns all the posts from the
forums in that 'array_of_forum_ids'.  I'm struggling with how to only
return one Post for each of the forums in the 'array_of_forum_ids'.
Best,
Tim Zhu
On Sun, Jul 12, 2015 at 9:46 AM, Zhu, Tim<EMAIL_ADDRESS>wrote:

Hi Ryan,
I would be happy to once I get it working on my end.
Best,
Tim Zhu
On Sat, Jul 11, 2015 at 5:37 PM, Ryan Bigg<EMAIL_ADDRESS>wrote:

The gem doesn't come with a premade solution for querying multiple
forums. If you could come up with one and share it with us, that would be
appreciated :)
—
Reply to this email directly or view it on GitHub
https://github.com/radar/forem/issues/667#issuecomment-120674265.

Hi Ryan,
After beating my head against the wall, I figured out a solution.  Not sure
where/how you would like for me to integrate it into the gem but here's the
method:
def lastpostforforums(array_of_forum_ids)
forumids = array_of_forum_ids
lastposts = Forem::Post.joins(:topic).where(topic_id:
Forem::Topic.where(forum_id: forumids, hidden: [false,
nil])).group("forem_topics.forum_id").maximum("forem_posts.created_at")
lastpostdetails = Forem::Post.joins(:topic, :forem_user).where(created_at:
lastposts.values).pluck("forem_topics.forum_id", "forem_topics.subject",
"forem_posts.created_at", "users.name")
end
FYI, the current lastpost method had a bug where it returns hidden topics.
Best,
Tim Zhu
On Sat, Jul 11, 2015 at 5:37 PM, Ryan Bigg<EMAIL_ADDRESS>wrote:

The gem doesn't come with a premade solution for querying multiple forums.
If you could come up with one and share it with us, that would be
appreciated :)
—
Reply to this email directly or view it on GitHub
https://github.com/radar/forem/issues/667#issuecomment-120674265.

Actually, we need to return the topic id as well so we can use it in the
link_to.
Anyway, let me know if you want to try it out and how you would like me to
integrate to the gem.
Best,
Tim Zhu
On Tue, Jul 14, 2015 at 4:46 PM, Zhu, Tim<EMAIL_ADDRESS>wrote:

Hi Ryan,
After beating my head against the wall, I figured out a solution.  Not
sure where/how you would like for me to integrate it into the gem but
here's the method:
def lastpostforforums(array_of_forum_ids)
forumids = array_of_forum_ids
lastposts = Forem::Post.joins(:topic).where(topic_id:
Forem::Topic.where(forum_id: forumids, hidden: [false,
nil])).group("forem_topics.forum_id").maximum("forem_posts.created_at")
lastpostdetails = Forem::Post.joins(:topic, :forem_user).where(created_at:
lastposts.values).pluck("forem_topics.forum_id", "forem_topics.subject",
"forem_posts.created_at", "users.name")
end
FYI, the current lastpost method had a bug where it returns hidden topics.
Best,
Tim Zhu
On Sat, Jul 11, 2015 at 5:37 PM, Ryan Bigg<EMAIL_ADDRESS>wrote:

The gem doesn't come with a premade solution for querying multiple
forums. If you could come up with one and share it with us, that would be
appreciated :)
—
Reply to this email directly or view it on GitHub
https://github.com/radar/forem/issues/667#issuecomment-120674265.

Regarding that bug: can you please file a new issue with steps to reproduce so I can look at it?
That would be awesome :)

On 15 Jul 2015, at 09:50, Buildzzz<EMAIL_ADDRESS>wrote:
Actually, we need to return the topic id as well so we can use it in the
link_to.
Anyway, let me know if you want to try it out and how you would like me to
integrate to the gem.
Best,
Tim Zhu
On Tue, Jul 14, 2015 at 4:46 PM, Zhu, Tim<EMAIL_ADDRESS>wrote:

Hi Ryan,
After beating my head against the wall, I figured out a solution. Not
sure where/how you would like for me to integrate it into the gem but
here's the method:
def lastpostforforums(array_of_forum_ids)
forumids = array_of_forum_ids
lastposts = Forem::Post.joins(:topic).where(topic_id:
Forem::Topic.where(forum_id: forumids, hidden: [false,
nil])).group("forem_topics.forum_id").maximum("forem_posts.created_at")
lastpostdetails = Forem::Post.joins(:topic, :forem_user).where(created_at:
lastposts.values).pluck("forem_topics.forum_id", "forem_topics.subject",
"forem_posts.created_at", "users.name")
end
FYI, the current lastpost method had a bug where it returns hidden topics.
Best,
Tim Zhu
On Sat, Jul 11, 2015 at 5:37 PM, Ryan Bigg<EMAIL_ADDRESS>wrote:

The gem doesn't come with a premade solution for querying multiple
forums. If you could come up with one and share it with us, that would be
appreciated :)
—
Reply to this email directly or view it on GitHub
https://github.com/radar/forem/issues/667#issuecomment-120674265.

—
Reply to this email directly or view it on GitHub.


404 not found

Hi! I'm just curious about Hello-API, reading the documentation I feel it's a really good starting point to create a brand new API using Laravel. So, I followed the installation instructions and everything seems to be fine. API responds. That's ok. The point is that the response from API is always 404.
curl -X POST -H "Accept: application/json" -F<EMAIL_ADDRESS>-F "password=secret#pass" -F "name=John Doe" "http://api.mega.pro/register"
The answer is:
{"message":"404 Not Found","status_code":404}%
Am I forgetting something?

10 minutes. Sometimes I need to write my question to be conscious about how to solve the problem.
It's two variables in .env, APP_URL and API_DOMAIN. I forget to change API_DOMAIN to my own domain name.
Now seems to work perfectly.

Cool I'm glad you are using it and would love to hear your feedback :)

This is my .env file content :
APP_URL=hello.dev
APP_FULL_URL=http://hello.dev
API_DOMAIN=api.hello.dev

But every time that I send required values to /register , 404 Not Found returned.
why?

@ahmadbadpey sorry for the delayed response, was very busy in the last 2 weeks..
Is this solved now, or you still need some help?!

@Mahmoudz, I can not solve that yet. please help me.

@ahmadbadpey if you are trying to run curl -X POST -H "Accept: application/json" -F<EMAIL_ADDRESS>-F "password=secret#pass" -F "name=John Doe" "http://api.mega.pro/register" maybe it's outdated now, I'll have to update that part of the documentation..
Your problem looks more like configs problem, I cannot tell what's wrong, I'll be manually testing all the code hopefully in the next 3 weeks. But I can advise you to re-check your host file, as the subdomain needs to be defined there.

@ahmadbadpey this part of the documentation is now updated visit here. The endpoint have became http://api.hello.dev/user/register instead of http://api.hello.dev/register

@Mahmoudz , I tried that but a new problem occurred.
I think that configurations are not Problematic beacause when send request to http://api.hello.dev/ the "Welcome to Hello API." is shown.
Of course I am using Postman as client to send request and now when send email, password, name data to http://api.hello.dev/user/register bellow errror is shown :
{
  "message": "syntax error, unexpected '->' (T_OBJECT_OPERATOR)",
  "code": 4,
  "status_code": 500
}

@ahmadbadpey I will check that. Do you have the latest version of Hello Api?!

@Mahmoudz , Yes I'm using v0.3.0.

Oh I currently only support the master branch. Until I make the first stable release.. I won't be able to find out why you are having this problem because things have changed a lot since then, but once I reach the stable release, there shouldn't be major changes and will have multiple versions so you we can all track everything.. Thanks for using Hello API. Best,

@Mahmoudz :any update on this issue?

@rockers007 the 404 problem is almost always configuration issue form the user side. I will put more effort in making this easier and easier.
I saw ur other issue so I assume you solve it!? if not make sure the values in the .env file are matching your domain.


REQUEST: use Unity ARFoundation for Tracked Pose Driver

A benefit to just jumping straight in and letting Unity's existing ARFoundation handle the rotational tracking, is that we could also easily turn on positional tracking for devices that support it, and now have 6DOF headsets.

It is not our focus but I'll see what I can do after 1.0 Release. I'll keep this ticket.

That's understandable, then my alternate request is to decouple the head tracking part from the main VR script.  Please take a look at my commit on my fork of this project: https://github.com/hawkwood/Cardboard-VR-Unity-SDK/commit/b27f56245d97ef3b48c995f1113e54f468563981
If you do that, then I can easily disable it, and enable ARFoundation tracking manually without having to continuously modify the scripts as the project progresses.

https://github.com/mobfishgmbh/Cardboard-VR-Unity-SDK/issues/19
I created a new ticket for it, thanks for the feedback.

@hawkwood
Hello, I just updated public_dev branch, and now the main camera components are decoupled. You can setup your own camera prefab with it.


Fix connecting to debugAdapter by port when offline

Just remembered that I need to try #1641 again :)
I sent a PR to fix offline debugging in vscode-node-debug, and this is fixing basically the same problem that shows up when you try to debug a debugadapter by connecting via a local port.

Hi @roblourens, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Rob Lourens). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;

Thanks Rob!


Integration Test - Release - 2019/05/28 22:30:59

Auto create for integration test. IssueCommandFlow

#pri1

Just type '#backlog'

#pri2

#backlog

#assign PRMergerTest1

#assign NonAllowedUser

NonAllowedUser is not a valid GitHub ID, or is not a collaborator on this repo.

NonAllowedUser is not a valid GitHub ID, or is not a collaborator on this repo.

#reassign PRMergerTest2

GitHub user PRMergerTest1 has been removed from the MicrosoftDocs organization, so they were automatically removed as an assignee.

#reassign NonAllowedUser

NonAllowedUser is not a valid GitHub ID, or is not a collaborator on this repo.

NonAllowedUser is not a valid GitHub ID, or is not a collaborator on this repo.

#please-close


When banner showed at bottom, soft keyboard hide the content.

I've an issue with this plugin. When the plugin is active the keyboard hide the content.

When I click on the input (I can't scroll more than this):

Without ads no problem:

I'm not the only one : http://forum.ionicframework.com/t/issue-in-admob-plugin-pro/30084
found many posts/topics with the same problem.

Yup have the same problem.
Also if i click in an input field, before the ad loaded, the place where the keyboard should be is black and doesn't hide anymore.

I have same problem here, when keyboard open before admob, keyboard just goes blank, and when admob show before keyboard i can't scroll until end of the page (keyboard hiding admob and my last element in the page)

+1

After carefully study, the root cause is identified:

When focus in input area, the soft keyboard will resize the webview.
When the ad banner displayed in split mode (overlap:false), it will also resize the webview to avoid overlap the web content.
If both resize the webview at the same time, this will cause conflict.

When soft keyboard display, it will always try to resize the existing view at bottom. If the banner ad displayed at bottom, it will give up resizing. As the soft keyboard code is from Android system, this issue cannot be resolved perfectly.
Here a few workaround methods are suggested to avoid the issue happen:

When you have some input box or textarea on UI, avoid show banner at bottom. You can either hide banner, or show banner at top.
Use overlap:true (as the banner will overlap web content, you need reserve some margin area for it.)

Good news, it's fixed.
When banner at either bottom or top, it works perfectly with soft keyboard.
Please update to cordova-plugin-admobpro v2.11.0, enjoy. :-)

Thanks for the update!
However, I get the same problem (ad is not shown after tapping on input field), and I'm using overlap=true

Hi,
any way to hide the banner when the user open the soft keyboard?


Fixed non-running crond due to missing mirror user.

For issue #40:

crond was not running due to the missing mirror user.
Since in the container there are multiple processes running (crond,httpd) switched to supervisord for better process and user management.
Better stdout/stderr redirection to console of all contained processes.
Switched back to HTTP port 80 by default instead of 8080 since the user for httpd differs now from the mirror process user.

thanks for the pr

Hey guys, after this fixed, localhost is not reachable?
curl http://localhost/nvdcve-1.0-modified.json.gz
curl: (52) Empty reply from server

@httran13 The port inside the container is now 80 and not 8080 any more.
I did a quick test with docker run -it --name mirror -p 80:80 sspringett/nvdmirror. Then curl gave a valid response:
% curl --output test.gz http://localhost/nvdcve-1.0-modified.json.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  337k  100  337k    0     0  16.4M      0 --:--:-- --:--:-- --:--:-- 17.3M

% file test.gz
test.gz: gzip compressed data, from FAT filesystem (MS-DOS, OS/2, NT), original size modulo 2^32 6447250

But there might be an other issue that currently causes exceptions while syncing the htdocs folder:
2019-10-18 19:33:12,369 INFO success: initialize_htdocs entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
java.util.zip.ZipException: Not in GZIP format
	at java.util.zip.GZIPInputStream.readHeader(GZIPInputStream.java:165)
	at java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:79)
	at java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:91)
	at us.springett.nistdatamirror.NistDataMirror.uncompress(NistDataMirror.java:225)
	at us.springett.nistdatamirror.NistDataMirror.doDownload(NistDataMirror.java:214)
	at us.springett.nistdatamirror.NistDataMirror.mirror(NistDataMirror.java:128)
	at us.springett.nistdatamirror.NistDataMirror.main(NistDataMirror.java:70)

thanks that worked! @0x7d7b


New snipet submission: SQS Lambda hadler & partial batch response

To submit a template to the Serverless Snippets Collection, submit an issue with the following information.
To learn more about submitting a pattern, read the publishing guidelines page. and added a new snippet guide.

Use the model template located at https://github.com/aws-samples/serverless-snippets/tree/main/_snippet-model to set up snipet-data.json (metadata) and your snippet code (snippet.txt).

If you want multiple code examples in your snippet or support tabbed code examples (multi runtimes for example) then follow the guide for added a new snippet.
GitHub PR for template:
https://github.com/aws-samples/serverless-snippets/pull/40

Merged


Add vivisect installation to setup & Add tests to GitHub Actions

Vivisect is not available on PyPI. Tell pip in setup.py where to find it so that it is not needed to do it as a separate step.
Add the tests to the CI GitHub action. Only run the tests if code style and rule linter succeed, as tests take some time to run. A similar actions should be added to capa-testfiles. Tests fail in this PR because they are broken in master: https://github.com/fireeye/capa/issues/174
Update CI badge in README

i wonder if we can push capa to pypi now that setup.py specifies where to fetch viv. will test this.


⚠ ClamAV has degraded performance

In 329e540, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 77 ms

Resolved: ClamAV performance has improved in ce753b8 after 5 minutes.


My Grad Cam is giving opposite results.

I'm working on a project where I trained a YOLOv8 model to find E.coli bacteria droplets on leaves. After using Grad-CAM on the YOLO model, which was 100% accurate, I noticed something unexpected. The areas without droplets are marked in red, and the areas with droplets are in blue, which means they're considered less important.
Does this mean the model is actually working well and just the color scheme is flipped, or did I make a mistake somewhere?
Here are the Grad-CAM results and the original image displayed side by side for comparison:

Yes, it could mostly be related to a switch in RGB channels. OpenCV has a common issue of considering a different order of channels than other packages, so if you're using two different packages for the same image, considering this might help.

Umm...that sounds like a fair reason but I am pretty sure that I haven't used any other image processing module other than OpenCV.

Hello, I get a very similar result. Have you figured out what is the cause? Thanks!


Model detection fails for Ellipsis

In core.py, only forms that don't have a __qualname__ attribute are not considered models:
def _add_if_model(self, model: type, recurse: bool) -> bool:
        """Private recursive method to add a model to the diagram."""
        try:
            key = str(FullyQualifiedName.from_object(model))
        except AttributeError as e:
            # May get typing special forms that don't have __qualname__ attribute
            # These are not going to be models
            if "__qualname__" in str(e):
                return False
            raise

However, e.g. when using ellipsis for type annotations, the error is as follows: AttributeError: 'ellipsis' object has no attribute '__module__'. Did you mean: '__reduce__'?
Maybe consider checking for more terms in the error message in order to catch non-modules?

Hi @sasanjac, sorry for the slow response here.
I was able to reproduce your error with a model like this:
    class EllipsisModel(pydantic.BaseModel):
        ellipsis_field: Tuple[int, ...]

Can you confirm if this covers the kinds of annotations you're using with ellipsis, or do you have other kinds of examples?

Hi @sasanjac @SebastianDD,
The fix for this has been released in v1.0.5. Please let me know whether or not this resolves your errors!

Hi @sasanjac @SebastianDD,
The fix for this has been released in v1.0.5. Please let me know whether or not this resolves your errors!

Thanks for the notice. We will check this.
I have one addtional question, you may could answer: Asumming a pydantic class structure, is it possible to exclude classes? I know its possible to definde end-points via terminal_models, but in our case each class have an attribute of type "AttributeData", which we want to disable when drawing the diagram.
Thanks in advance.

I made a separate issue to address the question about exclusions.


Create and use JSON parameters file for Bicep template

This is a workaround until issue: https://github.com/Azure/arm-deploy/issues/139 is resolved.

LGTM!


Define workflow for localization

We need to define how we store/manage localized model definitions, and work out how we support the localization team in their work.

Duplicate of #19


Motion vector animated mesh

Objective

Add motion vector support to meshes with skins, morph targets, and both skins and morph targets.
Alternative to #9902

Solution

The new render world resource AnimatedMeshMotionVectors controls whether to enable motion vectors for these types of meshes. TAA enables it by default.
Lots of complicated logic to bind the previous uniforms for skins and morph targets, and the various combinations thereof
There are many possible variations:

Motion vectors disabled
Motion vectors enabled, animated mesh support disabled
Motion vectors enabled, animated mesh support enabled, but no uniform buffers last frame (first frame of rendering)
Motion vectors enabled, animated mesh support enabled, uniform buffer from last frame exists, but mesh  did not exist/have animated components last frame, and does not have an entry in the previous frame uniform buffer

Push constants are used to handle case 4, where the push constant (0/1) masks out the motion vector.

Probably should think more about this, as it'll break TAA on WebGPU. A new bit in MeshFlags might be better, but the flags are built in extract_meshes_for_cpu/gpu_building, and we won't know whether to sit the bit or not until after extract_skins and extract_morphs...

Also removed the old push constant usage left around from the old instance_index.wgsl workaround, which got removed at some point

TODO

Modify SetBindGroup to set the dynamic offsets for previous frame morph and/or skin buffers when they are bound, and set the appropriate push constant.
Modify prepass.wgsl to calculate previous_world_position for skinned and/or morph target meshes.
Update prepass example to show animated meshes
Docs

Changelog

This section is optional. If this was a trivial fix, or has no externally-visible impact, you can delete this section.

What changed as a result of this PR?
If applicable, organize changes under "Added", "Changed", or "Fixed" sub-headings
Stick to one or two sentences. If more detail is needed for a particular change, consider adding it to the "Solution" section

If you can't summarize the work, your change may be unreasonably large / unrelated. Consider splitting your PR to make it easier to review and merge!

Migration Guide

This section is optional. If there are no breaking changes, you can delete this section.

If this PR is a breaking change (relative to the last release of Bevy), describe how a user might need to migrate their code to support these changes
Simply adding new functionality is not a breaking change.
Fixing behavior that was definitely a bug, rather than a questionable design choice is not a breaking change.

This is too much of a pain :/


Quick WPT generates HTML reports

There are 2 github actions to run WPT:

Detailed WPT. It tuns all the bidi tests in a single run, which takes ~20 minutes, it uses tools/wpt-report-builder/builder.mjs script to generate 2 html reports, which are published here and here . The only reason Detailed WPT is in place is the report generation.
Quick WPT. It shards tests, and takes ~6 minutes. However, it cannot generate html report.

In order to speed up html report generation, and to avoid multiple actions doing more or less same tasks, we want to get rid of Detailed WPT. This reqiures:

[x] Make tools/wpt-report-builder/builder.mjs support not a single report, but a list or WPT reports to generate HTML report for. https://github.com/GoogleChromeLabs/chromium-bidi/pull/2441
[x] In Quick WPT, if required, generate and publish HTML report based on the reports from the sharded runs.
[x] Remove Detailed WPT.

Closed as complete.


Ensure that windows-bindgen properly processes certain methods and functions that have an unsupported trailing array parameter.

This pull request fixes an issue where windows-bindgen confuses an unsupported trailing array parameter for a result value and then generates code that dereferences it and tries to return it.
@kennykerr I believe I have tracked down the source of the reintroduction of the bug that had been reported prior. You mentioned providing a minimal repro in #3384. I added a generated test in the code to ensure that it's working as expected. Please let me know if this is what you expected, and what else, if anything, that I need to do to get this pull request accepted. Thanks!

@microsoft-github-policy-service agree

Oh, this looks like it impacts parameters that are attributed as array parameters but that are then discarded as invalid by windows-bindgen.


[Bounded Triggers]Clean up status for other instances

Instances whose status reporting is stale might have been deleted.
Let alive instances to detect the scenario and remove their data.

Closed by https://github.com/triggermesh/brokers/pull/179


All example snippets returning None

Question: New to python but this library seems amazing. I tried copying and pasting the sample code in the documentation but they return None. What am I doing wrong??

How did you install the module and how are you trying to run the sample code?

i installed it via pip install mlbgame and then ran pip install mlbgame --upgrade
mlbgame and lxml were both up to date.
I just copied and pasted the snippets from the documentation, and it returns None for each example:
`from future import print_function
import mlbgame
month = mlbgame.games(2015, 6, home='Mets')
games = mlbgame.combine_games(month)
for game in games:
print(game)`

Interesting. This is what I get. I pasted the sample code into ipython.
In [2]: from __future__ import print_function
   ...: import mlbgame
   ...:
   ...: month = mlbgame.games(2015, 6, home='Mets')
   ...: games = mlbgame.combine_games(month)
   ...: for game in games:
   ...:     print(game)
   ...:
Giants (5) at Mets (0)
Giants (8) at Mets (5)
Giants (4) at Mets (5)
Braves (3) at Mets (5)
Braves (5) at Mets (3)
Braves (8) at Mets (10)
Blue Jays (3) at Mets (4)
Blue Jays (2) at Mets (3)
Reds (1) at Mets (2)
Reds (1) at Mets (2)
Reds (1) at Mets (2)
Reds (2) at Mets (7)
Cubs (1) at Mets (0)

What does print(month) and print(games) output?

I’ll try as soon as I get home. Maybe it’s an issue with my python? I’m using PyCharm I do t know if that makes a difference either. Thanks for the speedy replies, I’ll get back to you as soon as I check!

I've tried again, and still return the same result: 'None'
I am using PyCharm 2017.3.4 Community Edition
Python 3.6
Here are links to both code and pip cmd line
PyCharm (image link)
pip (image link)
When I run that exact same code in IDLE, I do return results.. I don't know what would be different?
IDLE (image link)

Please disregard, I'm closing the issue. I refactored the project and called it something different, ran the same code, and returned reuslts in PyCharm now.. maybe it's my novice python exposure and I was overlooking something.. Thanks for getting back to me!


Updating API with async perform API

@jasonsandlin,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


UI says "No kernel" while I definitively have one

So the initial kernel store in the notebook might have not existed, so I "Switched kernel" and not it's still showing "No kernels".

Any hints on how can this be reproduced?

Any hints on how can this be reproduced?

No not really, that just reliably do it on my machine with a specific notebook, that has nothing different from another one.
Here is the notebook medatata kernelspec:
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python 3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.5.2"
  }

Which definitively exists.

This only happens with the one notebook?

I tried replacing the metadata of one of my notebooks with the above and I get the expected console log: "No exact match found for python3, using kernel python3 that matches language=python", and it starts my python3 kernel.  Not sure why it didn't print it with a space in the name off the top of my head.

This only happens with the one notebook?

No I've seen it with other. It's just this one is currently the one where I can reproduce it.

So I can still reliably reproduce that,:
    "python 3": {
      "resource_dir": "/usr/local/share/jupyter/kernels/python 3",
      "spec": {
        "language": "python",
        "env": {
          "DYLD_FALLBACK_LIBRARY_PATH": "/Users/bussonniermatthias/anaconda/pkgs/icu-54.1-0/lib:/Users/bussonniermatthias/anaconda/pkgs/zlib-1.2.8-3/lib"
        },
        "display_name": "Python 3",
        "argv": [
          "/Users/bussonniermatthias/anaconda/bin/python",
          "-m",
          "ipykernel",
          "-f",
          "{connection_file}"
        ]
      }
    },

One thing I don't get is that the classic notebook seem seem  to never trigger the server get handler to kernelspec/<whatever>

i'm going to assume the space in "python 3" is not handled correctly everywhere. If it's that we should : 1) have jupyter client raise warning that these are not valid kspecs. and 2) still try to handle that correctly in our code.

@blink1073 Sorry for the meeting this morning, my connection keeps shutting down every 30-60 seconds. No clue why, but it doesn't surprise me. Getting tough to do anything done since then.

Aha!  This is related to https://github.com/jupyterlab/jupyterlab/issues/1108.  I realize the problem now.  We are url encoding the name of the kernel spec in jupyterlab/services, but the server is not using url_unescape on the result.

We can work around this by caching the full set of kernel specs once and then looking up those values by name.

(Which is actually a much cheaper operation in the long run).

@Carreau, in the mean time, if you change your folder name to python_3, it will work.

@Carreau, in the mean time, if you change your folder name to python_3, it will work.

Thanks !  Kernelspec names should be limited to [-\w.]+ right ? Maybe we need to be a bit stricter on jupyter_core ? @minrk  ?

Yeah, we should be strict in jupyter-client that kernelspec names should be url-safe (i.e. urlescape(name) == name

https://github.com/jupyter/jupyter_client/issues/221 validates names with a strict regex. We could also directly check url_quote(name) == name as the requirement, if we wanted to define it that way.


Run e2e tests for a particular experiment or all experiments depending upon the nature of the change before merging PRs in litmus using bot

This issue is for running e2e tests on a per commit/PR basis with a bot command in PR comment like /run-e2e-pod-delete. Some main points:

We can use KIND cluster for this as it can be easily available and can be efficient to use on a per-commit or pull request basis.
Using a bot which will trigger the e2e for a particular test. Like if we want to test pod-delete experiment with current PR changes then we can comment in the PR with /run-e2e-pod-delete then it will run the e2e test for pod delete experiment. If the PR has more coverage than just an experiment then we can run all the experiments with something like /run-e2e-all which should run all the test cases for every experiment.
The tests can run parallelly on each node which will save time as each test is independent of others.
Adding multiple BDDs for a particular experiment will help in increasing the test coverage.

@ksatchit Please add, if I'm missing something.


Upgrade to ember-cli 2.12.2 / Babel6 / yarn

Published as<EMAIL_ADDRESS>

@rwjblue Thanks! That was faster than expected :) I wanted to prepare another PR for the upcoming FastBoot 1.0 changes, and needed this upgrade first...


Laravel Sail fails to start

Sail Version: v1.13.5
Laravel Version: v9.2.0
PHP Version: PHP 8.0.15
OS: macOS 12.0.1 (21A559) - Apple M1

Description:
Laravel sail fails to start because port 1025 is already in use.
Steps To Reproduce:
./vendor/bin/sail up
......
Error response from daemon: Ports are not available: listen tcp <IP_ADDRESS>:1025: bind: address already in use

# check what process is running on 1025...
sudo lsof -i tcp:1025
COMMAND    PID       USER   FD   TYPE             DEVICE SIZE/OFF NODE NAME
identitys 1426 mikeparkin   53u  IPv6 0x2b96dbd38a49302b      0t0  TCP mikes-macbook-air.local:blackjack->[fe80:17::edd1:54aa:2581:308f]:cap (ESTABLISHED)
identitys 1426 mikeparkin   54u  IPv6 0x2b96dbd38a49302b      0t0  TCP mikes-macbook-air.local:blackjack->[fe80:17::edd1:54aa:2581:308f]:cap (ESTABLISHED)

# check what the process is...
ps aux | grep 1426
mikeparkin        1426   0.0  0.1 506203808   5584   ??  S    14Feb22   3:18.67 /System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/MacOS/identityservicesd

identityservicesd is not something I installed it comes with the OS.
Mailhog is trying to attach to the same port as something that comes with the OS.
https://developer.apple.com/library/archive/documentation/Networking/Conceptual/IdentityServices_ProgGuide/Introduction/Introduction.html
Had to change:

'${FORWARD_MAILHOG_PORT:-1025}:1025'

to

'${FORWARD_MAILHOG_PORT:-1027}:1025'

Now it boots. Surprised I can't find any bug reports about this?

@driesvints The output above shows that the running service is identityservicesd, which comes with OSX, not MailHog already running. I've shown the ps output for it?

Easiest workaround would be to set FORWARD_MAILHOG_PORT in your .env file to anything other than 1025, for example FORWARD_MAILHOG_PORT=1027, and use that port for mail sending.
It's common practice to use the same port inside/outside the container, so it's done here.

@saulens22 Thanks, yeah think you're right that would have been the easiest way. I find it a bit strange that the default port selected for Mailhog is already in use on my new M1 mac and this is the only bug report for it.


Since it wasn't too obvious

Added a new line that makes it a little bit more clear what command we want to run to prepare for branching.

Awesome! Thank so much! :tada:

(will rebuild the guide later today & it will go out then)

Alright, sounds good. :+1:

deployed :ship:
Thanks again!

  I never see these awesome emojis anywhere on GitHub, it's all about nerdy code and links... :v:

Ohh we're big into emoji here :octocat: — my friend and fellow GitHubber @muan has this awesome site: emoji.muan.co that I use all the time to find just the right :symbols: :grin:

Nice!! And they're even retina display friendly, which is even nicer!


Add GPU dataproc initialization and monitoring service

Add GPU installation driver support based on current Dataproc documentation
Add GPU monitoring service via Stackdriver
Modify dataproc_test_case to handle GPU in master and worker and beta feature

Thanks for the review, PTAL


RWC does not run in the background and auto update background

Basically what the title says. It is set to change the background every hour but it never changes on its own. I have to restart the app and then click change wallpaper to actually change it.  I am running the latest version of windows 10.

Same, and even then it is inconsistent.
*Running as administrator every time.

Yea. Weird thing is that I checked in task manager and the background process is listed there so obviously it is running. I checked the logs and it looks like it trying to change the wallpaper when it is supposed to too. My guess is that there is some interface issue with windows. Any ideas?

Hi, I've just pushed version <IP_ADDRESS> which addresses an issue opening the Blacklisted.xml file before setting a wallpaper. I'm wondering if this is the same issue. Let me know if <IP_ADDRESS> fixes this for you or if it's still an issue.

It's now giving me an error that it can't save the userconfig.
`See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.Configuration.ConfigurationErrorsException: Failed to save settings: Unable to save config to file 'C:\Users\mtp\AppData\Local_u_Rawns\Reddit_Wallpaper_Changer._Url_qwvbb0214kbflsotrgc0k03qp1bkllew\<IP_ADDRESS>\user.config'. ---> System.Configuration.ConfigurationErrorsException: Unable to save config to file 'C:\Users\mtp\AppData\Local_u_Rawns\Reddit_Wallpaper_Changer._Url_qwvbb0214kbflsotrgc0k03qp1bkllew\<IP_ADDRESS>\user.config'.
at System.Configuration.Internal.WriteFileContext.ReplaceFile(String Source, String Target)
at System.Configuration.Internal.WriteFileContext.Complete(String filename, Boolean success)
at System.Configuration.Internal.InternalConfigHost.StaticWriteCompleted(String streamName, Boolean success, Object writeContext, Boolean assertPermissions)
at System.Configuration.Internal.InternalConfigHost.System.Configuration.Internal.IInternalConfigHost.WriteCompleted(String streamName, Boolean success, Object writeContext, Boolean assertPermissions)
at System.Configuration.Internal.DelegatingConfigHost.WriteCompleted(String streamName, Boolean success, Object writeContext, Boolean assertPermissions)
at System.Configuration.ClientSettingsStore.ClientSettingsConfigurationHost.WriteCompleted(String streamName, Boolean success, Object writeContext)
at System.Configuration.UpdateConfigHost.WriteCompleted(String streamName, Boolean success, Object writeContext)
at System.Configuration.MgmtConfigurationRecord.SaveAs(String filename, ConfigurationSaveMode saveMode, Boolean forceUpdateAll)
at System.Configuration.Configuration.SaveAsImpl(String filename, ConfigurationSaveMode saveMode, Boolean forceSaveAll)
at System.Configuration.ClientSettingsStore.WriteSettings(String sectionName, Boolean isRoaming, IDictionary newSettings)
--- End of inner exception stack trace ---
at System.Configuration.ClientSettingsStore.WriteSettings(String sectionName, Boolean isRoaming, IDictionary newSettings)
at System.Configuration.LocalFileSettingsProvider.SetPropertyValues(SettingsContext context, SettingsPropertyValueCollection values)
at System.Configuration.SettingsBase.SaveCore()
at System.Configuration.SettingsBase.Save()
at System.Configuration.ApplicationSettingsBase.Save()
at Reddit_Wallpaper_Changer.RWC.saveData()
at Reddit_Wallpaper_Changer.RWC.saveButton_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: <IP_ADDRESS>
Win32 Version: 4.6.1586.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
Reddit Wallpaper Changer
Assembly Version: <IP_ADDRESS>
Win32 Version: <IP_ADDRESS>
CodeBase: file:///C:/Users/mtp/Applications/RedditWPC/Reddit%20Wallpaper%20Changer.exe
System.Windows.Forms
Assembly Version: <IP_ADDRESS>
Win32 Version: 4.6.1586.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_<IP_ADDRESS>__b77a5c561934e089/System.Windows.Forms.dll
System
Assembly Version: <IP_ADDRESS>
Win32 Version: 4.6.1586.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_<IP_ADDRESS>__b77a5c561934e089/System.dll
System.Drawing
Assembly Version: <IP_ADDRESS>
Win32 Version: 4.6.1586.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_<IP_ADDRESS>__b03f5f7f11d50a3a/System.Drawing.dll
System.Configuration
Assembly Version: <IP_ADDRESS>
Win32 Version: 4.6.1586.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_<IP_ADDRESS>__b03f5f7f11d50a3a/System.Configuration.dll
System.Core
Assembly Version: <IP_ADDRESS>
Win32 Version: 4.6.1586.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_<IP_ADDRESS>__b77a5c561934e089/System.Core.dll
System.Xml
Assembly Version: <IP_ADDRESS>
Win32 Version: 4.6.1586.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_<IP_ADDRESS>__b77a5c561934e089/System.Xml.dll
System.Web
Assembly Version: <IP_ADDRESS>
Win32 Version: 4.6.1586.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Web/v4.0_<IP_ADDRESS>__b03f5f7f11d50a3a/System.Web.dll
Newtonsoft.Json
Assembly Version: <IP_ADDRESS>
Win32 Version: <IP_ADDRESS>20
CodeBase: file:///C:/Users/mtp/Applications/RedditWPC/Newtonsoft.Json.DLL
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
`

Could you uplaod your logfile onto pastebin a pop a link to it heare and I'll take a look. Thanks. :)

Re-open when you have the details I need.


Master is broken (reportlet generation of mgz images)

As first reported in https://github.com/poldracklab/fmriprep/pull/1487#issuecomment-483847558, and shown by this crashfile, master is currently broken.
The installed version of nilearn is 0.5.1, as reflected by the installation summary of the pip install --no-cache-dir -r requirements.txt line:
Successfully installed MarkupSafe-1.1.1 PyWavelets-1.0.3 click-7.0 decorator-4.4.0 funcsigs-1.0.2 future-0.17.1 imageio-2.5.0 indexed-gzip-0.8.8 isodate-0.6.0 jinja2-2.10.1 lockfile-0.12.2 lxml-4.3.3 networkx-2.3 neurdflib-5.0.0.post1 nilearn-0.5.1 nipype-1.1.9 niworkflows-0.8.2+8.gb7d111c packaging-19.0 pillow-6.0.0 prov-1.5.3 pydot-1.4.1 pydotplus-2.0.2 pyyaml-5.1 rdflib-4.2.2 scikit-image-0.15.0 seaborn-0.9.0 simplejson-3.16.0 smriprep-0.1.0+18.g423bcc4 svgutils-0.3.1

The version is not further changed:
Requirement already satisfied: nilearn in /usr/local/miniconda/lib/python3.7/site-packages (from fmriprep==1.3.2+28.gba4ebeb3) (0.5.1)

I'd just add !=0.5.0,!=0.5.1 constraints to nilearn.


Prevent undo and redo from firing input event if _ignoreChange when true.

Right now there is no way to suppress the input event from being fired for undo and redo. This functionality would be very useful for us since we are needing to do a an undo redo within the input listener function which is causing a loop since input can't be bypassed in undo and redo like it can in many other places by setting Squire._ignoreChange.

I believe the merge conflict is with the build/squire.js.

_ignoreChange is a private property. You should not be making use of it externally; there is no guarantee it will continue to behave in the same way or even exist in the future.
The input event is certainly meant to fire on undo/redo. Its behaviour mirrors that of the native input event on <textarea> or <input type="text"> elements: it fires whenever the value changes except when the value is explicitly set in code (i.e. the setHTML method in Squire).
What is it you're actually trying to achieve? It's highly likely there's a better way of doing it other than immediately inside the input listener. For example, you could use setTimeout( fn, 0 ) to delay the action to after this event loop has finished, or there might be a better trigger mechanism altogether.
I don't think this patch is suitable for merging in its current form, sorry.

_ignoreChange is a private property. You should not be making use of it externally; there is no guarantee it will continue to behave in the same way or even exist in the future.
The input event is certainly meant to fire on undo/redo. Its behaviour mirrors that of the native input event on <textarea> or <input type="text"> elements: it fires whenever the value changes except when the value is explicitly set in code (i.e. the setHTML method in Squire).
What is it you're actually trying to achieve? It's highly likely there's a better way of doing it other than immediately inside the input listener. For example, you could use setTimeout( fn, 0 ) to delay the action to after this event loop has finished, or there might be a better trigger mechanism altogether.
I don't think this patch is suitable for merging in its current form, sorry.

_ignoreChange is a private property. You should not be making use of it externally; there is no guarantee it will continue to behave in the same way or even exist in the future.
The input event is certainly meant to fire on undo/redo. Its behaviour mirrors that of the native input event on <textarea> or <input type="text"> elements: it fires whenever the value changes except when the value is explicitly set in code (i.e. the setHTML method in Squire).
What is it you're actually trying to achieve? It's highly likely there's a better way of doing it other than immediately inside the input listener. For example, you could use setTimeout( fn, 0 ) to delay the action to after this event loop has finished, or there might be a better trigger mechanism altogether.
I don't think this patch is suitable for merging in its current form, sorry.


CustomShape plugin not getting recogonised

Hello, I want to create a graph with square shaped nodes. But I am having problem while calling CustomShape.init(s) function. Please find the code below:
In my angular component class, I have imported sigma and created a simple graph Json Object as follows:
`import {sigma} from "sigma"
  sigmaJson = {
    "nodes": [
      {
        "id": "n0",
        "label": "a node",
        "x": -265,
        "y": 30,
        "size": 8,
        "type": "square"
      },
      {
        "id": "n1",
        "label": "Another node",
        "x": -15,
        "y": 30,
        "size": 8,
        "type": "square"
      },
      {
        "id": "n2",
        "label": "And a last one",
        "x": -265,
        "y": 100,
        "size": 8,
        "type": "square"
      }
    ],
    "edges": [
      {
        "id": "e0",
        "source": "n0",
        "target": "n1",
        "type": "dotted"
      },
      {
        "id": "e1",
        "source": "n1",
        "target": "n2",
        "type": "dotted"
      },
      {
        "id": "e2",
        "source": "n2",
        "target": "n0",
        "type": "dotted"
      }
    ]
  };
`

Then I have rendered the graph as follows:
`drawGraph() {
this.s = new sigma({
  graph: this.sigmaJson,
  renderer: {
    container: document.getElementById('network-graph'),
    type: 'canvas'
  },settings: {
    defaultNodeColor: '#ec5148',
    }
});
**CustomShapes.init(this.s);**
this.s.refresh();

}`
The graph is getting rendered, but I am getting an error in the  CustomShapes.init(this.s); The function is not getting recogonised. I have included all the JS files as indicated here and verified that they are loading in the browser as well.
Also, I am getting only default edge shapes, not the required "dotted" shape.
Can somebody point out my mistake here?

Hello, sorry to revive this old issue.
Did you find how to do It, I'm having the same issue two years later.

You need to import the customShapes plugins. To this extent, the sigma variable must be globally available.

customShapes

This is what I tried to do by adding
import { CustomShapes, sigma } from 'sigma' on the top of my file.
Is it how I'm supposed to import the plugin or am I missing something ?
With this method I'm having issue with an undefined value.

import 'sigma';
import 'sigma/plugins/sigma.renderers.customShapes/sigma.renderers.customShapes

or something like this. This version of the lib was created way before package manager for JS became a thing unfortunately.

I think I'm almost there, I'm missing something.
ERROR Error: Uncaught (in promise): ShapeLibrary is not declared
    at resolvePromise (zone.js:831)
    at resolvePromise (zone.js:788)
    at zone.js:892
    at

Here is what I tried so far :
import { sigma } from 'sigma';
import { ShapeLibrary } from 'sigma/plugins/sigma.renderers.customShapes/shape-library';
import 'sigma/plugins/sigma.renderers.customShapes/sigma.renderers.customShapes';

I think you need for ShapeLibrary to be in the global scope. Try something like:
window.ShapeLibrary = ShapeLibrary;

before importing the plugin.

I've added
"scripts": [
              "node_modules/sigma/build/sigma.min.js",
              "node_modules/sigma/plugins/sigma.renderers.customShapes/shape-library.js",
              "node_modules/sigma/plugins/sigma.renderers.customShapes/sigma.renderers.customShapes.js"
            ],

In my angular.json, now everything is compiling but I still have no Shape despite adding the type, for exemple :
{ id: 'n1', label: 'Helo i'm a square', x: 4, y: 8, size: 3, color: '#74d8c0', type: 'square' },
No error is showing on the console.

https://github.com/jacomyal/sigma.js/issues/871


downloads link on older docs is confusing

URL for relevant page?
http://docs.influxdata.com/influxdb/v0.11/
Left side nav shows a Downloads link, but that redirects to https://influxdata.com/downloads/#influxdb, which only references the latest release.
I think we should either remove the link or have it go to a page that gives the URL to download the last release in the 0.11 line.
Same for 0.10, 0.9, 0.8. We should just remove it from 0.7 and 0.6.

@rkuchan do we actually care about this? No one is asking much anymore for old releases. I vote we close.

Fine with me.


Phase corrections

Forward transform has been update to match with theoretical Fourier Transform.

Coordinates range is carrefully taken into account.
An fftshift is applied before fourier transform. This is done in order to anticipate that numpy.fft implicitely assumes that input signal is on a fftshifted grid.

Here is a descriptive of why these changes are desirable in dft.
(I apologize for the huge text police in the pdf file...).
forward_phase_correction.pdf

Thanks for the edits @lanougue !
The tests are now all passing except for one with an error message: Error: The process '/opt/hostedtoolcache/Python/3.8.6/x64/bin/pre-commit' failed with exit code 1. I've never encountered such error but does @rabernat or @jbusecke know where this is coming from...?

That's the new code Formatting CI I have implemented in #120. The "contributors guide" in the docs describes how to satisfy this one. I however had some typos in there so rather take a look at #123. Let me know if that is still unclear!

I ran black on the code. It has reformatted stuff in the modifications I did. But it still does not pass the test. Could the error be more verbose in order to understand what is goind on ?

Awesome, the tests seem to have all passed!! @rabernat Do you think we can merge this PR??

@lanougue As a minor final suggestion, do you think you could add a test that examines the phase? An example would be where you compare the dft and theoretical transforms as you already show in your PDF. I think this would highlight the significance of your edits.

@roxyboy , ok, I will try to implement a test with the theoretical result I used in the PDF

I added a test that checks if the phase is correctly preserved. It works as follow:  two identical signals are generated (same amplitude at the same coordinate).  On both signals, different random number of zeros are added on each sides. Then, their two dft are verified to be the same.
This test only checks for phase preservation. It does not check consistency with theoretical Fourier Transform. Testing that last point should be discussed (if feasible...)

@lanougue Maybe I'm misunderstanding something but couldn't we simply add numpy.assert_almostequal(xrft.dft(s2).real*dx, TF_s.real) and numpy.assert_almostequal(xrft.dft(s2).imag*dx, TF_s.imag) as you have at the end of your PDF example now that xrft takes care of the phasing?

Hi @roxyboy. Yes, we could do as you are suggesting but the check would be limited to this simple example. Taking care of the correct phase is

verifying that translating the coords support does not affect the dft (1st test already implemented)
An fftshift is applied prior passing to fft.  Does it have to be tested ? In my opinion, it's kind of basic code that sould not be changed

@lanougue  Perhaps we can add your PDF example in the documentation but actually seeing the results of dft and theory matching was convincing for me... Tests should be as simple as possible so I actually think your PDF example would be great for a test.

@roxyboy , @rabernat . I was thinking of some phase effects that could be undesirable for the users. For example, when the user compute cross-spectrum between two different signals (a functionality of xrft), having phase preserved in dft will result in: 1) the actual cross-spectrum phase but also 2) an additional phase that could come from the different coordinates support (lag between the signals coords range). The sum of this two phases is the true phase of cross-spectrum but could be undesirable if the user only cares about the first part (which was the default output at time)..
If we force the user to have preserved phase, he would have to mannually remove/change the coords of its two signals before computing the cross-spectrum. Something which could be annoying.
Thus, I would suggest to set a new argument in dft: "ignore_coords" which would be set to True by default. It would ensure a gentle transition between xrft versions (no changement in dft default behaviour mimicing np.fft) but will allow the user to carrefully take care of the coordinates if required.
Maybe, in the future, this argument could be passed to False by default depending on users feedback.
What do you think ?

@roxyboy , ok for the theory test, I will work on that

@lanougue I like your idea of the ignore_coords flag. We would need to explain carefully what it does in the docstring of dft.

I think "ignore_phase" even more confusing. There will always be a phase, even a wrong one. Ignoring phase would say, for me, that only magnitude would be considered.

Maybe preserve_phase = False could be the default to give the same behaviour as np.fft?

Yes, I like "preserve_phase" with default to False. I would just rename it

preserve_absolute_phase
preserve_full_phase
preserve_entire_phase
preserve_total_phase (my prefered)
What is your preference ?

I'm fine with preserve_total_phase.

"preserve_true_phase" or just "true_phase" is even better, don't you think ?

I feel putting true_phase would confuse the users who are just interested in the amplitudes as in the spectrum...

I think that users who only care about spectrum and amplitude won't see the difference since phase will vanish in both cases.
I definitely vote for true_phase ! :)
Maybe @rabernat could say.

Now, it should be all right. It works for uncentered coords and odd number of points (ifftshift VS fftshift stuff) and matches theoretical results in all cases.
I have also written code for idft which follows the same conventions and works like a charm (signal is well recovered when phase is preserved).
As soon as this PR is accepted, I will propose a new PR for the addition of idft.
 :)

Hi @lanougue -- I just pushed an update to your branch that shows how to parametrize the test for dask.
Looking more closely at your test, it looks like this test does not actually examine and verify the coordinates on the outputs of dft with true_phase=True. You only check the values of the results, not the coordinates.
The recommended way to do this would be to create a DataArray with the expected dimensions and coordinates and the use xarray's testing to assert the output DataArray (data AND coordinates) matches the expected.

Hi @rabernat and thanks for the update. What I understand about this testing philosophy is that I should create a deterministic example for which I KNOW the output. Then I hardly code this xarray in the test (or find a way to compute it) and compare it with dft output. In case dft output is modified in the future, this test will check is the phase continue to be preserved. Am I right ?
If so, I can modify the test to do so.

@lanougue I believe the procedure you described is right. You probably already know this (but just as a caveat as I myself have messed up git many times), you should probably git fetch and rebase @rabernat 's pushed branch and then add your edits to that branch and then push that again.

Oups, I just did "git pull origin phase_corrections". I am still learning git..
Modifications of @rabernat seems to have been taken into account.
What is the difference between this and fetch + rebase ?

What I understand about this testing philosophy is that I should create a deterministic example for which I KNOW the output. Then I hardly code this xarray in the test (or find a way to compute it) and compare it with dft output.

Yes this is exactly right. IIUC, that is what your existing test does for the values. But since true_phase also involves coordinates, it is important to explicitly test the coordinates as well. So you just need to update your test to also check that the coordinates are as expected.

@lanougue Based on what you described, it seems that you're making edits to your master branch, which is probably fine as you know already that your code works. So in this case, git pull should work just fine. But if you want to test out edits for example, I'd recommend making the edits in the future on a new branch and push that branch to origin. You generally don't want to edit your master branch as that can mess up the git status pretty quickly.

@rabernat
To comply  with your comment, I suppose we can just change the last line of test_true_phase_preservation() by xrt.assert_allclose(S1,S2). Is that ok ?
As it, this test will check the phase preservation by changing the coordinates of the input while not changing the signal amplitude and support.
Now, to verify that we actually get the expected output I suppose I can make another test.
As suggested by @roxyboy (in an earlier comment) this new test would be mixed with the theoretical Fourier Transform matching.

@lanougue numpy.testing won't assert the coordinates with xrt.assert_allclose(S1,S2). In addition to xrt.assert_allclose(S1.values,S2.values), you also want to assert xrt.assert_allclose(S1.coords, S2.coords)

Actually, xarray.testing also seems to test the coordinates so scrap what I just said...

I suppose we can just change the last line of test_true_phase_preservation() by xrt.assert_allclose(S1,S2). Is that ok ?

Yes this sounds right.

Now, to verify that we actually get the expected output I suppose I can make another test.

Since true_phase only affects the coordinates, I'm not sure this is necessary. We already have good tests for dft in general. But your suggestions are welcome here. The more comprehensive and thorough the tests, the better.

@rabernat. I don't understand your comment. true_phase option do not affect the coordinates. It uses coordinates of the input to evaluate the true phase of the dft output. Having true_phase = True or False do not change the output coordinates but changes the output values.
Talking about this, I think this PR passes all the tests because default behaviour of dft is with true_phase=False. For example, using true_phase = True as defualt would certainly make some test to fail. Especially the one when dft and np.fft values are compared.

true_phase option do not affect the coordinates.

Yes I see now that I was incorrect. Sorry for rushing through this review...
I think what confused me was the addition of the new _lag_coord function. This PR is somehow changing how we set coordinates on output data, not just for true_phase=True but for all outputs. So that is the part that needs to be tested.

_lag_coords just evaluate the mean lag of the input coords. It does not change the output coords. "lag" variable is only used to correct the dft. Coordinates output stay untouched in this PR

To be more clear:
1- When true_phase = False: This is the traditional old behaviour. Coords and complex amplitude of dft output are as they always were. lag variable is evaluated but not used at all.
2- When true_phase = True: Output coords are the same as they always were (same as true_phase=False). Only complex amplitude of dft output is changed

Hi @lanougue--thanks for clarifying and sorry for being slow to understand. What you say is now obvious from reading the code more carefully.

Ok, I added one more test that checks dft output when true_phase is set to True.
@roxyboy  : I think that checking dft output against theoretical expression is not feasible and not desirable. FFT will never be strictly equivalent to a Fourier Transform. It would be converging to FT only if sampling is infinitely small. Thus, I think we should restrict us to numerical to numerical comparisons.

@lanougue you can always loosen up the test by the rtol flag. I would prefer we keep the theoretical expression and loosen the test criteria.

Checks fails in that last commit do not seem to be linked to my update. Looking to details shows strange errors. @rabernat, @roxyboy , Can you have a look ?

@roxyboy ; ok, I will give a try. I think I can do a recurcive test that checks if it converges to the theoretical expression

I fixed the CI.

Here we are, I followed @roxyboy advice to make a test that checks the matching of dft with theoretical expression. As suggested, I had to decrease the absolute tolerance of xrt.assert_allclose() up to 1.e-3 to assert the matching. If we consider that this tolerance should have a lower value, we need to set a smaller spatial sampling (dx) to assert the matching again (which is the expected behaviour).
I think that atol = 1.e-3 is fine for this test.

Cool, I think we're ready to merge this PR! Thanks @lanougue and @rabernat for the edits!

Ok, fantastic. We are done here. Thanks for you patience as we got the tests rights.

Yes ! Thanks to both of you !


Add FastAPI, htmx, TailwindCSS Web App with Log Analytics template

Please fill out this template! There are three different types of contributions, feel free to delete the checklists that are not applicable to your contribution type.
If you are submitting a new azd template to the gallery
Fill this out if you want your template to be added to the awesome-azd gallery!

[ x ] Added an entry to https://github.com/Azure/awesome-azd/blob/main/website/src/data/users.tsx that includes:

[ x ] Template title - A short title that reflects the local application stack that someone could use to get their application on Azure (e.g. "Containerized React Web App with Java API and MongoDB")
[ x ] Description - 1-2 sentence description of the architecture (e.g. Azure services) or solution that is defined by the template.
[ x ] Architecture Diagram or Application Screenshot - Used as display image for gallery card. The image should include all services and their connections (example). You should add the image to the website/src/data/images/.
[ x ] Link to Author's GitHub or other relevant website - Used for attribution
[ x ] Author's Name -  Name to credit on the gallery card
[ x ] Link to template source - Link to the template GitHub repo
[ x ] Tags - One or more tags representing the template. Provide at least 1 tag for programming language used and at least 1 tag for Azure services integrated. Also tag the IaC provider (Bicep or Terraform). If you don't see a relevant tag for your template? Feel free to add one!

[ x ] In the PR comment, if you can also add a link to the PR where you made your repo azd compatible this will allow us to provide feedback on your template and speed up the review process.

No direct PR, but here's a link to the commit that added most of the stuff for azd with only one modification made afterwards on the uvicorn command.

@microsoft-github-policy-service agree

@rajeshkamal5050 let's get this tested!

hey @v-xuto can we test this?

@rajeshkamal5050 let's get this tested!

hey @v-xuto can we test this?

Sure. We will start testing this template https://github.com/tataraba/musicbinder-azd.

@rajeshkamal5050 We have completed the testing of this template and filed two issues https://github.com/tataraba/musicbinder-azd/issues/2 and https://github.com/tataraba/musicbinder-azd/issues/3. Please review.

@v-xuto @rajeshkamal5050
Both of the issues were resolved.

Converted repo to a template repo, so it should show the button as noted in the README
I was able to deploy using azd up locally, but it wasn't working from Codespaces. Changed the appCommandLine in the bicep file that included single (nested) quotes around the - character and changed to double quotes. I was able to successfully deploy locally and from within Codespaces.

Also, added a command in the Dockerfile (for Codespaces) to install the azd CLI.
Let me know if there's anything else.

I added comments here: https://github.com/tataraba/musicbinder-azd/commit/91d30c605708238e160b535e056e72f72da00f68

@jongio Made most of the changes recommended on the commit, with exception to using abbreviations.json. Can you advise if you'd like abbreviations added to main.bicep or if I should just remove abbreviations.json altogether to reduce complexity?

It is up to you to choose if you want to use abbreviations.json, we use it to help us be consistent across all our templates.  If you don't want to use it, that is fine.  But if you aren't going to use it, then I recommend removing it from your repo.

@jongio I added abbreviations.json support and merged to main. Let me know if that looks good or if anything needs to change.


Run client there is a error msg:"Unhandled Rejection (TypeError): Failed to fetch"

35 | var nav = new mapboxgl.NavigationControl();
36 | map.addControl(nav, this.state.matches?'bottom-right':'top-right');
37 |

38 | fetch('https://covid19-api.hackbotone.com/markers.geojson')
| ^  39 |     .then(response => response.json())
40 |     .then(data =>
41 |         map.once('load', function () {

I have created my own MAPBOX_ACCESS_TOKEN,
and changed BASE_URL to http://localhost:3000
but it doesn't work, hope someone can help. thanks

Having the same issue; I need help as well thank you!


Ports the /tg/ gas analyzer sprites

About the PR
Ports the gas analyzer sprites from /tg/.
Also adds inhands using the electronic state from /tg/ because I think they fit well enough for this.
Why / Balance
The current ones look completely out of place next to every other tool, are hard to identify at a glance as a gas analyzer, and are generally just boring as hell.
Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog
:cl: Flareguy, mirrorcult

tweak: Changed gas analyzer sprites.

@mirrorcult

the blue.. is so blue..

didn't mirror say they think these sprites suck

If i were to give my opinion about it, i really like the sprite and really dont like the colours/contrast. It stands out being too vibrant and the icon on the screen is not visible enough.

the blue could stand to be slightly less saturated, i do agree.

In my honest opinion, this version is lookin more out of place, rather old one.
Even its looking "boring", does this change anything? Like, its has one job, that it do perfectly.
It doesnt need tg/fication honestly.
Fan fact: tg/station stopped using that sprite and changed it to thing, that look modified radio from portal series. That doesnt make any sense ha.

Yeah, I don't love the replacement sprites. They don't fit in well

if there was one sprite I disliked from TG, it would be the gas analyzer sprite
i think it may work with some contrast tweaking; otherwise, :-1:

This looks like somebody ripped a static fixture from a pipe rather than an item people are supposed to hold in their hands.

mirror made this sprite for tg many moons ago

everyone bullying me for my sprite ability

we can certainly do better than this though im sure theres a better sprite somewhere

if a new sprite is needed why not reuse the shape it looks good

I dunn like it uuu... uuhghh...

The current ones look completely out of place next to every other tool, are hard to identify at a glance as a gas analyzer

Do you have your sprites backward because this perfectly describes the proposed replacement

@Flareguy
this isnt even what gas analyzers look like now on TG
port the latest sprite, its actually good

I think it's been collectively agreed that this sprite is far worse than the existing one. I'm closing this PR. If the @Flareguy wants, he can reopen it with a better sprite.


How to store a rust::Box<T> as a member of a C++ class

Hi!
First of all, thank you very much for your hard work on this library. I've been following it for some time, and now I think I'm ready to use it.
However, I've encountered a situation that I'm not sure how to handle.
I want to create a library in Rust, and call it from my C++ code.
The structure will be something like the following:
// MyThing.h
class MyThing {
public:
  MyThing(const std::string& name);
  ~MyThing();
  void greet() const;
private:
  rust::Box<RustThing> thingImpl;
}

// MyThing.cpp
MyThing::MyThing(const std::string&name) {
  thingImpl = create_thing_impl(name); // Call to Rust function
}

void MyThing::greet() const {
  thingImpl.greet();
}

The C compiler is complaining about rust::Box having a private constructor, as it's trying to call it for an automatic initialization. Is there a recommended way for doing that?

Indeed Box is not default constructible. There is no such thing as a null Box or empty Box.
You need to not default construct the box prior to entering the constructor body.
MyThing::MyThing(const std::string& name) : thingImpl(create_thing_impl(name)) {}

That worked, thanks!


Initially selected source has to have absolute URL

I initially had a snippet like this one:
<video id="vjs-video" class="video-js vjs-default-skin" width="640" height="360" preload="metadata" controls poster="static/video.jpg">
  <source src="static/video-1080.mp4" type='video/mp4' label='1080' selected='true' />
  <source src="static/video-720.mp4" type='video/mp4' label='720' />
</video>

When I would change the quality in the GUI, I'd get the following error in the console in Chrome (and the quality would not change):
video.min.js:12 VIDEOJS: ERROR: TypeError: Cannot set properties of undefined (setting 'selected')
    at b.<anonymous> (silvermine-videojs-quality-selector.js:3443:22)
    at a.dispatcher.a.dispatcher (video.min.js:12:12786)
    at ht (video.min.js:12:13782)
    at b.trigger (video.min.js:12:17775)
    at o.value (silvermine-videojs-quality-selector.js:3276:23)
    at o.handleClick_ (video.min.js:12:84197)
    at a.dispatcher.a.dispatcher (video.min.js:12:12786)

When I changed the src of the first, i.e., initially selected source, everything worked as expected. I guess that this is a bug?

Can replicate, this bug has started to appear in video.js 8.

@ingomueller-net or anyone else reading, there is a fix for this here: https://github.com/videojs/video.js/issues/8712#issuecomment-2183049154


python: can't open file 'gen_cls_embedding.py': [Errno 2] No such file or directory

I can't find gen_cls_embedding.py

Yep, I didn't find this file in the project either


Fixes for muse and CI updates

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

GitHub release
v1.0.2

Your semantic-release bot :package::rocket:


Provide logically addressed instr to COST-FUNCTION

cost-function expects the input instruction to be logically addressed, and it will perform the mapping in the current rewiring before handing the instruction off to expand-to-native-instructions.

Somehow this change made the CCNOT compilation benchmark much worse.

😬

Somehow this change made the CCNOT compilation benchmark much worse.

In time or quality of compilation?

In time or quality of compilation?

Quality: that's where the ❌ is coming from.

In time or quality of compilation?

Quality: that's where the ❌ is coming from.

CC❌


Remember sort option and direction

Fixes #1327

@Jaiganeshkumaran Would it be possible to store the layout setting as well?

There is a bug, when trying to open app first time after this patch.

This issue has been fixed.

@Jaiganeshkumaran Would it be possible to store the layout setting as well?

Isn't the layout mode stored already?


Make guests module standalone

FYI: I will soon need your attention, code review and criticism of this PR @johntaiko @Brechtpd @mratsim and others (you can suggest who else can review).
This is still an early, hard-coded draft version of the PoC, but it might be worth already taking a look at it and adding some comments/questions/suggestions if you have any. Please make sure to take a look into the source code of the binary file that runs in the SGX enclave:
https://github.com/johntaiko/zeth/blob/8ccb1aeef7a9c0fbf77e0ecf3ed8a44c94ad3319/guests/eth-block/src/main.rs
This PR allows the zeth host and guests modules to be run independently as standalone executables. Host binary fetches block data into *.tar.gz file (that holds json) using RPC (--rpc-url="https://rpc.internal.taiko.xyz/"). Guest binary is run in the SGX enclave against that *.tar.gz file, runs the block builder and produces a hash of the block header that is later signed with some random ECDSA private key.
I can imagine that this flow may still be far from production ready, so I appreciate any ideas/comments/concerns/questions.


Missing RE: Spell Effect: Inspire Heroics (Defense, +2/+3)

Unless I am mistaken, Inspire Heroics effects for Defense should also give the physical damage resistance that Inspire Defense gives.

#10310


chore: updated ubuntu images for integration tests as ubuntu-1804-lts is not available

/gcbrun

Since changes are just to examples, we don't need a patch release so marking as chore.


Implement functions to return associated context when fetching accounts.

When fetching accounts in production environments its important to have access to the rpc response context (ie slot) to make sure we're not ingesting/updating account data that is not from a previous slot. This PR implements functions to return associated context when fetching accounts.

seems like a pretty useful change if it allows access to the rpc context when fetching accounts (and not just when sending transactions)
Assuming this isn't a breaking change to any existing code since all the tests pass without alteration.
Also it doesn't seem like any tests were added to confirm this behaviour works but that seems ok in this instance?
Going to merge!


Yii2 when to start supporting php7

Php7 high performance is well known, did not know what started support.

Yii2 runs excellent on Php7 already, however full support for new methods & hinting & etc. is something for future releases. More info at #11397


Update release url for color-util.

The ros2-gbp release repository is already created and up-to-date from the creation of ROS 2 Iron.
No changes in the Rolling or Humble release artifacts have been made in either repository since. Which I verified via the following
git ls-remote -t origin > /tmp/origin.tags
git ls-remote -t ros2-gbp > /tmp/ros2-gbp.tags
diff -u /tmp/origin.tags /tmp/ros2-gbp.tags

That resulted in this diff
--- /tmp/origin.tags	2024-02-28 09:48:45.024768549 -0800
+++ /tmp/ros2-gbp.tags	2024-02-28 09:48:53.131686210 -0800
@@ -1,15 +1,19 @@
 3de5d5383751c49cb19a6a10cb76b8f10b594344	refs/tags/debian/ros-foxy-color-util_1.0.0-1_focal
 545f87fd511905938987b8f82438ebb3e06f8dd7	refs/tags/debian/ros-humble-color-util_1.0.0-1_bullseye
 14a541c17e82ffb125afa0628484db4af378b187	refs/tags/debian/ros-humble-color-util_1.0.0-1_jammy
+22d9dfc621042d61dea7fbdfa1f9100fc5f5356d	refs/tags/debian/ros-iron-color-util_1.0.0-3_bullseye
+3b63882c372a3f3c055113e673028e744eee2470	refs/tags/debian/ros-iron-color-util_1.0.0-3_jammy
 1ce28a72e73813e6481cfd796eeefae8765bd930	refs/tags/debian/ros-rolling-color-util_1.0.0-1_bullseye
 caff7d1eb24eaf7e142e755a2f89f502b4a1a85b	refs/tags/debian/ros-rolling-color-util_1.0.0-1_jammy
 73b4c6105a58bf95a9fc96059466b3765f8ae618	refs/tags/debian/ros-rolling-color-util_1.0.0-2_bullseye
 567ed35464793babeda2d3b03085adf59678cb09	refs/tags/debian/ros-rolling-color-util_1.0.0-2_jammy
 bec29130eb72aebbb75a4f135f051e7073b35882	refs/tags/release/foxy/color_util/1.0.0-1
 163eed6ac69bf51547ffc26a7c83201a69772601	refs/tags/release/humble/color_util/1.0.0-1
+e95230b6125246a7d311b9b0e6f8d9f996ecfd65	refs/tags/release/iron/color_util/1.0.0-3
 ee3a3ad97f2a59455d83fbe9f288333d28264d27	refs/tags/release/rolling/color_util/1.0.0-1
 07a7d9c0a680877ef04c2e35d31eea24a79e4d71	refs/tags/release/rolling/color_util/1.0.0-2
 8b9d0e581f68d5510bc5df0407fc87cbfb56edc8	refs/tags/rpm/ros-humble-color-util-1.0.0-1_8
+401ca408044776b2f4a262affcbc0408bcc0cf46	refs/tags/rpm/ros-iron-color-util-1.0.0-3_9
 2ce242976ef8956735d96258cce17f2944406ab1	refs/tags/rpm/ros-rolling-color-util-1.0.0-1_8
 9a9ca461ed2219f6961a17e6d33511dd825e65cd	refs/tags/rpm/ros-rolling-color-util-1.0.0-2_9
-6a51a9a1017b647c19c2274862d25051cc7dc513	refs/tags/upstream/1.0.0
+ed59e62c71fd4616e0c5e5726b7befa5f7ff577a	refs/tags/upstream/1.0.0

Which shows the additional Iron release artifacts and a spurious change to the upstream 1.0.0 tag which is a result of bloom's internal workings.
You could verify that these commits have the same contents with git cat-file commit ${COMMIT_ID} and see that the tree each commit points to is identical.

FYI @DLu @marcoag


DeviceN color introduced in 1.3, not 1.6

The ColorSpaceMap key has
fn:SinceVersion(1.6,DeviceNColorSpace)

DeviceN was introduced in 1.3 (32K2 <IP_ADDRESS>)- it was NChannel that was added in 1.6.
This will knock in into a few other tables, not least DeviceNColorSpace

Thanks! Fixed on "extensions" branch


Dark Mode support request

Great project, I love it!
Dark Mode will make it even better.

Dark mode support is not provided due to increased maintenance costs.


SAK-47229 Samigo > allow autosubmit to handle deleted quizzes and 'empty' submissions

https://sakaiproject.atlassian.net/browse/SAK-47229
Autosubmit occasionally fails to process submissions. One of the most common cases we encounter is that the quiz has been deleted (status = 2).
In practise we’re not really sure how this happens, because the UI will not allow a user to delete a quiz if it has even one submission (be it in progress, submitted, “invisible”, etc.). However, this remained the most common cause of autosubmit failures at our institution.
Regardless of how this situation arises, it’s rather trivial to add some support to handle this scenario.
The 2nd piece of this ticket deals with "empty" submissions. An "empty" submission is one where the student began a quiz, but made no progress (no questions were saved). In the event of a quiz that accepts multiple submissions, consider the following scenario:
Student takes quiz, receives perfect or near perfect

    This submission could have been manual, or via auto-submit (if via auto-submit, the quiz would have to have been closed and then reopened for further submissions prior to proceeding to the next step)

Student accidentally re-starts the quiz, realizes their error and aborts immediately after begging (either by logging out, or closing their browser after starting the quiz but making no progress)

This quiz now has 2 submissions for this user:

    The originally submitted

    The empty, non-submitted

Autosubmit runs again at quiz due/deadline, and the empty submission is forced through by the job

If this quiz is set to record either latest submission, or average submission, the student's grade will be adversely affected by the zero they receive for the "empty" submission

    This scenario can lead to inquiries by both student and instructor as to the discrepancy in grading

In order to address this potentially harmful scenario, we should:
for re-submission that are empty, do not auto-submit them

    use two dates, if it has only one date then it's "empty"

        We determine "empty" if it has an attempt date but submitted date is null

        Attempt date is populated as soon as student clicks "Begin"; submit date is populated as soon as student makes any progress (next, save, submit)

        So if there is an attempt date but no submit date, we can safely assume this is a student who began a quiz and did nothing (either walked away, or logged out immediately)

    set hasAutosubmitRun to true on these so they are removed from the queue for future job runs

    set status to something other than "In Progress" so that instructors do not question what they see in the UI

        we set it to status 5 (no submission), so that it doesn't confuse instructors in the UI

After re-opening a closed auto-submit quiz, the user who has an empty submission will be presented with the "Continue Assessment" button (rather than "Begin Assessment"), but in actuality they will not be continuing their "empty" submission from before: a new row is created for this subsequent attempt

** This means we don't have to worry about flipping the status of the "empty" submissions after auto submit has run and then the instructor re-opens the quiz

Cypress failure here looks unrelated:

can grade an essay question by rubric

Likely from the rubrics refactor yesterday


⚠ Processors has degraded performance

In a65887c, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 45 ms

Resolved: Processors performance has improved in a817bc4.


Unable to get push.js to work

Any links in my pages that should be redirecting with push.js are unresponsive. To confirm this I put data-ignore="push" in all my anchor tags and then they work just fine (albeit a little slower). The documentation at goratchet.com indicates that push.js should just intercept all my anchor tags and it doesn't look like I have to do much of anything extra beyond making sure that all the pages involved follow the basic template for a ratchet page. Is there something that I'm missing?

If the Android device has a USB OTG port, a USB mouse can be attached to the device using a microUSB-to-USB connector such as the following:

Should push.js (and therefore Ratchet) support clicks of such a mouse? Or are they automatically converted to touch events by the system (Android)?

It's very easy to convert clicks to touches and vise versa in javascript, and since this is a moble targeted app, specifically targets at the iPhone UI, there is no reason for push.js to fire on click. If your website will not be used on mobile you can change touchend in push.js to click