Sending email to same domain and other domain

Issue summary
The issue is when sending an email with sendgrid is that the email only is being sent to the email with the same domain and not the other email
Issue Code
const sgMail = require('@sendgrid/mail');
sgMail.setApiKey(sendgridApi);
const msg = {
to<EMAIL_ADDRESS><EMAIL_ADDRESS>from<EMAIL_ADDRESS>subject: '[LEAD] nieuwe inschrijving',
html: generateHtml(jsondata)
};
email not being sent to<EMAIL_ADDRESS>but is being sent to<EMAIL_ADDRESS>Steps to Reproduce

add same email domain as 'from'
send email
email only sent to the matching domain

Technical details:

sendgrid-nodejs version:
node version:

Hello @austinbakker,
Thanks for submitting a GitHub issue! We are very sorry that you are running into this problem. In order to better serve you, as this does not present itself as a library specific issue, we would like to ask that you reach out to our support team at https://support.sendgrid.com.
Thank you!
SendGrid DX Team


prost-build: Support generating single include file

In order to support use-cases where many protocol buffer
packages are parsed and generated, support the configuration
containing an optional include_file() which allows the build
script to name a file to be created to automatically include!()
all the generated content with the right module structure.
Signed-off-by: Daniel Silverstone<EMAIL_ADDRESS>

Thanks to @kinnison for doing the real work here.
Just getting this through the finish line.
https://github.com/danburkert/prost/pull/123#issuecomment-584746018


No module named 'HRNET.yolov6.YOLOv6'

hello,
Please, I faced this problem when I was trying to execute the code!
I didn't find this file. Can you help me with it?

I fixed this problem , but i faced this one now any suggestions?

Follow the instructions in the Readme.
For other people with the same issue:

For the first issue, you also need to clone the yolov6 submodule (not just clone):
git clone https://github.com/ibaiGorordo/ONNX-HRNET-Human-Pose-Estimation.git --recursive
For the missing model files, you need to download them as explained in the Readme, at least the HRNET or LiteHRNET models for the single pose examples, and additionally YOLOv6 or YOLOv5 for the multi pose examples.


Data store API for storing our members data.

I think before #5 we should complete building our member data storage. This API will only store GitHub username and discord username respectively when anyone joins our org and we will take the discord username while filling the issue form.

what do you think @imabp

Closing this as we are planning for completely different things now.


DMA1_Channel1_IRQHandler multiply defined

*** Using Compiler 'V5.06 update 5 (build 528)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Build target 'Target 1'
linking...
.\Objects\ws1.axf: Error: L6200E: Symbol DMA1_Channel1_IRQHandler multiply defined (by dma_stm32f10x.o and ws2812b.o).
Not enough information to list image symbols.
Not enough information to list load addresses in the image map.
Finished: 2 information, 0 warning and 1 error messages.
".\Objects\ws1.axf" - 1 Error(s), 0 Warning(s).
Target not created.

I just added needed files and Run-Time Environment. What's a problem?

Solved. I just commented in ws2812b_conf.h:
//#define WS2812B_DMA_HANDLER     DMA1_Channel1_IRQHandler

Worksc fine. Thanks to author!


adding capability to load from cloud storage

Hello,
Thanks for creating and sharing a great tool!
I have been working with large ApRES data sets stored in google cloud buckets.
Is there any interest in adding the capability to load ApRES from google buckets (and other cloud storage locations) to bas-apres?
I have hacked together something that sees to work on a fork, which loads ApRES data I have in google bucket as follows:
sys.path.append("../../bas-apres/")
import apres as ap

remote_dat_filename = 'gs://ldeo-glaciology/apres/thwaites/continuous/ApRES_LTG/SD1/DIR2023-01-25-0435/DATA2023-02-16-0437.DAT'

with ap.ApRESFile(remote_dat_filename) as f:
    f.read()

There is probably a much more elegant way of doing this, but so far it seems like its working well enough for my purposes.
Any interest in a working on a PR together on this? I would love to incorporate this into the package if you think it could be useful to people.
Some background:
I am planning on using the package as part of a different package we have been developing called xapres which is for loading and processing ApRES data using xarray. Currently the loading is done in an inefficient way and incorporating bas-apres would speed things up a lot. However, I do load from google buckets a lot, so I would need this capability if this was going to happen.

Hi @jkingslake,
This is a nice idea.  A few immediate questions I have:

How stable is the GCS package and its API
Presumably this requires some kind of authentication.  How are you handling credentials etc.
Is this something that could be easily extended to support other cloud storage platforms
In the interests of keeping the package's dependencies fairly mainstream, I wonder if this should be implemented as a sub-package

Great!
How stable is the GCS package and its API
I know gcsfs is used quite widely, but I really dont know how stable it is to be honest. It is built on fsspec, which is more general and probably more stable. gcsfs is just a google-specific way of calling fsspec, as far as I understand. So maybe the best thing to do is to implement this functionality with fsspec instead. I just used gcsfs because I have stored our data in google cloud storage.
Presumably this requires some kind of authentication. How are you handling credentials etc.
All ApRES data I have stored in google cloud storage is completely open to the public, so no authentication is needed to access it. To write anything to a bucket would require authentication. I have always done that with a token, as shown here: https://ldeo-glaciology.github.io/glaciology-intro-book/sections/appendix/upload_Measures_data_to_bucket.html#write-to-bucket
Is this something that could be easily extended to support other cloud storage platforms
Yes, I believe so, using fsspec (see above). Although I have not often used other cloud storage platforms, I think s3 works in a very similar way and I think you could deal with any of the main platforms using fsspec - I would need to look into it more.
In the interests of keeping the package's dependencies fairly mainstream, I wonder if this should be implemented as a sub-package
I can see the desire to keep the dependencies minimal. Is another option to have fsspec as an optional dependency that would only get imported if you try to read from cloud strorage?

Thanks for the comments, that's really useful.  So it seems that fsspec might be the way to go.  I think having a working assumption that any remote files are publicly accessible (read-only) is reasonable.  Regarding dependencies - it's fine to only import if trying to read from cloud storage, but that would mean that the dependency itself needs to be optional, hence suggesting a sub package.  Maybe a better way to handle this though, is by declaring fsspec to be an optional dependency of the package (an extra).  That would probably be much easier to manage and is then up to the user to install along with the core package if they require that functionality.

OK, sounds good. So just to be clear, should I put import fsspec inside the if statement where we check for whether its remote load (here)?

Yes, the import would need to be inside the if statement.  Then the fsspec package would need to be made an optional dependency of the bas-apres package in its pyproject.toml file: https://python-poetry.org/docs/pyproject/#extras.
I would suggest that the import should also be wrapped in a try/except block and if an ImportError is raised, then print out a suggestion to the user to install this optional dependency.  For example, if the extra is named remote, say, then something like:

To open files on remote storage the 'remote' optional dependency must be installed: pip install bas-apres[remote]

I pushed these changes to the remote_load branch in my fork: https://github.com/jkingslake/bas-apres/tree/remote_loading
It now:

uses fsspec instead of gcs
loads from s3 as well as gcs
only loads fsspec when it's needed
has fsspec as an optional dependency
includes tests of these capabilities
passes all the other tests.

Let me know what you think.

Thanks, this looks really good.
A question: Have you tried the CLI commands with remote files.  Particularly those that write a new file.  For instance, by default apres_to_nc will write the output of the conversion to netCDF to a file with the same path as the input file, but with a .nc suffix.  Does this still work when the input is a remote file (you'd need write access).  This isn't a showstopper if not, as you can optionally provide an explicit output filename, which could be local, but I'm interested to know how/if this works.

apres_to_nc works for loading from a file in a remote bucket and writing it to a local netcdf.
I haven't got it working to write back to the remote location. This would require some modification to to_netcdf to allow it to open and write to a bucket object (which might be different in different cloud services, i.e. s3 vs gcs). We would also need to allow the user to pass a token.
I think this is doable, but I currently dont fully understand to_netcdf, so it would take me a bit more digging.
I also think it is not necessarily a common use case. In my work flow I have taken data files from cloud storage and either used them locally in memory, or written to zarr in cloud storage (via xarray).
Maybe a bigger project could be to add to bas-apres the capability to create xarrays and then writing them to zarr stores in could storage would be straightforward. This is actually a big part of what xapres is for. It creates xarrays with the following format

So I think that would be a good solution.
For now, what do you think about just allowing netcdfs to be written locally, even when they derive from remote dat files?

Yes, writing netCDFs locally is fine.  I was just wondering if your mods. work with reading (and possibly writing) remote files via the CLI tools.
OK, can you do a PR of your changes against the original bas-apres project.  This will make it easier for me to review and approve all your changes.  Thanks again.

done. #2
Thanks for taking a look!


[6.7.0] can't type in text field

I use react-async-component to load a form async. After upgrading from 6.6.3 to 6.7.0 I was not able to type any content in the form text fields. The change events are fired but they are completely empty.

Can you provide an example for your problem?

Closing due to inactivity.


Add webxr repo to homu

Add the webxr repo to homu.

This change is

@bors-servo r+

:pushpin: Commit 9103d4c has been approved by jdm

:hourglass: Testing commit 9103d4c09bdc4a1150393598d6f00146d285605f with merge 49eaacd23f34197103f7ec97d3796fa0c60bff07...

:sunny: Test successful - checks-travis
Approved by: jdm
Pushing 49eaacd23f34197103f7ec97d3796fa0c60bff07 to master...


What type of update are you requesting?
A new version of an existing package
Current Package Identifier
MSI.Kombustor.4
Package Version
<IP_ADDRESS>
Please describe the changes you would like to see
Download Page: https://www.geeks3d.com/furmark/kombustor/downloads/
Download URL: https://geeks3d.com/dl/get/744

taking this.
Using https://gpuscore.top/msi/MSI_Kombustor4_Setup_v<IP_ADDRESS>_x64.exe as download URL.


fix: Alignment issues on the invite modal and the members page

Description

Alignment issues on the invite modal and the members page

Fixes #22020
Type of change

Bug fix (non-breaking change which fixes an issue)
Chore (housekeeping or task changes that don't impact user perception)

How Has This Been Tested?

Manual

Checklist:
Dev activity

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[ ] PR is being merged under a feature flag

QA activity:

[ ] Test plan has been approved by relevant developers
[ ] Test plan has been peer reviewed by QA
[ ] Cypress test cases have been added and approved by either SDET or manual QA
[ ] Organized project review call with relevant stakeholders after Round 1/2 of QA
[ ] Added Test Plan Approved label after reveiwing all Cypress test

/ok-to-test sha=a9affb0

/ok-to-test sha=ccfeb7a


Log

Changes needed by std.log

core.thread.Threads needs to expose the OS specific thread id so that we can include them as part of the log message

utsname for POSIX systems so we can query for the host's name

Add a few Windows functions to query for the host's name

make -f posix.mak MODEL=64 DMD=../dmd/src/dmd unittest
Update:

Remove the changes to posix.mak that included the runtime library on linux systems
Added review comments for utsname.d

Update:

I made all of the requested changes. What else do I need to do so we can include this in druntime?

Lets start all over again. Going to close this request and start another one...

For what it's worth, I've been using your std.log proposal (with the code that needs druntime changes commented out for the most part - I made it print thread names in place of thread IDs though), and I've found it to be excellent. I do agree with your assessment that thread IDs that match the debugger would be excellent (and much better than printing thread names).

Very nice! I recently modified std.log to not require a lot of druntime changes (the thread changes for example). Hopefully we can start the review process soon so we can finally include it in phobos!
If you have any suggestions on how to improve it please let me know.

The only major change I made was that while file-based logging is great for deployed applications, when I'm developing something, I frequently just want the log messages spammed to stdout. Fortunately, in the framework you've built, adding that sort of thing is trivial, but it would be useful for it to be included.

There is a command line option to output to stderr ('--logtostderr' the default is false). You can also control up to what level gets logged to stderr ('--stderrthreshold' the default is Severity.error). Is stderr good enough or do you really want write to stdout?

stderr is probably good enough, but I didn't notice that that option existed. Probably because when I first downloaded your library, I was too lazy to figure out how to get to the github page for the documentation (just figured out it's http://jsancio.github.com/phobos/phobos/std_log.html ).
So I guess that one goes under user error.


[home] added a top margin for new message loading indicator #trivial

Fixes https://github.com/artsy/collector-experience/issues/716 ✨

Awesomee ✨


Update MD file on new branch 2017-12-11_05-37-49

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestRef1.md
:white_check_mark:Succeeded

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


unit test faild,because of "http://www.boost.org" return "301 Moved Permanently"

OS: CentOS7.4 x64
gcc (GCC) 5.3.1 20160406 (Red Hat 5.3.1-6)
boost 1.66
cpp-netlib:0.12.0-final
tests]$ ./cpp-netlib-http-client_get_streaming_test
cpp-netlib-0.12.0-final/libs/network/test/http/client_get_streaming_test.cpp:41: Failure
Expected: 200u
Which is: 200
To be equal to: response.status()
Which is: 301
/home/limenghua/Downloads/cpp-netlib-0.12.0-final/libs/network/test/http/client_get_streaming_test.cpp:42: Failure
Expected: "OK"
To be equal to: response.status_message()
Which is: "Moved Permanently"

Hi @limenghua, we used to connect to boost.org in some of the tests because the site would support chunked transfer encoding. But now they don't allow unencrypted connections any more. We need to find another source for testing chunked transfer encoding.

Yeah, this one's tricky -- we definitely should update the test to either:

Use HTTPS and chunked transfer encoding.

Set up our own server to make HTTP requests to.

While I'm not a great fan of solution 2, that might be the easiest thing to do in this case.

The test passes for me on 0.13-release branch if I change http to https:
--- a/libs/network/test/http/client_get_streaming_test.cpp
+++ b/libs/network/test/http/client_get_streaming_test.cpp
@@ -26,7 +26,7 @@ struct body_handler {
 TYPED_TEST_CASE(HTTPClientTest, ClientTypes);

 TYPED_TEST(HTTPClientTest, GetStreamingTest) {
-  typename TypeParam::request request("http://www.boost.org");
+  typename TypeParam::request request("https://www.boost.org");
   typename TypeParam::response response;
   typename TypeParam::string_type body_string;
   typename TypeParam::string_type dummy_body;

Cool -- can you send a pull request with that change @yhager?


Update presubmit.yml

Fix ruby build on ARM: https://github.com/openwrt/packages/issues/24450

We can merge, I think it's jsut that thapi-master cannot be build because of Metababel 1.2


[Bug Report] isVertical on PascalCase ELContainer not working

Element UI version
2.4.11
OS/Browsers version
Chrome
Vue version
2.5.17
Reproduction Link
https://github.com/ElemeFE/element/blob/0e7a7d345f508531cfb170a613a6ece1a2c398b7/packages/container/src/main.vue#L27
Steps to reproduce
Use ELContainer with ELHeader or ELFooter in PascalCase wont set isVertical on ELContainer
Cause: https://github.com/ElemeFE/element/blob/0e7a7d345f508531cfb170a613a6ece1a2c398b7/packages/container/src/main.vue#L27
Vue ESLint recommends to use PascalCase so...
What is Expected?
isVertical is set on ELContainer
What is actually happening?
isVertical is not set
Quickfix ist to set direction prop on ELContainer

Please, write a jsfiddle demo. A source code fragment is not really useful in determining the cause.

https://github.com/ElemeFE/element/blob/dev/test/unit/specs/container.spec.js
it('vertical-PascalCase', () => {
    vm = createVue({
      template: `
        <ELContainer>
          <ELHeader></ELHeader>
          <ELMain></ELMain>
        </ELContainer>
      `
    }, true);
    expect(vm.$children[0].$el.classList.contains('is-vertical')).to.true;
  });

@monsdroid i can fix this issue by add prop "direction" with value "vertical"
<ElContainer direction="vertical">


Add more subreddits within the Reddit tab section

like we can switch between subreddits ,there are more useful subreddits available like
/r/learnprogramming: A subreddit for those looking to learn how to program.
"its already there "/r/programming: A subreddit for those interested in programming and computer science.
/r/coding: A subreddit for coding and programming enthusiasts.
/r/webdev: A subreddit for those interested in web development.
/r/compsci: A subreddit for computer science students and professionals.

the mentioned subreddits were added, and found under the Trending option.


Add model action item

Discussed in https://github.com/aminalaee/sqladmin/discussions/483

Originally posted by johanboekhoven May  1, 2023
I want to add another bulk action to the action dropdown in the listview, adding a menu item is easy enough, but how do I set up the rest of the code to process the selected items with my custom action.
For example I want to change the state of the selected row by setting an archived flag to true.
Thanks for any pointers!

Hi @murrple-1
Sure, contributions are welcome.
If you can take a look at that old PR the code was fine, but I had some unresolved comments.
It should be similar to FlaskAdmin actions
https://flask-admin.readthedocs.io/en/latest/api/mod_actions/ and resolve the comments, just to avoid doing a big change and having to remove it in review.
Thanks


Monthly reports

(Just to make sure) Am I right that reports_kit can't generate monthly reports?

If by monthly reports, you mean grouping by month on the x-axis (similar to this, but grouped by month), then ReportsKit does indeed support that. You can do this by adding granularity: month to the datetime dimension, like this:
measure: post
dimensions:
- key: created_at
  granularity: month


compliance: export all node reports for a single node

User Story
As an Automate user, I would like to retrieve all the compliance reports (within a given timeframe) for a single node.
Definition of Done
API call for retrieving (downloading) all compliance reports for a single node, given a timeframe (start and end time). Should support CSV and JSON download.
https://github.com/chef/automate/issues/178

this issue is being pulled from the sprint.
wip is here: https://github.com/chef/automate/compare/rm/support-non-latest-report-export

I created a new function that uses a non-aggregated query instead of aggregation to retrieve these ids. I'm reconsidering that in favor of using aggs as they have fewer restrictions on response size than non-agg version does


update AZ CLI for compatibility with Python 3.8

re: https://github.com/Azure/azure-cli/issues/12390
see: https://docs.python.org/3.8/whatsnew/3.8.html#changes-in-python-behavior
This issue is still wide open with many AZ CLI modules
az version
{
  "azure-cli": "2.7.0",
  "azure-cli-command-modules-nspkg": "2.0.3",
  "azure-cli-core": "2.7.0",
  "azure-cli-nspkg": "3.0.4",
  "azure-cli-telemetry": "1.0.4",
  "extensions": {
    "aks-preview": "0.4.51",
    "azure-devops": "0.18.0",
    "mesh": "0.10.6",
    "resource-graph": "1.1.0"
  }
}

see, for example:
az storage account list
/usr/local/Cellar/azure-cli/2.7.0/libexec/lib/python3.8/site-packages/azure/multiapi/storage/v2018_11_09/blob/_upload_chunking.py:403: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if n is 0 or self._buffer.closed:
/usr/local/Cellar/azure-cli/2.7.0/libexec/lib/python3.8/site-packages/azure/multiapi/storage/v2018_11_09/blob/baseblobservice.py:1063: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if lease_duration is not -1 and \
/usr/local/Cellar/azure-cli/2.7.0/libexec/lib/python3.8/site-packages/azure/multiapi/storage/v2018_11_09/blob/baseblobservice.py:2719: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if lease_duration is not -1 and \
/usr/local/Cellar/azure-cli/2.7.0/libexec/lib/python3.8/site-packages/azure/multiapi/storage/v2018_11_09/common/_connection.py:82: SyntaxWarning: "is" with a literal. Did you mean "=="?
  self.protocol = self.protocol if parsed_url.scheme is '' else parsed_url.scheme
/usr/local/Cellar/azure-cli/2.7.0/libexec/lib/python3.8/site-packages/azure/multiapi/cosmosdb/v2017_04_17/common/_connection.py:91: SyntaxWarning: "is" with a literal. Did you mean "=="?
  self.protocol = self.protocol if parsed_url.scheme is '' else parsed_url.scheme

hi @fengzhou-msft could you pls have a look?

@Juliehzl can you take a look at the error message with azure-multiapi-storage SDK?

Hi @PaulCharlton, could you provide more information with --debug in your command?

@Juliehzl This occurs on MacOS with BREW install of az-cli.
For specific example, just look at the source code file azure-cli/2.7.0/libexec/lib/python3.8/site-packages/azure/multiapi/storage/v2018_11_09/blob/_upload_chunking.py at line 403.
That line says if n is 0 or self._buffer.closed:
This is incorrect syntax on Python3.8 and should read if n == 0 or self._buffer.closed:

could you share the cli command you are using? For az storage account list, we cannot reproduce the issue.

Hi @Juliehzl -- I am not sure what to say ... I have MacOS + home-brew + AZ CLI installed via home-brew.
I still get, as of moments ago:
STDERR: if lease_duration is not -1 and \
STDERR: /usr/local/Cellar/azure-cli/2.7.0/libexec/lib/python3.8/site-packages/azure/multiapi/storage/v2018_11_09/blob/baseblobservice.py:2719: SyntaxWarning: "is not" with a literal. Did you mean "!="?

When I look at the path in the error above, it shows Az Cli 2.7.0 and also python3.8 as part of that path.

Definitely still not solved. When running something like az storage account create --name foobarteststorageaccount --kind StorageV2 under Python 3.8 on Fedora 32 I get a barrage of warnings like below.
/usr/lib64/az/lib/python3.6/site-packages/azure/multiapi/storage/v2018_11_09/blob/_upload_chunking.py:403: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if n is 0 or self._buffer.closed:
/usr/lib64/az/lib/python3.6/site-packages/azure/multiapi/storage/v2018_11_09/blob/baseblobservice.py:1063: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if lease_duration is not -1 and \
/usr/lib64/az/lib/python3.6/site-packages/azure/multiapi/storage/v2018_11_09/blob/baseblobservice.py:2719: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if lease_duration is not -1 and \
/usr/lib64/az/lib/python3.6/site-packages/azure/multiapi/storage/v2018_11_09/common/_connection.py:82: SyntaxWarning: "is" with a literal. Did you mean "=="?
  self.protocol = self.protocol if parsed_url.scheme is '' else parsed_url.scheme
/usr/lib64/az/lib/python3.6/site-packages/azure/multiapi/cosmosdb/v2017_04_17/common/_connection.py:91: SyntaxWarning: "is" with a literal. Did you mean "=="?
  self.protocol = self.protocol if parsed_url.scheme is '' else parsed_url.scheme

Seems like it's subtly different from the problem above, where mine is actually trying to run libraries from python 3.6's site-packages
Perhaps it's a packaging issue on the yum repo on the fedora side? My version stats are as follows:
azure-cli                          2.9.0

command-modules-nspkg              2.0.3
core                               2.9.0
nspkg                              3.0.4
telemetry                          1.0.4

Extensions:
application-insights               0.1.4

Python location '/usr/bin/python3'
Extensions directory '/home/geewee/.azure/cliextensions'

Python (Linux) 3.8.3 (default, May 29 2020, 00:00:00)
[GCC 10.1.1 20200507 (Red Hat 10.1.1-1)]

Legal docs and information: aka.ms/AzureCliLegal

Your CLI is up-to-date.

Full output of az storage account create --name foobarteststorageaccount --kind StorageV2 --debug
Command arguments: ['storage', 'account', 'create', '--name', 'foobarteststorageaccount', '--kind', 'StorageV2', '--debug']
Event: Cli.PreExecute []
Event: CommandParser.OnGlobalArgumentsCreate [<function CLILogging.on_global_arguments at 0x7f73faa95790>, <function OutputProducer.on_global_arguments at 0x7f73fabdadc0>, <function CLIQuery.on_global_arguments at 0x7f73fac09430>]
Event: CommandInvoker.OnPreCommandTableCreate []
Modules found from index for 'storage': ['azure.cli.command_modules.storage']
Loading command modules:
Name                  Load Time    Groups  Commands
Event: CommandLoader.OnLoadCommandTable []
storage                   0.037        49       216
Total (1)                 0.037        49       216
These extensions are not installed and will be skipped: ['azext_ai_examples', 'azext_ai_did_you_mean_this']
Loading extensions:
Name                  Load Time    Groups  Commands  Directory
Total (0)                 0.000         0         0
Loaded 49 groups, 216 commands.
Found a match in the command table for 'storage account create'
Event: CommandInvoker.OnPreCommandTableTruncate [<function AzCliLogging.init_command_file_logging at 0x7f73fadaf0d0>]
az_command_data_logger : command args: storage account create --name {} --kind {} --debug
metadata file logging enabled - writing logs to '/home/geewee/.azure/commands'.
Event: CommandInvoker.OnPreArgumentLoad [<function register_global_subscription_argument.<locals>.add_subscription_parameter at 0x7f73fadcb820>]
Event: CommandLoader.OnLoadArguments []
Configured default 'rg-aip-test-001' for arg resource_group_name
/usr/lib64/az/lib/python3.6/site-packages/azure/multiapi/storage/v2018_11_09/blob/_upload_chunking.py:403: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if n is 0 or self._buffer.closed:
/usr/lib64/az/lib/python3.6/site-packages/azure/multiapi/storage/v2018_11_09/blob/baseblobservice.py:1063: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if lease_duration is not -1 and \
/usr/lib64/az/lib/python3.6/site-packages/azure/multiapi/storage/v2018_11_09/blob/baseblobservice.py:2719: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if lease_duration is not -1 and \
/usr/lib64/az/lib/python3.6/site-packages/azure/multiapi/storage/v2018_11_09/common/_connection.py:82: SyntaxWarning: "is" with a literal. Did you mean "=="?
  self.protocol = self.protocol if parsed_url.scheme is '' else parsed_url.scheme
/usr/lib64/az/lib/python3.6/site-packages/azure/multiapi/cosmosdb/v2017_04_17/common/_connection.py:91: SyntaxWarning: "is" with a literal. Did you mean "=="?
  self.protocol = self.protocol if parsed_url.scheme is '' else parsed_url.scheme
Configured default 'rg-aip-test-001' for arg resource_group_name
Event: CommandInvoker.OnPostArgumentLoad []
Event: CommandInvoker.OnPostCommandTableCreate [<function register_ids_argument.<locals>.add_ids_arguments at 0x7f73fa1e2040>, <function register_cache_arguments.<locals>.add_cache_arguments at 0x7f73fa1e2160>]
Event: CommandInvoker.OnCommandTableLoaded []
Event: CommandInvoker.OnPreParseArgs []
Event: CommandInvoker.OnPostParseArgs [<function OutputProducer.handle_output_argument at 0x7f73fabdae50>, <function CLIQuery.handle_query_parameter at 0x7f73fac094c0>, <function register_ids_argument.<locals>.parse_ids_arguments at 0x7f73fa1e20d0>]
Getting management service client client_type=ResourceManagementClient
msrest.universal_http.requests : Configuring retry: max_retries=4, backoff_factor=0.8, max_backoff=90
attempting to read file /home/geewee/.azure/accessTokens.json as utf-8-sig
adal-python : 2b5c2dfb-1888-4425-a42b-bd57b1f9d2f4 - Authority:Performing instance discovery: ...
adal-python : 2b5c2dfb-1888-4425-a42b-bd57b1f9d2f4 - Authority:Performing static instance discovery
adal-python : 2b5c2dfb-1888-4425-a42b-bd57b1f9d2f4 - Authority:Authority validated via static instance discovery
adal-python : 2b5c2dfb-1888-4425-a42b-bd57b1f9d2f4 - TokenRequest:Getting token from cache with refresh if necessary.
adal-python : 2b5c2dfb-1888-4425-a42b-bd57b1f9d2f4 - CacheDriver:finding with query keys: {'_clientId': '...', 'userId': '...'}
adal-python : 2b5c2dfb-1888-4425-a42b-bd57b1f9d2f4 - CacheDriver:Looking for potential cache entries: {'_clientId': '...', 'userId': '...'}
adal-python : 2b5c2dfb-1888-4425-a42b-bd57b1f9d2f4 - CacheDriver:Found 4 potential entries.
adal-python : 2b5c2dfb-1888-4425-a42b-bd57b1f9d2f4 - CacheDriver:Resource specific token found.
adal-python : 2b5c2dfb-1888-4425-a42b-bd57b1f9d2f4 - CacheDriver:Returning token from cache lookup, AccessTokenId: b'IHzdOne05SClgEiTpzb2pNWAwXNBlvi8yHdJCPWnBoA=', RefreshTokenId: b'b6U1vz2qD3EG7OhAymA0uv474EYraCkJAgpP2yxyP7o='
msrest.http_logger : Request URL: 'https://management.azure.com/subscriptions/247ec29e-9ce1-4f42-992e-8f31b28f471a/resourcegroups/rg-aip-test-001?api-version=2019-07-01'
msrest.http_logger : Request method: 'GET'
msrest.http_logger : Request headers:
msrest.http_logger :     'Accept': 'application/json'
msrest.http_logger :     'accept-language': 'en-US'
msrest.http_logger :     'User-Agent': 'python/3.8.3 (Linux-5.7.8-200.fc32.x86_64-x86_64-with-glibc2.2.5) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.0.0 Azure-SDK-For-Python AZURECLI/2.9.0 (RPM)'
msrest.http_logger : Request body:
msrest.http_logger : None
msrest.universal_http : Configuring redirects: allow=True, max=30
msrest.universal_http : Configuring request: timeout=100, verify=True, cert=None
msrest.universal_http : Configuring proxies: ''
msrest.universal_http : Evaluate proxies against ENV settings: True
urllib3.connectionpool : Starting new HTTPS connection (1): management.azure.com:443
urllib3.connectionpool : https://management.azure.com:443 "GET /subscriptions/247ec29e-9ce1-4f42-992e-8f31b28f471a/resourcegroups/rg-aip-test-001?api-version=2019-07-01 HTTP/1.1" 200 288
msrest.http_logger : Response status: 200
msrest.http_logger : Response headers:
msrest.http_logger :     'Cache-Control': 'no-cache'
msrest.http_logger :     'Pragma': 'no-cache'
msrest.http_logger :     'Content-Type': 'application/json; charset=utf-8'
msrest.http_logger :     'Content-Encoding': 'gzip'
msrest.http_logger :     'Expires': '-1'
msrest.http_logger :     'Vary': 'Accept-Encoding'
msrest.http_logger :     'x-ms-ratelimit-remaining-subscription-reads': '11986'
msrest.http_logger :     'x-ms-request-id': '21f8b832-7a28-4c58-a12f-12c2f4b58e7a'
msrest.http_logger :     'x-ms-correlation-request-id': '21f8b832-7a28-4c58-a12f-12c2f4b58e7a'
msrest.http_logger :     'x-ms-routing-request-id': 'GERMANYNORTH:20200715T123636Z:21f8b832-7a28-4c58-a12f-12c2f4b58e7a'
msrest.http_logger :     'Strict-Transport-Security': 'max-age=31536000; includeSubDomains'
msrest.http_logger :     'X-Content-Type-Options': 'nosniff'
msrest.http_logger :     'Date': 'Wed, 15 Jul 2020 12:36:36 GMT'
msrest.http_logger :     'Content-Length': '288'
msrest.http_logger : Response content:
msrest.http_logger : {"id":"/subscriptions/247ec29e-9ce1-4f42-992e-8f31b28f471a/resourceGroups/rg-aip-test-001","name":"rg-aip-test-001","type":"Microsoft.Resources/resourceGroups","location":"northeurope","properties":{"provisioningState":"Succeeded"}}
using location 'northeurope' from resource group 'rg-aip-test-001'
Getting management service client client_type=StorageManagementClient
msrest.universal_http.requests : Configuring retry: max_retries=4, backoff_factor=0.8, max_backoff=90
Getting management service client client_type=StorageManagementClient
msrest.universal_http.requests : Configuring retry: max_retries=4, backoff_factor=0.8, max_backoff=90
adal-python : a3a799ca-741b-4942-8700-c878a9fd1fdb - Authority:Performing instance discovery: ...
adal-python : a3a799ca-741b-4942-8700-c878a9fd1fdb - Authority:Performing static instance discovery
adal-python : a3a799ca-741b-4942-8700-c878a9fd1fdb - Authority:Authority validated via static instance discovery
adal-python : a3a799ca-741b-4942-8700-c878a9fd1fdb - TokenRequest:Getting token from cache with refresh if necessary.
adal-python : a3a799ca-741b-4942-8700-c878a9fd1fdb - CacheDriver:finding with query keys: {'_clientId': '...', 'userId': '...'}
adal-python : a3a799ca-741b-4942-8700-c878a9fd1fdb - CacheDriver:Looking for potential cache entries: {'_clientId': '...', 'userId': '...'}
adal-python : a3a799ca-741b-4942-8700-c878a9fd1fdb - CacheDriver:Found 4 potential entries.
adal-python : a3a799ca-741b-4942-8700-c878a9fd1fdb - CacheDriver:Resource specific token found.
adal-python : a3a799ca-741b-4942-8700-c878a9fd1fdb - CacheDriver:Returning token from cache lookup, AccessTokenId: b'IHzdOne05SClgEiTpzb2pNWAwXNBlvi8yHdJCPWnBoA=', RefreshTokenId: b'b6U1vz2qD3EG7OhAymA0uv474EYraCkJAgpP2yxyP7o='
msrest.http_logger : Request URL: 'https://management.azure.com/subscriptions/247ec29e-9ce1-4f42-992e-8f31b28f471a/resourceGroups/rg-aip-test-001/providers/Microsoft.Storage/storageAccounts/foobarteststorageaccount?api-version=2019-06-01'
msrest.http_logger : Request method: 'PUT'
msrest.http_logger : Request headers:
msrest.http_logger :     'Accept': 'application/json'
msrest.http_logger :     'Content-Type': 'application/json; charset=utf-8'
msrest.http_logger :     'accept-language': 'en-US'
msrest.http_logger :     'Content-Length': '175'
msrest.http_logger :     'User-Agent': 'python/3.8.3 (Linux-5.7.8-200.fc32.x86_64-x86_64-with-glibc2.2.5) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-storage/11.1.0 Azure-SDK-For-Python AZURECLI/2.9.0 (RPM)'
msrest.http_logger : Request body:
msrest.http_logger : {"sku": {"name": "Standard_RAGRS"}, "kind": "StorageV2", "location": "northeurope", "properties": {"encryption": {"services": {"blob": {}}, "keySource": "Microsoft.Storage"}}}
msrest.universal_http : Configuring redirects: allow=True, max=30
msrest.universal_http : Configuring request: timeout=100, verify=True, cert=None
msrest.universal_http : Configuring proxies: ''
msrest.universal_http : Evaluate proxies against ENV settings: True
urllib3.connectionpool : Starting new HTTPS connection (1): management.azure.com:443
urllib3.connectionpool : https://management.azure.com:443 "PUT /subscriptions/247ec29e-9ce1-4f42-992e-8f31b28f471a/resourceGroups/rg-aip-test-001/providers/Microsoft.Storage/storageAccounts/foobarteststorageaccount?api-version=2019-06-01 HTTP/1.1" 200 None
msrest.http_logger : Response status: 200
msrest.http_logger : Response headers:
msrest.http_logger :     'Cache-Control': 'no-cache'
msrest.http_logger :     'Pragma': 'no-cache'
msrest.http_logger :     'Transfer-Encoding': 'chunked'
msrest.http_logger :     'Content-Type': 'application/json'
msrest.http_logger :     'Content-Encoding': 'gzip'
msrest.http_logger :     'Expires': '-1'
msrest.http_logger :     'Vary': 'Accept-Encoding'
msrest.http_logger :     'x-ms-request-id': 'd89ef4fe-4360-40b4-ac1d-25808e079079'
msrest.http_logger :     'Strict-Transport-Security': 'max-age=31536000; includeSubDomains'
msrest.http_logger :     'Server': 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0'
msrest.http_logger :     'x-ms-ratelimit-remaining-subscription-writes': '1193'
msrest.http_logger :     'x-ms-correlation-request-id': 'b102a755-4c04-471e-b8c4-9f5101ddd7ea'
msrest.http_logger :     'x-ms-routing-request-id': 'GERMANYNORTH:20200715T123637Z:b102a755-4c04-471e-b8c4-9f5101ddd7ea'
msrest.http_logger :     'X-Content-Type-Options': 'nosniff'
msrest.http_logger :     'Date': 'Wed, 15 Jul 2020 12:36:37 GMT'
msrest.http_logger : Response content:
msrest.http_logger : {"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/247ec29e-9ce1-4f42-992e-8f31b28f471a/resourceGroups/rg-aip-test-001/providers/Microsoft.Storage/storageAccounts/foobarteststorageaccount","name":"foobarteststorageaccount","type":"Microsoft.Storage/storageAccounts","location":"northeurope","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-07-15T12:35:02.6564343Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-07-15T12:35:02.6564343Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-07-15T12:35:02.5782872Z","primaryEndpoints":{"dfs":"https://foobarteststorageaccount.dfs.core.windows.net/","web":"https://foobarteststorageaccount.z16.web.core.windows.net/","blob":"https://foobarteststorageaccount.blob.core.windows.net/","queue":"https://foobarteststorageaccount.queue.core.windows.net/","table":"https://foobarteststorageaccount.table.core.windows.net/","file":"https://foobarteststorageaccount.file.core.windows.net/"},"primaryLocation":"northeurope","statusOfPrimary":"available","secondaryLocation":"westeurope","statusOfSecondary":"available","secondaryEndpoints":{"dfs":"https://foobarteststorageaccount-secondary.dfs.core.windows.net/","web":"https://foobarteststorageaccount-secondary.z16.web.core.windows.net/","blob":"https://foobarteststorageaccount-secondary.blob.core.windows.net/","queue":"https://foobarteststorageaccount-secondary.queue.core.windows.net/","table":"https://foobarteststorageaccount-secondary.table.core.windows.net/"}}}
Event: CommandInvoker.OnTransformResult [<function _resource_group_transform at 0x7f73fa7bfe50>, <function _x509_from_base64_to_hex_transform at 0x7f73fa7bfee0>]
Event: CommandInvoker.OnFilterResult []
{
  "accessTier": "Hot",
  "allowBlobPublicAccess": null,
  "azureFilesIdentityBasedAuthentication": null,
  "blobRestoreStatus": null,
  "creationTime": "2020-07-15T12:35:02.578287+00:00",
  "customDomain": null,
  "enableHttpsTrafficOnly": true,
  "encryption": {
    "keySource": "Microsoft.Storage",
    "keyVaultProperties": null,
    "requireInfrastructureEncryption": null,
    "services": {
      "blob": {
        "enabled": true,
        "keyType": "Account",
        "lastEnabledTime": "2020-07-15T12:35:02.656434+00:00"
      },
      "file": {
        "enabled": true,
        "keyType": "Account",
        "lastEnabledTime": "2020-07-15T12:35:02.656434+00:00"
      },
      "queue": null,
      "table": null
    }
  },
  "failoverInProgress": null,
  "geoReplicationStats": null,
  "id": "/subscriptions/247ec29e-9ce1-4f42-992e-8f31b28f471a/resourceGroups/rg-aip-test-001/providers/Microsoft.Storage/storageAccounts/foobarteststorageaccount",
  "identity": null,
  "isHnsEnabled": null,
  "kind": "StorageV2",
  "largeFileSharesState": null,
  "lastGeoFailoverTime": null,
  "location": "northeurope",
  "minimumTlsVersion": null,
  "name": "foobarteststorageaccount",
  "networkRuleSet": {
    "bypass": "AzureServices",
    "defaultAction": "Allow",
    "ipRules": [],
    "virtualNetworkRules": []
  },
  "primaryEndpoints": {
    "blob": "https://foobarteststorageaccount.blob.core.windows.net/",
    "dfs": "https://foobarteststorageaccount.dfs.core.windows.net/",
    "file": "https://foobarteststorageaccount.file.core.windows.net/",
    "internetEndpoints": null,
    "microsoftEndpoints": null,
    "queue": "https://foobarteststorageaccount.queue.core.windows.net/",
    "table": "https://foobarteststorageaccount.table.core.windows.net/",
    "web": "https://foobarteststorageaccount.z16.web.core.windows.net/"
  },
  "primaryLocation": "northeurope",
  "privateEndpointConnections": [],
  "provisioningState": "Succeeded",
  "resourceGroup": "rg-aip-test-001",
  "routingPreference": null,
  "secondaryEndpoints": {
    "blob": "https://foobarteststorageaccount-secondary.blob.core.windows.net/",
    "dfs": "https://foobarteststorageaccount-secondary.dfs.core.windows.net/",
    "file": null,
    "internetEndpoints": null,
    "microsoftEndpoints": null,
    "queue": "https://foobarteststorageaccount-secondary.queue.core.windows.net/",
    "table": "https://foobarteststorageaccount-secondary.table.core.windows.net/",
    "web": "https://foobarteststorageaccount-secondary.z16.web.core.windows.net/"
  },
  "secondaryLocation": "westeurope",
  "sku": {
    "name": "Standard_RAGRS",
    "tier": "Standard"
  },
  "statusOfPrimary": "available",
  "statusOfSecondary": "available",
  "tags": {},
  "type": "Microsoft.Storage/storageAccounts"
}
Event: Cli.PostExecute [<function AzCliLogging.deinit_cmd_metadata_logging at 0x7f73fadaf310>]
az_command_data_logger : exit code: 0
telemetry.save : Save telemetry record of length 2539 in cache
telemetry.check : Negative: The /home/geewee/.azure/telemetry.txt was modified at 2020-07-15 14:34:46.422100, which in less than 600.000000 s
Command ran in 2.533 seconds (init: 0.062, invoke: 2.471)

The warning is caused by a dependency package azure-multiapi-storage and will be resolved by https://github.com/Azure/azure-multiapi-storage-python/pull/31


brisbane keyword in code

i noticed that some of the keywords remain brisbane rather than iris.
apps/2tasks/kernel.openmp.c
can this be changed easily to iris? or is there some reason it is difficult to change.

I just forgot to change them. =(
I've changed all brisbane/BRISBANE code in example applications to iris/IRIS.


NIFI-12439 Update io.fabric8.kubernetes.client.version to 6.9.2

Summary
NIFI-12439
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking

[X] Apache NiFi Jira issue created

Pull Request Tracking

[X] Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
[X] Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000

Pull Request Formatting

[X] Pull Request based on current revision of the main branch
[X] Pull Request refers to a feature branch with one commit containing changes

Verification
Please indicate the verification steps performed prior to pull request creation.
Build

[ ] Build completed using mvn clean install -P contrib-check

[ ] JDK 21

Licensing

[ ] New dependencies are compatible with the Apache License 2.0 according to the License Policy
[ ] New dependencies are documented in applicable LICENSE and NOTICE files

Documentation

[ ] Documentation formatting appears as expected in rendered files

The workflows and tests completed successfully on local branch


Disable sourcemaps on @angular-devkit/build-angular:server

🐞 Bug report
Command (mark with an x)

- [ ] new
- [X ] build
- [X] serve
- [ ] test
- [ ] e2e
- [ ] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc

Is this a regression?
I am not sure.
Description
You need to add sourceMap: false to the server builder because including the sourcemaps on each page, causes alot of overhead, Facebook is not able to see past the first MB on a site, and adding an extra 100 KB on top of Material already loading in SSR, is just going to cause bundle sizes to be huge for no reason, I ask that you include this in the angular.json file.
    "server": {
      "builder": "@angular-devkit/build-angular:server",
      "options": {
        "outputPath": "dist/server",
        "main": "src/main.server.ts",
        "sourceMap": false,
        "tsConfig": "src/tsconfig.server.json"
      },
      "configurations": {
        "production": {
          "fileReplacements": [
            {
              "replace": "src/environments/environment.ts",
              "with": "src/environments/environment.prod.ts"
            }
          ]
        }
      }

🔬 Minimal Reproduction
Set up a new SSR project using the steps in the angular.io, then take a look at the angular.json
🔥 Exception or Error
You will not see an error,
🌍 Your Environment
Angular CLI: 7.3.6
Node: 10.15.3
OS: darwin x64
Angular: 7.2.10
... animations, common, compiler, compiler-cli, core, forms
... http, platform-browser, platform-browser-dynamic
... platform-server, router, service-worker
Package                           Version
@angular-devkit/architect         0.13.6
@angular-devkit/build-angular     0.13.6
@angular-devkit/build-optimizer   0.13.6
@angular-devkit/build-webpack     0.13.6
@angular-devkit/core              7.3.6
@angular-devkit/schematics        7.3.6
@angular/cdk                      7.3.5
@angular/cli                      7.3.6
@angular/fire                     5.1.0
@angular/material                 7.3.5
@angular/pwa                      0.13.6
@ngtools/webpack                  7.3.6
@schematics/angular               7.3.6
@schematics/update                0.13.6
rxjs                              6.4.0
typescript                        3.2.4
webpack                           4.29.0

Anything else relevant?
This was a very hard issue for me to debug, if you are using SSR, and wondering why certain sites can see your meta tags, and others can't, it's probably because of the inclusion of sourcemaps could be breaking their file size limits.

Hi @stot3, production configuration for the server builder already includes "sourceMaps": false.
Kindly see: https://github.com/angular/angular-cli/blob/master/packages/schematics/angular/universal/index.ts#L62
I am guessing that the above configuration was not generated recently, right?

I haven’t generated the base configuration for SSR I maybe a week or two

On Apr 29, 2019, at 12:10 PM, Alan Agius<EMAIL_ADDRESS>wrote:
Hi @stot3 https://github.com/stot3, production configuration for the server builder already includes "sourceMaps": false.
Kindly see: https://github.com/angular/angular-cli/blob/master/packages/schematics/angular/universal/index.ts#L62 https://github.com/angular/angular-cli/blob/master/packages/schematics/angular/universal/index.ts#L62
I am guessing that the above configuration was not generated recently, right?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/angular/angular-cli/issues/14304#issuecomment-487642062, or mute the thread https://github.com/notifications/unsubscribe-auth/ACBPZGINPPVKMCGACSGTGHDPS4MXZANCNFSM4HJESP6A.

I appreciate the prompt response I will close this.

On Apr 29, 2019, at 12:10 PM, Alan Agius<EMAIL_ADDRESS>wrote:
Hi @stot3 https://github.com/stot3, production configuration for the server builder already includes "sourceMaps": false.
Kindly see: https://github.com/angular/angular-cli/blob/master/packages/schematics/angular/universal/index.ts#L62 https://github.com/angular/angular-cli/blob/master/packages/schematics/angular/universal/index.ts#L62
I am guessing that the above configuration was not generated recently, right?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/angular/angular-cli/issues/14304#issuecomment-487642062, or mute the thread https://github.com/notifications/unsubscribe-auth/ACBPZGINPPVKMCGACSGTGHDPS4MXZANCNFSM4HJESP6A.


refactor: replace redundant log macros with tracing layer

OpenDAL have implemented tracing layer, so we don't need to log manually.

Why?

Why?

Sorry, typo 🤥

so we don't need to log manually.

This task should be more precious. Logs inside impl Accessor for Backend is not needed anymore. But services can print logs for other APIs like Builder::build().


Initial commit of widcw

widcw is a widget to display the current calendar week.

Thanks! Are those SVG files just there as source images for the icon?

Thanks! Are those SVG files just there as source images for the icon?

Yes, I want to make a fancier icon, but don't have a good idea yet.
But I just saw that I committed the similar file under two names. I will fix this when I do an update.

Thanks!


cmd/go2go: constraint type inference example from proposal causes panic

I copied and pasted the constraint type inference example from the proposal, and it causes the translator to panic.
https://go2goplay.golang.org/p/JvUmICGpndk
panic: runtime error: index out of range [1] with length 1

goroutine 1 [running]:
go/go2go.typeArgsFromFields(0xc000157950, 0xc000082dd0, 0x1, 0x1, 0xc000082de0, 0x1, 0x1, 0xc000082720, 0x2, 0x2, ...)
	/usr/local/go-faketime/src/go/go2go/instantiate.go:48 +0x3db
go/go2go.(*translator).instantiateFunction(0xc000157950, 0x0, 0xc00009a200, 0xc000082dd0, 0x1, 0x1, 0xc000082de0, 0x1, 0x1, 0x657901, ...)
	/usr/local/go-faketime/src/go/go2go/instantiate.go:104 +0x185
go/go2go.(*translator).translateFunctionInstantiation(0xc000157950, 0xc0000b13b0)
	/usr/local/go-faketime/src/go/go2go/rewrite.go:906 +0x3ff
go/go2go.(*translator).translateExpr(0xc000157950, 0xc0000b13b0)
	/usr/local/go-faketime/src/go/go2go/rewrite.go:671 +0x54f
go/go2go.(*translator).translateExpr(0xc000157950, 0xc000082550)
	/usr/local/go-faketime/src/go/go2go/rewrite.go:692 +0x385
go/go2go.(*translator).translateExprList(0xc000157950, 0xc000082550, 0x1, 0x1)
	/usr/local/go-faketime/src/go/go2go/rewrite.go:865 +0x46
go/go2go.(*translator).translateStmt(0xc000157950, 0xc00009a360)
	/usr/local/go-faketime/src/go/go2go/rewrite.go:586 +0x29d
go/go2go.(*translator).translateBlockStmt(0xc000157950, 0xc000084c00)
	/usr/local/go-faketime/src/go/go2go/rewrite.go:547 +0x57
go/go2go.(*translator).translateFuncDecl(0xc000157950, 0xc0000c2190)
	/usr/local/go-faketime/src/go/go2go/rewrite.go:538 +0xdb
go/go2go.(*translator).translate(0xc000157950, 0xc0000b82d0)
	/usr/local/go-faketime/src/go/go2go/rewrite.go:466 +0x391
go/go2go.rewriteAST(0xc0000ae280, 0xc0000aa360, 0x0, 0x0, 0xc0000b1bd0, 0xc0000b82d0, 0x1, 0xc0000b1360, 0xc0000b1bd0)
	/usr/local/go-faketime/src/go/go2go/rewrite.go:257 +0xe5
go/go2go.RewriteBuffer(0xc0000aa360, 0x7fff8c2cedec, 0x1e, 0xc0000fa000, 0x3fd, 0x5fd, 0x0, 0xc000084a50, 0xc000084a20, 0xc0000849f0, ...)
	/usr/local/go-faketime/src/go/go2go/go2go.go:144 +0x2c5
main.translateFile(0xc0000aa360, 0x7fff8c2cedec, 0x1e)
	/usr/local/go-faketime/src/cmd/go2go/translate.go:26 +0xa9
main.main()
	/usr/local/go-faketime/src/cmd/go2go/main.go:74 +0x309

@griesemer This code is using constraint type inference, with one type argument specified in the code, and the other type argument inferred.  Does the type checker make the inferred type available?  Right now I'm seeing that info.Inferred[x] is nil.

@ianlancetaylor Judging from the code (go/types/call.go:400) inferred types should be recorded no matter the inference mechanism. Added some go/types tests (CL 253258) to confirm this.

@ianlancetaylor I have a suspicion (to be confirmed): In the example, the expression FromStrings2[X] looks like an index expression - the parser cannot know that we have a function instantiation. When the type checker figures it out, it creates a new ast.CallExpr node on the fly (so we can re-use existing machinery). If that is the node that is recorded, there is no way to find it later...
Also, in go/go2go/rewrite.go, in the method translator.instantiationTypes(line 1042), for this example, the switch statement appears to see an ast.IndexExpr and thus does not look up t.importer.info.Inferred[x].
Need to investigate some more.

@ianlancetaylor 1) Constraint type inference did indeed not record the inferred signature if inference was applied to a partially provided (rather than inferred, from the value arguments) type parameter list. 2) Because sometimes we don't have an ast.CallExpr node, e.g. in this example FromStrings2[X] which is now an ast.IndexExpr node (but used to be an ast.CallExpr node in the past when we wrote FromStrings2(X)), we need to update which key is recorded in the Inferred map (best approach TBD).
In short, this is a bug in go/types, caused by the recent change of syntax. Once fixed in go/types, it may require some minimal adjustments in go/go2go.

This should now be fixed in go/types. Final fix will need some adjustments in the go/go2go package.

Translation tool is fixed on the dev.go2go branch.


development package not joined to .atom directory

Prerequisites

[ X] Put an X between the brackets on this line if you have done all of the following:

Reproduced the problem in Safe Mode: http://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
Followed all applicable steps in the debugging guide: http://flight-manual.atom.io/hacking-atom/sections/debugging/
Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

Description
the package i created as development created a folder locally as per the "Package Generator" Project Manager variable (C:\Users\XXX\Github).
Using the the "package generator", i saw the two sets of folders (one in Github and the other in .atom) synced.  They are no longer joined / synced.  How does this happen and how to resync them?
Steps to Reproduce
Crtl-P --> Package Generator
Entered New package name
New package created in project manager directory in the github directory and joined directory created in .atom packages directory.
Make several changes to package.
Save
Reboot
???? not sure when this happens or truly how to recreate it, but sometime after reboot (and not every reboot and so far only 1 out of 1000000 times it has happened)
Expected behavior: [What you expect to happen]
.atom directory and github / dev / project manager directory should be synced
Actual behavior: [What actually happens]
Folder in .atom direcotry is empty and not synced with the same folder in the github / dev / project manager directory
Reproduces how often: [What percentage of the time does it reproduce?]
First and only time so far
Versions
Windows 10 (64 bit) Home Version 1703 Build 15063.726
Atom 1.22.1
Electron 1.6.15
Chrome 56.0.2924.87
Node 7.4.0
apm 1.18.8
npm 3.10.10
node 6.9.5 x64
python 3.6.0
git 2.10.2.windows.1
visual studio 2015
Additional Information
is there a command or package to "rejoin" two folders?

Thanks for the report!

Reboot

Do you mean restart your computer at this point?

Using the the "package generator", i saw the two sets of folders (one in Github and the other in .atom) synced. They are no longer joined / synced. How does this happen and how to resync them?

Hmmm, that's odd - the directory under .atom/packages/ is a symlink to your package directory under your github/ directory, not sure how the link was broken based on your repro steps.

is there a command or package to "rejoin" two folders?

In your package directory in your github/ directory, run this command
apm link

not sure when this happens or truly how to recreate it

Since there's no specific steps to reproduce we'll go ahead and close this issue but let me know if you still have trouble linking your package.

Thank you for the command line.  I did some extensive searching on the Atom pages and couldn't find that command anywhere.
I did find someone's blog who had that command in regards to using and updating the existing package from someone/somewhere else for development purposes. Can you possibly add this to the flight-manual or another section?
My first thought when developing packages and having the two folders unlink/unsync/unjoin wasn't to go to the command line, though it seems more obvious in retrospect now.
As for "reboot", i did mean restart my computer, but also restart Atom.io.
I will let you know if it happens again, thank you!


Implementing a better ui

Hey, I would like to implement a better UI. Can you please assign me this

Go for it 👍

Hey @origranot , I just created a pull request, please check it out

alright :)


The 'getClip' method parameter of CustomClipper has a bug.

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
class _SpriteClipper extends CustomClipper<Rect> {

  @override
  Rect getClip(Size size) {
    print("size:${size.width}--${size.height}");
    var res = Rect.fromLTRB(0,0,size.width/2,size.height);
    return res;
  }

  @override
  bool shouldReclip(CustomClipper<Rect> oldClipper) {
    return true;
  }
}

// img is a 32*16 picture
ClipRect(
                clipper: _SpriteClipper(),
                child: img)

Expected results
prints: size:32--16
Actual results
prints:16-16
Code sample
Code sample
class _SpriteClipper extends CustomClipper<Rect> {

  @override
  Rect getClip(Size size) {
    print("size:${size.width}--${size.height}");
    var res = Rect.fromLTRB(0,0,size.width/2,size.height);
    return res;
  }

  @override
  bool shouldReclip(CustomClipper<Rect> oldClipper) {
    return true;
  }
}

// img is an Image object loaded from assets, representing a 32x16 pixel PNG image.
ClipRect(
                clipper: _SpriteClipper(),
                child: img)

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.13.3, on Arch Linux 6.1.52-1-lts, locale zh_CN.UTF-8)
[✗] Android toolchain - develop for Android devices
✗ Unable to locate Android SDK.
Install Android Studio from: https://developer.android.com/studio/index.html
On first launch it will assist you in installing the Android SDK components.
(or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).
If the Android SDK has been installed to a custom location, please use
flutter config --android-sdk to update to that location.
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[!] Android Studio (not installed)
[✓] IntelliJ IDEA Ultimate Edition (version 2023.1)
[!] Proxy Configuration
! NO_PROXY is not set
[✓] Connected device (2 available)
[✓] Network resources
! Doctor found issues in 3 categories.

Hi @Silentdoer. Thanks for filing this. Can you provide more information on how you determines this: prints: size:32--16 . I tested with the following and can't seem to produce your issue.
Code Sample

import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      showPerformanceOverlay: true,
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class _SpriteClipper extends CustomClipper<Rect> {
  @override
  Rect getClip(Size size) {
    print("size:${size.width}--${size.height}");
    var res = Rect.fromLTRB(0, 0, size.width / 2, size.height);
    return res;
  }

  @override
  bool shouldReclip(CustomClipper<Rect> oldClipper) {
    return true;
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    var img = Image.asset(
      "assets/images/test.png",
      scale: 1,
    );
    return Scaffold(
        appBar: AppBar(
          backgroundColor: Theme.of(context).colorScheme.inversePrimary,
          title: Text(widget.title),
        ),
        body: ClipRect(clipper: _SpriteClipper(), child: img));
  }
}

image (test.png)

Log

flutter: size:0.0--0.0
flutter: size:430.0--198.48596750369276

flutter doctor -v

[✓] Flutter (Channel stable, 3.13.4, on macOS 13.0 22A380 darwin-arm64, locale
    en-NG)
    • Flutter version 3.13.4 on channel stable at
      /Users/damilolaalimi/sdks/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 367f9ea16b (5 days ago), 2023-09-12 23:27:53 -0500
    • Engine revision 9064459a8b
    • Dart version 3.1.2
    • DevTools version 2.25.0

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/damilolaalimi/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/damilolaalimi/Library/Android/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E300c
    • CocoaPods version 1.12.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      17.0.6+0-17.0.6b802.4-9586694)

[✓] VS Code (version 1.82.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.50.0

[✓] Connected device (3 available)
    • iPhone 14 Pro Max (mobile) • BB55E997-7F31-462D-B3B1-6B177D9B40C7 • ios
      • com.apple.CoreSimulator.SimRuntime.iOS-16-4 (simulator)
    • macOS (desktop)            • macos                                •
      darwin-arm64   • macOS 13.0 22A380 darwin-arm64
    • Chrome (web)               • chrome                               •
      web-javascript • Google Chrome 116.0.5845.187

[✓] Network resources
    • All expected network resources are available.

• No issues found!


#22 Reflections over DynamicContract

Function registering for dynamic contracts now depends on reflection.
We need to register the contract class in the contract header:
 /**
   * Register contract class via ContractReflectionInterface.
   */
  static void registerContract() {
    ContractReflectionInterface::registerContract<
        ERC20, const std::string &, const std::string &, const uint8_t &,
        const uint256_t &, ContractManager::ContractManagerInterface &,
        const Address &, const Address &, const uint64_t &,
        const std::unique_ptr<DB> &>(
        std::vector<std::string>{"erc20_name", "erc20_symbol", "erc20_decimals",
                                 "mintValue"},
        std::make_tuple("name", &ERC20::name, "view",
                        std::vector<std::string>{}),
        std::make_tuple("symbol", &ERC20::symbol, "view",
                        std::vector<std::string>{}),
        std::make_tuple("decimals", &ERC20::decimals, "view",
                        std::vector<std::string>{}),
        std::make_tuple("totalSupply", &ERC20::totalSupply, "view",
                        std::vector<std::string>{}),
        std::make_tuple("balanceOf", &ERC20::balanceOf, "view",
                        std::vector<std::string>{"_owner"}),
        std::make_tuple("transfer", &ERC20::transfer, "nonpayable",
                        std::vector<std::string>{"_to", "_value"}),
        std::make_tuple("approve", &ERC20::approve, "nonpayable",
                        std::vector<std::string>{"_spender", "_value"}),
        std::make_tuple("allowance", &ERC20::allowance, "view",
                        std::vector<std::string>{"_owner", "_spender"}),
        std::make_tuple("transferFrom", &ERC20::transferFrom, "nonpayable",
                        std::vector<std::string>{"_from", "_to", "_value"}));
  }

And after this, we can change the registerContractFunctions overload from this:
void ERC20::registerContractFunctions() {
this->registerViewFunction(Hex::toBytes("0x06fdde03"), [this](const ethCallInfo &callInfo) {
  return this->name();
});
this->registerViewFunction(Hex::toBytes("0x95d89b41"), [this](const ethCallInfo &callInfo) {
  return this->symbol();
});
this->registerViewFunction(Hex::toBytes("0x313ce567"), [this](const ethCallInfo &callInfo) {
  return this->decimals();
});
this->registerViewFunction(Hex::toBytes("0x18160ddd"), [this](const ethCallInfo &callInfo) {
  return this->totalSupply();
});
this->registerViewFunction(Hex::toBytes("0x70a08231"), [this](const ethCallInfo &callInfo) {
  std::vector<ABI::Types> types = { ABI::Types::address };
  ABI::Decoder decoder(types, std::get<5>(callInfo).substr(4));
  return this->balanceOf(decoder.getData<Address>(0));
});
this->registerViewFunction(Hex::toBytes("0xdd62ed3e"), [this](const ethCallInfo &callInfo) {
  std::vector<ABI::Types> types = { ABI::Types::address, ABI::Types::address };
  ABI::Decoder decoder(types, std::get<5>(callInfo).substr(4));
  return this->allowance(decoder.getData<Address>(0), decoder.getData<Address>(1));
});

this->registerFunction(Hex::toBytes("0xa9059cbb"), [this](const ethCallInfo &callInfo) {
  std::vector<ABI::Types> types = { ABI::Types::address, ABI::Types::uint256 };
  ABI::Decoder decoder(types, std::get<5>(callInfo).substr(4));
  this->transfer(decoder.getData<Address>(0), decoder.getData<uint256_t>(1));
});
this->registerFunction(Hex::toBytes("0x095ea7b3"), [this](const ethCallInfo &callInfo) {
  std::vector<ABI::Types> types = { ABI::Types::address, ABI::Types::uint256 };
  ABI::Decoder decoder(types, std::get<5>(callInfo).substr(4));
  this->approve(decoder.getData<Address>(0), decoder.getData<uint256_t>(1));
});
this->registerFunction(Hex::toBytes("0x23b872dd"), [this](const ethCallInfo &callInfo) {
  std::vector<ABI::Types> types = { ABI::Types::address, ABI::Types::address, ABI::Types::uint256 };
  ABI::Decoder decoder(types, std::get<5>(callInfo).substr(4));
  this->transferFrom(decoder.getData<Address>(0), decoder.getData<Address>(1), decoder.getData<uint256_t>(2));
});
}

To this:
void ERC20::registerContractFunctions() {
  registerContract();
  this->registerMemberFunction("name", &ERC20::name, this);
  this->registerMemberFunction("symbol", &ERC20::symbol, this);
  this->registerMemberFunction("decimals", &ERC20::decimals, this);
  this->registerMemberFunction("totalSupply", &ERC20::totalSupply, this);
  this->registerMemberFunction("balanceOf", &ERC20::balanceOf, this);
  this->registerMemberFunction("allowance", &ERC20::allowance, this);
  this->registerMemberFunction("transfer", &ERC20::transfer, this);
  this->registerMemberFunction("approve", &ERC20::approve, this);
  this->registerMemberFunction("transferFrom", &ERC20::transferFrom, this);
}

So, now the developer don't need to pass the contract signature neither use a proper function for view, payable, etc.

Within commit 3113efc71082de4848ed57b845d6dd3c14934cd6, I have fixed the compiler issues that the merge 746cf805548b6807cf618189f07c6ef6a31ce4d0 caused, The issues were:

Circular dependency of utils/contractreflectionsinterface.h and contract/dynamiccontract.h, the circular dependency was due to the registerCoreContractClasses function on the interface using the DynamicContract.
This issue was solved my moving the registerCoreContractClasses into a source file, and including the dynamiccontract.h only there

Duplicated functions and variables on ContraftReflectionsInterface
The of the duplicated functions are: registerContract() and isContractRegistered(), and for the variables, they are constructorArgumentNamesMap, methodMutabilityMap and argumentNamesMap, for functions, I Kept the longest one and variables the ones declared in the top of the file.

I have not checked if it is still working as expected, @jcarraror Please review my changes.

Within commit 3113efc, I have fixed the compiler issues that the merge 746cf80 caused, The issues were:
* Circular dependency of `utils/contractreflectionsinterface.h` and `contract/dynamiccontract.h`, the circular dependency was due to the `registerCoreContractClasses` function on the interface using the `DynamicContract`.
  This issue was solved my moving the `registerCoreContractClasses` into a source file, and including the `dynamiccontract.h` only there

* Duplicated functions and variables on `ContraftReflectionsInterface`
  The duplicated functions are: `registerContract() and isContractRegistered()`, and the variables, they are `constructorArgumentNamesMap`, `methodMutabilityMap` and `argumentNamesMap`, for functions, I Kept the longest one and variables the ones declared in the top of the file.

I have not checked if it is still working as expected, @jcarraror Please review my changes.

@itamarcps , the only thing missing was the inclusion of writeContractsToJsonimplementation in the interface header. In addition, theregisterCoreContractClasses` it's deprecated, so i removed it from the source. Everything working fine now.


Missing output data when maximizing Vs code Integrated Terminal

Does this issue occur when all extensions are disabled?: No

VS Code Version: Version: 1.76.2 (user setup)
Commit: ee2b180d582a7f601fa6ecfdad8d9fd269ab1884
Date: 2023-03-14T17:55:54.936Z
Electron: 19.1.11
Chromium: 102.0.5005.196
Node.js: 16.14.2
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.22000
Sandboxed: Yes
OS Version:

Steps to Reproduce:

Run the script(F5)

please see in Vs code Integrated terminal(It should be in minimized mode). Everything is Fine.

Now maximize the terminal.

Note: This issue occurs when I disable all extension. And my Terminal version is-
Name                          Value

PSVersion                      5.1.22000.1335
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.22000.1335
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>

/duplicate #134448

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!


test(connlib): re-add all resources on roaming

To correctly handle overlapping CIDR resources, we need to recompute which ones are active. The RoamClient transition was missing that despite the system-under-test actually doing that bit.
Adding the necessary function call fixes the two regression seeds detected in CI.
Resolves: #6924.

Lol, how ironic that this also discovered a new seed ...


Replaces how it works with event badge info, few content tweaks

This replaces the "how it works" section with the event badging info (instead of the project badging info) and makes a few other content tweaks.
There are a lot of changes in this PR and it's hard to envision if it will display properly. Sorry if there are mistakes in here! 💖
Signed-off-by: Elizabeth Barron<EMAIL_ADDRESS>

@ElizabethN there were some issues with the <div> elements but I sorted that out.


Updated azure content in prerequisites.md

Signed-off-by: gprasath<EMAIL_ADDRESS>-Replaced container id in docker exec command, so that user can replace only container id in the command after copying.
-Included status check content after installing open-iscsi library.
-Check the open-iscsi presence inside the container.

@gprasath can you please raise this PR against staging branch ? The newstaging branch is not active