Removal of redundant structures from APRAccess

There are a few helper caches in APRAccess that are redundant, and not ever used anywhere, and could be removed to make the reader/write classes nicer.
In particular:
 std::vector<uint64_t> global_index_by_level_begin;
    std::vector<uint64_t> global_index_by_level_end;
    std::vector<std::vector<uint64_t>> global_index_by_level_and_z_begin;
    std::vector<std::vector<uint64_t>> global_index_by_level_and_z_end;

All information required for these can already be found in:
std::vector<std::vector<uint64_t>> global_index_by_level_and_zx_end;

This is also currently how the iterators get this information. Further, the definitions of the global_index_by_level_begin & end follow a different convention, requiring either a removal or re-write.
Removal of the structure would then require the update of the following functions in GenIterator:
  uint64_t particles_level_begin(const uint16_t& level_);
  uint64_t particles_level_end(const uint16_t& level_);

    uint64_t particles_z_begin(const uint16_t& level_,const uint64_t& z_);
    uint64_t particles_z_end(const uint16_t& level_,const uint64_t& z_);

@joeljonsson do you use any of those functions for your CNN stuff?


ops.unary_union segfaults on empty Polygons

Expected behavior and actual behavior.
Expected that shapely doesn't segfault.
Steps to reproduce the problem.
Running:
>>> from shapely import geometry, ops
>>> a = geometry.Polygon()
>>> a.is_valid
True
>>> ops.unary_union(a)

results in:
fish: 'python' terminated by signal SIGSEGV (Address boundary error)

Operating system
MacOS Catalina 10.15.7
Shapely version and provenance
main (f048c1816ad5782c2e70b42c55e5d74fd19ce7e7) installed via git pull + python setup.py develop

Which version of GEOS are you using? This should be fixed with GEOS 3.10.2 I think

Going to close this as fixed in GEOS (and our packages now include a more recent version of GEOS)


Adding Queue.cs and Stack.cs

Assigned Issue Number ?
#63 and #64
Language Opted ?
C#
Number of files added or updated ?
2
Name of these files ?
Data_Structures=> Queue => Queue.cs
Data_Structures=> Stack=> Stack.cs
Checklist

[x] I've read the contribution guidelines.
[x] I've referred the correct issue number.
[x] I've fill up this entire template correctly.

Great work. 👍🏼


Fix serialization of tasks with environment variables set

TL;DR
Fixes serialization of tasks with environment variables set.
Type

[x] Bug Fix
[ ] Feature
[ ] Plugin

Are all requirements met?

[x] Code completed
[ ] Smoke tested
[x] Unit tests added
[ ] Code documentation added
[ ] Any pending items have an associated Issue

Complete description
Fixes PythonAutoContainer.get_container to handle the case where SerializationSettings.env is None. Currently fails with:
Traceback (most recent call last):
  File "/fn/bin/pyflyte", line 8, in <module>
    sys.exit(main())
  File "/fn/lib/python3.9/site-packages/click/core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "/fn/lib/python3.9/site-packages/click/core.py", line 1055, in main
    rv = self.invoke(ctx)
  File "/fn/lib/python3.9/site-packages/click/core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/fn/lib/python3.9/site-packages/click/core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/fn/lib/python3.9/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/fn/lib/python3.9/site-packages/click/core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "/fn/lib/python3.9/site-packages/click/decorators.py", line 26, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/fn/lib/python3.9/site-packages/flytekit/clis/sdk_in_container/serialize.py", line 139, in workflows
    serialize_all(
  File "/fn/lib/python3.9/site-packages/flytekit/exceptions/scopes.py", line 160, in system_entry_point
    return wrapped(*args, **kwargs)
  File "/fn/lib/python3.9/site-packages/flytekit/clis/sdk_in_container/serialize.py", line 69, in serialize_all
    serialize_to_folder(pkgs, serialization_settings, local_source_root, folder)
  File "/fn/lib/python3.9/site-packages/flytekit/tools/repo.py", line 61, in serialize_to_folder
    loaded_entities = serialize(pkgs, settings, local_source_root, options=options)
  File "/fn/lib/python3.9/site-packages/flytekit/tools/repo.py", line 46, in serialize
    registrable_entities = get_registrable_entities(ctx, options=options)
  File "/fn/lib/python3.9/site-packages/flytekit/tools/serialize_helpers.py", line 77, in get_registrable_entities
    get_serializable(new_api_serializable_entities, ctx.serialization_settings, entity, options=options)
  File "/fn/lib/python3.9/site-packages/flytekit/tools/translator.py", line 573, in get_serializable
    cp_entity = get_serializable_task(entity_mapping, settings, entity)
  File "/fn/lib/python3.9/site-packages/flytekit/tools/translator.py", line 173, in get_serializable_task
    container = entity.get_container(settings)
  File "/fn/lib/python3.9/site-packages/flytekit/core/python_auto_container.py", line 159, in get_container
    env = {**settings.env, **self.environment} if self.environment else settings.env
TypeError: 'NoneType' object is not a mapping

@ggydush-fn: FYI.


ESP32 BLE Wi-Fi provisioning example disconnects after 20 seconds when using BLE app

Describe the bug
Provisioning Wi-Fi on the ESP32 manually using a BLE app (LightBlue) causes the app to disconnect after approximately 20 seconds. After further investigation I noticed that the LightBlue app automatically performs a read request when opening the RX_CHARACTERISTIC (0x03) characteristic.
Apparently iPhones do not accept that read requests won't get answered which result in the iPhone disconnecting from the device.
TLDR;
Reading to the iot_ble_data_transfer RX_CHARACTERISTIC causes the iPhone to disconnect after approximately 20 seconds.
System information

Which hardware board or part numbers?
ESP32_devkitc module
iPhone 6 and 8
Version of FreeRTOS (run git describe --tags to find it)
201912.00-121-g57bd0a856
Project [Custom Application|MQTT|Shadow|Greengrass|OTA|Device Defender|TCP Echo|Sub pub Demo|Simple TCP Server]
IOT_BLE_ENABLE_WIFI_PROVISIONING

Expected behavior
Expected the iPhone not to disconnect when performing a read request to the RX_CHARACTERISTIC (a9d7166ad72e40a9a00248044cc30103).
To reproduce
Steps to reproduce the behavior:

Perform a READ request to the RX_CHARACTERISTIC using a BLE scanner app (i.e. Lightblue) using an iPhone
Wait 20 seconds
App will disconnect from the ESP32

Code to reproduce the bug
Added a IotBle_SendResponse() in the case of a eBLERead event
amazon-freertos/libraries/c_sdk/standard/ble/src/services/mqtt_ble/iot_ble_data_transfer.c:735
static void _RXMesgCharCallback( IotBleAttributeEvent_t * pEventParam )
{
    IotBleAttributeData_t attrData = { 0 };
    IotBleEventResponse_t resp =
    {
        .pAttrData      = &attrData,
        .rspErrorStatus = eBTRspErrorNone,
        .eventStatus    = eBTStatusFail,
        .attrDataOffset = 0
    };
    IotBleDataTransferService_t * pService;
    bool status = false;
    IotBleDataChannelBuffer_t recvBuffer = { 0 };
    /* ADDED eBLERead */
    if( ( pEventParam->xEventType == eBLERead ) || ( pEventParam->xEventType == eBLEWrite )  || ( pEventParam->xEventType == eBLEWriteNoResponse ) )
    {
        pService = _getServiceFromHandle( pEventParam->pParamWrite->attrHandle );

        if( ( pService != NULL ) &&
            ( pService->channel.isOpen == true ) )
        {
            recvBuffer.pBuffer = ( uint8_t * ) pEventParam->pParamWrite->pValue;
            recvBuffer.head = pEventParam->pParamWrite->length;
            recvBuffer.tail = 0;
            pService->channel.pReceiveBuffer = &recvBuffer;

            if( pService->channel.callback != NULL )
            {
                pService->channel.callback( IOT_BLE_DATA_TRANSFER_CHANNEL_DATA_RECEIVED,
                                            &pService->channel,
                                            pService->channel.pContext );
            }

            resp.eventStatus = eBTStatusSuccess;
        }

        if( pEventParam->xEventType == eBLEWrite )
        {
            resp.pAttrData->handle = pEventParam->pParamWrite->attrHandle;
            resp.pAttrData->pData = ( uint8_t * ) &status;
            resp.pAttrData->size = 1;
            IotBle_SendResponse( &resp, pEventParam->pParamWrite->connId, pEventParam->pParamWrite->transId );
        }
        /* ADDED THIS TO PREVENT IPHONES FROM DISCONNECTING */
        if( pEventParam->xEventType == eBLERead )
        {
            resp.pAttrData->handle = pEventParam->pParamRead->attrHandle;
            resp.pAttrData->pData = ( uint8_t * ) &status;
            resp.pAttrData->size = 1;
            IotBle_SendResponse( &resp, pEventParam->pParamRead->connId, pEventParam->pParamRead->transId );
        }
    }
}

@ReinierH
This characteristic (RX) is  used to write data to FreeRTOS (peripheral) device and its not meant for reading data. To read from the data transfer service, you can use the TX characteristic.
Also, I noticed you are using a different APP to perform WiFi provisioning using iPhone. Did you consider using FreeRTOS BLE companion IOS SDK for this? It has a builtin WiFi provisioning library and is meant to work out of the box without any extra implementation.

@ravibhagavandas
I understand there is no reason to read this characteristic, nevertheless I wouldn't expect it to disconnect when you're able to read to the characteristic.
Regarding the native iOS app, our app is written in React Native which forced us to reverse engineer the protocol and implement it into our app.

A better approach would be to remove the read permission and read property for this characteristic, as there is no requirement for the mobile app to read that characteristic at all. We will raise a PR for this change.


no_proxy environment variable ignored by wget

When I run the latest image of alpine with sh,
and I set
export http_proxy=myproxy.mydomain:1234

and I set
$ export no_proxy=.test.local

and I run
$ wget service.test.local

I see Connecting to proxy ...
I would have expected to not connect to the proxy.
Steps to reproduce when you're not sitting behind a proxy:
docker run --rm -it alpine sh
export http_proxy=foo.bar
export no_proxy=.com
wget google.com

The above should fail, as wget tries to connect to the (presumably) unresponsive proxy.
Do I have a fundamental misunderstanding regarding wget and / or no_proxy? Or is there something wrong with alpine / the wget alpine is using here?

It is very possible that busybox wget does not support no_proxy env var. You can apk add wget to get the full featured GNU wget if you need it.


Figure out a better way of mapping to packets rather than a huge switch statement

V8 will give up trying to JIT the code if there is a huge switch statement (which we have) so yeah we probably shouldn't do that.
To do this the data that packets and related functions take in needs to be generalized.

[x] ChangeAction
[x] SendPublicMessage
[x] Logout
[x] UserPresenceBundle
[x] StartSpectating
[x] SpectateFrames
[x] StopSpectating
[x] SendPrivateMessage
[x] JoinLobby
[x] PartLobby
[x] CreateMatch
[x] JoinMatch
[x] MatchChangeSlot
[x] MatchReady
[x] MatchChangeSettings
[x] MatchNotReady
[x] PartMatch
[x] MatchLock (also kick!)
[x] MatchNoBeatmap
[x] MatchSkipRequest
[x] MatchHasBeatmap
[x] MatchTransferHost
[x] MatchChangeMods
[x] MatchStart
[x] MatchLoadComplete
[x] MatchComplete
[x] MatchScoreUpdate
[x] MatchFailed
[x] MatchChangeTeam
[x] ChannelJoin
[x] ChannelPart
[x] FriendAdd
[x] FriendRemove
[x] UserStatsRequest
[x] SpecialMatchInfoRequest
[x] SpecialJoinMatchChannel
[x] SpecialLeaveMatchChannel
[x] ChannelInvite
[x] UserPresenceRequest (Needs 2nd param to be the user ID)

Generalized in 05aefff

effort is not as much now as the main thing has been cleared up

To be honest this is probably fine to leave as is. As it stands no performance concerns have arisen from this and preemptive optimizations are usually always a bad thing.
IF this needs to be revisited in the future it will be easier to determine what needs to be done for that specific scenario.


Why BitmapSourceConverter.ToMat swap R and B channels?

Summary of your issue
Use Mat mat=BitmapSourceConverter.ToMat(src) to convert src(BitmapSource) to mat.
I got mat with R and B channels swapped.
Environment
Windows 10,
OpenCvSharp4.Windows <IP_ADDRESS>90416
Visual Studio 2019
What did you do when you faced the problem?
Add following code to swap channels：
Mat mat2=new Mat();
Cv2.CvtColor(mat, mat2, ColorConversionCodes.BGR2RGB);
Example code:
		public static void DisplayBitmapSource(BitmapSource src)
		{
			Mat mat = BitmapSourceConverter.ToMat(src);
			Mat mat2 = new Mat();
			Cv2.CvtColor(mat, mat2, ColorConversionCodes.BGR2RGB);
			using (new Window("mat2", mat2))
			{
				Cv2.WaitKey(10);
			}
		}

Output:
paste your output

What did you intend to be?
I just need convert BitmapSource to Mat.

That's what ColorConversionCodes.BGR2RGB designed. BGR2RGB -- BGR to RGB


Pipelines: Create a tutorial that uses components for Dataflow, AI Platform training and prediction

[This issue is in response to #639, for which there are multiple possibilities.]
Translate this Cloud Dataflow tutorial to use KFP.

Test the existing tutorial and see if it works with TF 1.14.
Leverage existing components.

/assign sirtorry

/assign @sirtorry

/assign @thedriftofwords
@thedriftofwords I've assigned this to you, since the assignment to @sirtorry didn't work.

Where to add this in the kubeflow repo:

Code in kubeflow/examples
Links to docs: Examples and tutorials,Pipelines tutorials, and the "What's next" section of the Dataflow tutorial on cloud.google.com.

/area docs
/priority p2

@thedriftofwords I'm going to close this issue, as there hasn't been any activity on it for a while. Please do re-open it if there's existing work that we can pick up.
/close


cannot run fixcalc on mac m2 chip

Hello, I'm really interested in SLEEK and want to try it on my mac m2 machine. But when I follow the instructions to build SLEEK, I found that the fixcalc binary provided in ./dependencies doesn't run on my machine. The result when I run "../../sleek --inv --dis-eps sleek/infer/app-inv.slk" in ./example/working is below:
ERROR : fixcalc cannot be found!!

!!! **src/tpdispatcher.ml#492:init_tp by default:
!!! **src/tpdispatcher.ml#391:set_tp z3Starting z3...

!!! **WARNING****src/sleek.ml#494:[../../prelude.slk,sleek/infer/app-inv.slk]/bin/sh: fixcalc: command not found

Exception processed: Failure("nth")
error at:
SLEEK FAILURE (END)

Stop z3... 0 invocations
0 false contexts at: ()

!!! log(small):(0.,0)
Total verification time: 0.079092 second(s)
	Time spent in main process: 0.071907 second(s)
	Time spent in child processes: 0.007185 second(s)

I tried to build fixcalc from source, but cannot find code of fixcalc online. Could you help me?

I have added instructions for building fixcalc from source to the readme. Do give them a try.

Thanks! Your instructions help me take a big step forward! But I still have a problem when building omega_stub. I follow the guidance to build Omega and Mona. Then, I try to build Fixcalc. When I try to make in directory omega_stub, there's an error occurred:
cd src && make all
make[1]: Entering directory '/Users/Sdywolf/Documents/Projects/omega_stub/src'
g++ -DOMIT_QUANTIFY_CALLS -g -Wall -DSIG_HANDLER_HAS_ONE_ARG=1 -DSHUT_UP_ABOUT_STATEMENT_WITH_NO_EFFECT_IN_DYNAMIC_ARRAY_CREATION -Wno-deprecated -I/Users/darius/hipsleek/omega_modified/omega_lib/include -I/Users/darius/hipsleek/omega_modified/code_gen/include -I/Users/darius/hipsleek/omega_modified/basic/include -I. -c omega_stub.cpp -o ../lib/../lib/omega_stub.o
omega_stub.cpp:5:10: fatal error: 'omega.h' file not found
#include <omega.h>
         ^~~~~~~~~
1 error generated.
make[1]: *** [Makefile:19: ../lib/omega_stub.o] Error 1
make[1]: Leaving directory '/Users/Sdywolf/Documents/Projects/omega_stub/src'
make: *** [Makefile:9: lib] Error 2

It seems that the omega.h is missing. I wonder if it was because the organization of my files, the file tree of my directory is as below:
.
├── fixcalc
├── hipsleek
├── omega_stub

Right, I updated both subprojects too. hipsleek/omega_stub@f352530fff573faa4fd80ddd60a6f9ece3459330 in particular removes hardcoded paths.
Could you pull the latest changes for both, and also make them subdirectories of hipsleek?
hipsleek
├── fixcalc_src
└── omega_stub

The scripts in the readme should then all be run from the hipsleek directory.

Thanks! Now sleek can work without complaining on my machine! Also, I've noticed that the Makefile.rules in omega_stub and the Makefile in fixcalc contain some absolute path that contains "darius". Maybe it should be replaced by relative path.

Thank you, I've removed them.


Need Easier Way To Exclude Groups

In any non-trivial AD deployment, there are going to be hundreds (or even thousands) of types of users who shouldn't be auto-added to the org-wide channel, so there needs to be an easy way to exclude them. For example, we use MAC based authentication accounts, and we put them in a group. These accounts should not be added to Teams, and as it is now, we have to delete them one by one. A mechanism to exclude AD groups needs to be added to make this even remotely useful, otherwise we are flooded by accounts that dont need to be there. Same thing for service accounts, etc.

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

ID: 76309c0b-2a9c-36a8-d7c7-f7d6f311d39b
Version Independent ID: bc69c0e3-0fa7-c86e-5e8c-067c8811e9bf
Content: Create an org-wide team in Microsoft Teams
Content Source: Teams/create-an-org-wide-team.md
Service: msteams
GitHub Login: @LanaChin
Microsoft Alias: v-lanac

I may add that, through Azure AD Connect, disabled users are also added to the team, which is very annoying.

@officedocsbot assign @scanum

@jaypatrick Thank you for submitting this feedback.
From our understanding the issue has been resolved. If you feel it hasn't been resolved please re-open this issue.
@officedocsbot close

How has this been solved?

@sukihanabi updated the doc by adding the following:
Action Taken:

added reference to uservoice

Analysis:
-The answer to user question might not be available to the public because for the devices to be certified and be part of SBC, MS needs to perform an intense test.
-But it was indicated on the article: " If you have any questions about SBC certification program for Direct Routing please email to<EMAIL_ADDRESS>-Can we instead direct the user to email the support or perhaps a uservoice?

We think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.
Also, I know the product teams are always looking for user feedback and how to make Skype for Business better. They keep a close tab on user feedback and it would be awesome if you could add your voice in User Voice https://www.skypefeedback.com.
You might find others have made a similar request that you can add to, or you can open a new one. Let us know here if you do so we can up-vote your request.
Thank you for your contribution to make the docs better! Much appreciated!


balanceofsatoshis: add shell completion

Description of changes
Add shell completion for balanceofsatoshis. Includes bash, zsh and fish shells.

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 182965 run on x86_64-darwin 1

1 package built:

balanceofsatoshis


[iOS] Disable posix polling on iOS (#33094)

Turns out this is needed in addition to https://github.com/grpc/grpc/pull/33320 to resolve the MacOS fork issues for Python.
CC @sampajano

@gnossen Thanks for the iOS fix!


Digest chrome translation

Translate chrome of digest into Brazilian, Portuguese and Mexican Spanish.
Digest MailChimp Templates:
https://us4.admin.mailchimp.com/templates/#f_folder:113;t:template-list

Global: https://us4.admin.mailchimp.com/templates/edit?id=56741

MX (Mexico): https://us4.admin.mailchimp.com/templates/edit?id=56733

BR (Brazil): https://us4.admin.mailchimp.com/templates/edit?id=56737

US (United States): https://us4.admin.mailchimp.com/templates/edit?id=56729

Campaign row in digest message: Translation of "Did It? Prove It!" button:

@marahml what are all the different phrases that need to be translated? "DID IT? PROVE IT!" and "News from the team" seem to need translation anything else?
@DeeZone @weerd do either of you have any thoughts on how we would do this?
Also can some of the content be translated on the template itself? I.e. the content that appears here on the MX template:

@mikefantini From the tech perspective, translated is needed for:
As you suggested...

DID IT?
PROVE IT!
"News from the team"

These three are in the Drupal app which are sent to Message Broker as merge_vars in the request payload.
Any text in the banner, in this case:

Here's how to crush it - even harder than you already are.
Ready to rock your campaigns?
You signed up for these campaigns. Score!

These additional translations would be managed in the template within MailChimp and sent to Mandrill when ready for deployment.

Hmm ok thanks @DeeZone. @DeeZone or @weerd do either of you have any idea where these are located off the top of your heads?
Also do we know how we would get the translations to appear properly in the digest?
cc: @angaither

Correction, not in the Drupal app at all, my bad!

"News from the team" - https://github.com/DoSomething/mbc-digest-email/blob/master/src/MBC_DigestEmail_MandrillMessenger.php#L153
"Did It. Prove It" - https://github.com/DoSomething/mbc-digest-email/blob/master/templates/campaign-markup.inc#L26

Also do we know how we would get the translations to appear properly in the digest?
The changes will have to be managed / applied at the template / HTML / CSS / code level.

The rest is at the template level in MailChimp as your example points out.

Wait but so @DeeZone do you know how/where to create translations for "News from the team" and "Did It? Prove It!"
Also is @mnelson338 aware that translated content is needed for this?

Don't know off hand. Are these items that could be POT-ified?

Wait but so @DeeZone do you know how/where to create translations for "News from the team" and "Did It? Prove It!"

Yes, just need the actual translated text. It will be managed in files here:
https://github.com/DoSomething/mbc-digest-email/tree/master/templates

Also is @mnelson338 aware that translated content is needed for this?

Something @marahml and / or @ArielSD are coordinating.

Ok so @DeeZone I'm going to assign over to you then since it seems like we just need the actual copy translated.
@mnelson338 can you please work to get translations for "News from the team", "Did It? Prove It!", and all content this template translated?
https://us4.admin.mailchimp.com/templates/edit?id=56757

Translations:
Did it? Prove it!
Spanish: ¿Lo hizo? Prov él!
Portuguese: Fez isso? Prov-lo!
News from the team
Spanish: Noticias del personal
Portuguese: Notícias da equipe
@mikefantini I don't have a log in to mailchimp, so can't access the template. If you can direct me to the right person I can get it set up. Thanks!

@mnelson338 Do you have access to LastPass? There's an entry for MailChimp access or you can come poke me for the password.
@ArielSD can coordinate the template work for Global Digest. The templates of interest are:

Brazil: mb-digest-v1_0-br: https://us4.admin.mailchimp.com/templates/edit?id=56757
Mexico: mb-digest-v1_0-mx: https://us4.admin.mailchimp.com/templates/edit?id=56749
Global: mb-digest-v1_0-gl: https://us4.admin.mailchimp.com/templates/edit?id=56745

@mnelson338
We need to translate the subject lines as well. Please let me know how I can help:
  'Your weekly DoSomething campaign digest',
  'Your weekly DoSomething.org campaign roundup!',
  'A weekly campaign digest just for you!',
  'Your weekly campaign digest: ' . date('F j'),
  date('F j') . ': Your weekly campaign digest!',
  'Tips for your DoSomething.org campaigns!',
  'Comin\' atcha: tips for your DoSomething.org campaign!',
  '*|FNAME|* - It\'s your ' . date('F j') . ' campaign digest',
  'Just for you: DoSomething.org campaign tips',
  'Your weekly campaign tips from DoSomething.org',
  date('F j') . ': campaign tips from DoSomething.org',
  'You signed up for campaigns. Here\'s how to rock them!',
  'Tips for you (and only you!)',
  'Ready for your weekly campaign tips?',
  'Your weekly campaign tips: comin\' atcha!',
  'Fresh out the oven (just for you!)',

Just catching up here - and looks like everyone's on it. Thanks for handling team and let me know if you need anything!

@ArielSD @mnelson338 We'll also need the From settings for the global digest emails (BR & MX) as well:

From name: ("DoSomething.org" in US digest)
From address<EMAIL_ADDRESS>in US digest)

@DeeZone @ArielSD  Here are the digest translations: https://docs.google.com/spreadsheets/d/1r_qsX6xZqiwZ1ze3K-V4AXjDOnpjOs0skK5VOat58Ng/edit#gid=0
Let me know if there is anything else

@mnelson338 Thanks for the translations, they look good.
Any thoughts on the Digest message settings for:

From name: ("DoSomething.org" in US digest)
From address<EMAIL_ADDRESS>in US digest)
Should the same values be used for the other languages?

@DeeZone
From name should remain the same for all translations
From address:
US + Global --<EMAIL_ADDRESS>Brazil --<EMAIL_ADDRESS>Mexico --<EMAIL_ADDRESS>

@mnelson338<EMAIL_ADDRESS>is functional? Do we need to poke someone to let them know the digest is using it?

@DeeZone we're also using that for member support. Hannah is monitoring!

Application of translations will be tracked on the related Trello card: https://trello.com/c/YsQDnoEp


Frameworkdev updated documentation.

Hello @krooonal! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file col_gen_estimator/_col_gen_classifier.py:

Line 193:28: E711 comparison to None should be 'if cond is None:'
Line 203:80: E501 line too long (81 > 79 characters)
Line 205:80: E501 line too long (82 > 79 characters)

In the file col_gen_estimator/_parameter_tuner.py:

Line 69:18: E711 comparison to None should be 'if cond is None:'


Adds DevTools docs

Summary
We have the ability to use DevTools but our documentation and discoverability aren't great. This adds documentation as a first step towards making users more likely to use DevTools.
This adds a new DevTools section with an overview, a breakpoints section (repurposed from an existing page), a CPU profiling section, and a Memory profiling section.
Still have a few To Dos before merging this:

Proofread
Link to these docs from error and limits docs
Link to DevTools blog posts somewhere

After this PR, there are some other changes we should make:

Link to these docs from specific errors in edgeworker
See if the "Performance" tab can be added. Add docs for that (replace these?)
Reorganize Error Pages

Screenshots (optional)
Coming Soon
Documentation checklist

[x] The documentation style guide has been adhered to.
[ ] If a larger change - such as adding a new page- an issue has been opened in relation to any incorrect or out of date information that this PR fixes.
[x] Files which have changed name or location have been allocated redirects.

@hyperlint review

@hyperlint review

@hyperlint review
(3rd time's the charm)


Type Error with Openlayers 5.3.0

When I use this Extension with Openlayers 5.3 I get a TypeError t.ol is undefined. Is there a solution?

Please, provide a repro, a fiddle or something like it.


Task chained commands plus arguments are not working

When I use chained commands in the task command key (.. && .. &&) and add my catkin build arguments to the tasks args key (Build 1) I get the following error:
> Executing task in folder panda_autograsp_ws: 'catkin config --extend /opt/ros/melodic && catkin build' "-j4" <

bash: catkin config --extend /opt/ros/melodic && catkin build: No such file or directory
The terminal process terminated with exit code: 127

If I, however, include the additional arguments inside the command key it works (Build 2).
Task.json file
{
    "version": "2.0.0",
    "tasks": [
        {
            "label": "build 1",
            "type": "shell",
            "command": "catkin config --extend /opt/ros/melodic && catkin build",
            "args": [
                "-j4",
                "-DCMAKE_BUILD_TYPE=Debug",
                "-DCMAKE_EXPORT_COMPILE_COMMANDS=1",
                "-DCMAKE_CXX_STANDARD=14",
                "-DFranka_DIR:PATH=\"$HOME/libfranka/build\"",
                "-Dfreenect2_DIR=\"$HOME/freenect2/lib/cmake/freenect2\"",
            ],
            "group": {
                "kind": "build",
                "isDefault": true
            },
            "problemMatcher": [],
        },
        {
            "label": "build 2",
            "type": "shell",
            "command": "catkin config --extend /opt/ros/melodic && catkin build -j4 -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -DCMAKE_CXX_STANDARD=14 -DFranka_DIR:PATH=\"$HOME/libfranka/build\" -Dfreenect2_DIR=\"$HOME/freenect2/lib/cmake/freenect2\"",
            "group": {
                "kind": "build",
                "isDefault": true
            },
            "problemMatcher": [],
        },
]

System information
Version: 1.41.0-insider
Commit: b6a486e34fe3715f6edec0cdb11138b1672d33bd
Date: 2019-11-14T05:30:39.779Z
Electron: 6.1.4
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
OS: Linux x64 5.0.0-36-generic (ubuntu 18.04)
Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:

Clone a simple catkin_ws. For example, the ROS tutorials ws.
Add the above task.json file to your .vscode folder.
Run the task

The reason why build 1 failed is obvious since vscode treat catkin config --extend /opt/ros/melodic && catkin build as a single command, and indeed this monster is not a command nor an executable. I guess this is intended feature, as mentioned in the comment below: https://github.com/microsoft/vscode/blob/c861fe99c18aac7a9289a5b411d8124b81ef1163/src/vs/workbench/contrib/tasks/browser/terminalTaskSystem.ts#L1162-L1167

@EternalPhane Thanks for the clarification. I already suspected something like that was happening.


Recovering Embedding from the model

Hi. I wonder if there is a method to use the model to generate embeddings
If it is possible to get the output of the encoder (the latent space), I can use that for data vectorization.
Is there any plans to have such functionality?

I was thinking of just the output of the encoder part

If you mean straight out of the embedding layer, you can call it directly:
input_ids = tokenizer.encode("Hello world")  # shape (bsz, seq_len)

embedding_layer = model.modules_dict["model.embed_tokens"]
embeddings = embedding_layer.forward(input_ids)  # shape (bsz, seq_len, hidden_size)


nuspec file different from what nuget org shows causing visual studio to download old moq version

Nuget.org states that the moq dependency is : Moq (>= 4.20.70)
However, in the nuspec it is set to  [dependency id="Moq" version="4.20.70" exclude="Build,Analyzers"]
This causes visualstudio 17.12.0 to require 4.20.70 which in our private feed is blocked for some reason.
Somehow this was not an issue with older visual studio releases and can be worked around by manually editing the nuspec file (which imo is not very desirable)

Ok. I will check during weekend. I saw your PR

Hi @SrChronus
Nuspec is correct. Entry should be read in the following way:

See more detail here: Package versioning
And here is a screen app that has everything updated to the  latest version:

Could you describe in more detail what is blocked in your solution?

My issue is that the .net9 sdk (targetting .net 8) decides it needs to download moq 4.20.70 as a transient dependency of moq.EntityFrameworkCore.
As this version is blocked in our feed I can no longer build unless I specifically set global.json to not use the .net9 sdk but use the .net8 sdk

This thread seems to show the same problem https://developercommunity.visualstudio.com/t/NuGet-Restore-restoring-old-versions-of/10791649

This link is great. It presents that it is a bug on the VS side. Let's give them a moment to fix it.


Unneccessary assignment?

https://github.com/JCash/voronoi/blob/f5e9cf221f5570f75d5d7e00cac3866e1b1c47e4/src/jc_voronoi.h#L1390
Not sure if there is an underlying issue here, but doing this twice seems unnecessary?

Good call. They're remnants of previous code that I tried out. This needs to be looked at and cleared up.

Fixed in https://github.com/JCash/voronoi/pull/46


The tubes are already conduits for air. You're gonna have to explain that some more.

You mean easier to run the tubes. Air pipes are not cables.


Extractor Catalog: Extractor Labels features

Description
Labels to help organize and categorize the Extractor Catalog
Problem
As the Extractor Catalog grows, it will become more and more difficult to search this list.
Approach
Allow admin users to set arbitrary labels on Extractors, to help their users find them more easily.
How to Test
Prerequisites: RabbitMQ plugin enabled, at least one extractor registered

Checkout and run this branch locally
Login to Clowder as an admin user
Navigate to Explore > Extractors

You should see a Labels section at the top of this view

Click the Manage button to the top-right of the Labels section

You should be brought to the Label Management view
NOTE: You can also reach this view by expanding the Admin dropdown and choosing "Extractor Labels"

Click on "Create New Label" fill out the following fields and click "Save":

Label Name (required)
Label Category Name (optional, defaults to "Other" if empty)
Assigned Extractors (optional)
You should see the modal is dismissed and the view is refreshed - your new label should now appear here

Click "Edit" beside your newly-created label to open the same modal again for editing
Change the assigned extractors, then click "Save" again
Navigate back to the Explore > Extractors view

You should see the Labels section contains a filter button for your newly-created / edited label

Click the filter button for your Label

You should see only the extractor you assigned previously appear in the table

Click the extractor's name in the table to see its ExtractorDetails view

You should see the Labels that have been added to the extractor are listed here

Add a labels section to your favorite extractor_info.json and register it via API or heartbeat. For example:   "labels":["Image","DefaultLabel"]
Navigate back to Admin > Extractor Labels and verify that our labels were imported properly

You should see that individual labels now exist for both Image and DefaultLabel

Click "Delete" beside an extractor label

You should see the view refresh and the label is now gone

Review Time Estimate

[ ] Immediately
[x] Within one week
[ ] When possible

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] My change requires a change to the documentation.
[ ] I have updated the CHANGELOG.md.
[ ] I have signed the CLA
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

Updated PR to include the behavior discussed yesterday. Also relegated Default and Other to just use "Other".
Imported labels from extractor_info.json is now allowed/valid in two forms:

Specifying CATEGORY/NAME will allow the user to explicitly specify the category for this label - NOTE: this will only affect the initial creation of the label
Specifying NAME will provide a default CATEGORY value of "Other"


try next version of react-bootstrap

No longer urgent: react 15.2.1 doesn't spew unknown property warnings to the console for production builds.


Not implemented LCD not implemented on site and local

Lcd and Fcd having Not implemented issues?
Shows a code 12

Issue is the same error for local terra as well. Please fix thank you.

terrad RPC node running on tcp://localhost:26657
LCD running on http://localhost:1317/
FCD running on http://localhost:3060/

Yea, but no.
It's running but not implemented.
On Sun, Jun 12, 2022, 7:42 AM Geoff Lee @.***> wrote:

Closed #83 https://github.com/terra-money/LocalTerra/issues/83 as
completed.
—
Reply to this email directly, view it on GitHub
https://github.com/terra-money/LocalTerra/issues/83#event-6791390384,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVIKFKW2A75IL3VGR356P2TVOXLL7ANCNFSM5YONWIDQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

You blindly closed this issue.

This issue should not have been blindly closed.
@Vritra4 Look atet he photo and read the issue before closing instead of skimming it.

the local LCD and lcd.terra.dev is giving a Implementation issue for the API.
I know the network can see 1317 but it is saying it is not implemented so nothing will show.
Go into your browser and goto it.
https://lcd.terra.dev ~ Literally what I am talking about.

@dokwon

see https://github.com/terra-money/LocalTerra/issues/84#issuecomment-1153363845 please.


Removing unused files

Cool @rnetro. Next week, please ask me to explain how you can use git-cherrypick to simplify this process. Good job getting the changes made :D

Okay, @willingc! Thanks :)


profiler: Fix error handling

The err variable was clobbered so we were reading the wrong value
Test Plan
--- a/pkg/profiler/cpu/bpf/maps/maps.go
+++ b/pkg/profiler/cpu/bpf/maps/maps.go
@@ -1140,6 +1140,7 @@ func (m *Maps) AddUnwindTableForProcess(pid int, executableMappings unwind.Execu
        // is challenging if the process name contains spaces, etc).
        //  - PIDs can be recycled.

+       return fmt.Errorf("le error")
        m.mutex.Lock()
        defer m.mutex.Unlock()

Before:
msg="failed to add unwind table" pid=18846 err=null

After:
msg="failed to add unwind table" pid=18846 err="le err"

Fixes https://github.com/parca-dev/parca-agent/issues/2314


near-operation-file incompatible with noExport: true

Describe the bug
When choosing to use generated types as global types like types.d.ts in the src folder. It does break near-operation-file plugin since it tries to import from the types file.
To Reproduce
schema: <schema>
documents: <documents>
generates:
  src/types.d.ts:
    plugins:
      - '@graphql-codegen/typescript'
      - '@graphql-codegen/typescript-operations'
    config:
      noExport: true
  src/graphql:
    preset: near-operation-file
    presetConfig:
      extension: .generated.ts
      baseTypesPath: '../types.d.ts'
    plugins:
      - '@graphql-codegen/typescript-operations'

https://codesandbox.io/s/gifted-agnesi-5lry5?file=/codegen.yml
Expected behavior

It should be possible to have a noExport in the near-operation-file

Hi @sschneider-ihre-pvs,
Thank you for your report!
You are right, I reproduced the issue.
The near-operation-file preset is currently not compatible with the noExport option.
For this, it would need to:

make the baseTypesPath optional
do not emit a types import
do not prefix types usage with the Types

Please know that near-operation-file has limited compatibility with some plugins, however, we will take a closer look soon.
Let me know if you feel like submitting a PR for this fix.


Add Jennnifer Pazos to Contributors list

@jmb521, I'm quite elated about your PR. I wanna evolve this project to addresses various problems faced by first-time contributors. I'd love to learn about your journey in open source community, the problems, pain points you had etc.
Could you explain how you felt when you went through the tutorial, made a PR and learned that I merged it?


Support v2 cookies

The ch server fully uses the v2 version of the cookies
ltoken_v2=xxxx
ltmid_v2=xxx
cookie_token_v2=xxxx
account_mid_v2=xxxxx

It is not possible to get the user id from account_mid_v2 because it is a random string character generated by the ch server.
https://github.com/thesadru/genshin.py/blob/dbebc29f485f01e352e75c6e389e754369101a9c/genshin/client/manager/managers.py#L238-L248

when I use v2 cookies, I can't get hoyolab_uid, which can lead to other problems, such as caching and other requests that depend on hoyolab_uid.
https://github.com/thesadru/genshin.py/blob/dbebc29f485f01e352e75c6e389e754369101a9c/genshin/client/components/base.py#L395

How do you get V2 cookie in the first place?

How do you get V2 cookie in the first place?

for now, only some users on the CN server are using the v2 cookies. but the new login sessions all use the v2 cookie.

How do you get V2 cookie in the first place?

for now, only some users on the CN server are using the v2 cookies. but the new login sessions all use the v2 cookie.

Thanks for clarifying 😊

A fix has been pushed to the master branch. Hoyolab IDs are now not explicitly required but can be provided with client.hoyolab_id = ... or Client(hoyolab_id=...)
Tell me if it works for you.

The fix does indeed work. Thank you for looking into it.
This may be a seperate request, but can you add this API for retrieving user's uid based on cookies?
https://bbs-api.mihoyo.com/user/wapi/getUserFullInfo
We don't have other methods of obtaining the user's uid given their cookies

http headers are case insensitive

Oh good to learn something new everyday.
But still a difference between official requests and our requests tho.

I hope hoyo doesn't use a framework that makes a distinction like that.


Resource pages no longer have a HTML title

What steps will reproduce the problem?

Go to http://data.inbo.be/ipt/resource?r=broedvogel-atlas-occurrences
See the HTML code
<title> is missing
Tab in your browser does not show the resource title, which would be better

What version of the provider software are you using?
IPT Version 2.2.1-r5193
What browser are you using?
Chrome

The missing title element is now included in all pages. For resource pages, it will show the title of the resource. Otherwise, it will show the title of the IPT. Additional metadata (meta elements) used by browsers and search engines has been added also. Closing issue.


New Help Center page: What to do when mobile warns about, or refuses to connect to, too-old server

On mobile, we're working on a feature to refuse to connect to ancient servers, so that we can drop backwards-compatibility code while still clearly telling the user why the app isn't working. That's https://github.com/zulip/zulip-mobile/issues/5102.
I said:

[W]hat do we think of the following error alert for https://github.com/zulip/zulip-mobile/issues/5102, refusing to connect to ancient servers […]:
Title: "Could not connect" […]
Body: "{realm} is running Zulip Server {version}, which is unsupported."
"Learn more" button: https://zulip.readthedocs.io/en/stable/overview/release-lifecycle.html#compatibility-and-upgrading

@gnprice said:

Seems reasonable to me!
One thought that brings to mind is that it would be good to have a Help Center page we can link to instead of that developer-facing page. The Help Center page could potentially link in turn to that page, but first it would give a focused answer to the questions a user might have, like:

why am I being shown this;
what do I need to ask my IT department (in general, my server admin) to do.

Probably we'd want users to get pointed at that Help Center page to send it to their server admins when asking them for help, too — so it should have a clear action item for them with a link to upgrade instructions.

So, this issue is to create that Help Center page. 🙂

Another thought I had just now (and others should speak up if they disagree) is:
I added "warns about" to this issue's title, to propose a change to the warning banner we already show, and that we plan to show for a given server version in the weeks or months before we just refuse to connect. The banner has a "Learn more" button that links to the dev-facing page:
(I manipulated code to make these screenshots; CZO is not in fact running a too-old server.)

In the version we show to non-admins (first screenshot), I propose changing its "Learn more" button so it points to the new user-facing page instead of the dev-facing one.
cc @drrosa @alya

In the version we show to non-admins (first screenshot), I propose changing its "Learn more" button so it points to the new user-facing page instead of the dev-facing one.

I'd actually take this a bit further: even in the second screenshot, which we show to org admins, I'd have that point to the new Help Center page. An org admin may often not be someone who has access to the server to upgrade Zulip, and may not be someone with the technical background to do so — e.g. at a small company, org admins might include the boss, a manager, the boss's assistant, or an HR person, while an IT person might be the only server admin.

What's the full list of banners from which we want to link to this new page? Should the other banners mentioned in the the description for #5591 link to it too? Do they provide any links now?

An error alert that appears

I guess I was thinking that rather than just having a "what to do if the Zulip server is too old page", we should perhaps have a  more general "my mobile app won't connect" page, where that would be just one of the sections. So that's why I was asking about other banners, too.
What do you think?

Yeah, that seems like it could be a good way to start the doc.
Mobile still gives an unhelpfully generic message in these cases:

realm was deactivated (zulip/zulip-mobile#4571 / zulip/zulip-mobile#4918 / zulip/zulip#19347)
user was deactivated (zulip/zulip-mobile#4571)

We should fix that, but anyway the new doc could probably be helpful in mentioning those cases.

I see. What do we currently show in those cases?

Hmm, digging into this, it's actually a mixture of "unhelpfully generic" error messages, no error messages, and downright wrong error messages. 🙂
Realm was deactivated:

For the active logged-in account if any, the server won't let us load new data or do anything like send a message. The server tells us the realm was deactivated, but we don't recognize that specific response, and we log the user out without explanation. This is https://github.com/zulip/zulip-mobile/issues/4571.
When a user tries to add an account on a deactivated realm via the RealmInputScreen (titled "Welcome"), the server shouldn't let us get as far as the AuthScreen (titled "Log in"), which shows some realm-specific data like its logo, name, and the list of available authentication methods (Google, GitHub, etc.). Currently we show the AuthScreen just like we do for non-deactivated realms. This is #19347.
When a user tries to log in, what they get depends on which auth method they chose:

If they use "Sign in with password", they get a red error line below the password input that says "Wrong email or password. Try again." We show that for all errors there, including network failure. (This is obviously wrong.)
If they use a third-party auth, it's all up to the third party, I think? Google brings me to a page saying "Sorry, something went wrong there. Try again."

User was deactivated:

For the active logged-in account if any, the server won't let us load new data or do anything like send a message. The server tells us the user was deactivated, but we don't recognize that specific response, and we log the user out without explanation. This is https://github.com/zulip/zulip-mobile/issues/4571.
When a user tries to log in, I'm not sure what happens; it depends on whether POST /fetch_api_key gives an error. (It's not documented, and I haven't experimented yet.) It probably does, and if so, I'd expect the same feedback as we give for realm-deactivated, mentioned above.


WIP - Docs updates

Todo

[ ] Add section about "Listeners that aren't handle methods"

Done
attributes.md

fixed typo (thanks @madebycaliper!)
added params breakdown for each Autodiscovery attribute
added example of nested states

events.md

made unlessReplaying more prominent by making Verbs::unlessReplaying a header
linking to this in combating-jargon.md

ids.md

added section explaining snowflake autofill
linking to this in attributes.md

state-first-development.md

restored the section on mixing models and states, dangerouslyAllowModelNormalization();
updated src/Exceptions/DoNotStoreModelsOnEventsOrStates.php to point to this section

states.md

addressed methods prefixed with "apply"

And small misc updates of links, spacing, grammar, inconsistent or redundant terms, and an incorrect prop in a code example.

Gonna see if Daniel wants to take a look, then I'll merge


Pull new release data (#193)

loaders: create them for release
This change creates a new design: loaders. Like event generators, these are similar-minded classes that are used to load in data. I did it for releases, but we can continue to refactor the other functionality out to it.
Also:

Updated the release event description to have new stuff
Updated tests
Better data:clear

Here's what it looks like for me


Changing several features in the insight page #112: Insight page now turn into add customer personal trails and stored in indexdb, addnewtrail components is now becoming to trails suggestion.

Thanks!


move service discovery to simpler sysprobe client

What does this PR do?
Moves service discovery and language detection to use the simpler system-probe client.
Motivation
Split PR from https://github.com/DataDog/datadog-agent/pull/30936
Describe how to test/QA your changes
Tested manually and on staging
Possible Drawbacks / Trade-offs
Additional Notes
Stacked PR on top of #31293

/merge


AttributeError: module 'datasets' has no attribute 'load_dataset'

Describe the bug
I have piped install datasets, but this package doesn't have these attributes: load_dataset, load_metric.
Environment info

datasets version: 1.9.0
Platform: Linux-5.13.0-44-generic-x86_64-with-debian-bullseye-sid
Python version: 3.6.13
PyArrow version: 6.0.1

I'm having the same issue，Can you tell me how to fix it？

I have the same issue, can you tell me how to solve it? Thanks

I'm seeing the same issue in datasets.version '2.17.0'

@briandw your comment saved my day 👍


1.18.2 Tree spawning issue

Both of the trees supposed to spawn in the flower forest biome frequently spawn on top of vanilla trees.

Fixed in the next update


Cut unneeded startup funcs

Removed function calls that were originally part of options object; these were outmoded by introduction of event listeners.

Could you also update the README and the example page?


Graphite is broken

On the latest version, when I try to access port 80, I get:
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 101, in get_response
    request.path_info)
  File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 252, in resolve
    sub_match = pattern.resolve(new_path)
  File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 158, in resolve
    return ResolverMatch(self.callback, args, kwargs, self.name)
  File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 164, in _get_callback
    self._callback = get_callable(self._callback_str)
  File "/usr/local/lib/python2.7/dist-packages/django/utils/functional.py", line 124, in wrapper
    result = func(*args)
  File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 91, in get_callable
    lookup_view = getattr(import_module(mod_name), func_name)
  File "/usr/local/lib/python2.7/dist-packages/django/utils/importlib.py", line 35, in import_module
    __import__(name)
  File "/opt/graphite/webapp/graphite/browser/views.py", line 20, in <module>
    from graphite.util import getProfile, getProfileByUsername, defaultUser, json
  File "/opt/graphite/webapp/graphite/util.py", line 69, in <module>
    defaultUser = User.objects.get(username='default')
  File "/usr/local/lib/python2.7/dist-packages/django/db/models/manager.py", line 132, in get
    return self.get_query_set().get(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py", line 344, in get
    num = len(clone)
  File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py", line 82, in __len__
    self._result_cache = list(self.iterator())
  File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py", line 273, in iterator
    for row in compiler.results_iter():
  File "/usr/local/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 680, in results_iter
    for rows in self.execute_sql(MULTI):
  File "/usr/local/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 735, in execute_sql
    cursor.execute(sql, params)
  File "/usr/local/lib/python2.7/dist-packages/django/db/backends/sqlite3/base.py", line 234, in execute
    return Database.Cursor.execute(self, query, params)
DatabaseError: no such table: auth_user

Oh, hang on, I think this might be my fault...   You should think about adding this to your startup script, though, as I'm sure I'm not the only one keeping my graphite data outside the container.

Yeah... I've had several requests to automagically setup the dir structure for logs & graphite regardless of where you've mounted the volumes. I've been thinking through this quite a bit & will have a solution pushed up soon

continue this issue, I see /opt/graphite is not empty but exported as volume, if I start a container as -v /data/graphite/:/opt/graphite option, it always fail to start. So what's the point to export /opt/graphite as a volume?

OK, I saw GRAPHITE_STORAGE_DIR in conf/graphite/carbon.conf. But still confused why it says /opt/graphite is a volume? Because you can't mount an empty volume to it, that will break graphite service, so as /etc/nginx, /opt/statsd, /etc/logrotate.d and /var/log.

em, after go-through docker document again, I think I understand how I should use these volumes, my bad, sorry.

I went thru this volume initialization problem too.
I created a script that initializes the file structure by starting the container once, then docker cp the files to the volumes. I just then have to start a new container with those volumes mounted and it works.
I shared the script in this gist : https://gist.github.com/YannRobert/3aa307a5e5d510d58e23

Yeah, I ran into this too...

See #43


Configure PyPi license

PYPI has no license configured (https://pypi.org/project/theine/). Some license checkers rely on that info and cannot get access to the LICENSE file, I would be very grateful if you add the BSD 3-Clause License to the PyPi package info (the same as Django https://pypi.org/project/Django/ or any other packages have).
Thanks.

Same for theine-core.

@k0t3n Thank you for pointing that out. I have added the BSD 3-Clause License to PYPI. Please take a look.

@Yiling-J looks great, thank you.


Ensure SSH keys is always referenced as a list

Currently unable to build the project without this on the latest terraform (not 0.12)
Error: module.swarm-cluster.module.workers.digitalocean_droplet.node[1]: ssh_keys: should be a list

Thanks! :)


Add means to deploy contracts

The user of prnm needs means to deploy the ETHAssetHolder and Adjudicator contracts. It is probably easiest to directly add methods for deploying them to the Client type (together with Address setters).
What do you think @ggwpez?

I thought we do constant contracts in the mobile bindings?! They can be deployed with the demo node right now if needed.

No, phones also need to be able to deploy contracts eventually.

Ok so as Concept:
client.DeployAdjudicator(ctx) (*Address, error)
client.DeployAssetHolder(ctx, *Address) (*Address, error)
client.SetAdjudicator(*Address) error
client.SetAssetHolder(*Address) error
(we would need contexts here too when maybe in a leter version go-perun checks that the correct contract is deployed at that address and needs to query the blockchain)

Looks good. And yes, also add contexts to the setters, because an on-chain check should happen.

Actually we need the Contracts when creating the client.Client object, so the Deploy* methods would be freestanding and the contract addresses are set in the Config.

Hmm, I see. Sounds like a sane default for now. Please also document this for type Config and the contract address fields (to be added).


Log JavaScript errors / stack traces?

Check out https://medium.com/delivery-com-engineering/add-crashlytics-to-your-react-native-ios-app-69a983a9062a

This should be covered by #14

Just to clarify, we have to follow the article posted by @lrettig in order to catch JS errors with this library, am I right?

Yes. This library adds the ability to pass user info (username, etc.) to Crashlytics from JS, to test crashing from JS, and to record non-fatal JS errors using Crashlytics.

Any update on this?  This is the only reason I want this library- to get the stack trace, and line of the JavaScript error.

Hi @quincycs -- as outlined in this issue, the library should already support what you need. Just make sure you follow the steps in the blog post mentioned above (https://medium.com/delivery-com-engineering/add-crashlytics-to-your-react-native-ios-app-69a983a9062a) as well (still to be documented properly here, I think). Let me know if I'm missing something.

@lrettig thx!  But how about fatal JS errors?  It really gives the JS line number?  (If so that is awesomeee)

Seems the only missing piece to the puzzle is the last part of the blog where all the crash groups just one.
I don't really understand that if we are logging the fatal crash from JS.  I see it as ... Here's the complete data of the crash generated at crash time...library send this to crashlytics

@quincycs yes, you get the line number (screenshot here: https://github.com/corymsmith/react-native-fabric/issues/8#issuecomment-183426906), but keep in mind that when running in production mode, you'll get minified code and line numbers corresponding to the minified code. You can run this through a source map script to map back to the original code--I think that's outlined the comments for the blog post discussed here.
The crashes all get grouped together since Crashlytics shows the place in the native code where the crash happened, which is always going to be the same when trapping JS errors. I don't yet know of a workaround for this; in my apps it's not a big issue since Crashlytics will continue to report new errors even after you mark one as complete (they'll appear as "issue regression" in future releases).
You can use this library to trap fatal JS errors. In my case, I just wrap all sensitive code in a try... catch block (actually, I use promises). There's more discussion of a way to do this globally here: https://github.com/facebook/react-native/issues/1194

@lrettig did you managed to get sourcemap working? RN Packager bundles sourcemap as separate file - and we don't have filesystem access in RN by default. So sourcemap should be inlined via base64.
I tried to use https://github.com/evanw/node-source-map-support , but no luck. I tried with separate sourcemap file and inlined one
I used this self-written script for inlining sourcemap:
#!/usr/bin/env node

var fs    = require('fs');
var path  = require('path');

var convert = require('convert-source-map');

function embedSourceMap (file) {

  var source = fs.readFileSync(file, 'utf8');

  var sourcemapComment = convert
    .fromMapFileComment(source, path.dirname(file))
    .toComment();

  var patched = source.replace(convert.mapFileCommentRegex, sourcemapComment);

  fs.writeFileSync(file + '.bak', source);
  fs.writeFileSync(file, patched);

}

process.argv.slice(2).forEach(embedSourceMap);

I also checked source maps in Google Chrome, loading my script in html. Os course, it's failing to work, but I can see sources with separate source map file and inlined one. So, source map is working.
But error stack... Everything I've got is : index.android.bundle:32 or <unknown>@11:32, which is unhelpful
I really need to see full error stack :(

I did, after a fashion. I followed How to added sourcemap in React Native for Production? and wrote a separate script that, on a one-off basis, allows me to convert the unmapped code location to a mapped location. But this is far short of remapping an entire stack trace. I don't think that would be terribly hard to do; it would be awesome if this library could automatically remap the stack trace for you.

I haven't look into that at all but agree it's something that would be ideal in this lib!
On May 7, 2016, 10:57 AM -0600, Lane<EMAIL_ADDRESS>wrote:

I did, after a fashion. I followedHow to added sourcemap in React Native for Production?(http://stackoverflow.com/questions/34715106/how-to-added-sourcemap-in-react-native-for-production/34733906#34733906)and wrote a separate script that, on a one-off basis, allows me to convert the unmapped code location to a mapped location. But this is far short of remapping an entire stack trace. I don't think that would be terribly hard to do; it would be awesome if this library could automatically remap the stack trace for you.
—
You are receiving this because you were mentioned.
Reply to this email directly orview it on GitHub(https://github.com/corymsmith/react-native-fabric/issues/2#issuecomment-217651856)

What about android? The article posted is iOS only.

@ashleydw Check the StackOverflow link that @lrettig posted above

@lrettig thanks. Work with sourcemap - this means this lib should read script file, read separate sourcemap, consume it, and only then you will be able to get mapped stack trace to real code.
This means:

You should have file read permission on RN (of course, we don't have any. fs module for RN is separate project, which is maintained by community. RN moves fast, so may be it will be hard to keep it up to date with latest version
You should upload your sourcemap with production version of the app. Yes, anybody can apktool d your .apk, get .js and .js.map files out and "unobfuscate" your app to working js source. Not everyone will like this!

So, I read your message twice and decided, that the best approach will be:

(this is for deploy builds : test [ like Alpha, Beta and TestFlight] and prod [App Store, Google Play]
Generate .js with .js.map
Copy and organize it  (you have build number 123 and build version 1.0.0 for each deploy version of the app)
Remove .js.map file to prevent it dropping into deploy app archive

When you experience an error in Crashlytics, you:

Get your unmapped stacktrace (<unknown>:32:23 and so on)
Find corresponding .js with .js.map for crashed app version (app versions are on Crashlytics)
Use self-written script to locate "source-mapped" sources

Pretty overwhelming, but it will work... Any another ideas on this? It's will be great to see something on this point.
Of course, Github Issue is not approtiate place for duscussion on this (or not?), but I haven't found any place on the internet. I don't like chats - I know, that some day, some dev will face this trouble like I and will found our discussion to find answers.

@corymsmith I can't see a relevant stackoverflow post.
I have android fully working with crashlytics, but I can't see a way of overriding the logging functions as done in the medium post regarding ios.

@ashleydw I think he was referring to this one: http://stackoverflow.com/questions/34715106/how-to-added-sourcemap-in-react-native-for-production/34733906#34733906
@ColCh I haven't had time to think about this in great depth, but I agree in principle with your proposed approach. I think it would be very cool if this library supported that. Much better than doing it by hand as I've been doing!

@lrettig right, but it's ios only

Hi, guys. I'm using a wrapper  based on this lib to create issue, capture un-handled error, log, and set user info and attributes. see the gist Error Report with fabric/crashlytics and react-native
Hopes that help someone!

@kiliwalk Thanks!  But, how do I use it?

@kiliwalk could u please send a PR to enable this?

For people searching for a tool to translate error stacks:
https://github.com/SoftwareMansion/stack-beautifier
example:
2017-02-11 15:13:06.477 lingvokot[26049:3497670] *** Terminating app due to uncaught exception 'RCTFatalException: Unhandled JS Exception: TEST', reason: 'Unhandled JS Exception: TEST, stack:
<unknown>@476:1189
n@2:545
<unknown>@365:567
n@2:545
<unknown>@12:38
n@2:545
i@2:266
global code@481:9
'

to translate it, source map file should be provided
➜  foo-project stack-beautifier ios/main.jsbundle.map <<EOF
Unhandled JS Exception: TEST', reason: 'Unhandled JS Exception: TEST, stack:
<unknown>@476:1189
n@2:545
<unknown>@365:567
n@2:545
<unknown>@12:38
n@2:545
i@2:266
global code@481:9
EOF
Unhandled JS Exception: TEST', reason: 'Unhandled JS Exception: TEST, stack:
at /foo-project/src/utils/log.js:56:16
at global (/foo-project/node_modules/react-native/packager/react-packager/src/Resolver/polyfills/require.js:171:12)
at /foo-project/src/app.js:45:10
at global (/foo-project/node_modules/react-native/packager/react-packager/src/Resolver/polyfills/require.js:171:12)
at /foo-project/index.ios.js:10:0
at global (/foo-project/node_modules/react-native/packager/react-packager/src/Resolver/polyfills/require.js:171:12)
at moduleId (/foo-project/node_modules/react-native/packager/react-packager/src/Resolver/polyfills/require.js:116:45)
at require-0.js:1:0

and /foo-project/src/utils/log.js:56:16 is throw new Error("TEST");

@tianjianchn your link above is dead
I need to see un-minified stack trace. can someone please share?

@onpaws Sorry. Updated the link in my previous comment, or see here.
Currently I'm trying to use another bug tracker(snag-react-native)

How is Bugsnag working for you?

I just set it up.  I couldn't get it to work  quite right in development mode but in production mode with all the asset files uploaded it seems to work pretty well. Check back with me in a week if you want an update.

I know it's been a bit more than a week 😉 but @wootwoot1234 any update on @tianjianchn proposed solution? Are you still using it?

@kelset after using it for a while fabric didn't work for me.  I ended up switching to BugSnag.  When I switched over, the support for react native was much better and their tech support is really good too.

Any update on this? We should at least implement something?


Convert heroku/buildpacks-jvm to GitHub Actions

Pipeline migrated from Circle CI :tada:
Manual steps
Perform the follow steps to complete the migration:
heroku/buildpacks-jvm/ci

[ ] Ensure a runner with the following labels exists: sfdc-hk-ubuntu-latest
[ ] Ensure a runner with the following labels exists: sfdc-hk-ubuntu-20.04-large

Will be implemented by #397


Address State Fixed #5501

Issue Reference
Link: https://github.com/bagisto/bagisto/issues/5501
Info

Maybe for other countries states can use space alphabets and numbers (rarely). I am not sure but I just reverted to the previous one.

@devansh-webkul
it is working fine


Android not compiling with assembly stripping on (version 1.6.2)

We updated our Parse to use the latest version, and the Android build is not working anymore. It fails at assembly stripper with the following error about missing iOS library. Which is very curious as it's making Android build. iOS building works
With stripping off, it compiles on android also, but this is not an option for us.
UnityException: Failed assemblies stripper: /Applications/Unity/Unity.app/Contents/Frameworks/Mono/bin/mono "/Applications/Unity/Unity.app/Contents/Frameworks/Tools/UnusedByteCodeStripper/UnusedBytecodeStripper.exe" -l none -c link -a "Assembly-CSharp-firstpass.dll" -a "Assembly-CSharp.dll" -out output -x "/Applications/Unity/Unity.app/Contents/Frameworks/Tools/UnusedByteCodeStripper/link.xml" -d "Temp/StagingArea/Data/Managed" -x "/Applications/Unity/Unity.app/Contents/Frameworks/Tools/UnusedByteCodeStripper/native_link.xml" -x "/Users/removed/perforce/removed/Assets/link.xml" -x "tmplink.xml" current dir : Temp/StagingArea/Data/Managed
 result file exists: False. Timed out: False

stdout:
stderr:
Unhandled Exception: Mono.Linker.ResolutionException: Can not resolve reference: System.Int32 UnityEngine.iOS.NotificationServices::get_localNotificationCount()
  at Mono.Linker.Steps.MarkStep.MarkMethod (Mono.Cecil.MethodReference reference, System.Object markedby) [0x00000] in <filename unknown>:0
  at Mono.Linker.Steps.MarkStep.MarkInstruction (Mono.Cecil.Cil.Instruction instruction, Mono.Cecil.MethodDefinition markedby) [0x00000] in <filename unknown>:0
  at Mono.Linker.Steps.MarkStep.MarkMethodBody (Mono.Cecil.Cil.MethodBody body) [0x00000] in <filename unknown>:0
  at Mono.Linker.Steps.MarkStep.ProcessMethod (Mono.Cecil.MethodDefinition method) [0x00000] in <filename unknown>:0
  at Mono.Linker.Steps.MarkStep.ProcessQueue () [0x00000] in <filename unknown>:0
  at Mono.Linker.Steps.MarkStep.Process () [0x00000] in <filename unknown>:0
  at Mono.Linker.Steps.MarkStep.Process (Mono.Linker.LinkContext context) [0x00000] in <filename unknown>:0
  at Mono.Linker.Pipeline.Process (Mono.Linker.LinkContext context) [0x00000] in <filename unknown>:0
  at UnusedBytecodeStripper.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0

Thanks for the report. This seems related to our handling of push notifications.
Because UnityEngine.iOS.NotificationServices doesn't actually exist on android, I'm guessing that the assembly stripper doesn't like that, even though it works at runtime.
I'm not sure we as an SDK can provide a workaround, as assembly stripping is not a workflow we support, but feel free to fork/compile your own version of the SDK without push notification support.

Are there any solutions to this? I'm now stuck as to how to use Parse within Unity3D on Android. I've updated to the latest 1.7 and suffer the same issue it won't build with stripping enabled which is a requirement for the app.
I'm not using the notifications, so perhaps the notification side of the SDK could be split int a separate dll?
Or perhaps the sdk needs to be split into two, one for iOS and another for Android. Surely Android should  not be trying to link in iOS functions.

@andsee we have no plans to split the SDK for unity into multiple platforms at this time (it would make deploying our SDK via the Unity Asset Store as we do right now a nightmare), nor do we have plans to split out the notifications portion of the SDK.
My recommendation would be to clone the source code, take out the parts related to notifications (essentially everything related to ParsePush) and recompile the DLL yourself.
I would also consider filing a bug with the Unity team to see if there's anything they can do on their end to support assembly stripping.

Doesn't this issue make the unity android sdk and therefore the unity sdk if you're interested in multi-platform development pointless? You just end up with a nasty surprise when you port to android after iOS that the solution you have doesn't work.
There must be another way around this. I've used over 20 other sdks (which target multiple platforms) within unity without such issues.
It's really gutting as I was loving the Parse solution.

@andsee You should still be able to compile with assembly stripping off (yes, that does increase application size), and that's our current recommended workaround for this issue.
And actually, the real issue here comes down to an IL2CPP issue. We used to be able to reference the notification libraries by class name using reflection, but IL2CPP stopped generating property info as of version 5.0 for bulit-in libraries, which guts our ability to do this. We did file a bug on that issue, but have not heard back as of right now.

I'm wondering what it is in the parse sdk that requires the additions to the link.xml file, does this stop Unity from stripping the calls iOS away?
Perhaps there's some class that needs to be linked in part which I could call a function on to force the link instead of forcing everything to remain. I hadn't come across link.xml until this SDK.
So some Unity side c# init function that ensures whatever's needed in the parse dll is linked instead of the link.xml approach? I apologies I haven't had the time to read through the sdk to understand the issues and reasons behind link.xml.

@andsee So the reasons, IIRC for link.xml come down to IL2CPP not allowing construction of generic types that aren't explicitly in the binary.
This means that if we were to say, for example, parse a Dictionary<string, List<ParseObject>> from our server, it would crash with IL2CPP turned on without the link.xml because that specific dictionary type with those type arguments doesn't exist.
Most of the dictionary types we require are in PlatformHooks.Unity.cs, and could be moved into an initializer such as that. YMMV, I have not tested any of that.

Does that mean for Android (not using IL2CPP)  I don't need link.xml? Or have the changes made to support IL2CPP on iOS mean't that it is still needed?
Many thanks for your responses by the way, I'm just trying to weigh up the quickest possible solution to attempt (ideally with stripping) as typically deadlines are tight.

@andsee I'm not 100% sure. I personally have not done much testing with android and unity -- it's never been a platform that has gotten many bug reports.
You could try it out and report it back, as that would probably be quicker than me trying to set up an environment to mirror yours.
Good luck, and let me know how I can help you further.

This should be fixed as of #169, and will be fixed in the 1.8.0 release.

Hi
Could you tell me how I get the version with this fix or when 1.8.0 will be out.  The SDK download page is still showing 1.7.0 for Unity :-(
Regards
James

Hello.  I've received no answer to when 1.8.0 will be released.  Could someone please answer this.  We have a Unity game and I'm hoping to get it released this week and it's using Parse.
Mnay thanks
James

Closing as out of date. We'll readdress this when we get to that point.


Exploration: Clean Uninstall

Scope
Query into seeing if it is possible to fix leftover contamination of note data after removal of RPG Manager.
Current Actions
When RPG Manager is disabled and uninstalled, the code blocks and all other RPG Manager Data remains in the note. If someone has a very large campaign and wants to remake it, or decides RPGM is not for them and wants to use something else, they will need to spend some time on cleanup.
Suggested Actions
This is currently normal behavior for plugins that utilize code blocks, such as Dataview and Admonitions. Once the plugin is disabled, RPG Manager is unable to act. However, there may be something that can be done while the plugin is active.

Create a clean-notes protocol to remove all of RPG Manager's data from some or all of the vault. It only removes the code-blocks and associated data to maintain those code-blocks.

Context or Use Case
 RPG Manager Collaborator and User
 Provide the option to clean notes of the RPG Manager Codeblocks and associated RPG Manager Data
 Users who of RPG Manager who use this option can return their notes to a plugin-free state
 This can be adopted across other plugins that do the same thing.
 Fulfilling the user-plugin implicit contractual arrangement.

Hi @sigrunixia
Unfortunately, there is nothing we can do on that.
The only moment in which RPG Manager can do something is when a user deactivates the plugin, but it can only be something done automatically, not with a user-interface. This is because once the user switches off the plugin, I am given (I think) one last function I can use, but at that time, the plugin is switched off completely.
During the deactivation, I would not delete or change anything. Consider for an instant: I may deactivate the plugin for whatever reasons, and if I activate it back, I expect all my data to be there. Also, if you install your vault on a mobile, sometimes the plugins gets deactivated pending user confirmation, what would happen in that case?
Of course, no plugin has any control when it is deleted, so I cannot trigger any event at that stage.
In this instance, I would not keep this into consideration. The data will remain there and they will be very visible in the notes (the code blocks won't render the views any longer, and they will be shown as text).
Fiddling with data when a user decides to leave is a dangerous business...


Plan Documentation presentation

Two categories:

Kotlin reference docs (docstrings)
Guide material

readthedocs or something? or just github readme?

Moved to monorepo  https://github.com/RoverPlatform/rover/issues/1379


Support editing via client API

This may need us to properly solve the multipart-form-data-on-not-POST problem first though.

Just did a basic test for this with Ivory and it generally seems to work. It turned a local post back into a public post, but fairly sure that's because Ivory doesn't understand local posts.
Is there anything that's still left to do for editing?


Create MigrationGuide.md

Description
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
All SDK Contribution checklist:

[ ] The pull request does not introduce [breaking changes]
[ ] CHANGELOG is updated for new features, bug fixes or other significant changes.
[ ] I have read the contribution guidelines.

General Guidelines and Best Practices

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

API change check
API changes are not detected in this pull request.

Also, I am following the guide here to deprecate the catalog SDK.
https://github.com/Azure/azure-sdk-for-python/blob/main/doc/deprecation_process.md


some path issue

I'd use this path.
"@>"C:\Program Files\WindowsPowerShell\Modules\oh-my-posh\2.0.311\Themes\Paradox.psm1"

hmm... maybe I could specific the administrator usage.

updated, thanks 😄

Thanks, it's very useful.  XD


Host vs IWebHost Major performance difference(for the worse)

Describe the bug
Using HostBuilder for the new asp.net core 3 has been drastically affecting the web app performance. My web app is running thousands of http requests to external api's every few minutes. Until now i'v been doing background services in a asp.net core 2.2 web api application.
Since preview 3 of asp.net core 3 i'v tried out the new Worker template and i witnessed major performance difference. i'v done lots of bench marking and in all of them the new worker application perform much worse than the usual web api core 2.2 app.
I found out where is the issue. If i change IHostBuilder to IWebHostBuilder in program.cs
then the performance is back to normal again.
my guess is that the new hostbuilder output object isn't as optimized as webhostbuilder object.
Hence, as long as Main running IWebhost built object the performance is great, but, if it is running IHost built object the performance isn't as good.
There is probably more to it but i haven't had the time to dive into asp.net core 3 open source code so i can't tell the exact problem.
Some benchmark i ran: 15 external Http requests ,
with IWebHost it took on average 0.25 ms,
with IHost it took on average 0.412 ms.
750 external http requests,
with IWebHost it took on average 3.02 seconds,
with IHost it took on average 13 seconds(major difference)
10,000 external http requests,
with IWebHost it took on average 23.45 seconds,
with IHost it took on average 70 seconds
Looking forward to hear your reply.
Best Regards,
To Reproduce
Steps to reproduce the behavior:

Using this version of ASP.NET Core 3 preview 3
Run Worker template/ web api
Try running some simple benchmarking task(either cpu or IO bound) with IWebHostBuilder in program.cs and measure the time it takes then switch to IHostBuilder and
check the time difference.

Expected behavior
No performance difference, or, a slightly better performance.
Screenshots
I'll upload bench marking screenshots if requested.
Additional context
Add any other context about the problem here.
Include the output of dotnet --info

Is it using a different logging level? (i.e. outputting more log data)

@benaadams No, it is using the exact same logging settings.

@davidfowl any news?

Can’t think of any thing that would make a difference for web requests. The only thing that should be affected is startup code.

Agreed, the host layering should have little or no effect on the per-request performance. It would affect configuration, logging, which could have secondary perf effects.
@sebastienros We should covert our benchmarks to HostBuilder anyways to keep them in line with our 3.0 templates/guidance.

@Tratcher @davidfowl "It would affect configuration, logging, which could have secondary perf effects."
I ran the exact same web app with the same log settigs, app.settings,startup code,libraries,etc etc..
the only difference was using IHostBuilder in contrast to IWebHost and then i was able to reproduce the perf differences. i ran it thousands of times and the result was the pretty much the same, so, as you've mentioned, there may be secondary effects that are causing these perf diff. If the hostbuilder has different  configurations/logging settings then you should dig in what exactly may cause this perf issue because otherwise i see no reason of using the new template.

Any news yet? I really hope this issue will be sorted out in one of the next preview's.
If you weren't able to reproduce this perf issue, i can upload & link a sample demonstration project.
I'm an early adopter type of person so my goal is to use asp.net core 3 on my live app right when it's out but only if these issues will be sorted out beforehand.

Yes, please share your two apps, (before and after). Our initial measures didn't show any difference.

Okay, so on my sample projects doing ordinary http requests to a list of random api's, the results show the same performance for both web api and worker project. But, on my real product app projects it actually shows great difference(even tho they use the exact same code & dlls) so i need to investigate and dive deeper to find if it's actually because of the worker service or may be something else.
I'll do it during the weekend and update here if i got any insights.

Closing this as we haven't heard from you and generally close issues with no response. Please feel free to comment if you're able to get the information we're looking for and we can reopen the issue to investigate further!


Fails When repo contains only single commit

This command fails
https://github.com/nrwl/nx-set-shas/blob/a89d5d812a67784a3c8ec83687f446be2d1c7e9d/find-successful-workflow.js#L50
When repo contains only single commit, so origin/master~1 can't be resolved correctly. This exceptional case must be handled
gracefully.
...
WARNING: Unable to find a successful workflow run on 'origin/master'
We are therefore defaulting to use HEAD~1 on 'origin/master'

NOTE: You can instead make this a hard error by setting 'error-on-no-successful-workflow' on the action in your workflow.
fatal: ambiguous argument 'origin/master~1': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
node:internal/errors:863
  const err = new Error(message);
              ^

Error: Command failed: git rev-parse origin/master~1
fatal: ambiguous argument 'origin/master~1': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'

    at checkExecSyncError (node:child_process:871:11)
    at execSync (node:child_process:943:15)
    at /runner/_work/_actions/nrwl/nx-set-shas/main/dist/index.js:1[37](https://github.com/newvoicemedia/omni-e2e-smoke-checker-test/actions/runs/5475685812/jobs/9972135144#step:8:39)58:20
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  status: 128,
  signal: null,
  output: [
    null,
    'origin/master~1\n',
    "fatal: ambiguous argument 'origin/master~1': unknown revision or path not in the working tree.\n" +
      "Use '--' to separate paths from revisions, like this:\n" +
      "'git <command> [<revision>...] -- [<file>...]'\n"
  ],
  pid: 23709[48](https://github.com/newvoicemedia/omni-e2e-smoke-checker-test/actions/runs/5475685812/jobs/9972135144#step:8:50),
  stdout: 'origin/master~1\n',
  stderr: "fatal: ambiguous argument 'origin/master~1': unknown revision or path not in the working tree.\n" +
    "Use '--' to separate paths from revisions, like this:\n" +
    "'git <command> [<revision>...] -- [<file>...]'\n"
}
...

duplicates https://github.com/nrwl/nx-set-shas/issues/84


Brand logo

I did manage to change the text logo but I'd like to replace it by an image.
I added a "logo.svg" file into the img/ directory but it doesn't seem to be working.

You also have to set it within your config:
.Site.Params.navigation.logo needs to say "logo.svg" and it must be located within "img/", which you mentioned is already done.
Overall you might want to look into Syna as it has more features and is still fully maintained.

Thank you for your quick answer.
You mean set it within the config.toml file?
Do I just add the following lines:
[Site.Params.navigation.logo]
logo = "logo.svg"
I did look into Syna but had a hard time installing it.

The config file lines would be:
  [params.navigation]
    brand = "The Agency"
    # Optional logo as brand stored in img/
    logo = "logo.svg"

The easiest to get started with syna is syna.okkur.org/start with most documentation available here: syna.okkur.org/demo.


Has this webminer servers support been stopped?

In your index.html file I have just changed xmr address(replaced to mine).
Then I have opened index.html file and following page appeared:
Mining...
View mining progress _here_
However on moneroocean page no any signs of progress appeared.
I have kept going testing for 15min, 1hour,6 hours in Chrome, MS Edge, Firefox browsers.
A couple of months ago the same test showed progress.
Since webminer landing page is appearing normally its seems that the issue in one(or both) of your servers.
Please advise
Thanks.

@vpts1202 try HTML example from "Use In Other Projects" section. On landing i see error in WSS:
{"identifier":"handshake","pool":"gulf.moneroocean.stream:80","login":"4657q4dnsjLWtzeW4XN3wG9swFumWAZB9i1pegTLMxVAQy5E5AE8uif42kkHWcWc9vDcLUmzeCf3pV7mmrJQQqqe84dtASi","password":"GH-XMR","userid":"","version":7}
{"identifier":"error","param":"pool not known"}
Example has other pool address than landing

I have tried couple of other pools out of top-6, no result either.
Looks like this project support has been stopped, since there is no any feedback to issue from project dev.
I have not been able to find any relatable alternative, so lets hope that someone from the community will get back here, since there is 55 forks/82 stars.

server = "wss://?algo=cn/r?jason=gulf.moneroocean.stream:10128";
var pool = "gulf.moneroocean.stream:10128";
good luck

@Ranamom -many thanks,its very kind.

is it possible to use the pool other than MoneroOcean?
is it possible to mine RandomX coin other than Monero?

yes just test and go ahead
Simple Pool change: ?jason=Your_Favorite_Pool:PortNr
Edit the index.html and add your favorite coin/algo
Examples: Moneroocean Auto Algo Switch - mining the most profitable coin - XMR Monero Payout | Best choice for mining ;)
(Its working after Monero Hardfork RandomX, if you want xmr payouts)
(CN/CN-Lite/CN-Fast/CN-Half/CN-Pico/CN-RWZ/CN-Heavy:xhv/Argon2id-Chukwa/Argon2id-Chukwav2/Ghostrider/flex)
need ?algo=cn/r

Examples: CN R Coins (Italocoin, Lethean, Sumokoin) need ?algo=cn/r

Examples: CN V8 Reverse Waltz Coins need ?algo=cn/rwz

Examples: CN | ZLS Coins need ?algo=cn/zls

Examples: CN UPX2 Coins (Uplexa) need ?algo=cn/upx

Examples: CN V8 Coins (Caliber, JyoCoin, PyrexCoin, Safex Cash) need ?algo=cn/2

Examples: CN V7 Coins (Beldex, Citadel, CPA Coin, Hospital Coin, LeviarCoin, MoneroV, Mutex, ParsiCoin, Quantum, Superior Coin) need ?algo=cn/1

Examples: CN ASIC Coins (B2Bcoin, Balkancoin, BeFrank, Bitcoal, Bold, Bytecoin, Crepcoin, CROAT Coin, DinastyCoin, Discoin, Geem, Incognito, Infinium - 8, Investcoin, InziderX, Karbo, LithiumBit, MonetaVerde, Newton, NinjaCoin, PluraCoin, Qwertycoin, SpesCoin, TFT Network, TycheCash, Video Games, X12 Coin, Xcoin, Xeonbit) need ?algo=cn/0

Examples: CN Lite V7 Coins (2ACoin, ADON Coin, BBSCoin, BitcoinNova, BitcoiNote, Bitsum, Bittorium, BytechCoin, Catalyst, Equilibria, IntuCOIN, NashCash, Nibble Classic, Secure Cash, Ultranote, Zent Cash) need ?algo=cn-lite/1

Examples: CN Pico Coins (BitcoinMono, Cypruscoin, Dero Gold, ElphyreCoin, HITC, Iridium, LightChain, Mangocoin, Obscure, Oscillate, Plenteum, Tellurium, Tritanium, TurtleGold, Worktips, WrkzCoin, XtendCash) need ?algo=cn-pico/trtl

Examples: Argon2id - Chukwa Coins need ?algo=chukwa

Examples: Argon2id - ChukwaV2 (Turtlecoin) Coins need ?algo=chukwav2

Examples: CN Fast V2 | CN Half Coins (Masari) need ?algo=cn/half

Examples: CN Fast Coins (Aluisyo, Electronero, ElectroneroXP) need ?algo=cn/msr

Examples: CN Heavy Classic Coins (Bixbite) need ?algo=cn-heavy/0

Examples: CN Heavy XHV Coins (Haven, BLOC.money, CitiCash, Niobio Cash, Ombre) need ?algo=cn-heavy/xhv

Examples: CN-Saber Coins (BitTube) need ?algo=cn-heavy/tube (only valid until 29th July 2020 because of Hardfork to Cuckaroo29b)

Examples: RandomX as Test algo - proof of concept (Monero, Zephyr) need ?algo=rx/0

Good Luck


video optical flow

HI
How can I get optical flow estimation for each frame from video file and save these images ?

I use ffmpeg to extract frames from videos. Since I do it only once I didn't include it in the package, but here you go, a helpful snippet.
ffmpeg -i nfs_cut.mp4 -r 25.0 ./frames/nfs_frame%4d.png

Input framerate via -r 25.0 flag.
Also, make sure your output is .png or any other lossless image format since you are dealing with optical flow.

Hi
This package is for converting flow fields to images. Flows are generated by optical flow models like OpenCV/LucasKanade, NVIDIA/flownet2-pytorch,  NVLabs/PWC-Net and etc.

Thanks for replying , How can I install your library (flow2image)
Can I generate optical flow output for a video if the length is 1 or 2 minutes ?

Thanks for replying , How can I install your library (flow2image)

Sure, but I don't think it's what you need. This library is not for generating optical flow. It's for converting an already generated optical flow vector (u,v) into the images (r,g,b) that I created for my research to be similar to MPI Sintel visualizations.

Can I generate optical flow output for a video if the length is 1 or 2 minutes ?

If you want to generate an optical flow for some video, I think the simplest is to follow OpenCV's tutorial https://docs.opencv.org/3.4/d7/d8b/tutorial_py_lucas_kanade.html You can definitely generate 1-2 minutes of flow even on a laptop easily.


Allow uppercase dataTypes and set them to lowercase

This will allow to mitigate bugs like https://github.com/admin-shell-io/submodel-templates/issues/27, even though a warning will be presented to the user.
In general this will make reading aasx files more robust, similar to https://bugs.eclipse.org/bugs/show_bug.cgi?id=571725.

Thank you very much for providing this PR. Currently, the CI is failing. From taking a look at it, I think the issue is that not the complete name has to be converted to lower case, only the first letter. Right now, e.g., "dateTime" is converted to "datetime".
Would it be possible to update the PR?

Adjusted the PR and added a test for types like dateTime, integer and Integer

Thank you very much!


FI-2857: Add auth input option

Summary
Creates auth info inputs for both auth and access modes.
Testing Guidance
Confirm that inputs work with the AuthInfo test suite. Check new dropdown and single checkbox input options for behavior issues.

Ready for rereview. My main remaining question is concerning some values and how to normalize the capitalization:
get and post vs GET and POST
s256 vs S256
es384 and rs384 vs ES384 and RS384
I've capitalized everything for now as I believe that's how they are in some of the non-dev tests but let me know if this should/will change.


Search function broke in wac 2110 update

when searching , previus version update search results as typing - in 2110 nothing happens until you have typed a servername excatly

Same as #68 and #61 ...hope they resolve it promptly...

Unfortunately I don't get any results, regardless of entering a complete name. Additionally, the results stay blank even after clearing out the filter field and I either have to refresh the browser or click on Settings and then back again.
Interestingly whilst investigating this, I have found a way to get the search/filter functionality back again via some bizarre behaviour:

Make sure All Connections is selected.
Switch to Cluster or Computer Manager
Switch to Server Manager
Perform your search.

I only have entries in the Server list, so can't confirm behaviour for any other partition. So long as you remain on the server list, you can perform multiple searches. However, you must repeat the above steps if you return to the main list.

Thank you for finding this bizarre behavior for the workaround.
Our dev team is currently working to fix this.

Also wanted to report that Search is broken (Firefox / Edge / Chrome)   I get the number of search results, but the page is blank

In our environment the workaround doesn't seem to...err...work.

Ah - Correction - the workaround does work if we have at least one tag defined.  We don't normally use tags but once we added one, name searches now work in Computer Management, Server Manager and Cluster Manager (but not in All Connections).

Thank you for finding this bizarre behavior for the workaround.
Our dev team is currently working to fix this.

still an issue.. what is the update progress?

Yes, the search among other things is fixed in the public preview for 2110.2. You can read about it and download the build here: https://techcommunity.microsoft.com/t5/windows-admin-center-blog/windows-admin-center-version-2110-is-now-generally-available/ba-p/2911579

i already have that file downloaded and installed
on this version
2110
Build
1.3.2111.01001
search not working

@gemidriver That's the wrong MSI build. Are you sure that you downloaded it from the Windows Insider page?

I did - logged into the insider site and filled in details
Can the actual msi be provided?
Cheers
Brad
From: trungtran-msft @.>
Sent: Wednesday, 6 April 2022 8:36 AM
To: MicrosoftDocs/Windows-Admin-Center-Ideas-and-Feedback @.>
Cc: gemidriver @.>; Mention @.>
Subject: Re: [MicrosoftDocs/Windows-Admin-Center-Ideas-and-Feedback] Search function broke in wac 2110 update (Issue #79)
@gemidriverhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fgemidriver&data=04|01||9bdc6a51bbe443f1ec1008da17549aea|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637847949396009107|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=g%2BaQbAMUYelAgP4Z68B22mKkvduwehm9ggQyUWRANpQ%3D&reserved=0 That's the wrong MSI build. Are you sure that you downloaded it from the Windows Insider page?

Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2FWindows-Admin-Center-Ideas-and-Feedback%2Fissues%2F79%23issuecomment-1089454314&data=04|01||9bdc6a51bbe443f1ec1008da17549aea|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637847949396009107|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=7JF5SFQ%2Ffpiz9WZg6x2E05QMM9APQLOIwkSy1dBnxgg%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAMAXE3KJI3HPJFLFAC6WYNTVDS53RANCNFSM5IGYNG2A&data=04|01||9bdc6a51bbe443f1ec1008da17549aea|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637847949396009107|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=9KF%2BC1j9R%2FvGZQPOtjRFzw%2F3LDDncO3kA6P4z33T2XA%3D&reserved=0.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

Unable to initiate the download at the moment - 2 different browser display this (by now for 30+ minutes) while attempting to download 2110.2 preview... Have 1k+ servers and the search function fix is essential...

Update - was able to download the preview build and can confirm that search/filter works! Thank you to the developers!


Support for Many-to-One Route Request packets

Adds support for Many-to-One Route Request packets (Type a3).
Currently if a Route Record Indicator packet is received then the Python XBee library would error:
"Unrecognized response packet with id byte \xa3"
Adding Many-to-One Route Request packet type to zigbee.py.
This PR also updates: README and CHANGES - small tidy ups. Note suggested version up to v2.2.4 as there has been quite a number of changes since v2.2.3!

Hi @hansmosh ? Any good ?

Please consider this PR. Is this library being actively supported and progressing?

Hey @hansmosh, what do we need to do to merge this and also make a new release on PyPI? Is that build/deploy set up anywhere yet?