HTTP 202, wrong description

There seems a small bug in the description of the sequence diagram
For every successful call to the status endpoint, it returns HTTP 202.
Should be
For every successful call to the status endpoint, it returns HTTP 200.
The mention of HTTP 202, continues in other text blocks as well.

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

ID: 6fea460c-4fac-723f-8df4-9d0811855a68
Version Independent ID: 4be364ca-aee7-7b49-13e1-3a94408ed7b9
Content: Asynchronous Request-Reply Pattern - Azure Architecture Center
Content Source: docs/patterns/async-request-reply.md
Service: architecture-center
Sub-service: design-pattern
GitHub Login: @WillEastbury
Microsoft Alias: wieastbu

@morten-nielsen Thank you for your feedback . We will check this with the content team and update on the same.

@morten-nielsen Actually, I believe the 202 is the correct response here. The sequence diagram is in the wrong here.
While the backend processing is in progress, a 202 is what is expected since it signals the client to keep polling. When processing is complete, one of the following behaviors could be implemented

Return a 200 response with the required response
Return a 202 with a location header pointing to an endpoint that will return the required response
Return a 302 redirecting the client to the endpoint that will return the required response

Hope that clears things up. We are assigning this issue to the content author to update the sequence diagram and any of the descriptions as required.

You are right @PramodValavala-MSFT it looks like 202 can be used like that, here is part of the description from ietf.
The representation sent with this response ought to describe the request's current status and point to (or embed) a status monitor that can provide the user with an estimate of when the request will be fulfilled.

The response from the original resource should return a 202, and point to a status resource.
When polled the status resource should return a 200 OK, as the resource being polled represents the status resource. Hence the diagram should be updated.
The text was updated recently in a customer-led PR, but the diagram was not.
Sent from Outlookhttp://aka.ms/weboutlook
From: 9elsen @.>
Sent: 17 January 2022 08:13
To: MicrosoftDocs/architecture-center @.>
Cc: Will Eastbury @.>; Assign @.>
Subject: Re: [MicrosoftDocs/architecture-center] HTTP 202, wrong description (Issue #3256)
You are right @PramodValavala-MSFThttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FPramodValavala-MSFT&data=04|01|william.eastbury%40microsoft.com|507f9ae848f044a2eaf608d9d99122cf|72f988bf86f141af91ab2d7cd011db47|1|0|637780039661538125|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=8vH9p0DqvDOac6bc3061h5WdK4VXqh1XbmohmObYIU4%3D&reserved=0 it looks like 202 can be used like that, here is part of the description from ietf.
The representation sent with this response ought to describe the request's current status and point to (or embed) a status monitor that can provide the user with an estimate of when the request will be fulfilled.

Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Farchitecture-center%2Fissues%2F3256%23issuecomment-1014245394&data=04|01|william.eastbury%40microsoft.com|507f9ae848f044a2eaf608d9d99122cf|72f988bf86f141af91ab2d7cd011db47|1|0|637780039661538125|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=8R4h1KrLboTGKskiOlKxuGbDsJuD85s3c1Il%2FJW1JQU%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FACTAZ3XQ7BDKNTSMJCGSN5DUWPFPVANCNFSM5L6OFJSA&data=04|01|william.eastbury%40microsoft.com|507f9ae848f044a2eaf608d9d99122cf|72f988bf86f141af91ab2d7cd011db47|1|0|637780039661538125|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=nqLWEXWj%2FIkfeolJJGn3gGSgSM4IiWDy3oxcQUUu5Gk%3D&reserved=0.
Triage notifications on the go with GitHub Mobile for iOShttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04|01|william.eastbury%40microsoft.com|507f9ae848f044a2eaf608d9d99122cf|72f988bf86f141af91ab2d7cd011db47|1|0|637780039661538125|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=yE3GC2YMHYufssXeZMxWjV1EXlVfMZ1poopgDvkNfqA%3D&reserved=0 or Androidhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04|01|william.eastbury%40microsoft.com|507f9ae848f044a2eaf608d9d99122cf|72f988bf86f141af91ab2d7cd011db47|1|0|637780039661538125|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=5PO6HiOSaPjcgAgrkeTZ11cxRnJjjBNnzpslRZS9%2Fu4%3D&reserved=0.
You are receiving this because you were assigned.Message ID: @.***>

This issue duplicates #3396, we're working on an update under that issue. #please-close


RFC: Fleshing out Core Security

Problem:
In this RFC I'll be proposing some changes to core security to make it more streamlined.
Duration:
3 months.
Background:
The Core Security section was provisionally added to the curriculum and then made permanent to fill the needs of the curriculum. Not enough feedback was received presumably because not enough learners finished core security.
I finished the first two courses of Secure coding specialization in core security, some of the third one, and skimmed the 4th one (the third and fourth have a lot of repeat material from the first two).
Aside from the Secure coding specialization, the course Cybersecurity Fundamentals is too long (80-96 hours) and covers material that aren't needed in the core section.
The first two courses of the Secure Coding Specialization:
Principles of Secure Coding
Identifying Security Vulnerabilities
Cover most of the topis we need to cover in IAS/Foundational Concepts in Security, IAS/Principles of Secure Design, IAS/Defensive Programming. They also cover about half of the IAS/Cryptography section, and 70% of the IAS/Web Security (elective) section.
As such, they fulfill the requirements of what we need in core security.
There are a few holes left to be filled in the CS2013 specification, for which we need to take some sections from the the third course of the Secure Coding Specialization (specifically week 3 lesson 8 on race conditions, and week 4 lesson 9 on psuedo random numbers).
For a few basic concepts of security, we need to include Security Governance & Compliance (a short 9 hour course which took me about 6 hours) to cover "CIA (Confidentiality, Integrity, Availability)" and "Concepts of risk, threats, vulnerabilities, and attack vectors" in depth.
In the images below, you'll see the CS2013 requirements and which courses cover those.

We also cover in a whole bunch of elective topics in SE/Software Design and SE/Software Construction:

As such, these three courses cover the topic of core security well:
Principles of Secure Coding
Identifying Security Vulnerabilities
Security Governance & Compliance
Identifying Security Vulnerabilities in C/C++Programming - lesson 8 and lesson 9 only
Proposal:

Remove Cybersecurity Fundamentals from the curriculum. SEE FIRST COMMENT
Remove Exploiting and Securing Vulnerabilities in Java Applications from core security.
Limit Identifying Security Vulnerabilities in C/C++Programming to lesson 8 and lesson 9 only and make it mandatory.

The prerequisites need to be "Core Programming, Databases, and Networking"
Core programming because there is code, databases for the SQL injection material, and Networking because most of the second course is about networking security.

I see #1055 is already open talking about removing Cybersecurity Fundamentals from the course.
In this comment I'll cover what the course covers so an informed decision can be made. I'll update this comment every week as the new material is released until the audit access expires (the course costs 400 USD (= 0.022 BTC) for full access which means most OSSU students will only be able to do the material released until the audit expiry date).
In bold I will mark the topics that were not covered in:
Principles of Secure Coding
Identifying Security Vulnerabilities
Security Governance & Compliance
Identifying Security Vulnerabilities in C/C++Programming - week 3 and week 4 first half only
Week 1:
Time taken for main material: 45 minutes
Topics covered: What is cybersecurity, vulnerabilities, examples of breaches, hackers and their motivations, ransomware.

I finished cybersecurity fundamentals recently. It does NOT take close to 80 hours to do for the most part. Each week of 1-4 can be done in less than an hour, just watched the video content and do a total of like 10 very easy basic questions. Even the video content is very short. The content ramps up in week 5 I believe when networking is introduced, the pre-readings for that are where the bulk of the hours go I believe. After a bit of reading I realised it was too much and decided to just watch the videos, and as expected I was just fine. There was little correlation between pre-readings and video content. I'd say at most (and this is a large overestimate) the course took me around 20 hours.

With only 1 response received and that the case for this RFC being strong - if the academic maintainer @waciumawanjohi agrees with these changes, I am of the opinion that the changes should be made.

After a bit of reading I realised it was too much and decided to just watch the videos

From the first 3 weeks that I did complete, I found that most of the learning material was in the readings. The videos were almost summaries of summaries (20-30 minutes per week).
The readings had all the details, examples, and how things worked. I'm not sure if I will call the course completed without the readings as they seemed to form an integral part of the course.

@riceeatingmachine let's get these changes into the curriculum! Can you open a PR that carries out your suggestions from above?


Multiple colors required for default_colors()

I'm using group to specify the variables used in my tooltips like so
mtcars %>% dimple(x = "wt", y = "mpg", group = "hp")
I'd like to set all the bubbles to have the same color, but it looks like default_colors() requires multiple values.
mtcars %>% dimple(x = "wt", y = "mpg", group = "hp") %>% default_colors("red")
I can fix this by doing the following, but is there a better fix?
mtcars %>% dimple(x = "wt", y = "mpg", group = "hp") %>% default_colors(c("red", "red"))
> devtools::session_info()
Session info ------------------------------------------------------------------------------------------------------
 setting  value
 version  R version 3.1.3 (2015-03-09)
 system   x86_64, mingw32
 ui       RStudio (0.99.473)
 language (EN)
 collate  English_United States.1252
 tz       America/New_York

Packages ----------------------------------------------------------------------------------------------------------
 package     * version date       source
 devtools    * 1.7.0   2015-01-17 CRAN (R 3.1.3)
 digest      * 0.6.8   2014-12-31 CRAN (R 3.1.3)
 htmltools     0.2.6   2014-09-08 CRAN (R 3.1.3)
 htmlwidgets   0.5.1   2015-09-16 Github (ramnathv/htmlwidgets@3a2e312)
 lattice     * 0.20-30 2015-02-22 CRAN (R 3.1.3)
 magrittr    * 1.5     2014-11-22 CRAN (R 3.1.3)
 rcdimple      0.1     2015-08-18 Github (timelyportfolio/rcdimple@29e9795)
 rstudioapi  * 0.3.1   2015-09-16 Github (rstudio/rstudioapi@d0417a9)

Nope, that looks like a bug.  Thought I had worked all these out.  Will fix in the next couple of minutes.

Well that was quick!  Thanks.


SwScaler Convert used dst.Height instead of InputFormat.Height

first of all, great work, very nice project, appreciate!
I find this bug, when I downscale a raw bitmap to half size
https://github.com/dubiousconst282/FFmpegWrapper/blob/7758e5434be46201c02d189ae1da6df70e833846/FFmpegWrapper/SwScaler.cs#L71
this line should be
ffmpeg.sws_scale(Handle, new[] { pSrc }, new[] { stride }, 0, InputFormat.Height, dst.Handle->data, dst.Handle->linesize).CheckError();

Thanks, I've pushed a new release with the fix and an overdue update to FFmpeg 7.0.


Why cannot I select dotnet 2.1 in VS?

In New ASP.NET Core, I can only see "ASP.NET Core 2.0".
In VS Installer, I cannot see ASP.NET Core 2.1.
dotnet --version returns 2.1.200-preview-007474.
How to use 2.1?

The issue is resolved when I uninstall VS 2017 and only leave VS 2017 Preview 2.


Confusing about the book content page 84

Hi Jon,
I love your book and the way that you explained is easy to me to understand. However, there is a concern I still need to confirm. In the page 84 of the book, there is a sentence :
Also, the Find method isn’t affected by a model-level filter.
So what you means is we can actually get the soft-deleted item by using Find method? Can you share any resource that mentioned about it?
Thank you very much.

Hi @LeTranAnhVu
That's a mistake! Sorry about that. The Query Filters are very secure and Find doesn't break that. Sorry about that. You can find a unit test on Query filter in the repo for the 2nd edition of my book.
You might like my article EF Core In depth – Soft deleting data with Global Query Filters which digs into the Query Filter in more depth.

Hi @LeTranAnhVu
That's a mistake! Sorry about that. The Query Filters are very secure and Find doesn't break that. Sorry about that. You can find a unit test on Query filter in the repo for the 2nd edition of my book.
You might like my article EF Core In depth – Soft deleting data with Global Query Filters which digs into the Query Filter in more depth.


Preselect correct row in Extension Log Level quickpick (fix #194515)

This PR fixes #194515

Thanks for approving. Please merge at your convenience.


Tracking image/link isn't added to new mails

Hi,
I configured the TrackingFeature and the Fastserver.
Both seem to work fine:
track.my.domain - CNAME configured correctly - SSL disabled
http://track.my.domain returns "Hello." in my browser.
Track Loads and Track Clicks is set to on.
But my test mails sent via smtp and via web interface both don't contain tracking information.
Thx
Patralos

Are you using plain text or HTML emails, or both?

It tried both of them, html and plain.

Yes i need it.

This is likely a configuration issue. I have tested this myself and there are no other reports of it not working.

I am not able to get ONLY open tracking work. If I send an email with tracking URL, and user clicks on this URL, then Postal shows as Opened.
What about emails without any URL's? Can't we track normal email open? Tried both plain text and Html emails.

If you have tracking enabled and your email contains a HTML part, Postal will insert a tracking image at the end of it.
If your email client blocks images initially (i.e. Outlook) then it will not be detected as open until the recipient loads the images (or presumably clicks on any link)

Nope. No luck. Sent HTML emails but simple open tracking does NOT work.
Same settings and when URL is added to HTML email and clicked by user, Postal shows as Opened.
I myself tested it with recipient email on Gmail/Yahoo.

Can you see the source of the messages and an ampimg element at the bottom of the message?

Can't see any ampimg element.

So if you are getting click tracking but not open tracking it sounds like everything is correct except for the settings. Check your tracking domain settings and make sure both are set to "Yes":

It might also be worth setting them to "No", saving, and setting them to "Yes" again.

Setting to "No" and then "yes" seems to have done the job.

I don't understand what can I doing these I need detail explanations

@TadiNate I suggest you open a new issue with a description of what problems you are experiencing


Coordination: Upgrade to PHP 8.1 - 8.3 and PHPUnit 10

This is what I think must be done:

[x] Add PHP 8.3 to the CI of the track and allow it to fail #656
[x] Add PHPUnit 10 to the CI of the track and allow it to fail #656
[x] Fix the problems that occur with PHP 8.3 and PHPUnit 10 #656
[ ] Prepare the PHP test-runner to upgrade to PHP 8.3 / PHPUnit10. Use XDEBUG_MODE=off for performance reasons. https://github.com/exercism/php-test-runner/pull/100
[ ] Prepare the PHP representer to upgrade to PHP 8.3. Use XDEBUG_MODE=off for performance reasons
[ ] Do the actual switch to PHP 8.1 - 8.3 and PHPUnit 10 as the production versions (including the test runner and representer). Also update student facing documentation.
[ ] Remove PHP 8.0 / PHPUnit 9 from CI
[ ] Update test generator to produce attributes not annotations
[ ] Convert tests from annotations to attributes. Use rector/rector for that.

In the whole process, try to avoid re-running the representer and not to trigger re-testing all community solutions. These are very costly to Exercism.

I can look into the first 3 and group them in one PR on of the next days.

I don't know if it belongs in this to-do list, but still some exercises, probably older ones, have snake cases in the Stub files. I would prefer having them using camel case too, like the standard is today.
E.g. the https://github.com/exercism/php/blob/main/exercises/concept/lasagna/Lasagna.php

I haven't written documentation on this, yet: We use snake_case for functions, camelCase for methods and PascalCase for classes.


279 add new method getroibyid on roimapmanager

In general, please take the time to write a pull request description in English (do not use the default one based on the branch name)


Storage: Fixed typo in lvm.thinpool setting, adds patch to convert to lvm.thinpool_name as node specific key

lxd/db/storage_pools.go:
renamed 'lvm.thinpool' to 'lvm.thinpool_name'
lxd/patches.go
created a patch to rename existing, incorrectly set configs from the typo
Signed-off-by: Andrew Deng<EMAIL_ADDRESS>

This pull request didn't trigger Jenkins as its author isn't in the whitelist.
An organization member must perform one of the following:

To have this branch tested by Jenkins, use the "ok to test" command.
To have a one time test done, use the "test this please" command.

Those commands are simple Github comments of the format: "jenkins: COMMAND"

Left a few initial comments. I'm off tomorrow but @tomponline may be able to help with a more complete review.

@AndrewElvisDeng I've tweaked the PR title to be a bit more descriptive also.

@tomponline We've made the fixes you've requested, but we're struggling to figure out how to change the config file values specifically to recreate the original bug. Can you point us in the right direction?

Thanks for the prompt responses! We're fixing everything as you put it up!

Thanks!
I just happened to be around. It's just our usual list of nitpicks and code styling really :)

Ran into too many git issues: re-forked and created new pull request: #8039 . Closing this PR


Add running StackSchool data to archive

Changes
Added current StackSchool data onto the archive, in line with wanting to turn archive into a "running" archive.
Type of change

[X] Content Update (non-breaking change which updates the content of the website)

Related Issues
#371

Requesting StackSchool directors for content review (tags, correct information, etc.).


Feature; Post-test Event => generate report

I would like to propose an new feature, somewhere in configuration from NUnit there should one Tab with "post-test event". Post-test event shell be executed after NUnit test is done like calling some scrips (which in turn can call NUnitResults to generate HTML report or some other application e.g. something is done with test results-so put under ClerCase or reconfiguration of Device Under Test so that some other tool can start usin DUT since NUnit is done... ).
From https://bugs.launchpad.net/nunit-3.0/+bug/488396

I think "pre-test event" would be useful too.
For exmple, it would be useful for running build script for solution that should be tested (the script biulds the latest version of solution before running NUnit tests).

The is what build servers are (ccnet or jenkins). You could also do it with a simple batchscript.
Also I think it is more natural to have tests as part of the build process - but it is not natural to build as part of the test process. That is why you have 3rd party test runners in Visual Studio.

I think generating test reports (the original idea in this issue) is within the scope of NUnit and we have added some facilities to do that with 3.0. I think that running the build first is outside of nunit's job.

"running build script" is just an example of "pre-test event".
I think there would be some other ways to use pre-test event (creating folder for test results, copying build with tests from server to local folder).

@CharliePoole That might be useful - but should such things be restricted to the GUI? Or should it be handled by the runner? (both pre- and post-events)

@iCodeIT Yes, the job of the gui would be to give access to the facility, presumably an extension to the engine. If we decided to move ahead with this, we would make it depend on an issue in NUnit itself.
I relabeled this as an idea, since we are not actually committed to doing it. It's an old issue, from before we had the idea of ideas. ;-)
BTW, please note that I didn't really originate this one. I just typed it in from an old issue on Launchpad.


Add citation information to the project

Is your feature request related to a problem? Please describe.
It would be nice to have a way to point QDK users to a way to cite the QDK in their work. We mention some of the papers describing parts of the QDK in the code, but it's good to make connections like this explicit.
Describe the solution you'd like
From browsing GitHub documentation and some example repositories, there are a couple of options we can choose from:

Simple CITATION.cff file with the information about the repo itself, similar to the information we had at https://github.com/microsoft/qsharp-language/blob/main/CITATIONS.bib. (This will produce the "Cite this repository" link in the right sidebar)
CITATION.cff file with the information about the repo itself + references section that can list additional papers we published.
Simple CITATION.cff file with the information about the repo itself + "Cite this project" sections in the root readme and the readme in resource_estimator folder giving Bibtex for the citations we want used for citing the whole project vs just the resource estimator.

My personal favorite is option 3, it gives us both a link in the sidebar with a simple bibtex entry that can be copy-pasted and an explicit bibtex for specific sections of the projects.
Here's the list of papers I think make sense as citation material (in addition to this repository itself):

The original Q# paper https://scholar.google.com/citations?view_op=view_citation&hl=en&user=e5wgoO0AAAAJ&citation_for_view=e5wgoO0AAAAJ:9yKSN-GCB0IC
The underlying paper for resource estimator https://arxiv.org/abs/2211.07629
The documentation paper about resource estimator https://scholar.google.com/citations?view_op=view_citation&hl=en&user=e5wgoO0AAAAJ&citation_for_view=e5wgoO0AAAAJ:YsMSGLbcyi4C

Thoughts? Suggestions? Additional papers we have that I missed?

I agree with the recommendation of option 3 above. I think it matches our goals of providing more granular citation opportunities for components like the resource estimator while still making it easy to use the top-level citation infrastructure of GitHub.
Thanks for itemizing this for us, Mariia!


fix: fix invalid query selector

Summary

Closes: #845

I'm still seeing the error in console

Wait, this not working yet

Fixed, description updated to reflect what this PR is fixing


v2 pay modal use of ENS as beneficiary doesn't work

Summary
Use of ENS as beneficiary doesn't validate properly

Steps to reproduce
Type ENS
Attempt to pay
What is the current bug behavior?
What is the expected correct behavior?
Relevant logs and/or screenshots
Environment

Device/OS: [e.g. iOS]
Browser: [e.g. chrome, safari]
Hardware wallet: [e.g. Ledger w/ Metamask]

Think this is solved now. Pls reopen if not


Images not showing

Hello,
I am using Rotating 1.6.1 and images are rendered correctly on the server with IIS 8.5, as below:

However, when publishing to a server with IIS 10 the images are not displayed. These images are generated from the database:

In this server images are generated only when we use a physical path in the image, and this is not our scenario. The images are loaded from the database.
We tried different solutions, but we did not succeed.

I got the same problem, I'm using 1.7.3 version

Are you using boosttrap? Maybe the media query is different length between them


Issues with swiftDialog 2.5.3 Beta 1 when run from Shortcuts or Apple Script

A clear and concise description of what the bug is.
I use swiftDialog extensively in shortcuts and AppleScripts, and I encountered no issues with swiftDialog 2.5.2. I installed swiftDialog 2.5.3 Beta 1 and most of my AppleScripts and shortcuts stopped working. No error messages were issued--the AppleScripts and shortcuts simply did not show a dialog. I went back to swiftDialog 2.5.2 and the AppleScripts and shortcuts all worked. I once again installed swiftDialog 2.5.3 Beta 1, and the AppleScripts and shortcuts did not work.
To Reproduce
Copy the following AppleScript into Script Editor and run:
do shell script "/usr/local/bin/dialog --title none --message 'The computer will sleep in 10 seconds' --messagefont 'size=14' --button1text 'Sleep' --button2text 'Cancel' --width 350 --height 90 --hideicon --timer 10 --messageposition bottom"

Expected behavior
A dialog should be shown.
Screenshots
N/A
Desktop (please complete the following information):

macOS version 15.0.1
see above regarding swiftDialog versions

Additional context
With swiftDialog 2.5.3 Beta installed, the following worked when run in Script Editor, so perhaps there's an issue with the syntax of my AppleScripts and shortcuts that fail (although it's odd that they worked before).
do shell script "/usr/local/bin/dialog --title 'Test Title' --message 'Test Title'"

I've been testing my Shortcuts this morning, and I'm also seeing issues.
For me, the problem seems to be present in dialog windows which include --ontop, but not every window that includes --ontop
Example:
#!/bin/zsh --no-rcs
# shellcheck shell=bash
#set -x

dialogOutput=$(/usr/local/bin/dialog \
--title "Some Shortcut" \
--message "Instructions." \
--height 200 \
--width 400 \
--messagefont size=16 \
--titlefont size=20 \
--textfield prompt="Prompt",regex="^[0-9]+$",regexerror="Numbers Only" \
--icon none \
--button2text "Cancel" \
--infobuttontext "InfoButton" \
2> /dev/null
)
true

^^ This works fine when put into a Shortcut, but if i add a line with --ontop it fails and never shows the dialog window, instead that section of the Shortcut stays green (as though Dialog is waiting for input) but the window never appears

To further complicate things, it seems to behave differently depending on where in the command --ontop is used.

Can confirm that this isn't isolated to using Dialog in Shortcuts or Apple Script, I'm able to reproduce the issue running from Terminal as well as running via Baseline (script launched from LaunchDaemon). It's failing to display the dialog window, with no errors specific to this cause. If I remote --ontop from the command, the window will draw. If I then subsequently run the script with --ontop added back in it will sometimes draw the window and sometimes not.
Tested with this in Terminal and run from launchd:
#!/bin/zsh --no-rcs
# shellcheck shell=bash
set -x
/usr/local/bin/dialog \
    --title 'Hi, Qwerty Yuiop' \
    --message 'Is **Qwerty** the name of the person using this computer?' \
    --button1text 'Yes, use that name.' \
    --button2text 'No, use a different name.' \
    --icon '/System/Applications/App Store.app' \
    --buttonstyle stack \
    --centericon \
    --messagealignment center \
    --quitkey ']' \
    --width 380 \
    --ontop

I tested swiftDialog 2.5.3 Beta 2 with a number of AppleScripts and shortcuts which did not work with Beta 1, and everything works fine now. Thanks!


⚠ Pihole-KA has degraded performance

In e2a33d3, Pihole-KA ($URL_PIHOLE_MERZ_NIMBUS) experienced degraded performance:

HTTP code: 200
Response time: 4381 ms

Resolved: Pihole-KA performance has improved in 2e61905.

Resolved: Pihole-KA performance has improved in 2e61905.


Flow runs bar chart popover cutoff by table

There's an overflow/stacking issue with the flow runs bar chart popover (flow-runs-bar-chart__pop-over) from within the Deployments table.
See in the below screenshot that with a few deployments, the popover when hovering over the flow runs bars is completely hidden.

[!Note]
the pink line is added for visual effect and not a part of normal behavior.

The Deployments table (via p-table) has overflow: hidden and this popover doesn't portal out so it gets hidden.

Referenced in Community: https://prefect-community.slack.com/archives/C0192RWGJQH/p1717891820849509


Fix generated parquet filename

Description
The current parquet filename is appended with partition values, e.g. part-0000-xxxx-c000.snappy.parquet/part1=value1/part2=value2. Seems it doesn't follow existing conventions as part1=value1/part2=value2/... .
Related Issue(s)

Documentation

@viirya looks like there are minor formatting errors: https://github.com/delta-io/delta-rs/pull/291/checks?check_run_id=2815237004, could you format the code with https://github.com/rust-lang/rustfmt?

Thanks @houqp. Fixed the format.

Oh, seems the test fails on windows because of path separator. I will fix it.

Turns out our auto merge setting allows merge with broken windows CI. can't tell if that's a feature or a bug :)


NPM is not needed to run Azurite with Visual Studio

Hello there!
My team owns the Azure Functions experience in Visual Studio. The step in this article that requires NPM to be installed is not required for Visual Studio. Customers don't need to do anything, it just works out of the box when they debug (F5) their apps.
Thank you
Angelos

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

ID: 12fa98d9-0901-84c7-f144-e89d9b7c036d
Version Independent ID: db1fe92d-d22b-8a32-7061-d7960f41311e
Content: Use Azurite emulator for local Azure Storage development
Content Source: articles/storage/common/storage-use-azurite.md
Service: storage
Sub-service: common
GitHub Login: @normesta
Microsoft Alias: normesta

Thanks @AngelosP ! The article has been updated to better reflect that the NPM step is for versions before VS 2022.
#please-close


[Bug]: Apple complains about the need for NSLocationAlwaysAndWhenInUseUsageDescription

Please check the following before submitting a new issue.

[X] I have searched the existing issues.
[X] I have carefully read the documentation and verified I have added the required platform specific configuration.

Please select affected platform(s)

[ ] Android
[X] iOS
[ ] Linux
[ ] macOS
[ ] Web
[ ] Windows

Steps to reproduce
I have the NSLocationWhenInUseUsageDescription set, and don't want/expect my user to grant 'always' permission, so I have not set NSLocationAlwaysAndWhenInUseUsageDescription.
Expected results
No issue with Apple submission
Actual results
Apple rejects the app, because the plugin code in PermissionHandler.m line 76 contains a reference to the 'always' authorization [locationManager requestAlwaysAuthorization];, even though I never request that (because NSLocationAlwaysAndWhenInUseUsageDescription is not set).
You may have to implement an approach where users add a compile constant to the PodFile that allows you to conditionally compile the request for 'always' authorization (using #if, not if).  If it's not compiled, Apple won't complain.
See here for how I've done this for a plugin I maintain. (commit)
Code sample
N/A
Screenshots or video
No response
Version
10.1.0
Flutter Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.16.5, on macOS 14.2.1 23C71 darwin-arm64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.1)
[✓] Connected device (4 available)
[✓] Network resources
• No issues found!

Dear @781flyingdutchman,
Thanks for your input. I'll label this issue as an enhancement to keep track of it.
Kind regards,

I've submitted a PR for this

Solved in PR #1404, thanks @781flyingdutchman.

@mvanbeusekom  The current library version does not address this issue. I encounter it consistently whenever attempting to release the app to the app store. So far, I've attempted to clean the Flutter project and have followed the two solutions outlined in the official library documentation, yet to no avail. This roadblock is hindering me from releasing the app on the Play Store. Your assistance in resolving this matter would be greatly appreciated. Please Help.
1 --> f you don't need to receive updates when your app is in the background, then add a compiler flag as follows: in XCode, click on Pods, choose the Target 'geolocator_apple', choose Build Settings, in the search box look for 'Preprocessor Macros' then add the BYPASS_PERMISSION_LOCATION_ALWAYS=1 flag. Setting this flag prevents your app from requiring the NSLocationAlwaysAndWhenInUseUsageDescription entry in Info.plist, and avoids questions from Apple when submitting your app.
2 -->
post_install do |installer|
installer.pods_project.targets.each do |target|
if target.name == "geolocator_apple"
target.build_configurations.each do |config|
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= ['$(inherited)', 'BYPASS_PERMISSION_LOCATION_ALWAYS=1']
end
end
end
end
ITMS-90683: Missing purpose string in Info.plist - Your app’s code references one or more APIs that access sensitive user data, or the app has one or more entitlements that permit such access. The Info.plist file for the “Runner.app” bundle should contain a NSLocationAlwaysAndWhenInUseUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. If you’re using external libraries or SDKs, they may reference APIs that require a purpose string. While your app might not use these APIs, a purpose string is still required. For details, visit: https://developer.apple.com/documentation/uikit/protecting_the_user_s_privacy/requesting_access_to_protected_resources.

That is strange: the use of compiler flags ensures that the code containing references to the API for background location is skipped (not compiled) so it does not appear in the binary that you submit to Apple. The fact that you get this response still from Apple suggests that the flag is not set correctly (by default, the code containing the API reference is compiled).
As I mentioned to @mvanbeusekom the structure of the plugin makes it difficult for me to test, but what I can say is that if the flag is set correctly, then the code that references the sensitive API should show 'dimmed' in Xcode.  Perhaps you can check if that's the case for you @yogeshelevn : the file is https://github.com/Baseflow/flutter-geolocator/blob/main/geolocator_apple/ios/Classes/Handlers/PermissionHandler.m, so find that file in your XCode project, and the lines that should show dimmed are 76-78 and 95-104. If they don't show dimmed after you have set the flag manually, then somehow you have not set the flag correctly!

@781flyingdutchman  I checked in my xcode project. line number from 76-78, 95-104 is dimmed as you mentioned still I am getting the issue. This is my PodFile and please do let me lnow it is correct or not.
Uncomment this line to define a global platform for your project
platform :ios, '11.0'
platform :ios, '14.0'
CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
project 'Runner', {
'Debug' => :debug,
'Profile' => :release,
'Release' => :release
}
def flutter_root
generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), FILE)
unless File.exist?(generated_xcode_build_settings_path)
raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
end
File.foreach(generated_xcode_build_settings_path) do |line|
matches = line.match(/FLUTTER_ROOT=(.*)/)
return matches[1].strip if matches
end
raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
end
require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)
flutter_ios_podfile_setup
target 'Runner' do
use_frameworks!
use_modular_headers!
flutter_install_all_ios_pods File.dirname(File.realpath(FILE))
target 'RunnerTests' do
inherit! :search_paths
end
end
post_install do |installer|
installer.pods_project.targets.each do |target|
if target.name == "geolocator_apple"
target.build_configurations.each do |config|
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= ['$(inherited)', 'BYPASS_PERMISSION_LOCATION_ALWAYS=1']
end
end
end
end
post_install do |installer|
installer.pods_project.targets.each do |target|
flutter_additional_ios_build_settings(target)
if target.name == "geolocator_apple"
target.build_configurations.each do |config|
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= ['$(inherited)', 'BYPASS_PERMISSION_LOCATION_ALWAYS=1']
end
end
target.build_configurations.each do |config|
config.build_settings['ONLY_ACTIVE_ARCH'] = 'NO'
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '14.0'
# You can remove unused permissions here
# for more infomation: https://github.com/BaseflowIT/flutter-permission-handler/blob/master/permission_handler/ios/Classes/PermissionHandlerEnums.h
# e.g. when you don't need camera permission, just add 'PERMISSION_CAMERA=0'
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= [
'$(inherited)',
'PERMISSION_CONTACTS=1',
## dart: PermissionGroup.camera
'PERMISSION_CAMERA=1',
## dart: PermissionGroup.photos
'PERMISSION_PHOTOS=1',
## dart: [PermissionGroup.location, PermissionGroup.locationAlways, PermissionGroup.locationWhenInUse]
'PERMISSION_LOCATION=1',
'PERMISSION_NOTIFICATIONS=1',
## dart: PermissionGroup.mediaLibrary
'PERMISSION_MEDIA_LIBRARY=1',
]
end
awesome_pod_file = File.expand_path(File.join('plugins', 'awesome_notifications', 'ios', 'Scripts', 'AwesomePodFile'), '.symlinks')
require awesome_pod_file
update_awesome_pod_build_settings(installer)
end
awesome_pod_file = File.expand_path(File.join('plugins', 'awesome_notifications', 'ios', 'Scripts', 'AwesomePodFile'), '.symlinks')
require awesome_pod_file
update_awesome_main_target_settings('Runner', File.dirname(File.realpath(FILE)), flutter_root)
end
https://drive.google.com/file/d/1EHP7dOXJQFmXE9M-6UOIwftIsZH_9k6X/view?usp=sharing
https://drive.google.com/file/d/1g20urjIxHxNQwqFdEmgjfeiz2Q0RBQ_O/view?usp=sharing

Very strange. @mvanbeusekom do you have any idea how this could then still get compiled? Did you come across this issue with anyone else?

Hi @yogeshelevn,
I think the problem here is not with the configuration of the geolocator but with the permission_handler plugin. From the supplied content of the Podfile I see the application uses the permission_handler plugin and enables the PERMISSION_LOCATION setting.
Unfortunately the permission_handler does not yet make a distinction between "Location when in use" or "Location always" and declaring the PERMISSION_LOCATION=1 definition includes Objective-C code that calls the requestAlwaysAuthorization method of the CLLocationManager SDK. This is most likely what Apple's static code analysis causes to trigger the error.
At the moment there are two workarounds for you to take:

Include the missing NSLocationAlwaysAndWhenInUseUsageDescription key in the ios/Runner/Info.plist or;
Fallback on the geolocator plugin to request the location permissions and disable / remove the PERMISSION_LOCATION=1 line from the ios/Podfile.

Alternatively I will research if we can add additional macros in the permission_handler plugin to allow more fine grained control.

@yogeshelevn, we have just release version 11.3.1 of the permission_handler plugin which is updated to allow the use of only "When in use" permission.
To configure this replace the PERMISSION_LOCATION=1 macro in the ios/Podfile with the PERMISSION_LOCATION_WHENINUSE=1 macro. In your case the ios/Podfile will look like this:
# Uncomment this line to define a global platform for your project
# platform :ios, '11.0'
platform :ios, '14.0'
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

project 'Runner', {
  'Debug' => :debug,
  'Profile' => :release,
  'Release' => :release
}

def flutter_root
  generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
  unless File.exist?(generated_xcode_build_settings_path)
    raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
  end

  File.foreach(generated_xcode_build_settings_path) do |line|
    matches = line.match(/FLUTTER_ROOT\=(.*)/)
    return matches[1].strip if matches
  end
  raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
end

require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)

flutter_ios_podfile_setup

target 'Runner' do
  use_frameworks!
  use_modular_headers!

  flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
  target 'RunnerTests' do
    inherit! :search_paths
  end
end

# post_install do |installer|
#   installer.pods_project.targets.each do |target|
#     if target.name == "geolocator_apple"
#       target.build_configurations.each do |config|
#         config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= ['$(inherited)', 'BYPASS_PERMISSION_LOCATION_ALWAYS=1']
#       end
#     end
#   end
# end

post_install do |installer|
  installer.pods_project.targets.each do |target|
    flutter_additional_ios_build_settings(target)
    if target.name == "geolocator_apple"
      target.build_configurations.each do |config|
        config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= ['$(inherited)', 'BYPASS_PERMISSION_LOCATION_ALWAYS=1']
      end
    end
    target.build_configurations.each do |config|
      config.build_settings['ONLY_ACTIVE_ARCH'] = 'NO'
      config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '14.0'
      # You can remove unused permissions here
      # for more infomation: https://github.com/BaseflowIT/flutter-permission-handler/blob/master/permission_handler/ios/Classes/PermissionHandlerEnums.h
      # e.g. when you don't need camera permission, just add 'PERMISSION_CAMERA=0'
      config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= [
        '$(inherited)',
        'PERMISSION_CONTACTS=1',
        ## dart: PermissionGroup.camera
        'PERMISSION_CAMERA=1',
        ## dart: PermissionGroup.photos
        'PERMISSION_PHOTOS=1',
        ## dart: [PermissionGroup.location, PermissionGroup.locationWhenInUse]
        'PERMISSION_LOCATION_WHENINUSE=1',
        'PERMISSION_NOTIFICATIONS=1',
        ## dart: PermissionGroup.mediaLibrary
        'PERMISSION_MEDIA_LIBRARY=1',
      ]
    end
    awesome_pod_file = File.expand_path(File.join('plugins', 'awesome_notifications', 'ios', 'Scripts', 'AwesomePodFile'), '.symlinks')
    require awesome_pod_file
    update_awesome_pod_build_settings(installer)
  end
  awesome_pod_file = File.expand_path(File.join('plugins', 'awesome_notifications', 'ios', 'Scripts', 'AwesomePodFile'), '.symlinks')
  require awesome_pod_file
  update_awesome_main_target_settings('Runner', File.dirname(File.realpath(__FILE__)), flutter_root)
end

Hope this helps, if you have any problems please create an issue in the repo of the permission_handler plugin.


Update to nodeJS@6

Update to nodeJS@6. This is intermediate update because the goal is to update to the nodeJS@10

@michaelficarra take a look please.

I just cherry-picked this commit from https://github.com/estools/escodegen/pull/412

I'll reopen another one with single commit history

@sanex3339 For future reference, you can just force-push down to a single commit; there's no reason to open a new PR.


Activate Travis CI

Need to be able to run CI that will test against text-extension-for-pandas. Currently the .travis.yml file exists and should work to install text-extension-for-pandas to Travis, it just needs to be activated to run.

The repository was private. I've made it public. Can you try again, please, @BryanCutler ?

Yup, working now thanks @frreiss !


New package: NaturalEarth v0.1.0

Registering package: NaturalEarth
Repository: https://github.com/JuliaGeo/NaturalEarth.jl
Created by: @asinghvi17
Version: v0.1.0
Commit: 6263d4aa9e52b1ff727783dd286f2ee900d8bade
Reviewed by: @asinghvi17
Reference: https://github.com/JuliaGeo/NaturalEarth.jl/commit/6263d4aa9e52b1ff727783dd286f2ee900d8bade#commitcomment-139283197
Description: Julia interface to Natural Earth data

Huh, I didn't realize that Julia enforces tarball artifacts.  I might switch to scratchspaces for this one then, because maintaining a builder repo for tarballs would get a bit tedious.


ERROR and WARNING when compiling the documentation

From<EMAIL_ADDRESS>on 2013-01-20T05:13:27Z
Hello,
here a few ERROR and WARNING during the build of the documentation of
spyder 2.2.0~beta1
/tmp/buildd/spyder-2.2.0~beta1+dfsg/doc/installation.rst:37: ERROR: Unexpected indentation.
/tmp/buildd/spyder-2.2.0~beta1+dfsg/doc/installation.rst:53: ERROR: Unexpected indentation.
/tmp/buildd/spyder-2.2.0~beta1+dfsg/doc/installation.rst:70: WARNING: Definition list ends without a blank line; unexpected unindent.
/tmp/buildd/spyder-2.2.0~beta1+dfsg/doc/projectexplorer.rst:9: WARNING: Block quote ends without a blank line; unexpected unindent.
/tmp/buildd/spyder-2.2.0~beta1+dfsg/doc/projectexplorer.rst:10: WARNING: Block quote ends without a blank line; unexpected unindent.
Cheers
frederic
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1233

From<EMAIL_ADDRESS>on 2013-01-24T16:16:04Z
This issue was updated by revision 486dc632837a .
Update issue #1229 Status: Fixed
Status: Fixed

From ccordoba12 on 2013-01-24T16:55:16Z
Labels: MS-v2.2 Cat-Miscelleneous


"check for updates": add interval options

automatically checking for updates without permission from the user is unacceptable.
give user control, whether the program is allowed access to the internet and when.

[x] update checking should be configurable to allow either

daily checks
weekly checks
monthly checks
no update checks at all

[x] there should also be an option to manually check for updates, so the user can just check whenever they feel like it - see #203
[x] default setting: no update check

Implementation:

ajax background call from header or footer
response as "modal window pop up" or "update alert sign"
[ ] https://github.com/vslavik/winsparkle/tree/master/examples/qt

Update Notification Settings
We can notify you of updates of software packages:

[ ] Please notify me for:

[ ] all packages of the WPN-XM Registry
[ ] only packages that i have installed and affect me

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Implemented.


[Razor] Register razorFormatNewFileHandler

Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1891128
https://github.com/dotnet/vscode-csharp/pull/6329 added razorFormatNewFileHandler but we needed to register it for the handler to take effect.

Oops! Sorry!!! Thanks @allisonchou ❤


remove the current examples from the examples directory.

In GitLab by @Schumann on May 7, 2020, 17:04

In GitLab by @Schumann on May 25, 2020, 07:53
changed title from remove the current examples from{-t -}he examples directory. to remove the current examples from{+ t+}he examples directory.

In GitLab by @waxlamp on May 27, 2020, 17:18
mentioned in commit 73b8dc49891ca77879ea1a209fc9a7096821a433

In GitLab by @Schumann on Jun 2, 2020, 13:55
closed

In GitLab by @waxlamp on Jun 2, 2020, 18:02
Why did this get closed?

In GitLab by @Schumann on Jun 3, 2020, 08:04
Because someone did this already. The examples directory in the framework is gone.

In GitLab by @waxlamp on Jun 3, 2020, 10:57
Oh right, that someone was me :)
I got confused between "examples" and "protocols". Sorry for the confusion.


Adopt a Code of Conduct

We need to adopt a Code of Conduct. This needs to be coordinated with our CCC membership.

See also: https://github.com/enarx/enarx.github.io/community

Agreed.
As mentioned in #13 (a duplicate), we should have a code of conduct to express clearly to any one looking to contribute that we intend to be a welcoming project and will enforce rules if necessary.
I suggest the Contributor Covenant, which is a well-established and well-written document:
https://www.contributor-covenant.org/version/1/4/code-of-conduct
@npmccallum Can you expand a little bit on why this needs to be coordinated with our CCC membership?

Waiting on the creation of email addresses in #14 to propose formal project agreement on adopting the Contributor Covenant.

Now we have the addresses, need to move quickly on this, please. CoC 2.0 is recommended.

https://github.com/enarx/.github/blob/master/CODE_OF_CONDUCT.md is now live
However, i need to figure out why it's not showing up automatically on other repos, although the Github documentation says:

You can create default community health files, such as CONTRIBUTING and CODE_OF_CONDUCT. Default files will be used for any public repository owned by the account that does not contain its own file of that type.


Add Option to Adjust Hyperparams via Env Vars

It would be nice for use in Kubernetes, OpenShift, and other cloud-based environments if the user had the option of setting hyperparameters via env vars rather than having to create and mount a ConfigMap for the yaml file, alter the image, or create a custom entrypoint script.

Here is an example of how we can configure the execution, by specifying the hyperparameters as part of the Kubernetes Job/Pod environment specs:
apiVersion: batch/v1
kind: Job
metadata:
  name: {job_name}
spec:
    spec:
      containers:
      - name: cnt
        env:
        - name: SSD_THRESHOLD
          value: "{settings_threshold}"
        - name: SSD_EPOCH
          value: "{settings_epoch}"


Files ignored for language classification

I have some Brainfuck files in my repository here.  At first blush, it would be enough to make this be a Brainfuck repository, but it doesn't appear to recognize these files at all.
Nor does the .gitattributes file included in the repository change this, which was an attempt to override it.

Well, the files are being indexed correctly, so at a guess, I'd say the language-bar's cached an old version of the codebase's stats. If you push a change to one of the source files (even trivial), it should force a refresh. =)

Huh, didn't expect that.  Looks like that fixed it.  Thanks!


ImportError: No module named 'jsondb'

Hi there,
I'm trying to deploy my chat bot to openshift flask on python 3.5
Then I get that issue
Searching for chatterbot
Reading https://pypi.python.org/simple/chatterbot/
Best match: ChatterBot 0.4.13
Downloading https://pypi.python.org/packages/37/91/f3f6b38a47cc441b253c23233ddbf444fed51083eb1eaecb2535b115025b/ChatterBot-0.4.13.tar.gz#md5=a2bcab3dfb59441113973a97ba420f01
Processing ChatterBot-0.4.13.tar.gz
Writing /tmp/easy_install-rquhl12e/ChatterBot-0.4.13/setup.cfg
Running ChatterBot-0.4.13/setup.py -q bdist_egg --dist-dir /tmp/easy_install-rquhl12e/ChatterBot-0.4.13/egg-dist-tmp-dglb_h_f
Traceback (most recent call last):
  File "/opt/rh/rh-python35/root/usr/lib/python3.5/site-packages/setuptools/sandbox.py", line 152, in save_modules
    yield saved
  File "/opt/rh/rh-python35/root/usr/lib/python3.5/site-packages/setuptools/sandbox.py", line 193, in setup_context
    yield
  File "/opt/rh/rh-python35/root/usr/lib/python3.5/site-packages/setuptools/sandbox.py", line 237, in run_setup
    DirectorySandbox(setup_dir).run(runner)
  File "/opt/rh/rh-python35/root/usr/lib/python3.5/site-packages/setuptools/sandbox.py", line 267, in run
    return func()
  File "/opt/rh/rh-python35/root/usr/lib/python3.5/site-packages/setuptools/sandbox.py", line 236, in runner
    _execfile(setup_script, ns)
  File "/opt/rh/rh-python35/root/usr/lib/python3.5/site-packages/setuptools/sandbox.py", line 46, in _execfile
    exec(code, globals, locals)
  File "/tmp/easy_install-rquhl12e/ChatterBot-0.4.13/setup.py", line 7, in <module>
<EMAIL_ADDRESS>  File "/tmp/easy_install-rquhl12e/ChatterBot-0.4.13/chatterbot/__init__.py", line 4, in <module>
  File "/tmp/easy_install-rquhl12e/ChatterBot-0.4.13/chatterbot/chatterbot.py", line 2, in <module>
  File "/tmp/easy_install-rquhl12e/ChatterBot-0.4.13/chatterbot/adapters/storage/__init__.py", line 3, in <module>
  File "/tmp/easy_install-rquhl12e/ChatterBot-0.4.13/chatterbot/adapters/storage/jsonfile.py", line 3, in <module>
ImportError: No module named 'jsondb'

Any one help me please.
Thanks so much :D

Also had this. Did you try installing jsondb?

Hi @12520054, @bkrmendy is correct. You should be able to resolve this issue by installing ChatterBot's dependencies before installing chatterbot itself. I've opened a pull request (#426) that makes changes to correct this issue in future versions of ChatterBot. Thank you for reporting the issue.


Make TypeScript as default template for the generation

Description
Currently we are checking the template of the react project by reading the package.json file but this solution wouldn't work for monorepo and workspace setup where the devDependencies, tsconfig and also bundlers may be kept in the root.
Suggested solution
Most of the react developers prefer TypeScript over the JavaScript for template and also the stack overflow 2021 developer survey has TypeScript has its third loved language with JavaScript taking the 15th place.
Taking all the analysis into consideration we are going to make TypeScript as the default template and if the developer needs JavaScript as the template they can customize the template property in arclix.config.json file.

Refer: https://insights.stackoverflow.com/survey/2021#technology-most-loved-dreaded-and-wanted
Alternative
No response
Additional context
No response
Validations

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

[ Triaged ] Good to start the development 👍🏻


Add story start-to-end using icav2 cli plugins

Also update latest commands to be on home page of wiki


Stopped pulling data

within the last week, the API appears to have stopped pulling data. in the console, it said it was related to bio.data. I have disabled this but no data is returned.
I have recently changed my password, do I need to create a new access token?

Ok, it's working. If you change your password, you need to generate a new access token. FYI - the link to generate an access ID and token no longer works.

Yea, I think instagram asked jelled to not expose that for security reasons, however the process is still documented on his website though.


Vue warns when passing vue component into props

Version
5.0.0-beta.4
Browser and OS info
Chrome 73.0.3683.75 / Windows 10
Steps to reproduce
Firstly,
create a two-layer Vue app with {app: Object} as props in the component.
Secondly,
pass app itself as a prop such as :app="this"
<App>
|   <Component :app="this"/>
...

What is expected?
Those error messages should not be displayed, unless vue is not designed to pass any components as props
What is actually happening?
Finally,
Select on the component in dev-tools, as a result, it will reports many errors for example:
[Vue warn]: Property or method "toJSON" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property.

[Vue warn]: Property or method "_vm" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property.

[Vue warn]: Property or method "$firebaseRefs" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property.

Of course I know it's not a good idea to have a such high dependency between two components, actually, I am on a transition period of restructure vue components. I had searched for any discussion about passing component(instance) into props, unfortunately, I got no information of that

This problem disappeared in no reason

This problem is still existing

This problem is still existing

A real reproduction is required.

Just want to highlight that this is still an existing issue.

you can reproduce if set vue-component to Map in Vuex =)

I recently had this issue, any updates so far?

https://github.com/vuejs/vue-devtools/issues/903#issuecomment-475907127


pr for propagation

In propagation, in annotate loop ranges, a check was added to stop the process if no increment_edge is found.

This is no longer necessary as the feature has already been fixed in master


expose click events on the dropdown widget

Currently, the dropdown widget does not have any onClick or onChange event exposed. This forces each page to keep track of previously selected indexes on the dropdown to know when a new item is clicked.

change event is available as Changed() https://github.com/planetdecred/godcr/blob/93167a93a7ac00ed9da0cce81dde3e60fd8f7daa/ui/decredmaterial/dropdown.go#L98


Add tests for AppSettingsDialog and the remaining ones for EasyPermissions

@samtstern Just implemented more tests for both AppSettingsDialog and EasyPermissions.

@henriquenfaria this looks great!  ./gradlew :easypermissions:test seems to succeed on my machine.
I will add Travis CI for this.

@samtstern I think :easypermissions:test is redundant since jacocoTestReport already runs all unit tests.


Fix broken link to Nuxt nitro route rules

The current link to Nitro route rules is broken, i've updated it!

Description
Fix README.md link to Nitro route rules
Linked Issues
Additional context

Thanks!


New tenant (Azure AD) region for ARO should be one of ARO's supported regions?

Choose a country or region where the tenant will be created.

Is the region here should be one of ARO's "Supported Regions" ?

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

ID: 01ccfa1e-ba16-87d1-e9c3-a5ff4d5b9e0e
Version Independent ID: e3036910-8ca7-6472-51da-6c65a9fbfe37
Content: Create an Azure AD tenant for Azure Red Hat OpenShift
Content Source: articles/openshift/howto-create-tenant.md
Service: container-service
GitHub Login: @jimzim
Microsoft Alias: jzim

@okuniyas There shouldn't be any restriction to create the AAD tenant in the same region as AROs supported regions as Azure AD is global. Let me know if you tried and it did not work for you.

We will now close this issue. If there are further questions regarding this matter, please tag me in a comment. I will reopen it and we will gladly continue the discussion.


Fix partners request

More information will be provided in Git Issues #164
This change saves the partners retrieved from the database into res.locals.results. Previously, it was trying to save it in res.locals.results.part, and since results didn't exist, the server threw an error.
3 Changes were implemented:

The requests should return res.locals.result, not result which was an empty object created in that request function
In getProjPartnersLeaders, which was where the error came from, the results were being saved in res.locals.result.part. result did not exist, so it was undefined and an error was throw since the part property was called of an undefined object.
In getProjPartnersLeaders, next() is called only after the results are loaded. Before, it was called outside the if/else statements which cause the request to be completed before the completion of getProjPartnersLeaders.

Andy - can you do me a favor log into http://<IP_ADDRESS> and confirm these changes have been implemented correctly in develop?

Hi Dan,
The osu accounts don't work there, so I am unable to login.


Add java veneer client dependency and remove duplicate class

Add java veneer client dependency and remove duplicate class

Ugh...  I didn't realize that there's a package change.  Please reinstate the wrappers.Filters object, mark the class as @Deprecated.  In a future PR, please delegate from wrappers.Filters delegate to models.Filters as best as possible.


TypeError: unsupported operand type(s) for +: 'NoneType' and 'float'

Hit the following exception while using the bayes_logistic module
vpati011@Shlokster:~/Downloads$ python parkisons.py
Traceback (most recent call last):
File "parkisons.py", line 71, in
w_prior, H_prior, solver = 'BFGS')
File "/usr/local/lib/python2.7/dist-packages/bayes_logistic/bayes_logistic.py", line 432, in fit_bayes_logistic
method='BFGS', options={'maxiter': maxiter})
File "/usr/local/lib/python2.7/dist-packages/scipy/optimize/_minimize.py", line 444, in minimize
return _minimize_bfgs(fun, x0, args, jac, callback, **options)
File "/usr/local/lib/python2.7/dist-packages/scipy/optimize/optimize.py", line 913, in _minimize_bfgs
gfk = myfprime(x0)
File "/usr/local/lib/python2.7/dist-packages/scipy/optimize/optimize.py", line 292, in function_wrapper
return function(*(wrapper_args + args))
File "/usr/local/lib/python2.7/dist-packages/bayes_logistic/bayes_logistic.py", line 223, in g_log_posterior_small
grad_log_post = np.dot(X.T, weights * (mu - y)) + np.dot(H, (w - wprior))
TypeError: unsupported operand type(s) for +: 'NoneType' and 'float'
The code to reproduce the issue can be found at
http://pastebin.com/KV16bkXt

Can you run this bit with %debug in a notebook and see which part of this is actually None?


Increase the waiting time to 10 mins

The waiting time of messages from L2 to L1 is 10 mins

Codecov Report

Merging #495 (c99ce73) into develop (97682bd) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #495   +/-   ##
========================================
  Coverage    76.09%   76.09%
========================================
  Files           81       81
  Lines         3037     3037
  Branches       469      469
========================================
  Hits          2311     2311
  Misses         726      726

Flag
Coverage Δ

batch-submitter
59.51% <ø> (ø)

contracts
86.05% <ø> (ø)

core-utils
68.16% <ø> (ø)

data-transport-layer
37.68% <ø> (ø)

message-relayer
72.22% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Continue to review full report at Codecov.

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


Add files via upload

I have sucessfully installed and executed the tracking commands you can check from the screenshot attached.

@suubh  why did you close?

Actually i was just uploading the pictures of my completion of installation
and by mistake i pull request.
On Sun, 1 Mar 2020, 10:10 pm Alexandre Calil<EMAIL_ADDRESS>wrote:

@suubh https://github.com/suubh why did you close?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rpotter12/whatsapp-play/pull/156?email_source=notifications&email_token=ALITNVL3R25ALINME3NXP43RFKFZNA5CNFSM4K7DJAEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENNEAGQ#issuecomment-593117210,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALITNVNGBJDNWSQTHLWRTJTRFKFZNANCNFSM4K7DJAEA
.


Readme gif

Please, can you provide a gif, video or screenshot of how it is displayed?
Exploring libraries from phone (with @gitskarios) is not so easy, i can't download the project or test it

Hi @alornma, you have two diferents animated gifts into the readme.


feat(talos): Add cilium bgpControlPlane support and CNI security settings

When using VLAN network separation, Cilium's L2 announcements may not traverse the L2 network segments. When this is the case, it can help to have Cilium switch to BGP control plane mode and handle advertising the LoadBalancer IPs via a router instead. This requires a router with BGP support such as pfSense with the FRR package installed (or similar).
In this PR I am re-using the existing CiliumLoadBalancerIPPool from cilium-l2.yaml named "pool". Since this switches from L2 announcements to BGP, their is no conflict and multi-pool IPAM is not required to support both simultaneously. The "LOADBALANCER_CIDR" cluster-wide var is used for tracking this.
The bgp settings maybe movable in the future to outside the talos dict to be used by kube-vip if cilium CNI is not in use.
The cilium-values-init and cilium-values-full partials templates we're also not using some of the Talos required settings from their Cilium CNI install guide. These have been added when the talos distribution is set.
Example config.yaml
distribution: talos
  type: talos
  talos:
    vlan: 1
    bgp:
      enabled: true
      local_asn: 64512
      peer_asn: 64512
      peers:
        - <IP_ADDRESS>
      loadbalancer_network: <IP_ADDRESS>/16

Nice work! I'm certain this config would work with k3s too but I'm not sure where to put the config. I'm still struggling with being happy with the config file in general so this can be iterated on in the future.

Maybe having a top level cilium config dict would work to put these values under, or maybe under the cluster config dict.

I might change the config vars in the future, but this is good for now. Thanks!


Add "Refine Results" column to Search Projects

Overview
This is a large issue
Action Items
Add the column "Refine Results" as shown in the master design. To build a non-working version of this column, then a working version of it could be two separate issues. Be sure to consider desktop, tablet, and mobile.
Resources/Instructions
https://www.figma.com/file/EFoSuj1b9G4aZ7bN8OX8tf/?node-id=3931%3A15829

@kevinashworth not available to work on this issue. Will look at this weekend.

progress: a rudimentary code block in place. not styled. not functional. available on branch add-refine-results-333
blockers: ?
availability: so-so
ETA: next Sunday

Design needs to be finalized with the proper filtering display (left column).

Design has been finalized

progress: none so far this week
blockers: ?
availability: good on Sat/Sun
ETA: Sunday Mar 21


docs: Create build doc for build instructions

Signed-off-by: Filip Burlacu<EMAIL_ADDRESS>

Codecov Report

Merging #20 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #20   +/-   ##
=======================================
  Coverage   90.45%   90.45%
=======================================
  Files          11       11
  Lines         262      262
=======================================
  Hits          237      237
  Misses         14       14
  Partials       11       11

Continue to review full report at Codecov.

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


Publish runhcs binaries on your releases page

For the time being, could you publish a new release with runhcs as a zip/tar file that can be downloaded on the release page as an easy way for users to get the binary to use?

We are now doing this.


change installing requirements in vagrantfile

IBM Cloud toolchain: Delivery Pipeline deployed products to prod, including commit 013aec7646eb6a51733d0f04a3ffb9c42fabd529


Add defaults for State.ERROR

At the moment, State.ERROR is defined as follows:
datatype State = EXECUTING(evm:T)
        | ERROR(error:Error,gas:nat,data: Array<u8>)

However, it would be better to define it thusly:
datatype State = EXECUTING(evm:T)
        | ERROR(error:Error,gas:nat := 0,data: Array<u8> := [])

However, I encountered a strange internal failure with Dafny doing that.

Ok, it does work but there are some places where the bug arises.  For example:
function Call(world: WorldState.T, ctx: Context.T, substate: SubState.T, codeAddress: u160, value: u256, gas: nat, depth: nat) : State
    // Sender account must exist
    requires world.Exists(ctx.sender)

   ...

                    match Precompiled.Call(codeAddress,ctx.callData)
                    case None => ERROR(INVALID_PRECONDITION,0,[])

So, would be good to raise an issue and update these at some point.

This issue seems to be fixed in Dafny 4.0, and will be done as part of #531


[firestore-shorten-urls-dynamic-links] Regex validation on DYNAMIC_LINKS_URL_PREFIX

Expected Behavior
There should be some validationRegex for this parameter, since we know it should look likehttps://*.page.link
Actual Behavior
There isn't any validation. If you try to install with something invalid, the extension deploys correctly but sets shortUrl to undefined every time it triggers.
Specifications

Extension name: firestore-shorten-urls-dynamic-links
Version:

FYI @kevinthecheung

FYI @kevinthecheung


Need to update the doc with latest monetisation jar

Current Limitation
While testing WSO2 API Manager 4.3.0 with the Monetizing API using Stripe documentation [1], we identified some issues related to viewing invoices in both the Publisher and Dev Portal. These issues appear to stem from the implementation of the monetization plugin[2] with jar version org.wso2.apim.monetization.impl-1.4.1.jar. As discussed offline with  @Chilliwiddit   , it seems we need to adopt a newer implementation that aligns better with API Manager 4.3.0(org.wso2.apim.monetization.impl-1.5.0.jar)[3]. To proactively address potential queries and incidents related to the monetization use case, it would be beneficial to update the documentation[1] with the relevant JAR files and additional details.
[1] https://apim.docs.wso2.com/en/4.3.0/design/api-monetization/monetizing-an-api/#b-configure-wso2-api-manager
[2] https://github.com/wso2-extensions/wso2-am-stripe-plugin/tree/v1.4.1
[3] https://github.com/wso2-extensions/wso2-am-stripe-plugin/tree/master
Suggested Improvement
Need to add latest jar to documentation[1]
[1] https://apim.docs.wso2.com/en/4.3.0/design/api-monetization/monetizing-an-api/#b-configure-wso2-api-manager
Version
4.3.0

release 1.5.0 and updated the doc


Work with postcss mixins

I wonder whether this plugin will be altered to make conditional statements available within mixins, so that we don't have to turn to function mixins every time we need some logic (as @ai indicated here).

And what is a problem with it right now? Just put this plugin after a mixins plugin.

@nkCoding Thanks for reporting this. I'll investigate the issue after work.

@ai @andyjansson
OK, this might be a peculiar case (which made me think it impossible to use both plugins at a time).
@define-mixin fontSize $size, $lineHeight:-1{
  font-size: calc($(size) / 2px);
  @if $(lineHeight) > -1 {
    line-height: calc($(lineHeight) / $(size) * 1em);
  }
  [data-dpr='2'] &{
    font-size: calc($(size) * 1px);
  }
  [data-dpr='3'] &{
    font-size: calc($(size) * 1.5px);
  }
}

.myBlock{
  @mixin fontSize 24, 36;
}

I got a 'Failed to parse expression' error for the if statement.
Whether omitting the second param (36) or removing the if structure will make it pass.

@nkCoding Which plugins do you have loaded, and in what order?

@andyjansson Here is my gulp task:
gulp.task('stylesheets', function(){
  var processors = [
    postcssImport,
    postcssMixins,
    postcssNested,
    postcssSimpleExtend,
    postcssConditionals,
    postcssSimpleVars,
    postcssCalc(),
    postcssImageSet,
    autoprefixer({
      browsers: ['iOS 6.0'],
      cascade: false,
    }),
    csswring,
  ]
  return gulp.src(postcssPath)
    .pipe(plumber())
    .pipe(sourcemaps.init())
      .pipe(postcss(processors))
    .pipe(sourcemaps.write('.', {sourceRoot: '/assets/postcss/', includeContent: false}))
    .pipe(gulp.dest(stylePath))
})

@nkCoding Just a heads up: The issue has been identified and fixed in master. A release to npm will be done sometime later today.

@andyjansson Now it works. Really appreciate your work!

@nkCoding Thanks. I'll go ahead and close the issue then.

@nkCoding New version is now published to npm
/cc @ai

Hi, I'm having a similar problem here. This chunk of code throws a 'Failed to parse expression' error:
@define-mixin flex $direction: 0, $align: 0, $justify: 0 {
  display: flex;
  @if $direction != 0 {
    flex-direction: $direction;
  }
  @if $align != 0 {
    align-items: $align;
  }
  @if $justify != 0 {
    justify-content: $justify;
  }
}

.test {
  @mixin flex row, center, center;
}

It only works by getting rid of the parameters when calling the mixin.
I'm loading the processors in this order as of now (but I've tried every single logic possibility):
var processors = [
  postcssImport(),
  postcssMixins(),
  postcssNested(),
  postcssVariables(),
  postcssConditionals(),
  autoprefixer({ browsers: ['> 5%', 'ie 9'] })
];

@rudeworks postcss-conditionals does not currently support comparisons of strings against anything but strings, which is why the @if-statement fails.

I am not really fun of moving programming code to CSS, it looks terrible.
@rudeworks it is better to think about some better shorcuts for flex and make a universal plugin, rather than making this mixins. It is not a good way. Every company has own “not-so-good-but-works” custom mixin.
Look at Gulp. You create some universal solution, make a plugin, publish it. Then other companies start to use it. Start to fix it. And us result we have good universal solution. Like Autoprefixer instead of outdated prefixes mixins.
This is why your usage of mixins is wrong. PostCSS mixins are only a way to reduce code duplication. It is not a wat to convert CSS into programming language. JS is much better programmins language and JS functions mixins or JS plugins for PostCSS is a much better way.

Now, now, @ai, we shouldn't go around telling people that they're wrong simply because our personal preferences don't align with theirs. Simply tell them that you'd advice against doing it in this manner.
@rudeworks I'll look into fixing this issue.

@andyjansson yeap, I think maybe I should give a npm access to postcss-mixins to @jonathantneal? Seems like it want to fix all this programming language issues.

Thanks for the answer @andyjansson, I've just replaced the 0 with a and it works perfectly.
I totally agree with what @ai says, I don't even think flexbox needs a 'solution' apart from Autoprefixer making it's thing, this is just a quick mixin I wrote while I'm getting used to it's properties and values, at some point I'll simply write them down directly.
Anyway, the mixin could have any other function, like creating a button modifier class or something like that and the case would be the same, you may want to ask for a property within the mixin and if it's not filled, then omit some code.
Thanks guys!

@rudeworks The issue you were previously having is now resolved. It's now possible to do mixed-type comparisons.

@andyjansson awesome!


Make TextField.error/info slots non-nullable

Currently, the only solution to this I have is to utilize SubcomposeLayout for rendering, that will make impossible intrinsic measuring on textfield.
But maybe it has its worth. When somebody needs intrinsic measuring, it is quite specific usecase that can be handled without this high-level component.
    SubcomposeLayout { constraints ->
        val errorPlaceable = subcompose("error") {
            error()
        }.firstOrNull()?.measure(constraints)
        val infoPlaceable = subcompose("info") {
            info()
        }.firstOrNull()?.measure(constraints)

        val hasError = errorPlaceable != null && errorPlaceable.height > 0
        val hasInfo = infoPlaceable != null && infoPlaceable.height > 0
        val state = when {
            hasError -> Message.Error(error)
            hasInfo -> Message.Info(info)
            else -> null
        }

        val messagePlaceable = subcompose("message") {
            AnimatedContent(state) { state -> ... }
        }.first().measure(constraints)

        layout(messagePlaceable.width, messagePlaceable.height) {
            messagePlaceable.placeRelative(0, 0)
        }
    }

Solution to this: https://android-review.googlesource.com/c/platform/frameworks/support/+/2640210


[Feature Request] Ability to load libraries dynamically from remote server

Context

[X] This issue is not a bug report. (please use a different template for reporting a bug)
[X] This issue is not a duplicate of an existing issue. (please use the search to find existing issues)

Description
I'm sure, that this feature is already exists, but i spent one week for researching and found nothing.
So, the following example in playground shows, that editor could analyze foreign library
https://microsoft.github.io/monaco-editor/playground.html#extending-language-services-configure-javascript-defaults
But there is static addition of extra library.
Is there some way to implement dynamic addition extra libraries to editor's environment?
E.g. i have some web file storage and then i setup monaco editor to load files content from this remote file storage.
Also. Is there way to hide extra libraries until it imported?

I found following example, when imports works properly
const sourceTest = [monaco.Uri.parse('file:///test.js'), `
import {test2} from './test2';
export function test(message: string): string {
    test2.bar(\`foo \${message}\`);
}`];

const sourceTest2 = [monaco.Uri.parse('file:///test2.js'), `
export function test2(message: string): string {
    console.log(\`bar \${message}\`);
}`];

const sourceIndex = [monaco.Uri.parse('file:///index.js'), `
import {test} from './test'
test('hello world');
`];

var libSource = [monaco.Uri.parse('file:///facts.js'), `
	export class Facts {
	    /**
	     * Returns the next fact
	     */
	    static next():string
	}
    `];

monaco.editor.createModel(sourceTest[1], 'javascript', sourceTest[0]);
monaco.editor.createModel(sourceTest2[1], 'javascript', sourceTest2[0]);
monaco.editor.createModel(libSource[1], 'javascript', libSource[0]);
const model = monaco.editor.createModel(sourceIndex[1], 'javascript', sourceIndex[0]);
monaco.editor.create(document.getElementById('container'), {model});

Now, i need a way to dynamically import scripts into editor models collection on demand.

TypeScript Playground can import remote package. (but can not run it).
ATA(Automatic Type Acquisition) is implemented here.
And it is used in here.

When code is updated, ATA tries to get remote package type definition.
If successfully finished, update ts compiler options.

TypeScript Playground can import remote package. (but can not run it). ATA(Automatic Type Acquisition) is implemented here. And it is used in here.

When code is updated, ATA tries to get remote package type definition.
If successfully finished, update ts compiler options.

Thanks for help. But i unable to load this code in my website. It fails when i tried to
import * as ts from 'typescript'
to pass it into setupTypeAcquisition.
Project @typescript/sandbox is weird in my opinion. It is not ready to use by webpack, there is too much dynamic links to node_modules, that absent in runtime environment

I was just giving an example. You can not use it as library.
Please copy everything what you need and modify as you want.

Thank you. I've published small library to parse and load content from certain endpoint
https://www.npmjs.com/package/imports_resolver
It uses esprima-next library to parse source code.

We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider.
If you wonder what we are up to, please see our roadmap and issue reporting guidelines.
Thanks for your understanding, and happy coding!


Less prominent home page hero section

The hero blurb at the top of the home page could be improved, the text blurb is quite long and the information is not essential. The large height of the section means getting to the actual apps takes a bit of scrolling, which is not ideal.

Here's a quick attempt at simplifying this:

How about this as an incremental next step?


Global variable values in ColumnEncodingUtility not passed as expected to multiprocessing pool on Windows

Using the column encoding utility on Windows leads to problems when providing values via the command line. An initial connection to Redshift is established from inside the main() function, but when analyze() is called by multiprocessing.map, the values in the global variables (db_user, db_pwd, etc...) that are passed to analyze() are not those provided in the command line, but rather the values defined by the block earlier in the script (lines 65-84). Some of these variables can be supplied by setting environment variables, however some (e.g. db_pwd, analyze_schema) are expected to be supplied via the command line. As a result, several variables required by analyze() are None.
The Python documentation recommends that for Windows compatibility, that arguments are passed explicitly to functions called via multiprocessing, rather than relying on global variables.
An example of code that works on Linux but not as expected on Windows:
from multiprocessing import Pool

str_ex = "Not Updated"
def f(i):
    print(str_ex)

def main():
    global str_ex
    str_ex = "Updated"
    p = Pool(3)
    p.map(f, range(3))

if __name__ == "__main__":
    main()

On Linux the function f() sees the updated string, whereas on Windows, "Not Updated" is printed three times.

Thanks so much for this great bug report. I will look to fix these issues and update this when I've resolved it.

Amazon Redshift Column Encoding Utility is now deprecated. Instead, please use Redshift's Automatic Table Optimization features through:
ALTER TABLE table_name ALTER SORTKEY AUTO;
ALTER TABLE table_name ALTER DISTSTYLE AUTO;
https://docs.aws.amazon.com/redshift/latest/dg/t_Creating_tables.html


Edded Entry for KubeOps - SINA

Pre-submission checklist:
Please check each of these after submitting your pull request:

[ ] Are you only including a repo_url if your project is 100% open source? If so, you need to pick the single best GitHub repository for your project, not a GitHub organization.
[ ] Is your project closed source or, if it is open source, does your project have at least 300 GitHub stars?
[ ] Have you picked the single best (existing) category for your project?
[ ] Does it follow the other guidelines from the new entries section?
[ ] Have you included a URL for your SVG or added it to hosted_logos and referenced it there?
[ ] Does your logo clearly state the name of the project/product and follow the other logo guidelines?
[ ] Does your project/product name match the text on the logo?
[ ] Have you verified that the Crunchbase data for your organization is correct (including headquarters and LinkedIn)?
[ ] ~15 minutes after opening the pull request, the CNCF-Bot will post the URL for your staging server. Have you confirmed that it looks good to you and then added a comment to the PR saying "LGTM"?

Deploy preview for landscape ready!
Built with commit cb46ae72774feb86064793516654aac8c4241f90
https://deploy-preview-1792--landscape.netlify.app

LGTM

LGTM

Please submit using the process at https://github.com/cncf/k8s-conformance


Illegal character ^ Error

When parsing valid YARA rules containing the XOR operator (^) in the condition, t_error is raised in interp.py. It appears the error can be solved by adding the character to the t_ignore variable, but I wanted to raise this as an issue rather than committing a fix as I don't know if this will impact other things.

Hey, same goes with '%' character

Same with '?' character

Another parsing issue with double backslash:
$s1 = ""\\\""


Fix bug in isIndirectChildNodeOf

materialized path /root/1 matched as indirect child node for /root/15, because strpos matched. Materialized path separator was add to fix this without bc break.

To fix cs, just run:
composer fix-cs

I dont have install php 7.2, it would be good have docker container in repo for this :)

Ah, you use the package in Docker?

It would be good have docker container in repo for this :)

I don't use Docker. Feel free to send PR with one

Now cs in ok, but there is soNow cs in ok, but there is some other problem with php stan in tests... :(me other problem with php stan in tests... :(

I'm going through the old issues.
Closing this as test case is missing.
Thank you for your work.


404 Support

Hello, I was wondering if there was functionality supporting 404/not found pages when using the leptos_router?
I'm running on leptos_actix and receive standard 404 pages with no "app" when a page that isn't in the router is requested. This does make sense in order for loading additional assets to work, however, it would be like if a route guard or similar could be manually added returning a rendered 404 page in Leptos.

Can view https://github.com/leptos-rs/leptos/blob/main/docs/book/src/router/16_routes.md
<Routes>
  <Route path="/" view=|cx| view! { cx, <Home/> }/>
  <Route path="/users" view=|cx| view! { cx, <Users/> }/>
  <Route path="/users/:id" view=|cx| view! { cx, <UserProfile/> }/>
  <Route path="/*any" view=|cx| view! { cx, <NotFound/> }/>
</Routes>

The '/*any' setting should match 404

It's worth taking a look at how the errors_axum example implements this with its fallback static-file/404 handler. Obviously that's Axum not Actix, but they're similar enough that it should be pretty straightforward to adopt a similar approach.

We figured out a fairly convenient way to do this in Actix, anyway. I will update the starter template to make it harder to run into this accidentally, as well as updating the examples.
Basically if you make the static file servers a little more specific, so that they serve pkg at /pkg and assets at /assets, there's no conflict with a /*any-style catch-all 404 page for everything else. In the example below, I also implemented a custom handler for the favicon so it's still at /favicon.ico but you could instead use <Link rel="icon" type_="image/x-icon" href="/assets/favicon.ico"/> of course.
#[cfg(feature = "ssr")]
#[actix_web::main]
async fn main() -> std::io::Result<()> {
    use actix_files::Files;
    use actix_web::*;
    use leptos::*;
    use leptos_actix::{generate_route_list, LeptosRoutes};
    use leptos_start::app::*;

    let conf = get_configuration(None).await.unwrap();
    let addr = conf.leptos_options.site_addr;
    // Generate the list of routes in your Leptos App
    let routes = generate_route_list(|cx| view! { cx, <App/> });

    HttpServer::new(move || {
        let leptos_options = &conf.leptos_options;
        let site_root = &leptos_options.site_root;

        App::new()
            .route("/api/{tail:.*}", leptos_actix::handle_server_fns())
            // serve JS/WASM/CSS from `pkg`
            .service(Files::new("/pkg", format!("{site_root}/pkg")))
            // serve other assets from the `assets` directory
            .service(Files::new("/assets", site_root))
            // serve the favicon from /favicon.ico
            .service(favicon)
            .leptos_routes(
                leptos_options.to_owned(),
                routes.to_owned(),
                |cx| view! { cx, <App/> },
            )
            .app_data(web::Data::new(leptos_options.to_owned()))
        //.wrap(middleware::Compress::default())
    })
    .bind(&addr)?
    .run()
    .await
}

#[cfg(feature = "ssr")]
#[actix_web::get("favicon.ico")]
async fn favicon(
    leptos_options: actix_web::web::Data<leptos::LeptosOptions>,
) -> actix_web::Result<actix_files::NamedFile> {
    let leptos_options = leptos_options.into_inner();
    let site_root = &leptos_options.site_root;
    Ok(actix_files::NamedFile::open(format!(
        "{site_root}/favicon.ico"
    ))?)
}


Optimize Travis config. Test with HHVM.

The Travis config has been imported from Symfony and include some more optimizations for performance and fair benchmarking (like disabling the GC).

Disabling GC this way: https://github.com/egeloen/ivory-serializer-benchmark/blob/master/bin/benchmark#L8 is not a good way?

@egeloen didn't looked at this file :) Looks good too!
Btw, using the APC class loader isn't necessary anymore: https://github.com/symfony/symfony-standard/pull/964

Nice, let remove it then :) An other question: does it make sense to rely on APC/APCu for PSR-6 cache or does the filesystem can be used?

APCu is faster (IIRC).

@dunglas Have you been able to spot the bottleneck in the Symfony benchmark?

Not yet I'll be very busy this week. I didn't understand why results are so different on my local computer than on Travis. My be should we warm the APCu cache before running the benchmark (run it twice to emulate the second HTTP request).
When I'll have some free time I'll take the time to profile the benchmark using Blackfire.
Can you share the results you have on your local computer to compare?
Do you have the same results


Optimize animation import

Improves upon three things:

Do tangent calculation operations on keyframe cached array rather than AnimationCurve. This is the most important change. Unity profiler shows that accessing AnimationCurve.keys is a costly operation.
Optimizes branching by moving if..else outside loop. The compiler probably already does this but it's nice to do it ourselves.
Fixes a bug when two incoming animation keys have the same time value. I don't know if this is valid per gltf specs but I faced this using some models downloaded from Sketchfab.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Just saw that there's another PR that includes #1 from this: #479

Thank you for contributing the change! @AdamMitchell-ms  can you review?


Fix tests

Also, make sure that broken tests actually break the bots. Turns out that flutter test wasn't reporting the error code any more. I have no idea how this ever worked.
Add a test to make sure that doesn't regress.
Also fixes https://github.com/flutter/flutter/issues/3974 (cc @devoncarew)

LGTM but Travis is red.  :)

Redness is https://github.com/flutter/flutter/issues/3982

Hm, maybe not. Travis does fetch the artifacts in setup.sh. What on earth is going on?

oh ffs. i forgot to add one of the files.


I installed a plugin in Dynatrace 6.3 but the database type is still Oracle and MSSQL only

Hello,
I installed plugin but in the drop-down list the PostgreSQL type is not available.

May be you can tell what could I did wrong?

Hi
this plugin is a monitor. You have to use it from the System Profile, in the "Monitors" topic...
See https://community.dynatrace.com/community/display/DOCDT63/System+Profile+-+Monitors


Bootstrap/build fails on latest Ubuntu with GCC 10 alternative

Error : ERROR: Error reading 'default_relwithdebinfo' profile: Profile not found: gcc10_relwithdebinfo
EDIT : Workaround by calling directly ./build.sh gcc9_relwithdebinfo ggp_relwithdebinfo
EDIT2 : Test Utils.GetCpuUtilization fails (Unable to determine cpu utilization, wrong format from top command.) and test script hangs at the end

Thanks a lot, awesome work

Thanks a lot, awesome work

Hi Chris,
I just realized I missed to answer here. But apparently compiling with GCC-10 works now for you?
Cheers,
Henning

Yes, looks great, thanks


Finnish Translation v0.1

First part of the Finnish Translation done, version 0.1.

Let me know when you think it's ready to go live. I assume you want to check it with fresh eyes tonight / tomorrow?

I'll take a look at it tomorrow and get back to you :)
-------- Original message --------From: Taylor Van Orden<EMAIL_ADDRESS>Date: 30/08/2016  20:03  (GMT+02:00) To: kvhnuke/etherwallet<EMAIL_ADDRESS>Cc: Smokyish<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [kvhnuke/etherwallet] Finnish Translation v0.1 (#181)
Let me know when you think it's ready to go live. I assume you want to check it with fresh eyes tonight / tomorrow?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/kvhnuke/etherwallet","title":"kvhnuke/etherwallet","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/kvhnuke/etherwallet"}},"updates":{"snippets":[{"icon":"PERSON","message":"@tayvano in #181: Let me know when you think it's ready to go live. I assume you want to check it with fresh eyes tonight / tomorrow?"}],"action":{"name":"View Pull Request","url":"https://github.com/kvhnuke/etherwallet/pull/181#issuecomment-243508157"}}}

Hi, i went through the translation, made a few minor changes and corrections and a new PR, should be ready to go live with the version 0.2 :)
----- Original Message -----
From: "Taylor Van Orden"<EMAIL_ADDRESS>To: "kvhnuke/etherwallet"<EMAIL_ADDRESS>Cc: "Smokyish"<EMAIL_ADDRESS>"Author"<EMAIL_ADDRESS>Sent: Tuesday, 30 August, 2016 8:03:13 PM
Subject: Re: [kvhnuke/etherwallet] Finnish Translation v0.1 (#181)
Let me know when you think it's ready to go live. I assume you want to check it with fresh eyes tonight / tomorrow?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub , or mute the thread .


onMonthChange triggered too Late

Scrolling will trigger the onMonthChange too late
It will be Triggered when the FirstVisible Day ist the New Month...

Should Be fixed with #fcd66f5
Further Improvement:
private void getMoreEvents(Calendar day) should handle the 3Month fetch and cache the needed events in 3 Different Lists (cmp with Ring Buffer) to only fetch the newest or null lists

Fixed in #5d1e049


Auto lazy

Writing Lazy properties can be a bit cumbersome. It is often a repetitive task to write the same code over and over again while the package can infer almost everything.
Let's take a look at an example:
class UserData extends Data
{
    public function __construct(
        public string $title,
        public Lazy|SongData $favorite_song,
    ) {
    }

    public static function fromModel(User $user): self
    {
        return new self(
            $user->title,
            Lazy::create(fn() => SongData::from($user->favorite_song))
        );
    }
}

The package knows how to get the property from the model and wrap it into a data object, but since we're using a lazy property, we need to write our own magic creation method with a lot of repetitive code.
In such a situation auto lazy might be a good fit, instead of casting the property directly into the data object, the casting process is wrapped in a lazy Closure.
This makes it possible to rewrite the example as such:
#[AutoLazy]
class UserData extends Data
{
    public function __construct(
        public string $title,
        public Lazy|SongData $favorite_song,
    ) {
    }
}

While achieving the same result!
Auto Lazy wraps the casting process of a value for every property typed as Lazy into a Lazy Closure when the AutoLazy attribute is present on the class.
It is also possible to use the AutoLazy attribute on a property level:
class UserData extends Data
{
    public function __construct(
        public string $title,
        #[AutoLazy]
        public Lazy|SongData $favorite_song,
    ) {
    }
}

The auto lazy process won't be applied in the following situations:

When a null value is passed to the property
When the property value isn't present in the input payload and the property typed as Optional
When a Lazy Closure is passed to the property

Really looking forward to this feature. Is it going to be in an upcoming release?


Screenshots need updating

The Remove Microsoft Sentinel option is no longer a tab, but at the bottom of the page with a dropdown option.

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

ID: d272cb77-30a3-15c5-eb77-c15e5b9937ed
Version Independent ID: a1a18221-fe5a-aed8-3908-cbce1aa9502d
Content: Remove Microsoft Sentinel
Content Source: articles/sentinel/offboard.md
Service: microsoft-sentinel
Sub-service: microsoft-sentinel
GitHub Login: @yelevin
Microsoft Alias: yelevin

@adamfowlerit , Thank you for bringing to our notice. We will investigate and update the thread. Thanks.

This document has been updated to reflect the current state of the user interface. Thanks for your contribution!
#please-close